Tutorial - Spread Spectrum1
Tutorial - Spread Spectrum1
Tutorial - Spread Spectrum1
2 Spread Spectrum
Example:
9.1 Assume we wish to transmit a 56-kbps data stream using spread spectrum.
Solution:
a) C = B log2 (1 + SNR).
Thus, to achieve the desired SNR, the signal must be spread so that 56 KHz is
carried in very large bandwidths.
log2 (1 + SNR) = 1.
2
Spread Spectrum Approaches are:
Examples:
Solution:
2. An FHSS system uses a 4-bit PN sequence. If the bit rate of the PN is 64 bits per
second, answer the following questions:
Solution:
a. 24 = 16 hops
4
3. A pseudorandom number generator uses the following formula to create a random
series:
Ni+1 =(5 +7Ni) mod 17-1
In which Ni defines the current random number and Ni +1 defines the next random
number. The term mod means the value of the remainder when dividing (5 + 7N i ) by
17. Find the random numbers.
Solution:
Solution:
Slow FHSS = multiple signal elements per hop; has Tc ³ Ts , (Tc = 2Ts = 4T).
Fast FHSS = multiple hops per signal element; has Tc < Ts , (Ts = 2Tc = 2T).
Examples:
1. (Q9.4) The following table illustrates the operation of FHSS system for one complete
period of the PN sequence.
Time 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Input data 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 0
Frequency f1 f3 f23 f22 f8 f10 f1 f3 f2 f2
PN sequence 001 110 011 001 001
6
a. What is the period of the PN sequence, in terms of bits in the 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 signal element (symbol)?
d. What is the number of FSK frequencies?
e. What is the length of a PN sequence per hop?
f. Is this a slow or fast FH system?
g. What is the total number of possible carrier frequencies?
h. Show the variation of the base, or demodulated, frequency with time.
Solution:
a) Period of the PN sequence is 15
b) MFSK
c) L = 2
d) M = 2L = 22 = 4
e) k = 3
f) Slow FHSS
g) 2k = 23 = 8
h) We have 4 FSK Frequencies (f0 – f3)
for f23 23 mod 4 = 3 So f23 = f3
Time 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Input data 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 0
Frequency f1 f3 f3 f2 f0 f2 f1 f3 f2 f2
2. (Q9.5) The following table illustrates the operation of FHSS system using the same
PN sequence as previous questions
Solution:
a) Period of the PN sequence is 15
b) MFSK
c) L = 2
d) M = 2L = 22 = 4
e) k = 3
f) FAST FHSS
g) 2k = 23 = 8
h) We have 4 FSK Frequencies (f0 – f3)
for f22 22 mod 4 = 2 So f22 = f2
Time 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Input data 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 0
Frequency f1 f3 f3 f2 f0 f2 f1 f3 f2 f2
Direct sequence spread spectrum: is a form of spread spectrum in which each bit in
the original signal is represented by multiple bits in the transmitted signal, using a
spreading code.
For an N-bit spreading code, the bit rate after spreading (usually called the chip rate) is
N times the original bit rate.
8
Figure 9.8 Direct Sequence Spread Spectrum Example
In Figure 9.9, the spreading code is 11 bits chip (Barker chip) with the pattern
10110111000 (in this case). If the original signal rate is N, the rate of the spread
signal is 11N. This means that the required bandwidth for the spread signal is 11
times larger than the bandwidth of the original signal.
9
Example:
We have a digital medium with a data rate of 10 Mbps. How many 64-kbps voice
channels can be carried by this medium if we use DSSS with the Barker sequence?
Solution:
The Barker chip is 11 bits, which means that it increases the bit rate 11 times.
Ø break each bit into k chips according to a fixed chipping code specific to
each user
Ø resulting new channel has chip data rate kD chips per second
Code division multiple access exploits the nature of spread spectrum transmission
to enable multiple users to independently use the same bandwidth with very little
interference.
CDMA allows multiple users to transmit over the same wireless channel using
spread spectrum. Each user uses a different spreading code. The receiver picks out
one signal by matching the spreading code.
10
Now imagine station 3, which we said is silent, is listening to station 2. Station 3
multiplies the total data on the channel by the code for station 2, which is
Example:
Consider a CDMA system in which users A and B have codes (-1 1-11-11-11) and
(-1-111-1-111) respectively.
(a) Show the output at the receiver if A transmits a data 1 and B does not transmit;
Solution:
(b) Show the output at the receiver if A transmits a data 0 and B does not transmit;
Solution:
11
(c) Show the output at the receiver if A transmits a data bit 1 and B transmits a data bit 1.
Assume the received power from both A and B is the same.
Solution:
(d) Show the output at the receiver if A transmits a data bit 0 and B transmits a data bit 1.
Assume the received power from both A and B is the same.
Solution:
(e) Show the output at the receiver if A transmits a data bit 1 and B transmits a data bit 0.
Assume the received power from both A and B is the same.
Solution:
(f) Show the output at the receiver if A transmits a data bit 0 and B transmits a data bit 0.
Assume the received power from both A and B is the same.
Solution:
12
(g) Show the output at the receiver if A transmits a data bit 1 and B transmits a
data bit 1. Assume the received power from B is twice the received power from
A. This can be represented by showing the received signal component from A as
consisting of elements of magnitude 1(+1, -1) and the received signal component
from B as consisting of elements of magnitude 2(+2, - 2).
Solution:
(h) Show the output at the receiver if A transmits a data bit 0 and B transmits a data
bit 1. Assume the received power from B is twice the received power from A.
Solution:
13