High-speed and high-resolution digitally controlled oscillator and method thereof
By combining low-speed and high-speed DAC arrays in the ring oscillator, and using coarse and fine-tuning control, the noise and complexity issues in the design of high-speed and high-resolution ring oscillators are solved, and a high-speed, high-resolution and low-noise oscillator is achieved design.
Patent Information
- Application Number
- CN202010088385.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-12
- Filing Date
- 2020-02-12
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-02-12
AI Technical Summary
It is difficult for the existing high-speed and high-resolution ring oscillator DCO to meet high-speed and low-noise requirements at the same time, and the complexity of the frequency adjustment network makes the design more difficult.
Using a ring oscillator with multiple gain stages connected in series in a ring shape, combined with a low-speed DAC and a high-speed DAC array, the supply voltage and capacitive load are adjusted respectively through coarse-tuning and fine-tuning control commands to achieve fine adjustment of the oscillation frequency, and through a closed loop Adjust fine control commands to reduce noise.
A high-speed, high-resolution and low-noise oscillator design is achieved, which can effectively follow the reference timing and reduce the impact of noise, making it suitable for high-speed applications.
Smart Images

Figure CN112398471B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to digitally controlled oscillators; more particularly, the present disclosure relates to high speed and high resolution digitally controlled oscillators. Background Art
[0002] A digitally controlled oscillator (DCO) outputs an oscillation signal of a certain oscillation frequency according to a control word; for example, the oscillation frequency is determined by the control word. When the control word changes, the oscillation frequency changes accordingly. The speed of a DCO is measured based on a delay time between "the control word" and "a corresponding change in the oscillation frequency"; the shorter the delay time, the faster the speed. The resolution of a DCO is determined by the amount of change in the oscillation frequency corresponding to a minimum change in the control word; the smaller the increase in the oscillation frequency, the higher the resolution. A DCO is usually included in a closed loop, in which the control word is determined in a feedback manner so that the timing of the oscillation signal follows a reference timing. The closed loop can be a phase-locked loop, or a clock data recovery loop. A high-speed DCO enables the closed loop to keep up with the reference timing faster. A high-resolution DCO enables the timing of the oscillation signal to follow the reference timing more accurately. Generally speaking, what is needed in the art is a high speed and high resolution DCO.
[0003] A DCO includes a core circuit and a tuning network. The core circuit is an active circuit that can maintain an oscillation state; the tuning network can adjust an oscillation frequency. A ring oscillator is a common form used to implement the core circuit because the ring oscillator is compact in physical layout. When a DCO is implemented using a monolithic integrated circuit manufactured by a CMOS (complementary metal oxide semiconductor) process, the DCO will be affected by changes in process, voltage, and temperature (PVT), so that the oscillation frequency of the DCO will have significant differences with PVT changes. If the DCO is based on a ring oscillator form, the difference caused by PVT changes usually needs to be dealt with seriously. On the other hand, a high-resolution DCO requires a frequency-tuning network of a fine granularity. Therefore, the frequency-tuning network not only needs to have a large tuning range to cover the large differences in the DCO oscillation frequency caused by PVT variations, but also needs to have fine tuning capabilities, which usually requires the use of a highly complex tuning network. However, a highly complex tuning network is usually not suitable for high-speed applications because a more complex network is usually slower. In addition, a high-speed circuit tends to be noisier. Therefore, a high-speed, high-resolution ring oscillator-type DCO is usually difficult to design and difficult to meet a low-noise requirement.
[0004] What is needed in the art is a DCO in the form of a ring oscillator having high speed and high resolution characteristics. Summary of the invention
[0005] According to an embodiment of the present disclosure, a digitally controlled oscillator includes: a ring oscillator including a plurality of gain stages, the plurality of gain stages being serially connected in a ring form with a negative feedback to output an oscillation signal to an inter-stage node according to a supply voltage of a supply node; a low-speed digital-to-analog converter (DAC) for outputting a supply current to the supply node to determine the supply voltage according to a coarse control word; a varactor array for providing a capacitive load to the inter-stage node according to a control voltage array; and a high-speed DAC array for outputting the control voltage array according to a fine control command.
[0006] According to an embodiment of the present disclosure, a method includes the following steps: using a plurality of gain stages to be connected in series in a ring form to form a ring oscillator, the ring oscillator being used to output an oscillation signal; using a low-speed digital-to-analog converter (DAC) to control a supply voltage of the ring oscillator according to a coarse control command; using a varactor array controlled by a control voltage array to provide a capacitive load at an inter-stage node of the ring oscillator; using a high-speed DAC array to determine the control voltage array according to a fine control command; adjusting the coarse control command along with a startup procedure so that an oscillation frequency of the oscillation signal approaches a target value; and adjusting the fine control command in a closed-loop manner according to a detection result of a timing error of the oscillation signal.
[0007] The features, implementation and technical effects of the present invention are described in detail below with reference to the accompanying drawings as preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A functional block diagram of a digitally controlled oscillator is shown according to an embodiment of the present disclosure.
[0009] Figure 2 A schematic diagram showing an exemplary embodiment of a gain stage.
[0010] Figure 3 A schematic diagram showing an exemplary embodiment of a low-speed digital-to-analog converter.
[0011] Figure 4 A schematic diagram showing a varactor array.
[0012] Figure 5 A functional block diagram of an exemplary embodiment of a high speed digital to analog converter array is shown.
[0013] Figure 6 A schematic diagram showing an exemplary embodiment of a high speed digital to analog converter; and
[0014] Figure 7 A flow chart of a method is shown according to an embodiment of the present disclosure.
[0015] Explanation of symbols
[0016] 100 Digitally Controlled Oscillator
[0017] 110 Core Circuit
[0018] 120 LS DAC (Low Speed Digital to Analog Converter)
[0019] 130 Adjusting the Network
[0020] 140 HS DAC array (high speed DAC array)
[0021] N SUP Supply Node
[0022] V SUP Supply voltage
[0023] I SUP Supply current
[0024] W C Coarse control commands
[0025] W F Fine-tuning control commands
[0026] V C [M-1:0] M-dimensional control voltage array
[0027] M is an integer greater than one
[0028] GS1 First gain stage
[0029] GS2 Second gain stage
[0030] V i+ First input pin
[0031] V i- Second input pin
[0032] V o+ First output pin
[0033] V o- Second output pin
[0034] V S SOURCE pin
[0035] 111, 112 The first pair of inter-stage nodes
[0036] 113, 114 The second pair of inter-stage nodes
[0037] V1, V2 The first pair of oscillation voltages
[0038] V3, V4 The second pair of oscillation voltages
[0039] VA1 First Varactor Array
[0040] VA2 Second Varactor Array
[0041] 200 gain stages
[0042] 210 Differential Pair
[0043] 211, 212 PMOS transistor pair
[0044] 220 Regenerative load
[0045] 221, 222 NMOS transistor pair
[0046] 300 DAC (Digital to Analog Converter)
[0047] 301 First PMOS transistor
[0048] 302 Second PMOS transistor
[0049] 303 Series resistor
[0050] 304 Shunt capacitor
[0051] 308 Low-pass filter
[0052] 309 A current source implemented by an NMOS transistor
[0053] 310, 320, 330 multiple switching current units
[0054] 311, 321, 331 Current sources implemented by NMOS transistors
[0055] 312, 322, 332 NMOS transistors realize switches
[0056] N S1 Total Node
[0057] I S1 Total current
[0058] V 301 bias
[0059] V 302 Bias after filtering
[0060] V B0 Gate bias
[0061] I 309 Fixed current
[0062] I 310 ,I 320 ,I 330 Multiple controllable currents
[0063] W C [0], W C [1] W C [2] Coarse control command
[0064] V B1 Gate bias
[0065] V DD1First power supply node
[0066] V DD2 Second power supply node
[0067] 400 Varactor Array
[0068] 401, 402 nodes
[0069] 410 First Variant Pair
[0070] 420 Second Varactor Pair
[0071] 430 Third Variant Pair
[0072] 411, 421, 431 First Variable Capacitor
[0073] 412, 422, 432 Second variable container
[0074] V C [0], V C [1] V C [2] Control voltage
[0075] + Positive
[0076] - Negative electrode
[0077] 500 DAC Array
[0078] 510 Decoder
[0079] 521, 522, 523 Multiple HS DACs
[0080] W F0 [N-1:0], W F1 [N-1:0], W F2 [N-1:0] Decoded N-bit command
[0081] N is an integer greater than one
[0082] 600 DAC (Digital to Analog Converter)
[0083] 601 Resistor
[0084] 610, 620, 630 Switching current unit
[0085] V B2 Gate bias
[0086] W Fi [0], W Fi [1] W Fi [2] Decoded commands
[0087] I610 ,I 620 ,I 630 Current
[0088] N S2 Total Node
[0089] I S2 Total current
[0090] V C [i] Output voltage
[0091] 611, 621, 631 Current sources implemented by PMOS transistors
[0092] 612, 622, 632 PMOS transistors realize switches
[0093] 700 Flowchart
[0094] Steps 710-760 DETAILED DESCRIPTION
[0095] The present disclosure is directed to a digitally controlled oscillator. Although the present specification discloses a number of embodiments of the present disclosure that may be considered as preferred examples for implementing the present invention, the present invention may be implemented in a variety of ways, not limited to the specific examples described below, nor to the specific ways used to implement the technical features of the specific examples. In other examples, known details are not shown or described to avoid obstructing the presentation of the present disclosure.
[0096] Those skilled in the art can understand the terms and basic concepts related to microelectronics used in the present disclosure, such as "voltage", "current", "CMOS (complementary metal oxide semiconductor)", "NMOS (N-channel metal oxide semiconductor) transistor", "PMOS (P-channel metal oxide semiconductor) transistor", "resistor", "capacitor", "varicap", "resistance value", "capacitance value", "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". Those similar to these microelectronic terms and basic concepts are obvious to those skilled in the art, so they are not repeated here. Those skilled in the art should be able to recognize the symbol of NMOS transistor, and can recognize the "source", "gate", and "drain" of the symbol.
[0097] The present disclosure is presented from an engineering perspective. For example, "X is equal to Y" means "the difference between X and Y is less than a specified engineering tolerance"; "X is much less than Y" means "X divided by Y is less than an engineering tolerance"; and "X is zero" means "X is less than a specified engineering tolerance".
[0098] In the present disclosure, a signal may be a voltage or a current, which is used to represent specific information.
[0099] A logic signal is a two-state signal. The two-state signal has a high state and a low state. In this document, when the level of a logic signal is higher (lower) than a specific transition point belonging to the logic signal, the logic signal is said to be in the high state (low state). According to the context of the logic signal, "(the logic signal) X is high" means "(the logic signal) X is in the high state".
[0100] A "clock" is a logic signal that cycles back and forth between a high state and a low state.
[0101] In this disclosure, “V DD ” indicates a power supply node. For ease of explanation, “V DD " may also represent a power supply voltage provided to the power supply node, that is, "V DD 0.9V” means “the power supply node V DD The power supply voltage is 0.9V. Since a circuit may have multiple power supply nodes, which may have the same or different voltages, a numerical subscript is attached for different purposes; for example, "V DD1 ” represents a first power supply node, “V DD2 ” represents a second power supply node, “V DD3 ” indicates a third power supply node. It is worth noting that although “V DD1 ”, “V DD2 ” and “V DD3 " may be different voltages, but not necessarily different voltages.
[0102] According to one embodiment of the present disclosure, Figure 1 A schematic diagram of a digitally-controlled oscillator (DCO) 100 is shown. The DCO 100 comprises: a core circuit 110, comprising a plurality of gain stages, the plurality of gain stages being serially connected together in a ring form with a negative feedback to generate a voltage according to a supply node N SUP A supply voltage V SUPMaintain an oscillation state; a low-speed (LS) digital-to-analog converter (DAC) 120 for outputting a supply current I SUP To the supply node N SUP , according to a coarse control word W C Determine the supply voltage V SUP An adjustment network 130, comprising a plurality of variable capacitor arrays, used according to an M-dimensional control voltage array (M-dimensional control voltage array) V C [M-1:0] provides a capacitive load to the core circuit 110, wherein M is an integer greater than one; and a high-speed (HS) DAC array 140 for adjusting the capacitance of the core circuit 110 according to a fine control word W. F Output the M-dimensional control voltage array V C [M-1:0] In this specification, a bus notation is used for V C [M-1:0] represents V C [0], V C [1] V C [2], …, V C A collection of [M-1].
[0103] In a non-limiting example, the core circuit 110 includes two gain stages, the two gain stages include a first gain stage GS1 and a second gain stage GS2; the adjustment network 130 includes two varactor arrays, the two varactor arrays include a first varactor array VA1 and a second varactor array VA2. The first gain stage GS1 receives a first pair of oscillating voltages V1 and V2 at a first pair of inter-stage nodes 111 and 112, respectively, and outputs a second pair of oscillating voltages V3 and V4 at a second pair of inter-stage nodes 113 and 114, respectively. The first gain stage GS2 receives a second pair of oscillating voltages V3 and V4 at a second pair of inter-stage nodes 113 and 114, respectively, and outputs the first pair of oscillating voltages V1 and V2 at the first pair of inter-stage nodes 111 and 112, respectively. The first capacitor array VA1 provides a capacitive load at the second pair of inter-stage nodes 113 and 114. The second capacitor array VA2 provides a capacitive load at the first pair of inter-stage nodes 111 and 112. A plurality of gain stages (eg, gain stages GS1 and GS2) are connected in series in a ring form with negative feedback to form a ring oscillator and maintain oscillation; this is a known technique and will not be described in detail herein.
[0104] In the DCO 100 , V1 , V2 , V3 , and V4 are oscillation voltages with the same oscillation frequency. Any one of V1 , V2 , V3 , and V4 may be referred to as an oscillation signal of the DCO 100 .
[0105] Gain stages GS1 and GS2 can be represented by the same functional blocks, each comprising a first input pin "V i+ ”, a second input pin “V i- ”, a first output pin “V o+ ”, a second output pin “V o- ” and a source pin “V S The gain stage GS1 is connected to its “V S ” and “V i+ ” and “V i- ” pins receive V SUP , V1 and V2, and through their "V o- ” and “V o+ ” pins output V3 and V4 respectively. Gain stage GS2 outputs V S ” and “V i+ ” and “V i- ” pins receive V SUP , V3 and V4, and through their "V o+ ” and “V o- ” pins output V1 and V2 respectively.
[0106] Figure 2 A schematic diagram of an exemplary gain stage 200 is shown, which can be used as an embodiment of each of the gain stages GS1 and GS2. The gain stage 200 includes: a differential pair 210, including a pair of PMOS (p-channel metal oxide semiconductor) transistors 211, 212, which are respectively used to S "A bias state established by the pin "V i+ ” and “V i- ” receives input and outputs to pin “V o- ” and “V o+ ”; and a regenerative load 220, including a pair of NMOS transistors 221, 222 configured in an interleaved coupling configuration. The regenerative load 220 is used to establish a load with a negative resistance value, thereby determining a “right half plane pole”, which can start an oscillation operation (for the core circuit 110, one embodiment of which is the gain stage 200), at which time the differential pair 210 is used to provide a gain and maintain the oscillation operation. Figure 2 The internal connection of the PMOS transistor 211 is as follows: "The source, gate and drain of the PMOS transistor 211 are connected to the pin V S 、V i+ With V o-” is self-explanatory to those skilled in the art, so the details are omitted here. The delay of the gain stage 200 is caused by the transconductance value of the differential pair 210 and the voltage at the pin “V o- ” and “V o+ ” (across pins“V o- "and" V o+ ", across pin "V o- "and" V o+ ”) is determined by a load capacitance value; the higher the transconductance value of the differential pair 210, the higher the capacitance value at the pin “V o- ” and “V o+ "The capacitive load can be charged / discharged faster, so the delay is shorter; on the other hand, at pin "V o- ” and “V o+ The larger the load capacitance value, the slower the capacitive load is charged / discharged, and thus the longer the delay.
[0107] like Figure 1 As shown, an oscillation frequency of the core circuit 110 is determined by a delay of the gain stages GS1 and GS2. The gain stage GS1 (GS2) is determined by its transconductance value and a capacitance value at the interstage nodes 113 (111), 114 (112). The transconductance value of the gain stage GS1 (GS2) is determined by the LS DAC 120 according to the coarse control command W C Provided to the supply node N SUP The supply current I SUP To adjust, and the load capacitance value at the interstage nodes 113 (111) and 114 (112) is controlled by V C The capacitance value of the varactor array VA1 (VA2) of [M-1:0] is adjusted, V C [M-1:0] is composed of the fine adjustment control command W F A larger (smaller) supply current I SUP and a higher (lower) supply voltage V SUP This results in a larger (smaller) transconductance value and a higher (lower) oscillation frequency of the gain stages GS1 and GS2. Following a startup procedure, the transconductance value is adjusted by adjusting the coarse control command W C The oscillation frequency is adjusted to approach a target value, which effectively eliminates the influence of process and voltage changes on the oscillation frequency. After that, the coarse control command W C is frozen, and the load capacitance value is controlled by the fine adjustment control command W FThe timing of the oscillating signal is adjusted in a closed loop manner (e.g., in a phase-locked loop or data recovery loop) so that the timing of the oscillating signal follows the timing of a reference signal. The adjustment of the transconductance value occurs during the start-up process and is not subject to a high-speed requirement. However, the supply current I SUP The noise in is very desirable, otherwise the delays of gain stages GS1 and GS2 will be affected by the inductive variation caused by the noise. Due to the slow nature, LS DAC 120 may use low-pass filtering techniques (which slows down the circuit, but is acceptable in this case) to suppress the supply current I SUP On the other hand, the adjustment of the load capacitance value is performed in a closed loop manner and depends on a high speed requirement. The HSDAC array 140 is designed in a manner such that V C [M-1:0] adapts in a faster manner, and the same applies to the varactor arrays VA1 and VA2.
[0108] Figure 3 A schematic diagram of a DAC 300 is shown, which can be used as an embodiment of the LS DAC 120. The DAC 300 includes: a current source implemented by an NMOS transistor 309 for adjusting the gate bias voltage V B0 Output a fixed current I 309 To a summing node N S1 ; A plurality of switch current units include 310, 320, 330, used according to W C [0], W C [1] W C [2] and other control, outputting multiple controllable currents including I 310 ,I 320 ,I 330 To the summing node N S1 A first PMOS (p-channel metal oxide semiconductor) transistor 301 is configured in a diode-wired topology to transfer the summing node N S1 The total current I received S1 , converted into a bias voltage V 301 A low-pass filter 308, comprising a series resistor 303 and a shunt capacitor 304, is used to filter the bias voltage V 301 To generate a filtered bias voltage V 302 And a second PMOS transistor 302, used according to the filtered bias voltage V 302 The output supply current I SUP to Figure 1 Node NSUP The switch current unit 310 (320, 330) includes a current source implemented by an NMOS transistor 311 (321, 331) and a switch implemented by an NMOS transistor 312 (322, 332), wherein the NMOS transistor 311 (321, 331) is biased by another gate voltage V B1 The NMOS transistor 312 (322, 332) is controlled by W C [0](W C [1] W C [2]). When W C [0](W C [1] W C [2]) is high, the switch current unit 310 (320, 330) is in an "on" state, and I 310 (I 320 ,I 330 ) is based on the gate bias voltage V B1 To establish. C [0](W C [1] W C [2]) is low, the switch current unit 310 (320, 330) is in an "off" state, and I 310 (I 320 ,I 330 ) is zero. C [0], W C [1] W C [2] and so on are all logic signals, which together form the coarse control command W C , therefore, the total current I S1 Controlled by W C In one embodiment, “V DD1 ” and “V DD2 " are short-circuited together and therefore have the same potential; PMOS transistors 301 and 302 form a current mirror, so that the supply current I SUP is based on a coefficient and I S1 The coefficient is determined by the ratio of the W / L (width-to-length ratio) of the PMOS transistor 302 to the W / L of the PMOS transistor 301. The low-pass filter 308 helps to filter out V 302 , thereby filtering out I SUP Except for the low pass filter 308, the DAC 300 is a typical current mode DAC circuit, which is self-explanatory to those skilled in the art and thus will not be described in detail herein.
[0109] It is worth noting that the diode-connected PMOS transistor 301 is an example of a “current-to-voltage converter” because it treats the diode-connected PMOS transistor 301 as a load to convert the current I S1 Converted into voltage V 301 In an alternative embodiment (not shown), the diode-connected PMOS transistor 301 is replaced by a resistor, which can also serve as a load.
[0110] The PMOS transistor 302 is configured as a "common source amplifier" configuration, where a higher (lower) voltage V 302 will result in a smaller (larger) current I SUP In an alternative embodiment (not shown), the PMOS transistor 302 is replaced by an NMOS transistor and configured as a "source follower"; in this alternative embodiment, when the filtered bias voltage V 302 Rise (fall), supply current I SUP Increase (decrease), so W C [0], W C [1] W C [2] etc. to perform a logical inversion process, otherwise the corresponding W C The change of current I SUP The direction of change would be opposite, and this alternative embodiment based on NMOS transistors can be used to filter supply noise (V DD1 ) and provide a cleaner power supply V DD2 to that GS1 / GS2 level.
[0111] Generally speaking, when the temperature rises, the speed of a semiconductor circuit will slow down, and DCO 100 is no exception. In order to compensate for the slower oscillation speed caused by the temperature rise, a higher supply current I SUP In one embodiment, the gate bias voltage V B0 With V B1 is established using a PTAT (proportional to absolute temperature) voltage generator, so that the current I 309 With current I 310 ,I 311 ,I 312 etc. and the current I S1 with I SUP The PTAT voltage generator is a conventional technology, so the details are not described here.
[0112] Figure 4A schematic diagram of a varactor array 400 is shown, which can be used as an embodiment of each of the capacitor arrays VA1 and VA2. The capacitor array 400 includes: a plurality of varactor pairs, including a first varactor pair 410, a second varactor pair 420, a third varactor pair 430, etc., which are respectively controlled by V C [0], V C [1] V C [2] etc. are configured in parallel to realize an adjustable capacitor across two nodes 401, 402. When used as an embodiment of VA1 (VA2), the two nodes 401, 402 correspond to nodes 113 (111) and 114 (112). The V C [0], V C [1] V C [2] etc. are control voltages, which together form V C [M-1:0]. The varactor pair 410 (420, 430) includes: a first varactor 411 (421, 431) having a positive electrode and a negative electrode, the positive electrode and the negative electrode are marked with "+" and "-", respectively, and are connected to the node 401 and V C [0](V C [1] V C [2]); and a second varactor 412 (422, 432) having a positive electrode and a negative electrode, the positive electrode and the negative electrode are marked with "+" and "-" respectively, and are connected to the node 402 and V respectively. C [0](V C [1] V C [2]). A varactor is a capacitor whose capacitance is determined by the voltage difference between its positive and negative terminals. C [0](V C [1] V C [2]) increases (decreases), the capacitance value of varactor 411 (421, 431) and the capacitance value of varactor 412 (422, 432) will both decrease (increase), and the total capacitance of varactor pair 410 (420, 430) at nodes 401, 402 will decrease (increase); therefore, the total capacitance value of varactor array 400 will decrease (increase), and the oscillation frequency of core circuit 110 will increase (decrease).
[0113] Figure 5 A functional block diagram of a DAC array 500 is shown, which can be used as an embodiment of the HS DAC array 140. The HSDAC array 500 includes: a decoder 510 for receiving the fine control command W F , and output multiple decoded commands W F0 , W F1 , W F2and a plurality of HS (high speed) DAC 521, 522, 523, etc., respectively, according to the decoded command W F0 , W F1 , W F2 Wait to output V C [0], V C [1] V C [2] etc. The W mentioned here F0 , W F1 With W F2 They are all N-bit commands (N-bitWords) and are marked with bus notation W F0 [N-1:0], W F1 [N-1:0] and W F2 [N-1:0], where N is an integer greater than one. The decoder 510 decodes W F , to generate W F0 , W F1 , W F2 The sum of the above is as follows:
[0114] W F =W F0 +W F1 +W F2 +…≡∑ i W Fi (1)
[0115] In a first embodiment, a thermometer code is used, so that W F0 , W F1 With W F2 The values of etc. are between 0 and N and are determined by the following formula:
[0116]
[0117] In the above formula, i = 0, 1, 2, etc., and W Fi The bus is marked with W according to the following formula Fi [N-1:0] to indicate:
[0118]
[0119] In the above formula, j = 0, 1, 2, ..., N-1. In this example, mod(.) represents a modulus operation; for example, mod(5,2) represents "5 mod 2", which is equal to 1.
[0120] For example, when N is 4, the table obtained according to equations (2) and (3) is as follows:
[0121] <![CDATA[W F ]]> <![CDATA[W F2 ]]> <![CDATA[W F2 [1:0]]]> <![CDATA[W F1 ]]> <![CDATA[W F1 [1:0]]]> <![CDATA[W F0 ]]> <![CDATA[W 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
[0122] In an alternative embodiment, a binary code is used, so that F0 , W F1 With W F2 The values are between 0 and 2. N -1 and is determined by the following formula:
[0123]
[0124] In the above formula, i = 0, 1, 2, etc., and W Fi It is based on binary notation with bus number W Fi [N-1:0] is used to represent it.
[0125] For example, when N is 3, the table obtained according to formula (4) and the binary representation is as follows:
[0126] <![CDATA[W F ]]> <![CDATA[W F2 ]]> <![CDATA[W F2 [2:0]]]> <![CDATA[W F1 ]]> <![CDATA[W F1 [2:0]]]> <![CDATA[W F0 ]]> <![CDATA[W 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
[0127] It is worth noting that W Fi [0], W Fi [1] W Fi [2] and so on are all logic signals.
[0128] Figure 6 A schematic diagram of a DAC 600 is shown, which can be used as an embodiment of any one of the HS DACs 521, 522, 523, etc. The DAC 600 includes: a plurality of switch current units 610, 620, 630, etc., for respectively Fi [0], W Fi [1] W Fi [2] Etc., output current I 610 ,I 620 ,I 630 And so on until one sums up the node N S2 , to form a total current I S2 And a resistor 601, used to provide a load to the summing node N S2 , and the sum of the current I S2 Converted into an output voltage V C [i] When DAC600 is used as an embodiment of HS DAC 521 (522, 523), V C [i] stands for V C [0](V C [1] V C [2]), at this time W Fi [0] represents W F0 [0](W F1 [0], WF2 [0]), W Fi [1] represents W F0 [1](W F1 [1] W F2 [1]), W Fi [2] stands for W F0 [2](W F1 [2] W F2 [2]). The switch current unit 610 (620, 630) includes a current source and a switch. The current source is implemented by a PMOS transistor 611 (621, 631) which is controlled by a gate bias voltage V B2 The switch is implemented by PMOS transistor 612 (622, 632), which is controlled by W Fi [0](W Fi [1] W Fi [2]). When W Fi [0](W Fi [1] W Fi [2]) is high, the switch current unit 610 (620, 630) is in an "off" state, and I 610 (I 620 ,I 630 ) is zero; when W Fi [0](W Fi [1] W Fi [2]) is low, the switch current unit 610 (620, 630) is in an "on" state, and I 610 (I 620 ,I 630 ) is based on the gate bias voltage V B2 The speed of DAC 600 is determined by the resistor 601 and the node N S2 In order to have a high-speed characteristic, the implementer may select the resistor 601 with a small resistance value.
[0129] although Figure 1 Two varactor arrays (i.e., VA1 and VA2) are shown for use in the adjustment network 130, but this is only an example and not a limitation. For example, if the varactor array VA2 is removed and the varactor array VA1 is retained, the DCO 100 can still operate; however, if VA2 is removed and VA1 is retained, the two gain stages GS1 and GS2 will have different loads, so that the waveforms of the oscillating voltages V1 and V2 will be different from the waveforms of the oscillating voltages V3 and V4, which may or may not be a problem, depending on the application of the DCO 100.
[0130] Following a startup procedure, a coarse adjustment procedure may be performed, wherein the oscillation frequency of an oscillation signal (i.e., one of V1, V2, V3, and V4) of the DCO 100 is detected and compared with a target value. For example, the oscillation frequency of an oscillation signal may be detected by using a counter. If the oscillation frequency is higher (lower) than the target value, the coarse control command W is set to C will be decremented (incremented) to reduce (increase) the supply current I SUP , thereby reducing (increasing) the supply voltage V SUP , and the oscillation frequency is reduced (increased). The coarse adjustment procedure is repeated multiple times to adjust the oscillation frequency to make it approach the target value; then, the coarse control command W C will be frozen, and a fine adjustment procedure will be executed in a closed loop manner, wherein a timing error of the oscillation signal will be detected, and the fine adjustment control command W C will be adjusted based on the timing error. If the DCO 100 is used in a phase-locked loop, the timing error is the difference between the timing of the oscillation signal and the timing of a reference clock, and can be detected, for example, by a time-to-digital converter. If the DCO 100 is used in a clock data recovery loop, the timing error of the oscillation signal is the difference between the timing of the oscillation signal and a timing embedded in a data signal, and can be detected, for example, by a binary phase detector. "Phase-locked loop", "time-to-digital converter", "clock data recovery loop" and "binary phase detector" are all prior art in the field and are not described in detail here. If the timing error is positive (negative), this means that the timing of the oscillation signal is earlier (later) than expected, and the fine-tuning control command W F is incremented (decremented) to lower (increase) V C The voltage of [M-1:0] is increased (decreased) to adjust the capacitance value of the network 130, so that the oscillation signal becomes slower (faster). F The adjustment is performed in the above manner to minimize the difference between the timing of the oscillation signal and the timing of the reference clock (or the timing rooted in the data signal).
[0131] An oscillation frequency of the DCO 100 is determined by the coarse control command W C With the fine-tuning control command W F Joint control. C is called the "coarse" control command and W F The so-called "fine tuning" control command is a relative concept, that is, W C The change in oscillation frequency corresponding to a one-unit change is significantly greater than WF The change in oscillation frequency corresponding to a change of one unit. In a non-limiting example, when W C When W is set to the minimum (ie, 0), an oscillation frequency of the DCO 100 is about 10 GHz; C Is a 6-bit command (in binary notation); C The incremental change of the oscillation frequency caused by an incremental change of W is about 50MHz; C The total adjustment range is about 3.2GHz; W F Is an 8-bit command (in binary notation); F The incremental change of the oscillation frequency caused by an incremental change of W is about 1 MHz; and F The total adjustment range of W is about 250MHz. By using a combination of coarse and fine control, a wide range of high resolution adjustment can be achieved. However, when used in a closed loop, W C Fixed, only W F is adaptively adjusted. This makes the subordinate W C The adjustment circuit has low noise characteristics (because there is no high-speed requirement) and makes the slave W F The adjustment circuit is faster but does not cause much noise (because it only covers a small adjustment range). Therefore, the DCO 100 can have the characteristics of high speed, high resolution and low noise at the same time.
[0132] The LS DAC 120 is referred to as "slow speed" and the HS DAC array 140 is referred to as "high speed" in a relative sense, that is, the HS DAC array 140 is substantially faster than the LS DAC 120. In a non-limiting example, W C The time difference between the change of W and the corresponding change of the oscillation frequency of DCO 100 is about 10 μs. F A time difference between a change in and a corresponding change in the oscillation frequency of the DCO 100 is approximately 1 ns. In other words, the HS DAC array 140 is approximately a thousand times faster than the LS DAC 120 .
[0133] like Figure 7As shown in flowchart 700, a method according to an embodiment of the present disclosure includes: (step 710) using a plurality of gain stages to be connected in series in a ring form to form a ring oscillator, the ring oscillator being used to output an oscillation signal; (step 720) using a low-speed digital-to-analog converter (DAC) to control a supply voltage of the ring oscillator according to a coarse control command; (step 730) using a varactor array controlled by a control voltage array to provide a capacitive load at an inter-stage node of the ring oscillator; (step 740) using a high-speed DAC array to determine the control voltage array according to a fine control command; (step 750) following a startup procedure, adjusting the coarse control command so that an oscillation frequency of the oscillation signal approaches a target value; and (step 760) adjusting the fine control command in a closed-loop manner according to a detection result of a timing error of the oscillation signal.
[0134] Although the embodiments of the present invention are described above, the embodiments are not intended to limit the present invention. Those skilled in the art may make changes to the technical features of the present invention based on the explicit or implicit contents of the present invention. All these changes may fall within the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention shall be subject to that defined in the claims of this specification.
Claims
1. A digitally controlled oscillator, comprising: A ring oscillator includes a plurality of gain stages connected in series in a ring form with a negative feedback to output an oscillation signal to an inter-stage node according to a supply voltage at a supply node; a low speed digital to analog converter for outputting a supply current to the supply node to determine the supply voltage according to a coarse control command; a varactor array for providing a capacitive load to the inter-stage node according to a control voltage array; and a high-speed digital-to-analog converter array, used to output the control voltage array according to a fine-tuning control command, wherein the interstage node is located between the plurality of gain stages and the varactor array, and the capacitance value of the interstage node is adjusted by the capacitance value of the varactor array; the low-speed digital-to-analog converter is not included in the ring oscillator; the capacitive load is not included in the ring oscillator; The varactor array includes a plurality of varactor pairs and the control voltage array includes a plurality of control voltages, wherein each varactor pair in the plurality of varactor pairs is controlled by a corresponding control voltage in the control voltage array; the high-speed digital-to-analog converter array includes a decoder and a plurality of digital-to-analog converters, the decoder is used to decode the fine-tuning control command to generate a plurality of decoded control commands, each of the plurality of digital-to-analog converters is controlled by a corresponding decoded control command in the plurality of decoded control commands; and the sum of the plurality of decoded control commands is equal to the fine-tuning control command.
2. The digitally controlled oscillator of claim 1 , wherein each of the plurality of gain stages comprises a differential pair and a regenerative load, the differential pair being configured to receive an oscillating voltage from a preceding gain stage and output another oscillating voltage to a succeeding gain stage, the regenerative load being configured to present a negative resistance.
3. The digital controlled oscillator as claimed in claim 1, wherein the low speed digital to analog converter comprises a power flow and a plurality of switch current units, wherein the plurality of switch current units are used to jointly output a summed current according to the coarse control command. 4 . The digital controlled oscillator as claimed in claim 3 , wherein each of the plurality of switch current units comprises a current source and a switch, and the switch is controlled by a corresponding bit of the coarse control command. 5 . The digital controlled oscillator as claimed in claim 4 , wherein the low speed digital to analog converter further comprises a current to voltage conversion circuit for converting the summed current into a bias voltage.
6. A digitally controlled oscillator as described in claim 1, wherein each of the multiple digital-to-analog converters comprises: a plurality of switching current units, used to output a summed current according to a corresponding decoded control command among the multiple decoded control commands; and a resistor, used to convert the summed current to generate a corresponding control voltage in the control voltage array.
7. The digital controlled oscillator as claimed in claim 1, wherein following a startup procedure, the coarse control command is adjusted according to a comparison result between an oscillation frequency of the oscillation signal and a target value, and then fixed.
