What Is a Schmitt Trigger: Hysteresis Explained

A Schmitt trigger is an electronic circuit that cleans up messy signals by using two different threshold voltages instead of one. Where a simple comparator flips its output at a single voltage level, a Schmitt trigger requires the input to cross a higher voltage to switch one way and a lower voltage to switch back. That gap between the two thresholds is called hysteresis, and it’s what makes the circuit resistant to noise and signal jitter.

How Two Thresholds Solve the Noise Problem

A standard comparator watches an input voltage and compares it to a single reference. When the input rises above that reference, the output goes high. When it falls below, the output goes low. This works fine for clean, stable signals, but real-world signals almost always carry some noise: tiny, rapid voltage fluctuations riding on top of the actual signal.

When a noisy signal hovers near that single threshold, the comparator rapidly switches back and forth, producing a burst of false transitions instead of one clean switch. This is a serious problem in digital circuits, where each transition counts as a meaningful event.

A Schmitt trigger fixes this by introducing two separate switching points. The upper threshold (often called UTP) is the voltage the input must exceed to trigger a switch in one direction. The lower threshold (LTP) is the voltage the input must drop below to trigger the switch back. As long as the noise amplitude is smaller than the gap between these two thresholds, the circuit ignores it completely. The output stays locked in its current state until the input decisively crosses the appropriate threshold.

What Hysteresis Actually Means

Hysteresis is the difference between the upper and lower threshold voltages. If the upper threshold is 3.0 V and the lower threshold is 2.0 V, the hysteresis is 1.0 V. Any noise smaller than that 1.0 V gap won’t cause the output to switch.

This behavior creates a characteristic loop when you plot input voltage against output voltage. As the input rises, nothing happens until it hits the upper threshold, then the output snaps to its new state. As the input falls, the output holds steady until it crosses the lower threshold, then snaps back. The path going up is different from the path going down, which is exactly what “hysteresis” describes.

The width of the hysteresis band is a design choice. A wider gap provides more noise immunity but means the circuit is less sensitive to small, legitimate signal changes. A narrower gap responds to smaller signals but offers less noise protection. In practice, designers pick resistor values to set the thresholds exactly where they need them.

Inverting vs. Non-Inverting Types

Schmitt triggers come in two basic configurations. An inverting Schmitt trigger produces a low output when the input is above the upper threshold and a high output when the input drops below the lower threshold. The output is flipped relative to the input. A non-inverting version keeps the output in phase with the input: high output when the input is high, low output when it’s low.

Both types use positive feedback (a portion of the output fed back to the input side of the circuit) to create the two threshold levels. The feedback loop is what shifts the effective switching point up or down depending on the circuit’s current output state. In an inverting design built with an op-amp, the input connects to the inverting terminal and the feedback goes to the non-inverting terminal. The non-inverting version reverses this arrangement.

Common Real-World Uses

One of the most common applications is switch debouncing. When you press a mechanical button or flip a toggle switch, the metal contacts physically bounce for a few milliseconds, producing a rapid series of on-off-on transitions. A microcontroller reading that input might count dozens of presses from a single push. A Schmitt trigger between the switch and the microcontroller absorbs those bounces, delivering one clean transition per press.

Another widespread use is converting analog waveforms into digital signals. Feed a slow sine wave into a Schmitt trigger and you get a clean square wave out. The output snaps high when the sine wave crosses the upper threshold and snaps low when it crosses the lower threshold. This is useful for generating clock signals from analog oscillators or for interfacing analog sensors with digital logic.

Schmitt triggers also serve as the core of simple oscillator circuits. Connect a resistor and capacitor to a Schmitt trigger inverter and the capacitor charges until it hits the upper threshold, at which point the output flips, and the capacitor discharges until it hits the lower threshold, flipping the output again. This creates a continuous square wave with a frequency determined by the resistor and capacitor values. It’s one of the simplest oscillator designs in electronics.

How They’re Built

You can build a Schmitt trigger from discrete components or use one that’s already packaged in an integrated circuit. The discrete approach typically uses two transistors sharing a common resistor on their emitter pins. The key is that the two transistors have different collector resistor values, which creates the asymmetry needed for the two threshold levels. When one transistor turns on, it shifts the voltage conditions so the other transistor needs a different input level to take over.

Op-amp versions are straightforward to design. For an inverting Schmitt trigger, the threshold voltages are set by the ratio of two resistors and the op-amp’s maximum output voltage. Changing the resistor ratio widens or narrows the hysteresis band. This gives designers precise control over both threshold levels.

For most practical projects, though, off-the-shelf integrated circuits are the easiest option. The 74HC14, for example, is a widely available chip containing six independent inverting Schmitt triggers. At a 4.5 V supply, it has a typical hysteresis of about 0.98 V and a propagation delay of around 15 nanoseconds. At a lower 2.0 V supply, the hysteresis narrows to about 0.66 V and the delay increases to roughly 41 nanoseconds. These chips have been produced for decades across many logic families, from older 74xx series parts to modern ultra-low-power variants.

Schmitt Trigger vs. Standard Comparator

The core difference is that a comparator has one switching threshold while a Schmitt trigger has two. A comparator is the right choice when your signal is clean and stable, like a slowly changing temperature sensor reading that you want to compare against a fixed reference. But any time noise is present near the switching point, a comparator will produce erratic output.

A Schmitt trigger sacrifices a small amount of precision (because the switching point shifts depending on direction) in exchange for reliable, bounce-free output. In digital systems where you care about clean transitions more than exact voltage accuracy, that tradeoff is almost always worth it. This is why Schmitt trigger inputs are built into many microcontroller pins and why they’re standard in signal conditioning circuits that sit between the analog world and digital logic.

The Schmitt Trigger Symbol

On circuit diagrams, a Schmitt trigger is identified by a small hysteresis symbol inside the gate or buffer shape. It looks like a stylized square wave or a sideways “S” curve drawn inside the triangle of a standard logic gate. If you see that symbol on a datasheet or schematic, the input has built-in hysteresis, meaning it uses two thresholds rather than one. This is worth checking when selecting components, since the Schmitt trigger version of a logic gate behaves differently from its non-Schmitt counterpart when processing slow or noisy input signals.