5G NR Resource Grid Visualization
- Venkateshu Kamarthi

- May 29
- 2 min read
5G NR Resource Grid Visualizer is an interactive tool that renders the complete time-frequency structure of a 5G New Radio radio frame (10ms) across configurable bandwidths from 5–100 MHz and subcarrier spacings of 15/30/60/120 kHz, automatically computing the correct number of resource blocks per 3GPP TS 38.101. It maps all major physical channels and signals — SSB (PSS/SSS/PBCH), CORESET 0, PDCCH, PDSCH, PUSCH, PUCCH, PRACH, and both DL/UL DMRS — onto the resource grid at their correct time-frequency positions based on parameters like SSB burst set pattern (Cases A–E), CORESET 0 index, DMRS position/type, and BWP configuration. For TDD deployments it supports six standard slot format patterns (e.g. DDDSU, DDDDDDDSUU) with per-slot D/S/U classification visually color-coded across the frame, while FDD mode renders independent DL and UL grids. The tool is designed to give RF engineers and protocol developers immediate visual intuition of how configuration choices — SCS, duplex mode, TDD format, SSB Lmax, BWP size — interact to shape resource utilization across a full radio frame, with a hover-inspect feature that reports the exact channel type, RB index, subcarrier range, symbol, slot, and subframe for any resource element.
Configuration parameters:
Bandwidth (5–100 MHz) × SCS (15/30/60/120 kHz) with automatic NRB lookup per 3GPP TS 38.101
FR1 / FR2 band selection (auto-adjusts Lmax and SCS constraints)
FDD or TDD mode, with 6 TDD slot format patterns (DDDSU, DSUUU, DDDDDDDSUU, DDDSUUDDSU, all-D, all-U)
SSB burst set patterns Case A–E with configurable Lmax (4/8/64)
CORESET 0 table index (drives RB count and offset)
DMRS position (pos0/pos2/pos3+additional) and Type 1/2
DL and UL BWP sizes (shown as dashed overlay boundaries)
View granularity: full 10ms radio frame, single subframe, or single slot
What's color on the grid:
Y-axis: Resource Blocks (frequency), labeled every 5 RBs
X-axis: OFDM symbols per slot, with slot numbers, subframe numbers, and ms markers across the top
SSB (amber/gold) — PSS/SSS/PBCH block at correct slot/symbol positions per case
CORESET 0(Coral/orange) + PDCCH (purple) — overlaid at symbols 0–1 around center RBs
PDSCH (teal) — fills DL BWP from configured start symbol
DL DMRS (green) — at configured symbol positions within PDSCH
PUSCH (blue) — UL slots within BWP
PUCCH (pink) — at UL BWP edges
PRACH (mint/cyan) — 6 RBs at center of first UL slot per subframe
TDD slot coloring — D/S/U slots visually distinguished in background




Comments