dr. tom hickscarme.cs.trinity.edu/thicks/3342/lectures/dcn-03-physical-layer...dr. tom hicks...

139
1 Dr. Tom Hicks Computer Science Department Trinity University

Upload: vanque

Post on 25-Mar-2018

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

1

Dr. Tom HicksComputer Science Department

Trinity University

Page 2: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

2

Some Material From Chapter 3

Some Material From Chapter 5I think it fits in here better!

Page 3: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

3

Position of the Physical Layer

Page 4: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

3.4

Communication at the Physical Layer

Page 5: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

5

Services

Page 6: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

6

Signals

Page 7: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

7

To be Transmitted, Data

Must be Transformed to

Electromagnetic Signals.

Page 8: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

8

Physical Layer

Concerns

Page 9: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

9

Physical Major Concern

Major Concern of Physical Layer – Moving

Information, In The Form Of Electromagnetic Signals,

Across A Transmission Media.

Information

Voice

Image

Numeric Data

Character Data

Binary Data

Etc.

Page 10: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

10

Physical Layer Must Encode

Information Usable To A Person Can Not Be

Directly Transmitted Across A Network; The

Information Must Be Encoded As 0’s and 1’s

Page 11: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

11

Analog Signals

&

Digital Signals

Page 12: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

12

Signals can be Analog or

Digital.

Analog Signals can have an

infinite number of values in a

range

Digital Signals can have only

a limited number of values.

Note:

Page 13: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

13

Analog/Digital

Analog – Continuous Signal – A Set Of Points

With All Points In-Between

Digital – Discrete Signal – A Set Of Points With

NoPoints In-Between

Page 14: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

14

Graph Of An Analog Signal

The term Analog Data refers to information that

is Continuous

Page 15: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

15

Page 16: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

16

Digital Data refers to Information that has Discrete

States

Graph Of A Digital Signal

Page 17: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

17

Graph Of A Digital Signal

Acceptable Values Might Range

From

-1 to 1

Page 18: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

18

Analog vs. Digital Signals

Page 19: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

19

Periodic Signals

&

Aperiodic Signals

Page 20: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

20

In Data Communication, we

commonly use

Periodic Analog Signals

&

Aperiodic Digital Signals.

Note:

Page 21: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

21

Sine Wave

A Periodic Signal completes a pattern within a

measurable time frame, called a Period, and

repeats that pattern over subsequent identical

periods.

The Sine Wave is a Periodic Signal. The graph

below has 3 Periods.

The Sine Wave is the Most Fundamental Form

of a Periodic Analog Signal.

Page 22: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

22

Amplitude

Page 23: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

23

Amplitude

Signal Amplitude – the value of the

signal at any point along the wave

Page 24: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

24

Can Vary The Amplitude

Amplitude Can Be Changed by varying

the current! [volts, amperes, watts]

Page 25: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

25

Two Signals – Two Amplitudes

Page 26: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

26

Frequency and

Period are

Inverses of Each

Other.

Note:

Page 27: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

27

Frequency

Page 28: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

28

Periods In A Second Hz

Page 29: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

29

Units of Period & Frequency

Page 30: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

The voltage of a battery is a constant; this constant

value can be considered a sine wave, as we will

see later.

For example, the peak value of an AA battery is

normally 1.5 V.

Example 3.2

Page 31: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Express a period of 100 ms in microseconds.

Example 3.4

Solution

From Table 3.1 we find the equivalents of 1 ms (1 ms

is 10–3 s) and 1 s (1 s is 106 μs).

We make the following substitutions:

Period = 100 ms = _________________ μs105

Page 32: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

The period of a signal is 100 ms. What is its frequency

in kilohertz?

Example 3.5

Solution

First we change 100 ms to seconds, and then we

calculate the frequency from the period (1 Hz = 10–3

kHz).

Frequency = _________________ kHz10-2

Page 33: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

33

Periods

&

Cycles

Page 34: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

34

Periodic Signals

Periodic Signal – completes a pattern

within a measurable time frame, called a

Period

Page 35: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

35

Period

Period – the time required for a periodic

signal to complete one complete Cycle of

the pattern.

Page 36: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

3.36

The power we use at home has a frequency of 60 Hz

(50 Hz in Europe). The period of this sine wave can be

determined as follows:

Example 3.3

Period = _________________ ms

This means that the period of the power for our

lights at home is 0.0116 s, or 16.6 ms.

Our eyes are not sensitive enough to distinguish

these rapid changes in amplitude.

16.6

Page 37: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

37

Why The Sine

Wave?

Page 38: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

38

Page 39: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

39

Frequency

&

Periods

Page 40: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

40

Page 41: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

41

Page 42: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

42

Units of Period & Frequency

Page 43: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

43

Practice

Problems

Page 44: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

44

Page 45: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

45

Page 46: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

46

Page 47: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

47

Page 48: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

48

Page 49: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

49

Page 50: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

50

High & Low

Frequency

Page 51: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

51

Frequency is the Rate of Change

with Respect to Time.

Change in a Short Span of Time

means High Frequency.

Change over a Long Span of Time

means Low Frequency.

Page 52: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

52

If a Signal Does Not Change at

all, its Frequency is Zero.

If a Signal Changes

Instantaneously, its Frequency is

Infinite.

Page 53: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

53

Phase

Page 54: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

54

Phase Describes the

Position of the Waveform

Relative to Time Zero.

Page 55: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

55

Relationships Between Phases

Page 56: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

56

About Phase

Phase Is

Measured

In

Degrees Or

Radians

Phase – describes the position of the

wave form relative to time 0.

Page 57: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

57

Sine 3 Different Phases

3.57

Page 58: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

A sine wave is offset 1/6 cycle with respect to time 0.

What is its phase in degrees and radians?

Example 3.6x

Phase = _________________ Degrees60

Solution

We know that 1 complete cycle is 360°.

Page 59: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

A sine wave is offset 1/6 cycle with respect to time 0.

What is its phase in degrees and radians?

Example 3.6

Solution

We know that 1 complete cycle is 360°. Therefore,

1/6 cycle is

Phase = _________________ rad1.046

Page 60: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

60

Time Domain &

Frequency

Domain Plots

Page 61: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

61

Wavelength

Page 62: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Wavelength is another characteristic of a signal

traveling through a transmission medium.

Wavelength Binds the Period or the Frequency

of a Simple Sine Wave to the Propagation Speed

of the Medium

Wavelength

Direction ofpropagation

Page 63: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

63

An Analog Signal is

Best Represented in the

Frequency Domain.

Page 64: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

64

Page 65: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

65

Page 66: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

66

Page 67: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

The Frequency Domain is more compact and useful

when we are dealing with more than one sine wave.

Below, we see three sine waves, each with different

amplitude and frequency. All can be represented by

three spikes in the frequency domain.

Example 3.7

Page 68: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

68

Decomposition

&

Fourier Analysis

Harmonics

Page 69: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

69

A Single-Frequency Sine Wave is

Not Useful in Data

Communications

We Need to Change One or

More of its Characteristics to

make it useful.

Page 70: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

70

When We Change One or More

Characteristics of a Single-

Frequency signal, it Becomes a

Composite Signal made of

many frequencies.

Page 71: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

71

According to Fourier analysis, Any

Composite Signal Can be

Represented as a Combination of

Simple Sine Waves with Different

Frequencies, Phases, and

Amplitudes.

Page 72: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

72

Page 73: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

73

Page 74: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

74

Page 75: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

75

Page 76: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

76

Page 77: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

77

Square Wave

Page 78: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

78

Three Separate Harmonics

Page 79: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

79

Harmonics

Page 80: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

80

Frequency Spectrum Comparison

Page 81: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

81

Decomposition Of Signal - 1 The analysis of this signal below can give us a good

understanding of how to Decompose Signals.

It is Very Difficult to Manually Decompose this Signal into

a series of simple sine waves.

Page 82: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Time

Amplitude

• • •

There are Tools, both hardware and software, that can help

us do the job of Decomposing Signals.

I am not concerned about how it is done; I am only

interested in the result.

The Result of Decomposing this Signal in the Time

Domains

Decomposition Of Signal - 2

Page 83: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

There are Tools, both hardware and software, that can help

us do the job of Decomposing Signals.

The Result of Decomposing this Signal in the Frequency

Domains

Decomposition Of Signal - 3

Page 84: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

84

NonPeriodic

Composite Signal

Page 85: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Speaking a Word, or Two, into a Microphone,

or Telephone, would create a Nonperiodic

Composite Signal.

This composite signal Cannot Be Periodic; this

would only happen if we repeated the same

word or words with exactly the same tone.

Nonperiodic Signal

Page 86: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

86

Signal

Corruption

Page 87: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

87

Signal Corruption

Page 88: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

88

Bandwidth

Page 89: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

89

The Bandwidth is a property of a

Medium:

The Bandwidth is the Difference

Between the Highest and the

Lowest Frequencies that the

medium can satisfactorily pass.

Page 90: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

90

Page 91: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

91

Page 92: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

92

Page 93: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

If a Periodic Signal is decomposed into five sine waves with

frequencies of 100, 300, 500, 700, and 900 Hz, what is its

bandwidth? Draw the spectrum, assuming all components have

a maximum amplitude of 10 V.

Example 3.10

Solution

Let fh be the highest frequency, fl the lowest frequency, and B

the bandwidth. Then

B = _________________ Hz800

Page 94: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

A Periodic Signal has a Bandwidth of 20 Hz. The highest

frequency is 60 Hz. What is the lowest frequency? Draw the

spectrum if the signal contains all frequencies of the same

amplitude.

Example 3.11

The spectrum contains all integer frequencies.

Solution

Let fh be the highest frequency, fl the lowest frequency, and B

the bandwidth. Then

B = _________________ Hz40

Page 95: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

95

Digital Signals

Bit Rate

&

Bit Interval

Page 96: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

96

Page 97: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

97

Page 98: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

98

Page 99: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

99

Page 100: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

100

Bit Rate & Bit Interval

Page 101: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

101

Transmission Of

Digital Signals

Page 102: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Based on Fourier Analysis (See Appendix E), a

Digital Signal is a Composite Analog Signal.

With a Digital Signal, the Bandwidth is Infinite.

We can intuitively come up with this concept when we consider a digital

signal. A digital signal, in the time domain, comprises connected vertical

and horizontal line segments. A vertical line in the time domain means a

frequency of infinity: a horizontal line in the time domain means a

frequency of zero. Going from a frequency of zero to a frequency of

infinity implies all frequencies in between are part of the domain.

Digital Signal Is A Composite Analog Signal

Page 103: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

3.103

Baseband Transmission

A Baseband Transmission means sending a

Digital Signal over a Channel Without Changing

the Digital Signal to an Analog Signal

Page 104: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

A Baseband Transmission requires a Low-Pass

Channel with a Bandwidth that starts at 0.

Low-Pass Channel

Illustrated above is a Low-Pass Channel that has a Wide

Bandwidth and one that has a Narrow Bandwidth.

Page 105: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

In order to preserve the Exact Form of a Nonperiodic

Digital Signal with vertical segments vertical and horizontal

segments horizontal, we need to Send The Entire Spectrum

the continuous range of frequencies between zero and

infinity.

Case 1 - Low-Pass Channel that has a Wide Bandwidth-1

This would require a Dedicated Medium with an Infinite

Bandwidth between sender & receiver.

NOT POSSIBLE!

Page 106: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Fortunately, the Amplitudes of the Frequencies at the

Borders of the Bandwidth are SO SMALL that they can BE

IGNORED!

Case 1 - Low-Pass Channel that has a Wide Bandwidth-2

If we have Coax of Fiber Optic Cables with a Very Wide

Bandwidth, two stations Can Communicate, by using Digital

Signals, with Very Good Accuracy!

Page 107: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

An example of a Dedicated Channel where the

Entire Bandwidth of the Medium is Used as One

Single Channel is a LAN.

Almost every wired LAN today uses a Dedicated

Channel for Two stations Communicating with each

other.

Example – Dedicated Chanel – Entire Bandwidth Used - LAN

Page 108: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

In a Bus Topology LAN with multipoint connections,

Only Two Stations Can Communicate with each

other at Each Moment in Time (timesharing); the

other stations need to refrain from sending data.

Dedicated Chanel – LAN – Bus Topology

Page 109: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

In a Star Topology LAN the Entire Channel

Between Each Station & The Hub Is Used To

Communicate between these two entities.

Dedicated Chanel

Dedicated Chanel – LAN – Star Topology

Page 110: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Almost every Wired LAN uses a Dedicated Chanel

for Two Stations Communicating with each other.

Dedicated Chanel – LAN – Star Topology

Page 111: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

If we wanted to send an Analog Signal that roughly

Simulate the Digital Signal We Would Have To

Consider The Worst Case

Maximum Number of Signal Changes

0 1 0 1 0 1 …

1 0 1 0 1 0 …

Positive Peak = 1

Negative Peak = 0

Digital Signal BitRate - N

B = N/2

Page 112: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

112

A Digital Signal is a

Composite Signal with an

Infinite Bandwidth.

Page 113: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

113

Bit

Rate

Harmonic

1

Harmonics

1, 3

Harmonics

1, 3, 5

Harmonics

1, 3, 5, 7

1 Kbps 500 Hz 2 KHz 4.5 KHz 8 KHz

10 Kbps 5 KHz 20 KHz 45 KHz 80 KHz

100 Kbps 50 KHz 200 KHz 450 KHz 800 KHz

Bandwidth Requirement

Page 114: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

114

Digital vs. Analog

Page 115: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

115

The Bit Rate and the

Bandwidth are

Proportional to Each Other.

Page 116: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

116

The analog bandwidthof a medium is

expressed in hertz.

The digital bandwidth,

in bits per second.

Note:

Page 117: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

3.117

Rough Approximation of a Digital Signal

Page 118: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

118

Transmission

Impairment

Page 119: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

119

3 Major Impairment Types

Page 120: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

120

Attenuation

Page 121: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

121

Page 122: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

122

Page 123: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase
Page 124: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Suppose a signal travels through a transmission

medium and its power is reduced to one half. This

means that P2 = 0.5 P1. In this case, the attenuation

(loss of power) can be calculated as

Example 3.26

A loss of 3 dB (−3 dB) is equivalent to losing one-half

the power.

Page 125: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

125

Distortion

Page 126: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

126

Page 127: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

127

Distortion

Page 128: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

128

Noise

Page 129: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

129

Page 130: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Signal to Noise Ratio shows the Ratio of

Signal Power to Noise Power

Power often expressed in Watts

S/N = Signal Power/Noise Power

Just a Simple Ratio

130

Signal to Noise Ratio (SNR or S/N)Bandwidth Requirement

Page 131: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

Signal to Noise RatiodB shows the Ratio of Signal

Power to Noise Power in Decibels

S/NdB = 10 log10 (signal power/noise power)

Example 1: Signal power = 1000 watts, noise

power = 20 mw

Example 2: Signal power = 100 w, noise power =

0.000002w 131

Signal to Noise RatiodB

(SNRdB or S/NdB)

Page 132: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

The loss in a cable is usually defined in decibels

per kilometer (dB/km). If the signal at the beginning

of a cable with −0.3 dB/km has a power of 2 mW,

what is the power of the signal at 5 km?

Solution

The loss in the cable in decibels is 5 × (−0.3) = −1.5

dB. We can calculate the power as

132

Signal to Noise RatiodB

(SNRdB or S/NdB)

Page 133: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

133

Two cases of SNR: a high SNR and a low SNR

Page 134: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

134

Shannon

Capacity

Page 135: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

135

Page 136: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

136

Page 137: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

137

Media

Comparison

Criteria

Page 138: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

138Consider The Future – CAT 6 or 7?

Page 139: Dr. Tom Hickscarme.cs.trinity.edu/thicks/3342/Lectures/DCN-03-Physical-Layer...Dr. Tom Hicks Computer Science ... Describes the Position of the Waveform ... Degrees Or Radians Phase

139