“Data can be corrupted during transmission. For reliable communication, errors must be detected and corrected.”

Slides:



Advertisements
Similar presentations
Computer Networking Error Control Coding
Advertisements

Data and Computer Communications Digital Data Communications Techniques.
ERROR CORRECTION.
Introduction to Information Technologies
Transmission Errors Error Detection and Correction
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
PART III DATA LINK LAYER. Position of the Data-Link Layer.
The Data Link Layer Chapter 3. Position of the data-link layer.
The OSI Reference Model
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao (Part of the slides are based on materials supplied by Dr. Louise Moser at UCSB and.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Error Detection and Correction
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
Error Detection and Reliable Transmission EECS 122: Lecture 24 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
1/26 Chapter 6 Digital Data Communication Techniques.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Transmission Errors Error Detection and Correction
1 Kyung Hee University Data Link Layer PART III. 2 Kyung Hee University Position of the data-link layer.
Information Coding in noisy channel error protection:-- improve tolerance of errors error detection: --- indicate occurrence of errors. Source.
Communication methods
PART III DATA LINK LAYER. Position of the Data-Link Layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Data and Computer Communications
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
جلسه هشتم شبکه های کامپیوتری به نــــــــــــام خدا.
Data Link Layer: Error Detection and Correction
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.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, October 2011.
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
CSCI 465 D ata Communications and Networks Lecture 9 Martin van Bommel CSCI 465 Data Communications & Networks 1.
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.
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
FUNDAMENTALS OF NETWORKING
Unit 1 Lecture 4.
1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.
FIT1005 FIT – Monash University
Error Correction and Flow Control Martin Weiss. Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error.
Transmission Errors Error Detection and Correction.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 6 – Digital Data Communications Techniques.
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.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Data and Computer Communications Digital Data Communications Techniques + Error Control+ Digital Data Communications Techniques + Error Control+Multiplexing.
10.1 Types of Errors 10.2 Detection 10.3 Error Correction.
Hamming Codes The Hamming Code is a Forward Error-correcting Code (FEC) that uses redundant bits to correct a single bit error For 4 bit codes, 3 redundant.
CSE 5345 – Fundamentals of Wireless Networks
ERROR DETECTION AND CORRECTION
CIS 321 Data Communications & Networking
Digital data communication (Error control)
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.
EEC-484/584 Computer Networks
Chapter Nine: Data Transmission
EEC-484/584 Computer Networks
CS 325: CS Hardware and Software Organization and Architecture
Reliability and Channel Coding
Error Detection and Correction
Introduction Communication Modes Transmission Modes
Presentation transcript:

“Data can be corrupted during transmission. For reliable communication, errors must be detected and corrected.”

ERROR CORRECTION MODULE 8

-a character is received in error, rather than to revert to a higher level of error correction or display the incorrect character, a unique character that is undefined by the character code. 1.SYMBOL SUBSTITUTION

2.RETRANSMISSION – is when a message is received in error and the receive terminal automatically calls for retransmission of the entire message. - often called ARQ ( Automatic Request for Retransmission )

3.FORWARD ERROR CORRECTION – is the only error correction scheme that actually detects and corrects transmission errors at the receive end without calling for retransmission.

HAMMING CODE -developed by R.W. Hamming -the number of bits in the Hamming code is dependent on the number of bits in the data character -the number of bits that must be added to a character is determined from the following expression:

HAMMING CODE where: n – number of Hamming bits m – number of bits in the data character

EXAMPLE 1 1.For a 12-bit data string of , determine the number of Hamming bits required, arbitrarily place the Hamming bits into the data string, determine the condition of each Hamming bits, assume an arbitrary single-bit transmission error, and prove that the Hamming code will detect the error.

EXAMPLE 2 2.The Hamming bits are to be inserted into bit positions 1, 2, 4, 8 etc. Determine each of the following: a.The number of Hamming bits required for the data block given below. b.The (m+n, k) block check code

EXAMPLE 2 c.The Hamming code for the data block given below. d.The code efficiency e.The code redundancy

EXAMPLE 3 3.The Hamming bits appear in bits positions 1, 2, 4, 8 and 16. The following (16, 11) block check code is received at a receiver. Determine whether the data is error free or not.

EXAMPLE 4 4.The Hamming bits appear in bits positions 1, 2, 4, 8 and 16. The following (16, 11) block check code is received at a receiver. Determine whether the data is error free or not.

EXAMPLE 5 How many Hamming bits would be added to a data block containing 128 bits?

USAGE OF HAMMING CODE Hamming coding is only of use as a source code as a computer program to compress the characters. As a result it is only carried out in the front-end processor.

ADVANTAGE OF HAMMING CODE E xtremely effective on networks where the data streams are prone to single-bit errors.

DISADVANTAGE OF HAMMING CODE Single-bit detection and correction code, if multiple bits are errored then the errors are detected but the resultant could cause another bit that is correct to be changed, causing the data to be further errored.

EXAMPLE 6 5.An (11,7) block check code is received. The Hamming bits are in bit positions 1, 2, 4 and 8. Determine whether the data is errored and which bit or bits are errored.

HAMMING DISTANCE The number or bit position in which two codeword differs. Required Hamming distance for error detection: H d = d + 1 Required Hamming distance for error ccorrection: H d = 2d + 1

EXAMPLE Calculate the Hamming distance to detect and correct 3 single-bit errors that occurred during transmission. Also compute for the number of Hamming bits for a 23 bit data string.

SYNCHRONIZATION SYNCHRONIZE - means to coincide or agree in time

SYNCHRONIZATION 4 TYPES OF SYNCHRONIZATION 1.Bit or Clock Synchronization - ensures that the transmitter and receiver agree on a precise time slot for the occurrence of a bit

SYNCHRONIZATION 4 TYPES OF SYNCHRONIZATION 2. Modem or Carrier Synchronization

SYNCHRONIZATION 4 TYPES OF SYNCHRONIZATION 3.Character Synchronization - identifying the beginning and the end of a character code

SYNCHRONIZATION 4 TYPES OF SYNCHRONIZATION a.asynchronous data format - each character is framed between a start and a stop bit idle line – no data transmission; data communication circuit is identified by the transmission of continuous 1’s

EXAMPLE 1 For the following string of asynchronous ASCII-encoded data, identify each character (assume even parity and 2 stop bits ).

EXAMPLE 2 For the following string of asynchronous ASCII-encoded data, identify each character (assume even parity and 2 stop bits ).

EXAMPLE 3 The following asynchronous data stream is received at an RS232C port. The data has a single start bit and two stop bits. A parity bit is incorporated with each character. Determine the binary code.

EXAMPLE 4 The following asynchronous data stream is received at an RS232C port. The data has a single start bit and two stop bits. A parity bit is incorporated with each character. 65EABCE7 - hexadecimal Determine the binary code.

SYNCHRONIZATION 4 TYPES OF SYNCHRONIZATION b.synchronous data format - rather than frame each character independently with start and stop bits, s unique synchronizing character called a SYN character is transmitted at the beginning of each message.

EXAMPLE 1 For the following string of synchronous ASCII-encoded data, identify each character (assume odd parity ).

4.Message Synchronization

FOR YOUR INFORMATION -To detect d single-bit errors, you need a Hamming distance of d + 1 code because with such a code there is no way that d single bit errors can change a valid codeword into another valid codeword. -Similarly, to correct d single-bit errors, you need a distance 2d + 1 code because that way the legal codeword are so far apart that even with d changes. The original codeword is still closer than any other codeword. -Hamming codes can only correct single bit errors. However there is a trick that can be used to permit Hamming codes to correct burst errrors.

MARAMING SALAMAT GID SA PAKIKINIG!!!!!!!

ASSIGNMENT Answer #s 2-1 to 2-4 problems; Advanced Electronic Communications Systems; 2nd edition by Wayne Tomasi

SEATWORK Code each ASCII character in the word “dYoSa” for transmission over an asynchronous link where one start bit, a parity bit and two stop bits are employed. Assume even parity.