Automatic Gain Control (AGC)
Understanding Automatic Gain Control
Every RF receiver faces a fundamental problem: the signal it needs to process can arrive at wildly different power levels depending on distance, fading, interference, and antenna orientation. The ADC at the end of the receive chain has a fixed input voltage range (its "full-scale" window). If the signal is too strong, the ADC clips, creating distortion and bit errors. If the signal is too weak, it drowns in the ADC's quantization noise floor.
AGC solves this by creating a negative feedback loop. A power detector measures the signal level at the ADC input, compares it to a reference setpoint, and generates an error voltage. That error voltage drives a Variable Gain Amplifier (VGA) or a digitally controlled step attenuator to increase or decrease the gain until the ADC input sits at the optimal level.
The AGC Loop Equation
Vout = Vref (steady state)
Loop Time Constant:
τ = Rf × Cf
Attack Time: τattack << τrelease
Typical attack: 1 to 10 μs (must prevent ADC clipping)
Typical release: 1 to 100 ms (must prevent noise amplification)
AGC Dynamic Range:
DRAGC = Gmax - Gmin (dB)
Example: VGA with 60 dB range + 30 dB DSA = 90 dB total AGC range
Multi-Stage AGC Distribution
No single amplifier can cover 100+ dB of gain range without degrading noise figure or linearity. Modern receivers distribute AGC across multiple stages:
| Stage | Control Element | Typical Range | Why Here? |
|---|---|---|---|
| RF Front End | Digital Step Attenuator (DSA) | 0 to 31.5 dB | Prevents the LNA from compressing on strong signals before they reach the mixer. |
| IF Stage | Variable Gain Amplifier (VGA) | -10 to +50 dB | Fine, continuous gain adjustment with the best linearity-to-noise tradeoff in the chain. |
| Baseband / DSP | Digital scaling (bit shift) | 0 to 30 dB | Final level alignment after ADC; zero noise figure penalty since it operates in the digital domain. |
The key design rule: always reduce gain at the front end first (via the DSA) before reducing IF gain. This prevents the mixer and IF amplifier from being driven into compression by a strong interferer, which would create intermodulation products that corrupt adjacent channels.
Attack vs. Release: The Critical Asymmetry
The attack time (how fast AGC reduces gain) must be much faster than the release time (how fast AGC increases gain). If the release time is too fast, the AGC will amplify noise bursts during brief signal fades, causing "pumping" artifacts in analog audio or burst error events in digital links. In TDMA systems like GSM, the AGC must settle within the guard interval between time slots (approximately 30 microseconds), requiring carefully tuned dual-time-constant loops.
Frequently Asked Questions
Why does an RF receiver need AGC?
A cell phone might receive a signal at -110 dBm from a distant tower and -30 dBm from a tower 50 meters away. That is an 80 dB difference, meaning the strong signal is 100 million times more powerful than the weak one. Without AGC, the ADC would either clip on the strong signal or be buried in noise on the weak signal. AGC continuously adjusts the gain so the ADC always sees a signal within its optimal input range.
What is the difference between attack time and release time?
Attack time is how fast the AGC reduces gain when a strong signal suddenly appears. It must be fast (microseconds) to prevent ADC clipping. Release time is how fast the AGC increases gain when the strong signal disappears. It must be slow (milliseconds) to prevent noise amplification during brief fades. Getting this ratio wrong causes audible pumping in analog receivers or bit error rate spikes in digital systems.
What is the typical AGC dynamic range in a modern receiver?
A modern 5G NR receiver achieves 80 to 100 dB of AGC range by distributing gain control across multiple stages: a digital step attenuator at the RF front end (30 dB range), a variable gain amplifier at IF (40 dB range), and digital gain scaling in the baseband DSP (20 to 30 dB range). Military radar receivers can exceed 120 dB.