This application claims priority of Taiwan Patent Application No. 107116430, filed on May 15, 2018, the entirety of which is incorporated by reference herein.
The invention relates to an oscillator circuit, and more particularly to an oscillator circuit capable of compensating for PVT variations.
Process, voltage, and temperature (PVT) variations are one of the critical factors that hamper the performance of ICs. For example, PVT variations can result in a change in the oscillating frequency of a clock signal. However, clock generation is an important part of any electronic system. Especially, the performance of circuits driven by the system clock will be further affected by the variation of the clock frequency. For example, the driving ability of a charge pump circuit receiving a clock signal from an oscillator circuit is strong when the oscillating frequency is high, and the driving ability of the charge pump circuit is weak when the oscillating frequency is low.
When the driving ability is insufficient, one approach is to increase the number of charge pump circuits. However, the circuit area is increased accordingly. Another approach is to increase the oscillating frequency of the clock signal. However, this may result in excessively high voltage in the fast corner conditions since the driving ability is overly enhanced.
To avoid the undesired effects of PVT variations, a novel structure of an oscillator circuit capable of compensating for PVT variations is provided.
Oscillator circuits are provided. An exemplary embodiment of an oscillator circuit comprises a signal generating circuit and a reference voltage generating circuit. The signal generating circuit is configured to receive a reference voltage and generate an output signal according to a comparison result of the reference voltage and a feedback voltage. The feedback voltage is pre-charged to a level of a system high voltage. The reference voltage generating circuit is coupled to the signal generating circuit and configured to generate the reference voltage.
An exemplary embodiment of an oscillator circuit comprises a signal generating circuit and a reference voltage generating circuit. The signal generating circuit is configured to receive a reference voltage and generate an output signal according to a comparison result of the reference voltage and a feedback voltage. The signal generating circuit comprises a capacitor. The capacitor is repeatedly charged or discharged in response to a level of the output signal so as to generate the feedback voltage at a terminal. The reference voltage generating circuit is coupled to the signal generating circuit and configured to generate the reference voltage.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
According to an embodiment of the invention, the signal generating circuit 110 may comprise a charging-discharging circuit 111 and a comparison circuit 112. The charging-discharging circuit 111 may be coupled to the comparison circuit 112 at a terminal N1 and may comprise a capacitor (not shown in
According to an embodiment of the invention, the oscillator circuit 100 may receive the system high voltage VDD and the feedback voltage VFB may be pre-charged to the level of the system high voltage VDD. In this manner, when operation of the oscillator circuit 100 is started, the capacitor will be discharged from the level of the system high voltage VDD. The comparison circuit 112 may keep comparing the levels of the reference voltage VREF and the feedback voltage VFB. When the comparison result is changed, the level of the output signal VOUT is changed as well, thereby generating the pulses of the output signal VOUT. In response to generation of the pulses of the output signal VOUT, the signal generating circuit 110 may further charge the feedback voltage VFB to the system high voltage level so that it can be discharged again from the system high voltage level. Through the reciprocating operations, the feedback voltage VFB can be repeatedly increased or decreased in response to the changes in the level of the output signal VOUT, and thus the pulses of the output signal VOUT can be sequentially generated. Because the output signal VOUT comprises a plurality of repeatedly or periodically generated pulses, the output signal VOUT may be provided as a fundamental clock signal or oscillating signal for other circuits (as an example, a charge pump circuit).
According to an embodiment of the invention, the signal generating circuit 210 may comprise a charging-discharging circuit 211 and a comparison circuit 212. The charging-discharging circuit 211 may comprise a capacitor C, a first current source I1 and a switch SW. The capacitor C and the first current source I1 are coupled in parallel between the terminal N1 and a ground node. The switch SW is coupled between a power supplying node for providing the system high voltage VDD and the terminal N1. The open and close (or, off and on) of the switch SW is controlled by the level of the output signal VOUT. The comparison circuit 212 may comprise a comparator. The comparator is configured to receive the reference voltage VREF and the feedback voltage VFB, compare levels of the reference voltage VREF and the feedback voltage VFB so as to generate the comparison result, and generate the output signal VOUT according to the comparison result.
According to an embodiment of the invention, the switch SW may be closed (that is, turned on) in advance for pre-charging the capacitor C, such that the feedback voltage VFB is pre-charged to the level of the system high voltage VDD. Meanwhile, the level of the feedback voltage VFB is higher than the level of the reference voltage VREF. When the operation of the oscillator circuit 200 is started, the switch SW is opened (that is, turned off), such that the capacitor C begins to be discharged via the first current source I1. As the capacitor C being discharged, the level of the feedback voltage VFB decreases. The feedback voltage VFB keeps decreasing until the level of the feedback voltage VFB becomes lower than the level of the reference voltage VREF. Meanwhile, the comparison result of the comparator is changed as well, thereby changing the level of the output signal VOUT.
In response to the change in the level of the output signal VOUT, the switch SW is closed again to form a short circuit between the power supplying node for providing the system high voltage VDD and the terminal N1. In this manner, the feedback voltage VFB at the terminal N1 will be charged to the level of the system high voltage VDD, again. When the feedback voltage VFB rises to a voltage level higher than the reference voltage VREF, the comparison result is changed again, thereby changing the level of the output signal VOUT, so that the switch SW is opened again and the capacitor C begins to discharge via the first current source I1. Through the reciprocating operations, the capacitor C can be repeatedly charged or discharged in response to the changes in the level of the output signal VOUT. In this manner, the level of the feedback voltage VFB increases and decreases repeatedly, and the level of the feedback voltage VFB is changed between the level of the system high voltage VDD and the level of the reference voltage VREF repeatedly, such that the pulses of the output signal VOUT can be sequentially generated by the comparator.
According to an embodiment of the invention, the switch SW may be implemented by one or more transistors, wherein the transistor(s) may comprise a control gate or a control terminal to receive the output signal VOUT.
When the output signal VOUT has a low voltage level, the switch SW is opened to generate an open circuit, such that the capacitor C begins to be discharged via the first current source I1. When the output signal VOUT has a high voltage level, the switch SW is closed to generate a short circuit, such that the feedback voltage VFB at the terminal N1 is charged to the level of the system high voltage VDD.
According to an embodiment of the invention, the length of the period of the output signal VOUT varies with changes in the level of the system high voltage VDD. As an example, when the level of the system high voltage is increased, since the time required for the feedback voltage VFB to be charged to the level of the system high voltage and the time required for the feedback voltage VFB to be discharged to the level of the reference voltage VREF are increased as well, the length of the period of the output signal VOUT will be lengthened. Similarly, when the level of the system high voltage is decreased, the length of the period of the output signal VOUT will be shortened as well.
In this manner, the effect on the oscillating frequency/period due to the voltage variation of the system high voltage VDD can be compensated for. For example, in the fast corner case where the system high voltage VDD is relatively high and the threshold voltage Vth of the transistor is relatively low, the oscillating frequency is fast and the period is short. However, via the circuit design as discussed above, when the system high voltage is increased, the period of the output signal VOUT will be lengthened as well, so as to compensate for the effect on the oscillating frequency/period due to the voltage variation of the system high voltage VDD. Similarly, in the slow corner case where the system high voltage VDD is relatively low and the threshold voltage Vth of the transistor is relatively high, via the circuit design as discussed above, when the level of the system high voltage is decreased, the period of the output signal VOUT will be shortened and the oscillating frequency/period will be increased as well.
In addition, according to an embodiment of the invention, the length of the period of the output signal VOUT also varies with changes in the level of the reference voltage VREF. As an example, when the level of the reference voltage VREF is increased, since the time required for the feedback voltage VFB to be discharged to the level of the reference voltage VREF is decreased, the length of the period of the output signal VOUT will be shortened as well. Similarly, when the level of the reference voltage VREF is decreased, the length of the period of the output signal VOUT will be lengthened as well. Therefore, by adequately controlling the level of the reference voltage VREF, for example, making it positively related to the threshold voltage Vth of the transistor(s), the effect on the oscillating frequency/period due to the process or temperature variation can be compensated for.
According to an embodiment of the invention, the reference voltage generating circuit 120/220 may comprise a transistor, and the level of the reference voltage VREF may be designed to be positively related to the threshold voltage Vth of the transistor. That is, the level of the reference voltage VREF may be increased/decreased as the threshold voltage Vth is increased/decreased.
Referring back to
In this embodiment, the reference voltage VREF is substantially equal to the threshold voltage Vth. In this manner, the effect on the oscillating frequency/period of the output signal VOUT due to the change (by the process or the temperature variation) in the threshold voltage Vth can be compensated for. For example, in the fast corner case where the system high voltage VDD is relatively high and the threshold voltage Vth of the transistor is relatively low, the oscillating frequency is fast and the period is short. However, via the circuit design as discussed above, when the threshold voltage Vth is decreased, the length of the period of the output signal VOUT will be lengthened accordingly, so as to compensate for the effect on the oscillating frequency/period due to the voltage variation of the system high voltage VDD. Similarly, in the slow corner case where the system high voltage VDD is relatively low and the threshold voltage Vth of the transistor is relatively high, via the circuit design as discussed above, the length of the period of the output signal VOUT will be shortened and the oscillating frequency/period will be increased.
It should be noted that although the transistor T1 shown in
Unlike the existing oscillator circuit technology, which cannot effectively compensate for the effect on the frequency/period of the output signal VOUT caused due to the process, voltage or temperature variation, in proposed the oscillator circuit, the frequency/period of the output signal can be adaptively adjusted in response to the PVT variations. In this manner, the effect on the oscillating frequency/period due to the PVT variations can be compensated for, and the problems of the existing technology can be solved.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
107116430 A | May 2018 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
8519879 | Denham | Aug 2013 | B1 |
9325323 | Rana et al. | Apr 2016 | B2 |
20080129400 | Celani | Jun 2008 | A1 |
20100060343 | Saitoh | Mar 2010 | A1 |
20120274394 | Chan | Nov 2012 | A1 |
20160181913 | Feng | Jun 2016 | A1 |
Number | Date | Country | |
---|---|---|---|
20190356269 A1 | Nov 2019 | US |