Spread Spectrum: Wireless Networks Spring 2005
Spread Spectrum: Wireless Networks Spring 2005
Spread Spectrum: Wireless Networks Spring 2005
Wireless
Spread Spectrum
Input is fed into a channel encoder
o Produces analog signal with narrow bandwidth
Wireless
Spread Spectrum
On receiving end, digit sequence is used to demodulate the
spread spectrum signal
Signal is fed into a channel decoder to recover data
Wireless
Spread Spectrum
Wireless
Spread Spectrum
What can be gained from apparent waste of spectrum?
o Immunity from various kinds of noise and multipath
distortion
o Can be used for hiding and encrypting signals
o Several users can independently use the same higher
bandwidth with very little interference
Wireless
Wireless
Wireless
Wireless
Wireless
Wireless
Wireless
Wireless
Wireless
CDMA Example
If k=6 and code is a sequence of 1s and -1s
o For a 1 bit, A sends code as chip pattern
<c1, c2, c3, c4, c5, c6>
Su d = d1 c1 + d 2 c 2 + d 3 c3 + d 4 c 4 + d 5 c5 + d 6 c6
Wireless
CDMA Example
User A code = <1, 1, 1, 1, 1, 1>
o To send a 1 bit = <1, 1, 1, 1, 1, 1>
o To send a 0 bit = <1, 1, 1, 1, 1, 1>
Wireless
Wireless
PN Sequences
PN generator produces periodic sequence that appears to be
random
PN Sequences
o Generated by an algorithm using initial seed
o Sequence isnt statistically random but will pass many test of
randomness
o Sequences referred to as pseudorandom numbers or pseudonoise
sequences
o Unless algorithm and seed are known, the sequence is impractical to
predict
Wireless
Important PN Properties
Randomness
o Uniform distribution
Balance property
Run property
o Independence
o Correlation property
Unpredictability
Wireless
Wireless
Properties of M-Sequences
Property 1:
o Has 2n-1 ones and 2n-1-1 zeros
Property 2:
o 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:
o
o
o
o
o
Wireless
Properties of M-Sequences
Property 4:
o The periodic autocorrelation of a 1 m-sequence is
= 0, N, 2N, ...
1
R( ) = 1
otherwise
Wireless
Definitions
Correlation
o The concept of determining how much similarity one set of data has
with another
o Range between 1 and 1
1 The second sequence matches the first sequence
0 There is no relation at all between the two sequences
-1 The two sequences are mirror images
Cross correlation
o The comparison between two sequences from different sources rather
than a shifted copy of a sequence with itself
Wireless
Wireless
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 (Figure 7.16a) two shift registers
generate the two m-sequences and these are then bitwise
XORed
Wireless
Gold Sequences
Wireless
Orthogonal Codes
Orthogonal codes
o All pairwise cross correlations are zero
o Fixed- and variable-length codes used in CDMA systems
o For CDMA application, each mobile user uses one sequence in the set
as a spreading code
Provides zero cross correlation among all users
Types
o Walsh codes
o Variable-Length Orthogonal codes
Wireless
Walsh Codes
Set of Walsh codes of length n consists of the n rows of
an n n Walsh matrix:
o W1 = (0)
2n
W
n
=
W
n
Wn
Wn
Wireless
Wireless