Si Signa gnal T Trans nsmi mission a n and nd Im Impair - - PowerPoint PPT Presentation

β–Ά
si signa gnal t trans nsmi mission a n and nd im impair
SMART_READER_LITE
LIVE PREVIEW

Si Signa gnal T Trans nsmi mission a n and nd Im Impair - - PowerPoint PPT Presentation

Si Signa gnal T Trans nsmi mission a n and nd Im Impair airmen ents 01204325 Data Communications and Computer Networks Chaiporn J Chaipo n Jaik aikae aeo De Department of f Computer Engineering Kasetsart Unive versity Based on


slide-1
SLIDE 1

Si Signa gnal T Trans nsmi mission a n and nd Im Impair airmen ents

Chaipo Chaiporn J n Jaik aikae aeo De Department of f Computer Engineering Kasetsart Unive versity

01204325 Data Communications and Computer Networks

Based on lecture materials from Data Communications and Networking, 5th ed., Behrouz A. Forouzan, McGraw Hill, 2012.

Revised 2020-07-21

slide-2
SLIDE 2

2

Out Outline line

  • Analog and digital data/signals
  • Time and frequency domain views of signals
  • Bandwidth and bit rate
  • Theoretical data rate
  • Signal impairments
slide-3
SLIDE 3

3

Ph Physic ical L al Layer er

Frame

from Data Link to Data Link

Frame 01001011 01001011 Transmission medium (bits)

slide-4
SLIDE 4

4

An Analog vs. Digital Data

  • Analog data
  • Data take on continuous values
  • E.g., human voice, temperature reading
  • Digital data
  • Data take on discrete values
  • E.g., text, integers

Cliparts are taken from http://openclipart.org

slide-5
SLIDE 5

5

An Analog vs. Digital Signals

  • Analog signals
  • have an infinite number of

values in a range

  • Digital signals
  • Have a limited number of

valid values

value time value time

To To be transmitted, data must be tr transformed ed to phys ysical signals

slide-6
SLIDE 6

6

Da Data and Signals

Telephone

Analog Data Analog Signal

Modem

Digital Data Analog Signal

Codec

Analog Data Digital Signal

Digital transmitter

Digital Data Digital Signal

Telephone Modem Codec Digital receiver

Transmission Medium (Channel)

Analog Data Digital Data Analog Data Digital Data

slide-7
SLIDE 7

7

Ho How ch chan annel el affect ects sig ignal? al?

Channel

t t

???

slide-8
SLIDE 8

8

  • Simplest form of periodic signal
  • General form: 𝑧(𝑒) = 𝐡×sin(2πœŒπ‘”π‘’ + 𝜚)

period T = 1/f

peak amplitude

time signal strength

Si Sine ne W Waves

phase / phase shift Demo: Sine Wave

slide-9
SLIDE 9

9

Ti Time me v

  • vs. Fr

. Freque quency D ncy Doma mains ns

  • Consider the signal
  • 1.5
  • 1
  • 0.5
0.5 1 1.5 0.5 1 1.5 2 2.5 3
  • 1.5
  • 1
  • 0.5
0.5 1 1.5 0.5 1 1.5 2 2.5 3
  • 1.5
  • 1
  • 0.5
0.5 1 1.5 0.5 1 1.5 2 2.5 3

+ =

Demo: desmos

𝑧 𝑒 = sin 2πœŒπ‘’ + 1 3 sin(2𝜌 β‹… 3𝑒)

slide-10
SLIDE 10

10

Ti Time me v

  • vs. Fr

. Freque quency D ncy Doma mains ns

1

  • 1

2 4 time signal strength 1

  • 1

2 4 signal strength frequency Time Domain Representation Γ  plots amplitude as a function

  • f time

Frequency Domain Representation Γ  plots each sine wave’s peak amplitude against its frequency Demo: Equalizer

slide-11
SLIDE 11

11

Fo Fourier Analysis

  • Any periodic signal can be represented

as a sum of sinusoids

  • known as a Fourier Series
  • E.g., a square wave:

+ + + + … =

Joseph Fourier (1768-1830)

Demo: Fourier Series

slide-12
SLIDE 12

12

Fo Fourier Analysis

  • Every periodic signal consists of
  • DC component
  • AC components
  • Fundamental frequency (f0)
  • Harmonics (multiples of f0)

DC component AC components

fundamental frequency 3rd harmonic 5th harmonic

…

slide-13
SLIDE 13

13

Fo Fourier Series: Representations

  • Magnitude-phase form
  • Sine-cosine (in-phase/quadrature) form
  • Complex exponential form (Euler's formula)

Notes: cn are complex numbers π‘˜ = βˆ’1 𝑓!π›Š = cos π›Š + π‘˜ sin π›Š

𝑦 𝑒 = 𝑑! + &

"#$ %

[𝑑" cos(2πœŒπ‘”

!π‘œπ‘’ + 𝜚")]

𝑦 𝑒 = 𝑏! + &

"#$ %

[𝑏" cos 2πœŒπ‘”

!π‘œπ‘’ + 𝑐" sin 2πœŒπ‘” !π‘œπ‘’ ]

𝑦 𝑒 = &

"#&% %

𝑑"𝑓'()*

!"+

Demo Demo Demo

slide-14
SLIDE 14

14

Fr Freque quency ncy Spe Spect ctrum um

Th The frequency spectrum of a sig ignal l describ ibes the dis istrib ibutio ion of si signal's s power into

  • frequency

cy com

  • mpon
  • nents
slide-15
SLIDE 15

15

Bandw Bandwidt idth o h of Signal and Channel Signal and Channel

  • Signal bandwidth

<highest freq of signal> – <lowest freq of signal>

  • Channel (medium) bandwidth

<highest freq allowed> – <lowest freq allowed>

slide-16
SLIDE 16

16

Ex Example

  • What is the bandwidth of this signal?
  • A channel allows frequencies from 4000 to 7000 Hz to
  • pass. Can the above signal pass through?

𝑦 𝑒 = 2 + sin 2000πœŒπ‘’ + 1 3 sin(6000πœŒπ‘’)

slide-17
SLIDE 17

17

Lo Low-Pa Pass and Band-Pa Pass Channels

  • Low-pass channel
  • Band-pass channel

frequency f1 f2 gain frequency f1 gain

slide-18
SLIDE 18

18

Ba Base seband vs.

  • s. Br

Broa

  • adband
  • In baseband transmission, a digital signal is transmitted
  • ver a channel directly
  • A low-pass channel is required
slide-19
SLIDE 19

19

Ba Base seband vs.

  • s. Br

Broa

  • adband
  • In broadband transmission, a digital signal gets modulated

into an analog signal

  • The signal can pass through a band-pass channel
slide-20
SLIDE 20

20

1 1 1 1

t amplitude 1 sec

Pr Properties of Digital Signals

  • Bit rate – number of bits per second
  • Symbol rate – number of signal level changes per second
  • Symbol interval – time duration of one symbol

01 00 10 11

t amplitude 1 sec One bit per symbol #symbols = 2 Bit rate = 8 bps Symbol rate = 8 symbols/s (baud) Symbol interval = 1/8 s Two bits per symbol #symbols = 4 Bit rate = 8 bps Symbol rate = 4 symbols/s (baud) Symbol interval = 1/4 s

slide-21
SLIDE 21

21

Di Digital vs.

  • s. Analog
  • g Ba

Bandwidth th

  • Digital bandwidth
  • Expressed in bits per second (bps)
  • Analog bandwidth
  • Expressed in Hertz (Hz)

Bi Bit rate and bandwidth are proportional to each other

slide-22
SLIDE 22

22

1 1 1

fmax = 3 Hz

Di Digital vs.

  • s. Analog
  • g Ba

Bandwidth th

  • Allowing one harmonic to pass

1 1 1 1 1 1

1 sec

Bit rate = 6

Digital

1 1 1

Bit rate = 6

1 1 1 1 1 1

f = 0 Hz

Analog

slide-23
SLIDE 23

23

Bi Bit t Rate: Noi

  • ise

seless ss Ch Channels

  • Nyquist Theorem
  • Bit rate in bps (i.e., digital bandwidth)
  • Bandwidth in Hz (i.e., analog bandwidth)
  • L – number of signal levels

Harry Nyquist (1889-1976)

𝐢𝑗𝑒 𝑆𝑏𝑒𝑓 = 2Γ—πΆπ‘π‘œπ‘’π‘₯π‘—π‘’π‘’β„ŽΓ— log8 𝑀

slide-24
SLIDE 24

24

Ex Example: Ny Nyquis ist Th Theor

  • rem
  • We need to send 265 kbps over a noiseless channel with a

bandwidth of 20 kHz. How many signal levels do we need?

  • Solution: From Nyquist Theorem
  • Since this result is not a power of 2, we need to either

increase the number of levels or reduce the bit rate.

  • If we have 128 levels, the bit rate is 280 kbps.
  • If we have 64 levels, the bit rate is 240 kbps.

265,000 = 2Γ—20,000Γ— log8 𝑀 log8 𝑀 = 6.625 𝑀 = 29.98; = 98.7 levels

slide-25
SLIDE 25

25

Tr Transmission Impairments

  • Attenuation
  • Signal strength falls off with distance
  • The higher the frequency, the higher the attenuation
  • Distortion
  • Noise
  • Thermal, crosstalk, impulse

Channel

slide-26
SLIDE 26

26

Re Relative Signal Strength

  • Measured in Decibel (dB)
  • P1 and P2 are signal powers at points 1 and 2, respectively
  • Positive dB Β¨ signal is amplified (gains strength)
  • Negative dB Β¨ signal is attenuated (loses strength)

Point 1 Point 2

𝑒𝐢 = 10 log<= 𝑄8 𝑄

<

slide-27
SLIDE 27

27

Ex Example – dBm dBm Po Power Unit

  • dBm (decibel-milliwatts) is the power ratio in decibels

compared to 1 milliwatt of power

  • Calculate the power of a signal with -30 dBm power level
  • Solution:

𝑒𝐢𝑛 = βˆ’30 = 10 log<= 𝑄

>

log<= 𝑄

> = βˆ’3

𝑄

> = 10?@ mW

slide-28
SLIDE 28

28

Li Link Bu Budget

Ac Accou

  • unti

ting of

  • f all gains and los
  • sses of
  • f signal power th

throu

  • ughou
  • ut

t th the e signal's 's path th

𝑆𝑦 𝑄𝑝π‘₯𝑓𝑠 𝑒𝐢 = π‘ˆπ‘¦ 𝑄𝑝π‘₯𝑓𝑠 𝑒𝐢 + π»π‘π‘—π‘œπ‘‘ 𝑒𝐢 βˆ’ 𝑀𝑝𝑑𝑑𝑓𝑑 (𝑒𝐢)

Cable

Sender Receiver

Tx Power Cable loss Rx Power

TX Amplifier RX Amplifier Sender Receiver

Tx Power Rx Power Tx amp gain Rx amp gain Tx antenna gain Rx antenna gain path loss

slide-29
SLIDE 29

29

Ex Example: Ca Cable L Loss

  • 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
  • f 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 𝑒𝐢 = 10 log#$ 𝑄% 𝑄

#

= βˆ’1.5 𝑄% 𝑄

#

= 10&$.#( = 0.71 𝑄% = 0.71𝑄

# = 0.71Γ—2 = 1.4 mW

slide-30
SLIDE 30

30

Si Signa gnal-to to-No Nois ise R Ratio io

  • A measurement of signal reception's quality

𝑇𝑂𝑆 = 𝑄𝑝π‘₯𝑓𝑠

NOPQRS

𝑄𝑝π‘₯𝑓𝑠

QTONU

𝑇𝑂𝑆(𝑒𝐢) = 𝑄𝑝π‘₯𝑓𝑠

NOPQRS 𝑒𝐢 βˆ’ 𝑄𝑝π‘₯𝑓𝑠 QTONU(𝑒𝐢)

slide-31
SLIDE 31

31

Ex Example – SN SNR

  • The power of a signal is 10 mW and the power of the noise

is 1 ΞΌW; what are the values of SNR and SNRdB ?

  • Solution: the values of SNR and SNRdB can be calculated as

follows

𝑇𝑂𝑆 = 10,000 Β΅W 1 mW = 10,000 𝑇𝑂𝑆)* = 10 log#$ 10,000 = 40

slide-32
SLIDE 32

32

Da Data Rate: Noi

  • isy Ch

Channels

  • Shannon's Capacity
  • Capacity (maximum bit rate) in bps
  • Bandwidth in Hz
  • SNR – Signal-to-Noise Ratio

Claude Elwood Shannon (1916-2001)

π·π‘π‘žπ‘π‘‘π‘—π‘’π‘§ = πΆπ‘π‘œπ‘’π‘₯π‘—π‘’π‘’β„ŽΓ— log%(1 + 𝑇𝑂𝑆)

slide-33
SLIDE 33

33

Ex Example – Sha Shanno nnon' n's C Capa paci city

  • A telephone line normally has a bandwidth of 3000. The

signal-to-noise ratio is usually 3162. Calculate the theoretical highest bit rate of a regular telephone line.

  • Solution:

𝐷 = 𝐢 log% 1 + 𝑇𝑂𝑆 = 3000 log% 1 + 3162 = 34,860 bps

slide-34
SLIDE 34

34

Ex Example – Sh Shannon + Nyquist

  • We have a channel with a 1-MHz bandwidth. The SNR for

this channel is 63. What are the appropriate bit rate and signal level?

  • Solution
  • First, use the Shannon capacity
  • followed by the Nyquist formula

𝐷 = 𝐢 log% 1 + 𝑇𝑂𝑆 = 10+ log% 1 + 63 = 6 Mbps 6 Mbps = 2Γ—1 MHzΓ— log% 𝑀 𝑀 = 8

The Shannon capacity gives us the upper limit; the Nyquist formula tells us how many signal levels we need.

slide-35
SLIDE 35

35

Ne Network P k Performance mance

  • Bandwidth
  • Analog – Hertz
  • Digital – Bits per second (bps)
  • Throughput
  • Actual data rate
  • Latency (delay)
  • Time it takes for an entire message to completely arrive at the

destination

slide-36
SLIDE 36

36

La Latency

  • Composed of
  • Propagation time
  • Transmission time
  • Queuing time
  • Processing time

Entire message transmission time propagation time

slide-37
SLIDE 37

37

Tr Transmission Latency

Time Time Sender Receiver Last bit leaves First bit leaves Last bit arrives First bit arrives Propagation time Transmission time Data bits

slide-38
SLIDE 38

38

Summa Summary

  • Data need to take form of signal to be transmitted
  • Frequency domain representation of signal allows easier

analysis

  • Fourier analysis
  • Medium's bandwidth limits certain frequencies to pass
  • Bit rate is proportional to bandwidth
  • Signals get impaired by attenuation, distortion, and noise