chapter-2-1 Physical layerof updates.pptx

Euiel2 40 views 31 slides May 27, 2024
Slide 1
Slide 1 of 31
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31

About This Presentation

it show d/f layers of interner transmission


Slide Content

The Physical Layer Chapter 2 Theoretical Basis for Data Communications Guided Transmission Media Wireless Transmission Communication Satellites Digital Modulation and Multiplexing Public Switched Telephone Network Mobile Telephone System Cable Television CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Revised: February 2018

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 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Physical Layer Issues Media: wires, fiber, satellites, radio Signal propagation: bandwidth, attenuation, noise Modulation: how bits are represented as voltage signals Fundamental limits: Nyquist, Shannon

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Abstract Model of a Link Bit rate: bits/sec depends on the channel’s bandwidth Delay: how long does it take a bit to get to the end? Error rate: what is the probability of a bit flipping? Sender Channel: bit rate, delay, error rate Receiver

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Bandwidth-Delay Product Bits have a physical size on the channel! Storage capacity of a channel is: bit rate x delay Example: 100 Mbps 5000-km fiber, delay = 50 msec In 50 msec we can pump out 5 million bits So the fiber can store 5 million bits in 5000 km 1 km holds 1000 bits so a bit is 1 meter long At 200 Mbps, a bit is 0.5 m long

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Signal Propagation over a Wire The signal has a finite propagation speed (2/3 c) The signal is attenuated per km Frequencies above a cutoff are strongly reduced Noise is added to the signal

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 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

Baseband Transmission CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Line codes send symbols that represent one or more bits NRZ is the simplest, literal line code (+1V=“1”, -1V=“0”) Other codes tradeoff bandwidth and signal transitions Four different line codes

Clock Recovery To decode the symbols, signals need sufficient transitions Otherwise long runs of 0s (or 1s) are confusing, e.g.: 1 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 0 0 0 0 0 0 0 0 0 0 um, 0? er, 0? 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 00 1 1 10101 0111 01111 1011 10111 1111 11101 Strategies: Manchester coding, mixes clock signal in every symbol 4B/5B maps 4 data bits to 5 coded bits with 1s and 0s: Scrambler XORs tx/rx data with pseudorandom bits

Passband Transmission (1) 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 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

BPSK QPSK 4 symbols 2 symbols 1 bit/symbol 2 bits/symbol QAM-16 16 symbols 4 bits/symbol Q AM-64 64 symbols 6 bits/symbol QAM varies amplitude and phase CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 BPSK/QPSK varies only phase Passband Transmission (2) Constellation diagrams are a shorthand to capture the amplitude and phase modulations of symbols:

Frequency Division Multiplexing FDM (Frequency Division Multiplexing) shares the channel by placing users on different frequencies: Overall FDM channel CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

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 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

Code Division Multiple Access (1) Chip sequences for four stations. Signals the sequences represent Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011

Code Division Multiple Access (2) Six examples of transmissions. Recovery of station C’s Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011

The Public Switched Telephone Network CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Structure of the telephone system Politics of telephones Local loop: modems, ADSL, and FttH Trunks and multiplexing Switching

Pulse Code Modulation (2) Multiplexing T1 streams into higher carriers Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011

Wavelength Division Multiplexing WDM (Wavelength Division Multiplexing), another name for FDM, is used to carry many signals on one fiber: CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Mobile Telephone System Generations of mobile telephone systems Cellular mobile telephone systems GSM, a 2G system UMTS, a 3G system 4G LTE 4G

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Generations of mobile telephone systems 1G, analog voice AMPS (Advanced Mobile Phone System) is example, deployed from 1980s. Modulation based on FM (as in radio). 2G, analog voice and digital data GSM (Global System for Mobile communications) is example, deployed from 1990s. Modulation based on QPSK. 3G, digital voice and data UMTS (Universal Mobile Telecommunications System) is example, deployed from 2000s. Modulation based on CDMA LTE, digital data including voice LTE (Long Term Evolution) is example, deployed from 2010s. Modulation based on OFDM 4G based on CDMA and 802.16m (WiMax)

Cellular mobile phone systems All based on notion of spatial regions called cells Each mobile uses a frequency in a cell; moves cause handoff Frequencies are reused across non-adjacent cells To support more mobiles, smaller cells can be used CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

2G GSM – Global System for Mobile Communications (1) Mobile is divided into handset and SIM card (Subscriber Identity Module) with credentials Mobiles tell their HLR (Home Location Register) their current where abouts for incoming calls Cells keep track of visiting mobiles (in the Visitor LR) CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Goals for UMTS (3G) Basic services desired High-quality voice transmission. Messaging (replacing email, fax, SMS, chat). Multimedia (music, videos, films, television). Internet access (Web surfing, incl. audio, video).

3G UMTS – Universal Mobile Telecommunications System (1) Architecture is an evolution of GSM; terminology differs Not compatible with 2G GSM Internet CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

3G UMTS – Universal Mobile Telecommunications System (2) Air interface based on CDMA over 5 MHz channels Rates over users <14.4 Mbps (HSPDA) per 5 MHz CDMA permits soft handoff (connected to both cells) Soft hando f f CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 4G ITU defined spec in 2008, before the technology existed ITU can’t enforce what carriers do or call their services Pure IPv6 packet switching, no circuit switching No voice (except as VoIP) 1 Gbps for stationary user, 100 Mbps for moving user Uses carrier aggregation (multiple bands together) Uses OFDMA (Orthogonal Freq. Div. Mux Access)

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 OF DMA 0 1 0 0 1 0 1 1 0 1 1 1 0 0 1 0 1 0 1 1 Channel 1 Channel 2 Channel 3 Channel 4 1 1 1 1 1 1 1 1 1 1 1 1 Each channel is broadcast in parallel on different frequency bands

Data Capacity

CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 End Chapter 2 part 1
Tags