Oscillators

Oscillators generate repeating signals — the heartbeat of every digital system and radio. Learn the Barkhausen criterion, RC phase-shift and Wien-bridge oscillators, LC Colpitts/Hartley, crystal oscillators and their stability, relaxation oscillators and the 555 timer, VCOs and PLLs.

Every microcontroller needs a clock, every radio needs a local oscillator, and every PWM needs a timebase. Oscillators use positive feedback (or a charging/discharging cycle) to sustain oscillation at a frequency set by R, C, L or a quartz crystal.

An analogy

An oscillator is like a child on a swing: timely small pushes (positive feedback) keep the swing going at its natural frequency.

How oscillation starts

Noise contains all frequencies; the frequency-selective network passes one frequency with 0° (360°) total loop phase. If loop gain > 1 there, it grows until amplitude limiting (non-linearity or AGC) reduces gain to exactly 1.

RC and LC oscillators

RC types (phase-shift, Wien) suit audio frequencies; LC types (Colpitts, Hartley, Clapp) suit RF from ≈ 100 kHz to GHz. The Wien bridge needs gain 3 with amplitude stabilisation (lamp, diodes, JFET).

Crystal oscillators

Quartz crystals resonate mechanically with Q of 10⁴–10⁶, giving ±10–50 ppm accuracy (TCXO ±0.5 ppm, OCXO ±0.01 ppm). MCUs use a Pierce oscillator with two load capacitors; 32.768 kHz crystals keep real-time clocks.

Relaxation oscillators, VCOs and PLLs

Relaxation oscillators (555, Schmitt + RC) charge and discharge a capacitor. VCOs change frequency with voltage (varactors). PLLs lock a VCO to a reference, multiplying frequency — used to generate CPU clocks and RF carriers. Phase noise and jitter are key specs.

Formulas

Worked example: Wien and phase-shift

Given: R = 10 kΩ, C = 10 nF

Find: Frequencies.

Answer: 1.59 kHz (gain 3) and 650 Hz (gain 29)

Worked example: Colpitts

Given: L = 10 µH, C₁ = C₂ = 1 nF

Find: f₀.

Answer: 2.25 MHz

Common mistakes

Applications

Key takeaways

Going further