DIGITALLY CONTROLLED OSCILLATORS
Oscillator circuitry is provided that is based on a ring of inverters. The ring of inverters may be single-ended or differential inverters. Digitally controlled adjustable load capacitors may be provided at inverter outputs to tune the oscillator circuitry. Each digitally controlled adjustable load capacitor may be formed from multiple varactors connected in parallel. Each varactor may have a control input that receives a digital control signal. The digitally controlled adjustable load capacitors in a given oscillator may be adjusted in unison to produce the same capacitance value for each capacitor or may be adjusted individually so that they produce different capacitance values. The inverters may include common-mode-gain reduction features such as series-connected current sources, series-connected resistors, and cross-coupled negative feedback transistors.
This application is a continuation of patent application Ser. No. 12/163,808, filed Jun. 27, 2008, which is hereby incorporated by reference herein in its entirety. This application claims the benefit of and claims priority to patent application Ser. No. 12/163,808, filed Jun. 27, 2008.
BACKGROUNDThis invention relates to integrated circuits, and more particularly, to oscillator circuitry for integrated circuits.
Digital integrated circuits often contain analog circuitry. For example, some digital integrated circuits contain analog phase-locked loop circuitry.
Analog circuits such as phase-locked loops may contain voltage-controlled oscillators. A typical voltage-controlled oscillator is formed from a number of inverters connected in a loop. Varactors may be provided at the output of each of the inverters. The varactors may serve as controllable sources of capacitive loading. An analog control voltage may be applied to each varactor to control the capacitance produced by that varactor. When the varactors are adjusted so that they produce relatively large capacitances, the inverters in the loop will switch relatively slowly and the output of the voltage-controlled oscillator will have a relatively low frequency. When the varactors are adjusted so that they produce relatively small capacitances, the inverters in the loop will switch relatively quickly and the output of the voltage-controlled oscillator will have a relatively high frequency.
As integrated circuit dimensions shrink with advances in integrated circuit processing technology, it is becoming increasingly difficult to migrate previous generations of analog circuit designs to next generation platforms. This is because analog circuits may be sensitive to changes in transistor speed and other circuit parameters that are directly affected by the alterations that are made to the transistors and other components on an integrated circuit when using an updated fabrication process.
Analog circuits may also be more susceptible to noise than digital circuits. For example, analog circuits such as voltage-controlled oscillators may be susceptible to noise on their voltage control inputs. Digital designs may be more immune to undesired changes resulting from process updates. Digital designs may also be more accurate than analog designs in some circumstances.
It would therefore be desirable to be able to provide digitally controlled oscillator circuits for integrated circuits.
SUMMARYIn accordance with the present invention, oscillator circuits are provided that are formed from rings of inverters. The inverters may be single-ended inverters or may be differential inverters. Digitally controlled adjustable load capacitors may be provided at the outputs of the inverters. The capacitance values that are produced by the capacitors may be adjusted to have high values when it is desired to lower the frequency of the oscillator output and may be adjusted to have low values when it is desired to raise the output frequency of the oscillator. Wide frequency tuning ranges and accurate tuning may be achieved by using digital control arrangements.
With one suitable configuration, each load capacitor may be formed from multiple varactors connected in parallel. The varactors may be formed from devices such as reverse biased diodes and metal-oxide-semiconductor capacitor structures. Unitary weights, binary weights, or graded non-binary weights may be used for the varactor strengths. Each varactor may have a respective control input that receives a control voltage. The control voltages that are applied to the varactor control inputs may be limited to logic low and high voltages. This use of digital control for the varactors helps to avoid operating the varactors at intermediate analog voltage levels at which the varactors are more susceptible to noise effects.
Collectively, the digital control voltages that are used to form the control signals for the varactors in each capacitor form a digital control word for that capacitor. In order to enhance the accuracy with which the output frequency of the oscillator can be adjusted while minimizing the space consumed by the digitally controlled adjustable load capacitors, a control scheme can be used in which each load capacitor in a ring oscillator can be independently controlled. With this type of arrangement, one or more of the capacitors can be adjusted to produce capacitance values that are different from other capacitors. Capacitance mismatches can be minimized by ensuring that the control words associated with each capacitor differ in the number of high logic signals that they contain by no more than one.
Ring oscillator performance may be enhanced by minimizing the common mode gain in the inverters of the ring oscillator. Common mode gain reduction circuitry may be incorporated into the inverters. Examples of suitable common mode gain reduction circuitry include current sources and resistors that are connected in series with the cross-coupled inverters that make up a differential inverter and flywheel-inverter-type negative feedback circuits.
Further features of the invention, its nature and various advantages will be more apparent from the accompanying drawings and the following detailed description of the preferred embodiments.
The present invention relates to integrated circuits containing oscillator circuitry. The oscillator circuitry may be used to generate a clock signal or any other suitable signal. Oscillators in accordance with the invention may be used as part of a phase-locked loop circuit, delay-locked loop, or any other suitable circuitry. The oscillator circuitry may be digitally controlled.
Digitally controlled oscillators may be based on an architecture in which multiple inverters are connected in a ring. The inverters may be single-ended inverters or may be differential inverters. Digitally controlled adjustable capacitors, which are sometimes referred to as digitally controlled varactors, may be used as adjustable loads at the outputs of the inverters.
Digitally controlled oscillators based on digitally controlled varactors may exhibit performance that is superior to conventional analog voltage controlled oscillators. For example, digitally controlled oscillators based on this type of arrangement may exhibit enhanced noise immunity.
A conventional voltage controlled oscillator is shown in
There are an odd number of single-ended inverters 104 in the ring of
The capacitance of a varactor may either have a positive or a negative voltage dependence. A typical varactor having a capacitance that drops as a function of increasing control voltage such as a reverse-biased diode may have a capacitance versus voltage characteristic of the type shown in
At voltages in the middle of the varactor operating range (e.g., voltages in range 112 of
A digitally controlled adjustable capacitor in accordance with the present invention is shown in
The capacitors 120 that make up capacitor 114 may be connected in parallel between terminals 116 and 118 of capacitor 114. Control terminals 122 may be used to control the magnitude of the capacitance produced by each capacitor 120. For example, the leftmost capacitor 120 in
Unlike conventional analog varactor arrangements, capacitors 120 are controlled by digital signals, rather than analog signals. In a typical digital signal environment, digital signals are allowed to take one of two values: a logic low value or a logic high value. The logic low value may be represented by, for example, a ground voltage Vss of 0 volts. The logic high value may be represented by a fixed positive voltage. The positive logic high value may be, for example, the positive voltage associated with powering core logic on an integrated circuit. This value may be, for example, 1.2 volts, 1.1 volts, 1.0 volts, 0.9 volts, or any other suitable voltage (higher or lower). In this type of digital signaling environment, control signals for capacitors 120 such as control signals Va, Vb, Vc, and Vd in the
Capacitors 120 may be formed from any suitable adjustable capacitor structures such as reverse-biased p-n diodes, metal-oxide-semiconductor (MOS) capacitor structures, etc. A typical capacitor 120 may have a capacitance versus voltage characteristic of the type shown in
During operation of capacitor 114 of
Digitally controlled capacitors 114 may be used in any suitable circuit. For example, ring oscillators based on single-ended or differential inverters may use digitally controlled capacitors 114 as adjustable loading capacitors.
An illustrative ring oscillator 142 that is based on single-ended inverters is shown in
As shown in
Each of the digitally controlled capacitors 114A, 114B, and 114C may be based on a multi-capacitor arrangement of the type shown in
The digital control signals that are applied to inputs 136, 138, and 140 may all be the same or some or all of these control signals may be different from each other.
For example, it may be desirable to control capacitors 114A, 114B, and 114C using identical control signals, as this will ensure that there is no capacitance mismatch between the capacitors. When there is no capacitance mismatch between the capacitors, the outputs of the inverters in the ring oscillator will all be loaded exactly the same amount. This will balance the signal delays produced by the load capacitors and will tend to maximize the quality of the signals produced by the oscillator at output 144.
An advantage of controlling capacitors 114A, 114B, and 114C using different control signals is that this type of scheme allows the total number of capacitors to be reduced for a given level of adjustability. A relatively modest amount of capacitance mismatch between the loading nodes in the ring oscillator will generally be tolerable and will produce output signals of acceptable quality. Because the capacitors are not all set to the same capacitance value, it is possible to make incremental adjustments (e.g., by changing the capacitance of only one of three capacitors 114), thereby improving accuracy (minimizing quantization phase noise) without increasing the number of capacitors. An advantage of minimizing the overall number of capacitors is that schemes that accommodate large numbers of capacitors elements tend to have large areas. Layouts of this type are typically dominated by spacing and wiring requirements and may have correspondingly large parasitic capacitances. These parasitic capacitances tend to reduce the maximum frequency that the ring oscillator can produce.
In the illustrative arrangement of
The differential inverters 148 each have two inputs 150 (i.e., a positive and a negative input) and two outputs 152 (i.e., a positive and a negative output). These outputs feed nodes that are labeled OP0 (positive output 0), ON0 (negative output 0), OP1 (positive output 1), and ON1 (negative output 1) in
Each of the differential inverter output nodes in ring oscillator 146 may have a respective digitally controlled capacitor 114. Each capacitor may be controlled by a potentially independent digital control word on its control path 156. Each capacitor 114 of ring oscillator 146 may be formed from multiple parallel digitally controlled capacitors such as capacitors 120 of
The digital control words that are applied to the control inputs 156 of capacitors 114 of
Static and dynamic control signals for the digital control words may be applied directly to the control inputs of the digitally controlled capacitors or some or all of these signals may first by processed by on-chip circuitry such as a decoder circuit. An illustrative decoder is shown in
Ring oscillators formed form digitally controlled capacitors may be used in any suitable circuitry on an integrated circuit. As an example, ring oscillators of this type may be used as digitally controlled oscillators in digital phase-locked loops.
An illustrative digital phase-locked loop circuit in accordance with an embodiment of the present invention is shown in
The output signal OUT on output 74 of digital phase-locked loop circuit 46 may be used as a clock signal or other signal on an integrated circuit. Integrated circuits that may include circuitry such as circuitry 46 of
Digitally controlled oscillator 64 may be based on a single-ended inverter architecture of the type described in connection with
Path 70 may be used to feed back the signal OUT from digitally controlled oscillator 64 to divider 72. Divider 72 may divide the signal OUT by an appropriate integer N (e.g., by one, by two, by more than two, etc.). If desired, the value of N may be adjusted using dynamic control signals or static control signals from programmable elements 20. The divided output of divider 72 may be provided to input 52 over line 76 in feedback path 54.
The amount by which divider 72 divides signal OUT determines the ratio between the frequency of REFCLK (or other input signal at input 50) and the frequency of output signal OUT on output path 74. For example, input IN may receive a reference clock signal at a given frequency and input OUT may provide a locked output clock signal at a frequency of N times the given frequency. In a typical scenario, the frequency of REFCLK might be 100 MHz and the frequency of OUT might be 400 MHz (as an example).
The adjustable capacitors (varactors) 120 that make up digitally controlled capacitors 114 in digitally controlled oscillator 64 can all have the same strength or may have different strengths. Strengths may be scaled by scaling the sizes of the capacitors, scaling the insulator thicknesses of the capacitors (e.g., in MOS capacitor schemes), by scaling electrode sizes, by scaling a combination of these structures, or using any other capacitor scaling scheme.
As an example, the strengths (e.g., sizes) of capacitors 120 in capacitors 114 may be weighted so that each capacitor 120 has an equal strength (e.g., an equal size). This type of arrangement is shown in
When capacitors 120 all have the same strength (e.g., size) as shown in
With one suitable arrangement, the strengths (e.g., sizes) of the capacitors may be graded so as to obtain a desired frequency versus control code characteristic. The change in frequency that is exhibited by a capacitively loaded ring oscillator tends to scale with the inverse of the change in capacitance produced by the digitally controlled adjustable capacitors. As a result, a pure unit weighting scheme of the type shown in
The total number of capacitors that are needed to achieve a desired accuracy for a ring oscillator may be minimized by independently adjusting the capacitance at each inverter's output node. Because this type of scheme does not require that all capacitors be adjusted in lock step, partial capacitance steps may be obtained in which only a subset of the capacitors 114 are adjusted at a time. This approach may be used in single-ended inverter designs of the type described in connection with
Consider, as an example, the arrangement of
Each row in the table of
The settings of the second row indicate that the capacitors 114 at nodes ON1, ON0, and OP1 remain unchanged from the configuration of the first row. The capacitor 114 that is associated with inverter output OP0, however, has been adjusted so that one of its capacitors 120 is receiving a logic high control signal at its input 122 rather than a logic low. Because only one of the capacitors 114 has been placed in a lower capacitance state, the decrease in the output frequency f of the ring oscillator 46 is less than it would be if all capacitors 114 were tuned equally. As a result, schemes of the type shown in
The other rows of the table of
As the example of
If desired, capacitors 120 for capacitors 114 may be provided in an array on an integrated circuit. An arrangement of this type is shown in
Dashed line 168 indicates a possible pattern that may be used when placing capacitors 120 in their high control signal mode while adjusting ring oscillator 46 to produce output signals of progressively higher frequencies (as an example). Initially, when it is desired to operate ring oscillator 46 at its lowest frequency, each of the capacitors receives a logic “0” at its control input 122 (
In the example of
Ring oscillator inverters may be implemented using any suitable circuit architecture. An example of a suitable differential inverter is shown in
Differential amplifiers have finite common-mode gain. If the magnitude of this gain is larger than unity in the differential inverters of a ring oscillator, it may cause the loop in the ring oscillator to oscillate in common gain mode or to latch at an undesired DC operating point. To address this issue, inverter 148 may have features that help reduce its common mode gain relative to its differential gain.
As shown in
Current source 174 reduces common mode gain by limiting the current to PMOS transistors MPP and MPN. In differential mode, transistors MPP and MPN share current source current Is, so there is no reduction in differential gain. If, however, a common mode signal is presented to inputs NIN and PIN, there is effectively no change in the POUT and NOUT signals (i.e., common mode gain is essentially zero). This is because the common movement of the inputs NIN and PIN results in a voltage drop that falls entirely across current source 174, not across outputs POUT and NOUT.
Resistor Rs may also help to reduce common mode gain in inverter 148. Consider an example in which NIN and PIN both fall. In this type of situation, resistor RS opposes a corresponding fall in the voltages on outputs POUT and NOUT. This is because the voltage drop across resistor Rs rises in response to the increases of NIN and PIN, thereby creating a source of negative feedback. When the voltage across resistor Rs rises, the gate to source voltage Vgs of both MNP and MNN falls. Signals POUT and NOUT may fall somewhat, but the magnitude of this fall will be less than it would be in the absence of common-mode-gain-reducing resistor Rs. Note that if the input to inverter 148 is purely differential (i.e., if NIN rises while PIN falls), one side of inverter 148 will produce an increased voltage drop contribution from Rs while the other side of inverter 148 will produce a decreased voltage drop contribution from Rs. The gain of differential signals is therefore not reduced by the presence of resistor Rs. If desired, resistor Rs may be placed in series with INV1 and INV2 in the location of current source 174 of
If desired, inverter 148 may be provided with common-mode-gain-reducing cross-coupled transistors such as NMOS transistors MNFN and MNFP (or full inverters). This type of arrangement is sometimes referred to as a flywheel inverter arrangement (e.g., in configurations in which two full inverters are provided in this location to reduce common-mode gain). Transistors MNFN and MNFP help to increase differential gain relative to common mode gain. Consider an example in which POUT rises in response to a fall in NIN. In this situation, the voltage on the gate of transistor MNFN rises. This makes the voltage on the drain of transistor MNFN fall. When the voltage on the drain of transistor MNFN falls, output NOUT falls. The presence of transistor MNFN therefore helps to increase the amount by which output NOUT falls in response to an increase in NIN (i.e., MNFN increase differential gain). Transistor MNFP operates in the same way on output POUT.
Inverter 148 may include a current source such as current source 174, a common-mode-gain-reducing resistor such as resistor Rs, and common-mode-gain-reducing cross-coupled transistors such as transistors MNFN and MNFP (or full cross-coupled flywheel inverters) as shown in
The foregoing is merely illustrative of the principles of this invention and various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention.
Claims
1. A method of adjusting a ring of inverters coupled to at least first and second adjustable capacitors, the method comprising:
- applying a first digital control word to the first adjustable capacitor operable to direct the first adjustable capacitor to produce a first capacitance value;
- applying a second digital control word to the second adjustable capacitor operable to direct the second adjustable capacitor to produce a second capacitance value that is different from the first capacitance value; and
- ensuring that the first digital control word and the second digital control word contain respective numbers of logic high signals that differ by no more than a given number to avoid excessive capacitance mismatches between the first and second capacitance values.
2. The method defined in claim 1 wherein the given number is one.
3. The method defined in claim 1 wherein the first adjustable capacitor comprises a first plurality of parallel-coupled capacitors and wherein applying the first digital control word comprises:
- applying logic high signals to at least one of the capacitors in the first plurality of parallel-coupled capacitors; and
- applying logic low signals to at least one of the capacitors in the first plurality of parallel-coupled capacitors.
4. The method defined in claim 3 wherein the second adjustable capacitor comprises a second plurality of parallel-coupled capacitors and wherein applying the second digital control word comprises:
- applying logic high signals to at least one of the capacitors in the second plurality of parallel-coupled capacitors; and
- applying logic low signals to at least one of the capacitors in the second plurality of parallel-coupled capacitors.
5. The method defined in claim 1 wherein the ring of inverters is coupled to at least a third adjustable capacitor, the method further comprising:
- applying a third digital control word to the third adjustable capacitor operable to direct the third adjustable capacitor to produce a third capacitance value that is the same as the first capacitance value.
6. The method defined in claim 5 wherein the ring of inverters is coupled to at least a fourth adjustable capacitor, the method further comprising:
- applying a fourth digital control word to the fourth adjustable capacitor operable to direct the fourth adjustable capacitor to produce a fourth capacitance value that is the same as the second capacitance value.
7. A method of adjusting a ring of inverters coupled to at least first and second adjustable capacitors, the method comprising:
- applying a first digital control word to the first adjustable capacitor operable to direct the first adjustable capacitor to produce a first capacitance value;
- applying a second digital control word to the second adjustable capacitor operable to direct the second adjustable capacitor to produce a second capacitance value that is different from the first capacitance value; and
- avoiding excessive capacitance mismatches between the first and second capacitance values.
8. The method defined in claim 7 wherein avoiding excessive capacitance mismatches between the first and second capacitance values comprises:
- ensuring that the first digital control word and the second digital control word contain respective numbers of logic low signals that differ by no more than a given number to avoid excessive capacitance mismatches between the first and second capacitance values.
9. The method defined in claim 8 wherein the given number is one.
10. An integrated circuit comprising:
- at least first and second adjustable capacitors;
- a ring of inverters coupled to the adjustable capacitors; and
- circuitry operable to apply a first digital control word to the first adjustable capacitor operable to direct the first adjustable capacitor to produce a first capacitance value, wherein the circuitry is operable to apply a second digital control word to the second adjustable capacitor operable to direct the second adjustable capacitor to produce a second capacitance value that is different from the first capacitance value and wherein the circuitry is operable to avoid excessive capacitance mismatches between the first and second capacitance values.
11. The integrated circuit defined in claim 10 wherein the circuitry is operable to ensure that the first digital control word and the second digital control word contain respective numbers of logic low signals that differ by no more than a given number.
12. The integrated circuit defined in claim 10 wherein the circuitry is operable to ensure that the first digital control word and the second digital control word contain respective numbers of logic low signals that differ by no more than one.
13. The integrated circuit defined in claim 10 wherein the circuitry is operable to ensure that the first digital control word and the second digital control word contain respective numbers of logic high signals that differ by no more than a given number.
14. The integrated circuit defined in claim 10 wherein the circuitry is operable to ensure that the first digital control word and the second digital control word contain respective numbers of logic high signals that differ by no more than one.
15. The integrated circuit defined in claim 10 further comprising:
- a third adjustable capacitor coupled to the ring of inverters, wherein the circuitry is operable to apply a third digital control word to the third adjustable capacitor operable to direct the third adjustable capacitor to produce a third capacitance value that is the same as the first capacitance value.
16. The integrated circuit defined in claim 15 further comprising:
- a fourth adjustable capacitor coupled to the ring of inverters, wherein the circuitry is operable to apply a fourth digital control word to the fourth adjustable capacitor operable to direct the fourth adjustable capacitor to produce a fourth capacitance value that is the same as the second capacitance value.
Type: Application
Filed: Sep 1, 2011
Publication Date: Dec 22, 2011
Inventors: Mohsen Moussavi (Kanata), William W. Bereza (Nepean)
Application Number: 13/224,086