The present disclosure relates to a digitally controlled oscillator with temperature compensation, and a method of compensating for temperature in a digitally controlled oscillator.
It is desirable for digitally controlled oscillators (DCOs) to have a stable output frequency. However, it is known for the output frequency of DCOs to vary with temperature. DCOs that are based on ring oscillator topologies tend to exhibit more temperature sensitivity than those that are based on an LC oscillator. Even LC oscillator based DCOs (LC-DCOs) may have too much temperature sensitivity.
It is known to try to correct temperature variation in the output frequency from a DCO. One method is to use a temperature sensor and a temperature compensation capacitor bank. This approach can improve temperature sensitivity, but temperature sensor inaccuracies and temperature dependence of analog varactors has previously made very low temperature drift (e.g. <500 ppm/K) difficult or impossible to achieve.
An improved method for stabilising the frequency of a digitally controlled oscillator in response to temperature variation is desirable.
According to a first aspect, there is provided a device comprising: a voltage reference supply, configured to provide a reference voltage that varies in response to temperature according to a predefined relationship; a temperature sensor providing a temperature signal indicating a temperature; a first controller configured to receive the temperature signal and to output a control signal; an LC-DCO receiving the reference voltage and providing an output signal with a frequency from an LC circuit, the LC-DCO comprising a switched capacitor bank configured to provide temperature compensation by varying an effective capacitance in the LC circuit in response to the control signal.
The voltage reference supply may comprise a programmable slope voltage generator.
The predefined relationship may comprise a substantially linear relationship, so that the reference voltage varies substantially linearly in response to changes in temperature.
The switched capacitor bank and first controller may be configured to correct a non-linear frequency error in response to temperature and the predefined relationship may be selected to correct a linear frequency error in response to temperature.
The non-linear frequency error may be substantially quadratic.
The switched capacitor bank may have a capacitive divider topology.
The switched capacitor bank may comprise a plurality of switched varactors.
The LC-DCO may comprise a low dropout regulator LDO, the LDO configured to receive the reference voltage and to provide a supply voltage (derived from the reference voltage) for the LC-DCO.
The temperature sensor may be configured to provide an analog temperature signal, and the first controller may comprise an analog to digital converter.
The first controller may be configured to output a digital control signal, and the switched capacitor bank may be configured to vary the effective capacitance in response to the digital control signal.
The device may further comprise a second controller, configured to provide a second control signal to the voltage reference supply that defines the predefined relationship.
The temperature sensor may comprise: a first current generator configured to generate a current proportional to absolute temperature, PTAT; a second current generator configured to generate an inverse current proportional to absolute temperature, IPTAT, the PTAT current and IPTAT current being combined to form a reference current having a temperature sensitivity; a plurality of current mirrors to adjust the sensitivity and gain of the reference current; and a variable resistor to set the temperature signal based on the generated current.
According to a second aspect, there is provided a method of correcting a frequency variation in an output signal of a DCO according to the first aspect in response to a temperature variation, comprising; setting the predefined relationship so as to minimise, when the temperature compensation using the switched capacitor bank is disabled, the difference between the frequency of the output signal at a low temperature and the frequency of the output signal at a high temperature; enabling temperature compensation using the switched capacitor bank.
Setting the predefined relationship may comprise: determining the frequency of the output signal at a low temperature for each of a plurality of different predefined relationships; determining the frequency of the output signal at a high temperature for each of the plurality of different predefined relationships; selecting the predefined relationship that results in the smallest difference in the frequency of the output signal between the high and low temperatures.
The method may further comprise, at a mid-point temperature, setting the switched capacitor bank to mid-code, and adjusting the output signal frequency to match a desired frequency.
Each feature of each aspect may be combined with the features of each other aspect, as appropriate.
These and other aspects of the invention will be apparent from, and elucidated with reference to, the embodiments described hereinafter.
Embodiments will be described, by way of example only, with reference to the drawings, in which
It should be noted that the figures are diagrammatic and not drawn to scale. Relative dimensions and proportions of parts of these figures have been shown exaggerated or reduced in size, for the sake of clarity and convenience in the drawings. The same reference signs are generally used to refer to corresponding or similar feature in modified and different embodiments.
The voltage reference supply 120 is configured to provide an output reference voltage that varies in response to temperature according to a predefined relationship. The output reference voltage is provided to the DCO 110. The supply voltage for the DCO is derived from the reference voltage. The variation in the voltage reference supply is used to reduce the temperature sensitivity of the output frequency of the DCO 110.
The temperature sensor 130 is configured to provide a temperature signal, indicating a temperature, to the first controller 140.
The first controller 140 uses the temperature signal to determine a control signal for controlling a temperature compensation capacitor bank of the DCO 110. The control signal causes the temperature compensation capacitor bank of the DCO 110 to reduce the temperature sensitivity of the DCO 110.
The contributions to reducing temperature sensitivity from adjusting the DCO supply voltage and varying the capacitance of the temperature compensation capacitor bank are complementary. The temperature sensitivity of a typical DCO may include a linear component and a non-linear component. It is difficult to completely correct for both these components of error with a temperature slope on a voltage supply, because this would require a complex and accurately defined relationship between supply voltage and temperature, which would be complex and expensive to implement. Similarly, it is difficult to satisfactorily correct for temperature sensitivity using only a temperature compensating switched capacitor bank. Prior art temperature compensation capacitor banks have either been insufficiently temperature stable, or have had insufficient accuracy and resolution to adequately stablise the output of the DCO with temperature.
Combining both supply voltage compensation with a temperature compensating capacitor bank achieves a synergistic effect: the supply voltage compensation is inherently well suited to removing linear temperature sensitivity, and a temperature compensating capacitor bank can subsequently be designed to remove the non-linear (e.g. parabolic) temperature sensitivity.
The non-linear frequency error in an LC-DCO may arise substantially from changes in capacitance as a function of temperature. Since the natural frequency of an LC resonator is proportional to the square root of the capacitance, a (typical) substantially linear relationship between the capacitance and temperature results in a quadratic term in the variation of frequency with temperature. The combination of linear error (which is also typical) and quadratic error has previous been difficult to remove. Once the linear error term has been removed (e.g. by temperature compensation on the voltage supply), it becomes more straightforward to compensate for the change in capacitance with temperature of the DCO with a switched capacitor bank. A fixed amount of capacitance can be added or taken away with a temperature compensation capacitor bank with each step in temperature.
The example device shown in
The voltage reference supply 120 is a programmable slope voltage generator, which receives a digital control signal from the second controller 121. This digital control signal defines the relationship between the reference voltage Vref(T) and temperature. For example, the digital control signal 120 from the second controller 121 may define a linear relationship in terms of a slope of Vref(T) (e.g. in ppm/K). The resolution with which the slope may be defined may, for example be units of 100 ppm, 50 ppm or 25 ppm. A compromise must be struck between the resolution and accuracy with Vref(T) can be defined, and the cost and complexity of the voltage reference supply 120.
The Vref(T) supply voltage from the voltage reference supply is provided to a low dropout voltage regulator LDO, of the DCO 110, which generates a stabilised supply voltage Vdd_DCO for supplying the core of the LC-DCO 110. The voltage reference supply 120 may be substantially as described in WO2015/075496A1.
The DCO 110 comprises the LDO 111, which provides a regulated supply voltage Vdd_DCO to a LC oscillator 112 of the DCO. The oscillator 112 comprises an inductance and a capacitance that together forms an LC resonator which defines the output frequency of the DCO 110. The frequency of the output from the DCO 110 may be set based on a control signal (not shown) that sets the desired output frequency (e.g. by switching capacitors in and out of the LC resonator circuit). A frequency divider 115 may be provided at the output of the DCO 110, to provide a lower output frequency and/or a selectable frequency based on the value of the divider M.
The DCO 110 further comprises a PV capacitor bank 114, for tuning out process variation (e.g. in the capacitors or inductors) in the DCO, so as to re-centre the output frequency of the DCO. In parallel with the PV capacitor bank 114, there is provided a temperature compensation capacitor bank 113, which is operable to reduce temperature sensitivity in the frequency of the output of the DCO 110 (e.g. fDCO/M).
The temperature compensation capacitor bank 113 is configured to change the effective capacitance of the LC resonator of the DCO 112 by switching capacitors or varactors into and out of the resonant circuit in response to a digital control signal provided by the first controller 140. The operation of an example temperature compensation capacitor bank will be described in more detail later, with reference to
The first controller 140 is configured to receive an analog temperature signal from the temperature sensor 130, and comprises: ADC 141, breaking point tracking module 143, and control logic 142. The ADC 141 receives the temperature signal and converts it into a digital temperature signal. The digital temperature signal is provided to the control logic 142. The breaking point tracking module determines whether the (analog) temperature signal has reached a threshold (which may be selectable), and provides a break point signal indicating this (e.g. true or false). The breaking point tracking module 143 may receive a reference voltage (for example a bandgap referenced voltage VBG), and may comprise a comparator for comparing the temperature signal Vsense with the reference voltage VBG.
The control logic 142 receives the digital temperature signal from the ADC 141 and the break point signal from the breaking point tracking module 143, and provides a digital control signal that is determined using both these signals. The control logic 142 outputs the digital control signal to the temperature compensation capacitor bank which switches capacitors in response. In one example, increasing temperature causes the control signal to increase in value (e.g. linearly) until the breakpoint temperature is reached, at which point further increases in temperature result in a decrease (e.g. linear) in the control signal. The compensation function (i.e. the control signal as a function of temperature) may be substantially symmetric about the break point temperature (e.g. with the upward slope equal to the downward slope). This arrangement is a particularly elegant way to compensate for non-linear DCO temperature sensitivity, especially in combination with a temperature compensated DCO voltage supply.
The temperature reference 101 may be substantially as described in U.S. Pat. No. 9,395,740 B2.
The temperature sensor 130 may comprise a first current generator configured to generate a current proportional to absolute temperature, PTAT; a second current generator configured to generate an inverse current proportional to absolute temperature, IPTAT. The PTAT current and IPTAT current being combined to form a reference current having a temperature sensitivity. The temperature sensor may include a plurality of current mirrors to adjust the sensitivity and gain of the reference current and a variable resistor to set the temperature signal based on the generated current.
The temperature compensation capacitor bank 113 is responsive to the control signal 144 from the first controller 140. The digital code of the control signal 144 defines which capacitors of the temperature compensation capacitor bank are included in the LC resonator network.
The PV capacitor bank 114 is similarly responsive to a process variation correction signal 145. The digital code of the process variation correction signal 145 defines which capacitors of the PV capacitor bank are included in the LC resonator network of the DCO 110.
The cross-coupled transconductance stage 117 creates a negative resistance in parallel with the LC network so that the resonance is sustained.
The equivalent capacitance Ceq (between vn and vp) of the arrangement shown in
C
eq
=C
s(Cv+Cj)/2(Cv+Cf)+Cs
The change in capacitance for a given change in the capacitance of the variable capacitor ΔCv is given by:
ΔCeq=Cs2/(2Cv+2Cf+Cs)2×ΔCv
The fixed capacitors Cf have the effect of reducing the change in equivalent capacitance Ceq for a given change in the variable capacitance Cv. Fine tuning of the capacitance may thereby be more straightforward to achieve. In some embodiments the capacitors 2Cf and/or Cs comprise banks of switchable capacitors/varactors. Varying Cf allows the frequency shift fstep resulting from a switching a varactor in Cv to be adjustable, which may enable improved temperature compensation.
The variable capacitor 118 is preferably a set of parallel connected switched varactors Cvar0, Cvar1 . . . CvarN as depicted in
A varactor is a voltage-controlled capacitor, and a well-known element in electronic circuits. Varactors are operated reverse-biased so no current flows, but since the thickness of the depletion zone varies with the applied bias voltage, the capacitance of the diode can be made to vary. Generally, the depletion region thickness is proportional to the square root of the applied voltage; and capacitance is inversely proportional to the depletion region thickness. Thus, the capacitance is inversely proportional to the square root of applied voltage. The depletion layer may be formed in a MOS device, but the depletion layer can also be made of a p-n-junction or a Schottky diode.
The temperature compensation capacitor bank 118 is preferably insensitive to temperature. The temperature compensation capacitor bank 118 may be designed based on an understanding (e.g. a calculation or simulation) of the temperature dependence of frequency (or the change in capacitance of the other capacitors) of the DCO 110. The range of tuning and the relationship between the digital control signal 144 and the resulting change in capacitance of the temperature compensation bank may be based on a calculated relationship between temperature and change in frequency for the DCO 110. At least some of the varactors CvarN may comprise an equal capacitance (for fixed step adjustment of capacitance). At least some of the varactors CvarN may be binary weighted, so as to increase the range of adjustment that is possible.
The temperature compensation capacitor bank 118 may comprise a first capacitor bank connected and/or configured to select a size of a fixed step of adjustment of a second capacitor bank.
A suitable varactor bank arrangement for the temperature compensation capacitor bank is disclosed in US 937721 B1.
The selected temperature (which may correspond with the break-point mentioned above) may be the middle of the operating temperature range. The operating temperature range may be defined by a high temperature (e.g. 120 degrees C.) and a low temperature (e.g. −40 degrees C.). The mid-point temperature may be 40 degrees C.
The frequency change fstep resulting from a step (e.g. switching in and out the least significant varactor) of the temperature compensation bank may be determined after the PV compensation is performed.
As already mentioned above, the relationship Vref(T) may be a linear relationship defined by a slope. Conveniently, changing the slope does not result in a change in the reference voltage when the temperature is at the mid-point temperature (i.e. the slope is adjustable about the midpoint temperature). This means that changing the slope of Vref(T) will affect the supply voltage to the DCO at the high temperature and the low temperature.
The temperature of the DCO may be reduced to the low temperature, and the slope of the voltage reference Vref(T) varied while the output frequency is measured. The relationship between the DCO output frequency at the low temperature and the slope may thereby be determined.
The temperature of the DCO may be increased to the high temperature, and the slope of the voltage reference Vref(T) varied while the output frequency is measured. The relationship between the DCO output frequency at the high temperature and the slope may thereby be determined.
In a subsequent step, a slope that minimises the difference (in an absolute sense) between the frequency output from the DCO at the high and low temperature is selected. This slope will substantially cancel linear frequency error (or at least reduce it as much as possible).
The non-linear error in a typical LC-DCO may be substantially quadratic (as discussed above). After performing the steps described above, the frequency at the mid-point temperature is known, and the frequency at the low temperature and high temperature are known. The linear error can be assumed to be zero, and a quadratic function can therefore be fitted to the frequencies at low, mid and high temperatures. The control logic 142 may be configured to receive the temperature signal and break point signal (corresponding with the mid-point temperature) and to provide a signal to the temperature compensation bank that causes a change in capacitance that substantially cancels the quadratic error function in the frequency (e.g. based on knowledge of the frequency step fstep). Enabling the temperature compensation bank will subsequently substantially reduce the non-linear frequency error.
One application for a DCO according to the according to the disclosure may be a phase locked loop as a clock generator (e.g. with <500 ppm/K drift).
From reading the present disclosure, other variations and modifications will be apparent to the skilled person. Such variations and modifications may involve equivalent and other features which are already known in the art of phase locked loops, and which may be used instead of, or in addition to, features already described herein.
Although the appended claims are directed to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention.
Features which are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination. The applicant gives notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
For the sake of completeness it is also stated that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality, and reference signs in the claims shall not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
16306784.6 | Dec 2016 | EP | regional |