The Envelope Detector for AM: Design and Distortion
How a diode envelope detector works, how to choose the RC time constant, and how to avoid diagonal clipping and negative peak clipping, with a worked design.
The simplest receiver
An envelope detector recovers the message from an AM wave. It is a diode followed by a resistor and a capacitor in parallel. It has no oscillator and costs a few cents, which is why every simple AM radio uses one.
It works only on AM with a carrier, where the outline of the wave follows the message. It does not work on DSB-SC or SSB.
How it works
The diode lets current through only in one direction, so it passes the positive half of the carrier. The capacitor charges up to the peak of each carrier cycle. Between peaks the capacitor discharges slowly through the resistor. The voltage across the capacitor therefore follows the peaks, which is the envelope of the wave.
The output has the message, a DC level equal to the average carrier amplitude, and a small ripple at the carrier frequency. A coupling capacitor removes the DC, and a simple filter smooths the ripple.
Choosing the time constant
The product RC is the time constant of the detector. It must be long compared with one carrier cycle and short compared with the changes of the message.
1 / fc ≪ R C ≪ 1 / fm to avoid diagonal clipping: R C ≤ √(1 − m²) / (m · 2π fm)
If RC is too small, the capacitor discharges within each carrier cycle and the output has a large ripple. If RC is too large, the output cannot fall as fast as the envelope falls. The output then follows a straight discharge line instead of the curve. This is diagonal clipping.
Worked design
Let fc = 1 MHz, the highest message frequency fm = 5 kHz, and the largest modulation index m = 0.5. The carrier period is 1 microsecond and the message period is 200 microseconds. The diagonal clipping limit is √(1 − 0.25) / (0.5 × 2π × 5000), which is 0.866 / 15 708, or 55 microseconds.
Choose R C about ten times the carrier period, which is 10 microseconds. A 10 kΩ resistor with a 1 nF capacitor gives exactly that. It is well above 1 microsecond and well below 55 microseconds, so the ripple is small and no clipping occurs. At fm = 5 kHz the ripple at 1 MHz is a tiny fraction of the output.
Negative peak clipping
In a radio, the detector is followed by a volume control or amplifier, which loads the output. The DC level across the detector resistor is larger than the AC load seen at the output. When the AC load is much smaller than the DC load, the modulation depth that the output can follow is reduced. The lower tips of the envelope are cut off.
The limit is m ≤ Rac / Rdc. If the AC load is half the DC load, any wave deeper than 50 percent modulation is clipped at its minimum. The cure is to keep the output stage load high, or to use a buffer.
The diode matters
- A silicon diode needs about 0.6 V before it conducts. A weak signal below that is not detected. Germanium and Schottky diodes need only about 0.2 V, so they work better for small signals.
- A diode with high capacitance or slow recovery lets the carrier leak through. Use a fast signal diode.
- Large signals above 1 V are detected linearly. Small signals are detected with a square law and cause distortion.
For a clean output, use a strong enough input, a fast low threshold diode and a time constant inside the safe range.
Testing it on the bench
Apply an AM wave with a 1 MHz carrier and m = 0.5 to the detector. Look at the output with the scope set to DC coupling. You should see the message riding on a DC level, with a faint ripple at 1 MHz. Switch to AC coupling to see the message alone.
Then change one part at a time. A resistor ten times larger makes the output fall along a straight line after each peak, which is diagonal clipping. A capacitor ten times smaller fills the output with ripple. Turning back to the design values restores a clean wave. Seeing both faults once makes it easy to know them again.
Try it in the virtual lab
SinBench has free 3D benches and interactive demos for this topic. Open one to try the ideas above with real instruments, no sign up needed.
Questions and answers
How do you choose R and C in an envelope detector?
Choose RC much larger than one carrier period and smaller than the diagonal clipping limit √(1 − m²) / (m · 2π fm). A value ten times the carrier period is a good start.
What is diagonal clipping?
It happens when the RC time constant is too long, so the capacitor cannot discharge fast enough to follow the falling envelope. The output falls along a straight line.
Why does an envelope detector not work for DSB-SC?
The envelope of a DSB-SC wave is the absolute value of the message, with phase flips that the detector cannot see. It gives a rectified, distorted output.
What does the diode do in an envelope detector?
It passes current in one direction only, so the capacitor charges to the peaks of the carrier and the output follows the envelope.
Related topics
Amplitude Modulation and the Modulation Index
Learn how amplitude modulation works: the AM equation, the modulation index from an oscilloscope picture, sidebands, bandwidth, power and overmodulation.
Communication SystemsThe Product Detector: Coherent Demodulation of AM, DSB-SC and SSB
See how a product detector works: multiply by a local carrier and low pass filter, the effect of phase and frequency error, and how receivers get the carrier.
Communication SystemsButterworth Filters and Group Delay
Understand the Butterworth low pass filter: flat response, cutoff and order, how to pick the order, and why group delay matters for pulses, with MATLAB code.