Rahul Singh 66 Expt 6
Rahul Singh 66 Expt 6
Rahul Singh 66 Expt 6
MOBILE COMMUNICATION
Name: Rahul Singh Batch: B DOP: 04/10/2021
Roll no: 66 DOS: 07/10/2021
EXPERIMENT: 6
Aim:
To design CDMA transceiver system.
Objective:
Students will understand concept of CDMA.
Learning Outcome:
Students will design CDMA transceiver system.
Theory:
Code Division Multiple Access (CDMA) is a method of multiplexing that does not divide a
channel by time as in TDMA or frequency as in FDMA. Instead all active users use the same
frequency at the same time. Separation of channels is now achieved by code. This scheme
encodes data using special code associated with each channel called chipping sequence (or
Pseudo random Noise sequence). The codes used here are orthogonal and has good
autocorrelation property. CDMA multiples the data being transmitted by a "noise" signal
(chipping sequence). This noise signal is a pseudo random sequence of 1 and −1 values, at
a frequency much higher than that of the original signal, thereby spreading the energy of the
original signal into a much wider band. De spreading requires the receiver to apply the same
PN sequence on the received signal to recover data.
Page 1 of 4
DON BOSCO INSTITTUTE OF TECHNOLOGY, DEPARTMENT OF
ELECTRONICS AND TELECOMMUNICATION
1. Sender A's data Ad = 1 => Bipolar Ad = +1 Sender B's data Bd = 0 => Bipolar Bd = -1
2. A's Chip code is code A []: 0 0 1 1 0 0 1 1 => Bipolar conversion is: -1 -1 +1 +1 -1-1 +1 +1
3. B's Chip code is code B []: 0 1 1 0 0 1 1 0 =>Bipolar conversion is: -1 +1 +1 -1 -1 +1 +1 -1
4. Spread A's data As = 1 * (-1 -1 +1 +1 -1 -1 +1 +1) = (-1 -1 +1 +1 -1 -1 +1 +1)
5. Spread B's data Bs = -1 * (-1 +1 +1 -1 -1 +1 +1 -1) = (+1 -1 -1 +1 +1 -1 -1 +1)
6. Send the sum of As + Bs, Cs = As + Bs = (0 -2 0 2 0 -2 0 2)
7. Recover As Data from received signal Cs
Cs * codeA[ ] = ( 0 -2 0 2 0 -2 0 2 ) * (-1 -1 +1 +1 -1-1 +1 +1) = (0 2 0 2 0 2 0 2) Sum
= 8 > 0 hence A's transmitted data was Ad=1
8. Recover B's Data from received signal Cs
Cs * code B [ ] = (0 -2 0 2 0 -2 0 2) * (-1 +1 +1 -1 -1 +1 +1 -1) = (0 -2 0 -2 0 -2 0 -2)
, if Sum = -8 < 0
, hence B's transmitted data was Bd = 0
Page 2 of 4
DON BOSCO INSTITTUTE OF TECHNOLOGY, DEPARTMENT OF
ELECTRONICS AND TELECOMMUNICATION
Scilab Code:
//66_Rahul Singh_ Batch-B
clc; clear;
a=2*A-1;
disp(a)
c1=2*C1-1;
disp(c1) b=2*B-
1; disp(b)
c2=2*C2-1;
disp(c2)
As=[a]'*[c1];
Bs=[b]'*[c2];
Cs=[As]+[Bs];
Cs1=[Cs]*[c1]';
Cs2=[Cs]*[c2]';
m=length(Cs1) n=length(Cs2)
for i=1:m if
Cs1(i)>0 a1(i)=1;
else a1(i)=0; end
end
disp(a1')
for i=1:n if
Cs2(i)>0 b1(i)=1;
else b1(i)=0; end
end
disp(b1')
Page 3 of 4
DON BOSCO INSTITTUTE OF TECHNOLOGY, DEPARTMENT OF
ELECTRONICS AND TELECOMMUNICATION
Output:
Conclusion:
In this experiment, we studied and understood the concept of CDMA. Code Division Multiple
Access (CDMA) is a sort of multiplexing that facilitates various signals to occupy a single
transmission channel. It optimizes the use of available bandwidth. We implemented CDMA
using Scilab. We successfully converted the binary values to bipolar values. We also
successfully received the transmitted code.
Page 4 of 4