1. Field of the Invention
The present invention generally relates to clock generators. More specifically, the present invention provides a frequency-locked clock generator having improved jitter and updating performance for large divider ratios.
2. Related Art
Often, a phase-locked loop (PLL) is used to generate an output clock signal from a given input signal having a reference frequency. The frequency of the output signal compared to the frequency of the input signal is considered the divider ratio of the PLL. The reference input signal is generally a relatively low frequency signal generated by an expensive crystal oscillator.
The loop bandwidth of the PLL is limited by the frequency of the input reference signal. Consequently, the updating performance of the PLL is impaired when a low frequency reference signal is used to generate a high frequency clock signal. Specifically, for large divider ratios, the limited loop bandwidth may prevent adequate updating of the output clock signal. In turn, the jitter performance of the PLL suffers. Overall, the PLL is an expensive design that provides poor performance in terms of slow response/updating time and jitter control when used to generate a high frequency output clock signal from a low frequency input signal.
Accordingly, the present invention is directed to a reduced cost clock generator that produces an accurate and stable output signal having improved jitter and updating performance for large divider ratios.
In one embodiment, there is provided a frequency-locked clock generator having a voltage-controlled oscillator (VCO), a frequency-to-current converter, a reference current source and a gain stage. The VCO generates an output signal having a frequency that is adjustable. The frequency-to-current converter generates a converter current proportional to the frequency of the output signal. The reference current source, coupled to the frequency-to-current converter, generates a reference current. The gain stage generates a control signal based on a difference between the converter current and the reference current. The control signal is applied to the VCO to adjust the frequency of the output signal. Overall, the feedback of the frequency-locked clock generator forces the VCO to generate an output clock signal such that the corresponding current it produces (i.e., the converter current) is equal to the reference current. When in lock, the frequency of the output signal is determined by a time constant (or equivalent time constant) of the frequency-locked clock generator. The time constant is determined by the frequency-to-current converter and the reference current source.
In an alternative embodiment, there is provided a method for generating a frequency-locked clock signal. A feedback signal based on an output signal is generated. A converter current proportional to a frequency of the feedback signal is generated. The converter current is compared to a reference current to determine an error signal. A control signal is generated based on the error signal. The control signal is used to adjust a frequency of the output signal so as to minimize the error signal. The frequency of the output signal is locked to a time constant (or equivalent time constant) when the error signal is substantially equal to zero.
Additional features and advantages of the invention will be set forth in the description that follows, and in part will be apparent from the description, or may be learned by practice of the invention. The advantages of the invention will be realized and attained by the structure and particularly pointed out in the written description and claims hereof as well as the appended drawings.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable one skilled in the pertinent art to make and use the invention.
As shown in
The phase detector 106 generates an evaluation signal 118 based on a comparison of the phases of the input signal 104 and the comparison signal 116. The charge pump 108 converts the evaluation signal 118 into an adjustment signal 120. The LPF 110 filters the adjustment signal 120 to produce a filtered adjustment signal 122. The filtered adjustment signal 122 is applied to the VCO 112. The filtered adjustment signal 122 is used to adjust the frequency of the output signal 102 to correct for any phase difference between the input signal 104 and the comparison signal 116. In this way, the conventional PLL 100 uses feedback to continuously monitor and adjust the frequency of the output signal 102.
The input signal 104 is typically provided by a crystal oscillator. The crystal oscillator is an expensive component required by the conventional PLL 100. The loop bandwidth of the conventional PLL 100 is limited by the input reference clock 104. Typically, the loop bandwidth is limited to approximately one-tenth of the frequency of the input signal 104.
The constraint placed on the loop bandwidth of the conventional PLL 100 by the reference clock 104 is particularly problematic when it is desired to generate an output signal 102 having a frequency that is much greater than the frequency of the input signal (i.e., fout>>fref). When a large divider ratio, N, is needed to generate the output signal 102, the loop bandwidth of the conventional PLL 100 becomes insufficient. Specifically, the conventional PLL 100 is unable to update the operation of the VCO 112 quickly enough in response to the continuous generation of the output signal 102. That is, the updating operations of the conventional PLL 100 become so infrequent, when compared to the frequency of the output signal 102, that the VCO 112 is considered to be free-running. In turn, the jitter performance of the conventional PLL 100 suffers. Overall, the conventional PLL 100 is an expensive design that provides poor performance in terms of slow response/updating time and jitter control for large divider ratios.
Accordingly, there is a need for a reduced cost clock generator that produces an accurate and stable output signal having improved jitter and updating performance for large divider ratios.
As shown in
The output signal 202 can be considered the clock signal or clock generated by the frequency-locked clock generator 200. The output signal 202 can therefore be considered a frequency signal. Likewise, the feedback signal 214 can be considered a frequency signal. The F2I converter 204 uses the feedback frequency signal 214 to generate a converter current 216 (Iconv). The converter current 216 is proportional to the frequency of the feedback frequency signal 214.
As further shown in
As previously mentioned, when the frequency-locked clock generator 200 is in lock, the frequency of the output signal 202 is determined by the reference voltage 220, the reference current 218 and a reference capacitor value. Specifically, the frequency of the output signal 202 is equal to:
when the frequency divider 212 is used and C represents a capacitance value of the frequency-locked clock generator 200. Alternatively, the frequency of the output signal 202 is equal to:
when the frequency divider 212 is absent (i.e., N=1).
The reference current 218 can be generated from the reference voltage 220 using a reference resistor, R. Under this scenario, the frequency of the output signal 220 is locked to a time constant such that:
when the frequency divider 212 is used and where R=VREF/IREF. When the frequency divider 212 is absent, N=1 in Eq. 3.
The values of the reference current 218, the reference voltage 220, and the capacitor value C can be adjusted or trimmed during operation of the frequency-locked clock generator 200 to fine-tune the frequency of the output signal 202 without the need for off-chip components.
By tying or locking the frequency of the output signal 202 to the reference voltage 220, the reference current 218 and the capacitor value C, the frequency-locked clock generator 200 reduces jitter in the output signal 202. Further, the frequency-locked clock generator 200 saves space and reduces costs since a reference clock is not required. Additionally, the loop bandwidth of the frequency-locked clock generator 200 is not limited or constrained by a reference clock. Consequently, the loop bandwidth of the frequency-locked clock generator 200 can be made large to ensure adequate up-dating and adjustment of the VCO 210.
The F2I converter 204 includes a first switch 302, a second switch 304, a third switch 306, a fourth switch 308, a capacitor 310, and a non-overlapping clock generator 312. The switches 302-308 can be implemented using transistors such as, for example, MOSFETs. A first terminal of the first switch 302 is coupled to a ground. A second terminal of the first switch 302 is coupled to a first terminal of the capacitor 310. A first terminal of the second switch 304 is coupled to the reference voltage 220. A second terminal of the second switch 304 is coupled to the first terminal of the capacitor 310. A first terminal of the third switch 306 is coupled to the reference voltage 220. A second terminal of the third switch 306 is coupled to a second terminal of the capacitor 310. A first terminal of the fourth switch 308 is coupled to the second terminal of the capacitor 310. A second terminal of the fourth switch is coupled to the inverting input of the op-amp 314.
The non-overlapping clock generator 312 uses the feedback frequency signal 214 to generate a first clock signal 316 and a second clock signal 318. The first clock signal 316 and the second clock signal 318 are non-overlapping clock signals having the same frequency but opposite phase.
The first clock signal 316 controls the first switch 302 and the third switch 306. The second clock signal 318 controls the second switch 304 and the fourth switch 308. The first switch 302 and the third switch 306 form a first pair of switches. The second switch 304 and the fourth switch 308 form a second pair of switches. Only one pair of switches is activated or latched at any given time due to the non-overlapping nature of the clock signals 316 and 318. Specifically, during approximately a first half cycle of the feedback frequency signal 214, the clock signal 316 activates the first switch 302 and the third switch 306. When the first switch 302 and the third switch 306 are activated, the capacitor 310 is charged by the reference voltage 220. The second switch 304 and the fourth switch 308 are deactivated when the first switch 302 and the third switch 306 are activated.
During approximately a second half cycle of the feedback frequency signal 214, the clock signal 318 activates the second switch 304 and the fourth switch 308. When the second switch 304 and the fourth switch 308 are activated, the capacitor 310 is coupled to the inverting input of the op-amp 314. The capacitor 310 is discharged when the second switch 304 and the fourth switch 308 are activated. The first switch 302 and the third switch 306 are deactivated prior to the activation of the second switch 304 and the fourth switch 308 are activated. Likewise, the second switch 304 and the fourth switch 308 are deactivated prior to activation of the first switch 302 and the third switch 306.
By alternating the activation and deactivation of the first and second pair of switches, the capacitor 310 is successively charged and discharged. As a result, the F2I converter 204 produces an average converter current 216 equal to:
where C310 represents a capacitance of the capacitor 310. The converter current 216 flows in the direction of the inverting input of the op-amp 314. As shown in Eq. 4 and Eq. 5, the converter current 216 is proportional to how quickly the capacitor 310 is charged and discharged (i.e., the frequency of the feedback signal 214) and the value of the reference voltage 220.
The op-amp 314 generates the control signal 222 by integrating the difference between the converter current 216 and the reference current 218. In this way, any error between the converter current 216 and the reference current 218 is used to adjust a frequency of the output signal 220 using negative feedback. Specifically, if the converter current 216 is greater than the reference current 218, then the control signal 222 responds by reducing the frequency of the output signal 202. Alternatively, if the converter current 216 is less than the reference current 218, then the control signal 222 responds by increasing the frequency of the output signal 202.
Over time, the error between the converter current 216 and the reference current 218 is reduced by the gain stage 208-A. When the frequency-locked clock generator 200 is in lock, the converter current 216 is equal to the reference current 218. During lock, the op-amp 314 has driven the voltage at the inverting input of the op-amp 314 to the voltage at the non-inverting input (i.e., the reference voltage 220). As a result, the potential across the resistor 320 is approximately equal to the reference voltage 220. Accordingly, the frequency of the output signal 202 can be shown to be:
when the frequency divider 212 is used, where R is equal to a resistance value of the resistor 320. Alternatively, when the frequency divider 212 is not used (i.e., N=1), it can be shown that the frequency of the output signal 202 is equal to:
Eqs. 8 and 9 show that the frequency of the output signal 202 is well defined and, more specifically, equal to a multiple of the time constant of the frequency-locked clock generator 200 when in lock. It is important to note that the difference between Eq. 8 and Eq. 1 (and Eq. 9 and Eq. 2) is that the VREF/IREF ratio of Eq. 1 (and Eq. 2) is realized by using the resistor 320 such that R=VREF/IREF (e.g., R can be the DC equivalent resistance of the reference current source 206). Accordingly, Eqs. 8 and 9 show that the frequency of the output signal 202 is locked to a time constant of the frequency-locked clock generator 200 while Eqs. 1 and 2 show that the frequency of the output signal 202 is locked to an equivalent time constant of the frequency-locked clock generator 200.
As previously mentioned, the capacitor 310 and the resistor 320 determine the time constant of the frequency-locked clock generator 200. The capacitor 310 is shown as a variable capacitor to indicate that the value of the capacitor 310 can be varied during operation of the frequency-locked clock generator 200. Specifically, the variable capacitor 310 can be implemented as a bank of switch-controlled capacitors (e.g., a capacitor array) that can be individually added or removed to increase or decrease the value of the variable capacitor 310. Accordingly, the constituent capacitors comprising the variable capacitor 310 can be can be similarly-valued capacitors, differently-valued capacitors or binary ratio capacitors.
Likewise, the resistor 320 is shown as a variable resistor to indicate that the value of the resistor 320 can be varied during operation of the frequency-locked clock generator 200. Specifically, the variable resistor 320 can be implemented as a bank of switch-controlled resistors that can be individually added or removed to increase or decrease the value of the variable resistor 320. Accordingly, the constituent resistors comprising the variable resistor 320 can be can be similarly-valued resistors, differently-valued resistors or binary ratio resistors. Alternatively, the variable resistor 320 can be implemented as one or more MOSFETs providing adjustable resistance by varying the biasing of the one or more MOSFETs.
As previously mentioned, the frequency-locked clock generator 200 is configured as a negative feedback system. The gain stage 208 uses any error between the converter current 216 and the reference current 218 to adjust the value of the converter current 216. Overall, the feedback of the frequency-locked clock generator 200 forces the VCO 210 to generate an output clock signal 202 such that the corresponding current it produces (i.e., the converter current 216) is equal to the reference current 218. Accordingly, the frequency of the clock signal 202 can be adjusted by varying the reference current 218.
The frequency-locked clock generator 200 provides a clean output clock 202 without the use of a crystal oscillator to provide a reference frequency. The output clock 202 is frequency-locked to a programmable time constant. Specifically, the time constant, and therefore the frequency of the output signal 202, can be adjusted by varying the value of the capacitance associated with the F2I converter 204 and/or the value of the resistance associated with the reference current source 206. Further, the value of the capacitance associated with the F2I converter 204 and the value of the resistance associated with the reference current source 206 can be made to be very accurate. In turn, the frequency of the output signal 202 can be made very accurate. Additionally, the loop bandwidth of the frequency-locked clock generator 200 can be made very large to ensure the VCO 210 is adequately updated.
The gain of the gm/C gain stage 208-B is a function of the transconductance (gm) of the transconductor 402 and the impedance of the output capacitor 406. Mathematically, the gain of the gm/C gain stage 208-B can be shown to be:
where f represents a frequency of an input signal to the gain stage 208-B and C406 represents a capacitance of the capacitor 406.
Eq. 11 reveals that the gain of the gm/C gain stage 208-B increases as the frequency of the signal applied to the gm/C gain stage 208-B decreases. As a result, the gm/C gain stage 208-B behaves like the integrator gain stage 208-A depicted in
The embodiments of the frequency-locked clock generator 200 depicted in
At step 502, an initial clock signal is generated. The initial clock signal can be generated by a VCO that produces a periodic waveform. The frequency of the periodic waveform may be varied about some free-running frequency.
At step 504, a feedback signal based on the clock signal is generated. The frequency of the feedback signal is proportional to the frequency of the output clock signal. When the clock signal is used as the feedback signal, the frequency of the feedback signal is equal to the frequency of the clock signal. Alternatively, when the clock signal is frequency-divided to produce the feedback signal, the frequency of the feedback signal is a fraction of the frequency of the clock signal. The clock signal can be divided by a divider ratio, N, where N is a positive integer.
At step 506, a converter current is generated. The converter current is generated based on the frequency of the feedback signal. Specifically, the converter current is proportional to the frequency of the feedback signal. The converter current can be generated by a circuit that generates an average output current having a value that is proportional to the frequency of the feedback signal. For example, a switched capacitor circuit can be used to generate the converter current. The F2I converter 204, as described in relation to
At step 508, the converter current is compared to a reference current to determine an error signal. The reference current can be generated using a reference current source. The reference current source can be generated using a reference resistance and a reference voltage. A transistor, such as a MOSFET, can be configured to provide the reference resistance.
The error signal provides an indication whether the converter current is greater than, less than or equal to the reference current. The error signal can be generated by applying the reference current and the converter current to a circuit that compares the two currents. For example, the error signal can be generated by applying the converter current and the reference current to the summing node (i.e., inverting input) of the op-amp 314 depicted in
At step 510, a control signal is generated based on the error signal. The control signal can be, for example, an averaged value of the error signal and can be produced by integrating the value of the error signal over a programmable or adjustable amount of time.
At step 512, the control signal is used to adjust the frequency of the clock signal. For example, the control signal can be a voltage signal which adjusts a free-running frequency of a VCO used to generate the initial clock signal. The frequency of the clock signal is adjusted in step 512 so as to reduce or minimize the error signal. Further, steps 504-512 can provide a negative feedback control of the frequency of the clock signal. Specifically, the frequency of the clock signal is increased when the converter current is less than the reference current and is decreased when the converter current is greater than the reference current.
Step 514 illustrates the repeated monitoring and frequency adjustment operation provided by the present invention. Specifically, step 514 shows that the present invention provides a method for continuously monitoring and updating the frequency of the clock signal based on the error signal generated in step 508.
The frequency of the clock signal is considered to be in lock (i.e., frequency-locked) when the error signal is substantially equal to zero. When in lock, the steps 504-514 have adjusted the frequency of the clock signal such that it produces a converter current that is substantially equal to the reference current. The frequency of the clock signal can be determined by programming or adjusting the reference current. The reference current can be varied during operation of any of the aforementioned steps.
The flowchart 500 illustrates the operational steps for generating a clock signal without the use or need of a reference frequency signal. By obviating the need for a reference frequency, the speed at which the operational steps depicted in
The F2I converter 602 can be configured similarly to the F2I converter 204 (e.g., as depicted in
I
REF
=C
REF
·f
REF
·V
REF Eq. 12
The F2I converters 602 and 204 are operated in a push-pull configuration. Specifically, the F2I converter 202 generates an average converter current 216 that flows into an input of the gain stage 208. In contrast, the F2I converter 602 generates an average reference current 218 that flows away from the input of the gain stage 208. In this way, the input of the gain stage 208 operates as a summer to compare the reference current 218 and the converter current 216 to generate the control signal 222. The remaining constituent components and signals of the clock generator 600 operate or behave as described above in reference to
when the frequency divider 212 is used, where C represents a capacitance of capacitor associated with the F2I converter 204. Alternatively, when the frequency divider 212 is absent (e.g., N=1), the frequency of the output signal 202 can be shown to be:
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example and not limitation. It will be apparent to one skilled in the pertinent art that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Therefore, the present invention should only be defined in accordance with the following claims and their equivalents.
This application is a continuation of U.S. patent application Ser. No. 11/436,570, filed May 19, 2006 (now allowed), which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 11436570 | May 2006 | US |
Child | 12637330 | US |