Chapter 9 Error Detection and Correction

Slides:



Advertisements
Similar presentations
Noise, Information Theory, and Entropy (cont.) CS414 – Spring 2007 By Karrie Karahalios, Roger Cheng, Brian Bailey.
Advertisements

Computer Interfacing and Protocols
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Practical Session 11 Codes. Hamming Distance General case: The distance between two code words is the amount of 1-bit changes required to reach from one.
Data Communications Chapter 7 Error Detection. Despite the best prevention techniques, errors may still happen. To detect an error, something extra has.
Chapter 2 : Direct Link Networks (Continued). So far... Modulation and Encoding Link layer protocols Error Detection -- Parity Check.
7/2/2015Errors1 Transmission errors are a way of life. In the digital world an error means that a bit value is flipped. An error can be isolated to a single.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Error Detection and Correction
Error Detection and Correction Rizwan Rehman Centre for Computer Studies Dibrugarh University.
Chapter 10 Error Detection and Correction
Rutvi Shah1 ERROR CORRECTION & ERROR DETECTION Rutvi Shah2 Data can be corrupted during transmission. For reliable communication, errors must be detected.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
Shashank Srivastava Motilal Nehru National Institute Of Technology, Allahabad Error Detection and Correction : Data Link Layer.
Chapter 6 Multiplexingand Error Detection/Correction 1/60 By Dr.Sukchatri P.
1 Kyung Hee University Data Link Layer PART III. 2 Kyung Hee University Position of the data-link layer.
1 Data Link Layer Lecture 20 Imran Ahmed University of Management & Technology.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Error Detection and Correction
Overview All data can be corrupted, for reliable communications we must be able to detect and correct errors implemented at the data link and transport.
Lecture 5 Checksum. 10.2CHECKSUM Checksum is an error-detecting technique that can be applied to a message of any length. In the Internet, the checksum.
Error Detection.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
Error Detection and Correction
1 Kyung Hee University Error Detection and Correction.
Error Detection & Correction  Data can be corrupted during transmission.  For reliable transmission, errors must be detected and corrected.  Error detection.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Error Correction/Detection.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
10.1 Types of Errors 10.2 Detection 10.3 Error Correction.
Computer Network Lab. 1 9 장 Error Detection and Correction 9.1 Types of Errors 9.2 Detection 9.3 Error Correction 9.4 요약.
1 Kyung Hee University Prof. Choong Seon HONG Error Detection and Correction.
Error Detection and Correction
Simple Parity Check The simplest form of error detection is the parity check used with ASCII codes, originally on asynchronous modem links Each 7 bit ASCII.
9장 Error Detection and Correction
ERROR DETECTION AND CORRECTION
Data Link Layer.
Error Detection and Correction
Many to one/one to many Types of multiplexing Telephone system
Subject Name: COMPUTER NETWORKS-1
DATA COMMUNICATION AND NETWORKINGS
Advanced Computer Networks
CIS 321 Data Communications & Networking
Part III Datalink Layer 10.
Data Link Layer.
Chapter 10 Error Detection And Correction
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
PART III Data Link Layer.
Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted during transmission. For.
Chapter 7 Error Detection and Correction
DATA COMMUNICATION Lecture-35.
DATA COMMUNICATION Lecture-33.
Protocols and the TCP/IP Suite
Chapter 9 Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
DATA COMMUNICATION Lecture-34.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

Chapter 9 Error Detection and Correction Types of Errors Detection Correction

Errors Single-bit Multiple-bit Burst

Single-bit error 0 changed to 1 sent received

Multiple-bit error sent received

Burst error sent received

Redundancy Data Accept Reject redundancy check Data&redundancy check receiver sender

Detection methods VRC LRC CRC CHECKSUM

VRC

VRC A parity bit is added to every data unit such that the total number of ones is even (even parity) or odd (odd parity). Can detect all single-bit errors and multiple-bit or burst errors only if the total number of errors is odd.

LRC Data LRC Direction of movement A redundant unit is added after a number of data units. The bits in the redundant unit are calculated from the corresponding bits in the data units using VRC. Direction of movement 10101010 10101001 00111001 11011101 11100111 LRC Data

VRC and LRC

Reliability Can detect all single-bit errors. Can detect all multiple-bit and burst errors except the case in which an even number of errors occurs in corresponding positions in any even number of data units.

CRC CRC DATA

Binary Division

Polynomial

Polynomial and Divisor

Standard Polynomials

Reliability of CRC Can detect all single-bit errors (if P(x) has two or more terms). Can detect all double-bit errors (Make F(x) shorter than the shortest double-bit error P(x) cannot find.) Can detect all odd errors (If P(x) contains (x+1) as a factor). Can detect all short burst errors where the burst length is less than n and P(x) has x0 term. Can detect longer bursts that do not match P(x).

P(X) = X3 + X2 + X X2 X0 X3 2 1 0 Data In (MSB first) After k shifts, the CRC is in the shift register

Checksum

Reliability of Checksum Detects all errors involving odd number of bits. Detects all errors involving even number of bits. It cannot detect the cases in which one or more bits of a segment are damaged and corresponding bits of opposite values in a second segment are also damaged.

Data Unit and Checksum sender Receiver T -T The receiver adds the data unit and the checksum field ,if the result is all 1s,the data unit is accepted,otherwise it is discarded. sender Receiver checksum Data unit -T T

Error Correction

Hamming Code d d d r d d d r d r r Redundancy bits 11 10 9 8 7 6 5 4 3 2 1 d d d r d d d r d r r Redundancy bits

Hamming Code r1 r1 will take care of these bits d d d d d d r4 d r2 r8 9 5 3 1 11 7 0101 0011 1011 1001 0111 0001 d d d r8 d d d r4 d r2 r1

r8 r2 r2 will take care of these bits d d d d d d r4 d r1 10111010 01110110 00110010 11 10 7 6 3 2 d d d r8 d d d r4 d r2 r1

Hamming Code r4 will take care of these bits 0111011001010100 d d d d 9 5 3 1 11 7 0101 0011 1011 1001 0111 0001 d d d r8 d d d r4 d r2 r1

r8 r8 will take care of these bits 1011101010011000 d d d d d d r4 d 9 5 3 1 11 7 0101 0011 1011 1001 0111 0001 d d d r8 d d d r4 d r2 r1

Example of Hamming Code

Single-bit error sent received Error

Error Detection