The present invention relates to digitally calibrating a variable capacitor array to increase voltage linearity, and more particularly relates to digital calibration of variable capacitor arrays in a loop filter of a phase-locked loop.
Frequency synthesizers are commonly used to generate radio frequency (RF) signals for use in communication systems. A common form of frequency synthesizer is the charge pump based phase-locked loop (PLL).
Modern communication systems, such as the Global System for Mobile Communication (GSM) cellular telephone system, impose strict requirements on the locktime and noise performance of the transmitted signal, and on the signals used for mixing in the receiver. For example, the transmit locktime must typically be under 250 μs to settle the frequency synthesizer output frequency to under 100 Hz error, the transmitted phase noise must be under −113 dBc/Hz at 400 kHz offset, and the phase error of the transmitted signal must remain small (under 5 degrees root-mean-square in the GSM system). If the loop bandwidth of the PLL is too wide, the noise performance specification may not be met, and if the loop bandwidth is too narrow, the locktime specification may not be met. Further, variations in loop gain and bandwidth can degrade the performance of fractional-N frequency synthesizer based transmit systems in which a predistortion filter is used to compensate for the rolloff of frequency response of the PLL.
Variations in the gain and bandwidth of the PLL are due to variations inherent to transistor, resistor, and capacitor devices in low cost semiconductor processes. One such variation is the capacitance versus voltage characteristic of capacitors in the loop filter of the PLL. The variation of the capacitors in the loop filter with respect to voltage leads to variations in the loop bandwidth and gain, thereby degrading the locktime, noise, and phase error of the frequency synthesizer.
Thus, there remains a need for a calibration system to cancel out the undesirable process and environmental variations that degrade the performance of integrated frequency synthesizers while providing a desired, arbitrary level of accuracy with minimal overhead in terms of device area and calibration time. Ideally this calibration system should function automatically, with little or no user intervention, and the calibration should complete rapidly enough to be performed each time the frequency synthesizer is enabled.
One such system is disclosed in commonly owned U.S. patent application Ser. No. 10/409,291 filed Apr. 8, 2003, which is incorporated herein by reference in its entirety. The present invention relates to improving this system by compensating for the voltage non-linearity of the capacitors in the loop filter, thereby improving the performance of the frequency synthesizer.
The present invention provides a system for adjusting a selectable capacitance of a variable capacitance array to compensate for voltage non-linearity of the variable capacitance array. In general, the system includes the variable capacitance array and a calibration circuit. The calibration circuit operates to determine a voltage across the variable capacitance array and to generate a capacitance selection signal based on the voltage across the variable capacitance array and a known capacitance versus voltage characteristic of the variable capacitance array.
In one embodiment, the present invention is implemented as part of a phase-locked loop. The phase-locked loop includes a loop filter having one or more variable capacitance arrays and a calibration circuit. The calibration circuit operates to determine a voltage across each of the variable capacitance arrays and to generate one or more capacitance selection signals based on the voltages across the variable capacitance arrays and a capacitance versus voltage characteristic of the variable capacitance arrays. The calibration circuit may further operate to calibrate the pole and zero locations and the gain of a charge pump phase-locked loop's (PLL) frequency response.
Those skilled in the art will appreciate the scope of the present invention and realize additional aspects thereof after reading the following detailed description of the preferred embodiments in association with the accompanying drawing figures.
The accompanying drawing figures incorporated in and forming a part of this specification illustrate several aspects of the invention, and together with the description serve to explain the principles of the invention.
The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the invention and illustrate the best mode of practicing the invention. Upon reading the following description in light of the accompanying drawing figures, those skilled in the art will understand the concepts of the invention and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.
The present invention provides a system for adjusting a selectable capacitance of a variable capacitance array to compensate for voltage non-linearity of the variable capacitance array. As described in detail below, the present invention may be implemented as part of a phase-locked loop (PLL). However, the present invention may be implemented in any system having a variable capacitor array wherein compensation for voltage non-linearity of the variable capacitor array is desirable.
Referring to
The behavior of the PLL 100 in terms of noise and dynamic response is determined by the loop gain of the system. The loop gain is given by:
where s is the Laplace frequency variable, ICP is the charge pump current in amperes (A), KV is the tuning gain in cycles-per-second-per-volt (Hz/V), F(s) is the loop filter transfer function, and N is the VCO divider modulus. Further, an exemplary embodiment of the loop filter 108, as illustrated in
where
C=C
EQ1
+C
EQ2,
and
Substituting these expressions for F(s):
Therefore, the loop gain depends on the transfer function of the loop filter 108 and more particularly on the slew rate (I/C). Further, the transfer function, F(s), of the loop filter 108 of the present invention depends on the capacitance of CEQ1 and CEQ2, which are controlled by a capacitance selection signal (a1) from the calibration circuit 112. As illustrated in
The calibration controller 300 of
In order to fully appreciate the calibration controller 300 and calibration circuit 112 as shown in
where the εx terms are error factors for each nominal value term. The RC time constants are simply determined by:
RC=RoCo(1+εR)(1+εC).
These equations demonstrate that there are five sources of variation: VCO tuning gain (εKV), charge pump reference current (ε1), loop divider value (εN), and resistor (εR) and capacitor (εC) tolerance. The VCO tuning gain may be calibrated by a separate system, or may be controlled by design to be within a given range. The loop divider value is known from the design or, in the preferred embodiment, from the programming of the IC. This leaves the slew rate (I/C) and the RC time constant values. The RC time constant and the slew rate can be calibrated independently against timing from the stable reference source, such as a 13 or 26 MHz crystal oscillator. However, the calibration circuit 112 correlates the RC time constant and the slew rate, and therefore a single calibration is used to calibrate both the RC time constant and the slew rate.
Calibration adjustments can be viewed as correction factors that null out the variations from the various sources of error, setting the loop gain and RC time constant equal to their desired, nominal values. Thus, ignoring variation on the VCO divider modulus, N, and the tuning gain, KV, we can determine correction factors for the slew rate (aIC) and the RC time constant (aRC):
If the charge pump reference current (ICPREF) is derived from a known voltage reference, such as the bandgap voltage reference 402, and the resistor (R0) 406 is of the same type as used in the filter 108, the correction factors for the loop gain via the slew rate and the RC time constant become correlated, to within the accuracy of the bandgap voltage reference 402, which should be quite good:
where ICPREF is defined as the product of IREF and z, and z is a known constant defined by the ratio of the current mirror 408. Therefore, by deriving the charge pump reference current from the bandgap voltage reference 402 and the resistor (R0) 406, which define the reference current (IREF), one calibration can set both the loop gain and pole/zero locations based on the RC time constant and the slew rate.
During calibration, the first variable capacitor array (CEQ1) and the second variable capacitor array (CEQ2) are adjusted, via the signal a1, such that the RC time constant is correct, as measured against the reference clock:
Because we set the current by VBG/R0, the slew rate can be defined as:
In effect, by adjusting the capacitance of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2) via the signal a, such that the slew rate is correct, then the RC time constant will also be correct if the filter resistor 200 is similarly adjusted and built from the same material. The use of two stable references, the band-gap voltage reference 402 and the frequency reference, allows both calibrations with one measurement.
The following equations illustrate the effect. From the RC calibration:
Then
where R and C are the actual values of the resistor 406 and the capacitor 410 and R0 and C0 are the nominal values of the resistor 406 and the capacitor 410.
The RC time constant with calibration can be described as:
where the error factor (1+εRC) is equal to the product of the resistor and capacitor error terms (1+εR)(1+εC), Cbase is the fixed capacitance, Cvar is the total value of the switched element array, RCVAL is the value of the capacitance selection signal (a1) prior to adjusting for the non-linearity in the capacitances of the switched element array, and b is the number of bits or switched elements in the variable array. RCVAL can range from 0 to 2b−1.
We can determine the required values of Cbase and Cvar from the minimum and maximum values of εRC, which occur when RCVAL=0 and RCVAL=2b=1, respectively.
The number of switched elements determines the resolution, or the residual error after calibration.
For measurement, we use the counter 418 running at a rate, Fclk to determine the time it takes to charge C0 from ground to VBG. A nominal count value, count0 is given by:
where M is a mirror reduction ratio, which decreases the reference current, thereby providing the timing current (IREF/M) to the capacitor (C0) 410. Reducing the value of the reference current to provide the timing current provides the ability to increase the number of counts or decrease the reference values of R0 406 and C0 410 to keep the area of the IC reasonable.
The count obtained for the actual RC circuit will deviate from the nominal value by an amount dependent on the resistor and capacitor error terms:
count=MR0C0Fclk(1+εRC)=count0(1+εRC).
This allows the development of a mapping between the count value and the value RCVAL.
This mapping between the counter value and the value RCVAL allows the design to be parameterized and reused for different resolutions. It should be noted that the mapping logic 420 performs this mapping for each of the capacitance selection signals (a1-aM). As discussed above, only the capacitance selection signal (a1) is needed for the embodiment of the loop filter 108 of FIG. 2. However, other embodiments of the loop filter 108 may require more than one of the capacitance selection signals (a1-aM) as discussed below with respect to
According to the present invention, the mapping logic 420 adjusts the value RCVAL to compensate for the voltage non-linearity of the switch capacitor arrays. The following discussion focuses on the generation of the capacitance selection signal (a1) for the loop filter 108 of FIG. 2. However, for other embodiments of the loop filter 108, the mapping logic 420 may generate more than one of the capacitance selection signals (a1, a2, . . . ), and it should be recognized that the mapping logic 420 performs the operation described above for each of the capacitance selection signals (a1, a2, . . . ).
The capacitance of each of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2) may be defined as:
C
EQ
=C
base
+RC
VAL
×C
unit, where
If each element of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2) is made from the same material, matching is excellent. Thus,
where K is a known constant. Further, the voltage non-linearity of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2) is known and is the same for both the unit (Cunit) and base (Cbase) portions of the arrays. Thus, for each of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2), the mapping logic 420 determines a correction factor (XC).
when the value RCVAL is equal to its nominal value, where v denotes a voltage across the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2). For the loop filter 108 illustrated in
The mapping logic 420 can be made more robust by breaking the correction factor (XC) into a process independent portion multiplied by a scaling factor for the particular implementation, where
Next, the mapping logic 420 calculates a new RCVAL (RCVAL′) based on the correction factor (XC) and the value RCVAL. The value RCVAL′ is the value of the binary capacitance selection signal (a1). The value RCVAL′ is an adjusted version of the value RCVAL that compensates for the voltage non-linearity of the first variable capacitance array (CEQ1) and the second variable capacitance array (CEQ2), and is defined as:
C
base
+RC
VAL
′×C
unit
=X
C(Cbase+RCVAL×Cunit), and recall that
RCVAL′=Xc(K+RCVAL)−K.
Thus, in general, the mapping logic 420 first maps the count value (count) to an RC calibration value (RCVAL). In order to compensate for the voltage non-linearity of the corresponding variable capacitance array, the mapping logic 420 determines a correction factor (XC) for the RC calibration value (XC) based on the voltage across the corresponding variable capacitance array and a known capacitance versus voltage characteristic of the variable capacitance array. For the embodiment of the loop filter 108 illustrated in
Still referring to
The generation of the first and second capacitance selection signals (a1 and a2) is as described above. First, the calibration circuit 112 generates the count value (count). From the count value (count), the mapping logic 420 determines the RC calibration value (RCVAL). The RC calibration value is the same for both of the capacitance selection signals (a1 and a2). For the first capacitance selection signal (a1), the mapping logic 420 then determines the voltage (v) across the variable capacitor arrays 702 and 704, which as illustrated in
The mapping logic 420 provides the second capacitance selection signal (a2) in a similar fashion. The mapping logic 420 determines the voltage (v) across the variable capacitor arrays 706 and 708, which as illustrated in
The variable capacitor array 706 operates in a similar fashion to the variable capacitor arrays 702 and 704 and comprises a base capacitor 828, variable capacitors 830, 832, and 834, and switches 836, 838, and 840. The variable capacitor array 708 operates in a similar fashion to the variable capacitor arrays 702, 704, and 706 and comprises a base capacitor 842, variable capacitors 844, 846, and 848, and switches 850, 852, and 854. Each of the variable capacitor arrays 706 and 708 is similar in structure and operation to the variable capacitor arrays 702 and 704. However, as discussed above, the capacitor arrays 702 and 704 are controlled by the first capacitance selection signal (a1), and the variable capacitor arrays 706 and 708 are controlled by the second capacitance selection signal (a2).
The values of the base capacitors 800, 814, 828, and 842 and the variable capacitors 802, 804, 806, 816, 818, 820, 830, 832, 834, 844, 846, and 848 depend on varying design constraints. Therefore, base capacitors 800 and 814 of the variable capacitor arrays 702 and 704 should not be limited to the case where the two are equal. Similarly, base capacitors 828 and 842 of the variable capacitor arrays 706 and 708 should not be limited to the case where the two are equal. Further, variable capacitors 802, 804, and 806 and variable capacitors 816, 818, and 820 should not be limited to the case where Cvar for the variable capacitor array 702 is equal to Cvar for the variable capacitor array 704. Similarly, the variable capacitors 830, 832, and 834 and variable capacitors 844, 846, and 848 should not be limited to the case where Cvar for the variable capacitor array 706 is equal to Cvar for the variable capacitor array 708.
As shown, the preferred embodiments of the variable capacitor arrays 702, 704, 706, and 708 use binary weighting, however, any other weighting scheme, such as unitary weighting, could be used and should be considered within the spirit and scope of the present invention.
Although the present invention is described as being part of the PLL 100, it should be recognized that the present invention may be used in any system where it is desirable to correct the voltage non-linearity of one or more capacitors. Further, although the present invention is described as adjusting the RC calibration value (RCVAL) to compensate for the voltage non-linearity of the elements of the variable capacitor arrays, it should be recognized that the present invention may be implemented independent of the RC calibration value. For example, an alternative embodiment of the calibration circuit 112 may operate to compensate for voltage non-linearity of the variable capacitance arrays in the loop filter 108 without calibrating the RC time constant and slew rate. In this embodiment, the calibration circuit 112 may comprise only the mapping logic 420, the analog-to-digital converter 422, and the LUT 424 and operate to provide the capacitance selection signals (a1, a2, . . . ) based on mapping the control voltage (VC) or more specifically the voltage across the variable capacitor arrays to corresponding values for the capacitance selection signals (a1, a2, . . . ).
Those skilled in the art will recognize improvements and modifications to the preferred embodiments of the present invention. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow.
Number | Name | Date | Kind |
---|---|---|---|
6046646 | Lo et al. | Apr 2000 | A |
6542040 | Lesea | Apr 2003 | B1 |
6560452 | Shealy | May 2003 | B1 |
6624702 | Dening | Sep 2003 | B1 |
6674818 | King et al. | Jan 2004 | B1 |
6683905 | King et al. | Jan 2004 | B1 |
6693468 | Humphreys et al. | Feb 2004 | B2 |
6710664 | Humphreys et al. | Mar 2004 | B2 |
6724265 | Humphreys | Apr 2004 | B2 |
6731145 | Humphreys et al. | May 2004 | B1 |
20030016088 | Scheffler | Jan 2003 | A1 |
20030133518 | Koomullil et al. | Jul 2003 | A1 |
20030209730 | Gibson et al. | Nov 2003 | A1 |
20040072597 | Epperson et al. | Apr 2004 | A1 |