Patent application title: CLOCK GENERATOR AND METHOD FOR GENERATING CLOCK SIGNAL
Inventors:
IPC8 Class: AH03L7099FI
USPC Class:
1 1
Class name:
Publication date: 2020-09-10
Patent application number: 20200287556
Abstract:
A clock generator includes an oscillator that generates a clock signal as
an output of the clock generator, where the frequency of the clock signal
is dependent on a bias current. A feedback circuit receives the clock
signal and generates a feedback signal indicative of a frequency of the
clock signal. A voltage detector generates a charged voltage using the
feedback signal, compares a source voltage with the charged voltage, and
generates a detection signal indicative of the comparison between the
source voltage and the charged voltage. A control voltage generator
generates a control voltage using the detection signal. The bias current
is generated by a bias current source using the control voltage.Claims:
1. A clock generator that generates a clock signal, comprising: an
oscillator that generates the clock signal; a feedback circuit connected
to the oscillator to receive the clock signal, wherein the feedback
circuit generates a feedback signal indicative of a frequency of the
clock signal; a voltage detector connected to the feedback circuit to
receive the feedback signal, wherein the voltage detector compares a
source voltage with a charged voltage generated using the feedback
signal, and generates a detection signal indicative of the comparison
between the source voltage and the charged voltage; a control voltage
generator connected to the voltage detector to receive the detection
signal, wherein the control voltage generator generates a control voltage
using the detection signal; and a bias current source connected to the
control voltage generator to receive the control voltage, wherein the
bias current source generates a bias current using the control voltage,
and wherein the frequency of the clock signal generated by the oscillator
is dependent on the bias current, wherein the voltage detector comprises
a charge capacitor that provides the charged voltage, and wherein the
charge capacitor is charged in response to the feedback signal.
2. (canceled)
3. The clock generator of claim 1, wherein the voltage detector is connected to the bias current source in response to the feedback signal.
4. The clock generator of claim 3, wherein the charge capacitor receives a charging current from the bias current source in response to the voltage detector being connected to the bias current source, and wherein the charging current mirrors the bias current.
5. A clock generator that generates a clock signal, comprising: an oscillator that generates the clock signal; a feedback circuit connected to the oscillator to receive the clock signal, wherein the feedback circuit generates a feedback signal indicative of a frequency of the clock signal; a voltage detector connected to the feedback circuit to receive the feedback signal, wherein the voltage detector compares a source voltage with a charged voltage generated using the feedback signal, and generates a detection signal indicative of the comparison between the source voltage and the charged voltage; a control voltage generator connected to the voltage detector to receive the detection signal, wherein the control voltage generator generates a control voltage using the detection signal; and a bias current source connected to the control voltage generator to receive the control voltage, wherein the bias current source generates a bias current using the control voltage, and wherein the frequency of the clock signal generated by the oscillator is dependent on the bias current, wherein: the voltage detector comprises a comparator that receives the source voltage at a first input terminal and the charged voltage at a second input terminal; the feedback circuit generates a latch signal in response to the clock signal, and provides the latch signal to a latch terminal of the comparator; and the comparator provides the detection signal indicative of the comparison between the source voltage and the charged voltage in response to the latch signal.
6. A clock generator that generates a clock signal, comprising: an oscillator that generates the clock signal; a feedback circuit connected to the oscillator to receive the clock signal, wherein the feedback circuit generates a feedback signal indicative of a frequency of the clock signal; a voltage detector connected to the feedback circuit to receive the feedback signal, wherein the voltage detector compares a source voltage with a charged voltage generated using the feedback signal, and generates a detection signal indicative of the comparison between the source voltage and the charged voltage; a control voltage generator connected to the voltage detector to receive the detection signal, wherein the control voltage generator generates a control voltage using the detection signal; and a bias current source connected to the control voltage generator to receive the control voltage, wherein the bias current source generates a bias current using the control voltage, and wherein the frequency of the clock signal generated by the oscillator is dependent on the bias current, wherein the control voltage generator is connected to the voltage detector to provide the control voltage to the voltage detector, and wherein the voltage detector generates the source voltage using the control voltage.
7. The clock generator of claim 6, wherein the voltage detector comprises an NMOS transistor having a gate terminal that receives the control voltage, a drain terminal that receives an input current, and a source terminal that provides the source voltage, wherein the source terminal is connected to ground by way of a resistor, and wherein the bias current mirrors the input current.
8. The clock generator of claim 7, wherein the bias current source comprises a PMOS transistor having a source terminal connected to a supply voltage, and a drain terminal and a gate terminal that are connected to each other, wherein the drain terminal of the PMOS transistor is connected to the drain terminal of the NMOS transistor of the voltage detector to provide the input current.
9. The clock generator of claim 1, wherein the feedback circuit is a frequency divider configured to divide a frequency of the clock signal to generate the feedback signal.
10. A clock generator that generates a clock signal, comprising: an oscillator that generates the clock signal; a feedback circuit connected to the oscillator to receive the clock signal, wherein the feedback circuit generates a feedback signal indicative of a frequency of the clock signal; a voltage detector connected to the feedback circuit to receive the feedback signal, wherein the voltage detector compares a source voltage with a charged voltage generated using the feedback signal, and generates a detection signal indicative of the comparison between the source voltage and the charged voltage; a control voltage generator connected to the voltage detector to receive the detection signal, wherein the control voltage generator generates a control voltage using the detection signal; and a bias current source connected to the control voltage generator to receive the control voltage, wherein the bias current source generates a bias current using the control voltage, and wherein the frequency of the clock signal generated by the oscillator is dependent on the bias current, wherein the control voltage generator increases the control voltage in response to the detection signal indicating that the source voltage is lower than the charged voltage, and decreases the control voltage in response to the detection signal indicating that the source voltage is higher than the charged voltage, and wherein the control voltage generator comprises a control capacitor having a first plate connected to ground and a second plate providing the control voltage, wherein the control capacitor is charged in response to the detection signal indicating that the source voltage is lower than the charged voltage to increase the control voltage, and wherein the control capacitor is discharged in response to the detection signal indicating that the source voltage is higher than the charged voltage to decrease the control voltage.
11. (canceled)
12. The clock generator of claim 10, wherein the control voltage generator further comprises an upper capacitor and a lower capacitor respectively connected to the second plate of the control capacitor, wherein the upper capacitor is configured to charge the control capacitor in response to the detection signal indicating that the source voltage is lower than the charged voltage, and the lower capacitor is configured to discharge the control capacitor in response to the detection signal indicating that the source voltage is higher than the charged voltage.
13. A method for generating a clock signal, comprising: generating a bias current with a bias current source using the control voltage; generating the clock signal with an oscillator using the bias current; generating a feedback signal with a feedback circuit using the clock signal, wherein the feedback signal is indicative of a frequency of the clock signal; comparing, by a voltage detector, a charged voltage generated using the feedback signal and a source voltage generated using the control voltage; generating a detection signal with the voltage detector in response to the comparison of the charged voltage and the source voltage; and generating the control voltage with a control voltage generator using the detection signal wherein generating the bias current comprises: receiving, by an NMOS transistor, the control voltage at a gate terminal thereof; receiving, by a first PMOS transistor, a supply voltage at a source terminal thereof; connecting a drain terminal of the first PMOS transistor to a drain terminal of the NMOS transistor to provide an input current; mirroring the first PMOS transistor with a second PMOS transistor; and generating the bias current with the second PMOS transistor.
14. (canceled)
15. A method for generating a clock signal, comprising: generating a bias current with a bias current source using the control voltage; generating the clock signal with an oscillator using the bias current; generating a feedback signal with a feedback circuit using the clock signal, wherein the feedback signal is indicative of a frequency of the clock signal; comparing, by a voltage detector, a charged voltage generated using the feedback signal and a source voltage generated using the control voltage; generating a detection signal with the voltage detector in response to the comparison of the charged voltage and the source voltage; and generating the control voltage with a control voltage generator using the detection signal, wherein comparing the charged voltage and the source voltage comprises: providing a charging current to a charge capacitor in response to the feedback signal to charge the charge capacitor; generating the charged voltage with the charge capacitor; receiving, by an NMOS transistor, the control voltage at a gate terminal and an input current at a drain terminal, wherein the bias current mirrors the input current; providing the source voltage at a source terminal of the NMOS transistor; and comparing the charged voltage and the source voltage with a comparator.
16. The method of claim 13, A method for generating a clock signal, comprising: generating a bias current with a bias current source using the control voltage; generating the clock signal with an oscillator using the bias current; generating a feedback signal with a feedback circuit using the clock signal, wherein the feedback signal is indicative of a frequency of the clock signal; comparing, by a voltage detector, a charged voltage generated using the feedback signal and a source voltage generated using the control voltage; generating a detection signal with the voltage detector in response to the comparison of the charged voltage and the source voltage; and generating the control voltage with a control voltage generator using the detection signal, wherein generating the control voltage comprises: increasing the control voltage in response to the detection signal indicating that the source voltage is lower than the charged voltage, by: connecting a control capacitor to an upper capacitor to charge the control capacitor; and providing the control voltage by the control capacitor; or decreasing the control voltage in response to the detection signal indicating that the source voltage is higher than the charged voltage, by: connecting a control capacitor to a lower capacitor to discharge the control capacitor; and providing the control voltage using the control capacitor.
17. A clock generator, comprising: a control voltage generator that generates a control voltage; a bias current source, connected to the control voltage generator, that generates a bias current using the control voltage; an oscillator, connected to the bias current source, that generates a clock signal using the bias current; a feedback circuit, connected to the oscillator, that uses the clock signal to generate a feedback signal indicative of a frequency of the clock signal; a voltage detector, connected to the feedback circuit and the control voltage generator, that generates a detection signal indicative of a comparison between a charged voltage generated using the feedback signal and a source voltage generated using the control voltage; and a control transistor having a gate terminal connected to the control voltage generator to receive the control voltage, a drain terminal connected to receive an input current, and a source terminal connected to the voltage detector to provide the source voltage, wherein the control voltage generator modifies the control voltage using the detection signal.
18. (canceled)
19. The clock generator of claim 17, wherein: the bias current source comprises a diode-connected first PMOS transistor having a source terminal connected to a supply voltage and a drain terminal that provides the input current, a second PMOS transistor that mirrors the first PMOS transistor to provide the bias current, and a third PMOS transistor that also mirrors the first PMOS transistor to provide a charging current; and the voltage detector comprises a charge capacitor that provides the charged voltage, wherein the charge capacitor is connected to the third PMOS transistor in response to the feedback signal to be charged using the charging current.
20. A clock generator, comprising: a control voltage generator that generates a control voltage; a bias current source, connected to the control voltage generator, that generates a bias current using the control voltage; an oscillator, connected to the bias current source, that generates a clock signal using the bias current; a feedback circuit, connected to the oscillator, that uses the clock signal to generate a feedback signal indicative of a frequency of the clock signal; and a voltage detector, connected to the feedback circuit and the control voltage generator, that generates a detection signal indicative of a comparison between a charged voltage generated using the feedback signal and a source voltage generated using the control voltage, wherein the control voltage generator modifies the control voltage using the detection signal, wherein the control voltage generator comprises a control capacitor that provides the control voltage, wherein the control capacitor is, depending on the detection signal, connected to one of an upper capacitor to be charged and a lower capacitor to be discharged.
21. The clock generator of claim 5, wherein the feedback circuit is a frequency divider configured to divide a frequency of the clock signal to generate the feedback signal.
22. The clock generator of claim 6, wherein the feedback circuit is a frequency divider configured to divide a frequency of the clock signal to generate the feedback signal.
23. The clock generator of claim 10, wherein the feedback circuit is a frequency divider configured to divide a frequency of the clock signal to generate the feedback signal.
Description:
BACKGROUND
[0001] The present invention generally relates to a clock signal generator and, more particularly, to a clock signal generator that does not require a reference.
[0002] Many portable devices require an independent clock generator that provides a clock signal at a desired frequency. However, temperature and voltage levels, among other factors, can impact the accuracy of the clock signal.
[0003] Therefore, it is desirable to be able to generate a clock signal with little frequency drift and low power consumption.
SUMMARY
[0004] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
[0005] In one embodiment, the present invention provides a clock generator that includes an oscillator, a feedback circuit, a voltage detector, a control voltage generator, and a bias current source. The oscillator generates a clock signal, which is provided as an output of the clock generator. The feedback circuit is connected to the oscillator to receive the clock signal. The feedback circuit generates a feedback signal indicative of a frequency of the clock signal. The voltage detector is connected to the feedback circuit to receive the feedback signal. The voltage detector compares a source voltage with a charged voltage generated in response to the feedback signal, and generates a detection signal indicative of the comparison between the source voltage and the charged voltage. The control voltage generator is connected to the voltage detector to receive the detection signal and generate a control voltage in response to the detection signal. The bias current source is connected to the control voltage generator to receive the control voltage and generate a bias current in response to the control voltage. The frequency of the clock signal generated by the oscillator is dependent on the bias current.
[0006] In another embodiment, the present invention provides a method for generating a clock signal. The method includes generating a bias current by a bias current source using a control voltage. An oscillator then generates a clock signal using the bias current. A feedback circuit receives the clock signal and generates a feedback signal indicative of a frequency of the clock signal. A voltage detector compares a charged voltage, generated using the feedback signal, and a source voltage, generated using the control voltage. The voltage detector then generates a detection signal in response to the comparison of the charged voltage and the source voltage. A control voltage generator generates the control voltage using the detection signal.
[0007] In yet another embodiment, the present invention provides a clock generator including a control voltage generator, a bias current source, an oscillator, a feedback circuit, and a voltage detector. The control voltage generator generates a control voltage. The bias current source generates a bias current using the control voltage. The oscillator generates a clock signal using the bias current. The feedback circuit uses the clock signal to generate a feedback signal indicative of a frequency of the clock signal. The voltage detector provides to the control voltage generator a detection signal indicative of a comparison between a charged voltage generated in response to the feedback signal and a source voltage generated in response to the control voltage. The control voltage generator further modifies the control voltage using the detection signal.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] So that the manner in which the above recited features of the present invention can be understood in detail, a more detailed description of the invention may be had by reference to embodiments, some of which are illustrated in the appended drawings. The appended drawings illustrate only typical embodiments of the invention and should not limit the scope of the invention, as the invention may have other equally effective embodiments. The drawings are for facilitating an understanding of the invention and thus are not necessarily drawn to scale. Advantages of the subject matter claimed will become apparent to those skilled in the art upon reading this description in conjunction with the accompanying drawings, in which like reference numerals have been used to designate like elements, and in which:
[0009] FIG. 1 is a block diagram of a clock generator according to an exemplary embodiment of the present invention;
[0010] FIG. 2 is a circuit diagram of the clock generator of FIG. 1; and
[0011] FIG. 3 is a timing diagram illustrating signals in the clock generator of FIG. 1.
DETAILED DESCRIPTION
[0012] FIG. 1 is a block diagram of a clock generator 100 according to an exemplary embodiment of the present invention. The clock generator 100 includes a voltage-controlled oscillator (VCO) 102, a bias current source 104, a control voltage generator 106, a feedback circuit 108, and a voltage detector 110. The VCO 102 generates a clock signal as the output of the clock generator 100. The VCO 102 operates using a bias current provided by the bias current source 104, and the frequency of the generated clock signal is adjusted using the bias current. In the presently preferred embodiment, the VCO 102 includes a ring oscillator having multiple series connected delay gates. The delay gates receive the bias current from the bias current source 104 and adjust a delay time based on the bias current, which adjusts the frequency of the generated clock signal.
[0013] The feedback circuit 108 is connected to the VCO 102 to receive the clock signal. The feedback circuit 108 uses the clock signal to generate a feedback signal that indicates the frequency of the clock signal. The feedback circuit 108 is connected to the voltage detector 110 to provide the feedback signal to the voltage detector 110. In the presently preferred embodiment, the feedback circuit 108 includes a frequency divider. The frequency divider generates the feedback signal with a frequency that is a fraction of the frequency of the clock signal from the VCO 102. Accordingly, the frequency divider in the feedback circuit 108 divides the frequency of the clock signal, and the generated feedback signal has a frequency indicative of but lower than the that of the clock signal.
[0014] The voltage detector 110 compares a charged voltage with a source voltage, and generates a detection signal indicative of the comparison result. More specifically, the voltage detector 110 is connected to the feedback circuit 108 to receive the feedback signal. The charged voltage is generated using the feedback signal. The source voltage is generated using a control voltage from the control voltage generator 106. For the purpose of generating the source voltage, the voltage detector 110 also is connected to the control voltage generator 106 to receive the control voltage.
[0015] As described above, the control voltage generator 106 generates the control voltage. Furthermore, the control voltage generator 106 is connected to the voltage detector 110 to receive the detection signal. The control voltage generator 106 adjusts the control voltage using the detection signal. The generated control voltage is provided to the bias current source 104 for generation of the bias current.
[0016] The charged voltage that is indicative of the frequency of the clock signal is compared by the voltage detector 110 with the source voltage that is indicative of the control voltage used to generate the clock signal. The detection signal from the voltage detector 110 reflects the difference between the charged voltage and the source voltage, and is used to adjust the control voltage. If the frequency of the clock signal drifts due to factors such as temperature, the detection signal will indicate the frequency drift. The control voltage can accordingly be adjusted using the detection signal, and in turn to modify the bias current used to generate the clock signal in order to keep the frequency of the clock signal stable (i.e., prevent the clock signal from drifting).
[0017] Referring now to FIG. 2, a circuit diagram of one embodiment of the clock generator 100 of FIG. 1 is shown.
[0018] The VCO 102 includes a ring oscillator 202. The ring oscillator 202 includes multiple series-connected delay gates that receive the bias current I.sub.VCO from the bias current source 104. Although three delay gates are shown, it will be understood by those of skill in the art that the oscillator 202 may include more than three delay gates. The ring oscillator 202 generates a clock signal. In the depicted embodiment, the VCO 102 further includes a level shifter 204 connected to the output of the ring oscillator 202. The level shifter 204 performs level shifting, typically shifting up, on the clock signal, and provides a level-shifted clock signal clock_out as the output of the clock generator 100.
[0019] The voltage detector 110 includes a charge capacitor C.sub.chrg, a first switch S.sub.1, and a second switch S.sub.2. The charge capacitor C.sub.chrg has a first plate connected to ground, and a second plate connected to the first switch S.sub.1. The second switch S.sub.2 is connected between the second plate of the charge capacitor C.sub.chrg and ground. The charge capacitor C.sub.chrg provides a charged voltage V.sub.chrg at the second plate. The first switch S.sub.1 is controlled by the feedback signal from the feedback circuit 108, and acts to connect and disconnect the charge capacitor C.sub.chrg with the bias current source 104. When the first switch S.sub.1 is closed in response to the feedback signal, the charge capacitor C.sub.chrg is connected to the bias current source 104 to receive a charging current I.sub.chrg, which charges the charge capacitor C.sub.chrg. On the other hand, when the first switch S.sub.1 is opened while the second switch S.sub.2 is closed, the charge capacitor C.sub.chrg is connected to ground and discharged. In turn, the charged voltage V.sub.chrg provided by the charge capacitor C.sub.chrg goes to ground level.
[0020] The voltage detector 110 includes a comparator 206. The comparator 206 has a first input terminal (non-inverting input terminal) and a second input terminal (inverting input terminal). The first input terminal of the comparator 206 receives a source voltage V.sub.res, and the second input terminal is connected to the second plate of the charge capacitor C.sub.chrg to receive the charged voltage V.sub.chrg. In the embodiment shown, the comparator 206 is a latch comparator, which further receives, at a latch terminal thereof, a latch signal from the feedback circuit 108. The comparator 206 provides the detection signal as the output of the voltage detector 110 in response to the latch signal. In the presently preferred embodiment, the feedback circuit 108 generates the latch signal from the clock signal clock_out to ensure that the comparator 206 generates the detection signal based on the comparison between the charged voltage corresponding to the current frequency of the clock signal clock_out and the source voltage used for generating the clock signal at the current frequency.
[0021] The source voltage V.sub.res is generated by a source voltage generator 208 connected to the first input terminal of the comparator 206. Various embodiments of the voltage detector 110 may include the source voltage generator 208, and other embodiments may not. In the embodiment shown, the source voltage generator 208 includes a control transistor 210, which is an NMOS transistor, and a resistor 212. The NMOS transistor 210 has a gate terminal connected to the control voltage generator 106 to receive the control voltage V.sub.ctrl, a drain terminal connected to the bias current source 104 to receive an input current I.sub.input, and a source terminal connected to the first input terminal of the comparator 206 to provide the source voltage V.sub.res. The resistor 212 is connected between the source terminal of the NMOS transistor 210 and ground. The NMOS transistor 210 turns on and off in response to the control voltage V.sub.ctrl and provides the source voltage V.sub.res accordingly. The source voltage V.sub.res is determined by: V.sub.res=V.sub.ctrl-V.sub.thn, where V.sub.thn is a threshold voltage of the NMOS transistor 210.
[0022] The control voltage generator 106 includes an upper capacitor C.sub.up and a lower capacitor C.sub.dn. The upper capacitor C.sub.up is connected to the supply voltage V.sub.dd by way of an upper setting switch S.sub.set_1, and the lower capacitor C.sub.dn is connected to ground by way of a lower setting switch S.sub.set_2. The upper setting switch S.sub.set_1 and the lower setting switch S.sub.set_2 receive setting signals from the feedback circuit 108. The upper and lower setting switches S.sub.set_1 and S.sub.set_2 close in response to the setting signals, to charge the upper capacitor C.sub.up and discharge the lower capacitor C.sub.dn, respectively. Both the upper capacitor C.sub.up and the lower capacitor C.sub.dn are connected to a control capacitor C.sub.ctrl. Specifically, the control capacitor C.sub.ctrl has a first plate connected to ground and a second plate that provides the control voltage V.sub.ctrl. The upper capacitor C.sub.up is connected to the second plate of the control capacitor C.sub.ctrl by way of an upper control switch S.sub.up. The lower capacitor C.sub.dn is connected to the second plate of the control capacitor C.sub.ctrl by way of a lower control switch S.sub.down.
[0023] In operation, if the detection signal generated by the comparator 206 indicates that the source voltage V.sub.res is higher than the charged voltage V.sub.chrg, then the lower control switch S.sub.down is closed to connect the lower capacitor C.sub.dn with the control capacitor C.sub.ctrl which discharges the control capacitor C.sub.ctrl, and accordingly decreases the control voltage V.sub.ctrl provided by the control capacitor C.sub.ctrl. On the other hand, if the detection signal indicates the source voltage V.sub.res is lower than the charged voltage V.sub.chrg, then the upper control switch S.sub.up is closed to connect the upper capacitor C.sub.up with the control capacitor C.sub.ctrl, which charges the control capacitor C.sub.ctrl and accordingly increases the control voltage V.sub.ctrl. In the presently preferred embodiment, the detection signal output by the comparator 206 is a differential signal. The differential signal is respectively provided to the upper control switch S.sub.up and the lower control switch S.sub.down.
[0024] The bias current source 104 includes first to third PMOS transistors 214, 216, and 218 that are connected as current mirrors. Source terminals of the first to third PMOS transistors 214, 216, and 218 are connected to the supply voltage V.sub.dd. Gate and drain terminals of the first PMOS transistor 214 are connected together so that the first PMOS transistor 214 acts as a diode. The drain terminal of the first PMOS transistor 214 provides the input current I.sub.input to the control transistor 210. Gate terminals of the first to third PMOS transistors 214, 216, and 218 are connected together. The drain terminal of the second PMOS transistor 216 provides the charging current I.sub.chrg to the charge capacitor C.sub.chrg. The drain terminal of the third PMOS transistor 218 provides the bias current I.sub.VCO. It will be understood by those of skill in the art that the bias current I.sub.VCO and the charging current I.sub.chrg mirror the input current I.sub.input.
[0025] The operation of the clock generator 100 of FIGS. 1 and 2 now will be explained with reference to FIG. 3, which is a timing diagrams of various signals in the clock generator 100. The depicted signals in FIG. 3 are:
[0026] "clock_out": the clock signal generated by the VCO 102;
[0027] "chrg": the feedback signal generated by the feedback circuit 108 and controlling the first switch S.sub.1 of the voltage detector 110;
[0028] "V.sub.chrg": the charged voltage provided by the charge capacitor C.sub.chrg to the second input terminal of the comparator 206;
[0029] "latch": the latch signal provided by the feedback circuit 108 to the latch terminal of the comparator 206;
[0030] "up": the detection signal provided by the comparator 206 to the upper control switch S.sub.up;
[0031] "down": the detection signal provided by the comparator 206 to the lower control switch S.sub.down;
[0032] "V.sub.ctrl": the control voltage generated by the control voltage generator 106; and
[0033] "set": the setting signals provided by the feedback circuit 108 to the upper and lower setting switches S.sub.set_1 and S.sub.set_2.
[0034] Starting at time t.sub.31, the VCO 102 generates the clock signal "clock_out" at a designed frequency. The feedback circuit 108 receives the clock signal "clock_out", and provides the feedback signal "chrg" to the first switch S.sub.1. In the depicted embodiment, the frequency of the feedback signal "chrg" applied to the first switch S.sub.1 is half the frequency of the clock signal "clock_out". The first switch S.sub.1 is closed when the feedback signal "chrg" is at the high state. This allows the charging current I.sub.chrg to be provided to the charge capacitor C.sub.chrg, to charge the charge capacitor C.sub.chrg. As a result, the charged voltage "V.sub.chrg" increases when the feedback signal "chrg" remains at the high state. The setting signals "set" provided by the feedback circuit 108 are at the high state to close the upper and lower setting switches S.sub.set_1 and S.sub.set_2, respectively. The closed switches allow the upper capacitor C.sub.up to be charged, and lower capacitor C.sub.dn to be discharged.
[0035] At time t.sub.32 when the feedback signal "chrg" drops from high to low, the charged voltage "V.sub.chrg" is kept at the level where it was charged to. The charged voltage "V.sub.chrg" is provided to the comparator 206 at its inverting input terminal. On the non-inverting input terminal of the comparator 206, the source voltage V.sub.res that was used to generate the clock signal "clock_out" is received. After that and at time t.sub.33, the latch signal "latch" provided from the feedback circuit 108 to the latch terminal of the comparator 206 jumps to the high state, which causes the comparator 206 to output the detection signal based on the comparison between the source voltage V.sub.res and the charged voltage "V.sub.chrg".
[0036] At time t.sub.33 when the latch signal "latch" goes high, the source voltage V.sub.res is lower than the charged voltage "V.sub.chrg", and accordingly the detection signal "up", which is provided by the comparator 206 to the upper control switch S.sub.up, jumps to the high state. On the other hand, at the time t.sub.33, the setting signals "set" provided to the upper and lower setting switches S.sub.set_1 and S.sub.set_2 jump to the low state. The high-state detection signal "up" closes the upper control switch S.sub.up to allow the upper capacitor C.sub.up, which is already charged by the supply voltage V.sub.dd, to charge the control capacitor C.sub.ctrl. As a result, the control voltage "V.sub.ctrl" provided by the control capacitor C.sub.ctrl increases.
[0037] It is understood that if the frequency of the generated clock signal "clock_out" decreases, then the time of each cycle of the clock signal increases based on the equation t=1/f, where t is the cycle time of the clock signal, and f is the frequency. The feedback signal "chrg" will have more time to close the first switch S.sub.1 of the voltage detector 110 and charge the charge capacitor C.sub.chrg. The longer the charge capacitor Cchrg is charged by the charging current I.sub.chrg, the higher the charged voltage V.sub.chrg is provided. In the current case where it is desired to increase the frequency of the clock signal "clock_out", it is necessary to use the detection signal to increase the control voltage V.sub.ctrl and in turn to increase the bias current I.sub.VCO.
[0038] Subsequently, the increased control voltage V.sub.ctrl causes the input current I.sub.input to increase, and the bias current I.sub.VCO mirroring the input current I.sub.input increases, which causes the frequency of the clock signal "clock_out" to increase. Shortly after time t.sub.33, the feedback signal "dis_chrg" provided to the second switch S.sub.2 goes high, which discharges the charge capacitor C.sub.chrg so the charged voltage V.sub.chrg goes to the ground level.
[0039] At time t.sub.34, which is the end of the high state of the latch signal "latch" and the beginning of the high state of the feedback signal "chrg", the charge capacitor C.sub.chrg is started with another round of charging to generate the charged voltage V.sub.chrg indicative of the frequency of the latest clock signal "clock out".
[0040] At a following high state of the latch signal "latch" at time t.sub.35, the source voltage V.sub.res is higher than the charged voltage "V.sub.chrg", which means the charge capacitor C.sub.chrg is charged with a time shorter than desired and the frequency of the clock signal "clock_out" goes high, so it is desired to decrease the frequency of the clock signal by pulling down the control voltage "V.sub.ctrl" and the bias current I.sub.VCO. At time t.sub.35, the detection signal "down" provided to the lower control switch S.sub.down goes to the high state. The lower control switch S.sub.down closes to connect the control capacitor C.sub.ctrl and the lower capacitor C.sub.dn, to charge the control capacitor C.sub.ctrl and decrease the control voltage V.sub.ctrl. As a result of the decreased bias current I.sub.VCO, the frequency of the generated clock signal "clock_out" drops.
[0041] The amount the control voltage V.sub.ctrl is increased or decreased depends on the relative ratios between the capacitance of the control capacitor C.sub.ctrl and the upper capacitor C.sub.up or the lower capacitor C.sub.dn, shown as
.DELTA. V ctrl = C u p .times. V d d C c t r l + C u p or .DELTA. V ctrl = C d n .times. V d d C c t r l + C d n . ##EQU00001##
As will be understood by those of skill in the art, the frequency of the clock signal "clock_out" can be calibrated by configuring the upper capacitor C.sub.up, the lower capacitor C.sub.dn, and the control capacitor C.sub.ctrl.
[0042] The clock generator as described includes a calibration loop structure by generating a charged voltage signal indicative of the frequency of the generated clock signal, comparing the charged voltage signal with the control voltage signal from which the clock signal is generated, and using the detection signal generated from the comparison to adjust the control voltage signal to further calibrate the bias current provided to the oscillator. The frequency of the clock signal can be maintained at a relatively stable level against temperature, aging, and other peripheral factors.
[0043] The use of the terms "a" and "an" and "the" and similar referents in the context of describing the subject matter (particularly in the context of the following claims) are to be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms "coupled" and "connected" both mean that there is an electrical connection between the elements being coupled or connected, and neither implies that there are no intervening elements. In describing transistors and connections thereto, the terms gate, drain and source are used interchangeably with the terms "gate terminal", "drain terminal" and "source terminal". Recitation of ranges of values herein are intended merely to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein, and each separate value is incorporated into the specification as if it were individually recited herein. Furthermore, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation, as the scope of protection sought is defined by the claims set forth hereinafter together with any equivalents thereof entitled to. The use of any and all examples, or exemplary language (e.g., "such as") provided herein, is intended merely to better illustrate the subject matter and does not pose a limitation on the scope of the subject matter unless otherwise claimed. The use of the term "based on" and other like phrases indicating a condition for bringing about a result, both in the claims and in the written description, is not intended to foreclose any other conditions that bring about that result. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the invention as claimed.
[0044] Preferred embodiments are described herein, including the best mode known to the inventor for carrying out the claimed subject matter. Of course, variations of those preferred embodiments will become apparent to those of ordinary skill in the art upon reading the foregoing description. The inventor expects skilled artisans to employ such variations as appropriate, and the inventor intends for the claimed subject matter to be practiced otherwise than as specifically described herein. Accordingly, this claimed subject matter includes all modifications and equivalents of the subject matter recited in the claims appended hereto as permitted by applicable law. Moreover, any combination of the above-described elements in all possible variations thereof is encompassed unless otherwise indicated herein or otherwise clearly contradicted by context.
User Contributions:
Comment about this patent or add new information about this topic: