Error Detection and Correction
Error Detection and Correction
Error Detection
and
Correction
10.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Note
10.2
10-1 INTRODUCTION
10.3
Note
10.4
Figure 10.1 Single-bit error
10.5
Note
10.6
Figure 10.2 Burst error of length 8
10.7
Note
10.8
Figure 10.3 The structure of encoder and decoder
10.9
Note
10.10
Figure 10.4 XORing of two single bits or two words
10.11
10-2 BLOCK CODING
10.12
Figure 10.5 Datawords and codewords in block coding
10.13
Example 10.1
10.14
Four types of redundancy checks are used
in data communications
10.15
Vertical Redundancy Check
VRC
10.16
Performance
10.17
Longitudinal Redundancy Check
LRC
10.18
Performance
LCR increases the likelihood of detecting
burst errors.
If two bits in one data units are damaged
and two bits in exactly the same positions
in another data unit are also damaged,
the LRC checker will not detect an error.
10.19
VRC and LRC
10.20
Error Correction
10.21
Single-bit error correction
To correct an error, the receiver reverses the
value of the altered bit. To do so, it must
know which bit is in error.
Number of redundancy bits needed
◼ Let data bits = m
◼ Redundancy bits = r
10.23
Hamming Code
10.24
Hamming Code
10.25
Hamming Code
Example of Hamming Code
Single-bit error
Error
Detection