Schmitt Trigger: Robust Comparator Design with Hysteresis
3 days ago
- A Schmitt trigger is a comparator with built-in hysteresis that uses two switching thresholds (V_TH and V_TL) to eliminate noise and ensure stable output transitions.
- Inverting op-amp Schmitt trigger thresholds: V_TH = (R1/(R1+R2)) × V(sat), V_TL = (R1/(R1+R2)) × (-V(sat)), hysteresis width V_H = (2×R1/(R1+R2)) × |V(sat)|.
- Non-inverting op-amp Schmitt trigger thresholds: V_UT = +(R1/Rf) × V(sat), V_LT = -(R1/Rf) × V(sat), hysteresis = 2×(R1/Rf)×|V(sat)|.
- Discrete BJT Schmitt trigger uses two transistors with common emitter resistor; hysteresis arises from emitter voltage shift, typically ~0.4 V.
- Integrated CMOS Schmitt-trigger inverters (e.g., SN74HC14, SN74LVC1G14, CD40106) provide fixed hysteresis and fast switching, ideal for digital interfacing.
- Comparator ICs like LM393 require external feedback for hysteresis, while TLV3201 includes 1.2 mV internal hysteresis with 40 ns delay.
- Applications include switch debouncing, zero-cross detection, signal squaring, relaxation oscillators, and sensor signal conditioning.
- Common mistakes: omitting positive feedback, setting hysteresis too small, failing to bias single-supply circuits, using op-amps as comparators, and neglecting pull-up resistors on open-collector outputs.
- Hysteresis width should exceed expected noise amplitude (e.g., at least 2× noise) to prevent chattering, while balancing sensitivity and propagation delay.