Abstract:
A voltage detection circuit for comparing an input voltage against a reference voltage, the reference voltage being derived from the threshold voltage of a semiconductor active device which forms a portion of the voltage detection circuit. To make the detection circuit substantially independent of ambient temperature changes, it is constructed as an integrated circuit and includes devices for producing a temperature dependent voltage equal to but of opposite sign to the temperature sensitive voltage component of the reference voltage. The two temperature sensitive voltages cancel each other to thereby permit a temperature independent voltage comparison.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a voltage detection circuit for detecting an input voltage having a predetermined level by comparing the input voltage with a reference voltage, and more particularly, to a voltage detection circuit using the threshold voltage of a semiconductor active element such as a transistor as the reference voltage. 
     In general, a comparison circuit is employed as a voltage detection circuit for detecting input voltage, and the comparison output from the comparison circuit is used as a voltage detection output. An input voltage to be detected is applied to one input terminal of the comparison circuit, while a reference voltage obtained by using the power supply voltage or a constant voltage element (e.g., a zener diode) is supplied to the other input terminal. Such a voltage detection circuit offers an advantage that the voltage level for detecting input voltage can be made to vary by adjusting the reference voltage. However, it is hard to maintain the predetermined value of the reference voltage which relies upon the power supply voltage or a constant voltage of a constant voltage element, when the power supply voltage transiently changes at the time of the turning on or off of the power, or when the power supply voltage is so low that it becomes impossible for the constant voltage element to maintain a fixed voltage. 
     Instead of using the reference voltage having the mentioned drawback, a threshold voltage of a semiconductor active element such as transistor may be employed as the reference voltage to be compared with the input voltage to be detected. The threshold voltage is such a voltage that the semiconductor active element is activated by a voltage higher than that. Since the threshold voltage is fixed and independent of the power supply voltage, the aforementioned problem ocurring when the power supply voltage is in a transient state can be eliminated. By attenuating the input voltage by means of a resistance-dividing circuit, adjusting the attenuation ratio of the dividing circuit and comparing the attenuated input voltage with the threshold voltage, it is possible to vary the voltage level for detecting the input voltage. However, although the threshold voltage is constant with respect to the power supply voltage, it has a temperature coefficient. In other words, the threshold voltage varies in response to changes in the ambient temperature. Consequently, the input voltage detection level varies with temperature, and it is impossible to expect a reliable detection operation. 
     SUMMARY OF THE INVENTION 
     It is, therefore, an object of the present invention to provide a voltage detection circuit using the threshold voltage wherein the effect of the temperature coefficient of the threshold voltage is diminished. 
     It is another object of the present invention to provide a voltage detection circuit having an arrangement suited to a semiconductor integrated circuit, wherein the variation in the input voltage detection level resulting from the ambient temperature change is reduced. 
     A voltage detection circuit in accordance with the present invention includes a circuit having a semiconductor active element, with a threshold voltage. This circuit is further provided with a voltage input terminal and an output terminal. An input voltage to be detected is supplied to the voltage input terminal. When the input voltage having a greater voltage amplitude than this threshold voltage is supplied to the voltage input terminal, the semiconductor active element is activated to produce a predetermined output signal at the output terminal. The threshold voltage at the aforementioned circuit comprises a first voltage component corresponding to the threshold of the semiconductor active element and a second voltage component having a temperature coefficient opposite to the temperature coefficient of the first voltage component. 
     Thus, the input voltage is supplied to the voltage input terminal of the circuit having a semiconductor active element, and compared with the threshold voltage. This threshold voltage is fixed irrespective of the state of the power supply voltage since it is not obtained by using the power supply voltage. Further, since the threshold voltage comprises the first voltage component corresponding to the threshold of the semiconductor active element and the second voltage component having a temperature coefficient opposite to the temperature coefficient of the first voltage component, the variation of the threshold voltage of the circuit; resulting from the ambient temperature change can be reduced. If the absolute values of the temperature coefficients of the first voltage component and the second voltage component are equalized, the threshold voltage becomes substantially fixed irrespective of the variations in the ambient temperature. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Above and other objects, features and advantages of the present invention will be more apparent from the following description taken in connection with the accompanying drawings: 
     FIG. 1 is a circuit diagram illustrating a voltage detection circuit according to the prior art, which compares the input voltage with a voltage using the threshold voltage of a semiconductor active element. 
     FIG. 2 is a circuit diagram of a voltage detection circuit in accordance with a preferred embodiment of the present invention. 
     FIG. 3 is a circuit diagram of a voltage detection circuit in accordance with another preferred embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PRIOR ART 
     Referring now to FIG. 1, a voltage detection circuit according to prior art will be described hereinafter. An input voltage to be detected is supplied between a detection terminal 1 and a reference potential terminal 3 (a ground terminal in FIG. 1). Resistors R 1  and R 2  are connected in series between the terminals 1 and 3. A base-emitter path of a transistor Q 1  is connected in parallel with the resistor R 2 , and its collector is connected to the voltage input terminal 1 via a resistor R 3 . The collector of the transistor Q 1  is further connected to the base of a transistor Q 2 . The emitter of the transistor Q 2  is connected to the terminal 3, while its collector is connected to an output terminal 2. 
     When the base-emitter threshold voltage of the transistor Q 1  when turned on is taken as V thQ1 , the threshold voltage V thd  of the detection terminal 1 is expressed by the following formula: ##EQU1## When the voltage at the detection terminal 1, i.e., the input PG,8 voltage V d , is less than V thd , the base-emitter voltage V BEQ1  is less than the threshold voltage V thQ1  (V BEQ1  &lt;V thQ1 ), so that the transistor Q 1  is cut off. Consequently, the transistor Q 2  is made to conduct, and the output terminal 2 takes a low level. When the voltage V d  at the input terminal 1 is greater than or equal to V thd  the base-emitter voltage V BEQ1  becomes greater than the threshold voltage V thQ1  (V BEQ1  ≧V thQ1 ), so that the transistor Q 1  is made to conduct, while the transistor Q 2  is cut off. Consequently, the output terminal 2 is in an open condition. Thus, it is possible to detect the input voltage supplied to the detection terminal 1 by comparing it with the threshold voltage V thd  of this circuit using the threshold V thQ1  of the transistor Q 1 . Since the threshold voltage V thd  has a fixed level with respect to the power supply voltage, is evident from the formula (1), it is possible to attain a desired detection operation irrespective of the state of the power supply voltage. 
     In the prior art circuit shown in FIG. 1, however, there is a drawback that there are large temperature variations with respect to the threshold voltage V thd  at the detection terminal 1. In other words, the temperature coefficient ∂V thd  /∂T of V thd  is expressed from the formula (1): ##EQU2## Here, the temperature coefficient ∂V thQ1  /∂T of the base-emitter threshold voltage of the transistor Q 1  is approximately -2 mV/° K. Accordingly, the temperature coefficient ∂V thd  /∂T of the threshold voltage V thd  the detection input terminal 1 takes a negative temperature coefficient, and its value takes a value of several mV/° K. As a specific example, if it is assumed that R 1  =16 kΩ, and R 2  =4 kΩ, then ∂V thd  /∂T=-10 mV/° K. 
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring now to FIG. 2, a preferred embodiment of the present invention will be described hereinafter. The voltage to be detected is supplied between the voltage detection terminal (input terminal) 1 and the reference potential (GND) terminal 3. Resistors R 10  and R 11  are connected in series between the terminals 1 and 3. The base of a transistor Q 9  is connected to the junction between R 10  and R 11 , and its collector is connected to the detection terminal 1. The emitter of the transistor Q 9  is connected to the terminal 3 via a resistor R 7  and a diode-connected transistor Q 6 . The emitter of the transistor Q 9  is further connected to the collector of a transistor Q 7  via a resistor R 8 , and the base of the transistor Q 7  is connected to the base of the transistor Q 6 . The emitter of the transistor Q 7  is connected to the ground terminal 3 via a resistor R 9 . The collector of the transistor Q 7  is connected to the base of a transistor Q 8  , and its emitter is connected to the terminal 3. The collector of the transistor Q 8  is connected to an output terminal 2. This circuit is made in the form of a semiconductor integrated circuit, and therefore, each transistor operates at the same junction temperature. The threshold voltage V thf  of the detection terminal 1 at the time when the transistor Q 8  is made to conduct is expressed by the following formula (3). Further the following formulas (4) through (10) hold with respect to the voltages and currents at each operating points. ##EQU3## where V BQ9  : base voltage of transistor Q 9  ; 
     V EQ9  : emitter voltage of transistor Q 9  ; 
     V BEQ9 , V BEQ6 , V BEQ7  : respective base-emitter voltages of transistors Q 9 , Q 6 , and Q 7  ; 
     V thQ8  base-emitter threshold voltage at the time when transistor Q 8  becomes conductive; 
     I SQ6 , I SQ7 , I SQ8  : respective saturated currents of transistors Q 6 , Q 7  and Q 8  ; 
     I Q6 , I Q8  respective collector currents at transistors Q 6  and Q 8  ; 
     I Q7  : emitter current of transistor Q 7  ; 
     R 7 , R 8 , R 9 , R 10 , R 11  respective resistance values of resistors R 7 , R 8 , R 9 , R 10 , R 11  ; 
     q: electric charge of electrons; 
     K: Boltzmann&#39;s constant; 
     T: absolute temperature (° K.); 
     When the base-emitter junction area of the transistor Q 7  is a times as large as that of the transistor Q 6 , the following formula holds: 
     
         I.sub.SQ7 =a·I.sub.SQ6                            (11) 
    
     Using the formulas (8), (9) and (11) for the formula (7), I Q7  is obtained by: ##EQU4## 
     Since the operating point is selected in such a way that V BEQ6  and V thQ8  become substantially equal when the transistor Q 8  is made to conduct, the formula (12) can be expressed as follows: ##EQU5## Substituting the formulas (4), (5) and (13) into the formula (3), ##EQU6## 
     When the voltage V f  at the detection terminal 1 meets the condition of V f&lt;V   thf , the relationship of the I Q6  &lt;I Q7  is satisfied between currents I Q6  and I Q7  flowing through the transistors Q 6  and Q 7 , with the result that the base-emitter voltage V BEQ8  at the transistor Q 8  is less than the threshold voltage V thQ8  (V BEQ8  &lt;V thQ8 ). Hence, the transistor Q 8  is cut off, and the output terminal 2 is opened. On the other hand, when the voltage V f  at the detection terminal 1 is greater than or equal to V thf , I Q6  is greater than or equal to I Q7 , so that V BEQ8  is greater than or equal to V thQ8  (V BEQ8  ≧V thQ8 ). Consequently, the transistor Q 8  is conducting and the output terminal 2 is at a low level. Thus, it is possible to detect the input voltage V f  applied to the terminal 1 by comparing it with the threshold voltage V thf . The temperature coefficient of the threshold voltage V thf  at the detection terminal 1 is expressed as follows: ##EQU7## If appropriate values are selected for resistance ratios R 8  /R 9  and R 8  /R 7  as well as the emitter area ratio a of the transistor Q 6  to the transistor Q 7  in such a way that the following formula is obtained from the right side of the formula (15), ##STR1## then it is possible to bring the temperature coefficient ∂V thf  /∂T of the threshold voltage V thf  at the detection terminal 1 to zero. As a specific example, if selections are made as: R 7  =R 8  =29 kΩ, R 9  =1 kΩ, a=5, R 10  =4 kΩ, and R 11  =8 kΩ, the ∂V thf  /∂T=38 μV/° K. due to the fact that both ∂V BEQ9  /∂T and ∂V thQ8  /∂T are approximately -2 mV/° K. Thus, the temperature coefficient becomes extremely small. 
     As described above, the threshold voltage V thf  of the circuit shown in FIG. 2 is determined by the base-emitter voltage V BEQ9  of the transistor Q 9 , the threshold voltage V thQ8  of the transistor Q 8 , the voltage drop V R8  across the resistor R 8 , and the resistance ratio of the resistors R 10  to R 11 , and is independent of the power supply voltage. Accordingly, it is possible to detect the input voltage supplied to the detection terminal 1 regardless of the transient state of the power supply voltage or a considerable power supply voltage drop. Also, since the threshold voltage V thf  is variable by adjusting the resistance ratio of the resistor R 10  to the resistor R 11 , it is possible to adjust the detection level of the input voltage. Furthermore, since the temperature coefficient of the threshold voltage V thf  is determined by negative temperature coefficients of the base-emitter voltage V BEQ9  of the transistor Q 9  and the threshold voltage V thQ8  of the transistor Q 8 , and by a positive temperature coefficient of the voltage drop V R8  of the resistor R 8 , the variation in the threshold voltage V thf  caused by the ambient temperature change can be reduced. Hence, the variation in the detection level of the input voltage is suppressed. If the negative and positive temperature coefficients are made to be the same level, the threshold voltage V thf  becomes substantially constant irrespective of the ambient temperature change. 
     The reason why the voltage drop V R8  across the resistor R 8  has a positive temperature coefficient is that the transistors Q 6  and Q 7  operate at different current densities. Since the resistor R 9  is connected to the emitter of the transistor Q 7 , the transistors Q 6  and Q 7  operate at different current densities. 
     FIG. 3 shows another preferred embodiment of the present invention. The circuit shown in FIG. 3 has a hysteresis characteristic as to an input voltage level at which the state of the output terminal 2 is inverted, to compensate the detection operation with respect to the noise included in the input voltage. 
     A detection circuit, which detects the input voltage to be detected by comparing the same with the threshold, performs a stable detection operation without being affected by the power supply voltage. Therefore, such a detection circuit is often used in detecting the state of the power supply voltage. More specifically, the power supply voltage falls in a transient state when the power is turned on or off. Accordingly, for instance, in an amplifier circuit, a switching regulator and other electronic circuits, noise signals are sometimes supplied to a load owing to the transient state of the power supply voltage. Hence, it is desirable to deactivate operations of such circuits or to cut the supply of signals to the load in a transient state such as during the turning on or off of the power. For this purpose, the detection circuit shown in FIG. 2 employs a voltage corresponding to the power supply voltage as the input voltage supplied to the terminal 1. In the detection circuit shown in FIG. 2, the voltage corresponding to the power supply voltage is compared with the threshold voltage V thf  expressed by the formula (14), and the state of the output terminal 2 undergoes change according to their relationship of magnitude. The threshold voltage V thf  can be established irrespective to the power supply voltage. Therefore, by establishing such a threshold V thf  as would eliminate the transient state of the power supply voltage, the circuit of FIG. 2 utilizes an output signal from the terminal 2 to control the operations of the above circuits or to cut the supply of signals to the load. 
     In the detection circuit shown in FIG. 2, however, there is only one threshold V thf  that would invert the state at the output terminal 2. Therefore, when the voltage such as the power supply voltage in the transient state is supplied, the state of the output signal at terminal 2 is inverted periodically due to large noise components. A voltage detection circuit that resolves this problem is shown in FIG. 3. 
     Turning back to FIG. 3, the same functional elements as those used in FIG. 2 are shown by the same references and their description will be omitted. In FIG. 3 the collector of the transistor Q 8  is not connected to the output terminal 2, but connected to the detection terminal 1 via a resistor 12. The collector of the transistor Q 8  is further connected to the bases of transistors Q 10  and Q 11  via resistors R 14  and R 15 , respectively. The emitter of the transistor Q 10  is grounded, while its collector is connected to the output terminal 2. The emitter of the transistor Q 11  is connected to the terminal 3, while its collector is connected to the junction point between the resistors R 10  and R 11  via a resistor R 16 . 
     In the circuit arrangement shown in FIG. 3, when the input voltage is smaller than the threshold, the transistor Q 8  is cut off to turn the transistors Q 10  and Q 11  on. Therefore, the output terminal 2 takes a low level. At this time, the resistor R 16  is grounded by the transistor Q 11 . On the other hand, when the input voltage is greater than the threshold voltage, the transistor Q 8  is made to conduct, so that the transistors Q 10  and Q 11  are off. Hence the output terminal 2 is opened. Also, the resistor R 16  is opened. 
     In a circuit having such an arrangement, if the threshold voltage at the detection terminal 1 appearing when the transistor Q 8  is shifted to its conductive state from a cut-off state is taken as V thf-1 , and that appearing when the transistor Q 8  turns to a closed state from a conductive state as V thf-2 , then V thf-1  and V thf-2  can be expressed as follows: ##EQU8## where R 11  // R 16  : parallel resistance value of resistors R 11 . and R 16   
     V BQ9  : base voltage at transistor Q 9   
     Here, the base voltage V BQ9  at the transistor Q 9  is equal in respective cases, and can be given as follows from the formulas (4), (5) and (13). ##EQU9## 
     Therefore, if the hysteresis width is taken as ΔV thf , from the formulas (17) and (18) it is possible to establish: ##EQU10## Hence, this hysteresis characteristic becomes advantageous to such a voltage detection circuit that detects the power supply voltage having a transient phonemenon. 
     Also, with respect to the temperature coefficient of the threshold voltage at the detection terminal 1 in FIG. 3, it is possible to make it small by selecting appropriate values for resistance ratios R 8  /R 9  and R 8  /R 7  and the emitter area ratio of the transistor Q 6  to the transistor Q 7 , as already mentioned in the preferred embodiment shown in FIG. 2. 
     In this embodiment, there is only one output terminal. However, a voltage detection circuit having a plurality of output terminals can be obtained by connecting a plurality of circuits having the same arrangement as that comprised of the resistor R 14  and the transistor Q 10  to the collector of the transistor Q 8  in parallel with the circuit of R 14  and Q 10  and with each other and coupling output terminals to collectors of the respective transistors.