LearnTronics
Op-Amp Relaxation Oscillator
Recipe #30 — op-amp relaxation oscillator
An oscillator can also be built from a comparator or op amp. Positive feedback supplies two switching thresholds while an RC network supplies the delay between switching events.
The 555 is not magic
This circuit exposes the same general ingredients: a capacitor ramp, threshold comparison, and positive feedback. The 555 conveniently places similar decision-making blocks and a discharge switch inside one package.
Square wave out, ramp on the capacitor
The output snaps between its two limits, while C1 changes more gradually. Those two different waveforms are both useful: a square wave for switching and timing, and a ramp-like waveform for modulation or waveform generation.
The drawing uses a centered/bipolar-supply concept so ground can serve as the midpoint reference. A single-supply version normally biases the circuit around a mid-supply reference instead. A real op amp or comparator must also be chosen for input common-mode range, output swing, and desired frequency.