RF Design

Gain Flatness

A 5G base station transmitter amplifies a 100 MHz channel with 256QAM OFDM. The PA datasheet says 30 dB gain with ±0.5 dB flatness. In reality, the gain is 30.5 dB at the channel center and 29.5 dB at the edges: a 1 dB peak-to-peak variation. The subcarriers at the edges receive 1 dB less amplification than those at the center, distorting the constellation. The EVM degrades from −38 dB (meeting the 256QAM spec) to −30 dB (failing it). A passive slope equalizer, a simple 3-element RC network, tilts the response by +1 dB across the band, restoring flatness to ±0.15 dB. The EVM returns to −38 dB. Gain flatness is not a secondary spec; it directly determines modulated signal quality.
Category: RF Design
Spec: Peak-to-peak dB across BW
Impact: EVM, constellation quality

Gain Flatness Requirements by Modulation

ModulationRequired EVMMax Gain FlatnessChannel BWApplication
QPSK−15 dB±1.5 dB5 to 20 MHzSatellite, IoT
16QAM−20 dB±1.0 dB20 MHzLTE
64QAM−25 dB±0.75 dB20 to 100 MHzLTE-A, WiFi 5
256QAM−32 dB±0.5 dB100 MHz5G NR, WiFi 6
1024QAM−35 dB±0.3 dB160 MHzWiFi 6E, 5G-Adv
4096QAM−38 dB±0.2 dB320 MHzWiFi 7
Gain flatness definition:
GF = max(S21) − min(S21) dB (across specified BW)

EVM degradation from gain ripple:
EVMripple ≈ 20·log(10GF/20 − 1) dB
1 dB flatness: EVM ≈ −25.3 dB contribution
0.5 dB flatness: EVM ≈ −31.5 dB contribution

Cascaded system flatness (worst case):
GFtotal = √(GF1² + GF2² + ... + GFN²) (RSS)
Common Questions

Frequently Asked Questions

Impact on modulated signals?

Unequal subcarrier amplification distorts the constellation. 256QAM needs ±0.5 dB across channel BW. 1024QAM: ±0.3 dB. Gain slope (tilt) is fixable with a passive equalizer. Gain ripple needs complex digital correction in the DPD system.

How is it measured?

VNA S21 sweep across BW. Flatness = max − min. VNA step must resolve ripple (50 MHz ripple needs <10 MHz steps). Specify at stated temperature and power level. Separate slope from ripple for equalization planning.

How to improve flatness?

Slope: passive RC equalizer (simple, costs gain). Ripple from mismatch: attenuator pads between stages (costs NF/gain). Digital: DPD with frequency-dependent correction tables. Temperature: gain tables indexed by temp sensor.

Signal Quality

Gain Flatness Impact Calculator

Enter modulation order, channel bandwidth, and measured gain flatness. Compute the EVM contribution from gain ripple and determine if equalization is needed to meet the standard's requirements.

Check EVM Impact