Adaptive phase locked loop
A reference signal and a voltage controlled oscillator (VCO) output are compared for relative phase and frequency differences. A lead error signal is generated if the reference signal leads the VCO output and a lag error signal is generated if the reference signal lags the VCO output the lead and lag error may result from a combination for phase and frequency differences between the reference signal and the VCO output. A time window is used to sample the polarity of the lead and lag error signals by incrementing and decrementing a phase error signal. If the phase error signal reaches a threshold value within the time window, a Reset Delta pulse is generated and if the phase error signals does not reach the maximum delta value within the time window a Reset Total pulse is generated. A variable first gain signal is increased on each Reset Delta pulse and decreased on each Reset Total pulse and limited to a value between predetermined maximum and minimum values. The first gain signal is multiplied by a Pump current increment and added to a minimum Pump current to generate a variable Pump current. A variable second gain signal proportional to the time the reference signal leads and lags the VCO signal multiplies the Pump current. The amplified Pump current is summed with an integral of the amplified Pump current to generate a control signal. The control signal is applied to the VCO and determines the frequency of the VCO output.
Latest IBM Patents:
- INTERACTIVE DATASET EXPLORATION AND PREPROCESSING
- NETWORK SECURITY ASSESSMENT BASED UPON IDENTIFICATION OF AN ADVERSARY
- NON-LINEAR APPROXIMATION ROBUST TO INPUT RANGE OF HOMOMORPHIC ENCRYPTION ANALYTICS
- Back-side memory element with local memory select transistor
- Injection molded solder head with improved sealing performance
The present invention relates in general to phase locked loop systems for generating computer clocks.
BACKGROUND INFORMATIONPhase-locked loops (PLL's) have been widely used in high-speed communication systems because PLL's efficiently perform clock recovery or clock generation at a relatively low cost. PLL's used in systems to generate clocks are required to generate low-noise or low jitter clock signals. Conventional analog PLL's may use a narrow-band loop filter to reduce output jitter at the expense of extended locking time. In order to improve locking-time characteristics, digital or hybrid analog/digital PLL's have been used which employ varying algorithms to modify loop bandwidth depending on whether a frequency lock is being acquired or maintained.
For low power microprocessor and handheld device applications it is desirable to shut off the unit's clock generator for power savings. However, the time required for the unit to “wake-up” may be excessive since a phase-locked loop (PLL) clock source may require a long period of time to achieve the desired steady-state conditions. Conventional design approaches for a PLL may reduce acquisition time (i.e., the time required to achieve frequency and phase locked conditions from an initially unlocked state) at the expense of steady state jitter, but this will increase the system cycle time budget. Adaptive PLL techniques have been reported, but often include complex system issues, require additional custom circuit designs, or involve higher-jitter digital PLL techniques.
There is, therefore, a need for a simple adaptive PLL that has fast acquisition time and low jitter while requiring simple hardware to implement.
SUMMARY OF THE INVENTIONAn adaptive phase-locked loop (PLL) compares the phase and frequency of a reference signal and the output of a voltage-controlled oscillator (VCO) and generates a lead error signal if the reference signal leads the VCO output and a lag error signal if the reference signal lags the VCO output. A time window is generated and a phase error signal is increased on a transition of the lead error signal and decreased on a transition of the lag error signal. A variable first gain signal is increased if the phase error signal reaches a predetermined value during a time window and the first gain signal is decreased if the phase error signal does not reach the predetermined value. The first gain signal is limited to a value between predetermined minimum and maximum values. A Pump increment signal is multiplied times the first gain signal and added to a Pump minimum signal to generate a Pump signal. A second gain signal is generated as a plus one value for the duration of the lead error signal and a minus one value for the duration of the lag error signal. The Pump signal is multiplied times the second gain signal to generate a modified Pump signal. The modified Pump signal multiplied by a first constant is added to the integral of the modified Pump signal multiplied by a second constant to generate a Control signal. The Control signal is applied as the frequency control voltage of a VCO generating the VCO output.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention. However, it will be obvious to those skilled in the art that the present invention may be practiced without such specific details. In other instances, well-known circuits have been shown in block diagram form in order not to obscure the present invention in unnecessary detail. For the most part, details concerning timing considerations and the like have been omitted in as much as such details are not necessary to obtain a complete understanding of the present invention and are within the skills of persons of ordinary skill in the relevant art.
Refer now to the drawings wherein depicted elements are not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views. In the following detailed descriptions, a logic zero is a low or zero voltage and a logic one is a high or a plus supply voltage to simplify explanation of embodiments of the present invention.
The PLL 100 system in
The present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A method for controlling a phase locked loop in a computer system clock generator comprising the steps of:
- generating a lead error signal when a first signal leads a second signal and a lag error signal when said first signal lags said second signal;
- generating a phase error signal in response to said lead error signal and said lag error signal;
- generating a variable first gain signal in response to said phase error signal and said first signal;
- generating a variable second gain signal in response to said lead error signal and said lag error signal;
- generating a control signal in response to a first reference signal, a second reference signal, said first gain signal and said second gain signal; and
- applying said control signal to a voltage controlled oscillator as a frequency control signal of an output of a voltage controlled oscillator generating said second signal.
2. The method of claim 1, wherein said lead error signal is a logic one pulse if said first signal leads said second signal during a cycle of said second signal and said lag error signal is a logic one pulse if said first signal lags said second signal during said cycle of said second signal.
3. The method of claim 1, wherein said phase error signal is increased on a transition of said lead error signal and decreased on a transition of said lag error signal.
4. The method of claim 1, wherein said first gain signal is increased if an absolute value of said phase error signal reaches a first threshold value within a time window and decreased if said absolute value of said phase error signal does not reach said first threshold value in said time window.
5. The method of claim 1, wherein said second gain signal is a value +K if said lead error signal is a logic one pulse and a value −K if said lag error signal is a logic one pulse, wherein K is a numerical value including the value one.
6. The method of claim 1, wherein said first gain signal is limited to a magnitude between a predetermined maximum level and a predetermined minimum level.
7. The method of claim 6, wherein a third signal is generated by adding said first reference signal to said second reference signal multiplied by said first gain signal.
8. The method of claim 7, wherein said control signal is generated in response to said third signal, an integral of said third signal, and said second gain signal.
9. The method of claim 8, wherein said third signal is multiplied by said second gain signal generating a modified third signal.
10. The method of claim 9, wherein said control signal is generated by adding said modified third signal multiplied by a first constant to an integral of said modified third signal multiplied by a second constant.
11. The method of claim 4, wherein said first threshold value and said time window are dynamically variable.
12. A phase locked loop (PLL) comprising:
- phase comparator receiving a first signal and a second signal and generating a lead error signal when said first signal leads said second signal and a lag error signal when said first signal lags said second signal;
- a phase error generator for generating a phase error signal in response to said lead error signal and said lag error signal;
- a circuit for generating a variable first gain signal in response to said phase error signal and said first signal;
- a circuit for generating a variable second gain signal in response to said lead error signal and lag error signal;
- a circuit for generating a control signal in response to a first reference signal, a second reference signal, said first gain signal and said second gain signal; and
- a voltage controlled oscillator receiving said control signal as a frequency control signal of an output of said voltage controlled oscillator generating said second signal.
13. The PLL of claim 12, wherein said lead error signal is a logic one pulse; if said first signal leads said second signal during a cycle of said second signal and said lag error signal is a logic one pulse; if said first signal lags said second signal during said cycle of said second signal.
14. The PLL of claim 12, wherein said phase error signal is increased on a transition of said lead error signal and decreased on a transition of said lag error signal.
15. The PLL of claim 12, wherein said first gain signal is increased if an absolute value of said phase error signal reaches a first threshold value within a time window and decreased if said absolute value of said phase error signal does not reach said first threshold value in said time window.
16. The PLL of claim 12, wherein said second gain signal is a value +K if said lead error signal is a logic one pulse and a value −K if said lag error signal is a logic one pulse, wherein K is a numerical value including the value one.
17. The PLL of claim 12, wherein said first gain signal is limited to a magnitude between a predetermined maximum level and a predetermined minimum level.
18. The PLL of claim 17, wherein a third signal is generated by adding said first reference signal to said second reference signal multiplied by said first gain signal.
19. The PLL of claim 18, wherein said control signal is generated in response to said third signal, an integral of said third signal, and said second gain signal.
20. The PLL of claim 19, wherein said third signal is multiplied by said second gain signal generating a modified third signal.
21. The PLL of claim 20, wherein said control signal is generated by adding said modified third signal multiplied by a first constant to an integral of said modified third signal multiplied by a second constant.
22. The PLL of claim 15, wherein said first threshold value and said time window are dynamically variable.
23. A data processing system comprising:
- a processor central processing unit (CPU);
- a random access memory (RAM);
- a read only memory (ROM); and
- a bus system coupling said CPU to said ROM and said RAM, said data processing system further comprising a phase locked loop (PLL) in clock a generator, said PLL comprising:
- circuitry for receiving a first signal and a second signal and generating a lead error signal when said first signal leads said second signal and a lag signal when said first signal lags said second signal;
- circuitry for generating a phase error signal in response to said lead error signal and said lag error signal;
- circuitry for generating a variable first gain signal in response to said phase error signal;
- circuitry for generating a variable second gain signal in response to said lead error signal and lag error signal;
- circuitry for generating a control signal in response to a first reference signal, a second reference signal, said first gain signal and said second gain signal; and
- a voltage controlled oscillator receiving said control signal as a frequency control signal for an output of said voltage controlled oscillator generating said second signal.
24. The data processing system of claim 23, wherein said lead error signal is a logic one pulse if said first signal leads said second signal during a cycle of said second signal and said lag error signal is a logic one pulse if said first signal lags said second signal during said cycle of said second signal.
25. The data processing system of claim 23, wherein said phase error signal is increased on a transition of said lead error signal and decreased on a transition of said lag error signal.
26. The data processing system of claim 23, wherein said first gain signal is increased if an absolute value of said phase error signal reaches a first threshold value within a time window and decreased if said absolute value of said phase error signal does not reach said first threshold value in said time window.
27. The data processing system of claim 23, wherein said second gain signal is a value +K if said lead error signal is a logic one pulse and a value −K if said lag error signal is a logic one pulse, wherein K is a numerical value including the value one.
28. The data processing system of claim 23, wherein said first gain signal is limited to a magnitude between a predetermined maximum level and a predetermined minimum level.
29. The data processing system of claim 28, wherein a third signal is generated by adding said first reference signal to said second reference signal multiplied by said first gain signal.
30. The data processing system of claim 29, wherein said control signal is generated in response to said third signal, an integral of said third signal, and said second gain signal.
31. The data processing system of claim 30, wherein said third signal is multiplied by said second gain signal generating a modified third signal.
32. The data processing system of claim 31, wherein said control signal is generated by adding said modified third signal multiplied by a first constant to an integral of said modified third signal multiplied by a second constant.
5276408 | January 4, 1994 | Norimatsu |
5473285 | December 5, 1995 | Nuckolls et al. |
6018556 | January 25, 2000 | Janesch et al. |
6031428 | February 29, 2000 | Hill |
6121845 | September 19, 2000 | Eribes |
6208216 | March 27, 2001 | Nasila |
6580328 | June 17, 2003 | Tan et al. |
6597754 | July 22, 2003 | Janesch et al. |
- Joonsuk Lee et al., “A Low-Noise Fast-Lock Phase-Locked Loop with Adaptive Bandwidth Control,” IEEE Journal of Solid-State Circuits, vol. 35, No. 8, Aug. 2000, pp. 1137-1145.
- Gyoung-Tae Roh et al., “Optimum Phase-Acquistion Technique for Charge-Pump PLL,” IEEE Transactions on Circuits and Systems-II: Analog and Digital Signal Processing, vol. 44, No. 9, Sep. 1997, pp. 729-740.
- Masayuki Mizuno et al., “CMOS Hot-Standby Phase-Locked Loop Using a Noise-Immune Adaptive-Gain Voltage-Controlled Oscillator,” 1995 IEEE International Solid-State Circuits Conference, pp. 268-270.
- Rafael Fried et al., “Low-Power Digital PLL with One Cycle Frequency Lock-In Time and Large Frequency-Multiplication Factor for Advanced Pwer Management,” ICECS '96, pp. 1166-1169.
- Helmuth Brugel et al., “Variable Bandwidth DPLL Bit Synchronizer with Rapid Acquistion Implemented as a Finite State Machine,” IEEE Transactions on Communications, vol. 42, No. 9, Sep. 1994, pp. 2751-2759.
Type: Grant
Filed: Jul 31, 2001
Date of Patent: Nov 8, 2005
Patent Publication Number: 20030026372
Assignee: International Business Machines Corporation (Armonk, NY)
Inventors: David W. Boerstler (Round Rock, TX), Gary D. Carpenter (Pflugerville, TX), Hung C. Ngo (Austin, TX)
Primary Examiner: Stephen Chin
Assistant Examiner: Linda Wong
Attorney: Winstead Sechrest & Minick P.C.
Application Number: 09/918,809