Exercises

ex-ch19-01

Easy

A TDMA system has bandwidth W=5W = 5 MHz, frame duration T=10T = 10 ms, and K=5K = 5 users with equal time slots. All users have equal power P=200P = 200 mW, noise PSD Οƒ2=10βˆ’9\sigma^2 = 10^{-9} W/Hz, and flat-fading gains ∣hk∣2=1|h_k|^2 = 1 for all kk.

(a) Compute each user's burst power during its active slot. (b) Compute the per-user achievable rate. (c) Compute the system sum rate and compare with the MAC sum capacity.

ex-ch19-02

Easy

An OFDMA system has Nsc=128N_{\text{sc}} = 128 subcarriers, bandwidth W=20W = 20 MHz, and K=4K = 4 users. User channel gains on each subcarrier are i.i.d. Rayleigh with E[∣hk,n∣2]=1\mathbb{E}[|h_{k,n}|^2] = 1.

(a) With round-robin allocation (32 subcarriers per user), compute the expected per-user rate. (b) With max-rate allocation (each subcarrier goes to the user with the best channel), compute the expected per-user rate using the multi-user diversity formula E[max⁑k∣hk,n∣2]=βˆ‘j=1K1/j\mathbb{E}[\max_k |h_{k,n}|^2] = \sum_{j=1}^{K} 1/j.

ex-ch19-03

Medium

Prove that for KK users with equal channel gains and equal power in an AWGN MAC, TDMA (or FDMA) with equal resource allocation achieves the sum capacity.

Hint: Show that the optimal resource fractions are Ξ±k=1/K\alpha_k = 1/K when all SNRs are identical, and that the resulting sum rate equals log⁑2(1+Kβ‹…SNR)\log_2(1 + K \cdot \text{SNR}).

ex-ch19-04

Medium

Two users share a Gaussian MAC with W=1W = 1 MHz and Οƒ2=10βˆ’6\sigma^2 = 10^{-6} W/Hz. User 1 has P1=1P_1 = 1 W, ∣h1∣2=10|h_1|^2 = 10; user 2 has P2=0.5P_2 = 0.5 W, ∣h2∣2=2|h_2|^2 = 2.

(a) Plot (or compute vertices of) the MAC capacity region. (b) Compute the sum rate achieved by FDMA with optimal bandwidth allocation. (c) What is the percentage loss of FDMA relative to the MAC sum rate?

ex-ch19-05

Easy

In a two-user NOMA system, user 1 (near) has ∣h1∣2=20|h_1|^2 = 20, user 2 (far) has ∣h2∣2=1|h_2|^2 = 1. Total power P=1P = 1 W, Οƒ2=1\sigma^2 = 1 W. Power allocation: P1=0.3PP_1 = 0.3P, P2=0.7PP_2 = 0.7P.

(a) Compute the NOMA rate pair with SIC (decode user 2 first). (b) Verify that the sum rate equals log⁑2(1+P1∣h1∣2+P2∣h2∣2)\log_2(1 + P_1|h_1|^2 + P_2|h_2|^2).

ex-ch19-06

Medium

Show that for the two-user MAC with SNR1≫SNR2\text{SNR}_{1} \gg \text{SNR}_{2}, the NOMA gain over TDMA (in terms of sum rate) scales as:

Ξ”Rβ‰ˆlog⁑2 ⁣(SNR1SNR2)β‹…12βˆ’12log⁑2 ⁣(SNR1SNR2)+O(1)\Delta R \approx \log_2\!\left(\frac{\text{SNR}_{1}}{\text{SNR}_{2}}\right) \cdot \frac{1}{2} - \frac{1}{2}\log_2\!\left(\frac{\text{SNR}_{1}}{\text{SNR}_{2}}\right) + O(1)

and simplify this for SNR1/SNR2=γ≫1\text{SNR}_{1}/\text{SNR}_{2} = \gamma \gg 1.

ex-ch19-07

Hard

For the KK-user Gaussian MAC with equal channel gains ∣hk∣2=1|h_k|^2 = 1 and individual power constraints Pk=PP_k = P for all kk, show that NOMA (SIC) achieves the same sum rate as orthogonal access but with a strictly larger rate region (i.e., more rate tuples are achievable).

Specifically, show that the MAC capacity region is a contra-polymatroid with 2Kβˆ’12^K - 1 constraints, and that orthogonal access achieves only a subset of the boundary.

ex-ch19-08

Easy

Two Walsh-Hadamard codes of length N=8N = 8 are c1=18[1,1,1,1,1,1,1,1]T\mathbf{c}_1 = \frac{1}{\sqrt{8}}[1,1,1,1,1,1,1,1]^T and c2=18[1,βˆ’1,1,βˆ’1,1,βˆ’1,1,βˆ’1]T\mathbf{c}_2 = \frac{1}{\sqrt{8}}[1,-1,1,-1,1,-1,1,-1]^T.

(a) Verify orthogonality: c1Tc2=0\mathbf{c}_1^T\mathbf{c}_2 = 0. (b) If user 1 sends b1=+1b_1 = +1 and user 2 sends b2=βˆ’1b_2 = -1 with equal power, compute the despreader outputs z1z_1 and z2z_2 in the absence of noise. (c) What happens if user 2's signal arrives with a 1-chip delay?

ex-ch19-09

Medium

A DS-CDMA system with processing gain N=32N = 32 uses random binary spreading codes (ck,n∈{+1/N,βˆ’1/N}c_{k,n} \in \{+1/\sqrt{N}, -1/\sqrt{N}\} i.i.d. with equal probability).

(a) Compute E[ciTcj]\mathbb{E}[\mathbf{c}_i^T\mathbf{c}_j] and Var[ciTcj]\text{Var}[\mathbf{c}_i^T\mathbf{c}_j] for i≠ji \neq j. (b) With K=16K = 16 equal-power users and SNR per bit of 10 dB, estimate the BER using the Gaussian approximation for MAI.

ex-ch19-10

Medium

Derive the capacity of a synchronous CDMA system with KK users, processing gain NN, and random i.i.d. codes in the large-system limit K,Nβ†’βˆžK, N \to \infty with Ξ²=K/N\beta = K/N fixed.

Show that the sum spectral efficiency (bits/s/Hz per chip) is:

Csum=log⁑2(1+Ξ²β‹…SNR)C_{\text{sum}} = \log_2(1 + \beta \cdot \text{SNR})

in the absence of MAI (with optimal multiuser detection).

ex-ch19-11

Hard

Analyse the near-far effect quantitatively. In a CDMA cell with KK users, user 1 is at distance d1=dfard_1 = d_{\text{far}} and users 2,…,K2, \ldots, K are at distance dj=dneard_j = d_{\text{near}}. Path loss is Ξ²(d)=dβˆ’Ξ±\beta(d) = d^{-\alpha}. All users transmit with the same power PP.

(a) Compute the SIR at the matched-filter output for user 1 (the far user) with random codes (processing gain NN). (b) For N=64N = 64, K=16K = 16, Ξ±=4\alpha = 4, dfar/dnear=10d_{\text{far}}/d_{\text{near}} = 10, compute the SIR in dB. (c) What transmit power ratio Pnear/PfarP_{\text{near}}/P_{\text{far}} is needed to equalise the SIR (perfect power control)?

ex-ch19-12

Easy

A pure ALOHA network has 50 users, each generating packets at rate Ξ»=0.005\lambda = 0.005 packets per slot (slot = packet duration).

(a) Compute the offered load GG. (b) Compute the throughput SS and the average number of retransmissions per successful packet. (c) At what user count does the system reach peak throughput?

ex-ch19-13

Medium

Derive the throughput of slotted ALOHA with capture: if two or more users transmit in the same slot, the strongest user succeeds if its received power exceeds the sum of all others by a factor Ξ³0\gamma_0 (capture ratio).

Assume KK users with i.i.d. Rayleigh fading (received powers are i.i.d. exponential with mean Pˉ\bar{P}).

Show that the throughput is:

Scapture=βˆ‘n=1K(Kn)pn(1βˆ’p)Kβˆ’nβ‹…n(1+Ξ³0)nβˆ’1S_{\text{capture}} = \sum_{n=1}^{K} \binom{K}{n} p^n (1-p)^{K-n} \cdot \frac{n}{(1 + \gamma_0)^{n-1}}

where pp is the transmission probability per user per slot.

ex-ch19-14

Hard

Analyse the stability of slotted ALOHA using the drift analysis. Model the system state as the number of backlogged users n(t)n(t). In each slot, each backlogged user retransmits with probability prp_r, and new arrivals follow a Poisson process with rate Ξ»\lambda.

(a) Write the expected drift D(n)=E[n(t+1)βˆ’n(t)∣n(t)=n]D(n) = \mathbb{E}[n(t+1) - n(t) \mid n(t) = n]. (b) Show that the system is stable (negative drift) if and only if Ξ»<preβˆ’prn\lambda < p_r e^{-p_r n} for the current backlog nn. (c) Prove that there exists a maximum stable throughput Ξ»max⁑=1/e\lambda_{\max} = 1/e and that for Ξ»>1/e\lambda > 1/e, the system is unstable for all sufficiently large nn.

ex-ch19-15

Easy

A TDD massive MIMO system has M=128M = 128 antennas, K=16K = 16 users, coherence time Tc=196T_c = 196 symbols, and UL/DL split of 1:3 (one quarter UL, three quarters DL).

(a) Compute the pilot overhead fraction. (b) Compute the number of DL data symbols per coherence interval. (c) If the per-user DL rate is 5 bits/s/Hz, what is the effective throughput accounting for overhead?

ex-ch19-16

Medium

Compare the achievable sum spectral efficiency of FDD and TDD for a massive MIMO system as a function of MM. Assume:

  • K=10K = 10, Tc=200T_c = 200 symbols, SNR = 10 dB per user.
  • TDD: Ο„p=K\tau_p = K, remaining symbols split equally UL/DL.
  • FDD: Ο„p=M\tau_p = M (DL pilots), feedback overhead =M= M symbols, remaining symbols split equally UL/DL.
  • Per-user rate: R=log⁑2(1+Mβ‹…SNR/K)R = \log_2(1 + M \cdot \text{SNR}/K) (zero-forcing with estimated channels).

Plot or compute the effective sum rate for M=16,32,64,128,256M = 16, 32, 64, 128, 256.

ex-ch19-17

Hard

Derive the optimal UL/DL time split in a TDD massive MIMO system that maximises the weighted sum rate Ξ±RDL+(1βˆ’Ξ±)RUL\alpha R_{\text{DL}} + (1-\alpha) R_{\text{UL}}.

The frame structure has Ο„p=K\tau_p = K pilot symbols, Ο„u\tau_u UL data symbols, and Ο„d\tau_d DL data symbols, with Ο„p+Ο„u+Ο„d=Tc\tau_p + \tau_u + \tau_d = T_c.

Assume equal UL and DL per-symbol rates rr (bits/s/Hz per symbol). Find the optimal Ο„u⋆\tau_u^{\star} and Ο„d⋆\tau_d^{\star}.

ex-ch19-18

Challenge

Design a hybrid multiple access scheme for an IoT network with the following requirements:

  • K=10,000K = 10{,}000 devices, each transmitting 100-bit packets every 10 seconds on average.
  • Total bandwidth W=1W = 1 MHz, coherence time Tc=1T_c = 1 ms.
  • Base station has M=32M = 32 antennas.

(a) Show that scheduling all users (OFDMA) is infeasible due to pilot overhead. (b) Propose a two-phase scheme: grant-free random access for initial transmission, followed by scheduled retransmission for collided packets. Compute the expected throughput. (c) Compare with pure slotted ALOHA and pure OFDMA in terms of latency and throughput.