Physical Layer Lecture Progression Botuom-up through the layers: - - PowerPoint PPT Presentation

physical layer lecture progression
SMART_READER_LITE
LIVE PREVIEW

Physical Layer Lecture Progression Botuom-up through the layers: - - PowerPoint PPT Presentation

Physical Layer Lecture Progression Botuom-up through the layers: Applicatjon - HTTP, DNS, CDNs Transport - TCP, UDP Network - IP, NAT, BGP Link - Ethernet, 802.11 Physical - wires, fjber, wireless Followed by


slide-1
SLIDE 1

Physical Layer

slide-2
SLIDE 2

Lecture Progression

  • Botuom-up through the layers:
  • Followed by more detail on:
  • Quality of service, Security (VPN, SSL)

Computer Networks 2

Applicatjon - HTTP, DNS, CDNs Transport - TCP, UDP Network - IP, NAT, BGP Link

  • Ethernet, 802.11

Physical

  • wires, fjber, wireless
slide-3
SLIDE 3

Where we are in the Course

  • Beginning to work our way up startjng with the

Physical layer

CSE 461 University of Washington 3

Physical Link Network Transport Applicatjon

slide-4
SLIDE 4
slide-5
SLIDE 5

T

  • pics

1. Coding and Modulatjon schemes

  • Representjng bits, noise

2. Propertjes of media

  • Wires, fjber optjcs, wireless, propagatjon
  • Bandwidth, atuenuatjon, noise

3. Fundamental limits

  • Nyquist, Shannon

CSE 461 University of Washington 5

slide-6
SLIDE 6

Coding and Modulation

slide-7
SLIDE 7

T

  • pic
  • How can we send informatjon across a link?
  • This is the topic of coding and modulatjon
  • Modem (from modulator–demodulator)

CSE 461 University of Washington 7

…10110

10110…

Signal

slide-8
SLIDE 8

A Simple Coding

  • Let a high voltage (+V) represent a 1, and low voltage (-V) represent a 0
  • This is called NRZ (Non-Return to Zero)

CSE 461 University of Washington 8

Bits NRZ

1 1 1 1 1 1 1 +V

  • V
slide-9
SLIDE 9
slide-10
SLIDE 10

A Simple Modulation (3)

  • Problems?
slide-11
SLIDE 11

Many Other Schemes

  • Can use more signal levels
  • E.g., 4 levels is 2 bits per symbol
  • Practjcal schemes are driven by engineering

consideratjons

  • E.g., clock recovery

CSE 461 University of Washington 11

slide-12
SLIDE 12

Clock Recovery

  • Um, how many zeros was that?
  • Receiver needs frequent signal transitjons to decode bits
  • Several possible designs
  • E.g., Manchester coding and scrambling (§2.5.1)

CSE 461 University of Washington 12

1 0 0 0 0 0 0 0 0 0 … 0

slide-13
SLIDE 13

Ideas?

slide-14
SLIDE 14

Answer 1: A Simple Coding

  • Let a high voltage (+V) represent a 1, and low voltage (-V) represent a 0
  • Then go back to 0V for a “Reset”
  • This is called RZ (Return to Zero)

CSE 461 University of Washington 14

Bits RZ

1 1 1 1

  • V

+V

slide-15
SLIDE 15

Answer 2: Clock Recovery – 4B/5B

  • Map every 4 data bits into 5 code bits without long

runs of zeros

  • 0000  11110, 0001  01001, 1110  11100, … 1111

 11101

  • Has at most 3 zeros in a row
  • Also invert signal level on a 1 to break up long runs of 1s

(called NRZI, §2.5.1)

CSE 461 University of Washington 15

slide-16
SLIDE 16

Answer 2: Clock Recovery – 4B/5B (2)

  • 4B/5B code for reference:
  • 000011110, 000101001, 111011100, … 111111101
  • Message bits: 1 1 1 1 0 0 0 0 0 0 0 1

CSE 461 University of Washington 16

Coded Bits: Signal:

slide-17
SLIDE 17
slide-18
SLIDE 18

Modulation vs Coding

  • What we have seen so far is called coding
  • Signal is sent directly on a wire
  • These signals do not propagate well as RF
  • Need to send at higher frequencies
  • Modulatjon carries a signal by modulatjng a carrier
  • Baseband is signal pre-modulatjon
  • Keying is the digital form of modulatjon (equivalent to

coding but using modulatjon)

CSE 461 University of Washington 18

slide-19
SLIDE 19
slide-20
SLIDE 20

Comparisons

CSE 461 University of Washington 20

NRZ signal of bits Amplitude shifu keying Frequency shifu keying Phase shifu keying

slide-21
SLIDE 21

Philosophical T akeaways

  • Everything is analog, even digital signals
  • Digital informatjon is a discrete concept

represented in an analog physical medium ○ A printed book (analog) vs. ○ Words conveyed in the book (digital)

CSE 461 University of Washington 21

slide-22
SLIDE 22

Simple Link Model

  • We’ll end with an abstractjon of a physical channel
  • Rate (or bandwidth, capacity, speed) in bits/second
  • Delay in seconds, related to length
  • Other important propertjes:
  • Whether the channel is broadcast, and its error rate

CSE 461 University of Washington 22

Delay D, Rate R Message

slide-23
SLIDE 23

Message Latency

  • Latency is the delay to send a message over a link
  • Transmission delay: tjme to put M-bit message “on the wire”
  • Propagatjon delay: tjme for bits to propagate across the wire
  • Combining the two terms we have:

CSE 461 University of Washington 23

slide-24
SLIDE 24

Message Latency (2)

  • Latency is the delay to send a message over a link
  • Transmission delay: tjme to put M-bit message “on the wire”

T-delay = M (bits) / Rate (bits/sec) = M/R seconds

  • Propagatjon delay: tjme for bits to propagate across the wire

P-delay = Length / speed of signals = Length / ⅔c = D seconds

  • Combining the two terms we have: L = M/R + D

CSE 461 University of Washington 24

slide-25
SLIDE 25

Latency Examples

  • “Dialup” with a telephone modem:
  • D = 5 ms, R = 56 kbps, M = 1250 bytes
  • Broadband cross-country link:
  • D = 50 ms, R = 10 Mbps, M = 1250 bytes

CSE 461 University of Washington 25

Remembering L = M/R + D

slide-26
SLIDE 26

Latency Examples (2)

  • “Dialup” with a telephone modem:
  • D = 5 ms, R = 56 kbps, M = 1250 bytes
  • L = (1250x8)/(56 x 103) sec + 5ms = 184 ms!
  • Broadband cross-country link:
  • D = 50 ms, R = 10 Mbps, M = 1250 bytes
  • L = (1250x8) / (10 x 106) sec + 50ms = 51 ms
  • A long link or a slow rate means high latency: One component

dominates

CSE 461 University of Washington 26

slide-27
SLIDE 27

Bandwidth-Delay Product

  • Messages take space on the wire!
  • The amount of data in fmight is the bandwidth-delay

(BD) product

BD = R x D

  • Measure in bits, or in messages
  • Small for LANs, big for “long fat” pipes

CSE 461 University of Washington 27

slide-28
SLIDE 28
slide-29
SLIDE 29
slide-30
SLIDE 30

Media

slide-31
SLIDE 31
slide-32
SLIDE 32

T ypes of Media

  • Media propagate signals that carry bits of

informatjon

  • We’ll look at some common types:
  • Wires
  • Fiber (fjber optjc cables)
  • Wireless

CSE 461 University of Washington 32

slide-33
SLIDE 33

Wires – T wisted Pair

  • Very common; used in LANs and telephone lines
  • Twists reduce radiated signal

CSE 461 University of Washington 33

Category 5 UTP cable with four twisted pairs

slide-34
SLIDE 34

Wires – Coaxial Cable

  • Also common. Betuer shielding for betuer performance
  • Other kinds of wires too: e.g., electrical power (§2.2.4)

CSE 461 University of Washington 34

slide-35
SLIDE 35
slide-36
SLIDE 36

Fiber (2)

  • Two varietjes: multj-mode (shorter links, cheaper)

and single-mode (up to ~100 km)

CSE 461 University of Washington 36

Fiber bundle in a cable One fjber

slide-37
SLIDE 37
slide-38
SLIDE 38
slide-39
SLIDE 39
slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42

Multipath (3)

  • Signals bounce ofg objects and take multjple paths
  • Some frequencies atuenuated at receiver, varies with

locatjon

CSE 461 University of Washington 42

slide-43
SLIDE 43

Wireless (4)

  • Various other efgects too!
  • Wireless propagatjon is complex, depends on

environment

  • Some key efgects are highly frequency dependent,
  • E.g., multjpath at microwave frequencies

CSE 461 University of Washington 43