From Web Dev to RF Fluency
A structured path from your current baseline (O-RAN split, Shannon theorem) to confidently discussing RF in 5G AI-RAN simulator architecture.
You know: O-RAN RU/DU/CU split · UL/DL concept · Shannon capacity formula · basic antenna math. You need: physical intuition for RF propagation, why simulator components exist, vocabulary to follow AI-RAN architecture discussions.
How Signals Travel
Goal: understand why signal weakens & distorts
Free-Space Path Loss (FSPL)
Must KnowWhy signal power drops with distance — the foundation of everything.
Even in empty space, signal power spreads spherically. Energy per unit area drops as the sphere grows. Higher frequency = more loss. Doubling distance = +6 dB loss.
FSPL (dB) = 20·log₁₀(d) + 20·log₁₀(f) + 20·log₁₀(4π/c)
Every link budget starts here. Without FSPL you cannot compute received signal strength → no SNR → Shannon gives you nothing. It's the entry point to the whole chain.
Frequency & Wavelength
Must KnowWhy 5G uses both low-band and mmWave — the fundamental trade-off.
λ = c / f. Higher frequency = shorter wavelength. The trade-off: mmWave has massive bandwidth but terrible propagation. Sub-6 GHz penetrates walls, travels far.
λ (meters) = 3×10⁸ / f(Hz)
- FR1 (sub-6 GHz): 410 MHz – 7.125 GHz — coverage layer
- FR2 (mmWave): 24.25 – 52.6 GHz — capacity layer
- Sub-1GHz (700 MHz band): deep indoor, wide area
Your simulator must model different frequency bands with different propagation behaviors. Carrier frequency changes path loss, Doppler magnitude, and antenna array element spacing (λ/2).
Harmonics & Spurious Emissions
Must KnowWhy RF components generate interference at multiples of the base frequency.
When you amplify a sine wave, nonlinearities in the amplifier create energy at 2f, 3f, 4f... These harmonics can fall into adjacent bands and cause interference.
The Power Amplifier (PA) in the RU must operate at a "back-off" point to avoid generating harmonics. This limits transmit power efficiency.
When your team says "PA nonlinearity compensation" or "DPD (Digital Pre-Distortion)", they're talking about mitigating harmonics digitally before the analog stage.
dB, dBm, dBi — The Log World
Must KnowRF professionals speak in logarithms. You must become fluent.
Signal powers span 12+ orders of magnitude. Multiplying gains/losses becomes addition in dB. Link budget = a chain of additions.
dB = 10·log₁₀(P₂/P₁) // power ratio
dBm = 10·log₁₀(P_mW/1mW) // absolute power
dBi = antenna gain vs isotropic radiator
- +3 dB ≈ double the power
- +10 dB = 10× the power
- 30 dBm = 1 watt (typical RU Tx power)
- -100 dBm = typical cell-edge receive power
Every RF simulator parameter is in dB/dBm. Link budget: Tx Power + Antenna Gain - Path Loss - Noise = SNR → Shannon capacity.
Where O-RAN's RU Lives
Goal: understand what the RU physically does to signals
Antenna Gain, Azimuth & Tilt
Must KnowHow antennas focus energy in specific directions — the 3D radiation pattern.
An antenna doesn't amplify power — it focuses it. Gain = how much more power goes one direction vs a perfect sphere radiator. A 15 dBi antenna is a flashlight vs a candle.
Azimuth = horizontal pointing direction (0–360°). In a 3-sector site: 0°, 120°, 240°. Tilt = how much the beam angles down toward the ground.
- Mechanical tilt: physically tilt the hardware
- Electrical tilt: phase-shift array elements — no moving parts
In your simulator: antenna gain pattern is an input parameter (3GPP standard model). For massive MIMO the pattern changes dynamically per UE.
MIMO & Massive MIMO
Must KnowMultiple antennas = multiple spatial streams = multiplied capacity.
Multiple antennas can send different data streams simultaneously in the same frequency (spatial multiplexing), or combine to boost SNR (diversity gain).
64–256 antenna elements in the RU enables: beamforming toward specific UEs, MU-MIMO (serve many UEs at once), and interference nulling.
C = B · log₂(1 + SINR) per stream × N streams
In Cell-Free Massive MIMO (your INFOCOM work), many distributed APs cooperate. Your simulator must model the channel H from each AP to each UE — this is where digital twins become essential.
OFDM & Resource Blocks
Must KnowHow 5G divides spectrum into tiny frequency-time chunks.
Splits bandwidth into many narrow subcarriers (15 kHz in 5G NR). Each carries a tiny part of the data. Robust against multipath fading.
12 subcarriers × 1 slot in time. The DU scheduler assigns RBs to UEs every slot (~0.5ms for µ=1).
Throughput = RBs assigned × bits per RB. Bits per RB is determined by MCS, which is determined by SINR/CQI. You need this to map Shannon capacity to real 5G NR scheduling.
The DU/CU split in O-RAN exists partly because RB scheduling (DU, real-time) must be separate from session management (CU, non-real-time).
Spectrum Sharing (DSS, NR-U, SUL)
Must KnowHow 5G shares spectrum with LTE and other systems.
Licensed spectrum is scarce. Operators must share with legacy LTE deployments.
- DSS: LTE and NR share same carrier, scheduler decides per-slot
- SUL: low-band spectrum for UL, high-band for DL — better UL cell-edge
- NR-U: 5G NR in unlicensed 6 GHz, competes with Wi-Fi using LBT
Spectrum sharing makes your interference model more complex — a UE can see interference from both NR and LTE transmissions. Your SINR must account for all of them.
The Heart of Your Simulator
Goal: understand why each simulator component exists
Multipath & Fading
Must KnowReal signals bounce off buildings — copies arrive at different times and interfere.
A transmitted signal reaches the receiver via multiple paths: direct LOS, reflections off buildings, diffraction over rooftops. Each path has different delay, amplitude, phase.
- Large-scale fading: gradual power loss with distance
- Small-scale fading: rapid fluctuations as UE moves λ/2 (Rayleigh/Rician)
- Doppler: frequency shift when UE moves — causes ICI in OFDM
Standard channel models: 3GPP TR 38.901 (UMa/UMi/InH), CDL (Clustered Delay Line), TDL — each represents different environments and compute complexity.
Path Loss Models
Simulator CoreMathematical models that estimate received power — essential simulator input.
FSPL assumes empty space. Real environments have buildings, terrain, vegetation. Path loss models add empirical correction factors calibrated to measurement data.
- COST-Hata / COST231: legacy, macro cells, sub-2GHz
- 3GPP UMa/UMi (TR 38.901): the 5G standard models — use these
- Close-In (CI) model: preferred for mmWave research
PL(dB) = FSPL + 10·n·log₁₀(d/d₀) + χ_σ
n = path loss exponent (2=free space, 3–4=urban), χ_σ = log-normal shadowing
Path loss model is the first thing you implement. It determines received SNR for every UE position. Everything downstream (scheduling, beamforming, handover) depends on it.
Interference & SINR — Core of the 5G Simulator
Simulator CoreNoise alone is NOT what limits 5G performance. Interference from other cells and users is the dominant impairment — and the central reason your simulator exists.
Shannon uses SNR. But in any real deployment other base stations and UEs transmit in the same frequency. The operative metric is SINR:
SINR = S / (I + N)
S = desired signal, I = sum of all interference, N = thermal noise. In dense 5G, I often dominates N by 20–30 dB at cell edge.
The 3 interference sources in your simulator:
- Inter-cell interference (ICI): neighbor BSs reusing the same PRBs. Dominant at cell edge. SINR collapses when serving-cell power ≈ neighbor power.
- Inter-user interference (MUI): in MU-MIMO, multiple UEs share the same time-frequency resource. Precoder tries to null this but imperfect CSI leaves residual leakage.
- Self-interference (TDD): in TDD, if neighbor cell is in DL while you're receiving UL, that DL signal leaks into your UL receiver.
Why interference is central to the simulator workflow:
Remove interference from step 3 and your throughput will be wildly optimistic — the simulator becomes useless for real deployment planning.
In conventional cells you model interference as "N nearest BSs." In Cell-Free, every AP is simultaneously a potential server AND a potential interferer for every UE. The entire point of joint precoding and AP clustering is to convert interferers into cooperating servers. Interference modeling IS the system design problem.
Interference coordination is one of the top AI-RAN use cases: multi-cell RL agents learn power/beam policies to minimize aggregate I across the network. Your SINR model is what those agents are optimizing.
Ray Tracing — Site-Specific Channel Modeling
AdvancedFSPL gives one scalar. Ray tracing gives the full physical channel — every bounce, every delay, every arrival angle. The difference determines whether your simulator is statistical or site-specific.
FSPL vs Ray Tracing — Inputs & Outputs:
No geometry. No multipath. No spatial info. One distance → one number.
Every bounce. Every delay. Full spatial structure for beamforming.
Ray tracing launches geometric rays from the transmitter. Each ray that reaches the receiver — direct, reflected off walls, or diffracted over edges — travels a different distance and therefore arrives with a different delay and amplitude.
The CIR h(τ) is a set of spikes — one per ray path — at the delay τ equal to that path's total travel distance divided by the speed of light. FSPL gives you only the first spike (LOS, τ=0). Ray tracing gives you all of them.
h(τ) = Σₙ αₙ · e^(jφₙ) · δ(τ − τₙ) // sum over all N ray paths
The delay spread (max τₙ − τ₀) tells you the channel's memory length — and how large an OFDM cyclic prefix must be to prevent inter-symbol interference. FSPL cannot give you this.
Ray tracing replaces the channel model block only. SINR, Shannon capacity, and scheduling logic stay exactly the same — they just receive richer input.
- Changes — Input: FSPL needs only d + f. RT needs a 3D geometry map and material coefficients per surface.
- Changes — Channel model: FSPL formula (μs) → geometric ray solver (seconds–hours per layout). Run offline; replay in real-time during simulation.
- Changes — Channel output: scalar PL (dB) → vector of N (αₙ, τₙ, AoA, AoD) tuples → full H matrix for MIMO precoding.
- Stays — SINR = S / (I + N): same equation, but S is now coherently combined across paths using H rather than a scalar.
- Stays — Shannon / MCS / scheduling: identical downstream logic. No change needed there.
- Gains — Delay spread: you can validate cyclic prefix design and model inter-symbol interference accurately.
- Gains — Spatial accuracy: beamforming weights computed from the real H give true array gain, not a statistical estimate.
In your Cell-Free + digital twin work: ray tracing generates H between each distributed AP and each UE for a specific campus layout. AP placement, clustering, and precoding can be evaluated against actual geometry — not a random channel realization. The digital twin is the offline ray-trace database feeding the real-time simulator.
Ray tracing is compute-heavy. The practical split: run it offline for all (AP, UE-grid) pairs → store a channel database → replay in real-time simulation. This offline/online architecture is the foundation of the digital twin approach. Ray launching (outward from Tx) is faster and good for coverage maps; ray tracing (backward from Rx) is more accurate for CIR.
Completing the Simulator Picture
Goal: complete the simulator architecture picture
Handover (Handoff)
Must KnowWhen a moving UE switches from one base station to another — must be seamless.
A UE moving through the network eventually gets closer to a neighbor cell. Without handover the UE would experience collapsed SINR or drop the connection.
Trigger: neighbor RSRP exceeds serving cell by threshold (A3 event) for Time-to-Trigger (TTT).
- Hard handover (5G NR): break-before-make
- DAPS: make-before-break, 5G enhancement
- Conditional handover: pre-prepare target cell to reduce latency
Handover in the simulator affects throughput continuity and generates signaling load. In AI-RAN, ML models predict when to trigger proactively. Requires path loss + mobility models working first.
Link Budget — The Full Chain
Must KnowThe complete calculation connecting transmitter to received SINR — the simulator's spine.
RSRP = P_tx + G_tx - PL - M_fade + G_rx - NF
SINR = RSRP - (kTB + NF) - I_total
kTB = -174 + 10·log₁₀(B) dBm // B in Hz
C = B · log₂(1 + SINR_linear)
Now you see why the order matters: FSPL → path loss → antenna gain → MIMO → interference/SINR → link budget → Shannon. Each concept adds one term to this chain. Your simulator IS this chain, evaluated for every UE position at every time step.
O-RAN: What the RU Does in RF Terms
Must KnowConnecting the architecture split you know to the RF concepts you're learning.
RU — the RF world:
- Houses the antenna array (massive MIMO elements)
- Analog beamforming + digital-to-analog conversion
- Power Amplifier + DPD for harmonic control
- Converts IQ samples from eCPRI fronthaul into radio waves
DU — real-time digital:
- Digital beamforming/precoding using channel estimates H
- OFDM modulation/demodulation
- Layer 1 (PHY) + lower Layer 2 (MAC scheduler)
CU — non-real-time:
- Handover decisions, session management, PDCP
The 7-2x split: beamforming weights computed in DU, applied in RU. Fronthaul carries time-domain IQ samples. Latency requirement: <100µs. This is why fronthaul bandwidth and latency are critical design constraints in O-RAN.
AI-RAN: Where RF Meets ML
AdvancedHow AI/ML replaces or augments traditional RF algorithms in the RAN.
Key RF problems ML is solving:
- Channel estimation: ML predicts H matrix instead of pilots (saves overhead)
- Beam management: predict best beam without exhaustive sweep
- Interference coordination: multi-cell RL agents coordinate power/beams
- Predictive handover: anticipate UE trajectory, prepare target cell
- CSI feedback compression: autoencoders compress CSI — your SHAP/autoencoder knowledge connects here
The RF question in every AI-RAN architecture discussion: "What is the channel input X to this ML model, and what RF output Y does it produce?" Knowing path loss, SINR, CSI, and beamforming lets you ask and answer those questions precisely.