Physical Layer. Networked Systems Architecture 3 Lecture 6

Similar documents
Physical Layer. Networked Systems 3 Lecture 5

Physical Layer. Networked Systems (H) Lecture 3

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

Lecture 2: Links and Signaling"

CSE 461 Bits and Links. David Wetherall

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

CSEP 561 Bits and Links. David Wetherall

Lecture 5 Transmission

C06a: Digital Modulation

Computer Networks

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

Signal Encoding Techniques

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

Point-to-Point Communications

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

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

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

CSE 461: Bits and Bandwidth. Next Topic

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

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

Class 4 ((Communication and Computer Networks))

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

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

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

Encoding and Framing

CSCI-1680 Physical Layer Rodrigo Fonseca

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

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Chapter 2: Computer Networks

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

The Physical Layer Outline

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

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

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

Lecture-8 Transmission of 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

Chapter 2. Physical Layer

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

DATA TRANSMISSION. ermtiong. ermtiong

COMP211 Physical Layer

Lectureo5 FIBRE OPTICS. Unit-03

UNIT-1. Basic signal processing operations in digital communication

SEN366 Computer Networks

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

Lecture 3 Concepts for the Data Communications and Computer Interconnection

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

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

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

Transmission Medium/ Media

Data and Computer Communications Chapter 4 Transmission Media

Lecture 21: Links and Signaling

Chapter-1: Introduction

ITL Basics of Encoding and Wiring

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

Class 4 ((Communication and Computer Networks))

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

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

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

CPSC Network Programming. How do computers really communicate?

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

Introduction to LAN/WAN. Physical Layer

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

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

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

ETSF15 Physical layer communication. Stefan Höst

Chapter 4 Digital Transmission 4.1

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

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

Chapter 2: Fundamentals of Data and Signals

COSC 3213: Computer Networks I: Chapter 3 Handout #4. Instructor: Dr. Marvin Mandelbaum Department of Computer Science York University Section A

Fundamentals of Data and Signals

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

CS441 Mobile & Wireless Computing Communication Basics

Module 2. Studoob.in - Where Learning is Entertainment

Objectives of transmission lines

Department Of Computer Science ASSAM UNIVERSITY, SILCHAR

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

Lecture 3: Transmission Media

Transmission Media. Fiber opics Cable

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

CSE 561 Bits and Links. David Wetherall

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

IST 220 Exam 1 Notes Prepared by Dan Veltri

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

RECOMMENDATION ITU-R BT.1302 *

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

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

Data Communications and Networking (Module 2)

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

Signal Characteristics

Transmission Media. Transmission Media 12/14/2016

Sirindhorn International Institute of Technology Thammasat University

ECE 435 Network Engineering Lecture 16

Cable Testing TELECOMMUNICATIONS AND NETWORKING

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

1 V NAME. Clock Pulse. Unipolar NRZ NRZ AMI NRZ HDB3

Data Communications. Unguided Media Multiplexing

Datacommunication I. Layers of the OSI-model. Lecture 3. signal encoding, error detection/correction

Transcription:

Physical Layer Networked Systems Architecture 3 Lecture 6

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

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

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

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

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

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 Source: Tanenbaum, Copyright 1996, Prentice-Hall

Optical Fibre Source: Tanenbaum, Copyright 1996, Prentice-Hall 0.85μ laser easy to build in GaAs semiconductor 1.30μ and 1.55μ lasers give higher performance Colour of transmission laser determines attenuation in the fibre affects maximum possible fibre length

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

Wired Data Transmission Signal directly encoded onto the channel Vary the voltage in an electrical cable, intensity of the light in an optical fibre Analogue signals directly coded Multiple digital coding schemes: NRZ, NRZI, Manchester, 4B/5B, etc. Different complexity, resilience to noise Signal occupies baseband region: from 0Hz to HHz H is the bandwidth of the signal Signal strength Primarily for guided data transmission Electrical cable or optical fibre Not suitable for wireless since all share a single baseband channel Use of modulated carrier waves allows several transmissions to coexist Baseband 0 H Frequency

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

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 can disrupt the discrimination function.

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

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

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 bits 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

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

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 ultrawideband, for now...

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

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 0 H Modulated C- H /2 C+ H /2 Modulated Frequency

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

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

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

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

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

Questions?