CSE 561 Bits and Links. David Wetherall

Similar documents
CSE 461 Bits and Links. David Wetherall

CSEP 561 Bits and Links. David Wetherall

CSE 461: Bits and Bandwidth. Next Topic

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

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

Point-to-Point Communications

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

DATA TRANSMISSION. ermtiong. ermtiong

Physical Layer. Networks: Physical Layer 1

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

The Physical Layer Outline

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

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

Chapter 2. Physical Layer

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

Lecture 2: Links and Signaling"

Lecture 5 Transmission

Introduction to LAN/WAN. Physical Layer

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

CS441 Mobile & Wireless Computing Communication Basics

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

CPSC Network Programming. How do computers really communicate?

ECE 435 Network Engineering Lecture 16

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

Lecture 21: Links and Signaling

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

Physical Layer: Outline

Introduc8on to Computer Networks. Where we are in the Course. Overview of the Physical Layer

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

ECE 435 Network Engineering Lecture 20

Lecture Fundamentals of Data and signals

Chapter 3 Digital Transmission Fundamentals

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

EC 554 Data Communications

Lecture 3: Data Transmission

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

You may use a calculator, but you may not use a computer during the test or have any wireless device with you.

Basic Concepts in Data Transmission

Books: 1. Data communications by William L Schweber 2. Data communication and Networking by Behrouz A F0rouzan

BSc (Hons) Computer Science with Network Security. Examinations for Semester 1

Wireless Intro : Computer Networking. Wireless Challenges. Overview

CS307 Data Communication

ETSF15 Physical layer communication. Stefan Höst

Transmission Media. - Bounded/Guided Media - Uubounded/Unguided Media. Bounded Media

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

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

Jaringan Komputer. Outline. The Physical Layer

1. What is the bandwidth of a signal that ranges from 40 KHz to 4 MHz? a MHz (4M -40K) b. 36 MHz c. 360 KHz d. 396 KHz

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

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

Media. Twisted pair db/km at 1MHz 2 km. Coaxial cable 7 db/km at 10 MHz 1 9 km. Optical fibre 0.2 db/km 100 km

Computer Communication Networks Physical

Chapter 3 Digital Transmission Fundamentals

Course 2: Channels 1 1

WIRELESS COMMUNICATIONS PRELIMINARIES

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

Vehicle Networks. Wireless communication basics. Univ.-Prof. Dr. Thomas Strang, Dipl.-Inform. Matthias Röckl

EE4601 Communication Systems

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY CS6304- ANALOG AND DIGITAL COMMUNICATION BE-CSE/IT SEMESTER III REGULATION 2013 Faculty

Chapter-15. Communication systems -1 mark Questions

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

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

Wireless Communication Fading Modulation

Class 4 ((Communication and Computer Networks))

Cable Testing TELECOMMUNICATIONS AND NETWORKING

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

CS311: Data Communication Transmission Impairments and Channel Capacity. Assistant Professor Dept. of CSE IIT Jodhpur

Chapter 3 Data and Signals

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

Module 7 Bandwidth and Maximum Data Rate of a channel

Data and Computer Communications. Chapter 3 Data Transmission

EE 304 TELECOMMUNICATIONs ESSENTIALS HOMEWORK QUESTIONS AND ANSWERS

Adoption of this document as basis for broadband wireless access PHY

Outline / Wireless Networks and Applications Lecture 7: Physical Layer OFDM. Frequency-Selective Radio Channel. How Do We Increase Rates?

The Physical Layer Chapter 2. The Physical Layer

PRINCIPLES OF COMMUNICATION SYSTEMS. Lecture 1- Introduction Elements, Modulation, Demodulation, Frequency Spectrum

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

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

COMP211 Physical Layer

Chapter 1 Introduction

Systems for Audio and Video Broadcasting (part 2 of 2)

EEC484/584. Computer Networks

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

Data and Computer Communications Chapter 3 Data Transmission

Question Paper Profile

Ch2. Technical Challenges of W. Comm.

Transmission Impairments

Direct Link Communication II: Wireless Media. Motivation

IST 220 Exam 1 Notes Prepared by Dan Veltri

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

Chapter 2 Transmission Media and Propagation Mechanisms

Data and Computer Communications Chapter 4 Transmission Media

Data com ch#3 (part 2)

Figure 4-1. Figure 4-2 Classes of Transmission Media

MICROWAVE RADIO SYSTEMS GAIN. PENTel.Com Engr. Josephine Bagay, Ece faculty

Data Communication. Chapter 3 Data Transmission

Unguided Transmission Media

ENGR 4323/5323 Digital and Analog Communication

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

Data Communications & Computer Networks

Transcription:

CSE 561 Bits and Links David Wetherall djw@cs.washington.edu

Topic How do we send a message across a wire? The physical/link layers: 1. Different kinds of media 2. Encoding bits 3. Model of a link Application Presentation Session Transport Network Data Link Physical djw // CSE 561, Spring 2010 L2.2

The Shannon Limit it (1948) Define Signal to Noise Ratio (SNR): SNR = 10log 10 (signal / noise) decibels (db) eg e.g, 30 db means signal 1000 times noise For a noisy channel with bandwidth B (Hz) and given SNR, the maximum rate at which it is possible to send information, the channel capacity, is: C=Blog(1 2 + SNR) (bits/sec) e.g 3KHz and 30dB SNR 30Kbps djw // CSE 561, Spring 2010 L2.3

Nyquist Limit it (~1924) For a noiseless channel with bandwidth B Symbols will be distorted, and sending too fast leads to Inter-symbol Interference (ISI) 1 0 eye The maximum rate at which h it is possible to send: R = 2B symbols/sec e.g., 3KHz 6Ksym/sec djw // CSE 561, Spring 2010 L2.4

Taking Noise into Account Noise limits how many signal levels we can safely distinguish between 0 S = max signal amp., N = max noise amp. The number of bits per symbol depends on the number of signal levels E.g, 4 levels l implies 2bit bits / symbol 3 1 N S 2 djw // CSE 561, Spring 2010 L2.5

1. Different kinds of media Wire Twisted pair, e.g., CAT5 UTP, 10 100Mbps, 100m Coaxial cable, e.g, thin-net, 10 100Mbps, 200m Fiber Multi-mode, 100Mbps, 2km Single mode, 100 2400 Mbps, 40km Wireless Infra-red, e.g., IRDA, ~1Mbps RF, e.g., 802.11 wireless LANs, Bluetooth (2.4GHz) Microwave, satellite, cell phones, djw // CSE 561, Spring 2010 L2.6

Wires Twisted pairs: twists reduce RF emission / crosstalk; also shielding can be added Coaxial cable: inner and outer ring conductor for superior noise immunity Many different specs/grades depending di on application i Now Cat 6, Cat 7 for GigE, four pairs 100s of MHz for 100s of meters

Wires Frequencies beyond a cutoff highly attenuated Signal also subject to: Attenuation (frequency dependent) Distortion (frequency and delay) Noise (thermal, crosstalk, impulse) response ideal actual B freq djw // CSE 561, Spring 2010 L2.8

Fiber Optic Cable Long, thin, pure strand of glass light propagated with total internal reflection enormous bandwidth available (terabits) Multi-Mode Light source (LED, laser) Light detector (photodiode) Single-Mode Light source (LED, laser) Light detector (photodiode)

Attenuation ti of optic fiber Enormous bandwidth in each window

Wireless Different frequencies have different properties Signals subject to atmospheric/environmental effects AM FM Twisted Microwave Coax Pair Fiber TV Satellite 10 4 10 6 10 8 10 10 10 12 10 14 Freq (Hz) Radio Microwave IR Light UV djw // CSE 561, Spring 2010 L2.11

Wireless propagation Not as simple as wired Signal spreads out as it propagates: path loss > d^2 Signal obstructed: t shadowing, e.g., buildings Reflected signals combine: freq. dependent multipath OFDM: use channel as many parallel narrowband channels Multiple paths Non-faded signal Wireless transmitter Reflector Wireless receiver Faded signal djw // CSE 561, Spring 2010 L2.12

2. Encoding Bits with Signals Generate analog waveform (e.g., voltage) from digital data at transmitter and sample to recover at receiver 1 0 We send/recover symbols that are mapped to bits Signal transition rate = baud rate, versus bit rate This is baseband transmission take a signals course! djw // CSE 561, Spring 2010 L2.13

Modulation For wireless, fiber, need to encode signal by modulating carrier wave can t propagate at baseband Modulate: can change Amplitude Phase/frequency BPSK, QPSK QAM Express as constellation QAM 16 constellation in HSPDA

BER versus SNR djw // CSE 561, Spring 2010 L2.15

3. Model of a Link Message Mbit bits Rate R Mbps Delay D seconds Abstract model is typically all we will need What goes in comes out altered by the model Other parameters that are important: The kind and frequency of errors Whether the media is broadcast or not djw // CSE 561, Spring 2010 L2.16

Wireless link Broadcast channel interference effects Capacity changes as endpoints move (and SNR changes) Error rate changes with conditions Which links are up changes too! Wired is about engineering the right link properties Wireless is all about adapting to the channel properties p djw // CSE 561, Spring 2010 L2.17

EXOR Setting is multihop wireless (broadcast) routing 0.8 source 0.2 0.7 0.9 0.6 dest djw // CSE 561, Spring 2010 L2.18

EXOR questions What is the key idea? What is assumed about links? How do we model this as a layered protocol stack? djw // CSE 561, Spring 2010 L2.19

EXOR Key idea is lazy choice of path broadcast tried many links at once, you pick the one that worked best for that packet. Relies on independent loss over links, and partially working links Does not easily decompose into protocol layers integrated MAC/routing/transport. / djw // CSE 561, Spring 2010 L2.20

E2E exercise Goal: reliably transport messages across network Q: in what layer should we check for errors? Transport Network Link TCP IP Ethernet djw // CSE 561, Spring 2010 L2.21

E2E exercise E2E argument pushes functionality to the ends: the transport layer But lower layers help with performance, so add reliability to links too. Link And there are limits to the ends too, e.g., don t check the write to disk Plus reuse pushes down Transport Network TCP IP Ethernet djw // CSE 561, Spring 2010 L2.22