3.1 &3.3
3.1 &3.3
ERROR DETECTION
AND CORRECTION
(14 MARKS)
Errors in Data Communication
Burst error
Frame contains more than 1 consecutive bits corrupted.
• It means two or more bits in data unit are changed from 1 to 0 from 0
to 1 as shown in fig.
• In burst error, it is not necessary that only consecutive bits are
changed.
• The length of burst error is measured from first changed bit to last
changed bit.
• As shown in fig. length of burst error is 8, although some bits are
unchanged in between. Burst error is most likely to occur in a serial
transmission.
Page
Compiled by Kalyani Pawar
9
FEC
Page
Compiled by Kalyani Pawar
10
FEC
Advantages:
•Reduces latency since errors are corrected at the receiver without waiting for
retransmissions.
•Useful for real-time applications (e.g., VoIP, video streaming) where
retransmission delays are undesirable.
•Works well in noisy channels where retransmission may be impractical (e.g.,
satellite communications).
•Disadvantages:
•Increases bandwidth usage due to added redundancy.
•Complex error-correcting codes require more processing power.
Page
Compiled by Kalyani Pawar
12
Retransmission (ARQ)
• How it Works:
• The receiver detects errors and requests the sender to resend
the corrupted data.
• ARQ uses acknowledgments (ACKs) for successful reception and
negative acknowledgments (NAKs) for errors.
• Common ARQ protocols include Stop-and-Wait ARQ, Go-Back-N
ARQ, and Selective Repeat ARQ.
✓ Repetition codes,
✓ VRC(Vertical Redundancy Check),
✓ LRC(Longitudinal Redundancy Check),
✓ CRC(Cyclic Redundancy Check) and
✓ Checksum.
For example,to send bit pattern “1011”,the four –bit block can
be repeated three times thus producing “1011 1011 1011”.
However,if this twelve bit pattern was received as “1010 1011
1011”-where the first block is unlike the other two-it can be
determined that an error has ocuured.
A repetition code is very inefficient and can be susuceptible to
problems if the error occurs in exactly the same place for each
group.(eg “1010 1010 1010”) in the previous example would
be detected as correct
The advantage of repetition codes is that they are extremely
simple,and are in fact used in some transmission of numbers
stations.
Prepared by Kalyani Pawar
Advantages:
•Simple to implement.
•Effective for detecting and correcting single-bit errors.
Disadvantages:
•Inefficiency: Increases data size significantly.
•Limited Error Correction: Can only correct a small
number of errors per codeword.
•Not Optimal: More advanced codes (e.g., Hamming
codes)provide better error correction with less
redundancy.
• When the data unit is reached its destination, the receiver puts all
eight bits through an even-parity checking function. If the receiver
sees 11100001, it counts and gets four 1s, an even number.
• But if the receiver sees 11100101, or total number of 1s is odd.
• The receiver knows that an error has been occurred into the data
somewhere and therefore rejects the whole unit.
• For the odd-parity checking, the principle is same but the calculation
is different.
• The advantages of VRC are it can detect all single-bit errors. It also
can detect burst errors as long as the total number of bits changed is
odd (1,3,5, etc). The same holds true for any odd number of errors.
• However ,it is hit by a burst noise of length six and some bits are
corrupted.
11100111
01011101
00101001
10101001
00111010
LRC calculated by receiver
10101001
00111001
11011101
11100111
10101010
LRC calculated by receiver
As both LRC (sent by sender and calculated by receiver )are same so receiver will
accept the
Prepared by data
Kalyani Pawarblock.
Advantages and disadvantages of LRC
Advantage :
• LRC is improved error detection capability.
Disadvantage:
• More overhead is required in coding and decoding and
transmission of LRC.
Kalyani Pawar
Department of Information Technology(NBA Accredited)
Vidyalankar Polytechnic
Vidyalankar College Marg, Wadala(E), Mumbai 400 037
Prepared by Kalyani Pawar E-mail: [email protected]
Any Questions