1. Technical Field
The present invention relates to a voltage regulator whose output terminal is connected with a backup battery.
2. Background Art
Such a circuit as illustrated in
Power supply voltage is applied between terminals, that is, a VDD terminal 121 and a VSS terminal 123. An output terminal 122 is connected with the backup battery 112, and even when the power supply voltage between the VDD terminal 121 and the VSS terminal 123 becomes zero, a load 113 (for example, RAM) may be continued to be supplied with voltage.
When the power supply voltage is being supplied between the VDD terminal 121 and the VSS terminal 123, and when the voltage between the terminals and the voltage of the backup battery are respectively represented by VBAT1 and VBAT2, “VBAT1>VBAT2” is normally established. When the power supply voltage is being supplied between the VDD terminal 121 and the VSS terminal 123, a Vref circuit 101 outputs a given constant voltage (Vref), and an error amplifier 102 amplifies a differential voltage between the voltage Vref and a voltage (R2/(R1+R2)×VOUT) determined by dividing the voltage (VOUT) of the output terminal 122 by means of a resistor 107 (whose resistance is R1) and a resistor 108 (whose resistance is R2). Accordingly, a gate of a Pch transistor 103 serving as an output transistor is controlled so that a constant voltage is output to the output terminal 122.
A comparator 1105 has a positive input terminal connected with a voltage determined by dividing the inter-terminal voltage between the VDD terminal 121 and the VSS terminal 123 by means of a resistor 1101 and a resistor 1102, and has a negative input terminal connected with a voltage determined by dividing an inter-terminal voltage between the output terminal 122 and the VSS terminal 123 by means of a resistor 1103 and a resistor 1104. Then, the comparator 1105 compares the terminal voltage of the VDD terminal 121 with the terminal voltage of the output terminal 122. When the power supply voltage is being supplied between the VDD terminal 121 and the VSS terminal 123, the voltage determined by the voltage division by means of the resistor 1101 and the resistor 1102 is higher than the voltage determined by the voltage division by means of the resistor 1103 and the resistor 1104. Therefore, an output of the comparator 1105 becomes “H”, and then a Pch transistor 105 is turned ON while a Pch transistor 106 is turned OFF. Accordingly, with the Pch transistor 105, a substrate (Nwell) potential of the Pch transistor 103 becomes a potential of the VDD terminal 121.
On the other hand, when the inter-terminal voltage between the VDD terminal 121 and the VSS terminal 123 becomes lower than the inter-terminal voltage between the output terminal 122 and the VSS terminal 123, the output of the comparator 1105 becomes “L”, and then the Pch transistor 106 is turned ON while the Pch transistor 105 is turned OFF. Accordingly, with the Pch transistor 106, the substrate (Nwell) potential of the Pch transistor becomes a potential of the output terminal 122.
In other words, by switching the substrate (Nwell) potential of the Pch transistor 103 to a higher one of the potentials on the VDD terminal 121 side and the output terminal 122 side, even when the voltage of the VDD terminal 121 becomes lower than the voltage of the output terminal 122, a current is prevented from flowing from the output terminal 122 to the VDD terminal 121 via a parasitic diode formed with a substrate of the Pch transistor 103.
Patent Document 1
JP 2001-51735 A
However, in the conventional voltage regulator, when the potential on the VDD terminal 121 side becomes zero, a current flows thereinto from the backup battery via the resistor 1103 and the resistor 1104. As a result, there arises a problem that a backup operation cannot be performed for a long time.
In addition, there arises another problem that a reverse current flows thereinto because the Pch transistor 103 cannot be turned OFF when the potential on the VDD terminal 121 side becomes zero.
Therefore, it is an object of the present invention to solve the conventional problems described above, and to provide a voltage regulator that is capable of, when the potential on the VDD terminal 121 side becomes zero, achieving lower current consumption of the backup battery and securely preventing the reverse current by turning OFF the Pch transistor 103.
The present invention solves the above-mentioned problems by adopting such a circuit configuration that voltage dividing resistors are not used for the circuit of comparing the voltage of the VDD terminal 121 with the voltage of the output terminal 122 of the voltage regulator, to thereby eliminate a current flowing through the voltage dividing resistors.
According to the voltage regulator of the present invention, which has the configuration described above, irrespective of the magnitude of the voltage of the VDD terminal 121, a reverse current may be prevented from flowing from the output terminal 122 to the VDD terminal 121 with lower current consumption.
First Embodiment
A difference from
The comparator circuit 130 includes a constant current circuit 203, a constant current circuit 204, a Pch transistor 201, a Pch transistor 202, an inverter 205, an inverter 206, an inverter 208, and a level shifter 207.
A description is given of connections in the voltage regulator according to the present invention. An output of the Vref circuit is connected to a non-inverting input terminal of the error amplifier 102. An inverting input terminal of the error amplifier 102 is connected with a connection point between the resistor 107 and the resistor 108, and an output thereof is connected to a gate of the Pch transistor 103 and a source of the Pch transistor 104. A source of the Pch transistor 103 is connected with the VDD terminal 121 and a drain of the Pch transistor 105. A drain of the Pch transistor 103 is connected to the output terminal 122 and a drain of the Pch transistor 106. A back gate of the Pch transistor 103 is connected with a source of the Pch transistor 105 and a source of the Pch transistor 106. A gate of the Pch transistor 105 is connected with a node 111, and a back gate thereof is connected with the source of the Pch transistor 105. A gate of the Pch transistor 106 is connected with a node 110, and a back gate thereof is connected with the source of the Pch transistor 106. A drain of the Pch transistor 104 is connected to the output terminal 122. A gate of the Pch transistor 104 is connected with the node 110, and a back gate thereof is connected with the output of the error amplifier 102. One side of the resistor 107 is connected with the output terminal 122 while another side thereof is connected with the resistor 108. A gate of the Nch transistor 109 is connected with the node 110. A drain of the Nch transistor 109 is connected with the resistor 108, and a source thereof is connected to the VSS terminal 123. The comparator circuit 130 is connected to the output terminal 122, the VDD terminal 121, the VSS terminal 123, the node 110, and the node 111. The output terminal 122 is connected with a backup battery 112 and a load 113 that are connected in parallel.
Next, a description is given of connections in the comparator circuit 130. A gate of the Pch transistor 201 is connected with a gate of the Pch transistor 202, a drain of the Pch transistor 201, and the constant current circuit 203. A source of the Pch transistor 201 is connected with the VDD terminal 121, and a back gate thereof is connected with the VDD terminal 121. A drain of the Pch transistor 202 is connected to the inverter 205 and the constant current circuit 204. A source of the Pch transistor 202 is connected with the output terminal 122, and a back gate thereof is connected with the output terminal 122. An output of the inverter 205 is connected to the inverter 206, and the inverter 205 is connected with the output terminal 122 for its power supply. An output of the inverter 206 is connected to the level shifter 207 and a CONT terminal 223, and the inverter 206 is connected with the output terminal 122 for its power supply. An output of the level shifter 207 is connected to the inverter 208, and the level shifter 207 is connected with the VDD terminal 121 for its power supply. An output of the inverter 208 is connected to a CONTX terminal 222, and the inverter 208 is connected with the VDD terminal 121 for its power supply. The CONT terminal 223 is connected with the node 111 of
Next, a description is given of operations of the voltage regulator according to the present invention. When a potential of the VDD terminal 121 is higher than a potential of the output terminal 122, the Pch transistor 201 is turned ON while the Pch transistor 202 is turned OFF. Accordingly, a potential of the drain of the Pch transistor 202 becomes “L” level (potential of the VSS terminal 123). With the inverters 205 and 206 for waveform shaping, a voltage of the CONT terminal 223, to which the output of the inverter 206 is connected, becomes “L” level. The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts an output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is “L” level, the CONTX terminal 222, which corresponds to the output of the inverter 208, has the potential level of the VDD terminal 121. On this occasion, a substrate (Nwell) potential of the Pch transistor 103 illustrated in
On the other hand, when no power source is connected to the VDD terminal 121, the potential of the VDD terminal 121 becomes lower than the potential of the output terminal 122 because the output terminal 122 is connected with the backup battery 112. On this occasion, the Pch transistor 202 is turned ON while the Pch transistor 201 is turned OFF. Accordingly, the potential of the drain of the Pch transistor 202 becomes “H” level (potential of the output terminal 122). With the inverters 205 and 206 for waveform shaping, the voltage of the CONT terminal 223, which corresponds to the output of the inverter 206, becomes “H” level (potential of the output terminal 122). The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts the output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is “H” level (potential of the output terminal 122), the voltage of the CONTX terminal 222, which corresponds to the output of the inverter 208, is “L” level (potential level of the VSS terminal 123). On this occasion, the substrate (Nwell) potential of the Pch transistor 103 illustrated in
Next, a description is given of the error amplifier 102, which is used in
In a case of using the general error amplifier illustrated in
In an error amplifier circuit illustrated in
As described above, compared to the conventional voltage regulator illustrated in
Second Embodiment
Next, a description is given of connections in the comparator circuit 130. The gate of the Pch transistor 201 is connected with a gate of the Pch transistor 301, a gate of the Pch transistor 302, a drain of the Pch transistor 201, and the constant current circuit 303. The source of the Pch transistor 201 is connected with the VDD terminal 121, and the back gate thereof is connected with the VDD terminal 121. A drain of the Pch transistor 302 is connected to the inverter 205 and the constant current circuit 304. A source of the Pch transistor 302 is connected with a drain of the Pch transistor 301 and a drain of the Pch transistor 305, and a back gate thereof is connected with the output terminal 122. A source of the Pch transistor 301 is connected with the output terminal 122, and a back gate thereof is connected with the output terminal 122. A gate of the Pch transistor 305 is connected with the output of the inverter 205. A source of the Pch transistor 305 is connected with the output terminal 122, and a back gate thereof is connected with the output terminal 122. The output of the inverter 205 is connected to the inverter 206, and the inverter 205 is connected with the output terminal 122 for its power supply. The output of the inverter 206 is connected to the level shifter 207 and the CONT terminal 223, and the inverter 206 is connected with the output terminal 122 for its power supply. The output of the level shifter 207 is connected to the inverter 208, and the level shifter 207 is connected with the VDD terminal 121 for its power supply. The output of the inverter 208 is connected to the CONTX terminal 222, and the inverter 208 is connected with the VDD terminal 121 for its power supply. The N-channel depletion type MOS transistors are used as the constant current circuit 303 and the constant current circuit 304. Each of the N-channel depletion type MOS transistors has the gate and the source that are connected to the VSS terminal 123, and a drain used as its output. The CONT terminal 223 is connected with the node 111 of
Next, a description is given of operations of the voltage regulator, which uses the comparator circuit according to the second embodiment. When the potential of the VDD terminal 121 is higher than the potential of the output terminal 122, the Pch transistor 201 is turned ON while the Pch transistor 301 and the Pch transistor 302 are turned OFF. Accordingly, a potential of the drain of the Pch transistor 302 becomes “L” level (potential of the VSS terminal 123). With the inverters 205 and 206 for waveform shaping, the output of the inverter 205 becomes “H” (potential of the output terminal 122). Then, the Pch transistor 305 is turned OFF, and the voltage of the CONT terminal 223, which corresponds to the output of the inverter 206, becomes “L” level. The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts the output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is “L” level, the CONTX terminal 222, which corresponds to the output of the inverter 208, has the potential level of the VDD terminal 121. On this occasion, the substrate (Nwell) potential of the Pch transistor 103 becomes the potential of the VDD terminal 121 because the Pch transistor 105 is turned ON while the Pch transistor 106 is turned OFF. In other words, the substrate (Nwell) potential of the Pch transistor 103 becomes a higher one of the potential of the VDD terminal 121 and the potential of the output terminal 122. On this occasion, the Pch transistor 104 is turned OFF. When the VDD terminal 121 is connected with a power source, the potential of the VDD terminal 121 normally becomes higher than the potential of the output terminal 122.
Subsequently, when the potential of the VDD terminal 121 decreases, because the Pch transistor 305 is turned OFF, the voltage of the VDD terminal 121 is compared with the voltage of the output terminal 122 by means of the Pch transistor 201 and a compound transistor formed of the Pch transistor 301 and the Pch transistor 302. When the potential of the VDD terminal 121 decreases to a potential lower by ΔV1 than the potential of the output terminal 122, the Pch transistor 201 is turned OFF while the Pch transistor 301 and the Pch transistor 302 are turned ON. Accordingly, the potential of the drain of the Pch transistor 302 becomes “H” level (potential of the output terminal 122). With the inverters 205 and 206 for waveform shaping, the output of the inverter 205 becomes “L” level. Then, the Pch transistor 305 is turned ON, and the voltage of the CONT terminal 223, which corresponds to the output of the inverter 206, becomes “H” level (potential of the output terminal 122). The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts the output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is “H” level, the CONTX terminal 222, which corresponds to the output of the inverter 208, is “L” level. On this occasion, the substrate (Nwell) potential of the Pch transistor 103 illustrated in
The voltage of ΔV1 is determined by Expression (1).
In Expression (1), I represents a current value of the constant current circuits 303 and 304; μ, mobility of the Pch transistor 201, the Pch transistor 301, and the Pch transistor 302; L6, a total transistor L-length of the Pch transistor 301 and the Pch transistor 302; L5, a transistor L-length of the Pch transistor 201; W6, a transistor W-length of the Pch transistor 301 and the Pch transistor 302; and W5, a transistor W-length of the Pch transistor 201.
Subsequently, when the potential of the VDD terminal 121 increases, because the Pch transistor 305 is turned ON, the voltage of the VDD terminal 121 is compared with the voltage of the output terminal 122 by means of the transistors of the Pch transistor 201 and the Pch transistor 302. In the cases where the constant current circuits 303 and 304 have the same current value, and where the Pch transistor 201 and the Pch transistor 302 have the same transistor types (VTH, mobility, and the like), the same L-length, and the same W-length, ΔV1 in Expression (1) satisfies “ΔV1=0”. Therefore, when the voltage of the VDD terminal 121 and the voltage of the output terminal 122 are substantially equal to each other, the voltage of the CONT terminal 223 and the voltage of the CONTX terminal 222 are inverted.
Note that, in order to prevent a parasitic diode formed between the output terminal 122 and the substrate of the Pch transistor 103 from being turned ON when the voltage of the VDD terminal 121 decreases, the value of ΔV1 needs to be set to a forward ON voltage (about 0.6 V) or lower of the parasitic diode. In general, the value of ΔV1 is set to about 50 mV to 200 mV.
Further, the Pch transistor 305 is connected in parallel with the Pch transistor 301 in
Third Embodiment
Next, a description is given of connections in the comparator circuit 130. A gate of the Pch transistor 501 is connected with the gate of the Pch transistor 202, a gate of the Pch transistor 502, a drain of the Pch transistor 502, and the constant current circuit 303. A source of the Pch transistor 501 is connected with the VDD terminal 121. A drain of the Pch transistor 501 is connected with a source of the Pch transistor 502 and a drain of the Pch transistor 503, and a back gate thereof is connected with the VDD terminal 121. A gate of the Pch transistor 503 is connected with the output of the level shifter 207. A source of the Pch transistor 503 is connected with the VDD terminal 121, and a back gate thereof is connected with the VDD terminal 121. The drain of the Pch transistor 202 is connected to the inverter 205 and the constant current circuit 304. A source of the Pch transistor 202 is connected with the output terminal 122, and a back gate thereof is connected with the output terminal 122. The output of the inverter 205 is connected to the inverter 206, and the inverter 205 is connected with the output terminal 122 for its power supply. The output of the inverter 206 is connected to the level shifter 207 and the CONT terminal 223, and the inverter 206 is connected with the output terminal 122 for its power supply. The output of the level shifter 207 is connected to the inverter 208, and the level shifter 207 is connected with the VDD terminal 121 for its power supply. The output of the inverter 208 is connected to the CONTX terminal 222, and the inverter 208 is connected with the VDD terminal 121 for its power supply. The N-channel depletion type MOS transistors are used as the constant current circuit 303 and the constant current circuit 304. Each of the N-channel depletion type MOS transistors has the gate and the source that are connected to the VSS terminal 123, and a drain used as its output. The CONT terminal 223 is connected with the node 111 of
Next, a description is given of operations of the voltage regulator, which uses the comparator circuit according to the third embodiment. When the potential of the VDD terminal 121 is sufficiently higher than the potential of the output terminal 122, the Pch transistor 501 and the Pch transistor 502 are turned ON while the Pch transistor 202 is turned OFF. Accordingly, the potential of the drain of the Pch transistor 202 becomes “L” level (potential of the VSS terminal 123). With the inverters 205 and 206 for waveform shaping, the CONT terminal 223, which corresponds to the output of the inverter 206, becomes “L” level. The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts the output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is “L” level, the output of the level shifter 207 is “L” level. Accordingly, the Pch transistor 503 is turned ON, and the CONTX terminal 222, which corresponds to the output of the inverter 208, has the potential level of the VDD terminal 121. On this occasion, the substrate (Nwell) potential of the Pch transistor 103 illustrated in
Subsequently, when the potential of the VDD terminal 121 decreases, because the Pch transistor 503 is turned ON, the voltage of the VDD terminal 121 is compared with the voltage of the output terminal 122 by means of the Pch transistor 502 and the Pch transistor 202. In the cases where the constant current circuits 303 and 304 have the same current value, and where the Pch transistor 502 and the Pch transistor 202 have the same transistor types (VTH, mobility, and the like), the same L-length, and the same W-length, when the potential of the VDD terminal 121 decreases to substantially the same value as the potential of the output terminal 122, the Pch transistor 502 is turned OFF while the Pch transistor 202 is turned ON. Accordingly, the potential of the drain of the Pch transistor 202 becomes “H” level (potential of the output terminal 122). With the inverters 205 and 206 for waveform shaping, the voltage of the CONT terminal 223, which corresponds to the output of the inverter 206, becomes “H” level (potential of the output terminal 122). The level shifter 207 converts the potential level of the output terminal 122 to the potential level of the VDD terminal 121. The inverter 208 inverts the output voltage of the level shifter 207. When the voltage of the CONT terminal 223 is at “H” level, the output of the level shifter 207 corresponds to the voltage of the VDD terminal 121. Accordingly, the Pch transistor 503 is turned OFF, and the CONTX terminal 222, which corresponds to the output of the inverter 208, becomes “L” level. On this occasion, the substrate (Nwell) potential of the Pch transistor 103 becomes the potential of the output terminal 122 because the Pch transistor 106 is turned ON while the Pch transistor 105 is turned OFF. In other words, the substrate (Nwell) potential of the Pch transistor 103 becomes a higher one of the potential of the VDD terminal 121 and the potential of the output terminal 122. On this occasion, the Pch transistor 104 is turned ON, and accordingly the gate of the Pch transistor 103 is allowed to have the same potential as the output terminal 122 so that the Pch transistor 103 is turned OFF.
Subsequently, when the potential of the VDD terminal 121 increases, because the Pch transistor 503 is turned OFF, the voltage of the VDD terminal 121 is compared with the voltage of the output terminal 122 by means of the Pch transistor 202 and a compound transistor formed of the Pch transistor 501 and the Pch transistor 502. When the voltage of the VDD terminal 121 increases to a voltage higher by ΔV2 than the voltage of the output terminal 122, the voltage of the CONT terminal 223 and the voltage of the CONTX terminal 222 are inverted.
The voltage of ΔV2 is determined by Expression (2).
In Expression (2), I represents a current value of the constant current circuits 303 and 304; μ, mobility of the Pch transistor 202, the Pch transistor 501, and the Pch transistor 502; L6, a transistor L-length of the Pch transistor 202; L5, a total transistor L-length of the Pch transistor 501 and the Pch transistor 502; W6, a transistor W-length of the Pch transistor 202; and W5, a transistor W-length of the Pch transistor 501 and the Pch transistor 502.
Note that, in order to prevent a parasitic diode formed between the VDD terminal 121 and the substrate of the Pch transistor 103 from being turned ON when the voltage of the VDD terminal 121 increases, the value of ΔV2 needs to be set to a forward ON voltage (about 0.6 V) or lower of the parasitic diode. In general, the value of ΔV2 is set to about 50 mV to 200 mV.
Further, the Pch transistor 503 is connected in parallel with the Pch transistor 501 in
Number | Name | Date | Kind |
---|---|---|---|
5187396 | Armstrong et al. | Feb 1993 | A |
20080012543 | Negoro | Jan 2008 | A1 |
Number | Date | Country |
---|---|---|
2001-051735 | Feb 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20110062921 A1 | Mar 2011 | US |