Web Simulation 

 

 

 

 

5G NR SSB Resource Grid Visualizer 

In 5G NR, the Synchronization Signal Block (SSB) is the first downlink signal a device looks for when it powers on or searches for a cell. It occupies a small block of time and frequency within every 5 ms half frame and carries the primary and secondary synchronization signals (PSS and SSS) plus the physical broadcast channel (PBCH) and its reference symbols. This page visualizes where the SSB sits in the resource grid, how its components are arranged, and how the pattern changes with subcarrier spacing and channel bandwidth according to 3GPP specifications.

SSB (Synchronization Signal Block) — 3GPP TS 38.211 §7.4.3

The SSB (also called SS/PBCH Block) is the fundamental downlink signal a UE detects during initial cell search. It carries:

  • PSS (Primary Synchronization Signal) — length-127 m-sequence (BPSK), used for symbol-level timing and NID(2) (∈ {0,1,2}).
  • SSS (Secondary Synchronization Signal) — length-127 Gold sequence (BPSK), determines NID(1) (0–335). Together with PSS, identifies the Physical Cell ID: Ncell = 3·NID(1) + NID(2) (0–1007).
  • PBCH (Physical Broadcast Channel) — carries the MIB (Master Information Block), QPSK modulated, 432 REs per SSB burst.
  • PBCH DMRS — QPSK reference signal on every 4th subcarrier within PBCH symbols.

SSB Structure (4 symbols × 240 subcarriers = 20 RBs)

  • Symbol 0: PSS occupies 127 subcarriers centered within the 240 SC block (SC 56–182).
  • Symbol 1: Full 240 SC of PBCH + PBCH DMRS (every 4th SC).
  • Symbol 2: SSS (127 SC, centered) flanked by PBCH on the sides (SC 0–47 and SC 192–239) with DMRS. SC 48–55 and SC 183–191 are unused gaps.
  • Symbol 3: Full 240 SC of PBCH + PBCH DMRS.

SSB Cases (3GPP TS 38.213 §4.1)

The SSB periodicity and time-domain positions depend on the SSB Case, which is tied to subcarrier spacing and frequency range:

  • Case A: 15 kHz SCS, FR1 — first symbols {2, 8} + 14n, Lmax = 4 or 8.
  • Case B: 30 kHz SCS, FR1 — first symbols {4, 8, 16, 20} + 28n, Lmax = 4 or 8.
  • Case C: 30 kHz SCS, FR1 (paired) — first symbols {2, 8} + 14n, Lmax = 4 or 8.
  • Case D: 120 kHz SCS, FR2 — first symbols {4, 8, 16, 20} + 28n, Lmax = 64.
  • Case E: 240 kHz SCS, FR2 — first symbols {8, 12, 16, 20, 32, 36, 40, 44} + 56n, Lmax = 64.

Lmax is the maximum number of SS/PBCH blocks in a 5 ms half frame. An SSB TX Bitmap of length Lmax selects which bursts are actually transmitted (1 = transmit, 0 = skip).

Frequency Position

The SSB’s location in the channel bandwidth is defined by offsetToPointA (in RBs on the 15 kHz common raster) and kSSB (subcarrier offset). In this visualizer the SSB is centered in the configured channel bandwidth.

SSB Configuration
Empty PSS SSS PBCH PBCH DMRS SSB Burst
SSB = 4 OFDM symbols × 240 subcarriers (20 RBs)
Sym 0: PSS (127 SC, centered at SC 56–182)
Sym 1: PBCH + DMRS (every 4th SC)
Sym 2: PBCH sides (SC 0–47, 192–239) + SSS center (127 SC) + DMRS. Gaps at SC 48–55, 183–191.
Sym 3: PBCH + DMRS (every 4th SC)
Unused PSS SSS PBCH PBCH DMRS
PSS (BPSK, 127 sym)
SSS (BPSK, 127 sym)
PBCH (QPSK, 432 sym)
PBCH DMRS (QPSK)
Combined Constellation

 

Usage

Use the controls to explore the SSB resource grid:

  1. SSB Case: Selects the subcarrier spacing and time-domain pattern (A/B/C/D/E). The SCS and first-symbol positions update automatically.
  2. L_max: Maximum SS/PBCH blocks per 5 ms half frame. FR1 supports 4 or 8; FR2 supports 64.
  3. BW: Channel bandwidth in MHz (5–100). Combined with SCS, this determines the total number of RBs in the grid. Invalid SCS/BW pairs are filtered.
  4. TX Bitmap: A string of ‘1’ and ‘0’ of length Lmax. Each bit controls whether the corresponding SSB burst is transmitted. For example, ‘10101010’ transmits every other burst.
  5. Cell ID: Physical Cell ID (0–1007). Changes PSS/SSS sequences and PBCH DMRS scrambling.
  6. Preset: Quick-select common configurations to see how the grid changes for different cases and bandwidths.

Tabs

  • Full Resource Grid: The complete 5 ms half frame. Horizontal axis = OFDM symbol index; vertical axis = subcarrier (RB 0 at bottom). SSB bursts are outlined in magenta. Slot boundaries shown as white lines.
  • SSB Structure: Zoomed view of a single SSB block (4 symbols × 240 subcarriers) showing the exact layout of PSS, SSS, PBCH, and DMRS REs. Dashed lines mark the PSS/SSS region.
  • SSB Time Pattern: Shows when SSB bursts appear in the 5 ms half frame. Top row: time axis with slot boundaries. Bottom row: per-symbol view.
  • Constellation: I/Q scatter plots for each SSB component (PSS – BPSK, SSS – BPSK, PBCH – QPSK, DMRS – QPSK) plus a combined view.

Key 3GPP References

  • TS 38.211 §7.4.2: PSS and SSS sequence definitions and m-sequence generators.
  • TS 38.211 §7.4.3: SS/PBCH block structure, RE mapping, and PBCH DMRS.
  • TS 38.213 §4.1: SSB time-domain positions (Cases A–E) and Lmax.
  • TS 38.101: Maximum RBs per channel bandwidth and subcarrier spacing.