Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

5G: D2D, radio resource management and millimetre wave

Practical study notes on 5G device-to-device (D2D) communication, radio resource management (RRM) and millimetre-wave (mmWave) radio: definitions, key laws and derivations, formulas, worked numerical examples, exam tips and quick checks.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Two or three sentences: where an engineer uses this.

5G systems use new techniques to meet very high throughput and low latency targets in dense networks. Understanding D2D (device-to-device) communication, radio resource management (RRM) and millimetre-wave (mmWave) propagation is essential for designing cell planning, interference control, power control, beamforming and link budgets in 5G base stations and user equipment.

Key ideas

Explain concepts from first principles. Bold each term where defined.

  • 5G: the fifth generation cellular standard (successor to 4G/LTE) that targets enhanced Mobile Broadband (eMBB), Ultra-Reliable Low-Latency Communications (URLLC) and massive Machine-Type Communications (mMTC). I will not re-teach earlier topics such as MAC or GSM modules — refer to those by name.

  • D2D (Device-to-Device) communication: direct communication between two user devices without forwarding all traffic via the base station (gNB). Modes: inband underlay (D2D reuses cellular spectrum causing interference), inband overlay (dedicated cellular resources for D2D), and outband (D2D uses unlicensed bands such as Wi-Fi/Bluetooth).

  • RRM (Radio Resource Management): set of algorithms that allocate frequency/time/space resources, set transmit power, and schedule users to maximize objectives (throughput, fairness, energy efficiency) while satisfying constraints (SINR targets, latency). Typical functions: admission control, scheduling, power control, interference coordination, and carrier assignment.

  • mmWave (millimetre-wave): radio frequencies with wavelengths in the millimetre range; in 5G NR the standardized FR2 ranges are 24.25–52.6 GHz (FR2-1, Rel-15/16) and 52.6–71 GHz (FR2-2, Rel-17+). Common bands include n258 (24.25–27.5 GHz), n257 (26.5–29.5 GHz), n260 (37–40 GHz) and n261 (27.5–28.35 GHz). Key characteristics: much larger available bandwidths, higher free-space path loss, high susceptibility to blockage, and possibility of very large antenna arrays (small element spacing).

  • Friis transmission equation and Free-Space Path Loss (FSPL): from first principles, start with power density at distance d from an isotropic radiator: power density S = Pt / (4π d^2). Received power using a receive antenna effective area Ae: Pr = S·Ae, where S includes the transmitter gain Gt if the transmitter is not isotropic — the Friis formula in terms of antenna gains Gt and Gr and wavelength λ is derived below (universities expect this derivation).

    Derivation steps for Friis (write this on exam):

    1. Power density at distance d from a transmitter with gain Gt: S = Pt·Gt / (4π d^2) (Gt = 1 for an isotropic source).
    2. Effective aperture of a receiving antenna of gain Gr: Ae = (Gr·λ^2) / (4π).
    3. Received power: Pr = S·Ae = Pt·Gt·Gr·(λ^2) / ((4π d)^2).
    4. Rearranged: Pr / Pt = Gt·Gr·(λ / (4π d))^2.

    In dB, Free-Space Path Loss (FSPL) is commonly written (no antenna gains included): FSPL(dB) = 20·log10(4π d / λ) = 20·log10(d) + 20·log10(f) + 20·log10(4π / c) where f is frequency and c is speed of light.

  • Shannon capacity theorem: maximum achievable data rate C for a band-limited AWGN channel of bandwidth B and signal-to-noise ratio SNR is C = B·log2(1 + SNR). Assumptions: ideal coding, AWGN noise, flat channel over B.

  • SINR (Signal-to-Interference-plus-Noise Ratio): for a receiver, SINR = S / (I + N) where S is desired signal power, I is sum of interference powers, N is noise power. RRM and power control problems are often written as linear inequalities using SINR targets; solve for transmit powers algebraically.

  • Beamforming and array gain: using N antenna elements coherently gives an array gain (approximately N in linear power for a fixed total radiated power) and increases directivity. For a physical aperture A and aperture efficiency η ≤ 1, maximum directivity D ≈ η·(4π A) / λ^2. This is why mmWave (small λ) allows high directivity from small antenna arrays.

  • Key RRM strategies for D2D underlay:

    • Power control: limit D2D Tx power to keep cellular SINR above a threshold.
    • Resource allocation: assign different RBs (resource blocks) to reduce co-channel interference (overlay vs underlay).
    • Mode selection: cell decides whether communication should go D2D or via gNB.
  • mmWave propagation effects to remember: higher FSPL, sensitivity to blockage (human body, foliage), short-range coverage but high capacity when beams aligned, fast attenuation with non-line-of-sight; additionally, atmospheric absorption peaks near 60 GHz and rain attenuation are significant, so link budgets include these margins.

Describe diagram to draw (exam): Draw a cell with a gNB at centre, one cellular UE sending to gNB, and a D2D pair near each other reusing same RB. Draw arrows: desired uplink from UE to gNB, D2D Tx causing interference arrow to gNB, and D2D desired arrow. Label distances and channel gains (g_c, g_d2b, g_d2r etc.).

Formulas

Each formula on its own line, then symbol meanings, SI units and when it applies.

Pr = Pt·Gt·Gr·(λ / (4π d))^2

  • Pr: received power (W). Pt: transmit power (W). Gt, Gr: linear antenna gains (unitless). λ: wavelength (m). d: distance (m). Applies in free-space, line-of-sight, far-field (d ≫ 2D^2/λ, where D is the largest antenna dimension).

FSPL(dB) = 20·log10(4π d / λ)

  • d: distance (m). λ: wavelength (m). Output in decibels (dB). Use when antenna gains not included. Equivalently, with d in km and f in MHz: FSPL(dB) = 32.44 + 20·log10(d_km) + 20·log10(f_MHz).

λ = c / f

  • λ: wavelength (m). c: speed of light (~3.0·10^8 m/s). f: frequency (Hz).

N = k·T·B

  • N: thermal noise power (W). k: Boltzmann constant (1.38·10^-23 J/K). T: absolute temperature (K), typically 290 K. B: bandwidth (Hz). Add receiver noise figure (linear) as multiplicative factor.

SINR = S / (I + N)

  • S, I, N: linear powers in W. Use when interference present.

C = B·log2(1 + SNR)

  • C: channel capacity (bps). B: bandwidth (Hz). SNR: linear signal-to-noise ratio.

For power control: required Pd_max = (Pc·g_c / γ - N) / g_d2b

  • Pd_max: maximum D2D transmit power (W) to keep cellular SINR ≥ γ (linear). Pc: cellular Tx power (W). g_c: channel gain of cellular UE→BS. g_d2b: channel gain D2D→BS (interferer). N: noise power (W). γ: SINR target (linear). If (Pc·g_c/γ − N) ≤ 0, no feasible D2D transmit power exists on that RB (must mute or switch mode).

Worked examples

Two numerical examples, step-by-step.

Example 1 — FSPL and capacity at 28 GHz Problem: Calculate free-space path loss at f = 28 GHz, d = 100 m. Then, if received signal after antenna gains is Pr = -60 dBm and bandwidth B = 100 MHz, compute achievable rate assuming receiver noise figure NF = 7 dB.

Steps:

  1. λ = c / f = 3.0·10^8 / 28·10^9 = 0.010714 m.
  2. FSPL(dB) = 20·log10(4π d / λ).
    • Compute 4π d / λ = 4π·100 / 0.010714 ≈ 117333.
    • FSPL = 20·log10(117333) ≈ 101.38 dB. (Answer: 101.38 dB)
  3. Noise power N (linear): N = k·T·B with k=1.38·10^-23, T=290 K, B=1.0·10^8 Hz => N ≈ 4.002·10^-13 W.
    • In dBm: N(dBm) = 10·log10(N) + 30 ≈ -93.98 dBm.
    • Add NF = 7 dB => total noise floor ≈ -86.98 dBm.
  4. Received signal Pr = -60 dBm. SNR (dB) = Pr - N(dBm) = -60 - (-86.98) = 26.98 dB. Linear SNR ≈ 10^(26.98/10) ≈ 501.
  5. Capacity C = B·log2(1 + SNR) ≈ 1·10^8 · log2(502) ≈ 1·10^8 · 8.97 ≈ 8.97·10^8 bps = 897 Mbps.

Example 2 — D2D underlay power control Problem: Cellular UE transmits Pc = 0.2 W to BS over channel gain g_c = 1·10^-5. D2D transmission causes interference with channel gain g_d2b = 5·10^-6 to BS. Noise N = 4.0·10^-13 W. Cellular SINR target γ = 10 (10 dB). Find maximum D2D power Pd_max.

Steps:

  1. Required inequality: Pc·g_c / (N + Pd·g_d2b) ≥ γ.
  2. Solve for Pd: Pd ≤ (Pc·g_c / γ - N) / g_d2b.
  3. Compute numerator: Pc·g_c / γ = 0.2·1e-5 / 10 = 2e-7. Subtract N: 2e-7 - 4e-13 ≈ 1.996·10^-7.
  4. Divide by g_d2b: Pd_max ≈ 1.996·10^-7 / 5e-6 = 0.03992 W ≈ 39.92 mW (~16 dBm).

Interpretation: D2D can transmit up to ≈40 mW without harming cellular SINR target given these channel gains; RRM would enforce this.

Common mistakes

  • Using FSPL formula without checking far-field assumption (d ≫ λ).
  • Confusing mmWave frequency ranges; always state the specific band used in question (e.g., 28 GHz, 39 GHz).
  • For D2D power control, using channel gains in dB directly in algebraic sums (must convert to linear).

For your exam

Kinds of questions and what full-marks answers include:

  • Definitions: define D2D, RRM, mmWave clearly and give typical properties/advantages/disadvantages.
  • Short notes: describe RRM functions (admission, scheduling, power control) and D2D modes (underlay/overlay/outband) with bullets.
  • Derivations: derive Friis equation and FSPL step-by-step (show S = Pt/(4π d^2), Ae = Gr λ^2/(4π)).
  • Numericals: link-budget problems (compute FSPL, received power, SNR, capacity); power-control algebra for SINR constraints (show all unit conversions).
  • Diagrams: draw cell, gNB, UE and D2D pair; label channels and interference arrows; annotate distances and gains.
  • Conceptual: explain why mmWave requires beamforming and why blockage is a serious problem.

A full-marks answer always: states assumptions, converts units explicitly, shows every algebra step, and labels diagrams.

Quick check

Three short questions (answers below):

  1. What does D2D "inband underlay" mean?
  2. State the Friis transmission formula in words (one line).
  3. If B = 20 MHz and SNR = 20 dB, what is approximate Shannon capacity in Mbps?

Answers: 1) D2D using cellular spectrum concurrently with cellular links, causing interference unless controlled. 2) Received power = transmit power × transmitter gain × receiver gain × (λ / (4π d))^2 (free-space). 3) SNR linear = 100; C = 20e6 · log2(101) ≈ 20e6 · 6.66 ≈ 133.2 Mbps.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?