July 2011 Doc ID 2159 Rev 3 1/19
19
LM139, LM239, LM339
Low-power quad voltage comparators
Features
Wide single supply voltage range or dual
supplies for all devices: +2 to +36 V or ±1 V to
±18 V
Very low supply current (1.1 mA) independent
of supply voltage
Low input bias current: 25 nA typ
Low input offset current: ±5 nA typ
Low input offset voltage: ±1 mV typ
Input common-mode voltage range includes
ground
Low output saturation voltage: 250 mV typ;
(ISINK = 4 mA)
Differential input voltage range equal to the
supply voltage
TTL, DTL, ECL, MOS, CMOS compatible
outputs
Description
This family of devices consists of four
independent precision-voltage comparators with
an offset voltage specification as low as 2 mV
maximum for LM339A, LM239A and LM139A.
Each comparator has been designed specifically
to operate from a single power supply over a wide
range of voltages. Operation from split power
supplies is also possible.
These comparators also have a unique
characteristic in that the input common mode
voltage range includes ground even though
operated from a single power supply voltage.
N
DIP14
(Plastic package)
D
SO-14
(Plastic micropackage)
P
TSSOP14
(Thin shrink small outline package)
Q
QFN16 3x3
(Plastic micropackage)
www.st.com
Pin and schematic diagram LM139, LM239, LM339
2/19 Doc ID 2159 Rev 3
1 Pin and schematic diagram
Figure 1. Pin connections (top view)
Figure 2. Schematic diagram (1/4 LM139)
4
5
6
7
8
9
10
11
13
1
2
3
14
12
Output2
Output4
Output3
Non-inverting input4
V
CC
Non-inverting input3
Inverting input4
V
CC
+
Output1
Inverting input1
N on-inverting input2
-
Inverting input3
N on-inverting input1
Inverting input2
Non-inverting
input
Inverting
input
3.5 μA
V
CC
V
O
3.5 μA100 μA
100 μA
V
CC
LM139, LM239, LM339 Absolute maximum ratings and operating conditions
Doc ID 2159 Rev 3 3/19
2 Absolute maximum ratings and operating conditions
Table 1. Absolute maximum ratings
Symbol Parameter Value Unit
VCC Supply voltage ±18 or 36 V
VID Differential input voltage ±36 V
VIN Input voltage -0.3 to +36 V
Output short-circuit to ground (1)
1. Short-circuits from the output to VCC+ can cause excessive heating and eventual destruction. The
maximum output current is approximately 20 mA independent of the magnitude of VCC+.
Infinite
Rthja
Thermal resistance junction to ambient(2)
DIP14
SO-14
TSSOP14
QFN16 3x3
2. Short-circuits can cause excessive heating. These values are typical.
80
105
100
45
°C/W
Rthjc
Thermal resistance junction to case (2)
DIP14
SO-14
TSSOP14
QFN16 3x3
33
31
32
14
°C/W
Tstg Storage temperature range -65 to +150 °C
TjJunction temperature +150 °C
TLEAD Lead temperature (soldering 10 seconds) 260 °C
ESD
Human body model (HBM)(3)
3. Human body model: a 100 pF capacitor is charged to the specified voltage, then discharged through a
1.5 kΩ resistor between two pins of the device. This is done for all couples of connected pin combinations
while the other pins are floating.
500
VMachine model (MM)(4)
4. Machine model: a 200 pF capacitor is charged to the specified voltage, then discharged directly between
two pins of the device with no external series resistor (internal resistor < 5 Ω). This is done for all couples of
connected pin combinations while the other pins are floating.
100
Charged device model (CDM)(5)
5. Charged device model: all pins and the package are charged together to the specified voltage and then
discharged directly to the ground through only one pin. This is done for all pins.
1500
Absolute maximum ratings and operating conditions LM139, LM239, LM339
4/19 Doc ID 2159 Rev 3
Table 2. Operating conditions (Tamb = 25° C)
Symbol Parameter Value Unit
VCC Supply voltage 2 to 32
±1 to ±16 V
VICM Common mode input voltage range 0 to (VCC+ - 1.5) V
Toper
Operating free-air temperature range
LM139, LM139A
LM239, LM239A
LM339, LM339A
-55, +125
-40, +105
0, +70
°C
LM139, LM239, LM339 Electrical characteristics
Doc ID 2159 Rev 3 5/19
3 Electrical characteristics
Table 3. Electrical characteristics at VCC+ = +5 V, VCC-= GND, Tamb = +25° C
(unless otherwise specified)
Symbol Parameter
LM139A - LM239A
LM339A
LM139 - LM239
LM339 Unit
Min. Typ. Max. Min Typ. Max.
VIO
Input offset voltage (1)
Tmin Tamb Tmax
12
4
15
9
mV
IIO
Input offset current
Tmin Tamb Tmax
325
100
550
150
nA
IIB
Input bias current (I+ or I-) (2)
Tmin Tamb Tmax
25 100
300
25 250
400
nA
AVD
Large signal voltage gain
VCC = 15 V, RL = 15 kΩ, Vo = 1 V to 11 V 50 200 50 200 V/mV
ICC
Supply current (all comparators)
VCC = +5 V, no load
VCC = +30 V, no load
1.1
1.3
2
2.5
1.1
1.3
2
2.5
mA
VICM
Input common mode voltage range (3)
VCC = 30 V
Tmin Tamb Tmax
0
0
VCC+ -1.5
VCC+ -2
0
0
VCC+ -1.5
VCC+ -2
V
VID Differential input voltage (4) VCC+VCC+V
VOL
Low level output voltage
VID = -1 V, ISINK = 4 mA
Tmin Tamb Tmax
250 400
700
250 400
700
mV
IOH
High level output current
VCC = Vo = 30 V, VID = 1 V
Tmin Tamb Tmax
0.1
1
0.1
1
nA
μA
ISINK
Output sink current
VID= 1 V, Vo = 1.5 V 6 16 6 16 mA
tre
Response time (5)
RL= 5.1 kΩ connected to VCC+1.3 1.3 μs
Electrical characteristics LM139, LM239, LM339
6/19 Doc ID 2159 Rev 3
trel
Large signal response time
RL= 5.1 kΩ connected to VCC+, el = TTL,
V(ref) = +1.4 V 300 300 ns
1. At output switch point, Vo 1.4 V, VCC+ from 5 V to 30 V, and over the full common-mode range (0 V to VCC+ -1.5 V).
2. The direction of the input current is out of the IC due to the PNP input stage. This current is essentially constant,
independent of the state of the output, so no loading charge exists on the reference of input lines.
3. The input common-mode voltage of either input signal voltage should not be allowed to go negative by more than 0.3 V.
The upper end of the common-mode voltage range is VCC+ -1.5 V, but either or both inputs can go to +30 V without
damage.
4. Positive excursions of input voltage may exceed the power supply level. As long as the other voltage remains within the
common-mode range, the comparator will provide a proper output state. The low input voltage state must not be less than
-0.3 V (or 0.3 V below the negative power supply, if used).
5. The response time specified is for a 100 mV input step with 5 mV overdrive. For larger overdrive signals, 300 ns can be
obtained.
Table 3. Electrical characteristics at VCC+ = +5 V, VCC-= GND, Tamb = +25° C
(unless otherwise specified) (continued)
Symbol Parameter
LM139A - LM239A
LM339A
LM139 - LM239
LM339 Unit
Min. Typ. Max. Min Typ. Max.
LM139, LM239, LM339 Electrical characteristics curves
Doc ID 2159 Rev 3 7/19
4 Electrical characteristics curves
Figure 3. Supply current vs. supply voltage Figure 4. Input current vs. supply voltage
SUPPLY CURRENT (mA)
1
0.8
0.6
0.4
0.2
010 20 30 40
SUPPLY VOLTAGE (V)
T
amb
=+70°C
T
amb
= +125°C
T
amb
=0°C
R=
T
amb
= +25°C
T
amb
=-55°C
INPUT CURRENT (nA)
20
10 20 30 40
SUPPLY VOLTAGE (V)
Tamb =+70°C
Tamb = +125°C
Tamb = -55°C
40
60
80
0
Tamb =0°C
Tamb=+25°C
V=0V
i
R=10
Ω
i
9
Figure 5. Output saturation voltage vs.
output current
Figure 6. Response time for various input
overdrives - negative transition
Figure 7. Response time for various input
overdrives - positive transition
Tamb = +125°C
Out of saturation
10 1
10-3
10-2
10 -1
10 0
SATURATION VOLTAGE (V)
10-2 10 -1 10 010 110 2
OUTPUT SINK CURRENT (mA)
Out of saturation
Tamb =-55°C
Tamb=+25°C
5V
5.1k
Ω
e
o
e
I
6
5
4
3
2
0
0
-50
-100
INPUT VOLTAGE (mV)
OUTPUT VOLTAGE (V)
0 0.5 1 1.5 2
TIME (
μ
s)
Input overdrive : 5mV
20mV
1100mV
Tamb=+25°C
5V
5.1k
Ω
e
o
e
I
6
5
4
3
2
1
0
1
00
50
INPUT VOLTAGE (mV)
OUTPUT VOLTAGE (V)
0 0.5 1 1.5 2
TIME (
μ
s)
0
pIn ut overdrive : 100mV
Tamb=+25°C
5mV
20mV
Typical applications LM139, LM239, LM339
8/19 Doc ID 2159 Rev 3
5 Typical applications
Figure 8. Basic comparator Figure 9. Driving CMOS
V
CC
= 5 V
15 kΩ
V
O
+V
(ref)
1/4
LM139
-V
(ref)
5 V
100 kΩ
&
1/ 4
LM139
+V
(ref)
-V
(ref)
Figure 10. Driving TTL Figure 11. Low frequency op amp
5 V
10 kΩ
+V
(ref)
&
&
1/ 4
LM139
-V
(ref)
5 V
15 k
Ω
e
o
0.5
μ
F
100 kΩ
e
l
1 kΩ
~
1/4
LM139
A
V
= 100
Figure 12. Low frequency op amp Figure 13. Transducer amplifier
5 V
15 kΩ
0.5 μF
100 kΩ
1 kΩ
~
2N 2222
(eo = 0 V for el = 0 V)
1/ 4
LM139
eo
el
AV = 100
5 V
10 kΩ
e
o
20 MΩ
3 kΩ
Magnetic pick-up
10 kΩ
1/ 4
LM139
LM139, LM239, LM339 Typical applications
Doc ID 2159 Rev 3 9/19
Figure 14. Time delay generator
Figure 17. Two-decade high-frequency VCO
V
CC
0
V
(ref.)
10 kΩ
1/4
15 kΩ
200 k
Ω
3 kΩ
3k
Ω
3 k
Ω
10 MΩ
V
O2
V03
O1
V
51 kΩ
V
1
V
2
0.001
μ
F
V
C1
V
3
V
CC
V
C1
V
1
V
2
V
3
0
01
tt
3
t
4
t
2
t
t
V
CC
t
0
t
1
V
CC
V
CC
V
CC
=+15V
1/4
LM139
1/4
1/4
LM139
LM139
LM139
10 kΩ
10 kΩ
10 kΩ
10 kΩ
10 MΩ
10 MΩ
51 kΩ
51 kΩ
t2
to
t3
to
tA
to
Input gating signal
Figure 15. Low frequency op amp with offset
adjust
Figure 16. Zero crossing detector (single
power supply)
e
l
~2N 2222
5 V
e
o
R1
100 kΩ
1 kΩ
5 V
1 MΩ
100 kΩ
1 MΩ
Offset adjust
R
S
R
1
15 kΩ
0.5 μF
R
2
1/ 4
LM139
100 kΩ
10 kΩ
el
20 MΩ
5 V
1N4148
5.1 kΩ
5.1 kΩ
100 kΩ
1/ 4
LM139
5.1 kΩ
V
CC
V
CC
100 kΩ
3 kΩ
5.1 kΩ
/2
V
CC
/2
0.01 μF
500 pF
100 kΩ
0.1 μF
20 kΩ
50 kΩ
=+30V
+250 mV Vcontrol +50 V
700 Hz f 100 kHz
o
20 kΩ
3 kΩ
1/ 4
LM139
1/ 4
LM139
1/ 4
LM139
Output 1
Output 2
V
CC
V
CC
Frequency control
voltage input
Vcontrol
Typical applications LM139, LM239, LM339
10/19 Doc ID 2159 Rev 3
Figure 18. Limit comparator Figure 19. Crystal-controlled oscillator
10 kΩ
e
I
~
R
S
2R
S
V
(ref)
high
V
(ref)
low
2N 2222
V
CC
Lamp
1/ 4
LM139
1/ 4
LM139
2R
S
(12 V)
2 kΩ
200 kΩ
eo
VCC
0
100 kΩ
200 kΩ
1/ 4
LM139
0.1 μF
f = 100 kHz
VCC = 15 V
Figure 20. Zero crossing detector Figure 21. Comparator with a negative
reference
15 V
5.1 kΩ
e
o
e
I
~
15 V
1/4
LM139
15 V
5.1 kΩ
eo
eI~
15 V
5 V
1/ 4
LM139
LM139, LM239, LM339 Package information
Doc ID 2159 Rev 3 11/19
6 Package information
In order to meet environmental requirements, ST offers these devices in different grades of
ECOPACK® packages, depending on their level of environmental compliance. ECOPACK®
specifications, grade definitions and product status are available at: www.st.com.
ECOPACK® is an ST trademark.
Package information LM139, LM239, LM339
12/19 Doc ID 2159 Rev 3
6.1 DIP14 package information
Figure 22. DIP14 package mechanical drawing
Table 4. DIP14 package mechanical data
Dimensions
Ref.
Millimeters Inches
Min. Typ. Max. Min. Typ. Max.
A5.330.21
A1 0.38 0.015
A2 2.92 3.30 4.95 0.11 0.13 0.19
b 0.36 0.46 0.56 0.014 0.018 0.022
b2 1.14 1.52 1.78 0.04 0.06 0.07
c 0.20 0.25 0.36 0.007 0.009 0.01
D 18.67 19.05 19.69 0.73 0.75 0.77
E 7.62 7.87 8.26 0.30 0.31 0.32
E1 6.10 6.35 7.11 0.24 0.25 0.28
e2.54 0.10
e1 15.24 0.60
eA 7.62 0.30
eB 10.92 0.43
L 2.92 3.30 3.81 0.11 0.13 0.15
LM139, LM239, LM339 Package information
Doc ID 2159 Rev 3 13/19
6.2 SO-14 package information
Figure 23. SO-14 package mechanical drawing
Table 5. SO-14 package mechanical data
Dimensions
Ref.
Millimeters Inches
Min. Typ. Max. Min. Typ. Max.
A 1.35 1.75 0.05 0.068
A1 0.10 0.25 0.004 0.009
A2 1.10 1.65 0.04 0.06
B 0.33 0.51 0.01 0.02
C 0.19 0.25 0.007 0.009
D 8.55 8.75 0.33 0.34
E 3.80 4.0 0.15 0.15
e1.27 0.05
H 5.80 6.20 0.22 0.24
h 0.25 0.50 0.009 0.02
L 0.40 1.27 0.015 0.05
k 8° (max.)
ddd 0.10 0.004
Package information LM139, LM239, LM339
14/19 Doc ID 2159 Rev 3
6.3 QFN16 3x3 package information
Figure 24. QFN16 3x3 package mechanical drawing
LM139, LM239, LM339 Package information
Doc ID 2159 Rev 3 15/19
Figure 25. QFN16 3x3 footprint recommendation
Table 6. QFN16 3x3 mm package mechanical data (pitch 0.5 mm)
Ref.
Dimensions
Millimeters Inches
Min. Typ. Max. Min. Typ. Max.
A 0.80 0.90 1.00 0.031 0.035 0.039
A1 0 0.05 0 0.002
A3 0.20 0.008
b 0.18 0.30 0.007 0.012
D 2.90 3.00 3.10 0.114 0.118 0.122
D2 1.50 1.80 0.059 0.071
E 2.90 3.00 3.10 0.114 0.118 0.122
E2 1.50 1.80 0.059 0.071
e 0.50 0.020
L 0.30 0.50 0.012 0.020
Package information LM139, LM239, LM339
16/19 Doc ID 2159 Rev 3
6.4 TSSOP14 package information
Figure 26. TSSOP14 package mechanical drawing
Table 7. TSSOP14 package mechanical data
Ref.
Dimensions
Millimeters Inches
Min. Typ. Max. Min. Typ. Max.
A1.200.047
A1 0.05 0.15 0.002 0.004 0.006
A2 0.80 1.00 1.05 0.031 0.039 0.041
b 0.19 0.30 0.007 0.012
c 0.09 0.20 0.004 0.0089
D 4.90 5.00 5.10 0.193 0.197 0.201
E 6.20 6.40 6.60 0.244 0.252 0.260
E1 4.30 4.40 4.50 0.169 0.173 0.176
e 0.65 0.0256
L 0.45 0.60 0.75 0.018 0.024 0.030
L1 1.00 0.039
k0° 8°0° 8°
aaa 0.10 0.004
LM139, LM239, LM339 Ordering information
Doc ID 2159 Rev 3 17/19
7 Ordering information
Table 8. Order codes
Part number Temperature
range Package Packing Marking
LM139N
LM139AN
-55° C, +125° C
DIP14 Tube LM139N
LM139AN
LM139D
LM139AD SO-14 Tube 139
139A
LM139DT
LM139ADT SO-14 Tape & reel 139
139A
LM139PT
LM139APT TSSOP14 Tape & reel 139
139A
LM239N
LM239AN
-40° C, +105° C
DIP14 Tube LM239N
LM239AN
LM239D
LM239AD SO-14 Tube 239
239A
LM239DT
LM239ADT SO-14 Tape & reel 239
239A
LM239PT
LM239APT TSSOP14 Tape & reel 239
239A
LM239QT QFN16 3x3 Tape & reel K549
LM339N
LM339AN
C, +70° C
DIP14 Tube LM339N
LM339AN
LM339D
LM339AD SO-14 Tube 339
339A
LM339DT
LM339ADT SO-14 Tape & reel 339
339A
LM339PT
LM339APT TSSOP14 Tape & reel 339
339A
LM339QT QFN16 3x3 Tape & reel K551
Revision history LM139, LM239, LM339
18/19 Doc ID 2159 Rev 3
8 Revision history
Table 9. Document revision history
Date Revision Changes
01-Mar-2003 1 Initial release.
28-Apr-2009 2
Updated document format.
Removed power dissipation from Table 1: Absolute maximum
ratings.
Added RTHJA, RTHJC, ESD and TLEAD values to Ta bl e 1 .
Updated package information in Chapter 6.
Added Table 8: Order codes.
13-Jul-2011 3
Added pin connections for QFN16 package in Figure 1 on page 2.
Added thermal information for QFN16 package in Table 1 on page 3.
Added QFN16 package information in Chapter 6.
Added order codes for QFN16 package in Table 8: Order codes.
LM139, LM239, LM339
Doc ID 2159 Rev 3 19/19
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2011 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com