COM 12 SpreadSpectrum
COM 12 SpreadSpectrum
(Part 1)
by Erol Seke
BW
What is it? :
Making the frequency spectrum of a modulated signal occupy much wider band
than minimum required for the transmission of the information.
|X(f)|
f
>100BW
Why? :
By spreading the signal through a wider frequency spectrum, we
1. Make the signal harder to detect by unintended listeners.
2. Make the signal more robust against intentional or unintentional interference.
3. Obtain better time resolution in applications where the signal is used to
measure the delay in the channel.
4. Do MA (multiple access).
Multiple Access
TX1 RX1
TXN RXM
Multiple Access
FDMA (Frequency Division Multiple Access) TDMA (Time Division Multiple Access)
a time slot
f
t
TR1 TR2 TR3 TRN
available frequency band TR1 TR2 TR3 TRN
Transmitter 1 SS
Code1
Transmitter 2 SS
SS Receiver
Code2
Coden
Transmitter N SS
CodeN
f
used band
Unless the interference signal is both wide enough and powerful enough, spreading
provides good level of protection against intentional/unintentional attacks.
Spreading Methods
Hybrid Methods
A binary pulse and its mag-frequency spectrum
Carrier with fc is modulated with the random binary pulses ( + ambient noise)
fc
Unless you know its there, it is a lot difficult to detect its existence and jam transmission
Direct Sequence Spread Spectrum (DSSS)
binary stream
spectrum
modulation
spread spectrum
Despreading
Received Signal
LPF
modulator modulator
Binary data
Binary data
demodulator demodulator
Protection against narrowband interference
data
Spreading code
carrier
strong interference
coharent carrier
Spreading code
The PN sequences are deterministic, but have statistical properties similar to sampled white noise
1. Balance : The numbers of binary zeros and ones in the sequence differs by at most one.
2. Run : Half the runs are 1 chip, 1/4th of the runs are 2 chips, 1/8’th of the runs are 3 chips ...
3. Correlation : Numbers of matches and unmatches differ by at most one when the sequence
is chip by chip compared with its cyclic shifts
runs of ones
runs of zeros
Shift Register Type PN Sequence Generators
f ( x1 , x2 ,, xL ) c1 x1 c2 x2 cL xL
1 2 3 4 5 6 7 8 L PN sequence
Example
1 2 3 4 5 SSRG[5,3] PN sequence
0000101011101100011111001101001
L length feedback taps # m-sequences
Another Example with 4 Registers
Z 1 Z 1 Z 1 Z 1 Output
Modulo 2 adder
1 0 0 0
0 1 0 0
0 0 1 0
1 0 0 1
1 1 0 0
0 1 1 0
1 0 1 1
Cycle 0 1 0 1
1 0 1 0
1 1 0 1
1 1 1 0
1 1 1 1
0 1 1 1
0 0 1 1 We have all possible states for 4
0 0 0 1 registers (except 0000). Such a
1 0 0 0 sequence is called maximal length
Normalized Autocorrelation of PN Sequences
𝑇
𝑅 𝜏 = න 𝑥 𝑡 𝑥 𝑡 + 𝜏 𝑑𝑡
R=1.0
τ=0.0 0
R=0.79
τ=0.2
τ=0.4 R=0.57
normalized circular autocorrelation
τ=0.6 R=0.36
R(τ)/max(R(τ))
R=0.15
1
R=-0.07
R=-0.07 τ
R=-0.07 -0.07 1 15
…
R=-0.07
R=0.15
R=0.36
R=0.57
…
R=0.79
R=-0.07
…
Normalized Autocorrelation of PN Sequences
SSRG[10,3]
1 2 3 4 5 6 7 8 9 10
C/A code
SSRG[10,9,8,6,3,2]
1 2 3 4 5 6 7 8 9 10
1023 bits
plot(abs(ifft(abs(fft(O)).^2))/1024);
full correlation at =0 (truncated here) (Doesn’t look like ps of white noise! What is wrong? Hmw)
BPSK with DSSS
PN sequence
binary antipodal data
binary 1 => 1 x(t ) C
g (t )
binary 0 => -1 H
bit A
N
N
E
chip g (t Td ) L
M-ary FSK
M 2r or r log 2 M
0 1 0 0 1 1 0
data M-ary FSK
X FH/MFSK
modulator
BPF
PN code PN code
generator same
generator
Channel
Freq.
synthesizer
data
M-ary FSK
X
demodulator
BPF-2
Example Consider an 8-ary FSK communication system.
Apply FHSS with 8=23 hopping channels within 2.4-2.48 GHz ISM band.
8-ary FSK
fo
f (MHz)
2475
2465
2455
2445
2435
2425
2415
2405
t
010100110111000011101100010000110010101011110101010001111
Example binary stream
Q: Assume 2 khops/sec. What is the bit rate?
Dwell Time
f1 f2
bit duration
CDMA with FHSS
frequency
SN Sj Sk
0<İ,j,k,l,m,n≤N
S2 Si Sm
S1 Sn Sl
time
time slots
Bluetooth
2.4 - 2.4835 GHz ISM band is divided into 79 channels (1 MHz each plus some guarding)