WC - 2015S - Lecture 6 - Equalization, Diversity & Channel Coding - Part1 - Me2
WC - 2015S - Lecture 6 - Equalization, Diversity & Channel Coding - Part1 - Me2
Channel Coding
Part 1
Assignments
Homework:
HW5: pp168-176, Chapter 7, Prob: 1, 2, 3
Hand-in beginning of class, 27 March
HW5: pp168-176, Chapter 7, Prob: 6, 7, 9,11
Hand-in beginning of class, 15 April
Read:
Rappaport, Chapter 7, Sections: 1 8
Finish by 27 March
Rappaport, Chapter 7, Sections: 9 18
Finish by 15 April
Project3:
TBA
Outline
Fading channel impairments intersymbol interference
Equalization Methods
Linear
Nonlinear
Adaptive
Diversity Techniques
Rake Receiver
Channel Coding
Review
4
Bandwidth of signal
Different definition of bandwidth:
a) Half-power bandwidth
b) Noise equivalent bandwidth
c) Null-to-null bandwidth
(a)
(b)
(c)
(d)
(e)50dB
5
Windowing
8
Window function
a mathematical function zero-valued outside of some
chosen interval.
a function or waveform/data-sequence multiplied by a
window function
zero-valued outside the interval:
the "view through the window is the overlap.
window functions are non-negative smooth "bell-shaped"
curves,
rectangle, triangle, and other functions are classified as
windows.
Applications
window functions used in spectral analysis, filter design,
and beamforming.
general definition of window functions
not required to be identically zero outside an interval.
the product of the window multiplied by its argument
is required to be square integrable.
the function goes sufficiently rapidly toward zero out side
the interval.
10
Rectangular window
Leakage from sinusoid (rectangular window)
11
Timing jitter
Random jitter (fluctuacin)
Translation of random voltage noise into timing fluctuations
Phase noise of the transmitter and receiver
Deterministic jitter distinct circuit origins
Bandlimited channel
Frequency dispersive
Signal reflection
Duty cycle distortion
Power supply noise
Particular patterns data symbols
Band-limited Channels
Signal Design for Band-limited Channels
(a) Intersymbol Interference
Time-continuous
z t noise
bn
gT t
c t
g R t
y t
y n
y t bn x t nT v t
n
where
x t gT t c t g R t
v t z t gR t
at t = kT + t0
13
Band-limited Channels
Time-discrete
y k
y kT t 0 bn x k n v k
n
y k x 0 bk
bn x k n v k
x
0
n k
y k bk bn x k n v k
n k
Band-limited Channels
(b) Nyquist Condition
Possible to have no ISI even if x(n) and c(n) are bandlimited
Consider the decision statistic expression as the sampled
output
y k bn x k n v k
n
c for n 0
0 for n 0
x n
Band-limited Channels
Use Poisson summation formula* to express x(nT) as the
sum of pulses
x t
x nT
x k t kT
1
X f
T
X f
i.e., that the folded spectrum of x(t) has to be flat for no ISI
16
Band-limited Channels
Folded spectrum has non-overlapping copies of X(f)
For very high symbol rate such that 1 T W, Nyquist
condition infers that the folded spectrum has gaps between
copies of X(f).
X
f
T
n
17
Band-limited Channels
Folded spectrum has copies of X(f) touching their neighbor.
For very slow symbol
rate such that,1 T 2W then the
X
f
n
f
T
X f
0
for
for
f W
f W
Band-limited Channels
Folded spectrum has copies of X(f) overlap with their
neighbors.
For even slower symbol rate such that 1 T 2W , then the
folded spectrum can be flat with many different choices of
X(f).
X
f
Band-limited Channels
(c) Eye Diagrams
1.5
1
0.5
0
-0.5
-1
-1.5
-0.2 0
0.2 0.4
0.6
0.8
20
sin t T cos t T
t T 1 4 t T 2
Frequency response
T
0 f 1 2T
X f T
T
1
2 1 sin f 2T 1 2T f 1 2T
The frequency response of the square root raised cosine filter
P f X f
21
t
sin
xsin c t
t
Frequency response
sin t j 2 ft
X f
e
dt
1 2 1 2 f 1 2
X f
otherwise
0
23
Filtrado adaptado
Match filtering
24
Match filtering
Optimum Demodulator
Match filter for single symbol, b0, is match filter x t such that
x t kT x kT t 1
25
Match filtering
Optimum Demodulator
Decision statistic is match filter output at mT
y m b n x m n T x n m T v m
n
stated differently
2
y m b m x
b n x m n T x n m T v m
n m
26
Match filtering
Optimum Demodulator
Suppose x[nT] were timelimited
x n x n 0 for T t T
and
x n x n 0 for
t T
Therefore
x n m T x n m T 0 n m
This demodulation strategy can be interpreted as match filtering
From hereon we will define the channel impulse response as
p t y t and p n y n
27
Match filtering
Shortcomings
A timelimited waveform is never bandlimited
Since the channel is bandlimited, neither p n nor p n p n
are timelimited
Hence ISI will in general be present
One way to observe and quantitatively measure the effect of
ISI is by eye diagrams
28
Example 1
In a wireless environment with one direct path and one
multipath, the received signal is given by
y n b1 x n b2 x n l v n
if we assume that the channel slowly varying compared to the
path time delay
y n b n x n v n
x n x1 n x2 n l
Could a filter be designed so that the recovered signal
contains only information in the direct path?
29
Equalization
30
What is equalization
The multipath channel causes frequency selectivity and ISI
Equalization can reduce the ISI and noise effects for better
demodulation
frequency
32
Characteristics:
Compensation for intersymbol interference
Adaptive in time time varying wireless channels
Two phases
Learning known symbols are transmitted back and forth
between base station and mobile unit
In use transmitted data used to continually update the
equalizer filter
Objective
Produce inverse of channel frequency response, such that.
F f H eq f constant
Reduction of the bit error rate (BER)
33
Equalization
Equalization compensates for or mitigates inter-symbol
interference (ISI) created by multipaths in time dispersive
channels (frequency selective fading channels).
Basic idea
Z Pulse f B f H f E f
:
Pulse
filter
spectrum
Transmitted
symbol
spectrum
Channel frequency
response
(incl. T & R filters)
Equalizer
frequency
response
B f
H f
E f
Z f
0
fs = 1/T
X RC f GT f C f GR f GE f
Equalization
Design from frequency domain viewpoint.
H rc f e j 2 ft0
HT f
0
f W
f W
Aside
Convolution
r t s t hc t
r nt s nt hc nt
r n s n hn
1
r n s n hn hk s n k
k 0
h0 s n h1s n 1
y p1
0
Y 0
y p1 1
y p1
0
0
y N p1 1
y N p1 2
y N p1 3
y p1
d d p1 , . . . ,d p , . . . ,d N p1 1
T
50
wTop Y dT
To solve for wop, first take the transpose of both sides
T y T dT T
w
op
YT w op d
Assume YT square, nonsingular and invertible. Pre-multiply
by YT 1
w op YT 1 d
51
Example
Suppose that a system has the channel impulse response
vector
1
D
y0
n1
0.5555
0.90
0.90
Example
We wish to design a 3-tap equalizer, where y0 is the largest
component, p1 = 0 and p2 = 1
Thus, the delay is chosen as p = p1 + p2 = 1.
The desire response is d e1T so that
0
d 1
0
53
Example
Construct the matrix
0
0
0.90
and obtain the optimal tap solution
T 1
w op Y
d
0
0 0
0
1.1111
0.1852 1.1111
0 1 1.11111
54
Example
The overall response of the channel and equalizer
d YT w op
0
0
0
0.90
0
0.15 0.90
0 1.111111 1.0
0.20 0.15 0.90 0.185185 0
Dmin
d1
n 0
n1
d n dn 0.3889
55
Adaptive Solution
56
Adaptive Solution
Consider a wireless communication system consisting of a
transmitter and a mobile unit and a N multipath channel
The channel impulse response is unknown to the receiver
A known real-valued finite sequence a is used to train the
equalizer
The signal sequence received at time n at the mobile unit is
described by
yn
N 1
pl anl
l 0
58
Adaptive Solution
A transversal filter is used as an equalizer whose taps wj are
used to model the inverse impulse response of the channel.
The equalizer taps can be obtained by using a steepest-descent
recursive algorithm (algoritmo recursivo mxima pendiente)
w nj 1 w nj Den an j d1
(1)
en and dn and
N 1
n
w
i yn i
i 0
(2)
Adaptive Solution
Fact: The adaptation rule in (1) attempts to find the equalizer
w nj taps s.t., the cross correlations
enan j d1 , j 0,
,N 1
is force to zero.
Sounds familiar? Yes. Remember least square estimation? The
estimation error is forced normal (perpendicular) to the column
space of the measurements. In this case the training sequence
space.
Adaptive Solution
To see this substitute
yn i
N 1
pl ani l
l 0
(3)
Hence E ai a j a2 i j
where
i j
1 i j
0 i j
2
and a2 E ak
61
Adaptive Solution
Substitute d = d1 + d2 in the product term first term RHS of
(3)
2
E and1 d2 and1 j E and1 and1 d 2 j E ak d 2 j
Using similar argument the summation term 2
E ani l an j d1 E anan l i j d1 E ak l i j d1
Use these two results
in (3)N 1
2
E enan j d1 a d 2 j wi p j d1 i l i j d1
i 0
a2
d j y j d
2
for j 0,1, . . . ,N 1
(4)
62
Adaptive Solution
Fact: The conditions E enan j d 0 are satisfied when
1
63
Adaptive Solution
In the data mode
w nj 1 w nj Dena n j d1 , j 0, . . . , N 1
en a nd
N 1
w i yn i
i 0
64
MMSE Estimator
Minimizes the mean square error (MSE) of the fitted values
of dependent variables.
Provides a measure of the estimation quality.
Estimator in a Bayesian setting with quadratic cost function.
Seeks to estimate a parameter that is itself a random variable
Bayesian approach allows better posterior estimates as more
observations become available.
Bayesian estimates sequences of observations that are not
necessarily independent.
Useful when the minimum variance unbiased estimator
(MVUE) does not exist or cannot be found.
66
2
MSE E ek E ak dk
67
yk
z 1
wn,0
z 1
wn,1
z 1
z 1
wn, N 1 wn, N
dk
68
w wn,0 , . . . , wn, N
n
where
dk
w n , m yk m
m 0
d k wTn y k yTk w n
69
bk yTk w k
at time instant k
2
E ek bk2 wTk E y k yTk w k 2 E b k yTk w k
r E bk yTk E bk yk bk yk 1 . . . bk yk N
and the input auto correlation square matrix R
yk2
y y
R E y k yTk k 1 k
yk N yk
yk yk 1
yk21
yk N yk 1
N 1 N 1
yk yk N
yk 1 yk N
yk2 N
71
72
,
,...,
w w0 w1
w N
Gradient of
w w bk2 wTk Rw k 2rT w k
w wTk Rw k 2 w rT w k
2 Rw 2r
73
Rw r
Pre-multiply both sides by R-1 we obtain the equation for the
equalizer weights
w R1r
74
75
w nk w nk 1 D r Rw nk 1 column vectors
where D is a small positive constant that controls the rate of
convergence to the optimal solution
76
w kn w kn1 DeTk y k
this is the stochastic steepest descent algorithm called the
Least Mean Square (LMS) (menor de la media cuadrada)
algorithm.
77
78
Pn w n q n
wherePn is an M N matrix, M N of measured input
data;w
nis an N 1 column vector of unknown coefficients
and qn is an M 1 column vector of observed output
measurements
80
J ei ei q i p i w i q i p i w i
T
The gradient of J n
i w
Ti pTi q i w
Ti pTi p i w
i
w J w qTi q i qTi p i w
Ti pTi q i pTi p i w
i0
2w
i pTi q i
pTi p i w
81
n p pi p pi
w
T
T
i
T
i
p p
T
i
q n
n pi p pi p pi
pi w
T
i
T
i
p p
T
i
q n
J n n1e i , n e i , n
i 1
84
Rn11 pn
pnT Rn11 pn
1 1
Rn1 kn pnT Rn11
wn wn1 knen
* (algoritmo recursivo menor de cuadrados)
85
Classification of equalizers
86
87
Appendices
88
Matched Filters
(Filtros Adaptados)
89
Matched Filters
A matched filter is the linear filter, h, that maximizes the
output signal-to-noise ratio
y n
h n k x k
Derivations:
Geometric argument maximize signal-to-noise ratio
Correlation argument maximize an inner vector product
Definition of problem: we seek a filter, h[n], such that we
maximize the vector inner product of the filter outputs y[n]
and the observed signal x[n] = s[n] + w[n], where s[n] is the
desired signal and w[n] an additive noise
90
Matched Filters
Hermitian covariance matrix
Rw E ww H
h k x k hH s hH w y s yw
ys
E yw
h s
E h w
by choosing h[n]
91
Matched Filters
Expand the denominator of the objective function
E h w
E h w h w
H
hH E ww H h hH Rw h
h s
SNR H
h Rw h
Using the symmetric properties of an Hermitian matrix
H
hH R
12 H
w
Rw1 2 s
h s
SNR H
H
12 H
h Rw h
h Rw Rw1 2 h
92
Matched Filters
Rewriting
R h R s
hH s
SNR H
H
12
h Rw h
Rw h Rw1 2 h
2
12
w
1 2
w
H 2
H
H
a
b
a
a
b
b
Using Cauchy-Schwarz inequality
R h R s
SNR
R h R h
12
w
12
w
1 2
w
12
w
R1 2 h H R1 2 h R 1 2 s H R 1 2 s
w
w
w
w
R h R h
12
w
R h R s
SNR
R h R h
12
w
12
w
1 2
w
12
w
12
w
s H Rw1 s
Matched Filters
We can achieve a tight upper bound if we choose the substitution
Rw1 2 h Rw1 2 s
Thus
R h R s
SNR
R h R h
12
w
12
w
1 2
w
12
w
R s R s
R s R s
1 2
w
1 2
w
1 2
w
1 2
w
s R R s
s H Rw1 s
s R R s
2
1 2 1 2
w
w
2 H
1 2 1 2
w
w
H
h Rw1 s
94
Matched Filters
Substitute h Rw1 s in ys h s s H hto obtain output
ys s H Rw1 s
Constrain the noise power to unity i.e.,
E yw
SNR
ys
E yw
s H Rw1 s
ys s H Rw1 s
2
95
Matched Filters
Substitute
s R s s H Rw1 s
2
1
w
1
s H Rw1 s
Rw1
s H Rw1 s
96
Matched Filters
y n
h n k s k w k
h n
y n
Rw1
s H Rw1 s
Rw1
s H Rw1 s
s n
s n k s k w k
97
x t e i 2 ft dt
(1)
x n
X k where X F f x
With substitutiong xT
F g xT G for T 0
T
(2)
(3)
99
1
(4)
g nT T G k T
n
k
Another definition,s t x g x and transform property
F s t x S e i 2 t
(5)
s t nT T
n
S k T e
i 2 tk T
(6)
100
F s t x S e i 2 t
(7)
s t nT T
n
S k T e i 2 tk T
(8)
transform
i 2 nT
k
T
T
s
nT
e
T F s nT t nT
n
(9)
101
Methodology
Transversal filter implementation
yk 0
wk 0
yk 1
wk 1
yk n
yk 2
wk 2
wk n
d n
d n
102
Example 7.2
Four matrix algebra rules useful in study of adaptive equalizers
1. The gradient of a similarity transformation
a. Similarity transformation: scalar resulting from the product
of a row vector, a square matrix and a column vector
N
x A x xi Aij x j
T
i 0
j 0
where
x is an (N + 1) is column vector
A is an (N + 1) x (N + 1) symmetric matrix, i.e., A = AT
b. Gradient: an (N + 1) column vector of partial derivatives
x
0
x1
x N
103
Example 7.2
c. The gradient of a scalar is a column vector, thus
N
x x A x x xi Aij x j
T
i 0
j 0
xk
N
N
N
N
N
N
xi Aij x j xi Aik Akj x j Aki xi Akj x j 2 Aki xi
i 0, j 0
i 0
j 0
i 0
j 0
i 0
Example 7.2
2. For any square nonsingular matrix,AA 1 A 1 A I
3. For any matrix product AB T BT AT
T
T
1
4. For any symmetric nonsingular matrixA A and A A 1
105