LMX331AUK+T

LMX331/LMX393/LMX339
General-Purpose, Low-Voltage,
Single/Dual/Quad, Tiny-Pack Comparators
_______________________________________________________________________________________ 7
Detailed Description
The LMX331/LMX393/LMX339 are single/dual/quad,
low-cost, general-purpose comparators. They have a
single-supply operating voltage of 1.8V to 5V. The com-
mon-mode input range extends from -0.1V below the
negative supply to within 0.7V of the positive supply.
They require approximately 60µA per comparator with
a 5V supply and 40µA with a 2.7V supply.
The LMX331H/LMX393H/LMX339H have 2mV of hys-
teresis for noise immunity. This significantly reduces the
chance of output oscillations even with slow-moving
input signals. The LMX331/LMX393/LMX339 and
LMX331H/LMX393H/LMX339H are ideal for automotive
applications because they operate from -40°C to
+125°C (see Typical Operating Characteristics).
Applications Information
Hysteresis
Many comparators oscillate in the linear region of oper-
ation because of noise or undesired parasitic feed-
back. This tends to occur when the voltage on one
input is equal or very close to the voltage on the other
input. The LMX331H/LMX393H/LMX339H have internal
hysteresis to counter parasitic effects and noise.
The hysteresis in a comparator creates two trip points:
one for the rising input voltage and one for the falling
input voltage (Figure 1). The difference between the trip
points is the hysteresis. When the comparator's input
voltages are equal, the hysteresis effectively causes
one comparator input to move quickly past the other,
thus taking the input out of the region where oscillation
occurs. This provides clean output transitions for noisy,
slow-moving input signals.
Additional hysteresis can be generated with two resis-
tors, using positive feedback (Figure 2). Use the follow-
ing procedure to calculate resistor values:
OUT
IN-
THRESHOLDS
IN+
HYSTERESIS
BAND
V
HYST
V
TL
V
TH
Figure 1. Threshold Hysteresis Band (Not to Scale)
PIN
LMX331
LMX393 LMX339
NAME FUNCTION
1 IN+ Noninverting Input
2 4 12 V
SS
Negative Supply (Connect to GND)
3 IN- Inverting Input
4 OUT Comparator Output (Open-Drain)
583V
DD
Positive Supply
1 2 OUTA Comparator A Output (Open-Drain)
7 1 OUTB Comparator B Output (Open-Drain)
2 4 INA- Comparator A Inverting Input
3 5 INA+ Comparator A Noninverting Input
5 7 INB+ Comparator B Noninverting Input
6 6 INB- Comparator B Inverting Input
8 INC- Comparator C Inverting Input
9 INC+ Comparator C Noninverting Input
10 IND- Comparator D Inverting Input
11 IND+ Comparator D Noninverting Input
13 OUTD Comparator D Output (Open-Drain)
14 OUTC Comparator C Output (Open-Drain)
Pin Description
LMX331/LMX393/LMX339
General-Purpose, Low-Voltage,
Single/Dual/Quad, Tiny-Pack Comparators
8 _______________________________________________________________________________________
1) Find output voltage when output is high:
V
OUT(HIGH)
= V
DD
- I
LOAD
R
L
2) Find the trip points of the comparator using these
formulas:
V
TH
= V
REF
+ ((V
OUT
(HIGH)
- V
REF
)R2) / (R1 + R2)
V
TL
= V
REF
(1 - (R2 / (R1 + R2)))
where V
TH
is the threshold voltage at which the com-
parator switches its output from high to low as V
IN
rises
above the trip point, and V
TL
is the threshold voltage at
which the comparator switches its output from low to
high as V
IN
drops below the trip point.
3) The hysteresis band will be:
V
HYST
= V
TH
- V
TL
= V
DD
(R2 / (R1 + R2))
In this example, let V
DD
= 5V, V
REF
= 2.5V, I
LOAD
=
50nA, R
L
= 5.1kΩ:
V
OUT(HIGH)
= 5.0V - (50
10
-9
5.1
10
3
Ω) 5.0V
V
TH
= 2.5V + 2.5V(R2 / (R1 + R2))
V
TL
= 2.5V(1 - (R2 / (R1 + R2)))
Select R2. In this example, we will choose 1kΩ.
Select V
HYST
. In this example, we will choose 50mV.
Solve for R1:
V
HYST
= V
OUT(HIGH)
(R2 / (R1 + R2)) V
0.050V = 5(1000 / (R1 + 1000)) V
where R1 100kΩ, V
TH
= 2.525V, and V
TL
= 2.475V.
Choose R1 and R2 to be large enough as not to exceed
the amount of current the reference can supply.
The source current required is V
REF
/ (R1 + R2).
The sink current is (V
OUT(HIGH)
- V
REF
)
(R1 + R2).
Choose R
L
to be large enough to avoid drawing excess
current, yet small enough to supply the necessary cur-
rent to drive the load. R
L
should be between 1kΩ and
10kΩ.
Board Layout and Bypassing
Use 0.1µF bypass capacitors from V
DD
to V
SS
. To max-
imize performance, minimize stray inductance by
putting this capacitor close to the V
DD
pin and reduc-
ing trace lengths. For slow-moving input signals (rise
time > 1ms), use a 1nF capacitor between IN+ and IN-
to reduce high-frequency noise.
Chip Information
LMX331/LMX331H TRANSISTOR COUNT: 112
LMX393/LMX393H TRANSISTOR COUNT: 211
LMX339/LMX339H TRANSISTOR COUNT: 411
LMX331
R1
R2
IN+
IN-
V
DD
V
OUT
V
SS
V
REF
V
IN
V
DD
OUT
R
L
Figure 2. Adding Hysteresis with External Resistors
Package Information
For the latest package outline information and land patterns, go
to www.maxim-ic.com/packages
. Note that a “+”, “#”, or “-” in
the package code indicates RoHS status only. Package draw-
ings may show a different suffix character, but the drawing per-
tains to the package regardless of RoHS status.
PACKAGE
TYPE
PACKAGE
CODE
DOCUMENT
NO.
LAND
PATTERN NO.
5 SC70 X5+1
21-0076 90-0188
5 SOT23 U5+2
21-0057 90-0174
8 SOT23 K8F+4
21-0078 90-0176
8 µMAX U8+1
21-0036 90-0092
14 TSSOP U16M+1
21-0066 90-0117
14 SOIC S8+4
21-0041 90-0041
LMX331/LMX393/LMX339
General-Purpose, Low-Voltage,
Single/Dual/Quad, Tiny-Pack Comparators
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 _____________________ 9
© 2011 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.
Revision History
REVISION
NUMBER
REVISION
DATE
DESCRIPTION
PAGES
CHANGED
3 8/10 Added lead-free parts 1
4 5/11 Added thermal data 2, 3, 4

LMX331AUK+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Analog Comparators Low-Voltage Single TinyPack
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union