CIRCUIT AND METHOD OF ADJUSTING SYSTEM CLOCK IN LOW VOLTAGE DETECTION, AND LOW VOLTAGE RESET CIRCUIT
The present invention discloses a circuit and a method of adjusting system clock in low voltage detection, and a low voltage reset circuit. The circuit of adjusting system clock in low voltage detection comprises: a clock generator for supplying a clock to at least one circuit in a system; and a low voltage reset circuit for generating an adjustment signal according to a detected voltage level, so that the clock generator adjusts or stops the clock supplied to the at least one circuit in the system.
This application is a divisional application of co-pending application Ser. No. 12/587,037, filed on Oct. 1, 2009, which claims the benefit of TW application no. 097138949, filed on Oct. 9, 2008, the contents of which are incorporated herein by reference.
BACKGROUND OF THE INVENTION1. Field of Invention
The present invention relates to a circuit and a method of adjusting system clock in low voltage detection; particularly, it relates to a circuit and a method which suspend or slow down but do not immediately reset an essential clock inside of an integrated circuit when a low voltage condition is detected, and a corresponding low voltage reset circuit.
2. Description of Related Art
An electronic circuit often requires a low voltage reset (LVR) circuit which is capable of generating a reset signal to initialize internal settings of the electronic circuit during system power on process. The electronic circuit may further include another LVR circuit which may be the same as or different from the previous LVR circuit, to reset the electronic circuit when a low voltage condition occurs during system operation, so as to avoid damages caused by circuit malfunction.
Typically, a specification of normal operation voltage range is defined in product design and development. When it is detected that the operation voltage is lower than the lower voltage limit, the LVR circuit will be triggered. However for safety, this lower voltage limit is usually designed to be higher than required. For example, assuming that the standard operation voltage is 1.8V, it is typically designed to generate a reset signal when the supplied voltage is lower than 1.6V. However, such arrangement may unnecessarily reset the system due to an occasional voltage surge, such that the product can not pass product test wherein the conditions are usually set stricter. In the foregoing example, it often happens that the circuit is unnecessarily reset under ESD test, because a voltage lower than 1.6 V often occurs. Therefore, it is preferred if the threshold for low voltage reset can be set to a lower level to avoid triggering unnecessary reset. However, this is in conflict with the design specification which guarantees a minimum operation voltage, that is, there is a potential risk of circuit malfunction if the lower voltage limit is set lower.
In view of the foregoing drawback, the present invention is proposed as a solution to it.
SUMMARY OF THE INVENTIONThe first objective of the present invention is to provide a circuit of adjusting system clock in low voltage detection, which first adjusts the speed of an essential clock inside an integrated circuit when it detects that the operation voltage is lower than the normal operation range, and next resets the circuit when it detects an even lower voltage. Accordingly, when temporary voltage fluctuation occurs, it can avoid repetitively resetting the circuit, and also prevents the circuit from malfunctioning.
The second objective of the present invention is to provide a method of adjusting system clock in low voltage detection.
The third objective of the present invention is to provide a low voltage reset circuit.
In order to achieve the foregoing objective, in one perspective, the present invention provides a circuit of adjusting system clock in low voltage detection, comprising: a clock generator for supplying a clock to at least one circuit in a system; and a low voltage reset circuit for generating an adjustment signal according to a level of a voltage to be detected, so that the clock generator adjusts or stops the clock supplied to the at least one circuit in the system. The voltage to be detected for example can be a supplied voltage.
In another perspective, the present invention also provides a method of adjusting system clock in low voltage detection, comprising: detecting a level of a supplied voltage; and generating an adjustment signal to control a clock generator according to the detection result.
In yet another perspective, the present invention also provides a low voltage reset circuit comprising: a voltage division circuit dividing a supplied voltage to generate multiple reference voltages; a comparator circuit comparing a voltage signal related to the supplied voltage with the multiple reference voltages; and a logic circuit determining whether to generate an adjustment signal according to the comparison result.
In the foregoing circuit and method, the adjustment signal is preferably generated when the supplied voltage is lower than a first threshold value.
In addition, in the foregoing circuit and method, the adjustment signal is preferably not generated when the supplied voltage is lower than a second threshold value.
When the supplied voltage is lower than the second threshold value, a reset signal can be generated, such that a circuit receiving the reset signal is reset to default settings.
The objectives, technical details, features, and effects of the present invention will be better understood with regard to the detailed description of the embodiments below, with reference to the drawings.
Please refer to
In the first embodiment as shown in
The clock generator 140 capable of achieving such function can be embodied in many forms.
If the clock 111 is not to be stopped, but to be changed to a different frequency, the basic clock may go through a frequency divider (or multiplier). Or, the different frequency clock may be supplied by a different clock generator.
The low voltage reset circuit 130 can be embodied in many forms.
When the supplied voltage operates within the normal operation range, that is, when the supplied voltage is higher than the first threshold value, voltages at the negative input terminals of the comparators 133-135 are all higher than that at the positive input terminals. Therefore, all the outputs of the comparators 133-135 are low, and the outputs of the logic circuits 136 and 137 are both low.
When the supplied voltage is lower than the first threshold value but higher than the second threshold value, the voltage at the negative input terminal of the comparator 133 is lower than that at its positive input terminal; yet, the voltages at the negative input terminals of the other comparators 134-135 are still higher than that at their positive input terminals. The output of the comparator 133 is high, but the outputs of the comparators 134-135 are low. Therefore, the logic circuit 136 changes its output and issues a high level adjustment signal 131; but the output of the logic circuit 137 is still low.
When the supplied voltage is lower than the second threshold value, the voltages at the negative input terminals of the comparators 133 and 134 are both lower than that at the positive input terminals; but the voltage at the negative input terminal of the comparator 135 is still higher than that at its positive input terminal. The outputs of the comparators 133 and 134 are high, but the output of the comparator 135 is low. Therefore, the logic circuit 136 changes its output to low level, but the logic circuit 137 changes its output to high level, and issues a high level reset signal 132.
When the supplied voltage is lower than the third threshold value (referring to
The present invention has been described in considerable detail with reference to certain preferred embodiments thereof. It should be understood that the description is for illustrative purpose, not for limiting the scope of the present invention. Those skilled in this art can readily conceive variations and modifications within the spirit of the present invention. As mentioned earlier, the low voltage reset circuit and the clock generator can be embodied in many forms; for example, the signals can be generated in many ways, and the definitions of high and low levels of each signal can be modified, which should fall within the scope of the present invention. As another example, after the clock generator receives the adjustment signal, other than completely stopping the clock (the embodiment shown in
Claims
1. A low voltage reset circuit comprising:
- a voltage division circuit dividing a supplied voltage to generate multiple reference voltages;
- a comparator circuit comparing a voltage signal related to the supplied voltage with the multiple reference voltages; and
- a logic circuit determining whether to generate an adjustment signal according to the comparison result.
2. The low voltage reset circuit of claim 1, wherein the logic circuit further decides whether to generate a reset signal according to the comparison result.
3. The low voltage reset circuit of claim 1, wherein the adjustment signal is generated when a level of the supplied voltage is lower than a predetermined first threshold value.
4. The low voltage reset circuit of claim 1, wherein the adjustment signal is not generated when a level of the supplied voltage is lower than a predetermined second threshold value.
5. The low voltage reset circuit of claim 2, wherein the reset signal is generated when the level of the supplied voltage is lower than a predetermined second threshold value.
6. The low voltage reset circuit of claim 2, wherein the reset signal is not generated when the level of the supplied voltage is lower than a predetermined third threshold value.
Type: Application
Filed: Aug 20, 2014
Publication Date: Dec 4, 2014
Inventor: Wen-Che Wu (Zhubei City)
Application Number: 14/463,684
International Classification: H03K 19/003 (20060101); H03L 5/02 (20060101);