5G/6G Academy

5G/6G Academy

Telecom certifications · since 2009

Cell Search Visualizer

Watch a 5G UE acquire a cell from scratch — PSS (m-sequence, 3 candidates) then SSS (Gold-like, 336 candidates), PCI computation, PBCH/MIB decoding and finally SIB1 via the Type0-PDCCH common search space. Per 3GPP TS 38.211 §7.4 and TS 38.213 §13.

N_ID_1
166 (0..335)
N_ID_2
2 (0..2)
SSB time-frequency grid — 4 OFDM symbols × 240 subcarriers (downsampled to 60 cols)
Symbol 0
PSS
Symbol 1
PBCH
Symbol 2
SSS
Symbol 3
PBCH
PSSSSSPBCHDMRS
S1
S2
S3
S4
S5
Step 1 / 5
S1PSS detection
ChannelPSS on symbol 0 of SSB, subcarriers 56..182
SequenceBPSK-modulated m-sequence of length 127 (TS 38.211 §7.4.2.2)
Generatorx(i+7) = (x(i+4) + x(i)) mod 2; init [1,1,1,0,1,1,0]
Cyclic shiftm = 43·N_ID_2 → m(0)=0, m(1)=43, m(2)=86
Candidates tested3 (N_ID_2 = 0, 1, 2)
Detection methodTime-domain correlation with all 3 PSS sequences
OutputN_ID_2 = 2
What the UE knows after this step
  • N_ID_2 = PCI mod 3
  • → 2
  • OFDM symbol boundary locked
  • Coarse frequency offset estimated

About 5G initial cell search

When a UE powers on or loses coverage, it performs initial cell search to acquire timing, frequency, the Physical Cell ID (PCI) and the Master Information Block. 5G NR packages these signals into a Synchronization Signal Block (SSB) — 4 OFDM symbols wide and 240 subcarriers (20 PRBs) tall, broadcast periodically (typically every 20 ms) and optionally beam-swept with up to L = 4 / 8 / 64 beams in FR1 / FR2.

The UE first correlates against the 3 possible PSS sequences (m-sequences with cyclic shifts 0, 43 and 86). That yields N_ID_2 and OFDM symbol timing. It then correlates against the 336 possible SSS Gold-like sequences to resolve N_ID_1, giving PCI = 3·N_ID_1 + N_ID_2 . PBCH is decoded next (its DMRS v-shift is PCI mod 4) to extract the 24-bit MIB, which tells the UE where Type0-PDCCH common search space lives so it can go fetch SIB1.

Who uses this visualizer?

RAN developers use it to teach PHY layer bring-up. Field engineers use PSS (mod 3), DMRS (mod 4 / 30) planning insights when debugging interference. Students use it to anchor the abstract TS 38.211 equations to a concrete frame picture.

Related tools

7-Day Free Trial

Calculator gave you the answer? Learn the theory in 7 days, free.

$19.99/mo (global) · ₹999/mo (India). Full Pro access — 150+ hands-on exercises, 20+ troubleshooting Scenarios, 17 certifications, TelcoMentor AI coach. No credit card.

  • No credit card
  • Cancel anytime
  • Full Pro access
  • TELCOMA since 2009
Start My 7-Day Trial