0.1µF ceramic should be placed as close as possible to V+
pin. An additional 2.2µF tantalum capacitor may be required
for extra noise reduction.
Additional Hysteresis
If additional hysteresis is desired, this can be done with the
addition of three resistors using positive feedback, as shown
in Figure 2. The positive feedback method slows the com-
parator response time. Calculate the resistor values as fol-
lows:
2. Keep all leads short to reduce stray capacitance and lead
inductance. It will also minimize unwanted parasitic feedback
around the comparator.
3. The device should be soldered directly to the PC board
instead of using a socket.
1) Select R3. The current through R3 should be greater than
the input bias current to minimize errors. The current through
R3 (IF) at the trip point is (VREF - VOUT) /R3. Consider the two
possible output states when solving for R3, and use the
smaller of the two resulting resistor values. The two formulas
are:
4. Use a PC board with a good, unbroken low inductance
ground plane. Make sure ground paths are low-impedance,
especially were heavier currents are flowing.
5. Input traces should be kept away from output traces. This
can be achieved by running a topside ground plane between
the output and inputs.
R3 = VREF/IF
(when VOUT = 0)
(VOUT = VCC
R3 = VCC - VREF /IF
)
6. Run the ground trace under the device up to the bypass
capacitor to shield the inputs from the outputs.
2) Choose a hysteresis band required (VHB).
3) Calculate R1, where R1 = R3 X(VHB/VCC
)
7. To prevent parasitic feedback when input signals are
slow-moving, a small capacitor of 1000pF or less can be
placed between the inputs. It can also help eliminate oscil-
lations in the transition region. However, this capacitor can
cause some degradation to tpd when the source impedance
is low.
4) Choose the trip point for VIN rising. This is the threshold
voltage (VTHR) at which the comparator switches from low to
high as VIN rises about the trip point.
5) Calculate R2 as follows:
Zero-Crossing Detector
The inverting input is connected to ground and the non-
inverting input is connected to 100mVp-p signal. As the
signal at the non-inverting input crosses 0V, the compara-
tor’s output Changes State.
6) Verify the trip voltage and hysteresis as follows:
10105422
FIGURE 3. Zero-Crossing Detector
This method is recommended for additional hysteresis of up
to a few hundred millivolts. Beyond that, the impedance of
R3 is low enough to affect the bias string and adjustment of
R1 may be also required.
Threshold Detector
Instead of tying the inverting input to 0V, the inverting input
can be tied to a reference voltage. The non-inverting input is
connected to the input. As the input passes the VREF thresh-
old, the comparator’s output changes state.
10105421
FIGURE 2. Additional Hysteresis
10105423
Circuit Layout and Bypassing
The LMV7219 requires high-speed layout. Follow these lay-
out guidelines:
FIGURE 4. Threshold Detector
1. Power supply bypassing is critical, and will improve sta-
bility and transient response. A decoupling capacitor such as
9
www.national.com