DCN Error Correction
DCN Error Correction
DCN Error Correction
..
Asst.Prof.Anan Phonphoem, Ph.D.
Errors
Single-Bit
Burst (Multiple-bit)
[email protected]
http://www.cpe.ku.ac.th/~anan
Computer Engineering Department
Kasetsart University, Bangkok, Thailand
1
Single-bit error
Redundancy
VRC
LRC
CRC
Checksum
Longitudinal Redundancy
Check (LRC)
Example
Suppose the sender wants to send the word world. In
ASCII the five characters are coded as
1110111 1101111 1110010 1101100 1100100
w
d
n bits
10
Two-dimensional parity
(LRC + VRC)
11
12
Binary Division
in a CRC generator
Binary Division
in a CRC checker
13
Polynomial
14
15
16
Standard Polynomials
2 properties
Should not divisible by x
Should be divisible by (x+1)
Example
Cannot choose x (binary 10) or x2 + x (binary 110)
Name
Polynomial
Application
CRCCRC-8
x8 + x2 + x + 1
x10 + x9 + x5 + x4 + x 2 + 1
ATM header
CRCCRC-10
x16
ITUITU-16
x32
ITUITU-32
x26 +
x12
x23
x5 +
x22
x16
ATM AAL
HDLC
x12
+
+
+
+
+
x11 + x10 + x8 + x7 + x5 + x4 + x2
+x+1
LANs
17
18
CRC
Checksum
Notes:
Segment
Add using ones complement
Sum is complemented
19
20
21
Error Correction
22
23
24 >= 7+4+1
24
Hamming Code
Hamming Code
25
Hamming Code
26
Each bit is
covered
by at least
2 checkers
27
Single-bit error
28
Error Detection
29
30