13
1 CSE 3213, W14 1 L14: Modulation Sebastian Magierowski York University L14: Modulation SC/CSE 3213 Winter 2014 CSE 3213, W14 2 Review Passband Modulation ASK, FSK, PSK Constellations Outline L14: Modulation

L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

1

CSE 3213, W14 1

L14: Modulation

Sebastian Magierowski York University

L14: Modulation

SC/CSE 3213 Winter 2014

CSE 3213, W14 2

•  Review •  Passband Modulation

–  ASK, FSK, PSK

•  Constellations

Outline

L14: Modulation

Page 2: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

2

CSE 3213, W14 3

•  Attempting to send a sequence of digits through a continuous channel

•  Not easy… •  …modulerize the design

Underlying Idea

L14: Modulation

channel 1101011 1101011

CSE 3213, W14 4

•  Map symbols into analog waveforms that match characteristics of channel

–  spectral shape –  location (carrier)

Continuous-Time Communication

L14: Modulation

channel coder tx filter channel rx filter channel

decoder

symbols waveforms

Page 3: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

3

CSE 3213, W14 5

•  Basic implementation

•  Time and spectral characteristics (Nyquist criterion satisfied)

Simple Baseband Modulator (Pulse Shaper)

L14: Modulation

coder tx filter channel rx filter decoder

coder sinc FIR channel sampler decoder

[Razavi12]

CSE 3213, W14 6

•  What is the bit-rate relative to the spectrum used: •  Simple 2-level baseband modulation 2 bits/s•Hz •  or 2 symbols/s•Hz

Spectral Efficiency

L14: Modulation

2fs•log2(M) fs

v =

bit-rate bandwidth

v =

bits s • Hz

[ ]

Page 4: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

4

CSE 3213, W14 7

•  What if the channel is not baseband?

•  Replace DC 1/0 representation… •  …with AC representation… •  Have 3 ways to modulate a sinusoid: Accos(ωct + φ)

Passband Modulation

L14: Modulation

fc – fs fc 0 fc + fs

time

time

CSE 3213, W14 8

Modulator in a Communication System

L14: Modulation

line coder tx filter

channel

sampler

line decoder

modulator

rx filter de-modulator

Page 5: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

5

CSE 3213, W14 9

•  Accos(ωct + φ) •  Map bits into amplitude of sinusoid: “1” send sinusoid; “0” no sinusoid

•  Demodulator looks for signal vs. no signal

Amplitude Modulation

L14: Modulation

Information 1 1 1 1 0 0

+1

-1 0 T 2T 3T 4T 5T 6T

Amplitude Shift Keying

t

CSE 3213, W14 10

•  Accos(ωct + φ) •  Map bits into frequency: “1” send frequency fc + δ ; “0”

send frequency fc - δ •  Demodulator looks for power around fc + δ or fc - δ

Frequency Modulation

L14: Modulation

+1

-1 0 T 2T 3T 4T 5T 6T

t

Information 1 1 1 1 0 0

Frequency Shift Keying

Page 6: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

6

CSE 3213, W14 11

•  Map bits into phase of sinusoid: –  “1” send A cos(2πft) , i.e. phase is 0 –  “0” send A cos(2πft+π) , i.e. phase is π

•  Equivalent to multiplying cos(2πft) by +A or -A –  “1” send A cos(2πft) , i.e. multiply by 1 –  “0” send A cos(2πft+π) = - A cos(2πft) , i.e. multiply by -1

•  We will focus on phase modulation

(Binary) Phase Modulation

L14: Modulation

+1

-1

Binary Phase Shift Keying (BPSK) 0 T 2T 3T 4T 5T 6T t

Information 1 1 1 1 0 0

CSE 3213, W14 12

•  Simplest and most dominant case, multiply symbol by a carrier

•  Modulate cos(2πfct) by multiplying by Ak for T seconds:

AM Modulator

L14: Modulation

Ak x

cos(2πfct)

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

Transmitted signal during kth interval

coder modulator channel de-modulator decoder

Ak Yi(t)

Page 7: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

7

CSE 3213, W14 13

•  Demodulate (recover Ak) by multiplying by 2cos(2πfct) for T seconds and lowpass filtering (smoothing):

AM Demodulator

L14: Modulation

x

2cos(2πfct) 2Ak cos2(2πfct) = Ak {1 + cos(2π2fct)}

Lowpass Filter

(Smoother) Xi(t) Yi(t) = Akcos(2πfct)

Received signal during kth interval

coder modulator channel de-modulator decoder

Xi(t) Yi(t)

CSE 3213, W14 14

Example of Modulation

L14: Modulation

1 1 1 1 0 0

+A

-A 0 T 2T 3T 4T 5T 6T

Information

Baseband Signal

Modulated Signal x(t)

+A

-A 0 T 2T 3T 4T 5T 6T

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

Page 8: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

8

CSE 3213, W14 15

Example of Demodulation

L14: Modulation

1 1 1 1 0 0 Recovered Information

Baseband signal discernable after smoothing

After multiplication at receiver x(t)2cos(2πfct)

+A

-A 0 T 2T 3T 4T 5T 6T

+A

-A 0 T 2T 3T 4T 5T 6T

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

CSE 3213, W14 16

•  Fact from modulation theory:

•  If bandpass channel has bandwidth fs Hz, –  It’s baseband version has bandwidth is fs/2 Hz, so… –  …modulation system supports fs/2 x 2 = fs symbols/second –  That is, fs symbols/second per fs Hz = 1 symbols/s•Hz –  Recall baseband transmission system supports 2 symbols/s•Hz !!!

Signaling Rate and Transmission Bandwidth

L14: Modulation

Baseband signal x(t) with bandwidth fs/2 Hz

If

then fs/2

fc + fs/2

f

f fc – fs/2 fc

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

Page 9: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

9

CSE 3213, W14 17

•  QAM uses two-dimensional signaling –  Ak modulates in-phase cos(2πfct) –  Bk modulates quadrature phase cos(2πfct + π/4) = sin(2πfct) –  Transmit sum of in-phase & quadrature phase components

•  Yi(t) and Yq(t) both occupy the bandpass channel •  QAM sends 2 symbols/s•Hz

Quadrature Amplitude Modulation (QAM)

L14: Modulation

Ak x

cos(2πfct)

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

Bk x

sin(2πfct)

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

+ Y(t) Transmitted Signal

CSE 3213, W14 18

•  Serial-to-parallel converter distributes input bits

•  Two bits sent simultaneously

QAM Signal Mapping

L14: Modulation [Razavi12]

Page 10: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

10

CSE 3213, W14 19

QAM Demodulation

L14: Modulation

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)}

Lowpass filter (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

Lowpass filter (smoother)

smoothed to zero

smoothed to zero

CSE 3213, W14 20

•  Convenient to write modulated signals in “quadrature” form…

–  “in-phase” and “quadrature” components •  And to plot it as a signal constellation in the complex

place… –  Plot samples of in-phase terms along real axis –  Plot samples of quadrature terms along imaginary axis

Signal Constellations

L14: Modulation

y(t) = yi(t) cos(2⇡fct) + yq(t) sin(2⇡fct)

Page 11: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

11

CSE 3213, W14 21

•  For example… yBPSK(t) = ancos(ωct), an = ±1

BPSK Constellation

L14: Modulation

only the in-phase term is present

two possible amplitudes

[Razavi12]

CSE 3213, W14 22

•  Both terms present –  In-phase and quadrature

yQAM(t) = ancos(ωct) + bnsin(ωct) , an,bn = ±1

4-QAM Constellation

L14: Modulation

an

bn

(a, b)

(a,-b) (-a,-b)

(-a,b)

Page 12: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

12

CSE 3213, W14 23

•  With 4-QAM –  bits represented per symbol: N = 2

–  Constellation points: M = 2N = 4

•  Many other possibilities (rectangular constellation) –  N = 3,4,5,... –  Even N preferred (easier coder)

•  Increasing N requires more power

Larger QAM Constellations

L14: Modulation

Quadrature Amplitude Modulation

QPSK 2 bits /symbolSymbol Rate = 1/2 bit 64 QAMSymbol Rate 1/2 bit rate 64 QAM

6 bits /symbolSymbol Rate = 1/6 bit rate

16 QAM 4 bits /symbol

Symbol Rate = 1/4 bit rate

32 QAM 5 bits /symbol

128 QAM 7 bits /symbolSymbol Rate = 1/7 bit

Symbol Rate = 1/5 bit rate

Symbol Rate = 1/7 bit rate

Page 9

X-Series Spectrum Analyzers Seminar 2010

Quadrature Amplitude Modulation

QPSK 2 bits /symbolSymbol Rate = 1/2 bit 64 QAMSymbol Rate 1/2 bit rate 64 QAM

6 bits /symbolSymbol Rate = 1/6 bit rate

16 QAM 4 bits /symbol

Symbol Rate = 1/4 bit rate

32 QAM 5 bits /symbol

128 QAM 7 bits /symbolSymbol Rate = 1/7 bit

Symbol Rate = 1/5 bit rate

Symbol Rate = 1/7 bit rate

Page 9

X-Series Spectrum Analyzers Seminar 2010

Quadrature Amplitude Modulation

QPSK 2 bits /symbolSymbol Rate = 1/2 bit 64 QAMSymbol Rate 1/2 bit rate 64 QAM

6 bits /symbolSymbol Rate = 1/6 bit rate

16 QAM 4 bits /symbol

Symbol Rate = 1/4 bit rate

32 QAM 5 bits /symbol

128 QAM 7 bits /symbolSymbol Rate = 1/7 bit

Symbol Rate = 1/5 bit rate

Symbol Rate = 1/7 bit rate

Page 9

X-Series Spectrum Analyzers Seminar 2010

Quadrature Amplitude Modulation

QPSK 2 bits /symbolSymbol Rate = 1/2 bit 64 QAMSymbol Rate 1/2 bit rate 64 QAM

6 bits /symbolSymbol Rate = 1/6 bit rate

16 QAM 4 bits /symbol

Symbol Rate = 1/4 bit rate

32 QAM 5 bits /symbol

128 QAM 7 bits /symbolSymbol Rate = 1/7 bit

Symbol Rate = 1/5 bit rate

Symbol Rate = 1/7 bit rate

Page 9

X-Series Spectrum Analyzers Seminar 2010

Quadrature Amplitude Modulation

QPSK 2 bits /symbolSymbol Rate = 1/2 bit 64 QAMSymbol Rate 1/2 bit rate 64 QAM

6 bits /symbolSymbol Rate = 1/6 bit rate

16 QAM 4 bits /symbol

Symbol Rate = 1/4 bit rate

32 QAM 5 bits /symbol

128 QAM 7 bits /symbolSymbol Rate = 1/7 bit

Symbol Rate = 1/5 bit rate

Symbol Rate = 1/7 bit rate

Page 9

X-Series Spectrum Analyzers Seminar 2010

M = 4 M = 16 M = 32 M = 64 M = 128 L = 2 L = 4 L = 6 L = 8 L = 12

CSE 3213, W14 24

•  A common variant •  Conceptually, vary phase of signal based on symbol

(already saw this)

•  Constant amplitude

Phase-Shift Keying (PSK)

L14: Modulation

ancos(ωct + kπ/N), k = integer

an

bn

an

bn

4-PSK QPSK QAM 4-QAM

8-PSK π/4-QPSK

Page 13: L14: Modulation - York University · L14: Modulation coder tx filter channe l rx filter decoder coder sinc FIR channe l sampler decoder [Razavi12] CSE 3213, W14 6 • What is the

13

CSE 3213, W14 25

•  Just 2 QAM modulators –  phase shifted relative to each other –  top modulator has both cos/sin always active –  bottom modulator has either cos/sin active

π/4-QPSK Modulator

L14: Modulation [Razavi12]