This application claims priority under 35 U.S.C. §119 to Japanese Patent Application No. 2009-004273 filed on Jan. 13, 2009, the entire content of which is hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a voltage detection circuit for detecting a minimum operating voltage which allows a circuit to operate.
2. Description of the Related Art
Description is given of a conventional voltage detection circuit.
In the voltage detection circuit, while a P-type metal oxide semiconductor (PMOS) transistor 93 is turned ON by a signal 10, a capacitor 95 is charged by the PMOS transistor 93.
A power supply voltage VDD is divided by a voltage divider circuit 91 into a divided voltage Vfb. A comparator 92 compares the divided voltage Vfb with a reference voltage Vref. If the divided voltage Vfb becomes lower than the reference voltage Vref, that is, if the power supply voltage VDD becomes lower than a predetermined voltage value, an output signal RST of the comparator 92 becomes “High” so that the voltage detection circuit may reset a target circuit (not shown) as a target.
Specifically, if the output signal RST becomes “High” as described above, an N-type metal oxide semiconductor (NMOS) transistor 94 is turned ON. Then, the capacitor 95 is discharged, and accordingly an output signal RSTX becomes “Low” so that the voltage detection circuit may reset the target circuit as a target (see, for example, JP 2007-318770 A (FIG. 14)).
In the conventional technology, the power supply voltage VDD is monitored by the voltage divider circuit 91 and the comparator 92, and hence there is a problem that a circuit scale of the voltage detection circuit is increased correspondingly.
The present invention has been made in view of the above-mentioned problem, and provides a voltage detection circuit having a small circuit scale.
In order to solve the above-mentioned problem, the present invention provides a voltage detection circuit for detecting a minimum operating voltage which allows a target circuit as a target to operate, the voltage detection circuit including: a transistor having an absolute value of a threshold voltage, which is set based on the minimum operating voltage, the transistor being turned ON to allow a current to flow therethrough if a power supply voltage becomes higher than the minimum operating voltage; and a capacitor across which an output voltage is generated based on the current.
According to the present invention, instead of using circuits such as a voltage divider circuit and a comparator for monitoring a power supply voltage, the power supply voltage is monitored by the transistor, which results in a reduced circuit scale of the voltage detection circuit.
In the accompanying drawings:
Now, referring to the accompanying drawings, an embodiment of the present invention is described.
First, description is given of a configuration of a voltage detection circuit for detecting a minimum operating voltage which allows a target circuit as a target to operate.
The voltage detection circuit includes a P-type metal oxide semiconductor (PMOS) transistor 11, a current source 21, and a capacitor 15. The current source 21 includes a PMOS transistor 12. A target circuit 40 having an input terminal connected to an output terminal of the voltage detection circuit includes, for example, an inverter 41.
The PMOS transistor 11 has a gate connected to a ground terminal, a source connected to a power supply terminal, and a drain connected to a source of the PMOS transistor 12. The PMOS transistor 12 has a gate connected to a reference voltage input terminal, and a drain connected to the output terminal of the voltage detection circuit. The capacitor 15 is provided between the output terminal of the voltage detection circuit and the ground terminal. The inverter 41 has an input terminal connected to the output terminal of the voltage detection circuit, and an output terminal connected to a circuit (not shown).
The voltage detection circuit operates based on a power supply voltage VDD and a ground voltage VSS. An output voltage Vout is generated across the capacitor 15. The inverter 41 outputs a voltage Vc based on the output voltage Vout.
The PMOS transistor 12 has the gate applied with a reference voltage Vref, and functions as a current source. In addition, the PMOS transistor 12 limits a current flowing through the PMOS transistor 11 to a drive current of the PMOS transistor 12. The PMOS transistor 11 has an absolute value Vtp of its threshold voltage, which is equal to the minimum operating voltage. If the power supply voltage VDD becomes higher than the minimum operating voltage, the PMOS transistor 11 is turned ON to allow a current to flow therethrough, and then the PMOS transistor 12 (current source 21) charges the capacitor 15. As a result, based on the current, the output voltage Vout is generated across the capacitor 15.
Next, description is given of an operation of the voltage detection circuit in a case where the power supply voltage VDD rises steeply.
If t0≦t<t1, the power supply voltage VDD does not yet rise at all, and hence the output voltage Vout and the voltage Vc are equal to the ground voltage VSS.
If t=t1 (at the time of detection), the power supply voltage VDD rises steeply. Then, a gate-source voltage of the PMOS transistor 11 becomes higher than the absolute value Vtp of the threshold voltage of the PMOS transistor 11, with the result that the PMOS transistor 11 is turned ON, thereby being capable of detecting that the power supply voltage VDD becomes higher than the minimum operating voltage. Besides, at this time, because the reference voltage Vref is stable, the PMOS transistor 12 is also turned ON to function as the current source. Thus, the PMOS transistor 12 starts to charge the capacitor 15. However, at this time, the output voltage Vout remains equal to the ground voltage VSS, and hence the voltage Vc becomes “High”.
If t1<t<t2 (during a detection period), because the PMOS transistor 12 is charging the capacitor 15, the output voltage Vout increases gradually. The output voltage Vout at this time is “Low” with respect to the inverter 41, and the voltage detection circuit utilizes this signal of “Low” to detect that the power supply voltage VDD is higher than the minimum operating voltage and to notify the target circuit 40 of the detection. In other words, the voltage detection circuit resets the target circuit 40. Further, because the output voltage Vout is “Low” with respect to the inverter 41, the voltage Vc is “High” and equal to the power supply voltage VDD.
The detection period of this case is determined based on each of the driving capability of the PMOS transistor 12, a capacitance and a leakage current of the capacitor 15, and an inverting threshold voltage V2 of the inverter 41.
If t=t2, the output voltage Vout becomes higher than the inverting threshold voltage V2 of the inverter 41, and then the voltage Vc becomes “Low”. The output voltage Vout at this time is “High” with respect to the inverter 41, and the voltage detection circuit no longer notifies the target circuit 40 that the power supply voltage VDD is higher than the minimum operating voltage.
After that, although not illustrated, if the power supply voltage VDD falls, due to the leakage current of the capacitor 15, the output voltage Vout is discharged to be equal to the ground voltage VSS. On this occasion, the voltage detection circuit is allowed to notify again the target circuit 40 that the power supply voltage VDD is higher than the minimum operating voltage, as long as after the power supply voltage VDD has risen once and fallen thereafter, a discharge time period required for the discharge due to the leakage current of the capacitor 15 has elapsed, and then the power supply voltage VDD has risen once again. In other words, a timing at which power supply becomes possible again is determined based on the discharge time period.
Next, description is given of an operation of the voltage detection circuit in a case where the power supply voltage VDD rises gradually.
If t0≦t<t1, the power supply voltage VDD does absolutely not rise yet, and hence the output voltage Vout and the voltage Vc are equal to the ground voltage VSS.
If t1<t<t2, the power supply voltage VDD rises gradually. On this occasion, the output voltage Vout is “Low” while the voltage Vc is “High”, and hence the voltage Vc also increases gradually.
If t=t2 (at the time of detection), the power supply voltage VDD increases and the gate-source voltage of the PMOS transistor 11 becomes higher than the absolute value Vtp of the threshold voltage of the PMOS transistor 11. Accordingly, the PMOS transistor 11 is turned ON, and the power supply voltage VDD is detected to have become higher than the minimum operating voltage. Besides, at this time, because the reference voltage Vref is stable, the PMOS transistor 12 is also turned ON to function as the current source. Then, the PMOS transistor 12 starts to charge the capacitor 15. However, the output voltage Vout remains equal to the ground voltage VSS at this time, and hence the voltage Vc remains “High”.
If t2<t<t3 (during a detection period), because the PMOS transistor 12 is charging the capacitor 15, the output voltage Vout increases gradually. The output voltage Vout at this time is “Low” with respect to the inverter 41, and the voltage detection circuit utilizes this signal of “Low” to detect that the power supply voltage VDD is higher than the minimum operating voltage and to notify the target circuit 40 of the detection. In other words, the voltage detection circuit resets the target circuit 40. Further, because the output voltage Vout is “Low” with respect to the inverter 41, the voltage Vc is “High” and follows the power supply voltage VDD.
If t=t3, the output voltage Vout becomes higher than the inverting threshold voltage V2 of the inverter 41, and then the voltage Vc becomes “Low”. The output voltage Vout at this time is “High” with respect to the inverter 41, and the voltage detection circuit no longer notifies the target circuit 40 that the power supply voltage VDD is higher than the minimum operating voltage.
With the configuration described above, instead of using circuits such as a voltage divider circuit and a comparator for monitoring the power supply voltage VDD, the PMOS transistor 11 monitors that the power supply voltage VDD becomes higher than the minimum operating voltage which allows the target circuit 40 as a target to operate (minimum operating voltage), which results in a reduced circuit scale of the voltage detection circuit.
Besides, in both the cases where the power supply voltage VDD rises steeply and where the power supply voltage VDD rises gradually, the detection period may be provided whose time period is determined based on each of the driving capability of the PMOS transistor 12, the capacitance and the leakage current of the capacitor 15, and the inverting threshold voltage V2 of the inverter 41. As a result, the voltage detection circuit is capable of monitoring that the power supply voltage VDD becomes higher than the minimum operating voltage.
Note that, although not illustrated, a diode or a MOS transistor having a diode connection may be provided between the power supply terminal and the source of the PMOS transistor 11. In this case, the minimum operating voltage corresponds to a total voltage of the absolute value of the threshold voltage of the PMOS transistor 11 and an absolute value of a threshold voltage of the diode or the MOS transistor having a diode connection.
Note that, although not illustrated, a diode or a MOS transistor having a diode connection may be provided between the gate of the PMOS transistor 11 and the ground terminal. In this case, the minimum operating voltage corresponds to a total voltage of the absolute value of the threshold voltage of the PMOS transistor 11 and an absolute value of a threshold voltage of the diode or the MOS transistor having a diode connection.
Alternatively, as illustrated in
Further alternatively, as illustrated in
Still further alternatively, as illustrated in
Note that in
In
Number | Date | Country | Kind |
---|---|---|---|
JP2009-004273 | Jan 2009 | JP | national |