ERROR DETECTING AND CORRECTING CODES -BY R.W. HAMMING PRESENTED BY- BALAKRISHNA DHARMANA.

Slides:



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

parity bit is 1: data should have an odd number of 1's
CSCI 4717/5717 Computer Architecture
Error-Correcting Codes
Parity Generator and Checker
Chapter 6 Errors, Error Detection, and Error Control.
Chapter 10 Error Detection and Correction
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
Chapter 2 Error-Detecting Codes. Outline 2.1 Why Error-Detecting Codes? 2.2 Simple Parity Checks 2.3 Error-Detecting Codes 2.4 Independent Errors: White.
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.
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
Number Systems and Codes
Error Detection and Correction Rizwan Rehman Centre for Computer Studies Dibrugarh University.
1/26 Chapter 6 Digital Data Communication Techniques.
1 Fault-Tolerant Computing Systems #2 Hardware Fault Tolerance Pattara Leelaprute Computer Engineering Department Kasetsart University
Topic 2 – Introduction to Computer Codes. Computer Codes A code is a systematic use of a given set of symbols for representing information. As an example,
E RROR D ETECTION A ND C ORRECTION C ODES Error Detection Code (Parity bit) Error Correction Code ( Hamming Code)
Information Coding in noisy channel error protection:-- improve tolerance of errors error detection: --- indicate occurrence of errors. Source.
CS151 Introduction to Digital Design
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Practical Session 10 Error Detecting and Correcting Codes.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Error Detection and Correction
Coding Theory. 2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver.
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Error Detection (§3.2.2)
VLSI AND INTELLIGENT SYTEMS LABORATORY 12 Bit Hamming Code Error Detector/Corrector December 2nd, 2003 Department of Electrical and Computer Engineering.
CHAPTER 3: DATA LINK CONTROL Flow control, Error detection – two dimensional parity checks, Internet checksum, CRC, Error control, Transmission efficiency.
1 © Unitec New Zealand CRC calculation and Hammings code.
CS 111 – Sept. 13 Error detection Error correction Review/practice chapter 1 questions Commitment: –Please read sections 2.1 and 2.2.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Block Coding Messages are made up of k bits. Transmitted packets have n bits, n > k: k-data bits and r-redundant bits. n = k + r.
Review.
10.1 Chapter 10 Error Detection and Correction Data can be corrupted during transmission. Some applications require that errors be detected and.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Error Coding Overview (§3.2)
1 Digital Design Debdeep Mukhopadhyay Associate Professor Dept of Computer Science and Engineering NYU Shanghai and IIT Kharagpur.
Hamming Distance & Hamming Code
Error Control Coding. Purpose To detect and correct error(s) that is introduced during transmission of digital signal.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Product Codes An extension of the concept of parity to a large number of words of data 0110… … … … … … …101.
Error Detecting and Error Correcting Codes
Practical Session 10 Computer Architecture and Assembly Language.
8 Coding Theory Discrete Mathematics: A Concept-based Approach.
parity bit is 1: data should have an odd number of 1's
Dr. Clincy Professor of CS
Computer Architecture and Assembly Language
Error Detection and Correction
Cyclic Redundancy Check (CRC)
ERROR CORRECTING CODES
: An Introduction to Computer Networks
Error Correcting Code.
Advanced Computer Networks
Coding Theory Dan Siewiorek June 2012.
Chapter 10 Error Detection And Correction
Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
RAID Redundant Array of Inexpensive (Independent) Disks
Reliability and Channel Coding
Computer Architecture and Assembly Language
parity bit is 1: data should have an odd number of 1's
Types of Errors Data transmission suffers unpredictable changes because of interference The interference can change the shape of the signal Single-bit.
Error Detection and Correction
Presentation transcript:

ERROR DETECTING AND CORRECTING CODES -BY R.W. HAMMING PRESENTED BY- BALAKRISHNA DHARMANA

INTRODUCTION Why do we need error detection and correction? Unwanted Random signals interfere with accurate transmission of signals Some simple ways of error detection and correction Sending each word again Sending each letter again Within a computer errors are rare

Systematic codes Redundancy R= n/m Redundancy serves to measure the efficiency of the code Lowers the effective channel capacity

TYPES OF CODES Single error detecting codes Single error correcting codes Single error correcting plus double error detecting codes

Application of these codes may be expected to occur under conditions:- Unattended operation over long periods of time Extremely large and tightly interrelated systems where a single failure causes the entire installation When the signaling is not possible in the presence of noise

Contains n-bits Out of n-bits, n-1 are information bits and one parity bit Redundancy = n/n-1 As n increases probability of getting errors increases Type of check used to detect any single error is called parity check (even or odd) SINGLE ERROR DETECTING CODES

SINGLE ERROR CORRECTING CODES First assign m positions in available positions as information positions Specific positions are left to a later determination Assign k remaining positions as check positions Apply k parity checks

The result of the k parity checks from right to left is checking number Checking number must describe m+k+1 different things so that, 2 k >= m + k + 1 writing n = m+k, we find 2 m <= 2 n / n+1

Now we have to determine the positions over which the various parity checks are to be applied Any position which has a 1 on the right of it’s binary representation must cause the first check fail. By examining the binary form of the various integers etc

Check number Check positions Positions checked 1,3,5,7,9,11,…………… 2,3,6,7,10,11,…………. 4,5,6,7,12,13,…………. 8,9,10,11,12,13,………. TABLE II

SINGLE ERROR CORRECTING PLUS DOUBLE ERROR DETECTING CODES Begin with single error correcting code Add one more position for checking all previous positions using even parity check In the operation of the code, No errors – all parity checks including the last are satisfied Single error- the last parity check fails Two errors- last parity check is satisfied and indicates some kind of error

GEOMETRICAL MODEL

Minimum dist meaning Uniqueness Single error detection Single error correction Single error correction plus double error detection Double error correction

At a given minimum distance, some of the correctability can be exchanged for more detectability. For example, a subset with minimum distance 5 may be used for: Double error correction Single error correction plus triple error detection Quadruple error detection

If code points are at a distance of at least 2 from each other then – any single error will carry the code point over to a point that is not a code point. Means – single error is detectable If distance is at least 3 units then any single error will leave the point nearer to the correct code point than to any other code point, this means – single error will be correctable. APPLICATION OF GEOMETRICAL MODEL TO CODES

CONCLUSION This paper helps us to discuss the minimum redundancy code techniques for Single error detection Single error correction And single error correction plus double error detection Also gives the geometrical model of above techniques in depth.

REFERENCE M. J. E. Golay, Correspondence, notes on Digital coding, Proceedings of the I.R.E., Vol. 37, p. 657, June pring_2002/300_EFejta_2002.htm pring_2002/300_EFejta_2002.htm ules/COM1021/seminar_sheets ules/COM1021/seminar_sheets