FEC
Understanding FEC
FEC is the bridge between Shannon's theoretical channel capacity and practical wireless systems. Without FEC, achieving reliable communication requires enormous SNR. With modern FEC (LDPC, polar), reliable communication is possible within 0.5 dB of the theoretical limit, meaning we are extracting nearly 100% of the available channel capacity.
From the RF engineer's perspective, every dB of coding gain is a dB that does not need to come from higher TX power, bigger antennas, or lower noise figures. FEC is the most cost-effective way to improve link reliability.
FEC Equations
C = B × log2(1+SNR) bits/s
SNR = 0 dB: C = B (1 bit/s/Hz)
SNR = 10 dB: C = 3.46 B
Code rate:
R = k/n (info bits / total bits)
R=1/2: double BW, max 3 dB penalty
R=3/4: 33% overhead, 1.25 dB penalty
Coding gain (uncoded vs coded):
Uncoded BPSK @BER 10−6: 10.5 dB
Conv R=1/2 K=7: 5.5 dB (gain: 5 dB)
LDPC R=1/2: 1.5 dB (gain: 9 dB)
FEC Code Comparison
| Code | Gap to Shannon | Complexity | Latency | Standard |
|---|---|---|---|---|
| Convolutional | 3-5 dB | Low | Low | GSM, 802.11a |
| Turbo | 0.7 dB | High | High | 3G, LTE |
| LDPC | 0.5 dB | Medium | Medium | 5G data, Wi-Fi |
| Polar | 0 dB* | Medium | Medium | 5G control |
| Reed-Solomon | 3-4 dB | Low | Low | DVB, optical |
Frequently Asked Questions
Coding gain?
Reduction in required SNR for target BER. Uncoded BPSK @10−6: 10.5 dB. Conv R=1/2 K=7: 5.5 dB (5 dB gain). LDPC: 1.5 dB (9 dB gain). Rate penalty: R=1/2 costs 3 dB BW. Net gain still positive. Soft decision: +2-3 dB over hard by using demodulator reliability info.
Modern codes?
5G NR data: LDPC (BG1/BG2, quasi-cyclic, R=1/5-8/9). 5G control: polar (CA-SCL decoding). Wi-Fi 6/7: LDPC (mandatory for 1024QAM). DVB-S2X: LDPC+BCH. Optical 400G: soft-decision LDPC (11-12 dB NCG). Turbo: legacy 3G/LTE. Modern = within 1 dB of Shannon.
HARQ?
FEC + retransmission. Chase: resend same, soft-combine (+3 dB). Incremental redundancy (IR): send new parity, lower effective rate. 5G: target 10% BLER first TX (aggressive MCS), HARQ fixes errors. Rate: 3/4 → 1/2 → 1/3 per retransmission. Max 4 HARQ attempts. Efficient: high throughput + reliability.