Voice on an AM Carrier

Amplitude modulation is the simplest way to put sound on a radio wave: the voice waveform sets the amplitude of a carrier. This page follows one vowel, or a clip you load, from the microphone to the antenna and back through a diode receiver, then removes the carrier and one sideband to arrive at single sideband (SSB). Every plot and sound is computed from the settings on the bench. Switch the message source to FT8 packet to send a digital message through the same chain and decode it at the end.

  1. m(t)
  2. 1 + μm(t)
  3. × cos 2πfct
  4. sidebands
  5. phasors
  6. envelope detector
  7. DSB-SC
  8. SSB
  9. product detector
  10. compare
  11. real numbers

The transmitter as blocks

Only three things happen to the voice signal. It is band-limited, raised by a constant so it never goes negative, and multiplied by a sine wave from an oscillator. Click a block to jump to that step.

1

The message: a voice

A microphone turns air pressure into a voltage, which is the message m(t). A sustained vowel is almost periodic: the vocal folds pulse at the pitch f0, so the spectrum is a comb of harmonics at multiples of f0. The shape of the vocal tract emphasizes some harmonics over others, and those peaks (formants) make "ah" sound different from "ee". Before modulation, the audio is low-passed to a bandwidth W, and that number sets how much radio spectrum the station will occupy.

m(t) = Σk ak cos(2π k f0 t + θk), k f0 ≤ W, scaled so the deepest negative swing is −1
2

Raise it above zero

An amplitude can't be negative, but the voice swings both ways. So scale it by the modulation index μ and add 1. The result, 1 + μm(t), becomes the carrier's amplitude, called the envelope. As long as μ ≤ 1 it stays non-negative, and the shape of the voice is copied exactly into the envelope. Above 1, the envelope would need to go negative, which isn't possible; the receiver instead sees |1 + μm|, and that folding distorts the sound. Try μ = 1.3 and listen.

envelope = 1 + μ·m(t) must stay ≥ 0, so μ ≤ 1
3

Multiply by the carrier

The oscillator produces a carrier, cos 2πfct, at a frequency far above audio. The modulator multiplies it by the envelope. In the 20 ms view the carrier oscillates too fast to resolve, so it appears as a solid band whose outline is the voice. The zoomed view shows the individual cycles: they all have the same frequency and phase, and only their height follows 1 + μm(t).

x(t) = Ac [1 + μm(t)] · cos 2πfct
4

Where the voice ends up in frequency

Expanding the product reveals the spectrum. The constant 1 times the carrier is a single line at fc. The term μm(t)·cos 2πfct places two copies of the voice spectrum next to it: an upper sideband, which is the voice shifted up by fc, and a lower sideband, which is the same shift but mirrored. A component at 720 Hz in the voice shows up at fc + 720 Hz and fc − 720 Hz. As a result, the station occupies 2W of spectrum.

x(t) = cos 2πfct + ½μ·m(t)·[ ej2πfct + e−j2πfct ] ⟹ X(f) ⊃ ½δ(f−fc) + ½μ·[M(f−fc) + M(f+fc)]

5

Why two sidebands: phasors

Take a single tone, m = cos ωmt, and write the cosine as two counter-rotating exponentials. The AM signal then becomes three rotating arrows: the carrier, plus two arrows of length μ/2 turning at ωc + ωm and ωc − ωm. Relative to the carrier, the sidebands rotate in opposite directions, so their sideways components cancel. The sum therefore always points along the carrier, and only its length changes. That length is the envelope. A voice is many tones at once, so its sidebands are many such pairs.

[1 + μ cos ωmt]·ejωct = ejωct + (μ/2)ej(ωc+ωm)t + (μ/2)ej(ωc−ωm)t

The view and pause controls are in the bench panel.

6

Getting the voice back: the envelope detector

A crystal-set receiver needs no oscillator. A tuned circuit selects the station, and a diode conducts only near each positive carrier peak, charging a capacitor up to that peak. Between peaks, the capacitor discharges through a resistor. The voltage across it follows the peaks, which trace the envelope. A series capacitor then blocks the constant 1, leaving μm(t).

The RC time constant must satisfy two limits. It has to be much longer than one carrier period, or the output ripples at fc. It also has to be short enough to follow the envelope as it falls, or the output lags along an exponential (diagonal clipping). For a tone at W, the limit is RC ≤ √(1−μ²) / (2πWμ).

1/fc ≪ RC ≤ √(1 − μ²) / (2πWμ)

Noise enters at the antenna. Its level is set by the carrier-to-noise ratio C/N, measured over the 2W the station occupies. The tuned circuit, here a single resonator with bandwidth 3W, passes the station along with the noise inside its passband. Above threshold, the detector output is the voice plus hiss, with SNRout ≈ 2μ²⟨m²⟩·C/N. Once the noise envelope inside the tuned circuit regularly exceeds the carrier, the output falls away faster than that formula: the threshold effect, specific to envelope detection. Where it starts depends on the predetection bandwidth. With this narrow 3W resonator the simulation follows the formula down to about 0 dB C/N in 2W; a wider front end reaches threshold sooner. The note below flags it when the measured SNR falls more than 1.5 dB under the formula.

received = x(t) + n(t) → tuned circuit → detector SNRout ≈ 2μ²⟨m²⟩ · C/N (above threshold)

7

Drop the carrier: DSB-SC

Step 4 showed that the carrier line holds most of the power and none of the voice. Removing the 1 from 1 + μm(t) and multiplying the voice directly by the carrier gives double-sideband suppressed-carrier (DSB-SC). The spectrum keeps both sidebands and loses the line at fc. In hardware this is a balanced modulator: two mixers wired so the carrier cancels and only the products remain.

x(t) = m(t) · cos 2πfct
Zoom on a zero crossing of m(t). The carrier flips by 180°; the envelope touches zero and bounces back.
Both sidebands, no line at f_c.

The cost appears at the receiver. The envelope is now |m(t)|, so the diode detector from step 6 outputs a rectified voice. The receiver must instead multiply by its own copy of the carrier and low-pass filter, which is a product detector. The two sidebands then fold onto the same audio frequencies and add with weight cos φ, where φ is the phase error of the local oscillator. At φ = 90° they cancel completely.

LPF{ x(t) · 2cos(2πfct + φ) } = m(t) · cos φ

The φ slider is in the bench panel.

8

Drop a sideband: SSB

The lower sideband is the upper sideband mirrored, so it carries no additional information. Removing it fits the voice into W of spectrum instead of 2W. One way to do this is to follow a balanced modulator with a sharp filter (the filter method, which used crystal filters in classic rigs). The other is the phasing method below, which builds the one-sided spectrum directly.

xUSB(t) = m(t) cos 2πfct − m̂(t) sin 2πfct = Re{ [m + jm̂] · ej2πfct }

m̂ is the Hilbert transform of m: every frequency component of the voice shifted by −90°. Its magnitude spectrum is unchanged, so it sounds the same, but the waveform looks different. The pair m + jm̂ is the analytic signal, whose spectrum is zero at negative frequencies. This is an I/Q modulator with I = m and Q = m̂, the same structure as the digital chain. Because the complex envelope has nothing at negative frequencies, nothing lands below fc. Flipping the sign of the Q branch gives the lower sideband.

The USB / LSB switch is in the bench panel.

Same harmonics, each shifted by a quarter cycle. Peaks of m(t) sit near zero crossings of m̂(t).
The SSB envelope is |m + jm̂|, a smoothed outline that is not the voice waveform. An envelope detector cannot recover m from it.
9

Receiving SSB: filter, then beat

The receiver selects the sideband with a filter W wide and multiplies by a local oscillator, historically called the beat-frequency oscillator (BFO), then low-pass filters. With DSB-SC, an LO error appeared as a loss of amplitude. With SSB, a phase error only rotates every audio component by the same angle, which the ear barely notices. A frequency error matters instead: an LO that is off by Δf shifts every component of the voice by Δf. Harmonics at k·f0 move to k·f0 − Δf and stop being harmonics. That produces the familiar "Donald Duck" sound of a mistuned SSB signal. Operators tune until the voice sounds natural, typically to within a few tens of hertz. The simulation implements this filter-and-beat receiver in its Weaver form: mix with an oscillator at the middle of the sideband, low-pass at W/2, and mix back up. The result is the same, apart from a fraction of a dB lost at the lowest audio frequencies.

USB in, LO at fc + Δf ⟹ audio component f → f − Δf (all shifted by the same Δf, not scaled)

The Δf slider is in the bench panel.

10

Same power, same noise, three systems

Each transmitter below has the same average power and is received through the RF noise set on the bench. Write γ = P/(N0W) for the ratio of transmitted power to the noise power in one audio bandwidth. AM with an envelope detector reaches η·γ, where η is the voice's share of the power from step 4. DSB-SC and SSB with product detectors both reach γ. In DSB-SC the two sidebands add coherently, but its receiver also passes twice the noise bandwidth, so the two effects cancel. SSB therefore matches DSB-SC in SNR while using half the spectrum, and it beats AM by 1/η.

11

Real numbers

This page simulates a 100 kHz-range carrier sampled at 480 kHz so that every cycle can be computed and drawn. A broadcast transmitter behaves the same way, only with many more carrier cycles under each voice cycle (about ten times the default here), which makes the detector's job easier.

540–1700 kHzUS AM broadcast band, with stations on a 10 kHz channel grid.
Occupied bandwidth at your W. Twice the audio bandwidth, because both sidebands are transmitted.
Share of transmitted power carrying the voice with your settings. The carrier line carries the rest and no information.
~1 µs per cycleAt 1 MHz. An RC of about 20 µs smooths that easily and still follows full-scale 5 kHz content at μ = 0.8.

Amateur HF voice, marine and aviation HF, and the rigs that carry FT8 all use SSB. FT8 in particular is an audio signal fed into the phasing or filter path of step 8. Its single tone at a time comes out of the transmitter as a single RF line, exactly fc above its audio frequency.