The document discusses direct sequence spread spectrum signals. Direct sequence spread spectrum works by multiplying a data signal by a pseudo-random noise code signal at a higher rate using modulo-2 addition or multiplication. This spreads the bandwidth of the data signal. At the receiver, the received signal is multiplied by a synchronized copy of the pseudo-random noise code to de-spread the signal back to its original bandwidth for data recovery. Synchronization of the pseudo-random noise code between the transmitter and receiver is required for successful de-spreading and data recovery.
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Spread Spectrum Signals for Digital Communication: Direct Sequence Spread Binary PSK
1. Spread Spectrum Signals for Digital Communication
Manjunatha. P
manjup.jnnce@gmail.com
Professor
Dept. of ECE
J.N.N. College of Engineering, Shimoga
December 15, 2015
2. Overview Overview
Spread Spectrum Signals for Digital Communication
1 Model of Spread Spectrum Digital Communication System
2 Direct Sequence Spread Spectrum Signals
3 Frequency-Hopped Spread Spectrum Signals
4 CDMA
5 Time-hopping SS
6 Synchronization of SS systems
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 2 / 70
3. Generation of Pseudo Noise codes Generation of Pseudo Noise codes
Generation of Pseudo Noise codes
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 3 / 70
4. Generation of Pseudo Noise codes Generation of Pseudo Noise codes
Spread Spectrum Modulation (SSM) Background
Used in military for the past 50 years
Its commercial use started in 1980
Frequency Hopping: Invented in 1940 by Hedy Lamarr
Figure: Hedy Lamarr and George Antheil [1]
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 4 / 70
5. Generation of Pseudo Noise codes Generation of Pseudo Noise codes
Figure: Hedy Lamarr invention details [2]
Spread spectrum modulation was originally developed for military to be used in the battle ground and in
the hostile territories where the enemy always tries to intrude into the communication system of the
friendly forces to steal information and to jam the systems.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 5 / 70
6. Generation of Pseudo Noise codes Generation of Pseudo Noise codes
Definition: Spread spectrum is a means of transmission in which the signal
occupies a bandwidth in excess of the minimum necessary to send the information:
the band spread is accomplished by means of a code which is independent of the
data, and synchronized reception with the code at the receiver is used for
de-spreading and subsequent data recovery.
Applications and advantages of spread spectrum systems
Low density power spectra for signal (To avoid being detected.)
To prevent eavesdropping.
To prevent the jamming of signals.
Improved interference rejection
CDMA applications
Secure communication
High resolution ranging
Antijam capability
Increased capacity and spectral efficiency in some mobile-cellular pesonal
communication system applications
Lower cost of implementation
Readily available IC components
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 6 / 70
7. Generation of Pseudo Noise codes Generation of Pseudo Noise codes
A type of modulation in which the modulated signal bandwidth is much
greater than the message signal bandwidth.
The spreading of the message signal spectrum is done by a spreading code
called Pseudo Noise Code (PN Code) which is independent of the message
signal.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 7 / 70
8. Generation of Pseudo Noise codes Types of Spread Spectrum
Types of Spread Spectrum
Direct Sequence Spread Spectrum (DS/SS)
Frequency Hopping Spread Spectrum (FH/SS)
1 Slow Frequency Hopping Spread Spectrum
2 Fast Frequency Hopping Spread Spectrum
Time Hopping Spread Spectrum (TH/SS)
Hybrid spread spectrum methods
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 8 / 70
9. Spreading Codes Spreading Codes
Spreading Codes
Maximal length sequences
Good auto and cross correlation, small code set
Gold codes and Kasami sequences
Are derived from M-sequences with similar correlation properties, and a larger
code set.
Walsh and Hadamard sequences
zero correlation between codes when aligned cross-correlation non-zero when
time shifted fixed spreading factor (codes of different length are not
orthogonal)
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 9 / 70
10. Spreading Codes Spreading Codes
Pseudo Noise (PN) Sequence
Flip-Flop Flip-Flop
Flip-Flop
x1
x1
x3
x2
Output
Sequence
Modulo 2 adder
100, 110, 111, 011 101, 010, 001, 100,
0011101
N = 2m
− 1
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 10 / 70
11. Spreading Codes Spreading Codes
A pseudo noise (PN) sequence is defined as a coded sequence of 1s and 0s with a certain
autocorrelation properties.
The class of sequence used in spread spectrum communication is usually periodic.
The major tasks of PN sequences are:
1 Spreading the bandwidth of the modulated signal to the larger bandwidth.
2 Distinguishing between the different user signals utilizing the same transmission bandwidth.
The maximum length sequence is a type of cyclic code represents a commonly used PN sequence.
Flip-Flop Flip-Flop
Flip-Flop
x1
x1
x3
x2
Output
Sequence
Modulo 2 adder
Consider the initial state of the shift register is 100 (i.e, x1=1, x2=0 and x3=0).
Then, the succession of state will be as follows: 100, 110, 111, 011,101, 010, 001, 100
The output of the sequence (the last position of each of the shift register) is therefore 0011101. The
choice of initial state 100 is an arbitrary one.
Any of the other six states could serve equally well as an initial state.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 11 / 70
12. Spreading Codes Spreading Codes
1 Property 1: Balance Property
In each period of a maximum-length sequence, the number of 1s is always one more than the number of
0s.
2 Property2: Run Property
Among the runs of 1s and of 0s in each period of maximum-length sequence, one-half the runs of each
kind are of length one, one-fourth are of length two, one-eighth are of length three, and so on as long as
these fractions represent meaningful numbers of runs
3 Property3: Autocorrelation property
The autocorrelation function of a maximum-length sequence is periodic and binary valued.
Property3: Autocorrelation property
It is a measure of similarity between a signal f (t) and τ second time-shifted replica of itself.
The autocorrelation function is plot of autocorrelation over all shifts (−t) of the signal.
Autocorrelation Ra(τ) in general is defined as:
Ra(τ) =
∞
Z
−∞
f (t)f (t − τ)dt
The autocorrelation function of a maximum length sequence is periodic and binary valued. This property is
called as correlation property.
Rc (τ) =
1
L
L−1
X
i=0
Ci ∗ C(i+τ) mod L τ = 0, 1, . . . L − 1
If symbol 1 and 0 are represented by +1 volt and -1 volt then autocorrelation has only two values.
Rc (τ) =
1 for τ = kL k = 0, 1, 2, ...
− 1
L for τ 6= kL k = 0, 1, 2, ...
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 12 / 70
13. Spreading Codes Spreading Codes
Flip-
Flop
Flip-
Flop
Flip-
Flop
x4
x3
x2
Output
Sequence
Modulo-2
adder
Flip-
Flop
x1
1000, 0100, 0010, 1001, 1100, 0110, 1011, 0101, 1010, 1101, 1110, 1111,
0111, 0011, 0001, 1000,
000100110101111
N = 2m
− 1
000100110101111
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 13 / 70
15. Spreading Codes Gold codes
Gold codes
Combining two m-sequences creates Gold codes.
Gold sequences are an important class of sequences that allow construction of
long sequences with three valued Auto Correlation Function ACFs.
Gold sequences are constructed from pairs of preferred m-sequences by
modulo-2 addition of two maximal sequences of the same length.
Gold sequences are in useful in non-orthogonal (asynchronous) CDMA.
The use of Gold sequences permits the transmission to be asynchronous.
The receiver can synchronize using the auto-correlation property of the Gold
sequence.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 15 / 70
16. Spreading Codes Walsh Codes
Walsh Codes
There is a simple method on how to generate a form of orthogonal Walsh
codes.
H0 =
1 1
1 −1
Hk =
Hk−1 Hk−1
Hk−1 −Hk−1
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 16 / 70
18. Notion of spread spectrum Notion of spread spectrum
Data b(t)
Spreading Code c(t)
Product Signal m(t)
Tb
NTc
0 0 1 1 1 0 1
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 18 / 70
19. Direct Sequence Spread Binary PSK Direct Sequence Spread Binary PSK
Direct Sequence Spread Binary PSK
Phase
modulator
0
2 cos( ( ))
P w t t
θ
+
( )
c t
0
2 cos( )
P w t
Binary
Data
0
2 cos( ( )
( )
)
P w t
c t t
θ
+
Band pass
filter
0
2 cos( )
P w t
Despreading
Mixer
( )
d
c t T
−
0
( )
2 cos( (
) )
( )
d d
P w t i
t
c t T T t
θ
− + +
−
Phase
demodulator
Estimated
data
Figure: DSS Transmitter
Phase
modulator
0
2 cos( ( ))
P w t t
θ
+
( )
c t
0
2 cos( )
P w t
Binary
Data
0
2 cos( ( )
( )
)
P w t
c t t
θ
+
Band pass
filter
0
2 cos( )
P w t
Despreading
Mixer
( )
d
c t T
−
0
( )
2 cos( (
) )
( )
d d
P w t i
t
c t T T t
θ
− + +
−
Phase
demodulator
Estimated
data
Figure: DSS Receiver
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 19 / 70
20. Direct Sequence Spread Binary PSK Direct Sequence Spread Binary PSK
Figure: (a) m(t)=c(t).b(t) (b)Carrier (c) DS-BPSK signal
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 20 / 70
21. Direct Sequence Spread Binary PSK Direct Sequence Spread Binary PSK
Figure: Bandwidth
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 21 / 70
22. Model of Spread Spectrum Digital Communication Model of Spread Spectrum Digital Communication
Model of Spread Spectrum Digital Communication
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 22 / 70
23. Model of Spread Spectrum Digital Communication Model of Spread Spectrum Digital Communication
The channel encoder and decoder and the modulator and demodulator are the basic elements of the
system.
There are two identical pseudorandom pattern generator one with modulator at the transmitting end
and a second with the demodulator at the receiving end.
The synchronization of the PN sequence generated at the receiver with the PN sequence contained in
the incoming received signal is required in order to demodulate the received signal
Channel
Encoder
Channel
Channel
Decoder
PN
sequence
generator
Modulator
PN
sequence
generator
Information
sequence
Output
Demodulator
k bits
m bits
Figure: Model of spread spectrum communication system
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 23 / 70
24. Direct sequence spread spectrum signals Direct sequence spread spectrum signals
Direct sequence spread spectrum signals
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 24 / 70
25. Direct sequence spread spectrum signals Direct sequence spread spectrum signals
PN
Generator
Mod-2
adder
Balanced
Modulator
PN
Generator
Mod-2
adder
Balanced
Modulator
Encoder
Local
oscillator
Adder
QPSK
signal
( )
cos 2 c
f t
π
( )
sin 2 c
f t
π
Data
Figure: Direct sequence spread spectrum QPSK modulator
The message bits are modulo-2 added by PN sequence and if
bi is the ith bit of the PN sequence and ci is the corresponding
bit from the encoder, the modulo-2 sum is
ai = bi ⊕ ci
From this, ai = 0 when bi = ci and ai = 1 when bi 6= ci .
The sequence ai is mapped into a binary PSK signal of the
form s(t) = ±Re[g(t)ej2πfc t
] as follows:
gi (t) =
g(t − iTc ) (ai = 0)
−g(t − iTc ) (ai = 1)
s(t) = ±Re[g(t)e
j2πfc t
] [e
±jx
= cosx ± jsinx] Figure: Illustrates the spreading process
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 25 / 70
26. Direct sequence spread spectrum signals Direct sequence spread spectrum signals
The modulo-2 addition can also be implemented by multiply-
ing two waveforms as follows. The coded sequence is multip-
ied by
ci (t) = (2ci − 1)g(t − iTc )
pi (t) = (2bi − 1)p(t − iTc )
where p(t) is the rectangular pulse of duration Tc . The
equivalent low pass transmitted signal for the ith
code is
gi (t) = pi (t)ci (t)
= (2bi − 1)(2ci − 1)g(t − iTc )
Figure: Illustrates the spreading process
1 0
1
1
1
1
1
1
1 0
0
0
0
0
0 0
Message
Modulated
Message
Spread
Message
Figure: Illustrates the spreading process
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 26 / 70
27. Direct sequence spread spectrum signals Direct sequence spread spectrum signals
The received equivalent low pass signal for the ith
code is
ri (t) = pi (t)ci (t) + z(t)
= (2bi − 1)(2ci − 1)g(t − iTc ) + z(t)
where z(t) represents the interference or jamming
signal.
Matched
filter
Sample
Chip-rate
clock
PN code
generator
2 1
i
b −
( )
r t To dcoder
Chip-rate
clock
( )
r t To dcoder
PN code
generator
Sample
0
()
c
T
dt
∫
*( )
g t
( )
i
p t
Sample
Chip-rate
clock
PN code
generator
2 1
i
b −
( )
r t To dcoder
0
()
c
T
dt
∫
*( )
g t
Figure: DSSS Demodulator
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 27 / 70
28. Direct sequence spread spectrum signals Direct sequence spread spectrum signals
Consider an information rate to the encoder is R bits/s and the available
channel bandwidth is W Hz.
The reciprocal of the R denoted by Tb, i.e., Tb = 1/R defines the duration of
a pulse corresponding to the transmission time of an information bit.
The PN code is at a rate of W times/s. The reciprocal of the W denoted by
Tc , defines the duration of a pulse, which is called chip, Tc is called chip
interval.
The bandwidth expansion factor W /R may be expressed as
Be =
W
R
=
Tb
Tc
(1)
In practical system the ratio Tb/Tc is an integer,
Le =
Tb
Tc
(2)
which is the number of chips per information bit.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 28 / 70
29. Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)
Code Division Multiple Access (CDMA)
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 29 / 70
30. Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)
CDMA
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 30 / 70
31. Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 31 / 70
32. Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 32 / 70
33. Code Division Multiple Access (CDMA) Code Division Multiple Access (CDMA)
CDMA
Forward
Link
Reverse
Link
Mobile Station Base Station
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 33 / 70
34. Code Division Multiple Access (CDMA) CDMA
Initially adopted in North America, Proposed by Qualcomm, standardized as IS-95 by
Telecommunication Industry Association (TIA) for use in 800 MHz and 1900 MHz freq bands
Base station to Mobile (Forward (Down)link ) and mobile to BS (Reverse (UP) link) channel bandwidth
is of 1.25 M Hz.
Both forward and reverse links are DS spread having a chip rate of 1.2288X106
chips per second.
Forward Link
CELP coder generates a variable data rate of 9600, 4800, 2400, and 1200 bits/s, (based speech activity)
in the frame of 20 ms.
Data is encoded by a rate of 1/2, constraint length K=9 convolutional encoder.
For lower speech activity 4800, 2400, or 1200 bits/s the output symbols from the convolutional encoder
are repeated either twice, four times, or eight times so as to maintain a constant bit rate of 9600 bits/s.
Block interleaver is used to overcome the effects of burst errors that may occur during the transmission
through the channel.
Scrambler is used for Data Encryption to make call more secure.
Scrambler will randomizes data and prevents the transition of a long series of 1’s or 0’s
Block interleaver data rate of 19.2 kbps are scrambled by multiplication with long code with chip rate of
1.2288 M chips/s and is decimated by factor of 64 to 19.2 kchips/s.
The long code is used to identify a call of a MS on the forward and reverse links.
Hadmard or Walsh code sequence of length 64 is assigned to each channel.
64 orthogonal sequences are assigned to each BS (64 Channels), One channel is used to transmit pilot
signal, which is used measure the channel characteristics (includes signal strength and the carrier phase
offset).
Another channel is used to provide time synchronization. one channel for paging activity.
Remaining 61 channels for user.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 34 / 70
35. Code Division Multiple Access (CDMA) CDMA
Figure: Block diagram of IS-95 forward link
Each user data is multiplied by Hadmard sequence, the resulting sequence is spread by two PN
sequences one in-phase and other in quadrature phase of length N = 215
.
Different BS are identified by different offsets of these PN sequences.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 35 / 70
36. Code Division Multiple Access (CDMA) CDMA
D0 D5
D4
D3
D2
D1 D8
D7
D6
Possible
rates
9600 bps
4800 bps
2400 bps
1200 bps
9 Element Shift Register
XOR
XOR
752 octal
=111101011
561 octal
=101110001
G0 G1
Figure: Convolution Encoder rate 1/2 (r=input bits/output bits)
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 36 / 70
37. Code Division Multiple Access (CDMA) Reverse Link
Reverse Link
Figure: Block diagram of IS-95 reverse link
Orthogonal Modulation
6 bit block of data is mapped into 64 Hadamard seq = (64/6) ∗ 28.8 = 307.8
64-ary orthogonal modulation using the same Walsh function in the forward link
Contrary to the forward link, used for orthogonal data modulation
One Walsh function is transmitted for six coded bits
Modulated symbol rate: 28.8kbps ∗ 64chips/6codedbits = 307.2kcps
Increase interference tolerance
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 37 / 70
38. Code Division Multiple Access (CDMA) Processing Gain and Jamming Margin
Processing Gain and Jamming Margin: Some Basic Relations:
Information rate (Data rate) is R bits/s ∴ Bit duration Tb = 1/R
PN code generator data rate is W times/s ∴ Chip duration Tc = 1/W
Signal energy per bit Eb = Pav Tb = Pav /R
The average jamming power (Jav )is Jav = J0W where J0 PSD of jamming signal ∴ J0 = Jav /W
Eb
J0
=
Pav /R
Jav /W
=
W /R
Jav /Pav
=
PS /R
PI /W
=
W /R
PI /PS
Pav /Jav is the jamming to signal power ratio which is greater than unity, Jav /Pav is jamming margin.
The ratio W /R = Tb/Tc = Be = Lc is the bandwidth expansion factor or number of chips per info bit
is called processing gain.
Rc dmin is the coding gain and all these are related by:
(SNR)dB = (W /R)dB + (Rc dmin)dB − (Jav /Pav )dB
Probability of error for binary signaling system is
P2 = Q
s
2Eb
J0
= Q
s
2W /R
Jav /Pav
!
Pe =
1
2
erfc
s
Eb
N0
and erfc(u) = 1 − erf (u)
If there are Nu simultaneous users then the desired signal-to-nose interference ratio at a given receiver is
(Pav = PS Jav = PN )
PS
PN
=
PS
(Nu − 1)PS
=
1
Nu − 1
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 38 / 70
41. Code Division Multiple Access (CDMA) Problems
13.5 A rate of 1/2 convolutional code with dmin = 10 is used to encode a data sequence occuring at
a rate of 1000 bits/s. The modulation is binary PSK. The DS spread spectrum sequence has a chip rate
of 10 MHz
a) Determine the coding gain
b) Determine the processing gain
c) Determine the Jamming margin assuming an Eb/J0 = 10
Solution:
a) The Coding gain is
Rc dmin = 1/2 ∗ 10 = 5 = 10log(5) = 6.989 db
b) The processing gain is W /R
W
R
=
107
2 ∗ 103
= 5 ∗ 10
3
= 10log(5 ∗ 10
3
) = 37 db
c) The Jamming margin is
Pav
Jav
=
(W /R)(Rc dmin)
(Eb/J0)
db
Pav
Jav
= (W /R)dB + (CGdB ) − (Eb/J0)dB
= 37 + 7 − 10 = 34dB
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 41 / 70
42. Code Division Multiple Access (CDMA) Problems
13.6 A total of 30 equal-power users are to share a common communication channel by CDMA. Each
user transmits information at a rate of 10 kbps via DS spread spectrum and binary PSK. Determine the
minimum chip rate in order to obtain a bit-error probability of 10−5
. Additive noise at the receiver may
be ignored in this computation.
Solution:
Pe = 10
−5
=
1
2
erfc
s
Eb
N0
∴ erfc
s
Eb
N0
= 2 ∗ 10
−5
erf (u) = 1 − erfc(u) = 1 − 2 ∗ 10
−5
= 0.99998
From the error function table u =
p
Eb/N0 = 3.0 for a value of 0.99998
u =
s
Eb
N0
' 3.0 ∴ Eb/N0 = 9
To achieve an error probability of 10−5
, the required Eb/J0 = 10 Then, by using the relation in and we have
W /R
PN /PS
=
W /R
Nu − 1
=
Eb
J0
∴ W /R =
Eb
J0
(Nu − 1)
W = R
Eb
J0
(Nu − 1)
R = 104
bps, Nu = 30 and Eb/J0 = 10
W = 10
4
∗ 10 (30 − 1) = 2.9 ∗ 10
6
Hz
The minimum chip rate is 1/Tc = W = 2.9 ∗ 106
chips/sec
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 42 / 70
43. Code Division Multiple Access (CDMA) Problems
13.7 A CDMA system is designed based on DS spread spectrum with a processing gain of 1000 and binary
PSK modulation. Determine the number of users, if each user has equal power and the desired level of
performance is an error probability of 10−6
. Repeat the computation if the processing gain is changed to 500.
Solution:
Pe = 10
−6
=
1
2
erfc
s
Eb
N0
i.e., 2 ∗ 10
−6
= erfc
s
Eb
N0
erfc(u) = 2 ∗ 10
−6
From the complementary error function table u =
p
Eb/N0 ' 3.36 for a value of 2 ∗ 10−6
∴ Eb/N0 = 11.3
Then, the number of users of the CDMA system is
Nu =
W /Rb
Eb/J0
+ 1
Nu =
W /Rb
Eb/J0
+ 1 = Nu =
1000
11.3
+ 1 = 89 users
If the processing gain is reduced to W /Rb = 500,then
Nu =
500
11.3
+ 1 = 45 users
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 43 / 70
44. Code Division Multiple Access (CDMA) Problems
13.8 A DS spread-spectrum system transmits at a rate of 1000 bps in the presence of tone interference. The
interference power is 20 dB greater than the desired signal and the required to achieve satisfactory
performance is 10 dB.
a Determine the spreading bandwidth required to meet the specifications.
b In the case of pulse interference, determine the pulse duty cycle that results in worst-case
performance and the corresponding probability of error.
Solution:
a (PJ /PS )dB = 20dB R = 1000 bps and (Eb/J0)dB = 10dB
W
R
db
=
PJ
PS
db
+
Eb
J0
db
= 30dB
W
R
= 1000
W = 1000R = 1000 ∗ 1000 = 10
6
Hz
b The duty cycle of pulse jammer for worst - case jamming is
α=
0.7
Eb/J0
=
0.7
10
= 0.07
The corresponding probability of error for this works case jamming is
P2=
0.082
Eb/J0
=
0.082
10
= 8.2 ∗ 10
−3
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 44 / 70
45. Code Division Multiple Access (CDMA) Problems
13.9 CDMA system consists of 15 equal power users that transmit information at a rate of 10,000 bits/s, each
using a DS spread spectrum signal operating at a chip rate of 1 MHz. The modulation is binary PSK.
a) Determine the Eb/Jo where Jo is the spectral density of the combined interference.
b) What is processing gain?
c) How much should the processing gain be increased to allow for doubling the number of users without
affecting the output SNR?
Solution:
a) We have Nu = 15 users transmitting at a rate of 10, 000 bps each, in a bandwidth of W = 1 MHz
The Eb/J0 is
Eb
J0
=
W /R
Nu − 1
=
106
/104
14
=
100
14
= 7.14(8.54dB)
b) Processing gain PG = Wc
Rb
1Mbps
10Kbps = 100
c) With Nu = 30 and Eb/J0 = 7.14, the processing gain should be increased to
W /R = (7.14)(29) = 207
Hence, the bandwidth must be increased to W = 2.07MHz
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 45 / 70
46. Code Division Multiple Access (CDMA) Problems
13.14 An m=10 ML shift register is used to generate the pseudorandom sequence in a DS SS. The chip
duration is Tc = 1microsec and the bit duration is Tb = NTc where N is the length of the m sequences
1 Determine the processing gain of the system in dB
2 Determine the jamming margin if the required E − b/J0 = 10 and the jammer is tone jammer with an
average power Jav
Solution:
1 The period of the maximum length shift register sequence is
N = 2
10
− 1 = 1023
Since Tb = NTc , then the processing gain is
N
Tb
Tc
= 1023(30dB)
2 According to jamming margin is
Jav
Pav dB
=
W
R dB
−
Eb
J0 dB
= 30-10 = 20dB
where Jav = J0W ≈ J0/Tc = J0 ∗ 106
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 46 / 70
47. Code Division Multiple Access (CDMA) Problems
13.15 An FH binary orthogonal FSK system employs a m = 15 stage linear feedback shift register that
generates a maximal length sequence. Each state of the shift register selects one of N nonoverlapping
frequency bands in the hopping pattern. The bit rate is 100 bits/sec and the hop rate is once/bit. The
demodulator employs noncoherent detection.
1 Determine the hopping bandwidth for this channel.
2 What is the processing gain?
3 What is the probability of error in the presence of AWGN?
Solution:
1 The length of the shift-register sequence is
L = 2
m
− 1 = 2
15
− 1 = 32767 bits
For binary FSK modulation, the minimum frequency separation is 2/T, where 1/T is the symbol (bit)
rate. The hop rate is 100 hops/ sec. Since the shift register has N = 32767 states and each state
utilizes a bandwidth of 2/T = 200 Hz, then the total bandwidth for the FH signal is 6.5534 MHz.
2 The processing gain is W/R. We have,
W
R
=
6.5534 ∗ 106
100
= 6.5534 × 10
4
bps
3 If the noise is AWG with power spectral density N0, the probability of error expression
P2 = Q
s
Eb
N0
= Q
s
W /R
PN /PS
!
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 47 / 70
48. Code Division Multiple Access (CDMA) Problems
13.16 Consider the FH binary orthogonal FSK system described in Problem 13.15. Suppose that the hop rate
is increased to 2 hops/bit. The receiver uses squarelaw combining to combine the signal over the two hops.
1 Determine the hopping bandwidth for the channel.
2 What is the processing gain?
3 What is the error probability in the presence of AWGN?
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 48 / 70
49. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Frequency Hopping Spread Spectrum Modulation
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 49 / 70
50. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
The type of spread spectrum in which
carrier hops randomly from one frequency
to another is called Frequency Hop (FH)
spread spectrum.
Frequencies are shifted for every Tc
seconds.
Duration of signal element is Tb seconds.
FH/SS are of two types:
1 Slow Frequency Hopping (SFH):
2 Fast Frequency Hopping (FFH):
Data
modulator
d
BW W
=
0
2 cos( )
P w t
Binary
Data
Band pass
filter
0
2 cos( )
P w t
Phase
demodulator
Estimated
data
Frequency
synthesizer
Code
gnerator
FH code
clock
High
pass
filter
s
BW W
=
Frequency
synthesizer
Code
gnerator
FH code
clock
s
BW W
=
d
BW W
=
Figure: Transmitter
Data
modulator
d
BW W
=
0
2 cos( )
P w t
Binary
Data
Band pass
filter
0
2 cos( )
P w t
Phase
demodulator
Estimated
data
Frequency
synthesizer
Code
gnerator
FH code
clock
High
pass
filter
s
BW W
=
Frequency
synthesizer
Code
gnerator
FH code
clock
s
BW W
=
d
BW W
=
Figure: Receiver
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 50 / 70
51. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Slow Frequency Hopping (SFH):
In slow frequency hopping the symbol rate of the input signal is an integer multiple of the frequency
hopping rate.
That is several symbols are transmitted on each frequency hop.
Slow FHSS has Tc ≥ Tb
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 51 / 70
52. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Slow Frequency Hopping (SFH):
Number of bits per MFSK symbol = 2 ⇒ M = 4
Rs = Rb/2 Rc = max(Rh, Rs) = Rs
Length of PN segment per hop = 3 Total number of frequency hops = 23
= 8
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 52 / 70
53. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Slow Frequency Hopping (SFH):
Number of bits per MFSK symbol = 2 ⇒ M = 4
Rs = Rb/2 Rc = max(Rh, Rs) = Rs
Length of PN segment per hop = 3 Total number of frequency hops = 23
= 8
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 53 / 70
54. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Fast Frequency Hopping (FFH):
In fast frequency hopping the frequency hopping rate is an integer multiple of the input symbol rate.
That is the carrier frequency will change or hop several times during the transmission of the one symbol.
Fast FHSS has Tc Tb.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 54 / 70
55. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Fast Frequency Hopping (FFH):
Number of bits per MFSK symbol = 2 ⇒ M = 4
Rs = Rb/2 Rc = max(Rh, Rs) = Rh
Length of PN segment per hop = 3 Total number of frequency hops = 23
= 8
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 55 / 70
56. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Encoder
FSK
modulator
Mexer Channel Mexer
FSK
demodulator
Decoder
PN
sequence
generator
Frequency
synthesizer
Frequency
synthesizer
PN
sequence
generator
Time
sync
Information
sequence
Output
Figure: Block diagram of FH spread spectrum system
The initial modulation is usually binary or M-ary FSK.
FSK signal is translated by random frequency which is synthesized by frequency synthesizer from PN
codes.
Synthesized frequency is mixed with the output of the modulator.
The m bits from the PN generater will generate 2m
− 1 frequencies.
At the receiver an identical PN generator will generate m bits and these m bits will be used synthesize
corresponding 2m
− 1 frequencies.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 56 / 70
57. Frequency Hopping Spread Spectrum Modulation Frequency Hopping Spread Spectrum Modulation
Encoder Channel Decoder
PN
sequence
generator
Frequency
synthesizer
Frequency
synthesizer
PN
sequence
generator
Time
sync
Information
sequence
Output
Demodulator
k bits
m bits
Figure: Block diagram of an independent tone FH spread spectrum system
Independent tone hopping is less vulnerable to some jamming strategies.
In this m bits from the PN generator and the k bits are used to specify the frequency slot.
Synthesized frequency is mixed with the output of the modulator.
The FH rate is usually equal to or faster than symbol rate.
If there multiple hops it is called as fast hopped FHSS and if the hopping is performed at symbol rate is
called slow FHSS.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 57 / 70
58. Time Hopping Spread Spectrum Modulation Time Hopping Spread Spectrum Modulation
Time Hopping Spread Spectrum Modulation
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 58 / 70
59. Time Hopping Spread Spectrum Modulation Time Hopping Spread Spectrum Modulation
Encoder
Buffer
Innterleaver
Gate Gate
PSK
demodulator
PN
sequence
generator
PN
sequence
generator
Information
sequence
Output
Channel
PSK
modulator
Decoder
Time
sync
Buffer
Innterleaver
Figure: Block diagram of an independent tone FH spread spectrum system
In time hop (TH) a time interval which is selected to be much larger than the reciprocal of the
information rate.
The coded information are transmitted in pseudorandomly selected time slot as a block of one or more
code words.
The PSK modulation is used to transmit the coded bits.
Because of the burst characteristics buffer storage is used at the transmitter.
Buffer storage is used at the receiver to provide a uniform data stream to the user.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 59 / 70
60. Time Hopping Spread Spectrum Modulation Time Hopping Spread Spectrum Modulation
Fast Frequency Hopping (FFH):
In an FH system an FH tone of short duration is referred as a chip.
The chip rate Rc for an FH system is defined by:
Rc = max(Rh, Rs )
where Rh is the hop rate and Rs is symbol rate
Let J be the average Jammers signal over the entire frequency hopped spectrum of bandwidth Wc Hz,
then the average power spectral density N0/2 of the equivalent AWGN is:
N0
2
=
1
2
J
Wc
N0 =
J
Wc
Thus, the average energy E to noise density ratio is
E
N0
=
P/J
Wc /RS
Where P/J is reciprocal of the jamming margin
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 60 / 70
62. Synchronization Synchronization
Synchronization
In spread spectrum system, de-spreading is done in order to retrieve the
message signal. [3, 4, 5, 6].
In order to de-spread the received signal, the locally generated receiver
spreading code must be in synchronous to the transmitter spreading code.
Time synchronization of the receiver to the received spread-spectrum signal
may be achieved in two distinct phases:
1 Initial Acquisition (Coarse synchronization).
2 Tracking (Fine synchronization).
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 62 / 70
63. Synchronization Phase for Direct sequence spread spectrum:
Phase for Direct sequence spread spectrum:
The initial synchronization is the one in which synchronize the receiver clock to the transmitter clock.
There is always an initial timing uncertainty that is due to propagation delay in the transmission of the
signal through the channel.
The initial synchronization is achieved by transmitting a known pseudorandom sequence to the receiver.
The receiver is continuously in a search mode looking for this sequence in order to establish initial
synchronization.
Suppose that the initial timing uncertainty is Tu seconds and the chip duration is Tc .
Dwell time Td = NTc is required to test synchronism at each time instant.
If the search over the time uncertainty interval in (coarse) time steps of Tc /2, then the time required to
establish initial synchronization is
Tinit sync =
Tu
Tc /2
NTc = 2NTu
The transmitted sequence must be at least as long as 2NTu in order to perform necessary search .
Rc
(t)
0 0 1 1 1 0 1 0 0 1 1 1 0 1
Tc NTc
Tc
Tc
Figure: Plot of correlation.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 63 / 70
64. Synchronization Carrier Synchronization
Serial Search sliding correlator:
The correlator cycles in Tc /2 discrete-time intervals.
The crosscorrelation is performed over NTc interval
where N is the number of chips, and the correlator output is
compared with a threshold to determine if the known signal
sequence is present.
If the threshold is not exceeded, the known reference se-
quence is advanced by Tc /2 sec and the correlation process
is repeated.
These operations are performed until a signal is detected.
Consider a BPSK modulated DS-SS signal
v(t) = g(t)s(t) =
p
2Ps g(t)d(t) cos w0t
where g(t) is spreading code, d(t) binray baseband data and
w0 is IF carrier frequency During initial synchronization, the
baseband data signal is set to constant value d(t)=1.
v(t) =
p
2Ps g(t) cos(w0t + θ)
Prior to acquisition, the transmit and receive PN codes are
not in synchronism, that is, the time position of the chip
patterns is not aligned. The output of the multiplier is given
by
vr (t) = vi (t).g(t − iTc )
=
p
2Ps g(t) cos(w0t + θ).g(t − iTc )
PN Code
generator
Threshold
Detector
Search
control
clock
Received
Signal
( )
0
Tc
dt
λ
∫
Integrator
( )
c
g t iT
−
0
2 ( ) ( )cos( )
s
P g t d t w t θ
+
( )
r
v t
Figure: A sliding correlator.
The repetitive trial-and-error process eventually
leads to a state in which the received chipped
signal g(t) is aligned with g(t − iTc ) that is, the
relative shift.
g(t).g(t − iTc ) = g(t).g(t − 0.Tc ) = 1
This is the received ”pilot” signal is despread
and becomes
vr (t) =
p
2Ps cos(w0t + θ)
The integrator output transfers the complete re-
ceived signal power to the envelope detector.
This leads to a high comparator output state,
and acquisition or crude synchronization is now
established.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 64 / 70
65. Synchronization Symbol Synchronization
Tracking:
The tracking maintains the PN code generator at the receiver in synchronism with the received signal
i.e., fine-chip synchronization.
In this tracking loop, the received signal is applied to two multipliers, where it is multiplied by two
outputs from the local PN code generator which are delayed relative to each other by an amount of
2δ ≤ Tc
The product signals are the crosscorrelations between the received signal and the PN sequence at the
two values of delay.
vD (t) =
p
2Ps d(t)g(t)g(t+τ−Tc /2) cos(w0t+θ) vA(t) =
p
2Ps d(t)g(t)g(t+τ+Tc /2) cos(w0t+θ)
vDF (t) =
p
2Ps d(t) cos(w0t+θ)[g(t)g(t + τ − Tc /2)] vAF (t) =
p
2Ps d(t) cos(w0t+θ)[g(t)g(t + τ + Tc /2
Bandpass
Filter
Local
oscillator
VCO
Envelope
detector
Loop
Filter
Received
Signal
PN code
generator
Advance by
δ
Retard by
δ
Bandpass
Filter
Envelope
detector
To demodulator
+
−
( )
y t
( / 2)
c
g t T
τ
+ −
( / 2)
c
g t T
τ
+ +
A
V
D
V DF
V
AF
V
0
( ) 2 ( ) ( )cos( )
i s
v t P g t d t w t θ
= +
Figure: Simple PLL.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 65 / 70
66. Synchronization Symbol Synchronization
The average value of the product of the received PN sequence and a shifted version of the same
sequence is the autocorrelation function defined by
Rg (τ ± Tc /2) = g(t).g(t + τ ± Tc /2)
The envelope detectors extract the envelopes of and and removes the data . Then
VD (t) = |Rg (τ − Tc /2)| VA(t) = |Rg (τ + Tc /2)|
The input to VCO is y(t) given by
y(t) = |Rg (τ − Tc /2) − Rg (τ + Tc /2)|
If τ is positive, a positive voltage appears at the VCO input and the VCO frequency is increased.
This increased VCO frequency reduces τ.
For negative values of τ a negative y(t) voltage is generated at the VCO input decreasing the VCO rate
and thereby increasing τ .
0
| ( / 2) |
g c
R T
τ −
| ( / 2) |
g c
R T
τ
− +
c
T
2
c
T
2
− c
T
c
T
c
3T
2
c
3T
2
− τ
( ) | ( / 2) | | ( / 2) |
g c g c
y t R T R T
τ τ
= − − +
c
3T
2
c
T
2
c
T
2
−
c
3T
2
− τ
Figure: Autocorrelation function and tracking error signal for DLL.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 66 / 70
67. Synchronization Symbol Synchronization
Tau-dither loop (TDL):
Tau-dither loop (TDL), employs only a single “arm” instead of the two “arms”.
In this case, the crosscorrelator output is regularly sampled at two values of delay, by stepping the code
clock forward and backward in time by an amount δ.
The envelope of the crosscorrelation that is sampled at ±δ has an amplitude modulation whose phase
relative to the tau-dither modulator determines the sign of the tracking error.
The error signal is low pass filtered and then applied to a voltage controlled oscillator that controls
(symbol waveform generator) the charging and discharging instants of the correlators.
The instantaneous frequency of the local clock is advanced or retarded in an iterative manner until the
equilibrium point is reached, and symbol synchronization is thereby established.
Bandpass
Filter
Local
oscillator
VCO
Envelope
detector
Loop
Filter
Received
Signal
PN code
generator
Tau-dither
generator
Figure: Tau-dither loop (TDL).
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 67 / 70
68. Synchronization Acquisition Phase for FH spread-spectrum system
Acquisition Phase for FH spread-spectrum system:
Synchronize the PN code sequence generated at the receiver that controls the hopped frequency pattern.
Bank of matched filters tuned to the transmitted frequencies in the known pattern may be employed.
Their outputs properly delayed, envelope or square-law detected, and added to produce the signal
output which is compared with a threshold.
A signal present (signal acquisition) is declared when the threshold is exceeded.
The search process is usually performed continuously in time until a threshold is exceeded.
Filter
Tuned to f1
Filter
tuned to f3
Filter
tuned to f2
Envelope
detector
Delay one
(chip)
Envelope
detector
Envelope
detector
Delay
Filter
tuned to fM
Envelope
detector
Delay
Threshold
detector
Sync
pulse
Received
Signal
Figure: Tau-dither loop (TDL).
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 68 / 70
69. Synchronization Acquisition Phase for FH spread-spectrum system
Acquisition Phase for FH spread-spectrum system:
It is based on a serial search and is similar to the sliding correlator for DS spread-spectrum signals.
It is of single matched-filter and an envelope detector preceded by a frequency hopping pattern
generator and followed by a threshold detector.
Tuned
Filter
Envelope
detector
Postdetection
integration
Threshold
detector
Sync
pulse
Received
Signal
PN code
sequence
generator
Frequency
synthesizer
Clock
Figure: Alternative for acquisition for FH signal.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 69 / 70
70. References
http://www.women-inventors.com/Hedy Lammar.asp.
http://people.seas.harvard.edu/ jones/cscie129/nu lectures/lecture7/hedy/lemarr.htm.
S. Haykin, Digital communications, 2nd ed. Wiley, 1988.
J. G. Proakis, Digital communications, 4th ed. Prentice Hall, 2001.
J. G. Proakis and M. Salehi, Communication Systems Engineering, 2nd ed. Prentice Hall, 2002.
Forouzan and A. Behrouz, Data Communications and Networking, 4th ed. Tata-McGraw-Hill, 2007.
Manjunatha. P (JNNCE) Spread Spectrum Signals for Digital Communication December 15, 2015 70 / 70