Sie sind auf Seite 1von 6

CDMA Signalling Technique Using MATLAB

Arpit Agarwal, Kajal Gupta, Surabhi Mahawar, Surbhi Singh


ELECTRONICS AND COMMUNICATION DEPARTMENT,
Shri Ram Murti Smarak College of Engineering and Technology, Bareilly(U.P.)
Gautam Buddh Technical University, Lucknow

arpitagarwal4in4@gmail.com
kajalgupta318@gmail.com
surabhimahawar@gmail.com
surbhisingh153@gmail.com

Abstract This paper evaluates the performance of CDMA since the modulated coded signal has a much higher data
signaling technique using MATLAB using various codes and bandwidth than the data being communicated.
channels. Further it includes the performance of synchronous
DS-CDMA systems over multipath fading channel and AWGN
Channel. The synchronous DS-CDMA system is well known for
eliminating the effects of multiple access interference (MAI)
which limits the capacity and degrades the BER performance of
the system. This paper investigates the bit error rate (BER)
performance of a synchronous DS-CDMA system over AWGN
and Rayleigh channel, which is affected by the different number
of users, as well as different types spreading codes. Different
MATLAB functions and MATLAB program segments are
explained for the simulation of CDMA signaling system. This Fig. 1 Direct Sequence Spread Spectrum
system retains the advantages of CDMA in combating multipath
and rejecting interference, and provides variable and adaptive
data rates through the use of Multi-Code scheme. The
performance improvement of the proposed system to the Multi-
Code CDMA system is shown through simulations. Walsh-
Hadamard, PN sequence and Gold codes are explored as possible
choices for multiple codes in system.

KEYWORDS CDMA system, BER, SNR, Rayleigh Channel,


AWGN channel, MATLAB program segment, PN Sequence,
Walsh-Hadamard code, Gold Sequence.

I. INTRODUCTION
Future wireless systems like 4th generation (4G)
cellular systems aim to integrate a variety of services such as Fig. 2 CDMA Forward Link Transmitter Modulation
voice, data, image, and video. These services have different
requirements on the bandwidth and the rate of transmission on
a wireless platform. To this end, future generation systems
will have to handle a variety of bit rates. Moreover, wireless
channels are characterized by multipath propagation and
multiple access interference.
One of the concepts in data communication is the
idea of allowing several transmitters to send information
simultaneously over a single communication channel. This
allows several users to share a band of frequencies. This
concept is called multiple access. CDMA employs spread-
spectrum technology and a special coding scheme (where each
transmitter is assigned a code) to allow multiple users to be
multiplexed over the same physical channel. By contrast, time
Fig. 3 CDMA Reverse Link Receiver Demodulation
division multiple access (TDMA) divides access by time,
while frequency-division multiple access (FDMA) divides it
II. CDMA SIGNALING CODES
by frequency. CDMA is a form of spread-spectrum signaling,
To modulate a signal spread spectrum techniques are
used. Various codes that are used in spread spectrum
techniques are as:
A. Pseudo Noise Sequence
B. Walsh-Hadamard codes
C. Gold Code

A. Pseudo Noise Sequence:


PN code sequences are deterministically generated
but have properties similar to random sequences generated by
sampling a white noise process. They can be generated easily
by a linear feedback shift register, thus, only a small amount Fig. 6 Simulation Result
of data must be known by transmitter and receiver. Since the
PN sequences are not orthogonal, each additional user on the C. Gold Code:
channel induces interference to the others. While there is no Combining two m-sequences creates Gold codes.
hard limit for the number of users that can be accommodated, These codes are used in asynchronous CDMA systems. Gold
the interference grows linearly with each additional user. It sequences are constructed from pairs of preferred m-
has good auto correlation but unacceptable cross correlation. sequences by modulo-2 addition of two maximal sequences of
the same length.

Fig. 4 MATLAB Flowchart

Fig. 7 MATLAB Flowchart

Fig. 5 Simulation Result

B. Walsh-Hadamard codes:
These codes are orthogonal codes. It provides zero
cross correlation among all users, but only if the codes are
aligned in time or used in synchronous channels. Therefore, Fig. 8 Simulation Result
CDMA systems that use these codes require synchronization
to ensure that users with different codes do not interfere with III. DS-CDMA
each other. Spread substreams are transmitted over different Direct-sequence code-division multiple access (DS-
channels and arrive at the correlator receiver at the same time CDMA) is currently the subject of much research as it is a
to produce an autocorrelation peak. promising multiple access capability for third and fourth
generations mobile communication systems. In this paper, we
introduce the Rayleigh and AWGN Channel, and investigated
the bit error rate (BER) performance of a synchronous DS-
CDMA system over these channels. In the DS-CDMA system,
the narrowband message signal is multiplied by a large
bandwidth signal, which is called the spreading of a signal.
The spreading signal is generated by convolving PN sequence
or Gold sequence code with a chip waveform whose duration
is much smaller than the symbol duration. All users in the
system use the same carrier frequency and may transmit
simultaneously. The receiver performs a correlation operation
to detect the message addressed to a given user and the signals
from other users appear as noise due to decorrelation.

Fig. 9 MATLAB Flow Chart

Fig. 10 Simulation Result

The synchronous DS-CDMA system is presented for


eliminating the effects of multiple access interference which
limits the capacity and degrades the BER performance of the
system. MAI (multiple access interference)refers to the
interference between different direct sequences.

Fig. 11 Conventional DS-CDMA Detector

1.) AWGN Channel:


Additive white Gaussian noise (AWGN) is a channel
model in which the only impairment to communication is a
linear addition of the wideband or white noise with the
constant spectral density and a Gaussian distribution of
amplitude. The model does not account for fading, frequency For example, if a complex baseband signal is oversampled by
selectivity, interference, nonlinearity or dispersion. However, a factor of 4, then EsNo exceeds the corresponding SNR by 10
it produces simple and tractable mathematical models which log10(4).
are useful for gaining insight into the underlying behavior of a
system before these other phenomena are considered. Behaviour for Real and Complex Input Signals: The
Wideband Gaussian noise comes from many natural following figures illustrate the difference between the real and
sources, such as the thermal vibrations of atoms in complex cases by showing the noise power spectral densities
conductors, shot noise, black body radiation from the earth Sn(f) of a real band pass white noise process and its complex
and other warm objects and from celestial sources such as low pass equivalent.
the Sun. The AWGN channel is a good model for
many satellite and deep space communication links. It is not a
good model for most terrestrial links because of multipath,
terrain blocking, interference etc. However, for terrestrial path
modeling, AWGN is commonly used to simulate background
noise of the channel under study, in addition to multipath,
terrain blocking, interference and self interference that modern
radio systems encounter in terrestrial operation.

AWGN Channel Noise Level:


The relative power of noise in an AWGN channel is
typically described by quantities such as:
Signal-to-noise ratio (SNR) per sample. This is the
actual input parameter to the AWGN function.
Ratio of bit energy to noise power spectral density
(Eb/No). This quantity is used by BER Tool and
performance evaluation functions in this toolbox.
Ratio of symbol energy to noise power spectral Fig. 12 Behaviour for Real and Complex Input Signals
density (Es/No)

Relationship between Es/No and Eb/No:


The relationship between Es/No and Eb/No, both
expressed in dB, is as follows: 2.) Multipath Fading:
Multipath is simply a term used to describe the
multiple paths a radio wave may follow between transmitter
Es/No(dB) = Eb/No(dB) +10log10(k) and receiver. Such propagation paths include the ground
wave, ionospheric refraction, radiation by the ionospheric
where k is the number of information bits per symbol. layers, reflection from the earths surface or from more than
In a communication system, k might be influenced by one ionospheric layer, and so on. Fig. 13. shows a few of the
the size of the modulation alphabet or the code rate of an paths that a signal can travel between two sites in a typical
error-control code. For example, if a system uses a rate-1/2 circuit.
code and 8-PSK modulation, then the number of information
bits per symbol (k) is the product of the code rate and the
number of coded bits per modulated symbol: (1/2) log2(8) =
3/2. In such a system, three information bits correspond to six
coded bits, which in turn correspond to two 8-PSK symbols.

Relationship between Es/No and SNR, both expressed in dB, is


as follows:
for complex input signals:
Es/No(dB) = 10log10(Tsym/Tsamp) + SNR(dB)
Fig. 13 Multipath Fading
for real input signals:
Es/No(dB) = 10log10(0.5Tsym/Tsamp) + SNR(dB)
The radio waves that are received in the phase rein
where Tsym is the signal's symbol period and Tsamp is the
force each other and produce a stronger signal at the receiving
signal's sampling period.
site, while those that are received out of the
phase produce a weak or fading signal. Small alterations in the
transmission path may change the phase relationship of the B. Selection Diversity Technique:
two signals, causing periodic fading. Selection Diversity is one of the simplest diversity
Multipath fading may be minimized by practices called techniques. The receiver simply picks the signal with the
SPACE DIVERSITY and FREQUENCY DIVERSITY. In largest SNR as given in figure.
space diversity, two or more receiving antennas are spaced
some distance apart. Fading does not occur
simultaneously at both antennas. Therefore, enough output is
almost always available from one of the antennas to provide a
useful signal. In frequency diversity, two transmitters and two
receivers are used, each pair tuned to a different frequency,
with the same information being transmitted simultaneously
over both frequencies. One of the two receivers will almost
always produce a useful signal.

Bit Error Rate:


In digital transmission, the number of the bit errors is the
number of the received bits of a data stream over
Fig. 15 Selection Diversity Technique
a communication channel that have been altered due
to noise, interference, distortion or bit synchronization errors. In the case of a two-fold diversity, the diversity combining
The bit error rate or bit error ratio (BER) is the number of bit strategy for selective combining is given by:
errors divided by the total number of transferred bits during a
studied time interval. BER is a unit less performance measure, Zk = Z1k, if |Z1k| > |Z2k|
often expressed as a percentage. Z2k, if |Z2k| > |Z1k|
Bit Error Probability: where, Z1k and Z2k are decision variables at the first and
The bit error probability Pe is the expectation value of the second diversity paths and Zk is the decision variable at the
BER. The BER can be considered as an approximate estimate
of the bit error probability. This estimate is accurate for a long output of the diversity combiner. Let be the threshold SNR
time interval and a high number of bit errors. that must achieved for proper demodulation and detection of
the received signal. Let there be L diversity branches and let k
IV. DETECTION TECHNIQUES be the instantaneous SNR for the kth branch. Using the
Different detection techniques employed in the expression for the pdf for the instantaneous SNR we can get
proposed complementary codes (CC) based CDMA system an expression for the outage probability (probability that the
used to detect the received signal. Detection techniques are as: SNR falls below the threshold) for all the branches as:

A. Maximum Ration Combing Technique: P(y1,.,yL) = (1-e-/y`c)L


In Maximal Ratio Combining (MRC), the signal
all the branches are co-phased and individually weighed to where, y`c is the average SNR at every diversity branch,
provide the optimal SNR at the output. It can be shown that assuming all the branches have the same
the output SNR is maximized when the signals in each of the average SNR. It is given by:
diversity branches are weighed by their own envelopes. In
case of a two-fold diversity scheme, the combining equation is y`c = (Eb/No)E{R2}
given by:
Zk = r1kZ1k + r2kZ2k The improvement in the SNR due to selective combining is
evident from above equation.

C. Equal Ration Combing Technique:


In Equal Gain Combining (EGC), all the received
signals are co-phased at the receiver and added together
without any weighting. The performance of EGC is only
marginally inferior to the optimal maximal ratio combiner. In
case of a two-fold diversity scheme, the combining equation is
given by:
Zk = Z1k + Z2k

Fig. 14 Maximum Ration Combing Technique


In order for the receiver to decode the transmitted
information, it must be synchronized with the transmitter. For
FHSS it is relatively easy as the transmitter simply waits on
one of the channels and waits for a decodable transmission.
Once it finds that out, it can then follow the sequence being
used to follow the transmitter which jumps across the different
channels. With DSSS, it is not as simple. A timing search
algorithm needs to be employed for the receiver to correctly
establish synchronization.
A side effect of de spreading is its ability to establish
relative timing between the receiver and transmitter. With
multiple transmitters that are in known locations, the relative
timing can be used to establish the relative distances of the
Fig. 16
Equal Ration Combing Technique
receiver from each transmitter. This is the working principle
behind positioning systems like GPS. Since the receiver can
calculate how far it is from each transmitting satellite, it is
After analysis, the diversity technique that produces the then able to triangulate its location. This ability is not present
lowest BER rate would be the best technique to be the is FHSS.
proposed detection techniques for complementary codes based
CDMA system. Thus the transmitter, channel and VI. CONCLUSION
complementary code design must be constant. The only This paper work emphasize on those effects that have
difference is between their receivers that employs the different a strong influence on the performance of CDMA system like
detection techniques. walsh-code and gold sequence. According to the result
obtained, we have found a good CDMA transmitter behavior
V. COMPARISON OF THE PERFORMANCE OF DSSS in the terms of auto correlation and cross correlation
AND FHSS USING MATLAB properties. The modulated data when transmitted in the
channel is subjected to AWGN and multipath fading effect. In
Spread spectrum is a group of techniques that utilizes this, comparison would be carried out in the received signal
a much larger bandwidth in transmitting information than between the received data bit stream and the transmit data bit
would otherwise occupy a fraction of the bandwidth used. stream in terms of BER. This paper also includes the
This is done to achieve a certain effect. FHSS and DSSS, performance comparison of CDMA system using various
which stand for Frequency Hopping Spread Spectrum and diversity techniques. Further this would be extended to
Direct Sequence Spread Spectrum, are two spread spectrum evaluate comparison of the performance of DSSS and FHSS
techniques. The main difference is in how they spread the data in CDMA system.
into the wider bandwidth. FHSS utilizes frequency hopping
while DSSS utilizes pseudo noise to modify the phase of the VII. FUTURE SCOPE
signal. Work presented in this paper can be extended to
Frequency hopping is achieved by dividing the large evaluate the performance of Orthogonal Frequency Division
bandwidth into smaller channels that would fit the data. The Multiplexing (OFDM) Transmitter and Receiver System.
signal would then be sent pseudo-randomly into a different
channel. Because only one of the channels is in use at any
given time, we are actually wasting bandwidth equivalent to REFERENCE
the data bandwidth multiplied by the number of channels
minus one. DSSS spreads the information across the band in a [1.] www.wikipedia.org
[2.] www.google.com
very different manner. It does so by introducing pseudo- [3.] www.zamzar.com
random noise into the signal to change its phase at any given [4.] J. Lee and L.E. Miller, CDMA Systems Engineering Handbook.1998
time. This results in an output that closely resembles static [5.] Wireless Communication by T. S. Rappaport
noise and would appear as just that to others. But with a [6.] Essential MATLAB For Engineers and Scientists ,Brian Hahn
[7.] http://www.differencebetween.net
process called de-spreading, the original signal can be [8.] www.mathswork.com.3
extracted from the noise as long as the pseudo-random
sequence is known.

Das könnte Ihnen auch gefallen