Back to Circuits
Switching

Schmitt Trigger Oscillator

Op-amp with positive feedback creates hysteresis. Observe clean switching thresholds VUT and VLT.

Shareable Launch Link

Key Components

  • Op-Amp
  • RC Network
  • Dual Supply

Simulation Analysis

Transient

This template comes pre-configured with a transient profile. Just click the "Run" button inside the simulator to instantly view the waveform output.

Circuit Theory & Operating Principle

An op-amp relaxation oscillator combines positive feedback hysteresis (Schmitt trigger) with an RC charging network on the inverting input. Because positive feedback splits the switching threshold into an upper trip point VUT and lower trip point VLT, output snaps HIGH and charges capacitor C upward until hitting VUT, then immediately flips LOW and discharges C downward to VLT—creating a self-sustaining square/triangle oscillation without external clocks.

Setting equal positive-feedback resistors creates symmetric hysteresis thresholds ±Vsat/2, tying oscillation period directly to τ = R·C. True hysteresis makes Schmitt triggers immune to input noise near transition regions, making them essential both for self-starting oscillators and for hardware switch debouncing.

Key Design Equations

  • β = R1 / (R1 + R2), VUT = +β·Vsat, VLT = −β·Vsat
  • T_osc = 2 × R × C × ln((1 + β) / (1 − β))
  • f_osc ≈ 1 / (2.2 × R × C) when β = 0.5

Typical Component Values

  • Feedback hysteresis divider: R1 = 10 kΩ, R2 = 10 kΩ (β = 0.5)
  • Timing RC network: Rt = 10 kΩ, Ct = 100 nF
  • Supply rails: ±5 V or +5 V single-supply with mid-rail reference

Expected SPICE Simulation Result

Output generates crisp square transitions between upper and lower rails while the inverting input oscillates as an exponential triangle ramp bounded precisely between VLT and VUT.

Related Circuits & Interactive Guides