Introduction To CDMA
Introduction To CDMA
to
CDMA
Table of Contents
Introduction to Spread Spectrum
Communications
Three Types of Spread Spectrum
Communications
Direct Sequence Spread Spectrum
Implementing CDMA Technology
Input data
Generating Pseudo-Random Codes
Code Correlation
Introduction to CDMA
by Michael Hendry
This paper provides an introduction to Code Division Multiple Access (CDMA) communications, covering a
Radio
Carrier Station (RCS) and a Fixed Subscriber Unit (FSU).
Pseudo-Noise Spreading
Processing Gain
Transmitting Data
Complex Modulation
Working with Complex Data
Summing Many Channels Together
Receiving Data
Demodulation
Code Acquisition and Lock
Correlation and Data Despreading
Automatic Power Control
Near/Far Problem
System Capacity
Interference Rejection
Combating Interference
System Operation
Pilot Codes
Communication Channels
Pilot Ramp Up
System Idle
Paging Groups and Sleep Cycles
Call Setup
Call Processing
Call Teardown
1. The signal occupies a bandwidth much greater than that which is necessary
to send the information. This results
in many benefits, such as immunity
to interference and jamming and multi-user access, which well discuss
later
on.
3. The receiver synchronizes to the code to recover the data. The use of
an independent code and synchronous
reception allows multiple users to
access the same frequency band at the same time.
pseudo-noise (PN).
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
CDMA is a Direct Sequence Spread Spectrum system. The CDMA system works
directly on 64 kbit/sec digital
signals. These signals can be digitized
voice, ISDN channels, modem data, etc.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
2. The received signal is mixed with a local carrier to recover the spread
digital signal.
4. The receiver acquires the received code and phase locks its own code
to it.
The following sections describe how a system might implement the steps
illustrated in Figure 1.
Input data
CDMA works on Information data from several possible sources, such as digitized
voice or ISDN channels. Data
rates can vary, here are some examples:
Data Source
Voice
Pulse Code Modulation (PCM)
Data Rate
64
kBits/sec
32
(ADPCM)
kBits/sec
ISDN
Bearer Channel (B-Channel)
64
kBits/sec
16
kBits/sec
The system works with 64 kBits/sec data, but can accept input rates of
8, 16, 32, or 64 kBits/sec. Inputs of less
than 64 kBits/sec are padded
with extra bits to bring them up to 64 kBits/sec.
For inputs of 8, 16, 32, or 64 kBits/sec, the system applies Forward Error
Correction (FEC) coding, which doubles
the bit rate, up to 128 kbits/sec.
The Complex Modulation scheme (which well discuss in more detail later),
transmits two bits at a time, in two bit symbols. For inputs of less than
64 kbits/sec, each symbol is repeated to
bring the transmission rate up
to 64 kilosymbols/sec. Each component of the complex signal carries one
bit of the
two bit symbol, at 64 kBits/sec, as shown below.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
For each channel the base station generates a unique code that changes
for every connection. The base station adds
together all the coded transmissions
for every subscriber. The subscriber unit correctly generates its own matching
code and uses it to extract the appropriate signals. Note that each subscriber
uses several independant channels.
In order for all this to occur, the pseudo-random code must have the following
properties:
3. The cross-correlation between any two codes must be small (see below
for more information on code
correlation).
4. The code must have a long period (i.e. a long time before the code repeats
itself).
Code Correlation
Intermediate values indicate how much the codes have in common. The more
they have in common, the harder it is
for the receiver to extract the appropriate
signal.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Pseudo-Noise Spreading
The FEC coded Information data modulates the pseudo-random code, as shown
in Figure 2a. Some terminology
related to the pseudo-random code:
Chipping Frequency (fc): the bit rate of the PN code.
Information rate (fi): the bit rate of the digital data.
Chip: One bit of the PN code.
Epoch: The length of time before the code starts repeating itself (the
period of the code). The epoch must be
longer than the round trip propagation
delay (The epoch is on the order of several seconds).
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Processing Gain
So the higher the PN code bit rate (the wider the CDMA bandwidth), the
better the system performance.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Transmitting Data
spaced 90_ apart. By convention, the phase shifts are 45, 135, 225, and
315 degrees. Since there are four possible
states used to encode binary
information, each state represents two bits. This two bit word is called
a symbol.
Figure 3 shows in general how QPSK works.
Complex Modulation
I(t) is called the real, or In-phase, component of the data, and Q(t) is
called the imaginary, or Quadrature-phase,
component of the data. We end
up with two Binary PSK waves superimposed. These are easier to modulate
and
later demodulate.
This is not only an algebraic identity, but also forms the basis for the
actual modulation/demodulation scheme. The
transmitter generates two carrier
waves of the same frequency, a sine and cosine. I(t) and Q(t) are binary,
The receiver generates the two reference waves, and demodulates each component.
It is easier to detect 180_ phase
shifts than 90_ phase shifts. The following
table summarizes this modulation scheme. Note that I and Q are
normalized
to 1.
Symbol
I
Q
Phase
shift
00
+1
+1
45
01
+1
-1
315
10
-1
+1
135
11
-1
-1
225
Many channels are added together and transmitted simultaneously. This addition
happens digitally at the chip rate.
Remember, there are millions of chips
in each symbol. For clarity, lets say each chip is represented by an 8
bit
word (its slightly more complicated than that, but those details are
beyond the scope of this discussion).
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Each chip is represented by an 8 bit word. However, since one chip is either
a one or a zero, the 8 bit word
equals either 1 or -1.
When many channels are added together, the 8-bit word, as the sum of all
the chips, can take on values
from between -128 to +128.
The 8-bit word then goes through a Digital to Analog Converter, resulting
in an analog level proportional to
the value of the 8-bit word.
This value then modulates the amplitude of the carrier (the I component
modulates the Cosine, the Q
component modulates the Sine)
The modulated carriers are added together.
Since I and Q are no longer limited to 1 or -1, the phase shift of the
composite carrier is not limited to the four
states, the phase and amplitude
vary as
A2 = I2 + Q2
Tan((Y) = Q/I
Since the PN-code has the statistical properties of random noise, it averages
to zero over long periods of time (such
as the symbol period). Therefore,
fluctuations in I and Q, and hence the phase modulation of the carrier,
that occur
at the chip frequency, average to zero. Over the symbol period
the modulation averages to one of the four states of
QPSK, which determine
what the symbol is.
The symbol only sees the QPSK, and obeys all the statistical properties
of QPSK transmission, including Bit Error
Rate.
Receiving Data
Demodulation
The receiver generates two reference waves, a Cosine wave and a Sine wave.
Separately mixing each with the
received carrier, the receiver extracts
I(t) and Q(t). Analog to Digital converters restore the 8-bit words
representing
the I and Q chips.
The receiver, as described earlier, generates its own complex PN code that
matches the code generated by the
transmitter. However, the local code
must be phase-locked to the encoded data. The RCS and FSU each have
different
ways of acquiring and locking onto the others transmitted code. Each method
will be covered in more
detail in later sections.
Once the PN code is phase-locked to the pilot, the received signal is sent
to a correlator that multiplies it with the
complex PN code, extracting
the I and Q data meant for that receiver. The receiver reconstructs the
Information
data from the I and Q data.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
The RCS gets bombarded by signals from many FSUs. Some of these FSUs are
close and their signals are much
stronger than FSUs farther away. This
results in the Near/Far problem inherent in CDMA communications.
System
Capacity is also dependant on signal power. For these reasons, both the
RCS and FSU measure the
received power and send signals to control the
others transmit power.
Near/Far Problem
Where:
Note that this problem only exists in the reverse direction. The RCS is
receiving signals from many FSUs at
different distances, but the FSU is
receiving all signals from one RCS. The RCS controls the power of each
FSU
so that the signals received from all FSUs are the same strength.
System Capacity
where:
is the maximum number of simultaneous calls
is the processing gain
is
the total signal to noise ratio per bit, and
is the inter-cell interference
factor.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Interference Rejection
Combating Interference
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
System Operation
Pilot Codes
Communication Channels
Channel
Group
Channel
Name
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Direction
Number
of
Channels
Description
Introduction
to
CDMA
Broadcast
Global Pilot
F
Call
Setup
Fast
Broadcast
Channel
Slow
Broadcast
Channel
Short Pilot
Long Pilot
Access
Channel
Control
Channel
Control
Channel
APC
Assigned
Assigned
Pilot
APC
Channel
Traffic
Channels
Order wire
One
One
One
Four
Four
Four
Four
Four
One per
FSU
One per
FSU
Up to 3
One per
Control signals: CDMA and Telco messages.
FSU
Pilot Ramp Up
When the FSU transmits its Short and Long Access Pilots, it ramps the power
up to determine what power level it
should transmit. When the RCS detects
the Short Access Pilot, it acknowledges over the Fast Broadcast Channel.
The FSU then knows that it is being received, and switches to the Long
Access Pilot code. The Long Access Pilot
code ramps up more slowly, until
the RCS locks and starts transmitting Automatic Power Control signals.
System Idle
On startup, the RCS places one of its modems in broadcast mode, in which
state it broadcasts the following Global
Channels continuously:
Global Pilot
Slow Broadcast Channel
Fast Broadcast Channel
In addition, the RCS sets aside 4 modems for Call Setup channels. These
modems continuously listen for access
attempts by the FSUs. Well discuss
the operation of the modems in more detail later.
The RCS divides all the FSUs associated with it into paging groups. The
RCS assigns each paging group a
particular time slot on its Slow Broadcast
Channel (the first time slot is reserved for general Slow Broadcast
information).
When the RCS pages an FSU, the RCS will only page it during the time slot
of that FSUs paging
group.
The Slow Broadcast Channel cycles through all the paging groups. The cycle
takes approximately one second to
complete. Each FSU remains powered down
for most of the cycle. When the Slow Broadcast Channel reaches the
time
slot of the FSUs paging group, the FSU powers up, synchronizes to the
Global Pilot, and checks for its
address in the paging group. If it recognizes
its paging address, it requests access; if not, it powers down. This
results
in a duty cycle of less than 10%, and saves considerable power at the FSU.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Call Setup
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
Note that the RCS now tracks the Assigned Pilot; the FSU continues to track
the Global Pilot.
Call Processing
Call processing puts together everything weve covered so far. There are
slight differences in the way the RCS and
FSU process calls, so we will
cover both the Forward link (RCS to FSU) and Reverse link (FSU to RCS).
Note
that the system uses Frequency Division Duplexing for the Forward
and Reverse links: they transmit over different
frequencies.
The FSU:
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
The RCS:
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
3. Extracts the CDMA data signal for each traffic channel, for each subscriber
connection:
Generates the Complex PN code for each channel.
Multiplies the Complex signal and the Complex PN code together.
Converts the I and Q data to symbols.
Decodes the symbols for error correction.
Extracts the Information data.
Call Teardown
An on-hook signal causes the RCS to release the resources, and the FSU
returns to its idle state.
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]
Introduction
to
CDMA
http://www.bee.net/mhendry/vrml/library/cdma/cdma.htm[2014/10/6
19:07:40]