37
SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications Signals and Single Sideband 7/22/2010 1

I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Embed Size (px)

Citation preview

Page 1: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

S H A R L E N E K A T Z

D A V I D S C H W A R T Z

J A M E S F L Y N N

I and Q Components in Communications Signals

and Single Sideband

7/22/2010

1

Page 2: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

OVERVIEW

Description of I and Q signal representation

Advantages of using I and Q components

Using I and Q to demodulate signals

I and Q signal processing in the USRP

Single Sideband (SSB)

Processing I and Q components of a SSB signal in the USRP

7/22/2010

2

Page 3: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Standard Representation of Communications Signals

Modulation Time Domain Frequency Domain

AM

DSB

FM

XAM(f)

f-fc fc

7/22/2010

3

Page 4: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

I and Q are the In-phase and Quadrature components of a signal.

Complete description of a signal is:

x(t) can therefore be represented as a vector with magnitude and phase angle.

Phase angle is not absolute, but relates to some arbitrary reference.

( ) ( ) ( )x t I t jQ t

7/22/2010

4

Page 5: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

In Digital Signal Processing (DSP), ultimate reference is local sampling clock.

DSP relies heavily on I and Q signals for processing. Use of I and Q allows for processing of signals near DC or zero frequency.

If we use “real” signals (cosine) to shift a modulated signal to baseband we get sum and difference frequencies

If we use a “complex” sinusoid to shift a modulated signal to baseband we ONLY get the sum

This avoids problems with images

7/22/2010

5

Page 6: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

Nyquist frequency is twice highest frequency, not twice bandwidth of signal.

For example: common frequency used in analog signal processing is 455 kHz. To sample in digital processing, requires 910 kS/s. But if the signal bandwidth is only 10 kHz. With I & Q, sampling requires only 20 kS/s.

7/22/2010

6

Page 7: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

I and Q allows discerning of positive and negative frequencies.

If :

Then:

( )H f a jb

( )H f a jb

7/22/2010

7

Page 8: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

Representing familiar characteristics of a signal with I and Q:

• Amplitude:

• Phase:

• Frequency:

2 2( ) ( ) ( )A t I t Q t

1 ( )( ) tan

( )

Q tt

I t

2 2

( ) ( )( ) ( )

( )( )

( ) ( )

Q t I tI t Q t

t t tf tt I t Q t

7/22/2010

8

Page 9: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

DEMODULATION

AM:

SSB:

FM:

PM:

2 2( ) ( ) ( )x t i t q t

( ) ( )x t i t

11 ( ) ( 1) ( ) ( 1)( ) tan

( ) ( 1) ( ) ( 1)

i t q t q t i tx t

t i t i t q t q t

1 ( )( ) tan

( )

q tx t

i t

7/22/2010

9

Page 10: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Overview of I and Q Representation

The traditional FM equation:

The analytic equation:

Modulation and Demodulation methods are different when I and Q representation is used

( ) cos( ( ) )FM c mx t t k x t dt

( ) ( )cos( ) ( )sin( )FM c cx t I t t jQ t t

7/22/2010

10

Page 11: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

USRP DAUGHTER BOARD

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/2010

11

Page 12: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

FPGA

I

Q

complexmultiply

sin ωf tn

cos ωf tn

decimate

decimate

n = sample number

I

Q

To USB and PC

7/22/2010

12

Page 13: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Complex Multiply

I

Qcos (ωf tn )

cos (ωf tn )I

Q

(A + j B) * (C + j D) = AC – BD + j (BC + AD)

I + j Qcosft +

sinft 7/22/2010

13

Page 14: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Sideband Modulation

7/22/2010

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?

14

Page 15: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

AM Review

7/22/2010

AM review:

Carrier is modulated by varying amplitude linearly proportional to intelligence (baseband) signal amplitude.

Block Diagram

m x +

Accosct

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

15

Page 16: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

AM: Time Domain

7/22/2010

AM in the Time Domain

Unmodulatedcarrier

100% modulated carrier

16

Page 17: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

AM: Frequency Domain

7/22/2010

AM in the Frequency Domain

carrier

upper sideband

lower sideband

17

Page 18: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Double Sideband Modulation (DSB)

7/22/2010

Let’s just transmit the sidebands

m x

Accosct

x(t) +

X

xDSB(t) = Ac*m*x(t)*cosct

18

Page 19: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

DSB: Time Domain

7/22/2010

Double Sideband in the Time Domain

19

Page 20: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

DSB: Frequency Domain

7/22/2010

Double Sideband in the Frequency Domain

carrier was here

upper sideband

lower sideban

d

20

Page 21: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Example of a DSB Signal

7/22/2010

21

Page 22: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

DSB Spectrum

7/22/2010

Note: the upper and lower sidebands are the same

Do we need both of them?carrier was here

upper sideband

lower sideband

22

Page 23: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Signals

7/22/2010

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

x

Accosct

x(t)Lower

Sideband Filter

Low Pass Filter

f

f f

f

23

Page 24: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Example of a USB Signal

7/22/2010

24

Page 25: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Comparison of DSB and SSB

7/22/2010

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

25

Page 26: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

Start with arbitrary waveform in baseband:

7/22/2010

26

Page 27: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

Modulate as Upper Sideband Signal:

7/22/2010

27

Page 28: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/201028

Page 29: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/2010

29

Page 30: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/201030

Page 31: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/201031

Page 32: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

cos ωc t

sin ωc t

LPF

LPF

ADC

ADC

AMP

7/22/201032

Page 33: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

complexmultiply

sin ωf tn

cos ωf tn

decimate

decimate

n = sample number

I

Q

To USB and PC

7/22/201033

Page 34: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

complexmultiply

sin ωf tn

cos ωf tn

decimate

decimate

n = sample number

I

Q

To USB and PC

7/22/201034

Page 35: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

complexmultiply

sin ωf tn

cos ωf tn

decimate

decimate

n = sample number

I

Q

To USB and PC

7/22/201035

Page 36: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

SSB Example

I

Q

complexmultiply

sin ωf tn

cos ωf tn

decimate

decimate

n = sample number

I

Q

To USB and PC

7/22/201036

Page 37: I and Q Components in Communications Signals and …skatz/katzpage/sdr_project/sdr/IandQ _and_Sideband… · SHARLENE KATZ DAVID SCHWARTZ JAMES FLYNN I and Q Components in Communications

Practical SSB Reception

7/22/2010

37

Example above assumed no other signals on the band and perfectly synchronized oscillators

Need to isolate (filter) the signal of interest and deal with oscillators slightly out of sync

GRC tutorial demonstrates Weaver’s Method of demodulating SSB that solves these problems