Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single...

24
Introduction to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08

Transcript of Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single...

Page 1: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Introduction to Modulation: Double Sideband (DSB) and Single

Sideband(SSB) Sharlene Katz James Flynn

9/16/08

Page 2: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Overview

9/16/08

  Review of AM   Double Sideband (DSB)   Single Sideband (SSB)   Locating and Demodulating Sideband Signals

Page 3: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Sideband Modulation

9/16/08

  Where’s the intelligence?   A signal carries useful information only when it changes.   Change of ANY carrier parameter produces sidebands.   The intelligence or information is in the sidebands.

  Why not just send the sidebands or just a sideband?

Page 4: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

AM Review

9/16/08

  AM review:   Carrier is modulated by varying amplitude linearly proportional

to intelligence (baseband) signal amplitude.   Block Diagram

m x +

Accosωct

x(t) xAM(t)=Ac [1+mx(t)]cos ωct

Page 5: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

AM: Time Domain

9/16/08

  AM in the Time Domain

Unmodulated carrier

100% modulated carrier

Page 6: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

AM: Frequency Domain

9/16/08

  AM in the Frequency Domain

carrier

upper sideband

lower sideband

Page 7: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Double Sideband Modulation (DSB)

9/16/08

  Let’s just transmit the sidebands

m x

Accosωct

x(t) +

X

xDSB(t) = Ac*m*x(t)*cosωct

Page 8: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

DSB: Time Domain

9/16/08

  Double Sideband in the Time Domain

Page 9: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

DSB: Frequency Domain

9/16/08

  Double Sideband in the Frequency Domain

carrier was here

upper sideband

lower sideband

Page 10: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Example of a DSB Signal

9/16/08

Page 11: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Demodulating DSB

9/16/08

  Will the AM envelope detector work?

Baseband signal

Envelope detector output

NO!

DEMO

Page 12: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Demodulating DSB

9/16/08

  Need a synchronous detector

  This is provided by the USRP

x

cosωct

xDSB(t) = Acx(t)cosωct Low Pass

Filter €

Acx(t)cos2ωct =

Acx(t)2

1+ cos2ωct[ ]

~x(t)

x

cosωct xDSB(t) = Acx(t)cosωct

Low Pass Filter ~x(t)

x

sinωct

Low Pass Filter

I

Q

This should give baseband signal output

Page 13: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Demodulating DSB

9/16/08

  Problem: carrier is not perfectly synchronized with local oscillator

x

cosωct xDSB(t) = Acx(t)cos[(ωc +Δw)t+Φ]

Low Pass Filter

~x(t)cos(Δwt+Φ)

x

sinωct

Low Pass Filter

I

Q

Demo: output = I+Q

~x(t)sin(Δwt+Φ)

Results in amplitude variations

Page 14: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

AM versus DSB: Power Considerations

9/16/08

  Do the math – for tone modulation:   AM: PAM = 0.5Ac

2 + 0.25m2Ac2

  For AM, less than 33% of the power is in the sidebands   For DSB, 100% of the power is the sidebands

Carrier power

Sideband power

Efficiency, η =

14m2Ac

2

12Ac

2 +14m2Ac

2=

m2

2 + m2 <13

Page 15: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

DSB Spectrum

9/16/08

  Note: the upper and lower sidebands are the same   Do we need both of them?

carrier was here

upper sideband

lower sideband

Page 16: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

SSB Signals

9/16/08

  A sideband signal is obtained by adding a sideband filter to capture the upper or lower sideband.

x

Accosωct

x(t) Lower

Sideband Filter

Low Pass Filter

f f f

f

Page 17: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Example of a LSB Signal

9/16/08

DEMO

Page 18: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Comparison of DSB and SSB

9/16/08

  Power: SSB requires half of the power of DSB   Bandwidth: SSB requires half of the bandwidth of DSB   Complexity: SSB modulators/demodulators are more

complex

Page 19: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Looking at Signals

9/16/08

  A data file is captured using the USRP with a decimation factor of 8 (64Msps/8=8Msps)

  Using the following MATLAB commands: >> oursig=read_complex_binary(’data_complex.dat');

>> N=length(oursig);

>> fs=8000000;

>> ourspectrum=fft(oursig);

>> ourspectrum=fftshift(ourspectrum);

>> fvalues=(fs/N)*[-N/2+1:N/2];

>> plot(fvalues,abs(ourspectrum));

Page 20: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Looking at Signal

9/16/08

  The following plot results:

Page 21: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Finding LSB Signals

9/16/08

  The data file: hf_7200khz_256_complex.dat contains 256KHz of spectrum centered at 7.2MHz

  Using MATLAB we can plot this spectrum: >> hfsig=read_complex_binary('hf_7200khz_256_complex.dat');

>> N=length(hfsig);

>> fs=256000;

>> hfspectrum=fft(hfsig);

>> hfspectrum=fftshift(hfspectrum); >> fvalues=(fs/N)*[-N/2+1:N/2];

>> plot(fvalues,abs(hfspectrum));

Page 22: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Finding LSB signals

9/16/08

  This results in:

Page 23: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Finding LSB Signals

9/16/08

  Expanding on a range of frequencies:

Page 24: Introduction to Modulation: Double Sideband … to Modulation: Double Sideband (DSB) and Single Sideband(SSB) Sharlene Katz James Flynn 9/16/08 Overview 9/16/08 ...

Listening to this Signal

9/16/08

  Use the program: ssb_rcv_file.py   Download this file and the data file   Run the program with: ./ssb_rcv_file.py hf_7200khz_256_complex.dat 30000

1500 l You should hear a signal – find other signals by changing the

frequency offset