Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts...

23
Chapter 3 Digital Transmission Fundamentals Modems and Digital Modulation CSE 3213, Winter 2010 Instructor: Foroohar Foroozan

Transcript of Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts...

Page 1: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

Chapter 3Digital Transmission

FundamentalsModems and

Digital Modulation

CSE 3213, Winter 2010Instructor: Foroohar Foroozan

Page 2: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

Modulation of Digital Data

Page 3: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

3

Modulation – process of converting digital data or a low-pass analog signal to band-pass (higher-frequency) analog signal

Digital-to-analog modulation.

Analog-to-analog modulation.

– aka carrier frequency - modulated signal - high frequencysignal that acts as a basis for the information signal

• information signal is called modulating signal

freq

bandpass channel

Modulation of Digital Data

Page 4: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

Bandpass Channels

Bandpass channels pass a range of frequencies around some center frequency fc

Radio channels, telephone & DSL modemsDigital modulators embed information into waveform with frequencies passed by bandpass channelSinusoid of frequency fc is centered in middle of bandpass channelModulators embed information into a sinusoid

fc – Wc/2 fc0 fc + Wc/2

Page 5: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

Digital To Analog Modulation– process of changing one of the characteristics of an analog signal (typically a

sinewave) based on the information in a digital signal

• sinewave is defined by three characteristics (amplitude, frequency, and phase) ⇒digital data (binary 0 and 1) can be represented by varying any of the three

• application: transmission of digital data over telephone wire (modem)

Page 6: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

6

– strength of the carrier signal is varied to represent binary 1 or 0

• both frequency and phase remain constant while the amplitude changes• commonly, one of the amplitudes is zero

• demodulation: only the presence or absence of a sinusoid in a giventime interval needs to be determined

• advantage: simplicity

• disadvantage: ASK is very susceptible to noise interference – noiseusually (only) affects the amplitude, therefore ASK is the modulation technique most affected by noise

• application: ASK is used to transmit digital data over optical fiber

⎩⎨⎧

=⎩⎨⎧

=1binary t),fAcos(20binary 0,

1binary t),fcos(2A0binary t),fcos(2A

s(t)cc 1

c0

πππ

+A

-A

Amplitude Modulation ASK

Page 7: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

7

Example [ ASK ]

vd(t)

vc(t)

vASK(t)

How does the frequency spectrum of vASK(t) look like!?

fvd(f) vc(f)

Amplitude Modulation (Cont.)

Page 8: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

8

ASK-Modulated Signal: Frequency Spectrum

t)cos(ωt)fcos(2(t)v ccc == π

⎥⎦⎤

⎢⎣⎡ −+−+⋅= ...tcos5ω

5π2tcos3ω

3π2tcosω

π2

21A(t)v 000d

Carrier signal: , where 2πfc=ωc

Digital signal:(unipolar!!!)

ωc ωωd_max

Modulated signal:

( ) ( )[ ]

( ) ( )[ ] ...t3ωωcost3ωωcos3π1

-tωωcostωωcosπ1tcosω

21

...tcos3ωtcosω3π2-tcosωtcosω

π2tcosω

21

...tcos5ω5π2tcos3ω

3π2tcosω

π2

21tcosω

(t)v(t)v(t)v

0c0c

0c0cc

0c0cc

000c

dcASK

+++−−

++−+=

=+⋅⋅+=

=⎥⎦⎤

⎢⎣⎡ −+−+⋅=

=⋅=

( )B)cos(AB)-cos(A21cosBcosA ++=⋅

ωc ωωc+ωd_maxωc-ωd_max

Amplitude Modulation (Cont.)

Page 9: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

9

– frequency of the carrier signal is varied to represent binary 1 or 0• both peak amplitude and phase remain constant during each bit interval

• demodulation: demodulator must be able to determine which of two possible frequencies is present at a given time

• advantage: FSK is less susceptible to errors than ASK – receiver islooking for specific frequency changes over a number ofintervals, so voltage (noise) spikes can be ignored

• disadvantage: FSK spectrum is 2 x ASK spectrum• application: over voice lines, in high-frequency radio transmission, etc.

⎩⎨⎧

=1binary t),fAcos(20binary t),fAcos(2

s(t)2

1

ππ

f1<f2

+A

-A

Frequency ModulationFSK

Page 10: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

10

Example [ FSK ]

vd(t)

vc1(t)

vc2(t)

vFSK(t)

ω1 ωωd_max ω2ω1 ωω1-ωd_max

ω2 ω2+ωd_max

Frequency Modulation (Cont.)

Page 11: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

11

FSK-Modulated Signal: Frequency Spectrum

(t)vdDigital signal: - modulated with ω1 , and

- modulated with ω2

Modulated signal:

( ) ( )[ ]

( ) ( )[ ]

( ) ( )[ ]

( ) ( )[ ] ++++−+

++−−

++++−−

++−+=

=

=⎥⎦⎤

⎢⎣⎡ −−+−⋅+

+⎥⎦⎤

⎢⎣⎡ −+−+⋅=

=−⋅+⋅=

...t3ωωcost3ωωcos3π1

-tωωcostωωcosπ1tcosω

21

...t3ωωcost3ωωcos3π1

-tωωcostωωcosπ1tcosω

21

...tcos5ω5π2tcos3ω

3π2tcosω

π2

21tcosω

...tcos5ω5π2tcos3ω

3π2tcosω

π2

21tcosω

(t))vtcosω(t)vtcosω(t)v

0202

02022

0101

01011

0002

0001

d2d1FSK

...

1(

(t)v1-(t)'v dd =

Frequency Modulation (Cont.)

Page 12: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

12

PSK – phase of the carrier signal is varied to represent binary 1 or 0

• peak amplitude and frequency remain constant during each bit interval

• example: binary 1 is represented with a phase of 0º, while binary 0is represented with a phase of 180º=πrad ⇒ PSK is equivalent to multiplying the carrier signal by +1 when the information is 1, and by

-1 when the information is 0

• demodulation: demodulator must be able to determine the phase ofreceived sinusoid with respect to some reference phase

• advantage: PSK is less susceptible to errors than ASK, while itrequires/occupies the same bandwidth as ASK

more efficient use of bandwidth (higher data-rate) are possible, compared to FSK !!!

• disadvantage: more complex signal detection / recovery process, thanin ASK and FSK

⎩⎨⎧

+=

0binary ),tfAcos(21binary t),fAcos(2

s(t)c

c

πππ2-PSK, or

Binary PSK, since only 2

different phases are used.

+A

-A

⎩⎨⎧

=0binary t),fAcos(2-1binary t),fAcos(2

s(t)c

c

ππ

Phase Modulation

Page 13: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

13

Example [ PSK ]

vd(t)

vc(t)

vPSK(t)

ωc ωωd_max ωc ωωc+ωd_maxωc-ωd_max

Phase Modulation (Cont.)

Page 14: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

14

PSK Detection / Recovery – multiply the received / modulated signalby 2*cos(2πfct)

• resulting signal

• by removing the oscillatory part with alow-pass filter, the original baseband signal(i.e. the original binary sequence) can beeasily determined

[ ] 1binary , t)fcos(41At)f(22Acos cc2 ππ +=

[ ] 0binary , t)fcos(41At)f(22Acos- cc2 ππ +−=

t)fAcos(2 cπ±( )2A cos1

21Acos2 +=

Phase Modulation (Cont.)

Page 15: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

15

1 1 1 10 01 1 1 10 0Information

BasebandSignal

+A

-A0 T 2T 3T 4T 5T 6T

+A

-A0 T 2T 3T 4T 5T 6T

+A

-A0 T 2T 3T 4T 5T 6T

+A

-A0 T 2T 3T 4T 5T 6T

ModulatedSignal

x(t)

A cos(2πft) -A cos(2πft)

After multiplicationat receiver

x(t) cos(2πfct)

+A

-A0 T 2T 3T 4T 5T 6T

+A

-A0 T 2T 3T 4T 5T 6T

A {1 + cos(4πft)} -A {1 + cos(4πft)}

Basebandsignal discernable

after smoothing

+A

-A0 T 2T 3T 4T 5T 6T

sender

receiver

Signal shifted above / below zero level.

Phase Modulation (Cont.)

Page 16: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

Signaling rate and Transmission Bandwidth

Fact from modulation theory:

Baseband signal x(t)with bandwidth B Hz

If

then B

fc+B

f

ffc-B fc

Modulated signal x(t)cos(2πfct) has bandwidth 2B Hz

If bandpass channel has bandwidth Wc Hz, Then baseband channel has Wc/2 Hz available, somodulation system supports Wc/2 x 2 = Wc pulses/second

Recall baseband transmission system of bandwidth Wc [Hz] cantheoretically support 2 Wc pulses/sec

Page 17: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

17

QPSK = 4-PSK – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 differentsignals are generated, each representing 2 bits

• advantage: higher data rate than in PSK (2 bits per bitinterval), while bandwidth occupancy remains the same

• 4-PSK can easily be extended to 8-PSK, i.e. n-PSK

• however, higher rate PSK schemes are limited by the abilityof equipment to distinguish small differences in phase

⎪⎪⎪

⎪⎪⎪

+

+

+=

11binary ),2

3tfAcos(2

10binary ),tfAcos(2

01binary ),2

tfAcos(2

00binary t),fAcos(2

s(t)

c

c

c

c

ππ

ππ

ππ

π

Phase Modulation (Cont.)

Page 18: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

18

– uses “two-dimensional” signalling• original information stream is split into two sequences thatconsist of odd and even symbols, e.g. Bk and Ak

• Ak sequence (in-phase component) is modulated by , while Bksequence (quadrature-phase component) is modulated by

• composite signal is sent through the channel

• advantage: data rate = 2 bits per bit-interval!

B1 B2 B3A1 A2 A3 …

Ak x

cos(2πfct)

Yi(t) = Ak cos(2πfct)

Bk x

sin(2πfct)

Yq(t) = Bk sin(2πfct)

+

TransmittedSignal

Y(t) = Ak cos(2πfct) + Bk sin(2πfct)

t)fcos(2 cπt)fsin(2 cπ

t)fsin(2Bt)fcos(2A ckck ππ +

1 -1 1 1 -1 1 …1 0 1 1 0 1 …

Quadrature Amplitude Modulation (QAM)

Page 19: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

19

Example [ QAM ]

Bk

vd(t)

Ak

sin(ωct)

cos(ωct)

QAM (Cont.)

Page 20: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

20

QAM Demodulation

• by multiplying Y(t) by and then low-passfiltering the resultant signal, sequence Bk is obtained

t)fsin(22 cπ⋅

=+ t)fsin(2Bt)fcos(2A ckck ππ

( )cos(2A)121(A)cos2 +=

( )cos(2A)121(A)sin2 −=

(A)2sin(A)cossin(2A) =

Y(t) x

2cos(2πfct)2Akcos2(2πfct)+2Bk cos(2πfct)sin(2πfct)

= Ak {1 + cos(4πfct)}+Bk {0 + sin(4πfct)}

Lowpassfilter

(smoother)Ak

2Bk sin2(2πfct)+2Ak cos(2πfct)sin(2πfct)= Bk {1 - cos(4πfct)}+Ak {0 + sin(4πfct)}

x

2sin(2πfct)

Bk

Lowpassfilter

(smoother)

smoothed to zero

smoothed to zero

Y(t) x

2cos(2πfct)2Akcos2(2πfct)+2Bk cos(2πfct)sin(2πfct)

= Ak {1 + cos(4πfct)}+Bk {0 + sin(4πfct)}

Lowpassfilter

(smoother)Ak

x

2cos(2πfct)2Akcos2(2πfct)+2Bk cos(2πfct)sin(2πfct)

= Ak {1 + cos(4πfct)}+Bk {0 + sin(4πfct)}

Lowpassfilter

(smoother)Ak

2Bk sin2(2πfct)+2Ak cos(2πfct)sin(2πfct)= Bk {1 - cos(4πfct)}+Ak {0 + sin(4πfct)}

x

2sin(2πfct)

Bk

Lowpassfilter

(smoother)x

2sin(2πfct)

Bk

Lowpassfilter

(smoother)

smoothed to zero

smoothed to zero

• by multiplying Y(t) by and then low-passfiltering the resultant signal, sequence Ak is obtained

t)fcos(22 cπ⋅

QAM (Cont.)

Page 21: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

21

Constellation Diagram – used to represents possible symbols that maybe selected by a given modulation scheme aspoints in 2-D plane

• X-axis is related to in-phase carrier: cos(ωct)

the projection of the point on the X-axis definesthe peak amplitude of the in-phase component

• Y-axis is related to the quadrature carrier: sin(ωct)

the projection of the point on the Y-axis definesthe peak amplitude of the quadrature component

• the length of the line that connects the point to theorigin is the peak amplitude of the signal element(combination of X and Y components)• the angle the line makes with the X-axis is the phase of the signal element

Signal Constellations

Page 22: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

22

QAM cont. – QAM can also be seen as a combination of ASK and PSK

( ) )ABtantfcos(2BAt)fsin(2Bt)fcos(2AY(t)

k

k1-ckkckck ++=+= πππ 2

122

Ak

Bk

(A, A)

(A,-A)(-A,-A)

(-A,A)

Ak

Bk

Ak

Bk

(A, A)

(A,-A)(-A,-A)

(-A,A)

4-level QAM

QAM (Cont.)

Page 23: Chapter 3 Digital Transmission - York University · 2010-02-03 · – PSK that uses phase shifts of 90º=π/2 rad ⇒ 4 different. signals are generated, each representing 2 bits

23

Ak

Bk

Ak

Bk

16-level QAM – the number of bits transmitted per T [sec] interval can befurther increased by increasing the number of levels used

• in case of 16-level QAM, Ak and Bk individually can assume4 different levels: -1, -1/3, 1/3, 1

• data rate: 4 bits/pulse ⇒ 4W bits/second

( ) )ABtantfcos(2BAt)fsin(2Bt)fcos(2AY(t)

k

k1-ckkckck ++=+= πππ 2

122

In QAM various combinations of amplitude and phase are employed to achieve higher digital data rates.

Amplitude changes are susceptible to noise ⇒ the number of phase shifts used by a QAM system is always greater than the number of amplitude shifts.

Ak and Bk individually can take on 4 different values;the resultant signal can takeon (only) 3 different values!!!

QAM (Cont.)