A method of calibrating a pll that includes forcing a control voltage input to a voltage controlled oscillator to be a reference voltage and setting a calibration divider coupled to receive an output clock signal from the voltage controlled oscillator such that the calibration divider utilizes one of a plurality of divisors that results in the output clock signal having a high frequency can substantially avoid overshoot and glitch problems associated with conventional pll calibrations.
|
1. A method of calibrating a phase-locked loop (pll), comprising:
forcing a control voltage that is input to a voltage controlled oscillator to be a reference voltage;
setting a calibration divider that is coupled to receive an output clock signal from the voltage controlled oscillator to a low division divisor, the low division divisor being one of a plurality of divisors;
allowing the control voltage to be adjusted until the pll stabilizes;
comparing the adjusted control voltage to the reference voltage; and
adjusting the calibration divider to utilize another of the plurality of divisors when a completion condition is not met.
8. A phase-locked loop (pll), comprising:
a voltage controlled oscillator that generates an output clock signal in response to a control voltage;
a controller that generates the control voltage in response to a phase difference between a reference clock signal and a feedback clock signal;
a feedback circuit that generates the feedback clock signal in response to a pll output clock signal;
a calibration divider that includes a plurality of divisors, the calibration divider coupled to receive the output clock signal and to generate the pll output clock signal in response to a divider code that determines which of the plurality of divisors to utilize;
a reference voltage regulator coupled to receive a reference voltage and to force the control voltage to the reference voltage upon receipt of a force signal; and
a calibration circuit coupled to provide the force signal to the reference voltage regulator and the divider code to the calibration divider.
2. The method of
3. The method of
4. The method of
5. The method of
generating a divisor clock signal in each of the plurality of divisors;
receiving a divider code that identifies a chosen divisor from the plurality of divisors; and
outputting the divisor clock signal of the chosen divisor when all of the divisor clock signals in each of the plurality of divisors are transitioning.
6. The method of
7. The method of
9. The pll of
a phase detection circuit that compares the feedback clock signal with the reference clock signal and provides a comparison signal; and
a charge pump that generates the control voltage in response to the comparison signal.
10. The pll of
11. The pll of
12. The pll of
13. The pll of
14. The pll of
15. The pll of
16. The pll of
17. The pll of
18. The pll of
a multiplexer that receives a divided clock signal from each of the plurality of divisors, the divided clock signal being the output clock signal frequency divided by an integer amount according to the corresponding one of the plurality of divisors;
a retime circuit that, upon receipt of a new divider code, switches the multiplexer to the divided clock signal corresponding to the new divider code on the rising edge of the divided clock signal with lowest frequency.
|
1. Technical Field
The present invention relates to phase-locked loop calibration and, in particular, to phase-locked loop calibration that reduces glitch and overshoot.
2. Discussion of Related Art
Phase-Locked Loops (PLLs) find application in various contexts where a stable, often high frequency, clock signal is desired. Applications of PLLs include, for example, clock generation for CPUs and for telecommunications. Often, PLLs utilize a calibration procedure to improve the performance of the PLL. Calibration may be especially important for PLLs with large tuning ranges.
During calibration, the output signal frequency of the PLL is adjusted to a particular response to an input reference clock. During calibration code jumps, where the frequency adjustment of the PLL output signal is made, the output clock signal from the PLL may experience overshoot or glitch. If this clock signal is then used as the system clock in a particular chip, the overshoot or glitch can induce computational error or even system failure.
Overshoot usually occurs during a frequency ascending code jumping portion of the calibration procedure. During the calibration process of jumping from a calibration code that results in a low frequency output clock signal to a calibration code that results in a high frequency output clock signal, the PLL output clock signal may be momentarily at a higher frequency than the system can accommodate, so overshoot occurs. In some cases, a frequency descending code can be utilized during the calibration procedure to avoid overshoot because the frequency then changes from high frequency to low frequency clock signals during the calibration process. However, even a frequency descending code sequence has a risk of overshoot if a calibration process is needed at any moment during a work state, which happens, for example, if the input reference clock to the PLL changes suddenly. In a descending frequency calibration sequence, the calibration code jumps from the current code to the highest frequency code in order to start the descending code sequence. During the initial transition to the calibration code resulting in the highest frequency output clock signal, overshoot may occur.
Glitch can also occur during calibration code jumps. Usually, the calibration acts on delay cells of a voltage-controlled oscillator (VCO) of the PLL (e.g. by switching the capacitances on delay cells). During switching, the switch noise can induce glitch, especially for a single end VCO.
Therefore, there is a need for a calibration for phase-locked-loops that reduces or avoids glitch or overshoot.
A method of calibrating a phase-locked loop (PLL) according to some embodiments of the present invention includes forcing a control voltage that is input to a voltage controlled oscillator to be a reference voltage; setting a calibration divider that is coupled to receive an output clock signal from the voltage controlled oscillator to a low division divisor, the low division divisor being one of a plurality of divisors; allowing the control voltage to be adjusted until the PLL stabilizes; and adjusting the calibration divider to utilize another of the plurality of divisors if a completion condition is not met. The completion condition can include that the control voltage exceeds the reference voltage or that all of the divisors in the calibration divider have been tested.
A PLL according to some embodiments of the present invention can include a voltage controlled oscillator that generates an output clock signal in response to a control voltage; a controller that generates the control voltage in response to a phase difference between a reference clock signal and a feedback clock signal; a feedback circuit that generates the feedback clock signal in response to a PLL output clock signal; a calibration divider that includes a plurality of divisors, the calibration divider coupled to receive the output clock signal and to generate the PLL output clock signal in response to a divider code that determines which of the plurality of divisors to utilize; a reference voltage regulator coupled to receive a reference voltage and to force the control voltage to the reference voltage upon receipt of a force signal; and a calibration circuit coupled to provide the force signal to the reference voltage regulator and the divider code to the calibration divider.
These and other embodiments will be described in further detail below with respect to the following figures.
In the drawings, elements having the same designation have the same or similar functions.
In the following description specific details are set forth describing certain embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some or all of these specific details. The specific embodiments presented are meant to be illustrative of the present invention, but not limiting. One skilled in the art may realize other material that, although not specifically described herein, is within the scope and spirit of this disclosure.
In accordance with aspects of the present invention, an improved method of providing a system clock that reduces or avoids glitch or overshoot during PLL calibration is presented. In a PLL according to some embodiments of the present invention, a calibration divider replaces the switch capacitors that are conventionally utilized in the delay cells of a PLL. The calibration divider according to some embodiments of the present invention can include several divisors, the number of which is defined by requirements of the system utilizing the PLL. A calibration process involves selecting the correct divisor among the several divisors, a process which substitutes for switching capacitors in the conventional delay cells. In order to switch among the several divisors without glitch, the output frequency of the PLL should be low. The calibration divider, then, switches from high frequency clocking to low frequency clocking until the correct divisor is found. In addition, the control voltage to the voltage-controlled oscillator (VCO) can be forced to a low voltage before re-calibration, which can substantially solve the overshoot problem when switching divisors to the high frequency divisor.
Each time the PLL needs calibration, the VCO control voltage is first forced to a low voltage, which sets the PLL output signal to operate at a low frequency. Because the frequency is low, a calibration divider can smoothly switch the divisor from one divisor to another divisor while avoiding glitch. Forcing the VCO control voltage low can avoid the risk of overshoot before re-calibration because by pulling the control voltage of the VCO down to a low voltage, the PLL frequency becomes low and the calibration code can jump to the highest frequency code without substantial risk of overshoot.
The calibration process can then utilize a frequency descending code to avoid overshoot. By using a frequency descending code and forced low VCO control voltage, the PLL can provide a clock signal during calibration with substantially no glitch or overshoot.
A calibration function according to some embodiments of the present invention is controlled by calibration and monitor block 180. Calibration and monitor block 180 receives as inputs the reference clock signal Ref_clk, the feedback clock signal Fb_clk, and a signal Above_Vref from comparator 150. Calibration and monitor block 180 then controls calibration divider 150 and VREF regulator 160. Calibration and monitor block 180 is the control module for calibration procedures and determines whether PLL 100 needs calibration. Calibration and monitor block 180 calibrates PLL 100 by adjusting a divider code to calibration divider 150, which indicates which divisor included in calibration divider 150 to utilize. Calibration and monitor block 180, for example, calibrates PLL 100 on chip start-up or when a sudden change in the reference clock Ref_clk occurs such that the reference clock Ref_clk is no longer substantially equal to the feedback clock Fb_clk that is detected by block 180.
VREF regulator 160 provides a force voltage Vforce based on an input reference voltage VREF when directed by a force signal Force_VC from calibration and monitor 180. In some embodiments, when signal Force_Vc becomes active, VREF regulator 160 will force the control voltage (VC) to VREF. Input reference voltage VREF is a low voltage, which when applied to VCO 130 causes VCO 130 to produce a low frequency output signal VCO_oclk. Calibration and monitor block 180 activates the force signal Force_Vc signal when it begins a calibration process. In some embodiments, the force voltage Vforce is regulated to be equal to the voltage VREF in VREF regulator 160.
Comparator 170 compares the control voltage VC, which at the beginning of a calibration operation will be forced to the reference voltage VREF, with the regulated reference voltage Force_Vc, which in embodiments such as that shown in
In some embodiments, calibration divider 150 is the only active module in the feedback loop of PLL 100. The feedback loop of PLL 100 includes calibration divider 150 and feedback divider 140. Calibration divider 150 can include any number of divisors and selects the divisor based on the divider code received from calibration and monitor block 180. In some embodiments of the invention, calibration divider 150 can include four (4) divisors, in which case the divider code can be a two-bit digital code.
On chip power up, a Reset signal is asserted and state machine 200 enters reset state 210. As shown in
When the Reset signal returns to an un-asserted state, state machine 200 proceeds to release VC state 220. During release VC state 220, calibration and monitor block 180 de-asserts the signal Force_VC to VREF regulator 160 and the voltage control signal VC is released, allowing PLL 100 to begin to lock. After PLL 100 becomes stable, state machine 200 enters the compare state 230. In some embodiments, a counter may be utilized to determine a set time after PLL 100 begins to lock in order to determine when PLL 100 becomes stable.
In compare state 230, calibration and monitor block 180 monitors the Above_VREF signal from comparator 170. If voltage control signal VC is lower than VREF, the frequency of output clock signal VCO_oclk from VCO 130 is low and calibration divider 150 needs to be tuned to increase the frequency of signal VCO_oclk. State machine 200 then transitions to update code state 240 where calibration and monitor block 180 updates the divider code by incrementing the code by 1 (i.e., choosing the next divisor). When PLL 100 is again stable, state machine 200 transitions back to compare state 230. Transitioning between compare state 230 and update code state 240 continues until either the control voltage VC becomes higher than reference voltage VREF or the divider code is full (i.e., the last divisor has been chosen, which can be divider code “11”), at which point state machine 200 transitions to calibration end 250. At calibration end 250, the reset calibration phase is complete. Calibration end 250 then sends a lock signal to the PLL monitor and transitions to PLL monitor state 260.
While state machine 200 is in PLL monitor state 260, calibration and monitor block 180 monitors the reference clock signal Ref_clk and compares its frequency with that of the feedback clock signal Fb_clk. When the reference clock changes frequency suddenly, the reference clock signal Ref_clk no longer has a frequency that is substantially equal to that of the feedback clock signal Fb_clk. When this situation is detected by calibration and monitor block 180 in monitor state 260, state machine 200 begins a re-calibration process by transitioning to force state 270. A change in the reference clock can be detected by comparing counters on the reference clock and the feedback clock. If they differ by a set amount, then state machine 200 recalibrates by transitioning to force state 270. In some embodiments, a 10000 count threshold is set, which indicates a 1% change in the clock frequency.
During force state 270, calibration and monitor block 180 activates the signal Force_VC so that VREF regulator 160 forces control voltage VC to the reference voltage VREF. Once the control voltage VC has been forced to the reference voltage VREF by VREF regulator 160 in force state 270, state machine 200 transitions to release state 280. In release state 280, the divider code is reset to its highest frequency code (e.g., code “00”) and the control voltage VC is released. Once PLL 100 is stable, state machine 200 transitions to compare state 230. From compare state 230, state machine 200 transitions between compare state 230 and update state 240 as described above. As discussed above, in compare state 230 comparator 170 compares control voltage VC with reference voltage VREF and provides an output signal Above_Vref to calibration and monitor block 180 when control voltage VC is greater than reference voltage VREF or the divider code is full. State machine 200 then transitions to calibration end state 250 and then monitor state 260, ending the recalibration sequence for PLL 100.
As discussed above, calibration divider 150 can include any number of divisors. The divider code then includes a number of bits sufficient to identify each of the divisors. Further, each of the divisors can divide the frequency of the VCO output signal VCO_oclk by any amount such that the divisors have a sequence from low divisors (corresponding to high frequency output signals) to high divisors (corresponding to low frequency output signals). As a particular example, calibration divider 150 can include four divisors corresponding to a divide-by-one, a divide-by-two, a divide-by-four, and a divide-by-eight divisor. The divider code can then include two bits with code “00” selecting the divide-by-one divisor, code “01” selecting the divide-by-two divisor, “10” selecting the divide-by-four divisor, and “11” selecting the divide-by-eight divisor.
Again, the requirements for transition to calibration end state 250 are not satisfied at point 303 and compare state 230 transitions to update code state 240, where the divider code Code<1:0> is incremented to “10”. Calibration divider 150 then switches to a divide-by-4 divisor from a divide-by-2 divisor. The control voltage VC then transitions from point 303 to stabilize at point 304.
In the example shown in
From point 403 in
Therefore, some embodiments of PLL 100 according to the present invention can provide a clean clock without glitch or overshoot during the whole calibration process. Therefore, systems that require a clean clock at all times can safely utilizes some embodiments of PLL 100.
For illustrative purposes, embodiments of the invention have been specifically described above. This disclosure is not intended to be limiting. Therefore, the invention is limited only by the following claims.
Wang, Yanbo, Zhang, Xiaoqian, Zhai, Shubing
Patent | Priority | Assignee | Title |
7928779, | Jun 17 2009 | Integrated Device Technology, Inc.; Integrated Device Technology, inc | Methods and apparatuses for incremental bandwidth changes responsive to frequency changes of a phase-locked loop |
8502609, | Jun 10 2011 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Reference-less frequency detector |
8896386, | Mar 08 2012 | XUESHAN TECHNOLOGIES INC | Calibration device for oscillator and method thereof |
8947167, | Jun 10 2011 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Reference-less frequency detector |
9281828, | Jun 10 2011 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Reference-less voltage controlled oscillator (VCO) calibration |
Patent | Priority | Assignee | Title |
6856180, | May 06 2001 | Altera Corporation | Programmable loop bandwidth in phase locked loop (PLL) circuit |
6947514, | Jun 27 1997 | Renesas Technology Corporation | Phase-locked loop circuit, information processing apparatus, and information processing system |
20070194818, | |||
20090237128, | |||
20100001771, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Mar 19 2008 | ZHANG, XIAOQIAN | Integrated Device Technology, inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020740 | /0614 | |
Mar 19 2008 | ZHAI, SHUBING | Integrated Device Technology, inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020740 | /0614 | |
Mar 19 2008 | WANG, YANBO | Integrated Device Technology, inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020740 | /0614 | |
Mar 20 2008 | Integrated Device Technology, Inc. | (assignment on the face of the patent) | / | |||
Apr 04 2017 | Endwave Corporation | JPMORGAN CHASE BANK, N A , AS COLLATERAL AGENT | SECURITY AGREEMENT | 042166 | /0431 | |
Apr 04 2017 | Chipx, Incorporated | JPMORGAN CHASE BANK, N A , AS COLLATERAL AGENT | SECURITY AGREEMENT | 042166 | /0431 | |
Apr 04 2017 | MAGNUM SEMICONDUCTOR, INC | JPMORGAN CHASE BANK, N A , AS COLLATERAL AGENT | SECURITY AGREEMENT | 042166 | /0431 | |
Apr 04 2017 | GIGPEAK, INC | JPMORGAN CHASE BANK, N A , AS COLLATERAL AGENT | SECURITY AGREEMENT | 042166 | /0431 | |
Apr 04 2017 | Integrated Device Technology, inc | JPMORGAN CHASE BANK, N A , AS COLLATERAL AGENT | SECURITY AGREEMENT | 042166 | /0431 | |
Mar 29 2019 | JPMORGAN CHASE BANK, N A | Endwave Corporation | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 048746 | /0001 | |
Mar 29 2019 | JPMORGAN CHASE BANK, N A | Chipx, Incorporated | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 048746 | /0001 | |
Mar 29 2019 | JPMORGAN CHASE BANK, N A | GIGPEAK, INC | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 048746 | /0001 | |
Mar 29 2019 | JPMORGAN CHASE BANK, N A | Integrated Device Technology, inc | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 048746 | /0001 | |
Mar 29 2019 | JPMORGAN CHASE BANK, N A | MAGNUM SEMICONDUCTOR, INC | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 048746 | /0001 |
Date | Maintenance Fee Events |
Jun 18 2010 | ASPN: Payor Number Assigned. |
Dec 11 2013 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Jan 02 2018 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Dec 28 2021 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Jul 06 2013 | 4 years fee payment window open |
Jan 06 2014 | 6 months grace period start (w surcharge) |
Jul 06 2014 | patent expiry (for year 4) |
Jul 06 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 06 2017 | 8 years fee payment window open |
Jan 06 2018 | 6 months grace period start (w surcharge) |
Jul 06 2018 | patent expiry (for year 8) |
Jul 06 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 06 2021 | 12 years fee payment window open |
Jan 06 2022 | 6 months grace period start (w surcharge) |
Jul 06 2022 | patent expiry (for year 12) |
Jul 06 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |