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.
| Channel | PSS on symbol 0 of SSB, subcarriers 56..182 |
| Sequence | BPSK-modulated m-sequence of length 127 (TS 38.211 §7.4.2.2) |
| Generator | x(i+7) = (x(i+4) + x(i)) mod 2; init [1,1,1,0,1,1,0] |
| Cyclic shift | m = 43·N_ID_2 → m(0)=0, m(1)=43, m(2)=86 |
| Candidates tested | 3 (N_ID_2 = 0, 1, 2) |
| Detection method | Time-domain correlation with all 3 PSS sequences |
| Output | N_ID_2 = 2 |
- •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
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