CDMA and Spread Spectrum
From Military Secrecy to Commercial Cellular
Spread-spectrum communication was originally developed for military applications: by spreading a signal across a bandwidth far wider than necessary, the signal becomes difficult to detect and resistant to narrowband jamming. In the 1990s, Qualcomm's IS-95 standard brought Code Division Multiple Access (CDMA) to commercial cellular networks, demonstrating that spread spectrum could also serve as a powerful multiple access technique. Unlike FDMA and TDMA, CDMA allows all users to transmit simultaneously over the entire bandwidth, separating them by unique spreading codes. This approach trades hard resource partitioning for graceful degradation: adding a user increases interference for all, but the system does not hit a hard capacity wall. CDMA formed the basis of 3G (WCDMA, cdma2000) and its principles remain relevant in 5G positioning and IoT systems.
Definition: Direct-Sequence Spread Spectrum (DS-SS)
Direct-Sequence Spread Spectrum (DS-SS)
In direct-sequence spread spectrum, user 's data symbol is multiplied by a spreading code of length (the spreading factor or processing gain), where each chip and .
The transmitted chip-rate signal for user is:
The received signal at the base station is:
where is user 's channel coefficient and .
The despreading operation for user is a matched-filter (correlator) receiver:
The processing gain is the ratio of the chip bandwidth to the data bandwidth: .
After despreading, the noise power is unchanged () since the code is unit-norm, but the interference from user is scaled by the cross-correlation . If codes are orthogonal, the interference vanishes exactly.
Definition: Walsh-Hadamard Codes and the Near-Far Problem
Walsh-Hadamard Codes and the Near-Far Problem
Walsh-Hadamard codes are a family of orthogonal binary sequences of length (where is a power of 2), constructed recursively via the Hadamard matrix:
Row of serves as the spreading code . These codes satisfy for , eliminating multi-access interference in synchronous systems.
The near-far problem arises when users are at different distances from the base station. If user is much closer than user , then , and the residual interference after despreading (due to imperfect code orthogonality in asynchronous or multipath channels) can overwhelm user 's signal:
Without power control, the near-far effect causes catastrophic performance degradation for distant users. Tight closed-loop power control (updating at 800 Hz in IS-95) is essential for CDMA systems.
CDMA Spreading and Despreading
Visualise how spreading codes separate users in a CDMA system. The plot shows the BER performance as a function of the number of users and processing gain. Observe how increasing the processing gain allows the system to support more users at a given BER target, and how the SNR affects the MAI floor.
Parameters
Near-Far Effect in CDMA
Explore how the near-far problem degrades CDMA performance. User distances from the base station determine received power through path loss. Adjust the near and far user distances, the number of users, and the path-loss exponent to see how the SIR of the far user collapses when near users transmit at the same power.
Parameters
Rake Receiver for DS-CDMA
Complexity: per symbol period: despreading operations each of length , plus for the MRC combining.The Rake receiver exploits multipath diversity by treating each resolvable path as an independent copy of the signal. With resolvable paths and MRC combining, the effective diversity order is . The name "Rake" comes from the analogy of the receiver fingers collecting energy from scattered paths, like the tines of a garden rake. In WCDMA (3G), Rake receivers with 4--6 fingers were standard.
Example: Processing Gain and CDMA Capacity
A DS-CDMA system operates with chip rate Mcps (WCDMA standard) and data rate kbps (voice). Assume equal received power for all users (perfect power control) and a required dB.
(a) Compute the processing gain . (b) Estimate the maximum number of users per cell. (c) What happens if the processing gain is halved (higher data rate)?
Processing gain
10\log_{10}(315) = 25.0$ dB.
Maximum number of users
With a matched-filter receiver and perfect power control, the SIR for each user in a single cell is approximately:
The required SIR equals . Therefore:
users.
Including a voice activity factor (users speak only 40% of the time) and a frequency reuse factor (inter-cell interference):
Halving the processing gain
If the data rate doubles to kbps, then and drops to roughly half. This illustrates the fundamental trade-off in CDMA: higher per-user data rates consume more spreading bandwidth and reduce the number of supportable users.
Quick Check
A CDMA system with processing gain and users (all with equal received power) uses a matched-filter receiver. What is the approximate SIR at the despreader output?
64 (18.1 dB)
4.27 (6.3 dB)
16 (12.0 dB)
1 (0 dB)
(6.3 dB). Each additional user adds interference that the despreader cannot fully suppress.
Why This Matters: IS-95 and WCDMA (3G)
IS-95 (cdmaOne): The first commercial CDMA standard (1995), developed by Qualcomm. It used a chip rate of 1.2288 Mcps with 64-chip Walsh codes for the downlink and long PN sequences for the uplink. IS-95 demonstrated 6--10 capacity improvement over analogue AMPS, primarily through voice activity detection, soft handoff, and aggressive power control (800 Hz update rate).
WCDMA (UMTS): The 3GPP standard for 3G (Release 99, 2001) used a chip rate of 3.84 Mcps with variable spreading factors (4--512) to support data rates from 12.2 kbps to 2 Mbps. Key features included Rake receivers, closed-loop power control, and soft/softer handoff. HSPA+ later added advanced receivers (interference cancellation, equalisation) to push peak rates beyond 40 Mbps.
The transition from 3G (CDMA-based) to 4G (OFDMA-based) was driven by the difficulty of supporting high data rates with CDMA: the near-far problem and MAI become severe when spreading factors are small. OFDMA's orthogonality eliminates these issues.
Power Control Requirements in CDMA Systems
The near-far problem makes fast closed-loop power control the single most critical mechanism in CDMA systems. Without it, a user 10 dB closer to the base station creates 40 dB more interference (with path-loss exponent ), overwhelming distant users.
IS-95/cdmaOne requirements:
- Closed-loop power control rate: 800 Hz (one update per 1.25 ms power control group)
- Step size: dB per update
- Target: equalise all users' received power at the BS to within dB
WCDMA (3G) requirements:
- Inner loop: 1500 Hz update rate, dB steps
- Outer loop: adjusts the SIR target based on measured BLER (typically targeting 1% BLER for voice)
- Dynamic range: 80 dB (from -50 dBm to +30 dBm)
Why OFDM replaced CDMA (4G onwards): As data rates increased, the spreading factor decreased (e.g., for HSDPA at 3.6 Mbps), reducing interference suppression. The near-far problem became intractable at low spreading factors, and OFDMA's inherent orthogonality eliminated the problem entirely.
- β’
IS-95: 800 Hz power control, Β±1 dB steps
- β’
WCDMA: 1500 Hz, 80 dB dynamic range
- β’
Low spreading factor (N < 8): near-far problem becomes severe
CDMA
Code Division Multiple Access: a multiple access technique in which all users transmit simultaneously over the same bandwidth, separated by unique spreading codes. Each user's signal is spread to a bandwidth times wider than necessary, where is the processing gain.
Related: DS-SS, Processing Gain
DS-SS
Direct-Sequence Spread Spectrum: a spread-spectrum technique in which the data signal is multiplied by a high-rate pseudorandom chip sequence, spreading the signal bandwidth by a factor of (the processing gain).
Related: CDMA, Processing Gain
Near-Far Problem
The phenomenon in CDMA systems where a nearby high-power user overwhelms the desired signal from a distant low-power user, causing severe performance degradation. Mitigated by tight closed-loop power control or multi-user detection.
Related: CDMA