Self-calibrating fractional-N phase lock loop and method thereof
09705512 ยท 2017-07-11
Assignee
Inventors
Cpc classification
H03L7/1976
ELECTRICITY
H03L7/093
ELECTRICITY
H03L7/0891
ELECTRICITY
International classification
H03L7/06
ELECTRICITY
H03L7/099
ELECTRICITY
H03L7/197
ELECTRICITY
Abstract
A circuit receives a reference clock and output an output clock in accordance with a clock multiplication factor, the circuit comprising: a digitally controlled timing adjustment circuit, a timing detection circuit, a loop filter, a controllable oscillator, a clock divider, a modulator, and a calibration circuit, wherein the modulator is configured to modulate a clock multiplication factor into a division factor and also calculate a pre-known noise caused by the modulation, and the digitally controlled timing adjustment circuit, the timing detection circuit, the loop filter, the controllable oscillator, and the clock divider form a feedback loop such that a frequency of the output clock is equal to a frequency of the reference clock multiplied by the clock multiplication, but a pre-known noise caused by the modulation is corrected by the digitally controlled timing adjustment circuit, which is calibrated by the calibration circuit in a closed-loop manner to minimize a correlation between the pre-known noise and an output of the timing detection circuit.
Claims
1. A circuit comprising: a digitally controlled timing adjustment circuit configured to receive a first clock and a second clock and output a third clock and a fourth clock in accordance with a noise cancellation signal and a gain control signal; a timing detection circuit configured to receive the third clock and the fourth clock and output a timing error signal; a filtering circuit configure to receive the timing error signal and output an oscillator control signal; a controllable oscillator configured to receive the oscillator control signal and output a fifth clock; a clock divider configured to receive the fifth clock and output the second clock in accordance with a division factor; a modulator configured to receive a clock multiplication factor and output the division factor and the noise cancellation signal, wherein a mean value of the division factor is equal to the clock multiplication factor; and a calibration circuit configured to receive the timing error signal and the noise cancellation signal and output the gain control signal.
2. The circuit of claim 1, wherein a timing difference between the fourth clock and the third clock is equal to a sum of: a timing difference between the second clock and the first clock, the noise cancellation signal scaled by the gain control signal, and a fixed timing offset.
3. The circuit of claim 1, wherein the digitally controlled timing adjustment circuit comprises: a fixed-delay circuit configured to receive the second clock and output the fourth clock, and a digitally controlled variable-delay circuit configured to receive the first clock and output the third clock in accordance with the noise cancellation signal and the gain control signal.
4. The circuit of claim 3, wherein a delay of the digitally controlled variable delay circuit is linearly dependent on the noise cancellation signal and also linearly dependent on the gain control signal.
5. The circuit of claim 4, wherein the calibration circuit comprises a charge pump configured to receive the timing error signal and output an intermediate current signal in accordance with a common-mode feedback voltage, a single-pole-double-throw switch controlled by a sign of the noise cancellation signal, an integrator configured to receive the intermediate current signal via the single-pole-double-throw switch and output the gain control signal, and a common-mode feedback network configured to receive a first voltage at a positive input terminal and a second voltage at a negative input terminal of the integrator and output the common mode feedback voltage, wherein: a first throw of the single-pole-double-throw switch couples to the positive input terminal of the integrator, and a second throw of the single-pole-double-throw switch couples to the negative input terminal of the integrator.
6. The circuit of claim 5, wherein the integrator comprises a differential operational amplifier and two feedback capacitors.
7. The circuit of claim 6, wherein the single-pole double-throw switch is configured to steer the intermediate current to the positive input terminal of the integrator when the noise cancellation signal is of a first sign, and steer the intermediate current to the negative input terminal of the integrator when the noise cancellation signal is of a second sign.
8. The circuit of claim 1, wherein the modulator comprises a first order delta-sigma modulator.
9. The circuit of claim 1, wherein the controllable oscillator is a voltage-controlled oscillator.
10. The circuit of claim 1, wherein the clock divider is a counter.
11. A method comprising: receiving a first clock and a clock multiplication factor; modulating the clock multiplication factor into a division factor, wherein a mean value of the division factor is equal to the clock multiplication factor; establishing a noise cancellation signal in accordance with a difference between the clock multiplication factor and the division factor; deriving a third clock and a fourth clock from the first clock and a second clock using a digitally controlled timing adjustment circuit in accordance with the noise cancellation signal and a gain control signal; establishing a timing error signal by detecting a timing difference between the fourth clock and the third clock; filtering the timing error signal into an oscillator control signal; outputting a fifth clock in accordance with the oscillator control signal using a controllable oscillator; outputting the second clock by dividing down the fifth clock in accordance with the division factor; and adjusting the gain control signal in accordance with a correlation between the timing error signal and the noise cancellation signal.
12. The method of claim 11, wherein the digitally controlled timing adjustment circuit comprises: a fixed-delay circuit configured to receive the second clock and output the fourth clock, and a digitally controlled variable-delay circuit configured to receive the first clock and output the third clock in accordance with the noise cancellation signal and the gain control signal.
13. The method of claim 12, wherein a delay of the digitally controlled variable delay circuit is linearly dependent on the noise cancellation signal and also linearly dependent on the gain control signal.
14. The method of claim 11, wherein adjusting the gain control signal in accordance with a correlation between the timing error signal and the noise cancellation signal the calibration circuit comprises using a calibration circuit comprising: a charge pump configured to receive the timing error signal and output an intermediate current signal in accordance with a common-mode feedback voltage, a single-pole-double-throw switch controlled by a sign of the noise cancellation signal, an integrator configured to receive the intermediate current signal via the single-pole-double-throw switch and output the gain control signal, and a common-mode feedback network configured to receive a first voltage at a positive input terminal and a second voltage at a negative input terminal of the integrator and output the common mode feedback voltage, wherein: a first throw of the single-pole-double-throw switch couples to the positive input terminal of the integrator, and a second throw of the single-pole-double-throw switch couples to the negative input terminal of the integrator.
15. The method of claim 14, wherein the integrator comprises a differential operational amplifier and two feedback capacitors.
16. The method of claim 15, wherein the single-pole double-throw switch is configured to steer the intermediate current to the positive input terminal of the integrator when the noise cancellation signal is of a first sign, and steer the intermediate current to the negative input terminal of the integrator when the noise cancellation signal is of a second sign.
17. The method of claim 11, wherein modulating the clock multiplication factor into the division factor comprises using a first order delta-sigma modulator.
18. The method of claim 11, wherein the controllable oscillator is a voltage controlled oscillator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(11) The present invention relates to phase lock loops. While the specification describes several example embodiments of the invention considered favorable modes of practicing the invention, it should be understood that the invention can be implemented in many ways and is not limited to the particular examples described below or to the particular manner in which any features of such examples are implemented. In other instances, well-known details are not shown or described to avoid obscuring aspects of the invention.
(12)
(13) PLL 100 will be the same as the aforementioned prior art PLL if the digitally controlled timing adjustment circuit 160 and the calibration circuit 180 are removed and PFD 110 receive CK1 and CK2, instead of CK3 and CK4. Similar to the prior art PLL, PLL 100 receives CK1 and outputs CK5 using VCO 140, which is adjusted in a closed loop manner via a feedback path comprising the clock divider 150, PFD 110, CP 120, and LF 130, such that a frequency of CK5 is equal to a frequency of CK1 times N.sub.MUL, which is not a pure integer. Since N.sub.MUL is not a pure integer but N.sub.DIV (which is the clock division factor of the clock divider 150) needs to be an integer, N.sub.DIV must be modulated in a way such that a mean value of N.sub.DIV equals N.sub.MUL. Modulator 170 receives N.sub.MUL and outputs N.sub.DIV, effectively modulating N.sub.DIV such that the mean value of N.sub.DIV equals N.sub.MUL. In doing so, the average frequency of CK5 is equal to the frequency of CK1 times N.sub.MUL, but an instantaneous timing of CK2 might deviate from an ideal timing of a fractional clock divider that allows a non-integer division factor of N.sub.MUL. The deviation of the instantaneous timing of CK2 from the ideal timing due to the modulation of N.sub.DIV leads to an instantaneous noise in the timing difference between CK2 and CK1. However, the instantaneous noise of the timing difference between CK2 and CK1 due to the modulation of N.sub.DIV is pre-known. The instantaneous noise is calculated by the modulator 170 and represented by N.sub.C. The digital controlled timing adjustment circuit 160 is configured to correct the instantaneous noise in the timing difference between CK2 and CK1 due to the modulation of N.sub.DIV, such the timing difference between CK4 and CK3 is free of the instantaneous noise. However, N.sub.C is numeric and digital in nature, while the timing difference between CK2 and CK1 is temporal analog in nature. A function of digital-to-analog conversion is performed by the digitally controlled timing adjustment circuit 160 to convert N.sub.C into the amount of timing difference that needs to be cancelled. G.sub.C determines a gain control of the digital-to-analog conversion.
(14) In an embodiment, a function of the digitally controlled timing adjustment circuit 160 can be described by the following mathematical expression:
t.sub.4t.sub.3=t.sub.2t.sub.1+N.sub.C.Math.G.sub.C+t.sub.OS(1)
Here, t.sub.1 is a timing of a rising edge of CK1, t.sub.2 is a timing of a rising edge of CK2, t.sub.3 is a timing of a rising edge of CK3, t.sub.4 is a timing of a rising edge of CK4, and t.sub.OS is a fixed timing offset. Here, t.sub.2t.sub.1 is a timing difference between CK2 and CK1, while t.sub.4t.sub.3 is a timing difference between CK4 and CK3. S.sub.TE represents a relative timing between CK4 and CK3 and is mathematically equal to t.sub.4t.sub.3. N.sub.C presents the instantaneous noise in t.sub.2t.sub.1 due to the modulation of N.sub.DIV. If G.sub.C, which is the conversion gain for converting N.sub.C into the timing difference to be cancelled, is set properly, the noise in t.sub.2t.sub.1 due to the modulation of N.sub.DIV will be corrected and absent in t.sub.4t.sub.3. On the other hand, if G.sub.C is not set properly, the noise will be either over-corrected or under-corrected, resulting in a residual noise in t.sub.4t.sub.3 that will become a part of S.sub.TE. When G.sub.C is set too large (small), the noise will be over-corrected (under-corrected); as a result, t.sub.4t.sub.3 will contain a residual noise that is positively (negatively) correlated with N.sub.C, and therefore a level of S.sub.TE will tend to be too high (low) when N.sub.C is positive and too low (high) when N.sub.C is negative. Calibration circuit 180 thus adjusts G.sub.C in accordance with a correlation between N.sub.C and S.sub.TE: when S.sub.TE is positively (negatively) correlated with N.sub.C, it indicates G.sub.C is too large (small) and needs to be decreased (increased).
(15) In an embodiment depicted in
(16) In an embodiment depicted in
(17) In an embodiment depicted in
(18) In an embodiment depicted in
(19) Clock divider 150 can be embodied by a counter that increments a count upon a rising edge of CK5. The count starts with 0, increments to 1 upon a rising edge of CK5, then increments to 2 upon a next rising edge of CK5, and so on. When the count reaches N.sub.DIV1, it wraps around to 0 upon a next rising edge of CK5. In this manner, the counter cyclically counts from 0 to N.sub.DIV1. CK2 is asserted whenever the count equals 0, and de-asserted otherwise.
(20) Digitally controlled timing adjustment circuit 160 receives CK1 and CK2 and outputs CK3 and CK4, so that a timing difference between CK4 and CK3 is related to a timing difference between CK2 and CK1 in accordance with a relation described by equation (1). In an embodiment depicted in
(21) In an embodiment, G.sub.C is a differential signal comprising a first end G.sub.C+ and a second end G.sub.C, wherein G.sub.C G.sub.C+G.sub.C. By way of example but not limitation, N.sub.C is a four-bit word comprising four bits N.sub.C[0], N.sub.C[1], N.sub.C [2], and N.sub.C [3]. In an embodiment depicted in
(22) The calibration circuit 180 outputs G.sub.C based on a correlation between S.sub.TE and N.sub.C. In an embodiment, G.sub.C is established in accordance with an algorithm of adaptation described by the following equation
(23)
Here, is an adaptation constant, G.sub.C.sup.(old) is a value before adaptation, and G.sub.C.sup.(new) is a value after adaptation. A calibration circuit 200 depicted in
(24) The CM feedback network 250 comprises: two resistors 252 and 253 configured to form a serial connection between V.sub.X+ and V.sub.X to tap a common-mode voltage V.sub.CM (i.e., to do CM detection), and an operational amplifier 254 configure to receive a common-mode reference voltage V.sub.CMR at an non-inverting terminal (labeled by +) and the common-mode voltage V.sub.CM at an inverting terminal (labeled by ) and output a common-mode feedback voltage V.sub.CMFB to control the charge-down current I.sub.DN. In an alternative embodiment not shown in figure, the common-mode feedback voltage V.sub.CMFB to control the charge-down current I.sub.UP. In either case, the CM feedback network 250 adjusts a part of the charge pump 210 in a closed loop manner, so that a mean value of V.sub.X+ and V.sub.X will be approximately equal to V.sub.CMR. Common-mode feedback is well known to those of ordinary skill in the art and thus not described in detail here.
(25) In an embodiment, MOD 170 of
(26) Now refer to
(27) Still refer to
(28) Now refer to
(29) In accordance with an embodiment of the present invention, a flow chart 400 of a method comprises: receiving a first clock and a clock multiplication factor (step 401); modulating the clock multiplication factor into a division factor, wherein a mean value of the division factor is equal to the clock multiplication factor (step 402); establishing a noise cancellation signal in accordance with a difference between the clock multiplication factor and the division factor (step 403); deriving a third clock and a fourth clock from the first clock and a second clock using a digitally controlled timing adjustment circuit in accordance with a noise cancellation signal and a gain control signal (step 404); establishing a timing error signal by detecting a timing difference between the fourth clock and the third clock (step 405); filtering the timing error signal into an oscillator control signal (step 406); outputting a fifth clock in accordance with the oscillator control signal using a controllable oscillator (step 407); outputting the second clock by dividing down the fifth clock in accordance with the division factor (step 408); and adjusting the gain control signal in accordance with a correlation between the timing error signal and the noise cancellation signal (step 409).
(30) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.