SlideShare a Scribd company logo
Chapter 10
Error Detection
and Correction
• Types of Errors
• Detection
• Correction
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:
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.ppt
The term 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:
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 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
in data communications
Vertical Redundancy Check
VRC
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
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
• 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
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
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
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
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
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:
2r ≥ m+r+1
Error Correction
Hamming Code
Hamming Code
Hamming Code
Example of Hamming Code
Single-bit error
Error
Detection
An analog signal caries four bits in each signal
element. If 1000 signal elements are sent per second,
find the baud rate and the bit rate.
In this case, r = 4, S = 1000, and N is unknown. We
can find the value of N from

More Related Content

PPT
Error detection correction (CRC)
PPTX
PPSX
Error control
PPTX
Branch and bound method
PPTX
Cyclic Redundancy Check in Computers Network
PPTX
Cache coherence
PPTX
Digital Data to Digital Signal Conversion
PPTX
Digital to digital
Error detection correction (CRC)
Error control
Branch and bound method
Cyclic Redundancy Check in Computers Network
Cache coherence
Digital Data to Digital Signal Conversion
Digital to digital

What's hot (20)

PPTX
Error Detection and Correction presentation
PPTX
Computer Networks - Error Detection & Error Correction
PPTX
Artificial neural network
PPT
Error correction and detection th
PPT
25 DNS
PPTX
CS304PC:Computer Organization and Architecture Session 21 Division Algorithm....
PDF
Classical encryption techniques
PPTX
Advanced computer architecture
PDF
Checksum explaination
PPTX
Csma cd and csma-ca
PPTX
0/1 DYNAMIC PROGRAMMING KNAPSACK PROBLEM
PPTX
Divide and conquer
PPT
Error detection and correction
PPT
PDF
COMPUTER ORGANIZATION NOTES Unit 5
PPTX
Register transfer language
PPT
Number_Systems_and_Boolean_Algebra.ppt
PPT
Ip addressing classful
PPT
Avl trees
PPTX
Minimax
Error Detection and Correction presentation
Computer Networks - Error Detection & Error Correction
Artificial neural network
Error correction and detection th
25 DNS
CS304PC:Computer Organization and Architecture Session 21 Division Algorithm....
Classical encryption techniques
Advanced computer architecture
Checksum explaination
Csma cd and csma-ca
0/1 DYNAMIC PROGRAMMING KNAPSACK PROBLEM
Divide and conquer
Error detection and correction
COMPUTER ORGANIZATION NOTES Unit 5
Register transfer language
Number_Systems_and_Boolean_Algebra.ppt
Ip addressing classful
Avl trees
Minimax
Ad

Similar to error detection.ppt (20)

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
901325_chapter vvvvvvvvvvvjjjjjjjvvv.ppt
PPT
Error detection and correction.ppt
PPT
Error detection.ppt
PPT
computer Networks Error Detection and Correction.ppt
PDF
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
PPTX
Computer Networks - Error Detection and Correction
PDF
Error detection and correction
PPTX
Lecture 13
PPTX
Data link layer
PPT
CODING.ppt
PPT
PDF
07 Data Link LayerError Control.pdf
PPTX
Error Detection & Error Correction Codes
PPTX
Chapter 2.1.1.pptx
PPT
Data Communication Error_Detection_n_Correction.ppt
PPTX
III_UNIT_ErrorCorrecting.pptx
Error Detection and Correction.ppt
901325_chapter 10 (1).ppt
Data Link Layer Error Correction and Detection
Error correction error detection in digital communication
901325_chapter vvvvvvvvvvvjjjjjjjvvv.ppt
Error detection and correction.ppt
Error detection.ppt
computer Networks Error Detection and Correction.ppt
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
Computer Networks - Error Detection and Correction
Error detection and correction
Lecture 13
Data link layer
CODING.ppt
07 Data Link LayerError Control.pdf
Error Detection & Error Correction Codes
Chapter 2.1.1.pptx
Data Communication Error_Detection_n_Correction.ppt
III_UNIT_ErrorCorrecting.pptx
Ad

More from Jayaprasanna4 (20)

PDF
web programming javascriptconditionalstatements.pdf
PDF
hyper text markup language ppt-100605011058-phpapp02.pdf
PPTX
web essentials - simple message flow and loo.pptx
PPTX
web essentials - Working principle of a Website.pptx
PPTX
software project in MONTE CARLO SIMULATION.pptx
PPT
Cost effort in softwrae project management.ppt
PDF
software project management cocomomodel.pdf
PPT
software project management Activity planning.ppt
PDF
software project management montecarloscheduleanalysis.pdf
PPT
casestudy on distributionnetworkformichaelshardwaregroupgate.ppt
PPT
ethical hacking-mobile hacking methods.ppt
PPT
ethical hacking in wireless-hacking1.ppt
PDF
Human computer Interaction ch1-the human.pdf
PPT
HUman computer Interaction Socio-organizational Issues.ppt
PPT
human computer Interaction cognitive models.ppt
PPT
World wide web and Hyper Text Markup Language
PPT
CI-Monte-Carlo.ppt
PPT
Activity planning.ppt
PPT
Cost effort.ppt
PPT
Activity planning.ppt
web programming javascriptconditionalstatements.pdf
hyper text markup language ppt-100605011058-phpapp02.pdf
web essentials - simple message flow and loo.pptx
web essentials - Working principle of a Website.pptx
software project in MONTE CARLO SIMULATION.pptx
Cost effort in softwrae project management.ppt
software project management cocomomodel.pdf
software project management Activity planning.ppt
software project management montecarloscheduleanalysis.pdf
casestudy on distributionnetworkformichaelshardwaregroupgate.ppt
ethical hacking-mobile hacking methods.ppt
ethical hacking in wireless-hacking1.ppt
Human computer Interaction ch1-the human.pdf
HUman computer Interaction Socio-organizational Issues.ppt
human computer Interaction cognitive models.ppt
World wide web and Hyper Text Markup Language
CI-Monte-Carlo.ppt
Activity planning.ppt
Cost effort.ppt
Activity planning.ppt

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Geodesy 1.pptx...............................................
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
composite construction of structures.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
web development for engineering and engineering
PPTX
Welding lecture in detail for understanding
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Geodesy 1.pptx...............................................
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Model Code of Practice - Construction Work - 21102022 .pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Lecture Notes Electrical Wiring System Components
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
composite construction of structures.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
web development for engineering and engineering
Welding lecture in detail for understanding
OOP with Java - Java Introduction (Basics)
Automation-in-Manufacturing-Chapter-Introduction.pdf
Internet of Things (IOT) - A guide to understanding

error detection.ppt

  • 1. Chapter 10 Error Detection and Correction • Types of Errors • Detection • Correction
  • 2. 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: 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 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: 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 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 in data communications
  • 14. Performance It can detect single bit error It can detect burst errors only if the total number of errors is odd.
  • 16. 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 • 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 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 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 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 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 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: 2r ≥ m+r+1
  • 37. An analog signal caries four bits in each signal element. If 1000 signal elements are sent per second, find the baud rate and the bit rate. In this case, r = 4, S = 1000, and N is unknown. We can find the value of N from

Editor's Notes

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