The present invention relates generally to the calibration of a phase locked loop, and more particularly, to a system for precisely setting the loop gain, phase margin, and stability associated with a phase-locked loop.
Phase-locked loops (PLL) find widespread use in frequency synthesizers, clock recovery circuits, phase modulators, and frequency demodulators. Generally, a PLL consists of a voltage-controlled oscillator (VCO), counter, phase/frequency detector (P/FD), charge pump (CP), and low pass filter as shown in
The behavior of a phase-locked loop system depends on the parameters associated with each of the comprising circuits. These parameters vary with process and affect the system's performance—even its stability. It would therefore be advantageous to have a system to precisely set the phase-locked loop's operating parameters.
In one or more embodiments, a PLL calibration system is provided to automatically calibrate the parameters of a phase-locked loop and thereby optimize its performance for a variety of applications. In one or more embodiments, the system operates to precisely calibrate the integration filter and charge pump current of a PLL to achieve a desired PLL transfer function and performance level. For example, the calibration system calibrates the PLL's integration filter to set the correct Zero/pole locations, and calibrates the charge pump current to compensate for gain characteristics of the PLL's VCO and/or integration filter.
In one embodiment, apparatus is provided for calibration of a phase-locked loop. The apparatus comprises logic to calibrate an integration filter of the phase-locked loop, and logic to calibrate a charge pump current of the phase-locked loop, wherein the integration filter and charge pump current are calibrated to achieve a desired phase-locked loop performance level.
In one embodiment, apparatus is provided for calibration of a phase-locked loop. The apparatus comprises means for calibrating an integration filter of the phase-locked loop, and means for calibrating a charge pump current of the phase-locked loop, wherein the integration filter and charge pump current are calibrated to achieve a desired phase-locked loop performance level.
In one embodiment, a communication device is provide that comprises apparatus for calibration of a phase-locked loop. The apparatus comprises logic to calibrate an integration filter of the phase-locked loop, and logic to calibrate a charge pump current of the phase-locked loop, wherein the integration filter and charge pump current are calibrated to achieve a desired phase-locked loop performance level.
The foregoing aspects and the attendant advantages of the embodiments described herein will become more readily apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings wherein
In one or more embodiments, a PLL calibration system is provided to automatically calibrate the parameters of a phase-locked loop.
νout(t)=Ac cos(ωfreet+Kvco∫νctrl(t)dt)
where ωfree is the free-running frequency of the oscillator and Kvco is its associated gain.
The gain Kvco describes the relationship between the excess phase of the carrier Φout(s) and the control voltage νctrl, which can be expressed as
where Kvco is in rads/V. When the phase-locked loop is locked, the phase detector 204 and charge pump circuit 206 generate an output signal iCP(s) that is proportional to the phase difference (Δθ) between the two signals input to the phase detector 204. The output signal of the charge pump 206 (iCP(s)) can therefore be expressed as;
where Kpd is in A/rads and Δθ is in rads. The output signal iCP(s) is input to an integration filter 208, which filters it to produce the control voltage νctrl.
where a zero (at 1/R1C1) has been added to stabilize the second order system and the capacitor C2 has been included to reduce any ripple on the output voltage.
Combining the above relationships yields the composite open-loop transfer function;
which has two poles at the origin (due to the voltage-controlled oscillator 202 and the integration filter 208). This system is referred to as a type II phase-locked loop.
The loop gain of the phase-locked loop (that is, the gain of the phase-locked loop near dc) depends on four parameters (ICP, Kvco, R1, and N)
and approximately equals the unity-gain bandwidth of the system. To improve stability, the integration filter's zero shifts the phase slightly before the system's unity gain frequency. The closed-loop response of the system is simply;
which shows the zero and two complex poles. Both the open-loop and closed-loop responses of the phase-locked loop depend on the integration filter components (R1, C1-C2), the charge pump current ICP, and the gain of the voltage-controlled oscillator, Kvco, and the value of the counter in the feedback loop.
where I is the charging current, Δt is the charging time, and C is the value of the capacitor C1. It assumes the initial voltage on the capacitor is zero, which is forced by switches Sc1 and Sc2. The operational amplifier 502, transistor N1, and the variable resistor R establish the charging current;
which is mirrored to the capacitor C by transistors P1-P2. Note that capacitor C matches capacitor C1 in the integration filter 208 shown in
and is solely dependent on the RC product if Δt is accurately set.
In one embodiment, a calibration algorithm is provided that starts with resistor R at its minimum value (switch S1 closed), switch Sc1 opened, and switch Sc2 closed. A precise clock (such as the reference clock found in most radio systems) closes switch Sc1 and toggles open switch Sc2 to allow the current I to charge capacitor C. After a set time, the clock toggles switch Sc1 open—stopping the charging of capacitor C—and strobes the comparator. If the voltage stored by the capacitor exceeds the bandgap voltage VBG, the output of the comparator 504 transitions positive. This causes the algorithm to open switch S1 and close switch S2, increasing the value of resistor R.
The procedure repeats, incrementing the value of R using the switches Sn, until the overall value of resistor R (R plus the incremental resistors ΔRn) causes the comparator output to transition negative. This completes the calibration and sets the RC product.
In one or more embodiments, the calibration algorithm is implemented in hardware, software, firmware, or a combination thereof. For example, any suitable processor may execute software to control the inputs and switches, and monitor the outputs of the circuit 500 to perform the calibration algorithm described herein.
Thus, the value of Δt sets the zero and pole frequencies.
The second half of the calibration system provides an algorithm that targets the product ICPR1Kvco.
fvco=(N−Δn)fref=fvco−Δf
where Δn is the adjustment in N and Δf is the change in fvco respectively. This is accomplished by adjusting other portions of the PLL not shown. After some time, the phase-locked loop acquires the new frequency fvco−Δf and the control voltage νcntrl settles. For example, in the LC-resonantor oscillator shown in
Referring again to
V+−I1R2=νctrl
and corresponds to the initial value of the control voltage νctrl. Next, the frequency of the output signal fvco is shifted up so that;
fvco=(N+Δn)fref=fvco+Δf
where the change in frequency 2Δf is sufficient to induce a reasonable change in the control voltage νctrl. The phase-locked loop tracks the frequency shift and eventually settles at a lower control voltage νctrl. The gain of the voltage-controlled oscillator is accordingly;
where Δνctrl is the change in control voltage. And, as a result Δνctrl indicates the oscillator's gain Kvco.
The final step in the algorithm increases current Iref until the comparator output 704 again toggles negative. This corresponds to when;
V+−(I1+I2)R2=νctrl and I2R2=Δνctrl
and sets
By design, resistor R2 matches resistor R1 of the integration filter 208 and the current mirror formed by transistors N1-N3 forces charge pump current ICP to track current I2. This means the loop gain equals;
where β is the fixed relationship between resistors R1-R2 and currents ICP-I2.
The accuracy of the calibration algorithm depends on the value of the feedback counter N (not shown in
where fcal is the frequency where the calibration is performed. This allows the loop gain to remain constant even if the value of the feedback counter changes significantly.
In one or more embodiments, a PLL calibration system is provided that automatically calibrates the parameters of a phase-locked loop and thereby optimize its performance. Accordingly, while one or more embodiments of a PLL calibration system have been illustrated and described herein, it will be appreciated that various changes can be made to the embodiments without departing from their spirit or essential characteristics. Therefore, the disclosures and descriptions herein are intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.
The present Application claims the benefit of priority from a co-pending U.S. Provisional Patent Application entitled “Phase Locked Loop Calibration System” having Ser. No. 60/533,524 and filed on Dec. 29, 2003, the disclosure of which is incorporated by reference herein for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
4263560 | Ricker | Apr 1981 | A |
4430627 | Machida | Feb 1984 | A |
4769588 | Panther | Sep 1988 | A |
4816772 | Klotz | Mar 1989 | A |
4926135 | Voorman | May 1990 | A |
4965531 | Riley | Oct 1990 | A |
5006818 | Koyama et al. | Apr 1991 | A |
5015968 | Podell et al. | May 1991 | A |
5030923 | Arai | Jul 1991 | A |
5289136 | DeVeirman et al. | Feb 1994 | A |
5331292 | Worden et al. | Jul 1994 | A |
5399990 | Miyake | Mar 1995 | A |
5491450 | Helms et al. | Feb 1996 | A |
5508660 | Gersbach et al. | Apr 1996 | A |
5548594 | Nakamura | Aug 1996 | A |
5561385 | Choi | Oct 1996 | A |
5581216 | Ruetz | Dec 1996 | A |
5625325 | Rotzoll et al. | Apr 1997 | A |
5631587 | Co et al. | May 1997 | A |
5648744 | Prakash et al. | Jul 1997 | A |
5677646 | Entrikin | Oct 1997 | A |
5739730 | Rotzoll | Apr 1998 | A |
5767748 | Nakao | Jun 1998 | A |
5818303 | Oishi et al. | Oct 1998 | A |
5834987 | Dent | Nov 1998 | A |
5862465 | Ou | Jan 1999 | A |
5878101 | Aisaka | Mar 1999 | A |
5880631 | Sahota | Mar 1999 | A |
5939922 | Umeda | Aug 1999 | A |
5945855 | Momtaz | Aug 1999 | A |
5949286 | Jones | Sep 1999 | A |
5990740 | Groe | Nov 1999 | A |
5994959 | Ainsworth | Nov 1999 | A |
5999056 | Fong | Dec 1999 | A |
6011437 | Sutardja et al. | Jan 2000 | A |
6018651 | Bruckert et al. | Jan 2000 | A |
6031425 | Hasegawa | Feb 2000 | A |
6044124 | Monahan et al. | Mar 2000 | A |
6052035 | Nolan et al. | Apr 2000 | A |
6057739 | Crowley et al. | May 2000 | A |
6060935 | Shulman | May 2000 | A |
6091307 | Nelson | Jul 2000 | A |
6100767 | Sumi | Aug 2000 | A |
6114920 | Moon et al. | Sep 2000 | A |
6163207 | Kattner et al. | Dec 2000 | A |
6173011 | Rey et al. | Jan 2001 | B1 |
6191956 | Foreman | Feb 2001 | B1 |
6204728 | Hageraats | Mar 2001 | B1 |
6211737 | Fong | Apr 2001 | B1 |
6229374 | Tammone, Jr. | May 2001 | B1 |
6246289 | Pisati et al. | Jun 2001 | B1 |
6255889 | Branson | Jul 2001 | B1 |
6259321 | Song et al. | Jul 2001 | B1 |
6288609 | Brueske et al. | Sep 2001 | B1 |
6298093 | Genrich | Oct 2001 | B1 |
6333675 | Saito | Dec 2001 | B1 |
6370372 | Molnar et al. | Apr 2002 | B1 |
6392487 | Alexanian | May 2002 | B1 |
6404252 | Wilsch | Jun 2002 | B1 |
6476660 | Visocchi et al. | Nov 2002 | B1 |
6515553 | Filiol et al. | Feb 2003 | B1 |
6559717 | Lynn et al. | May 2003 | B1 |
6560448 | Baldwin et al. | May 2003 | B1 |
6571083 | Powell, II et al. | May 2003 | B1 |
6577190 | Kim | Jun 2003 | B2 |
6583671 | Chatwin | Jun 2003 | B2 |
6583675 | Gomez | Jun 2003 | B2 |
6639474 | Asikainen et al. | Oct 2003 | B2 |
6664865 | Groe et al. | Dec 2003 | B2 |
6667663 | Ozawa | Dec 2003 | B2 |
6683509 | Albon et al. | Jan 2004 | B2 |
6693977 | Katayama et al. | Feb 2004 | B2 |
6703887 | Groe | Mar 2004 | B2 |
6711391 | Walker et al. | Mar 2004 | B1 |
6724235 | Costa et al. | Apr 2004 | B2 |
6724265 | Humphreys | Apr 2004 | B2 |
6734736 | Gharpurey | May 2004 | B2 |
6744319 | Kim | Jun 2004 | B2 |
6751272 | Burns et al. | Jun 2004 | B1 |
6753738 | Baird | Jun 2004 | B1 |
6763228 | Prentice et al. | Jul 2004 | B2 |
6774740 | Groe | Aug 2004 | B1 |
6777999 | Kanou et al. | Aug 2004 | B2 |
6781425 | Si | Aug 2004 | B2 |
6795843 | Groe | Sep 2004 | B1 |
6798290 | Groe et al. | Sep 2004 | B2 |
6801089 | Costa et al. | Oct 2004 | B2 |
6845139 | Gibbons | Jan 2005 | B2 |
6856205 | Groe | Feb 2005 | B1 |
6870411 | Shibahara et al. | Mar 2005 | B2 |
6917719 | Chadwick | Jul 2005 | B2 |
6940356 | McDonald, II et al. | Sep 2005 | B2 |
6943600 | Craninckx | Sep 2005 | B2 |
6975687 | Jackson et al. | Dec 2005 | B2 |
6985703 | Groe et al. | Jan 2006 | B2 |
6990327 | Zheng et al. | Jan 2006 | B2 |
7015735 | Kimura et al. | Mar 2006 | B2 |
7062248 | Kuiri | Jun 2006 | B2 |
7065334 | Otaka et al. | Jun 2006 | B1 |
7088979 | Shenoy et al. | Aug 2006 | B1 |
7123102 | Uozumi et al. | Oct 2006 | B2 |
7142062 | Vaananen et al. | Nov 2006 | B2 |
7148764 | Kasahara et al. | Dec 2006 | B2 |
7171170 | Groe et al. | Jan 2007 | B2 |
7215215 | Hirano et al. | May 2007 | B2 |
20020071497 | Bengtsson et al. | Jun 2002 | A1 |
20020135428 | Gomez | Sep 2002 | A1 |
20020193009 | Reed | Dec 2002 | A1 |
20030078016 | Groe et al. | Apr 2003 | A1 |
20030092405 | Groe et al. | May 2003 | A1 |
20030118143 | Bellaouar et al. | Jun 2003 | A1 |
20030197564 | Humphreys et al. | Oct 2003 | A1 |
20040017862 | Redman-White | Jan 2004 | A1 |
20040051590 | Perrott et al. | Mar 2004 | A1 |
20050093631 | Groe | May 2005 | A1 |
20050099232 | Groe et al. | May 2005 | A1 |
20060003720 | Lee et al. | Jan 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
60533524 | Dec 2003 | US |