|
|
|||||||||
|
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, and noise affect the constellation pattern and correlation properties. Mathematical Foundation1. Zadoff-Chu Sequence Definition For 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 Formula The 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. AWGN Channel Simulation In 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 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
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)
Sequence Parameters
(prime)
1
3
0
Channel (AWGN Noise)
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. 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
|
|||||||||