chapter 3: analog and digital signalsziarko/cs335/cs335_wz3.pdf9 effect of limited bandwidth on...

28
Chapter 3: Analog and Digital Signals Analog vs. Digital Signals

Upload: others

Post on 24-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

1

Chapter 3: Analog and Digital Signals

Analog vs. Digital Signals

Page 2: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

2

Digital Encoding

Encoding 0’s

Page 3: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

3

Manchester Encoding

Differential Manchester Encoding

Page 4: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

4

Analog Signal Variations

From Sound to Analog Signal

Page 5: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

5

Fourier Approximations

Fourier Series

where

are Fourier Coefficients:

Page 6: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

6

11

Harmonics

Amplitudes of i-th harmonics are ai and biThe frequency of i-th harmonics are i/PThe frequencies of ahrmonics are multiples of the fundamental frequency f=1/P

Example 1

Page 7: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

7

00 ≥= iforai KK

dtitdtittsdtittsbi )sin(2)sin()(2)22sin()(1

00∫∫∫ ===

πππ

π ππππ

π

ii

iii

iitbi π

ππππ

π )1)cos((2])0cos()cos([2])cos([2 0+−

=−

−−

=−

=

uneveniifieveniifiKKK

KKK

1)cos(1)cos(−=

=ππ

ib

b

i

i

π40

=

=

122

+==kiki

K

K K2,1,0=k

Consequently:

))12sin(()12(

4)(0

tkk

tsk

++

=∑∞

= πOR

Page 8: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

8

π

π

π

212

122

)12(4

+

+

+

k

k

k

Analysis of Harmonics

Amplitude of 2k+1-th term

Period of 2k+1-th term

Frequency of 2k+1-th term

k=0 ??

Example-Cont.

Page 9: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

9

Effect of Limited Bandwidth on Signal Quality

Assume bit rate b bpsTime to send 8 bits: 8/b=pFrequency of first harmonic: b/8Assume max line frequency = 3000 HzNumber of harmonics sent =

b3000*8

bf8

or in general

If b=9600 bps then 2 harmonics would be sent!

Transmitting ASCII “b” using NRZ

Fourier coefficients of “b”:

Page 10: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

10

Effect of Limited Bandwidth

Data Rate V.S. Harmonics

Page 11: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

11

Data via Analog Signals

Bit Rate V.S. Baud Rate

Page 12: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

12

Effect of Noise

Analog Signal Modulation withDigital Signal

Page 13: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

13

Using Modems

Digital Voice Transmission

Page 14: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

14

Modulation Techniques

Frequency Shift Key

Page 15: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

15

Amplitude Shift Key

Phase Shift Key

Page 16: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

16

Quadrature Amplitude Modulation 1

Page 17: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

17

Quadrature Amplitude Modulation 2

Quadrature Amplitude Modulation 3

Page 18: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

18

Signal Constellation Idea

Signal Constellations

Page 19: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

19

Page 20: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

20

Effect of Noise 1

Effect of Noise 2

Page 21: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

21

Modem Connections

Page 22: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

22

Home Connections

Cable Modem Idea

Page 23: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

23

Cable Connections

Digital Subscriber Line (DSL)

Page 24: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

24

Assymetric DSL (ADSL)

Band Use in ADSL

Page 25: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

25

Bandwidth Splitting in ADSL

ADSL Connections

Page 26: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

26

ADSL-Lite

Hybrid Local Loop

Page 27: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

27

Analog to Digital ConversionDigitizing analog signal , e.g. sensor readingsEquivalent to using coding tables to encode characters

Pulse Amplitude Modulation

Page 28: Chapter 3: Analog and Digital Signalsziarko/cs335/cs335_WZ3.pdf9 Effect of Limited Bandwidth on Signal Quality Assume bit rate b bps Time to send 8 bits: 8/b=p Frequency of first harmonic:

28

Pulse Code Modulation