SlideShare a Scribd company logo
T.Anuradha
Error Detection
and Correction
• Types of Errors
• Detection
• Correction
Basic concepts
Basic concepts
 Networks must be able to transfer data from
one device to another with complete accuracy.
 Data can be corrupted during transmission.
 For reliable communication, errors must be
detected and corrected.
 Error detection and correction
are implemented either at the data link
layer or the transport layer of the OSI
model.
Types of Errors
Single-bit error
Single bit errors are the least likely type of
errors in serial data transmission because
the noise must have a very short duration
which is very rare. However this kind of
errors can happen in parallel transmission.
Example:
Example:
If data is sent at 1Mbps then each bit lasts
only 1/1,000,000 sec. or 1 μs.
For a single-bit error to occur, the noise
must have a duration of only 1 μs, which is
very rare.
Burst error
ERROR DETECTION AND CORRECTION-COMPUTER NETWORKS.ppt
The term burst error
burst error means that two or
more bits in the data unit have changed
from 1 to 0 or from 0 to 1.
Burst errors does not necessarily mean that
the errors occur in consecutive bits, the
length of the burst is measured from the
first corrupted bit to the last corrupted bit.
Some bits in between may not have been
corrupted.
Burst error is most likely to happen in serial
transmission since the duration of noise is
normally longer than the duration of a bit.
The number of bits affected depends on the data
rate and duration of noise.
Example:
Example:
If data is sent at rate = 1Kbps then a noise of 1/100 sec
can affect 10 bits.(1/100*1000)
If same data is sent at rate = 1Mbps then a noise of
1/100 sec can affect 10,000 bits.(1/100*106
)
Error detection
Error detection
Error detection means to decide whether the
received data is correct or not without having a
copy of the original message.
Error detection uses the concept of redundancy,
which means adding extra bits for detecting
errors at the destination.
Redundancy
Four types of redundancy checks are used
Four types of redundancy checks are used
in data communications
in data communications
Vertical Redundancy Check
VRC
Performance
Performance
It can detect single bit error
It can detect burst errors only if the total
number of errors is odd.
Longitudinal Redundancy Check
LRC
Performance
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.
VRC and LRC
Cyclic Redundancy Check
CRC
Cyclic Redundancy Check
Cyclic Redundancy Check
• Given a k-bit frame or message, the
transmitter generates an n-bit sequence,
known as a frame check sequence (FCS), so
that the resulting frame, consisting of (k+n)
bits, is exactly divisible by some
predetermined number.
• The receiver then divides the incoming
frame by the same number and, if there is
no remainder, assumes that there was no
error.
Binary Division
Polynomial
Polynomial and Divisor
Standard Polynomials
Checksum
At the sender
At the sender
The unit is divided into k sections, each of n
bits.
All sections are added together using one’s
complement to get the sum.
The sum is complemented and becomes the
checksum.
The checksum is sent with the data
At the receiver
At the receiver
The unit is divided into k sections, each of n
bits.
All sections are added together using one’s
complement to get the sum.
The sum is complemented.
If the result is zero, the data are accepted:
otherwise, they are rejected.
Performance
Performance
The checksum detects all errors involving an
odd number of bits.
It detects most errors involving an even number
of bits.
If one or more bits of a segment are damaged
and the corresponding bit or bits of opposite
value in a second segment are also damaged, the
sums of those columns will not change and the
receiver will not detect a problem.
Error Correction
Error Correction
It can be handled in two ways:
1) receiver can have the sender retransmit the
entire data unit.
2) The receiver can use an error-correcting
code, which automatically corrects certain
errors.
Single-bit error correction
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
Total message sent = m+r
The value of r must satisfy the following relation:
2
2r
r
≥ m+r+1
≥ m+r+1
Error Correction
Hamming Code
Hamming Code
Hamming Code
Example of Hamming Code
Single-bit error
Error
Detection

More Related Content

PPT
901325_chapter vvvvvvvvvvvjjjjjjjvvv.ppt
PPT
Error Detection and Correction.ppt
PPT
901325_chapter 10 (1).ppt
PDF
Data Link Layer Error Correction and Detection
PPT
Error correction error detection in digital communication
PPT
Error detection and correction.ppt
PPT
error detection.ppt
PPT
Error detection.ppt
901325_chapter vvvvvvvvvvvjjjjjjjvvv.ppt
Error Detection and Correction.ppt
901325_chapter 10 (1).ppt
Data Link Layer Error Correction and Detection
Error correction error detection in digital communication
Error detection and correction.ppt
error detection.ppt
Error detection.ppt

Similar to ERROR DETECTION AND CORRECTION-COMPUTER NETWORKS.ppt (20)

PPT
computer Networks Error Detection and Correction.ppt
PPT
Error correction and detection th
PPTX
Error Detection and Correctiouionvn.pptx
PPTX
Lecture 13
PDF
1.4.pdf 1.4.pdf 1.4.pdf1.4.pdf1.4.pdf1.4.pdf
PPTX
Error Detection & Error Correction Codes
PDF
Error detection and correction
PDF
07 Data Link LayerError Control.pdf
PDF
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
PPT
PPTX
Error detection and correction
PPTX
ERROR DETECTION IN DATA COMMUNICATION AND NETWORKING-1.pptx
PPTX
III_UNIT_ErrorCorrecting.pptx
PPTX
ERROR_DETECTION.pptx
PPTX
Error detection and correction of computer network
PPTX
DCN Error Detection & Correction
PPTX
ERROR DETECTION data communication and computer network.pptx
PPTX
Error detection.
PPTX
Parity check, redundancy, and errors
PPTX
Computer Networks - Error Detection and Correction
computer Networks Error Detection and Correction.ppt
Error correction and detection th
Error Detection and Correctiouionvn.pptx
Lecture 13
1.4.pdf 1.4.pdf 1.4.pdf1.4.pdf1.4.pdf1.4.pdf
Error Detection & Error Correction Codes
Error detection and correction
07 Data Link LayerError Control.pdf
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
Error detection and correction
ERROR DETECTION IN DATA COMMUNICATION AND NETWORKING-1.pptx
III_UNIT_ErrorCorrecting.pptx
ERROR_DETECTION.pptx
Error detection and correction of computer network
DCN Error Detection & Correction
ERROR DETECTION data communication and computer network.pptx
Error detection.
Parity check, redundancy, and errors
Computer Networks - Error Detection and Correction
Ad

More from AaishajitDas1 (7)

PPTX
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
PPT
ch12-multiple-access-COMPUTER NETWORKS.ppt
PPT
ComputerNetworks-by NAVPREET SINGH SIR.ppt
PPT
Lecture06_07 GREEDY ALGORITHM-DATA ANALYTICS ALGORITHMS.ppt
PPT
Recurrences-DATA ANALYSIS ALGORITHMS.ppt
PPT
Computer Network-lecture1 by NAVPREET SINGH.ppt
PPTX
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
ch12-multiple-access-COMPUTER NETWORKS.ppt
ComputerNetworks-by NAVPREET SINGH SIR.ppt
Lecture06_07 GREEDY ALGORITHM-DATA ANALYTICS ALGORITHMS.ppt
Recurrences-DATA ANALYSIS ALGORITHMS.ppt
Computer Network-lecture1 by NAVPREET SINGH.ppt
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
Ad

Recently uploaded (20)

PPTX
introduction to high performance computing
PPTX
Artificial Intelligence
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
UNIT - 3 Total quality Management .pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPT
introduction to datamining and warehousing
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
introduction to high performance computing
Artificial Intelligence
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Visual Aids for Exploratory Data Analysis.pdf
Information Storage and Retrieval Techniques Unit III
Categorization of Factors Affecting Classification Algorithms Selection
Exploratory_Data_Analysis_Fundamentals.pdf
UNIT - 3 Total quality Management .pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Automation-in-Manufacturing-Chapter-Introduction.pdf
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
introduction to datamining and warehousing
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Abrasive, erosive and cavitation wear.pdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf

ERROR DETECTION AND CORRECTION-COMPUTER NETWORKS.ppt

  • 1. T.Anuradha Error Detection and Correction • Types of Errors • Detection • Correction
  • 2. Basic concepts Basic concepts  Networks must be able to transfer data from one device to another with complete accuracy.  Data can be corrupted during transmission.  For reliable communication, errors must be detected and corrected.  Error detection and correction are implemented either at the data link layer or the transport layer of the OSI model.
  • 5. Single bit errors are the least likely type of errors in serial data transmission because the noise must have a very short duration which is very rare. However this kind of errors can happen in parallel transmission. Example: Example: If data is sent at 1Mbps then each bit lasts only 1/1,000,000 sec. or 1 μs. For a single-bit error to occur, the noise must have a duration of only 1 μs, which is very rare.
  • 8. The term burst error burst error means that two or more bits in the data unit have changed from 1 to 0 or from 0 to 1. Burst errors does not necessarily mean that the errors occur in consecutive bits, the length of the burst is measured from the first corrupted bit to the last corrupted bit. Some bits in between may not have been corrupted.
  • 9. Burst error is most likely to happen in serial transmission since the duration of noise is normally longer than the duration of a bit. The number of bits affected depends on the data rate and duration of noise. Example: Example: If data is sent at rate = 1Kbps then a noise of 1/100 sec can affect 10 bits.(1/100*1000) If same data is sent at rate = 1Mbps then a noise of 1/100 sec can affect 10,000 bits.(1/100*106 )
  • 10. Error detection Error detection Error detection means to decide whether the received data is correct or not without having a copy of the original message. Error detection uses the concept of redundancy, which means adding extra bits for detecting errors at the destination.
  • 12. Four types of redundancy checks are used Four types of redundancy checks are used in data communications in data communications
  • 14. Performance Performance It can detect single bit error It can detect burst errors only if the total number of errors is odd.
  • 16. Performance 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.
  • 19. Cyclic Redundancy Check Cyclic Redundancy Check • Given a k-bit frame or message, the transmitter generates an n-bit sequence, known as a frame check sequence (FCS), so that the resulting frame, consisting of (k+n) bits, is exactly divisible by some predetermined number. • The receiver then divides the incoming frame by the same number and, if there is no remainder, assumes that there was no error.
  • 25. At the sender At the sender The unit is divided into k sections, each of n bits. All sections are added together using one’s complement to get the sum. The sum is complemented and becomes the checksum. The checksum is sent with the data
  • 26. At the receiver At the receiver The unit is divided into k sections, each of n bits. All sections are added together using one’s complement to get the sum. The sum is complemented. If the result is zero, the data are accepted: otherwise, they are rejected.
  • 27. Performance Performance The checksum detects all errors involving an odd number of bits. It detects most errors involving an even number of bits. If one or more bits of a segment are damaged and the corresponding bit or bits of opposite value in a second segment are also damaged, the sums of those columns will not change and the receiver will not detect a problem.
  • 28. Error Correction Error Correction It can be handled in two ways: 1) receiver can have the sender retransmit the entire data unit. 2) The receiver can use an error-correcting code, which automatically corrects certain errors.
  • 29. Single-bit error correction 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 Total message sent = m+r The value of r must satisfy the following relation: 2 2r r ≥ m+r+1 ≥ m+r+1

Editor's Notes

  • #10: Make sense of message. Make sense of message.