Home/Analog Electronics/Op-amp applications/Schmitt trigger

Schmitt trigger using Op-Amp (IC 741) – Virtual Lab

A Schmitt trigger is a comparator with positive feedback. The feedback creates two different switching levels, the upper and lower threshold points, so a noisy input cannot make the output chatter.

Aim

To build an inverting Schmitt trigger using IC 741, measure its upper and lower threshold voltages and observe the hysteresis loop.

Circuit components

ComponentValuePurpose
IC 741OA1—
R110 kΩ+ input to ground
R222 kΩPositive feedback, output to + input

Supply: ±12 V dual power supply. Instruments: function generator and two-channel digital storage oscilloscope, all on the virtual bench.

Theory

The divider R1–R2 feeds a fraction of the output back to the + input. When the output is +Vsat, the + input sits at VUT; the output stays high until the input on the − terminal rises above VUT. The output then switches to −Vsat and the + input drops to VLT, so the input must now fall below VLT before the output switches back.

Because the input drives the − terminal, the circuit is an inverting Schmitt trigger: a rising input makes the output go low. The positive feedback also makes the switching regenerative, so the output changes state cleanly even for a slowly varying input.

Plotting Vo against Vin (X-Y mode) gives a rectangular hysteresis loop whose width is the hysteresis voltage. The input must swing beyond both thresholds, more than 6.6 Vpp here, or the output never changes state.

VUT = +Vsat × R1/(R1 + R2) = 10.5 × 10/32 ≈ +3.3 V
VLT = −Vsat × R1/(R1 + R2) ≈ −3.3 V
Hysteresis VH = VUT − VLT ≈ 6.6 V

Procedure

  1. Open the Op-Amp Trainer Kit simulator; it starts with the Schmitt trigger application selected.
  2. In Guided mode follow the highlighted connections to place the components from the parts bank and wire the circuit on the kit, or wire it yourself in Free mode.
  3. Set the dual power supply to ±12 V and switch it on.
  4. Switch on the function generator and set: Sine, 10 Vpp, 100 Hz.
  5. Connect CH1 and CH2 of the oscilloscope as shown and set: CH1 2 V/div, CH2 5 V/div, 2 ms/div, then X-Y mode.
  6. Note the input voltage at the instant the output falls (VUT) and at the instant it rises (VLT).
  7. Press X-Y on the DSO to display the hysteresis loop and measure its width.
  8. Reduce the input below 6 Vpp and observe that the output no longer switches.
  9. Capture the oscilloscope screen and compare it with the expected result below.
Function generatorSine, 10 Vpp, 100 HzOscilloscopeCH1 2 V/div, CH2 5 V/div, 2 ms/div, then X-Y modeSupply±12 V, ON

Expected result

The output switches low at about +3.3 V and high at about −3.3 V. The X-Y display shows a rectangular hysteresis loop about 6.6 V wide and 21 V high.

Viva questions

Why is a Schmitt trigger called a regenerative comparator?
Its positive feedback reinforces any change at the output, so once switching starts the output is driven rapidly to the other saturation level.
What is hysteresis and why is it useful?
Hysteresis is the difference between the upper and lower threshold voltages. It prevents false multiple switching when a noisy signal is near the threshold.
How can the thresholds be made unequal?
Connect the bottom of R1 to a reference voltage instead of ground; both thresholds then shift by an amount set by that reference.
Name some applications of a Schmitt trigger.
Squaring noisy signals, switch debouncing, and as the switching element of astable multivibrators and triangle-wave generators.

Other op-amp applications