SlideShare a Scribd company logo
Multi User CDMA Communication using MATLAB
CHAPTER-1
INTRODUCTION
As the world progresses forward in technology, with the increase in the
different communications, there is a decrease in the available bandwidth. To cater for
this problem, different multiple access techniques are used, such as FDMA, TDMA,
SDMA and CDMA. By using these techniques the bandwidth utilization can be
maximized. In these multiple access techniques multiple users can use the same
bandwidth. Multiple access techniques have a much greater importance in radio
communications in order to make use of the available spectrum. In FDMA systems,
users are allotted limited amount of bandwidth, whereas in TDMA & CDMA all the
channel bandwidth is available to every user.
Synchronization is an issue for the TDMA system, while FDMA and CDMA
have no such problems. CDMA systems have the maximum capacity, whereas the
FDMA systems have the minimum capacity. The multiple access techniques can be
studied briefly which is as follows. First of all we will see what is multiple access.
1.1 Multiple Access
Multiple Access is a method by which the total throughput of a
communications resource can be increased. These techniques are FDMA, TDMA,
CDMA, SDMA. These have been discussed in detail in the previous chapter.
There are a number of spreading codes available distinguishable upon their
cross and auto correlation properties. Some of these codes are elaborated below.
These spreading codes must have the following properties, if they are to be used in a
direct sequence spread spectrum.
1. The cross-correlation should be near to zero.
2. Each sequence in the set has an equal number of 1s and –1s, or the number of
1s differs from the number of –1s by at most 1.
3. The scaled dot product of each code should be equal to 1.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 1
Multi User CDMA Communication using MATLAB
1.1.1 Maximum length sequences:
These sequences can be generated by using shift registers with feedback
applied on them. These sequences meet all the conditions for spreading sequences
very strictly. The cross correlation between this sequence and noise is very low,
which helps in detecting signal out of noise in the receiver. These sequences are very
useful for encryption as they also have a very low cross correlation with each other.
The randomness properties of maximal length sequences can be seen here.
1.1.2 Gold sequence:
In order to create two gold sequences, two maximum length sequences are to
be combined. They have a very low auto-correlation which enables CDMA systems to
transmit asynchronously. Gold sequences are constructed from pairs of preferred m-
sequences by modulo-2 addition of two maximal Sequences of the same length.
1.1.3 Walsh codes:
Walsh codes have to be created from hadamard matrices. All generated Walsh
codes would be orthogonal to each other. The basic hadamard matrix is shown below.
These sequences provide low cross-correlation between each other. Secondly, the
number of 1s is equal to number of 1s in every codeword.
N
N
N
N
N
H
H
H
H
H =2
By looking at the matrix above, Walsh codes with different lengths can be
generated with the help of recursion. For a clear understanding Walsh codes with
length equal to 4 are illustrated below.












==
0110
1100
1010
0000
2
2
2
2
4
H
H
H
H
H
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 2
Multi User CDMA Communication using MATLAB
1.2 Multiple Access Techniques
Multiple access techniques maximize the utilization of bandwidth with a least
possible degradation in the quality of service. Following are the four commonly used
multiple access techniques.
1.2.1 Frequency Division Multiple Access:
One of the earliest multiple access techniques used for cellular transmission is
FDMA. This transmission is useful when a continuous transmission is required. The
total bandwidth assigned is divided among a number of users hence enabling them to
use a specific portion of frequencies out of the whole bandwidth simultaneously.
These channels are allotted to a user on request from the user. These channels have
narrow bandwidth and are consequently implemented in narrow band systems. To
prevent the interference between adjacent channels, they are separated by guard bands
which results in a waste of bandwidth. In order to achieve simultaneous transmission
and reception FDMA makes use of duplexer, as the base station has got a separate
transmitter and receiver, duplexer enables the mobile to switch between the
transmitter and receiver.
FDMA systems commonly use one antenna for a number of channels. In order
to achieve maximum power efficiency the power amplifier has to operate near the
saturation point. At this operating point, the power amplifier tends to show a non-
linear causing the signal to show intermodulation frequencies. This in turn results in
the adjacent channel interference.
Figure 1.1: Channel handling by FDMA
1.2.2 Time Division Multiple Access
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 3
Multi User CDMA Communication using MATLAB
TDMA enables a user to occupy the entire bandwidth, but for a finite period of
time. Each and every user is allotted time slots during which he/she can use the entire
bandwidth. Time synchronization is very important in this technique as the receiver
should be able to know that a user has ended sending a data and now it is another user
who is transmitting.
If time synchronization has been achieved properly, there would be no chance
of inter channel interference, still as a precautionary measure, two channels are
separated by a small guard time. There are chances that a call is lost while using
TDMA as when a user moves from one cell to another cell there is a probability that
no free time slot is available. Two different time slots are used for the transmission
and reception in TDMA. This is known as time division duplexing and does not
require any duplexers. Moreover as in TDMA the transmission is not continuous,
digital modulation techniques are to be used. Transmission from various users is fed
into a frame. The preamble bits in the beginning of the frame contain synchronization
and address information of the base station and subscribers.
Figure 1.2: Channel handling by TDMA
1.2.3 Space Division Multiple Access:
In SDMA the users are separated spatially. In other words, same frequency
can be used in different cells in a cellular network system. These cells should be at a
safe distance from each other for the sake of preventing inter-channel interference.
Therefore the number of cells in which a region can be divided is limited and
consequently limits the frequency re-use factor. Smart antennas can be used to
enhance the performance of these systems by steering the antenna beam in the
direction of the user and placing nulls in the direction of interfering signals.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 4
Multi User CDMA Communication using MATLAB
Figure 1.3: Intra-cell SDMA
1.2.4 Code Division Multiple Access
Code Division multiple Access is a spread spectrum technique. It increases the
throughput of a digital communication system. All the spread spectrum techniques
including CDMA have the following main components.
• The signal occupies a bandwidth which is greater than the minimum
bandwidth required to send the information.
• Spreading is accomplished by a spreading signal
• De-spreading is achieved at the receiver by the correlation of the received
signal with a replica of the spreading signal used at the transmitter.
1.2.4.1 Direct sequence spread spectrum
Direct sequence spread spectrum systems are used in CDMA. First of all, a
PN-code is generated; PN-codes are different for different channels. The message
signal modulates the PN-codes, as a result of which the message signal is spread over
a greater band of frequencies. Up-sampling is done for the signals to have a greater
energy so that they can be received at the receiver correctly. Using an M-ary PSK
modulation technique the phase of the signal is shifted pseudo-randomly. A short
code system uses PN-sequences of the length equal to the data symbol length, where
as a long code system uses PN-sequences of more than the data symbol length.
When the signal reaches the receiver it is again multiplied by the same PN-
code. The signal is retrieved and other processing is done on it before completely
receiving it.
The pulse width of a signal limits the bandwidth of a signal. Therefore a
message signal with a pulse width 'T' would have a bandwidth B=1/T. The Walsh
code with a pulse width (chip rate) 'Tc 'would have a bandwidth of Bw =1/Tc. The
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 5
Multi User CDMA Communication using MATLAB
factor by which the increase bandwidth of the signal due to spreading can be
represented is N= T/ Tc.
Figure 1.4: Building blocks of DS-SS
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 6
Multi User CDMA Communication using MATLAB
CHAPTER-2
LITEATURE SURVEY
PSEUDONOISE (PN) code synchronization is the necessary first step in the
receiver of direct-sequence code-division multiple-access (DS-CDMA) systems, since
data demodulation becomes possible only after the code synchronization is
performed. Code synchronization is usually achieved in two steps: 1) acquisition for
coarse code alignment and 2) tracking for fine alignment [1]. Acquisition methods can
be broadly classified as serial search methods [2]–[9] and parallel search methods [3],
[10]–[14], which have been extensively treated in the literature. In a serial search
scheme, each possible code phase of a given roster position in the uncertainty region
is tested one at a time, while in a parallel search strategy, many, if not all, of the
possible code phases are tested simultaneously.
The focus of this paper is on serial search acquisition. In a practical PN
sequence acquisition system, usually there exist multiple in-phase states (cells) in the
uncertainty region, since the search step size is usually lower than the chip duration
and the dispersive fading-induced delay spread is higher than the chip duration of the
PN sequence. However, despite the existence of multiple cells in almost any practical
PN code acquisition system, the majority of published results concerning the mean
acquisition time (MAT) have been derived from the assumption that there is one and
only one cell in the uncertainty region [1]–[7], [9]–[14]. The performance of the
acquisition system with multiple cells has received comparatively little attention in
the literature.
Hence, our goal in this paper is to quantify the performance of serial search
acquisition systems under the hypothesis that there are multiple cells in the
uncertainty region of the PN sequence. Specifically, we assume that the search step
size is 2, where is the chip duration. Hence, each resolvable path of the received
signal contributes two cells. The acquisition process of the serial search mode under
the multiple –cell hypothesis can be described using the so-called equivalent circular
state diagram [2], [4], [17], which will be detailed in the context of Fig. 2.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 7
Multi User CDMA Communication using MATLAB
By extending the result of [17] in this paper, a generalized equation is derived
for computing the MAT of a serial search system under the multiple -cell hypothesis.
In our analysis, two detection schemes are considered. The first is the conventional
cell-by-cell detection [5], in which each cell is tested independently; the second is the
novel joint two-cell detection [15], [16], in which two adjacent cells are tested jointly.
The MAT performance of the serial search scheme using both of the above detection
approaches is investigated over a frequency- selective multipath Rayleigh fading
medium. Note that the analysis presented is applicable to the mobile-to-base station
link of a DS-CDMA system utilizing binary phase-shift keying (BPSK) spreading.
The remainder of this paper is organized as follows. In Section II, we describe
the search and detection modes proposed. Then, the asymptotic MAT is derived in
Section III. The system and channel models are given in Sections IV and V. In
Section VI, the test statistics of the decision variables are analyzed, while in Section
VII we derive the overall miss probability and the false alarm probability, which are
defined in Section III. Numerical results are given in Section VIII. Our concluding
remarks are given in Section IX. Let us now consider the search and detection modes
concerned in this paper.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 8
Multi User CDMA Communication using MATLAB
CHAPTER-3
PROBLEM STATEMENT
There will be a less bandwidth in different communication systems so we are
using multiple access techniques so that bandwidth is increased. In multiple access
technique we are using the CDMA technique.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 9
Multi User CDMA Communication using MATLAB
CHAPTER-4
OBJECTIVES
The objective of the project is to implement a real-time digital acoustic
communication system using CDMA. The system should work reliably in a laboratory
and a multi-path environment. The system should be able to transmit information
from one PC to another through an entirely acoustic channel. Furthermore, the system
should be able to separate eight users simultaneously. Thus providing a basis for the
future students to have an idea of wireless data transfer.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 10
Multi User CDMA Communication using MATLAB
CHAPTER-5
BLOCK DIAGRAM REPRESENTATION
DESIGN OF COMMUNICATION SYSTEM
This section describes how different techniques were used for the
communication system of this project.
The basic parameters of the design are that it has a data rate of 2000bits/sec,
whereas the sampling frequency is 44 kHz. Following is the communication system
that was used in the transmission of data via acoustic channel.
Figure 5.1: Design of Communication System
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 11
Spreading ModulationChannel
Encoding
Source
Encoding
RR Cosine
Filter
Symbol
Packing
De
modulation
Modulation
Matched
Filtering
Synchronizati
on
Channel
Decoding
Source
Decoding
De-
Spreading
Multi User CDMA Communication using MATLAB
Source formatting:
The first and foremost part of a digital communication system is source
encoding or formatting. It ensures that the incoming signal is compatible with the
digital processing. Whenever data compression is applied to formatting it is known as
source coding. The three basic steps involved in formatting are sampling, quantization
and pulse code modulation.
In order to make the message signal compatible with the upcoming
components of the communication system the message signal needs to be formatted.
The technique used in this project is NRZ (Never Return to Zero). This coding
technique is used due to its simplicity and secondly it provides a phase difference of
1800
between two transmitted bits which was 900
when the message was transmitted
in the form of 1s and 0s.
Channel coding:
Channel coding refers to a signal transformation whereby enabling the
transmitted signals to better withstand the effect of channel non idealities, the
communications performance can be increased. Channel coding follows source
encoding in a general communication system. It caters for the channel's non-ideal
behavior to the transmitted signal, i.e. to achieve a minimum bit energy to noise
spectral density ratio given a specific probability of bit error, so that the
communication system can operate at a low energy with the same probability of bit
error or to decrease the probability of bit error for a specific energy to noise spectral
density ratio.
Error-correcting codes are of two types i.e. block codes and convolution codes
which is discussed below.
Linear block codes:
Linear block codes can be used to enable the error correcting and error
detecting capability of a communication system. The general expression for a linear
block code is (n,k). This notation represents that the linear block code converts the
incoming block of 'k' information bits into a coded block of 'n' bits. These code bits
have no memory, i.e. they only depend on the current information bits.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 12
1u
1u
Output coded bits
21,uu
Input data
Multi User CDMA Communication using MATLAB
Convolution Block codes:
Three major integers used in these codes are n, k, K. n is the number of
encoded bits, k is the number of input information bits and K is the constraint length
that describes the number of stages on which the output would be dependant. k/n
defines the information per coded bit. The codeword that is produced as a result of
this encoding maybe denoted as U = (U1, U2 . . . Un)
At the receiver end, the decoder receives a sequence Z = (Z1, Z2…Zn). This
happens due to the non-ideal behavior of the transmission channel, i.e. the noise
present in the channel corrupts the incoming signal. The task of the detector would be
to rectify the data by extracting the sequence U from the corrupted sequence Z. This
would be possible if the receiver has a priori knowledge of how the information was
encoded at the transmitter's end. [6]
Connection representation:
The connection representation of convolution encoders is shown in the figure
below. This can be represented as
1111 =g
1012 =g
Figure 5.2: Connection Representation of Convolution Coding
Polynomial Representation:
This representation is done with a point of view that that convolution coder
can be treated as a set of cyclic code shift registers. Convolution encoder connections
can also be represented by ‘n’ generator polynomials.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 13
Multi User CDMA Communication using MATLAB
The degree of the polynomials should be equal to or less than ‘K’. The
polynomials are used for the representation of modulo-2 adders in the encoder. For
the figure given above the polynomials are as follows.
g1(X) = 1+X+X2
g2(X) = 1+X2
U(X) = m(X)g1(X) along with m(x)g2(x)
Consider that m=101, therefore m(X) = 1+X2
4322
1)1)(1()(1)( XXXXXXXgXm +++=+++=
422
1)1)(1()(2)( XXXXgXm +=++=
432
.01)(1)( XXXXXgXm ++++=
432
.0.0.01)(1)( XXXXXgXm ++++=
432
)1,1()0,1()0,0()0,1()1,1()( XXXXXU ++++=
1110001011=U
Functionality: In order to understand the functionality of the convolution encoder,
suppose a message m= 1 0 1 has to be encoded.
Figure 5.3: Convolution Encoding
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 14
Multi User CDMA Communication using MATLAB
Spreading:
This spreading method is discussed by using multiple access technique. To use
multiple access technique, direct sequence spread spectrum is used. The fundamental
criterion upon which the selection of codes for the sake of spreading depends is its
auto correlation and cross correlation properties. For example in radars the codes with
good autocorrelation properties are very important as the radar has to avoid the echo
signals for the accurate range measurement of a target. Whereas in a CDMA based
system, as there are a number of users transmitting at the same time, therefore it is
required to have superior cross-correlation properties. Therefore orthogonal signals
are required to be used in this type of system. The spreading sequence used is 8 bit
Walsh code, these Walsh codes have good cross correlation properties as they are
orthogonal to each other, the autocorrelation property is not required as the system
requires transmission over a short distance.
Modulation:
BPSK is used as the modulation technique. The sampling frequency is 44 kHz,
the carrier frequency at which the baseband signal is modulated is 2 kHz. Each sin
wave of the carrier has 22 samples. Therefore, the data rate of the system would be
2kHz. It was concluded that the noise levels are high in the lower frequencies, but if a
higher frequency was chosen in a carrier.
Root Raised Cosine Filtering:
The higher the data rate of the communication system, the higher would be the
throughput. But on the other hand it increases the bandwidth. Normally, in order to
reduce this bandwidth, pulse shaping techniques are used. Root raised cosine filtering
is one of these techniques. If the bandwidth is limited by using these techniques, the
signal would spread in the time domain, a certain threshold is set up to which the
bandwidth can be compressed. The raised cosine filter is a type of low pass filter,
with a certain amount of roll of factor.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 15
Multi User CDMA Communication using MATLAB
Symbol packing:
In symbol packing, a training sequence is appended at the start and end of the
signal. In addition to this, 1000 zeros are also appended o the end at start of this
signal. These zeros are added to the signal so that even if the receiver is unable to
record initial bits, these initial bits would be those additional zeros that were added, at
the transmitter end. As a result it made the complete reception of signal at the
receiver.
Channel:
This is a wireless system, and the channel is called acoustic because signal
traverses in air from the transmitter to receiver in the form of sound waves. Normally,
the wireless channel is modeled with AWGN channel, but that is the case when
electromagnetic waves are used.
Receiver:
For simulation purposes the transmitted signal is written to a ‘wav’ file and is
received by reading that ‘wav’ file .In real time, the transmitter i.e. the speaker
generates a sound that is recorded by the receiver with the help of a microphone.
Synchronization:
Once a real time system has to be implemented, synchronization is a very
important part of it. This is not the kind of synchronization that is required between
different users as in TDMA because in TDMA different users are transmitting and
receiving in different times, where as CDMA means that all the users transmit at the
same time as a single sum signal.
In this system, it is assumed that the receiver is on all the time. Therefore
whenever the transmitter will send the message signal, there should be some way
through which the receiver can determine where its signal of interest is. This can be
done by correlating the training sequence with the received signal. The part where the
maximum correlation occurs would be the start of the signal and the second maximum
in the correlation would give the end of the message signal.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 16
Multi User CDMA Communication using MATLAB
Matched filtering:
As the signal has been pulse shaped using the root raised cosine filter at the
transmitter end, therefore matched filtering and down sampling has to be done at the
receiver’s end. This is implemented by passing the received signal again by the root
raised cosine filter that was used at the transmitter.
Demodulation:
The signal is then demodulated by multiplying it again by the carrier signal.
The output would be a demodulated signal, but this demodulated signal would be
actually a sum of all the spreaded signals. In order to extract the individual message
signal of each user, the spreaded signal is then again multiplied by the Walsh code
and is then integrated over a symbol time.
De-spreading:
In order to extract the individual message signal of each user, the spreaded
signal is then again multiplied by the Walsh code and is then integrated over a symbol
time.
Channel decoding:
If the channel coding was not employed by the transmitter, then the
despreaded messages would be the received signals. In the channel coding case, the
signal will have to be decoded by using the viterbi decoding function in matlab. After
decoding the signal will have to be shifted 3 bits to the left as zeros are flushed in
during the convolution coding.
Source decoding:
In source decoding the NRZ encoded message has to be decoded back to its
original form i.e. ones and zeros.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 17
Multi User CDMA Communication using MATLAB
CHAPTER-6
RESULTS AND DISCUSSION
6.1 Transmitter
1. There are eight different message signals of 9 bits, each corresponding to an
individual user.
2. These message signals are then NRZ encoded.
3. Up sampling is applied on the NRZ signals.
4. Walsh code of length 8 bits has to be generated now.
5. Once the code is generated it is also up sampled such that the length of one
Walsh code is equal to the length of one message signal bit.
6. These spreaded signals are then BPSK modulated on a carrier frequency of 2
KHz.
7. The modulated signals are then summed, now there is one sum signal that is to
be transmitted.
8. The sum signal is then passed through a root raised cosine filter for pulse
shaping.
9. A training sequence is appended to the start and end of the signal.
10. For simulation purposes, the signal is written to a ‘wav’ file.
11. For real time transmission, the signal is transmitted via sound card at a
sampling frequency of 44 kHz.
6.2 Receiver
1. In case of simulation, the signal is read from the wav file.
2. If real time transmission is done, then the signal has to be recorded.
3. This received signal is then synchronized and passed through the same root
raised cosine filter.
4. This signal is then demodulated by using the same carrier as in transmitter.
5. Eight different despreaded signals are then obtained by multiplying each
Walsh code with the signal.
6. Each bit of a message signal is then retrieved by integrating the despreaded
signal over the symbol time.
7. The message signal will be retrieved at the receiver.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 18
Multi User CDMA Communication using MATLAB
6.3 Simulations and Results
6.3.1 Results of the single user Communication system
Based on the study of CDMA systems that has been discussed in detail in the
previous chapters, a simulation of the CDMA system within one PC was carried out,
so that the concept of spreading could be verified. To check the spreading factor or
the processing gain concept explained earlier. A Walsh code of length 2 was selected
to spread the same message.
The frequency response of the signal can be easily seen from the power
spectral density of the two signals. It can be easily seen from the figure below that the
bandwidth of the signal has increased from 500 Hz to 1 KHz. This verifies the
concept of spreading factor. As the pulse width of message signal was 20 and the
Walsh code was 10. Therefore a spreading gain of 2 is achieved.
Figure 6.1: Power Spectral Density of message signal
Figure 6.2: Power Spectral Density of spreaded signal
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 19
Multi User CDMA Communication using MATLAB
The length of the bits is kept 9 and that of the Walsh code is kept 8.In the first
phase the Walsh codes were generated, and then they were used to spread the
information signal. After that the signal was digitally modulated. After passing
through the AWGN channel, the message was recovered by the receiver. These
simulations show a number of results that are discussed in the chapter.
Transmitter
Figure 6.3: Message spreading using Walsh codes
The figure above shows the message and the Walsh codes both in NRZ form.
The pulse width of message signal is 80 whereas that of the Walsh code is 10. This
means that the processing gain or the spreading factor would be equal to 8. In other
words it can be said that the bandwidth of the message signal is increased 8 times than
its original bandwidth. After this the spreaded signal is modulated and passed through
the AWGN channel.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 20
Multi User CDMA Communication using MATLAB
Receiver
Figure 6.4: Message detection at receiver end
Results of the eight user Communication system
Figure 6.5 Message signal & Spreaded Signal
The final communication system that is created now can transmit 9 bit
messages of 8 users simultaneously. Its performance measures are shown below.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 21
Multi User CDMA Communication using MATLAB
CHAPTER-7
ADVANTAGES AND DISADVANTAGES
7.1 ADVANTAGES
• In the CDMA forward link, the fact that each base station is transmitting
multiple channels Walsh coding can be used beneficially to decrease inter
channel interference.
• Synchronization in CDMA environments is not as problematic as TDMA
systems.
• There is complete reuse of frequencies.
7.2 DISADVANTAGES
• Difficulties in determining the base station power levels for deployments. that
have cells of differing sizes.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 22
Multi User CDMA Communication using MATLAB
CHAPTER-8
CONCLUISON
This is how the communication system for this project was designed. It does
not follow the CDMA standards such as IS-95 and CDMA 2000, because the
designed communication system was created for a specific purpose i.e. data transfer
via sound waves. To achieve this CDMA direct sequence was used as a tool.
Therefore all of this system is not a CDMA system.
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 23
Multi User CDMA Communication using MATLAB
REFERENCES
[1] Theodore.S.Rappaport, Wireless communications Principles and practice (2nd
edition), Prentice Hall PTR, INC.USA 2003.
[2] Shetty, Kiran Kumar “A NOVEL ALGORITHM FOR UPLINK
INTERFERENCE SUPPRESSION USING SMART ANTENNAS IN
MOBILE COMMUNICATIONS” Electronic Thesis & Dissertations, vol. 14,
pp 35-92, Feb. 2004.
[3] Spread Spectrum Communications and CDMA, UCL Communications and
Remote Sensing Lab, Bruxelles, Germany.
[4] Kamil Sh. Zigangirov, John B. Anderson Theory of code division multiple
access, John Wiley & SONS, INC., 2004.
[5] Samuel.C.Yang, CDMA RF system Engineering, Artech House MA, USA,
1998.
[6] Bernard Sklar, Digital Communications Fundamentals and applications,
Prentice Hall INC. USA, Upper Saddle River, New Jersey, USA,1998.
[7] Complextoreal, January 20th, 2008, CDMA
http://www.complextoreal.com
Accessed at April 4th, 2008
Department of Electronics & Communication Engineering
Godutai Engineering College for Women, Gulbarga 24

More Related Content

What's hot

multiple access techniques used in wireless communication
multiple access techniques used in wireless communicationmultiple access techniques used in wireless communication
multiple access techniques used in wireless communication
Sajid ali
 
Fdma tdma-cdma-151223125532
Fdma tdma-cdma-151223125532Fdma tdma-cdma-151223125532
Fdma tdma-cdma-151223125532
kassayemamo
 
Multiplexing and Multiple access
Multiplexing and Multiple accessMultiplexing and Multiple access
Multiplexing and Multiple access
Dr. Ghanshyam Singh
 
multiple access techniques for wireless communication
multiple access techniques for wireless communicationmultiple access techniques for wireless communication
multiple access techniques for wireless communication
Sajid ali
 
Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
METHODIST COLLEGE OF ENGG & TECH
 
Ea 452 chap9
Ea 452 chap9Ea 452 chap9
Ea 452 chap9
Ritika Khanna
 
TDMA, FDMA, and CDMA
TDMA, FDMA, and CDMATDMA, FDMA, and CDMA
TDMA, FDMA, and CDMA
Najeeb Khan
 
Ai Tdma
Ai TdmaAi Tdma
Ai Tdma
Deepak Sharma
 
Multiplexing.pptx sample
Multiplexing.pptx sampleMultiplexing.pptx sample
Multiplexing.pptx sample
Shusomm
 
Module 4 Mobile comm GSM 3 G 4 G
Module 4 Mobile comm GSM 3 G 4 G Module 4 Mobile comm GSM 3 G 4 G
Module 4 Mobile comm GSM 3 G 4 G
ruikarsachin
 
Chapter 7 multiple access techniques
Chapter 7 multiple access techniquesChapter 7 multiple access techniques
Chapter 7 multiple access techniquesKaushal Kabra
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreading
Shankar Gangaju
 
Common protocols
Common protocolsCommon protocols
Common protocolsMr SMAK
 
Multiple Access in wireless communication
Multiple Access in wireless communicationMultiple Access in wireless communication
Multiple Access in wireless communication
Maulik Togadiya
 
Multiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdmaMultiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdma
nimay1
 
TDMA Technology
TDMA TechnologyTDMA Technology
TDMA Technology
MalshaniPrabodhika
 
Tdm and fdm
Tdm and fdmTdm and fdm
Tdm and fdm
shyamaliamale
 
Multipl access and satellite Communication
Multipl access and satellite CommunicationMultipl access and satellite Communication
Multipl access and satellite Communication
ZunAib Ali
 

What's hot (20)

multiple access techniques used in wireless communication
multiple access techniques used in wireless communicationmultiple access techniques used in wireless communication
multiple access techniques used in wireless communication
 
Fdma tdma-cdma-151223125532
Fdma tdma-cdma-151223125532Fdma tdma-cdma-151223125532
Fdma tdma-cdma-151223125532
 
Multiplexing and Multiple access
Multiplexing and Multiple accessMultiplexing and Multiple access
Multiplexing and Multiple access
 
multiple access techniques for wireless communication
multiple access techniques for wireless communicationmultiple access techniques for wireless communication
multiple access techniques for wireless communication
 
Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
 
Ea 452 chap9
Ea 452 chap9Ea 452 chap9
Ea 452 chap9
 
TDMA, FDMA, and CDMA
TDMA, FDMA, and CDMATDMA, FDMA, and CDMA
TDMA, FDMA, and CDMA
 
Ai Tdma
Ai TdmaAi Tdma
Ai Tdma
 
Multiplexing.pptx sample
Multiplexing.pptx sampleMultiplexing.pptx sample
Multiplexing.pptx sample
 
Module 4 Mobile comm GSM 3 G 4 G
Module 4 Mobile comm GSM 3 G 4 G Module 4 Mobile comm GSM 3 G 4 G
Module 4 Mobile comm GSM 3 G 4 G
 
Chapter 7 multiple access techniques
Chapter 7 multiple access techniquesChapter 7 multiple access techniques
Chapter 7 multiple access techniques
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreading
 
Common protocols
Common protocolsCommon protocols
Common protocols
 
Multiple Access in wireless communication
Multiple Access in wireless communicationMultiple Access in wireless communication
Multiple Access in wireless communication
 
Test
TestTest
Test
 
Multiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdmaMultiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdma
 
TDMA Technology
TDMA TechnologyTDMA Technology
TDMA Technology
 
Tdm and fdm
Tdm and fdmTdm and fdm
Tdm and fdm
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multipl access and satellite Communication
Multipl access and satellite CommunicationMultipl access and satellite Communication
Multipl access and satellite Communication
 

Similar to 3.final report

4.fdm,tdm,tfm
4.fdm,tdm,tfm 4.fdm,tdm,tfm
4.fdm,tdm,tfm
Pramod Rathore
 
Successful interference cancellation with Blind Equalization method for MC-CD...
Successful interference cancellation with Blind Equalization method for MC-CD...Successful interference cancellation with Blind Equalization method for MC-CD...
Successful interference cancellation with Blind Equalization method for MC-CD...
IJTET Journal
 
Apr7.pdf
Apr7.pdfApr7.pdf
Apr7.pdf
Anuradha Shukla
 
CDMA Transmitter and Receiver Implementation Using FPGA
CDMA Transmitter and Receiver Implementation Using FPGACDMA Transmitter and Receiver Implementation Using FPGA
CDMA Transmitter and Receiver Implementation Using FPGA
IOSR Journals
 
MA Presentation.pptx
MA Presentation.pptxMA Presentation.pptx
MA Presentation.pptx
Brijendra Tiwari
 
E0532630
E0532630E0532630
E0532630
IOSR Journals
 
doc_raj.docx
doc_raj.docxdoc_raj.docx
doc_raj.docx
VENKAT2430
 
Hp3414121418
Hp3414121418Hp3414121418
Hp3414121418
IJERA Editor
 
MULTIPLEXING.pptx
MULTIPLEXING.pptxMULTIPLEXING.pptx
MULTIPLEXING.pptx
UmmehaniKhan9
 
Chapter8,,,,,,,multiple access
Chapter8,,,,,,,multiple accessChapter8,,,,,,,multiple access
Chapter8,,,,,,,multiple access
vish0110
 
Iaetsd comparative study mimo ofdm, cdma-sdma
Iaetsd comparative study mimo ofdm, cdma-sdmaIaetsd comparative study mimo ofdm, cdma-sdma
Iaetsd comparative study mimo ofdm, cdma-sdma
Iaetsd Iaetsd
 
Multiple access procedures
Multiple access proceduresMultiple access procedures
Multiple access procedures
abishajesus
 
FDMA-TDMA-CDMA
FDMA-TDMA-CDMAFDMA-TDMA-CDMA
FDMA-TDMA-CDMA
Sammar Khan
 
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) SystemPerformance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
IJERA Editor
 
Frequency Division Multiplexing Access (FDMA)
Frequency Division Multiplexing Access (FDMA)Frequency Division Multiplexing Access (FDMA)
Frequency Division Multiplexing Access (FDMA)
Soumen Santra
 
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
inventionjournals
 
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
IRJET Journal
 
MULTIPLEXERS
MULTIPLEXERSMULTIPLEXERS
MULTIPLEXERS
Ayesha Tahir
 
CDMA full documents
CDMA full documentsCDMA full documents
CDMA full documents
Afzaal Anwar
 
04_20.pptx
04_20.pptx04_20.pptx
04_20.pptx
ArunangshuChetia1
 

Similar to 3.final report (20)

4.fdm,tdm,tfm
4.fdm,tdm,tfm 4.fdm,tdm,tfm
4.fdm,tdm,tfm
 
Successful interference cancellation with Blind Equalization method for MC-CD...
Successful interference cancellation with Blind Equalization method for MC-CD...Successful interference cancellation with Blind Equalization method for MC-CD...
Successful interference cancellation with Blind Equalization method for MC-CD...
 
Apr7.pdf
Apr7.pdfApr7.pdf
Apr7.pdf
 
CDMA Transmitter and Receiver Implementation Using FPGA
CDMA Transmitter and Receiver Implementation Using FPGACDMA Transmitter and Receiver Implementation Using FPGA
CDMA Transmitter and Receiver Implementation Using FPGA
 
MA Presentation.pptx
MA Presentation.pptxMA Presentation.pptx
MA Presentation.pptx
 
E0532630
E0532630E0532630
E0532630
 
doc_raj.docx
doc_raj.docxdoc_raj.docx
doc_raj.docx
 
Hp3414121418
Hp3414121418Hp3414121418
Hp3414121418
 
MULTIPLEXING.pptx
MULTIPLEXING.pptxMULTIPLEXING.pptx
MULTIPLEXING.pptx
 
Chapter8,,,,,,,multiple access
Chapter8,,,,,,,multiple accessChapter8,,,,,,,multiple access
Chapter8,,,,,,,multiple access
 
Iaetsd comparative study mimo ofdm, cdma-sdma
Iaetsd comparative study mimo ofdm, cdma-sdmaIaetsd comparative study mimo ofdm, cdma-sdma
Iaetsd comparative study mimo ofdm, cdma-sdma
 
Multiple access procedures
Multiple access proceduresMultiple access procedures
Multiple access procedures
 
FDMA-TDMA-CDMA
FDMA-TDMA-CDMAFDMA-TDMA-CDMA
FDMA-TDMA-CDMA
 
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) SystemPerformance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
 
Frequency Division Multiplexing Access (FDMA)
Frequency Division Multiplexing Access (FDMA)Frequency Division Multiplexing Access (FDMA)
Frequency Division Multiplexing Access (FDMA)
 
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
Dynamic Power Allocation for Mc-Cdma System Using Iterative Water Filling Alg...
 
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
IRJET- Review on Multiple Access Techniques used in Mobile Telecommunication ...
 
MULTIPLEXERS
MULTIPLEXERSMULTIPLEXERS
MULTIPLEXERS
 
CDMA full documents
CDMA full documentsCDMA full documents
CDMA full documents
 
04_20.pptx
04_20.pptx04_20.pptx
04_20.pptx
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 

3.final report

  • 1. Multi User CDMA Communication using MATLAB CHAPTER-1 INTRODUCTION As the world progresses forward in technology, with the increase in the different communications, there is a decrease in the available bandwidth. To cater for this problem, different multiple access techniques are used, such as FDMA, TDMA, SDMA and CDMA. By using these techniques the bandwidth utilization can be maximized. In these multiple access techniques multiple users can use the same bandwidth. Multiple access techniques have a much greater importance in radio communications in order to make use of the available spectrum. In FDMA systems, users are allotted limited amount of bandwidth, whereas in TDMA & CDMA all the channel bandwidth is available to every user. Synchronization is an issue for the TDMA system, while FDMA and CDMA have no such problems. CDMA systems have the maximum capacity, whereas the FDMA systems have the minimum capacity. The multiple access techniques can be studied briefly which is as follows. First of all we will see what is multiple access. 1.1 Multiple Access Multiple Access is a method by which the total throughput of a communications resource can be increased. These techniques are FDMA, TDMA, CDMA, SDMA. These have been discussed in detail in the previous chapter. There are a number of spreading codes available distinguishable upon their cross and auto correlation properties. Some of these codes are elaborated below. These spreading codes must have the following properties, if they are to be used in a direct sequence spread spectrum. 1. The cross-correlation should be near to zero. 2. Each sequence in the set has an equal number of 1s and –1s, or the number of 1s differs from the number of –1s by at most 1. 3. The scaled dot product of each code should be equal to 1. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 1
  • 2. Multi User CDMA Communication using MATLAB 1.1.1 Maximum length sequences: These sequences can be generated by using shift registers with feedback applied on them. These sequences meet all the conditions for spreading sequences very strictly. The cross correlation between this sequence and noise is very low, which helps in detecting signal out of noise in the receiver. These sequences are very useful for encryption as they also have a very low cross correlation with each other. The randomness properties of maximal length sequences can be seen here. 1.1.2 Gold sequence: In order to create two gold sequences, two maximum length sequences are to be combined. They have a very low auto-correlation which enables CDMA systems to transmit asynchronously. Gold sequences are constructed from pairs of preferred m- sequences by modulo-2 addition of two maximal Sequences of the same length. 1.1.3 Walsh codes: Walsh codes have to be created from hadamard matrices. All generated Walsh codes would be orthogonal to each other. The basic hadamard matrix is shown below. These sequences provide low cross-correlation between each other. Secondly, the number of 1s is equal to number of 1s in every codeword. N N N N N H H H H H =2 By looking at the matrix above, Walsh codes with different lengths can be generated with the help of recursion. For a clear understanding Walsh codes with length equal to 4 are illustrated below.             == 0110 1100 1010 0000 2 2 2 2 4 H H H H H Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 2
  • 3. Multi User CDMA Communication using MATLAB 1.2 Multiple Access Techniques Multiple access techniques maximize the utilization of bandwidth with a least possible degradation in the quality of service. Following are the four commonly used multiple access techniques. 1.2.1 Frequency Division Multiple Access: One of the earliest multiple access techniques used for cellular transmission is FDMA. This transmission is useful when a continuous transmission is required. The total bandwidth assigned is divided among a number of users hence enabling them to use a specific portion of frequencies out of the whole bandwidth simultaneously. These channels are allotted to a user on request from the user. These channels have narrow bandwidth and are consequently implemented in narrow band systems. To prevent the interference between adjacent channels, they are separated by guard bands which results in a waste of bandwidth. In order to achieve simultaneous transmission and reception FDMA makes use of duplexer, as the base station has got a separate transmitter and receiver, duplexer enables the mobile to switch between the transmitter and receiver. FDMA systems commonly use one antenna for a number of channels. In order to achieve maximum power efficiency the power amplifier has to operate near the saturation point. At this operating point, the power amplifier tends to show a non- linear causing the signal to show intermodulation frequencies. This in turn results in the adjacent channel interference. Figure 1.1: Channel handling by FDMA 1.2.2 Time Division Multiple Access Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 3
  • 4. Multi User CDMA Communication using MATLAB TDMA enables a user to occupy the entire bandwidth, but for a finite period of time. Each and every user is allotted time slots during which he/she can use the entire bandwidth. Time synchronization is very important in this technique as the receiver should be able to know that a user has ended sending a data and now it is another user who is transmitting. If time synchronization has been achieved properly, there would be no chance of inter channel interference, still as a precautionary measure, two channels are separated by a small guard time. There are chances that a call is lost while using TDMA as when a user moves from one cell to another cell there is a probability that no free time slot is available. Two different time slots are used for the transmission and reception in TDMA. This is known as time division duplexing and does not require any duplexers. Moreover as in TDMA the transmission is not continuous, digital modulation techniques are to be used. Transmission from various users is fed into a frame. The preamble bits in the beginning of the frame contain synchronization and address information of the base station and subscribers. Figure 1.2: Channel handling by TDMA 1.2.3 Space Division Multiple Access: In SDMA the users are separated spatially. In other words, same frequency can be used in different cells in a cellular network system. These cells should be at a safe distance from each other for the sake of preventing inter-channel interference. Therefore the number of cells in which a region can be divided is limited and consequently limits the frequency re-use factor. Smart antennas can be used to enhance the performance of these systems by steering the antenna beam in the direction of the user and placing nulls in the direction of interfering signals. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 4
  • 5. Multi User CDMA Communication using MATLAB Figure 1.3: Intra-cell SDMA 1.2.4 Code Division Multiple Access Code Division multiple Access is a spread spectrum technique. It increases the throughput of a digital communication system. All the spread spectrum techniques including CDMA have the following main components. • The signal occupies a bandwidth which is greater than the minimum bandwidth required to send the information. • Spreading is accomplished by a spreading signal • De-spreading is achieved at the receiver by the correlation of the received signal with a replica of the spreading signal used at the transmitter. 1.2.4.1 Direct sequence spread spectrum Direct sequence spread spectrum systems are used in CDMA. First of all, a PN-code is generated; PN-codes are different for different channels. The message signal modulates the PN-codes, as a result of which the message signal is spread over a greater band of frequencies. Up-sampling is done for the signals to have a greater energy so that they can be received at the receiver correctly. Using an M-ary PSK modulation technique the phase of the signal is shifted pseudo-randomly. A short code system uses PN-sequences of the length equal to the data symbol length, where as a long code system uses PN-sequences of more than the data symbol length. When the signal reaches the receiver it is again multiplied by the same PN- code. The signal is retrieved and other processing is done on it before completely receiving it. The pulse width of a signal limits the bandwidth of a signal. Therefore a message signal with a pulse width 'T' would have a bandwidth B=1/T. The Walsh code with a pulse width (chip rate) 'Tc 'would have a bandwidth of Bw =1/Tc. The Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 5
  • 6. Multi User CDMA Communication using MATLAB factor by which the increase bandwidth of the signal due to spreading can be represented is N= T/ Tc. Figure 1.4: Building blocks of DS-SS Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 6
  • 7. Multi User CDMA Communication using MATLAB CHAPTER-2 LITEATURE SURVEY PSEUDONOISE (PN) code synchronization is the necessary first step in the receiver of direct-sequence code-division multiple-access (DS-CDMA) systems, since data demodulation becomes possible only after the code synchronization is performed. Code synchronization is usually achieved in two steps: 1) acquisition for coarse code alignment and 2) tracking for fine alignment [1]. Acquisition methods can be broadly classified as serial search methods [2]–[9] and parallel search methods [3], [10]–[14], which have been extensively treated in the literature. In a serial search scheme, each possible code phase of a given roster position in the uncertainty region is tested one at a time, while in a parallel search strategy, many, if not all, of the possible code phases are tested simultaneously. The focus of this paper is on serial search acquisition. In a practical PN sequence acquisition system, usually there exist multiple in-phase states (cells) in the uncertainty region, since the search step size is usually lower than the chip duration and the dispersive fading-induced delay spread is higher than the chip duration of the PN sequence. However, despite the existence of multiple cells in almost any practical PN code acquisition system, the majority of published results concerning the mean acquisition time (MAT) have been derived from the assumption that there is one and only one cell in the uncertainty region [1]–[7], [9]–[14]. The performance of the acquisition system with multiple cells has received comparatively little attention in the literature. Hence, our goal in this paper is to quantify the performance of serial search acquisition systems under the hypothesis that there are multiple cells in the uncertainty region of the PN sequence. Specifically, we assume that the search step size is 2, where is the chip duration. Hence, each resolvable path of the received signal contributes two cells. The acquisition process of the serial search mode under the multiple –cell hypothesis can be described using the so-called equivalent circular state diagram [2], [4], [17], which will be detailed in the context of Fig. 2. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 7
  • 8. Multi User CDMA Communication using MATLAB By extending the result of [17] in this paper, a generalized equation is derived for computing the MAT of a serial search system under the multiple -cell hypothesis. In our analysis, two detection schemes are considered. The first is the conventional cell-by-cell detection [5], in which each cell is tested independently; the second is the novel joint two-cell detection [15], [16], in which two adjacent cells are tested jointly. The MAT performance of the serial search scheme using both of the above detection approaches is investigated over a frequency- selective multipath Rayleigh fading medium. Note that the analysis presented is applicable to the mobile-to-base station link of a DS-CDMA system utilizing binary phase-shift keying (BPSK) spreading. The remainder of this paper is organized as follows. In Section II, we describe the search and detection modes proposed. Then, the asymptotic MAT is derived in Section III. The system and channel models are given in Sections IV and V. In Section VI, the test statistics of the decision variables are analyzed, while in Section VII we derive the overall miss probability and the false alarm probability, which are defined in Section III. Numerical results are given in Section VIII. Our concluding remarks are given in Section IX. Let us now consider the search and detection modes concerned in this paper. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 8
  • 9. Multi User CDMA Communication using MATLAB CHAPTER-3 PROBLEM STATEMENT There will be a less bandwidth in different communication systems so we are using multiple access techniques so that bandwidth is increased. In multiple access technique we are using the CDMA technique. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 9
  • 10. Multi User CDMA Communication using MATLAB CHAPTER-4 OBJECTIVES The objective of the project is to implement a real-time digital acoustic communication system using CDMA. The system should work reliably in a laboratory and a multi-path environment. The system should be able to transmit information from one PC to another through an entirely acoustic channel. Furthermore, the system should be able to separate eight users simultaneously. Thus providing a basis for the future students to have an idea of wireless data transfer. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 10
  • 11. Multi User CDMA Communication using MATLAB CHAPTER-5 BLOCK DIAGRAM REPRESENTATION DESIGN OF COMMUNICATION SYSTEM This section describes how different techniques were used for the communication system of this project. The basic parameters of the design are that it has a data rate of 2000bits/sec, whereas the sampling frequency is 44 kHz. Following is the communication system that was used in the transmission of data via acoustic channel. Figure 5.1: Design of Communication System Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 11 Spreading ModulationChannel Encoding Source Encoding RR Cosine Filter Symbol Packing De modulation Modulation Matched Filtering Synchronizati on Channel Decoding Source Decoding De- Spreading
  • 12. Multi User CDMA Communication using MATLAB Source formatting: The first and foremost part of a digital communication system is source encoding or formatting. It ensures that the incoming signal is compatible with the digital processing. Whenever data compression is applied to formatting it is known as source coding. The three basic steps involved in formatting are sampling, quantization and pulse code modulation. In order to make the message signal compatible with the upcoming components of the communication system the message signal needs to be formatted. The technique used in this project is NRZ (Never Return to Zero). This coding technique is used due to its simplicity and secondly it provides a phase difference of 1800 between two transmitted bits which was 900 when the message was transmitted in the form of 1s and 0s. Channel coding: Channel coding refers to a signal transformation whereby enabling the transmitted signals to better withstand the effect of channel non idealities, the communications performance can be increased. Channel coding follows source encoding in a general communication system. It caters for the channel's non-ideal behavior to the transmitted signal, i.e. to achieve a minimum bit energy to noise spectral density ratio given a specific probability of bit error, so that the communication system can operate at a low energy with the same probability of bit error or to decrease the probability of bit error for a specific energy to noise spectral density ratio. Error-correcting codes are of two types i.e. block codes and convolution codes which is discussed below. Linear block codes: Linear block codes can be used to enable the error correcting and error detecting capability of a communication system. The general expression for a linear block code is (n,k). This notation represents that the linear block code converts the incoming block of 'k' information bits into a coded block of 'n' bits. These code bits have no memory, i.e. they only depend on the current information bits. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 12
  • 13. 1u 1u Output coded bits 21,uu Input data Multi User CDMA Communication using MATLAB Convolution Block codes: Three major integers used in these codes are n, k, K. n is the number of encoded bits, k is the number of input information bits and K is the constraint length that describes the number of stages on which the output would be dependant. k/n defines the information per coded bit. The codeword that is produced as a result of this encoding maybe denoted as U = (U1, U2 . . . Un) At the receiver end, the decoder receives a sequence Z = (Z1, Z2…Zn). This happens due to the non-ideal behavior of the transmission channel, i.e. the noise present in the channel corrupts the incoming signal. The task of the detector would be to rectify the data by extracting the sequence U from the corrupted sequence Z. This would be possible if the receiver has a priori knowledge of how the information was encoded at the transmitter's end. [6] Connection representation: The connection representation of convolution encoders is shown in the figure below. This can be represented as 1111 =g 1012 =g Figure 5.2: Connection Representation of Convolution Coding Polynomial Representation: This representation is done with a point of view that that convolution coder can be treated as a set of cyclic code shift registers. Convolution encoder connections can also be represented by ‘n’ generator polynomials. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 13
  • 14. Multi User CDMA Communication using MATLAB The degree of the polynomials should be equal to or less than ‘K’. The polynomials are used for the representation of modulo-2 adders in the encoder. For the figure given above the polynomials are as follows. g1(X) = 1+X+X2 g2(X) = 1+X2 U(X) = m(X)g1(X) along with m(x)g2(x) Consider that m=101, therefore m(X) = 1+X2 4322 1)1)(1()(1)( XXXXXXXgXm +++=+++= 422 1)1)(1()(2)( XXXXgXm +=++= 432 .01)(1)( XXXXXgXm ++++= 432 .0.0.01)(1)( XXXXXgXm ++++= 432 )1,1()0,1()0,0()0,1()1,1()( XXXXXU ++++= 1110001011=U Functionality: In order to understand the functionality of the convolution encoder, suppose a message m= 1 0 1 has to be encoded. Figure 5.3: Convolution Encoding Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 14
  • 15. Multi User CDMA Communication using MATLAB Spreading: This spreading method is discussed by using multiple access technique. To use multiple access technique, direct sequence spread spectrum is used. The fundamental criterion upon which the selection of codes for the sake of spreading depends is its auto correlation and cross correlation properties. For example in radars the codes with good autocorrelation properties are very important as the radar has to avoid the echo signals for the accurate range measurement of a target. Whereas in a CDMA based system, as there are a number of users transmitting at the same time, therefore it is required to have superior cross-correlation properties. Therefore orthogonal signals are required to be used in this type of system. The spreading sequence used is 8 bit Walsh code, these Walsh codes have good cross correlation properties as they are orthogonal to each other, the autocorrelation property is not required as the system requires transmission over a short distance. Modulation: BPSK is used as the modulation technique. The sampling frequency is 44 kHz, the carrier frequency at which the baseband signal is modulated is 2 kHz. Each sin wave of the carrier has 22 samples. Therefore, the data rate of the system would be 2kHz. It was concluded that the noise levels are high in the lower frequencies, but if a higher frequency was chosen in a carrier. Root Raised Cosine Filtering: The higher the data rate of the communication system, the higher would be the throughput. But on the other hand it increases the bandwidth. Normally, in order to reduce this bandwidth, pulse shaping techniques are used. Root raised cosine filtering is one of these techniques. If the bandwidth is limited by using these techniques, the signal would spread in the time domain, a certain threshold is set up to which the bandwidth can be compressed. The raised cosine filter is a type of low pass filter, with a certain amount of roll of factor. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 15
  • 16. Multi User CDMA Communication using MATLAB Symbol packing: In symbol packing, a training sequence is appended at the start and end of the signal. In addition to this, 1000 zeros are also appended o the end at start of this signal. These zeros are added to the signal so that even if the receiver is unable to record initial bits, these initial bits would be those additional zeros that were added, at the transmitter end. As a result it made the complete reception of signal at the receiver. Channel: This is a wireless system, and the channel is called acoustic because signal traverses in air from the transmitter to receiver in the form of sound waves. Normally, the wireless channel is modeled with AWGN channel, but that is the case when electromagnetic waves are used. Receiver: For simulation purposes the transmitted signal is written to a ‘wav’ file and is received by reading that ‘wav’ file .In real time, the transmitter i.e. the speaker generates a sound that is recorded by the receiver with the help of a microphone. Synchronization: Once a real time system has to be implemented, synchronization is a very important part of it. This is not the kind of synchronization that is required between different users as in TDMA because in TDMA different users are transmitting and receiving in different times, where as CDMA means that all the users transmit at the same time as a single sum signal. In this system, it is assumed that the receiver is on all the time. Therefore whenever the transmitter will send the message signal, there should be some way through which the receiver can determine where its signal of interest is. This can be done by correlating the training sequence with the received signal. The part where the maximum correlation occurs would be the start of the signal and the second maximum in the correlation would give the end of the message signal. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 16
  • 17. Multi User CDMA Communication using MATLAB Matched filtering: As the signal has been pulse shaped using the root raised cosine filter at the transmitter end, therefore matched filtering and down sampling has to be done at the receiver’s end. This is implemented by passing the received signal again by the root raised cosine filter that was used at the transmitter. Demodulation: The signal is then demodulated by multiplying it again by the carrier signal. The output would be a demodulated signal, but this demodulated signal would be actually a sum of all the spreaded signals. In order to extract the individual message signal of each user, the spreaded signal is then again multiplied by the Walsh code and is then integrated over a symbol time. De-spreading: In order to extract the individual message signal of each user, the spreaded signal is then again multiplied by the Walsh code and is then integrated over a symbol time. Channel decoding: If the channel coding was not employed by the transmitter, then the despreaded messages would be the received signals. In the channel coding case, the signal will have to be decoded by using the viterbi decoding function in matlab. After decoding the signal will have to be shifted 3 bits to the left as zeros are flushed in during the convolution coding. Source decoding: In source decoding the NRZ encoded message has to be decoded back to its original form i.e. ones and zeros. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 17
  • 18. Multi User CDMA Communication using MATLAB CHAPTER-6 RESULTS AND DISCUSSION 6.1 Transmitter 1. There are eight different message signals of 9 bits, each corresponding to an individual user. 2. These message signals are then NRZ encoded. 3. Up sampling is applied on the NRZ signals. 4. Walsh code of length 8 bits has to be generated now. 5. Once the code is generated it is also up sampled such that the length of one Walsh code is equal to the length of one message signal bit. 6. These spreaded signals are then BPSK modulated on a carrier frequency of 2 KHz. 7. The modulated signals are then summed, now there is one sum signal that is to be transmitted. 8. The sum signal is then passed through a root raised cosine filter for pulse shaping. 9. A training sequence is appended to the start and end of the signal. 10. For simulation purposes, the signal is written to a ‘wav’ file. 11. For real time transmission, the signal is transmitted via sound card at a sampling frequency of 44 kHz. 6.2 Receiver 1. In case of simulation, the signal is read from the wav file. 2. If real time transmission is done, then the signal has to be recorded. 3. This received signal is then synchronized and passed through the same root raised cosine filter. 4. This signal is then demodulated by using the same carrier as in transmitter. 5. Eight different despreaded signals are then obtained by multiplying each Walsh code with the signal. 6. Each bit of a message signal is then retrieved by integrating the despreaded signal over the symbol time. 7. The message signal will be retrieved at the receiver. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 18
  • 19. Multi User CDMA Communication using MATLAB 6.3 Simulations and Results 6.3.1 Results of the single user Communication system Based on the study of CDMA systems that has been discussed in detail in the previous chapters, a simulation of the CDMA system within one PC was carried out, so that the concept of spreading could be verified. To check the spreading factor or the processing gain concept explained earlier. A Walsh code of length 2 was selected to spread the same message. The frequency response of the signal can be easily seen from the power spectral density of the two signals. It can be easily seen from the figure below that the bandwidth of the signal has increased from 500 Hz to 1 KHz. This verifies the concept of spreading factor. As the pulse width of message signal was 20 and the Walsh code was 10. Therefore a spreading gain of 2 is achieved. Figure 6.1: Power Spectral Density of message signal Figure 6.2: Power Spectral Density of spreaded signal Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 19
  • 20. Multi User CDMA Communication using MATLAB The length of the bits is kept 9 and that of the Walsh code is kept 8.In the first phase the Walsh codes were generated, and then they were used to spread the information signal. After that the signal was digitally modulated. After passing through the AWGN channel, the message was recovered by the receiver. These simulations show a number of results that are discussed in the chapter. Transmitter Figure 6.3: Message spreading using Walsh codes The figure above shows the message and the Walsh codes both in NRZ form. The pulse width of message signal is 80 whereas that of the Walsh code is 10. This means that the processing gain or the spreading factor would be equal to 8. In other words it can be said that the bandwidth of the message signal is increased 8 times than its original bandwidth. After this the spreaded signal is modulated and passed through the AWGN channel. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 20
  • 21. Multi User CDMA Communication using MATLAB Receiver Figure 6.4: Message detection at receiver end Results of the eight user Communication system Figure 6.5 Message signal & Spreaded Signal The final communication system that is created now can transmit 9 bit messages of 8 users simultaneously. Its performance measures are shown below. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 21
  • 22. Multi User CDMA Communication using MATLAB CHAPTER-7 ADVANTAGES AND DISADVANTAGES 7.1 ADVANTAGES • In the CDMA forward link, the fact that each base station is transmitting multiple channels Walsh coding can be used beneficially to decrease inter channel interference. • Synchronization in CDMA environments is not as problematic as TDMA systems. • There is complete reuse of frequencies. 7.2 DISADVANTAGES • Difficulties in determining the base station power levels for deployments. that have cells of differing sizes. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 22
  • 23. Multi User CDMA Communication using MATLAB CHAPTER-8 CONCLUISON This is how the communication system for this project was designed. It does not follow the CDMA standards such as IS-95 and CDMA 2000, because the designed communication system was created for a specific purpose i.e. data transfer via sound waves. To achieve this CDMA direct sequence was used as a tool. Therefore all of this system is not a CDMA system. Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 23
  • 24. Multi User CDMA Communication using MATLAB REFERENCES [1] Theodore.S.Rappaport, Wireless communications Principles and practice (2nd edition), Prentice Hall PTR, INC.USA 2003. [2] Shetty, Kiran Kumar “A NOVEL ALGORITHM FOR UPLINK INTERFERENCE SUPPRESSION USING SMART ANTENNAS IN MOBILE COMMUNICATIONS” Electronic Thesis & Dissertations, vol. 14, pp 35-92, Feb. 2004. [3] Spread Spectrum Communications and CDMA, UCL Communications and Remote Sensing Lab, Bruxelles, Germany. [4] Kamil Sh. Zigangirov, John B. Anderson Theory of code division multiple access, John Wiley & SONS, INC., 2004. [5] Samuel.C.Yang, CDMA RF system Engineering, Artech House MA, USA, 1998. [6] Bernard Sklar, Digital Communications Fundamentals and applications, Prentice Hall INC. USA, Upper Saddle River, New Jersey, USA,1998. [7] Complextoreal, January 20th, 2008, CDMA http://www.complextoreal.com Accessed at April 4th, 2008 Department of Electronics & Communication Engineering Godutai Engineering College for Women, Gulbarga 24