1 Error Detection and Correction
1 Error Detection and Correction
DETECTION
AND
CORRECTION
INTRODUCTION
Data can be corrupted during transmission.
So error detection and correction is
essential for reliable communication.
BURST ERROR
The length of the burst is measured from the
first corrupted bit to the last corrupted bit.
DETECTION
Error detection uses the concept of redundancy
which means adding extra bits for detecting
errors at the destination.
DETECTION
CHECKSUM GENERATOR
CHECKSUM CHECKER
EXAMPLE:
EXAMPLE:
pattern
pattern
ASSIGNMENT
2r>=m+r+1
If the data bits m=7 then r=4
As
24 >=11
11
10
d d d r8 d d d r4 d r2 r 1
Redundancy bits
0111
r8
r4
r2
r1
11
10
r1 =1 ,3,5,7,9,11
r2 = 2 ,3, 6,7, 10,11
r4 = 4 ,5 ,6,7
r8 = 8,9,10, 11
With these combinations we calculate the r
bits.
11
10
11
10
11
10
11
10
11
10
Code is 10011100101
1
4
1
4
11
10
11
10
11
10
11
10
0 1 1 1