NSC LMV331

LMV331 Single / LMV393 Dual / LMV339 Quad
General Purpose, Low Voltage, TinyPack Comparators
General Description
Features
The LMV393 and LMV339 are low voltage (2.7-5V) versions
of the dual and quad comparators, LM393/339, which are
specified at 5-30V. The LMV331 is the single version, which
is available in space saving SC70-5 and SOT23-5 packages.
SC70-5 is approximately half the size of SOT23-5.
The LMV393 is available in 8-pin SOIC and 8-pin MSOP. The
LMV339 is available in 14-pin SOIC and 14-pin TSSOP.
(For 5V Supply, Typical Unless Otherwise Noted)
The LMV331/393/339 is the most cost-effective solution
where space, low voltage, low power and price are the primary specification in circuit design for portable consumer
products. They offer specifications that meet or exceed the
familiar LM393/339 at a fraction of the supply current.
The chips are built with National’s advanced Submicron
Silicon-Gate BiCMOS process. The LMV331/393/339 have
bipolar input and output stages for improved noise performance.
n Industrial Temperature Range
n Space Saving SC70-5 Package (2.0 x 2.1 x 1.0
mm)
n Space Saving SOT23-5 Package (3.00 x 3.01 x
1.43 mm)
n Guaranteed 2.7V and 5V Performance
n Low Supply Current
−40˚C to +85˚C
60µA/Channel
n Input Common Mode Voltage Range Includes Ground
n Low Output Saturation Voltage
200 mV
Applications
n
n
n
n
n
Mobile Communications
Notebooks and PDA’s
Battery Powered Electronics
General Purpose Portable Device
General Purpose Low Voltage Applications
Connection Diagrams
5-Pin SC70-5/SOT23-5
14-Pin SO/TSSOP
DS100080-1
Top View
8-Pin SO/MSOP
DS100080-3
Top View
DS100080-2
Top View
© 1999 National Semiconductor Corporation
DS100080
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad General Purpose, Low Voltage, TinyPack
Comparators
August 1999
Ordering Information
Temperature Range
Package
5-pin SC70-5
5-pin SOT23-5
8-pin Small Outline
8-pin MSOP
14-pin Small Outline
14-pin TSSOP
www.national.com
Industrial
−40˚C to +85˚C
Packaging
Marking
Transport
Media
LMV331M7
C13
1k Units Tape and Reel
LMV331M7X
C13
3k Units Tape and Reel
LMV331M5
C12
1k Units Tape and Reel
LMV331M5X
C12
3k Units Tape and Reel
LMV393M
LMV393M
Rails
LMV393MX
LMV393M
2.5k Units Tape and Reel
LMV393MM
LMV393
1k UnitsTape and Reel
LMV393MMX
LMV393
3.5k Units Tape and Reel
LMV339M
LMV339M
Rails
LMV339MX
LMV339M
2.5k Units Tape and Reel
LMV339MT
LMV339MT
Rails
LMV339MTX
LMV339MT
2.5k Units Tape and Reel
2
NSC
Drawing
MAA05
MA05B
M08A
MUA08A
M14A
MTC14
Absolute Maximum Ratings (Note 1)
Operating Ratings(Note 1)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Supply Voltage
2.7V to 5.0V
Temperature Range
−40˚C ≤ TJ ≤ +85˚C
LMV393, LMV339,
LMV331
ESD Tolerance (Note 2)
Human Body Model
Thermal Resistance (θJA)
LMV331/ 393/ 339
800V
Machine Model LMV331/339/393
120V
± Supply Voltage
Differential Input Voltage
5.5V
Voltage on any pin
(referred to V− pin)
Soldering Information
Infrared or Convection (20 sec)
Storage Temp. Range
235˚C
−65˚C to +150˚C
Junction Temperature (Note 3)
150˚C
M Package, 8-pin Surface
Mount
190˚C/W
M Package, 14-pin Surface
Mount
145˚C/W
MTC Package, 14-pin
TSSOP
155˚C/W
MAA05 Package, 5-pin
SC70-5
478˚C/W
M05A Package 5 -pin
SOT23-5
265˚C/W
MM Package, 8-pin Mini
Surface Mount
235˚C/W
2.7V DC Electrical Characteristics
Unless otherwise specified, all limits guaranteed for TJ = 25˚C, V+ = 2.7V, V− = 0V. Boldface limits apply at the temperature
extremes.
Symbol
Parameter
VOS
Input Offset Voltage
TCVOS
Input Offset Voltage
Average Drift
IB
Input Bias Current
IOS
Input Offset Current
VCM
Input Voltage Range
Conditions
Typ
(Note 4)
LMV331/
393/339
Limit
(Note 5)
1.7
7
Units
mV
max
5
µV/˚C
10
250
400
5
50
150
nA max
nA max
−0.1
V
2.0
V
Isink ≤ 1mA
200
mV
VSAT
Saturation Voltage
IO
Output Sink Current
VO ≤ 1.5V
23
5
mA min
IS
Supply Current
LMV331
40
100
µA max
LMV393
Both Comparators
70
140
µA max
LMV339
All four Comparators
140
200
µA max
.003
1
µA max
Output Leakage Current
2.7V AC Electrical Characteristics
TJ = 25˚C, V+ = 2.7V, RL = 5.1 kΩ, V− = 0V.
Symbol
tPHL
tPLH
Parameter
Propagation Delay (High to Low)
Propagation Delay (Low to High)
Conditions
Typ
(Note 4)
Units
Input Overdrive = 10 mV
Input Overdrive = 100 mV
1000
ns
350
ns
Input Overdrive = 10 mV
Input Overdrive = 100 mV
500
ns
400
ns
3
www.national.com
5V DC Electrical Characteristics
Unless otherwise specified, all limits guaranteed for TJ = 25˚C, V+ = 5V, V− = 0V. Boldface limits apply at the temperature
extremes.
Symbol
Parameter
Conditions
Typ
(Note 4)
LMV331/
393/339
Limit
(Note 5)
Units
7
9
mV
max
VOS
Input Offset Voltage
1.7
TCVOS
Input Offset Voltage
Average Drift
5
IB
Input Bias Current
IOS
Input Offset Current
VCM
Input Voltage Range
µV/˚C
25
250
400
2
50
150
nA max
nA max
−0.1
V
4.2
AV
Voltage Gain
Vsat
Saturation Voltage
IO
IS
V
50
20
Isink ≤ 4 mA
200
400
700
Output Sink Current
VO ≤ 1.5V
84
10
mA
Supply Current
LMV331
60
120
150
µA max
LMV393
Both Comparators
100
200
250
µA max
LMV339
All four Comparators
170
300
350
µA max
.003
1
µA max
Output Leakage Current
V/mV min
mV
max
5V AC Electrical Characteristics
TJ = 25˚C, V+ = 5V, RL = 5.1 kΩ, V− = 0V.
Symbol
tPHL
tPLH
Parameter
Propagation Delay (High to Low)
Propagation Delay (Low to High)
Conditions
Typ
(Note 4)
Units
Input Overdrive = 10 mV
Input Overdrive = 100 mV
600
ns
200
ns
Input Overdrive = 10 mV
Input Overdrive = 100 mV
450
ns
300
ns
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is intended to be functional, but specific performance is not guaranteed. For guaranteed specifications and the test conditions, see the Electrical characteristics.
Note 2: : Human body model, 1.5kΩ in series with 100 pF. Machine model, 200Ω in series with 100 pF.
Note 3: The maximum power dissipation is a function of TJ(max), θJA, and TA. The maximum allowable power dissipation at any ambient temperature is PD = (TJ(max)
- TA)/θJA. All numbers apply for packages soldered directly into a PC board.
Note 4: Typical Values represent the most likely parametric norm.
Note 5: All limits are guaranteed by testing or statistical analysis.
www.national.com
4
Typical Performance Characteristics
Supply Current vs
Supply Voltage Output High
(LMV331)
Unless otherwise specified, VS = +5V, single supply, TA = 25˚C
Supply Current vs
Supply Voltage Output Low
(LMV331)
DS100080-34
Output Voltage vs
Output Current
at 2.7 Supply
Output Voltage vs
Output Current at 5V Supply
DS100080-33
Input Bias Current vs
Supply Voltage
DS100080-37
Response Time vs
Input Overdrives
Negative Transition
DS100080-36
DS100080-38
Response Time for
Input Overdrive
Positive Transition
DS100080-42
Response Time vs
Input Overdrives
Negative Transition
Response Time for
Input Overdrive
Positive Transition
DS100080-43
DS100080-41
5
DS100080-40
www.national.com
Simplified Schematic
DS100080-47
www.national.com
6
Application Circuits
Basic Comparator
A basic comparator circuit is used for converting analog signals to a digital output. The LMV331/393/339 have an
open-collector output stage, which requires a pull-up resistor
to a positive supply voltage for the output to switch properly.
When the internal output transistor is off, the output voltage
will be pulled up to the external positive voltage.
The output pull-up resistor should be chosen high enough so
as to avoid excessive power dissipation yet low enough to
supply enough drive to switch whatever load circuitry is used
on the comparator output. On the LMV331/393/339 the
pull-up resistor should range between 1k to 10kΩ.
DS100080-26
The comparator compares the input voltage (Vin) at the
non-inverting pin to the reference voltage (Vref) at the inverting pin. If Vin is less than Vref, the output voltage (Vo) is at the
saturation voltage. On the other hand, if Vin is greater than
Vref, the output voltage (Vo) is at Vcc..
DS100080-4
FIGURE 1. Basic Comparator
Comparator with Hysteresis
The basic comparator configuration may oscillate or produce
a noisy output if the applied differential input voltage is near
the comparator’s offset voltage. This usually happens when
the input signal is moving very slowly across the comparator’s switching threshold. This problem can be prevented by
the addition of hysteresis or positive feedback.
Inverting Comparator with Hysteresis
The inverting comparator with hysteresis requires a three resistor network that are referenced to the supply voltage Vcc
of the comparator. When Vin at the inverting input is less
than Va, the voltage at the non-inverting node of the comparator (Vin < Va), the output voltage is high (for simplicity
assume Vo switches as high as Vcc). The three network resistors can be represented as R1//R3 in series with R2. The
lower input trip voltage Va1 is defined as
When Vin is greater than Va (Vin Va), the output voltage is
low very close to ground. In this case the three network resistors can be presented as R2//R3 in series with R1. The upper trip voltage Va2 is defined as
The total hysteresis provided by the network is defined as
∆Va = Va1 - Va2
To assure that the comparator will always switch fully to Vcc
and not be pulled down by the load the resistors values
should be chosen as follow:
Rpull-up << Rload
and R1 > Rpull-up.
7
www.national.com
Application Circuits
(Continued)
DS100080-25
FIGURE 2. Inverting Comparator with Hysteresis
Non-Inverting Comparator with Hysteresis
Non inverting comparator with hysteresis requires a two resistor network, and a voltage reference (Vref) at the inverting
input. When Vin is low, the output is also low. For the output
to switch from low to high, Vin must rise up to Vin1 where Vin1
is calculated by
When Vin is high, the output is also high, to make the comparator switch back to it’s low state, Vin must equal Vref before Va will again equal Vref. Vin can be calculated by:
DS100080-22
The hysteresis of this circuit is the difference between Vin1
and Vin2.
∆Vin = VccR1/R2
DS100080-23
www.national.com
8
Application Circuits
Capacitor C1 must now discharge through R4 towards
ground. The output will return to its high state when the voltage across the capacitor has discharged to a value equal to
Va2.
For the circuit shown, the period for one cycle of oscillation
will be twice the time it takes for a single RC circuit to charge
up to one half of its final value. The time to charge the capacitor can be calculated from
(Continued)
Square Wave Oscillator
Comparators are ideal for oscillator applications. This square
wave generator uses the minimum number of components.
The output frequency is set by the RC time constant of the
capacitor C1 and the resistor in the negative feedback R4.
The maximum frequency is limited only by the large signal
propagation delay of the comparator in addition to any capacitive loading at the output, which would degrade the output slew rate.
Where Vmax is the max applied potential across the capacitor = (2Vcc/3)
and VC = Vmax/2 = VCC/3
One period will be given by:
1/freq = 2t
or calculating the exponential gives:
1/freq = 2(0.694) R4 C1
Resistors R3 and R4 must be at least two times larger than
R5 to insure that Vo will go all the way up to Vcc in the high
state. The frequency stability of this circuit should strictly be
a function of the external components.
Free Running Multivibrator
A simple yet very stable oscillator that generates a clock for
slower digital systems can be obtained by using a resonator
as the feedback element. It is similar to the free running multivibrator, except that the positive feedback is obtained
through a quartz crystal. The circuit oscillates when the
transmission through the crystal is at a maximum, so the
crystal in its series-resonant mode.
The value of R1 and R2 are equal so that the comparator will
switch symmetrically about +Vcc/2. The RC constant of R3
and C1 is set to be several times greater than the period of
the oscillating frequency, insuring a 50% duty cycle by maintaining a DC voltage at the inverting input equal to the absolute average of the output waveform.
When specifying the crystal, be sure to order series resonant
with the desired temperature coefficient
DS100080-8
DS100080-24
FIGURE 5. Squarewave Oscillator
To analyze the circuit, assume that the output is initially high.
For this to be true, the voltage at the inverting input Vc has to
be less than the voltage at the non-inverting input Va. For Vc
to be low, the capacitor C1 has to be discharged and will
charge up through the negative feedback resistor R4. When
it has charged up to value equal to the voltage at the positive
input Va1, the comparator output will switch.
Va1 will be given by:
If:
R1 = R2 = R3
Then:
Va1 = 2Vcc/3
When the output switches to ground, the value of Va is reduced by the hysteresis network to a value given by:
Va2 = Vcc/3
DS100080-7
FIGURE 6. Crystal controlled Oscillator
9
www.national.com
Application Circuits
These terms will have a slight error due to the fact that Vmax
is not exactly equal to 2/3 VCC but is actually reduced by the
diode drop to:
(Continued)
Pulse generator with variable duty cycle:
The pulse generator with variable duty cycle is just a minor
modification of the basic square wave generator. Providing a
separate charge and discharge path for capacitor C1 generates a variable duty cycle. One path, through R2 and D2 will
charge the capacitor and set the pulse width (t1). The other
path, R1 and D1 will discharge the capacitor and set the time
between pulses (t2).
By varying resistor R1, the time between pulses of the generator can be changed without changing the pulse width.
Similarly, by varying R2, the pulse width will be altered without affecting the time between pulses. Both controls will
change the frequency of the generator. The pulse width and
time between pulses can be found from:
Positive Peak Detector:
Positive peak detector is basically the comparator operated
as a unit gain follower with a large holding capacitor from the
output to ground. Additional transistor is added to the output
to provide a low impedance current source. When the output
of the comparator goes high, current is passed through the
transistor to charge up the capacitor. The only discharge
path will be the 1M ohm resistor shunting C1 and any load
that is connected to the output. The decay time can be altered simply by changing the 1M ohm resistor. The output
should be used through a high impedance follower to a avoid
loading the output of the peak detector.
DS100080-9
FIGURE 7. Pulse Generator
DS100080-17
FIGURE 8. Positive Peak Detector
Negative Peak Detector:
For the negative detector, the output transistor of the comparator acts as a low impedance current sink. The only discharge path will be the 1 MΩ resistor and any load impedance used. Decay time is changed by varying the 1 MΩ
resistor
Solving these equations for t1 and t2
t1 = R4C1ln2
t2 = R5C1ln2
www.national.com
DS100080-18
FIGURE 9. Negative Peak Detector
10
Application Circuits
(Continued)
Driving CMOS and TTL
The comparator’s output is capable of driving CMOS and
TTL Logic circuits.
DS100080-5
DS100080-11
FIGURE 10. Driving CMOS
FIGURE 12. AND Gate
OR Gates
A three input OR gate is achieved from the basic AND gate
simply by increasing the resistor value connected from the
inverting input to Vcc, thereby reducing the reference voltage.
A logic ″1″ at any of the inputs will produce a logic ″1″ at the
output.
DS100080-6
FIGURE 11. Driving TTL
AND Gates
The comparator can be used as three input AND gate. The
operation of the gate is as follow:
The resistor divider at the inverting input establishes a reference voltage at that node. The non-inverting input is the sum
of the voltages at the inputs divided by the voltage dividers.
The output will go high only when all three inputs are high,
casing the voltage at the non-inverting input to go above that
at inverting input. The circuit values shown work for a ″0″
equal to ground and a ″1″ equal to 5V.
The resistor values can be altered if different logic levels are
desired. If more inputs are required, diodes are recommended to improve the voltage margin when all but one of
the inputs are high.
DS100080-10
FIGURE 13. OR Gate
ORing the Output
By the inherit nature of an open collector comparator, the
outputs of several comparators can be tied together with a
pull up resistor to Vcc. If one or more of the comparators outputs goes low, the output Vo will go low.
11
www.national.com
Application Circuits
(Continued)
DS100080-12
FIGURE 14. ORing the Outputs
DS100080-13
FIGURE 15. Large Fan-In AND Gate
www.national.com
12
SC70-5 Tape and Reel Specification
DS100080-44
SOT-23-5 Tape and Reel Specification
TAPE FORMAT
Tape Section
# Cavities
Cavity Status
Cover Tape Status
Leader
0 (min)
Empty
Sealed
(Start End)
75 (min)
Empty
Sealed
Carrier
3000
Filled
Sealed
250
Filled
Sealed
Trailer
125 (min)
Empty
Sealed
(Hub End)
0 (min)
Empty
Sealed
13
www.national.com
SOT-23-5 Tape and Reel Specification
(Continued)
TAPE DIMENSIONS
DS100080-45
8 mm
Tape Size
www.national.com
0.130
0.124
0.130
0.126
0.138 ± 0.002
0.055 ± 0.004
0.157
0.315 ± 0.012
(3.3)
(3.15)
(3.3)
(3.2)
(3.5 ± 0.05)
(1.4 ± 0.11)
(4)
(8 ± 0.3)
DIM A
DIM Ao
DIM B
DIM Bo
DIM F
DIM Ko
DIM P1
DIM W
14
SOT-23-5 Tape and Reel Specification
(Continued)
REEL DIMENSIONS
DS100080-46
8 mm
Tape Size
7.00
0.059 0.512 0.795 2.165
330.00
1.50
A
B
13.00 20.20 55.00
C
D
N
15
0.331 + 0.059/−0.000
0.567
W1+ 0.078/−0.039
8.40 + 1.50/−0.00
14.40
W1 + 2.00/−1.00
W1
W2
W3
www.national.com
Physical Dimensions
inches (millimeters) unless otherwise noted
5-Pin SC70-5 Tape and Reel
Order Number LMV331M7 and LMV331M7X
NS Package Number MAA05A
www.national.com
16
Physical Dimensions
inches (millimeters) unless otherwise noted (Continued)
5-Pin SOT23-5 Tape and Reel
Order Number LMV331M5 and LMV331M5X
NS Package Number MA05B
17
www.national.com
Physical Dimensions
inches (millimeters) unless otherwise noted (Continued)
8-Pin Small Outline
Order Number LMV393M and LMV393MX
NS Package Number M08A
www.national.com
18
Physical Dimensions
inches (millimeters) unless otherwise noted (Continued)
8-Pin MSOP
Order Number LMV393MM and LMV393MMX
NS Package Number MUA08A
19
www.national.com
Physical Dimensions
inches (millimeters) unless otherwise noted (Continued)
14-Pin Small Outline
Order Number LMV339M and LMV339MX
NS Package Number M14A
www.national.com
20
inches (millimeters) unless otherwise noted (Continued)
14-Pin TSSOP
Order Number LMV339MT and LMV339MTX
NS Package Number MTC14
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or
systems which, (a) are intended for surgical implant
into the body, or (b) support or sustain life, and
whose failure to perform when properly used in
accordance with instructions for use provided in the
labeling, can be reasonably expected to result in a
significant injury to the user.
National Semiconductor
Corporation
Americas
Tel: 1-800-272-9959
Fax: 1-800-737-7018
Email: [email protected]
www.national.com
National Semiconductor
Europe
Fax: +49 (0) 1 80-530 85 86
Email: [email protected]
Deutsch Tel: +49 (0) 1 80-530 85 85
English Tel: +49 (0) 1 80-532 78 32
Français Tel: +49 (0) 1 80-532 93 58
Italiano Tel: +49 (0) 1 80-534 16 80
2. A critical component is any component of a life
support device or system whose failure to perform
can be reasonably expected to cause the failure of
the life support device or system, or to affect its
safety or effectiveness.
National Semiconductor
Asia Pacific Customer
Response Group
Tel: 65-2544466
Fax: 65-2504466
Email: [email protected]
National Semiconductor
Japan Ltd.
Tel: 81-3-5639-7560
Fax: 81-3-5639-7507
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.
LMV331 Single / LMV393 Dual / LMV339 Quad General Purpose, Low Voltage, TinyPack
Comparators
Physical Dimensions