Lec.4.0.spread Spectrum
Lec.4.0.spread Spectrum
Transmission Technology
Chapter 5 of Hiroshi Harada Book
Khurram Masood
200806100
Outline
• Introduction
• Type of CDMA
– Averaging systems
– Avoidance systems
• Spreading code
– M-seuence
– Gold sequence
– Ortogonal Gold sequence
• Simulation and results
• 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
Prepared By Ibrahim AL-OBIDA 4/16
Code Division Multiple Access (CDMA)
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.
Pseudo-Noise Spreading
Advantages:
o Increased capacity
o Improved voice quality
o Eliminating the audible effects of multipath fading
o Enhanced privacy and security
o Reduced average transmitted power
o Reduced interference to other electronic devices
Disadvantages:
o Wide bandwidth per user required
o Precision code synchronization needed
Prepared By Ibrahim AL-OBIDA 14/16
Frequency Hopping Spread Spectrum (FHSS)
4/25/2018 22
Properties 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
4/25/2018 23
Advantages 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
4/25/2018 24
Gold 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
4/25/2018 25
Gold Sequences
4/25/2018 26
Orthogonal 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
4/25/2018 27
BER performance of DS CDMA with
m-sequence in AWGN
0
BER performance of DS-CDMA with M-sequence in AWGN
10
QPSK AWGN theory
Number of users = 1
Number of users = 4
-1 Number of users = 7
10
BER
-2
10
-3
10
-4
10
0 2 4 6 8 10 12 14 16 18 20
Eb/N0 [dB]
4/25/2018 28
BER performance of DS CDMA with
Gold sequence in AWGN
0
BER performance of DS-CDMA with Gold sequence in AWGN
10
QPSK AWGN theory
Number of users = 1
Number of users = 4
-1 Number of users = 7
10
BER
-2
10
-3
10
-4
10
0 2 4 6 8 10 12 14 16 18 20
Eb/N0 [dB]
4/25/2018 29
BER performance of DS CDMA with
orthogonal Gold sequence in AWGN
0
BER performance of DS-CDMA with orthogonal Gold sequence in AWGN
10
QPSK AWGN theory
Number of users = 1
Number of users = 4
-1 Number of users = 7
10
BER
-2
10
-3
10
-4
10
0 2 4 6 8 10 12 14 16 18 20
Eb/N0 [dB]
4/25/2018 30
BER performance of DS CDMA with
m-sequence in Rayleigh fading
BER performance of DS-CDMA with M-sequence in Rayleigh fading
0
10
QPSK Rayleigh Fading theory
Number of users = 1
Number of users = 4
Number of users = 7
-1
10
BER
-2
10
-3
10
0 2 4 6 8 10 12 14 16 18 20
Eb/N0 [dB]
4/25/2018 31
BER performance of DS CDMA with orthogonal
Gold sequence in Rayleigh fading
BER performance of DS-CDMA with orthogonal Gold sequence in Rayleigh fading
0
10
QPSK Rayleigh Fading theory
Number of users = 1
Number of users = 4
Number of users = 7
-1
10
BER
-2
10
-3
10
0 2 4 6 8 10 12 14 16 18 20
Eb/N0 [dB]
4/25/2018 32