Wednesday, 15 September 2010

Code Division Multiplexing

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:

Saturday, 11 September 2010

Time Division Multiplexing

The signals are apparently transmitted simultaneously through sub channels in one communication channel, but physically taking terms on the channel. The time domain is divided into several slots. Then each slot is assigned to each signal. generally there are 24/30 slots in a time domain. So generally 24/30 signals can be transmitted easily through this process.

Here another question may arise. How does the incident of taking the right slot for the data is maintained? The answer lies in the frame synchronization of the signals. 

In a frame, there is a synchronization word and then small parts of every signal is placed one after another. The next frame also includes a synch word and next parts of the signals.

Types of TDM:
     1. Synchronous TDM
     2. Asynchronous TDM
     3. Quasi Synchronous TDM

Multiplexing

Definition :
Multiplexing is a process where multiple analog signals or digital data streams are combined into one single signal and transmitted using a single channel. Multiplexing is also called muxing .


Types :
There are mainly 4 types of multiplexing. They are-
        1. Space Division Multiplexing (SDM)
        2. Time Division Multiplexing (TDM)
        3. Frequency Division Multiplexing (FDM)
        4. Code Division Multiplexing (CDM)

SDM:
Transmitting multiple signals through multiple channels is called SDM. Parallel antennas are used here. Each antenna works for a single channel.

TDM :
Here the multiple signals are transmitted one after another part by part. The signals are apparently transmitted simultaneously through sub channels in one communication channel, but physically taking terms on the channel.

More About TDM

FDM :
Different signals are converted into signals of different frequency and combined in a single signal. The demultiplexer separates the signals of different frequency.

More About FDM


CDM:
It is a technique in which each channel transmits its bits as a coded channel-specific sequence of pulses.


More About CDM

Introduction

Hello buddies. I am TJ. This blog is all about helping the students of CSE department in KUET. They often suffer problems about their course organizations, syllabus, books and so forth. I am just giving them some open news and some open prescription about these problems. Hope you will like it....