Professional Documents
Culture Documents
Modern Wireless
Chapter 5
Communication
Spread Spectrum and Code-
Simon Haykin, Michael Moher
Division Multiple Access
CH05-1 CH05-2
Contents Contents
• 5.5 Code Synchronization
• 5.1 Introduction
• 5.6 Channel Estimation
• 5.2 Direct-Sequence Modulation
– 5.2.1 The Spreading Equation • 5.7 Power Control: The Near-Far Problem
– 5.2.2 Matched-Filter Receiver • 5.8 FEC Coding and CDMA
– 5.2.3 Performance with Interference
• 5.9 Multiuser Detection
• 5.3 Spreading Codes
• 5.10 CDMA in a Cellular Environment
– 5.3.1 Walsh-Hadamard
– 5.3.2 Orthogonal Variable Spreading Factors (OVSF • 5.11 Frequency-Hopped Spread Spectrum
– 5.3.3 Maximal-Length Sequences – 5.11.1 Complex Baseband Representation of FH-SS
– 5.3.4 Scramblers – 5.11.2 Slow-Frequency Hopping
– 5.3.5 Gold Codes – 5.11.3 Fast-Frequency Hopping
– 5.3.6 Random Sequences – 5.11.4 Processing Gain
• 5.4 The advantages of CDMA for Wireless
– 5.4.1 Multiple-Access Interference
– 5.4.2 Mutlipath
– 5.4.3 RAKE Receiver
– 5.4.4 Fading Channels
– 5.4.5 Summary of the Benefits of DS-SS
CH05-3 CH05-4
• CDMA
– Multiple-access technique, individual
5.1 Introduction terminals use spread-spectrum and occupy all
spectrum when they transmit.
• Spread spectrum
– Direct sequencing (DS)
– Frequency hopping (FH)
CH05-5 CH05-6
1
Modern Wireless Communications Modern Wireless Communications
CH05-7 CH05-8
• BPSK signal
~
s (t ) = b Eb g (t ) 0≤t ≤T (5.2)
CH05-9 CH05-10
CH05-11 CH05-12
2
Modern Wireless Communications Modern Wireless Communications
• Received signal • The mean of the noise sample ηis zero and the variance is
~ given by T TT
x (t ) = ~ ~ (t )
s (t ) + w
2
(5.7) ~ (t )g ∗ (t )dt = E[w (5.10)
σ η2 = E ∫ w ∫ ∫ ~(t )w~ (s )]g (t )g (s )dtds
∗ ∗
0 0 0
• Jamming term
T
~
yξ = ∫ ξ (t )g ∗ (t )dt (5.15)
0
CH05-15 CH05-16
CH05-17 CH05-18
3
Modern Wireless Communications Modern Wireless Communications
• With TDMA, the users are time orthogonal, with FDMA, the users
are approximately frequency orthogonal, with CDMA, the users are
approximately code orthogonal
• To achieve this orthogonality, a different symbol-shaping function is
5.3 Spreading Codes assigned to each user k
Q
g k (t ) = ∑ ck (q )g c (t − qTc ) 0 ≤ t ≤ T (5.20)
q =1
CH05-19 CH05-20
CH05-21 CH05-22
CH05-23 CH05-24
4
Modern Wireless Communications Modern Wireless Communications
• Suppose we need OVSF codes of length n1 and n2, with n1 < n2. The
algorithm for constructing OVSF codes is
1. Construct Hn1 by the usual Walsh-Hadamard algorithm.
n
2. Choose one row of the matrix Hn1 as the code of length 2 1. Let
H'n1 represent the Hadamard matrix with the selected row
removed.
3. Continue the Walsh-Hadamard algorithm with H'n1; that is,
H 'n H 'n1
H 'n1 +1 = ' 1 (5.29)
H n1 − H 'n1
4. Then continue until the desired H'n2 is constructed
n
5. Choose any row of H'n2 as the spreading code of length 2 2
6. If a third code is needed, continue in a similar manner
CH05-25 CH05-26
CH05-27 CH05-28
CH05-29 CH05-30
5
Modern Wireless Communications Modern Wireless Communications
CH05-31 CH05-32
CH05-33 CH05-34
CH05-35 CH05-36
6
Modern Wireless Communications Modern Wireless Communications
CH05-37 CH05-38
CH05-39 CH05-40
CH05-41 CH05-42
7
Modern Wireless Communications Modern Wireless Communications
k =2 0
K
= N 0 + Eb ∑ α k E R1k
2 2
K k =2
• Signal-to-interference-pulse-noise ratio
• From Eq.(5.37), we can have
(E[ y] ) 2
[ ]
E R jk
2
≈
1
Q
(5.43)
SINR =
σ Y2
Eb
= (5.47)
• Contribution of multiple-access term to the noise variance K −1
given by N 0 + Q Eb
K
1
≈ Eb ∑ α k
2
2
σ MAI (5.44)
k =2 Q E
= b
1
N 0 1 + K − 1 Eb
• The transmitters are power controlled, which means
Q N0
αk = 1 for all k (5.45) =
Eb
Dg
N0
• 1st and 2nd order statistics of MAI contribution to noise
• Degradation
[ ] K −1 −1
µ MAI = E y − α1b1 Eb = 0 and 2
σ MAI = Eb (5.46) K − 1 Eb (5.48)
Dg = 1 +
Q
Q N 0
CH05-45 CH05-46
∞
hw (t ) = ∑h
n = −∞
n sin c(Rc (t − n Rc )) (5.51)
CH05-47 CH05-48
8
Modern Wireless Communications Modern Wireless Communications
~ ~
xmp (t ) = hw (t ) ⊗ ~ ~ (t )
s (t ) + w 5.4 The advantages of CDMA for
∞
Wireless
= ∑ h s(t − lT ) + w~(t )
l = −∞
l c
(5.52)
L'
= ∑ hl s(t − lTc ) + w
~ (t ) 5.4.3 RAKE Receiver
l =0
CH05-49 CH05-50
• Operating in multipath environments. • If the delay spread of channel is much less than the symbol
• The output of each delay element is processed by a single- period T, then T
∫ g (t − (l − i )T )g (t )dt ≈ R (l − i )
∗ (5.54)
user receiver. c gg
0
• This receiver has (L+1) fingers and gets the name “RAKE” • Contribution of self-interference to total noise for the first
from its resemblance to common garden rake. finger is L
σ Y2 = N 0 + Eb ∑ hl Rgg (lTc )
2 2
• The output of ith finger (5.55)
T − iTc l =1
∫ ~x (t + iT )g (t )dt
∗
yi = c • If spread code has cross-correlation properties similar to
− iTc
T − iTc L T − iTc
random codes, then we can approximate result
∫ ∑ h s (t − lT
~ + iTc )g ∗ (t )dt + ~
∫ w(t + iT ) g
∗
= l c c (t )dt (5.53)
− iTc l = 0 1
∑h ∑ hl
− iTc 2
Rgg (lTc ) ≈
2 2
L T − iTc l (5.56)
= ∑ hl ∫ ~
s (t − lTc + iTc ) g ∗ (t )dt + η i l≠ j Q l≠ j
l =o − iTc
≈ hi b Eb + b Eb ∑ hl Rgg (l − i ) + η i
l ≠i
CH05-51 CH05-52
l=0
L
Eb ∑ hl
2
l =0
=
N0
CH05-53 CH05-54
9
Modern Wireless Communications Modern Wireless Communications
CH05-55 CH05-56
CH05-57 CH05-58
CH05-59 CH05-60
10
Modern Wireless Communications Modern Wireless Communications
k1 + ∆k
(5.63)
= Eb ∑ c(k mod Q )c ((m + (k − k )) mod Q )e ( π
k = k1
*
0 1
j 2 ∆fkTc +φ )
k1 + ∆k
≈ Eb e jφ ' ∑ c(k mod Q)c ((m + (k − k )) mod Q )
k = k1
*
0 1
CH05-61 CH05-62
CH05-63 CH05-64
• Channel-tracking algorithm
– Reliable data estimates, which involves transmitting
training sequence to adapt the channel estimates initially.
– Bandwidth of low-pass filter must be chosen
appropriately.
– If data stream is channel encoded to operate at a lower
SNR, reliability of the uncoded data at the output of
RAKE receiver is liable to be poor at all times.
CH05-65 CH05-66
11
Modern Wireless Communications Modern Wireless Communications
(E[ y ])2
Problem SINR =
σ Y2
α12 Eb
= K
1
N0 + Eb ∑ α k2 (5.68)
Q k =2
2
α Eb 1
= 1
K − 1 α 12 Eb 1 α
2
N0 K
1+ ∑ k
Q N 0 ( K − 1) k = 2 α 1
Eb , 1
= α 12 Dg where Dg' =
K − 1 α 12 Eb 1 K α k
2
N0
1+ ∑
Q N 0 K − 1 k = 2 α1
CH05-67 CH05-68
• Comparing the definition of D 'g with definition of Dg , we • Near-far problem: If any of the signal strengths is a greater than the
can see desired signal(αk>>α1), the multiple-access interference will be
increased.
– The received energy for the desired signal is α12 Eb
• Solution for near-far problem: Power control.
instead of Eb.
• Implementation issues of power control:
– Difference is that the denominator of D ' g included the
– Latency
factor, multiplier applied to the multiple-access
• Power must be measured at the receiver and then relayed to
interference.
2 the transmitter to adjust the transmit power.
1 K
αk
(K − 1) ∑
(5.70)
– Accuracy
k = 2 α1
• Minimal averaging of potentially very noisy signal.
CH05-69 CH05-70
CH05-71 CH05-72
12
Modern Wireless Communications Modern Wireless Communications
CH05-73 CH05-74
CH05-75 CH05-76
CH05-77 CH05-78
13
Modern Wireless Communications Modern Wireless Communications
1. Propagation-loss exponent:
• the larger the propagation loss exponent is, the quicker
adjacent-cell interference will be attenuated.
2. Variations in signal strength due to shadowing:
• the larger the variation due to shadowing, the greater the
potential is to cause problems.
CH05-81 CH05-82
CH05-83 CH05-84
14
Modern Wireless Communications Modern Wireless Communications
CH05-85 CH05-86
• Advantages of FH-SS
– High tolerance of narrowband interference.
5.11 Frequency-Hopped Spread – Relatively straightforward interference avoidance.
– Current technology-hopped bandwidths on the order of
Spectrum several gigahertz.
• Disadvantages of FH-SS
– Noncoherent detection
– Higher probability of detection
CH05-87 CH05-88
5.11.1 Complex Baseband • For frequency-hopped systems, M-ary FSK will be used, in which
Representation of FH-SS case we have
() (
m t = E exp j 2πf t 0 ≤ t ≤ T
s i ) (5.88)
15
Modern Wireless Communications Modern Wireless Communications
CH05-91 CH05-92
min{ζ k − ζ j } ≈ MRs k≠ j
CH05-93 CH05-94
CH05-95 CH05-96
16
Modern Wireless Communications Modern Wireless Communications
Spectrum =
J0
C Rs
J Wss (5.93)
C Wss
5.11.4 Processing Gain =
• Processing gain J RS
Wss
PG = (5.94)
Rs
CH05-97 CH05-98
17