Data Comm: Asynchronous/Synchronous Transmission Techniques & Error Detection, Study notes of Data Communication Systems and Computer Networks

An excerpt from william stallings' 'data and computer communications' 7th edition, focusing on asynchronous and synchronous data transmission techniques, including their advantages and disadvantages, and error detection & correction methods. It covers topics like manchester encoding, cyclic redundancy check, and forward error correction.

Typology: Study notes

Pre 2010

Uploaded on 08/19/2009

koofers-user-ta0-1
koofers-user-ta0-1 🇺🇸

5

(1)

10 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
William Stallings
Data and Computer
Communications
7th Edition
Chapter 6
Digital Data Communications
Techniques
Asynchronous and Synchronous
Transmission
Timing problems require a mechanism to
synchronize the transmitter and receiver
Two solutions
Asynchronous
Synchronous
Asynchronous
Data transmitted on character at a time
5 to 8 bits
Timing only needs maintaining within each
character
Resynchronize with each character
Asynchronous (diagram)
Asynchronous - Behavior
In a steady stream, interval between characters
is uniform (length of stop element)
In idle state, receiver looks for transition 1 to 0
Then samples next seven intervals (char length)
Then looks for next 1 to 0 for next char
Simple
Cheap
Overhead of 2 or 3 bits per char (~20%)
Good for data with large gaps (keyboard)
Synchronous - 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
Carrier frequency (analog)
pf3
pf4
pf5

Partial preview of the text

Download Data Comm: Asynchronous/Synchronous Transmission Techniques & Error Detection and more Study notes Data Communication Systems and Computer Networks in PDF only on Docsity!

William Stallings

Data and Computer

Communications

7th Edition

Chapter 6 Digital Data Communications Techniques

Asynchronous and Synchronous

Transmission

  • Timing problems require a mechanism to synchronize the transmitter and receiver
  • Two solutions —Asynchronous —Synchronous

Asynchronous

  • Data transmitted on character at a time —5 to 8 bits
  • Timing only needs maintaining within each character
  • Resynchronize with each character

Asynchronous (diagram)

Asynchronous - Behavior

  • In a steady stream, interval between characters is uniform (length of stop element)
  • In idle state, receiver looks for transition 1 to 0
  • Then samples next seven intervals (char length)
  • Then looks for next 1 to 0 for next char
  • Simple
  • Cheap
  • Overhead of 2 or 3 bits per char (~20%)
  • Good for data with large gaps (keyboard)

Synchronous - 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 —Carrier frequency (analog)

Synchronous - Block Level

  • Need to indicate start and end of block
  • Use preamble and postamble —e.g. series of SYN (hex 16) characters —e.g. block of 11111111 patterns ending in 11111110
  • More efficient (lower overhead) than async

Synchronous (diagram)

Types of Error

  • An error occurs when a bit is altered between transmission and reception
  • Single bit errors — One bit altered — Adjacent bits not affected — White noise
  • Burst errors — LengthB — Contiguous sequence ofB bits in which first last and any number of intermediate bits in error — Impulse noise — Fading in wireless — Effect greater at higher data rates

Error Detection Process

Error Detection

  • Additional bits added by transmitter for error detection code
  • Parity —Value of parity bit is such that character has even (even parity) or odd (odd parity) number of ones —Even number of bit errors goes undetected

Cyclic Redundancy Check

  • For a block ofk bits transmitter generatesn bit sequence
  • Transmitk+n bits which is exactly divisible by some number
  • Receive divides frame by that number —If no remainder, assume no error —For math, see Stallings chapter 6

Interfacing

  • Data processing devices (or data terminal equipment, DTE) do not (usually) include data transmission facilities
  • Need an interface called data circuit terminating equipment (DCE) —e.g. modem, NIC
  • DCE transmits bits on medium
  • DCE communicates data and control info with DTE —Done over interchange circuits —Clear interface standards required

Data Communications

Interfacing

Characteristics of Interface

  • Mechanical —Connection plugs
  • Electrical —Voltage, timing, encoding
  • Functional —Data, control, timing, grounding
  • Procedural —Sequence of events

V.24/EIA-232-F

  • ITU-T v.
  • Only specifies functional and procedural —References other standards for electrical and mechanical
  • EIA-232-F (USA) —RS- —Mechanical ISO 2110 —Electrical v. —Functional v. —Procedural v.

Mechanical Specification Electrical Specification

  • Digital signals
  • Values interpreted as data or control, depending on circuit
  • More than -3v is binary 1, more than +3v is binary 0 (NRZ-L)
  • Signal rate < 20kbps
  • Distance <15m
  • For control, more than-3v is off, +3v is on

Functional Specification

  • Circuits grouped in categories —Data —Control —Timing —Ground
  • One circuit in each direction —Full duplex
  • Two secondary data circuits —Allow halt or flow control in half duplex operation
  • (See table in Stallings chapter 6)

Local and Remote Loopback

Procedural Specification

  • E.g. Asynchronous private line modem
  • When turned on and ready, modem (DCE) asserts DCE ready
  • When DTE ready to send data, it asserts Request to Send — Also inhibits receive mode in half duplex
  • Modem responds when ready by asserting Clear to send
  • DTE sends data
  • When data arrives, local modem asserts Receive Line Signal Detector and delivers data

Dial Up Operation (1)

Dial Up Operation (2) Dial Up Operation (3)