|
|
|||||||||
|
This interactive tutorial visualizes the Zadoff-Chu (ZC) sequence, a Constant Amplitude Zero Auto-Correlation (CAZAC) waveform that is fundamental to LTE and 5G NR physical-layer design. You can explore how the root index, cyclic shift, carrier frequency offset (CFO), and noise affect the constellation pattern and correlation properties. Sections Mathematical Foundation1. Zadoff-Chu Sequence DefinitionFor a prime length N and root index u (1 ≤ u < N), the Zadoff-Chu sequence is defined as: xu(n) = exp(−j π u n(n+1) / N) for n = 0, 1, …, N−1
Each sample is a complex number on the unit circle: the amplitude |xu(n)| = 1 for all n. The quadratic phase progression gives the sequence its unique correlation properties. 2. Key Properties (CAZAC)
3. Cyclic Correlation FormulaThe cyclic correlation of sequence xa with xb at shift k is: Ra,b(k) = ∑n=0N−1 xa(n) · xb*((n+k) mod N)
where * denotes complex conjugation. When a = b (auto-correlation), the result is a delta function of height N at k = 0. 4. Channel Impairment SimulationIn a real wireless channel, the received signal is corrupted by Additive White Gaussian Noise (AWGN): r(n) = x(n) + w(n), w(n) ~ CN(0, σ²)
where σ = 10−SNRdB/20. Even when the signal-to-noise ratio is very low (SNR < 0 dB) and the constellation looks like random noise, the correlation peak still emerges because correlation integrates over all N samples, providing a processing gain of: Processing Gain = 10 log10(N) dB
A carrier frequency offset is modeled as a progressive phase rotation across the received sequence. The UI expresses oscillator error in ppm and converts it into Hz from the carrier frequency: Δf = CFOppm × 10−6 × Fc
r(n) = x(n) exp(j 2π Δf n / Fs) + w(n)
CFO does not scatter samples randomly; it bends the phase trajectory and reduces coherent correlation, lowering the peak and raising apparent sidelobes. The same ppm value has a stronger baseband effect at higher carrier frequency or lower sample rate. This is why ZC sequences are used for the PRACH (Physical Random Access Channel) in LTE/5G — they can detect a user's preamble buried deep in noise. 5. Use in LTE / 5G NR
SimulationThe interactive simulator is below. Use the controls to explore the concepts described above. Constellation (Complex Plane)
Correlation Magnitude — Auto-Correlation
ZC Formula: xu(n) = exp(−jπ u n(n+1) / N)
|
Correlation: R(k) = ∑ xa(n) · xb*((n+k) mod N)
Preset Scenario
Custom: Adjust the sliders directly. Use the presets to jump to common ZC strengths and impairment-sensitive cases.
Sequence Parameters
(prime)
1
3
0
Channel (CFO + AWGN Noise)
0.0 ppm (0 Hz, 0.000 cyc/N)
3500 MHz
30.72 MHz
20 dB
Peak |R|
—
Peak Shift
—
Avg Floor
—
Peak/Floor
—
Proc. Gain
—
Detection: —
How to read this: The left canvas shows the ZC sequence(s) on the complex plane. u₁ (inner ring, blue→red gradient) is the reference; u₂ (outer ring, green→red gradient) is the received signal. The thick long arm marks each sequence’s start element (index 0). When you apply a cyclic shift, the outer ring’s color pattern and start marker rotate. Auto-Correlation (u₁ = u₂): Expect a perfect delta peak at k = cyclic shift value, with all other shifts at zero. This is the “CAZAC” property. Cross-Correlation (u₁ ≠ u₂): The correlation is flat at √N, meaning no shift stands out — different roots don’t interfere. CFO: Move CFO away from zero and watch the received sequence acquire a progressive phase rotation. The peak usually drops because the receiver is correlating with a reference that has no CFO. Noise Robustness: Lower SNR and watch the constellation scatter into a cloud while the correlation peak remains detectable. This is the processing gain (= 10 log10(N) dB) that makes ZC ideal for random access in 5G.
UsageUse the controls to explore the properties of Zadoff-Chu sequences:
Visualizations
Summary Panel
Key Insights
Limitations
|
|||||||||