Chapter 2 Th Ph ca Layer

Similar documents
Chapter 2. The Physical Layer

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

Jaringan Komputer. Outline. The Physical Layer

Introduction to LAN/WAN. Physical Layer

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

The Physical Layer Outline

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

Chapter 2. Physical Layer

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

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

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

The Physical Layer Chapter 2. The Physical Layer

COMP211 Physical Layer

EEC484/584. Computer Networks

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

Chapter 2. The Physical Layer. The Theoretical Basis for Data Communication

Point-to-Point Communications

Computer Networks

Lecture 5 Transmission

CS441 Mobile & Wireless Computing Communication Basics

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

DATA TRANSMISSION. ermtiong. ermtiong

Wireless Communications

C05a: Transmission Media

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

Data and Computer Communications Chapter 4 Transmission Media

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

Computer Communication Networks Physical

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

Section 1 Wireless Transmission

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Chapter 4: Transmission Media

Lecture 3: Transmission Media

ECE 435 Network Engineering Lecture 16

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

Class 4 ((Communication and Computer Networks))

Chapter 1 Introduction

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

Module 2. Studoob.in - Where Learning is Entertainment

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

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

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

CPSC Network Programming. How do computers really communicate?

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

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

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

ECE 435 Network Engineering Lecture 20

Data and Computer Communications. Tenth Edition by William Stallings

Transmission Media. Transmission Media 12/14/2016

Data and Computer Communications. Tenth Edition by William Stallings

Transmission Medium/ Media

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

Optical Fiber Communications p. 1 Introduction p. 1 History of Optical Fibers p. 1 Optical Fibers Versus Metallic Cable Facilities p.

CS420/520 Axel Krings Page 1 Sequence 8

WIRELESS TRANSMISSION

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

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

The Physical Layer Chapter 2

ECE 435 Network Engineering Lecture 21

EE 304 TELECOMMUNICATIONs ESSENTIALS HOMEWORK QUESTIONS AND ANSWERS

Chapter 2: Computer Networks

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

Data and Computer Communications. Tenth Edition by William Stallings

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

Unguided Transmission Media

Making Connections Efficient: Multiplexing and Compression

Thursday, April 17, 2008, 6:28:40

Lecture 2: Links and Signaling"

ECE 271 INTRODUCTION TO TELECOMMUNICATION NETWORKS HOMEWORK QUESTIONS ECE 271 HOMEWORK-1

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

Antenna & Propagation. Basic Radio Wave Propagation

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

CSE 461 Bits and Links. David Wetherall

Chapter-15. Communication systems -1 mark Questions

Chapter 3 Digital Transmission Fundamentals

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

CSE 561 Bits and Links. David Wetherall

ITM 1010 Computer and Communication Technologies

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

Multiplexing. Chapter 8. Frequency Division Multiplexing Diagram. Frequency Division Multiplexing. Multiplexing

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Department Of Computer Science ASSAM UNIVERSITY, SILCHAR

Chapter 1 Acknowledgment:

Encoding and Framing

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

Local Networks. Lecture 2 23-Mar-2016

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

CSEP 561 Bits and Links. David Wetherall

Optical Communications and Networks - Review and Evolution (OPTI 500) Massoud Karbassian

Physical Layer: Outline

Signal Encoding Techniques

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

Chapter 1: Telecommunication Fundamentals

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

Physical Layer. Networks: Physical Layer 1

Lecture 3: Data Transmission

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

Mobile Communication Systems. Part 7- Multiplexing

Transcription:

Chapter 2 The Physical Layer 1

The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel 2

Fourier Series Decomposition Reminder: Any (reasonably behaved) periodic signal g(t), of period T, can be constructed by summing a (possibly infinite) number of sines and cosines (called a Fourier series): 1 g( t) = c + an sin(2πnft) + bn cos(2πnft) (2-1) 2 n= 1 n= 1 where f = 1/T is the fundamental frequency a n and b n are the sine and cosine amplitudes of the nth harmonics (For nonperiodic signals, refer to Fourier transforms, but the intuition is the same) 3

Fourier Transform 4

Fourier Transform (2) We refer to G(f) as the magnitude spectrum of the signal g(t), and refer to arg g{ {G(f)} as its phase spectrum. 5

Bandwidth-Limited Signals A binary signal and its root-mean-square Fourier amplitudes. (b) (c) Successive approximations to the original signal. 6

Bandwidth-Limited Signals (2) (d) (e) Successive approximations to the original signal. 7

Bandwidth-Limited Signals (3) Suppose we transmit the previous binary signal (of 8 bits) infinitely often, we have a periodic signal. Suppose the transmission is done on a telephone line (cut-off frequency = ± 3000 Hz) Data rate= D T = 8/D f = 1/T greatest int 3000 T OK Not OK Relation between data rate and harmonics. 8

Sample function of random binary wave 9

Autocorrelation function of random binary wave 10

Power spectral density of random binary wave 11

Line codes for the electrical representations of binary data. (a) Unipolar NRZ signaling. (b) Polar NRZ signaling. (c) Unipolar RZ signaling. (d) Bipolar RZ signaling. (e) Split-phase or Manchester code. 12

Coding: baud vs. bps 13

Maximum Data Rate of a Channel Nyquist s Theorem Max. data rate = 2 H log V 2 g 2 bits/sec (Noiseless Channel) where V represent No. of discrete level of signals. Shannon s Theorem Max. data rate = H log 2 (1 + S N (Noisy Channel) ) bits/sec where S/N represent signal-to-noise noise ratio. 14

Guided Transmission Data Magnetic Media Twisted Pair Coaxial Cable Fiber Optics 15

Magnetic Media magnetic tape or floppy disks cost effective 8mm tape: 7 GB box: 50*50*50cm => 1000 tapes => 7000 GB Fedex 24 hours in USA 648 Mbps > ATM (622 Mbps) cost: US $5/tape, used 10 times, => 700 for tapes 200 shipping fee => 10 cents/gb Transmission delay is long 16

Twisted wsedpair Twisted pair two insulated copper wires, 1mm thick to reduce electrical interference from similar pairs close by low cost Application telephone system: nearly all telephones several km without amplification Bandwidth thickness of the wire, and distance Typically, several Mbps for a few km 17

Twisted Pair (2) (a) Category 3 Unshielded Twisted Pair (UTP). BW.=16MHz (b) Category 5 Unshielded Twisted Pair (UTP). BW.=100MHz (c) Cat. 6 BW.=250MHz, Cat.7 BW.= 600MHz 18

Coaxial Cable A coaxial cable. 19

Baseband Coaxial Cable Coaxial cable (coax) better shielding (Fig. 2-4) longer distances at higher speeds two kinds 50-ohm cable: digital transmission 75-ohm cable: analog transmission Bandwidth 1-km cable: 1-2 Gbps Application telephones system: coaxial cable are being replaced by fiber optics widely used for cable TV 20

Broadband d Coaxial Cable Broadband cable any cable network using analog transmission i 300 MHz (1bps ~ 1 Hz of bandwidth) 100 km multiple channels: 6-MHz channels Difference between baseband and broadband broadband covers a large area analog amplifiers are needed Broadband cable inferior to baseband (single channel) for sending digital data advantage: a huge amount is installed In US, TV cable more than 80% of all homes cable TV systems will operate as MANs and offer telephone and other service 21

fiber 22

Fiber Optics Achievable bandwidth with fiber: more than 50,000 Gbps 40 Gbps/wavelength : due to inability to convert electrical -> optical signals faster 100 Gbps: in lab CPUs physical limits speed of electron heat dissipation Communication (100 times/decade) won the race with computation (10 times/decade) use network, and avoid computations at all 23

Fiber Optics (2) Optical Transmission Systems light source transmission medium: ultra-thin fiber of glass detector: light -> electrical pulse Refraction ( See Fig. 2.5) Multimode fiber many different rays are bounced at different angles Single-mode fiber fiber s diameter: a few wavelengths of light for longer distances lasers: 100 km without repeaters 24

Fiber Optics (3) ()Th (a) Three examples of a light ray from inside id a silica fiber impinging i i on the air/silica boundary at different angles. (b) Light trapped by total t internal reflection. Snell s (total internal reflection) 25

Transmission of Light through Fiber Attenuation of light through fiber in the infrared region. 26

Fiber Cables (a) Side view of a single fiber. (b) End view of a sheath with three fibers. 27

Fiber Cables (2) Long A comparison of semiconductor diodes and LEDs as light sources. 28

Comparison Between Fiber Optics and Copper Wire Fiber Optics Much higher bandwidths Low attenuation: amplifiers for every 30 km Not affected by power surges, electromagnetic interference, power failures, corrosive chemicals Telephone systems like it: thin and lightweight copper has excellent resale value fiber has much lower installation cost Quite difficult to tap: do not leak light Disadvantage an unfamiliar technology two-way communication: two fibers or two frequency bands on one fiber fiber interfaces are more expensive than electrical interfaces Copper Wire Amplifiers : ~ every 5 km 29

Fiber Optic Networks A fiber optic ring with active repeaters. 30

Fiber Optic Networks (2) A passive star connection in a fiber optics network. 31

Wireless Transmission The Electromagnetic Spectrum Radio Transmission Microwave Transmission Infrared and Millimeter Waves Lightwave Transmission i 32

Electromagnetic Spectrum λf = c, c: 3 * 10 8 m/sec copper or fiber: 2/3 speeds df c = Δf 2 dλ λ = cδ Δ λ 2 λ Can be used for transmitting information radio, microwave, infrared, and visible light (2-3) by modulating the amplitude, frequency, or phase of the waves The others Ultraviolet light, X-rays, and gamma rays they are better due to their higher frequencies disadvantages hard to produce hard to modulate do not propagate well through buildings dangerous to living things National and International agreements about who can use which frequencies. 33

Electromagnetic Spectrum (1) The electromagnetic spectrum and its uses for communication. 34

Radio waves Radio Transmission easy to generate travel long distances penetrate buildings easily omnidirectional (travel in all directions) Properties at low frequencies pass through obstacles well power falls off sharply with distance ( 1 / r^3 in air) at high frequencies tend to travel in straight lines bounce off obstacles absorbed by rain subject to interference from motors and electrical equipment 35

Radio Transmission (2) VLF, LF, and MF Bands (See Fig. 2-12a) radio waves follow the ground can be detected for 1000 km at the lower frequencies offer relatively low bandwidth HF and VHF Bands the waves reaching the ionoshpere ( 電離層 ) are refracted back to the earth Hams (amateur radio operators) use them to talk long distances 36

Radio Transmission (3) (a) In the VLF, LF, and MF bands, radio waves follow the curvature of the earth. (b) In the HF band, they bounce off the ionosphere. 37

Microwave Transmission Microwaves above 100 Mhz travel in straight lines, narrowly focused long distance telephone transmission systems (before fiber optics) MCI: Microwave Communications, Inc. repeaters needed periodically do not penetrate buildings well Multipath fading: some divergence, some refracted problem at 4 GHz: absorption by water (rain) Usage widely used by long-distance telephone, cellular telephones, TV Advantages over Fiber Optics do not need right of way: microwave tower for every 50 km (MCI) relatively inexpensive (towers and antennas) 38

Microwave cowvetransmission sso () (2) Industrial/Scientific/Medical Bands (ISM) do not require government licensing i cordless telephones, garage door openers, wireless hi-fi speakers, security gates higher bands more expensive electronics interference from microwave and radar installations 39

Politics of the Electromagnetic Spectrum The ISM bands in the United States. 40

Infrared and Millimeter Waves short range communications: remote controllers for TVs, VCRs, and stereos relatively directional, cheap, easy to build do not pass through solid objects no interference between rooms security is better than radio systems no government license is needed Indoor wireless LAN 41

Lightwave Transmission ss Unguided optical signaling to connect LANs in two buildings via lasers mounted on rooftops very high bandwidth very low cost Relatively l easy to install does not require FCC license need dto aim accurately disadvantage: laser beams cannot penetrate rain or thick fog An example interference with convection currents See Fig. 2-14 42

Lightwave Transmission (2) Convection currents can interfere with laser communication systems. A bidirectional system with two lasers is pictured here. 43

System Description(1) 1.Transmitter -Block diagram of the transmitter LD: Laser diode;pc: Polarization controller;mux:array waveguide grating; PPG: 10Gb/s Pseudo-random pattern generator;mod: Mech-Zender modulator 44

System Description(2) 2.Receiver Block diagram of the transmitter ATT:attenuator;BERT: Bit error tester;mux & DEMUX:Array waveguide grating; CLK Recovery: clock recovery 45

System Description(3) b. Specification of 6 lens Diameter:6 (~15cm) focal length:600mm 46

Experiment Set-up Tx in Lulin astronomical observatory Rx in Dong-Pu Wavelength:1537.37~1549.36nm Data rate :10G bps/ch No. of channels:16 Distance:2.16km Alignment: Using a theodolite. First coupling :with the 635nm laser beam 47

Measurement Results BER versus Received Power 48

Communication Satellites Geostationary Satellites Medium-Earth Orbit Satellites Low-Earth Orbit Satellites Satellites versus Fiber 49

Communication Satellites Communication satellites and some of their properties, including altitude above the earth, round-trip delay time and number of satellites needed for global coverage. 50

Communication Satellites (2) The principal satellite bands. 51

Communication Satellites (3) VSATs using a hub. 52

Low-Earth Orbit Satellites Iridium (a) (b) (a) () The Iridium satellites from six necklaces around the earth. (b) 1628 moving cells cover the earth. 53

Globalstar (a) Relaying in space. (b) Relaying on the ground. 54

Public Switched Telephone System Structure of the Telephone System The Politics of Telephones The Local Loop: Modems, ADSL and Wireless Trunks and Multiplexing Switching 55

Telephone System Telephone system is tightly intertwined with WAN cable between two computers transfer at memory speeds: 10 8 bps error rate: 10-12 bits (one per day) dial up line data rate: 10 4 bps error rate: 10-5 bits 11 orders of magnitude worse than cable 56

Structure of Telephone System Hierarchy of telephone system: 5 levels (See Fig. 2-22) Terms end office (local central office): area code + first 3 digits local loop: two copper wires/telephone, < 10 km toll office tandem office: within the same local area switching centers: primary, sectional, and regional exchanges See Fig. 2-21 Advantages of digital signaling (-5 & +5 volts) lower error rate: less loss for long distance with regenerators voice, data, music, and images can be interspersed much higher data rates with existing lines much cheaper (to distinguish 0 & 1 is easier) maintenance is easier: tracking problems 57

Structure of the Telephone System (2) (a) Fully-interconnected network. (b) Centralized switch. (c) Two-level hierarchy. 58

Structure of the Telephone System (3) A typical circuit route for a medium-distancedistance call. 59

Major Components of the Local lloops Telephone System Analog twisted pairs going to houses and businesses Trunks Digital fiber optics connecting the switching offices Switching offices Where calls are moved from one trunk to another 60

The Politics of Telephones (point of presence) The relationship of Local Access and Transport Areas (LATAs), Local Exchange Carriers (LECs), and IntereXchange Carriers (IXCs). All the circles are LEC switching offices. Each hexagon belongs to the IXC whose number is on it. 61

The Local Loop: Modems, ADSL, and Wireless The use of both analog and digital transmissions for a computer to computer call. Conversion is done by the modems and codecs. 62

Modems Two problems with DC (baseband b signaling) attenuation: the amount of energy lost depends on the frequency delay distortion: different Fourier components travel at different speeds Modem Stream of bits <--> a modulated carrier AC signaling Sine wave carrier: a continuous tone in the 1000- to 2000-Hz Amplitude, frequency, or phase can be modulated d(see Fig. 2-24) 24) How to go to higher speeds Baud: number of changes per second Transmitting more bits per baud (See Figs. 2-25 and 2-26) QAM (Quadrature Amplitude Modulation): transmitting 9600 bps using 2400 baud line 63

Modems (2) (a) A binary signal (b) Amplitude modulation (c) Frequency modulation (d) Phase modulation 64

Modems (3) (a) QPSK. (b) QAM-16. (c) QAM-64. 65

Modems (4) (a) () (b) () (a) V.32 for 9600 bps. (b) V32 bis for 14,400 bps. 66

Digital Subscriber Lines (DSL) The DSL uses unfiltered (without coil) local loop lines The capacity of local loop depends on length, the thickness, and general quality Bandwidth versus distanced over category 3 Unshielded Twisted Pair (UTP) for DSL. When all the other factors (new wires, modest bundles, ) are optimal 67

Digital Subscriber Lines (2) The Discrete MultiTone (DMT) modulation divides the available 1.1 MHz spectrum on the local loop into 256 independent channels of 4312.5 Hz each Channel 0 is used for voice, channels 1~5 are for the guard band Of the remaining 250 channels, one is used for upstream control, and one is used for downstream control. The others are for use data. Operation of Asymmetric DSL (ADSL) using discrete multitone modulation. 68

Digital Subscriber Lines (3) Network Interface Device Digital Subscriber Line Access Multiplexer A typical ADSL equipment configuration. 69

Wireless Local Loops (For Competitive Local Exchange Carrier) LMDS uses 28 GHz, 38GHz, 58GHz Problems of LMDS are high absorption (leaves, rain) and line of sight needed 70 Architecture of an Local Multipoint Distribution Service (LMDS) system.

Trunks use Frequency Division Multiplexing (FDM), Time Division Multiplexing (TDM) or Wavelength Division Multiplexing (WDM) Frequency Division Multiplexing (a)( The original bandwidths. (b) The bandwidths raised in frequency. (b) The multiplexed channel. 71

Wavelength Division Multiplexing (OR Array Waveguide, AWG) When the wavelengths are spaced closer, e.g. 0.1 nm, the system is referred to as Dense WDM (DWDM) Wavelength division multiplexing. 72

Time Division Multiplexing Pulse Code Modulation (PCM) is the heart of the modern telephone system A analog signal is sampled, quantized and coded Each channel has 8bits, 24 channels and one framing bit form a frame of 125 µsec The T1 carrier (1.544 Mbps). 73

Time Division Multiplexing (2) Delta modulation. 74

Time Division Multiplexing (3) Multiplexing T1 streams into higher carriers. 75

Time Division Multiplexing (4) A basic Synchronous Optical Network (SONET) frame is a block of 810 bytes for 125 µsec Two back-to-back b ksonet frames. (Synchronous Payload Envelope) 76

Time Division Multiplexing (5) Synchronous Digital Hierarchy (SDH) differs from SONET only in minor way The Synchronous Transport signal-1 (STS-1) is the basic SONET channel The Optical carrier (OC) corresponding to STS-n is called OC-n SONET and SDH multiplex rates. 77

Circuit Switching (a) Circuit switching. (b) Packet switching (store-and-forward). 78

Message Switching 79 (a) Circuit switching (b) Message switching (c) Packet switching

Packet Switching A comparison of circuit switched and packet-switched networks. 80

The Mobile Telephone System First-Generation ti Mobile Phones: Analog Voice Second-Generation Mobile Phones: Digital it Voice Third-Generation Mobile Phones: Digital Voice, Data, and image 81

Advanced Mobile Phone System (a) Frequencies are not reused in adjacent cells. (b) To add more users, smaller cells can be used for hot spots. 82

Channel Categories The 832 channels are divided into four categories: Control (base to mobile) to manage the system Paging (base to mobile) to alert users to calls for them Access (bidirectional) for call setup and channel assignment Data (bidirectional) for voice, fax, or data 83

D-AMPS Digital it Advanced d Mobile Phone System ()ADAMPS (a) D-AMPS channel with three users. (b) A D-AMPS channel with six users. 84

GSM Global System for Mobile Communicationss GSM uses 124 frequency channels, each of which uses an eight-slot TDM system 85

GSM (2) A portion of the GSM framing structure. 86

CDMA Code Division Multiple Access (a) Binary chip sequences for four stations (b) () Bipolar chip sequences (c) Six examples of transmissions (d) Recovery of station C s signal 87

Third-Generation Mobile Phones: Digital Voice and Data Basic services an IMT-2000 network should provide High-quality voice transmission Messaging (replace e-mail, fax, SMS, chat, etc.) Multimedia (music, videos, films, TV, etc.) Internet access (web surfing, w/multimedia.) 88

Cable Television Community Antenna Television It Internet tover Cable Cbl Spectrum Allocation Cable Modems ADSL versus Cable 89

Community Antenna Television An early cable television system. 90

Internet over Cable Cable CabeTelevision eevso 91

Internet over Cable (2) The fixed telephone system. 92

Spectrum Allocation Frequency allocation in a typical cable TV system used for Internet access 93

Cable Modems Typical details of the upstream and downstream channels in North America. 94