Upon completion of this extended tutorial, students will be able to:
5G is not just an incremental upgrade from 4G; it represents a paradigm shift in mobile communications, designed to be a versatile platform for a fully connected world. This tutorial provides a deep dive into the key technologies that make 5G revolutionary: the New Radio (NR) air interface with its flexible numerology, the service‑based core network (5GC) that enables network slicing, massive MIMO and beamforming for enhanced coverage and capacity, and edge computing for ultra‑low latency services. We also explore emerging technologies that complement 5G, including advanced Wi‑Fi standards (Wi‑Fi 6/6E/7), private cellular networks, and Low‑Earth‑Orbit (LEO) satellite systems. Through detailed technical explanations, case studies, and a rich set of assessment questions, this tutorial prepares students to understand the capabilities and future directions of mobile networking.
5G was developed to meet three main use case families as defined by the ITU‑R IMT‑2020:
Other goals: 10x lower latency, 100x traffic capacity, 10x energy efficiency, and support for diverse frequency bands (sub‑6 GHz and mmWave).
The 5G core (5GC) departs from the EPC of LTE with a service‑based architecture (SBA) where network functions (NFs) communicate via service‑based interfaces (HTTP/2). Key NFs:
The SBA enables cloud‑native deployment, scalability, and network slicing.
Massive MIMO uses a large number of antennas (e.g., 64, 128, 256) at the base station to:
Beamforming requires accurate channel estimation and feedback (CSI). Hybrid beamforming (analog + digital) is used in mmWave to reduce complexity.
Network slicing creates multiple logical networks (slices) on a common physical infrastructure. Each slice is optimised for a specific service (e.g., eMBB, URLLC, mMTC) and provides isolated resources (compute, storage, bandwidth, radio resources).
Implementation:
The NSSF selects the slice based on S‑NSSAI (Single‑Network Slice Selection Assistance Information) provided by the UE or network.
Multi‑access Edge Computing (MEC) brings compute and storage resources closer to the user, reducing latency and improving performance for latency‑sensitive applications. In 5G, the UPF can be deployed at the edge (local data network), allowing traffic to be offloaded without going through the core network. This enables:
5G NR supports multiple subcarrier spacings (SCS) to cater to different use cases and frequency bands. The symbol duration is the inverse of SCS, so larger SCS means shorter symbols and lower latency.
Frame structure: A 10‑ms frame divided into 10 1‑ms subframes. Each subframe has a number of slots dependent on SCS: for 15 kHz, 1 slot (14 symbols); 30 kHz, 2 slots; 60 kHz, 4 slots; 120 kHz, 8 slots; 240 kHz, 16 slots (with extended CP).
Mini‑slots (typically 2, 4, or 7 symbols) enable ultra‑low‑latency transmissions by allowing scheduling without waiting for the slot boundary.
Throughput calculation for 5G NR: similar to LTE but with flexible parameters. The maximum data rate is given by:
Rate = (NPRB × Nsc × Nsym × Qm × R × nlayers × (1 - OH) × 103) / 1e6 Mbps, where NPRB is number of resource blocks, Nsc = 12, Nsym is symbols per slot, Qm bits per symbol, R coding rate, nlayers MIMO layers, OH overhead.
Latency: 5G NR aims for 1‑ms air‑interface latency for URLLC (with mini‑slots and short TTI). End‑to‑end latency with edge computing can be <5 ms.
Reliability: For URLLC, a target of 99.999% reliability (packet error rate 10‑5) with specific scheduling and HARQ enhancements.
A factory uses a private 5G network with a URLLC slice for robot control (latency < 5 ms, reliability 99.999%) and an eMBB slice for video surveillance. Edge computing (MEC) runs analytics to detect defects in real‑time.
Using mmWave (28 GHz), an operator provides broadband access to homes with a CPE (Customer Premises Equipment) that has a directional antenna. Achieves speeds > 1 Gbps, competing with fiber.
5G supports massive IoT (mMTC) for smart street lighting, waste management, and traffic sensors. The network uses NB‑IoT and LTE‑M technologies integrated with 5G.
Test your understanding of 5G and emerging technologies.
Q1. What are the three main use case families defined by IMT‑2020 for 5G?
eMBB (Enhanced Mobile Broadband), URLLC (Ultra‑Reliable Low‑Latency Communications), and mMTC (Massive Machine‑Type Communications).
Q2. What are the two frequency ranges (FR) defined for 5G NR?
FR1: sub‑6 GHz (including bands up to 7.125 GHz), and FR2: millimeter wave (24.25 GHz to 71 GHz).
Q3. What is the basic unit of resource allocation in the frequency domain for 5G NR?
A Resource Block (RB) consists of 12 consecutive subcarriers in the frequency domain.
Q4. What is the subcarrier spacing (SCS) used for the basic numerology in 5G NR?
15 kHz (µ=0) is the basic SCS, and other spacings are 15 × 2µ kHz (µ=1,2,3,4 giving 30, 60, 120, 240 kHz).
Q5. What is the role of the AMF (Access and Mobility Management Function) in the 5G core?
AMF handles registration, connection management, mobility management, paging, and access authentication.
Q6. Which network function in the 5GC is responsible for session management and IP address allocation?
SMF (Session Management Function).
Q7. What is the purpose of network slicing in 5G?
Network slicing enables the creation of multiple logical networks (slices) on a common physical infrastructure, each optimised for a specific service (e.g., eMBB, URLLC, mMTC) with isolated resources and QoS.
Q8. What is the role of the UPF (User Plane Function) in 5G?
UPF is the user‑plane anchor that routes and forwards packets, applies QoS policies, and serves as the interface to the data network (e.g., Internet).
Q9. What is the key advantage of using massive MIMO with beamforming in 5G?
It increases SINR by focusing energy towards the user, improves coverage, and enables spatial multiplexing (MU‑MIMO), boosting capacity and spectral efficiency.
Q10. What is the target latency for 5G URLLC (air interface)?
1 ms (or less) for the air‑interface latency, and end‑to‑end latency under 5 ms with edge computing.
Q11. What is the difference between a mini‑slot and a regular slot in 5G NR?
A mini‑slot is shorter than a regular slot (e.g., 2, 4, or 7 symbols) and allows for ultra‑low‑latency transmissions without waiting for the slot boundary.
Q12. Which channel coding scheme is used for 5G NR data channels?
LDPC (Low‑Density Parity‑Check) codes, which offer high performance and low decoding complexity.
Q13. What is the role of the NSSF (Network Slice Selection Function)?
NSSF selects the appropriate network slice for a UE based on the requested S‑NSSAI (Single‑Network Slice Selection Assistance Information) and the UE's subscription.
Q14. What is the purpose of the 6 GHz band (Wi‑Fi 6E) and how does it benefit Wi‑Fi?
Wi‑Fi 6E opens up the 6 GHz band (5.925‑7.125 GHz) providing more spectrum, less interference, and more channels, enabling higher throughput and capacity.
Q15. What is the main advantage of LEO satellite networks over geostationary (GEO) satellites?
LEO satellites orbit at lower altitudes (500‑2000 km) compared to GEO (~36,000 km), resulting in much lower latency (20‑50 ms vs. 600 ms) and better signal quality.
Q16. What is the function of the PCF (Policy Control Function) in 5GC?
PCF provides policy and charging rules for the network, including QoS policies, traffic steering, and charging control.
Q17. What is the role of the AUSF (Authentication Server Function) in 5G?
AUSF performs authentication of the UE using 5G‑AKA or EAP‑AKA protocols.
Q18. What is the difference between Non‑Standalone (NSA) and Standalone (SA) 5G deployment?
NSA uses 5G NR for data but relies on the LTE core (EPC) and LTE for control signalling. SA uses the 5G core (5GC) and NR for both control and data, enabling network slicing and full 5G capabilities.
Q19. What is the peak downlink data rate targeted by 5G (IMT‑2020)?
20 Gbps (theoretical peak, under ideal conditions).
Q20. What is the target for connection density in 5G mMTC?
1 million devices per square kilometre.
Q21. What is the role of the UDM (Unified Data Management) in 5GC?
UDM manages subscriber data, including authentication credentials, subscription profiles, and service authorisation.
Q22. What is the concept of "Multi‑access Edge Computing" (MEC) in 5G?
MEC brings compute and storage resources to the network edge (near the UE), enabling low‑latency applications, local data processing, and reduced backhaul traffic.
Q23. What is the benefit of using Polar codes for control channels in 5G?
Polar codes have excellent performance for short block lengths and low latency, making them ideal for control signalling (e.g., PDCCH).
Q24. What is the purpose of the "beam management" procedure in 5G NR?
Beam management includes beam sweeping, measurement, reporting, and switching to ensure that the gNB and UE maintain the optimal beam pair for communication, especially in mmWave where beams are narrow.
Q25. What is the significance of the "Network Data Analytics Function" (NWDAF) in 5G?
NWDAF provides network analytics (e.g., traffic patterns, user behaviour, performance predictions) to assist in network optimisation, slice management, and service assurance.
Apply your knowledge of 5G and emerging technologies.
Exercise 1: Calculate the peak downlink data rate for 5G NR with 100 MHz bandwidth, 30 kHz SCS, 256‑QAM, 4 layers (MIMO), and code rate 0.925. Assume 273 PRBs and 14 symbols per slot, with 2 slots per subframe, and overhead 10%. Also, compute the rate for 60 kHz SCS.
For 30 kHz SCS, slot duration = 1/30 kHz = 0.5 ms (2 slots per ms). Each slot has 14 symbols. PRBs = 273. REs per slot = 273 × 12 × 14 = 45864. Bits per RE = 8 (256‑QAM) × 0.925 = 7.4 bits. With 4 layers: 45864 × 7.4 × 4 = 1,357,694.4 bits per slot. With 2 slots per subframe (2 ms? Actually subframe is 1 ms, so for 30 kHz, there are 2 slots per 1 ms), so bits per subframe = 1,357,694.4 × 2 = 2,715,388.8 bits. For 1000 subframes/sec, rate = 2.715 Gbps. With 10% overhead, ≈ 2.44 Gbps. For 60 kHz, slot duration 0.25 ms, 4 slots per ms; similar calculation yields higher rate but limited by bandwidth.
Exercise 2: Explain how network slicing is used to provide a URLLC service for a factory automation application. What resources are isolated, and how is QoS guaranteed?
A URLLC slice for factory automation dedicates: 1) RAN: reserved resource blocks, shorter scheduling intervals (mini‑slots), and prioritised HARQ. 2) Transport: dedicated bandwidth with low‑latency routing. 3) Core: dedicated UPF and SMF with low‑latency processing. QoS is guaranteed via slice‑specific QoS parameters (5QI for URLLC), isolation from other slices, and admission control.
Exercise 3: What is the difference between CP‑OFDM and DFT‑s‑OFDM in 5G NR? Why is DFT‑s‑OFDM used for uplink in certain scenarios?
CP‑OFDM is the default waveform for both DL and UL, offering high spectral efficiency but higher PAPR. DFT‑s‑OFDM (also known as SC‑FDMA) is used for uplink when coverage is a concern because it has lower PAPR, allowing the power amplifier to operate more efficiently, improving cell‑edge performance.
Exercise 4: A 5G network uses beamforming with a 64‑element antenna array. The beamforming gain is approximately 10 log10(N) dB. Calculate the gain. How much additional coverage (distance) does this provide assuming free‑space path loss?
Gain = 10 × log10(64) = 10 × 1.806 = 18.06 dB. In free‑space, path loss ∝ d², so a 18 dB gain corresponds to a distance increase of 10^(18/20) = 10^0.9 ≈ 7.94 times (for the same received power).
Exercise 5: Describe the 5G registration procedure (from UE power‑on to obtaining a PDU session). Include the key network functions involved.
1. UE sends RRC setup to gNB. 2. UE sends Registration Request (NAS) to gNB, which forwards to AMF. 3. AMF may authenticate the UE via AUSF/UDM. 4. AMF performs location update to UDM. 5. AMF selects SMF and initiates PDU session establishment. 6. SMF allocates IP address and sets up UPF. 7. AMF sends Registration Accept to UE. 8. UE acknowledges.
Exercise 6: Compare the performance of Wi‑Fi 6 (802.11ax) and 5G NR for indoor enterprise deployment. What are the strengths of each?
Wi‑Fi 6: lower cost, easier deployment, higher peak rates (up to 9.6 Gbps with 160 MHz), good for high‑density indoor environments with OFDMA and MU‑MIMO. 5G NR: provides better mobility, lower latency, guaranteed QoS, and can support URLLC. 5G requires licensed spectrum (or shared) and higher infrastructure cost. Hybrid solutions are common.
Exercise 7: What is the significance of the "flexible TDD" feature in 5G NR? How does it help in dynamic traffic adaptation?
Flexible TDD allows the configuration of UL/DL slots dynamically based on traffic demand (e.g., more DL slots for video streaming, more UL slots for IoT uplink). This improves resource utilisation and can be adapted to cell‑specific or even UE‑specific needs.
Exercise 8: A URLLC service requires a packet error rate (PER) of 10⁻⁵ and latency under 1 ms. How does 5G achieve this? Discuss the role of mini‑slots, HARQ, and resource allocation.
Mini‑slots (2‑7 symbols) reduce the transmission time. HARQ with fast retransmissions (often with incremental redundancy) reduces error rates. Resource allocation is pre‑configured (semi‑persistent scheduling) to avoid contention. Also, ultra‑reliable coding (low code rate) and lower MCS are used to ensure high reliability.
Exercise 9: What is the role of the PCF in 5G QoS management? How does it interact with the SMF and UPF?
PCF defines QoS policies (e.g., 5QI, ARP, GBR). SMF retrieves these policies during session establishment and configures UPF accordingly. UPF enforces the policies by performing packet marking, shaping, and policing.
Exercise 10: Explain how LEO satellite networks complement 5G for global coverage. What are the challenges in integrating satellite with terrestrial 5G?
LEO satellites provide coverage to remote and rural areas, maritime, and aviation, complementing terrestrial 5G. Challenges: high Doppler shift, longer propagation delays (though less than GEO), and integration with 5GC (support for non‑terrestrial networks – NTN). 3GPP has specified NTN enhancements in Release 17.
Exercise 11: What is the purpose of the "BSS coloring" in Wi‑Fi 6? How does it improve spatial reuse?
BSS coloring assigns a colour (identifier) to each BSS. Stations can detect the colour in the PHY header. If a station receives a frame with a different colour and the signal level is below a threshold, it may ignore the NAV and transmit, allowing concurrent transmissions from overlapping BSSs, increasing spatial reuse.
Exercise 12: Compare the key features of Wi‑Fi 7 (802.11be) with 5G NR. How does multi‑link operation (MLO) in Wi‑Fi 7 enhance performance?
Wi‑Fi 7 offers 320 MHz channel bandwidth, 4096‑QAM, and multi‑link operation (MLO) which allows aggregation of multiple channels across different bands (2.4, 5, 6 GHz) for higher throughput and lower latency. 5G NR provides better mobility, wider coverage, and URLLC. MLO in Wi‑Fi 7 improves reliability and throughput by using multiple links simultaneously and enabling load balancing.
Independent research and advanced analysis.
HW1. Derive the 5G NR throughput formula based on the number of resource blocks, subcarrier spacing, symbols per slot, modulation order, coding rate, and MIMO layers. Explain how the flexible numerology affects the peak rate.
Rate = (NPRB × 12 × Nsym × Qm × R × nlayers × (1 - OH) × Nslots × 1000) / 1e6 Mbps, where Nslots is the number of slots per subframe (depends on SCS: for 15 kHz, 1; 30 kHz, 2; 60 kHz, 4; etc.). Larger SCS gives more slots per ms, increasing the rate, but the bandwidth per RB is the same, and the number of PRBs is limited by the channel bandwidth.
HW2. Research and compare the 5G authentication procedures: 5G‑AKA and EAP‑AKA. What are the security enhancements over 4G?
5G‑AKA is an evolution of EPS‑AKA, but with stronger key derivation and protection against downgrade attacks. EAP‑AKA is used for integration with non‑3GPP access. 5G introduces SUCI (Subscription Concealed Identifier) to protect the IMSI, and key separation between different network functions.
HW3. Explain the concept of "network slicing as a service" and how it enables new business models for operators. Discuss the challenges in slice management and orchestration.
Network slicing allows operators to sell dedicated slices to verticals (e.g., automotive, manufacturing) with guaranteed QoS. This opens new revenue streams. Challenges: managing end‑to‑end slices across RAN, transport, and core; ensuring isolation; dynamic lifecycle management; and integration with OSS/BSS.
HW4. Analyse the role of Artificial Intelligence (AI) and Machine Learning (ML) in 5G networks. How can AI be used for network optimisation, fault management, and energy efficiency?
AI/ML can be used for: 1) Predictive maintenance (detecting anomalies). 2) Dynamic resource allocation (adaptive scheduling, beam management). 3) Traffic prediction for load balancing. 4) Energy savings by switching off cells during low traffic. 5) Automated fault remediation. The NWDAF in 5G provides data for such analytics.
HW5. Research the integration of 5G with non‑terrestrial networks (NTN) as specified in 3GPP Release 17. What are the key challenges for satellite‑based 5G?
NTN integration addresses coverage extension using satellites. Challenges: high Doppler shift (compensated by frequency pre‑compensation), long propagation delay (affecting HARQ and timers), and limited link budgets. Enhancements include timing advance adjustments, HARQ enhancements, and mobility management for satellite‑handover.
HW6. Compare the QoS mechanisms in 5G (5QI, QoS flows) with LTE (QCI, EPS bearers). How does 5G's QoS model provide more granularity?
5G uses QoS flows identified by QFI (QoS Flow Identifier) and 5QI values. It supports reflective QoS (where the UE can infer QoS from DL packets). 5G also supports more 5QI values and more granular traffic differentiation, and the SBA allows per‑flow policy control.
HW7. Write a critical analysis of the claim that "5G will enable the tactile Internet." Discuss the requirements and the technological advancements needed.
The tactile Internet requires latency below 1 ms, ultra‑high reliability, and haptic feedback. 5G URLLC can approach this but with challenges: end‑to‑end latency includes backhaul and core, which may exceed 1 ms. Edge computing (MEC) and deterministic networking are needed. 5G is a step, but complete tactile Internet may require 6G.
HW8. Explain the concept of "private 5G" and its advantages over public 5G and Wi‑Fi for industrial use. What spectrum options are available?
Private 5G is a dedicated network for a specific enterprise, offering guaranteed QoS, high security, and local control. Advantages: URLLC, massive IoT, and predictable performance. Spectrum options: licensed (e.g., 3.5 GHz CBRS in US), shared, or unlicensed (5G NR‑U).
HW9. Research the evolution of the core network from EPC to 5GC. What are the main architectural differences, and how do they enable cloud‑native deployment?
EPC uses fixed functional entities and point‑to‑point interfaces, making it monolithic. 5GC uses service‑based architecture (SBA) with microservices, HTTP/2 interfaces, and stateless NFs. This enables cloud‑native: containerization, auto‑scaling, and flexible deployment in public/private clouds.
HW10. Analyse the potential of 5G mmWave for fixed wireless access (FWA) in rural areas. What are the technical and economic challenges?
mmWave offers high bandwidth for FWA, but requires line‑of‑sight and has limited range, so it is best for suburban/rural with clear paths. Challenges: high equipment cost, installation alignment, and weather susceptibility (rain fade). Also, spectrum availability and coverage economics may make sub‑6 GHz more viable.
HW11. Write a report on the spectrum bands allocated for 5G globally, including FR1 (e.g., n1, n3, n28, n78) and FR2 (n257, n258, n260). Discuss the propagation characteristics and use cases for each.
FR1 bands: n1 (2100 MHz) good coverage, n3 (1800 MHz) widely used, n28 (700 MHz) for rural, n78 (3.5 GHz) prime for capacity. FR2: n257 (28 GHz), n258 (24 GHz), n260 (39 GHz) for dense urban hotspots and FWA. Lower bands offer better coverage, higher bands offer more capacity.
HW12. Design a 5G network deployment strategy for a smart factory with the following requirements: 1) Autonomous robots (URLLC, latency < 5 ms, reliability 99.999%), 2) Video surveillance (eMBB, 100 Mbps per camera), 3) IoT sensors (mMTC, 100,000 sensors). Propose a network architecture including radio, core, and edge.
Deploy a private 5G network using 3.5 GHz spectrum. Use network slicing: URLLC slice with dedicated resources (mini‑slots, low MCS, HARQ). eMBB slice with carrier aggregation and high MIMO. mMTC slice with NB‑IoT integrated. Deploy MEC at the factory for low latency. Use a 5GC with local UPF. Ensure high‑capacity backhaul (fiber).
This extended tutorial provided an in‑depth exploration of 5G and emerging mobile technologies, covering:
5G is a foundational technology for the next decade, enabling new industries and applications. Understanding its architecture and capabilities is crucial for networking professionals. The next tutorial will cover Mobility Management and Mobile IP.
© COMP347 – Unit 7: Wireless and Mobile Networks (Extended Tutorial 9)