Download as pdf or txt
Download as pdf or txt
You are on page 1of 37

Maximum Likelihood Sequence

Detection

ƒ Channel
ƒ ML Detection
ƒ Error Probability

SPSC
Maximum Likelihood Sequence Detection 1
Channel

ƒ Delay Spread
ƒ time dispersion
ƒ intersymbol interference (ISI).
ƒ frequency selective fading

ƒ Channel Model
ƒ passband PAM
ƒ baseband PAM

SPSC
Maximum Likelihood Sequence Detection 2
Channel Model

SPSC
Maximum Likelihood Sequence Detection 3
Discrete-Time Equivalent
Channel Model for PAM


⎡ ⎛ 2π ⎞ ⎤ ⎡ ⎛ 2π ⎞ ⎤ ⎡ ⎛ 2π ⎞ ⎤
P (e jωT
)= ∑
m =−∞
G ⎢ ⎜
j
⎣ ⎝
ω − m ⎟⎥ E ⎢ ⎜
B
T ⎠⎦ ⎣ ⎝
j ω − m ⎟⎥ ⎢ ⎜
F
T ⎠⎦ ⎣ ⎝
j ω − m ⎟⎥
T ⎠⎦

∑ F ( j (ω + m ) )
∞ 2
jωT 2 N0 2π
S Z (e )= T
T m =−∞

SPSC
Maximum Likelihood Sequence Detection 4
Matched Filter as
Receiver Front End (1)
ƒ matched filter as receive filter
ƒ discrete-time equivalent channel model

SPSC
Maximum Likelihood Sequence Detection 5
Matched Filter as
Receiver Front End (2)
ƒ autocorrelation of baseband receive
pulse shape h(t)

ρ h (k ) = ∫
−∞
h(t )h* (t − kT )dt

ƒ folded spectrum
(( ))

1 ∞ 2
S h (e jωT ) = ∑
k =−∞
ρ h (k )e jω kT = ∑ H j ω+m T
T m =−∞

SPSC
Maximum Likelihood Sequence Detection 6
Whitening of the
Matched Filter (1)
ƒ matched filter Î colored noise
jωT jωT
S Z (e ) = 2 N 0 S h (e )
ƒ spectral factorization
S h ( z ) = γ M ( z ) M (1/ z )
2 ∗ ∗

ƒ minimal phase and allpass system


S h ( z ) = H min ( z ) H ap ( z )

SPSC
Maximum Likelihood Sequence Detection 7
Whitening of the
Matched Filter (2)
ƒ equalization with inverse minimal phase filter

ƒ noise process has white power spectrum


2 N0
SN ( z) =
K

SPSC
Maximum Likelihood Sequence Detection 8
Detection
ƒ ML Detection of a Single Symbol
ƒ ML Detection of a Signal Vector
ƒ ML Detection with Intersymbol
Interference
ƒ Sequence Detection
ƒ Markov Chains
ƒ Markov Chain Signal Generator
ƒ The Viterbi Algorithm

SPSC
Maximum Likelihood Sequence Detection 9
Detection
ƒ Estimation Î transmitted signal is contiuous-
valued
ƒ Detection Î transmitted signal is discrete-
valued
ƒ Model for detection:

SPSC
Maximum Likelihood Sequence Detection 10
ML Detection of a Single Symbol
ƒ Special case of MAP detector if p A (â ) = const
pY | A ( y | â ) p A (â )
p A|Y (â | y ) =
pY ( y )

ƒ ML chooses â ε Ω A
ƒ To maximize likelihood pY | A ( y | â )
ƒ Measure of the quality Pr[error ] = Pr[ â ≠ a ]

SPSC
Maximum Likelihood Sequence Detection 11
ML Detection of a Signal Vector

ƒ Vector of Symbols
ƒ Maximize f Y|S ( y | sˆ ) = f N|S ( y − sˆ | sˆ ) = f N ( y − sˆ )
ƒ Equivalent to maximize
1 ⎛ 1 2⎞
f N (y − sˆ ) = exp ⎜ − 2 y − sˆ ⎟
(2π ) M / 2 σ M ⎝ 2σ ⎠

ƒ Equivalent to minimizing y − sˆ

SPSC
Maximum Likelihood Sequence Detection 12
ML Detection With Intersymbol
Interference (1)

ƒ Generator is LTI filter hk , 0 ≤ k ≤ M


ƒ Input single data symbol A
ƒ Model

Y = hA + N
SPSC
Maximum Likelihood Sequence Detection 13
ML Detection With Intersymbol
Interference (2)
ƒ ML minimizes distance âh and
observation y
y − hâ = y − 2 y , h â + h â
2 2 2 2

ƒ Equivalent to maximizing
2 y, h â − h â
2 2

y, h = ∑ ym hm = [ yk * h− k ]k =0
m

SPSC
Maximum Likelihood Sequence Detection 14
ML Detection With Intersymbol
Interference (3)

SPSC
Maximum Likelihood Sequence Detection 15
ML Detection With Intersymbol
Interference (4)

ƒ Exponential complexity
ƒ Message of K M-ary symbols
Î MK matched filters
Î MK comparisons

SPSC
Maximum Likelihood Sequence Detection 16
Sequence Detection

ƒ Markov Chains
ƒ Markov Chain Signal Generator
ƒ The Viterbi Algorithm

SPSC
Maximum Likelihood Sequence Detection 17
Markov Chains (1)

ƒ Independent of past samples


p ( Ψ k +1 | Ψ k , Ψ k −1 ,...) = p ( Ψ k +1 | Ψ k )
ƒ Homogenous if independent of k
ƒ State transition diagram

SPSC
Maximum Likelihood Sequence Detection 18
Markov Chains (2)

ƒ Trellis diagram

ƒ Node
ƒ Branch
ƒ Path
SPSC
Maximum Likelihood Sequence Detection 19
Markov Chain
Signal Generator (1)
ƒ Sequence of homogenous Markov
chain states Ψ k

ƒ State transitions S k = g (ψ k ,ψ k +1 )
M
ƒ Observation function g (ψ k ,ψ k +1 ) = ∑ hi Ak −1
i =0

ƒ State of shift-register
Ψ k = [ X k −1 , X k − 2 ,..., X k − M ]
SPSC
Maximum Likelihood Sequence Detection 20
Markov Chain
Signal Generator (2)
ƒ ISI Model

ƒ Shift-register process

SPSC
Maximum Likelihood Sequence Detection 21
Markov Chain
Signal Generator Example

hk = δ k + 0.5δ k −1

SPSC
Maximum Likelihood Sequence Detection 22
The Viterbi Algorithm (1)

ƒ A. Viterbi of UCLA in 1967


ƒ Homogenous Markov chain
ƒ Linear complexity growing with
message length K
ƒ Application for maximization problems

SPSC
Maximum Likelihood Sequence Detection 23
The Viterbi Algorithm (2)

ƒ Sequence of inputs = path through the


trellis
ƒ Assign branch metric = yk − sk
2

ƒ Path metric = Σ branch metrics


ƒ Choose lowest path metric =
minimize y − sˆ

SPSC
Maximum Likelihood Sequence Detection 24
The Viterbi Algorithm (3)

ƒ Survivor path of k-1 =


smallest path metric to node k-1
ƒ Only hold survivor path
ƒ For node k choose smallest
branch metric + survivor path of k+1
SPSC
Maximum Likelihood Sequence Detection 25
The Viterbi Algorithm
Example (1)
ƒ Observation sequence
{0.2, 0.6, 0.9, 0.1}
ƒ Impulse response of channel
hk = δ k + 0.5δ k −1
ƒ AWGN
ƒ State transitions

SPSC
Maximum Likelihood Sequence Detection 26
The Viterbi Algorithm
Example (2)

SPSC
Maximum Likelihood Sequence Detection 27
The Viterbi Algorithm
Example (3)

SPSC
Maximum Likelihood Sequence Detection 28
Error Probability Calculation

ƒ Error Event
ƒ Detection Error
ƒ Upper Bound of Detection Error
ƒ Lower Bound of Detection Error
ƒ Symbol Error Probability

SPSC
Maximum Likelihood Sequence Detection 29
Error Event

ƒ (a) length 1,
metric from real sequence 1.25
ƒ (b) length 2,
metric from real sequence 3.5

SPSC
Maximum Likelihood Sequence Detection 30
Detection Error

Pr[detection error] = ∑ Pr[e]w(e)


eε E

Pr[e] = Pr [ Ψ ] Pr ⎡⎣ Ψ
ˆ Ψ⎤

ƒ w(e) … total number of detection errors
in error event e
ƒ Pr[e] depends on real path and chosen
path Î estimate Pr ⎡ Ψˆ Ψ⎤
⎣ ⎦
SPSC
Maximum Likelihood Sequence Detection 31
Upper Bound of
Detection Error (1)

Pr ⎡⎣ Ψ (
ˆ | Ψ ⎤ ≤ Q d (Ψ

ˆ , Ψ ) / 2σ )
ƒ Q … cumulative probability distribution
ƒ d …Euclidian distance of real an chosen
path
SPSC
Maximum Likelihood Sequence Detection 32
Upper Bound of
Detection Error (2)
Pr[detection error] ≤ ∑ w(e) Pr[ Ψ ]Q ( d min / 2σ ) + other terms
eε E

ƒ Only terms of minimal distance


ƒ Others decay exponentially
ƒ Approaches RQ(d min / 2σ )

R = ∑ w(e) Pr[ Ψ ]
eε B
SPSC
Maximum Likelihood Sequence Detection 33
Lower Bound of
Detection Error (1)

Pr[detection error] ≥ ∑ Pr[e] = Pr[an error event]


eε E

Pr[an error event |Ψ ] ≥ Q(d min (Ψ ) / 2σ )

SPSC
Maximum Likelihood Sequence Detection 34
Lower Bound of
Detection Error (2)
ƒ Using total probability
Pr[detection error] ≥ ∑ Pr[Ψ ]Q (d min (Ψ ) / 2σ )
Ψ

ƒ Only minimal distance error events


Pr[detection error] ≥ PQ(d min (Ψ ) / 2σ )

P= ∑ε Pr[Ψ ]
Ψ A
SPSC
Maximum Likelihood Sequence Detection 35
Symbol Error Probability (1)

ƒ Upper and lower bound together


PQ(d min / 2σ ) ≤ Pr[detection error] ≤ RQ (d min (Ψ ) / 2σ )

ƒ Consider C between P and R


Pr[detection error] ≈ CQ (d min / 2σ )

SPSC
Maximum Likelihood Sequence Detection 36
Symbol Error Probability (2)

ƒ One detection error, one ore more bit


errors
ƒ One input Xk by n source bits
1
Pr[detection error] ≤ Pr[bit error] ≤ Pr[detection error]
n

Pr[detection error] ≈ Pr[bit error]

SPSC
Maximum Likelihood Sequence Detection 37

You might also like