NSC LMV331

LMV331 Single / LMV393 Dual / LMV339 Quad
General Purpose, Low Voltage, Tiny Pack 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 5-pin SC70 and 5-pin SOT23
packages. The 5-pin SC70 is approximately half the size of
the 5-pin SOT23.
The LMV393 is available in 8-pin SOIC and MSOP. The
LMV339 is available in 14-pin SOIC and TSSOP.
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.
(For 5V supply, typical unless otherwise noted)
■ Guaranteed 2.7V and 5V performance
−40°C to +85°C
■ Industrial temperature range
60 µA/Channel
■ Low supply current
■ Input common mode voltage range includes ground
200 mV
■ Low output saturation voltage
200 ns
■ Propagation delay
■ Space saving 5-pin SC70 and 5-Pin SOT23 packages
Applications
■
■
■
■
■
Mobile communications
Notebooks and PDA's
Battery powered electronics
General purpose portable device
General purpose low voltage applications
Typical Applications
Squarewave Oscillator
10008017
Positive Peak Detector
10008008
10008024
© 2007 National Semiconductor Corporation
100080
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad General Purpose, Low Voltage, Tiny Pack
Comparators
May 2007
LMV331 Single / LMV393 Dual / LMV339 Quad
Absolute Maximum Ratings (Note 1)
Operating Ratings
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Supply Voltage
Temperature Range (Note 3)
LMV393. LMV339, LMV331
ESD Tolerance (Note 2)
Human Body Model
LMV331/393/339
Machine Model
LMV331/339/393
Differential Input Voltage
Voltage on any pin
(referred to V− pin)
Soldering Information
Infrared or Convection (20 sec)
Storage Temp. Range
Junction Temperature (Note 3)
(Note 1)
2.7V to 5.0V
−40°C to +85°C
Thermal Resistance (θJA)
5-Pin SC70
5-Pin SOT23
8-Pin SOIC
8-Pin MSOP
14-Pin SOIC
14-Pin TSSOP
800V
120V
±Supply Voltage
5.5V
478°C/W
265°C/W
190°C/W
235°C/W
145°C/W
155°C/W
235°C
−65°C to +150°C
150°C
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
Conditions
Min
(Note 5)
Typ
(Note 4)
Max
(Note 5)
Units
1.7
7
mV
VOS
Input Offset Voltage
TCVOS
Input Offset Voltage Average Drift
5
IB
Input Bias Current
10
250
400
nA
IOS
Input Offset Current
5
50
150
nA
VCM
Input Voltage Range
−0.1
µV/°C
V
2.0
V
120
mV
23
mA
VSAT
Saturation Voltage
ISINK ≤ 1 mA
IO
Output Sink Current
VO ≤ 1.5V
IS
Supply Current
LMV331
40
100
µA
LMV393
Both Comparators
70
140
µA
LMV339
All four Comparators
140
200
µA
.003
1
µA
Typ
(Note 4)
Max
(Note 5)
Units
5
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)
www.national.com
Conditions
Min
(Note 5)
Input Overdrive = 10 mV
1000
ns
Input Overdrive = 100 mV
350
ns
Input Overdrive = 10 mV
500
ns
Input Overdrive = 100 mV
400
ns
2
Unless otherwise specified, all limits guaranteed for TJ = 25°C, V+ = 5V, V− = 0V. Boldface limits apply at the temperature extremes.
Symbol
Parameter
Conditions
Min
(Note 5)
Typ
(Note 4)
max
(Note 5)
1.7
7
9
Units
VOS
Input Offset Voltage
TCVOS
Input Offset Voltage Average Drift
5
IB
Input Bias Current
25
250
400
nA
IOS
Input Offset Current
2
50
150
nA
VCM
Input Voltage Range
−0.1
20
mV
µV/°C
V
4.2
V
50
V/mV
AV
Voltage Gain
Vsat
Saturation Voltage
ISINK ≤ 4 mA
200
400
700
mV
IO
Output Sink Current
VO ≤ 1.5V
84
10
mA
IS
Supply Current
LMV331
60
120
150
µA
LMV393
Both Comparators
100
200
250
µA
LMV339
All four Comparators
170
300
350
µA
.003
1
µA
Typ
(Note 4)
Max
(Note 5)
Units
Output Leakage Current
5V AC Electrical Characteristics
TJ = 25°C, V+ = 5V, RL = 5.1 kΩ, V− = 0V.
Symbol
Parameter
tPHL
Propagation Delay (High to Low)
tPLH
Propagation Delay (Low to High)
Conditions
Min
(Note 5)
Input Overdrive = 10 mV
600
ns
Input Overdrive = 100 mV
200
ns
Input Overdrive = 10 mV
450
ns
Input Overdrive = 100 mV
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, applicable std. MIL-STD-883, Method 3015.7. Machine Model, applicable std. JESD22-A115-A (ESD MM std. of JEDEC)
Field-Induced Charge-Device Model, applicable std. JESD22-C101-C (ESD FICDM std. of JEDEC).
Note 3: The maximum power dissipation is a function of TJ(MAX), θJA. The maximum allowable power dissipation at any ambient temperature is
PD = (TJ(MAX) - TA)/θJA. All numbers apply for packages soldered directly onto a PC board.
Note 4: Typical values represent the most likely parametric norm as determined at the time of characterization. Actual typical values may vary over time and will
also depend on the application and configuration. The typical values are not tested and are not guaranteed on shipped production material.
Note 5: All limits are guaranteed by testing or statistical analysis.
3
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
5V DC Electrical Characteristics
LMV331 Single / LMV393 Dual / LMV339 Quad
Typical Performance Characteristics
Unless otherwise specified, VS = +5V, single supply, TA = 25°C
Supply Current vs. Supply Voltage Output High (LMV331)
Supply Current vs. Supply Voltage Output Low (LMV331)
10008034
10008033
Output Voltage vs. Output Current at 5V Supply
Output Voltage vs. Output Current at 2.7 Supply
10008037
10008038
Input Bias Current vs. Supply Voltage
Response Time vs. Input Overdrives Negative Transition
10008042
10008036
www.national.com
4
Response Time vs. Input Overdrives Negative Transition
10008043
10008041
Response Time for Input Overdrive Positive Transition
10008040
5
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
Response Time for Input Overdrive Positive Transition
LMV331 Single / LMV393 Dual / LMV339 Quad
Simplified Schematic
10008047
www.national.com
6
BASIC COMPARATOR
A basic comparator circuit is used for converting analog signals to a digital output. The LMV331/393/339 have an opencollector 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 pullup resistor should range between 1k to 10kΩ.
The comparator compares the input voltage (VIN) at the noninverting 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.
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
10008026
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.
10008004
FIGURE 1. Basic Comparator
7
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
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.
Application Circuits
LMV331 Single / LMV393 Dual / LMV339 Quad
10008025
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:
10008022
FIGURE 3.
The hysteresis of this circuit is the difference between Vin1 and
Vin2.
ΔVin = VCCR1/R2
www.national.com
8
10008023
FIGURE 4.
If:
R1 = R2 = R3
SQUAREWAVE 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.
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
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
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.
10008008
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
10008024
FIGURE 5. Squarewave Oscillator
9
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
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:
LMV331 Single / LMV393 Dual / LMV339 Quad
Solving these equations for t1 and t2
10008007
t1 =R4C1ln2
FIGURE 6. Crystal controlled Oscillator
t2 =R5C1ln2
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:
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 C1generates 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 1 MΩ resistor shunting C1 and any load that is
connected to the output. The decay time can be altered simply
by changing the 1 MΩ resistor. The output should be used
through a high impedance follower to a avoid loading the output of the peak detector.
10008009
FIGURE 7. Pulse Generator
www.national.com
10
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.
10008017
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
10008018
FIGURE 9. Negative Peak Detector
DRIVING CMOS AND TTL
The comparator's output is capable of driving CMOS and TTL
Logic circuits.
10008011
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.
10008005
FIGURE 10. Driving CMOS
11
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
10008006
LMV331 Single / LMV393 Dual / LMV339 Quad
10008010
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.
10008013
FIGURE 15. Large Fan-In AND Gate
10008012
FIGURE 14. ORing the Outputs
www.national.com
12
5-Pin SC70/SOT23
8-Pin SOIC/MSOP
10008001
Top View
14-Pin SOIC/TSSOP
10008002
10008003
Top View
Top View
Ordering Information
Package
Temperature Range
Packaging
Marking
Transport Media
LMV331M7
C13
1k Units Tape and Reel
LMV331M7X
C13
3k Units Tape and Reel
Industrial
−40°C to +85°C
5-Pin SC70
5-Pin SOT23
8-Pin SOIC
8-Pin MSOP
14-Pin SOIC
14-Pin TSSOP
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
V393
1k Units Tape and Reel
LMV393MMX
V393
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
13
NSC
Drawing
MAA05A
MF05A
M08A
MUA08A
M14A
MTC14
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
Connection Diagrams
LMV331 Single / LMV393 Dual / LMV339 Quad
SC70-5 Tape and Reel Specification
10008044
SOT-23-5 Tape and Reel
Specification
TAPE FORMAT
Tape Section
www.national.com
# 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
14
LMV331 Single / LMV393 Dual / LMV339 Quad
TAPE DIMENSIONS
10008045
8 mm
0.130
(3.3)
0.124
(3.15)
0.130
(3.3)
0.126
(3.2)
0.138 ±0.002
(3.5 ±0.05)
0.055 ±0.004
(1.4 ±0.11)
0.157
(4)
0.315 ±0.012
(8 ±0.3)
Tape Size
DIM A
DIM Ao
DIM B
DIM Bo
DIM F
DIM Ko
DIM P1
DIM W
15
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
REEL DIMENSIONS
10008046
8 mm
Tape Size
www.national.com
7.00 0.059 0.512 0.795 2.165
330.00 1.50 13.00 20.20 55.00
A
B
C
D
N
16
0.331 + 0.059/−0.000
8.40 + 1.50/−0.00
0.567
14.40
W1+ 0.078/−0.039
W1 + 2.00/−1.00
W1
W2
W3
LMV331 Single / LMV393 Dual / LMV339 Quad
Physical Dimensions inches (millimeters) unless otherwise noted
5-Pin SC70
NS Package Number MAA05A
5-Pin SOT23
NS Package Number MF05A
17
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad
8-Pin SOIC
NS Package Number M08A
8-Pin MSOP
NS Package Number MUA08A
www.national.com
18
LMV331 Single / LMV393 Dual / LMV339 Quad
14-Pin SOIC
NS Package Number M14A
14-Pin TSSOP
NS Package Number MTC14
19
www.national.com
LMV331 Single / LMV393 Dual / LMV339 Quad General Purpose, Low Voltage, Tiny Pack
Comparators
Notes
THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION
(“NATIONAL”) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY
OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO
SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS,
IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS
DOCUMENT.
TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT
NATIONAL’S PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL
PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR
APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND
APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE
NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS.
EXCEPT AS PROVIDED IN NATIONAL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO
LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE
AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY
RIGHT.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR
SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
Life support devices or systems are devices 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. A critical component is any component in 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 and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other
brand or product names may be trademarks or registered trademarks of their respective holders.
Copyright© 2007 National Semiconductor Corporation
For the most current product information visit us at www.national.com
National Semiconductor
Americas Customer
Support Center
Email:
[email protected]
Tel: 1-800-272-9959
www.national.com
National Semiconductor Europe
Customer Support Center
Fax: +49 (0) 180-530-85-86
Email: [email protected]
Deutsch Tel: +49 (0) 69 9508 6208
English Tel: +49 (0) 870 24 0 2171
Français Tel: +33 (0) 1 41 91 8790
National Semiconductor Asia
Pacific Customer Support Center
Email: [email protected]
National Semiconductor Japan
Customer Support Center
Fax: 81-3-5639-7507
Email: [email protected]
Tel: 81-3-5639-7560