Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
Types of Errors
An error occurs when a bit is altered between
transmission and reception
Binary 1 is transmitted and binary 0 is received
Binary 0 is transmitted and binary 1 is received
Single bit
Burst errors
errors
Contiguous sequence of B bits in which
the first and last bits and any number of
Isolated error that alters one bit but
intermediate bits are received in error
does not affect nearby bits
0 0 0 0 0 1 0 0 0 0 1 1 0 1 0 1 1 0 0 1 1 0 0 1
Received single-bit
burst error of
length B = 10 error
Frames
Data transmitted as one or more contiguous sequences of bits
• Probability that a bit is received in error; also known as the bit error rate
Pbb (BER)
The probability that a frame arrives with no bit errors decreases when the probability of a single bit
error increases
The probability that a frame arrives with no bit errors decreases with increasing frame length
The longer the frame, the more bits it has and the higher the probability that one of these is in
error
Error Detection
data data'
Receiver
data
Transmitter
If
any even number of bits are inverted
due to error, an undetected error occurs
Single bit Parity
1110001
Parity Bit (Even ?, Odd ?)
11100001 (Transmitted)
11100001 (Received)
11110001 (Received)
10100001 (Received)
10000001 (Received)
11000000 (Received)
2-Dimensional Parity Check
row
parity
b 1,1 b 1,j r1
b 2,1 b 2,j r2
b i,1 b i,j ri
column
parity c1 cj p
0 1 1 1 0 1 0 1 1 1 0 1
row parity
0 1 1 1 0 1 0 0 1 1 0 1 error
0 1 0 0 0 1 0 1 0 0 0 1
0 1 0 1 1 1 0 1 0 1 1 1
0 0 0 1 1 0 0 0 0 1 1 0
column
parity error
0 1 1 1 1 1 0 1
0 0 1 1 0 1 1 0
0 0 1 1 0 0 1 1
0 0 0 0 0 0 0 0
1 0 1 1 1 1 1 0
1 1 0 0 0 1 1 0
(d) Uncorrectable error pattern