Professional Documents
Culture Documents
fatma_newagy@eng.asu.edu.eg
2
TODAY’S TOPICS
Part 2: Channel coding
Linear Systematic Block Codes
fatma_newagy@eng.asu.edu.eg
Generator Matrix and Encoding Process
Parity Check Matrix
Encoding Circuit
3
Channel Coding in Our Everyday Lives: Examples
fatma_newagy@eng.asu.edu.eg
4
4
Channel Coding in Our Everyday Lives: Examples
fatma_newagy@eng.asu.edu.eg
5
WHAT IS CHANNEL CODING?
Channel Coding means :
Introducing redundancy (i.e., adding extra bits) to
information messages to protect against channel
fatma_newagy@eng.asu.edu.eg
errors.
6
Channel coding
Source of User of
Information Information
Source Source
Encoder Decoder
fatma_newagy@eng.asu.edu.eg
B1B2.. Bk B*1B*2.. B*k
Code Rate
Channel Channel
Encoder r=k/n Decoder
r<1
W1W2.. Wn W*1W*2.. W*n
Modulator De-Modulator
Channel
fatma_newagy@eng.asu.edu.eg
stream of iformation bits ?
2k Binary Block 2k
k-bit Messages Encoder n-bit DISTINCT
codewords
8
WHAT ARE LINEAR BLOCK CODES?
Examples
[0 1 0 ], [1 0 1], [1 1 1] are ………
Linearly Dependent
[0 1 0 ], [1 0 1], [0 0 1] are ………
Linearly Independent
10
WHY LINEAR?
Encoding Process
Store and Index 2k codewords of length n
Complexity
Huge storage requirements for large k
Extensive search processing for large k
fatma_newagy@eng.asu.edu.eg
Linear Block Codes
Stores k linearly independent codewords
Encoding process through linear combination of codewords g0,
g1,…, gk-1 based on input message u=[u0, u1,…, uk-1]
g0 g 00 g 01 ... g 0 ,n 1
v=u.G g g
1
. .
10 g11 ... g 1,n 1
. .
G= . . .
.
. . . .
gk 1 g k 1, 0 g k 1,1 ... g k 1,n 1 11
Generator Matrix
EXAMPLE Message Codeword
0000 0000000
g0 1 1 0 1 0 0 0 0001 1010001 g3
g 0 0
1 1 0 1 0 g2
G= 1
0010 1110010
g2 1 1 1 0 0 1 0 0011 0100011
g1
g3 1
fatma_newagy@eng.asu.edu.eg
0 1 0 0 0 1 0100 0110100
0101 1100101
0110 1000110
u= [0 1 1 0]
0111 0010111
1000 1101000 g0
Linear Block 1001 0111001
fatma_newagy@eng.asu.edu.eg
g3 1 0 1 0 0 0 1
u= [0 1 1 1] u= [1 0 0 1]
fatma_newagy@eng.asu.edu.eg
p-matrix kxk- identity matrix
p 00 p 01 ... p 0 ,n k 1 1 0 ... 0
p p11 ... p1,n k 1 0 1 ... 0
10
. . . . . .
G=P Ik
. . . . . .
. . . . . .
p k 1,0 p k 1,1 ... p k 1,n k 1 0 0 ... 1
14
THE PARITY CHECK MATRIX
For any k x n matrix G with k linearly independent rows,
there exists an (n-k) x n matrix H (Parity Check Matrix), such
that
G.HT=0
fatma_newagy@eng.asu.edu.eg
1 0 ... 0 p 00 p 01 ... p k 1,0
0 1 ... 0 p 01 p11 ... p k 1,1
. . . . . .
H=Ik P
T
. . . . . .
. . . . . .
0 0 ... 1 p 0 ,n k 1 p1,n k 1 ... p k 1,n k 1
15
EXAMPLE
1 1 0 1 0 0 0
0 1 1 0 1 0 0
G
fatma_newagy@eng.asu.edu.eg
1 1 1 0 0 1 0
1 0 1 0 0 0 1
1 0 0 1 0 1 1
H 0 1 0 1 1 1 0
0 0 1 0 1 1 1 16
1 1 0 1 0 0 0
0 1 1 0 1 0 0
G
ENCODING CIRCUIT 1 1 1 0 0 1 0
1 0 1 0 0 0 1
fatma_newagy@eng.asu.edu.eg
Output v
+ + +
v0 v1 v2
Parity Register