Techniqueintro
Code-division multiple access
Also called CDMA.
Lets all users share the same time and band by giving each a spreading code with low crosscorrelation to the others; the receiver picks out a user by correlating with its code.
Code-division multiple access, or CDMA, lets many users send at the same time in the same frequency band. Each user multiplies its data by its own fast sequence of chips, its code or signature, which spreads the signal over a band much wider than the data needs, as in direct-sequence spread spectrum. The receiver correlates the sum of all signals with the code of one user. That user's signal adds up coherently over the chips of a symbol, while each other user contributes only its crosscorrelation with that code. If the codes are nearly orthogonal, every user hears the others as a small noise. Unlike FDMA and TDMA, CDMA has no hard limit on the number of users: each new user adds a little interference for everyone. It was the air interface of IS-95, of the third generation systems UMTS and cdma2000, and of GPS. Its main weakness is the near-far problem, which is solved by power control or by multiuser detection.
In plain words
Imagine a room where many pairs of people talk at the same time, each pair in a different language. You can follow your own partner because you understand only that language, and the other talk sounds like a murmur. CDMA gives each user a code instead of a language. The receiver for one user knows that code and listens for it. The other users' signals do not match the code, so they sound like weak noise. The more people talk, the louder the murmur gets, so there is a soft limit on how many users can share the room. If one person shouts, the others can no longer be heard, which is why CDMA systems control how loud each user is.
When it applies
- Many users share one band and want to send at the same time without a central schedule of time slots or frequencies.
- The available bandwidth is much larger than the data rate of one user, so each symbol can be spread over many chips.
- The traffic is bursty or the users are often silent, as in voice, so the interference averages over many users.
- The system needs resistance to narrowband interference, multipath or interception, which spreading gives as a side effect.
- The receiver can control the users' powers, or can afford a multiuser detector.
The template
CDMA(users 1..K, data b_k[m], N chips per symbol)- 1
for each user k, choose a code c_k ∈ {±1}^N ▷ hole: CODE-FAMILY - 2
transmitter k sends x_k(t) = A_k b_k[m] c_k[i] for chip i of symbol m - 3
the channel adds all users: y = Σ_k A_k b_k c_k / √N + noise - 4
set the powers A_k so the receiver can separate the users ▷ hole: POWER-CONTROL - 5
receiver: z_k = c_kᵀ y / √N for every k ▷ the matched filters - 6
decide all b_k from z_1..z_K ▷ hole: DETECTOR
The three holes are where designs differ. CODE-FAMILY chooses the codes: orthogonal codes such as Walsh or OVSF codes when the users are synchronous, and codes with low crosscorrelation at all shifts, such as Gold sequences, Kasami sequences or m-sequences, when they are not. The Welch bound limits how small the crosscorrelations of many codes can be. POWER-CONTROL sets the received powers, usually equal for all users. DETECTOR is the single-user matched filter in the simplest systems, a rake receiver on multipath channels, or a multiuser detector.
With unit-norm codes , the outputs of line L5 are with . The interference on user is . For random codes, , so with equal powers the interference power on each user is about times the user's own power. This is the sense in which the processing gain divides the interference.
Capacity rule. If all users arrive with equal power, the bandwidth is , the data rate is , and each user needs , where is the interference density, then, ignoring thermal noise and other cells, the number of users is about
This is a rule of thumb from the analysis of Gilhousen and others. Voice activity, sectors and the interference from other cells change it by large factors.
Classic examples
- IS-95. The second generation cellular standard used a chip rate of 1.2288 Mchip/s for 9.6 kbit/s of voice, a processing gain of 128, or 21.1 dB. On the downlink the users were separated by 64 Walsh codes; on the uplink, by long pseudonoise codes, with fast closed loop power control against the near-far problem. A rake receiver combined the multipath components.
- UMTS and cdma2000. The third generation systems used wideband CDMA with OVSF codes to give users different spreading factors and data rates, and scrambling codes from Gold sequences to separate cells and phones.
- GPS. Each satellite sends on the same carrier with its own C/A code, a Gold code of length 1023. The receiver finds each satellite by correlating with its code.
- Multiuser receivers. The decorrelating detector, the MMSE detector and successive interference cancellation fill the DETECTOR hole with receivers that use all users' codes.
Variations
- Synchronous and asynchronous. Synchronous users, as on a downlink, can use exactly orthogonal codes. Asynchronous users, as on an uplink, see the crosscorrelations at all relative shifts.
- Short and long codes. A short code repeats every symbol, so is constant and multiuser detection is easier. A long code changes from symbol to symbol, which makes the interference look random.
- Frequency hopping CDMA. Each user hops among frequencies by its own pattern, and users collide only when they hop to the same frequency at the same time.
- Multicarrier CDMA. The chips are sent on different subcarriers of an OFDM system instead of in time.
- Random spreading. Analyses with random codes give the large system limits of the detectors.
- Overloaded and sparse CDMA. More users than chips, with sparse codes and iterative detection, as in some designs for non-orthogonal multiple access.
Pitfalls
- Near-far. With matched filter receivers, a strong user drowns a weak one through a small crosscorrelation. Use power control or a multiuser detector.
- Orthogonality lost on the channel. Orthogonal codes stay orthogonal only for aligned chips. Multipath delay and timing offsets bring back crosscorrelation. Walsh codes have poor correlation at shifts and need a scrambling code on top.
- Interference limited. Each extra user raises the interference of all others. The capacity is soft, and an overloaded cell degrades every user.
- Counting users with the rule of thumb. The capacity rule ignores other cells, fading and imperfect power control, and each of them can cost several dB.
- Code shortage. There are only orthogonal codes of length , so orthogonal channelization needs a code tree such as OVSF and careful assignment.
Exercises
- Map the bits and . Compute the normalized periodic crosscorrelation of the m-sequence with its cyclic shift . Answer. The signs are and . The products sum to , so the correlation is , as for every nonzero shift of an m-sequence of length 7.
- Two codes have independent, equally likely chips. Show that the normalized crosscorrelation has mean 0 and . Answer. The products are independent and equally likely , with mean 0 and variance 1. So has mean 0 and variance .
- Use the capacity rule with and dB. How many equal-power users fit in one isolated cell? Answer. dB is a ratio of about , so , about 26 users before voice activity and sectors.
- Two users have crosscorrelation and no noise. For which amplitude ratio does the matched filter of user 1 fail for some bits? Answer. has the wrong sign for some when , that is, when . At equality, for some bits, a tie.
References
- Klein S. Gilhousen, Irwin M. Jacobs, Roberto Padovani, Andrew J. Viterbi, Lindsay A. Weaver and Charles E. Wheatley, On the capacity of a cellular CDMA system, IEEE Transactions on Vehicular Technology 40(2), 1991, the capacity of a CDMA cell in users, from the processing gain and the required Eb/I0, with power control, voice activity and sectorization
- David Tse and Pramod Viswanath, Fundamentals of Wireless Communication, Cambridge University Press, 2005, Section 4.3, CDMA
- John G. Proakis and Masoud Salehi, Digital Communications, fifth edition, McGraw-Hill, 2008, Chapter 12, Spread spectrum signals for digital communications, and Chapter 16, Multiuser communications
- Sergio Verdú, Multiuser Detection, Cambridge University Press, 1998, Chapters 4 to 7 (receivers for the CDMA channel)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag 7RH0C4 Edit this page History Report an error Markdown