Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
TE3223
SISTEM KOMUNIKASI 2
CYCLIC BLOCK
CODE
Program Studi S1 Teknik Telekomunikasi
Departemen
p
Teknik Elektro - Sekolah Tinggi
gg Teknologi
g Telkom
Bandung 2008
Hence,
Hence
(i )
i cyclic shifts of U
Example:
U = (1101)
U (1) = (1110) U ( 2 ) = (0111) U (3) = (1011) U ( 4 ) = (1101) = U
Codeword (U)
(0 0 0 0)
(0 0 0 0 0 0 0)
(1 0 0 0)
(1 1 0 1 0 0 0)
1+X+X3
(0 1 0 0)
(0 1 1 0 1 0 0)
X+X2+X4
(1 1 0 0)
(1 0 1 1 1 0 0)
1+X2+X3+X4
(0 0 1 0)
(0 0 1 1 0 1 0)
X2+X3+X5
(1 0 1 0)
(1 1 1 0 0 1 0)
1+X+X2+X5
(0 1 1 0)
(0 1 0 1 1 1 0)
X+X3+X4+X5
(1 1 1 0)
(1 0 0 0 1 1 0)
1+X4+X5
(0 0 0 1)
(0 0 0 1 1 0 1)
X3+X4+X6
(1 0 0 1)
(1 1 0 0 1 0 1)
1+X+X4+X6
(0 1 0 1)
(0 1 1 1 0 0 1)
X+X2+X3+X6
(1 1 0 1)
(1 0 1 0 0 0 1)
1+X2+X6
(0 0 1 1)
(0 0 1 0 1 1 1)
X2+X4+X5+X6
(1 0 1 1)
(1 1 1 1 1 1 1)
1+X+X2+X3+X4+X5+X6
(0 1 1 1)
(0 1 0 0 0 1 1)
X+X5+X6
(1 1 1 1)
(1 0 0 1 0 1 1)
1+X3+X5+X6
U( X ) = u0 + u1 X + u2 X 2 + ... + un 1 X n 1
degree (n-1)
R l ti
Relationship
hi b
between
t
a codeword
d
d and
d itits cyclic
li shifts:
hift
XU( X ) = u0 X + u1 X 2 + ..., u n 2 X n 1 + un 1 X n
= un 1 + u0 X + u1 X 2 + ... + un 2 X n 1 + u n 1 X n + un 1
144444
42444444
3 142
4 43
4
U (1 ) ( X )
u n1 ( X n +1)
= U (1) ( X ) + un 1 ( X n + 1)
Hence:
By extension
U ( i ) ( X ) = X i U ( X ) modulo ( X n + 1)
Let C be a binary (n
(n,k)
k) linear cyclic code
1. Within the set of code polynomials in C, there
is a unique monic polynomial g ( X ) with
minimal degree r < n. g ( X ) is called the
generator polynomials.
g ( X ) = g 0 + g1 X + ... + g r X r
2. Every code polynomial U( X )in C, can be
expressed uniquely as U ( X ) = m( X )g ( X )
3 The generator polynomial g ( X )is a factor of
3.
X n +1
M
k 1
X
X
g
(
)
g1 L g r
O O O O
g 0 g1 L g r
g 0 g1 L g r
g1 L g r
g0
G=
g0
0
g1
g0
g2
g1
.
g2
.
.
.
.
.
.
.
.
gn-k
.
0
gn-k
0
0
0 .
0 .
.
.
0
0
0
.
.
g0
g1
g2
gn-k
0 .
0 0 g0
g1
g2
. gn-k
1
Could be converted to
systematic form with
0
the help of row
G'=
operations
ti
1
1 0 1 0 0 0
1 1 0 1 0 0
1 1 0 0 1 0
1 0 1 0 0 0 1
U( X )
generator g(X)
remainder p ( X )
10
1
1
0
0
1
0
G=
1
1 0 1 0 0 0
1 1 0 1 0 0
1 1 0 0 1 0
0 1 0 0 0 1
0
1
1
0
1
0
1
1
0
1
0
1
I 44
0
0
1
0
0
0
0
1 0 0 1 0 1 1
H = 0 1 0 1 1 1 0
0 0 1 0 1 1 1
I 33
PT
11
g1
R0
R1
gn-k-1
k 1
R2
..
Rn-k-1
Xn-k m(X)
+
Information Bits
Codeword
Parity
y Check Bits
12
R0
Assume m=(1 0 1 1)
Input
Register Contents
R1
R2
Xnn-kk m(X)
+
Codeword
Information Bits
Parity Check Bits
0 0 0 ((Initial State))
1
1 1 0 (First Shift)
1 0 1 (Second Shift)
1 0 0 ((Third Shift))
1 0 0 (Fourth Shift)
Codeword:
(1 0 0 1 0 1 1)
13
14
Error
pattern
The
With
Syndrome
15
Syndrome Circuit
Syndrome Circuit is a Division Circuit
Gate
g2
g1
gn-k-1
r(X)
(X)
+
s0
s1
s2
..
sn-k-1
Received
Vector
16
s0
s1
s2
Assume r=(0 0 1 0 1 1 0)
Input
Register Contents
0 0 0 (Initial
(I iti l State)
St t )
000
100
110
011
011
111
101
Syndrome:
(1 0 1)
17
Gate
Buffer Register
Feedback Connection
Gate
+
ri
Corrected
Vector
Gate
Syndrome Register
Error Pattern
Detection Circuit
ei
Gate
Syndrome Modification
Modul 10 - Siskom 2 - Cyclic Block Code
18
Syndrome Table
Error P
E
Pattern
e(X)
Syndrome
S
d
s(X)
Syndrome
S
d
Vector
V
(s0 ,s1 , s2)
e6(X)=X6
s(X)=1+X2
(1 0 1)
e5(X)=X5
s(X)=1+X+X2 (1 1 1)
e4(X)=X4
s(X)=X+X2
(0 1 1)
3
e3((X)=X
)
s(X)=1+X
( )
((1 1 0))
e2(X)=X2
s(X)=X2
(0 0 1)
e1(X)=X1
s(X)=X
(0 1 0)
e0(X)=X
(X) X0
s(X) 1
s(X)=1
(1 0 0)
Buffer Register
ri
Gate
Corrected
Vector
Gate
Gate
+
Gate
20
+
0
1st Shift
+
0
2nd Shift
+
0
3rd Shift
+
0
4th Shift
+
1
5th Shift
+
0
6th Shift
+
0
7th Shift
+
0
21
Tugas !
22
Tugas !
Problem 5.22 (Bernard Sklar 1st edition) or Problem 6.22 (Bernard
Sklar 2nd edition)
Consider the (15, 11) cyclic code generated by g(X)=1+X+X4
1) Devise a feedback register encoder and decoder for this code
2) Illustrate the encoding procedure with the message vector
11001101011 by
y listing
g the states of register
g
((the rightmost
g
bit is
earliest bit
3) Repeat part b) for decoding procedure ( + proses error correcting )
23