Chapter 2
Wiggling the knobs: modulation
Chapter 1 gave us a signal with three knobs, $V(t) = A\cos(2\pi\nu_0 t + \varphi)$. Noise, when it arrives in later chapters, will be nothing but these knobs being wiggled randomly. So before touching randomness we wiggle each knob with the simplest possible motion — a single sinusoid — and learn everything there is to know about sidebands in a setting where every line can be checked by hand.
Amplitude modulation
Wiggle the amplitude knob sinusoidally at a modulation frequency $f_m$, with a fractional modulation depth $m$:
$$ V(t) = A_0\big[1 + m\cos(2\pi f_m t)\big]\cos(2\pi\nu_0 t). $$
In the time domain this is a carrier whose envelope breathes. To see what it is in the frequency domain, just multiply out and use the product-to-sum identity $\cos a \cos b = \tfrac12\cos(a+b) + \tfrac12\cos(a-b)$:
$$ \begin{aligned} V(t) = A_0\cos(2\pi\nu_0 t) &\;+\; \frac{mA_0}{2}\cos\!\big(2\pi(\nu_0 + f_m)t\big) \\[2pt] &\;+\; \frac{mA_0}{2}\cos\!\big(2\pi(\nu_0 - f_m)t\big). \end{aligned} $$
No approximation was made: an amplitude-modulated tone is exactly three pure tones. The original carrier at $\nu_0$ is untouched, and two new lines — sidebands — appear symmetrically at $\nu_0 \pm f_m$, each with amplitude $mA_0/2$. Since power goes as amplitude squared, each sideband carries a fraction
$$ \frac{P_{\text{sideband}}}{P_{\text{carrier}}} = \frac{m^2}{4}, \qquad\text{i.e.}\qquad 20\log_{10}\!\frac{m}{2}\ \text{dBc} $$
of the carrier power ("dBc" = decibels relative to the carrier). A 20% modulation depth puts each sideband 20 dB below the carrier; 2% puts it 40 dB down. Check the prediction against the live spectrum:
Left: the time trace with its breathing envelope (dashed). Right: the spectrum — always exactly three lines. The depth $m$ sets the sideband height; $f_m$ sets their spacing from the carrier. The dashed horizontal line is the prediction $20\log_{10}(m/2)$ dBc below the carrier — the sideband peaks must touch it.
Note what the two sidebands are doing, because it echoes the beats of chapter 1 in reverse: there, two tones made a breathing envelope; here, a breathing envelope is two tones flanking the carrier. Sidebands are not a metaphor — a spectrum analyzer really shows three resolvable lines, and you can filter one out with a sharp enough filter.
Phase modulation
Now wiggle the phase knob instead, by $\beta$ radians at frequency $f_m$:
$$ V(t) = A\cos\!\big(2\pi\nu_0 t + \beta\sin(2\pi f_m t)\big). $$
The number $\beta$ is called the modulation index and it is measured in radians — it is the peak phase excursion. For small excursions, expand with $\cos(x + \epsilon) \approx \cos x - \epsilon\sin x$:
$$ V(t) \approx A\cos(2\pi\nu_0 t) \;+\; \frac{A\beta}{2}\cos\!\big(2\pi(\nu_0 + f_m)t\big) \;-\; \frac{A\beta}{2}\cos\!\big(2\pi(\nu_0 - f_m)t\big), $$
where the last step used $\sin a \sin b = \tfrac12\cos(a-b) - \tfrac12\cos(a+b)$. Again a carrier and two sidebands at $\nu_0 \pm f_m$, each of amplitude $A\beta/2$ — the same sideband amplitude as an AM signal with $m = \beta$. The only difference is that minus sign on the lower sideband.
What happens when $\beta$ is not small? The expansion doesn't stop at first order. The exact result is one of the prettiest identities in applied mathematics — the Jacobi–Anger expansion in terms of Bessel functions $J_n$:
$$ e^{\,i\beta\sin\theta} \;=\; \sum_{n=-\infty}^{\infty} J_n(\beta)\, e^{\,in\theta}, $$
which turns the phase-modulated tone into an exact sum of pure tones,
$$ V(t) = A \sum_{n=-\infty}^{\infty} J_n(\beta)\, \cos\!\big(2\pi(\nu_0 + n f_m)t\big). $$
Phase modulation generates a ladder of sidebands at every harmonic $\nu_0 \pm n f_m$, with amplitudes $J_n(\beta)$ (and $J_{-n} = (-1)^n J_n$, so the ladder is symmetric in magnitude). Three facts to take away:
- For $\beta \ll 1$, $J_0 \approx 1$, $J_1 \approx \beta/2$, and higher orders scale as $\beta^n$ — recovering the small-$\beta$ result.
- Total power is conserved: $\sum_n J_n^2(\beta) = 1$. The envelope never changes (the arrow keeps length $A$), so power taken by sidebands is stolen from the carrier.
- The carrier amplitude is $J_0(\beta)$, which passes through zero at $\beta \approx 2.405$: drive the phase hard enough and the carrier vanishes entirely, with all the power in sidebands.
Left: the time trace. Unlike AM, the envelope stays pinned at $\pm A$ — it is the zero crossings that shift back and forth (compare against the faint unmodulated carrier). Right: the spectrum on a log scale. Raise $\beta$ and watch sidebands sprout at every multiple of $f_m$; near $\beta = 2.405$ the carrier itself dies.
The phasor picture of sidebands
Here is the deepest intuition in this chapter — the picture that will let you see the difference between amplitude and phase noise in chapter 6. Climb into the frame rotating with the carrier at $\nu_0$ (chapter 1's rotating arrow, viewed from a co-rotating camera). In this frame the carrier is a frozen arrow of length $A$. The upper sideband, at $\nu_0 + f_m$, rotates faster than the frame, so it appears as a small arrow turning counter-clockwise at $f_m$; the lower sideband turns clockwise at $f_m$. Two small counter-rotating arrows riding on the tip of a big one — that is what modulation looks like.
Everything is in how the two small arrows are phased. Write the complex envelope (the signal with the carrier rotation divided out), with $\theta = 2\pi f_m t$:
$$ \text{AM:}\quad 1 + \tfrac{m}{2}e^{\,i\theta} + \tfrac{m}{2}e^{-i\theta} = 1 + m\cos\theta \qquad\text{(real: } \parallel \text{ carrier)}, $$
$$ \text{PM:}\quad 1 + \tfrac{\beta}{2}e^{\,i\theta} - \tfrac{\beta}{2}e^{-i\theta} = 1 + i\beta\sin\theta \qquad\text{(imaginary: } \perp \text{ carrier)}. $$
For AM the two arrows are mirror images about the carrier: their sum always lies along the carrier, so the tip slides in and out — the length breathes, the angle never moves. For PM the lower arrow is flipped by 180° (that minus sign): the pair's sum is always perpendicular to the carrier, so the tip swings side to side — the angle wobbles, the length (to first order) never changes. Same two arrows, one relative sign, completely different physics.
The long arrow is the carrier; the two short ones are the first-order sidebands, counter-rotating at $\pm f_m$ in the rotating frame; the faint copies show the same two sidebands as phasors from the origin — what the spectrum analyzer sees: three tones. Switch AM ↔ PM and watch the resultant's tip path rotate by 90°: along the carrier (breathing length) for AM, across it (swinging angle) for PM. Then switch to the lab frame: the carrier spins at $\nu_0$, the upper sideband slightly faster, the lower slightly slower — modulation is this three-arrow race, and the rotating frame is just the view from the carrier's saddle. Press play.
One more payoff hides in the PM picture. The first-order tip path is a straight line tangent to the circle of radius $A$ — but the true PM signal has constant length, so its tip really moves on the faint circular arc. The gap between the straight line and the arc is second order in $\beta$, and it is precisely what the higher-order Bessel sidebands are for: adding $J_2, J_3, \dots$ terms bends the straight line onto the arc. Small $\beta$: line ≈ arc, two sidebands suffice. Large $\beta$: you need the whole ladder.
Frequency modulation
The third knob. Wiggle the frequency sinusoidally with peak frequency deviation $\Delta\nu$:
$$ \nu(t) = \nu_0 + \Delta\nu \cos(2\pi f_m t). $$
Chapter 1's one-liner — frequency is the slope of phase, $\nu(t) = \dot\Phi/2\pi$ — tells us exactly what signal this is. To get the phase, integrate:
$$ \Phi(t) = 2\pi\!\int_0^t \nu(t')\,dt' = 2\pi\nu_0 t + \frac{\Delta\nu}{f_m}\,\sin(2\pi f_m t). $$
Compare with the PM waveform above: FM is PM with modulation index
$$ \beta = \frac{\Delta\nu}{f_m}. $$
There is no third kind of modulation — only the amplitude knob and the phase knob, with FM being the phase knob driven through an integrator. But the formula $\beta = \Delta\nu/f_m$ has a consequence that trips people up constantly: the same frequency deviation produces a very different spectrum depending on how fast you wiggle.
- Narrowband FM ($f_m \gg \Delta\nu$, so $\beta \ll 1$): two puny sidebands at $\nu_0 \pm f_m$, carrier barely touched. Fast, gentle wiggling hardly disturbs the phase.
- Wideband FM ($f_m \ll \Delta\nu$, so $\beta \gg 1$): a dense forest of Bessel sidebands filling the band the instantaneous frequency actually sweeps, $\nu_0 \pm \Delta\nu$.
A serviceable estimate covering both limits is Carson's rule for the bandwidth containing ~98% of the power:
$$ B \approx 2\,(\Delta\nu + f_m). $$
Left: the instantaneous frequency $\nu(t)$ you are programming. Right: the resulting spectrum, with Carson's-rule edges dashed. Now hold $\Delta\nu$ fixed and raise $f_m$: the sidebands spread apart but the ladder thins out, because $\beta = \Delta\nu/f_m$ drops — watch the readout.
Noise is modulation at every frequency at once
Now the point of the whole exercise. A noisy oscillator is $V(t) = A\cos(2\pi\nu_0 t + \varphi(t))$ with $\varphi(t)$ a random wiggle. But any $\varphi(t)$ can be decomposed into Fourier components — a sum of sinusoidal phase modulations, one at every frequency $f$, each with its own tiny index $\beta(f) \ll 1$. Each component does exactly what this chapter taught: it plants one pair of sidebands at $\nu_0 \pm f$, of power $\beta(f)^2/4$ relative to the carrier, with the PM phase signature. Sum over all components and the discrete sidebands merge into a continuous noise pedestal hugging the carrier — the "skirt" you see around every real oscillator's line on a spectrum analyzer. A phase-noise pedestal is nothing but a continuum of PM sidebands. Making this quantitative — how the pedestal's shape encodes the spectral density of $\varphi(t)$ — needs the language of random processes (chapter 3) and spectral densities (chapter 4), and pays off in chapter 6, where the picture becomes the working definition of phase noise $\mathcal{L}(f)$.
The same thing in code
The honest way to synthesize a phase- or frequency-modulated signal — and the way the FM demo above actually does it — is to accumulate the phase sample by sample, advancing it at the instantaneous frequency. This works for any $\nu(t)$, including the random ones of later chapters:
// synthesize V(t) = A cos Φ(t) with ν(t) = ν0 + Δν cos(2π f_m t)
let phi = 0; // Φ(0)
for (let i = 0; i < N; i++) {
const t = i / fs;
const nu = nu0 + dnu * Math.cos(2 * Math.PI * fm * t);
V[i] = A * Math.cos(phi);
phi += 2 * Math.PI * nu / fs; // dΦ = 2π ν(t) dt
}
The single line phi += 2 * Math.PI * nu / fs is chapter 1's
"frequency is the slope of phase", run forward as a numerical integral.
Replace the cosine by a random sequence and you have synthesized
frequency noise; that is literally how the demos of chapter 6 work.
Exercises
An AM signal has modulation depth $m = 0.2$. How far below the carrier does each sideband sit, in dBc? Check with the first demo.
Solution
Each sideband has amplitude $m/2 = 0.1$ relative to the carrier, so its relative power is $m^2/4 = 0.01$, i.e. $20\log_{10}(0.1) = -20$ dBc. A handy anchor to memorize: 20% AM (or $\beta = 0.2$ rad of PM) ⇒ sidebands at −20 dBc; every factor of 10 in $m$ moves them 20 dB.
You drive an EOM harder and harder until the optical carrier vanishes on a scanning cavity. What is the modulation index, and what fraction of the optical power is now in each first-order sideband?
Solution
The carrier amplitude is $J_0(\beta)$, whose first zero is at $\beta \approx 2.405$ rad. There, $J_1(2.405) \approx 0.519$, so each first-order sideband holds $J_1^2 \approx 0.27$ — about 27% of the total power, or 54% in the pair. (The remainder sits in higher orders: $2J_2^2 \approx 37\%$, $2J_3^2 \approx 8\%$, …, summing to 1 because $\sum_n J_n^2 = 1$.)
Broadcast FM uses a peak frequency deviation $\Delta\nu = 75$ kHz to carry audio up to $f_m = 15$ kHz. What is the modulation index at the highest audio frequency, and roughly what bandwidth does one station occupy by Carson's rule?
Solution
$\beta = \Delta\nu/f_m = 75/15 = 5$ — solidly wideband FM, so expect a Bessel ladder of ~$\beta + 1$ significant sideband orders. Carson: $B \approx 2(\Delta\nu + f_m) = 2(75 + 15) = 180$ kHz. That is why FM stations are spaced 200 kHz apart on the dial.
Narrowband PM has the same sideband magnitudes as AM, but the lower sideband is flipped by 180°. Using the phasor picture, show that this flip is forced: if both sidebands had the AM sign, the resultant's angle could not wobble; with the flip, its length cannot (to first order).
Solution
With the AM signs the pair sums to $\tfrac{m}{2}e^{i\theta} + \tfrac{m}{2}e^{-i\theta} = m\cos\theta$: the imaginary parts of the two counter-rotating arrows always cancel, so the sum is pinned parallel to the carrier — pure length change, zero angle change. Flip the lower arrow's sign and it is the real parts that cancel: $\tfrac{\beta}{2}e^{i\theta} - \tfrac{\beta}{2}e^{-i\theta} = i\beta\sin\theta$, pinned perpendicular — the tip swings the angle by $\approx \beta\sin\theta$ while the length changes only at $O(\beta^2)$. The relative sideband phase is the only place the AM/PM distinction lives.
You heterodyne a laser against a reference, producing a beat $V(t) \propto \cos(2\pi\nu_b t + \varphi(t))$, and demodulate it with an IQ (two-quadrature) mixer locked to the mean beat phase. The laser has a residual amplitude modulation (RAM) at $f_m$ from an imperfect modulator. In which demodulated quadrature does the RAM appear, and where does the laser's phase noise appear?
Solution
In the frame rotating at the beat frequency, the phasor picture applies directly: amplitude modulation moves the resultant along the mean phasor, phase modulation across it. So RAM shows up in the in-phase (I) quadrature and phase noise in the quadrature (Q) component. This is precisely how an IQ demodulator (or a lock-in) separates amplitude noise from phase noise on the same beat — and why a spectrum analyzer, which measures only $I^2 + Q^2$ magnitudes, cannot (see the callout above, and chapter 6).