Principle of Communications, Fall 2017
Lecture 04 Reliable Communication
I-Hsiang Wang
ihwang@ntu.edu.tw National Taiwan University 2017/10/25,26
Lecture 04 Reliable Communication I-Hsiang Wang ihwang@ntu.edu.tw - - PowerPoint PPT Presentation
Principle of Communications, Fall 2017 Lecture 04 Reliable Communication I-Hsiang Wang ihwang@ntu.edu.tw National Taiwan University 2017/10/25,26 Channel Coding Binary Interface x ( t ) { c i } { u m } x b ( t ) ECC Symbol Pulse Up { b
Principle of Communications, Fall 2017
ihwang@ntu.edu.tw National Taiwan University 2017/10/25,26
2
{bi} {ˆ bi}
{ci} {ˆ ci} {um} {ˆ um} xb(t) yb(t)
x(t) y(t)
ECC Encoder Symbol Mapper Pulse Shaper Filter + Sampler + Detection Symbol Demapper ECC Decoder
coded bits discrete sequence
Binary Interface
Channel Coding
Information bits Up Converter Down Converter
baseband waveform
Noisy Channel
passband waveform
3
4
{bi} {ˆ bi}
{ci} {ˆ ci} {um} {ˆ um} xb(t) yb(t)
x(t) y(t)
ECC Encoder Symbol Mapper Pulse Shaper Filter + Sampler + Detection Symbol Demapper ECC Decoder
coded bits discrete sequence
Binary Interface
Channel Coding
Information bits Up Converter Down Converter
baseband waveform
Noisy Channel
passband waveform
5
Equivalent Discrete-time Complex Baseband Channel
ECC Encoder Digital Modulator
b [b1 b2 ... bk] c [c1 c2 ... cn] c b V = u + Z u [u1 u2 ... u˜
n]
u
˜ n = n/
V
Detection + Decoder
ˆ b
Soft decision: jointly consider detection and decoding; directly work on the demodulated symbols Hard decision: only consider decoding; directly work on the detected bit sequences
Equivalent Discrete-time Complex Baseband Channel
ECC Encoder Digital Modulator
b [b1 b2 ... bk] c [c1 c2 ... cn] c b V = u + Z u [u1 u2 ... u˜
n]
u
˜ n = n/
V
ECC Decoder
ˆ b
Detection
d
6
7
8
coded bit seq. 1 coded bit seq. 2
b1 b2 b4 b3 b5
b1 b2 b3 b4 b5 b1 b2 b3 b4 b5 b1 b2 b3 b4 b5 b1 b2 b3 b4 b5
Many ways for repetition
Equivalent Discrete-time Complex Baseband Channel
Repetition Digital Modulator
b [b1 b2 ... bk] c [c1 c2 ... cn] c b V = u + Z u [u1 u2 ... u˜
n]
u
˜ n = n/
V
Detection + Decoder
ˆ b
b1 ∼ b b1 ∼ b
repeat N times
b+1 ∼ b2
n = kN : # of bits in a symbol
9
b1 ∼ b b1 ∼ b
repeat N times
b+1 ∼ b2
u
mod mod mod mod
u2 uN
= Q
2N0
N0
10
i.i.d.
∼ CN(0, N0) Equivalent constellation set: u ∈ {a0, a1}
a0 = −
P(N)
e
= Q
2√ N0/2
total noise variance per symbol
= d2
N0
= Q √ N2SNR . = exp(−NSNR)
11
12
i.i.d.
∼ CN(0, N0) Equivalent constellation set: Probability of error (take M-ary PAM as an example): u ∈ {a1, ..., aM} M = 2 P(N)
e
= 2(1 − 2−ℓ)Q
6 4ℓ−1SNR
= 2(1 − 2−NR)Q
4NR−16SNR
e
= 0 ⇐ ⇒ limN→∞ 4NR−1
N
= 0 Energy per bit:
Eb N0 = N ℓ SNR = SNR R
→ ∞ as N → ∞ → 0 as N → ∞ it is necessary that limN→∞ R = 0
13
14
15
Equivalent Discrete-time Complex Baseband Channel
Encoder + Modulation
b [b1 b2 ... bk] b V = u + Z u [u1 u2 ... u˜
n]
u V
Detection + Decoder
ˆ b
here we jointly consider coding and modulation
{dei | i = 1, ..., N}, ei(j) = {i = j}
16
17
i.i.d.
∼ CN(0, N0) Equivalent constellation set: Probability of error: Rate: Energy per bit: → 0 as N → ∞ u ∈ {dei | i = 1, ..., N} R = log2 N/N Eb = d2/ log2 N P(N)
e
≤ (N − 1)Q
min
2N0
N0
√ 2d
≤ NQ
N0
≤ 1
2 exp
(2 ln 2)N0 − 1
N0 > 2 ln 2
Eb > (2 ln 2)N0
achievable rate follows (bits per channel use)
18
R < C log2(1 + P
N0 )
Eb = P/R = ⇒ R < log2(1 + R Eb
N0 ) Eb N0 > E∗
b(R)
N0
2R−1
R
E∗
b
N0 inf
R>0
E∗
b(R)
N0 = lim
R↓0
2R − 1 R = ln 2
19
20
Equivalent Discrete-time Complex Baseband Channel
ECC Encoder Digital Modulator
b [b1 b2 ... bk] c [c1 c2 ... cn] c b V = u + Z u [u1 u2 ... u˜
n]
u
˜ n = n/
V
Detection + Decoder
ˆ b
Linear Block Code Binary PAM Modulator
= 1 R = k/n
21
g ∈ {0, 1}k×n b [b1 b2 ... bk] ∈ {0, 1}k c [c1 c2 ... cn] ∈ {0, 1}n
codeword
1 1 1 1 1 g
generator matrix
message
Cg
Z ∼ N(0, N0
2 In)
22
V = u + Z
ML Decoder u ∈ A {ab1,b2,...,bk | b ∈ {0, 1}k}
(bg)i = 1 −√Es, (bg)i = 0 i-th symbol represents the BPSK modulated outcome of the i-th bit
constellation point codeword
b=b
Pb,g
b
generator matrix g!
23
24
= ⇒ P{G = g} =
1 2nk , ∀ g ∈ {0, 1}k×n
Gi,j
i.i.d.
∼ Ber( 1
2),
∀ i = 1, ..., k, j = 1, ..., n 1 1 1 1 1 g
generator matrix
(n)(R) EG,B [Pe(φML; B, G)]
Pe
(n)(R)
n → ∞
25
(n)(R) EG,B [Pe(φML; B, G)]
Pe(φML; b, g)
Pb,g
b
u ˜ u 2N0
u∥ = 2d √ # of 1's in c ⊕ ˜ c
= Q √ 2SNR
c)
c
≤ 1 2 exp (−SNR w(c ⊕ ˜ c))
Pe(φML; b, g) ≤
˜ b̸=b Pb,g
b
Pe
(n)(R) EG,B [Pe(φML; B, G)] ≤
b=b
1 2nk 1 2k 1 2 exp (−SNR w(c ⊕ ˜ c))
c = bg
26
=
b=b
1 2k 1 2
1 2nk exp (−SNR w(c ⊕ ˜ c))
b=b
1 2nk 1 2k 1 2 exp (−SNR w(c ⊕ ˜ c))
(n)(R) EG,B [Pe(φML; B, G)] ≤
b=b
1 2nk 1 2k 1 2 exp (−SNR w(c ⊕ ˜ c))
27
i.i.d.
∼ Binom(n, 1
2)
≤
b=b
1 2k 1 2
n
f(b ⊕ ˜ b) exp (−SNR ) Pe
(n)(R) EG,B [Pe(φML; B, G)]
=
b=b n
1 2k 1 2 n
2n exp (−SNR ) = ⇒ fℓ(x) = P {w(y) = ℓ} = n
ℓ
1
2n
28
≤
b=b
1 2k 1 2
n
f(b ⊕ ˜ b) exp (−SNR ) Pe
(n)(R) EG,B [Pe(φML; B, G)]
=
b=b n
1 2k 1 2 n
2n exp (−SNR ) = 2k − 1 2
n
n
2n exp (−SNR ) = 2k − 1 2n+1 (1 + exp (−SNR))n ≤ 2n{R−1− 1
n +log2(1+exp(−SNR)}
29
Pe
(n)(R) EG,B [Pe(φML; B, G)]
n +log2(1+exp(−SNR)}
Pe
(n)(R) EG,B [Pe(φML; B, G)] ≤ 2−nδ → 0
as n → ∞ Hence, when R < R*, there exists at least one sequence of generator matrices with strictly positive rate R and vanishing probability of error! Meanwhile, energy per bit is finite, too!
Eb N0 = nd2 kN0 = SNR R