Computer Communication Networks Physical

Similar documents
C05a: Transmission Media

The Physical Layer Outline

The Physical Layer Chapter 2. The Physical Layer

Lecture 3: Transmission Media

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 3

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

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

The Physical Layer Chapter 2

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

Chapter 2. Physical Layer

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

CSE 461 Bits and Links. David Wetherall

Jaringan Komputer. Outline. The Physical Layer

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

Point-to-Point Communications

CSEP 561 Bits and Links. David Wetherall

Contents. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications. Transmission Media and Spectrum.

ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications

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

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

Introduction to LAN/WAN. Physical Layer

DATA TRANSMISSION. ermtiong. ermtiong

COMP211 Physical Layer

CSE 561 Bits and Links. David Wetherall

EEC484/584. Computer Networks

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Lecture 5 Transmission

C06a: Digital Modulation

CS441 Mobile & Wireless Computing Communication Basics

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Transmission Media. Beulah A L/CSE. 2 July 2008 Transmission Media Beulah A. 1

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

Wireless Communications

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

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

Local Networks. Lecture 2 23-Mar-2016

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

Unguided Media and Matched Filter After this lecture, you will be able to Example?

Physical Layer. Networked Systems (H) Lecture 3

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

CPSC Network Programming. How do computers really communicate?

Physical connec-vity CSCI 466: Networks Keith Vertanen Fal 2011

Section 1 Wireless Transmission

Computer Networks

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

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

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

Physical Layer. Networked Systems 3 Lecture 5

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Nguyễn Đức Thái

Data and Computer Communications Chapter 4 Transmission Media

Outline. EEC-682/782 Computer Networks I. The OSI Reference Model. Review of Lecture 2

Lecture 2: Links and Signaling"

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

EC 554 Data Communications

Bluetooth BlueTooth - Allows users to make wireless connections between various communication devices such as mobile phones, desktop and notebook comp

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

ECE 435 Network Engineering Lecture 21

UNIT- 7. Frequencies above 30Mhz tend to travel in straight lines they are limited in their propagation by the curvature of the earth.

Physical Layer. Networked Systems Architecture 3 Lecture 6

Data and Computer Communications Chapter 3 Data Transmission

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

Chapter 7. Multiple Division Techniques

Mobile & Wireless Networking. Lecture 2: Wireless Transmission (2/2)

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

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

Chapter 2: Wireless Transmission. Mobile Communications. Spread spectrum. Multiplexing. Modulation. Frequencies. Antenna. Signals

OFDMA and MIMO Notes

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Unguided Transmission Media

CSE 461: Bits and Bandwidth. Next Topic

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

Chapter 4: Transmission Media

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

Chapter-1: Introduction

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

Wireless Networked Systems. Lec #1b: PHY Basics

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

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

UNIT-1. Basic signal processing operations in digital communication

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Chapter 1 Introduction

Transmission Medium/ Media

Multiplexing Module W.tra.2

Module 3: Physical Layer

ECE 435 Network Engineering Lecture 16

Wireless Intro : Computer Networking. Wireless Challenges. Overview

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

Physical Layer: Outline

Input electric signal. Transmitter. Noise and signals from other sources. Receiver. Output electric. signal. Electrical Communication System

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

Week 2. Topics in Wireless Systems EE584-F 03 9/9/2003. Copyright 2003 Stevens Institute of Technology - All rights reserved

Physical Layer. Networks: Physical Layer 1

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

Page 1. Outline : Wireless Networks Lecture 6: Final Physical Layer. Direct Sequence Spread Spectrum (DSSS) Spread Spectrum

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

IST 220 Exam 1 Notes Prepared by Dan Veltri

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

Stream Information. A real-time voice signal must be digitized & transmitted as it is produced Analog signal level varies continuously in time

Structure of the Lecture

Transcription:

Computer Communication Networks Physical ICEN/ICSI 416 Fall 2017 Prof. Dola Saha 1

The Physical Layer Ø Foundation on which other layers build Properties of wires, fiber, wireless limit what the network can do Ø Key problem is to send (digital) bits using only (analog) signals This is called modulation Application Transport Network Link Physical 2

Theoretical Basis for Data Communication Ø Communication rates have fundamental limits Fourier analysis» Bandwidth-limited signals» Maximum data rate of a channel» 3

Fourier Analysis Ø A time-varying signal can be equivalently represented as a series of frequency components (harmonics): Fundamental Frequency f=1/t = Signal over time a, b weights of harmonics 4

Bandwidth-Limited Signals Ø Having less bandwidth (harmonics) degrades the signal 8 harmonics Bandwidth Lost! 4 harmonics Lost! 2 harmonics Lost! 5

Maximum Data Rate of a Channel Ø Ø Ø Nyquist s theorem (1924) relates the data rate to the bandwidth (B) and number of signal levels (V): Max. data rate = 2B log 2 V bits/sec Shannon's theorem (1948) relates the data rate to the bandwidth (B) and signal strength (S) relative to the noise (N): Max. data rate = B log 2 (1 + S/N) bits/sec Signal to Noise Ratio: SNR = 10 log 10 (S/N) db db = decibels è deci = 10; bel chosen after Alexander Graham Bell 6

Guided Transmission (Wires & Fiber) Ø Media have different properties, hence performance Reality check o Storage media» Wires: o Twisted pairs» o Coaxial cable» o Power lines» Fiber cables» 7

Reality Check: Storage media Ø Send data on tape / disk / DVD for a high bandwidth link Mail one box with 1000 800GB tapes (6400 Tbit) Takes one day to send (86,400 secs) Data rate is 70 Gbps. Ø Data rate is faster than long-distance networks! Ø But, the message delay is very poor. 8

Wires Twisted Pair Ø Very common; used in LANs, telephone lines Twists reduce radiated signal (interference & crosstalk) Cat 3 initial used Cat 5 o similar to Cat 3 with more twists o 100Mbps & 1-Gbps Ethernet Cat 6 o Unshielded Twisted Pair (UTP), Wires & insulators o 10-Gbps Cat 7 o Shielding along individual TP o 40-Gbps @ 50meters Category 5 UTP cable with four twisted pairs 9

Link Terminology Ø Full-duplex link Used for transmission in both directions at once e.g., use different twisted pairs for each direction Ø Half-duplex link Both directions, but not at the same time e.g., senders take turns on a wireless channel Ø Simplex link Only one fixed direction at all times; not common 10

Wires Coaxial Cable ( Co-ax ) Ø Also common. Better shielding and more bandwidth for longer distances and higher rates than twisted pair. 11

Wires Power Lines Ø Power Line Communication Ø Household electrical wiring is another example of wires Convenient to use, but horrible for sending data 12

Fiber Cables (1) Ø Common for high rates and long distances Long distance ISP links, Fiber-to-the-Home Light carried in very long, thin strand of glass Air Silica Light source (LED, laser) Light trapped by total internal reflection Photodetector 13

Fiber Cables (2) Ø Fiber has enormous bandwidth (THz) and tiny signal loss hence high rates over long distances Visible Light 0.4-0.7 microns Commonly used bands 0.85, 1.30, 1.55 microns 14

Fiber Cables (3) Ø Single-mode Core so narrow (10um) light can t even bounce around Used with lasers for long distances, e.g., 100km Ø Multi-mode Other main type of fiber Light can bounce (50um core) Used with LEDs for cheaper, shorter distance links Fibers in a cable 15

Fiber Cables (4) Property Wires Fiber Comparison of the properties of wires and fiber: Distance Short (100s of m) Long (tens of km) Bandwidth Moderate Very High Cost Inexpensive Less cheap Convenience Easy to use Less easy Security Easy to tap Hard to tap 16

Wireless Transmission Electromagnetic Spectrum» Radio Transmission» Microwave Transmission» Light Transmission» Wireless vs. Wires/Fiber» 17

Electromagnetic Spectrum Ø f = c/λ Ø f = Frequency = number of oscillations/sec of a wave, measured in Hz Ø λ = Wavelength = distance between two maxima (or minima) Ø c = constant = speed of light Ø Example: 100 MHz waves are 3 meters long 18

Electromagnetic Spectrum (1) Ø Different bands have different uses: o o Radio: wide-area broadcast; Infrared/Light: line-of-sight Microwave: LANs and 3G/4G/5G; Networking focus Microwave 19

Electromagnetic Spectrum (2) Ø To manage interference, spectrum is carefully divided, and its use regulated and licensed, e.g., sold at auction. 300 MHz 3 GHz WiFi (ISM bands) 3 GHz Source: NTIA Office of Spectrum Management, 2003 30 GHz Part of the US frequency allocations 20

Electromagnetic Spectrum (3) Ø Fortunately, there are also unlicensed ( ISM ) bands: o o o ISM: Industrial Scientific and Medical Radio band Free for use at low power; devices manage interference Widely used for networking; WiFi, Bluetooth, Zigbee, etc. 802.11 b/g/n 802.11a/g/n 21

Radio Transmission Ø Radio signals penetrate buildings well and propagate for long distances with path loss In the VLF, LF, and MF bands, radio waves follow the curvature of the earth In the HF band, radio waves bounce off the ionosphere. 22

Microwave Transmission Ø Microwaves have much bandwidth and are widely used indoors (WiFi) and outdoors (3G, satellites) Signal is attenuated/reflected by everyday objects Strength varies with mobility due multipath fading, etc. 23

Light Transmission Ø Line-of-sight light (no fiber) can be used for links Light is highly directional, has much bandwidth Use of LEDs/cameras and lasers/photodetectors 24

Wireless vs. Wires/Fiber Ø Wireless: + Easy and inexpensive to deploy + Naturally supports mobility + Naturally supports broadcast o Transmissions interfere and must be managed o Signal strengths hence data rates vary greatly Ø Wires/Fiber: + Easy to engineer a fixed data rate over point-to-point links o o Can be expensive to deploy, esp. over distances Doesn t readily support mobility or broadcast 25

Communication Satellites Ø Satellites are effective for broadcast distribution and anywhere/anytime communications Kinds of Satellites» Geostationary (GEO) Satellites» Low-Earth Orbit (LEO) Satellites» Satellites vs. Fiber» 26

Kinds of Satellites Ø Satellites and their properties vary by altitude: Geostationary (GEO), Medium-Earth Orbit (MEO), and Low-Earth Orbit (LEO) Sats needed for global coverage 27

Geostationary Satellites Ø GEO satellites orbit 35,000 km above a fixed location o VSAT (computers) can communicate with the help of a hub. o Different bands (L, S, C, Ku, Ka) in the GHz are in use but may be crowded or susceptible to rain. GEO satellite VSAT 28

Low-Earth Orbit Satellites Ø Systems such as Iridium (voice and data coverage to satellite phones) use many low-latency satellites for coverage and route communications via them The Iridium satellites form six necklaces around the earth. 29

Satellite vs. Fiber Ø Satellite: + Can rapidly set up anywhere/anytime communications (after satellites have been launched) + Can broadcast to large regions o Limited bandwidth and interference to manage Ø Fiber: + Enormous bandwidth over long distances o Installation can be more expensive/difficult 30

Digital Modulation and Multiplexing Ø Modulation schemes send bits as signals; multiplexing schemes share a channel among users. Baseband Transmission» Passband Transmission» Frequency Division Multiplexing» Time Division Multiplexing» Code Division Multiple Access» 31

Baseband Transmission Ø Line codes send symbols that represent one or more bits NRZ is the simplest, literal line code (+1V= 1, V= 0 ) Other codes tradeoff bandwidth and signal transitions Four different line codes 32

Clock Recovery Ø To decode the symbols, signals need sufficient transitions Otherwise long runs of 0s (or 1s) are confusing, e.g.: Ø Strategies: 1 0 0 0 0 0 0 0 0 0 0 um, 0? er, 0? Manchester coding, mixes clock signal in every symbol 4B/5B maps 4 data bits to 5 coded bits with 1s and 0s: Data Code Data Code Data Code Data Code 0000 11110 0100 01010 1000 10010 1100 11010 0001 01001 0101 01011 1001 10011 1101 11011 0010 10100 0110 01110 1010 10110 1110 11100 0011 10101 0111 01111 1011 10111 1111 11101 Scrambler XORs tx/rx data with pseudorandom bits 33

Modulation Ø Modulating the amplitude, frequency/phase of a carrier signal sends bits in a (non-zero) frequency range NRZ signal of bits Amplitude shift keying Frequency shift keying Phase shift keying 34

Signal Ø Signal modulation changes a sine wave to encode information. The equation representing a sine wave is shown: Ø Instantaneous state of a sine wave with a vector in the complex plane using amplitude (magnitude) and phase coordinates in a polar coordinate system. 35

Modulation Ø Constellation diagrams are a shorthand to capture the amplitude and phase modulations of symbols: BPSK 2 symbols 1 bit/symbol QPSK 4 symbols 2 bits/symbol QAM6 16 symbols 4 bits/symbol QAM-64 64 symbols 6 bits/symbol BPSK/QPSK varies only phase QAM varies amplitude and phase 36

Channel Effects Ø Transmitted and Received QPSK Signal Channel Transmitted Received 37

Error Vector Magnitude (EVM) Q ˆQ 0 Q 0 M 0 EVM ˆM0 0,0 Ideal Point 0 ˆ 0 I 0 Î 0 Measured Point {I 0,Q 0,M 0, 0} = Ideal I, Q, Magnitude, Phase {Î0, ˆQ 0, ˆM0, r ˆ0} = Measured I, Q, Magnitude, Phase 2 2 EV M = I 0 Î 0 + Q 0 ˆQ0 I I Disp = Dispersion in I = I 0 Î 0 Q Disp = Dispersion in Q = Q 0 ˆQ0 M Disp = Dispersion in Magnitude = M 0 ˆM0 38

Demodulating the signal Ø Use threshold to decide BPSK QPSK 16 QAM 39

Gray Coding Ø Gray-coding assigns bits to symbols so that small symbol errors cause few bit errors: B E A C D 40

Frequency Division Multiplexing (1) Ø FDM (Frequency Division Multiplexing) shares the channel by placing users on different frequencies: Overall FDM channel 41

Frequency Division Multiplexing (2) Ø OFDM (Orthogonal FDM) is an efficient FDM technique used for 802.11, 4G cellular (LTE) and other communications Subcarriers are coordinated to be tightly packed 42

Time Division Multiplexing (TDM) Ø Time division multiplexing shares a channel over time: Users take turns on a fixed schedule; this is not packet switching or STDM (Statistical TDM) Widely used in telephone / cellular systems 43

Code Division Multiple Access (CDMA) Ø unique code assigned to each user; i.e., code set partitioning all users share same frequency, but each user has own chipping sequence (i.e., code) to encode data allows multiple users to coexist and transmit simultaneously with minimal interference (if codes are orthogonal ) Ø encoded signal = (original data) X (chipping sequence) Ø decoding: inner-product of encoded signal and chipping sequence 44

CDMA encode/decode channel output Z i,m sender data bits code d 1 = 1 1 1 1 d 0 = 1 1 1 1 1 slot 1 slot 0 Z i,m = d i.c m 1 slot 1 channel output 1 1 1 1 1 1 1 slot 0 channel output M D i = Sum (Z i,m.c m ) received input receiver code 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 slot 1 slot 0 m=1 M d 1 = slot 1 channel output d 0 = 1 slot 0 channel output 45

CDMA: two-sender interference Sender 1 channel sums together transmissions by sender 1 and 2 Sender 2 using same code as sender 1, receiver recovers sender 1 s original data from summed channel data! 46

Code Division Multiple Access (CDMA) Ø CDMA shares the channel by giving users a code Codes are orthogonal; can be sent at the same time Widely used as part of 3G networks Gold code (GPS Signals), Walsh-Hadamard code, Zadoff-chu sequence Data D A = 1 Sender Codes +1 A = +1 Transmitted Signal S = D A x A + D B x B S x A Receiver Decoding +2 +2 0 0 Sum = 4 A sent 1 D B = B = +1 +1-2 +2 0 0 S x B 0 0-2 -2 Sum = -4 B sent 0 D C = none C = +1 +1 S = +A -B S x C +2 0 0 Sum = 0 C didn t send -2 47