This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2010-267827, filed on Nov. 30, 2010; the entire contents of which are incorporated herein by reference.
Embodiments of the invention relate to a power-supply-voltage detecting circuit mounted in a semiconductor apparatus.
A circuit to process and output signals at a predetermined power-supply voltage has a function to fix an output voltage until an internal circuit operates normally so as to prevent the output voltage from switching at an undesirable timing while the power-supply voltage is rising or falling in a transitional state.
A circuit of the related art controls a signal circuit by generating a comparative voltage from a band-gap reference voltage, and then making a comparator circuit compare the comparative voltage with a divided power-supply voltage.
If a small-scale circuit is demanded, a switching element to control the signal circuit is switched ON or OFF directly with the divided power-supply voltage. In this case, a detection voltage is an ON-voltage of the switching element multiplied by an inverse dividing ratio.
When the comparative voltage is generated from the band-gap reference voltage, the circuit tends to become larger in scale, which leads to an increase in cost in the case of a small-scale circuit such as a coupler.
In the case of a switching element directly controlled, a temperature dependency of the ON-voltage of the switching element makes the detection voltage also vary depending on the temperature. Hence, the power-supply-voltage varies depending on the temperature and is left unstable in such a wide voltage range that it is difficult to design circuits and apparatuses.
A power-supply-voltage detecting circuit according to an embodiment includes a first resistor, a second resistor, a third resistor, a first semiconductor element, a second semiconductor element, and a third semiconductor element. A first end of the first resistor and a first end of the second resistor are connected to a common detection terminal. A first end of the third terminal is connected to the ground. The collector and the base of the first semiconductor element are connected in common to a second end of the first resistor. The emitter of the first semiconductor element is connected to the ground. The collector of the second semiconductor element is connected to a second end of the second resistor. The base of the second semiconductor element is connected to the collector and the base of the first semiconductor element and is also connected to the second end of the first resistor. The emitter of the second semiconductor element is connected to a second end of the third resistor. The collector of the third semiconductor element is connected to a signal circuit. The base of the third semiconductor element is connected in common to the collector of the second semiconductor element and to the second end of the second resistor. The emitter of the third semiconductor element is connected to the ground. The third semiconductor element switches the operational state of the signal circuit in accordance with the current flowing through the collector of the third semiconductor element.
Some embodiments of the invention will be described below by referring to the drawings.
The compensation circuit 2 and the switching element 3 will be described in detail below. For the sake of descriptive convenience, the switching element 3 will be described first.
The switching element 3 is a semiconductor element. For example, as
The compensation circuit 2 includes plural semiconductor elements and is designed to have a positive temperature coefficient while the third transistor Q3 (switching element 3) is ON for the purpose of balancing out the negative temperature coefficient of the third transistor Q3. For the sake of descriptive convenience, each of the semiconductor elements is assumed to be a diode or an NPN transistor. Specifically, the compensation circuit 2 includes: a first resistor R1 and a second resistor R2 both connected to the detection terminal 1; a first NPN transistor Q1 and a second NPN transistor Q2 of which base electrodes are connected to each other; and a third resistor R3 connected to an emitter electrode of the second transistor Q2.
The current amplification factor of the second transistor Q2 is set to be N times larger than each of the current amplification factors of the first transistor Q1 and of the third transistor Q3. To this end, an emitter-area ratio among the first to the third transistors Q1 to Q3 is set to be 1:N:1. In addition, a resistance ratio among the first to the third resistors R1 to R3 is set to be M:M:1.
Next, description will be given of why the power-supply-voltage detecting circuit 100 of this embodiment is less likely to be affected by the negative temperature coefficient while the switching element 3 is ON.
The input voltage Vin detected by the detection terminal 1 is expressed by the following Equation 1:
V
in
=R
2
×I
C2
+V
BE3
where
Vin: Input voltage
R2: Resistance of the second resistor R2
Ic2: Collector current of the second transistor Q2
VBE3: Base-emitter voltage of the third transistor Q3.
In general, a base-emitter voltage VBE of a diode or a transistor has a negative temperature coefficient. Hence, the base-emitter voltage VBE is expressed by the following Equation 2 if the base-emitter voltage VBE at a temperature of 300 K (i.e., ordinary temperature of 27° C.) is expressed by VBE0, and the ordinary temperature coefficient of a transistor is expressed by −Y:
V
BE
=V
BE0
−Y×t
where
Y: Temperature coefficient (constant) of a transistor/diode
VBE: Ordinary base-emitter voltage
VBE0: Base-emitter voltage at ordinary temperature (27° C.).
In addition, the emitter voltage of the second transistor Q2 is expressed by the following Equation 3:
where
VE2: Emitter voltage of second transistor Q
VBE1: Base-emitter voltage of first transmitter Q1
VBE2: Base-emitter voltage of second transmitter Q2
t: Varying temperature with a reference temperature of 27° C.
k: Boltzmann constant
q: Charge of electron
N: Emitter-area ratio
X: k/q.
With Equations 1 to 3, the input voltage Vin is expressed by the following Equation 4:
where
Vin: Input voltage
VBE0: Base-emitter voltage with a reference temperature of 27° C.
t: Temperature
N: Emitter-area ratio
M: Resistance ratio
X: Boltzmann constant k/Charge of electron q
Y: temperature coefficient (constant).
As described above, both the ratio X and the temperature coefficient Y are constants. Accordingly, the influence of the changing of the temperature while the third transistor Q3 (switching element 3) is ON can be precluded simply by setting the values of M and N in Equation 4 to satisfy the following Equation 5:
(M×X×1n(N)−Y)=0
where
N: Emitter-area ratio
M: Resistance ratio
Y: temperature coefficient (constant) of a transistor/diode.
As has been described thus far, in the power-supply-voltage detecting circuit 100 of this first embodiment, simply by determining the resistance ratio M and the emitter-area ratio N to satisfy the above-mentioned Equation 5, the stable input voltage Vin from which the influence of the temperature change is precluded is easily detected by the detection terminal 1 while the switching element 3 is ON.
As has been described thus far, the power-supply-voltage detecting circuit 100 of this embodiment can balance out the negative temperature coefficient of the switching element 3 and thereby preclude the influence of the changing of the temperature simply by setting the value of the resistance ratio M and that of the emitter-area ratio N to satisfy the above-mentioned Equation 5. Consequently, the unstable-voltage range of the power-supply-voltage detecting circuit 100 can be reduced, and stable operation of the apparatus as a whole can be made possible.
Note that in this first embodiment, the resistance ratio among the resistors are set to be M:M:1, and the emitter-area ratio among the transistors are set to be 1:N:1. Those ratios, however, are not the only possible ones.
This is represented by the following Equation 6:
where
Vin: Input voltage
VBE0: Base-emitter voltage with a reference temperature of 27° C.
X: Boltzmann constant k/Charge of electron q
Y: temperature coefficient (constant)
M: Resistance ratio
N: Emitter-area ratio
L: Number of diode stages
t: Temperature.
As has been described thus far, in this embodiment, if the number of diodes L is adjusted appropriately, and if the value of the resistance ratio M and the value of the emitter-area ratio N in the temperature-coefficient portion in the above-mentioned Equation 6 are set to satisfy an equation, X×M×1n(N)−(1+L)=0, it is possible to preclude the temperature-dependent variation of the input voltage Vin at the timing when the switching element 2 is turned ON.
In this embodiment, by adjusting the values of the resistors R4 and R5 appropriately, the input voltage Vin of the timing when the switching element 3 is turned ON can be set appropriately.
This is expressed by Equation 7 to be given below.
If the resistance ratio R1:R2:R3:R4:R5 are set to be M:M:1:K:K, the current I4 is equal to the current I5, that is, the current I1 is equal to the current I2 under the conditions where the third transistor Q3 is turned ON.
Accordingly the current Ic2 flowing through the second resistor R2 is expressed by the following equation.
Ic2=I2+I5=(VE2÷R3}+(VBE3÷R5)
Hence the voltage Vin detected by the detector terminal is expressed by the following Equation 7:
where
Vin: Input voltage
X: Boltzmann constant k/Charge of electron q (constant)
Y: temperature coefficient (constant)
M: Resistance ratio
K: Resistance ratio
L: Number of diode stages
t: Temperature.
As has been described thus far, in this embodiment, if the arbitrarily-determined values of M, N, and K in the temperature-coefficient portion in the above-mentioned Equation 7 are adjusted appropriately to satisfy a equation M×X×1n(N)−(M÷K+1)×Y=0, it is possible to preclude the temperature-dependent variation of the input voltage Vin at the timing when the third transistor Q3 is turned ON.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
P2010-267827 | Nov 2010 | JP | national |