As I told before, CDM is a technique of transmitting analog signals or digital data streams with a code assigned to each channel. It implies the spread spectrum technique to transmit data. Now lets see what is spread spectrum technique.
Spread Spectrum Technique:
Spread Spectrum technique means spreading the data over a time domain resulting in a larger bandwidth of signal. In other word the spread spectrum is the representation of the XOR products of the transmitting data and pseudorandom code ( Sometimes pseudo noise code/ PN code) assigned to the channels.
CDMA:
CDMA is an access technique of the channels. Data are transmitted simultaneously. But how does it maintain to get to the desired channel? CDMA deals with this problem.
Types of CDMA:
1.Synchronous CDMA:
The transmission technique where the codes assigned to each channel are orthogonal, is called Synchronous CDMA. Assume the codes as vectors. Now if the dot product of these vectors are 0 then they are orthogonal.
Lets assume 2 codes, c1=[1,1] and c2=[1,-1]
Then c1.c2 = 1.1+1.(-1) = 1-1 = 0
So c1 and c2 are orthogonal.
Now we will see the steps of multiplexing and demultiplexig......
Assume, sender1 has the data [1101] and PN code [1,1]
sender2 has the data [1011] and PN code [1,-1]
*Encoding:
now [1,1,0,1] data is encoded to [1,1,-1,1] and [1,0,1,1] data is encoded to [1,-1,1,1] (0 is converted to -1)
now for sender1 with code [1,1], data1= [1,1,-1,1].[1,1] = [1,1,1,1,-1,-1,1,1]
for sender2 with code [1,-1], data1= [1,-1,1,1].[1,-1] = [1,-1,-1,1,1,-1,1,-1]
Now we have two data, d1= [1,1,1,1,-1,-1,1,1] and d2 = [1,-1,-1,1,1,-1,1,-1]
To send them using one channel, we simply add these two data. So the final transmitting data will be,
D= d1+d2 =[2,0,0,2,0,-2,2,0]
This data is transmitted over the communication channel.
*Decoding
Now we have the data [2,0,0,2,0,-2,2,0] and PN codes [1,1] and [1,-1]. To achieve the real signal from this, we need to get the dot product of the pattern and PN code.
data1= pattern.PN code = [(2,0),(0,2),(0,-2),(2,0)].[1,1]
= [(2+0),(0+2),(0-2),(2+0)]
= [2,2,-2,2] = [1,1,-1,1] = [1,1,0,1]
data2= pattern.PN code = [(2,0),(0,2),(0,-2),(2,0)].[1,-1]
= [(2-0),(0-2),(0+2),(2-0)]
= [2,-2,2,2] = [1,-1,1,1] = [1,0,1,1]
This is how data is transmitted through communication channel through CDMA technique.
2.Asynchronous CDMA:
No comments:
Post a Comment