Transmission Modes Different ways of characterizing the transmission.

Slides:



Advertisements
Similar presentations
Serial Communications Interface (SCI) Michael LennardZachary PetersBao Nguyen.
Advertisements

Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
1 Chapter Four Making Connections. 2 Introduction Connecting peripheral devices to a computer has, in the past, been a fairly challenging task Newer interfaces.
Data Transmission and Computer Networks
CSC 3352 Computer Communications Chapter 3&41 The Link Layer Has 2 main Components The Data Link Layer Medium Access Control (MAC) Examples:SLIP, PPP,
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transmission Modes Different ways of characterizing the transmission.
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
William Stallings Data and Computer Communications 7th Edition Chapter 6 Digital Data Communications Techniques.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Data Communications Chapter 6 The Data Communications Interface.
Digital Data Communications Techniques Updated: 2/9/2009.
Local Asynchronous Communication
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
1/26 Chapter 6 Digital Data Communication Techniques.
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Simplex, Half Duplex & Duplex Serial & Parallel transmission Synchronous & Asynchronous Bit & Baud Rate.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Scott Baker Will Cross Belinda Frieri March 9 th, 2005 Serial Communication Overview ME4447/6405.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
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
The Data Link Layer Goal –As reliable as possible, efficient communication Point-to-Point –single connection –bits arrive in order sent Not necessarily.
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.
7. Peripherals 7.3 Data transmission Computer Studies (AL)
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Data Transmission n Keep errors to an acceptable low probability n Bit-serial transmission n Parallel transmission.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
FUNDAMENTALS OF NETWORKING
Ch. 6 Digital Data Communication Techniques
Unit 1 Lecture 4.
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
Data Transmission and Networks Modes of Data Transmission.
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.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
Ch. 6 Digital Data Communication Techniques. 6.1Asynchronous & Synchronous Transmission Asynchronous Transmission: transmission in which each information.
Transmission Modes. Asynchronous Connections A type of connection defined at the data link layer To transmit data from sender to receiver, an asynchronous.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
Serial Communications
William Stallings Data and Computer Communications
RS-232 Communications.
Data Transmission Keep errors to an acceptable low probability
Data Transmission and Networks
Transmission Modes The term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided.
SERIAL PORT PROGRAMMING
Pemrosesan Data Tersebar
William Stallings Data and Computer Communications 7th Edition
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economical to transfer all bits of a long message.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Serial Communications
William Stallings Data and Computer Communications
Introduction Communication Modes Transmission Modes
Presentation transcript:

Transmission Modes Different ways of characterizing the transmission

Timing of the transmission of the data bits Serial –Data bits transmitted at different times –One bit after the other Parallel –Multiple bits transmitted simultaneously (same time) –Typically with different data “lines” for each bit

Alternating Interactions

Device 1Device 2 time data Simplex - one way (tv,radio, weather satellite)

Device 1Device 2 time data Half Duplex - alternate each way (telephone, cb, ham radio)

Device 1Device 2 time data Full Duplex - both ways same time (computer serial)

Timing between transmitter and receiver All transmissions are synchronized somehow –once per bit (Manchester) –once per byte –once per frame ….. Asynchronous (means without synchronization) but DOES synchronize once per BYTE. Awful name ASYNCHRONOUS

Serial (asynchronous) Encoding 0 StartBit Idle 1 Stop Bit FIRST LAST DataParity 0

Idle -> No information on the line Start Bit -> Defines the beginning of the byte Data -> Information (number of bits varies) Parity -> A check digit for correct reception (more later) Even/Odd/None Stop Bit-> A check for correct detection of start bit 1/1.5/2 bits long 0 StartBit Idle 1 Stop Bit DataParity 0

Start Bit Timing Bit Centers Clock -> 4 times faster that bit rate 2 ticks from beginning is bit center 4 ticks from there is next bit center

More Timing Details - Figure 3.5 Timer must be faster than the data rate Degree to which faster dictates how close to center you can get 16x (Fig 3.5.c.iii) shows only off 1/16th 4x (Fig 3.5.c.ii) shows only off 1/4th 1x (Fig 3.5.c.i) shows problems Page is misleading –1200/2400/9600 note is not for the diagram –i -> fastest data rate, iii -> slowest data rate –fastest clock ratio -> slowest data rate

Maintaining Synchronization Figure 3.9 DPLL digital phase locked loop count for transition if transition not seen as expected –adjust the timing interval by adding 1 tick subtracting 1 tick –on the next cycle. Used in many coding techniques. Book uses NRZI.. Forced change on 0, require a zero peridically.

Parity Counts number of ones in DATA Sets the parity bit to 1/0 –Even or –Odd May not choose to use at all (None) Not a good means of error detection Error in one bit … Error in 2 bits Assumes independence of bit errors … not always true

Parity examples DATA PARITY (even) = = 6 Use Second example and assume errors = 5 ERROR = 4 ??????? One can’t detect multiple bit errors properly!

Serial Transmission Many concepts in one byte Synchronization on a byte level Framing with start and stop bit Error detection with parity What does this cost us?

Efficiency A means of evaluating the nature of the cost to implements solutions to these fundmantal communication problems (data)/(data + overhead) Overhead is anything not part of that intended to be communicated for the receiver Be careful to pick a time which is repetitive when evaluating. Choose the right time is everything.

0 StartBit Idle DataParity 01 Stop Bit Efficiency Data Data + Overhead Efficiency = = = 8 11 = bps line modem = 1200 *.7272 = 872 bps ignoring idle!

Where would you see it? On a PC it is the COM1, COM2.. Port Typically RS232 interface –9 pin –25 pin –or others Modem, mouse, keyboard ASYNCHRONOUS because one can’t tell when the data will be transmitted from one byte to the next

Review Modem Communication Serial transmission

Figure 2.31 Interface between computer (dte) and modem (dce) Not all lines used Higher level controls present –request to send –clear to send asynchronous across xmit/recv interface can also be used for synchronous –line 16 one interface … both async and sync

Figure 2.32 Typical scenario Notice the timing between dce / dte Notice the timing between dce / dce Scenario describes half-duplex Full duplex minimizes the impact of “turnaround time” –revc –(turnaround) –send

Serial Summary Same name (asynchronous) used for two concepts –lack of timing –Serial (byte transmission) NOTHING in the name imples BYTE transmission but that is how it is used Synchronizes once per byte –assumes clocks will remain synchronized until the end of the byte Illustrates OVERHEAD

So what is Synchronous? Synchronizes –once per block of data not per byte Typically faster rates USB ports on a PC (find rates on www) –see –easier to understand after protocols More complex framing (each of these are bytes typically) (end) errordetect DATA control sync sync

Sync byte/string A pattern with which receiver can established synchronization The longer it is (to a point) the greater the reliability of the synchronization Like a start bit (e.g. ) No idle times between bytes(bits) in the frame.

Figure 3.12 SYN for character frames (idle) (start and end) synchronization maintained for frame duration

Character/bit stuffing What if timing/framing flags in beginning or ending? AND they are part of the data itself! Stuff extra symbols if in data Stuff even if “stuffed” version is in the data

Character stuffing SYN STX Data ETX SYN STX ETX Expected End of Data SYN STX ETX DLE ETX in data DLE ETX in dataDLE in data Receiver discards!

Bit Stuffing Basically the same! 5 zeros in a row, insert extra 0

Isochronous (periodic) Asynchronous –irregular gaps between bytes Synchronous –no gaps between bytes –gaps between blocks Isochronous –REGULAR gaps between blocks –telephone PCM –4000Hz -> 8000 samples/sec -> 8 bits/sample-> bps –What if on 1.5 Mpbs line?

Asynchronous Synchronous Isochronous Different arrival rates of bytes