Programmable relaxation oscillator
Granted 23 Apr 2002 · 2 office actions
Current assignee: Alpha Industries · originally Synaptics
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Akbar Ali, Woogeun Rhee · Examiner: Arnold Kinkead · AU 2817 · TC 2800
Life of the application
19 dated eventsAbstract
An oscillator has a slope-fixing circuit that generates a control signal and fixes the slope of the control signal, a swing-fixing circuit that fixes the swing of the control signal, and a switching block that generates an output signal having a frequency derived from the swing and the slope of the control signal. The slope-fixing circuit comprises a fixed timing capacitor C1 in parallel with a plurality of switchable timing capacitors C2 . . . CN to provide an effective capacitance C. The slope of the control signal is determined by the ratio of a control current I to the effective capacitance C. The swing-fixing circuit comprises a replica cell that accepts a programmable reference voltage VREF and provides a fixed voltage swing VSWVDDVREF across a pair of load transistors. The switching block comprises a pair of switching transistors that alternate between on and off states depending on the value of the control signal to produce an oscillating output signal. The frequency of the output signal is given by I4CVSW.
Description
11 parts›FIELD OF THE INVENTION
The present invention relates generally to a voltage- or current-controlled oscillator and, more particularly, relates to a voltage- or current-controlled relaxation oscillator having a programmable gain.
›BACKGROUND OF THE INVENTION · 1 of 3
Many electrical and computer applications and components have critical timing requirements that compel generation of periodic clock waveforms that are precisely synchronized with a reference clock waveform. A phase-locked loop (“PLL”) is one type of circuit that is widely used to provide an output signal having a precisely controlled frequency that is synchronous with the frequency of a reference or input signal. Wireless communication devices, frequency synthesizers, multipliers and dividers, single and multiple clock generators, and clock recovery circuits are but a few examples of the manifold implementations of PLLs.
Frequency synthesis is a particularly common technique used to generate a high frequency clock from a lower frequency reference clock. In microprocessors, for example, an on-chip PLL can multiply the frequency of a low frequency input (off-chip) clock, typically in the range of 1 to 4 MHz, to generate a high frequency output clock, typically in the range of 10 to over 200 MHz, that is precisely synchronized with the lower frequency external clock. Another common use of PLLs is recovery of digital data from serial data streams by locking a local clock signal onto the phase and frequency of the data transitions. The local clock signal is then used to clock a flip-flop or latch receiving input from the serial data stream.
FIG. 1 is a block diagram of a typical PLL 10 . PLL 10 comprises phase/frequency detector 12 , charge pump 14 , loop filter 16 , voltage-controlled oscillator (“VCO”) 18 and frequency divider 20 . PLL 10 receives a reference clock signal CLK REF and generates an output clock signal CLK OUT aligned to the reference clock signal in phase. The output clock frequency is typically an integer (N) multiple of the reference clock frequency; with the parameter N set by frequency divider 20 . Hence, for each reference signal period, there are N output signal periods.
Phase/frequency signal detector 12 receives on its input terminals two clock signals CLK REF and CLK* OUT (CLK OUT , with its frequency is divided down by frequency divider 20 ). In a conventional arrangement, detector 12 is a rising edge detector that compares the rising edges of the two clock signals. Based on this comparison, detector 12 generates one of three states. If the phases of the two signals are aligned, the loop is “locked”. Neither the UP nor the DOWN signal is asserted and VCO 18 continues to oscillate at the same frequency. If CLK REF leads CLK* OUT , than VCO 18 is oscillating too slowly and detector 12 outputs an UP signal proportional to the phase difference between CLK REF and CLK* OUT . Conversely, if CLK REF lags CLK* OUT , than VCO 18 is oscillating too quickly and detector 12 outputs a DOWN signal proportional to the phase difference between CLK REF and CLK* OUT . The UP and DOWN signals typically take the form of pulses having a width or duration corresponding to the timing difference between the rising edges of the reference and output clock signals.
Charge pump 14 generates a current I CP that controls the oscillation frequency of VCO 18 . I CP is dependent on the signal output by phase/frequency detector 12 . If charge pump 14 receives an UP signal from detector 12 , indicating that CLK REF leads CLK* OUT , I CP is increased. If charge pump 14 receives a DOWN signal from detector 12 , indicating that CLK REF lags CLK* OUT , I CP is decreased. If neither an UP nor a DOWN signal is received, indicating that the clock signals are aligned, charge pump 14 does not adjust I CP .
Loop filter 16 is positioned between charge pump 14 and VCO 18 . Application of the charge pump output current I CP to loop filter 16 develops a voltage V LF across filter 16 . V LF is applied to VCO 18 to control the frequency of the output clock signal. Filter 16 also removes out-of-band, interfering signals before application of V LF to VCO 18 . A common configuration for a loop filter in a PLL is a simple single-pole, low-pass filter that an be realized with a single resistor and capacitor.
The oscillator is the subject of the present invention. VCO 18 generates an oscillating output signal CLK OUT having a frequency proportional to the voltage V LF applied to VCO 18 . Conventional voltage-controlled oscillators typically oscillate about a specific center frequency and have a relatively narrow frequency range or bandwidth. When CLK REF leads CLK* OUT , charge pump 14 increases I CP to develop a greater V LF across loop filter 16 which, in turn, causes VCO 18 to increase the frequency of CLK OUT . Conversely, When CLK REF lags CLK* OUT , charge pump 14 decreases I CP to develop a lesser V LF across loop filter 16 which, in turn, causes VCO 18 to decrease the frequency of CLK OUT . When CLK REF and CLK* OUT are aligned, V LF is not adjusted, and the oscillation frequency of VCO 18 is kept constant. In this state, PLL 10 is in a “locked” condition.
The output clock signal is also looped back through (in some applications) frequency divider 20 . The resultant output CLK* OUT is provided to phase/frequency detector 12 to facilitate the phase-locked loop operation. Frequency divider 20 facilitates comparison of the generally higher frequency output clock signal with the lower frequency reference clock signal by dividing the frequency of CLK OUT by the multiplication factor N. Divider 20 may be implemented using trigger flip-flops, or through other methods familiar to those of ordinary skill in the art. Thus, PLL 10 compares the reference clock phase to the output clock phase and eliminates any detected phase difference between the two by adjusting the frequency of the output clock.
Fully monolithic phase-locked loops formed from complementary metal-oxide-semiconductor (“CMOS”) field effect transistors (“FET”) are widely used in many applications. The widespread industrial capability to mass-produce CMOS circuits facilitates the manufacture of inexpensive basic tuning devices employing PLLs for products such as wireless telephones. Since the power consumption of the PLL derives primarily from the on-chip oscillator, the power consumed by the PLL increases as the operating frequency of the oscillator increases. The goal of achieving high frequency operation is thus inconsistent with low power consumption. In addition to lower power consumption, an oscillator having a wide linear range is desirable for optimal PLL performance. Accordingly, there is a need for a low power, high frequency oscillator that has a wide linear range and is designed with CMOS technology.
›BACKGROUND OF THE INVENTION · 2 of 3
FIGS. 2 a , 2 b and 2 c depict three CMOS oscillator architectures. FIG. 2 a depicts a CMOS-based differential ring oscillator 30 . Ring oscillator 30 is comprised of a plurality of differential inverters 32 connected in cascade, with the output of the last inverter in the series being connected to the input of the first inverter. This oscillator design is problematic in that it is very sensitive to process and temperature variations. The nominal output frequency of a conventional CMOS differential ring oscillator, for example, may range from 700 MHz to 1.3 GHz. This represents almost a 100% frequency variation. This sensitivity stems from the inverse relationship between the delay time of the inverters and the output frequency. A PLL based on a ring oscillator requires an increased VCO gain in order to obtain the necessary range to deal with these wide frequency variations. The increased VCO gain leads to poor phase performance and increased sensitivity.
FIG. 2 b depicts a typical relaxation oscillator 40 having a grounded timing capacitor 42 . Current sources 46 and 48 together provide a switching current i=±kv in , where v in is a control voltage for capacitor 42 . The voltage developed across capacitor 42 , V c , is applied to Schmitt trigger circuit 44 . When i=+kv in , current source 46 is connected, and capacitor 42 begins to charge. Trigger circuit 44 generates an output voltage v o that remains a logical one until v c reaches the high threshold voltage v H of Schmitt trigger 44 . At this time, v o drops to a logical zero, current sources 46 and 48 are switched such that i=−kv in , and capacitor 42 begins to discharge. As capacitor 42 is discharging, v o remains a logical zero until v c reaches the low threshold voltage v L of Schmitt trigger 44 . At this time, v o jumps back to a logical one, current sources 46 and 48 are switched such that i=+kv in , and capacitor 42 begins to recharge. In this manner, an oscillating output is produced, with the charging and discharging time of capacitor 42 constituting a period.
The frequency of oscillator 40 is dependent upon and characterized by the current provided by current sources 46 and 48 , the capacitance of capacitor 42 , and the reference voltage. Accordingly, relaxation oscillator 40 is less sensitive to process and temperature variations relative to the CMOS-based differential ring oscillator described above. As the capacitance increases, however, the discharging operation takes longer and consequently, the attainable frequency and sensitivity of oscillator 40 decreases. Moreover, at high speeds, the delay time introduced by Schmitt trigger 44 plays a significant role in determining the oscillation period.
FIG. 2 c shows a source-coupled, current-controlled relaxation oscillator 60 with a floating timing capacitor 62 . Oscillator 60 includes a pair of n-channel CMOS transistors M 3 and M 4 having their gates and drains coupled to supply voltage V DD , and their sources coupled to, respectively, the drains of n-channel CMOS transistors M 1 and M 2 . The gate of M 1 is cross-coupled to the source of M 4 , and the gate of M 2 is cross-coupled to the source of M 3 . Timing capacitor 62 is connected between the sources of transistors M 1 and M 2 and grounded current sources 64 and 66 .
Oscillator 60 generates oscillating output voltages V O1 and V O2 as follows. In an initial state, with transistor M 1 off and transistor M 2 on, no current flows through transistor M 1 and the current flowing through transistor M 2 is 2I. Assuming that the current is large enough to turn transistor M 4 on, and neglecting gate currents, the current flowing through transistor M 4 is also 2I. Accordingly, the voltage V O2 is at least one threshold drop below supply voltage V DD . Conversely, since transistors M 1 and M 3 (by virtue of M 1 being off) are off, no current flows through these transistors and the output voltage V O1 is essentially equal to the supply voltage V DD .
In this initial condition, a current I passes through capacitor 62 in the direction towards current source 64 , and begins to charge capacitor 62 . As capacitor 62 charges, the source of transistor M 1 gradually becomes more negatively charged. Eventually, the gate-to-source voltage drop across transistor M 1 becomes great enough to turn transistor M 1 on. The resulting voltage drop at the source of transistor M 3 also turns transistor M 3 , and the voltage drop at the gate of transistor M 2 (through its coupling to the source of transistor M 3 ) turns transistors M 2 and M 4 off. A current 2I now flows through transistors M 3 and M 1 , and a current I flows through capacitor 62 in the opposite direction (towards current source 66 ). By virtue of the current flow, the output voltage V O1 drops from V DD . When that voltage has dropped to at least the threshold voltage below V DD , transistors M 1 and M 3 turn on, and transistors M 2 and M 4 turn off. As no current flows through transistors M 4 and M 2 , the output voltage V O2 rises to V DD . Capacitor 62 begins discharge until the voltage at the source of transistor M 2 becomes negative enough to turn transistor M 2 on. In this manner, output voltages V O1 and V O2 take the form of oscillating square waves (180° out-of-phase). The oscillation frequency is determined largely by the capacitance of capacitor 62 .
A relaxation oscillator having a floating timing capacitor, as illustrated and described with reference to FIG. 2 c , presents several advantages. It has only one stage, its symmetric architecture minimizes power consumption, and its differential operation provides a fifty percent duty cycle, which is a desirable attribute in those applications in which the elimination of even harmonics is important. A control voltage from a loop filter is passed through a voltage-to-current converter (not shown), and the voltage-to-current converter outputs a current I. Due to the use of nonlinear load transistors M 3 and M 4 , however, oscillator 60 exhibits a highly nonlinear voltage-to-frequency characteristic. This nonlinear characteristic makes it difficult to control the output frequency by varying I, and also makes it difficult to control the gain or sensitivity. This problem is magnified when CMOS technology is used, since the CMOS diode characteristic is poorer than the bipolar diode characteristic. For these reasons, this architecture is generally not viewed as suitable for CMOS oscillators.
›BACKGROUND OF THE INVENTION · 3 of 3
In view of the above, there is a need for a low-power, low-noise CMOS oscillator with an improved voltage-to-frequency characteristic and a more precisely controllable output frequency.
›SUMMARY OF THE INVENTION · 1 of 2
In accordance with the purpose of the invention as broadly described herein, there is provided a relaxation oscillator. The oscillator has a simple and symmetric structure, a digitally programmable gain and may be voltage- or current-controlled.
In a first embodiment of the present invention, an oscillator comprises a slope-fixing circuit that generates a control signal and fixes the slope of the control signal. The oscillator further comprises a swing-fixing circuit that fixes the swing of the control signal, and a switching block that generates an output signal. The output signal has a frequency derived from the swing and the slope of the control signal.
In one implementation of the first embodiment, the slope-fixing circuit comprises a fixed timing capacitor C 1 and a plurality of switchable timing capacitors C 2 . . . C N . The effective capacitance C is programmable through the placement of selected ones of timing capacitors C 2 . . . C N in parallel with fixed timing capacitor C 1 . The slope of the control signal is determined by the ratio of a control current I to the effective capacitance C. The swing-fixing circuit comprises a replica cell that provides a fixed voltage swing V SW , and a pair of load transistors that the voltage swing is applied across. The voltage swing V SW is programmable by setting a reference voltage V REF , which is provided to the gates of the load transistors by the replica cell, to one of a plurality of incremental reference voltages V REF1 . . . V REFM . The voltage swing V SW is given by the difference between a supply voltage V DD and the reference voltage, V SW =V DD −V REF . The switching block comprises a pair of switching transistors that alternate between “on” and “off” states depending on the value of the control signal to produce an oscillating output signal. The frequency of the output signal is given by I 4 CV SW .
In second embodiment of the present invention, a relaxation oscillator integrated on a single semiconductor chip is provided. It comprises a voltage-to-current converter for generating a control current I from an input voltage. A current-controlled oscillator generates an oscillating output signal from the control current I and an internal control signal. The current-controlled oscillator comprises at least one timing capacitor having an effective capacitance C that fixes the slope of the control signal as I/C. A pair of load transistors fixes the voltage swing V SW of the control signal. A pair of switching transistors coupled between the at least one capacitor and the load transistors generates the oscillating output signal based on the internal control signal. The relaxation oscillator further comprises a replica cell that provides a reference voltage V REF to the load transistors to fix the voltage swing V SW across the load transistors.
In one implementation of the second embodiment, the voltage-to-current converter comprises a control transistor having its gate coupled to the input voltage and a resistor coupled between the source of the transistor and ground for generating the control current I. A cascoded transistor current mirror mirrors the control current I from the voltage-to-current converter to the current-controlled oscillator. The replica cell comprises an operational amplifier that accepts the reference voltage V REF and regulates the load transistors of the current controlled oscillator to maintain the voltage swing V SW at a fixed value.
A third embodiment of the present invention provides a phase-locked loop. The phase-locked loop comprises a phase/frequency detector that compares a reference clock signal with an output clock signal and generates an appropriate charge pump control voltage. A charge pump is coupled to the phase/frequency detector and generates a loop filter control current from the charge pump control voltage. A loop filter is coupled to the charge pump and generates a loop filter voltage from the loop filter control current. An oscillator is coupled to the loop filter. The oscillator comprises a slope-fixing circuit that receives the loop filter voltage and generates a control signal having a fixed slope, a swing-fixing circuit that fixes the swing of the control signal; and a switching block that generates the output clock signal. The output clock signal has a frequency derived from the swing and slope of the control signal. A feedback circuit is coupled between the oscillator and the phase/frequency detector and provides the output clock signal to the phase/frequency detector.
In one implementation of the third embodiment, the slope-fixing circuit comprises a fixed timing capacitor C 1 and a plurality of switchable timing capacitors C 2 . . . C N that provides an effective capacitance C. A current supply provides a control current I, yielding a control signal having a slope I/C. The feedback circuit comprises a frequency divider that divides the frequency of the output clock signal by a division factor N. The division factor N is provided by a programming signal. This implementation further comprises a decoder coupled to the oscillator that also receives the programming signal. Based on the programming signal, the decoder programs the slope-fixing means to generate a particular effective capacitance C.
In one method according to the present invention, an oscillating output signal V O is generated. The method comprises the following steps:
(a) fixing a voltage swing V SW across a variable resistance load;
(b) fixing an effective timing capacitance C;
(c) providing a control current I;
(d) deriving a control signal slope from the control current I and the effective timing capacitance C;
(e) setting a control signal V C to an initial value based on the voltage swing
(f) outputting the signal V O at an initial level or at a switched level;
(g) decreasing the control signal V C along the control signal slope;
(h) continuing to output the signal V O at the current level as long as the change in the control voltage ΔV C does not exceed a threshold voltage V T ;
›SUMMARY OF THE INVENTION · 2 of 2
(i) switching the level of the output signal V O when ΔV C exceeds the threshold voltage V T ;
(j) repeating the method beginning with step (e) if the control current I has not changed; and
(k) repeating the method beginning with step (d) if the control current I has changed.
In an implementation of this method, the voltage swing V SW is fixed according to the relationship V SW =V DD −V REF , wherein V DD is a supply voltage and the reference voltage V REF is digitally programmable from a range of incremental reference voltages V REF1 . . . V REFM to yield a corresponding range of swing voltages. The effective timing capacitance C is fixed by placing appropriate switchable timing capacitors C 2 . . . C N in parallel with a fixed capacitor C 1 .
In another method according to the present invention, a method for programming the gain or sensitivity K O of an oscillator, wherein K 0 = 1 4 CV SW ,
is provided. The method includes the steps of determining the desired gain K O , coarse-tuning the oscillator by selecting an effective capacitance C to achieve the desired gain K O and fine-tuning the oscillator by selecting a voltage swing V SW to achieve the desired gain K O .
Objects and advantages of the present invention include any of the foregoing, singly or in combination. Further objects and advantages will be apparent to those of ordinary skill in the art, or will be set forth in the following disclosure.
›BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is described with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements, and
FIG. 1 is a block diagram illustrating the architecture of a typical phase-locked loop;
FIG. 2 a is a schematic diagram of a ring oscillator;
FIG. 2 b is a schematic diagram of a relaxation oscillator having a grounded timing capacitor;
FIG. 2 c is a schematic diagram of a source-coupled relaxation oscillator having a floating timing capacitor;
FIG. 3 is a block diagram of a relaxation oscillator according to the present invention;
FIG. 4 is a partial circuit diagram of a relaxation oscillator according to the present invention;
FIG. 5 is a flowchart describing the operation of a relaxation oscillator according to the present invention;
FIG. 6 is a timing diagram showing voltage waveforms at various points in the relaxation oscillator of FIG. 3;
FIG. 7 a is a flowchart depicting a method of programming the sensitivity of a current-controlled relaxation oscillator according to the present invention;
FIG. 7 b is a flowchart depicting a method of programming the gain of a voltage-controlled relaxation oscillator according to the present invention;
FIG. 8 is a detailed circuit diagram of a relaxation oscillator according to the present invention;
FIG. 9 is a graph plotting the output frequency of the relaxation oscillator as a function of the input control voltage for various timing capacitor values;
FIG. 10 a is a graph plotting the output frequency of the relaxation oscillator as a function of timing capacitor value for a fixed swing voltage and reference current;
FIG. 10 b is a graph plotting the sensitivity of the relaxation oscillator as a function of timing capacitor value for a fixed swing voltage and reference current; and
FIG. 11 is a block diagram of a digital clock generator implementing a relaxation oscillator according to the present invention.
›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 1 of 4
A first embodiment of a relaxation oscillator 100 according to the present invention is illustrated in block form in FIG. 3 . Relaxation oscillator 100 may be incorporated into a conventional phase-locked loop such as phase-locked loop 10 illustrated in FIG. 1, and may take the form of a current- or a voltage-controlled oscillator.
Oscillator 100 comprises a swing fixing circuit 110 having a replica cell 112 and a variable resistance load 114 ; a slope fixing circuit 120 having a voltage-to-current converter 122 , a current source 124 and a floating capacitance 126 ; and a switching block 130 . Swing fixing circuit 110 is programmable with a reference voltage V REF to fix a swing voltage V SW . Slope fixing circuit 120 provides a control voltage V C (and 180°-offset control voltage V* C ) that has a slope determined by the ratio of a control current I to a capacitance C. The capacitance C is programmable, and the current I has a value corresponding to the phase difference between a reference clock signal and an output clock V O , which phase difference is represented by the value of the loop filter voltage V LF input to oscillator 100 . Together, the swing and slope values define the frequency of clock signal V O (and 180°-offset output signal V* O ) output by switching block 130 . Hence, the frequency of output clock signal V O may be “fine-tuned” through the selection of V REF and “coarse-tuned” through the selection of C.
Relaxation oscillator 100 is illustrated in greater detail in FIG. 4 . Swing fixing circuit 110 is implemented by replica cell 112 and p-channel CMOS load transistors M 3 and M 4 . The sources of transistors M 3 and M 4 are coupled to supply voltage V DD and the gates of transistors M 3 and M 4 are coupled to replica cell 112 . The reference voltage V REF provided by replica cell 112 is programmable to fix the voltage swing V SW across load transistors M 3 and M 4 , wherein V REF =V DD −V SW . The voltage swing limits the swing of the control voltage (V C ,V* C ) output by the timing capacitors as well as the swing of the output clock signal ( V O ,V* O ).
Switching block 130 is implemented by n-channel CMOS switching transistors M 1 and M 2 that have their drains coupled to the drains of load transistors M 3 and M 4 . The gate of switching transistor M 1 is cross-coupled to the drain of load transistor M 4 , and the gate of switching transistor M 2 is cross-coupled to the drain of load transistor M 3 . The output clock signal (V O ,V* O ) is provided at the coupled drains of the load and switching transistors.
Slope-fixing circuit 120 is implemented by timing capacitors C 1 through C N and grounded current sources 104 and 106 . Current sources 104 and 106 each provide a reference current I, the value of which may be established by a loop filter voltage V LF and a voltage-to-current converter 122 (see FIG. 7 ). Timing capacitor C 1 is fixably connected between the sources of switching transistors M 1 and M 2 , and timing capacitors C 2 through C N are switchably connected in parallel with capacitor C 1 . The effective capacitance C provided by the timing capacitors is programmable through the placement of selected ones of capacitors C 2 through C N in parallel with capacitor C 1 , wherein 1 C = ∑ i 1 C i
(where i ranges from 2 to N and over the indices of those of the capacitors that are connected). The slope of the control voltage (V C ,V* C ), in turn is determined by the ratio (I/C) of the control current to the timing capacitance.
The output signal (V O ,V* O ) of oscillator 100 has a frequency that bears a certain relationship to the swing voltage V SW , the effective capacitance C, and the control current I. With reference to FIG. 5, which depicts a method of generating the oscillating output signal; FIG. 6, which is a timing diagram depicting the output signal (V O ,V* O ) and control voltage (V C ,V* C ); and FIG. 4, which is a circuit implementation of the method, this relationship is derived as follows.
In step 152 , the oscillating frequency is fine-tuned by fixing the voltage swing V SW according to the relationship V SW =V DD −V REF . The reference voltage V REF is digitally programmable from a range of incremental reference voltages V REF1 . . . V REFM to yield a corresponding range of swing voltages. In step 154 , the oscillating frequency is coarse-tuned by fixing the effective timing capacitance C. Appropriate switchable timing capacitors C 2 . . . C N are selected such that, when placed in parallel with fixed capacitor C 1 , an effective capacitance C is fixed, wherein 1 C = ∑ i 1 C i .
In step 156 , a control current I is provided. Control current I may be established by a loop filter voltage V LF and a voltage-to-current converter 122 (see FIG. 7 ). It will be appreciated that steps 152 , 154 and 156 may be performed in any order.
The slope (or charge/discharge rate) of the control voltage (V C ,V* C ) applied to the sources of switching transistors M 1 and M 2 is derived, in step 158 , from the control current I and effective capacitance C. More particularly, the slope is given by the ratio of the control current to the effective capacitance (I/C).
Load transistors M 3 and M 4 present effective load resistances of, respectively, R M3 and R M4 . These effective load resistances are assumed equal and are defined as follows: R LOAD = R M3 = R M4 = 1 μ P C OX ( V GS3 , 4 - V T3 , 4 ) ( W / L ) 3 , 4 .
Assume, in an initial state (time “A” in FIG. 6 ), that switching transistor M 1 is turned off and switching transistor M 2 is turned on. Since switching transistor M 2 is turned on, current flows through switching transistor M 2 and load transistor M 4 . Ignoring gate currents, the current flowing through transistors M 2 and M 4 is equal to 2I. The output voltage V O at the drain of load transistor M 4 , therefore, is:
V O =V DD −2IR LOAD ;
or
V
O
=V
DD
−V
SW
Since the lack of a drain current turns load transistor M 3 off, the output voltage V* O at the drain of load transistor M 3 is:
›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 2 of 4
V* O =V DD .
Hence, in this initial state at time “A”, V O is low and V* O is high (step 162 )
Switching transistor M 2 is assumed to be in the saturation region since the voltage swing, V SW =2IR LOAD , is typically smaller than the threshold voltage V T2 of transistor M 2 . For example, assuming that the reference voltage is appropriately programmed to yield a swing voltage of 0.6V, giving oscillator 100 a 1.2V peak-to-peak differential swing, the threshold voltage V T2 is normally larger than 0.6V. The control voltage V C at the source of switching transistor M 2 is given by:
V C =V* O −V GS2 =V DD V T2 −Δ 2 ;
where Δ 2 is the minimum saturation voltage of switching transistor M 2 . No current flows through transistor M 1 hence, the initial control voltage V* C at the source of transistor M 2 is a function of the swing voltage (step 162 ):
V* C =V O =V DD V SW .
The flow of current through transistors M 4 and M 2 charges the capacitors on transistor M 2 side (V C ), and steadily increases the negative charge on its transistor M 1 side (V* C ). The rate of decrease of V* C from its starting value at time “A” is equal to the slope I/C (step 164 ). So long as ΔV* C is less than the threshold voltage V T1 of transistor M 1 , transistor M 1 remains off and transistor M 2 remains on and, accordingly, the output V O remains low and the output V* O remains high (step 168 ). When V* C becomes sufficiently negative to cause the gate-to-source voltage across transistor M 1 to exceed the threshold voltage of transistor M 1 , that is, when V O −V* C >V T1 transistor M 1 turns on. Substituting for V O , transistor M 1 turns on when:
V* C <V DD −V SW −V T1 .
The resulting voltage drop at the gate of transistor M 2 (through its coupling to the drain of transistor M 3 ) turns transistors M 2 and M 4 off. A current 2I now flows through transistors M 3 and M 1 , with a current I flowing through the capacitors in the opposite direction. By virtue of the current flow, V* O drops from high (V DD ) to low (V DD −V SW ). Conversely, as no current flows through transistors M 4 and M 2 , V O jumps from low (V DD −V SW ) to high (V DD ) (step 170 ). This output level switch is illustrated at time “B” in FIG. 6 . The voltage jump V C −V* C that occurs across the capacitors when the transistors change states is given by:
V C −V* C =( V DD −V T2 −Δ 2 )−( V DD −V SW −V T1 )= V SW −Δ 2 ;
where V T1 and V T2 are assumed to be equal. If Δ 2 <<V SW , then V C −V* C ≈V SW . This assumption is reflected in FIG. 6 .
At the time of the state switch, the current I may be adjusted if necessary to align the output clock signal V O in phase or frequency with the reference clock signal (step 172 ). If the control current is adjusted, the slope of the control voltage (I/C) will be altered, which ultimately affects the frequency of the output signal. If no frequency adjustment is necessary, the process is repeated without a change in control voltage slope.
Following the state switch at time “B”, the capacitors begin to charge in the opposite direction. Now the control voltage V C at the source of transistor M 2 decreases at a rate equaling the programmed slope. Until V C becomes negative enough to turn transistor M 2 on, V O stays high and V* O stays low. At time “C”, when the control voltage becomes negative enough that the gate-to-source voltage of transistor M 2 exceeds the threshold voltage of transistor M 2 , another state switch occurs. In this manner, the output voltages V O and V* O take the form of oscillating square waves (180° out-of-phase). The capacitor voltage changes by 2(V C −V* C ) and the oscillation period T is determined as follows: T = 2 · ( C · 2 ( V SW - Δ 2 ) I ) ; T = 4 CV SW I ( 1 - Δ 2 V SW ) ; T ≈ 4 CV SW I ; if Δ 2 << V SW
Hence, the period T of oscillator 100 is fully characterized by the programmed effective capacitance C, the programmed voltage swing V SW and the control current I, so long as the ratio of the minimum saturation voltage of the switching transistors to the voltage swing ( Δ 1 , 2 V SW )
is negligible. The output frequency f OUT of oscillator 100 , then, is given by: f OUT ≈ I 4 CV SW
The sensitivity of the oscillator to changes in the control current, or the frequency gain, is designated: K CCO = Δ f Δ I
Assuming a fixed effective capacitance C and a fixed voltage swing V SW , the sensitivity of the oscillator to changes in the control current is: K CCO = 1 4 CV SW
Similarly, for a voltage-controlled oscillator, the sensitivity of the oscillator to changes in the control (loop filter) voltage is: K VCO = 1 4 CV SW
FIGS. 7 a and 7 b depict methods for programming VCO and CCO sensitivity or gain that take advantage of these relationships. In FIG. 7 a , a method for programming the VCO gain K VCO is provided. In step 180 , a desired gain K VCO is selected. In step 182 , the VCO gain is coarse-tuned by fixing the capacitance C to achieve the selected K VCO , and in step 184 , the VCO gain is fine-tuned by fixing the voltage swing V SW to achieve the selected K VCO . Similarly, in FIG. 7 b , a method for programming the CCO sensitivity K CCO is provided. In step 190 , a desired sensitivity K CCO is selected. In step 192 , the CCO sensitivity is coarse-tuned by fixing the capacitance C to achieve the selected K CCO , and in step 194 , the CCO sensitivity is fine-tuned by fixing the voltage swing V SW to achieve the selected K CCO .
Additional detail regarding the foregoing is available in “A Low Power, Wide Linear-Range CMOS Voltage-Controlled Oscillator,” Woogeun Rhee, IEEE International Symposium on Circuits and Systems, Monterey, Calif., 1998, hereinafter “Rhee Article,” which is fully incorporated by reference as though set forth in full.
FIG. 8 is a more detailed schematic of a circuit implementation of oscillator 100 . Oscillator 100 is implemented in three stages: a voltage-to-current converter stage 122 , a replica cell stage 112 and a current-controlled oscillator stage 116 . High oscillation speeds mandate the use of NMOS transistors (M 1 , M 2 , M 5 -M 8 , M 10 -M 12 , M 14 , M 19 and M 20 ) in cooperation with PMOS load transistors (M 3 , M 4 , M 9 and M 15 -M 18 ).
›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 3 of 4
The current-controlled oscillator stage 116 was substantially described in relation to FIGS. 3-7. In this implementation, switching transistors M 1 and M 2 have an aspect ratio of 48/0.35. A 1.2V peak-to-peak differential swing (0.6V voltage swing) and a power supply of 2.5V are also used in this implementation. Load transistors M 3 and M 4 have an aspect ratio of 24/1.0. Two timing capacitors C 1A and C 1B are connected in parallel between the sources of switching transistors M 1 and M 2 . Current sources 104 and 106 (FIG. 4) are embodied by cascoded current mirror transistor pairs M 5 , M 7 and M 6 , M 8 . The current I flowing through transistor pair M 5 , M 7 , therefore, is substantially the same as the current I flowing through transistor pair M 6 , M 8 .
Transistor pairs M 19 , M 20 and M 11 , M 12 mirror the control current I to current-controlled oscillator stage 116 . The gates of cascode transistors M 5 and M 6 are coupled to the gates of cascode transistors M 11 and M 19 , and are tied to a bias voltage BIAS 1 , while the gates of mirror transistors M 7 and M 8 are coupled to the gates of mirror transistors M 12 and M 20 . The drains of cascode transistors M 5 and M 6 are connected to the sources of transistors M 1 and M 2 and have timing capacitors C IA and C IB coupled in parallel therebetween to provide the control voltages (V C ,V* C ). The sources of cascode transistors M 5 and M 6 are coupled to the drains of mirror transistors M 7 and M 8 , and the sources of mirror transistors M 7 and M 8 are grounded. In this implementation, transistors M 5 and M 6 have an aspect ratio of 20/0.35, transistors M 7 and M 8 have an aspect ratio of 28/1.2, and transistors M 11 and M 12 have an aspect ratio of 14/1.2
Transistors M 9 , M 10 and operational amplifier 118 comprise replica cell 112 . The output of amplifier 118 is coupled to the gate of transistor M 9 and the gates of oscillator load transistors M 3 and M 4 . The source of transistor M 9 is coupled to the supply voltage V DD (2.5 V) and the drain of transistor M 9 is coupled to the positive input of amplifier 118 , thereby constituting a feedback loop. The drain of transistor M 9 is also coupled to the drain of transistor M 10 , whose gate is set to the supply voltage. The reference voltage V REF is digitally programmable and is supplied to the negative input of amplifier 118 .
Replica cell 112 fixes the value of the voltage swing V SW to the difference between the supply voltage and the reference voltage (V SW =V DD −V REF ). More particularly, amplifier 118 sets V DD −V SW to V REF . In one implementation example, V REF is set at 1.9V and the tail current I is set at 300 μA. Solving for R LOAD (V SW =2IR LOAD ) yields an effective load resistance across each of transistors M 3 and M 4 of 1 KΩ and a voltage swing of 0.6V. As shown in FIG. 4, in a preferred implementation example, V REF is selectable from a plurality of voltages V REF1 . . . V REFM . This permits a user to program the voltage swing and to thereby fine-tune the oscillation frequency. Transistor M 9 has an aspect ratio of 5/1.0 and transistor M 10 has an aspect ratio of 12/0.35.
Voltage-to-current converter 110 generates a control current I proportional to the value of an input voltage V LF to the gate of transistor M 14 . The amplitude of V LF is representative of necessary adjustments to the frequency of oscillator 100 . In a conventional phase-locked loop, such as that illustrated in FIG. 1, V LF is the voltage developed across a loop filter from the output current of a charge pump. A resistor R is connected in series between the source of transistor M 14 and ground. Application of the loop filter voltage across resistor R generates the control current I, which is mirrored to current-controlled oscillator stage 116 .
Transistor pairs M 15 , M 17 and M 16 , M 18 comprise a cascoded PMOS current mirror. The sources of mirror transistors M 15 and M 1 6 are tied to the supply voltage; and their gates are coupled to the drain of transistor M 14 . Hence, the control current I developed across resistor R is mirrored through transistors M 15 and M 16 . The drains of mirror transistors M 15 and M 16 are connected to the sources of cascode transistors M 17 and M 18 . The gates of cascode transistors M 17 and M 18 are regulated by bias voltage BIAS 2 ; and their drains are coupled to the drains of NMOS transistors M 14 and M 19 . The drain of transistor M 18 is also coupled to the gates of mirror transistors M 20 , M 12 , M 7 , M 8 in order to mirror the control current to the oscillator. Transistor pair M 19 and M 20 is coupled in a cascoded mirror configuration with transistor pairs M 11 , M 12 ; M 5 , M 7 ; and M 6 , M 8 .
The aspect ratios of transistors M 14 -M 20 in this implementation are as follows: transistor M 14 , 200/0.35; transistor M 15 , 100/0.7; transistor M 16 , 50/0.7; transistor M 17 , 100/0.35; transistor M 18 , 50/0.35; transistor M 19 , 7/0.35; and transistor M 20 , 7/1.2. If a 6 KΩ resistor R is used, a transconductance of 300 μA/V is provided. Hence, a loop filter voltage V LF of one volt will result in a control current I of 300 μA that is mirrored to current-controlled oscillator stage 116 . The control current generated by voltage-to-current converter 122 is represented in FIG. 4 as two current sources 104 and 106 .
Assuming a 6.4 pF timing capacitance (the effective capacitance of parallel capacitors C 1A and C 1B ), a 1.9 V replica cell reference voltage, and a 300 μA control current, oscillator 100 generates an output signal having a frequency of 54 MHz. The output waveforms (V O ,V* O ) are essentially as shown in FIG. 3, Assuming a 0.2 pF timing capacitance (all other variables being the same), a 1 GHz oscillation frequency results, although parasitic capacitance does degrade the linearity of the 1 GHz waveform in relation to the 54 MHz waveform. Since the leakage current to the parasitic capacitance also reduces the voltage swing, the operating speed of the oscillator is not degraded significantly.
›DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS · 4 of 4
FIGS. 9 and 10 illustrate the voltage-to-frequency, frequency-to-timing capacitance and current sensitivity-to-timing capacitance characteristics for the foregoing implementation of oscillator 100 . FIG. 9 plots the input loop filter voltage V LF versus oscillation frequency for effective timing capacitances of 0.2 pF, 0.4 pF, 0.8 pF and 1.6 pF. A voltage swing of 0.6 volts is assumed. As can be seen, for each capacitance value, a substantially linear voltage-to-frequency characteristic is obtained. FIG. 10 a plots the output frequency as a function of timing capacitance, with the control current I fixed at 1.4 mA and the voltage swing fixed at 0.6 volts. As can be seen, a 0.2 pF timing capacitance yields an oscillation frequency of 1 GHz. A plot of oscillator current sensitivity K CCO ( 1 4 CV SW )
for varying values of C in FIG. 10 b graphically depicts the ability to coarse-tune the oscillator sensitivity by varying the timing capacitance. Again, a voltage swing of 0.6 volts and a control current of 1.4 mA are assumed. As indicated, when the capacitance is halved, the sensitivity is reduced by 40-48%. The use of large timing capacitors yields nearly a 50% reduction in sensitivity as parasitic capacitance becomes negligible.
Additional detail on the foregoing implementation example and the accompanying plots is available in the Rhee article, previously incorporated herein by reference.
One practical implementation of oscillator 100 is in a low-power phase-locked loop or digital clock generator 200 as illustrated in FIG. 11 . The gain or sensitivity of oscillator 100 is programmed by decoder 202 in an adaptive way to minimize the variation of loop bandwidth resulting from the different division values (N) used by frequency divider 204 . The bandwidth of clock generator 200 is approximately given by: BW ≅ K PD K VCO N ;
where K PD is the gain of phase/frequency detector 206 and K VCO is the gain of oscillator 100 . The output of VCO 100 is looped back through a 6-bit programmable frequency divider 204 , and then to phase/frequency detector 206 for comparison with the reference clock (having a frequency of 16 MHz, for example). The output of phase/frequency detector 206 is passed through charge pump/loop filter 208 to generate a control voltage V LF that is applied to oscillator 100 . Further detail regarding the operation of these elements is set forth in the discussion of FIG. 1, above. The output signal of generator 200 , after divider 210 halves the frequency of the output signal from VCO 100 , is a digital clock having a frequency of 8-504 MHz.
The 6-bit programming signal that sets the division value N for divider 204 is also supplied to decoder 202 . Based on this 6-bit signal, decoder 202 outputs a 2-bit signal to VCO 100 effective to select a particular timing capacitor and thereby program the center frequency of VCO 100 . The table below lists the 2-bit outputs of decoder 202 and associated timing capacitance C for selected ranges of division factors N:
A similar technique could be employed to provide a programmable charge pump. The performance of a programmable charge pump is limited by voltage compliance requirements unless the gain of the VCO is sufficiently high. A low VCO gain (and high phase detector gain), however, is desirable for better jitter performance. By making the center frequency of the VCO programmable, the output voltage of the charge pump needed to control the VCO can be designed to be within the maximum range without increasing the VCO gain.
Relative to a ring-oscillator of using differential delay cells (FIG. 2 a ), VCO 100 has a single stage with fewer transistors, resulting in less power consumption and better noise performance. Since its oscillation frequency is completely defined by the timing capacitors, the tail current and the voltage swing, VCO 100 is less sensitive to process and temperature variations. The tail current of typical ring oscillators also varies significantly, making implementation of a stable replica cell difficult. Relative to a relaxation oscillator having a grounded capacitor (FIG. 2 b ), VCO 100 consumes less power and provides a differential output. Finally, relative to a conventional relaxation oscillator having a floating capacitor (FIG. 2 c ), VCO 100 has a wider and programmable linear range and exhibits less sensitivity to process variations.
While particular embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not as limitations. The breadth and scope of the present invention is defined by the following claims and their equivalents, and is not limited by the particular embodiments and implementation examples described herein.
›Tables in the description — 1
| N | (VCO Control) |
| 1-16 | 00 (C = 1.6 pF) |
| 17-32 | 01 (C = 0.8 pF) |
| 33-48 | 10 (C = 0.4 pF) |
| 49-64 | 11 (C = 0.2 pF) |
Claims as granted
40 claimsLog in to read the claims of this application.
Log in to unlockClassifications
7 codes- H03K3/354
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock