Skip to main content
DD-CAT IDE logoDD-CAT IDE

Hysteresis Comparator (Schmitt Trigger)

Favorite

Comparator positive-feedback hysteresis network: for the inverting / non-inverting topologies, derive the upper and lower trip points and hysteresis width from R1/R2 and the output swing, bound the width / trip-point error with the resistor tolerance, or pick standard resistors and a reference voltage from target trip points.

Key points

Hysteresis Comparator (Schmitt Trigger): Comparator positive-feedback hysteresis network: for the inverting / non-inverting topologies, derive the upper and lower trip points and hysteresis width from R1/R2 and the output swing, bound the width / trip-point error with the resistor tolerance, or pick standard resistors and a reference voltage from target trip points. Formula: ΔV = (Voh − Vol)·R1/(R1+R2) (inverting) | ΔV = (Voh − Vol)·R1/R2 (non-inverting). Enter parameters on the DD-CAT IDE online tool page to get results instantly, with a calculation-model diagram that updates with the inputs. The comparator positive / negative supply rails must cover the reference, the trip points and the output swing: a single supply (V− = 0) only handles 0–V+, so any negative trip point, negative reference or negative output swing requires a negative supply — otherwise the comparator cannot toggle (a common cause of “hysteresis not working”). Hysteresis width = output swing × positive-feedback factor: increase R1 (inverting) or R1/R2 (non-inverting) for more noise immunity, but too wide costs sensitivity and pushes the trip points toward the output rails.

Inputs

ΔV = (Voh − Vol)·R1/(R1+R2) (inverting) | ΔV = (Voh − Vol)·R1/R2 (non-inverting)

Calculation model (updates with parameters)

−+V+ 5 VV− 0 VVinR110 kΩVref 2.5 VVoutR2100 kΩVoutVin →ΔV = 454.5 mVVT+2.727 VVT−2.273 VInverting | Voh 5 V / Vol 0 VSolid = rising | dashed = falling
Upper trip point VT+ (switches on rising input)2.727 V
Lower trip point VT− (switches on falling input)2.273 V
Hysteresis width ΔV454.5 mV
Hysteresis width range (resistor tolerance)446.3 mV ~ 462.9 mV
Trip-point range (resistor tolerance)VT+ 2.723 V~2.731 V | VT− 2.269 V~2.277 V
Maximum resistor-mismatch error±4.166 mV
Trip-point center voltage2.5 V
Positive-feedback factor0.0909
Threshold network Thevenin resistance R_eq9.091 kΩ
Bias-current trip-point offset Ib·R_eq227.3 µV

Engineering notes

  • The comparator positive / negative supply rails must cover the reference, the trip points and the output swing: a single supply (V− = 0) only handles 0–V+, so any negative trip point, negative reference or negative output swing requires a negative supply — otherwise the comparator cannot toggle (a common cause of “hysteresis not working”).
  • Hysteresis width = output swing × positive-feedback factor: increase R1 (inverting) or R1/R2 (non-inverting) for more noise immunity, but too wide costs sensitivity and pushes the trip points toward the output rails.
  • Voh / Vol must be the actual output levels (including saturation drop or pull-up voltage), not the supply rails, otherwise the calculated hysteresis width comes out too large.
  • The larger the threshold network resistance R_eq = R1∥R2, the larger the trip-point offset Ib·R_eq from input bias current; for LM393-class parts with Ib around 25 nA, keep R_eq within 1 MΩ.
  • The reference source impedance must be small compared with R1, otherwise positive-feedback current pulls it and the actual trip points deviate; use a low-impedance divider with a buffer, or a dedicated reference.
  • In the non-inverting topology R1 sits between the source and the + input, so source resistance adds to R1; if the source impedance is unstable the trip points drift — add a buffer or use the inverting topology.

FAQ

What is Hysteresis Comparator (Schmitt Trigger) for?
Comparator positive-feedback hysteresis network: for the inverting / non-inverting topologies, derive the upper and lower trip points and hysteresis width from R1/R2 and the output swing, bound the width / trip-point error with the resistor tolerance, or pick standard resistors and a reference voltage from target trip points.
What is the formula for Hysteresis Comparator (Schmitt Trigger)?
Core formula: ΔV = (Voh − Vol)·R1/(R1+R2) (inverting) | ΔV = (Voh − Vol)·R1/R2 (non-inverting). The tool returns results instantly using this formula and the selected parameters.
What engineering notes should I keep in mind when using Hysteresis Comparator (Schmitt Trigger)?
The comparator positive / negative supply rails must cover the reference, the trip points and the output swing: a single supply (V− = 0) only handles 0–V+, so any negative trip point, negative reference or negative output swing requires a negative supply — otherwise the comparator cannot toggle (a common cause of “hysteresis not working”). Hysteresis width = output swing × positive-feedback factor: increase R1 (inverting) or R1/R2 (non-inverting) for more noise immunity, but…