Exercises

ex-ch32-01

Easy

Consider a complex AWGN channel at SNR Ξ³=5\gamma = 5 dB.

(a) Compute the Shannon capacity CC in bits per channel use. (b) Compute the channel dispersion VV. (c) Using the normal approximation, find the maximum achievable rate Rβˆ—(n,Ξ΅)R^*(n, \varepsilon) for n=200n = 200 and Ξ΅=10βˆ’3\varepsilon = 10^{-3}. (d) Express Rβˆ—R^* as a percentage of CC.

ex-ch32-02

Easy

A 5G NR URLLC system uses 30 kHz subcarrier spacing (OFDM symbol duration including CP: Tsymβ‰ˆ33.3 μT_{\mathrm{sym}} \approx 33.3\,\mus).

(a) How many OFDM symbols fit in a 1 ms user-plane latency budget? (b) If gNB processing takes 3 symbols and UE processing takes 5 symbols, and worst-case alignment is 2 symbols, how many symbols remain for actual data transmission? (c) If the system bandwidth is 40 MHz with 1100 active subcarriers, how many resource elements (REs) are available for data?

ex-ch32-03

Easy

Compute the average AoI for an M/M/1 queue with service rate μ=2\mu = 2 packets/s at the following arrival rates: λ∈{0.5,1.0,1.5,1.9}\lambda \in \{0.5, 1.0, 1.5, 1.9\} packets/s.

Which value of Ξ»\lambda gives the lowest AoI? How does this compare to the theoretical optimal Οβˆ—β‰ˆ0.5307\rho^* \approx 0.5307?

ex-ch32-04

Easy

In a grant-free mMTC system, there are Ktotal=2000K_{\mathrm{total}} = 2000 devices with activity probability pa=0.02p_a = 0.02.

(a) What is the expected number of active devices? (b) What is the minimum pilot length according to the compressed sensing scaling law Lp=Ω(Kalog⁑(Ktotal/Ka))L_p = \Omega(K_a \log(K_{\mathrm{total}}/K_a))? (c) If the coherence interval is Tc=300T_c = 300 symbols, what fraction of resources is consumed by pilots?

ex-ch32-05

Medium

Derive the channel dispersion VV for a binary symmetric channel (BSC) with crossover probability pp. Show that V=p(1βˆ’p)[log⁑2((1βˆ’p)/p)]2V = p(1-p)[\log_2((1-p)/p)]^2. Compute VV for p=0.11p = 0.11 and determine the maximum rate at n=500n = 500, Ξ΅=10βˆ’4\varepsilon = 10^{-4}.

ex-ch32-06

Medium

Consider a URLLC system requiring BLER Ξ΅=10βˆ’5\varepsilon = 10^{-5} with blocklength n=256n = 256 over a complex AWGN channel.

(a) If the target data rate is R=1R = 1 bit/channel use, find the minimum required SNR Ξ³min\gamma_{\mathrm{min}} using the normal approximation. (b) Compare Ξ³min\gamma_{\mathrm{min}} to the Shannon SNR Ξ³Sh=2Rβˆ’1\gamma_{\mathrm{Sh}} = 2^R - 1 (the minimum SNR for rate RR at infinite blocklength). (c) Express the SNR penalty in dB.

ex-ch32-07

Medium

In slotted ALOHA with KK users, the throughput is S=Kp(1βˆ’p)Kβˆ’1S = Kp(1-p)^{K-1}, maximised at pβˆ—=1/Kp^* = 1/K, giving Sβˆ—=(1βˆ’1/K)Kβˆ’1β†’1/eS^* = (1 - 1/K)^{K-1} \to 1/e.

In IRSA with degree distribution Ξ›(x)=0.5x2+0.28x3+0.22x8\Lambda(x) = 0.5x^2 + 0.28x^3 + 0.22x^8:

(a) Compute the average number of replicas per user. (b) The channel load threshold (below which SIC succeeds with high probability) for this distribution is approximately Gβˆ—=0.938G^* = 0.938 packets/slot. By what factor does IRSA improve over slotted ALOHA? (c) What is the spectral efficiency in bits/slot if each replica carries B=100B = 100 bits?

ex-ch32-08

Medium

Derive the average AoI for an M/D/1 queue with Poisson arrivals (rate Ξ»\lambda) and deterministic service time D=1/ΞΌD = 1/\mu.

(a) Show that the average system time is E[Tβ€²]=1/ΞΌ+ρ/(2ΞΌ(1βˆ’Ο))\mathbb{E}[T'] = 1/\mu + \rho/(2\mu(1-\rho)). (b) Using E[Y]=1/Ξ»\mathbb{E}[Y] = 1/\lambda and E[Y2]=2/Ξ»2\mathbb{E}[Y^2] = 2/\lambda^2 (exponential inter-arrivals), show that

Ξ”Λ‰M/D/1=1ΞΌ(1+1ρ+ρ2(1βˆ’Ο)).\bar{\Delta}_{\mathrm{M/D/1}} = \frac{1}{\mu}\left(1 + \frac{1}{\rho} + \frac{\rho}{2(1-\rho)}\right).

(c) Compare Ξ”Λ‰M/D/1\bar{\Delta}_{\mathrm{M/D/1}} and Ξ”Λ‰M/M/1\bar{\Delta}_{\mathrm{M/M/1}} at ρ=0.5\rho = 0.5.

ex-ch32-09

Medium

An mMTC base station with MM antennas receives pilot signals from KtotalK_{\mathrm{total}} devices. The received signal is Y=AX+W\mathbf{Y} = \mathbf{A}\mathbf{X} + \mathbf{W}, where X\mathbf{X} is row-sparse.

(a) Show that the maximum likelihood activity detector (which knows the channel gains) is equivalent to testing whether βˆ₯xkβˆ₯2>Ξ³th\|\mathbf{x}_k\|^2 > \gamma_{\mathrm{th}} for each device kk, where xk\mathbf{x}_k is the MMSE estimate of the kk-th row of X\mathbf{X}.

(b) For a single antenna (M=1M = 1) and Gaussian pilots, show that under H0\mathcal{H}_0 (device kk inactive), ∣x^k∣2/Οƒ2|\hat{x}_k|^2 / \sigma^2 follows a chi-squared distribution with 2 degrees of freedom (i.e., exponential), and determine the false alarm probability as a function of the threshold Ξ³th\gamma_{\mathrm{th}}.

ex-ch32-10

Medium

Consider the Peak AoI (PAoI) for the M/M/1 queue.

(a) Show that the average PAoI equals AΛ‰peak=1/Ξ»+1/(ΞΌβˆ’Ξ»)\bar{A}^{\mathrm{peak}} = 1/\lambda + 1/(\mu - \lambda). (b) Find the optimal Ξ»\lambda that minimises AΛ‰peak\bar{A}^{\mathrm{peak}}. (c) Show that for the M/M/1 queue, AΛ‰peak=Ξ”Λ‰\bar{A}^{\mathrm{peak}} = \bar{\Delta} (average PAoI equals average AoI). (d) Give an intuitive explanation for why this equality holds.

ex-ch32-11

Hard

Meta-converse bound for the BSC.

Consider a BSC(pp) with p=0.1p = 0.1 and blocklength n=100n = 100.

(a) The meta-converse gives a lower bound on the error probability for any (n,M,Ξ΅)(n, M, \varepsilon) code:

Ξ΅β‰₯1βˆ’1Mβˆ‘ynmin⁑ ⁣(PYn∣Xn(yn∣xn),β€…β€ŠQYn(yn)),\varepsilon \geq 1 - \frac{1}{M} \sum_{y^n} \min\!\big(P_{Y^n|X^n}(y^n | x^n),\; Q_{Y^n}(y^n)\big),

where QYnQ_{Y^n} is the output distribution under the best alternative hypothesis. For the BSC, show that the optimal QYnQ_{Y^n} is the i.i.d. Bernoulli(1/2)\mathrm{Bernoulli}(1/2) distribution.

(b) Using this, derive a closed-form lower bound on Ξ΅\varepsilon as a function of MM and nn.

(c) Compare numerically with the normal approximation at R=0.3R = 0.3 bits/use (M=2nR=230M = 2^{nR} = 2^{30}).

ex-ch32-12

Hard

Diversity-multiplexing-latency trade-off for 2x2 MIMO.

Consider a 2Γ—22 \times 2 MIMO system over quasi-static Rayleigh fading with blocklength nn.

(a) For spatial multiplexing rate rr (i.e., R=rlog⁑2(1+Ξ³)R = r \log_2(1 + \gamma)), derive the outage probability at nβ†’βˆžn \to \infty:

Poutβ‰Ξ³βˆ’d(r),d(r)=(2βˆ’r)2.P_{\mathrm{out}} \doteq \gamma^{-d(r)}, \qquad d(r) = (2 - r)^2.

(b) For finite nn, the effective outage probability is Ξ΅Λ‰=E[Q((C~βˆ’R)/V~/n)]\bar{\varepsilon} = \mathbb{E}[Q((\tilde{C} - R)/\sqrt{\tilde{V}/n})] where C~\tilde{C} and V~\tilde{V} depend on the channel realisation. Argue that for a fixed diversity order dd, the maximum multiplexing gain rr must decrease as nn decreases.

(c) Numerically evaluate Ξ΅Λ‰\bar{\varepsilon} for n=100n = 100, r=0.5r = 0.5, Ξ³=20\gamma = 20 dB, and compare with the asymptotic outage probability.

ex-ch32-13

Hard

AMP state evolution analysis.

Consider the AMP algorithm for activity detection with i.i.d. Gaussian pilot matrix A∈CLpΓ—K\mathbf{A} \in \mathbb{C}^{L_p \times K}, where Lp/Kβ†’Ξ΄L_p/K \to \delta as Lp,Kβ†’βˆžL_p, K \to \infty. The state evolution recursion tracks the effective noise variance Ο„(t)\tau^{(t)} at iteration tt:

Ο„(t+1)=Οƒ2+1δ mmse(Ο„(t)),\tau^{(t+1)} = \sigma^2 + \frac{1}{\delta}\, \mathrm{mmse}(\tau^{(t)}),

where mmse(Ο„)\mathrm{mmse}(\tau) is the MMSE of estimating XX from Z=X+τ WZ = X + \sqrt{\tau}\, W (W∼CN(0,1)W \sim \mathcal{CN}(0,1)) under the Bernoulli-Gaussian prior X∼(1βˆ’pa)Ξ΄0+paCN(0,Οƒx2)X \sim (1-p_a)\delta_0 + p_a \mathcal{CN}(0, \sigma_x^2).

(a) Derive mmse(Ο„)\mathrm{mmse}(\tau) in closed form. (b) Show that the state evolution has a unique fixed point when Ξ΄\delta is sufficiently large (i.e., enough pilots). (c) Find the critical ratio Ξ΄βˆ—\delta^* below which AMP fails (undergoes a phase transition) for pa=0.05p_a = 0.05 and SNR=Οƒx2/Οƒ2=10\text{SNR} = \sigma_x^2/\sigma^2 = 10 dB.

ex-ch32-14

Hard

Optimal sampling for AoI with energy harvesting.

A sensor harvests energy at random times according to a Poisson process with rate λh\lambda_h. Each update transmission costs one unit of energy. The sensor has a battery of capacity Bmax⁑=1B_{\max} = 1 (can store at most one energy unit). Updates are served instantaneously (zero service time).

(a) Model this as a renewal process and show that the average AoI is

Ξ”Λ‰=12Ξ»h+1Ξ»s,\bar{\Delta} = \frac{1}{2\lambda_h} + \frac{1}{\lambda_s},

where Ξ»s\lambda_s is the effective sampling rate (which equals Ξ»h\lambda_h since the sensor transmits whenever it has energy).

(b) Now suppose the sensor can choose to discard some harvested energy and only sample at rate Ξ»s≀λh\lambda_s \leq \lambda_h. Find the optimal Ξ»s\lambda_s that minimises AoI.

(c) Show that discarding energy is never optimal: the best strategy is to transmit as soon as energy is available.

ex-ch32-15

Hard

Unsourced random access: energy efficiency bound.

In unsourced random access, KaK_a active users each transmit a BB-bit message using a common codebook over nn channel uses of a Gaussian MAC.

(a) Show that the minimum energy-per-bit for reliable communication (PUPE β†’0\to 0) in the single-user case (Ka=1K_a = 1) is

EbN0∣min⁑=2B/nβˆ’1B/nβ‹…nn,\frac{E_b}{N_0}\bigg|_{\min} = \frac{2^{B/n} - 1}{B/n} \cdot \frac{n}{n},

which approaches ln⁑2β‰ˆβˆ’1.59\ln 2 \approx -1.59 dB as B/nβ†’0B/n \to 0.

(b) For Ka>1K_a > 1 users, derive a lower bound on Eb/N0E_b/N_0 that accounts for multi-user interference. Show that the penalty scales as O(Ka/n)O(K_a / n) in the required Eb/N0E_b/N_0.

(c) For Ka=100K_a = 100, B=100B = 100 bits, n=30,000n = 30{,}000, compute the required Eb/N0E_b/N_0 from your bound and compare with the single-user limit.

ex-ch32-16

Hard

Age-optimal scheduling in a multi-source system.

Consider N=3N = 3 independent sources sharing a single server (M/M/1 queue, service rate ΞΌ\mu). Source ii generates updates as a Poisson process with rate Ξ»i\lambda_i. The total arrival rate is Ξ»=βˆ‘iΞ»i<ΞΌ\lambda = \sum_i \lambda_i < \mu.

(a) Show that the average AoI of source ii under FCFS scheduling is

Ξ”Λ‰i=1Ξ»i+1ΞΌβˆ’Ξ».\bar{\Delta}_i = \frac{1}{\lambda_i} + \frac{1}{\mu - \lambda}.

(b) The system-level AoI is the weighted sum Ξ”Λ‰sys=βˆ‘iwiΞ”Λ‰i\bar{\Delta}_{\mathrm{sys}} = \sum_i w_i \bar{\Delta}_i. For equal weights wi=1/Nw_i = 1/N, find the optimal rate allocation (Ξ»1βˆ—,Ξ»2βˆ—,Ξ»3βˆ—)(\lambda_1^*, \lambda_2^*, \lambda_3^*) that minimises Ξ”Λ‰sys\bar{\Delta}_{\mathrm{sys}} subject to Ξ»β‰€ΞΌβˆ’Ο΅\lambda \leq \mu - \epsilon for stability.

(c) Show that the optimal allocation is uniform: Ξ»iβˆ—=Ξ»βˆ—/N\lambda_i^* = \lambda^*/N for all ii, and find Ξ»βˆ—\lambda^*.