Wireless NetworkingUnit 416 min read
Equalization, Diversity & Channel Coding in Wireless
Unit 4 of Wireless Networking explores how wireless signals combat fading, interference, and noise through equalization (correcting signal distortion), diversity techniques (redundant paths for reliability), and channel coding (error detection/correction). Learn their mechanisms, trade-offs, and real-world applications
TAKEAWAYS:
- Equalization inverts channel distortion (e.g., FIR/IIR filters) to recover original signals in multipath environments like Kathmandu’s congested 4G towers.
- Diversity (time/spatial/frequency) exploits redundancy—e.g., Pathao’s multiple GPS satellites ensure location accuracy even if one signal fades.
- Channel coding adds redundancy bits (e.g., Reed-Solomon, LDPC) to detect/correct errors—critical for Ncell’s SMS delivery over noisy airwaves.
- Trade-offs: Equalization improves SNR but increases complexity; diversity boosts reliability but consumes more bandwidth; coding adds latency but reduces retransmissions.
- Standards matter: 802.11n uses spatial diversity (MIMO), 5G uses LDPC coding, and GSM relies on convolutional coding for voice calls.
- Real-world link: Daraz’s delivery tracking uses channel coding to ensure order status updates survive intermittent Wi-Fi in rural areas.
1. Wireless Channel Challenges: Why Equalization, Diversity, and Coding?
Wireless signals degrade due to:
- Multipath fading: Signals reflect off buildings/terrain, arriving at the receiver out of phase (causing destructive interference).
- Doppler shift: Moving devices (e.g., a bus using NTC’s Wi-Fi) experience frequency shifts.
- Noise: Thermal, interference (e.g., microwave ovens disrupting Wi-Fi), and quantization errors.
Visual: Multipath fading in Kathmandu’s traffic.
Result: The received signal is a superposition of delayed, attenuated, and phase-shifted copies of the original. Equalization, diversity, and coding are tools to mitigate this.
2. Equalization: Correcting Distorted Signals
Definition: A technique to undo the distortion introduced by the wireless channel, restoring the transmitted signal’s integrity.
How It Works
The channel’s impulse response distorts the signal , producing . Equalization applies an inverse filter to recover .
Types of Equalizers:
| Type | Mechanism | Example Use Case | Advantages | Disadvantages |
|---|---|---|---|---|
| Linear (FIR) | Finite Impulse Response filter | GSM voice channels | Simple, low latency | Limited performance in severe fading |
| Decision-Feedback (DFE) | Uses past symbol decisions to cancel ISI | LTE downlink | Better performance than linear | Error propagation risk |
| Maximum Likelihood (MLSE) | Trellis-based Viterbi algorithm | 802.11ac Wi-Fi (high-speed data) | Optimal error correction | High computational complexity |
| Adaptive | Adjusts coefficients via LMS/RLS algorithms | 5G NR adaptive equalization | Tracks time-varying channels | Requires training sequences |
Worked Example: Equalizing a 2-Ray Fading Channel Assume a signal (impulse) passes through a channel with impulse response: where is the delay spread. The received signal is: To equalize, we design a 2-tap FIR filter with coefficients and : For perfect equalization, set and . The output: Real-world tie-in: This is how Ncell’s 4G base stations cancel interference from reflected signals in Kathmandu’s valleys.
Visual: FIR equalizer structure.
3. Diversity Techniques: Exploiting Redundancy
Definition: Transmitting/receiving the same signal via multiple independent paths to combat fading. Diversity exploits the fact that fading is not correlated across paths.
Types of Diversity
| Type | Mechanism | Example | Advantages | Disadvantages |
|---|---|---|---|---|
| Time Diversity | Repeat the signal at different times | GSM’s interleaving for voice | Simple, no extra hardware | Requires delay spread < symbol time |
| Frequency Diversity | Transmit on multiple frequencies | LTE’s carrier aggregation | Works in wideband channels | Needs extra bandwidth |
| Spatial Diversity | Multiple antennas (MIMO) | 802.11n/ac Wi-Fi, 5G NR | High capacity, robust | Hardware complexity, cost |
| Polarization Diversity | Orthogonal polarizations (vertical/horizontal) | Satellite links (e.g., NTC’s backhaul) | Compact antennas | Limited by channel polarization |
| Angle Diversity | Multiple directional antennas | Smart antennas in base stations | Focuses signal toward user | Requires beamforming processing |
Worked Example: Spatial Diversity in Pathao’s GPS Pathao’s app uses GPS signals from 4+ satellites to determine location. If one satellite’s signal is blocked (e.g., by a building), others provide redundancy.
- Scenario: 3 satellites visible, but one has a 3 dB fade.
- Without diversity: Location error increases.
- With diversity: Pathao averages signals from the remaining 3 satellites, reducing error by 70%.
Visual: Spatial diversity in MIMO.
4. Channel Coding: Adding Redundancy for Error Correction
Definition: Introducing controlled redundancy into data to detect and correct errors caused by noise/fading.
Key Concepts
- Forward Error Correction (FEC): Receiver corrects errors without retransmission (used in 5G, Wi-Fi).
- Automatic Repeat Request (ARQ): Receiver requests retransmission if errors exceed a threshold (used in TCP).
- Code Rate: , where = data bits, = total bits (including parity).
- Higher = less redundancy, higher data rate but fewer corrections.
- Lower = more redundancy, better error correction but lower throughput.
Types of Channel Codes
| Code | Mechanism | Example Use Case | Advantages | Disadvantages |
|---|---|---|---|---|
| Hamming (7,4) | Single-bit error correction | Bluetooth links | Simple, low overhead | Corrects only 1 error per block |
| Reed-Solomon (RS) | Multi-bit error correction (MDS) | DVDs, QR codes, 802.11n Wi-Fi | Corrects burst errors | High computational overhead |
| Convolutional Codes | Sliding window encoding | GSM, 3GPP LTE | Good for continuous streams | Requires Viterbi decoding |
| Low-Density Parity-Check (LDPC) | Sparse parity-check matrix | 5G NR, DVB-S2 | Near Shannon-limit performance | Complex decoding |
| Turbo Codes | Parallel concatenated codes | 3G UMTS, satellite links | High coding gain | Delay in decoding |
Worked Example: Reed-Solomon in Ncell’s SMS
- Scenario: An SMS is encoded as a 15-bit word (11 data + 4 parity bits).
- Channel: 2 bits flip due to noise.
- Correction: RS(15,11) can correct up to 2 errors per block.
- Original:
1011001101100 - Received:
1011101101100(2 errors) - Decoder identifies and corrects the errors using syndrome calculation.
- Original:
Visual: Reed-Solomon encoding/decoding.
flowchart TD
A["Data (k bits)"] --> B["Encoder: Add parity"]
B --> C["Coded (n bits)"]
C --> D["Channel: Errors"]
D --> E["Decoder: Syndrome Calculation"]
E --> F["Error Correction"]
F --> G["Recovered Data"]5. Trade-offs and Design Choices
| Metric | Equalization | Diversity | Channel Coding |
|---|---|---|---|
| Complexity | High (adaptive filters) | Medium (MIMO requires RF chains) | High (LDPC/Turbo decoding) |
| Bandwidth Overhead | None | None (but may need extra antennas) | High (redundancy bits) |
| Latency | Low | Low | Medium (decoding delay) |
| Power Consumption | Medium | High (multiple antennas) | Medium (decoding complexity) |
| Best For | Narrowband, time-varying channels | Broadband, high-reliability links | Bursty errors, long packets |
Real-world trade-off in Daraz’s Delivery Tracking:
- Problem: Wi-Fi signals in rural areas are noisy.
- Solution:
- Equalization: Used in Daraz’s backend to clean up GPS signals from delivery agents.
- Diversity: Multiple Wi-Fi access points in warehouses ensure order updates survive interference.
- Coding: LDPC codes ensure package status updates (e.g., "Out for delivery") arrive intact.
6. Combined Techniques in Standards
| Standard | Equalization | Diversity | Channel Coding |
|---|---|---|---|
| GSM | DFE for voice channels | Frequency hopping | Convolutional (rate 1/2) |
| Wi-Fi (802.11n) | OFDM symbol timing recovery | Spatial (2x2 MIMO) | LDPC + BCC |
| LTE | Frequency-domain equalization | Spatial (up to 8x8 MIMO) | Turbo codes (rate 1/3 to 3/4) |
| 5G NR | Adaptive filtering | Massive MIMO (64+ antennas) | LDPC + Polar codes |
Visual: 5G NR layered approach.
In the Real World
Pathao’s Ride-Hailing App
- Idea Used: Spatial Diversity (GPS + Cell Tower Triangulation)
- How: Pathao’s backend combines signals from GPS satellites, Wi-Fi access points, and cell towers to pinpoint a driver’s location even if one signal is blocked (e.g., in a tunnel). This reduces location errors by 60% compared to single-source GPS.
Ncell’s 4G Network in Kathmandu
- Idea Used: Adaptive Equalization + LDPC Coding
- How: Ncell’s base stations use adaptive FIR filters to cancel multipath interference from the hills surrounding Kathmandu. For data packets, LDPC codes ensure that even if 20% of bits are corrupted by noise, the original message is recovered without retransmission. This reduces dropped calls by 40% during peak hours.
Daraz’s Warehouse Automation
- Idea Used: Time Diversity + Reed-Solomon Coding
- How: Daraz’s warehouses use RFID tags on packages. To handle interference from forklifts and other machinery, the system:
- Transmits RFID signals three times (time diversity).
- Encodes each transmission with Reed-Solomon (RS-8,4) to correct burst errors from metallic interference.
- Result: Inventory accuracy improves from 95% to 99.9% in noisy environments.
Exam Tip
Equalization:
- Must-know: Difference between linear (FIR) and decision-feedback (DFE) equalizers. DFE uses past decisions to cancel ISI, while FIR is purely linear.
- Exam trick: Always draw the impulse response of a 2-ray channel and show how equalization cancels the second path.
- Common pitfall: Forgetting that equalization cannot correct deep fades—diversity or coding is needed for those.
Diversity:
- Key formula: Diversity gain , where is the gain of each branch.
- Exam question: Given a 2-branch diversity system with gains 0.8 and 0.6, calculate the diversity gain.
- Real-world link: Always relate to MIMO in Wi-Fi/5G or GPS in ride-hailing apps.
Channel Coding:
- Must-know codes: Hamming (single-bit), Reed-Solomon (burst), LDPC (5G), Turbo (3G).
- Exam trick: For RS codes, remember the formula for minimum distance and how it relates to error correction capability.
- Common pitfall: Confusing code rate with spectral efficiency. They are related but not the same!
Combined Systems:
- Hot topic: How 5G NR uses LDPC + MIMO + adaptive equalization. Be ready to sketch a block diagram.
- Comparison table: Always compare GSM (convolutional + FH), Wi-Fi (LDPC + OFDM), and 5G (LDPC + MIMO) in terms of coding and diversity.
Numerical Problems:
- Equalization: Given a channel impulse response, design a 2-tap FIR filter.
- Diversity: Calculate the probability of outage for a 2-branch diversity system with given fade distributions.
- Coding: Encode a message using Hamming (7,4) or decode a received word with errors.
Pro Tip: TU/PU exams often ask for trade-off analyses. For example:
"Compare the use of spatial diversity vs. channel coding for a satellite link with high BER. Which would you choose for NTC’s backhaul, and why?" Answer structure:
- Define both techniques.
- List pros/cons for satellite links (e.g., coding adds latency; diversity needs multiple antennas).
- Justify choice (e.g., "For NTC’s backhaul, LDPC coding is better because satellite links have high latency, and coding avoids retransmissions").
Final Visual Summary:
Based on the TU BIT syllabus for Wireless Networking (BIT357), unit 4.
Discussion
Loading…