|
|
||
|
This interactive tutorial visualizes a CDMA (Code Division Multiple Access) spread spectrum system: a narrow, low-rate data signal is transformed into a wide, noise-like signal by spreading with a Walsh-Hadamard code and Short PN scrambling, then reconstructed at the receiver by despreading, de-scrambling, and integrate-and-dump. Signal chain1. Data & modulation — A binary sequence (e.g. 101010) is mapped to baseband: 0 → −1, 1 → +1. BPSK uses one bit per symbol on the I-axis; QPSK uses bit pairs as I/Q symbols (same Walsh on both branches). 2. Spreading — Each symbol is multiplied by a 64-chip Walsh-Hadamard code (3GPP2/IS-95, SF=64) and then by a Short PN sequence. In QPSK, the I-branch uses the I-channel PN (15-bit LFSR) and the Q-branch uses the Q-channel PN (different polynomial per IS-95/CDMA2000), keeping the two channels decorrelated. 3. Pulse shaping (optional) — A Root-Raised Cosine (RRC) filter (roll-off α configurable) smooths chip edges into a band-limited waveform. 4. RF modulation — Baseband (or RRC-filtered) is up-converted: BPSK as x(t) cos(2π fc t); QPSK as I·cos − Q·sin. 5. Channel — AWGN is added (slider); optional Other Users add multi-user interference with different Walsh codes. 6. Receiver — Demodulation (I/Q for QPSK), matched filter (RRC), de-scrambling (× same I and Q PN), despreading (× same Walsh), then integrate & dump per symbol. Processing gain, BER, and Sync (Cell ID match) are displayed. Plots include Tx/Rx constellation, eye diagram (matched-filtered descrambled), and correlation peak for timing sync. 64-ary Walsh (3GPP2 C.S0002): User ID 0–63 selects the Walsh row. Cell ID and Receiver Cell ID set the Short PN offset (64 chips per ID). I- and Q-channel PN use different LFSR polynomials so the spectrum is flat and I/Q are independent.
UsageUse the controls and scope panes to explore CDMA spreading, dual-PN scrambling, and reception:
Tip: In QPSK, raise noise to see the four clusters in the Rx constellation; use “Wrong Cell” to see loss of sync when Receiver Cell ID ≠ Cell ID. Parameters
|
||