System and method for voltage-controlled oscillator calibration
10419008 ยท 2019-09-17
Assignee
Inventors
Cpc classification
H03L7/099
ELECTRICITY
H03B5/08
ELECTRICITY
H03B5/1293
ELECTRICITY
H03L7/087
ELECTRICITY
H03B5/1212
ELECTRICITY
H03B5/04
ELECTRICITY
H03B5/1243
ELECTRICITY
International classification
H03L7/099
ELECTRICITY
H03B5/08
ELECTRICITY
H03B5/04
ELECTRICITY
H03L7/087
ELECTRICITY
Abstract
Methods and systems are provided for calibrating voltage-controlled oscillators (VCOs). frequency control information, relating to output frequency of a VCO, which varies based on changes in operational conditions, may be determined. The frequency control information enables indicating the output frequency within a range of allowable values for control inputs and a range of expected values based on the operational conditions. For each control input setting, calibration control information for a calibration voltage associated with a control input, may be determined, based on the frequency control information, with respect to the operational conditions, to generate a constant output frequency. The operational conditions may be assessed, and a calibration voltage corresponding to the assessed operational conditions may be determined. The calibration voltage may be applied, and based on applying the calibration voltage, a tuning control input for tuning the constant output frequency may be determined and applied to the VCO.
Claims
1. A method comprising: determining frequency control information relating to output frequency of a voltage-controlled oscillator (VCO), wherein: the VCO output frequency varies based on changes in one or more operational conditions; and the frequency control information enables indicating the VCO output frequency within a range of allowable values for one or more control inputs and a range of expected values based on the one or more operational conditions; for each of one or more control input settings, determining based on the frequency control information, calibration control information for determining a calibration voltage associated with at least one of the one or more control inputs, with respect to the one or more operational conditions, to generate a corresponding constant VCO output frequency; assessing the one or more operational conditions; determining, based on at least one of the one or more control inputs, a calibration voltage corresponding to the assessed one or more operational conditions; applying the calibration voltage; determining, based on applying the calibration voltage, a tuning control input for tuning the constant VCO output frequency; and applying the tuning control input to the VCO.
2. The method of claim 1, wherein the one or more operational conditions comprise a junction temperature of the VCO.
3. The method of claim 1, wherein the one or more operational conditions comprise a power supply voltage of the VCO.
4. The method of claim 1, wherein the one or more operational conditions comprise an on-die humidity of the VCO.
5. The method of claim 1, wherein the one or more operational conditions comprise a junction temperature of the VCO and a power supply voltage of the VCO.
6. The method of claim 1, wherein the one or more control inputs comprise a coarse-tuning control input and a fine-tuning control voltage input.
7. The method of claim 1, wherein the calibration control information comprises a polynomial function.
8. The method of claim 1, comprising generating the constant VCO output frequency such that the constant VCO output frequency is a midpoint of a usable VCO frequency range that comprises all VCO output frequencies that can be generated at a particular control input setting, over all of the range of expected values of the one or more operational conditions using only allowable values of a particular control input.
9. The method of claim 1, wherein tuning the constant VCO output frequency comprises minimizing a difference between the constant VCO output frequency and a target frequency.
10. The method of claim 1, wherein the voltage-controlled oscillator (VCO) of a phase-locked loop (PLL) system, and further comprising placing the PLL system in an open-loop state before applying the calibration voltage.
11. A system comprising: a voltage-controlled oscillator (VCO); and one or more circuits operable to: determine frequency control information relating to output frequency of the VCO, wherein: the VCO output frequency varies based on changes in one or more operational conditions; and the frequency control information enables indicating the VCO output frequency within a range of allowable values for one or more control inputs and a range of expected values based on the one or more operational conditions; for each of one or more control input settings, determine based on the frequency control information, calibration control information for determining a calibration voltage associated with at least one of the one or more control inputs, with respect to the one or more operational conditions, to generate a corresponding constant VCO output frequency; assess the one or more operational conditions; determine, based on at least one of the one or more control inputs, a calibration voltage corresponding to the assessed one or more operational conditions; apply the calibration voltage; determine, based on applying the calibration voltage, a tuning control input for tuning the constant VCO output frequency; and apply the tuning control input to the VCO.
12. The system of claim 11, wherein the one or more operational conditions comprise a junction temperature of the VCO.
13. The system of claim 11, wherein the one or more operational conditions comprise a power supply voltage of the VCO.
14. The system of claim 11, wherein the one or more operational conditions comprise an on-die humidity of the VCO.
15. The system of claim 11, wherein the one or more operational conditions comprise a junction temperature of the VCO and a power supply voltage of the VCO.
16. The system of claim 11, wherein the one or more control inputs comprise a coarse-tuning control input and a fine-tuning control voltage input.
17. The system of claim 11, wherein the calibration control information comprises a polynomial function.
18. The system of claim 11, wherein the one or more circuits are operable to control the VCO such that the constant VCO output frequency is a midpoint of a usable VCO frequency range that comprises all VCO output frequencies that can be generated at a particular control input setting, over all of the range of expected values of the one or more operational conditions using only allowable values of a particular control input.
19. The system of claim 11, wherein the one or more circuits are operable to minimize a difference between the constant VCO output frequency and a target frequency when tuning the constant VCO output frequency.
20. The system of claim 11, wherein: the voltage-controlled oscillator (VCO) is associated with a phase-locked loop (PLL); and the one or more circuits are operable to place the PLL in an open-loop state before applying the calibration voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the present disclosure will now be described, by way of example only, with reference to the attached Figures.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
DETAILED DESCRIPTION
(21) There are different ways to calibrate a VCO, including, during manufacturing, at start-up (i.e., in a distinct calibration mode before normal operation), and in the background during normal VCO operation also known as mission mode. The present disclosure is directed towards the start-up calibration mode. The start-up calibration mode differs from manufacturer calibration (which, for example, uses electronic fuses to store frequency tuning information) in the sense that the start-up calibration mode may be repeated over the lifetime of the device encompassing the VCO. As a result, the start-up calibration method can calibrate out long-term frequency shifts such as any aging effect when/if the calibration is repeated, for example, at a system re-start. The start-up calibration mode differs from the background calibration mode in the sense that the start-up calibration is only performed occasionally (e.g. during a re-start) and is often performed on an open-loop PLL which overall lends to a simpler calibration circuitry, in contrast with a background calibration scheme applied in mission mode on a closed-loop PLL system. Although background calibration methods can provide good performance and can tolerate wider environmental variations, the known methods of background calibration are complex and often degrade the phase noise and jitter performance when the actual calibration routine kicks in intermittently.
(22) Certain aspects of the present disclosure provide an improved start-up calibration technique for a given VCO design having coarse-tuning and fine-tuning controls, in order to improve (extend) the tolerable post-calibration environmental variations. This may help avoid overdesigning with a high-gain VCO, hence providing the opportunity for a low-phase-noise VCO design.
(23) According to an embodiment of the present disclosure, in a method for calibrating a voltage-controlled oscillator (VCO) of a phase-locked loop (PLL) system, where a VCO output frequency is dependent on a fine-tuning control voltage input, a coarse-tuning control input and one or more operational conditions, where the VCO output frequency varies monotonically with changes in each of the one or more operational conditions, the method comprises: providing a frequency characteristics dataset indicating the VCO output frequency across a range of allowable values for each of the coarse-tuning control input and the fine-tuning control voltage input and a range of expected values of the one or more operational conditions; for each of a plurality of coarse-tuning control input settings, determining a polynomial function describing a calibration voltage for the control voltage input with respect to the one or more operational conditions, wherein the polynomial function is determined based on the frequency characteristics dataset to generate a constant VCO output frequency such that the constant VCO output frequency is a midpoint of a usable VCO frequency range, wherein the usable VCO frequency range comprises all VCO output frequencies that can be generated at the coarse-tuning control input setting over ail of the range of expected values of the one or more operational conditions using only allowable values of the fine tuning control voltage; measuring the one or more operational conditions; placing the PLL system In an open-loop state; applying the calibration voltage corresponding to the measured one or more operational conditions as determined by the polynomial function to the control voltage input; sweeping through a range of coarse-tuning control input values to determine a selected coarse-tuning control input that minimizes a difference between the constant VCO output frequency and a target frequency; and enabling the coarse-tuning control input setting of VCO corresponding to the selected coarse-tuning control input.
(24) According to another embodiment of the present disclosure, in a method for calibrating an inductor-capacitor-based voltage-controlled oscillator (VCO) of a phase-locked loop (PLL) system, where a VCO output frequency is dependent on a fine-tuning control voltage input, a coarse-tuning control input and one or more operational conditions, where the VCO output frequency varies monotonically with changes in each of the one or more operational conditions, the method comprises, providing a frequency characteristics dataset indicating the VCO output frequency across a range of allowable values for each of the coarse-tuning control input, the fine-tuning control voltage Input and a range of expected values of the one or more operational conditions; for each of a plurality of coarse-tuning control input settings, determining a polynomial function describing a calibration voltage for the control voltage input with respect to the one or more operational conditions, wherein the nonlinear function is determined based on the frequency characteristics dataset to generate a constant VCO output frequency such that a difference is minimized between: an average of a first fine-tuning control voltage input value that generates the constant VCO output frequency at a minimum expected value of the one or more operational conditions and a second fine-tuning control voltage input value that generates the constant VCO frequency at a maximum expected value of the one or more operational conditions; and a midpoint of the range of allowable values of the fine-tuning control voltage input, measuring the one or more operational conditions; placing the PLL system in an open-loop state; applying the calibration voltage corresponding to the measured one or more operational conditions as determined by the polynomial function to the control voltage input, sweeping through a range of coarse-tuning control input values to determine a selected coarse-tuning control input that minimizes a difference between the constant VCO output frequency and a target frequency, and enabling the coarse-tuning control Input setting of VCO corresponding to the selected coarse-tuning control input.
(25) According to yet another embodiment of the present disclosure, a phase-locked loop (PLL) system comprises: a voltage-controlled oscillator (VCO) having a fine-tuning control voltage input and a coarse-tuning control input, and a VCO output frequency dependent on the fine-tuning control voltage input, the coarse-tuning control input, and one or more operational conditions; a feedback system connected to receive a measure of the VCO output frequency and compare the measure of the VCO output frequency to a reference frequency for providing a control voltage to the fine-tuning control voltage input; a digital-to-analog converter (DAC) selectively connectable to the fine-tuning control voltage input of the VCO for providing an open-loop calibration voltage to the fine-tuning control voltage input; one or more sensors for measuring the one or more operational conditions; and, a controller connected to receive an operational condition signal from the one or more sensors and to provide a digital calibration control value to the DAG for generating the calibration voltage, the controller configured to calibrate the VCO by disconnecting the feedback system from the fine-tuning control voltage input and connecting the DAC to the fine-tuning control voltage input, wherein the controller generates the digital calibration control value based on the operational condition signal according to a polynomial function describing the calibration voltage with respect to the one or more operational conditions; wherein the polynomial function is determined based on a frequency characteristics dataset, the frequency characteristics dataset indicating the VCO output frequency across a range of allowable values for each of the coarse-tuning control input and the fine-tuning control voltage input and a range of expected values of the one or more operational conditions, to generate a constant VCO output frequency such that the constant VCO output frequency is a midpoint of a usable VCO frequency range, wherein the usable VCO frequency range comprises ail VCO output frequencies that can be generated at the coarse-tuning control input setting over all of the range of expected values of the one or more operational conditions using only allowable values of the fine tuning control voltage.
(26) According to yet another embodiment of the present disclosure, a phase-locked loop (PLL) system comprises: a voltage-controlled oscillator (VCO) having a fine-tuning control voltage input and a coarse-tuning control input, and a VCO output frequency dependent on the fine-tuning control voltage input, the coarse-tuning control input, and one or more operational conditions; a feedback system connected to receive a measure of the VCO output frequency and compare the measure of the VCO output frequency to a reference frequency to control the fine-tuning control voltage input of the VCO; a digital-to-analog converter (DAC) selectively connectable to the fine-tuning control voltage input of the VCO for providing an open-loop calibration voltage to the fine-tuning control voltage input; one or more sensors for measuring the one or more operational conditions; and, a controller connected to receive an operational condition signal from the one or more sensors and to provide a digital calibration control value to the DAC for generating the calibration voltage, the controller configured to calibrate the VCO by disconnecting the feedback system from the fine-tuning control voltage input and connecting the DAC to the fine-tuning control voltage input, wherein the controller generates the digital calibration control value based on the operational condition signal according to a polynomial function describing the calibration voltage with respect to the one or more operational conditions, wherein the polynomial function is determined based on a frequency characteristics dataset, the frequency characteristics dataset indicating the VCO output frequency across a range of allowable values for each of the coarse-tuning control input and the fine-tuning control voltage input and a range of expected values of the one or more operational conditions, to generate a constant VCO output frequency such that a difference is minimized between; an average of a first fine-tuning control voltage input value that generates the constant VCO output frequency at a minimum expected value of the one or more operational conditions and a second fine-tuning control voltage input value that generates the constant VCO frequency at a maximum expected value of the one or more operational conditions; and a midpoint of the range of allowable values of the fine-tuning control voltage input.
(27) The Purpose of Coarse Tuning and Fine Tuning in a VCO
(28) An example of a conventional LC-based VCO (LC VCO) is shown in
(29) A fine tuning control voltage V.sub.C received at a terminal VCTRL fine-tunes the pair of varactors 16. Digital control bits RATE[x] provide a setting for coarse-tuning the pair of switchable capacitor banks 19. The variable capacitances of the varactors 18 and the switchable capacitor banks 19 represent the change in capacitance (and therefore, tuning range) of the LC tank. In addition to these variable capacitances, the LC tank also includes fixed capacitances 20, which are related to parasitic capacitances associated with transistors 11 to 14 and interconnections, as well as a minimum (fixed) component of the varactor capacitance.
(30) The oscillation frequency f of the VCO 10 is defined by Equation 1, where L represents half the inductance value of a differential inductor 15 in
(31)
(32) As mentioned in the background, the rate of output frequency change versus input control voltage change defines the gain of the VCO. The VCO gain is denoted by K.sub.VCO and is defined by the derivative relationship shown in Equation 2.
(33)
(34) Assuming C.sub.Fine is the main voltage-dependent capacitance in the LC tank, the gain of the VCO circuit of
(35)
(36) According to Equation 3, increasing the varactor capacitance C.sub.Fine increases K.sub.VCO hence increases the tunability of the VCO with respect to the control voltage V.sub.C. In other words, increasing the varactor capacitance C.sub.Fine increases the FTR of the VCO.
(37) However, varactor 16 is a voltage-dependent capacitance: therefore, if will also convert any amplitude noise on the tank, or on the control voltage, to phase noise, which is a phenomenon known as AM-to-PM conversion. In other words, a larger varactor capacitance leads to more phase noise. Consequently, it is generally desirable to design a low-gain VCO because a low-gain VCO is less sensitive to various sources of amplitude noise, which leads to lower phase noise. Phase noise, denoted by exhibits the following relationship with VCO gain: low K.sub.VCO in (Hz/Volt)
low
(f) in (dBc/Hz).
(38) As a result of phase noise being a function of VCO gain, state-of-the-art VCOs are designed to have a K.sub.VCO as low as possible in order to exhibit low phase noise. However, a low-gain VCO suffers from limited frequency tuning range (FTR), i.e. a small frequency range covered by fine-tuning control voltage input V.sub.C over its useful voltage range.
(39)
(40) As shown in Figured, because of the K.sub.VCO gain difference between VCO2 and VCO1, the frequency tuning range of VCO2 (i.e., FTR.sub.2) is smaller than the frequency tuning range of VCO1 (i.e., FTR.sub.1).
(41) Consequently, a design goal of a high performance VCO is to select K.sub.VCO gain value as low as possible to achieve a desired low phase noise, while also ensuring the selected K.sub.VCO gain value is high enough to produce an FTR covering a suitable tuning range around a target frequency. This suitable tuning range is typically necessary to allow the VCO to compensate for VCO frequency drifts that may fee caused by environmental variations (e.g. temperature) and instantaneous noise.
(42) A low-gain VCO may include selectable capacitor banks to provide coarse frequency tuning in order to increase the tuning range of the low-gain VCO. The additional tuning range provided by the coarse tuning settings allows the low-gain VCO to cover more frequencies of interest for various applications. The selectable capacitor banks include capacitors that can be switched in or out of the LC tank, thereby changing the center frequency of the VCO.
(43)
(44) VCO Start-up Calibration for Static Operating Conditions
(45) Typically, the fine-tuning of the VCO (i.e., adjusting the frequencies available for a given RATE setting over the entire range of input control voltages) is used by a closed-loop system for maintaining a constant frequency signal or clock output at the VCO. A closed-loop system, such as PLL measures the output frequency of the VCO, compares the output frequency to a reference frequency, and adjusts the fine tuning control voltage of the VCO depending on a frequency difference between the output signal and the reference signal.
(46) Calibrating the VCO at system start-up involves selecting the appropriate coarse-tuning setting for operating the VCO at a desired center frequency. After start-up calibration (i.e., after the coarse tuning), the system, such as a PLL, automatically fine tunes the VCO via closed-loop negative feedback to maintain a constant output frequency.
(47) Appropriate start-up calibration of the VCO is often performed to ensure proper functionality of the VCO in a system such as the PLL. If an incorrect coarse tuning setting (e.g., the RATE setting in
(48) In
(49) VCO Start-up Calibration for Dynamic Operating Conditions
(50) Whereas calibrating the VCO for static operating conditions mainly considers whether the desired output frequency is well-centered in the fine tuning control voltage curve of a chosen RATE setting (e.g., each curve of
(51) The most common operating conditions affecting VCO frequency are power supply voltage and environmental factors, such as temperature and moisture. Varying operational conditions, such as the conditions mentioned above, can cause the VCO to speed up or slow down during normal operation. Speeding up or slowing down of the VCO can cause the output frequency of the VCO to deviate from the desired output frequency, and consequently make the PLL feedback loop adjust the VCO's control voltage to compensate for this error. The present disclosure describes methods and systems for calibrating a VCO according to varying or dynamic operating conditions.
(52) Junction Temperature (T.sub.j)
(53)
(54)
(55) The graph of
(56) In this example, the VCO has been calibrated by choosing a coarse tuning setting (RATE value, not shown) such that at fine tuning control voltage=V.sub.DD=0.9V and junction temperature of T.sub.j=60 C., the VCO output frequency f.sub.015,570 MHz, which is the presumed desired output frequency.
(57) The calibration is based on the initial constraints of fine tuning control and junction temperature. The fine tuning control voltage constraint is V.sub.c=0.9V, which is approximately equal to the midrail voltage, and is defined as V.sub.DD where V.sub.DD=1.8V. Choosing a midrail initial control voltage at nominal temperature is a simple approach for achieving sufficient fine-tuning range, as will be explained below.
(58) The junction temperature constraint is T.sub.j=60 C. because this temperature is the expected nominal operational temperature of the VCO circuit. The expected nominal temperature may be based on assumptions of normal system load and proper cooling hardware function. Based on these two constraints, the VCO is calibrated by choosing a coarse-tubing setting that will allow the VCO to output a 15,570 MHz clock signal at V.sub.C=0.9V and T.sub.j=60 C.
(59) However, unforeseen events such as change in ambient temperature, system cooling fan failure, building air conditioning failure, increased processor load heating the entire chip of the VCO, etc., may cause the junction temperature of the VCO circuitry to rise. If the temperature of the VCO increases to an extreme hot value of T.sub.max (e.g., 125 C.), the VCO In this example exhibits a frequency decrease from 13,570 MHz to approximately 15,470 MHz.
(60) In response to the decrease in VCO output frequency, the system operating the VCO, such as a closed-loop PLL, can adjust the fining-tuning control of the VCO by increasing the control voltage V.sub.C up to the value denoted by V.sub.2 (e.g. 1.1V) in order to keep the VCO output frequency locked at the target frequency of 15,570 MHz.
(61) Conversely, if the junction temperature decreases to an extreme cold value of T.sub.min (e.g., 40 C.), the VCO exhibits a frequency increase from 15,570 MHz to approximately 15,700 MHz; in response to the Increase in VCO output frequency, the system (e.g., closed-loop PLL) can adjust the fine-tuning control of the VCO by decreasing the control voltage V.sub.C down to the value denoted by V.sub.1 (e.g., 0.7V) in order to keep the VCO output frequency locked to the target frequency of 15,570 MHz.
(62) The VCO of
(63)
(64) Referring back to
(65) However, incorrect initial assumptions may result in a VCO calibration that does not leave enough fine-tuning control range to compensate for all possible dynamic operating conditions. If operating condition variables such as temperature, supply voltage, and moisture drift enough in normal post-calibration operation to necessitate a fine tuning control voltage value beyond its allowable range of V.sub.minV.sub.CV.sub.max, then an undesirable re-calibration of the VCO would likely be necessary. Re-calibration involves adjusting the coarse-tuning control setting by reconfiguring the switchable capacitor banks 19 to go from one capacitor configuration (e.g. RATE=N) to a next capacitor configuration (e.g. RATE=N1 or N2) in order to compensate for the speed-up or stow-down in the VCO and in order to help bring the control voltage into the allowable range.
(66) Re-calibration is generally undesirable because it typically requires re-starting the system operating the VCO (such as a PLL) and causing VCO's output signal or clock to have an invalid frequency and high phase jitter during a transient interval after the re-start and before re-acquiring the frequency and phase lock status to reference frequency signal.
(67) Therefore, in some applications, the system seeks to avoid re-calibration as much as possible, and may only allow re-calibration at extreme conditions such as a power failure, during special maintenance intervals, or after a long-term drift over weeks or months (e.g. an aging effect or moisture sipping).
(68)
(69) As a consequence, the overlapping FTRs of adjacent RATE coarse-tuning settings provides multiple calibration options to the VCO, yet also creates a need for optimizing the calibration. The optimal calibration (the best coarse-tuning setting) generally minimizes the possibility of re-calibrating the VCO during normal post-calibration operation with operating conditions changed, as compared to sub-optimal calibrations.
(70) Accordingly, the present disclosure relates to an improved start-up calibration method and system for maximizing the tolerable environmental variations in post-calibration operation.
(71) Moreover, the improved start-up calibration method allows VCOs according to the present disclosure to be designed with less VCO gain than conventional VCOs (less built-in margin for error), which in turn helps reduce phase noise and improve jitter performance.
(72) VCO Calibration Based on Temperature
(73)
(74) The VCO also has coarse-tuning control (RATE) input terminal 110 so that frequency of the output 112 is also based on the coarse-tuning control, which is a digital control signal generated by the controller 104. The controller 104 calibrates the VCO by selecting an appropriate RATE 110 signal value and providing the value to the VCO. The selected RATE 110 value is based on one or more sensor 108 measurements, such as on-die temperature, on-die moisture, and power supply voltage Basing the VCO calibration on such sensor measurements helps to optimize the calibration by minimizing a possibility of re-calibrating the VCO during normal operation.
(75) The controller 104 also has inputs for receiving the VCOCLK output 112 of the VCO and a frequency reference clock signal, such as SYSCLK or REFCLK 114. The controller 104 compares the two signals 112 and 114 and also bases the VCO calibration (i.e., selecting the appropriate RATE 110 value) on a difference between the frequencies of the signals 112 and 114. The system 100 or the controller 104 may also include a feedback divider so that the controller 104 compares the SYSCLK or REFCLK 114 to a divided down version of the VCOCLK 112.
(76)
(77) Assume the VCO 102 has positive VCO gain (that is, frequency f monotonically increasing versus fine tuning control voltage V.sub.C) and negative temperature coefficient (that is, frequency f monotonically decreasing versus junction temperature T.sub.j). The VCO frequency may vary monotonically with changes in each of the one or more operational conditions. Characterizing the VCO involves gathering data that is representative of these monotonic changes of the VCO's behavior.
(78) Characterizing the VCO at 202 may be clone from model simulations or lab measurements by sweeping all possible values of the fine tuning control voltage V.sub.C, the junction temperature T.sub.j, and the coarse-tubing control RATE setting, and recording the output frequency f of the VCO output signal VCOCLK. Characterizing the VCO generates a set of data having relationships in four dimensions: fine tuning control voltage V.sub.C, the junction temperature T.sub.j, the coarse-tuning control RATE setting, and output frequency f.
(79)
(80) Referring back to
(81) Selecting a given coarse-tuning control RATE setting from the four dimension of characterization dataset reduces the dataset to three dimensions and creates the three dimensional surface for the given coarse-tuning control RATE.
(82)
(83) Referring back to
(84) In order to determine frequency polynomial functions for each coarse-tuning control RATE setting, step 204 may be repeated for all available coarse-tuning control RATE settings. Thus, step 204 converts the four dimensional characterization dataset into a plurality of polynomial expressions, where each polynomial expression defines a relationship for modelling frequency as a function of V.sub.C and T.sub.j for a given coarse-tuning control RATE setting, and the plurality of polynomial expressions covers all of the different coarse-tuning control RATE settings available to the VCO 120.
(85) At step 206, a range of usable frequency contours is determined for each coarse-tuning control RATE setting. A contour is a curve in the polynomial expression of 204, where the curve represents a constant frequency for varying fine tuning control voltage and junction temperature. This determination mew be made using numerical methods (e.g. the contour function in Matlab software, or other similar functions) to identify frequency contours, on each setting of coarse-tuning digital control input RATE, that satisfy certain criteria.
(86)
(87) In mathematical terms, frequency f is a 2-variable function of T.sub.j and V.sub.C, i.e. f=f(T.sub.j, V.sub.C), and the closed-loop PLL system forces the following partial differential equation to ensure constant-frequency operation:
(88)
(89) where Tj and V.sub.C are incremental changes in junction temperature and fine tuning control voltage around their respective operating points. The contour lines of
(90) The criteria for determining the range of usable frequency contours involve finding a contour(s) that: (i) covers the functional temperature range of interest, i.e. T.sub.minT.sub.jT.sub.max; and (ii) lies within the allowable range of fine-tuning control voltage, i.e. V.sub.minV.sub.CV.sub.max as previously set forth above, in the example of
(91) Further, only the contour lines for 15,600 MHz and 15,500 MHz lie within the allowable range of fine-tuning control voltage from 0.4 V to 1.4 V; the 15,400 MHz contour line, which covers the temperature range of interest, does not, however, lie wholly within the allowable range of control voltage. Therefore, only 15,600 MHz and 15,500 MHz contour lines satisfy the above criteria.
(92) Although the example of
(93)
(94) For the minimum usable frequency;
(95) 1.Find the frequency value f.sub.A=f(T.sub.j,min, V.sub.C,min) corresponding to the point A.sub.1 that represents (T.sub.j,min, V.sub.C,min).
(96) 2.Build the equation f(T.sub.j,max, V.sub.A2)f.sub.A=0 and solve it to find V.sub.A2, which is the fine-tuning control input voltage corresponding to point A.sub.2 located at temperature T.sub.j,max.
(97) 3. If the resultant V.sub.A2 voltage meets the criteria V.sub.C,minV.sub.A2V.sub.C,max, then the VCO at the given coarse-tuning control RATE setting can tolerate the specified temperature drift from T.sub.j,min to T.sub.j,min within the allowable control voltage range in this case, f.sub.A=f(T.sub.j,min, V.sub.C,min) will the minimum usable frequency of the given coarse-tuning control RATE setting.
(98) If, at the given coarse-tuning control RATE setting, resultant V.sub.A2 voltage falls outside of the range from V.sub.C,min to V.sub.C,max, then the method 200 may determine that the given coarse-tuning control RATE setting is invalid or non-operable. The method 200 may optionally further comprise disabling the given coarse-tuning control RATE setting and returning a warning about the same.
(99) For the maximum usable frequency:
(100) 1. Find the frequency value f.sub.B=f(T.sub.j,max, V.sub.C,max) corresponding to the point B.sub.1 that represents (T.sub.j,max, V.sub.C,max).
(101) 2. Build the equation f(T.sub.j,min, V.sub.B2)=f.sub.B=0 and solve it to find V.sub.B2, which is the fine-tuning control input voltage corresponding to point B.sub.2 located at T.sub.j,min.
(102) 3. If for the resultant V.sub.B2 voltage meets the criteria V.sub.C,minV.sub.B2V.sub.C,max, then the VCO at the given coarse-tuning control RATE setting can tolerate the specified temperature drift from T.sub.j,max to T.sub.j,min within the allowable control voltage range. In this case, f.sub.B=f(T.sub.j,max, V.sub.C,max) will be the maximum usable frequency of the given coarse-tuning control RATE setting.
(103) If at the given coarse-tuning control RATE setting, resultant V.sub.B2 voltage falls outside of the range from V.sub.C,min to V.sub.C,max, then the method 200 may determine that the given coarse-tuning control RATE setting is invalid or non-operable. The method 200 may optionally further comprise disabling the given coarse-tuning control RATE setting and returning a warning about the same.
(104) A possible reason why the controller 104 is unable, at 206, to determine any usable frequency contours in the frequency polynomial expression of a given coarse-tuning control RATE setting, is that the VCO on that RATE setting does not have sufficient frequency gain to compensate for frequency changes caused by junction temperature drift. Since disabling one or more coarse tuning control RATE settings of the VCO reduces the overall FTR of the VCO, it may be desirable to design the VCO so that the VCO always has enough gain, at each coarse tuning control RATE setting, to compensate for frequency changes caused by changing operational conditions such as temperature.
(105) In summary, the dashed box in
(106) Referring back to
(107) In the example of
(108) The average usable frequency may be calculated by averaging the minimum usable frequency f.sub.A and the maximum useable frequency f.sub.B determined above: f.sub.mid(f.sub.A+f.sub.B)/2. The average usable frequency has a corresponding contour, which is well-centered in the three dimensional frequency surface of the given coarse-tuning control RATE setting, and which satisfies the fine tuning control voltage and junction temperature criteria set out above.
(109) A contour is considered well-centered in frequency if the contour is closest to the average frequency of all frequencies that meet criteria (i) and (ii) above in reference to
(110) The contour corresponding to the average usable frequency f.sub.mid defines the voltage function V.sub.cal(T.sub.j). The function V.sub.cal(T.sub.j) may be an analytic expression or a numerical look-up table. In an embodiment. V.sub.cal(T.sub.j) may be quantized to the accuracy of an on-die DAC used for setting a voltage on the fine-tuning input of the VCO, or to the accuracy of an external voltage source or external DAC used for setting a voltage on the fine-tuning input of the VCO during start-up calibration.
(111) Steps 204, 208, and 208 generally comprise a pre-calibration processing operation 220 for generating a plurality of calibration functions. In this embodiment, the calibration functions are the voltage functions V.sub.cal(T.sub.j) generated at step 208.
(112) Referring back to
(113) At step 214, the controller 104 sweeps through all of the VCO's coarse-tuning control RATE settings while applying the calculated control voltage to the VCO's VCTRL input 108. This causes the VCO output to change in discrete frequency jumps. At each coarse-tuning control RATE setting of the sweep, the controller 104 measures the difference between the frequency of the VCOCLK output 112, and the target frequency of the VCOCLK based on the frequency of a reference signal, which represents a desired frequency.
(114) At step 216, the controller 104 selects the coarse-tuning control RATE setting that minimizes the measured frequency difference in 214. The controller 104 provides the value of the selected coarse-tuning control RATE setting to the VCO.
(115) Steps 210 to 216 generally comprise a start-up calibration operation 222. The start-up calibration operation combines the sensor measurement value with the calibration functions generated from operation 220 in order to select a calibration setting and output a calibration setting signal or voltage.
(116) The method 200 may also optionally comprise a closed-loop operation at step 218. Either the controller 104 or a system operating the VCO adjusts the fine tuning control voltage, which was previously a fixed voltage based on the polynomial calculations. The fine tuning control voltage may be adjusted by either increasing or decreasing the control voltage to minimize the difference between the frequency of the VCOCLK output 112 and the desired frequency based on the reference signal. Adjusting the fine tuning control voltage at 218 may also include configuring the VCO for closed-loop operation, e.g. within a PLL system, which continuously (dynamically) re-adjusts the control voltage in order to minimize the error (difference) between the frequency of the VCOCLK output 112 and the desired frequency based on the reference signal.
(117) In practical VCO applications, junction temperature variations impact the frequency of the VCO. For a VCO in a closed-loop system configuration, the feedback loop compensates these temperature variations by continuously adjusting the fine tuning control voltage of the VCO to keep the output frequency at the desired constant.
(118) However, before the feedback loop can lock the VCO to the desired frequency, the VCO is typically correctly calibrated.
(119) Accordingly, the VCO calibration method 200 calibrates the VCO at the correct fine tuning control voltage, defined by V.sub.cal(T.sub.j), corresponding to the junction temperature measured at calibration. In order for the VCO to generate a clock signal having the desired frequency. The function V.sub.cal(T.sub.j) is defined by a contour plot well-centered in frequency for a given coarse-tuning control RATE setting, in contrast, known approaches merely calibrate the VCO at midrail control voltage of V.sub.cal= V.sub.DD, irrespective of calibration temperature, thereby constraining the control voltage range and compromising the tolerable temperature drift in post-calibration.
(120) In some embodiments; the VCO calibration method 200 may be improved by separately optimizing the method for various device manufacturing process corners. These corners in a CMOS process are known as Typical NMOS/Typical PMOS (TT), Slow NMOS/Slow PMOS (SS), Fast NMOS/Fast PMOS (FF), Slow NMOS/Fast PMOS (SF), and Fast NMOS/Slow PMOS (FS). In particular, steps 202 to 208 of the method to generate a temperature-dependent calibration voltage V.sub.cal(T.sub.j) can first be executed separately over process-dependent datasets collected from either circuit simulations or lab measurements. During the start-up calibration 222, if the process information is available (e.g. stored in electronic fuses (eFuse) on the device burnt at production time, or through designated on-die hardware for process monitoring), then the calibration method 200 can pick the temperature-dependent calibration formula associated with the given manufacturing process corner, in the preceding and following disclosure, for the sake of simplicity, we describe example calibration methods independent of any manufacturing process corner, thus implying a Typical (TT) process. However, it would be known by the skilled person that other process corners, both listed above and otherwise, can be applied to the embodiments of the present disclosure.
(121) In some embodiments, the VCO calibration method comprises an optimization method for generating the fine-tuning control voltage function V.sub.cal(T.sub.j) for each coarse tuning RATE setting. The fine-tuning control voltage function V.sub.cal(T.sub.j) is a 2.sup.nd-order polynomial that defines the VCO's fine tuning control voltage as a function of junction temperature. The optimization method may minimize or reduce a cost function in order to make the center of the range of all control voltages that generate a constant target frequency over all temperatures as close as possible to the center of the allowable control voltage range. Consequently, the optimization method may inherently result in the fine-tuning control voltage function being well-centered in the fine tuning control voltage range. In comparison to the embodiment of the calibration method 200 discussed above, a two-variable polynomial function for modelling a three-dimensional surface is not explicitly derived in this embodiment. An example method according to this embodiment is described below.
(122)
(123) At step 302, the VCO 102 under test is characterized, in an embodiment, the VCO 102 is a VCO with an inductor-capacitor bank comprising a plurality of discrete switchable capacitors.
(124) The VCO 102 has positive VCO gain (that is, frequency f monotonically increasing versus fine tuning control voltage V.sub.C) and negative temperature coefficient (that is, frequency f monotonically decreasing versus junction temperature T.sub.j). The VCO frequency may vary monotonically with changes in each of the one or more operational conditions. Characterizing the VCO involves gathering data that is representative of these frequency changes of the VCO versus operational conditions, control voltage and capacitor bank setting.
(125) Characterizing the VCO at 302 may be done from model simulations or lab measurements by sweeping all possible values of the fine tuning control voltage V.sub.C, the junction temperature T.sub.j, and the coarse-tuning control RATE setting R, and recording the output frequency f of the VCO output signal VCOCLK, Characterizing the VCO generates a set of data having relationships in tour-dimensions, fine tuning control voltage V.sub.C, the junction temperature T.sub.j, the coarse-tuning control RATE setting, and output frequency f.
(126) At 303, the allowable limits of temperature and control voltage are defined for the VCO 102, These limits may be stored as parameters Tmin, Tmax and Vmin, Vmax.
(127) At 304, a first nested loop performs steps 306 to 328 for all coarse-tuning control RATE settings of the VCO 102. At 306, a second nested loop performs steps 308 to 324 for all junction temperatures characterized for the VCO 102. At 308, a third nested loop performs steps 310 to 322 for all fine tuning control voltages characterized for the VCO 102.
(128) At step 310, for a given coarse-tuning control RATE setting R, fine tuning control voltage V.sub.C, and junction temperature T.sub.j, the controller 104 stores an initial frequency f.sub.0=f(R, V.sub.C, T.sub.j).
(129) At step 312, the controller 104 generates a first 2.sup.nd order polynomial for the given coarse-tuning control RATE setting R and fine tuning control voltage V.sub.C. The 2.sup.nd order polynomial is fit to all frequency deviations of f.sub.0 caused by temperature changes using the VCO characterization data of step 302, According to an embodiment of the present disclosure, the polynomial curve is fit using a least-mean-square (LMS) error estimation method.
(130) At step 314, the controller 104 determines VCO frequencies y1 and y2 based on the polynomial expression generated at 312. The y1 frequency is an estimate of the VCO frequency corresponding to a minimum junction temperature (again, for the given coarse-tuning control RATE setting R and fine tuning control voltage V.sub.C). The y2 frequency is an estimate of the VCO frequency corresponding to a maximum junction temperature (for the given coarse-tuning control RATE setting R and fine tuning control voltage V.sub.C).
(131) At step 316, the controller 104 generates a second 2.sup.nd order polynomial for the given coarse-tuning control RATE setting R and junction temperature T.sub.j. The 2.sup.nd order polynomial is fit to all frequency deviations of f.sub.0 caused by control voltage changes According to an embodiment of the present disclosure, the polynomial curve is fit using a least-mean-square (LMS) error estimation method.
(132) At step 318, the controller 104 determines VCO control voltages V.sub.1 and V.sub.2 based on the polynomial expression generated at 316. The voltage V.sub.1 represents the fine tuning control voltage value suitable to compensate for worst-case frequency deviations caused by temperature decrease to T.sub.min, where the VCO is calibrated at the given conditions (R, V.sub.C, T.sub.j) of the nested loop instance. The voltage V.sub.2 represents the fine tuning control voltage value suitable to compensate for worst-case frequency deviations caused by temperature increase to T.sub.max, where the VCO is calibrated at the given conditions (R, V.sub.C, T.sub.j) of the nested loop instance.
(133) According to an embodiment, step 318 comprises finding a fine tuning control voltage V.sub.C that satisfies equations f(R, V.sub.1, T.sub.min)f.sub.0=0 and f(R, V.sub.2, T.sub.max)f.sub.0=0 hereinafter referred to as Local Temperature Compensation (LTC) equations. V.sub.1 and V.sub.2 are solutions to the LTC equations and are functions of R, T.sub.j, and V.sub.C, i.e., V.sub.1=u(R, V.sub.C, T.sub.j) and V.sub.2=w(R, V.sub.C, T.sub.j).
(134) If solutions to V.sub.1 and V.sub.2 do not exist in the allowable control voltage range, [V.sub.minV.sub.CV.sub.max], the method stops at step 320 and the calibration is unsuccessful. The controller 104 may output a calibration failure message. In response to the failure message, the VCO may be reconfigured, for example, by increasing the VCO's gain, K.sub.VCO, thus allowing a tradeoff to find a solution to V.sub.1 and V.sub.2 in the allowable range but with a potentially degraded phase noise performance. Note that if the VCO is reconfigured to change its K.sub.VCO, then new characterization data corresponding to the new K.sub.VCO may be required as the Input to the method 300. Then method 300 may be repeated. Alternatively, another attempt may be made at finding the calibration polynomial coefficients by relaxing the allowable range of temperature or control voltage, i.e, reduce the specified temperature range [T.sub.minT.sub.jT.sub.max] or expand the allowable control voltage range [V.sub.minV.sub.CV.sub.max], then repeat the method 300 starting at step 303.
(135) For a given coarse-tuning control RATE setting R and junction temperature T.sub.j, the voltages V.sub.1 and V.sub.2 are functions of the given control voltage V.sub.C of the instant nested loop. At step 322, the controller 104 calculates a cost function based on the difference between the midpoint of V.sub.1 & V.sub.2 with respect to the center of the allowable fine tuning control voltage range [V.sub.min . . . V.sub.max].
(136) At step 324, the cost function of 322 is minimized to find the optimum calibration voltage V.sub.cal at the given coarse tuning control RATE setting and junction temperature T.sub.j of the nested loops. In particular, the calibration voltage V.sub.C=V.sub.cal minimizes the following cost function:
(137)
where abs(.) denotes an absolute value function.
(138) In other words, step 324 solves the following optimization problem. For a given set of coarse-tuning control RATE setting R and junction temperature T.sub.j, find optimum calibration voltage V.sub.C=V.sub.cal that minimizes cost function of Equation 5 (i.e., min.sub.V.sub.
(139) At step 326, a curve (e.g., a 2.sup.nd or higher order polynomial) is fit to the optimum calibration voltage points versus different junction temperatures. In most applications, a 2.sup.nd-order polynomial is sufficient for this fitting with regard to a practical accuracy for adjusting the VCO's calibration voltage. In other embodiments, higher order polynomials could be employed, if desired. Polynomials of 2.sup.nd order or higher are generated for each coarse-tuning control RATE setting available in the characterization dataset.
(140) Finally, at step 328, the controller 104 stores each of the polynomials of 328 for calibrating the VCO.
(141) As explained above, the method 300 generates a 2.sup.nd order (or higher order) polynomial V.sub.cal(T.sub.j) for each coarse-tuning control RATE setting. Steps 202 to 208 of method 200 also generate a polynomial function V.sub.cal(T.sub.j), but according to a different approach. Therefore, method 300 may also include additional steps to perform complete calibration of the VCO. Specifically, the method 300 may include similar steps to 210, 212, 214, and 216 of method 200 discussed above in order to complete the start-up calibration operation 222. The method 300 may also optionally include a similar step to 218 of method 200 to perform closed-loop operation.
(142) If the VCO has a large number of coarse-tuning control RATE settings (e.g. 32, 64, or 128), the size of the on-chip memory necessary to store all polynomial coefficients accurately may become prohibitive. Therefore, in practice, it may be desirable to relax the accuracy of the polynomial fits for specific coarse-tuning control RATE settings, and instead use a common polynomial for a cluster of coarse-tuning control RATE settings in order to save on the memory size requirements for storing the polynomials' coefficients. A post-processing method may be used to generate common polynomials for clusters of the RATE settings.
(143)
(144) At step 404, the polynomial coefficients for each coarse-tuning control RATE setting are imported, for example in a matrix, with each row of the matrix representing the set of coefficients {a, b, c} corresponding to polynomial expression V.sub.cal(T.sub.j)=a.T.sub.j.sup.2+b.T.sub.j+c for a given coarse-tuning control RATE setting.
(145) At 408, a loop iterates through the coarse-tuning control RATE settings according to the chosen cluster size.
(146) At step 408, for each coarse-tuning control RATE setting (R), the value of the fine tuning control voltage range V(R)=V.sub.2(R)V.sub.1(R) is calculated (see (V.sub.2-V.sub.1) in
(147) After determining the control voltage range V(R) for all values of coarse-tuning control RATE setting (R), the method proceeds to nested loops 410 and 412 to iterate through each cluster of size p (loop 410) and each coarse-tuning control RATE setting in that cluster (loop 412).
(148) At step 414, within each cluster of size p, the coarse-tuning control RATE setting with the largest control voltage range V(R) is identified. By virtue of using the largest control voltage range, this coarse-tuning control RATE setting covers (supersedes) the requirements of all coarse-tuning control RATE settings in the cluster. Therefore, the polynomial coefficients of this coarse-tuning control RATE setting will be used for the calibration of all coarse-tuning control RATE settings in the cluster.
(149) At 416, polynomial coefficients for each cluster are extracted for the next Iteration until all clusters have been processed. Next, at 418 the cluster polynomials are stored in the coefficient matrix.
(150) For a VCO similar to the one shown in
(151) Accordingly, the method 400 clusters multiple coarse tuning control RATE settings by using the polynomial coefficients of the lowest VCO gain setting for all settings, in other words, the method 400 uses the polynomial coefficients of the coarse tuning setting using the largest fine tuning control voltage range V(R)=V.sub.2(R)V.sub.1(R) for compensating a given temperature range.
(152)
(153) TABLE-US-00001 TABLE 1 V.sub.cal(T.sub.j) = a. T.sub.j.sup.2 + b. T.sub.j + c a b c 0 RATE 7 0.001423 2.65618 744.028 8 RATE 15 0.011059 1.15922 765.677 16 RATE 23 0.002225 2.07921 765.293 24 RATE 31 0.00098621 1.779943 781.0881 where T.sub.j is calibration temperature in degrees Centigrade ( C.), and V.sub.cal is the corresponding calibration voltage in millivolts (mV).
(154) Voltage points V.sub.1 and V.sub.2, respectively, denote minimum and maximum fine tuning control voltages over junction temperatures extremes for coarse-tuning control RATE setting of value 0. The fine tuning control voltage tuning range (i.e., V.sub.2-V.sub.1) that may be required to compensate for the full operational temperature range (i.e., the temperature range shown on the x-axis) varies from one coarse tuning setting to another.
(155) In the example of
(156) A sub-optimal calibration polynomial for the coarse tuning setting may result in a calibration that is not well-centered around the middle of the control voltage range, which can lead to higher nonlinearities (e.g., in a phase detector/charge pump driving the VCO's control voltage in a closed-loop PLL), hence increased noise in the system operating the VCO.
(157) Therefore, selecting the cluster size at 402 of method 400 may compromise one aspect of the system performance for another. A larger cluster size (meaning a smaller number of clusters covering the various coarse tuning settings) reduces the memory size requirements of the controller 104 for storing various calibration polynomial coefficients, but may also increase the nonlinearity and noise in the system.
(158) In the examples discussed above, temperature calibration is used to illustrate calibration methods according to the present disclosure. However, it is to be understood that the example methods presented with respect to temperature variation can be equally applied to supply voltage variation, moisture variation, or other operational conditions, and concurrently to combinations of two or more such operational conditions (e.g. both temperature and supply voltage variations).
(159) Power Supply Voltage (V.sub.DD)
(160) In the VCO circuit of
(161) VCO Calibration Based on Power Supply Voltage
(162) The improved VCO calibration method described herein calibrates the VCO based on information about the VCO s power supply voltage at the time of calibration in order to maximize the tolerable range of supply voltage variations in a post-calibration phase of operation.
(163)
(164) The cost function at step 522 is:
(165)
where abs(.) denotes absolute value function, V.sub.d is a variable showing the voltage value of the VCO's power supply V.sub.DD. This cost function is minimized at step 524 to find the optimum calibration voltage V.sub.cal at that given coarse-tuning control RATE setting and power supply voltage.
(166) Once the calibration voltage polynomials are defined, the VCO calibration method 500 may further include steps similar to 210, 212, 214, 216 of method 200 discussed earlier In order to complete the start-up calibration operation 222. The method 500 may also optionally include a similar step to 218 of method 200 to perform closed-loop operation. As explained above, the method 500 of
(167)
(168) Moisture Effect and VCO Calibration Based on Moisture Effect
(169) Extreme increase in environmental humidity can cause moisture absorption in inter-metal dielectric in the silicon die, which can in turn increase the dielectric constant and the capacitance of MoM or MiM capacitors, leading to a slow-down in the VCO's oscillation frequency. However, this can be a long-term effect, and possibly triggered by reliability issues such as micro-cracks in the silicon die's metal seal ring, which would permit moisture into the silicon dielectric if moisture absorption occurs, a re-calibration of the VCO, e.g. using the start-up (run-time) calibration method of the present embodiments, can effectively compensate for the effect of capacitance change in the VCO. Specifically, on-die humidity data can be used by the calibration method described herein, in the same manner as the Information about temperature or supply voltage, to improve the VCO calibration.
(170) Humidity or moisture data may be provided by an on-die humidity sensor comprising a capacitive sensor. The capacitive sensor may be implemented, for example, by a post-processing step to deposit a polyimide layer after a standard CMOS fabrication, where the sensing principle is the dielectric constant change of the polyimide due to absorption/desorption of water.
(171) A Phase-Locked Loop System with VCO Calibration
(172)
(173) Calibrating the PLL 700, or the VCO 102 of the PLL 700, generally comprises configuring the PLL to operate in an open-loop start-up calibration mode, performing the calibration according to the various methods described above, and configuring the PLL to operate in normal closed-loop PLL mode using the determined calibration settings.
(174) In post-calibration phase, while the PLL operates in the normal closed-loop mode, changes in operating conditions (such as temperature, supply voltage, and moisture) can cause the VCO to speed up or slow down. When this occurs, the PLL feedback circuit 702 may adjust the VCO's control voltage V.sub.C automatically using closed-loop feedback means to maintain the desired output frequency (typically, a frequency defined by REFCLK 114). The PLL remains locked and exhibits acceptable phase noise and jitter performance, as long the control voltage V.sub.C remains within its allowable range (i.e. V.sub.minV.sub.CV.sub.max).
(175) There is a very low probability that the PLL calibrated according to the embodiments of the present disclosure, described above, will require recalibration. Thus, the PLL may continue to operate in the normal closed-loop mode for a longer duration as compared to conventional PLLs.
(176)
(177) The PLL feedback circuit 702 may further comprise a prescaler divider, a phase/frequency detector (PFD), a charge pump, a loop filter, and a feedback divider.
(178) The VCO 102 may further comprise a VCO bank comprising one or more LC VCOs. The VCO 102 has an input for receiving a fine-tuning control voltage and an input for receiving a coarse-tuning control RATE setting. The VCO 102 may have a plurality of selectable banks. The banks may be enabled via a SELECT input (not shown).
(179) The one or more sensors 106 may sense operational conditions such as temperature, power supply voltage, and humidity that affect the VCO frequency.
(180) In an embodiment, the prescaler divider receives a system clock signal SYSCLK and generates a reference clock signal REFCLK (i.e., a divided down version of the system clock SYSCLK), which is provided to both the PFD and the digital frequency comparator. The feedback divider receives the output signal VCOCLK from the VCO 102 and generates a feedback clock signal FBCLK (i.e., a divided down version of the output signal VCOCLK), which is provided to both the PFD and the digital frequency comparator. The PFD controls the charge pump based on the reference and feedback clock signals (REFCLK and FBCLK) to adjust a charge pump output current I.sub.CP. The loop filter converts and the charge pump current I.sub.CP to the fine tuning control voltage V.sub.C, which is provided to the VCO for generating the desired VCOCLK.
(181) The selector switch of the PLL is controlled by the start-up calibration select signal 708 of the controller 104. Controlling the selector switch determines whether the controller 104 or the PLL feedback circuit 702 is coupled to the fine tuning control input of the VCO When the controller 104 is coupled to the line tuning control input of the VCO, the controller 104 can perform calibration methods, which may require sweeping the fine tuning control input of the VCO with all voltages within the operational range of the fine tuning control input. The controller 104 may generate the fine tuning control voltage internally, at an infernal DAC. Alternatively, the controller 104 may send a digital signal to a DAC located within the PLL feedback circuit 702 or located separately in the PLL system 700. The DAC will Interpret the digital signal from the controller 104 and generate an analog voltage corresponding to the fine tuning control voltage.
(182) When the PLL feedback circuit 702 is coupled to the fine tuning control input of the VCO, the PLL feedback circuit can, through closed-loop feedback means, continuously adjust the fine tuning control voltage value in order to maintain the desired VCOCLK signal at the VCO output.
(183) In the start-up calibration the controller 104 will calibrate the PLL 700 by configuring the coarse tuning control input with the appropriate RATE setting. The controller 104 may directly provide the RATE setting to the VCO 102 during the calibration mode. Alternatively, the controller 104 may provide a digital signal related to the RATE setting to the digital frequency comparator of the PLL feedback circuit 702, The digital frequency comparator may interpret the digital signal of the controller 104 and provide the corresponding RATE setting to the VCO 102.
(184) The digital frequency comparator may comprise digital counters and a digital state machine arranged to compare the reference clock REFCLK to the feedback clock FBCLK. The digital state machine of digital frequency comparator 114 sweeps across the VCO's coarse capacitor settings, by adjusting the signal fed to coarse-tuning digital control input RATE to find the best value (called a calibrated setting) operates the VCO, when set at calibration control voltage V.sub.cal as close as possible to its target frequency, as defined by REFCLK.
(185) After calibration, during the normal closed-loop PLL operation, the VCO 102 is configured to operate using the RATE setting chosen during calibration.
(186) As indicated above, the calibration DAC generates the calibration voltage V.sub.cal applied to the VCO's fins-tuning control input (VCTRL), while charge pump output current I.sub.CP is turned off to force an open-loop VCO configuration. Amongst various DAC parameters such as speed, differential nonlinearity (DNL). Integral nonlinearity (INL), and least significant bit (LSB) resolution (i.e., full-scale range divided by 2.sup.N, where N is the number of DAC's input bits), only the latter two are Important for the calibration DAC. The INL and the quantization error due to finite LSB resolution (also known as resolution error) lead to an overall error on the DAC's output voltage compared to its ideal (intended) calibration value. This voltage error, V.sub.DAC, multiplied by the VCO gain, K.sub.VCO, translates to a DAC-induced VCO frequency error (f.sub.DAC=V.sub.DACK.sub.VCO). To minimize this error introduced in the VCO calibration, the DAC's INL and resolution errors combined should, in at least one embodiment, be small enough to make f.sub.DAC negligible compared to the VCO's coarse tuning frequency steps. On the other hand, the speed (also known as conversion rate) of the calibration DAC is not a critical parameter as the DAC practically operates at a DC condition during the calibration. Note that the DAC s dynamic range should, in at least one embodiment, cover at least the VCO's usable control voltage range of V.sub.minV.sub.CV.sub.max.
(187) In an example implementation, the calibration DAC comprises a 6-bit R-2R resistor ladder DAC that generates 2.sup.6=64 possible calibration voltage levels between 0 and V.sub.DD with integral nonlinearity (INL) of 0.5 LSB, where 1 LSB equals to V.sub.DD/64.
(188) In some Implementations, multiple stagger-tuned VCOs may be employed in the VCO bank 102 to cover a wider tuning range, in which case a VCO selection signal, SELECT, (not shown) is generated by the controller 104, or by a look-up table, to select a proper VCO of the VCO bank 102 for the desired frequency range of operation before sweeping through the available settings for coarse-tuning control RATE to calibrate the selected VCO.
(189) Once the selected VCO is calibrated, the signal fed to coarse-tuning control RATE and (optional) SELECT signal (not shown) are frozen, and the controller 104 places the PLL system 700 in a closed-loop state by enabling the charge pump and disabling the calibration DAG. In the closed loop state, the up and down control inputs (UP & DN) of the charge pump are driven by a 3-state phase/frequency detector (PFD) that receives the reference clock REFCLK and the feedback clock FBCLK at its inputs. The three states at the PFD output are up, down and off. The closed-loop control voltage V.sub.C is generated by the PFD and charge pump on to loop filter. The loop filter converts I.sub.CP to a low pass filtered: control voltage V.sub.C. The closed-loop control voltage V.sub.C fine tunes the VCO to Keep it in frequency and phase lock with REFCLK. The loop filter may be co-integrated with the VCO on a semiconductor die of an integrated circuit (IC) device, assembled in the IC device package (a system-In-package, or SIP), or implemented externally on a printed circuit board (PCS).
(190) Once the PLL system 700 comes out of the start-up calibration (open-loop) mode and enters the normal: (closed-loop) mode of operation, it goes through a transient state to acquire frequency and phase lock to the reference clock. When the transient state is settled to the locked state (and assuming operational conditions are unchanged from the calibration) the control voltage V.sub.C should ideally be, in at least one embodiment, the same as the calibration voltage V.sub.cal. In practice, due to the quantization errors introduced in the calibration step, there can be an error on the settled control voltage V.sub.C compared to its ideal calibration value of V.sub.cal. The main quantization error comes from the discrete steps of the capacitor bank selection in the coarse tuning calibration. The capacitance resolution is not infinite, hence the corresponding tuning: may be considered coarse. The coarse tuning settings, i.e. RATE and (optional) SELECT signals applied to the VCO bank 102, remain unchanged from the calibration, but this coarse setting does not necessarily set the ideal capacitor value suitable to generate an exact target frequency. Therefore, the closed-loop fine tuning control voltage V.sub.C will deviate from its calibrated value of V.sub.cal to adjust the VCO frequency to the target value. Another voltage error on V.sub.C may come from the calibration DAC, but can be minimized by proper choice of the DAC parameters (i.e., LSB resolution and INL) as explained earlier. In summary, immediately after the PLL is settled to its locked state and before any changes in operating conditions, there can be an error on the control voltage V.sub.C compared to its ideal calibration value of V.sub.cal. This error eats into the tolerable margin of changes in post-calibration operating conditions. An improved calibration method according to the present disclosure can make use of the remaining margin by taking into account the calibration operating conditions.
(191) As one skilled In the art will appreciate, the methods 200-600 described above for junction temperature calibration and power supply calibration can also be adapted for calibration based on moisture or on-die humidity.
(192) In some embodiments, the VCO of a PLL system may be calibrated based on two or more operational conditions (e.g. junction temperature T.sub.j and power supply voltage V.sub.DD) simultaneously.
(193) Calibration according to the present disclosure allows a clock synthesizer unit (CSU), or a local oscillator (LO), with an LC-VCO-based PLL having coarse- and fine-tuning controls for the VCO to perform robustly over a wide range of temperature and/or power supply drift in post-calibration phase without a need to re-calibrate, or to increase the VCO gain at design time to increase its frequency tuning capability. By avoiding an unnecessary increase in the VCO gain, this technique helps improve the phase noise and jitter of a VCO/PLL by design. The calibration techniques can be applied on any VCO in development or already implemented that has coarse- and fine-tuning controls, in order to maximize the VCO's operational range and hence the PLL's locking range in post-calibration stress tests. These voltage and temperature (V&T) stress tests are generally used as part of device characterization procedures in a lab. They Include calibrating the VCO-under-test at one extreme corner of temperature and supply voltage (e.g. T.sub.min=40 C. and VDD.sub.min) and initiating the PLL closed-loop operation, then gradually pushing the temperature and supply voltage to the opposite corner (e.g. T.sub.max=125 C. and VDD.sub.max) and observing the control voltage drift, locked status of the PLL and the phase jitter performance. Most modern CSUs for wireline SERDES applications and LOs for wireless RF applications can benefit from the present disclosure, as long as the VCO's die temperature and/or power supply voltage can be measured or: properly estimated. Some Implemented PLLs with conventional midrail-control-voltage VCO calibration have certain limitation on post-calibration temperature drift, T (e.g., T=100 C.). However, by applying this calibration technique some such PLLs may achieve a post-calibration temperature drift of T=165 C. (i.e., a full-range drift from 40 C. to 125 C., and vice versa). In addition, VCO calibration methods according to the present disclosure facilitate a lower VCO gain (K.sub.VCO) to be used, thereby achieving lower oscillation phase noise and jitter.
(194) By using calibration methods according to the present disclosure, one can approach the maximum achievable post-calibration tolerance against operational variations in a given VCO/PLL design. Achieving additional margin on control voltage over a conventional calibration method means a more centered control voltage range in post-calibration phase despite environmental or operational variations, which in turn translates to a more linear system operation: and an improved clock phase noise and jitter performance. Achieving additional margin on post-calibration control voltage over a conventional calibration method also means the VCO can tolerate additional long-term slow-down (or speed-up) effects, e.g. due to aging or extreme moisture sipping effects on the semiconductor die. Moisture loading of IC devices encompassing VCOs for production testing of such effects can be very time-consuming and costly.
(195) Methods according to the present disclosure may make use of available temperature and/or power supply voltage information at run time, and a host of off-line characterization and optimization work, to provide a smart calibration voltage for the VCO in order to maximize the tolerable post-calibration operational variations. Operational variations include temperature drift, supply voltage drift, and possibly moisture loading.
(196) Methods according to the present disclosure may be applied on any present VCO in development that has coarse- and fine-tuning controls to maximize VCO tuning range and hence PLL's locking range in post-calibration stress tests. Since the method is software/firmware-based, it can also be applied on implemented VCOs with similar architecture already in use on legacy products.
(197) Methods according to the present disclosure may be applied at design time using simulation data to generate a matrix of polynomial coefficients, or numerical look-up fables. The polynomials or tables can be refined later, based on lab measurements and characterizations, if needed. Since in some embodiments the calibration method is software/firmware-based, this type of update is fairly straightforward and can be made in device revisions, or on clone devices when specifications are changed, or when porting a design to other semiconductor foundries or process technology nodes.
(198) In the preceding description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the embodiments. However, it will be apparent to one skied in the art that these specific details are not required. In other instances, well-known electrical structures and circuits are shown in block diagram form in order not to obscure the understanding. For example, specific details are not provided as to whether the embodiments described herein are implemented as a software routine, hardware circuit, firmware, or a combination thereof.
(199) One or more electronic devices may be used in implementing one or more aspects or components of an embodiment according to the present disclosure. An electronic device may include one or more of a central processing unit or other type of electronic data processor, memory such as for example random access memory (RAM), a mass storage device, an input/output (I/O) interface, and a communications subsystem. One or more of the components or subsystems of the electronic device may be interconnected by way of one or more buses or in any other suitable manner.
(200) Embodiments of the disclosure can be represented as a computer program product stored in a machine-readable medium (also referred to as a computer-readable medium, a processor-readable medium, or a computer usable medium having a computer-readable program code embodied therein). The machine-readable medium can be any suitable tangible, non-transitory medium, including magnetic, optical, or electrical storage medium including a diskette, compact disk read only memory (CO-ROM), memory device (volatile or non-volatile), or similar storage mechanism. The machine-readable medium can contain various sets of instructions, code sequences, configuration information, or other data, which, when executed, cause a processor to perform steps in a method according to an embodiment of the disclosure. Those of ordinary skill in the art will appreciate that other instructions and operations necessary to realize the described implementations can also be stored on the machine-readable medium. The instructions stored on the machine-readable medium can be executed by a processor or other suitable processing device, and can interface with circuitry to perform the described tasks.
(201) The structure, features, accessories, and alternatives of specific embodiments described herein and shown in the Figures are intended to apply generally to all of the teachings of the present disclosure, including to ail of the embodiments described and illustrated herein, insofar as they are compatible. In other words, the structure, features, accessories, and alternatives of a specific embodiment are not intended to be limited to only that specific embodiment unless so indicated.
(202) In addition, the steps and the ordering of the steps of methods described herein are not meant to be limiting. Methods comprising different steps, different number of steps, and/or different ordering of steps are also contemplated.
(203) The above-described embodiments are intended to be examples only. Alterations, modifications and variations can be effected to the particular embodiments by those of skill in the art without departing from the scope of the present disclosure.