Module 13: Oscillators and Signal Sources
Almost every piece of electronic equipment contains at least one oscillator. The crystal next to a microcontroller sets the pace of every instruction it executes. The oscillator in a quartz watch counts the seconds; the one in a function generator produces test signals; the ones in a radio receiver, a Wi-Fi module or a GPS receiver select the frequency they work on. A switching power supply, a class D amplifier and an LED dimmer all contain an oscillator setting their switching rate. This module explains exactly how oscillators work — from the basic conditions for sustained oscillation all the way to the digital synthesis techniques inside modern signal generators and wireless chips.
- State the Barkhausen criterion and explain how an oscillator starts and limits its amplitude
- Analyze Colpitts, Clapp and Hartley LC oscillators and calculate their frequency
- Explain how quartz crystals give oscillators their stability, and compare XO, TCXO and OCXO
- Identify the causes of frequency drift and microphonics and how to reduce them
- Describe how a phase-locked loop locks one oscillator to another
- Explain integer-N and fractional-N synthesizers and their step size and phase noise
- Explain how direct digital synthesis builds a waveform from a lookup table and a DAC
Module Overview
Oscillators appear everywhere. The clock that drives a microcontroller or a computer is an oscillator. So is the timebase of a frequency counter or an oscilloscope, the local oscillator in a superheterodyne receiver, the carrier source in a wireless transmitter chip, the reference in a GPS receiver, and the heart of every signal generator. Understanding how oscillators work is therefore central to understanding how a great deal of electronic equipment functions.
This module begins with the universal conditions required for oscillation — the Barkhausen criterion — which applies to every oscillator regardless of its technology. It then covers the two classic LC oscillator circuits, the Colpitts and Hartley, which form the basis of most RF signal sources, from simple projects to commercial equipment. From there the module moves to crystal oscillators, which trade tunability for exceptional frequency stability, and to the drift and microphonics that affect all variable-frequency oscillators.
The second half of the module covers the modern approach to frequency generation. Phase-locked loops (PLLs) allow a single stable reference oscillator to control a variable-frequency oscillator, locking it to exact multiples of the reference frequency — the same technique that multiplies a 25 MHz crystal up to the gigahertz clocks of a computer processor. Frequency synthesizers extend this to generate thousands of precise frequencies from a single crystal reference, as every channelized radio and wireless chip does. Finally, direct digital synthesis (DDS) builds the output waveform mathematically in the digital domain and converts it to an analog signal — the technology inside most modern function and arbitrary waveform generators.
Lessons
What Makes an Oscillator
What Makes an Oscillator
Positive feedback, the Barkhausen criterion, how oscillation starts from noise and how its amplitude is limited, and the main oscillator families.
Feedback and Stability
Feedback and Stability
Loop gain and phase, amplitude limiting and its effect on purity, frequency stability, Q, and warm-up drift.
Colpitts Oscillator
Colpitts Oscillator
The capacitive-tap LC oscillator — circuit analysis, frequency formula, the Clapp variant, and worked frequency calculations.
Hartley Oscillator
Hartley Oscillator
The inductive-tap LC oscillator, its frequency formula, tuning range, and how it compares with the Colpitts.
Crystal Oscillators
Crystal Oscillators
Why quartz is so stable, series and parallel resonance, Pierce and other crystal oscillator circuits, and XO, TCXO and OCXO grades.
VFO Stability and Drift
VFO Stability and Drift
What makes a variable-frequency oscillator drift, how temperature coefficients add up, and the design techniques that keep it stable.
Thermal Drift and Microphonics
Thermal Drift and Microphonics
Temperature compensation, NP0 and N750 capacitors, mechanical vibration, and how to make an oscillator quiet and steady.
Phase Locked Loops
Phase Locked Loops
The phase detector, loop filter and VCO, lock range and capture range, and how a PLL makes one oscillator follow another.
Frequency Synthesizers
Frequency Synthesizers
Integer-N and fractional-N PLL synthesizers, programmable dividers, step size, phase noise, and modern synthesizer ICs.
Direct Digital Synthesis
Direct Digital Synthesis
Phase accumulators, lookup tables and DACs, frequency resolution, spurs and the reconstruction filter, and DDS chips such as the AD9833.