Chapter 10 Error Detection & Correctio
Chapter 10 Error Detection & Correctio
Single-bit error
Figure 9-4
Burst error
Figure 9-5
Redundancy
CRC
Binary Division
Detection(contd)
Binary Division in a CRC Checker
Figure 9-12
Polynomial CRC generator(divisor) is most often represented not as a string of 1s and 0s, but as an algebraic polynomial.
WCB/McGraw-Hill
Figure 9-13
WCB/McGraw-Hill
Figure 9-14
Standard Polynomials
WCB/McGraw-Hill
Figure 9-15
Checksum
WCB/McGraw-Hill
Figure 9-16
WCB/McGraw-Hill
Detection(continued)
Figure 9-17
Error Correction
~ can be handled in two ways when an error is discovered, the receiver can have the sender retransmit the entire data unit. a receiver can use an error-correcting code, which automatically corrects certain errors.
WCB/McGraw-Hill
Error Correction
If the total number of bits in a transmittable unit is m+r, then r must be able to indicate at least m+r+1 different states r 2 m+r+1 ex) For value of m is 7(ASCII) , the smallest r value that can satisfy this equation is 4 24 7 + 4 + 1
Figure 9-18
Hamming Code
each r bit is the VRC bit for one combination of data bits r1 = bits 1, 3, 5, 7, 9, 11 r2 = bits 2, 3, 6, 7, 10, 11 r4 = bits 4, 5, 6, 7 r8 = bits 8, 9, 10, 11
WCB/McGraw-Hill
Figure 9-19
Hamming Code
WCB/McGraw-Hill
Figure 9-19-continued
Hamming Code
WCB/McGraw-Hill
Figure 9-20
WCB/McGraw-Hill
Figure 9-22
Error Detection
WCB/McGraw-Hill