A Schmitt trigger is a threshold circuit with hysteresis: its switching level depends on its current output state. An input rising through an upper threshold causes one transition, whereas an input falling through a lower threshold causes the reverse transition. Between the thresholds, the circuit retains the state reached previously. This makes a Schmitt trigger useful for turning a slowly varying or noisy signal into clean transitions, rather than repeatedly switching whenever noise crosses a single reference level.[ref]
Inverting Comparator With Hysteresis Circuit by Texas Instruments. SNOA997A, p. 1, Design Description; pp. 2–3, separate output-state equations
A simple inverting implementation puts the signal on the negative input of an electronic comparator. Connect its positive input to output through a resistor and to a reference through a resistor . Neglecting comparator input current, Kirchhoff's current law givesFor ideal high and low output levels , the input switches on a rise at and on a fall at . Thus the separation of the switching thresholds isThe output feeds back so as to reinforce its new state: after a rising input makes the output low, the positive-input threshold falls too.
For illustrative values , , , and , the thresholds are and . At an input of , the output can be either high or low, depending on the preceding trajectory. These chosen numbers describe the ideal circuit above, not a particular device specification.
An oscilloscope demonstration applies a slow triangular input with a small ripple and records input and output together. Compare the rising and falling transition levels, and then reduce the threshold separation to see when the ripple produces additional transitions. In a real circuit, input offset voltage, resistor tolerances, output loading and any internal hysteresis change the thresholds. An open-drain output also requires a pull-up resistor; its load must be included in the feedback calculation.[ref]
Inverting Comparator With Hysteresis Circuit by Texas Instruments. p. 1, Design Notes; pp. 2–3, pull-up and feedback network analysis
Articles by others on the same topic
A Schmitt trigger is an electronic circuit that acts as a bistable multivibrator and is designed to provide a clean switching action with hysteresis. It is commonly used to convert an analog input signal into a digital output signal. The key characteristics of a Schmitt trigger include: 1. **Hysteresis**: This means that the output state switches at different input voltage levels for rising and falling input signals.