1 Rectangular Codes Triplication codes: m 1 m 2 m 3 m 1 m 1 m 1 m 2 m 2 m 2 m 3 m 3 m 3 Repeated 3 times At receiving end, a majority vote is taken.

Slides:



Advertisements
Similar presentations
Error-Correcting codes
Advertisements

Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Regulating data flow Slow receivers not.
Hamming Code.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lab 4.

Error-Correcting Codes
Combinational Logic and Verilog. XORs and XNORs XOR.
Chapter 6 Errors, Error Detection, and Error Control.
Cellular Communications
Chapter 3: Channel Coding (part 1)
Quantum Error Correction SOURCES: Michele Mosca Daniel Gottesman Richard Spillman Andrew Landahl.
Chapter 11 Algebraic Coding Theory. Single Error Detection M = (1, 1, …, 1) is the m  1 parity check matrix for single error detection. If c = (0, 1,
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.
Error detection and correction
Error Detection and Correction
Hamming Code Rachel Ah Chuen. Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted.
Hamming Code A Hamming code is a linear error-correcting code named after its inventor, Richard Hamming. Hamming codes can detect up to two bit errors,
Hamming It Up with Hamming Codes CSE 461 Section Week 3.
MAT 1000 Mathematics in Today's World Winter 2015.
1 Failure Correction Techniques for Large Disk Array Garth A. Gibson, Lisa Hellerstein et al. University of California at Berkeley.
E RROR D ETECTION A ND C ORRECTION C ODES Error Detection Code (Parity bit) Error Correction Code ( Hamming Code)
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
ENEE244-02xx Digital Logic Design Lecture 3. Announcements Homework 1 due next class (Thursday, September 11) First recitation quiz will be next Monday,
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 Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
Error Detection and Correction
DIGITAL COMMUNICATIONS Linear Block Codes
Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 12: Error-Correcting Codes Learning to Learn The Art of Doing Science.
Chapter 31 INTRODUCTION TO ALGEBRAIC CODING THEORY.
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.
VLSI AND INTELLIGENT SYTEMS LABORATORY 12 Bit Hamming Code Error Detector/Corrector December 2nd, 2003 Department of Electrical and Computer Engineering.
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The parity bits of linear block codes are linear combination of the message. Therefore, we can represent the encoder by a linear system described by matrices.
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.
Data Communications and Networking
Error-Detecting and Error-Correcting Codes
1 Kyung Hee University Error Detection and Correction.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
Error Detecting and Error Correcting Codes
Practical Session 10 Computer Architecture and Assembly Language.
II. Linear Block Codes. © Tallal Elshabrawy 2 Digital Communication Systems Source of Information User of Information Source Encoder Channel Encoder Modulator.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Reliability of Disk Systems. Reliability So far, we looked at ways to improve the performance of disk systems. Next, we will look at ways to improve the.
10.1 Types of Errors 10.2 Detection 10.3 Error Correction.
Modulo-2 Digital coding uses modulo-2 arithmetic where addition becomes the following operations: 0+0= =0 0+1= =1 It performs the.
Computer Architecture and Assembly Language
ERROR DETECTION AND CORRECTION
Error Detection and Correction
Cyclic Redundancy Check (CRC)
Character coding schemes
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.
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.

Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
II. Linear Block Codes.

주민등록번호.
Error Detection and Correction
Computer Architecture and Assembly Language
Contents Communications Theory Parallel vs. serial transmission
Error Detection and Correction
Presentation transcript:

1 Rectangular Codes Triplication codes: m 1 m 2 m 3 m 1 m 1 m 1 m 2 m 2 m 2 m 3 m 3 m 3 Repeated 3 times At receiving end, a majority vote is taken.

2 Error detection and correction Slides based on unknown ous contributor on the web…

3 Rectangular codes: Redundancy: o o o o x o o o o x o o o o x o o o o x x x x x x m -1 n -1 o = message position x = check position It’d better use even-parity checking to avoid contradiction sum mod 2

4 For a given size mn, the redundancy will be smaller the more the rectangle approaches a square. For square codes of size n,we have (n -1) 2 bits of information. And 2n-1 bits of checking along the sides. Note that: Rectangular codes also can correct bursty error. (k 2 +1)x(k 1 +1) array code If k 2  2(k 1 -1)  we can correct k 1 size of bursty errors

5 3.4 Hamming Error-correcting codes Find the best encoding scheme for single-error correction for white noise. Suppose there are m independent parity checks. →It means no sum of any combination of the checks is any other check. Example: check 1 : (1) check 2 : (2) check 3 : (3) It is not independent, because (1)+(2)=(3) So third parity check provides no new information over that of the first two, and is simply wasted effort.

6 The syndrome which results from writing a 0 for each of the m parity checks that is correct and 1 for each failure can be viewed as an m-bit number and can represent at most 2 m things. For n bits of the message, 2 m  n + 1 It is optimal when meets the equality condition. ( Hamming Codes ) Using Syndrome to find out the position of errors. The ideal situation is to use the value of Syndrome to point out the position of errors.

7 Example:  no error  error happened in the first position

8 Locate error check1 m 1 + m 3 + m 5 + m 7 =0 check2 m 2 + m 3 + m 6 + m 7 =0 check3 m 4 + m 5 + m 6 + m 7 =0 Viewing m 1, m 2, m 4 as check bit Note that the check positions are equally corrected with the message positions. The code is uniform in its protection. Once encoded there is no different between the message and the check digits.

9 Hamming code when m = 10, then n = 1023 original message length : 1023 – 10 = 1013 Redundancy: