Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of...

32
Khurram Masood Khurram Masood 200806100 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book

Transcript of Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of...

Page 1: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Khurram MasoodKhurram Masood200806100200806100

Code Division Multiple Access (CDMA) Transmission Technology

Chapter 5 of Hiroshi Harada Book 

Page 2: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 2/16

OutlineOutline

• Introduction• Type of CDMA

– Averaging systems– Avoidance systems

• Spreading code– M-seuence– Gold sequence– Ortogonal Gold sequence

• Simulation and results

Page 3: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 3/16

Type of Multiplexing:Type of Multiplexing:

1. Frequency-Division Multiple Access (FDMA). 1. Frequency-Division Multiple Access (FDMA).

3. Code-division Multiple-Access (CDMA)3. Code-division Multiple-Access (CDMA)

2. Time-Division Multiple Access (TDMA). 2. Time-Division Multiple Access (TDMA).

Page 4: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 4/16

Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)

• CDMA: – A digital method for simultaneously transmitting signals over a shared portion

of the spectrum by coding each distinct signal with a unique code.– CDMA is a wireless communications technology that uses the principle of

spread spectrum communication.

• Advantages– Multiple access capability– Protection against multipath interference– Privacy– Interference rejection– Ant jamming capability– Low probability of interception

Page 5: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 5/16

Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)

There are different ways to spread the bandwidth of the signal:

Direct sequence Frequency hopping Time hopping Chirp spread spectrum Hybrid systems

Page 6: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 6/16

Direct SequenceDirect Sequence

Features:Features:

o All users use same frequency and may transmit simultaneously

o Narrowband message signal multiplied by wideband spreading signal, or codeword

o Each user has its own pseudo-codeword (orthogonal to others).

o Receivers detect only the desired codeword. All others appear as noise.

o Receivers must know transmitter’s codeword.

Page 7: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 7/16

Direct SequenceDirect Sequence

Page 8: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 8/16

Direct SequenceDirect Sequence

Pseudo-Noise Spreading

Page 9: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 9/16

Direct SequenceDirect Sequence

Direct Sequence Spread Spectrum System

Page 10: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Direct Sequence Spread Spectrum ExampleDirect Sequence Spread Spectrum Example

Page 11: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Direct Sequence Spread Spectrum SystemDirect Sequence Spread Spectrum System

Page 12: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

DSSS Example Using BPSKDSSS Example Using BPSK

Page 13: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 13/16

Direct SequenceDirect Sequence

Processing Gain:

is the processing gain

is Chipping Frequency (the bit rate of the PN code).

is Information Frequency (the bit rate of the digital data).

=

fc

fi

Page 14: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Prepared By Ibrahim AL-OBIDA 14/16

Direct SequenceDirect Sequence

AdvantagesAdvantages::oIncreased capacityIncreased capacity

oImproved voice qualityImproved voice quality

oEliminating the audible effects of multipath fadingEliminating the audible effects of multipath fading

oEnhanced privacy and securityEnhanced privacy and security

oReduced average transmitted powerReduced average transmitted power

oReduced interference to other electronic devices Reduced interference to other electronic devices

DisadvantagesDisadvantages::oWide bandwidth per user requiredWide bandwidth per user required

oPrecision code synchronization neededPrecision code synchronization needed

Page 15: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Frequency Hopping Spread Spectrum (FHSS)Frequency Hopping Spread Spectrum (FHSS)

signal is broadcast over seemingly random series of frequencies

receiver hops between frequencies in sync with transmitter

jamming on one frequency affects only a few bits

Page 16: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Frequency Hopping ExampleFrequency Hopping Example

Page 17: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

FHSS (Transmitter)FHSS (Transmitter)

Page 18: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Frequency Hopping Spread Spectrum System Frequency Hopping Spread Spectrum System (Receiver)(Receiver)

Page 19: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Slow and Fast FHSSSlow and Fast FHSS

commonly use multiple FSK (MFSK)have frequency shifted every Tc seconds

duration of signal element is Ts seconds

Slow FHSS has Tc Ts

Fast FHSS has Tc < Ts

FHSS quite resistant to noise or jammingwith fast FHSS giving better performance

Page 20: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Slow MFSK FHSSSlow MFSK FHSS

Page 21: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Fast MFSK FHSSFast MFSK FHSS

Page 22: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Linear Feedback Shift RegisterLinear Feedback Shift RegisterImplementation of PN GeneratorImplementation of PN Generator

04/21/23 22

•Output is periodic with max-period N=2n-1;•LFSR can always give a period N sequence -> resulting in m-sequences.•Different Ai allow generation of different m-sequences

Page 23: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Properties of M-SequencesProperties of M-Sequences

• Property 1:– Has 2n-1 ones and 2n-1-1 zeros

• Property 2: – For a window of length n slid along output for N (=2n-1) shifts, each n-tuple appears once,

except for the all zeros Sequence• Property 3:

– Sequence contains one run of ones of length n

– One run of zeros of length n-1– One run of ones and one run of zeros of length n-2– Two runs of ones and two runs of zeros of length n-3– 2n-3 runs of ones and 2n-3 runs of zeros of length 1

04/21/23 23

Page 24: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Advantages of Cross CorrelationAdvantages of Cross Correlation

• The cross correlation between an m-sequence and noise is low– This property is useful to the receiver in filtering out Noise

• The cross correlation between two different msequences is low– This property is useful for CDMA applications– Enables a receiver to discriminate among spread spectrum signals

generated by different m-sequences

04/21/23 24

Page 25: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Gold SequencesGold Sequences

• Gold sequences constructed by the XOR of two m-sequences with the same clocking

• Codes have well-defined cross correlation Properties• Only simple circuitry needed to generate large number of

unique codes• In following example two shift registers generate the two m-

sequences and these are then bitwise XORed

04/21/23 25

Page 26: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Gold SequencesGold Sequences

04/21/23 26

Page 27: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

Orthogonal CodesOrthogonal Codes

• Orthogonal codes– All pairwise cross correlations are zero– Fixed- and variable-length codes used in CDMA Systems– For CDMA application, each mobile user uses one

sequence in the set as a spreading code– Provides zero cross correlation among all users

04/21/23 27

Page 28: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

BER performance of DS CDMA with BER performance of DS CDMA with m-sequence in AWGNm-sequence in AWGN

04/21/23 28

0 2 4 6 8 10 12 14 16 18 2010

-4

10-3

10-2

10-1

100

Eb/N

0 [dB]

BE

RBER performance of DS-CDMA with M-sequence in AWGN

QPSK AWGN theory

Number of users = 1Number of users = 4

Number of users = 7

Page 29: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

BER performance of DS CDMA with BER performance of DS CDMA with Gold sequence in AWGNGold sequence in AWGN

04/21/23 29

0 2 4 6 8 10 12 14 16 18 2010

-4

10-3

10-2

10-1

100

Eb/N

0 [dB]

BE

RBER performance of DS-CDMA with Gold sequence in AWGN

QPSK AWGN theory

Number of users = 1Number of users = 4

Number of users = 7

Page 30: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

BER performance of DS CDMA with BER performance of DS CDMA with orthogonal Gold sequence in AWGNorthogonal Gold sequence in AWGN

04/21/23 30

0 2 4 6 8 10 12 14 16 18 2010

-4

10-3

10-2

10-1

100

Eb/N

0 [dB]

BE

RBER performance of DS-CDMA with orthogonal Gold sequence in AWGN

QPSK AWGN theory

Number of users = 1Number of users = 4

Number of users = 7

Page 31: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

BER performance of DS CDMA with BER performance of DS CDMA with m-sequence in Rayleigh fadingm-sequence in Rayleigh fading

04/21/23 31

0 2 4 6 8 10 12 14 16 18 2010

-3

10-2

10-1

100

Eb/N

0 [dB]

BE

RBER performance of DS-CDMA with M-sequence in Rayleigh fading

QPSK Rayleigh Fading theory

Number of users = 1Number of users = 4

Number of users = 7

Page 32: Khurram Masood 200806100 Code Division Multiple Access (CDMA) Transmission Technology Chapter 5 of Hiroshi Harada Book.

BER performance of DS CDMA with orthogonal BER performance of DS CDMA with orthogonal Gold sequence in Rayleigh fadingGold sequence in Rayleigh fading

04/21/23 32

0 2 4 6 8 10 12 14 16 18 2010

-3

10-2

10-1

100

Eb/N

0 [dB]

BE

RBER performance of DS-CDMA with orthogonal Gold sequence in Rayleigh fading

QPSK Rayleigh Fading theory

Number of users = 1Number of users = 4

Number of users = 7