Physical Layer. Networked Systems 3 Lecture 5

Similar documents
Physical Layer. Networked Systems Architecture 3 Lecture 6

Physical Layer. Networked Systems (H) Lecture 3

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

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

Lecture 5 Transmission

Lecture 2: Links and Signaling"

CSE 461 Bits and Links. David Wetherall

Computer Networks

CSEP 561 Bits and Links. David Wetherall

C06a: Digital Modulation

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

Class 4 ((Communication and Computer Networks))

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

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

Lecture 23: Media Access Control. CSE 123: Computer Networks Alex C. Snoeren

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

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Stefan Savage

In this section of my blog, I will be discussing different transmission methods and why those particular methods are used in particular situations:

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

Chapter 2: Computer Networks

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

Point-to-Point Communications

Signal Encoding Techniques

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

CSE 461: Bits and Bandwidth. Next Topic

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

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

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

The Physical Layer Outline

Encoding and Framing

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Alex C. Snoeren

CS263: Wireless Communications and Sensor Networks

Lecture (06) Digital Coding techniques (II) Coverting Digital data to Digital Signals

Chapter 2. Physical Layer

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

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

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

DATA TRANSMISSION. ermtiong. ermtiong

CSCI-1680 Physical Layer Rodrigo Fonseca

Data and Computer Communications Chapter 4 Transmission Media

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

Lecture-8 Transmission of Signals

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

Lectureo5 FIBRE OPTICS. Unit-03

Transmission Medium/ Media

Module 2. Studoob.in - Where Learning is Entertainment

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

Department Of Computer Science ASSAM UNIVERSITY, SILCHAR

COMP211 Physical Layer

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

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Chapter 12: Transmission Lines. EET-223: RF Communication Circuits Walter Lara

is a method of transmitting information from one place to another by sending light through an optical fiber. The light forms an electromagnetic

2. The Basic principle of optical fibre (Or) Working principle of optical fibre (or) Total internal reflection

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media.

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

Data Communications. Unguided Media Multiplexing

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

Lecture 3: Transmission Media

Introduction to LAN/WAN. Physical Layer

UNIT-1. Basic signal processing operations in digital communication

Lecture 21: Links and Signaling

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

SEN366 Computer Networks

CPSC Network Programming. How do computers really communicate?

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

CS441 Mobile & Wireless Computing Communication Basics

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

Lecture Outline. Data and Signals. Analogue Data on Analogue Signals. OSI Protocol Model

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

Chapter 4 Digital Transmission 4.1

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

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

ETSF15 Physical layer communication. Stefan Höst

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

Transmission Media. Fiber opics Cable

RECOMMENDATION ITU-R BT.1302 *

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

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

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

Chapter-1: Introduction

ECE 435 Network Engineering Lecture 16

Fundamentals of Data and Signals

Objectives of transmission lines

and coding (a.k.a. communication theory) Signals and functions Elementary operation of communication: send signal on

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

Class 4 ((Communication and Computer Networks))

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Fiber Optic Communications Communication Systems

Module 3: Physical Layer

Why Using Fiber for transmission

Digital Transmission

IST 220 Exam 1 Notes Prepared by Dan Veltri

B.E SEMESTER: 4 INFORMATION TECHNOLOGY

ECE 435 Network Engineering Lecture 20

RECOMMENDATION ITU-R BT *

Chapter 2: Fundamentals of Data and Signals

Data Communications and Networking (Module 2)

Transcription:

Physical Layer Networked Systems 3 Lecture 5

Lecture Outline Physical layer concepts Wired links Unshielded twisted pair, coaxial cable, optical fibre Encoding data onto a wire Wireless links Carrier modulation 802.11 PHY 2

The Physical Layer The physical layer is concerned with transmission of raw data bits What type of cable or wireless link do you use? How to encode bits onto that channel? Baseband encoding Carrier modulation 3

Wired Links Physical characteristics of cable or optical fibre: Size and shape of the plugs Maximum cable/fibre length Type of cable: electrical voltage, current, modulation Type of fibre: single- or multi-mode, optical clarity, colour, power output, and modulation of the laser 4

Unshielded Twisted Pair Electrical cable with two wires twisted together in a spiral Unidirectional data: signal and ground Twists reduce interference and noise pickup: more twists less noise Cable lengths of several miles possible at low data rates; 100 metres at high rates Noise increases with cable length Extremely widely deployed 5

Coaxial Cable Wire core surrounded by a layer of insulation, and a braided outer conductor Wire core is the signal path; outer conductor provides shielding Better noise shielding than twisted pair Longer distance at higher rates: Gbps over several miles But much more expensive cables Source: Wikipedia A: Protective outer coating B: Braided outer conductor C: Insulating material D: Inner conductor 6

Optical Fibre Glass core and cladding, plastic jacket for protection It s made of glass: fragile don t try to bend the fibre! Unidirectional data: transmission laser at one end; photodetector at the other Laser light trapped in fibre by total internal reflection Cheap to manufacture; very low noise: 10s of Gbps over 100s of miles Core (glass) Cladding (glass) Jacket (plastic) Source: Tanenbaum, Copyright 1996, Prentice-Hall 7

Optical Fibre 2.0 0.85µ Band 1.30µ Band 1.55µ Band 1.8 Attenuation (db/km) 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0 0.8 0.9 0.85µ laser easy to build in GaAs semiconductor 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Wavelength (microns) 1.30µ and 1.55µ lasers give higher performance Source: Tanenbaum, Copyright 1996, Prentice-Hall Colour of transmission laser determines attenuation in the fibre affects maximum possible fibre length 8

Comparison Twisted Pair Coaxial Cable Optical Fibre Cheap Expensive Cheap Robust Robust Fragile Good local area performance Good local area, okay wide area Good wide area performance 9

Wired Data Transmission Signal directly encoded onto the channel Vary voltage in an electrical cable, intensity of light in an optical fibre Analogue signals directly coded Multiple digital coding schemes: NRZ, NRZI, Manchester, 4B/5B, etc. Different complexity, resilience to noise 10

Signal strength Baseband Wired Data Transmission Signal directly encoded onto the channel Signal occupies baseband region H is the bandwidth of the signal 0 H Frequency Not suitable for wireless since all share a single baseband channel (use of modulated carrier waves allows several signals to coexist) 11

Non-Return to Zero Encoding Encode a 1 as a high signal, a 0 as a low signal Voltage 5 4 3 2 1 0-2V codes 0 0 Time 3-5V codes 1 12

Non-Return to Zero Encoding Encode a 1 as a high signal, a 0 as a low signal Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 NRZ: Limitations with runs of consecutive same bit: Baseline wander Clock recovery Average signal level provides boundary between 1 and 0. Runs of consecutive same bit cause the average to drift, and confuse the receiver 13

NRZ Inverted Encoding Encode a 1 as a change in signal value, a 0 as a constant signal Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 NRZI: Solves problems with runs of consecutive 1s, does nothing for runs of consecutive 0s 14

Manchester Encoding Encode a 1 as a high-low signal transition, a 0 as a low-high signal transition Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 Manchester: Doubles the bandwidth needed, but avoids the problems with NRZ encoding 15

4B/5B Encoding 4-Bit Data Symbol 5-Bit Encoding 0000 11110 0001 01001 0010 10100 0011 10101 0100 01010 0101 01011 0110 01110 0111 01111 1000 10010 1001 10011 1010 10110 1011 10111 1100 11010 1101 11011 1110 11100 1111 11101 Manchester encoding inefficient only 50% of link capacity used Alternative insert extra bits to break up sequences of same bit Each 4 bit data symbol is changed to a 5 bit code for transmission; reversed at receiver Transmit 5 bit codes using NRZI encoding 80% of link capacity used for data 16

Example: Ethernet Receive Transmit 4 twisted pairs per cable 3 twists per inch 24 gauge (~0.5mm) copper 100m maximum cable length Baseband data with Manchester coding at 10 Mbps; 4B/5B coding at 100 Mbps 17

Wireless Links Wireless links use carrier modulation, rather than baseband transmission * Performance affected by: Carrier frequency Transmission power Modulation scheme Type of antenna, etc. * Ignoring ultra-wideband, for now... 18

Electromagnetic Spectrum The carrier frequency affects the data rate, and the propagation of the signal Antenna size frequency Source: http://xkcd.com/273/ 19

Carrier Modulation A carrier wave is applied to the channel at some fixed frequency, C The signal is modulated onto the carrier Shifts signal from baseband to carrier frequency Allows multiple signals on a single channel Provided carriers spaced greater than bandwidth, H, of the signal (This is how ADSL and speech data share a single phone line) Signal strength Baseband Modulated Modulated 0 H C- H /2 C+ H /2 Frequency 20

Amplitude Modulation Encode signal by varying the amplitude of the carrier wave Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 Raw signal: AM: Simple, but poor resistance to noise 21

Frequency Modulation Encode signal by varying the frequency of the carrier wave Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 Raw signal: FM: More complex, but more resistant to noise 22

Phase Modulation Encode signal by varying the phase of the carrier wave Bits: 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 Raw signal: PM: Measure phase shift in degrees: how far ahead in the sine wave the signal jumps 23

Complex Modulations More complex modulation schemes allow more than one bit to be sent per baud Use multiple levels of the modulated component E.g. vary amplitude across four different levels, to transmit 2 bits per baud Combine modulation schemes E.g. vary both phase and amplitude E.g. 9600 bps modems use 12 phase shift values at two different amplitudes Extremely complex combinations regularly used 24

Spread Spectrum Communication Single frequency communications prone to interference Can be avoiding by repeatedly changing carrier frequency E.g., use a pseudo-random sequence to choose which of a group of carrier frequencies to use for each time slot; make the seed a shared secret between sender and receiver Originally invented by Nikola Tesla; independently re-invented by Hedy Lamarr and George Antheil. Nikola Tesla Hedy Lamarr George Antheil 25

Example: 802.11 PHY Spread spectrum modulated carrier Carrier frequency continually changes according to a pseudo-random sequence (to avoid interference) Several frequencies centred around 2.4 GHz Uses a complex mixture of amplitude and phase modulation ( CCK modulation ) Range varies with obstacles: ~100m 26

Questions? 27