Datasheet

LMV331-N, LMV339-N, LMV393-N
SNOS018G AUGUST 1999REVISED FEBRUARY 2013
www.ti.com
APPLICATION CIRCUITS
BASIC COMPARATOR
A basic comparator circuit is used for converting analog signals to a digital output. The LMV331-N/393-N/339-N
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-N/393-N/339-N the pull-up resistor should range between 1k to 10kΩ.
The comparator compares the input voltage (V
IN
) at the non-inverting pin to the reference voltage (V
REF
) at the
inverting pin. If V
IN
is less than V
REF
, the output voltage (V
O
) is at the saturation voltage. On the other hand, if V
IN
is greater than V
REF
, the output voltage (V
O
) is at V
CC
.
Figure 12. 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 V
CC
of the comparator. When V
in
at the inverting input is less than V
a
, the voltage at the non-inverting
node of the comparator (V
in
< V
a
), the output voltage is high (for simplicity assume V
O
switches as high as V
CC
).
The three network resistors can be represented as R
1
//R
3
in series with R
2
. The lower input trip voltage V
a1
is
defined as
(1)
When V
in
is greater than V
a
(V
in
> V
a
), the output voltage is low very close to ground. In this case the three
network resistors can be presented as R
2
//R
3
in series with R
1
. The upper trip voltage V
a2
is defined as
(2)
8 Submit Documentation Feedback Copyright © 1999–2013, Texas Instruments Incorporated
Product Folder Links: LMV331-N LMV339-N LMV393-N