Professional Documents
Culture Documents
2015 Ch5 Spread Spectrum
2015 Ch5 Spread Spectrum
Basic Approach
FHSS Performance
Basic Approach
• Advantages
– Attempts to jam the signal on one frequency only
knock out a few bits of it.
– Would-be eavesdroppers hear only unintelligible
blips
Basic Approach
Generate
spreading code
Basic Approach
[Problems]
1. How does the FH spreader work when we use
BPSK modulation? (How it move the signal
frequency to the selected frequency when BPSK is
used?)
Basic Approach
Basic Approach
[Problems]
2. How does the FH despreader work when we use
BPSK modulation? (How it move the signal
frequency back to the carrier frequency when
BPSK is used?)
Frequency-Hopping Spread Spectrum
Basic Approach
FHSS Performance
FHSS using MFSK
Slow FHSS
[Example 2] Using the same MFSK example.
M=4 and k=2. Wd=Mfd and Ws=2kWd.
However in this case, each signal element is
represented by two frequency tones. Then
Ts=2Tc=2T.
PN sequence
Input binary data
Frequency
Fast FHSS
• Another two example
time
Frequency
time
Frequency
Frequency-Hopping Spread Spectrum
Basic Approach
FHSS Performance
FHSS Performance
Input data 0 1 1 1 1 1 1 0 0 0 1 0
Time 12 13 14 15 16 17 18 19
Input data 0 1 1 1 1 0 1 0
Frequency f1 f3 f2 f2
PN sequence 001 001
[Example] The following table illustrates the operation
of an FHSS system for one complete period of the
PN sequence.
a. What is the period of the PN sequence?
b. The system makes use of a form of FSK, what form of FSK
is it?
c. What is the number of bits per symbol?
d. What is the number of FSK frequencies?
e. What is the length of PN sequence per hop?
f. Is this a slow or fast FH system?
g. What is the total number of possible hops?
Time 0 1 2 3 4 5 6 7 8 9 10 11
Input data 0 1 1 1 1 1 1 0 0 0 1 0
Time 12 13 14 15 16 17 18 19
Input data 0 1 1 1 1 0 1 0
Frequency f9 f1 f3 f3 f22 f11 f3 f3
011 001 001 001 110 011 001 001
PN sequence
Outline
DSSS Performance
DSSS Using BPSK
0 0 0 11 0 0 1 1 1 0 1
DSSS Using BPSK
DSSS Using BPSK
[Example]
DSSS Using BPSK
Direct Sequence Spread Spectrum
DSSS Performance
DSSS Performance
Basic Principles
• At the receiver
– If the receiver receives a chip pattern d=<d1 d2 d3
d 4 d 5 d 6>
– The receiver has user u’s code Cu=< c1 c2 c3 c4 c5
c6 >
– The receiver performs electronically the following
decoding function
Su (d ) d1 c1 d 2 c2 d 3 c3 d 4 c4 d 5 c5 d 6 c6
Code Division Multiple Access
• User A:
– If A wants to send a ‘1’ bit, A transmits its code as
a chip pattern d=< 1 -1 -1 1 -1 1>.
– If A wants to send a ‘0’ bit, A transmits the
complement of its code (1s and -1s reversed) as a
chip pattern d=<-1 1 1 -1 1-1>.
– The code for user A is c=CA= < 1 -1 -1 1 -1 1>
Code Division Multiple Access
• User A:
– If A sends a ‘1’ bit,
S A (1,1,1,1,1,1) 1 1 ( 1) (1) ( 1) (1)
1 1 ( 1) (1) 1 1 6
– If A sends a ‘0’ bit
S A (1,1,1,1,1,1) -1 1 1 (1) 1 (1)
(1) 1 1 (1) (1) 1 6
– Note that it is always the case that -6≤SA(d)≤6 no
matter what d is.
Code Division Multiple Access
Code Division Multiple Access
• User A:
• The only d’s resulting in the extreme values of
6 and -6 are A’s code and its complement
respectively.
– If SA produces a +6, received a 1 bit from A
– If SA produces a -6, received a 0 bit from A
– Otherwise we assume that someone else is sending
information or there is an error.
Code Division Multiple Access
Combined signal 2 0 -2 0 0 2
Receiver codeword 1 1 -1 -1 1 1
Multiplication 2 0 2 0 0 2 =6
Code Division Multiple Access
Combined signal 0 -2 0 2 -2 0
Receiver codeword 1 1 -1 -1 1 1
Multiplication 0 -2 0 -2 -2 0 = -6
Code Division Multiple Access
• Such code are very nice but there are not many
of them. More common is the case that S (C ) is
X Y
B (data bit = 1) 1 1 -1 -1 1 1
C (data bit = 0) -1 -1 1 -1 -1 1
Combined signal 0 0 0 -2 0 2
Receiver codeword 1 1 -1 1 1 -1
Multiplication 0 0 0 -2 0 2 =0
Code Division Multiple Access
• Spread spectrum
– Concept of spread spectrum
– FHSS
• Basic Approach
• FHSS with MFSK
• Performance
– DSSS
• Basic Approach
• DSSS with BPSK
• Performance
– CDMA
Code Division Multiple Access
Basic Principles
• Spreading code:
– There should be an approximately equal number of
ones and zeros in the spreading code.
– Few or no repeated patterns
– In CDMA application, further requirement of lack
of correlation
• Two general categories of spreading
sequences:
– PN sequences
– Orthogonal codes
Generation of Spreading Sequences
PN Sequences
Orthogonal Code
Multiple Spreading
Generation of Spreading Sequences
PN Sequences
PN Properties
LFSR implementation
M-Sequences Properties
PN Sequences
• PN properties:
– Randomness
• Two criteria are used to validate that a sequence
of numbers is random
– Uniform distribution
– Independence
– Unpredictability
PN Sequences
• Uniform distribution:
– The distribution of numbers in the sequence should
be uniform
– The frequency of occurrence of each of the
numbers should be approximately the same.
– For a stream of binary digits, we need to expand
on this definition.
PN Sequences
• Independence:
– No one value in the sequence can be inferred from
the others.
– No such test to “prove” independence
– A number of tests can be applied to demonstrate
that a sequence does not exhibit independence.
– General strategy is to apply a number of such tests
until confidence that independence exists is
sufficiently strong.
PN Sequences
PN Sequences
PN Properties
LFSR implementation
M-Sequences Properties
LFSR implementation
– Generator polynomial
P ( X ) A0 X 0 A1 X 1 A2 X 2 An1 X n1 X n
LFSR implementation
LFSR implementation
• Step-by-step operation of
the 4-bit LFSR with an
initial state of 1000
(B3=1, B2=0, B1=0,
B1=0).
The values that
The values currently The value of the
appear at the output
stored in the four shift output bit, which is B0
of the XOR circuit
register elements in this example.
LFSR implementation
PN Sequences
PN Properties
LFSR implementation
M-Sequences Properties
M-Sequences
PN Sequences
Orthogonal Code
Multiple Spreading
Orthogonal Code
• Orthogonal Code: a set of sequences in which all
pairwise cross correlations are zero.
• An orthogonal set of sequences is characterized by
the following equality:
M 1
k k 0
k 0
i j i j
Orthogonal Code
Walsh Codes
Orthogonal Code
Walsh Codes
PN Sequences
Orthogonal Code
Multiple Spreading
Multiple Spreading
• User A and D sent bit 1, user B sent bit 0, and user C keep
silence.
Review Questions
[Review Questions]