the digital abstraction part 1: how computer work the...

16
1 How Computer Work Lecture 10 Page 1 How Computer Work Lecture 10 Introduction to the Physics of Communication How Computer Work Lecture 10 Page 2 The Digital Abstraction Part 1: The Static Discipline Noise Tx Rx V ol V oh V ih V il

Upload: others

Post on 03-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

1

How Computer Work Lecture 10 Page 1

How Computer WorkLecture 10

Introduction to the Physics ofCommunication

How Computer Work Lecture 10 Page 2

The Digital Abstraction Part 1:The Static Discipline

Noise

Tx

Rx

Vol Voh

VihVil

Page 2: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

2

How Computer Work Lecture 10 Page 3

What is Information?

Information Resolves ______________Uncertainty

How Computer Work Lecture 10 Page 4

How do we measure information?

Error-Free data resolving 1 of 2 equally likely possibilities =

________________ of information.1 bit

Page 3: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

3

How Computer Work Lecture 10 Page 5

How much information now?

3 independent coins yield ___________ of information

# of possibilities = ___________

3 bits

8

How Computer Work Lecture 10 Page 6

How about N coins ?

N independent coins yield

# bits = ___________________________

# of possibilities = ___________

........................

N

2N

Page 4: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

4

How Computer Work Lecture 10 Page 7

What about Crooked Coins?

Phead = .75Ptail = .25

# Bits = - Σ pi log2 pi

(about .81 bits for this example)

How Computer Work Lecture 10 Page 8

How Much Information ?

. . . 00000000000000000000000000000 . . .

None (on average)

Page 5: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

5

How Computer Work Lecture 10 Page 9

How Much Information Now ?

. . . 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 . . .

. . . 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 . . .

Predictor

None (on average)

How Computer Work Lecture 10 Page 10

How About English?

• 6.JQ4 ij a vondurfhl co8rse wibh sjart sthdenjs.

• If every English letter had maximum uncertainty, average information / letter would be _________

• Actually, English has only ______ bits of information per letter if last 8 characters are used as a predictor.

• English actually has _______ bit / character if even more info is used for prediction.

log2(26)

2

1

Page 6: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

6

How Computer Work Lecture 10 Page 11

Data Compression

Lot’s O’ Redundant Bits

Encoder

Decoder

Fewer Redundant Bits

Lot’s O’ Redundant Bits

How Computer Work Lecture 10 Page 12

An Interesting Consequence:

• A Data Stream containing the most possible information possible (i.e. the least redundancy) has the statistics of ___________________ !!!!!Random Noise

Page 7: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

7

How Computer Work Lecture 10 Page 13

Digital Error Correction

Encoder

Corrector

Original Message + Redundant Bits

Original Message

Original Message

How Computer Work Lecture 10 Page 14

How do we encode digital information in an analog world?

Once upon a time, there were these aliens interested in bringing back to their planet the entire library of congress ...

Page 8: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

8

How Computer Work Lecture 10 Page 15

The Effect of “Analog” Noise01101110

01101110

How Computer Work Lecture 10 Page 16

Max. Channel Capacityfor Uniform, Bounded Amplitude Noise

P

N

Noise

Tx

Rx

Max # Error-Free Symbols = ________________

Max # Bits / Symbol = _____________________

P/N

log2(P/N)

Page 9: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

9

How Computer Work Lecture 10 Page 17

Max. Channel Capacity forUniform, Bounded Amplitude Noise (cont)

P = Range of Transmitter’s Signal SpaceN = Peak-Peak Width of NoiseW = Bandwidth in # Symbols / SecC = Channel Capacity = Max. # of Error-Free Bits/Sec

C =____________________________

Note: This formula is slightly different for Gaussian noise.

W log2(P/N)

How Computer Work Lecture 10 Page 18

Further Readingon Information Theory

The Mathematical Theory of Communication, Claude E. Shannon and Warren Weaver, 1972, 1949.

Coding and Information Theory, Richard Hamming,Second Edition, 1986, 1980.

Page 10: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

10

How Computer Work Lecture 10 Page 19

The mythical equipotential wire

V 1V 3V 2

How Computer Work Lecture 10 Page 20

But every wire has parasitics:

- +V L

dI

dt=

I CdV

dt=+

-

Page 11: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

11

How Computer Work Lecture 10 Page 21

Why do wires act like transmission lines?

Signals take time to propagate

Propagating Signals must have energy

Inductance and Capacitance Stores Energy

Without termination, energy reaching the end of a transmissionline has nowhere to go - so it

_________________________

......

Echoes

How Computer Work Lecture 10 Page 22

Fundamental Equations of Lossless Transmission Lines

......

V V x t= ( , )

∂∂

∂∂

∂∂

∂∂

V

xl

I

t

I

xc

V

t

=

=

I I x t= ( , )

x

∂∂

I

x

∂∂

V

x

+-

cd C

d x=

ld L

d x=

Page 12: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

12

How Computer Work Lecture 10 Page 23

Transmission Line Math

∂∂

∂∂

∂∂

∂∂

V

xl

I

t

I

xc

V

t

=

=

Lets try a sinusoidal solution for V and I:

I I e I e ej t x j t j xt x t x= =+0 0

( )ω ω ω ωV V e V e ej t x j t j xt x t x= =+

0 0

( )ω ω ω ω

j V l j I

j I c j V

x t

x t

ω ωω ω

0 0

0 0

==

How Computer Work Lecture 10 Page 24

Transmission Line Algebra

ωω

t

x l c=

1

j V l j I

j I c j V

x t

x t

ω ωω ω

0 0

0 0

==

ω ωω ω

x t

x t

V l I

I c V

0 0

0 0

==

V

I

l

c0

0

=

Propagation Velocity Characteristic Impedence

Page 13: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

13

How Computer Work Lecture 10 Page 25

Parallel Termination

How Computer Work Lecture 10 Page 26

Series Termination

Page 14: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

14

How Computer Work Lecture 10 Page 27

Series or Parallel ?• Series:

– No Static Power Dissipation

– Only One Output Point

– Slower Slew Rate if Output is Capacitively Loaded

• Parallel:– Static Power Dissipation

– Many Output Points

– Faster Slew Rate if Output is Capacitively Loaded

• Fancier Parallel Methods:– AC Coupled - Parallel w/o static dissipation

– Diode Termination - “Automatic” impedance matching

How Computer Work Lecture 10 Page 28

When is a wire a transmission line?

t l vfl = /

Rule of Thumb:

t tr fl> 5t tr fl< 2 5.

Transmission Line Equipotential Line

Page 15: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

15

How Computer Work Lecture 10 Page 29

Making Transmission LinesOn Circuit Boards

h

w

ε r

t

Voltage Plane

Insulating Dielectric

Copper Trace

c

l

∝∝

Z

v

0 ∝∝

εε r w/h

h/w

h / (w sqrt(εε r ) )

1/sqrt(εε r )

How Computer Work Lecture 10 Page 30

Actual Formulas

Page 16: The Digital Abstraction Part 1: How Computer Work The ...aduni.org/courses/hcw/courseware/lect_notes/Lecture_10.pdfIntroduction to the Physics of Communication ... Data Compression

16

How Computer Work Lecture 10 Page 31

A Typical Circuit Board

w c m

t c m

h c m

c p F c m

l n H c m

===

==

0 1 5

0 0 0 3 8

0 0 3 8

1 9

2 7 5

.

.

.

. /

. /

G-10 Fiberglass-Epoxy

Z

v cm

cm ns

0

10

38

1 4 10

14

=

= ×

Ω

. / sec

( / )

1 Ounce Copper