Last Time. Transferring Information. Today (& Tomorrow (& Tmrw)) Application Layer Example Protocols ftp http Performance.

Similar documents
Lecture 5 Transmission

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Computer Networks

Physical Layer: Outline

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

Wireless Intro : Computer Networking. Wireless Challenges. Overview

Chapter 2. Physical Layer

Lecture 2: Links and Signaling. CSE 123: Computer Networks Stefan Savage

DATA TRANSMISSION. ermtiong. ermtiong

The Physical Layer Outline

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

ECE 435 Network Engineering Lecture 16

Lecture 2: Links and Signaling"

CPSC Network Programming. How do computers really communicate?

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

ECE 435 Network Engineering Lecture 20

Outline / Wireless Networks and Applications Lecture 2: Networking Overview and Wireless Challenges. Protocol and Service Levels

Outline / Wireless Networks and Applications Lecture 5: Physical Layer Signal Propagation and Modulation

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

Lecture 3: Data Transmission

Point-to-Point Communications

Data and Computer Communications. Chapter 3 Data Transmission

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Lecture Fundamentals of Data and signals

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

EC 554 Data Communications

CS441 Mobile & Wireless Computing Communication Basics

COMP211 Physical Layer

CSE 561 Bits and Links. David Wetherall

Data Communication. Chapter 3 Data Transmission

William Stallings Data and Computer Communications 7 th Edition. Chapter 4 Transmission Media

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Chapter 3 Digital Transmission Fundamentals

Lecture 21: Links and Signaling

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Chapter 3 Data and Signals

Data Communications. Unguided Media Multiplexing

Physical Layer. Networked Systems (H) Lecture 3

Chapter 3 Data Transmission COSC 3213 Summer 2003

Physical Layer. Networked Systems 3 Lecture 5

TECHNICAL ARTICLE: DESIGN BRIEF FOR INDUSTRIAL FIBRE OPTICAL NETWORKS

a. Find the minimum number of samples per second needed to recover the signal without loosing information.

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Computer Networks Lecture -4- Transmission Media. Dr. Methaq Talib

Cable Testing TELECOMMUNICATIONS AND NETWORKING

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Introduction to LAN/WAN. Physical Layer

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42

Chapter 2: Computer Networks

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Physical Layer. Networks: Physical Layer 1

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications

Data and Computer Communications Chapter 3 Data Transmission

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

CS307 Data Communication

Fundamentals of Digital Communication

Basic Concepts in Data Transmission

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Data Communications & Computer Networks

E-716-A Mobile Communications Systems. Lecture #2 Basic Concepts of Wireless Transmission (p1) Instructor: Dr. Ahmad El-Banna

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal

CHAPTER 2. Instructor: Mr. Abhijit Parmar Course: Mobile Computing and Wireless Communication ( )

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

Encoding and Framing

LE/EECS 3213 Fall Sebastian Magierowski York University. EECS 3213, F14 L8: Physical Media

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal

Lecture 2 Physical Layer - Data Transmission

Chapter 3. Data Transmission

Operating Systems and Networks. Networks Part 2: Physical Layer. Adrian Perrig Network Security Group ETH Zürich

Integrating Information Systems: Technology, Strategy, and Organizational Factors

Physical Layer. Networked Systems Architecture 3 Lecture 6

EE 304 TELECOMMUNICATIONs ESSENTIALS HOMEWORK QUESTIONS AND ANSWERS

Chapter 4: Transmission Media

Project = An Adventure : Wireless Networks. Lecture 4: More Physical Layer. What is an Antenna? Outline. Page 1

OPTICAL NETWORKS. Building Blocks. A. Gençata İTÜ, Dept. Computer Engineering 2005

Maximum date rate=2hlog 2 V bits/sec. Maximum number of bits/sec=hlog 2 (1+S/N)

UNIT-1. Basic signal processing operations in digital communication

Jaringan Komputer. Outline. The Physical Layer

Part II Data Communications

CSE 461 Bits and Links. David Wetherall

CSE 461: Bits and Bandwidth. Next Topic

EEC484/584. Computer Networks

IST 220 Exam 1 Notes Prepared by Dan Veltri

Physical Layer. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

Optical Transport Tutorial

Chapter 2. Bandwidth-Limited Signals (2) The Theoretical Basis for Data Communication

CSEP 561 Bits and Links. David Wetherall

Signal Characteristics

Some key functions implemented in the transmitter are modulation, filtering, encoding, and signal transmitting (to be elaborated)

ITM 1010 Computer and Communication Technologies

Class 4 ((Communication and Computer Networks))

Transcription:

15-441 Lecture 5 Last Time Physical Layer & Link Layer Basics Copyright Seth Goldstein, 2008 Application Layer Example Protocols ftp http Performance Application Presentation Session Transport Network Datalink Physical Based on slides from previous 441 lectures 1 Today (& Tomorrow (& Tmrw)) Transferring Information 1. Physical layer. 2. Datalink layer introduction, framing, error coding, switched networks. 3. Broadcast-networks, home networking. Application Presentation Session Transport Network Datalink Physical Information transfer is a physical process In this class, we generally care about Electrical signals (on a wire) Optical signals (in a fiber) More broadly, EM waves Information carrier can also be? 4

Transferring Information Information transfer is a physical process In this class, we generally care about Electrical signals (on a wire) Optical signals (in a fiber) More broadly, EM waves Information carriers can also be Sound waves Quantum states t Proteins Ink & paper, etc. Packet Transmission Packets Application Presentation Session Transport From Signals to Packets Sender Receiver 0100010101011100101010101011101110000001111010101110101010101101011010 Header/Body d Header/Body d Header/Body d Bit Stream 0 0 1 0 1 1 1 0 Network Datalink Digital Signal Physical Analog Signal 5 6 Packet Transmission Packets From Signals to Packets Sender Receiver 0100010101011100101010101011101110000001111010101110101010101101011010 Header/Body d Header/Body d Header/Body d Bit Stream 0 0 1 0 1 1 1 0 Digital Signal Today s Lecture Modulation. Bandwidth limitations. Frequency spectrum and its use. Multiplexing. Media: Copper, Fiber, Optical, Wireless. Coding. Framing. Analog Signal 7 8

Why Do We Care? I am not an electrical engineer? Physical layer places constraints on what the network infrastructure can deliver Reality check Impact on system performance Impact on the higher protocol layers Some examples: Fiber or copper? Do we need wires? Error characteristic and failure modes Effects of distance Modulation Changing a signal to convey information From Music: Volume Pitch Timing 9 10 Modulation Changing a signal to convey information Ways to modulate a sinusoidal wave Volume: Amplitude Modulation (AM) Pitch: Frequency Modulation (FM) Timing: Phase Modulation (PM) Amplitude Modulation AM: change the strength of the signal. Example: High voltage for a 1, low voltage for a 0 0 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 0 In our case, modulate signal to encode a 0 or a 1. (multi-valued signals sometimes) 1 0 1 0 1 11 12

Frequency Modulation FM: change the frequency Phase Modulation PM: Change the phase of the signal 0 1 1 0 1 1 0 0 0 1 1 0 1 0 13 14 Baseband vs Carrier Modulation Amplitude Carrier Modulation Baseband modulation: send the bare signal. Carrier modulation: use the signal to modulate a higher h frequency signal (carrier). Can be viewed as the product of the two signals Corresponds to a shift in the frequency domain de de Amplitu Signal Carrier Frequency Amplitu Modulated Carrier 15 16

Why Different Modulation Methods? Why Different Modulation Methods? Transmitter/Receiver complexity Power requirements Bandwidth Medium (air, copper, fiber, ) Noise immunity Range Multiplexing 17 18 What Do We Care About? How much bandwidth can I get out of a specific wire (transmission ss medium)? What limits the physical size of the network? How can multiple hosts communicate over the same wire at the same time? How can I manage bandwidth on a transmission medium? How do the properties p of copper, fiber, and wireless compare? Bandwidth Bandwidth is width of the frequency range in which the fourier transform of the signal is non-zero. Sometimes referred to as the channel width Or, where it is above some threshold value (Usually, the half power threshold, e.g., -3dB) db Short for decibel Defined as 10 * log 10 (P 1 /P 2 ) When used for signal to noise: 10 * log 10 (S/N) 19 20

= + 1.3 X Signal = Sum of Waves The Frequency Domain A (periodic) signal can be viewed as a sum of sine waves of different strengths. Corresponds to energy at a certain frequency Every signal has an equivalent representation in the frequency domain. What frequencies are present and what is their strength (energy) E.g., radio and TV signals. + 0.56 X + 1.15 X 21 The Nyquist Limit A noiseless channel of width H can at most transmit t a binary signal at a rate 2 x H. Assumes binary amplitude encoding The Nyquist Limit A noiseless channel of width H can at most transmit t a binary signal at a rate 2 x H. Assumes binary amplitude encoding E.g. a 3000 Hz channel can transmit data at a rate of at most 6000 bits/second Hmm, I once bought a modem that did 54K???? 23 24

How to Get Past the Nyquist Limit How to Get Past the Nyquist Limit Instead of 0/1, use lots of different values. (Remember, the channel is noiseless.) Can we really send an infinite amount of info/sec? 25 26 Past the Nyquist Limit More aggressive encoding can increase the channel bandwidth. Example: modems Same frequency - number of symbols per second Symbols have more possible values psk Psk+ AM Capacity of a Noisy Channel Can t add infinite it symbols you have to be able to tell them apart. This is where noise comes in. Every transmission medium supports transmission in a certain frequency range. The channel bandwidth is determined by the transmission medium and the quality of the transmitter and receivers Channel capacity increases over time 27 28

Capacity of a Noisy Channel Can t add infinite it symbols you have to be able to tell them apart. This is where noise comes in. Shannon s theorem: C = B x log 2 (1 + S/N) C: maximum capacity (bps) B: channel bandwidth (Hz) S/N: signal to noise ratio of the channel Often expressed in decibels (db) ::= 10 log(s/n). 29 Capacity of a Noisy Channel Can t add infinite it symbols you have to be able to tell them apart. This is where noise comes in. Shannon s theorem: C = B x log 2 (1 + S/N) C: maximum capacity (bps) B: channel bandwidth (Hz) S/N: signal to noise ratio of the channel Often expressed in decibels (db) ::= 10 log(s/n) Example: Local loop bandwidth: 3200 Hz Typical S/N: 1000 (30db) What is the upper limit on capacity? Modems: Teleco internally converts to 56kbit/s digital signal, which sets a limit on B and the S/N. 30 te Mod dem ra 100000 10000 1000 Example: Modem Rates 100 1975 1980 1985 1990 1995 2000 Year 31 Transmission Channel Considerations Every medium supports transmission in a certain frequency range. Outside this range, effects such as attenuation,.. degrade the signal too much Transmission and receive hardware will try to maximize the useful bandwidth in this frequency band. Tradeoffs between cost, distance, bit rate As technology improves, these parameters change, even for the same wire. Good Frequency Signal Bad

Attenuation & Dispersion Real signal may be a combination of many waves at different frequencies es Why do we care? Good Frequency Bad + On board Limits to Speed and Distance Noise: random energy is added to the signal. Attenuation: some of the energy in the signal leaks away. Dispersion: attenuation and propagation speed are frequency dependent. (Changes the shape of the signal) Effects limit the data rate that a channel can sustain.» But affects different technologies in different ways Effects become worse with distance.» Tradeoff between data rate and distance 33 Today s Lecture Modulation. Bandwidth limitations. Frequency spectrum and its use. Multiplexing. Media: Copper, Fiber, Optical, Wireless. Coding. Framing. Today s Lecture Modulation. Bandwidth limitations. Frequency spectrum and its use. Multiplexing. Media: Copper, Fiber, Optical, Wireless. Coding. Framing. 35 36

Supporting Multiple Channels Multiple channels can coexist if they transmit at a different frequency, or at a different time, or in a different part of the space. Three dimensional space: frequency, space, time Space can be limited using wires or using transmit power of wireless transmitters. Frequency multiplexing l i means that different users use a different part of the spectrum. Similar to radio: 95.5 5 versus 102.5 station Controlling time (for us) is a datalink protocol issue. Media Access Control (MAC): who gets to send when? Time Division Multiplexing Different users use the wire at different points in time. Aggregate g bandwidth also requires more spectrum. Frequency Frequency 37 Amplitud de FDM: Multiple Channels Determines Bandwidth of Channel Determines Bandwidth of Link Different Carrier Frequencies Frequency versus Time-division Multiplexing With FDM different users use different parts of the frequency spectrum. I.e. each user can send all the time at reduced rate Example: roommates With TDM different users send at different times. I.e. each user can sent at full speed some of the time Example: a time-share condo The two solutions can be combined. Fr requency Time Slot Frame Frequenc Bands 39

Today s Lecture Modulation. Bandwidth limitations. Frequency spectrum and its use. Multiplexing. Media: Copper, Fiber, Optical, Wireless. Coding. Framing. Copper Wire Unshielded twisted pair (UTP) Two copper wires twisted - avoid antenna effect Grouped into cables: multiple l pairs with common sheath Category 3 (voice grade) versus category 5 100 Mbit/s up to 100 m, 1 Mbit/s up to a few km Cost: ~ 10cents/foot Coax cables. One connector is placed inside the other connector Holds the signal in place and keeps out noise Gigabit up to a km Signaling processing research pushes the capabilities of a specific technology. E.g. modems, use of cat 5 41 42 Why twist wires? UTP UTP Why twist wires? Provide noise immunity Combine with Differential Signaling 43 44

Light Transmission in Fiber Ray Propagation 1.0 LEDs Lasers loss (db/km) 0.5 tens of THz cladding core 1.3μ 155μ 1.55μ lower index of refraction 0.0 1000 1500 nm (~200 Thz) wavelength h( (nm) (note: minimum i bend radius of a few cm) 45 46 Multimode fiber. Fiber Types 62.5 or 50 micron core carries multiple modes used at 1.3 microns, usually LED source subject to mode dispersion: different propagation modes travel at different speeds typical limit: 1 Gbps at 100m Single mode 8 micron core carries a single mode used at 1.3 or 1.55 microns, usually laser diode source typical limit: 10 Gbps at 60 km or more still subject to chromatic dispersion Multimode Single mode Fiber Types 47 48

Gigabit Ethernet: Physical Layer Comparison Medium Transmit/ Distance Comment receive How to increase distance? Even with single mode, there is a distance limit. I.e.: How do you get it across the ocean? Copper 1000BASE-CX 25 m machine room use Twisted pair 1000BASE-T 100 m not yet defined; cost? Goal:4 pairs of UTP5 MM fiber 62 mm 1000BASE-SX 260 m 1000BASE-LX 500 m MM fiber 50 mm 1000BASE-SX 525 m 1000BASE-LX 550 m SM fiber 1000BASE-LX 5000 m Twisted pair 100BASE-T 100 m 2p of UTP5/2-4p of UTP3 MM fiber 100BASE-SX 2000m 49 50 How to increase distance? Even with single mode, there is a distance limit. I.e.: How do you get it across the ocean? source pump laser Regeneration and Amplification At end of span, either regenerate electronically or amplify. Electronic repeaters are potentially slow, but can eliminate noise. Amplification over long distances made practical by erbium doped fiber amplifiers offering up to 40 db gain, linear response over a broad spectrum. Ex: 40 Gbps at 500 km. source pump laser 51 52

Wavelength Division Multiplexing Send multiple wavelengths through the same fiber. Multiplex and demultiplex the optical signal on the fiber Each wavelength represents an optical carrier that can carry a separate signal. E.g., 16 colors of 2.4 Gbit/second Like radio, but optical and much faster Frequency Optical Splitter Wireless Technologies Great technology: no wires to install, convenient mobility, High attenuation limits i distances. Wave propagates out as a sphere Signal strength attenuates quickly 1/d 3 High noise due to interference from other transmitters. Use MAC and other rules to limit interference Aggressive encoding techniques to make signal less sensitive to noise Other effects: multipath th fading, security,.. Ether has limited bandwidth. Try to maximize its use Government oversight to control use 54 Things to Remember Bandwidth and distance of networks is limited by physical properties of media. Attenuation, noise, dispersion, Network properties are determined by transmission medium and transmit/receive hardware. Nyquist gives a rough idea of idealized throughput Can do much better with better encoding Low b/w channels: Sophisticated encoding, multiple bits per wavelength. High b/w channels: Simpler encoding (FM, PCM, etc.), many wavelengths per bit. Shannon: C = B x log 2 (1 + S/N) Multiple users can be supported using space, time, or frequency division multiplexing. Properties of different transmission media. 55