Chapter10 (Error Detection and Correction)
Chapter10 (Error Detection and Correction)
10.2 Detection
~ is when only one bit in the data unit has changed (ex :
ASCII STX - ASCII LF)
Example 1
Suppose the sender wants to send the word world. In
ASCII the five characters are coded as
1110111 1101111 1110010 1101100 1100100
The following shows the actual bits sent
11101110 11011110 11100100 11011000 11001001
Example 2
Now suppose the word world in Example 1 is received by
the receiver without being corrupted in transmission.
11101110 11011110 11100100 11011000
11001001
The receiver counts the 1s in each character and comes up
with even numbers (6, 6, 4, 4, 4). The data are accepted.
Example 3
Now suppose the word world in Example 1 is corrupted
during transmission.
11111110 11011110 11101100 11011000
11001001
The receiver counts the 1s in each character and comes up
with even and odd numbers (7, 6, 5, 4, 4). The receiver
knows that the data are corrupted, discards them, and asks
for retransmission.
Kyung Hee Universit
y
20
Two –Dimensional Parity Check
Binary Division
in a
CRC Generator
10101001
00111001
--------------
11100010 Sum
00011101 Checksum
10101001
00111001
00011101
---------------
11111111 Sum
00000000 Complement
Kyung Hee Universit
y
35
10.3 Error Correction
2r m + r + 1
24 7 + 4 + 1
1 2 3
2 3 5
3 3 6
4 3 7
5 4 9
6 4 10
7 4 11
~ developed by R.W.Hamming