Data Transmission The basics of media, signals, bits, carries, and modems (Part I)

Slides:



Advertisements
Similar presentations
IST 126 Transmission Media. Characteristics of Transmission Media Cost Ease of installation Bandwidth capacity – the amount of data that can be sent in.
Advertisements

Computer Communication & Networks
Computer Network 1Lecture 11 Pengantar Jaringan Komputer Iwan Syarif Hero Yudo Martono.
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 3 - Transmission Media Basic Idea Transmission media Copper wires Glass fibers Radio Microwave Infrared Laser Choosing a medium Media in use at.
Introduction to Network (c) Nouf Aljaffan
Unbounded media have network signals that are not bound by any type of fiber or cable; hence, they are also called wireless technologies Wireless LAN.
Chapter 4 Transmission Media
Chapter 8 Data and Network Communication Technology
1 Part II: Data Transmission The basics of media, signals, bits, carriers, and modems Fall 2005 Qutaibah Malluhi Computer Science and Engineering Qatar.
Network+ Guide to Networks, Fourth Edition Chapter 3 Transmission Basics and Networking Media.
Chapter 7 Transmission Media
1 Version 3.0 Module 3 Networking Media. 2 Version 3.0 Cable Specifications Cables have different specifications and expectations pertaining to performance:
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Computer Networks (CS422) Douglas Comer Computer Science Department Purdue University West Lafayette, IN.
The Physical Layer: Data Transmission Basics
CSCI 4550/8556 Computer Networks Comer, Chapter 4: Transmission Media.
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.
Physical Layer B. Konkoth.
1 Physical Layer. 2 Analog vs. Digital  Analog: continuous values over time  Digital: discrete values with sharp change over time.
1 Chapter 4-6 Signals, Media, And Data Transmission.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
2-1 Physical Layer l Theoretical basis for data communications n Fourier analysis n distortion –by different attenuation rates of different frequency components.
Chapter 4:Transmission Media 1 Basic Idea 2 Transmission media 3 Copper wires 4 Glass fibers 5 Radio 6 Microwave 7 Infrared 8 Laser 9 Choosing a medium.
7.1 Chapter 7 Transmission Media Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2.  Types of Network  Circuit Switched & Packet Switched  Signaling Techniques  Baseband & Broadband  Interference  Transmission Medium.
1 Physical Layer Propagation Chapter 3 (Revised August 2002) Copyright 2003 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 4 th edition.
1 Ch 5 Local Asynchronous Communication (RS-232).
1 Business Telecommunications Data and Computer Communications Chapter 4 Transmission Media.
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.
Physical Transmission
Module 2: Information Technology Infrastructure
Media for Transmitting Data. Optical Communications Description of optical communications: –They use light as a carrier of information (as opposed to.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Physical Transmission
Introduction to Network (c) Nouf Aljaffan
Business Data Communications, by Allen Dooley, (c) 2005 Pearson Prentice Hall Chapter Two 1 Business Data Communications Chapter Two Physical Layer Fundamentals.
IST 126 Computer Networks Spring, What is a Computer Network? A group of computers and other devices that are connected together in order to share.
7.1 Chapter 7 Transmission Media Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1. Physical Transmission Transmission Media Wire (guided) Coaxial cable Twisted Pair UTP STP Fiber Optic Wireless (unguided) Radio waves Microwave Infrared.
Lesson 2—Networking BASICS1 Networking BASICS Network Media Unit 1 Lesson 2.
TOPIC 1.2 INTRODUCTION TO NETWORKING. OBJECTIVES By the end of the topic, students should be able to: a) List the elements of data communication systems.
Data Communication & Networking. Data communication Not to be confused with telecommunication –Any process that permits the passage from a sender to one.
COMPUTER NETWORKS Lecture-3 Husnain Sherazi. Review Lecture 2  Resource Sharing  Growth of the Internet – Linear Scale – Log Scale  Tools for Probing.
Transmission Media The transmission medium is the physical path by which a message travels from sender to receiver. Computers and telecommunication devices.
7.1 Chapter 7 Transmission Media Lecturer: Mrs. Rohani Hassan Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter Four Networking Media. Chapter Objectives  Explain concepts related to data transmission and noise  Describe the physical characteristics of.
COMPUTER NETWORKS CS610 Lecture-3 Hammad Khalid Khan.
CHAPTER 3 Physical Layer.
Physical Transmission
Data Communication IT-402.
Physical Transmission
Physical Transmission
Physical Transmission
Network Media Types COMPUTER NETWORKS 4TH Edition Chapter3
Conducted and Wireless Media (Part I)
CHAPTER 3 Physical Layer.
Local Asynchronous Communication (RS-232)
Long-Distance Communication (Carriers, Modulation, And Modems)
Physical Transmission
Physical Layer Theoretical basis for data communications
Physical Transmission
Communication Medium Transmission Medium.
Signals, Media, And Data Transmission
Physical Layer Theoretical basis for data communications
Physical Transmission
Presentation transcript:

Data Transmission The basics of media, signals, bits, carries, and modems (Part I)

Physical Layer The lowest layer in any network architecture model It is concerned with the transparent transmission of “raw” bits across a communications medium It deals with the physical characteristics (mechanical, electrical, procedural) of data transmission and communication. It is responsible for: –providing basic signaling (control, data) –signal modulation –encoding/decoding –activate/deactivate physical medium (PM) –bit-timing (clocking) –mapping between different formats

Physical Layer Sender Transmitted Signal Transmission Medium Received Signal (Attenuated & Distorted) Because of Propagation Effects Receiver Propagation

Data Communication Source initiates the communication. Destination address (identifier) is required for the network to establish a communication path between the source and the destination Destination must be prepared to receive data Source and destination hosts may belong to different types of networks. Line speed and/or packet formats mismatches should be taken care of (i.e., via fragmentation, conversion, etc.) Example: consider a file transfer (e.g., FTP)

Analog and Binary Data Binary Data Analog Data Smoothly changing among an infinite number of states (loudness levels, etc.) Two states: One state represents 1 The other state represents 0

Binary Data and Binary Signal 15 Volts (0) 0 Volts -15 Volts (1) Transmitted Signal 00 1 There are two states (in this case, voltage levels). One, (high) represents a 0. The other (low) represents a 1.

Binary Data and Binary Signal 15 Volts (0) Clock Cycle 0 Volts -15 Volts (1) Transmitted Signal 00 1 Time is divided into clock cycles The State is held constant within each clock cycle. It can jump abruptly at the end of each cycle. One bit is sent per clock cycle.

Binary Data and Digital Signal Client PC Server In binary transmission, there are two states. In digital transmission, there are few states (in this case, four). With four states, two information bits can be sent per clock cycle. 00, 01, 10, and 11 Binary transmission is a special case of digital transmission.

Baud Rates for Digital Signals Client PC Server Suppose that the clock cycle is 1/10,000 second. Then the baud rate is 10,000 baud (10 kbaud). The bit rate will be 20 kbps (two bits/clock cycle times 10,000 clock cycles per second). (The bit rate gives the number of information bits per second.) Baud Rate = # of Clock Cycles/Second

In Summary- Bit Rate and Baud Rate Two terms frequently used in data communication Bit rate: the number of bits sent in one second, usually expressed in bits per second (bps) More important to know how long it takes to process each piece of information Duration of a bit (bit interval): the time required to send one single bit. bit interval = 1/bit rate Example: bit rate = 55.6 kbps, duration of a bit = 1/55600 = second = 18 microseconds

Baud Rate Refers to the number of signal units per second that are required to represent those bits. Related to the bandwidth -- the fewer signal units required, the more efficient the system and the less bandwidth required to transmit more bits More important to know how efficiently we can move those data from place to place Bit rate = Baud rate * the number of bits represented by each signal unit Example: An analog signal carries 4 bits in each signal element. If 1000 signal elements are sent per second, then baud rate = 1000 bauds per second, bit rate = 1000 * 4 = 4000 bps

Perspective Analog Data –Smooth changes among an infinite number of states— like hands going around an analog clock Digital Data –Few states –In a digital clock, each position can be in one of ten states (the digits 0 through 9) Binary Data –Two states (a special case of digital)

Basic Idea For Transmission Media Encode data as energy and transmit energy Decode energy at destination back into data Energy can be electrical, light, radio, sound,... Each form of energy has different properties and requirements for transmission

Transmission Media Transmitted energy is carried through some sort of medium Transmitter encodes data as energy and transmits energy through medium –Requires special hardware for data encoding –Requires hardware connection to transmission medium –Media can be copper, glass, air,...

Copper Wires Twisted pair: a pair of insulated copper wires. Can run for a few kms (oldest and most common). Several standards: STP and UTP (Unshielded Twisted Pair).

4-Pair Unshielded Twisted Pair Cable with RJ-45 Connector Single Twisted Pair Jacket Four pairs (each pair is twisted) There is insulation around each wire.

4-Pair Unshielded Twisted Pair Cable with RJ-45 Connector A length of UTP is called a cord. There is no metal shielding around The individual pairs or around the entire Cord. Hence the name unshielded UTP UTP Cord

Copper Wires (continued) Coaxial cable: copper wire surrounded by an insulator encased by another copper conductor (mesh) covered by a protective plastic sheath

Glass Fibers Thin glass fiber carries light with encoded data Plastic jacket allows fiber to bend (some!) without breaking Fiber is very clear and designed to reflect light internally for efficient transmission Light emitting diode (LED) or laser injects light into fiber Light sensitive receiver at other end translates light back into data

Glass Fibers (continued) Very reliable and high capacity Can run up to tens of kms Not affected by electromagnetic inference Easy to install but a costly technology

Multimode & Single-Mode Fiber Cladding Light Source Core Multimode Fiber Modes Light only travels in one of several allowed modes Multimode fiber must keep its distance short or limit modal distortion Multimode fiber goes a few hundred meters and is inexpensive to lay It is dominant in LANs

Multimode & Single-Mode Fiber Light Source Single Mode Fiber Cladding Core Single Mode Core is so thin that only one mode can propagate. No modal dispersion, so can span long distances without distortion. Expensive, so not widely used in LANs. Popular in WANs

Multimode and Single-Mode Fiber Multimode –Limited distance (a few hundred meters) –Inexpensive to install –Dominates fiber use in LANs Single-Mode Fiber –Longer distances: tens of kilometers –Expensive to install –Commonly used by WANs and telecoms carriers

Wireless Air is the medium Radio –Data transmitted using radio waves –Energy travels through the air rather than copper or glass –Conceptually similar to radio, TV, cellular phones –Can travel through walls and through an entire building –omnidirectional (broadcast)

Radio Wave Amplitude Wavelength Frequency Measured in Hertz (Cycles per Second) 2 Cycles in one Second, so 2 Hz Wavelength * Frequency = Speed of Propagation

Wireless Satellite: unidirectional, costly, propagation is a consideration

Wireless Microwave –High frequency radio waves –Unidirectional, for point-to-point communication –Antennas mounted on towers relay transmitted data Infrared –Infrared light transmits data through the air –Similar to technology used in TV remote control –Can propagate throughout a room (bouncing off surfaces), but will not penetrate walls

Wireless Laser –Unidirectional, like microwave –Higher speed than microwave –Uses laser transmitter and photo-sensitive receiver at each end –Point-to-point, typically between buildings –Can be adversely affected by weather

Wireless Propagation Problems Laptop Comm. Tower Inverse Square Law Attenuation Very Rapid Attenuation with Distance Compared to Wires and Fiber

Wireless Propagation Problems Laptop Comm. Tower Shadow Zone: No Signal Multipath Interference Signals Arriving at Slightly Different Times Can Interfere

Choosing A Medium Copper wire is mature technology, rugged and inexpensive; maximum transmission speed is limited Glass fiber: –Higher speed –More resistant to electromagnetic interference –Spans longer distances –Requires only single fiber –More expensive; less rugged

Choosing A Medium Radio and microwave don't require physical connection Radio and infrared can be used for mobile connections Laser also does not need physical connection and supports higher speeds

Data Transmission Data transmission requires:  Encoding bits as energy  Transmitting energy through medium  Decoding energy back into bits Energy can be electric current, radio, infrared, light Transmitter and receiver must agree on encoding scheme and transmission timing

Encoding--Using Electric Current To Send Bits  Simple idea - use varying voltages to represent 1s and 0s  One common encoding use negative voltage for 1 and positive voltage for 0  In following figure, transmitter puts positive voltage on line for 0 and negative voltage on line for 1

All details specified by a standard Several organizations produce networking standards –IEEE Institute for Electrical and Electronics Engineers –ITU (International Telecommunications Union) –EIA (Electronic Industries Association) Hardware adheres to standard interoperable Encoding Details

Asynchronous and synchronous communications Asynchronous communication: data are transmitted one character at a time –transmitter and receiver do not explicitly coordinate each data transmission –transmitter can wait arbitrarily long between transmissions –receiver does not know when a character will arrive. May wait forever Transmission Modes

Asynchronous Communication To ensure meaningful exchange –start bit before character –one or more stop bits after character –1s when idle Used, for example, when transmitter such as a keyboard, may not always have data ready to send

Synchronous Communication No start/stop bits. Sends bytes contiguously Periodically transmit clocking information Uses flags (special bit sequences) as delimiters for frames More efficient transmission

Example use –Connection to keyboard/mouse –Serial port on PC (as opposed to parallel transmission) Specified by EIA Voltage is +15 or –15 Cable limited to ~50 feet Use asynchronous communication The RS-232C Standard

Start bit –Same as 0 –Not part of data Stop bit –Same as 1 –Follows data Illustration Of RS-232

Duration Of A Bit In RS-232 Determined by baud rate –Typical baud rate: 9.6 kbaud, 14.4 kbaud, 28.8 kbaud –bit_rate = baud_rate –Duration of a bit is 1/baud_rate Sender and receiver must agree a priori Receiver samples signal Disagreement results in framing error

Two-Way Communication Desirable in practice Requires each side to have transmitter and receiver Called full duplex

Illustration Of Full-Duplex Communication Transmitter on one side connected to receiver on other Separate wires needed to carry current in each direction Common ground wire

Electric Transmission In real world –Electric energy dissipates as it travels along –Wires have resistance, capacitance, and inductance which distort signals –Magnetic or electrical interference distorts signals –Distortion can result in loss or misinterpretation

Illustration Of Distorted Signal For A Single Bit In practice –Distortion can be much worse than illustrated

Consequences RS-232 hardware must handle minor distortions –Take multiple samples per bit –Tolerate less than full voltage Can not use electrical current for long- distance transmission

Reading Materials Chapter 4 Chapter 5: Sections