Unit - 2 (WC)
Unit - 2 (WC)
UNIT
INTRODUCTION TO CDMA
Code Division Multiple Access (CDMA) is a digital cellular technology used for
mobile communication. CDMA is the base on which access methods such as
cdmaOne, CDMA2000, and WCDMA are built. CDMA cellular systems are
deemed superior to FDMA and TDMA, which is why CDMA plays a critical role in
building efficient, robust, and secure radio communication systems.
A Simple Analogy
Let’s take a simple analogy to understand the concept of CDMA. Assume we
have a few students gathered in a classroom who would like to talk to each other
simultaneously. Nothing would be audible if everyone starts speaking at the
same time. Either they must take turns to speak or use different languages to
communicate.
The second option is quite similar to CDMA — students speaking the same
language can understand each other, while other languages are perceived as
noise and rejected. Similarly, in radio CDMA, each group of users is given a
shared code. Many codes occupy the same channel, but only those users
associated with a particular code can communicate.
Salient Features of CDMA
CDMA, which is based on the spread spectrum technique has following salient
features −
In CDMA, every channel uses the full available spectrum.
Individual conversations are encoded with a pseudo-random digital
sequence and then transmitted using a wide frequency range.
CDMA consistently provides better capacity for voice and data
communications, allowing more subscribers to connect at any given
time.
UNIT - II 1
[WIRELESS COMMUNICATION]
UNIT - II 2
[WIRELESS COMMUNICATION]
IMT-2000 System
CDMA Overview
Code Division Multiple Access system is very different from time and frequency
multiplexing. In this system, a user has access to the whole bandwidth for the
entire duration. The basic principle is that different CDMA codes are used to
distinguish among the different users.
Techniques generally used are direct sequence spread spectrum modulation
(DS-CDMA), frequency hopping or mixed CDMA detection (JDCDMA). Here, a
signal is generated which extends over a wide bandwidth. A code
called spreading code is used to perform this action. Using a group of codes,
which are orthogonal to each other, it is possible to select a signal with a given
code in the presence of many other signals with different orthogonal codes.
issues will reduce the maximum number of calls somewhat lower than this
value.
In fact, many different "signals" baseband with different spreading codes can be
modulated on the same carrier to allow many different users to be supported.
Using different orthogonal codes, interference between the signals is minimal.
Conversely, when signals are received from several mobile stations, the base
station is capable of isolating each as they have different orthogonal spreading
codes.
The following figure shows the technicality of the CDMA system. During the
propagation, we mixed the signals of all users, but by that you use the same
code as the code that was used at the time of sending the receiving side. You
can take out only the signal of each user.
CDMA Capacity
UNIT - II 4
[WIRELESS COMMUNICATION]
In addition, neighboring cells use the same frequencies, which means no re-use.
So, CDMA capacity calculations should be very simple. No code channel in a cell,
multiplied by no cell. But it is not that simple. Although not available code
channels are 64, it may not be possible to use a single time, since the CDMA
frequency is the same.
Centralized Methods
The band used in CDMA is 824 MHz to 894 MHz (50 MHz + 20 MHz
separation).
Frequency channel is divided into code channels.
1.25 MHz of FDMA channel is divided into 64 code channels.
Processing Gain
UNIT - II 5
[WIRELESS COMMUNICATION]
Advantages of CDMA
CDMA has a soft capacity. The greater the number of codes, the more the
number of users. It has the following advantages −
CDMA requires a tight power control, as it suffers from near-far
effect. In other words, a user near the base station transmitting with
the same power will drown the signal latter. All signals must have
more or less equal power at the receiver
Rake receivers can be used to improve signal reception. Delayed
versions of time (a chip or later) of the signal (multipath signals) can
be collected and used to make decisions at the bit level.
Flexible transfer may be used. Mobile base stations can switch
without changing operator. Two base stations receive mobile signal
and the mobile receives signals from the two base stations.
Transmission Burst − reduces interference.
Disadvantages of CDMA
UNIT - II 6
[WIRELESS COMMUNICATION]
You can find a sample network diagram from the CDG Web site. This Web site is
an excellent resource for understanding CDMA technologies, its benefits and
evolution. From the various wireless devices, the voice/data is converted into a
wireless signal that is transmitted to a base station controller (BSC). From here,
the data is transferred through the network and back to the end-user/station.
UNIT - II 7
[WIRELESS COMMUNICATION]
a single type. A new run starts when the alternate digit occurs in a sequence.
The number of digits in the run determines its length.
3) Correlation Property
A sequence's autocorrelation function is binary-valued and periodic. This
property is termed as 'the correlation property.'
Pseudo Noise (PN) sequence generator
In spread spectrum communications, the class of sequences utilized is
frequently periodic, indicating that a series of 1s and 0s repeats itself perfectly
with a defined time. A frequently used periodic PN sequence is represented by
the maximum length sequence, a sort of cyclic coding.
Shift register circuits having feedback from one or more stages may readily
construct maximum length sequences, often known as PN sequences. Figure 1
shows a PN sequence generator with a three-stage shift register.
T Three flip-flops are controlled by a single timing clock in the 3-stage shift
register. Each flipflop's state is moved to the next one with every clock pulse.
Modulo-2 addition of the outputs of flip-flops x2 and x3 yields the feedback
function. The input of the first flip-flop, x1, receives the feedback term. By noting
the contents of flipflop x3 at each clock pulse, the maximum length sequence
output is determined. The resulting maximum-length sequence is always
periodic, with a period of:
N = 2m-1 ----------------------- (1)
where m represents the length of the shift register. Here, m = 3 and so N = 23-1
= 7.
If we assume that the shift register contents are initially 111 for the PN sequence
generator shown in Figure 2, the contents will vary with each clocking pulse as
given in Table 1.
UNIT - II 8
[WIRELESS COMMUNICATION]
UNIT - II 9
[WIRELESS COMMUNICATION]
C = B × log2 (1 + S/N)
In the given equation, `C’ is the channel capacity in bits per second
(bps), which is the maximum data rate for a theoretical bit-error
rate (BER). ‘B’ is the required channel bandwidth in Hz, and S/N is
the signal-to-noise power ratio.
Spread spectrum uses wideband, noise-like signals that are hard to
detect, intercept, or demodulate. Additionally, spread-spectrum
signals are harder to jam (interfere with) than narrow band signals.
Since spread-spectrum signals are so wide, they transmit at a much
lower spectral power density, measured in watts per hertz, than
narrow band transmitters. Spread-spectrum and narrowband
signals can occupy the same band, with little or no interference. This
capability is the main attraction for all the interest in spread
spectrum today.
Points to Remember −
The transmitted signal bandwidth is greater than the minimal
information bandwidth, which is needed to transmit the signal
successfully.
Some function other than the information itself is normally
employed to determine the resultant transmitted bandwidth.
Following are the two types of spread spectrum techniques −
Direct Sequence and
Frequency Hopping.
Direct Sequence is adopted by CDMA.
UNIT - II 11
[WIRELESS COMMUNICATION]
Orthogonal codes are assigned to the users, the output of the correlator in the
receiver will be zero except the desired sequence. In synchronous direct
sequence, the receiver receives the same code sequence which was transmitted
so that there is no time shift between the users.
Demodulating DS Signals - 1
In order to demodulate DS signals, you need to know the code that was used at
the time of transmission. In this example, by multiplying the code used in the
transmission to the reception signal, we can get the transmitted signal.
In this example, multiple codes were used at the time of transmission
(10,110,100) to the received signal. Here, we have calculated by using the law
of two additives (Modulo 2 Addition). It is further demodulated by multiplying
the code that was used at the time of this transmission, called the reverse
diffusion (de-spreading). In the diagram given below, it can be seen that during
the transmission of the data to the narrow band (Narrow Band) spectrum, the
spectrum of the signal is dispread.
UNIT - II 12
[WIRELESS COMMUNICATION]
Demodulating DS Signals − 2
On the other hand, if you do not know the code that was used at the time of
transmission, you will not be able to demodulate. Here, you are trying to
demodulation in the code of different (10101010) and the time of transmission,
but it has failed.
Even looking at the spectrum, it is spreading during the time of transmission.
When it is passed through a band-pass filter (Band Path Filter), only this small
signal remains and these are not demodulated.
UNIT - II 13
[WIRELESS COMMUNICATION]
As shown in the following figure, the power density of Spread Spectrum signals
could be lower than the noise density. This is a wonderful feature that can keep
the signals protected and maintain privacy.
By spreading the spectrum of the transmitted signal, one can reduce its power
density such that it becomes less than the power density of the noise. In this
way, it is possible to hide the signal in the noise. It can be demodulated if you
know the code that was used to send the signal. In case the code is not known,
then the received signal will remain hidden in the noise even after the
demodulation.
DS-CDMA
DS code is used in CDMA. So far, it has been explained basic part of the spread
spectrum communication. From here, we will explain how Direct Sequence Code
Division Multiple Access (DS-CDMA) works.
The signal which is spread spectrum, can be demodulated only by a code used
for transmission. By using this, the transmission signal of each user can be
identified by the separate code when it receives the signal. In the given example,
the spread signal of the user A at the code A, and diffused signal of user B at
code B. Each of the signal when it receives are mixed. However, by the inverse
diffuser (Despreadder), it identifies the signal of each user.
UNIT - II 14
[WIRELESS COMMUNICATION]
Spreading Code
Cross-Correlation
Correlation is a method of measurement of how precisely a given signal matches
with a desired code. In CDMA technology, each user is assigned with a different
code, the code which is being assigned or chosen by the user is very important
to modulate the signal because it is related to the performance of the CDMA
system.
UNIT - II 15
[WIRELESS COMMUNICATION]
One will get best performance when there will be clear separation between the
signal of desired users and signals of the other users. This separation is made by
correlating the desired signal code which was locally generated and other
received signals. If the signal matches with the code of the user, then the
correlation function will be high and the system can extract that signal. If the
user's desired code has nothing in common with the signal, the correlation
should be as close to zero as possible (thus eliminating the signal); also known
as cross correlation. So, there is a self-correlation (Self-Correlation) and cross-
correlation (Cross-Correlation).
Properties of self-correlation and code are shown in the diagram given below
where correlation between spreading code ‘A’ and spreading code ‘B’ is shown.
In this example, the calculated correlation of spreading code ‘A
(1010110001101001) and spreading code ‘B’ (1010100111001001) is given,
while performing calculations in below example, the result has come to 6/16.
Preferable Codes
Preferable code is used in CDMA. There are different codes that can be used
depending on the type of a system of CDMA. There are two types of system −
Synchronous (Synchronous) System and
Asynchronous (Asynchronous) System.
In a synchronous system, orthogonal codes (Orthogonal Code) can be used. In
asynchronous system for this, such as pseudo-random code (Pseudo-random
Noise) or Gold code is used.
UNIT - II 16
[WIRELESS COMMUNICATION]
UNIT - II 17
[WIRELESS COMMUNICATION]
Unlike the signal from the base station, the signal from the mobile station to the
base station, becomes the asynchronous system.
In an asynchronous system, somewhat mutual interference increases, but it uses
the other codes such as PN code or Gold code.
Since the signal is spread over a wide frequency band, the power spectral
density becomes very low, so other communication systems do not suffer from
this kind of communication. However, the Gaussian noise increases. Given
below is a list of a few major advantages of Spread Spectrum −
Multipath can be agreed with, as a large number of codes can be
generated, allowing a large number of users.
In spread spectrum, there is no limit of users whereas there is
limitations of users in FDMA technology.
Security − without knowing the spreading code, it is hardly possible
to recover the transmitted data.
Descending rejection − as large bandwidth is used the system; it is
less susceptible to deformation.
PN Sequence
UNIT - II 18
[WIRELESS COMMUNICATION]
MULTI-USERCDMA
One important property of the air interface of a cellullar telephone system is the
multiple access method. Each user of the cellular system is given a channel, and
all users get different channels. The way in which these channels are different is
determined by the multiple access method. Traditionally in a radio
communication system, each channel occupies its own frequency. This is for
instance the case in FM radio broadcasting: different stations have different
UNIT - II 19
[WIRELESS COMMUNICATION]
frequencies. By tuning the radio receiver to a specific frequency, the listener can
choose which station he or she wants to listen to. This multiple access scheme
is called Frequency Division Multiple Access or FDMA. The analog cellular
systems, e.g. NMT, use FDMA.
The pan-european cellular system GSM uses Time Division Multiple Access or
TDMA as its main multiple access method. In TDMA, the channels are separated
by use of time slots. Many users occupy the same frequency, but not at the same
time. The mobile telephones take turn to transmit. Typically, each time slot is a
few microseconds long. TDMA is also used in the Northamerican cellular
standard IS-54 and in the japanese system PDC.
UNIT - II 20
[WIRELESS COMMUNICATION]
UNIT - II 21
[WIRELESS COMMUNICATION]
power control, the received power levels may differ by 60 dB or more! If the
power of the received signals differ significantly, we say we suffer from the near-
far problem.
Code sequence design also has problems. It turns out that the correlation
between the signals from different users is critically dependent on the relative
delays of the signals from different users. It is possible to design codes that are
orthogonal, i.e. have zero cross correlation if the signals arrive at the base
station synchronously. It is however impossible to design code sequences (with
finite length) that have very low cross correlation for all relative delays.
Amazingly enough, these detectors need no side information except the training
sequence! Still, they have some problems. The use of these detectors place
severe restrictions on the choice of spreading codes. Also the detectors may not
UNIT - II 22
[WIRELESS COMMUNICATION]
Note that both input and output of the filter are vectors.
Here, A is a matrix which contains phase shifts and gains of the transmission
channel, whereas R(-1), R(0) and R(1) are functions of the mutual
crosscorrelations of the signature sequences, as well as of the relative
transmission delays among the users.
The vector y(t) is used as input to the multivariable DFE shown below:
UNIT - II 23
[WIRELESS COMMUNICATION]
The vector of correlator outputs are used as input to the feedforward filter,
which suppresses most of the intersymbol interference and cross-couplings in
the channel. From the outputs of the feedforward filter, the outputs from
the feedback filter remove the impact of symbols that have been previously
detected.
We tried the multivariable DFE in a CDMA scenario with two users. The received
powers of the two users differed by 20 dB, and the codes used were Gold codes,
which is a common choice in CDMA systems. We varied the signal to noise ratio
between 5 and 20 dB, and counted the number of errors in the symbol decisions.
The performance of the multivariable DFE was compared to the performance of
the coventional receiver, and also to the performance of the decorrelating
detector, a linear multiuser detector.
Such a detector can in fact be devised. By rewriting the system for transmission
and reception in a CDMA system, it becomes clear that we are dealing with a
simple equalization problem rather than a complex detection problem. There
are only two differences from the equalization problems considered since the
1960's:
the channel has several inputs, one for each user and
the output of the channel must be sampled much more rapidly than
once per symbol.
UNIT - II 25
[WIRELESS COMMUNICATION]
These equivalent channels are discrete time FIR filters. The coefficients of these
filters will depend on two things
The former is known at the receiver, whilst the latter must be estimated using a
training sequence. This estimation problem is relatively simple and does not
suffer from the near-far problem. Also, the parameter tracking can use the a
priori information about the parameter variations mentioned in the section
UNIT - II 26
[WIRELESS COMMUNICATION]
The results in the graph indicate that the performance of the system is
satisfactory, despite the heavy load and the severe near-far situation. The
difference between the DFE and the single user case is rather large, but the
system in which the DFE operates is very heavily loaded.
UNIT - II 27