AS Voltage Comparators LM139/LM239/LM339 quad comparators general description The LM139 series consists of four independent voltage comparators which were designed specifi- cally to operate from a single power supply over a Allows sensing near GND Compatible with all forms of logic wide range of voltages. Operation from split power = Power drain suitable for battery operation supplies is also possible and the low power supply current drain is independent of the magnitude of features the power supply voltage. These comparators also = Wide single supply have a unique characteristic in that the input common-mode voltage range includes ground, even though operated from a single power supply voltage. Application areas include limit comparators, simple Voltage range 2 Voc to 36 Vic or dual supplies +1 Voc to 18 Voc Very low supply current drain (0.8 mA) independent of supply voltage (1 mW/compara- tor at +5 Voc} analog to digital converters; pulse, squarewave and Low input biasing current 35 nA he delay oes wide range HCO; MOS clock Low input offset current 3nA imers; multivibrators and high voitage digital logic and offset voltage 3 mV gates. The M139 series was designed to directly interface with TTL and CMOS. When operated from both plus and minus power supplies, the Input common-mode voltage range includes ground LM339 will directly interface with MOS logic = Differential input voltage range equal to the where the low power drain of the LM339 is a power supply voltage distinct advantage over standard comparators. @ Low output 1mvV at 5uA saturation voltage 70 mV at 1 mA advantages Output voltage compatible with TTL (fanout of w Eliminates need for dual supplies 2), DTL, ECL, MOS and CMOS logic systems schematic and connection diagrams @ 354 G 100.8 q 3.5uA >: az oH 04 -INPUT O= = tH 51 06 typical applications +INPUT a +5 Yoc Oo . 4 > 10k 144 DMBAXX > 1/4 OMB4XX OUTPUT Dual-In-Line and Flat Package OUTPUT] OUTPUTS =GNO = INPUT 4+ INPUT @- INPUT 3+ INPUT 3- 1 13 12 u 10 9 8 P 1% Comparator with Hysteresis Driving TTL Driving CMOS 6GEEW1/6EZW1/6ELW1LM139/LM239/LM339 absolute maximum ratings Supply Voltage, vt 36 Voc or $18 Voc input Current (Vin, <0.3 Voc) (Note 3) 50 mA Differential Input Voltage 36 Voc Operating Temperature Range Input Voltage 0.3 Voc to +36 Voc LM339 0C to +70C Power Dissipation (Note 1} : LM239 ~25C to +B5C Molded DIP = (LM339N) 570 mw ' LM139 ~BSC to +126C Cavity DIP ({LM139D, LM239D & LM339D) 900 mW Storage Temperature Range -65C to 150C Flat Pack (LM139F} 800 mW Lead Temperature (Sotdering, 10 seconds) 300C Output Short-Circuit to GND (Note 2} Continuous electrical characteristics (v* =+5.0 Voc, see Note 4) LM139 LM239, LM339 PARAMETER CONDITIONS UNITS MIN TYP MAX MIN. TYP MAX Input Offset Voltage Ta = +25C (Note 9) 42 +6.0 +2 +50 mVoc Input Bias Current (Note 5) Vinee OF Viney With Output in 26 100 25 250 nNAoc Linear Range, Ta = +25C Input Offset Current tinge hinge ae Ta = +28C +3 225 +5 +50 nAoc Input Common-Mode Voltage Ta =+25C 0 vt-1s 0 vias Voc * Range (Note 6} Supply Current Ry = On Ati Comparators 0.8 2.0 0.8 2.0 mAoc Ta = +25C Voltage Gain Ry > 18 kS2, Ta = +25C 200 200 Vimv Large Signal Response Time Vin = TTL Logic Swing, 300 300 ns Vaer = +14 Voge, Var = 5.0 Voc and Ry = 8.1k2 Response Time (Note 7) Var =.0Vp0 and R, = 1.3 1.3 MS 5.1kQ, Ta = +25C Output Sink Current Vine 241.0 Voc, Ving) 70 6 16 6 16 MApc and Vo $41.5 Vpe,Ta = +25C Saturation Voltage Mini 241-0 Ve, Vinge = 9 250 500 250 500 mVoc and Ising <4.0 mA, Ta = +25C Output Leakage Current Ving 2 41.0 Voc, Ving) =O and Vout = 5.0 Voc. Ta = +25C 0.1 Ot nApe Input Offset Voltage iNote 9) 9.0 9.0 MVoc Input Offset Current ting 7 ling +100 150 nAoc Input Bias Current tinge OF Fin) With Output in 300 400 nAoe Linear Range Input Common-Mode Voltage 0 Vvt-2.0 0 vt-2.0 Voc Range Saturation Voltage Viney 241.0 Voc, Ving) =9 700 700 MVoc and tsink <4.0mMA Output Leakage Current Vine: 242-0 Voc, Vint =9 1.0 1.0 BAD and Vout = 30 Voc Differential Input Voltage Keep AW Vin's > 0 Voc (or 36 36 Voc (Note 8) V7, if used) Note 1: For operating at high temperatures, the LM339 must be derated based on +125C maximum junction temperature and a thermal resistance of +175C/W which applies for the device soldered in a printed circuit board, operating in a still air ambient. The LM239 and LM139 must be derated based on a +150C maximum junction temperature, The low bias dissipation and the ON-OFF characteristic of the outputs keeps the chip dissipation very small (Pd < 100 mW), provided the output transistors are allowed to saturate. Note 2: Short circuits from the output to vt can cause excessive heating and eventual destruction, The maximum output current is approximately 20 mA independent of the magnitude of ve Note 3: This input current will only exist when the voltage at any of the input leads is driven negative. It is due to the collector-base junction of the input PNP transistors becoming forward biased and thereby acting as input diode clamps. In addition to this diode action, there is also lateral NPN parasitic transistor action on the IC chip. This transistor action can cause the output voltages of the comparators to go to the V voltage level (or to ground for a large overdrive) for the time duration that an input is driven negative. This is not destructive and normat output states will re-establish when the input voltage, which was negative, again returns to a value greater than --0.3 Voc. Note 4: These specifications apply for vi = 45.0 Voc, and -55C < Ta < +125C, unless otherwise stated. With the LM239, all temperature specifications are limited to -25C. a= +70C 3 gz 4 - a > & 2 a Ty =+125C z 1 1 20 Ft, =4126C + 02 z AL = 7 o 10 20 30 40 0 vt SUPPLY VOLTAGE (Voc) Response Time for Various Input Overdrives Negative Transition , OUTPUT VOLTAGE, Vo (V} ofr kR YW mB aoe INPUT VOLTAGE, Vin (mV) S -100 0 05 to 1.5 2.0 TIME (usec) application hints The LM139 is a high gain, wide bandwidth device; which, like most comparators, can easily oscillate if the output lead is inadvertently allowed to capacitively couple to the inputs via stray capacitance. This shows up only during the output voltage transition intervals as the comparator chan- ges states. Power supply bypassing is not re- quired to solve this problem.. Standard PC board layout is helpful as it reduces stray input-output coupling. Reducing the input resistors to <10 kQl reduces the feedback signai levels and finally, adding even a smalt amount (1 to 10 mV) of posi- tive feedback (hysteresis) causes such a rapid tran- sition that oscillations due to stray feedback are not possible. Simply socketing the I/C and attach- ing resistors to the pins will cause input-output oscillations during the small transition intervals unless hysteresis is used. If the input signal is a pulse waveform, with relatively fast rise and fall times, hysteresis is not required. All pins of any unused comparators should be grounded. The bias network of the LM139 establishes a drain current which is independent of the magni- tude of the power supply voltage over the range of from 2Vo to 30 Voc. It is usually unnecessary to use a bypass capacitor across the power supply line. Input Current Ta = -55C vt SUPPLY VOLTAGE (Vpc} Output Saturation Voltage 10 Vincom = 9 Ve 3 OUT OF Run iomy = 10992 2 SATURATION 2 1.0 - ar 3 > z o Gt 2 Ty = 55C < x z = 495 =< 001 Ta = +28 c % T= Ta = 470C 4 > 0.001 30 40 0.01 0.1 1.0 10 100 lg OUTPUT SINK CURRENT (mA) Response Time for Various Input Overdrives Positive Transition 6 wi INPUT e 5 = 4 ss > 5 3 ad > 2 2 5 3 1 wt Qo < == 100 ze o= 50 eZ 5> a a = a 05 1 15 2 TIME (usec) The differentia! input voltage may be larger than V~ without damaging the device. Protection should be provided to prevent the input voltages from going negative more than 0.3 Vo (at 25C). An input clamp diode and input resistor can be used as shown in. the applications section. The output of the LM139 is the uncommitted collector of a grounded-emitter NPN output tran- sistor. Many collectors can be tied together to pro- vide an output ORing function. An output pull- up resistor can be connected to any available power supply voltage within the permitted supply voltage range and there is no restriction on this voltage due to the magnitude of the voltage which is applied to the V" terminal of the LM139 pack- age. The output can also be used as a simple SPST switch to ground (when a pull-up resistor is not used). The amount of current which the output device can sink is limited by the drive available (which is independent of V*) and the 8 of this device. When the maximum current limit is reached {approximately 16 mA), the output tran- sistor will come out of saturation and the output voltage will rise very rapidly. The output satura- tion voltage is limited by the approximately 60Q say Of the output transistor. The low offset valtage of the output transistor (1 mV) allows the output to clamp essentially to ground level for small load currents. 1-31 6CEW1/6E7ZN1/6ELWILM139/LM239/LM339 typical applications (cont) v 51k 100k 100 TEMPERATURE Oo SENSING YHERMOCOUPLE Vance C Ground Reterenced Thermocouple in Single Supply System +5 Vine 360 ET a NSE102 1/4 LM339 Wreea + 100 100k +5 Voc 360 7- NSL102 1/4 16339, +Vaer 3 + 100 100k Vin of +8 Voc 360 \ WSL102 V6 tM339- Weer + 100 100k +5 Voc 360 NSLU02 4 LM339 Weer s 100, Visible Voltage Indicator -12V, oe OMTaKy, * CLAMPS O LEVEL MOS to TTL Logic Transtator ve pve OM74xX Vas (41.4 Ve) 01 CAN BE OMITTED. + s > s L FOR LARGE AATIOS OF RUAZ, Pulse Generatortypical applications (cont) o ts 100 ke Squarewave Oscillator , , < s 200k > > $ J 2.0 100k AAA VW - UL O.1uF 8 I 144 L339 PO Vo + > < CRYSTAL 200k & > 100 kHz 1 Vv v 100% | Ne 100k 00k Rh TH 500 9F 3.0% WW > , 6.1% f Ss 30k ave 3 1/4 LNG39 W + FREQUENCY 3" 1 v ru CONTROL Omg VOLTAGE P L + O.01F xr 1/4 LM339 OUTPUTI ANPUT O1uF I - via = AAA WA 20k outeut 2 , 20k IW Sk = = vin a rt 1/4 L339 Vt = 430 Voc 4280 mV pg < Ve < +50 Vig 700 Hz < to < 100 kHz Two-Decade High-Frequency VCO Veer Ol Ney Ome 144 L339 Vo Basic Comparator Non-lIaverting Comparator with Hysteresis 100k ve Von OANA rm 100k 100k Vin2 Om AAAS w > sm aNg1a a 1/6 LMa39 Vo = 150k Comparing Input Voltages of Opposite Polarity < Vy Ot > W/- R 14 108339 P-O Yo iM vo OAAAY + 1M a $