1/30/2016 11:20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.

Slides:



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

Lab 4.
Data and Computer Communications Digital Data Communications Techniques.
Introduction to Information Technologies
Data and Computer Communications
Chapter 3: Channel Coding (part 1)
Chapter 6: Digital Data Communications Techniques
COE 341: Data & Computer Communications (T081) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Coding and Error Control
Chapter 6: Digital Data Communications Techniques
Lecture 9-10: Error Detection and Correction Anders Västberg Slides are a selection from the slides from chapter 8 from:
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
William Stallings Data and Computer Communications 7th Edition Chapter 6 Digital Data Communications Techniques.
Chapter 6: Digital Data Communications Techniques
Data Communications Chapter 6 The Data Communications Interface.
Digital Data Communications Techniques Updated: 2/9/2009.
1/26 Chapter 6 Digital Data Communication Techniques.
Coding and Error Control
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Coding and Error Control
Data and Computer Communications. The Data Link Layer.
Lecture 10: Error Control Coding I Chapter 8 – Coding and Error Control From: Wireless Communications and Networks by William Stallings, Prentice Hall,
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Data and Computer Communications
Chapter 3 Digital Transmission Fundamentals Line Coding Error Detection and Correction.
Data and Computer Communications Chapter 6 – Digital Data Communications Techniques.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Lecture 3-2: Coding and Error Control (Cont.) ECE
1 Chapter 8. Coding and Error Control Wen-Shyang Hwang KUAS EE.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, October 2011.
CSC 335 Data Communications and Networking
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
CSCI 465 D ata Communications and Networks Lecture 9 Martin van Bommel CSCI 465 Data Communications & Networks 1.
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.
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.
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
FIT1005 FIT – Monash University
Coding and Error Control
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
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.
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
Powerpoint Templates Computer Communication & Network Week # 10.
Data and Computer Communications Digital Data Communications Techniques + Error Control+ Digital Data Communications Techniques + Error Control+Multiplexing.
Coding and Error Control
Lecture 4 Error Detecting and Correcting Techniques Dr. Ghalib A. Shah
CSE 5345 – Fundamentals of Wireless Networks
The Data Link Layer Supplementery Slides
William Stallings Data and Computer Communications
Data and Computer Communications
Error Detection and Correction (Pengesanan dan Pembetulan ralat)
Data and Computer Communications
Digital data communication (Error control)
William Stallings Data and Computer Communications 7th Edition
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, August 2010.
Data and Computer Communications
Chapter 3 Digital Transmission Fundamentals
Data and Computer Communications
Digital Data Communications Techniques
Chapter Nine: Data Transmission
Data and Computer Communications
Lecture 3 Digital Transmission Fundamentals
William Stallings Data and Computer Communications
Presentation transcript:

1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011

2 Asynchronous and Synchronous Transmission Receiver samples the medium at the center of each bit time. Transmitter’s and receiver’s clocks may not be precisely aligned. Example (discussed in class)

Asynchronous and Synchronous Transmission (2) timing problems require a mechanism to synchronize the transmitter and receiver —receiver samples stream at bit intervals —if clocks are not precisely aligned, drifting will sample at wrong time after sufficient bits are sent two solutions to synchronizing clocks:

Asynchronous Transmission ddata are transmitted one character at a time eeach character is 5 to 8 bits in length rreceiver has the opportunity to resynchronize at the beginning of each new character simple and cheap rrequires overhead of 2 or 3 bits per character (~20%) the larger the block of bits, the greater the cumulative timing error good for data with large gaps (keyboard)

6 Asynchronous Trx Behavior Idle state = binary 1 In idle state, receiver looks for transition from 1 to 0 Start bit = binary 0 Then samples next 5 – 8 intervals (character length) Stop element = binary 1 (min length = 1, 1.5 or 2 bits) No maximum length specified for stop element (why?) Then looks for next 1 to 0 for next char

7 Synchronous Trx - Bit Level Block of data transmitted without start or stop bits Clocks must be synchronized Can use separate clock line —Good over short distances —Subject to impairments Embed clock signal in data —Manchester encoding (digital signals) —Carrier frequency, phase (analog signals)

8 Synchronous Trx - Block Level Need to indicate start and end of block Use preamble and postamble —Example: HDLC uses (chapter 7) More efficient (lower overhead) than asynchronous transmission

Types of Error an error occurs when a bit is altered between transmission and reception —binary 1 is transmitted and binary 0 is received or binary 0 is transmitted and binary 1 is received single bit errors isolated error that alters one bit but not nearby bits caused by white noise burst errors contiguous sequence of B bits where first and last bits and any number of intermediate bits are received in error caused by impulse noise or by fading in wireless effects greater at higher data rates

Error Detection regardless of design there will be errors can detect errors by using an error-detecting code added by the transmitter code is also referred to as check bits recalculated and checked by receiver there is still chance of undetected error

Parity Check the simplest error detecting scheme is to append a parity bit to the end of a block of data  if any even number of bits are inverted due to error, an undetected error occurs

Error Detection Process

13 Cyclic Redundancy Check (CRC) One of the most common and powerful error- detecting codes. Given k bits of data, generate a sequence F of j bits (FCS) using a predetermined divisor P of (j+1) bits Transmit a frame of k+j bits (data + FCS) which will be exactly divisible by divisor P Receiver divides frame by divisor P —If no remainder, assume no error

14 CRC (continued) Simpler but equivalent method: receiver repeats the steps the sender did. —If getting the same FCS, assume no error. 3 equivalent procedures: Modulo-2 arithmetic Polynomials Digital logic (not covered) Examples (discussed in class)

15 Error Correction Correction of detected errors usually requires whole data block to be retransmitted (chap. 7) But not appropriate for wireless applications —Bit error rate is high Lots of retransmissions —Propagation delay can be long (satellite) compared with frame transmission time Would result in retransmission of frame in error plus many subsequent frames Need to correct errors on basis of bits received

16 How Error Correction Works Add redundancy to transmitted message Can deduce original in face of certain level of error rate Example: block error correction code —In general, add (n – k ) bits to end of block Gives n bit block (codeword) All of original k bits included in codeword —Some FEC map k bit input onto n bit codeword such that original k bits do not appear

17 Error Correction Process Diagram

18 Error Correction Process Each k bit block mapped to an n bit block (n>k) —Codeword —Forward error correction (FEC) encoder Codeword sent Received bit string similar to transmitted but may contain errors Received code word passed to FEC decoder —If no errors, original data block output —Some error patterns can be detected and corrected —Some error patterns can be detected but not corrected —Some (rare) error patterns are not detected Results in incorrect data output from FEC

19 Design Considerations for Block Code For given values of n and k, want the largest possible value of d min To increase d min increase the number of extra bits. Reduce the number of extra bits to reduce bandwidth needed Easy to encode/decode, minimal overheads (memory, time)

Reading Chapter 6, Stallings’ book Homework: Solve problems 6.13 and 6.15 in the textbook. 20