Envelope detector

Last updated
An envelope (red) outlines a signal (black) C Envelope follower.png
An envelope (red) outlines a signal (black)

An envelope detector (sometimes called a peak detector) is an electronic circuit that takes a (relatively) high-frequency signal as input and outputs the envelope of the original signal.

Contents

Diode detector

Simple-diode-detector-AM-demodulator-generic-RC-circuit-svg.svg
Simple-diode-detector-AM-demodulator-oscilloscope.gif
Simple diode detector. An input voltage (the green AM signal) is first rectified by the diode. The output voltage (red) ripples just below the input's upper envelope by charging and discharging the capacitor.

A simple form of envelope detector used in detectors for early radios is the diode detector. Its output approximates a voltage-shifted version of the input's upper envelope.

Between the circuit's input and output is a diode that performs half-wave rectification, allowing substantial current flow only when the input voltage is around a diode drop higher than the output terminal.

The output is connected to a capacitor of value and resistor of value in parallel to ground. The capacitor is charged as the input voltage approaches its positive peaks. At other times, the capacitor is gradually discharged through the resistor. The resistor and capacitor form a 1st-order low pass filter, which attenuates higher frequencies at a rate of -6 dB per octave above its cutoff frequency of . The filter's RC time constant must be small enough to track quickly-falling envelope slopes and "top up" the envelope's voltage every peak to prevent negative peak clipping. [1]

AM demodulation

Envelope detectors can be used to demodulate an amplitude modulated (AM) signal. Such a device is often used to demodulate AM radio signals because the envelope of the modulated signal is equivalent to the baseband signal. To sufficiently attenuate the frequency of the carrier wave frequency , the cutoff frequency of the low-pass filter should be well-below the carrier wave's frequency. To avoid negative peak clipping, the original signal that is modulated is usually limited to a maximum frequency to limit the maximum rate of fall of the AM signal. To minimize distortions from both ripple and negative peak clipping, the following inequality should be observed: [1]

Next, to filter out the DC component, the output could pass through a simple high-pass filter, such as a DC-blocking capacitor.

General considerations

Most practical envelope detectors use either half-wave or full-wave rectification of the signal to convert the AC audio input into a pulsed DC signal. Full-wave rectification traces both positive and negative peaks of the envelope. Half-wave rectification ignores negative peaks, which may be acceptable based on the application, particularly if the input signal is symmetric about the horizontal axis. Low threshold voltage diodes (e.g. germanium or Schottky diodes) may be preferable for tracking very small envelopes.

The filtering for smoothing the final result is rarely perfect and some "ripple" is likely to remain on the output, particularly for low frequency inputs such from a bass instrument. Reducing the filter cutoff frequency gives a smoother output, but designers must compromise this with the circuit's high frequency response.

Definition of the envelope

A signal in blue and the magnitude of its analytic signal in red, showing the envelope effect Analytic.svg
A signal in blue and the magnitude of its analytic signal in red, showing the envelope effect

Any AM or FM signal can be written in the following form

In the case of AM, φ(t) (the phase component of the signal) is constant and can be ignored. In AM, the carrier frequency is also constant. Thus, all the information in the AM signal is in R(t). R(t) is called the envelope of the signal. Hence an AM signal is given by the function

with m(t) representing the original audio frequency message, C the carrier amplitude and R(t) equal to C + m(t). So, if the envelope of the AM signal can be extracted, the original message can be recovered.

In the case of FM, the transmitted has a constant envelope R(t) = R and can be ignored. However, many FM receivers measure the envelope anyway for received signal strength indication.

Precision detector

An envelope detector can also be constructed using a precision rectifier feeding into a low-pass filter.

Drawbacks

The envelope detector has several drawbacks:

Most of these drawbacks are relatively minor and are usually acceptable tradeoffs for the simplicity and low cost of using an envelope detector.

Audio

An envelope detector is sometimes referred to as an envelope follower in musical environments. It is still used to detect the amplitude variations of an incoming signal to produce a control signal that resembles those variations. However, in this case the input signal is made up of audible frequencies.

Envelope detectors are often a component of other circuits, such as a compressor or an auto-wah or envelope-followed filter. In these circuits, the envelope follower is part of what is known as the "side chain", a circuit which describes some characteristic of the input, in this case its volume.

Both expanders and compressors use the envelope's output voltage to control the gain of an amplifier. Auto-wah uses the voltage to control the cutoff frequency of a filter. The voltage-controlled filter of an analog synthesizer is a similar circuit.

Modern envelope followers can be implemented:

  1. directly as electronic hardware,
  2. or as software using either a digital signal processor (DSP) or
  3. on a general-purpose CPU.

See also

Related Research Articles

<span class="mw-page-title-main">Single-sideband modulation</span> Type of modulation

In radio communications, single-sideband modulation (SSB) or single-sideband suppressed-carrier modulation (SSB-SC) is a type of modulation used to transmit information, such as an audio signal, by radio waves. A refinement of amplitude modulation, it uses transmitter power and bandwidth more efficiently. Amplitude modulation produces an output signal the bandwidth of which is twice the maximum frequency of the original baseband signal. Single-sideband modulation avoids this bandwidth increase, and the power wasted on a carrier, at the cost of increased device complexity and more difficult tuning at the receiver.

A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is fixed relative to the phase of an input signal. Keeping the input and output phase in lockstep also implies keeping the input and output frequencies the same, thus a phase-locked loop can also track an input frequency. And by incorporating a frequency divider, a PLL can generate a stable frequency that is a multiple of the input frequency.

A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filter design. The filter is sometimes called a high-cut filter, or treble-cut filter in audio applications. A low-pass filter is the complement of a high-pass filter.

<span class="mw-page-title-main">Rectifier</span> Electrical device that converts AC to DC

A rectifier is an electrical device that converts alternating current (AC), which periodically reverses direction, to direct current (DC), which flows in only one direction.

Demodulation is extracting the original information-bearing signal from a carrier wave. A demodulator is an electronic circuit that is used to recover the information content from the modulated carrier wave. There are many types of modulation so there are many types of demodulators. The signal output from a demodulator may represent sound, images or binary data.

<span class="mw-page-title-main">Ring modulation</span> Frequency mixing function in signal processing

In electronics, ring modulation is a signal processing function, an implementation of frequency mixing, in which two signals are combined to yield an output signal. One signal, called the carrier, is typically a sine wave or another simple waveform; the other signal is typically more complicated and is called the input or the modulator signal. A ring modulator is an electronic device for ring modulation. A ring modulator may be used in music synthesizers and as an effects unit.

A product detector is a type of demodulator used for AM and SSB signals. Rather than converting the envelope of the signal into the decoded waveform like an envelope detector, the product detector takes the product of the modulated signal and a local oscillator, hence the name. A product detector is a frequency mixer.

<span class="mw-page-title-main">Phase detector</span> Electrical circuit detecting phase difference

A phase detector or phase comparator is a frequency mixer, analog multiplier or logic circuit that generates a signal which represents the difference in phase between two signal inputs.

<span class="mw-page-title-main">Frequency mixer</span> Circuit that creates new frequencies from two signals

In electronics, a mixer, or frequency mixer, is an electrical circuit that creates new frequencies from two signals applied to it. In its most common application, two signals are applied to a mixer, and it produces new signals at the sum and difference of the original frequencies. Other frequency components may also be produced in a practical frequency mixer.

<span class="mw-page-title-main">Foster–Seeley discriminator</span>

The Foster–Seeley discriminator is a common type of FM detector circuit, invented in 1936 by Dudley E. Foster and Stuart William Seeley. The Foster–Seeley discriminator was envisioned for automatic frequency control of receivers, but also found application in demodulating an FM signal.

This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.

<span class="mw-page-title-main">Grid-leak detector</span>

A grid leak detector is an electronic circuit that demodulates an amplitude modulated alternating current and amplifies the recovered modulating voltage. The circuit utilizes the non-linear cathode to control grid conduction characteristic and the amplification factor of a vacuum tube. Invented by Lee De Forest around 1912, it was used as the detector (demodulator) in the first vacuum tube radio receivers until the 1930s.

Ripple in electronics is the residual periodic variation of the DC voltage within a power supply which has been derived from an alternating current (AC) source. This ripple is due to incomplete suppression of the alternating waveform after rectification. Ripple voltage originates as the output of a rectifier or from generation and commutation of DC power.

<span class="mw-page-title-main">Detector (radio)</span> Device which extracts info from a modulated radio frequency current or voltage

In radio, a detector is a device or circuit that extracts information from a modulated radio frequency current or voltage. The term dates from the first three decades of radio (1888–1918). Unlike modern radio stations which transmit sound on an uninterrupted carrier wave, early radio stations transmitted information by radiotelegraphy. The transmitter was switched on and off to produce long or short periods of radio waves, spelling out text messages in Morse code. Therefore, early radio receivers could reproduce the Morse code "dots" and "dashes" by simply distinguishing between the presence or absence of a radio signal. The device that performed this function in the receiver circuit was called a detector. A variety of different detector devices, such as the coherer, electrolytic detector, magnetic detector and the crystal detector, were used during the wireless telegraphy era until superseded by vacuum tube technology.

<span class="mw-page-title-main">Clamper (electronics)</span> Electronic circuit that fixes voltage

A clamper is an electronic circuit that fixes either the positive or the negative peak excursions of a signal to a defined voltage by adding a variable positive or negative DC voltage to it. The clamper does not restrict the peak-to-peak excursion of the signal (clipping); it moves the whole signal up or down so as to place its peaks at the reference level.

In electronics, a differentiator is a circuit that outputs a signal approximately proportional to the rate of change of its input signal. Because the derivative of a sinusoid is another sinusoid whose amplitude is multiplied by its frequency, a true differentiator that works across all frequencies can't be realized. Real circuits such as a 1st-order high-pass filter are able to approximate differentiation at lower frequencies by limiting the gain above its cutoff frequency. An active differentiator includes an amplifier, while a passive differentiator is made only of resistors, capacitors and inductors.

A linear circuit is an electronic circuit which obeys the superposition principle. This means that the output of the circuit F(x) when a linear combination of signals ax1(t) + bx2(t) is applied to it is equal to the linear combination of the outputs due to the signals x1(t) and x2(t) applied separately:

<span class="mw-page-title-main">Plate detector (radio)</span>

In electronics, a plate detector is a vacuum tube circuit in which an amplifying tube having a control grid is operated in a non-linear region of its grid voltage versus plate current transfer characteristic, usually near plate current cutoff, to demodulate amplitude modulated carrier signal. This differs from the grid leak detector, which utilizes the non-linearity of the grid voltage versus grid current characteristic for demodulation. It also differs from the diode detector, which is a two-terminal device.

<span class="mw-page-title-main">Ratio detector</span>

The ratio detector is a type of detector circuit, commonly used in radio receivers for demodulating frequency modulated (FM) signal.

The operational amplifier integrator is an electronic integration circuit. Based on the operational amplifier (op-amp), it performs the mathematical operation of integration with respect to time; that is, its output voltage is proportional to the input voltage integrated over time.

References

  1. 1 2 Lesurf, Jim (2000-05-18). "The Envelope Detector". www.winlab.rutgers.edu. Archived from the original on 2023-03-26. Retrieved 2024-06-09.