Professional Documents
Culture Documents
Lecture 02 Turbo Codes
Lecture 02 Turbo Codes
Li-Wei Liu
National Chiao Tung University
Department of Electronic Engineering
Contents
1 Introduction 2
1.1 Channel Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1
Chapter 1
Introduction
• It is impossible to convey information reliably over the channel at rates greater than
C bits per channel use.
2
Chapter 2
Bd × r d
X
Pb =
d
• r:
P p
p(y|0)p(y|1)
y∈A Y ={1,−1}
3
4
Derivation of r
à !
d d
p e (1 − p)d −e
X
Pd =
e= d +1
e
2
à !
d
X d d d
< p 2 (1 − p) 2
e= d +1
e
2
à !
d d
d
X d
= p (1 − p)
2 2
e
e= d +1
2
à !
d d
d d
X
< p 2 (1 − p) 2
e=0 e
d d
= p (1 − p) 2d
2 2
p d
= (2 p(1 − p))
2.1.2 Interleaver
• Block Interleaver (Not Often Used in Turbo Code, Why ???? )
• S-Random Interleaver
(Each randomly selected compared with previous S selected, if equal to previous +S
index or -S index, rejected)
5
I (X ; Y ) = H (X ) − H (X |Y ) = H (Y ) − H (Y |X ) (2.1)
= Information of X - Remaining Information of X After Known Y (2.2)
X 1 X 1
= p(x) log − p(x, y) log p(x,y) (2.3)
X p(x) X ,Y
p(y)
X 1 X 1
= p(x) log − p(y|X )p(X ) log p(X ,y)
(2.4)
X p(x) Y
p(y)
X 1 X 1
= p(x)(log − p(y|x) log p(x,y)
) (2.5)
X p(x) Y
p(y)
X X 1 X 1
= p(x)( p(y|x) log − p(y|x) log p(x,y)
) (2.6)
X Y p(x) Y
p(y)
X X 1 1
= p(x)[ p(y|x)(log − log p(x,y)
)] (2.7)
X Y p(x)
p(y)
X X p(x, y)
= p(x)[ p(y|x)(log
)] (2.8)
X Y p(x)p(y)
X X p(y|x)
= p(x) p(y|x) log (2.9)
x y p(y)
z = x +n
LLR A = µ A x + n A
With : σ2LLR A = 2µ A
Then the pdf of LLR pr i or :
σ2
LLR A 2
(ξ− 2 x)
1 −
2σ2
p LLR A (ξ|X = x) = p e LLR A
2πσLLR A
7
p(ξ|x)
Z
dξ
X
I (X ; A) = p(x) p LLR A (ξ|x) log 1
x LLR A = +1) + 21 p(ξ|x = −1)
2
p(ξ|x
1 p(ξ|x = +1)
Z
= p LLR A (ξ|x = +1) log 1 d ξ part A
2 LLR A 2
p(ξ|x = +1) + 12 p(ξ|x = −1)
1 p(ξ|x = −1)
Z
+ p LLR A (ξ|x = −1) log 1 1
d ξ part B
2 LLR A 2 p(ξ|x = +1) + 2 p(ξ|x = −1)
1 p(ξ|x = +1)
Z
=2 p LLR A (ξ|x = +1) log 1 dξ
2 LLR A 2
p(ξ|x = +1) + 12 p(ξ|x = −1)
(By Both integral are the same)
1 2p(ξ|x = +1)
Z
=2 p LLR A (ξ|x = +1) log dξ
2 LLR A p(ξ|x = +1) + p(ξ|x = −1)
Given σ2LLR A = σ2A
σ2
(ξ− 2A )2
σ2 −
(ξ− 2A )2 1 2σ2
Z ∞ 1 − 2p e A
2σ2 2πσ A
= p e A log2 dξ
σ2 σ2
−∞ 2πσ A (ξ− 2A )2 (ξ+ 2A )2
− −
2σ2 2σ2
p 1 e A +p 1
e A
2πσ A 2πσ A
σ2
(ξ− 2A )2
Z ∞
1 − 1
2σ2
= p e A (log2 2 + log2 )d ξ
σ2 σ2
−∞ 2πσ A (ξ− 2A )2 (ξ+ 2A )2
−
2σ2 2σ2
1+e A A
σ2
(ξ− 2A )2
Z ∞
1 − 1
2σ2
= p e A (1 + log2 )d ξ
−2σ2 ξ
−∞ 2πσ A A
2σ2
1+e A
σ2
(ξ− 2A )2
Z ∞
1 − 1
2σ2
= p e A (1 + log2 )d ξ
−∞ 2πσ A 1 + e −ξ
σ2
(ξ− 2A )2
Z ∞ 1 −
2σ2
= 1− p e A log2 (1 + e −ξ )d ξ
−∞ 2πσ A
= 1 − E ξ∈LLR A [log2 (1 + e −ξ )]
From Ergodicity we coud approximate it into
1 NX−1
≈ 1− log2 (1 + e −xi A i )
N i =0
2
Where A i = µ A x + n A , and µ A =
σ2n
8