Abstract:
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.

Description:
CLAIM TO PRIORITY OF PROVISIONAL APPLICATION  
       [0001]    The application claims priority under 35 U.S.C. §119(e)(1) of provisional application serial No. 60/368,240, docket number TI-34242PS, filed Mar. 28, 2002, by Heng-Chih Lin, Baher S. Haroun and Tim Foo. 
     
    
     
       BACKGROUND OF THE INVENTION  
         [0002]    1. Field of the Invention  
           [0003]    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.  
           [0004]    2. Description of the Prior Art  
           [0005]    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.  
           [0006]    It is therefore advantageous and desirable to provide a completely digital PLL architecture capable of successfully addressing the foregoing stability-performance trade offs.  
         SUMMARY OF THE INVENTION  
         [0007]    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.  
           [0008]    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.  
           [0009]    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.  
           [0010]    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.  
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0011]    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:  
         [0012]    [0012]FIG. 1 is a simplified block diagram illustrating a typical analog phase lock loop system known in the art;  
         [0013]    [0013]FIG. 2 is a simplified block diagram illustrating an all digital phase lock loop system;  
         [0014]    [0014]FIG. 3 is a schematic diagram illustrating the phase frequency detector implemented in FIG. 2;  
         [0015]    [0015]FIG. 4 is a more detailed block diagram illustrating the phase frequency detector and time digitizer shown in FIG. 2;  
         [0016]    [0016]FIG. 5 illustrates a digital controller suitable for controlling the all digital phase lock loop shown in FIG. 2;  
         [0017]    [0017]FIG. 6 is a finite state machine diagram for the digital controller shown in FIG. 5;  
         [0018]    [0018]FIG. 7( a ) shows a common digitally controlled oscillator that employs a digital to analog converter and a voltage controlled oscillator;  
         [0019]    [0019]FIG. 7( b ) shows a common digitally controlled oscillator that employs a digital to analog converter and a current controlled oscillator;  
         [0020]    [0020]FIG. 7( c ) shows a common digitally controlled oscillator that employs a digitally controlled resistance;  
         [0021]    [0021]FIG. 7( d ) shows a common digitally controlled oscillator that employs a digitally controlled capacitance;  
         [0022]    [0022]FIG. 8 shows the PLL loop BW with very basic (M×L) normalization under different operating conditions for the all digital phase lock loop shown in FIG. 2;  
         [0023]    [0023]FIG. 9 shows the PLL loop damping factor with very basic (M×L) normalization under different operating conditions for the all digital phase lock loop shown in FIG. 2;  
         [0024]    [0024]FIG. 10 shows the PLL loop BW with DCO 2-point calibration and normalization under different operating conditions for the all digital phase lock loop shown in FIG. 2;  
         [0025]    [0025]FIG. 11 shows the PLL loop damping factor with DCO 2-point calibration and normalization under operating conditions for the all digital phase lock loop shown in FIG. 2;  
         [0026]    [0026]FIG. 12 shows the PLL cycle to lock for various input frequencies (with 0.1% RMS jitter on the DCO clock and input clock) for the all digital phase lock loop shown in FIG. 2; and  
         [0027]    [0027]FIG. 13 shows the PLL output clock jitter for various output frequencies (with 0.1% RMS jitter on the DCO clock and input clock) for the all digital phase lock loop shown in FIG. 2.  
     
    
       [0028]    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.  
       DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0029]    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 FIGS.  1 - 13  are directed to an ADPLL that is able to achieve a remarkable lock time, stability and robustness, regardless of the constraints discussed herein before by using a  2 nd Order Type II digital control loop with self calibration and fast acquisition techniques.  
         [0030]    [0030]FIG. 1 shows a conventional Phase Lock Loop (PLL)  100 . In a digital PLL, the charge pump  102  and the loop filter  104  are replaced with a digital control circuit.  
         [0031]    [0031]FIG. 2 is a simplified block diagram illustrating an all digital phase lock loop (ADPLL) system  200 . The digital controller  202  acts on the phase frequency difference to control the output frequency of the PLL  200 . In order to support a wide range of frequency synthesis, this ADPLL system  200  includes a user defined N-divider  204  to further divide the input clock, CLKIN  201 . As a fractional frequency synthesizer, the possible output clock for this ADPLL system  200  can be described as CLKOUT=MIN*CLKIN, wherein N is associated with N-Divider  204  and M is associated with M-Divider  206 . On each rising edge of each reference clock, a new DCO  250  code is set to achieve a DCO  250  output clock frequency. The DCO  250  output clock then goes through a divider chain  205 ,  206  before it is fed back to the PFD shown in block  300 . Within half a reference clock, the phase difference between the reference clock and the feedback clock is recorded as the phase error code. The digital controller  202  will respond to the phase error code and determine the next appropriate DCO  250  code to be set on the rising edge of the next reference clock, thus guiding the ADPLL  200  to achieve the desired output clock frequency.  
         [0032]    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 FIGS.  3 - 13 .  
         [0033]    A. Phase Frequency Detector  
         [0034]    [0034]FIG. 3 shows the Phase Frequency Detection(PFD) circuit  302  implemented in this ADPLL system  200 . The PFD circuit  302  measures the phase differences between the reference clock  201  and the feedback clock  212  generated by the ADPLL system  200 . The magnitude of the phase difference is represented as the width of the UP and DOWN pulses.  
         [0035]    B. Time Digitizer  
         [0036]    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.  
         [0037]    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.  
         [0038]    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 FIG. 4. A “Majority Vote” circuit  310  using high speed flip-flops is used to latch the digitized phase error code. This time digitized phase error code is later translated into a delay code using a lookup table implemented in the digital controller  202 . Using the binary coded representation of the phase error was found by the present inventors to reduce the area and signal routing between the T2D circuit  304  and the digital controller  202 .  
         [0039]    C. Digital Controller  
         [0040]    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 FIG. 5. A binary phase error code from T2D  304  is mapped to delay time units (Dmin) using a lookup table  500  as stated herein before. The output of the lookup table  500  is used to provide the exact delay time unit information used in the normalization step that is described in more detail herein below.  
         [0041]    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.  
         [0042]    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.  
         [0043]    [0043]FIG. 6 shows the FSM  510  flow diagram  600  that is believed by the present inventors to be extremely comprehensive and robust to accommodate a wide band and range of operations. The CALIBRATION state calibrates all the PVT effects associated with the specific operation by collecting the Kdco and Kt2d gain information that is used to normalize the control loop as described in more detail herein below. The STOPMODE allows the ADPLL system  200  to enter into a deep sleep mode to conserve power; while the LIMP mode allows the system  200  to be gracefully shut down in the event of losing the input clock  201 .  
         [0044]    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 pre-determined (e.g., 3%) maximum.  
         [0045]    D. Digital Controlled Oscillator  
         [0046]    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 ).  
         [0047]    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.  
         [0048]    A. Stability Versus Jitter Trade Off  
         [0049]    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.  
         [0050]    B. Self Calibration  
         [0051]    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.  
         [0052]    [0052]FIG. 8 shows a 10× variation in the PLL loop BW tabulation for a very basic (M×L) normalization, where L is the auto-divider  205  value in FIG. 2, and without taking into account how PVT variations affect Kdco and Kt2d discussed herein before. The corresponding PLL damping factor is shown in FIG. 9  
         [0053]    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 FIG. 2) and T2D circuits (enumerated  304  in FIG. 4) are needed for calibration as described herein below.  
         [0054]    T2D Kt2d Calibration:  
         [0055]    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.  
         [0056]    DCO Kdco Calibration:  
         [0057]    At a known DCO code, the DCO  250  output clock frequency describes the Kdco associated with a particular operating condition. Over a period of predetermined (say,  16 ) reference clock periods, the DCO  250  output frequency ratio over the reference frequency is computed.  
         [0058]    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. FIGS. 10 and 11 show the PLL loop BW and damping factor respectively when a 2-point calibration for the Kdco along with Kt2d calibrations are done properly. Further, information attained from proper calibration can be used to normalize the phase frequency lock condition to a predefined percentage, regardless of input clock frequency and PVT variations.  
         [0059]    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%.  
         [0060]    D. Speedup Lock Time  
         [0061]    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.  
         [0062]    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.  
         [0063]    [0063]FIGS. 12 and 13 show simulation results for the respective cycle-to-lock and output clock jitter in a test setup with 0.1% RMS jitter on the input clock as well as the DCO output clock in behavioral models. Across a wide range of output clock frequencies, from −0.25 MHz to 290 MHz, jitter performances are contained in a well-defined range of 1.2%. The reference cycle to lock is also consistently maintained within 400 cycles, except at sub 1 MHz input frequencies where the T2D  304  delay chain is saturated.  
         [0064]    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.  
         [0065]    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.