This disclosure relates generally to analog devices and, more particularly, to apparatus to compare an input voltage with a threshold voltage.
A voltage comparator circuit compares a first input voltage to a second input voltage and outputs a signal indicative of the results of the comparison. For example, when the first input voltage exceeds the second input voltage the comparator circuit may output a logical high signal. Conversely, when the first input voltage does not exceed the second input voltage, the comparator circuit may output a logical low signal. In some implementations, the second input voltage may be a reference voltage (e.g., the voltage comparator circuit only has one varying input voltage that is compared to the reference voltage). For example, the reference voltage may be an output of a bandgap reference circuit. A bandgap reference circuit provides a temperature-independent reference voltage that is typically around 1.25 volts. To provide reliable comparator performance, a comparator circuit having a bandgap reference voltage of about 1.25 volts has a minimum operating voltage of about 1.4 volts.
The first stage 102 of the illustrated example is a Widlar bandgap circuit that supplies a current signal to the intermediate stage 104 based on input voltage VIN. No current is supplied to the intermediate stage while VIN≦Vth. When VIN>Vth, a current flows from the first stage 102 into the intermediate stage 104.
First stage 102 of the illustrated example is implemented using a first impedance 110, a second impedance 112, a third impedance 114, a first transistor 116, and a second transistor 118.
First impedance 110 connects between input voltage VIN and a collector 116c of first transistor 116, which also connects to a base 116b of first transistor 116 and a base 118b of second transistor 118. The second impedance 112 connects between input voltage VIN and collector 118c of second transistor 118, which also connects to intermediate stage 104 at node N2. Third impedance 114 connects between an emitter 118e of second transistor 118 and ground voltage potential 108. First impedance 110, second impedance 112, and third impedance 114 of the illustrated example are resistors. However, as will be appreciated by those having ordinary skill in the art, other impedances may be used in alternative implementations.
First transistor 116 includes collector 116c, base 116b, and an emitter 116e. As previously described, collector 116c connects to base 116b and base 118b. Base 116b connects to collector 116c and base 118b of second transistor 118. Emitter 116e connects to ground voltage potential 108. In the illustrated example, first transistor 116 is an NPN bipolar junction transistor. Alternatively, first transistor 116 may comprise a PNP bipolar junction transistor.
Second transistor 118 includes collector 118c, base 118b, and emitter 118e. As previously described, collector 118c connects to second impedance 112 and intermediate stage 104 at node N2. Base 118b connects to base 116b of first transistor 116. Emitter 118e connects to third impedance 114. In the illustrated example, second transistor 118 is an NPN bipolar junction transistor. Alternatively, second transistor 118 may comprise a PNP bipolar junction transistor.
The intermediate stage 104 of the illustrated example is a common-emitter amplifier. The example intermediate stage 104 receives the current signal from first stage 102 at node N2 and outputs a current signal to final stage 106 at node N3. Intermediate stage 104 sources an appreciable current to final stage 106 only when first stage 102 fails to source appreciable current to intermediate stage 104.
Intermediate stage 104 of the illustrated example includes a fourth impedance 120 and a third transistor 122. Fourth impedance 120 connects between input voltage VIN and node N3, to which a collector 122c of third transistor 122 also connects. Fourth impedance 120 of the illustrated example is shown as a resistor; however, other impedances may be used in alternative implementations.
Third transistor 122 includes collector 122c, a base 122b, and an emitter 122e. As previously described, collector 122c connects to fourth impedance 120 and node N3. Base 122b connects to first stage 102 at node N2. Emitter 122e connects to ground voltage potential 108. In the illustrated example, the third transistor 122 sinks the current flowing through the fourth impedance 120 to ground when an appreciable current signal is received from the first stage 102. The example third transistor 122 is an NPN bipolar junction transistor. Alternatively, third transistor 122 may comprise a PNP bipolar junction transistor.
The final stage 106 of the illustrated example is a transistor switch. The example final stage 106 connects to node N3 and generates an output voltage VO for the comparator apparatus 100. The output voltage VO substantially equals VIN when the final stage receives no current from intermediate stage 104 at node N3. The output voltage VO drops to a low value when the final stage receives appreciable current from intermediate stage 104.
Final stage 106 of the illustrated example includes a current source 124 and a fourth transistor 126. Current source 124 serves as a load for fourth transistor 126 and provides output current for comparator apparatus 100. Current source 124 can be implemented as a depletion-mode field-effect transistor (FET), a junction field-effect transistor (JFET), or any other element operable to restrict current. Current source 124 may not be necessary in all implementations of comparator 100.
Fourth transistor 126 includes collector 126c, a base 126b, and an emitter 126c. As previously described, collector 126c connects to current source 124 and provides output voltage VO. Base 126b connects to intermediate stage 104 at node N3. Emitter 126e connects to ground voltage potential 108. In the illustrated example, the fourth transistor 126 sinks the current from current source 124 to the ground voltage potential 108 when the final stage 106 receives an appreciable current signal from the intermediate stage 104. The example fourth transistor 126 is an NPN bipolar junction transistor. Alternatively, fourth transistor 126 may comprise a PNP bipolar junction transistor.
The threshold voltage Vth for comparator apparatus 100 of the illustrated example approximately equals
where Vbe122 equals the voltage drop between base 122b and emitter 122e of third transistor 122, R110 is the resistance of first impedance 110, R112 is the resistance of second impedance 112, R114 is the impedance of third impedance 114, AE116 is the emitter area of first transistor 116, AE118 is the emitter area of second transistor 118, and VT is the thermal voltage, which equals Boltzmann's constant k times the charge on the electron q divided by the absolute temperature T, or VT=kT/q.
When VIN equals the threshold voltage Vth, first transistor 116, second transistor 118, and third transistor 122 are all based into the forward active region. In this region of operation,
where VBE is the voltage differential between the base and the emitter of a particular transistor, VT is the thermal voltage, IC is the current through the collector of this transistor, AE is the emitter area of this transistor, and JS is the saturation current density of this transistor. Assuming VIN=Vth and ignoring base currents, the collector current of transistor 116 equals
Similarly, the collector current of transistor 118 equals
Assuming that Vbe116 approximately equals Vbe122, one can combine equations [2], [3], and [4] to obtain
The voltage described by equation [5] appears across resistor 114. Again neglecting base currents, the collector current of transistor 118 equals its emitter current,
Combining equation [3] with equation [6] and evaluating at VIN=Vth gives
which is identical to equation [1]. Because the base-emitter voltage of a bipolar junction transistor exhibits a negative temperature coefficient, while the thermal voltage exhibits a positive temperature coefficient, proper selection of resistors and emitter areas will result in a net cancellation of temperature coefficients within equation [7]. The threshold voltage Vth at which the output voltage VO of comparator apparatus 100 switches states can therefore be made substantially independent of temperature. For silicon transistors, this temperature-independent threshold voltage equals approximately 1.22V, a quantity sometimes called the bandgap voltage.
The assumption that Vbe116=Vbe122 used in deriving equation [5] can be approximately satisfied by selecting the resistances of first impedance 110 and fourth impedance 120 to satisfy the equation
Comparator apparatus 100 can be adjusted to produce a threshold voltage larger than the bandgap voltage while ensuring that this threshold voltage remains substantially independent of temperature by adding a first adjusting impedance 128, a second adjusting impedance 130, and a third adjusting impedance 132. The adjusting impedances should satisfy the equation
where R110 is the resistance of first impedance 110, R128 is the resistance of first adjusting impedance 128, R112 is the resistance of second impedance 112, R130 is the resistance of second adjusting impedance 130, R120 is the resistance of fourth impedance 120, and R132 is the resistance of third adjusting impedance R132. The insertion of the adjusting impedances changes the formula for the threshold voltage to
The inclusion of the adjusting impedances allows the achievement of any desired threshold voltage greater than the bandgap voltage while ensuring that this threshold voltage remains substantially independent of temperature.
Although certain apparatus constructed in accordance with the teachings of the invention have been described herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers every apparatus, method and article of manufacture fairly falling within the scope of the appended claims either literally or under the doctrine of equivalents.
This application claims priority from U.S. provisional application Ser. No. 60/877,716 filed Dec. 28, 2006, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60877716 | Dec 2006 | US |