Exercises
ex-ch33-01
EasyCompute the Rayleigh distance for the following XL-MIMO configurations with half-wavelength element spacing:
(a) elements at GHz.
(b) elements at GHz.
(c) elements at GHz.
For each case, state whether a user at m is in the near field or far field.
for a ULA with half-wavelength spacing.
where m/s.
Case (a) β 10 GHz, $N = 64$
mm, mm m.
At m: , so the user is in the near field.
Case (b) β 28 GHz, $N = 256$
mm, mm m.
At m: , so the user is deep in the near field.
Case (c) β 140 GHz, $N = 512$
mm, mm m.
At m: , so the user is in the near field.
In all three cases, m falls within the near field β confirming that near-field operation is pervasive at 6G array sizes.
ex-ch33-02
EasyA full-duplex base station transmits at dBm. The three-stage SI cancellation provides:
- Propagation domain: 30 dB
- Analog domain: 45 dB
- Digital domain: 35 dB
The receiver bandwidth is MHz and the noise figure is dB.
(a) Compute the residual SI power after all three stages.
(b) Compute the thermal noise floor.
(c) What is the ratio of residual SI to thermal noise (in dB)?
(d) By how much must the analog cancellation improve to bring residual SI to the noise floor?
Total cancellation (dB) = sum of all three stages.
Noise floor = .
Residual SI power
Total cancellation: dB.
Residual SI: dBm.
Thermal noise floor
$
SI-to-noise ratio
$
The residual SI is 9 dB above the thermal noise floor.
Required improvement
To bring residual SI to the noise floor, we need 9 dB more cancellation. If this is achieved in the analog domain:
Required analog cancellation: dB.
Alternatively, the digital domain could be improved from 35 to 44 dB, or a combination of both.
ex-ch33-03
EasyAn AirComp system with SNR dB aggregates the arithmetic mean of devices' values. Assume perfect channel inversion (no alignment error) and unit-variance data ().
(a) Write the MSE expression as a function of and SNR.
(b) Compute the MSE for .
(c) How many devices are needed to achieve MSE ?
(d) Compare the communication latency (in time slots) of AirComp vs orthogonal TDMA for devices.
where (linear).
AirComp uses 1 time slot; TDMA uses time slots.
MSE expression
$
MSE for various $K$
| MSE | |
|---|---|
| 10 | |
| 50 | |
| 100 | |
| 500 |
The MSE decreases rapidly with β adding more devices actually improves the estimation quality (noise averaging).
Threshold for MSE $< 10^{-4}$
< 10^{-4}$ at 20 dB SNR.
Latency comparison
AirComp: 1 time slot (all devices transmit simultaneously).
TDMA: 100 time slots (one per device).
AirComp achieves a latency reduction β the fundamental advantage for federated learning and distributed sensing.
ex-ch33-04
EasyAn OFDM-based ISAC system operates at GHz with bandwidth MHz, SCS kHz, and a sensing frame of symbols. The OFDM symbol duration (including CP) is s.
(a) Compute the range resolution .
(b) Compute the maximum unambiguous range .
(c) Compute the velocity resolution .
(d) Is this system adequate for detecting pedestrians (speed km/h) and vehicles (speed km/h)?
and .
.
Range resolution
$
Maximum unambiguous range
$
Velocity resolution
ms.
Adequacy assessment
Pedestrians at 5 km/h ( m/s): below m/s, so pedestrians cannot be resolved in velocity. They can still be detected (they appear in the zero-Doppler bin) but their speed cannot be measured.
Vehicles at 50 km/h ( m/s): just above , so vehicles can be resolved.
To detect pedestrians, the sensing frame must be longer: symbols, or about 10.8 ms.
ex-ch33-05
MediumConsider a ULA with elements at GHz ( mm) with half-wavelength spacing, focusing at broadside range m.
(a) Compute the Rayleigh distance.
(b) Using the parabolic (Fresnel) approximation, write the near-field steering vector entry for element at broadside () and focal range .
(c) The depth of focus (range resolution) at broadside is approximately . Compute .
(d) Can two users at broadside at distances m and m be simultaneously served with separate focused beams?
Element positions: .
At broadside, the distance from element to focal point is .
Rayleigh distance
mm m.
Since m m, the user is in the near field.
Near-field steering vector
Position of element : mm.
Distance to focal point at broadside: .
Steering vector entry:
The quadratic phase term is the near-field correction compared to the far-field (constant phase at broadside).
Depth of focus
$
Spatial separation feasibility
Range separation: m.
Since m, the two users cannot be cleanly separated by range-domain beamfocusing alone.
To resolve them, we would need either a larger array (doubling reduces by to 2.6 m) or a higher frequency (doubling halves and thus halves ). With at the same frequency, m m, and the users can be separated.
ex-ch33-06
MediumA full-duplex base station serves one DL user and one UL user on the same 100 MHz carrier. The system parameters are:
- dBm, dB
- DL channel: path loss 90 dB
- UL channel: path loss 95 dB
- SI cancellation: dB
(a) Compute the DL and UL SNRs in half-duplex mode (TDD, 50/50 split).
(b) Compute the DL SINR in full-duplex mode (with residual SI).
(c) Compute the HD and FD sum rates.
(d) What is the FD rate gain ?
Noise floor: .
Residual SI power: (in dBm).
FD uses full bandwidth in both directions; HD uses half bandwidth each.
Noise floor
$
HD SNRs
DL SNR: dB.
UL SNR: dB.
HD sum rate (each direction uses MHz):
FD SINR
Residual SI: dBm.
DL SINR: dBm.
Interference + noise: dBm (SI) and dBm (thermal).
Total interference + noise (linear sum): dBm.
DL SINR: dB.
UL SNR: unchanged at 17 dB (UL Rx has no SI in this model).
FD sum rate and gain
FD uses full MHz in both directions:
The FD system achieves 79% more throughput than HD β close to the theoretical limit, because the 110 dB SI cancellation keeps residual SI only slightly above the noise floor.
ex-ch33-07
MediumAn AirComp system aggregates the mean of devices. The channel gains follow an exponential distribution with mean 1 (Rayleigh fading). Each device has power budget dBm and the noise variance is dBm.
(a) With full channel inversion (no truncation), the common power level is . If the minimum of 50 i.i.d. exponential(1) RVs has expected value , compute the expected and the resulting expected MSE.
(b) With a truncation threshold (exclude devices with ), on average how many devices are excluded? What is the new expected ?
(c) Compare the MSE of full inversion vs truncated inversion, ignoring the bias from excluded devices.
The expected minimum of i.i.d. Exp(1) RVs is .
for Exp(1).
Full inversion
.
mW dBm (where mW).
Expected MSE:
Wait β let us keep consistent units. mW mW W. mW W.
Truncated inversion
.
Expected number excluded: devices.
. The new minimum is over devices conditioned on . The conditional minimum has expected value approximately .
New mW dBm.
MSE comparison
Truncated MSE:
Improvement: ( dB).
Truncation improves the noise-limited MSE by 3 at the cost of a small bias from excluding 2.4 devices (4.8% of the population).
ex-ch33-08
MediumA LEO satellite at altitude km and orbital velocity km/s serves a ground UE at elevation angle using a carrier frequency GHz.
(a) Compute the Doppler shift experienced by the UE.
(b) If the 5G NR subcarrier spacing is kHz, what fraction of the subcarrier spacing is the Doppler shift?
(c) The one-way propagation delay at is approximately where . Compute this delay.
(d) Explain why the satellite must pre-compensate the Doppler shift and why the UE must apply a timing advance.
Doppler shift: .
The slant range at elevation is for a flat Earth approximation.
Doppler shift
The radial velocity component toward the UE at elevation 45Β°: m/s.
Fraction of subcarrier spacing
2.4\times$ the subcarrier spacing! Without pre-compensation, OFDM demodulation would fail due to massive inter-carrier interference.
Propagation delay
2\tau = 5.18$ ms.
Pre-compensation rationale
Doppler pre-compensation: The satellite knows its own ephemeris (orbital position and velocity) precisely. It pre-shifts the downlink carrier by so the UE receives the signal at the nominal carrier frequency. A small residual Doppler (due to UE position uncertainty) remains, but it is within the SCS tolerance.
Timing advance: The UE must transmit its uplink signal ms before the scheduled Rx time at the satellite. This is communicated via the timing advance command, which in NTN can be partially derived from GNSS position and satellite ephemeris data (autonomous TA).
ex-ch33-09
MediumAn XL-MIMO base station with elements (ULA, half-wavelength spacing at 3.5 GHz, mm) has total aperture m. A scattering cluster at distance m subtends an angular spread of as seen from the array centre.
(a) Compute the number of array elements that "see" this cluster (the visibility region width), assuming the cluster is visible from elements within the angular cone it subtends.
(b) If there are non-overlapping clusters uniformly distributed in angle across , how many clusters does a typical element see?
(c) Explain why MRC/ZF precoding designed for the full array (assuming all elements see all clusters) would be suboptimal.
The angular extent at the array maps to a spatial extent projected onto the array.
Think about what happens when an element applies a precoding weight based on a cluster it cannot actually observe.
Visibility region width
The cluster subtends from the array centre. At the array, this corresponds to a spatial segment of approximately:
m.
Number of elements in visibility region: elements.
So only about of the array sees this cluster.
Clusters per element
The 8 clusters span per cluster. Each cluster is visible from 61 elements (24% of the array).
Each element sees clusters within its angular cone. For a centrally located element, approximately clusters are visible.
More carefully: each element has an angular view that covers several cluster positions. A typical element at the array centre sees all clusters within , so 8 clusters. But an element near the array edge has a shifted angular perspective and may see only 4--6 clusters, while losing visibility of those behind obstacles at extreme angles.
The key point is that edge elements see fewer clusters than centre elements, breaking spatial stationarity.
Suboptimality of full-array precoding
If ZF precoding is computed using the full channel matrix, it implicitly assumes every element contributes to every user's signal. But if element has zero channel gain to a cluster relevant for user (because the cluster is outside element 's visibility region), the ZF precoder may assign nonzero weight to element for user β wasting power and potentially creating unintended interference.
Sub-array-based processing partitions the array into overlapping segments, estimates per-segment channels, and applies precoding only within each user's effective visibility region. This approach sacrifices some array gain but avoids the mismatch inherent in full-array processing with non-stationary channels.
ex-ch33-10
HardConsider two parallel ULAs (Tx with and Rx with elements, both with half-wavelength spacing) separated by broadside distance . Using the parabolic wavefront approximation, the -th channel entry is:
where and .
(a) Show that the number of spatial degrees of freedom (effective rank) is approximately where and .
(b) For at GHz, compute at m.
(c) At what distance does the LOS near-field channel support exactly spatial streams?
(d) Discuss the implications for multi-stream near-field MIMO at 6G frequencies.
Expand the square and identify the DFT-like structure in the cross term.
The effective rank equals the number of resolvable "spatial frequency bins" in the cross-product term.
Spatial DoF derivation
Expanding the exponent:
The first and third terms are diagonal phases (element-dependent but independent of the other array), and the cross-term gives the matrix its rank.
The cross-term has the form of a DFT matrix with "frequencies" . The effective bandwidth of is , and the sampling interval of is . By the Nyquist criterion, the number of resolvable frequencies is:
(The factor of 4 arises from the spacing on both arrays.)
Numerical evaluation at 28 GHz
mm, mm m.
| (m) | Effective rank | |
|---|---|---|
| 5 | 9.77 | streams |
| 10 | 5.39 | streams |
| 20 | 3.19 | streams |
| 50 | 1.88 | streams |
Distance for $\nu = 4$
d_0 = 14.6$ m, the LOS near-field channel supports 4 streams β comparable to a rich-scattering NLOS channel, but achieved purely through spherical-wave geometry.
Implications
Near-field LOS spatial multiplexing is only useful at short range (tens of metres for 256-element arrays at 28 GHz). At typical macro-cell distances ( m), the rank collapses to 2.
However, for indoor deployments, access points (FR3/sub-THz with ), and backhaul links, near-field MIMO offers significant multiplexing gain in pure LOS β a fundamentally new capability compared to far-field MIMO.
ex-ch33-11
HardA full-duplex massive MIMO base station has antennas, split equally into Tx and Rx elements. The SI channel has rank . The BS serves DL users and UL users.
(a) The Tx precoder must lie in the null space of to suppress SI. What is the dimension of this null space?
(b) This is problematic. Instead, suppose the Tx allocates degrees of freedom to SI suppression (projecting onto the least-significant right singular vectors of ). What is the effective SI suppression in dB if the singular values of are uniformly distributed in ?
(c) With this partial SI suppression, the remaining cancellation must come from analog and digital stages. If the total required cancellation is 110 dB and the propagation + spatial suppression provides 55 dB, how much must analog + digital provide?
(d) Compare the analog/digital cancellation requirement with and without massive MIMO spatial suppression (assume 25 dB propagation isolation without spatial suppression).
The null space of a full-rank matrix in has dimension 0.
Projecting onto the weakest right singular vectors suppresses SI by (in terms of residual fraction).
Null space dimension
with rank 32.
.
The null space is trivial β there is no direction in from which the SI is zero. Complete spatial nulling of a full-rank SI channel is impossible with .
Partial suppression via weak singular vectors
With uniformly distributed singular values in : for .
The 4 weakest singular values: , , , .
Residual SI power fraction (using the 4 weakest):
Total power: . Using the approximation: mean , .
Residual fraction: dB.
So the spatial suppression provides approximately 28 dB of SI reduction.
Remaining cancellation requirement
With propagation isolation (25 dB) + spatial suppression (28 dB) = 53 dB (rounding to 55 dB as stated).
Required analog + digital: dB.
Comparison
| Configuration | Prop. | Spatial | Analog + Digital needed |
|---|---|---|---|
| Without MIMO | 25 dB | 0 dB | 85 dB |
| With MIMO spatial | 25 dB | 28 dB | 55 dB |
Massive MIMO spatial suppression reduces the analog + digital cancellation requirement by 30 dB. This is a dramatic relaxation: 55 dB of analog + digital cancellation is achievable with modest hardware (e.g., 35 dB analog + 20 dB digital), whereas 85 dB requires state-of-the-art wideband cancellers and nonlinear digital estimation.
ex-ch33-12
HardConsider federated learning with devices using AirComp for gradient aggregation. The global model has parameters. The per-round AirComp MSE per gradient component is (at SNR dB, ).
The convergence of SGD with noisy gradients satisfies (for -smooth, -strongly convex loss, step size ):
where is the total gradient noise variance ( from stochastic gradient sampling).
(a) If and , what is the dominant source of gradient noise?
(b) Compute the asymptotic optimality gap for , (condition number).
(c) By how much would the AirComp SNR need to improve (in dB) to make the AirComp noise negligible compared to SGD noise?
(d) Alternatively, how many more devices are needed (at the same SNR) to achieve the same noise reduction?
AirComp MSE scales as , so the total AirComp noise .
To make AirComp noise , solve for the required SNR or .
Dominant noise source
.
The AirComp noise () dominates the SGD noise () by a factor of 100. This means the communication channel is the bottleneck, not the statistical gradient noise.
Asymptotic optimality gap
f^*\sigma_{\text{AC}}^2 = 0= 0.01 \times 100 \times 1.0 / 2 = 0.5100\times$.
Required SNR improvement
To make :
.
Current: . Need reduction.
Since , at fixed : SNR must increase by dB, from 20 dB to 50 dB.
This is impractical β 50 dB SNR at the device is unrealistic.
Required number of devices
At fixed SNR dB (linear):
.
So devices (vs current 100) would make AirComp noise negligible. This is a increase in the number of participating devices β much more feasible than a 30 dB SNR improvement.
This highlights a remarkable property of AirComp: scaling up the number of devices improves both the statistical quality (more data) and the communication quality (noise averaging) of the gradient estimate.
ex-ch33-13
HardA 6G base station with antennas at 28 GHz must simultaneously communicate with single-antenna users and sense a target at angle . The BS has total power dBm.
The communication beamforming vectors are designed to maximise sum rate, while the sensing beam should maximise the transmit beampattern gain at the target angle.
The total transmit signal is:
subject to .
(a) If (matched to the target), what is the sensing beampattern gain as a function of and ?
(b) If the two communication users are at angles and , and ZF beamforming is used, the communication rate per user is approximately where . With MHz, dB, and dBm, compute the per-user rate as a function of .
(c) For a sensing SINR requirement of dB, compute the minimum sensing power needed (assuming the target echo has path loss 130 dB and the sensing SINR is ).
(d) With the remaining power split equally between the two users (), compute the sum communication rate and discuss the rate-sensing trade-off.
Sensing gain: (since and we get coherent gain ).
Remember to convert dBm to linear (1 W) for power allocation.
Sensing beampattern gain
p_sG(\theta_s) = 64 p_s$ watts EIRP toward the target.
Per-user communication rate
( dB).
(linear, from dB path loss). ... let us compute: mW W W.
Wait β dBm W W.
Per-user rate:
where is in watts.
Minimum sensing power
Sensing SINR: .
dB (linear).
But W total! The sensing requirement exceeds the power budget.
With W, maximum achievable sensing SINR: dB.
So dB is infeasible. Let us lower the target to dB (): W.
Sum rate and trade-off
With W and W:
Sum rate: Mbps.
Without sensing (, W): Mbps. Mbps.
Communication rate loss due to sensing: Mbps (12%).
The ISAC trade-off: allocating 50% of the power to sensing costs only 12% of the sum rate (because is concave), while achieving 3 dB sensing SINR. This favourable trade-off is a key motivation for ISAC β sensing "piggybacks" on communication with modest rate sacrifice.
ex-ch33-14
HardDesign a 6G XL-MIMO access point operating at GHz (FR3) with bandwidth GHz to serve users in an indoor open-office environment (room size m).
Given: PLE (InH-LOS), dB, dB, per-user target rate Gbps.
(a) Determine the minimum required per-user spectral efficiency.
(b) Compute the path loss at the room corner ( m) using the CI model.
(c) Choose the number of array elements to provide sufficient beamforming gain. Account for the ZF gain loss factor with users.
(d) Compute the Rayleigh distance for your chosen array. Is the room entirely in the near field?
(e) Discuss whether near-field beamfocusing provides additional multi-user separation capability in this scenario.
Spectral efficiency: .
Required SNR from Shannon: .
Add a 10 dB implementation margin.
Per-user spectral efficiency
\sim\eta_{\text{raw}} = 2.5$ bps/Hz.
Path loss at room corner
mm. FSPL anchor: dB.
Array sizing
Noise floor: dBm.
Required per-user SNR: dB. With 10 dB margin: 16.7 dB.
With dBm (typical indoor AP):
dB
dB.
Even without beamforming gain, the link closes! But we need multi-user capability. With ZF and users, effective gain per user: .
For : dBi. SNR dB. Far exceeds the requirement.
Even gives: dBi. SNR dB. Still sufficient.
Choose (an UPA) for comfortable margin and near-field benefits.
Rayleigh distance
mm per dimension; diagonal mm m.
m.
The room corner is at 28 m m. The entire room (beyond 1.3 m) is in the far field for this 64-element array.
To bring beyond the room size, we need m: m , so .
An array of 3000+ elements would make the entire room near-field.
Near-field discussion
With , the Rayleigh distance is only 1.28 m β the room is far-field. Near-field beamfocusing provides no range-domain user separation. Multi-user multiplexing relies entirely on angular separation (conventional ZF/MMSE precoding).
To exploit near-field beamfocusing for MU-MIMO in this room, the array must grow to elements β a UPA with physical size 53 cm 53 cm. This is feasible as a wall-mounted panel at 15 GHz (each element is 10 mm).
With such an XL-MIMO panel (), users at the same angle but different ranges could be separated, and the array would benefit from both near-field focusing gain and spatial non-stationarity diversity. This illustrates the XL-MIMO paradigm shift: moving from "many elements for gain" to "extremely many elements for new spatial physics."
ex-ch33-15
MediumAn ISAC base station at 28 GHz uses OFDM with MHz bandwidth ( subcarriers, SCS = 120 kHz) and a sensing frame of symbols.
(a) Compute the range resolution and maximum unambiguous range.
(b) Compute the velocity resolution and maximum unambiguous velocity.
(c) A vehicle at 50 m moving at 60 km/h is detected. How many range bins and Doppler bins does it occupy (assume point target)?
(d) If the communication duty cycle is 80% (80% of symbols carry data, 20% are sensing pilots), what is the throughput loss compared to communication-only operation?
,
A point target occupies exactly 1 range bin and 1 Doppler bin (before windowing).
Range resolution and max range
m.
m.
Velocity resolution and max velocity
s.
ms.
m/s km/h.
m/s km/h.
Point target bins
Range bin index: bin 67. Doppler bin: m/s, bin index bin 2.
A point target occupies 1 range bin 1 Doppler bin (before windowing sidelobes). With a Hamming window, the main lobe spans 2 bins.
Throughput loss
With 80% data symbols, throughput = 0.8 communication-only rate. Loss = 20%. This is the ISAC overhead: 20% of time-frequency resources are dedicated to sensing.
In practice, data symbols also illuminate targets (they carry known pilot-like reference signals after detection), so the effective sensing duty cycle can approach 100% with joint waveform design.