A wide band, wide operating range, general purpose digital phase locked loop (pll) runs in the digital domain except for the associated time digitizer (t2d) and Digitally-controlled-oscillator (dco). By calibrating the t2d and dco on the fly, a constant pll loop BW is achieved by using the calibrated phase frequency Detection (PFD) and dco information to normalize the control loop correction regardless of the input clock frequency, power supply voltage, processing and temperature variations. pll loop BW is completely decoupled from the operating conditions and semiconductor device variation. This means that the pll loop BW can be chosen very aggressively to reject the noise, thus achieving a low jitter, high performance pll. Furthermore, since this pll can reliably operate over a wide operating range, it is a one-design-fits-all general purpose pll.
|
1. A digital phase locked loop (pll) comprising:
a phase frequency detector configured to measure a difference (phase error) between a reference clock and a feedback clock and generate up and down pulses there from; a time digitizer configured to convert the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; a digital controller configured to generate a digitally controlled oscillator (dco) control code in response to the phase error code; and a dco configured to generate an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations; wherein the digital controller comprises a second order type ii control system.
22. A method of calibrating a time digitizer (t2d) delay associated with a digitally controlled oscillator (dco) clock cycle, the method comprising the steps of:
providing a digitally controlled phase locked loop (pll) comprising a phase frequency detector, a time digitizer, a digital controller, and a dco; setting a dco code at a pre-determined code; measuring a corresponding t2d code associated with the pre-determined dco code, to generate a ratio; generating normalized calibration data to determine how fast a subsequent dco code should change in response to a t2d delay; and calibrating the t2d delay versus the dco clock cycle to provide a general purpose, wide band pll having a large input and output frequency range, and further having a loop bandwidth optimized to reject power supply and ground noise, and further being substantially immune to process, voltage and temperature variations.
7. A digital phase locked loop (pll) comprising:
means for measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses in digital form there from; means for converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; means for generating a digitally controlled oscillator (dco) control code in response to the phase error code; and means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations; wherein the means for generating a digitally controlled oscillator (dco) control code in response to the phase error code comprises a digital second order type ii control system.
17. A digital phase locked loop (pll) comprising:
means for measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses in digital form there from; means for converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; means for generating a digitally controlled oscillator (dco) control code in response to the phase error code; and means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations; wherein the means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations comprises a voltage controlled oscillator driven by a digital to analog converter.
18. A digital phase locked loop (pll) comprising:
means for measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses in digital form there from; means for converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; means for generating a digitally controlled oscillator (dco) control code in response to the phase error code; and means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations; wherein the means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations comprises a current controlled oscillator driven by a digital to analog converter.
19. A digital phase locked loop (pll) comprising:
means for measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses in digital form there from; means for converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; means for generating a digitally controlled oscillator (dco) control code in response to the phase error code; and means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations; wherein the means for generating an output clock in response to the dco control code and further configured to generate the feedback clock, such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations comprises a ring oscillator controlled in response to a digitally controlled variable resistance.
21. A method of controlling a phase locked loop (pll) bandwidth, the method comprising the steps of:
providing a digitally controlled pll comprising: a phase frequency detector; a time digitizer; a digital controller; and a dco; measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses there from via the phase frequency detector; converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses via the time digitizer; generating a digitally controlled oscillator (dco) control code in response to the phase error code via the digital controller; and generating an output clock and the feedback clock in response to the dco control code such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations;
wherein the step of generating a digitally controlled oscillator (dco) control code in response to the phase error code via the digital controller comprises the step of mapping the phase error code into delay time units in response to predetermined lookup table information.
20. A method of controlling a phase locked loop (pll) bandwidth, the method comprising the steps of:
providing a digitally controlled pll comprising: a phase frequency detector; a time digitizer; a digital controller; and a dco; measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses there from via the phase frequency detector; converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses via the time digitizer; generating a digitally controlled oscillator (dco) control code in response to the phase error code via the digital controller; and generating an output clock and the feedback clock in response to the dco control code such that a substantially constant pll bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations;
wherein the step of generating a digitally controlled oscillator (dco) control code in response to the phase error code via the digital controller comprises the steps of converting the measurements to digital signals, and implementing bubble correction, thermometer to binary conversion, and majority voting operations respectively on the digital signals.
2. The digital pll according to
3. The digital pll according to
4. The digital pll according to
5. The digital pll according to
6. The digital pll according to
8. The digital pll according to
9. The digital pll according to
10. The digital pll according to
11. The digital pll according to claims 7 wherein the digital second order type ii control system comprises a lookup table and is configured to map the phase error code into delay time units in response to lookup table information.
12. The digital pll according to
13. The digital pll according to
14. The digital pll according to
15. The digital pll according to
16. The digital pll according to
|
The application claims priority under 35 U.S.C. § 119(e)(1) of provisional application Ser. No. 60/368,240, filed Mar. 28, 2002, by Heng-Chih Lin, Baher S. Haroun and Tim Foo.
1. Field of the Invention
This invention relates generally to digital phase lock loops, and more particularly to a wide band, wide operation range, general purpose digital phase locked loop (PLL) architecture.
2. Description of the Prior Art
Portable ultra large scaled integrated circuit (VLSI) systems require efficient power management schemes such as power supply voltage scaling, and clock frequency scaling on the fly to achieve optimal system/power performance. Phase locked loops, which generate the system clock, thus must be able to work under all these operating conditions and still maintain the loop stability. This implies that the PLL loop bandwidth has to be designed on the order of 10× smaller than the smallest possible clock frequency. The scaling of power supply voltage on the fly further complicates the design by changing the semiconductor device parameters. The combined effect is that a designer usually must take a conservative approach and design a PLL which has a very low loop bandwidth (BW). On the other hand, the integration of a PLL and a large digital system generally has a large power supply and substrate noise injection associated with the digital circuitry, and thus, the large PLL output clock jitter. In order to reject those noises, a PLL is required to have a loop BW as large as possible. Such stability-performance trade offs create a great challenge on traditional analog PLL designs.
It is therefore advantageous and desirable to provide a completely digital PLL architecture capable of successfully addressing the foregoing stability-performance trade offs.
The present invention is directed to a wide band, wide operating range, general purpose digital phase locked loop (PLL) architecture. The entire PLL is running in the digital domain except for the Time Digitizer (T2D) and Digitally-Controlled-Oscillator (DCO). By calibrating the T2D and DCO on the fly, a constant PLL loop BW is achieved by using the calibrated Phase Frequency Detection (PFD) and DCO information to normalize the control loop correction regardless of the input clock frequency, power supply voltage, processing and temperature variations. PLL loop BW is completely decoupled from the operating conditions and semiconductor device variation. This means that the PLL loop BW can be chosen very aggressively to reject the noise, thus achieving a low jitter, high performance PLL. Furthermore, since this PLL can reliably operate over a wide operating range, it is a one-design-fits-all general purpose PLL.
According to one embodiment, a digital phase locked loop (PLL) comprises: a phase frequency detector configured to measure a difference (phase error) between a reference clock and a feedback clock and generate up and down pulses there from; a time digitizer configured to convert the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; a digital controller configured to generate a digitally controlled oscillator (DCO) control code in response to the phase error code; and a DCO configured to generate an output clock in response to the DCO control code and further configured to generate the feedback clock, such that a substantially constant PLL bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations.
According to another embodiment, a digital phase locked loop (PLL) comprises: means for measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses there from; means for converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses; means for generating a digitally controlled oscillator (DCO) control code in response to the phase error code; and means for generating an output clock in response to the DCO control code and further configured to generate the feedback clock, such that a substantially constant PLL bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations.
According to yet another embodiment, a method of controlling a phase locked loop (PLL) bandwidth comprises the steps of: providing a digitally controlled PLL comprising: a phase frequency; a time digitizer; a digital controller; and a DCO; measuring a difference (phase error) between a reference clock and a feedback clock and generating up and down pulses there from via the phase frequency detector; converting the phase error between the reference clock and the feedback clock into a phase error code in response to the up and down pulses via the time digitizer; generating a digitally controlled oscillator (DCO) control code in response to the phase error code via the digital controller; and generating an output clock and the feedback clock in response to the DCO control code such that a substantially constant PLL bandwidth is achieved regardless of reference clock, power supply voltage, processing and temperature variations.
Other aspects and features of the present invention and many of the attendant advantages of the present invention will be readily appreciated as the same become better understood by reference to the following detailed description when considered in connection with the accompanying drawings wherein:
FIG. 7(a) shows a common digitally controlled oscillator that employs a digital to analog converter and a voltage controlled oscillator;
FIG. 7(b) shows a common digitally controlled oscillator that employs a digital to analog converter and a current controlled oscillator;
FIG. 7(c) shows a common digitally controlled oscillator that employs a digitally controlled resistance;
FIG. 7(d) shows a common digitally controlled oscillator that employs a digitally controlled capacitance;
While the above-identified drawing figures set forth particular embodiments, other embodiments of the present invention are also contemplated, as noted in the discussion. In all cases, this disclosure presents illustrated embodiments of the present invention by way of representation and not limitation. Numerous other modifications and embodiments can be devised by those skilled in the art which fall within the scope and spirit of the principles of this invention.
Embedded phase lock loops have become an integral part of any digital or analog system which requires accurate clocks (e.g., digital signal processor (DSP) in wireless communications). In order to support a wide customer base and communication standard, an all digital phase lock loop (ADPLL) was found by the present inventors to provide an easy path for integration with any clocked system (e.g., DSPs) in a deep-submicron CMOS process Other incentives were found to include: 1. a fast design cycle; 2. easy process migration and more scalable area; and 3. ease of testing. Designing an ADPLL that has a fast acquisition and lock time, and yet has a very predictable behavior across a wide band of input versus output frequencies and a wide range of operating conditions, is however, not trivial. The detailed description of the preferred embodiments discussed herein below with reference to
The ADPLL system 200 architecture is based on a fixed-point phase-frequency domain structure. This architecture importantly centers around a type II second order digital control system. This second order control system takes into account both phase and frequency difference. The ADPLL system 200 is implemented as described below with reference to
A. Phase Frequency Detector
B. Time Digitizer
Phase error between input clock 201 and feedback clock 212 is measured and converted from time to digital code using the Time Digitizer (T2D) circuit 304 shown in FIG. 4. This is a significant advantage compared to a VCO using analog control voltage because once the T2D 304 conversion is completed, the digital code will not be corrupted by noise; and the subsequent control algorithm can be carried out in the digital domain. This architecture then provides a superior implementation in a high gate density deep-submicron CMOS process.
ADPLL system 200 was found by the present inventors to accommodate a wide range of system (e.g., DSP platforms) that require a wide range of input frequencies. The T2D circuit 304 is carefully designed to have fine resolution in high input frequency applications without sacrificing the wide delay range required to effectively operate in low input frequency applications without saturating the delay chain.
Special care is required after the time digitizer 304 to minimize potential glitches on the phase error code. Standard bubble correction 306 and a thermometer to binary conversion circuits 308 follow the time digitizer 304 as shown in
C Digital Controller
The operation of the ADPLL system 200 is powered by a digital controller (DC) 202 equipped with a second order type II control system as stated herein before. A detailed configuration of the digital controller 202 is illustrated in
Differencing the phase error code in the digital domain allows extraction of frequency error information. In the second order control system, frequency error serves as a coarse tuning control while phase error serves as fine tuning control. The coarse tuning gain factor, beta 502, and fine tuning gain factor, alpha 504, are set to 32 and 1 respectively. Having the entire control system 202 designed in the digital domain allows a third order tuning factor, gamma 506, to be easily integrated into the control loop as the need arises.
Complimenting the complex control algorithm implemented in the digital controller 202 is the synchronous Finite State Machine (FSM) 510, which operates as the heart of the controller 202. The FSM 510 functions can be categorized into, but not limited to six main states including RESET, CALIBRATION, TRACKING, LOCK, STOPMODE and LIMP.
At each reference clock cycle, a new DCO correction step is computed based on the phase error code and its derivatives. This correction step is first normalized with a normalization factor that is acquired through calibrations. The normalization factor is implemented using a lookup table which stores the corresponding shift value. Instead of using a multiplier or divider, the normalization is done through a shifter using the values stored in the lookup table. Before the normalized DCO correction is added to the current DCO code, it is passed through saturation logic such that the correction step is clamped at some predetermined (e.g., 3%) maximum.
D. Digital Controlled Oscillator
A Digital Controlled Oscillator(DCO) for use with ADPLL system 200 can be implemented in many ways. A Digital to Analog Converter (DAC) is typically used to convert the digital code into an appropriate voltage or current which directly controls the oscillation frequency. Other implementations digitally control the effective R or C of the ring oscillators. These architectures are presented in FIGS. 7(a)-7(d).
Designing a linear frequency versus control code in a low voltage deep-submicron CMOS process, as stated herein before, is a challenging task. The DCO must guarantee oscillation over a wide range of PVT conditions. Further, the DCO frequency vs. code curve must be monotonic across all PVT conditions to avoid any localized valley which can trap the DCO into a small range of possible oscillation frequencies. The detailed discussion herein below more fully describes the theory of operation associated with the particular embodiments of the present invention described herein above in order to achieve the foregoing results.
A. Stability Versus Jitter Trade Off
In order to reject the DCO jitter from supply noise, the PLL loop bandwidth needs to be as large as possible, subject to {fraction (1/10)} of the reference frequency upper limit. A PLL designer usually has to take a conservative approach in BW design in order to guarantee stability over PVT variations, thus sacrificing the jitter performance. By adopting a calibration method described herein below, a relatively constant PLL loop BW is maintained over all PVT variations, which allows an aggressive approach on loop BW design to reject the DCO jitter.
B. Self Calibration
The benefits of self calibration result in wide band input frequency operation range, even with PVT (process, voltage, temperature) variations. Wide band input frequency directly affects how the control loop responds in all conditions as discussed above. PVT variations are the most important factors that cause integrated circuits to function in one case but fail in others. It is therefore absolutely necessary to build some intelligence into the ADPLL 200 regarding the operating environments. This intelligence is collected from the calibrated data used to guide the DCO control loop to be more accurate, robust and stable.
This wide variation in PLL loop BW and damping factor will result in a PLL that will behave unpredictably under different operating conditions. In order to constrain such wide variations, PVC effects on the circuits must be well controlled through calibration Since the majority of the ADPLL 200 is in the digital domain, only DCO (enumerated 250 in
T2D kt2d calibration:
The T2D 304 delay chain is calibrated with respect to a preset DCO 250 output frequency to offset the PVT variations. In this calibration step, one DCO 250 output clock pulse is sent to the PFD 302 and the corresponding T2D 304 code is recorded. This code is used in the DCO 250 code normalization computation as discussed below.
DCO Kdco Calibration:
At a known DCO code, the DCO 250 output clock frequency describes the Kdco associated with a particular operating condition. Over a period of pre-determined (say, 16) reference clock periods, the DCO 250 output frequency ratio over the reference frequency is computed.
C. Normalization
Normalization was found by the present inventors to be necessary to enable ADPLL system 200 to operate within a wide frequency band and over a wide operating range of PVT conditions. The embodiments described herein demonstrate that a constant loop bandwidth and damping factor can be maintained regardless of the input or output frequencies, or PVT variations through proper calibration of the Kt2d and Kdco in an ADPLL. A predictable, robust and stable ADPLL 200 is accordingly achieved
The present inventors also found that lookup table techniques could be implemented, if desired, to realize the complex normalization factor such that a reduction in hardware and a shortened data path delay could be achieved. One embodiment of the normalization lookup table was found to use only 4096×5 bits total with an accuracy of at least 35%.
D. Speedup Lock Time
The ADPLL system 200 architecture described herein advantageously speeds up the lock time using features such as DCO code prediction, phase alignment and proper T2D 304 implementation. DCO code prediction was found to establish the DCO oscillation frequency to within 12.5% of the target frequency. Phase alignment was found to establish a phase difference between the input clock and the feedback clock to within 25% in the target applications. Phase alignment was also found to shorten the time to re-lock after the ADPLL 200 came out of the sleep mode. Those skilled in the digital PLL art will appreciate the T2D 304 can also be implemented, if desired, in any manner that guarantees the control loop will be alive by keeping the loop correction active even when the phase error pulse has saturated the T2D 304 delay chain in extra low input frequency applications.
In summary explanation, an ADPLL 200 has been described that is substantially immune to PVT variations. The ADPLL 200 uses proper calibration and normalization of the PLL to ease the effects of input frequency and PVT variations. The ADPLL 200 behaves in a very predictable manner regardless of the operating conditions.
In view of the above, it can be seen the present invention presents a significant advancement in the art of all digital phase lock loops. Further, this invention has been described in considerable detail in order to provide those skilled in the PLL art with the information needed to apply the novel principles and to construct and use such specialized components as are required.
Further, in view of the foregoing descriptions, it should be apparent that the present invention represents a significant departure from the prior art in construction and operation. However, while particular embodiments of the present invention have been described herein in detail, it is to be understood that various alterations, modifications and substitutions can be made therein without departing in any way from the spirit and scope of the present invention, as defined in the claims which follow.
Haroun, Baher S., Lin, Heng-Chih, Foo, Tiang Tun
Patent | Priority | Assignee | Title |
10812054, | Jul 13 2018 | Samsung Electronics Co., Ltd. | Digitally-controlled oscillators having current mirrors and negative-feedback circuits therein that support high power supply rejection ratio (PSRR) and low noise characteristics |
6903613, | Dec 20 2002 | TAMIRAS PER PTE LTD , LLC | Voltage controlled oscillator |
7675440, | Apr 28 2008 | Altera Corporation | Thermometer-code-to-binary encoders |
7839221, | Sep 30 2005 | GLOBALFOUNDRIES U S INC | Phase locked loop and method for adjusting the frequency and phase in the phase locked loop |
7859343, | Nov 13 2006 | Industrial Technology Research Institute | High-resolution varactors, single-edge triggered digitally controlled oscillators, and all-digital phase-locked loops using the same |
8050376, | Dec 11 2007 | NATIONAL TAIWAN UNIVERSITY | All digital phase-locked loop with widely locked frequency |
8125286, | Nov 13 2006 | Industrial Technology Research Institute | High-resolution varactors, single-edge triggered digitally controlled oscillators, and all-digital phase-locked loops using the same |
8432191, | Jan 24 2011 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Phase-locked loop having high-gain mode phase-frequency detector |
9024693, | Jun 06 2013 | Industrial Technology Research Institute | Crystal-less clock generator and operation method thereof |
9083365, | Apr 28 2008 | Altera Corporation | Thermometer-code-to-binary encoders |
Patent | Priority | Assignee | Title |
5444459, | Dec 03 1990 | Mentor Graphics Corporation | Signal acquisition system utilizing ultra-wide time range time base |
5506875, | Dec 13 1993 | Motorola, Inc. | Method and apparatus for performing frequency acquisition in all digital phase lock loop |
6028488, | Nov 08 1996 | Texas Instruments Incorporated | Digitally-controlled oscillator with switched-capacitor frequency selection |
6181168, | Sep 24 1999 | SHENZHEN XINGUODU TECHNOLOGY CO , LTD | High speed phase detector and a method for detecting phase difference |
6208211, | Sep 24 1999 | SHENZHEN XINGUODU TECHNOLOGY CO , LTD | Low jitter phase locked loop having a sigma delta modulator and a method thereof |
6369661, | Nov 20 2000 | Cirrus Logic, Inc. | Phase interpolation circuits and methods and systems using the same |
6414555, | Mar 02 2000 | Texas Instruments Incorporated | Frequency synthesizer |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 31 2002 | LIN, HENG-CHIH | Texas Instruments Incorporated | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013504 | /0481 | |
Oct 31 2002 | FOO, TIANG TUN | Texas Instruments Incorporated | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013504 | /0481 | |
Nov 07 2002 | HAROUN, BAHER S | Texas Instruments Incorporated | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013504 | /0481 | |
Nov 12 2002 | Texas Instruments Incorporated | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Feb 21 2008 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 24 2012 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Feb 23 2016 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 28 2007 | 4 years fee payment window open |
Mar 28 2008 | 6 months grace period start (w surcharge) |
Sep 28 2008 | patent expiry (for year 4) |
Sep 28 2010 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 28 2011 | 8 years fee payment window open |
Mar 28 2012 | 6 months grace period start (w surcharge) |
Sep 28 2012 | patent expiry (for year 8) |
Sep 28 2014 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 28 2015 | 12 years fee payment window open |
Mar 28 2016 | 6 months grace period start (w surcharge) |
Sep 28 2016 | patent expiry (for year 12) |
Sep 28 2018 | 2 years to revive unintentionally abandoned end. (for year 12) |