Error Correction
Error Correction
2007.7.24
NHK Communications Training Institute
Hideo Tsuji [email protected]
1
Training material of NHK-CTI
2
Training material of NHK-CTI
correction
3
Training material of NHK-CTI
for broadcasting
Recording
Transmission
Editing
Studio
Location Reception
Field pick up
live
4
Training material of NHK-CTI
Noise
Information Source Channel
(Error)
(Video/audio/ coding Modulation
coding
data etc.
Channel
(Satellite,
Terrestrial)
5
Training material of NHK-CTI
Original
signal 0 1 0 0 1 0 1 0
Small Threshold
noise level
0 1 0 0 1 0 1 0
Large Threshold
noise level
0 1 0 1 1 0 1 0
Advantage of digitalization
Only the distinction between 0 and 1, Strong against noise → The high quality
Error correction technology
6
Training material of NHK-CTI
Random error
Irregularly and disorderly generated in the
transmission bit sequence
Caused by a thermal noise and a wave distortion.
Burst error
Concentrate partially and occur continuously
Caused by loss of synchronization, impulse noise and
persistent attenuation like fading, etc.
Quality
Evaluated by BER (Bit Error Rate)
Ex.10-3 , 10-6
7
Training material of NHK-CTI
9
Training material of NHK-CTI
ARQ
FEC
TX data-1 data-2 data-3
ARQ FEC
12
Training material of NHK-CTI
correction?
Error may occur during transmission
impossible decoding the data
External Noise
Coding Decoding
A 0100 010? ?
15
Training material of NHK-CTI
Calculation
(modulus 11 with weights 10-2)
4-87966-931-?
4x10+8x9+7x8+9x7+6x6+6x5+9x4+3x3+1x2
= 40 +72 +56 +63 +36 +30 +36 +9 +2
=344
344 ⁄ 11 = 31 … 3
11-3 = 8 check digit is 8
17
Training material of NHK-CTI
18
Training material of NHK-CTI
Error
correction
19
Training material of NHK-CTI
Error
correction
20
Training material of NHK-CTI
In digital, 0→1,1→0
21
Training material of NHK-CTI
Error
Original Recognized
Received message
message message
“This is a pen” “This is a pbn” ?
No word
Error
Original Recognized
Received message
message message
“This is a pen” “This is b pen” “This is a pen”
Grammar error
Error
Original Recognized
Received sequence
sequence sequence
1001101011 1011101011 ??
24
Training material of NHK-CTI
(digital transmission)
Original Add
[Number of “1”] Codeword [number of “1”]
sequence bit
sequence
0101 [2(even)] 0 01010 [2(even)]
+ =
1011 [3(odd)] 1 10111 [4(even)]
25
Training material of NHK-CTI
Error
Original Codeword Received Recognized
sequence sequence sequence sequence
[number of “1”]
0101 01010 01110 [3(odd)] ?
1011 10111 10101 [3(odd)] ?
26
Training material of NHK-CTI
(digital transmission)
Rule: Add the same two bits to the original
one bit
0 + 00 000
=
1 11 111
27
Training material of NHK-CTI
Error
Original Codeword Received Recognized
bit sequence sequence sequence
28
Training material of NHK-CTI
0 1 0 1 0 1 1 1 ← Odd number
1 1 0 0 1 1 0 0
1 0 1 0 1 0 1 0
0 0 1 0 0 0 1 0
↑
Odd number
29
Training material of NHK-CTI
30
Training material of NHK-CTI
code almighty?
31
Training material of NHK-CTI
Error
Original Recognized
Received message
message message
“This is a pen” “This is a pbn” “This is a pun”
No word
32
Training material of NHK-CTI
Error
Original Recognized
Received message
message message
“This is a pen” “This is a pun” “This is a pun”
34
Training material of NHK-CTI
Error
Original Codeword Received Recognized
sequence sequence sequence sequence
[number of “1”]
0101 01010 11110 [4(even)] 1111
Undetected error
36
Training material of NHK-CTI
error correction
37
Training material of NHK-CTI
Codewords
All the codewords are 2bit or more different.
000
011
Minimum Hamming distance =2
101
110
Z
(001) (011)
Codeword
000 011
101 110 (101) (111)
Codeword
Invalid codeword (000) (010) Y
dH:Hamming distance
(100) (110)
X dH=1
In case of 1 bad bit →Code of one Hamming distance =Invalid codeword
In case of 2 bad bit →Code of two Hamming distance =Another codeword
40
Training material of NHK-CTI
42
Training material of NHK-CTI
Cn=(x1,x2,・・,xN)
C3 dmin≧s+1
s: Number of error detecting
capability
43
Training material of NHK-CTI
44
Training material of NHK-CTI
Cn=(x1,x2,・・,xN)
C3 dmin≧2t+1
t: Number of error
correcting capability
Error correction area
Possible to correct less
than or equal t bits
t 1 t
Codeword
C1 C2
dmin Invalid codeword
45
Training material of NHK-CTI
correction codes
46
Training material of NHK-CTI
Hamming code
BCH code
Random error
correction code Golay code
Wyner-Ash code
Sequential decode
Convolutional code
Burst error Hangelberger code
correction code Iwatare code
Turbo code/
Soft decision decode
Concatenated code
117 Product code 47
Training material of NHK-CTI
Codeword
Function
Convolutinal coder
Key word; code rate:1/2, constraint length:7
D Delay + Modulo-2 addition
Xoutput
+
G1=171oct
Input D D D D D D
G2=133oct
+
113 Youtput 49
Training material of NHK-CTI
The coefficient of n-
n-th power of x in polynomial
expression shows the corresponding bit position
in the sequence
Example c=(1,1,0,0,0,1)
5 4
c(x) = x + x + 1
50
Training material of NHK-CTI
Operation including X
(Addition ) 0+X=X, 1+X=1+X, X+X=0
(Multiplication) 0×X=0, 1×X =X, X×X = X2
51
Training material of NHK-CTI
53
Training material of NHK-CTI
c1 = i1
Coding
c2 = i2
c3 = i3
c4 = i4
c5 = c 1 + c 2 + c3
Parity check bit c6 = c2 + c3 + c4
c7 = c1 + c2 + c4
54
Training material of NHK-CTI
C1 C2 C1+C3 C1+C2+C4
1011 C1 C2 C3 C4 C5 C6 C7
C1 0 C1 C1
C2 C1+C3 C1+C4 C5
C2 0 C2 C2
C1+C3 C1+C2+C4 C2+C5 C6
C1+C3 0 C1+C3 C1+C3
C1+C2+C4 C1+C2+C3+C5 C1+C3+C6 C7
C1+C2+C4 0 C1+C2+C4 C1+C2+C4
C1+C2+C3+C5 C2+C3+C4+C6 C1+C2+C4+C7
c1 + c2 + c3 + c5 =0
c2 + c3 + c4 + c6 = 0
c1 + c2 + c4 + c7 = 0
56
Training material of NHK-CTI
Received sequence r = c + e
= (c1 + e1, c2 + e2, ⋅ ⋅ ⋅ ⋅ ⋅ , ck + 1 + ek + 1)
= (r1, r2, ⋅ ⋅ ⋅ ⋅ ⋅ , rk + 1)
57
Training material of NHK-CTI
Syndrome s:
Syndrome (s) is the substitution of the element in
received sequence (r) for the parity check equation
s1 = r1 + r2 + r3 + r5
= c1 + e1 + c2 + e2 + c3 + e3 + c5 + e5
= e1 + e2 + e3 + e5
s2 = r2 + r3 + r4 + r6
= c2 + e2 + c3 + e3 + c4 + e4 + c6 + e6
= e2 + e3 + e4 + e6
s3 = r1 + r2 + r4 + r7
= c1 + e1 + c2 + e2 + c4 + e4 + c7 + e7
= e1 + e2 + e4 + e7
58
Training material of NHK-CTI
e1 e2 e3 e4 e5 e6 e7 s1 s2 s3
1 0 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 1 1 1
0 0 1 0 0 0 0 1 1 0
0 0 0 1 0 0 0 0 1 1
0 0 0 0 1 0 0 1 0 0
0 0 0 0 0 1 0 0 1 0
0 0 0 0 0 0 1 0 0 1
0 0 0 0 0 0 0 0 0 0
Error patterns are substituted into the previous page syndrome S1, S2, S3,
then obtain Syndrome pattern
59
Training material of NHK-CTI
C4 c4
c3 c3
c2 c2
c1 c1
c7
c6
c5
61
Training material of NHK-CTI
c4 c4
c3 c3
c2 c2
c1 c1
c7
c6
c5
62
Training material of NHK-CTI
divisible → No error
indivisible → Error
63
Training material of NHK-CTI
Principal
Information desired to transmit data is 5,678
As a rule, decide divisor as 98 beforehand
2 digits redundant data is added 5,678 567,800
Divide 567,800 by 98, remainder becomes 86
Add (98-86=12) to the 567,800
567,800+12=567,812 is divisible by 98
Transmitting information is 567,812
In receiver side, divide the received data by 98, if there is
no remainder, no error, it is true data, discard 2bit from
LSB,
...........otherwise erroneous data
64
Training material of NHK-CTI
Encoding
Encode codeword polynomial c(x) which is divisible by
generator polynomial g(x)
n−k
c( x) = x i( x) + p( x) = q( x) g ( x)
Decoding
Divide received polynomial r(x) by g(x), which contains error
polynomial e(x),
s ( x ) = r ( x ) mod g ( x ) = { c ( x ) + e( x ) }mod g ( x )
= e(x) mod g(x)
From syndrome polynomial s(x), find the syndrome pattern and
correct the reception message and get the right codeword
65
Training material of NHK-CTI
f ( x) x6 + x4
= 3 = x3 + 1 remainder p(x)=x+1
g ( x) x + x + 1
Therefore c(x)=f(x)+p(x)=x6+x4+x+1
Convert to information code c=(1,0,1,0,0,1,1)
67
Training material of NHK-CTI
1 x x2 Xn-1 Xn
g0 g1 g2 gn-1
124
68
Training material of NHK-CTI
Generator polynomial 69
Training material of NHK-CTI
ik-1 ・ ・ ・ ・ i1 i0 pm-1 ・ p1 p0
i3 ii2 i1 i0 000
remainder p=(p2 p1 p0)
1011
Codewords is 1010011
72
Training material of NHK-CTI
73
Training material of NHK-CTI
75
Training material of NHK-CTI
if divisible → No error
if indivisible → Error detected
Hamming (7,4)
Generator bit: 「1011」 x3+x+1 dmin=3
Hamming (31,26)
Generator bit: 「100101」 x5+ x2 +1
77
Training material of NHK-CTI
10 0
10 -1
10 -2
Bit error rate
10 -3 No coding
H(63,57)
10 -4
H(7,4)
10 -5 2.4dB
0.4dB
(63,57) (7,4)
10 -6
0 1 2 3 4 5 6 7 8 9 10
Eb/No (dB) C/N(dB)
78
Training material of NHK-CTI
(Hamming code)
0
Bit error rate after error correction
10
-1
10
-2
10
-3 (63,57)
10
-4
10 (7,4)
-5
10
-6
10 -3 -2 -1
10 10 10
Bit error rate before error correction
79
Training material of NHK-CTI
BCH code
Training material of NHK-CTI
(Bose Chaudhuri
Hochquenghem )
80
Training material of NHK-CTI
Code length: n
ik-1 ・ ・ ・ ・ i1 i0 pm-1 ・ p1 p0
Codeword
i6 i5 i4 i3 i2 i1 i0 p7 p6 p5 p4 p3 p2 p1 p0
i6i5i4i3i2i1io00000000
Remainder: R=p7p6p5p4p3p2p1p0
111010001
82
Training material of NHK-CTI
83
Training material of NHK-CTI
i6 i5 i4 i3 i2 i1 i0 p7 p6 p5 p4 p3 p2 p1 p0
i6 i5 i4 i3 i2 i1 i0 p7 p6 p5 p4 p3 p2 p1 p0
Position R of g1(x) R of g3(x) Position R of g1(x) R of g3(x) Position R of g1(x) R of g3(x)
i6, i5 0100 0111 i 4 , p3 0111 1100 i 0 , p6 1001 1010
i6, i4 0110 1011 i 4 , p3 1011 0000 i 0 , p5 0011 1001
i6, i3 0111 1101 i 4 , p1 1101 0110 i 0 , p4 0110 0111
i6, i2 1110 1110 i 4 , p0 1110 0101 i 0 , p3 1101 0000
i6, i1 0011 0000 i3, i2 1001 1011 i 0 , p2 0001 1100
i6, i0 1100 0111 i3, i1 0100 1101 i 0 , p1 0111 1010
i 6 , p7 0010 1011 i3, i0 1011 1010 i 0 , p0 0100 1001
i 6 , p6 0101 1100 i 3 , p7 0101 0101 p7, p6 0111 0110
i 6 , p5 1111 1110 i 3 , p6 0010 0000 p7, p5 1101 0101
i 6 , p4 1010 0000 i 3 , p5 1000 0011 p7, p4 1000 1011
i 6 , p3 0001 0111 i 3 , p4 1101 1101 p7, p3 0011 1100
i 6 , p2 1101 1011 i 3 , p3 0110 1010 p7, p2 1111 0000
i 6 , p1 1011 1101 i 3 , p2 1010 0110 p7, p1 1001 0110
i 6 , p0 1000 1110 i 3 , p1 1100 0000 p7, p0 1010 0101
i5, i4 0010 1100 i 3 , p0 1111 0011 p6, p5 1010 0011
i5, i3 0011 1010 i2, i1 1101 1110 p6, p4 1111 1101
i5, i2 1010 1001 i2, i0 0010 1001 p6, p3 0100 1010
i5, i1 0111 0111 i 2 , p7 1100 0101 p6, p2 1000 0110
i5, i0 1000 0000 i 2 , p6 1011 0011 p6 , p 1 1110 0000
i 5 , p7 0110 1100 i 2 , p5 0001 0000 p6, p0 1101 0011
i 5 , p6 0001 1010 i 2 , p4 0100 1110 p5, p4 0101 1110
i 5 , p5 1011 1001 i 2 , p3 1111 1001 p5, p3 1110 1001
i 5 , p4 1110 0111 i 2 , p2 0011 0001 p5, p2 0010 0101
i 5 , p3 0101 0000 i 2 , p1 0101 0101 p5, p1 0100 0011
i 5 , p2 1001 1100 i 2 , p0 0110 0000 p5, p0 0111 0000
i 5 , p1 1111 1010 i1, i0 1111 0111 p4, p3 1011 0111
i 5 , p0 1100 1001 i 1 , p7 0001 1011 p4, p2 0111 1011
i4, i3 0001 0110 i 1 , p6 0110 1101 p4, p1 0001 1101
i4, i2 1000 0101 i 1 , p5 1100 1110 p4, p0 0010 1110
i4, i1 0101 1011 i 1 , p4 1001 0000 p3, p2 1100 1100
i4, i0 1010 1100 i 1 , p3 0010 0111 p3, p1 1010 1010
i 4 , p7 0100 0000 i 1 , p2 1110 1011 p3, p0 1001 1001
i 4 , p6 0011 0110 i 1 , p1 1000 1101 p2, p1 0110 0110
i 4 , p5 1001 0101 i 1 , p0 1011 1110 p2, p0 0101 0101
i 4 , p4 1100 1011 i 0 , p7 1110 1100 p1, p0 0011 0011 85
Training material of NHK-CTI
Remainder and bit error position in BCH (15,7) Training material of NHK-CTI
i6 i5 i4 i3 i2 i1 i0 p7 p6 p5 p4 p3 p2 p1 p0
Remainder of g3(x)
0000 1000 0100 1100 0010 1010 0110 1110 0001 1001 0101 1101 0011 1011 0111 1111
0000
1000 i5,i0 p3 p6,p2 i6,p0 i4,i2 i1,p1 i3,p5 p7,p4
0100 i4,p7 p2 p6,p3 i2,p4 i0,p0 i3,i1 p5,p1 i6,i5
1100 i3,p1 p3,p2 p6 i1,p5 i5,p0 i2,p7 i4,p4 i6,i0
Remai 0010 i3,p6 i5,i4 p1 p4,p0 i2,i0 p5,p2 i6,p7 i1,p3
nder of 1010 i6,p4 i4,i0 p3,p1 i3,p2 i5,i2 p7,p0 p6,p5 i0,p4 i1
g1(x) 0110 i2,p0 i5,p7 i3,p3 p2,p1 p5 i1,p6 i6,i4 i5,p4
1110 p6,p1 i0,p7 i3 i6,i2 p5,p3 i4,p0 i1,p2 i6,p3
0001 i2,p5 i0,p2 i5,p6 i4,i3 p0 p4,p1 i1,p7
1001 i1,p4 i5,p2 i0,p6 p7,p1 p3,p0 i4,p5 i3,i2 i6
0101 i5,p3 i0 i3,p7 p5,p4 p2,p0 i6,p6 i2,p1 i4,i1
1101 i0,p3 i5 i4,p1 p2,i1 p7,p5 i3,p4 p6,p0 i6,p2
0011 i6,i1 p7,p3 i5,i3 i4,p6 i0,p5 i2,p2 p1,p0 p4
1011 i4,p2 p7 i3,i0 i1,p0 i5,p5 i6,p1 i2,p6 p4,p3
0111 p5,p0 i4,p3 i0,p1 p7,p6 i2 i6,i3 p4,p2 i5,i1
1111 p7,p2 i4 i5,p1 i6,p5 i2,p3 p6,p4 i3,p0 i1,i0
Ex. single bit error: i3 ←→ remainder of g1(x) :1110, remainder of g3(x): 0010
Ex. 2 bits error :i5, i3← → remainder of g1(x) :0011, remainder of g3(x): 1010
86
Training material of NHK-CTI
Reed--Solomon code
Reed Training material of NHK-CTI
88
Training material of NHK-CTI
Reed--Solomon code
Reed Training material of NHK-CTI
ik-1 ・ ・ ・ ・ i1 i0 pm-1 ・ p1 p0
Vector expression 000 100 010 001 110 011 111 101
2 3 4 5 6
3-Tuple Power 0 1 α α α α α α
000 0 0 1 α α2 α3 α4 α5 α6
3 6 5 4 2
100 1 1 0 α α α α α α
010 α α α3 0 α4 1 α2 α6 α5
001 α2 α2 α6 α4 0 α5 α α3 1
3 3 5 6 2 4
110 α α α 1 α 0 α α α
011 α4 α4 α5 α2 α α6 0 1 α3
5 5 4 6 3 2
111 α α α α α α 1 0 α
101 α6 α6 α2 α5 1 α4 α3 α 0
Vector expression 000 100 010 001 110 011 111 101
3-Tuple Power 0 1 α α2 α3 α4 α5 α6
000 0 000 100 010 001 110 011 111 101
100 1 100 000 110 101 010 111 011 001
010 α 010 110 000 011 100 001 101 111
2
001 α 001 101 011 000 111 010 110 100
110 α3 110 010 100 111 000 101 001 011
4
011 α 011 111 001 010 101 000 100 110
5
111 α 111 011 101 110 001 100 000 010
6
101 α 101 001 111 100 011 110 010 000
91
Training material of NHK-CTI
Vector expression 000 100 010 001 110 011 111 101
3-Tuple Power 0 1 α α2 α3 α4 α5 α6
000 0 0 0 0 0 0 0 0 0
2 3 4 5 6
100 1 0 1 α α α α α α
010 α 0 α α2 α3 α4 α5 α6 1
2 2 3 4 5 6
001 α 0 α α α α α 1 α
3 3 4 5 6 2
110 α 0 α α α α 1 α α
011 α4 0 α4 α5 α6 1 α α2 α3
5 5 6 2 3 4
111 α 0 α α 1 α α α α
6 6 2 3 4 5
101 α 0 α 1 α α α α α
Vector expression 000 100 010 001 110 011 111 101
2 3 4 5 6
3-Tuple Power 0 1 α α α α α α
000 0 000 000 000 000 000 000 000 000
100 1 000 100 010 001 110 011 111 101
010 α 000 010 001 110 011 111 101 100
001 α2 000 001 110 011 111 101 100 010
110 α3 000 110 011 111 101 100 010 001
4
011 α 000 011 111 101 100 010 001 110
111 α5 000 111 101 100 010 001 110 011
101 α6 000 101 100 010 001 110 011 111
92
Training material of NHK-CTI
α: a root of g(x)=x3+x+1=0
A+B+C+P+Q=0
2 3 4 5
Parity check equation
αA+α B+α C+α P+α Q=0
From above equations, P and Q are as follows:
P= α6A+α3B+α2C
Q=α2A+αB+α6C
93
Training material of NHK-CTI
Symbol A → S2=αS1
Symbol B → S2=α2S1
Symbol C → S2=α3S1
P=α6A+α3B+α2C Q=α2A+αB+α6C
=α6・1+α3・α+α2・α2 =α2・1+α・α+α6・α2
=α6+α4+α4 =α2+α2+α8
=α6 =α8
=101 =α
=010
A B C P Q
100 010 001 101 010
96
Training material of NHK-CTI
If symbol A is error
A=100 → 011 (3 bits error)
S1=A+B+C+P+Q S2=αA+α2B+α3C+α4P+α5Q
=α4+α+α2+α6+α =α・α4+α2・α+α3・α2 +α4・α6 +α5・α
=α2+α4+α6 =α5+α3+α5 +α10+α5
=α+α6 =α3+α3+α6
= α5 =α6
=111 =αS1
97
Training material of NHK-CTI
98
Training material of NHK-CTI
99
Training material of NHK-CTI
:1bit delay 10
+ c1 + :Adder 11/0 01/0
11010
a1 a2 a3 00/0 00 10/0 00/1 11 10/1
Input Output c1c2
a1 a2 a3
+ c2 c1=a1+a2 +a3 11/1 01/1
01
c2=a1 +a3
State (a3 a2) c1c2/a1
State A:(0 0) 00/0
00/1
11/0
State B:(0 1) 11/1
10/0
State C:(1 0) 10/1
01/0
State D:(1 1) 01/1
133 100
Training material of NHK-CTI
160/320 Shibuya
101
Training material of NHK-CTI
Information message 0 1 0 1 1 0 0 0
Transmitted message 00 11 10 00 01 01 11 00
Received message 10 11 11 00 01 01 11 00
1 (1) 2 (3) (5)
State A:(0 0)
1 (1) (2)
0 (1)
(3)
State B:(0 1)
1 (2) (4)
(2)
State C:(1 0)
(3)
1 (2) (2)
State D:(1 1) (3)
1 (2) c1c2/a1
00/0 10/0
00/1 10/1
Blanch metric Path metric 11/0 01/0
11/1 01/1
145 102
Training material of NHK-CTI
Block code
Hamming code
Single error correction
BCH code
t bit error correction
Reed solomon code
t symbol error correction
103
Training material of NHK-CTI
broadcasting field
104
Training material of NHK-CTI
105
Training material of NHK-CTI
106
Training material of NHK-CTI
107
Training material of NHK-CTI
108
Training material of NHK-CTI
109
Training material of NHK-CTI
Informative reference
Training material of NHK-CTI
110
Training material of NHK-CTI
Reed--Solomon generator
Reed Training material of NHK-CTI
Gate
X1 X2 X3 X19 X20
111
Training material of NHK-CTI
Linear code
If C1 and C2 is two arbitrary codewords, added (C1+C2 ) is also codeword
Cyclic code
If message (n-bits in length) is expressed by polynomial, cyclic code is the all
codewords (code polynomial) that are divisible by generator polynomial G(X)
If Cn=(x1,x2,x3,・・,xN) is codeword,
each element shifted Cm=(x2,x3,・・ xN,x1)is also codeword
113
Training material of NHK-CTI
Linear code
Hamming code (7,4) 0001 011 (C1)
0000 000 1000 101
+ 0010 110 (C2)
0001 011 1001 110
0010 110 1010 011
0011 101 (C1+C2=C3)
0011 101 1011 000
0100 111
0101 100
1100 010
1101 001
Cyclic code
0110 001 1110 100
0111 010 1111 111 0111 010 (C7)
1bit shift to left
1110 100 (C7→C14)
114
Training material of NHK-CTI
Capability of error
low
correction
Code B
high
Example : (6,4) code
1011 01
coding rate: 2/3 Code A
high low
Coding rate
115
Training material of NHK-CTI
Concatenated code
116
Training material of NHK-CTI
Encoder 1 Mux
Adaptation Outer Outer Inner
Energy coder interleaver coder
Encoder n Dispersal
To Antenna
Frame Guard
Inner Interval D/A Front
Mapper OFDM
interleaver Adaptation Insertion End
LPF
Pilots &
TPS
Signals
Terrestrial Channel Adapter
118
Training material of NHK-CTI
Direction of read
Deinterleaver
RSC Additive
White
Gaussian Interleaver DEC2
DEC1
Interleaver Noise
Channel
(AWGN)
Deinterleaver
RSC
120
Training material of NHK-CTI
Parity of C1
n2 k2 Information
C1:(n1,k1) code
Parity of C2
C2(n2,k2) code
121
Training material of NHK-CTI
Error
B11 B12 B13 B14 B15 P11 P12 (1) Can not correct
B21 B22 B13 B24 B25 P21 P22 (2) B21 correct
Cyclic coder
123
Training material of NHK-CTI
1 1 0 1 0 1 0
x3 +x +1
1 0 1 0 1 0
0 0 1 x5 +x3 +x
0 0
x3 +x +1
125
Training material of NHK-CTI
0 1 0 1 0
0 1 1 +x3 +x
0 0
x3 +x +1
126
Training material of NHK-CTI
1 0 1 0
1 1 0 +x3 +x
1 1
x3 +x +1
127
Training material of NHK-CTI
1 0 1 0
1 1 0 +x
1 1
x3 +x +1
1 x3
1011 1101010 x3+x+1 x6+x5 +x3 +x
1011 x6 +x4+x3
1100 x5+x4
128
Training material of NHK-CTI
11 1 0
1 1 1 +x
1 1
x3 +x +1
11 +x3+x2
1011 1101010 x3+x+1 x6+x5 +x3 +x
1011 x6 +x4+x3
1100 x5+x4
1011 x5 +x3+x2
1111 x4+x3+x2+x
129
Training material of NHK-CTI
111 0
1 0 0
1 1
x3 +x +1
111 +x3+x2+x
1011 1101010 x3+x+1 x6+x5 +x3 +x
1011 x6 +x4+x3
1100 x5+x4
1011 x5 +x3+x2
1111 x4+x3+x2+x
1011 x4 +x2+x
1000 x3
130
Training material of NHK-CTI
1111
Output: q(x)
0 1 1
x3 +x +1
Remainder (contents of resisters) : R(x)
1111 +x3+x2+x+1 Output: q(x)
1011 1101010 x3+x+1 x6+x5 +x3 +x
1011 x6 +x4+x3
1100 x5+x4
1011 x5 +x3+x2
1111 x4+x3+x2+x
1011 x4 +x2+x
1000 x3
1011 x3 +x+1
011 x+1
Remainder: R(x)
131
Training material of NHK-CTI
132
Training material of NHK-CTI
Trellis diagram
:1bit delay 10
+ c1 + :Adder 11/0 01/0
11010
a1 a2 a3 00/0 00 10/0 00/1 11 10/1
Input Output c1c2
a1 a2 a3
+ c2 c1=a1+a2 +a3 11/1 01/1
01
c2=a1 +a3
State (a3 a2) c1c2/a1
State A:(0 0) 00/0
00/1
11/0
State B:(0 1) 11/1
10/0
State C:(1 0) 10/1
01/0
State D:(1 1) 01/1
133
Training material of NHK-CTI
01/0
01/1
State D:(1 1)
134
Training material of NHK-CTI
01/0
01/1
State D:(1 1)
135
Training material of NHK-CTI
01/0
01/1
State D:(1 1)
136
Training material of NHK-CTI
1 (2) (2)
State D:(1 1)
(3)
1 (2) c1c2/a1
00/0 10/0
00/1 10/1
Blanch metric Path metric 11/0 01/0
11/1 01/1 145
Training material of NHK-CTI
State C:(1 0)
(3)
(2)
(2) (4)
State D:(1 1) (3)
Error
Corrected message 00 11 10 00 01 01 11 00
(1) (2)
State A:(0 0)
(2)
(1)
State C:(1 0)
(2)
(2)
State D:(1 1)
152
Training material of NHK-CTI
153
Training material of NHK-CTI
Relationship between error correction, detection and
minimum Hamming distance
dmin≧2t*+s*+1
Possible to correct less and equal t*bits
Possible to detect less and equal than
(t*+s*) bits
t* s* 1 t*
C1 C2 Codeword
dmin
Invalid codeword
t* t* t*=2、s*=0
dmin=5 C1 C2 Possible to correct and detect less and
dmin equal than 2bits errors
Error
corrected
area t*=1、s*=2
t* s* t*
Possible to correct 1bit error and detect
C1 C2 less and equal than 3bits errors
dmin
Error
detected
area
t*=0、s*=4
s* Impossible to correct.
C1 C2 Possible to detect less and equal than
dmin 4bits errors
155