Beruflich Dokumente
Kultur Dokumente
CORRECTING CODE?
1.
HAMMING
CODE
DONE BY :
ERROR CORRECTION
KEY IDEA
Requirement for error detection:
A code is an error-detecting code if and
only if the minimum distance between any
two code words is two.
Requirement for error correction :
For a code to be error-correcting, the
minimum distance between any two code
words must be more than two.
Number of additional bits should be :
such that it can point the position of the bit in
error. if k is the number of additional bits, the
condition is (2^K)>=m+k+1
Information
Codeword
00
000101
01
010010
10
101101
11
111010
Message digits : C1 C2 C3 C4
Codeword
: C1 C2 C3 C4 C5 C6 C7
Numer of Redundancy
Bits
(k)
Total Bits
(m+k)
Message: (C1 C2 C3 C4 ) = (0 1 1 0)
C7=1
C6=1
Resultant code word: 0 1 1 0 0 1 1
C5=0
digit!
So it will be corrected
So it will be corrected
We have seen that, the HAMMING (7,4) CODE technique will work
for any single error
circle
There is an error in left circle.
The 2nd digit is in error.
Wrong!!