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.
Gain Flatness Requirements by Modulation
| Modulation | Required EVM | Max Gain Flatness | Channel BW | Application |
|---|---|---|---|---|
| QPSK | −15 dB | ±1.5 dB | 5 to 20 MHz | Satellite, IoT |
| 16QAM | −20 dB | ±1.0 dB | 20 MHz | LTE |
| 64QAM | −25 dB | ±0.75 dB | 20 to 100 MHz | LTE-A, WiFi 5 |
| 256QAM | −32 dB | ±0.5 dB | 100 MHz | 5G NR, WiFi 6 |
| 1024QAM | −35 dB | ±0.3 dB | 160 MHz | WiFi 6E, 5G-Adv |
| 4096QAM | −38 dB | ±0.2 dB | 320 MHz | WiFi 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)
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.
See Also