chapter 3 Error detection & correction
chapter 3 Error detection & correction
and add check bits to produce code words. These code words
are transmitted towards receiver. The check bits are used by
decoder to detect and correct the errors. Decoder separates
the data and check bits, data bits passed to destination.
Techniques of Error correction
Forward Error Correction (FEC)
Automatic request for retransmission (ARQ)
Automatic request for retransmission (ARQ)
• In the ARQ system of error control, when an error is detected,
the receiver makes a request for the retransmission of that
signal (complete or part of message) so the feedback channel
is required for sending request for retransmission.
• In ARQ system less number of check bits are required to be
sent.
• A return transmission path and additional hardware in order
to implement repeat transmission of codeword needed
• The bit rate of forward transmission must make allowance for
the backward repeat transmission.
• Error probability on the return path: is negligibly small
because the bit rate of return transmission which involves
return transmission of ACK/NAK signal is low as compared to
bit rate of forward transmission.
ARQ System
Received
1 0001011 with 1 error Even parity
Parity changed so
error is present
How does error detection take place?
Received
1 0000011 with 2 error odd parity
Received
1 0100011 with 3 error even parity
Parity changed so
error is present
pass to detect error
Note
Byte 2 1 1 0 0 0 1 0 1
Byte 3 1 1 0 1 1 0 0 1
Sum 1 1 1 1 1 0 0 0
Checksum Calculation using 2’s complement
• Data items 7,11,12,0,6 to be sent , calculate value of
checksum at sending end. Show how error detection takes
place at receiver.
• Step 1: generation of checksum
• 7+11+12+0+6=36
• Binary form= 100100
• 4-bit checksum 0100
• wrapping + 10
• ---------------------------------
• 0110=6
• Complement of 6=15-6= 9
• Step 2: Packet sent by sender 7,11,12,0,6 ,9
Checksum Calculation using 2’s complement
• Step 3: at receiver 7+11+12+0+6+9=45
• Binary form= 101101
• 4-bit checksum 1101
• wrapping + 10
• ---------------------------------
• 1111=15
• Complement of 15=15-15=0
unrestricted Simplex
Although t