1 The Physical Layer Chapter 2. 2 The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.

Slides:



Advertisements
Similar presentations
Chapter 2 The Physical Layer.
Advertisements

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 6 Introduction to Networks and the Internet.
Magnetic Media Floppy disk CDs Magnetic tapes Advantage –High bandwidth (bulk of data) Disadvantage –Delay is too long.
Chapter 4 Transmission Media
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 8 Introduction to Computer Networks.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transmission Media Slide 1 Overview Guided - wire Unguided -
20101 The Physical Layer Chapter Bandwidth-Limited Signals.
Cn ch21 The Physical Layer Chapter 2. cn ch22 The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 7 Introduction to Networks and the Internet.
CMPE 150 – Winter 2009 Lecture 4 January 15, 2009 P.E. Mantey.
Physical Layer 1b session 1 TELE3118: Network Technologies Week 1: Physical Layer Some slides have been taken from:  Computer Networking: A Top.
The Physical Layer: Data Transmission Basics
CPSC 441 TA: FANG WANG TRANSMISSION MEDIA Part of the slides are from Sudhanshu Kumar etc at slideshare.net.
Sharif University of Technology Physical layer: Wireless Transmission.
The Physical Layer Chapter Digital Modulation and Multiplexing Baseband Transmission Passband Transmission Frequency Division Multiplexing.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication DSL, Cable, and Mobile Telephone System.
The physical layer. The Theoretical Basis for Data Communication Fourier Analysis Any periodical signal can be decomposed as a sum of sinusoidal signals.
Chapter 7 Transmission Media. Transmission medium (layer zero) A transmission media defined as anything that carry information between a source to a destination.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
2-1 Physical Layer l Theoretical basis for data communications n Fourier analysis n distortion –by different attenuation rates of different frequency components.
The Physical Layer Chapter
Computer Networks NYUS FCSIT Spring 2008 Igor TRAJKOVSKI, Ph.D. Associate Professor
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
Modeling and Analysis of Computer Networks (The physical Layer) Ali Movaghar Fall 2006.
7.1 Chapter 7 Transmission Media Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Recap - Introduction. 2 Three Concepts Services Interfaces Protocols.
Sharif University of Technology The Physical Layer defines the mechanical, electrical, and timing interfaces to the network. Topics in this chapter: 
1 Business Telecommunications Data and Computer Communications Chapter 4 Transmission Media.
The Physical Layer Chapter 2 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
Sharif University of Technology Physical layer: Wireless Transmission.
The Physical Layer Part1. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
Modeling and Analysis of Computer Networks (The physical Layer) Ali Movaghar Winter 2009.
-1- Georgia State UniversitySensorweb Research Laboratory CSC4220/6220 Computer Networks Dr. WenZhan Song Associate Professor, Computer Science.
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 2 Physical layer.
Transmission Media1 Physical Layer Transmission Media.
Introduction to Network (c) Nouf Aljaffan
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
The Physical Layer Chapter 2 – Part 1 Ch The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate.
CS 313 Introduction to Computer Networking & Telecommunication
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication a)Fourier Analysis b)Bandwidth-Limited Signals c)Maximum Data Rate of a Channel.
Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Nguyễn Đức Thái.
The Physical Layer Chapter 2 – Part 2 Ch The Local Loop: Modems, ADSL, and Wireless The use of both analog and digital transmissions for a computer.
The Physical Layer Highlights of this chapter Highlights of this chapter Theoretical Basis for Data Communication Theoretical Basis for Data Communication.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
Chapter 2 The Physical Layer 4/26/2017
Chapter 2 The Physical Layer.
William Stallings Data and Computer Communications 7th Edition
Wireless Transmission The Electromagnetic Spectrum Radio Transmission Microwave Transmission Infrared and Millimeter Waves Lightwave Transmission.
Transmision Media. Transmission media types a)Guided b)Unguided.
Computer Networks Farzad Rojan Chapter 2: Physical Layer.
The Physical Layer Chapter 2. Physical layer deals with data communication.it decides way the other layers work. Example, when network connect, may have.
Physical Layer - Transmission Media Transmission Media –Magnetic Media –Twisted Pair –Coaxial Cable –Fiber Optics –Wireless Transmission.
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
The Physical Layer Dr. ir. S.S. Msanjila RIS 251.
The Physical Layer Chapter 2 Institute of Information Science and Technology. Chengdu University YiYong 2008 年 2 月 25 日.
William Stallings Data and Computer Communications
2017 session 1 TELE3118: Network Technologies Week 1: Physical Layer
2012 session 1 TELE3118: Network Technologies Week 1: Physical Layer
Transmission Media.
Physical Layer Theoretical basis for data communications
فصل سوم: لایه فیزیکی (Physical Layer)
Physical Layer Theoretical basis for data communications
The Physical Layer Chapter 2
William Stallings Data and Computer Communications
Anything that can carry information from a source to a destination.
NETWORK COMPONENTS PHYSICAL MEDIA
Physical Media PHYSICAL MEDIA.
William Stallings Data and Computer Communications
Presentation transcript:

1 The Physical Layer Chapter 2

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

3 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): 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) Fourier Series Decomposition

4 Fourier Transform

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

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

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

8 Bandwidth-Limited Signals (3) Relation between data rate and harmonics. 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

9 Sample function of random binary wave

10 Autocorrelation function of random binary wave

11 Power spectral density of random binary wave

12 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.

13 Coding: baud vs. bps

14 Nyquist’s Theorem Max. data rate = (Noiseless Channel) where V represent No. of discrete level of signals. Shannon’s Theorem Max. data rate = (Noisy Channel) where S/N represent signal-to-noise ratio. Maximum Data Rate of a Channel

15 Maximal data rate of a finite bandwidth noiseless channel

16 Maximal data rate of a finite bandwidth noisy channel

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

18 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

19 Twisted Pair 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

20 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

21 Coaxial Cable A coaxial cable.

22 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

23 Broadband Coaxial Cable Broadband cable –any cable network using analog transmission –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

24 fiber

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

26 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 –more expensive –for longer distances –several Gbps for 30 km –lasers: 100 km without repeaters

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

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

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

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

31 Comparison Between Fiber Optics and Copper Wire Fiber Optics –Much higher bandwidths –Low attenuation: repeaters 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 –Repeaters: ~ every 5 km

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

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

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

35 Electromagnetic Spectrum f = c, –c: 3 * 10 8 m/sec –copper or fiber: 2/3 speeds Can be used for transmitting information –radio, microwave, infrared, and visible light –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.

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

37 Radio Transmission Radio waves –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

38 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

39 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.

40 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)

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

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

43 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 Cannot be used outdoors –sun shines brightly in the infrared

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

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

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

47 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.

48 Communication Satellites (2) The principal satellite bands.

49 Communication Satellites (3) VSATs using a hub.

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

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

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

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

54 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, 1-10 km –toll office tandem office: within the same local area –switching centers: primary, sectional, and regional exchanges –See Fig Advantages of digital signaling (-5 & +5 volts) –lower error rate: no 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

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

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

57 Major Components of the Telephone System Local loops  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

58 The Politics of Telephones 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. (point of presence)

59 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.

60 Modems Two problems with DC (baseband 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 to 2000-Hz Amplitude, frequency, or phase can be modulated (See Fig. 2-24) –How to go to higher speeds Baud: number of changes per second Transmitting more bits per baud (See Figs and 2-26) QAM (Quadrature Amplitude Modulation): transmitting 9600 bps using 2400 baud line

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

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

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

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

65 Digital Subscriber Lines (2) Operation of Asymmetric DSL (ADSL) using discrete multitone modulation. The Discrete MultiTone (DMT) modulation divides the available 1.1 MHz spectrum on the local loop into 256 independent channels of 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.

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

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

68 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.

69 Wavelength Division Multiplexing 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)

70 Time Division Multiplexing The T1 carrier (1.544 Mbps). 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

71 Time Division Multiplexing (2) Delta modulation.

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

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

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

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

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

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

78 The Mobile Telephone System First-Generation Mobile Phones: Analog Voice Second-Generation Mobile Phones: Digital Voice Third-Generation Mobile Phones: Digital Voice and Data

79 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.

80 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

81 D-AMPS Digital Advanced Mobile Phone System (a) A D-AMPS channel with three users. (b) A D-AMPS channel with six users.

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

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

84 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

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

86 Cable Television Community Antenna Television Internet over Cable Spectrum Allocation Cable Modems ADSL versus Cable

87 Community Antenna Television An early cable television system.

88 Internet over Cable Cable Television

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

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

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