Safekipedia

Code-division multiple access

Adventurer · ages 7–10Adapted from Wikipedia
An au CDMA 1X WIN W31SA mobile phone in a silver color.

Code-division multiple access, or CDMA, is a channel access method used by various radio communication technologies. It is a way for several transmitters to send information at the same time over a single communication channel. This lets several users share one band of frequencies (see bandwidth). To keep users from interfering with each other too much, CDMA uses spread spectrum technology and a special coding system, where each transmitter is given its own code. It is not the same as Carrier-sense multiple access.

CDMA makes good use of the available bandwidth. It sends signals across the whole frequency range, so no user is stuck with a small part of it.

CDMA is the access method used in many mobile phone standards. IS-95, also called "cdmaOne", and its 3G upgrade CDMA2000 are often just called "CDMA." UMTS, the 3G standard used by GSM carriers, also uses "wideband CDMA," or W-CDMA, as well as TD-CDMA and TD-SCDMA, for its radio technologies. Many carriers, such as AT&T, UScellular and Verizon, turned off their 3G CDMA networks in 2022 and 2024. Because of this, phones that only supported those networks could no longer make calls, even to 9-1-1.

CDMA can also be used as a channel access technology, like ALOHA, or as a steady pilot or signal channel. This helps devices keep their local clocks matched to a shared system frequency, and it lets the channel conditions be checked all the time. In these methods, the message is placed on a longer sequence made of several chips, which are 0s and 1s. Because these sequences match up very well, they have been used in radar for many decades. There they are called Barker codes, and they are usually 8 to 32 long.

CDMA is often used with binary phase-shift keying (BPSK) in its simplest form. It can also be combined with other modulation methods, such as quadrature amplitude modulation (QAM) or orthogonal frequency-division multiplexing (OFDM). This usually makes it very strong and efficient. Some systems instead use subcarriers based on binary offset carrier modulation (BOC modulation), which is inspired by Manchester codes.

History

The technology behind code-division multiple access has been known for a long time. In the US, one of the earliest descriptions of CDMA can be found in a report on "The Security of Overseas Transport." This was a summer research project carried out at the Massachusetts Institute of Technology from June to August 1950. In 1952, more research on jamming and anti-jamming was done at Lincoln Lab.

In the Soviet Union, the first work on this subject was published in 1935 by Dmitry Ageev. In 1957, a young military radio engineer, Leonid Kupriyanovich, in Moscow made an experimental mobile phone that could be worn, called LK-1. It worked with a base station. In 1958, the USSR also started building a national mobile phone service for cars, called "Altai." This service started in Moscow in 1963. By 1970, it was used in 30 cities in the USSR.

Uses

A CDMA2000 mobile phone

CDMA has been used in many technologies. An early form, called code-division multiplexing, was used in the Global Positioning System (GPS). It was later used in mobile phones. The Qualcomm company created the IS-95 standard, which was sold as cdmaOne.

Another standard, IS-2000, is known as CDMA2000. It is used by several mobile phone companies, including the Globalstar network. The UMTS 3G mobile phone standard uses W-CDMA. CDMA has also been used in the OmniTRACS satellite system, which helps with transportation logistics.

Steps in CDMA modulation

CDMA is a way for many devices to share the same channel at once. It spreads the data across a wider range of frequencies, while using the same amount of transmitted power. A spreading code is a pseudo-random code that changes much faster than the data. The data is combined with this faster code using XOR. Because the code is so much faster, the spread signal uses a much wider bandwidth than the original signal. The ratio between them is called the spreading factor or processing gain. It helps set a limit on how many users a base station can support at once.

Generation of a CDMA signal

Each user in a CDMA system uses a different code, and choosing these codes is very important. The system picks out signals by correlating the received signal with the code of the wanted user. A matching code gives a high correlation, so that signal can be found. Unrelated signals should give a result as close to zero as possible. This is called cross-correlation. An easy way to picture CDMA is people in a room talking at the same time. People who speak the same language can understand each other, while other languages sound like noise and are ignored. In general, CDMA falls into two basic types: synchronous (orthogonal codes) and asynchronous (pseudorandom codes).

Code-division multiplexing (synchronous CDMA)

Digital systems work in a similar way to simple radios. Older analog radios mixed a slow data signal with a fast sine wave and sent it out. In digital systems, the sine wave is replaced by Walsh functions. These are square waves that only take two values. The data is also binary, and it is combined using a simple XOR function, usually in a Gilbert cell mixer circuit.

Synchronous CDMA depends on orthogonality between vectors that stand for the data. Two vectors are orthogonal when their dot product is zero. This means they do not interfere with each other. Each user gets a different code that is orthogonal to the others. For example, IS-95 uses 64 Walsh codes to keep 64 signals separate. These codes often come from Walsh matrices and are called chip codes. A receiver can pick out one user's signal by combining it with that user's code.

An example of 4 mutually orthogonal digital signals
StepEncode sender0Encode sender1
0code0 = (1, −1), data0 = (1, 0, 1, 1)code1 = (1, 1), data1 = (0, 0, 1, 1)
1encode0 = 2(1, 0, 1, 1) − (1, 1, 1, 1) = (1, −1, 1, 1)encode1 = 2(0, 0, 1, 1) − (1, 1, 1, 1) = (−1, −1, 1, 1)
2signal0 = encode0 ⊗ code0
= (1, −1, 1, 1) ⊗ (1, −1)
= (1, −1, −1, 1, 1, −1, 1, −1)
signal1 = encode1 ⊗ code1
= (−1, −1, 1, 1) ⊗ (1, 1)
= (−1, −1, −1, −1, 1, 1, 1, 1)
StepDecode sender0Decode sender1
0code0 = (1, −1), signal = (1, −1, −1, 1, 1, −1, 1, −1)code1 = (1, 1), signal = (1, −1, −1, 1, 1, −1, 1, −1)
1decode0 = pattern.vector0decode1 = pattern.vector1
2decode0 = ((1, −1), (−1, 1), (1, −1), (1, −1)) · (1, −1)decode1 = ((1, −1), (−1, 1), (1, −1), (1, −1)) · (1, 1)
3decode0 = ((1 + 1), (−1 − 1), (1 + 1), (1 + 1))decode1 = ((1 − 1), (−1 + 1), (1 − 1), (1 − 1))
4data0 = (2, −2, 2, 2), meaning (1, 0, 1, 1)data1 = (0, 0, 0, 0), meaning no data

Asynchronous CDMA

See also: Direct-sequence spread spectrum and near–far problem

When phones move around, their signals cannot be lined up exactly. So asynchronous CDMA uses special "pseudo-random" codes called spreading sequences. These codes look random, but the receivers that need to read them can recreate them. Gold codes are one example, because they do not get in the way of each other much. To the other users, each signal looks like background noise, as described by the central limit theorem. The more users there are, the more noise there is. For this reason, the strength of every user's signal must stay at about the same level. In CDMA phone networks, the base station adjusts the power of each phone. All CDMA uses the spread-spectrum spreading factor to help receivers ignore signals they do not need.

Asynchronous CDMA is very flexible. There is no strict limit on the number of users. Each phone keeps its code while it is connected and sends only when it has something to say. Other methods have a fixed number of orthogonal codes, time slots, or frequency channels. They also need extra gaps to deal with timing and the Doppler shift. Spread-spectrum signals are hard to read without the right code, and they are good at resisting jamming. CDMA can also handle narrow-band interference. Convolution encoding and interleaving help recover lost data. Some devices use a rake receiver to combine signals that arrive by different paths. The same frequency can be used in every cell, so a phone can even connect to two cells at once during a soft hand-off.

Collaborative CDMA

Researchers have studied a new method called collaborative CDMA. It is meant for the uplink, which is the link from users to a base station. It lets more users share the same channel than the usual limit allows. Small groups of users share one spreading sequence. The authors show that this can be done simply and still work well in flat fading channels. This is a major challenge for CDMA systems that have too many users.

The new receiver works in two stages. The first stage reduces interference between the groups. The second stage recovers the data of the users who share a sequence. An enhanced version called interleave-division multiple access (IDMA) separates users by using interleaving instead of signature sequences.

Quiz time!

4 questions about Code-division multiple access

Question 1 of 4

What can CDMA let several transmitters do?

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Code-division multiple access, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.