Simulation Study 5G NR PHY
Simulation Study 5G NR PHY
Objective: This study has four goals. First, to gain an appreciation for the 5G NR physical
layer, i.e., the time-frequency resource grid in the OFDM access scheme. Second, to
understand how a packet is transmitted over this OFDM PHY in NetSim, and the assumptions
involved. Third, to analytically estimate (per 3GPP standards) the application throughput for a
simple use-case. And finally, to simulate and analyse throughput as different PHY parameters
are varied.
Introduction
OFDM: 5G uses Orthogonal Frequency Domain Multiplexing (OFDM) as the multiple access
scheme for both downlink and uplink transmissions with the flexibility of multiple subcarrier
spacing that supports diverse application scenarios. The smallest physical resource, known
as the resource element (RE), comprises one subcarrier and one OFDM symbol.
The time-domain transmission structure comprises of frames 10 ms (to support backwards
compatibility with LTE). Each frame is composed of 10 subframes of 1 ms each. The 1 ms
subframe is then divided into one or more slots in 5G, whereas LTE had exactly two slots in a
1
subframe. The slot size depends on the numerology, 𝜇, and is equal to 𝜇 ms. The number of
2
OFDM symbols per slot is 14 for a configuration using normal cyclic prefix. For extended cyclic
prefix, the number of OFDM symbols per slot is 12. Data is transmitted over these symbols.
In the time division duplex version, each frame is partitioned into downlink subframes and an
uplink subframes. The downlink part of each frame is used to send data from the gNB to the
UEs. The uplink part of the frame is used to send data from the UEs to the destinations, via
the gNB. The uplink-downlink ratio is a GUI parameter in NetSim. If Internet access is a major
application in a system, then the downlink part of the frame would be substantially larger than
the uplink part, due to the asymmetry of Internet access traffic.
In the frequency domain, the group of 12 consecutive sub-carriers forms a resource block
(RB). The sub carrier spacing (SCS) is also dependent on numerology, 𝜇 and is equal to
2𝜇 × 15 KHz. 5G supports total carrier bandwidth up to 400 MHz with a maximum of 275 RBs.
Fig 2: The OFDM frame structure. Slot times get shorter as the sub-carrier spacing gets larger.
Settings:
The following settings were configured in the network setup.
1. The UE was placed 100m away from the gNB.
2. The following properties were set in Interface 5G RAN, Physical Layer of gNB.
gNB Interface 5G RAN
gNB Height (m) 10
Tx Power (dBm) 31, 34, 37, 40, 43 (Varied)
Tx Antenna Count 1* (varied from 1 to 8)
Rx Antenna Count 4
CA Type Single Band
CA Configuration n261
DL: UL Ratio 4:1
Numerology 3
Channel Bandwidth (MHz) 50, 100, 200, 400 (Varied)
MCS Table QAM256
CQI Table TABLE2
Outdoor Scenario Rural Macro
Indoor Office Type Mixed Office
Pathloss Model 3GPPTR38.901-7.4.1
LOS Mode User Defined
LOS Probability 0
Shadow Fading Model None
Fading and Beamforming No Fading
O2I Building Penetration Model None
Table 1: gNB properties
1
We do not get into the details of the pathloss computations here. The specifics are explained in Experiment 4:
Understand 3GPP 5GNR pathloss models.
6. From SNR, the Spectral Efficiency is calculated as follows:
𝐸𝑏
𝑆𝑝𝑒𝑐𝑡𝑟𝑎𝑙 𝐸𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑐𝑦𝐿𝑎𝑦𝑒𝑟 = log 2 (1 + ( ))
𝑁0
= log 2 (1 + (0.902)) = 0.927
7. The CQI Index is then looked up from the respective CQI Table using the spectral
efficiency obtained. The table is given below:
{0, Modulation_Zero, 0, 0}, //out of range
{1, Modulation_QPSK, 78, 0.1523},
{2, Modulation_QPSK, 193, 0.3770},
{3, Modulation_QPSK, 449, 0.8770},
{4, Modulation_16_QAM, 378, 1.4766},
{5, Modulation_16_QAM, 490, 1.9141},
{6, Modulation_16_QAM, 616, 2.4063},
{7, Modulation_64_QAM, 466, 2.7305},
{8, Modulation_64_QAM, 567, 3.3223},
{9, Modulation_64_QAM, 666, 3.9023},
{10, Modulation_64_QAM, 772, 4.5234},
{11, Modulation_64_QAM, 873, 5.1152},
{12, Modulation_256_QAM, 711, 5.5547},
{13, Modulation_256_QAM, 797, 6.2266},
{14, Modulation_256_QAM, 885, 6.9141},
{15, Modulation_256_QAM, 948, 7.4063},
Since the Spectral Efficiency is 0.927, from the CQI Table, 𝐶𝑄𝐼 𝐼𝑛𝑑𝑒𝑥 = 3 is chosen.
8. Similarly, the MCS Index is taken from the respective MCS Table with respect to the
spectral efficiency from the CQI Table:
Since the Spectral Efficiency is 0.927, MCS Index 3 which corresponds to this
spectral efficiency is chosen and the 𝑀𝑜𝑑𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑂𝑟𝑑𝑒𝑟 = 2
9. The TBS size is then determined using the Modulation Order and code rate.
10. Determination of number of Resource Elements within the slot.
′ 𝑅𝐵 𝑆ℎ 𝑃𝑅𝐵 𝑃𝑅𝐵
𝑁𝑅𝐸 = 𝑁𝑆𝐶 × 𝑁𝑆𝑦𝑚𝑏 − 𝑁𝐷𝑀𝑅𝑆 − 𝑁𝑂𝐻
𝑅𝐵
𝑁𝑆𝐶 = 12. 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑠𝑢𝑏𝑐𝑎𝑟𝑟𝑖𝑒𝑟𝑠 𝑖𝑛 𝑃ℎ𝑦𝑠𝑖𝑐𝑎𝑙 𝑅𝑒𝑠𝑜𝑢𝑟𝑐𝑒 𝐵𝑙𝑜𝑐𝑘
𝑆ℎ
𝑁𝑆𝑦𝑚𝑏 = 14. 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑆𝑦𝑚𝑏𝑜𝑙𝑠 𝑝𝑒𝑟 𝑆𝑙𝑜𝑡
𝑃𝑅𝐵
𝑁𝐷𝑀𝑅𝑆 = 0 → 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑅𝑒𝑠𝑜𝑢𝑟𝑐𝑒 𝐸𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝑓𝑜𝑟 𝐷𝑀 − 𝑅𝑆 𝑝𝑒𝑟 𝑃𝑅𝐵
𝑃𝑅𝐵
𝑁𝑂𝐻 = 0. 𝑃𝐷𝑆𝐶𝐻 𝑜𝑣𝑒𝑟ℎ𝑒𝑎𝑑
′
𝑁𝑅𝐸 = 12 × 14 − 0 − 0 = 168
11. Total number of Resource Elements allocated for PDSCH
′ )
𝑁𝑅𝐸 = min(156, 𝑁𝑅𝐸 × 𝑛𝑃𝑅𝐵
𝑛𝑃𝑅𝐵 = 1. 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑃𝑅𝐵𝑠 𝑓𝑜𝑟 𝑡ℎ𝑒 𝑈𝐸
𝑁𝑅𝐸 = min(156, 168) × 1 = 156 × 1 = 156
12. Intermediate number of information bits is calculated.
𝑁𝑖𝑛𝑓𝑜 = 𝑁𝑅𝐸 × 𝑅 × 𝑄𝑚
𝑀𝐶𝑆𝐶𝑜𝑑𝑒𝑅𝑎𝑡𝑒 449
𝑅= = = 0.438 and 𝑄𝑚 = 2 (Modulation order)
1024 1024
Table 2: Saturation throughput obtained for n261 band (gNB-UE distance of 100m, Rural macro pathloss) for
various Bandwidth-MIMO-TxPower combinations. The blue entries show the doubling of throughput when power
and BW is doubled. Red shows examples where throughput decreases with increase in bandwidth for fixed
power and MIMO layers. Green entries are where throughput decreases with increase in MIMO layers, for fixed
BW and power.
2 This is the transmit power summed over entire BW and summed over all MIMO streams.
Discussion
In Table 2 we observe entries marked in:
• Blue: When both the bandwidth and the power are doubled, with MIMO count kept
constant, the peak throughput doubles. This is along expected lines.
• Red: In the high bandwidth and low power regime, when the bandwidth is doubled with
the transmit power and MIMO count held constant, the peak throughput does not
increase but rather decreases.
• Green: At low power when the MIMO layers are increased with fixed transmit power
and bandwidth, the peak throughput surprisingly decreases.
Let us understand the red entries, i.e., throughput of 1*1 MIMO, 31 dBm Tx power for
bandwidths of 200 and 400 MHz. We can simplify the PHY rate as equal to 𝑘 × 𝐿 × 𝑄 × 𝐵 × 𝑅
where 𝑘 is some constant, 𝐿 is the number of layers (set to 2 here), 𝑄 is the modulation order
(2 in this case), 𝑅 is the code rate and 𝐵 is the bandwidth. From Table 3 we see that when the
bandwidth increases the spectral efficiency decreases due to an increase in thermal noise at
higher bandwidths. The received power is constant since the transmit power is fixed. Since
the drop in the MCS3 (due to the reduced spectral efficiency) is larger than the bandwidth
increase - 0.483 × 200 vs. 0.188 × 400 - the net effect is a decline in the throughput.
Rx Spec Eff MCS R
BW Noise Spectral MCS Throughput
Power SNR Table cut Code (Code
(MHz) (KTB) Efficiency Index (Mbps)
(dB) off Rate rate/1024)
200 -91.26 -90.81 -0.44 0.927 0.8770 3 449 0.438 92.21
400 -91.26 -87.80 -3.45 0.537 0.3770 1 193 0.188 75.92
Table 3: Rx Power, Noise, SNR, Spectral Efficiency obtained for different bandwidths with Tx power at 31 dBm.
Next, we turn to the green entries. In Table 4, notice that when the MIMO layer count is
increased from 4 to 8, the received power (per layer) decreases. This happens because the
transmit power is equally divided among all the layers. As SNR reduces, the spectral efficiency
per layer decreases. Since the MCS drop (due to lower spectral efficiency) is larger than the
multiplexing gain got from multiple MIMO streams - 4 × 0.438 vs 8 × 0.188 - the consequence
is a decrease in throughput.
MIMO R
Rx Spec Eff MCS
Layers BW Noise Spec MCS (Code Throughput
Power SNR Table cut Code
(MHz) (KTB) Efficiency Index rate/ (Mbps)
(dB) off Rate
1024)
4 50 -97.28 -96.83 -0.44 0.927 0.8770 3 449 0.438 88.76
8 50 -100.29 -96.83 -3.45 0.537 0.3770 1 193 0.188 73.11
Table 4: Rx Power, Noise, SNR, Spectral Efficiency obtained for each MIMO layer with Tx power set to 31 dBm.
3Refer Steps 5 through 8 in the section Analytical estimation of Data throughput, to understand how spectral
efficiency is got from SNR, and then how MCS is set from spectral efficiency.