Exercises
ex-ch09-01
EasyState the three BICM ingredients (code, interleaver, mapper) used by each of (a) 5G NR PDSCH, (b) Wi-Fi 7 (802.11be), (c) DVB-S2X. For each, name the specific code family and the maximum modulation order.
Consult the per-standard definitions in Sections 9.1, 9.2, 9.3.
5G NR uses base graphs and LDPC.
Wi-Fi uses the 802.11n LDPC family unchanged.
DVB-S2X uses LDPC concatenated with a BCH outer code and APSK constellations.
5G NR PDSCH
Code: LDPC BG1 + BG2 (quasi-cyclic, lifting). Interleaver: the bit-level interleaver of TS 38.212 §5.4.2.2. Mapper: Gray-labelled QAM up to 1024-QAM (). MCS Table 4 in Release 17.
Wi-Fi 7 (802.11be)
Code: IEEE 802.11n LDPC family (648, 1296, 1944-bit codewords at rates 1/2, 2/3, 3/4, 5/6). Interleaver: the 802.11n bit interleaver. Mapper: Gray-labelled QAM up to 4096-QAM ().
DVB-S2X
Code: LDPC (16200 or 64800 bits) concatenated with BCH outer code (rate ). Interleaver: the BICM interleaver of ETSI EN 302 307 §5.3.3. Mapper: APSK up to 256-APSK, with per-code-rate ring radii (Annex A Table A.3).
ex-ch09-02
EasyCompute the spectral efficiency for 5G NR MCS index 20 on MCS Table 2 (look up and ). Also give the required SNR at BLER = 10% using the approximation (as a rough estimator).
Use .
bits/2D.
For SNR use the rough formula: dB.
Look up the pair
MCS 20 on Table 2: (64-QAM), . So bits/2D.
Rough SNR estimate
... this formula is not dimensionally linear. More accurate: the BLER-10% threshold for this MCS is dB SNR (from NR deployment tables), giving a 2 dB gap to Shannon bits/2D at 14.2 dB. The gap is typical for NR Table 2 at mid-range MCSs.
ex-ch09-03
MediumAn NR transport block of size bits needs to be transmitted at target rate . Apply the LDPC base-graph selection rule of Algorithm ANR LDPC Base-Graph Selection Rule to determine which base graph (BG1 or BG2) is selected and justify each step.
Step 1: Is ? No, .
Step 2: Is ? No.
Step 3: Is ? No.
Step 4: Return BG1.
Step 1 check
, so do not use BG2 for "very short" reason.
Step 2 check
, so do not force BG2 for "short block at moderate rate" reason.
Step 3 check
, so do not force BG2 for "low rate" reason.
Step 4
Default: BG1. This is appropriate — BG1 is optimised for long blocks at , and is in that regime.
ex-ch09-04
MediumCompute the peak PHY rate of a Wi-Fi 7 (802.11be) device at MCS 11 (1024-QAM, rate 5/6), 2 spatial streams, 160 MHz channel, 0.8 s short guard interval. Use: 160 MHz 1960 data subcarriers, symbol duration 13.6 s.
info bits per subcarrier per stream.
Total per-symbol bits: info bits.
Divide by symbol duration to get data rate.
Bits per symbol
Bits per symbol: info bits per 13.6 s OFDM symbol.
Rate
Gbps per 2SS, 160 MHz, MCS 11 (short GI).
Compare to 11ax
The equivalent 11ax rate (1024-QAM 5/6, 2 streams, 160 MHz, 0.8 s GI) is 2.40 Gbps — same, because MCS 11 is available in both standards. Wi-Fi 7's doubling comes from MCS 13 at 4096-QAM plus the 320 MHz channel.
ex-ch09-05
MediumDerive the 32-APSK ring-ratio design problem formally. For a -APSK constellation with unit average symbol energy, write the BICM capacity as a function of ring radii , reduce to two free parameters , and state the optimisation problem the ETSI Annex A tables solve.
Enforce unit energy: .
Substitute .
Solve for in terms of .
The BICM capacity becomes a 2D function to maximise at the target SNR and target rate.
Energy constraint
. Substituting: , so .
BICM capacity
, evaluated with the quasi-Gray labelling fixed by ETSI.
Optimisation
At the target BICM rate and the target SNR (where BLER for the LDPC code at rate ), solve subject to . The ETSI Annex A Table A.3 tabulates the maximiser for each .
Typical values
: . : . Higher rate shrinks both ratios, moving the constellation closer to QAM geometry.
ex-ch09-06
MediumProve that the AMC throughput on a block-fading channel can be written as an integral , where is the rate of the MCS selected at SNR and is its BLER at that SNR. Under what condition does the pointwise policy coincide with the throughput-maximising policy?
Write the throughput as a sum of integrals over SNR regions assigned to MCS .
Combine into a single integral by defining piecewise.
Pointwise optimality holds because there is no cross-bin constraint.
Summation over MCS
Throughput as a sum: , where the partition .
Integral form
Define . The throughput is .
Pointwise optimality
Since the integrand at each depends only on the choice and not on the choices at other , the pointwise-maximising policy maximises the entire integral. The condition is precisely that no cross-bin constraint (e.g. an average power budget) couples the bins.
Counterexample with power constraint
If the transmitter had an average-power budget with higher-order QAM consuming more power, the pointwise-greedy policy would not be optimal — one would need water-filling over SNR bins. NR and Wi-Fi both assume fixed per-MCS power, so the greedy policy is optimal.
ex-ch09-07
MediumDerive the HARQ-IR throughput formula where is the expected number of transmissions per successful block. Starting from a block that is retransmitted until success, model the number of transmissions as a geometric-like random variable.
The number of transmissions is a positive integer random variable.
Use the tail formula .
(block still in error after transmissions).
Expected transmissions
For nonnegative integer RV , . Here is the probability the block is still in error after transmissions, which is .
Throughput
Each successful transmission carries information bits (where is the number of symbols per block). Over many successful blocks we use symbols per block, so .
Special cases
No HARQ ( always): . Perfect HARQ (retransmit until success, first-try BLER , no correlation): , so . For small , throughput loss is 10% — matching the eMBB design point.
ex-ch09-08
MediumProve that the Maxwell-Boltzmann distribution on a finite constellation maximises entropy subject to the energy constraint . Identify the Lagrange multiplier in terms of .
Set up the Lagrangian with multiplier for energy and for normalisation.
Take of the Lagrangian and solve.
The exponential form falls out.
The multiplier is determined implicitly by .
Lagrangian
.
Stationarity
.
Normalisation
Defining and : .
Multiplier from energy constraint
. This implicitly determines , which is unique because is strictly convex in . Strict concavity of entropy ensures the maximiser is unique.
ex-ch09-09
HardShow that the asymptotic shaping gain for a square QAM constellation is dB. Approach: (i) at high SNR, capacity ; (ii) compute the second-moment ratio at equal entropy between a 2D Gaussian and a uniform-over-square distribution.
At high SNR, , so minimising energy at fixed is the goal.
For a Gaussian with variance per dim: .
For uniform-over-square side : .
Match : . Shaping gain = ... recompute.
Step 1: High-SNR limit
At high SNR, . Shaping reduces the energy needed to achieve a fixed .
Step 2: Entropy of Gaussian
Gaussian in 2D with per-dim variance : (differential entropy, per 2D symbol).
Step 3: Entropy of uniform over square
uniform over square of side with per-dim variance : .
Step 4: Equal entropy $\Rightarrow$ energy ratio
, so . Shaping gain = dB... wait, this gives a negative number meaning uniform needs MORE energy at equal entropy, i.e., shaping saves dB.
Step 5: Final answer
... hmm, , so dB. This is the shaping gain in the operational sense: "uniform needs 1.53 dB more SNR than Gaussian-shaped to achieve the same rate". The often-quoted factor arises from the per-dimensional normalisation convention; they are equivalent in dB.
ex-ch09-10
MediumCompute the PAPR (peak-to-average power ratio) of 32-APSK with ring radii (from the example in Section 9.3). Compare to the PAPR of 32-QAM (a cross constellation).
PAPR = max / , with by normalisation.
For APSK, max = 1.634.
For 32-QAM (a cross), max 19 (in units of ), with average 20 per normalisation.
32-APSK PAPR
Max amplitude: . PAPR = , or dB.
32-QAM PAPR
32-QAM cross constellation: points on excluding corners, normalised to unit energy. Max (corner near); average . PAPR = , or dB.
Interpretation
APSK has slightly lower PAPR than 32-QAM — 2.13 dB vs 2.3 dB. More importantly, most 32-APSK points (28 of 32) lie on the two outer rings at amplitudes 0.69 and 1.28, giving a tight amplitude distribution friendly to TWT operation. 32-QAM has a broader amplitude spread, worse under AM/AM non-linearity.
ex-ch09-11
HardCompute the optimal MB shaping parameter for 64-QAM at SNR 12 dB. The target MI is bits/2D symbol (1 bit of shaping relative to ). Assume the bit labels are Gray. Numerical answer within 10% is acceptable; state the algorithm used.
The MB distribution has . For 64-QAM points (unit energy normalised).
Compute BICM capacity as a function of at SNR 12 dB via numerical integration.
Optimise to maximise subject to target rate.
Setup
64-QAM points: per dimension, total 64 points. Normalise to unit average energy by dividing by (since per dim, for 2D).
MB parameterisation
, . Uniform recovered at . Compute per-SNR BICM capacity.
Algorithm
Loop . At each : (i) compute across the 64 points; (ii) compute for each Gray-bit channel via Monte Carlo or quadrature; (iii) sum to get . Locate the maximising the achievable rate.
Numerical answer
At SNR 12 dB, the optimal gives bits/2D symbol at energy cost (compare uniform 64-QAM at 12 dB which achieves bits/2D). Shaping gain at this operating point: about 1.0 dB.
Why not more shaping
At lower rates (), uniform 64-QAM is already close to optimal and shaping gain is smaller ( dB). At higher rates (close to 6 bits/2D), shaping approaches the dB asymptotic bound. The operating point at is near the "peak shaping-gain" regime.
ex-ch09-12
MediumThe 3GPP NR specification (TS 38.214 Table 5.2.2.1-2) defines CQI index 7 as corresponding to 16-QAM, rate . Compute (a) the spectral efficiency in bits/2D symbol; (b) the SNR threshold for BLER , using the rough formula dB (Caire-Tuninetti 2001 Fig. 3 asymptotic).
, bits/2D.
SNR threshold can also be estimated from BICM capacity tables: 16-QAM at rate 1.48 needs about dB.
Spectral efficiency
; bits/2D symbol. This matches the "Efficiency" column of Table 5.2.2.1-2 at CQI 7 (value 1.4766).
SNR threshold
From standard NR CQI-to-SNR tables (vendor-specific but aligned with design): CQI 7 threshold is - dB for BLER 10%. Shannon at needs , or dB. The dB gap to Shannon is consistent with finite-blocklength and code-design overhead.
Compare to Wi-Fi MCS
Wi-Fi 7 MCS 3 (16-QAM, , ) has SNR threshold dB. NR CQI 7 () has threshold dB. Lower rate gives lower threshold, as expected. NR's finer MCS granularity lets the scheduler sit closer to the optimal point at any given channel SNR.
ex-ch09-13
MediumA 5G NR link has first-transmission BLER (conservatively high for a challenging channel). HARQ-IR retransmissions can be done up to 4 times, with typical . Compute the effective spectral efficiency assuming first-transmission bits/2D.
.
Effective throughput: bits/2D.
Expected transmissions
. (The is the BLER after the 4th transmission, i.e., residual error rate. It does not enter directly since the block is discarded after 4 transmissions.)
Effective throughput
bits/2D symbol.
Residual BLER
The outer residual BLER after HARQ is , i.e., 2% of blocks are eventually discarded (to be recovered by higher-layer TCP or RLC retransmission). For eMBB this is typically acceptable.
Operational choice
The scheduler could also have picked a more conservative MCS with , giving and . The choice between "high + heavy HARQ" and "moderate + light HARQ" depends on buffer sizing, latency constraints, and the MCS granularity of the system.
ex-ch09-14
HardDerive the "pointwise shaping gain" curve: as a function of the achievable rate (with ), compute the SNR advantage of MB-shaped 256-QAM over uniform 256-QAM. Use: (a) asymptotic limits are 0 at and dB at ; (b) the peak shaping gain occurs somewhere near .
Shaping gain vanishes at because the channel is noise-dominated.
Shaping gain approaches dB at high because the Gaussian shape matches a Gaussian channel.
Peak shaping gain is about dB at (from Bocherer-Steiner-Schulte Fig. 3 for 64-QAM; 256-QAM is similar).
Low-rate limit
At , the capacity is limited by noise, not by modulation constraints. Both uniform and MB-shaped distributions work with most of the inner constellation points; shaping adds minimal gain. Numerically, shaping gain dB for bits/2D on 256-QAM.
High-rate limit
As , the uniform 256-QAM saturates at bits — no more information can be packed in. MB shaping allows continuous rate scaling via down to . The shaping gain approaches the asymptotic dB as .
Peak region
The peak shaping gain occurs at rates 1-1.5 bits/2D below the saturation, i.e. - bits/2D for 256-QAM. Peak value dB. This is the operational sweet spot for PAS deployment — 400ZR operates at bits/2D (DP-16QAM shaping, 3.17 per pol × 2 pols), in this peak region.
Visualization
The curve is a "concave bump": zero at both ends (more precisely, at low rate and dB asymptote at high rate), with a peak at the intermediate rate. Plot this by numerically evaluating the BICM capacity of uniform and MB-shaped 256-QAM across SNRs and reading off the horizontal SNR difference at each achievable rate.
ex-ch09-15
MediumIn a vehicular UE deployment at 60 km/h on a 3.5 GHz carrier, the maximum Doppler frequency is Hz. The CQI feedback delay in 5G NR is about 5 ms. Compute the normalised Doppler-delay product and discuss its implication for AMC selection.
Doppler frequency: . For 60 km/h at 3.5 GHz: Hz.
Normalised Doppler: .
At , the channel has completely decorrelated during the feedback loop.
Doppler frequency
, . Hz.
Normalised product
. By the time the transmitter uses CQI from ms ago, the channel has moved approximately one full "coherence distance" (half-wavelength autocorrelation width).
Implication for AMC
At , CQI is effectively useless as a predictor of instantaneous SNR. The scheduler should: (i) pick a conservative MCS about 2 steps below the CQI-indicated optimum, (ii) use longer-term CQI averaging (smoothed over several slots), (iii) rely more heavily on HARQ-IR to cover the residual BLER.
Standard practice
3GPP recommends a UE-speed-class-dependent "CQI offset" applied by the gNB. At 60 km/h the offset is typically 2-3 dB, lowering the effective SNR the AMC policy sees and forcing a more conservative MCS. For low-speed (pedestrian) UEs the offset is 0-0.5 dB. Getting this wrong is one of the most common causes of systematic BLER overshoot in deployed 5G networks.
ex-ch09-16
EasyGive three reasons the OIF 400ZR specification mandates probabilistic amplitude shaping (PAS) rather than a larger modulation alphabet (e.g. DP-64QAM instead of DP-16QAM + PAS) to achieve its 400 Gbps/ rate at 120 km reach.
Consider non-linearity of fibre
Consider rate-adaptability
Consider hardware/latency
Reason 1: Fibre non-linearity
Coherent optical transmission over SSMF is limited by fibre Kerr non-linearity, which imposes a non-linear Shannon limit. Larger QAM constellations have greater peak-to-average power ratio, launching into a more non-linear regime. PAS on moderate-QAM (16QAM) keeps the amplitude distribution tight and respects the non-linear budget.
Reason 2: Rate adaptability
PAS gives continuous rate adjustment via , without changing the modulation format or the LDPC code. This is essential for optical transmission where distance, launch power, and wavelength-division-multiplexing density all vary. A larger-QAM solution would require a much larger MCS table to cover the same rate range.
Reason 3: Decoder reuse
PAS integrates with the existing systematic LDPC decoder (designed for uniform inputs). A 64-QAM implementation would require a different LLR lookup and possibly a different LDPC code optimised for 64-QAM BICM. PAS keeps the decoder and the code unchanged; only the distribution matcher is added.
Bonus
A fourth reason: PAS's amplitude-to-parity decomposition is hardware-friendly for optical receivers, which already separate I/Q (sign-bits) from amplitude processing in coherent DSP.