Chapter 9 Transmission Modes

Slides:



Advertisements
Similar presentations
Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
Advertisements

1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Chapter 1.  Understand bits, bytes, megabytes, etc.  Learn basic communication model.  Learn the distinction between channel, circuit and network.
1 Chapter Four Making Connections. 2 Introduction Connecting peripheral devices to a computer has, in the past, been a fairly challenging task Newer interfaces.
CS335 Networking & Network Administration Tuesday, April 6.
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
Computer Networks and Internets, 5e By Douglas E. Comer
Data Communications Chapter 6 The Data Communications Interface.
Chapter 8 COMMUNICATION AND COMPUTER NETWORK
Local Asynchronous Communication
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
Data transmission refers to the movement of data in form of bits between two or more digital devices. This transfer of data takes place via some form.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
CHAPTER 5 I/O PRINCIPLE Understand the principles of System Bus
1 Ch 5 Local Asynchronous Communication (RS-232).
Data Communications Introduction and Review. Transmission Media Copper Wires Copper Wires Low resistance. Electrical signal produces miniature radio station.
Data Communication. 2 Data Communications Data communication system components: Message Message Information (data) to be communicated. Sender Sender Device.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSC 335 Data Communications and Networking
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Slide 4-1 Chapter 4 Terms Data Communications and Networking Considerations Introduction to Information Systems Judith C. Simon.
1 Transmission of Digital Data : Interface and Modems.
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.
Basic components III (06.523) Basic components of communication networks III Lecture 3.
FUNDAMENTALS OF NETWORKING
Unit 1 Lecture 4.
Chapter 7 Channel organization. Group members  Bilal Ahmed  Mehmal javed  Faisal khan janjua  Harris bashir.
Data Transmission and Networks Modes of Data Transmission.
Data Communication & Networking. Data communication Not to be confused with telecommunication –Any process that permits the passage from a sender to one.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
OCR AS Level F451: Data transmission Data transmission a. Describe the characteristics of a LAN (local area network) and a WAN (wide area network);
Serial Communications
(1B) Methods of representing and measuring data electronically
Data Communication IT-402.
6.1 Communication Methods
Chapter Goals Explain communication protocols
Topics discussed in this section:
Data Transmission and Networks
Serial I/O and Data Communication.
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
Local Asynchronous Communication (RS-232)
Long-Distance Communication (Carriers, Modulation, And Modems)
DIGITAL DATA COMMUNICATION TECHNIQUES
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
Lab 4 – Asynchronous communication (Physical Layer)
DIGITAL DATA COMMUNICATION TECHNIQUES
Asynchronous Serial Communications
DIGITAL DATA COMMUNICATION TECHNIQUES
Chapter 2 Transmission Basics.
Data Communication.
BASIC TYPE OF DATA TRANSMISSION:
Introduction and Overview
Internet Applications & Programming
Reliability and Channel Coding
Multiplexing and Demultiplexing
communications system
1.2.1 Data transmission.
Serial Communications
Introduction Communication Modes Transmission Modes
Presentation transcript:

Chapter 9 Transmission Modes © Bobby Hoggard, Department of Computer Science, East Carolina University These slides may not be used or duplicated without permission

Transmission Modes Network transmission can be divided into two categories: Serial – one bit is sent at a time Parallel – multiple bits are sent simultaneously

Parallel Transmission Transmits multiple bits at the same time, by using multiple wires to connect the sender and receiver (or multiple channels if using wireless) There are usually additional wires used for the sender/receiver to coordinate the transmission Example: an older style, LPT (line printer terminal) printer port sender bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 a network capable of transmitting one byte of data at once, by using one connecting wire for each bit receiver

Parallel Transmission You can view this circuit simulation under the Supplemental section of our website 4-bit sending memory device made of D-flip flops 4-bit receiving memory device made of D-flip flops

Serial Transmission Transmits one bit at the same time, by using one wire to connect the sender and receiver (or one channel if using wireless) There are usually additional wires used for the sender/receiver to coordinate the transmission Example: USB (universal serial bus) Extra hardware is needed to convert data between parallel (internal to the device) and serial (for the network connection) sender parallel-to-serial converter a network capable of transmitting one bit of data at a time, by using one connecting wire for each bit serial-to-parallel converter receiver

Serial Transmission You can view this circuit simulation under the Supplemental section of our website 4-bit receiving memory device made of D-flip flops 4-bit sending memory device made of D-flip flops

Parallel vs Serial Speeds 5 1 wire 1 Clock speeds being equal--- a parallel connection containing N data bit connections can send N-bits in the same amount of time that a serial connection takes to send one bit 1 5 1 wire 2 Example: Send the data bits 1011 5 1 wire 3 sender 1 1 1 1 receiver Parallel 5 time 1 1 wire 4 Time to send: 1 clock pulse voltage 5 time 1 2 3 4 1 0 1 1 sender 1 1 receiver 1 Serial Time to send: 4 clock pulses

So Why Is Serial The Current "Thing"? Cost – serial takes fewer wires, so it's cheaper to develop Wire Lengths – parallel systems require each wire to be exactly the same length (even a difference of millimeters can be problematic – especially at high speeds) This basically means that the bits on different wires arrive at the receiver at slightly different times – a phenomenon called skew Interference – signals on parallel wires can cause electromagnetic noise that interferes with signals on other wires

Transmission Order Network transmission can be divided into two categories: Little Endian – sends the least significant bit first Big Endian – sends the most significant bit first There is no real benefit of using one over the other, but the sender and receiver must agree on which to use.

Big vs Little Endian MSB = most significant bit LSB = least significant bit MSB LSB 1 0 1 1 1 send 4th Big Endian 1 send 3rd send 2nd 1 send 1st MSB LSB 1 0 1 1 1 send 1st Little Endian 1 send 2nd send 3rd 1 send 4th

Example: Ethernet Networks Ethernet networks are unique in that they use both orderings: Big Endian for multiple bytes in a block of data Little Endian for the individual bits in a byte Example: Send the 32-bit integer 1,468,723,923 byte 1 byte 2 byte 3 byte 4 ‭0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 1 1 0 0 1 0 1 1 0 1 0 0 1 1‬ 1 9 17 25 2 10 18 26 3 11 19 27 4 12 20 28 5 13 21 29 6 14 22 30 7 15 23 31 8 16 24 32 send 1 1 1 0 1 0 1 0 0 1 0 1 0 0 0 1 0 1 0 0 1 1 1 1 1 1 0 0 1 0 1 1‬

Transmission Timing Network transmission can be divided into three categories: Asynchronous – data can be sent at any time, with unknown length of gaps between Synchronous – data is sent continuously, with no gaps between two data items Isochronous – data is sent at regular intervals, with a fixed gap between two data items

Asynchronous Transmission The transmission medium can be idle for an arbitrary period of time between data items Well suited for applications that generate data at random intervals (i.e. data typed on a keyboard, or mouse clicks) Bits sent are on a timed interval, but idle periods are not timed Disadvantages include: Not knowing when the next block of data will arrive Need to transmit extra bits before the data to indicate that a transmission is starting start bits Some protocols require extra bits at the end of the transmission to indicate that it's ending stop bits

Ex: RS-232 Protocol (An asynchronous protocol) Distance: must be less than 50 feet Electrical: -15 volts to + 15 volts Line coding: 1 = -15V / 0 = +15V / idle = -15V Start bit: 0 (+15V) used to indicate start of transmission Stop bit: 1 (-15V) used to indicate end of transmission Note: The "stop bit" here really just means that there must be at least one idle period between transmissions Example: Transmit 1 1 0 1 1 0 1 0 -15 +15 1 2 3 4 5 6 7 8 9 10 1 1 1 1 1 start bit stop bit idle idle

Example 2: Transmit 2 bytes: 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 1 with no idle period between -15 +15 0 / start 1 / stop / idle idle 1 1 1 1 1 1 1 1 1 1 idle start stop start stop byte 1 byte 2

Example 2: Transmit 2 bytes: 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 1 with no idle period between -15 +15 0 / start 1 / stop / idle idle 1 1 1 1 1 1 1 1 1 1 idle start stop start stop Note: In order to send 8-bits of data, technically 10-bits have to be sent byte 1 byte 2 Transmit 2 bytes: 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 1 with idle period between -15 +15 0 / start 1 / stop / idle idle 1 1 1 1 1 idle 1 1 1 1 1 idle start stop start stop byte 2 byte 1

Synchronous Transmission Bits of data are sent continuously, with no idle time between bits Start/stop bits are not needed, as a second byte of data can immediately follow As a result of the fewer bits, transmission is faster than with asynchronous

Example Synchronous Transmission Transmit 2 bytes: 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 1 -15 +15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 previous byte byte 1 byte 2 next byte some data transmitted before our 2 bytes some data transmitted after our 2 bytes

Synchronous Network Frames Synchronous networks usually deliver blocks of bytes grouped into a frame Frames start with a special sequence of bits to indicate the start of the frame (similar to a start bit in an asynchronous network) These "frame start bits" help ensure the sender/receiver stay synchronized, since they will occur at a set interval Synchronous networks also include a special idle sequence of bits that is transmitted when there is no real data to send

Example Framing For this example: a frame consists of 6 bits frames start with the bit sequence 1 0 idle bits are 0's we want to transmit: 8 bits of data: 1 1 0 1 1 0 1 0 An idle period 4 more bits of data: 0 1 1 0 frame frame frame frame frame frame -15 +15 1 1 1 1 1 1 1 1 1 1 1 1 1 previous frame frame start data frame start data frame start idle bits frame start data frame start idle

Isochronous Transmission This is actually a synchronous network which is guaranteed to deliver DATA BITS at a steady rate of X-bits per second This means that: The sender must generate data at a rate of X-bits per second to hand to the network The underlying synchronous network must operate at a speed that's slightly faster than X-bits per second (because it may use framing, and could send additional bits that aren't data) Mostly used for multimedia applications so the data is delivered at a steady rate

Example Isochronous Network Consider our previously described synchronous network: a frame consists of 6 bits frames begin with a start sequence of 2 bits frames contain 4 bits of data Suppose we want an isochronous network to deliver data at a rate of 12 data bits per second In order to guarantee data delivered at this rate, our underlying synchronous network must transmit 18-bits per second. This is because for every 4-data bits, an additional 2-bits of frame data must be sent. synchronous speed 6 bits 12 bits 18 bits isochronous speed 4 bits 8 bits 12 bits frame start data frame start data frame start data 1 second

Direction of Transfer Network transmission can be divided into three categories: Simplex – data transfers only in one direction Half-Duplex – data transfers in both directions, but only one way at a time Full-Duplex – data transfers in both directions, simultaneously

Simplex Data transfers only in one direction Examples: A temperature sensor A radio or television broadcast A single optical fiber send receive single optical fiber LED Photodiode One-Way Data Travel

Full-Duplex Data transfers in both directions simultaneously Examples: A telephone conversation A pair of optical fibers send receive receive send Device 1 Device 2 two optical fibers

Half-Duplex Data transfers in both directions one way at a time Examples: A one-lane bridge A pair of walkie-talkies Additional equipment is needed on each end to coordinate and ensure that only one side transmits at at time send receive receive send