CHARGE PUMP PHASE LOCKED LOOP CIRCUIT

Abstract: A P-stage shift register or counter (156) is added to the charge pump (128) and/or to the phase frequency detector (126) of a phase locked loop circuit (150) to keep the output clock stable enough from the locked frequency value and available for long enough after the input reference clock has been removed. This mode is called the phase locked loop (PLL) free running mode (FRM) and is activated as soon as the device has detected the loss of the input reference clock of the phase locked loop. Once the free running mode is activated the charge pump (128) automatically enters its high impedance state resulting in a slower frequency shift process at the PLL output in comparison to a conventional PLL. This main advantage of this PLL circuit is that the system clock is kept running for long enough so that the system can issue a fualt report through another logic and memory device when the reference clock is suddenly removed either accidentally or not.

Description: CHARGE PUMP PHASE LOCKED LOOP CIRCUIT Field of the f nvcntion This invention generally relates to a method and an apparatus for providing a phase locked loop circuit and in particular to providing a phase locked loop having a free- running mode. Background of the Invention Phase locked loop circuits are widely used in many different applications, such as in communication and networking systems. For example, microprocessor chips require on-chip clock generation. A phase locked loop enables a precise tracking and phase locking of a synthesized clock signal to a reference clock signal. Some prior art phase locked loops operate based on analog algorithms. Such systems arc subject to very large phase errors and are heavily influenced by random noise. Because of the analog nature of such systems they arc difficult to highly integrate. Also, functions such as a divide by N or edge registration are difficult to implement in an integrated device. Analog systems arc also relatively susceptible to loss of phase lock or incapability of obtaining phase lock because of random variations in the system. Other prior art phase locked loops operate based on digital algorithms. One such phase locked loop (PLL) is identified as MT9042B available irom Mitel Corporation and is described in detail in Tssue 11 of their publication "Digital Switching & Networking Components". If network synchronization is temporarily disrupted, the MT 9042B provides liming and synchronization signals based on storage techniques. The stored values are determined during synchronized mode when an external reference signal is available and the clock is locked to the external reference signal. When the external reference signal is lost, the stored values are used to attempt to maintain the output clock signal. Further, U.S. Patent No. 5,883,533 in the name of Matsuda and Nogami discloses a clock signal generating device having an active and a spare clock selecting circuit connected to a PLL circuit. This PLL circuit operates similarly as the MT9042B in that it is based on storage techniques. The PLL circuit includes a hold-over circuit for temporarily holding a signal output from the selecting circuit for a preselected period oftime. Similarly, U.S. Patent No. 5.910,740 by Underwood discloses a phase locked loop having memory. This PLL also has a memory that enables highly precise tracking and phase locking ofa synthesized clock signal to its reference clock signal. It is an object of the present invention to provide a PLL having a slower frequency shi ft process at the PLL output in comparison to prior art PLLs. Advantageously, the PLL in accordance with the invention allows the system clock to run long enough and stable enough for the PLL system to issue a fault report through another logic and merrory device when the reference clock signal is lost. Summary of the Invention In accordance with the invention there is provided a charge pump phase locked loop circuit for providing an output clock signal comprising: an input port Tor receiving a reference clock signal: a detector for detecting an aspect of the reference clock signal and for providing a first signal indicative of a suitability of the reference clock signal as a reference clock; and a charge pump circuit having an output port and for providing a drive signal for varying a phase of the output clock signal and for receiving the first signal, the charge pump circuit for providing high impedance al the output port when the first signal is indicative o a reference clock signal unsuitable for use as a reference clock at the input port. Tn accordance with another aspect of the invention there is further provided a method of providing a free-running mode for a phase locked loop including a charge pump circuit having an output port comprising the steps of: receiving a reference clock signal at an input port; determining a quality level of the reference clock signal; when the reference clock signal has a quality below a predetermined level, providing a first signal to the charge pump circuit; and upon receipt of the first signal providing high impedance at the output port of the charge pump circuit. Brief Description of the Drawings Exemplary embodiments of the invention will now be described in accordance with the drawings in which: Fig. 1 shows a scheme of prior art analog phase locked loop circuit; Fig. 2 shows a scheme of conventional digital phase locked loop circuit; Fig. 3 shows a scheme of a digital phase locked loop circuit in accordance with the invention; and Fig. 4 shows a simplified scheme of the digital phase locked loop circuit in accordance with the invention. Detailed Description of the Invention The method and the apparatus in accordance with the invention provides timing and synchronization signals between two nodes. A clock signal is phase locked to a reference signal. Fig. I shows a scheme of a prior art analog phase locked loop circuit 1 receiving a reference clock input signal 2 and generating a synthesized clock output signal 14. The analog phase locked loop circuit 1 has a phase detector 4 which receives the reference clock input signal 2 and divided clock signal generated by an external/separate divide by N circuit 16 derived from the synthesized clock output signal 14. The output of the phase detector 4 is serially processed by a charge pump 6 and a loop filter 8 and the output drives a voltage controlled oscillator (VCO) 10. The output of the VCO 10 is coupled to an output buffer 12 to produce the synthesized clock output signal 14. Use of analog phase locked loop circuit often result in large phase errors and are strongly influenced by random noise. Due to the analog nature of such prior art, they are susceptible to phase lock loss and sometimes are not able to obtain phase lock due 1o random variations in the system. A conventional digital frequency multiplier is usually composed of an oscillator (VCO), a phase/frequency detector (PFD), a charge pump (CP), a loop filter (LPF) and a feedback divider (DΪVM). Optionally one also incorporates a direct divider. Fig. 2 shows a block diagram of a conventional digital phase locked loop circuit 21 receiving a clock input signal 20 (F; N ). he clock input signal 20 is optionally directed through a divide by N circuit 22 which generates a divided clock signal to produce the reference signal 24 (FREF). The reference signal 24 (F RU ) enters the phase/frequency detector 26 (PFD) and is stored as frequency 1 (vl). In operation, the Pr ' D 26 compares the phase/frequency of the phase locked loop signal 40 (FDJ V ) with the phase/frequency of the reference signal 24 (FRF F ). The phase locked loop signal is stored in the PFD 26 as frequency 2 (v2). The PFD 26 then compares phase of vl with that of v2. Based on this comparison, the PFD 26 furnishes either a UP (up) or DN (down) signal according to the phase/frequency dilϊcrence between the FKKF 24 and FDΓV 40. Of course, when the reference signal 24 (F RU is temporarily lost an UP or DN signal is generated as well. Tn normal mode, the UP signal is furnished successively within a period of time during which there is a phase difference between 24 and F Di v 40. The pulse duration of the UP signal is proportional to the phase difference. The UP signal supplied by the PFD 26 is applied to the charge pump 28. The charge pump 28 supplies the voltage controlled oscillator (VCO) control voltage for controlling the oscillation frequency of the VCO 36 according to the UP signal and in cooperation with the loop filter 30 (LPF). The charge pump 28 supplies a charge to the LPF 30 or, alternatively, extracts a charge from the LPF 30 in accordance to the UP signal so as to cause the LPF 30 to produce the VCO control voltage. The VCO 36 oscillates to supply an output signal F 0Ut 42 having a frequency that differs according to the VCO control voltage furnished by the LPF 30. The divide by M frequency divider 38 (DlVM) receives the signal and divides its frequency by M to produce the signal Fpi applied to the PFD 26. The VCO 36 generates the output frequency 42 (F 0U t) based on the comparison between the reference frequency 24 (F R£ p) and the frequency 40 5 In the case that the reference signal 24 (F RH ) is temporarily lost, it is often suggested to operate the PLL circuit in a holdover mode. The holdover mode is usually used for short duration, for example 2 seconds. In holdover mode timing and synchronization signals arc not locked to the clock input signal 20, but are based on storage I ϋ techniques. The storage value is determined while the device is in normal mode and locked to the clock input signal 20. Hence, if the PFD 26 does not receive the reference signal 24 (F H Γ ) it furnishes a DN signal. The DN signal supplied by the PFD 26 is applied to a resistance 32 and a capacitor 34. The resistance 32 and the capacitor 34 supply a control voltage to the VCO 36 based on a stored control voltage 5 generated by the charge pump 28 and the LPF 30 while the PLL circuit 21 was running in normal mode. In the holdover mode, the VCO 36 generates an output frequency 42 (F om ) from stored values determined during operation in a normal mode. In a conventional PLL circuit such as the PLL circuit 2.1 shown in Fig. 2, the DN 0 (down) output of the phase/frequency detector is activated once the reference clock signal is lost. This results in a discharge of the loop filter capacitor. At first order it is apparent that the frequency derivative versus time observed at the PLL output is given by the following equation: 5 - - = — i — equation (1) Below there is presented a numerical example describing the operation of a conventional phase locked loop circuit. K yr -o = VCO gain = 200MIizl V I p = CP current = \00μA C = LPF cap = 200 E ^- = -\00MHzlμs Tn order to achieve a much slower frequency derivative, the present invention replaces the term I p by a leakage current (Ii m i ) in the above-described equation. This is achieved by putting the charge pump in its high impedance mode soon after the loss of the reference clock signal is detected. Preferably, there is no unnecessary delay between detecting a loss of the reference clock signal and initiating a high impedance output from the charge pump. This is shown in Fig. 3 presenting a block diagram o a digital phase locked loop circuit 50 in accordance with the invention receiving a clock input signal 120 (F;N). The clock input signal 120 is optionally directed through a divide by N circuit 122 which generates a divided clock signal to produce the reference signal 124 (FRΕΓ)- The reference signal 124 (FRΕ ) enters a phase/frequency detector 126 (PFD), a charge pump 128, and a loop filter 130, and is stored as frequency I (vl). In operation, the PFD 126, the charge pump 128, and the loop filter 130 compare the phase/frequency of the phase locked signal 140 (FD IV ) with the phase/frequency of the reference signal 124 (F KK F)- The phase locked signal 1 0 (F iv) is stored in the PFD 126, the charge pump 128, and the loop filter 130 as frequency 2 (v2). The PFD 126, the charge pump 128, and the loop filter 130 then compare the frequency vl with the frequency v2. Based on this comparison the PFD 26 in cooperation with the charge pump 128 und the loop filter 130 furnishes a control voltage for controlling the oscillation of a VCO 136 and hence the output signal 142 (F 0 u t )- The charge pump 128 supplies a charge to the LPF 130 or, alternatively, extracts a charge from the LPF 130 in accordance to the phase locked loop signal 140 (Fuiv) signal so as to cause the LPF 130 to produce the VCO control voltage. The VCO 136 oscillates to supply an output signal b ' ow 142 having a frequency that differs according to the VCO control voltage furnished by the LPF 130. The control voltage is generated uccording to the phase/frequency difference between signal FREF 124 and signal F I V 140 or the temporary loss of the reference signal 124 (FRRF). Optionally, a divide by M circuit 138 is used so that a direct comparison of the reference signal 124 (F RK with the phase locked loop signal 140 (Foiv) is possible. The divide by M frequency divider 138 (DIVM) receives the signal and divides its frequency by M to produce the signal Foiv 140 applied to the PFD 126. The VCO 136 generates the output frequency 142 (F 0ut ) based on the comparison between the reference frequency 124 (FREF) and the frequency 140 (Foiv). A P-stagc shift register or P-counlcr 156 is added to the charge pump 128 andVor to the phase frequency detector 126 of the phase locked loop (PLL) circuit to keep the output clock stable enough from the locked frequency value and available for long enough, e.g. a few hundred μs for instance, after the input reference clock has been removed. Tn accordance with the invention, this mode is called the phase locked loop (PLL) free running mode (FRM) and is activated as soon as the device has detected the loss of the input reference clock of the PLL. When the free running mode is activated, the charge pump automatically enters its high impedance state, tri-state, resulting in a slower frequency shift of the output frequency 142 (F oul ), in contrast to conventional phase locked loop circuits. The advantage of the PLL circuit in accordance with the invention is that the output clock is stable enough and runs long enough so that the system can issue a fault report thτough another logic or memory device when the reference clock is suddenly removed whether the removal of the reference clock occurs by accident or not. Also, since the reference clock is lost, it is useful to limit clock drift using a high impedance input to the VCO 136 to keep the clock at approximately its correct frequency. Of course, phase alignment is irrelevant when no reference signal exists. In order to achieve the slower frequency derivative in accordance with an embodiment of the invention the term Ip in equation (1) described above is replaced with a leakage current (Iι ea - This means, thul the charge pump is put in its high impedance state as soon as the loss of the reference signal is detected. The main principle is to employ a P-stage shift register or counter 156 toggled by the feedback clock (Fuiv) and reset by the reference clock (Frcf). If the reference clock disappears the shift register will overflow in a few clock cycles in dependence upon P. When this happens, the phase frequency detector 126/ charge pump 128 enter a high impedance state. The use of a Full Wave Rectifier 152 (FWR or frequency doublcr) as shown in Fig. 3 is optional and is included in the PLL circuit 150 if the final state of the reference clock is not exactly known, i.e. either 1 or 0, once the reference clock is stopped. Further, the circuit presented in Fig. 3 depicts the use o a lock indicator 154 as part of the PLL circuit 150. The use of such a lock indicator is optional and is used if the application of the PLL circuit in accordance with the invention requires that the input clock signal 120 (F| N ) be reduced to a lower value, and hence it avoids the P-counter clock 156 becoming much faster than its reset clock, thereby avoiding a start ofa false free running mode. If a lock indicator is use , the free running mode will only be activated if the phase locked loop circuit 150 is already locked. Preferably, the number of stages in the P-slage shift regisLer 156 is as low as possible to detect the loss of the reference clock as fast as possible. Typically 2 or 3 stages are employed in the P-stage shift register 158. Fig. 4 shows a charge pump phase locked loop circuit 400 that provides an output clock signal 435. A reference clock signal 410 enters the charge pump phase locked loop circuit 400 at input port 415. A detector 440 detects an aspect of the reference clock signal 41 and provides a first signal 445 that is indicative ofa suitability of the reference clock signal 410 as a reference clock. The first signal 445 enters the charge pump phase locked loop circuit 400 at input port 415. A charge pump circuit 420 receives the reference clock signal 410 and the first signal 445. This charge pump circuit 420 has an output port 450 and provides a drive signal for varying a phase of the output clock signal 435. The charge pump circuit 420 further receives the first signal 445 and provides high impedance al the output port when the first signal 445 is indicative of a reference clock signal 410 unsuitable for use as a reference clock at the input port 415. A voltage controlled oscillation circuit 430 receives the drive signal from the charge pump circuit 420 and provides the output clock signal 435 which has an oscillation frequency controlled in dependence upon the drive signal. The detector 440 receives the reference clock signal and compares phases of the first signal 445 derived from the output clock signal 435 and the reference clock signal 410 with each other and then furnishes a comparison result indicative of a phase alignment of the signals. The charge pump circuit 420 has an input port, which receives the comparison result and provides the drive signal in dependence upon the received comparison result. The above-described embodiments of the invention are intended to be examples of the present invention and numerous modifications, variations, and adaptations may be made to the particular embodiments of the invention without departing from the scope and spirit of the invention, which is defined in the claims.

Claims: Claims What is claimed is: 1. A charge pump phase locked loop circuit for providing an output clock signal comprising: an input port for receiving a reference clock signal; a detector for detecting an aspect of the reference clock signal and for providing a first signal indicative ofa suitability of the reference clock signal as a reference clock; a charge pump circuit having an output port and for providing a drive signal for varying a phase of the output clock signal and for receiving the first signal, the charge pump circuit lor providing high impedance at the output port when the first signal is indicative of a reference clock signal unsuitable for use as a reference clock at the input port. 2. A charge pump phase locked loop circuit as defined in claim 1 wherein the aspect of the reference clock signal is a presence of an oscillating clock signal at the input port and wherein an absence of such a signal is indicative o a reference clock signal unsuitable for use as a reference clock. 3. A charge pump phase locked loop circuit as defined in claim 1 wherein the aspect of the reference clock signal is a quality of the reference clock signal port and wherein a low quality reference clock signal is a clock signal unsuitable for use as a reference clock. 4. A charge pump phase locked loop circuit as defined in claim 1 comprising: a voltage controlled oscillation circuit for receiving the drive signal and for providing the output clock signal having an oscillation frequency controlled in dependence upon the drive signal; a phase frequency discriminator for receiving the reference clock signal and for comparing phases of a first signal derived from the output clock signal and the reference clock signal with each other and for providing a comparison result indicative of phase alignment of the signals; and, wherein the charge pump circuit comprises an input port for receiving the comparison result and for providing the drive signal in dependence upon the received comparison result. 5. A charge pump phase locked loop circuit as defined in claim 4 comprising: a programmable divider for receiving a signal based on the output clock signal and for providing the first signal based thereon. 6. A charge pump phase locked loop circuit as defined in claim 1 wherein the detector comprises: a counter reset by oscillations of the reference clock and providing the first signal indicative of a suitability of the reference clock signal in dependence upon a current count, the counter operating at at least one of a frequency and a count threshold selected such that when the reference clock ceases oscillation, the counter counts past the count threshold resulting in the first signal being indicative of an unsuitable reference clock signal and wherein when the reference clock oscillates at a sufficiently high frequency, the counter is reset and thereby remains below the count threshold resulting in the first signal being indicative of suitable reference clock signal. 7. A charge pump phase locked loop circuit as defined in claim 1 wherein the detector comprises: a shift register reset by oscillations of the reference clock and providing the first signal indicative ofa suitability of the reference clock signal in dependence upon a current shift amount, the shift register operating at at least one ofa frequency and a shift amount threshold selected such that when the reference clock ceases oscillation, the shift register shifts past the shift amount threshold resulting in the first signal being indicative of an unsuitable reference clock signal and wherein when the reference clock oscillates at a sufficiently high frequency, the shift register is reset and thereby remains below the shift amount threshold resulting in the first signal being indicative of a suitable reference clock signal. 8. A charge pump phase locked loop circuit as defined in claim 1 wherein the detector comprises: a lock indicator for detecting phase lock and for providing a signal indicative of the detected phase lock to the detector, wherein when the signal indicative of the detected phase lock is indicative of other than phase lock, the detector provides a signal indicative of suitable reference clock signal. 9. A method ofproviding a free-running mode for a phase locked loop including a charge pump circuit having an output port comprising the steps of: receiving a reference clock signal at an input port; determining a quality level of the reference clock signal; providing a first signal to the charge pump circuit when the reference clock signal has a quality below a predetermined level; and providing high impedance at the output port of the charge pump circuit upon receipt of the first signal. 10. A method as defined in claim 9 wherein the quality of the reference clock signal is determined based on a presence of an oscillating clock signal at the input port and wherein an absence of such a signal is indicative of a low quality level. 1 1. A method as defined in claim 9 wherein the step of determining a quality level of the reference clock signal comprises the steps of: counting oscillations within an oscillating signal; resetting the counter in dependence upon the reference clock signal; when the counter reaches a threshold count, determining that the reference clock quality is below the predetermined level. 12. A method as defined in claim 1 1 wherein the step of determining a quality level of the reference clock signal comprises the step of: when the counter is below the threshold count, determining that the reference clock quality is other than below the predetermined level. 13. A method as defined in claim 9 wherein the step of determining a quality level of the reference clock signal comprises the step o : providing a lock indicator signal; when the lock indicator signal is indicative ofa phase difference, determining that the reference clock signal quality is other than below the predetermined level. 14. A method as defined in claim 9 wherein the step of determining a quality level of the reference clock signal comprises the steps of: shifting a value into a shift register at a frequency of an oscillating signal; resetting the shift register in dependence upon the reference clock signal; when thc value is shifted a predetermined amount, determining that the reference clock quality is below the predetermined level. 15. A method as defined in claim 14 wherein the step of determining a quality level of the reference clock signal comprises the step of: when the value is shifted less than the predetermined amount, determining that the reference clock quality is other than below the predetermined level.

Inventors: NERON CHRISTOPHE, NERON, CHRISTOPHE
Applicants: KONINKL PHILIPS ELECTRONICS NV, PHILIPS SEMICONDUCTORS INC, KONINKLIJKE PHILIPS ELECTRONICS N.V., PHILIPS SEMICONDUCTORS INC.
Application year: 2000
Main classification: H03L7
IPC codes: G06F1, H03L7, H04L7