High-speed high-resolution digitally-controlled oscillator and method thereof
10797713 ยท 2020-10-06
Assignee
Inventors
Cpc classification
H03K3/011
ELECTRICITY
International classification
Abstract
A method comprises: using a plurality of gain stages cascaded in a ring topology to form a ring oscillator configured to output an oscillation signal; controlling a supply voltage of said ring oscillator using a low-speed DAC (digital-to-analog converter) in accordance with a coarse control word; providing a capacitive load at an inter-stage node of said ring oscillator using a varactor array controlled by a control voltage array; establishing said control voltage array using a high-speed DAC array in accordance with a fine control word; adjusting the coarse control word upon a start-up to make an oscillation frequency of said oscillation signal approximately equal to target value; and adjusting the fine control word in a closed loop manner in accordance with a detection of a timing error of said oscillation signal.
Claims
1. A DCO (digitally-controlled oscillator) comprising: a ring oscillator having a plurality of gain stages cascaded in a ring topology with a negative feedback to output an oscillation signal at an inter-stage node in accordance with a supply voltage at a supply node; a low-speed DAC (digital-to-analog converter) configured to output a supply current to the supply node to establish the supply voltage in accordance with a coarse control word; a varactor array configured to provide a capacitive load to said inter-stage node in accordance with a control voltage array; and a high-speed DAC array configured to output said control voltage array in accordance with a fine control word, wherein the low-speed DAC further comprises: a current to voltage conversion circuit configured to convert a summed current into a bias voltage; and a low pass filter configured to filter the bias voltage into a filtered bias voltage.
2. The DCO of claim 1, wherein each of said plurality of gain stages comprises a differential pair configured to receive an oscillating voltage from a preceding gain stage and output an oscillating voltage to a succeeding gain stage and a regenerative load configured to present a negative resistance.
3. The DCO of claim 1, wherein the low-speed DAC comprises a current source and a plurality of switched-current cells configured to jointly output the summed current in accordance with the coarse control word.
4. The DCO of claim 3, wherein each of said plurality of switch-current cell comprises a current source and a switch controlled by a respective bit of the coarse control word.
5. The DCO of claim 1, wherein the low-speed DAC further comprises a MOS (metal oxide semiconductor) transistor configured to output the supply current in accordance with the filtered bias voltage.
6. The DCO of claim 5, wherein the MOS transistor is a PMOS (p-channel metal oxide semiconductor) transistor configured in a common-source amplifier topology.
7. The DCO of claim 5, wherein the MOS transistor is a NMOS (n-channel metal oxide semiconductor) transistor configured in a source follower topology.
8. The DCO of claim 1, wherein the varactor array comprises a plurality of varactor pairs and the control voltage array comprises a plurality of control voltages, wherein each varactor pair in said plurality of varactor pairs is controlled by a respective control voltage in said control voltage array.
9. The DCO of claim 8, wherein the high-speed DAC array comprises a decoder configured to decode the fine control word into a plurality of decoded control words, and a plurality of digital-to-analog converters, wherein each digital-to-analog converter in said plurality of digital-to-analog converters is controlled by a respective decoded control word in said plurality of decoded control words.
10. The DCO of claim 1, wherein the coarse control word is adjusted upon a start-up in accordance with a comparison of an oscillation frequency of the oscillation signal with a target value and then frozen.
11. The DCO of claim 10, wherein after the coarse control word is adjusted and frozen the fine control word is adjusted in a closed loop manner in accordance with a detection of a timing error of the oscillation signal.
12. The DCO of claim 11, wherein the timing error of the oscillation signal is a difference between a timing of the oscillation signal and a reference timing provided by either or reference clock or a data signal.
13. A DCO (digitally-controlled oscillator) comprising: a ring oscillator having a plurality of gain stages cascaded in a ring topology with a negative feedback to output an oscillation signal at an inter-stage node in accordance with a supply voltage at a supply node; a low-speed DAC (digital-to-analog converter) configured to output a supply current to the supply node to establish the supply voltage in accordance with a coarse control word; a varactor array configured to provide a capacitive load to said inter-stage node in accordance with a control voltage array; and a high-speed DAC array configured to output said control voltage array in accordance with a fine control word, wherein the varactor array comprises a plurality of varactor pairs and the control voltage array comprises a plurality of control voltages, wherein each varactor pair in said plurality of varactor pairs is controlled by a respective control voltage in said control voltage array, wherein the high-speed DAC array comprises a decoder configured to decode the fine control word into a plurality of decoded control words, and a plurality of digital-to-analog converters, wherein each digital-to-analog converter in said plurality of digital-to-analog converters is controlled by a respective decoded control word in said plurality of decoded control words, wherein a sum of said plurality of decoded control words is equal to the fine control word.
14. The DCO of claim 13, wherein the decoder decodes the fine control word based on a thermometer code.
15. The DCO of claim 13, wherein the decoder decodes the fine control word based on a binary code.
16. The DCO of claim 13, wherein each digital-to-analog converter in said plurality of digital-to-analog converters comprises: a plurality of switch-current cells configured to output a summed current in accordance with a respective decoded control word in said plurality of decoded control words, and a resistor configured to convert the summed current into a respective control voltage in said control voltage array.
17. The DCO of claim 16, wherein each switch-current cell in said plurality of switch-current cells comprises a current source and a switch controlled by a respective bit of the respective decoded control word.
18. A method comprising: providing a plurality of gain stages cascaded in a ring topology to form a ring oscillator configured to output an oscillation signal; controlling a supply voltage of said ring oscillator using a low-speed DAC (digital-to-analog converter) in accordance with a coarse control word, wherein the low-speed DAC operates by: using a current to voltage conversion circuit to convert the summed current into a bias voltage; and using a low pass filter configured to the bias voltage into a filtered bias voltage; providing a capacitive load at an inter-stage node of said ring oscillator using a varactor array controlled by a control voltage array; establishing said control voltage array using a high-speed DAC array in accordance with a fine control word; adjusting the coarse control word upon a start-up to make an oscillation frequency of said oscillation signal approximately equal to a target value; and adjusting the fine control word in a closed loop manner in accordance with a detection of a timing error of said oscillation signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THIS DISCLOSURE
(8) The present disclosure is directed to digitally-controlled oscillator. While the specification describes several example embodiments of the disclosure 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 disclosure.
(9) Persons of ordinary skill in the art understand terms and basic concepts related to microelectronics that are used in this disclosure, such as voltage, current, CMOS (complementary metal oxide semiconductor), NMOS (N-channel metal oxide semiconductor) transistor, PMOS (N-channel metal oxide semiconductor) transistor, resistor, capacitor, varactor, resistance, capacitance, current source, bias, node, amplifier, gain, common-source, source follower, transconductance, load, series, shunt, clock, frequency, ring oscillator, digital-to-analog converter, diode-wired, current mirror, regenerative load, differential pair, and negative feedback. Terms like these are used in a context of microelectronics, and the associated concepts are apparent to those of ordinary skills in the art and thus will not be explained in detail here. Those of ordinary skill in the art can also recognize a symbol of NMOS transistor, and identify the source, the gate, and the drain terminals thereof.
(10) This present disclosure is disclosed in an engineering sense. For instance, X is equal to Y means a difference between X and Y is smaller than a specified engineering tolerance; X is much smaller than Y means X divided by Y is smaller than an engineering tolerance; and X is zero means X is smaller than a specified engineering tolerance.
(11) In this disclosure, a signal is either a voltage or a current that represents a certain information.
(12) A logical signal is a signal of two states: a high state and a low state. Here, a logical signal is said to be in the high (low) state when a level of said logical signal is above (below) a certain trip point pertaining to said logical signal. The statement that (the logical signal) X is high, means that, in a context of logical signal: (the logical signal) X is in the high state.
(13) A clock is a logical signal that cyclically toggles between a high state and a low state.
(14) Throughout this disclosure, V.sub.DD denotes a power supply node. For convenience, V.sub.DD can also refer to a power supply voltage provided at the power supply node. That is, V.sub.DD is 0.9V means a power supply voltage at the power supply node V.sub.DD is 0.9V. Since a circuit can have a plurality of power supply nodes, which may or may not be of the same voltage, a numeric suffix is appended for differentiation purpose. For instance, V.sub.DD1 denotes a first power supply node, V.sub.DD2 denotes a second power supply node, and V.sub.DD3 denotes a third power supply node. Note that although V.sub.DD1, V.sub.DD2, andV.sub.DD3 may be of different voltages, but they may not be necessarily be of different voltages.
(15) A schematic diagram of a DCO (digitally-controlled oscillator) 100 in accordance with an embodiment of the present disclosure is shown in
(16) By way of example but not limitation, the cores circuit 110 comprises two gain stages including a first gain stage GS1 and a second gain stage GS2, and the tuning network 130 comprises two varactor arrays including a first varactor array VA1 and a second varactor array VA2. The first gain stage GS1 receives a first pair of oscillating voltages V.sub.1 and V.sub.2 at a first pair of inter-stage nodes 111 and 112, respectively, and output a second pair of oscillating voltages V.sub.3 and V.sub.4 at a second pair of inter-stage nodes 113 and 114, respectively. The second gain stage GS2 receives the second pair of oscillating voltages V.sub.3 and V.sub.4 at the second pair of inter-stage nodes 113 and 114, respectively and outputs the first pair of oscillating voltages V.sub.1 and V.sub.2 at the first pair of inter-stage nodes 111 and 112, respectively. The first varactor array VA1 provides a capacitive load across the second pair of inter-stage nodes 113 and 114. The second varactor array VA2 provides a capacitive load across the first pair of inter-stage nodes 111 and 112. A plurality of gain stages cascaded in a ring topology with a negative feedback, such as gain stages GS1 and GS2 in core circuit 110, form a ring oscillator and can sustain an oscillation; this is well known in the prior art and thus not explained in detail here.
(17) In DCO 100, V.sub.1, V.sub.2, V.sub.3, and V.sub.4 are all oscillating voltages of an oscillation frequency. Any of V.sub.1, V.sub.2, V.sub.3, and V.sub.4 can be said to be an oscillation signal of DCO 100.
(18) Gain stages GS1 and GS2 are instantiated from the same building block; each has a first input pin V.sub.i+, a second input pin V.sub.i, a first output pin V.sub.o+, a second output pin V.sub.o, and a source pin V.sub.s. Gain stage GS1 receives V.sub.SUP, V.sub.1, and V.sub.2, via its V.sub.s, V.sub.i+, and V.sub.i pins, respectively, and output V.sub.3, and V.sub.4 via its V.sub.o and V.sub.o+ pins, respectively. Gain stage GS2 receives V.sub.SUP, V.sub.3, and V.sub.4 via its V.sub.s, V.sub.i+, and V.sub.i pins, respectively, and output V.sub.1 and V.sub.2 via its V.sub.o+, and V.sub.o pins, respectively.
(19) A schematic diagram of an exemplary gain stage 200 that can be instantiated to embody gains stages GS1 and GS2 is shown in
(20) As shown in
(21) A schematic diagram of a DAC 300 that can be used to embody LS DAC 120 is shown in
(22) Note that the diode-wired PMOS transistor 301 is an example of a current-to-voltage converter, as it converts the current I.sub.S1 into the voltage V.sub.301 using the diode-wired PMOS transistor 301 as a load. In an alternative embodiment not shown in figure, the diode-wired PMOS transistor 301 is replaced by a resistor, which can also be used as a load.
(23) PMOS transistor 302 is configured in a common-source amplifier topology, wherein a higher (lower) V.sub.302 leads to a smaller (larger) I.sub.sup. In an alternative embodiment not shown in figure, PMOS transistor 302 is replaced with a NMOS transistor configured in a source follower topology. In this alternative embodiment, the supply current I.sub.sup increases (decreases) when the filtered bias voltage V.sub.302 rises (falls), and therefore a logical inversion on W.sub.C[0], W.sub.C[1], W.sub.C[2], and so on is needed, otherwise a direction of a change in I.sub.sup in response to a change of W.sub.C will be opposite. The NMOS transistor based alternative embodiment can be used to filter Supply noise (V.sub.DD1) and provide a cleaner power V.sub.DD2 to the GS1/GS2 stages.
(24) Generally, a semiconductor circuit slows down as a temperature rises. There is no exception to DCO 100. To compensate a slow-down of the oscillation due to a temperature rise, a higher supply current I.sub.sup is needed when the temperature rises. In an embodiment, gate-biasing voltages V.sub.B0 and V.sub.B1 are established using a PTAT (proportional to absolute temperature) voltage generator, so that currents I.sub.309 and I.sub.310, I.sub.311, I.sub.312, and so on, and consequently I.sub.S1 and I.sub.sup can rise when the temperature rises. This can effectively reduce an amount of drift in the oscillation frequency of DCO 100 due to a temperature drift. PTAT voltage generator is well known in the prior art and thus not described in detail here.
(25) A schematic diagram of a varactor array 400 that can be instantiated to embody varactor array VA1 and VA2 is shown in
(26) A functional block diagram of a DAC array 500 that can be used to embody HS DAC array 140 is shown in
W.sub.F=W.sub.F0+W.sub.F1+W.sub.F2+ . . . .sub.iW.sub.Fi(1)
(27) In a first embodiment, a thermometer code is used so that values of W.sub.F0, W.sub.F1, W.sub.F2 and so on are all between 0 and N and are determined by the following equation:
(28)
(29) for i=0, 1, 2, and so on, and W.sub.Fi is represented in a bus notation by W.sub.Fi[N1:0] in accordance with the following equation:
(30)
(31) for j=0, 1, 2, . . . , N1. Here, mod() denotes a modulo operation. For instance, mod(5,2) means 5 mod 2 and is equal to 1.
(32) By way of example, in a case where N is 4, a table in accordance with equations (2) and (3) is shown below:
(33) TABLE-US-00001 W.sub.F W.sub.F2 W.sub.F2[1:0] W.sub.F1 W.sub.F1[1:0] W.sub.F0 W.sub.F0[1:0] 0 0 00 0 00 0 0000 1 0 0000 0 0000 1 0001 2 0 0000 0 0000 2 0011 3 0 0000 0 0000 3 0111 4 0 0000 0 0000 4 1111 5 0 0000 1 0001 4 1111 6 0 0000 2 0011 4 1111 7 0 0000 3 0111 4 1111 8 0 0000 4 1111 4 1111 9 1 0001 4 1111 4 1111 10 2 0011 4 1111 4 1111 11 3 0111 4 1111 4 1111 12 4 1111 4 1111 4 1111
(34) In an alternative embodiment, a binary code is used so that values of W.sub.F0, W.sub.F1, W.sub.F2 and so on are all between 0 and 2.sup.N1 and are determined by the following equation:
(35)
(36) for i=0, 1, 2, and so on, and W.sub.Fi is represented in a bus notation by W.sub.Fi [N1:0] in accordance with a binary representation.
(37) By way of example, for a case where N is 3, a table in accordance with equations (4) along with binary representation is shown below:
(38) TABLE-US-00002 W.sub.F W.sub.F2 W.sub.F2[2:0] W.sub.F1 W.sub.F1[2:0] W.sub.F0 W.sub.F0[2:0] 0 0 000 0 000 0 000 1 0 000 0 000 1 001 2 0 000 0 000 2 010 3 0 000 0 000 3 011 4 0 000 0 000 4 100 5 0 000 1 001 4 100 6 0 000 2 010 4 100 7 0 000 3 011 4 100 8 0 000 4 100 4 100 9 1 001 4 100 4 100 10 2 010 4 100 4 100 11 3 011 4 100 4 100 12 4 100 4 100 4 100
(39) Note that W.sub.Fi[0], W.sub.Fi[1], W.sub.Fi[2]) and so on are all logical signals.
(40) A schematic diagram of a DAC 600 that can be instantiated to embody HS DAC 521, 522, 523, and so on is shown in
(41) Although it is shown in
(42) Upon a start-up, a coarse adjustment process is taken, wherein an oscillation frequency of an oscillation signal of DCO 100 (i.e. one of V.sub.1, V.sub.2, V.sub.3 and V.sub.4) is detected and compared with a target value. An oscillation frequency of an oscillation signal can be detected, for instance, using a counter. If the oscillation frequency is higher (lower) than the target value, the coarse control word W.sub.C is decremented (incremented) to decrease (increase) the supply current I.sub.sup and consequently lower (raise) the supply voltage V.sub.sup and cause the oscillation frequency to fall (rise). The coarse adjustment process is repeated for a plurality of times, and the oscillation frequency is adjusted toward the target value. After that, the coarse control word W.sub.C is frozen, and a fine adjustment process is taken in a closed loop manner, wherein a timing error of the oscillation signal is detected, and the fine control word W.sub.C is adjusted in accordance with the timing error. If DCO 100 is used in a phase lock loop, the timing error is a difference between the timing of the oscillation signal and a timing of a reference clock and can be detected, for instance, using a time-to-digital converter. If DCO 100 is used in a clock-data recovery loop, the timing error of the oscillation signal is a difference between the timing of the oscillation signal and a timing embedded in a data signal and can be detected, for instance, using a binary phase detector. Phase lock loop, time-to-digital converter, clock-data recovery loop, and binary phase detector are all well known in the prior art and thus not described in detail here. If the timing error is positive (negative), indicating the timing of the oscillation signal is earlier (later) than expected, the fine control word W.sub.F is incremented (decremented) to lower (raise) a voltage of V.sub.C[M1,:0] and consequently increase (decrease) a capacitance of tuning network 130 and as a result slow down (speed up) the oscillation signal. The fine control word W.sub.F is thus adjusted to minimize the difference between the timing of the oscillation signal and the timing of the reference clock or the timing embedded in the data signal.
(43) An oscillation frequency of DCO 100 is jointly controlled by both the coarse control word W.sub.C and the fine control word W.sub.F. That W.sub.C is said to be a coarse control word while W.sub.F is said to be a fine control word is stated in a relative sense, i.e. an incremental change in response to W.sub.C is substantially greater than an incremental change in response to W.sub.F. By way of example but not limitation: an oscillation frequency of DCO 100 is approximately 10 GHz when W.sub.C is set to minimal (i.e. 0); W.sub.C is a 6-bit word (in binary representation); an incremental change of the oscillation frequency due to an incremental change of W.sub.C is approximately 50 MHz; a total range of tuning by W.sub.C is approximately 3.2 GHz; W.sub.F is a 8-bit word (in binary representation); an incremental change of the oscillation frequency due to an incremental change of W.sub.F is approximately 1 MHz; and a total range of tuning by W.sub.F is approximately 250 MHz. Due to using a combination of a coarse control and a fine control, a wide-range high-resolution tuning is fulfilled. However, when used in a closed loop, W.sub.C is frozen and only W.sub.F is adapted. This allows the tuning circuit pertaining to W.sub.C to be low-noised (due to no high-speed requirement), while the tuning circuit pertaining to W.sub.F to be fast but not contribute too much noise (due to a small tuning range to cover). As a result, DCO 100 can have a high speed, a high resolution, and a low noise at the same time.
(44) That LS DAC 120 is said to be low-speed while HS DAC array 140 is said to be high-speed is stated in a relative sense, i.e. HS DAC array 140 is substantially faster than LS DAC 120. By way of example but not limitation, a time delay between a change of W.sub.C and a corresponding change of an oscillation frequency of DCO 100 is approximately 10 s, and a time delay between a change of W.sub.F and a corresponding change of an oscillation frequency of DCO 100 is approximately 1 ns. In other words, HS DAC array 140 is approximately ten thousand times faster than LS DAC 120.
(45) As illustrated by the flow diagram 700 shown in
(46) 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 disclosure.