Professional Documents
Culture Documents
Chapter-2
(Part-3)
2
2.11 Hamming codes
3
Hamming codes
H= [ 1001011
0101110
0010111 ]
With reference to parity check matrix, H, generator matrix ,
G can be obtained as detailed in the linear block codes.
Also the error detection, syndrome computation, and error
corrections are as detailed in the linear block codes.
Perfect single error correcting Hamming codes can be
obtained using the algebraic structure of these codes.
4
shortened Hamming codes
5
shortened Hamming codes
7
Shortened cyclic code
8
Figure-21:decoder for shortened cyclic code
9
Shortened cyclic code
If sn-k+l (x) is computed in this way, then the extra l shifts can
be avoided. Simultaneous multiplication and division for
the above equation can be implemented in the following
circuit.
Example:
For m=5, there exists (31, 26) cyclic Hamming code,
generated by generator polynomial, g(x) = 1+ x2 + x5.
Suppose that it is shortened by 3 digits, the resultant
shortened code is (28,23). The normal decoding for (31,26)
code is shown in the following figure.
10
Figure-22:decoder for (31,26) cyclic code
11
Shortened cyclic code
12
Figure-23:decoder for (28,23) shortened cyclic code
13
Shortened cyclic code
14
Figure-24: Modified decoder for (28,23) shortened
cyclic code
15
Shortened cyclic code
16
2.12 Error trapping decoding
17
Error trapping decoding
18
Error trapping decoding
19
Figure-18:Error trapping decoder
20
Error trapping decoding
22
Error trapping decoding
24
Figure-19:Error trapping decoder
25
2.13 Improved error trapping decoding
26
Improved error trapping decoding
28
Kassami error decoding
30
2.14 Golay code
31
Kassami decoder:
Kassami decoder:
This decoder follows improved error trapping technique as
described in the earlier section.
The set of polynomials chosen are
φl (x) = 0, φ2 (x) = x5 , φ3 (x) = x6,
Let g1(x) = ( 1 +x2 + x4 +x5 + x6+x10 + x11 ) be the generator
polynomial. Dividing φj (x) X11 by g1(x) for j=1,2,3, it can
be obtained the following remainder polynomials:
ρ1(x) = 0
ρ2(x) = x+x2 + x5 + x6+x8 + x9
ρ3(x) = x ρ2(x) = x2 +x3+ x6 + x7+x9 + x10
32
Kassami decoder
33
Figure-20:Kassami decoder
34
Systematic search decoder:
35
Systematic search decoder: