Exercises
ex-ch09-01
EasyA BPSK system transmits or over an AWGN channel with noise variance .
(a) Write the likelihood ratio .
(b) Simplify the LRT to a threshold test on .
(c) Find the ML threshold and the MAP threshold when .
The likelihood ratio is the ratio of two Gaussian PDFs centered at and .
Taking the log simplifies the exponentials.
Likelihood ratio
$
Threshold test
Taking the log:
ML and MAP thresholds
ML (): .
MAP (): .
When , the threshold shifts left (), expanding the region for the more likely symbol .
ex-ch09-02
Easy4-PAM has signal points with .
(a) How many nearest neighbours does each signal point have?
(b) Apply the union bound to find an upper bound on .
(c) Compare with the exact .
The outer points have 1 nearest neighbour each; the inner points have 2 each.
Nearest neighbours
: 1 neighbour (). : 2 neighbours (, ). : 2 neighbours (, ). : 1 neighbour ().
Union bound
Average number of nearest neighbours: .
Union bound: .
Comparison
The exact result is .
For 4-PAM, the union bound happens to be exact, not just an upper bound! This is because the error events (crossing into an adjacent region) are non-overlapping for one-dimensional constellations.
ex-ch09-03
MediumA binary system uses and over AWGN with .
(a) Derive the MAP decision rule for general priors and .
(b) Find the error probability as a function of .
(c) Show that is minimised when (ML).
(d) Explain why this does NOT contradict the fact that MAP minimises β what is MAP actually minimising?
The MAP decision boundary is .
MAP minimises for a GIVEN set of priors, not over all possible priors.
MAP decision rule
$
Error probability
$
Minimum at $p = 0.5$
At : the term vanishes, and , which is the minimum over all .
This is because the on-off keying signal set has regardless of priors, but the total increases when the MAP boundary shifts to accommodate unequal priors.
Resolution of the paradox
MAP minimises given the actual priors. If the true priors are , the MAP detector achieves lower than the ML detector for those specific priors.
The ML detector ( boundary) would give even higher than the MAP detector when . The fact that for the MAP detector just means that unequal priors inherently make detection harder.
ex-ch09-04
MediumFor 8-PSK in AWGN, derive the union bound on the symbol error probability and compare with simulation at dB.
(a) Find in terms of .
(b) How many nearest neighbours does each point have?
(c) Compute the union bound and the nearest-neighbour approximation.
. Each point has exactly 2 nearest neighbours.
Minimum distance
Nearest neighbours
Each 8-PSK point has exactly 2 nearest neighbours (the adjacent points on the circle). .
Bounds
Nearest-neighbour approximation:
At dB :
The full union bound includes second-nearest neighbours (), adding , which is negligible.
The nearest-neighbour approximation is accurate at this SNR.
ex-ch09-05
Easy(a) Compute , , and using the Chernoff bound .
(b) Compare with the exact values: , , .
(c) How tight is the bound in each case (ratio of bound to exact)?
, , .
Chernoff bounds
Tightness ratio
: ratio
: ratio
: ratio
The Chernoff bound overestimates by a factor of , which grows slowly with . For order-of-magnitude estimates, the Chernoff bound is adequate.
ex-ch09-06
Medium(a) At what does 16-QAM achieve BER ?
(b) At what does QPSK achieve the same BER?
(c) What is the power penalty (in dB) for using 16-QAM instead of QPSK?
(d) What is the spectral efficiency gain?
Use the approximate BER formulas from Section 9.2.
16-QAM
dB.
More precisely, solving numerically: dB.
QPSK
dB.
Power penalty and spectral efficiency
Power penalty: dB.
Spectral efficiency: QPSK delivers 2 bits/s/Hz; 16-QAM delivers 4 bits/s/Hz. The 2.9 dB penalty buys a doubling of spectral efficiency.
In general, each doubling of costs approximately 3 dB for QAM.
ex-ch09-07
MediumVerify Craig's formula for by showing that
gives the correct values for and .
For : the integrand becomes for .
For : the integrand is for all .
$Q(0)$
Q(0) = 1/2$. Correct.
$Q(\infty)$
For any , , so
By dominated convergence:
This agrees with . Correct.
ex-ch09-08
HardUsing Craig's formula, show that the exact SER for -PSK in AWGN is
Evaluate this numerically for 8-PSK at dB and compare with the nearest-neighbour approximation.
The exact SER involves integrating over the angular extent of the decision region, which spans radians but the error region spans of the full circle.
Exact SER derivation
For -PSK with decision regions spanning angle on each side, the conditional SER given signal involves integrating the noise PDF over the complement of the decision region. Using a polar coordinate transformation and Craig's formula generalisation:
where .
Numerical evaluation for 8-PSK
At dB :
Numerical integration gives .
Nearest-neighbour approximation:
The nearest-neighbour approximation overestimates at this moderate SNR. The exact integral accounts for the correct decision region geometry.
ex-ch09-09
EasyFor the model with , :
(a) Compute the Fisher information .
(b) State the CRLB.
(c) Show that the sample mean achieves the CRLB.
.
Fisher information
$
CRLB
Sample mean achieves CRLB
This equals the CRLB. The sample mean is an efficient estimator.
ex-ch09-10
MediumA received signal is for , where is known, is the unknown phase, and .
(a) Find the ML estimate of .
(b) Compute the Fisher information and CRLB.
(c) At dB and , what is the minimum achievable phase estimation standard deviation (in degrees)?
Maximise over .
ML estimate
The log-likelihood (up to constants) is
Maximising over :
Fisher information and CRLB
\text{Var}(\hat{\phi}) \geq \frac{1}{2N \cdot \text{SNR}}$
Numerical evaluation
, :
rad
rad
Phase estimation to within about 1 degree is achievable with 100 observations at 10 dB SNR.
ex-ch09-11
MediumA frequency-selective channel has taps with where (exponential power delay profile). Estimation uses equally spaced pilot subcarriers in an OFDM system.
(a) Write the LS and LMMSE estimators for the channel frequency response at pilot positions.
(b) Compute the per-coefficient MSE ratio MSE / MSE at SNR dB.
(c) At what SNR does the LMMSE gain become negligible ( dB)?
The channel correlation matrix in the frequency domain is the DFT of the power delay profile.
Estimators
LS:
LMMSE:
where and is the DFT matrix restricted to pilot positions.
MSE ratio at 10 dB
Total channel power: .
Average MSE ratio (6.9 dB gain for MMSE).
SNR for negligible gain
The gain becomes dB when dB, i.e., , dB.
Wait β the gain becomes negligible at HIGH SNR, not low. At high SNR, both estimators converge. The LMMSE gain dB as SNR . For dB gain, we need SNR dB... This is model-dependent; numerically, the gain falls below 0.5 dB at approximately SNR dB.
ex-ch09-12
HardA complex sinusoid at unknown frequency is observed in noise:
where .
(a) Compute the Fisher information .
(b) Show that the CRLB on frequency estimation is
(c) For , SNR dB, and s, compute the minimum frequency estimation standard deviation.
.
.
Fisher information
$
CRLB
For large : .
using SNR (the factor 2 from complex noise).
Numerical evaluation
Hz
Hz.
For comparison, the frequency resolution (DFT bin width) is Hz. The CRLB allows estimation accuracy far below the DFT resolution.
ex-ch09-13
MediumDerive the average BER for BPSK over Rayleigh fading starting from the conditional BER and the Rayleigh SNR distribution .
(a) Set up the averaging integral.
(b) Use Craig's formula to evaluate it.
(c) Verify the high-SNR approximation .
The MGF of an exponential RV with mean is .
Averaging integral
$
Craig's formula
Substituting :
Inner integral: .
High-SNR approximation
For :
ex-ch09-14
MediumA system uses receive antennas with MRC combining over i.i.d. Rayleigh fading channels.
(a) What is the diversity order?
(b) Write the average BER at high SNR.
(c) How many dB of SNR are needed for with ?
With MRC, the total SNR is , which is Gamma-distributed.
Diversity order
With i.i.d. Rayleigh branches under MRC, the total SNR . The diversity order is .
High-SNR BER
$
Required SNR for $P_b = 10^{-6}$
: dB
: dB
: dB
: similarly, dB.
Each additional diversity branch reduces the required SNR by approximately 10 dB for a target BER of .
ex-ch09-15
HardFor BPSK over Ricean fading with -factor and average SNR , the SNR has MGF
(a) Use the MGF approach to write the average BER as an integral.
(b) Show that for (Rayleigh), you recover the known result.
(c) At dB and dB, compute numerically and compare with the Rayleigh case ().
Substitute into the MGF and integrate over .
MGF-based integral
$
Rayleigh verification ($K = 0$)
For : the exponential becomes , and
which is the known Rayleigh result. Correct.
Numerical comparison
At (linear) and :
Numerical integration gives .
Rayleigh (): .
The Ricean channel with dB improves BER by nearly 5 orders of magnitude compared to Rayleigh. The strong LOS component prevents deep fades and restores near-AWGN performance.
ex-ch09-16
EasyAn OFDM system uses pilot subcarriers, each with pilot power and noise variance .
(a) Compute the per-subcarrier MSE of the LS channel estimator.
(b) What pilot SNR does this correspond to?
(c) If the pilot power doubles, what is the new MSE?
MSE.
MSE
Pilot SNR
dB.
Doubled pilot power
Doubling pilot power halves the MSE (3 dB improvement), as expected from the relationship.
ex-ch09-17
MediumA channel has taps with and (total power ). Estimation uses pilots with and .
(a) Compute MSE.
(b) Compute MSE for each tap.
(c) What is the average MSE gain (in dB)?
(d) Which tap benefits more from MMSE? Explain intuitively.
MMSE per tap: .
LS MSE
per coefficient.
MMSE per tap
Tap 0:
Tap 1:
Average MSE gain
Average MSE
Gain dB.
Which tap benefits more
Tap 1 (weaker tap) benefits more: its MSE drops from 0.5 to 0.143 (a factor of 3.5), while Tap 0 drops from 0.5 to 0.308 (a factor of 1.6).
Intuitively, the MMSE estimator recognises that Tap 1 has lower variance and shrinks its estimate more aggressively toward zero, suppressing more of the noise.
ex-ch09-18
MediumA mobile user at speed km/h communicates at carrier frequency GHz over a channel with maximum delay spread s.
(a) Compute the maximum Doppler frequency .
(b) Compute the coherence time and coherence bandwidth.
(c) For an OFDM system with kHz subcarrier spacing and symbol duration s (including CP), determine the maximum pilot spacing in frequency (subcarriers) and time (symbols).
(d) Estimate the minimum pilot overhead fraction.
where m/s.
Maximum Doppler
m/s. Hz.
Coherence time and bandwidth
ms.
kHz.
Pilot spacing
Frequency: kHz. In subcarriers: subcarriers. Use every 10th subcarrier (with margin).
Time: ms. In symbols: symbols. Use every 28 symbols (with margin, matching 2 per slot).
Pilot overhead
Overhead %.
In practice, additional DMRS is needed for MIMO (one per antenna port), and guard symbols add overhead, bringing total pilot fraction to roughly 5-10%.
ex-ch09-19
HardA coherent BPSK system estimates the channel using pilots and then detects data symbols. The channel is (Rayleigh) and the estimation error is with (MMSE).
(a) Show that the effective received signal with imperfect CSI is , where acts as additional noise.
(b) Derive the effective SNR: .
(c) Show that at high transmit SNR, saturates at .
(d) For and SNR dB, compute the SNR ceiling.
Treat as additive noise independent of .
Signal decomposition
The term is the interference caused by imperfect channel knowledge. It is uncorrelated with .
Effective SNR
Signal power: .
Effective noise power: .
where .
SNR ceiling
As ():
Average: for small .
No matter how much transmit power is used, the effective SNR cannot exceed due to estimation error.
Numerical example
SNR ceiling dB.
Even with infinite transmit power, the effective SNR is limited to 20 dB. To push beyond this, either increase or increase pilot SNR.
ex-ch09-20
ChallengeAn OFDM system has resource elements per coherence block. Of these, are used for pilots and for data. The channel is Rayleigh with unit variance, and the total transmit power is .
(a) If all resource elements use the same power , write the channel estimation MSE as a function of .
(b) Write the effective spectral efficiency as .
(c) Find the optimal that maximises at total dB.
(d) Show that the optimal pilot fraction increases with SNR.
where .
Optimise over by taking the derivative or by numerical search.
Estimation MSE
With equal power: , pilot SNR per RE .
Effective spectral efficiency
(averaging over Rayleigh fading and using the effective noise)
Optimal $N_p$ at SNR $= 10$ dB
SNR (linear). Per-RE SNR .
Evaluating for :
: , ,
: , ,
: , ,
: , ,
The optimum is around , allocating 20% of resources to pilots.
Pilot fraction vs SNR
At higher SNR, each pilot provides more information (higher per-pilot SNR), so fewer pilots suffice. The optimal pilot fraction decreases approximately as at high SNR.
Conversely, at very low SNR, more pilots are needed to achieve adequate channel estimation, but the data rate penalty becomes severe β illustrating the fundamental tension between estimation and communication.