The trend of science and technology is changing rapidly.

What Is Hysteresis in Electronics? Reading Upper and Lower Switching Thresholds

Insights 3

Hysteresis in electronics intentionally splits a single switching reference into two directional thresholds: an upper threshold (VTH) that a rising input must exceed to drive the output state change, and a lower reset threshold (VTL) below which a falling input must drop to reverse it. Separating those two trip points by a hysteresis band (ΔVH = VTH − VTL) gives the circuit 1-bit state memory, preventing high-frequency output chatter when slow sensor ramps, battery rails, or cable-routed signals carry superimposed noise.

Why Slow, Noisy Signals Chatter Across a Single Threshold—Worked 1.70 V / 1.30 V Example

An open-loop voltage comparator has enormous differential gain (often 105 V/V or higher) and slews in nanoseconds. As explained in Analog Devices’ engineering guide on curing comparator instability, feeding a slowly slewing analog voltage—such as a battery pack divider, photodiode amplifier, or RC-filtered pressure sensor—against a single fixed 1.50 V reference invites multiple false digital edges whenever peak-to-peak noise rivals the rate of input change.

Split oscilloscope waveform comparing multiple digital output glitches on a single-threshold comparator at top versus a single clean step transition using separated upper and lower thresholds at bottom
Figure 1: When a slow analog ramp carrying 150 mVpp noise crosses a single 1.50 V reference (top), the output chatters repeatedly; splitting the trip points into V_TH = 1.70 V and V_TL = 1.30 V produces one clean edge (bottom).

To see exactly how dual thresholds reject noise, adopt the Texas Instruments SBOA313A non-inverting comparator design values on a 3.3 V rail: VTH = 1.70 V, VTL = 1.30 V, and hysteresis width ΔVH = 0.40 V (400 mV), while the input ramp carries 150 mVpp (±75 mV) of switching ripple:

  1. Below 1.30 V (Output = Logic Low, 0 V): Even as noise peaks bounce from 1.45 V to 1.62 V, the active trip point remains locked at VTH = 1.70 V, so the output stays solidly at 0 V.
  2. Rising Crossing at 1.70 V: The instant the noisy waveform touches 1.70 V, positive feedback snaps the output high to 3.3 V and simultaneously drops the internal reference threshold down to 1.30 V.
  3. Immediate Post-Edge Immunity: A microsecond later, the 150 mVpp ripple dips the input back down to 1.56 V. On a single-threshold 1.50 V comparator, that dip would falsely toggle an interrupt counter; with hysteresis active, 1.56 V remains 260 mV safely above VTL = 1.30 V, locking in a single crisp rising edge.

Reading a Hysteresis Transfer Loop: V_TH, V_TL, and the Memory Deadband

Datasheets for analog voltage comparators and Schmitt triggers plot output voltage (VOUT) on the vertical axis against input voltage (VIN) on the horizontal axis, forming a closed rectangular loop rather than a single vertical step line.

Geometric Schmitt trigger transfer characteristic graph showing directional rising emerald path at the upper threshold and falling amber path at the lower threshold
Figure 2: Inside the deadband between V_TL and V_TH, output voltage depends on directional history—rising inputs follow the right-hand branch while falling inputs follow the left-hand branch.
Datasheet SymbolParameter NameWorked Example Value (3.3 V Supply)How to Read It on Bench Waveforms & Schematics
VTH / VIT+ / VT+Upper (Positive-Going) Threshold1.70 VFollow the bottom arrow rightward: output transitions Low → High (non-inverting) only when VIN rises past 1.70 V.
VTL / VIT− / VT−Lower (Negative-Going) Threshold1.30 VFollow the top arrow leftward: output transitions High → Low only when VIN falls below 1.30 V.
ΔVH / VHYSHysteresis Band Width400 mV (1.70 V − 1.30 V)Must exceed worst-case peak-to-peak input noise amplitude (here 400 mV > 150 mVpp gives a 2.67× safety margin).
VIN = 1.50 V (Mid-Band)Bistable Memory ZoneOutput is 0 V or 3.3 VKnowing VIN = 1.50 V alone cannot predict VOUT; you must know whether the signal last arrived from below 1.30 V or above 1.70 V.

Positive-Feedback Resistor Sizing vs. Built-In Schmitt Trigger Inputs

Negative feedback (wired to the inverting − pin) stabilizes op-amps in their linear region; positive feedback (wired from output back to the non-inverting + pin) creates regenerative Schmitt trigger snap action. Hardware engineers typically choose among three implementation tiers depending on required threshold accuracy.

Macro close-up of an SOIC-8 voltage comparator IC surrounded by precision thin-film positive-feedback resistors and ceramic bypass capacitors on a green PCB
Figure 3: External thin-film feedback resistors let engineers program hundreds of millivolts of custom hysteresis around a precision comparator IC.

If-Then Circuit Design Rules for Hysteresis Implementation

  • If cleaning up board-level parasitic oscillation (<5 mV noise): Select a nanopower or high-speed comparator with built-in internal hysteresis (2 mV to 10 mV)—saving two external resistors while curing ground-bounce oscillation at the threshold crossing.
  • If squaring slow RC reset ramps or debouncing switches into digital logic: Use dedicated CMOS Schmitt-trigger gates (such as 74HC14 / 74LVC1G17) or MCU Schmitt GPIO pins; note that standard MCU GPIO hysteresis is coarse (for example, ~5% of VCC or ~165 mV at 3.3 V, with wide process spread between 0.3×VCC and 0.7×VCC).
  • If enforcing tight battery UVLO/OVLO or industrial window trip points (±1% accuracy): Build an external 0.1%–1% resistor positive-feedback network around a low-offset comparator and precision voltage reference, paired with local 0.1 μF supply decoupling capacitors.
  • If using an open-drain/open-collector comparator (e.g., LM393 or TLV7041): Account for the pull-up resistor Rpullup in series with the positive-feedback resistor when output is high—either size Rfeedback ≥ 100× Rpullup or switch to a push-pull rail-to-rail output comparator so driving status indicator LEDs does not pull down VOH and shrink your hysteresis band!

Frequently Asked Questions

How is inverting comparator hysteresis different from non-inverting hysteresis?

In an inverting comparator with hysteresis, the noisy input connects directly to the − pin while the resistor divider sets clean thresholds on the + pin—avoiding input loading and slightly simplifying resistor math, while flipping output logic polarity (VOUT goes low above VTH).

What happens if the hysteresis band is made too wide?

Excessive hysteresis (ΔVH) introduces phase delay on periodic waveforms and reduces usable dynamic sensitivity—meaning small legitimate signal excursions inside the deadband fail to cross both thresholds and go completely undetected.

Can I add a small capacitor across the positive-feedback resistor?

Yes—with care. Placing a small 10 pF to 47 pF “speed-up” capacitor across a megaohm feedback resistor boosts AC positive feedback momentarily during switching edges to accelerate transitions, though excessive capacitance distorts threshold recovery time on fast pulse trains.

Why does my comparator still oscillate even with 5 mV of internal hysteresis?

If peak-to-peak input ripple or power-rail droop during heavy output switching exceeds 5 mV—or if high-impedance input traces run parallel to fast output traces—internal hysteresis is overwhelmed. Add external resistor feedback (ΔVH > 2× noisepp) and bypass VCC within 2 mm of the IC.

Is electronic comparator hysteresis the same thing as magnetic core hysteresis?

Both share the mathematical shape of a history-dependent loop, as noted in All About Circuits’ technical review, yet their roles differ: comparator hysteresis is engineered via positive feedback to reject voltage noise, whereas B-H magnetic hysteresis is an intrinsic ferromagnetic domain property that stores bits on media or dissipates core heat in inductors.

Should noisy analog sensors go through a comparator or an ADC with software hysteresis?

Use hardware comparators for microsecond fault interlocks, zero-crossing frequency counters, and wake-from-sleep interrupts. When full waveform logging is already handled by signal conditioning and ADC front-end ICs, implementing upper/lower thresholds in firmware offers effortless field recalibration.

Sourcing Voltage Comparators, Schmitt Triggers, and Precision Passives

Reliable threshold detection across industrial temperature ranges requires genuine push-pull and open-drain comparators, Schmitt-trigger single-gate logic, precision voltage references, and tight-tolerance thin-film resistors. Explore ChipApex’s electronic components catalog or reach out to ChipApex as your independent electronic components distributor for rapid BOM quotes and verified lot traceability.

Authoritative References & Further Reading

The prev: The next:

Related recommendations

Expand more!