leo lam © 2010-2013 signals and systems ee235. courtesy of phillip leo lam © 2010-2013

21
Leo Lam © 2010-2013 Signals and Systems EE235

Upload: tristan-croll

Post on 31-Mar-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Signals and Systems

EE235

Page 2: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Courtesy of Phillip

Page 3: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Today’s menu

• Fourier Series

Page 4: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series

4

• Fourier Series/Transform: Build signals out of complex exponentials

• Established “orthogonality”• x(t) to X(jw)• Oppenheim Ch. 3.1-3.5• Schaum’s Ch. 5

Page 5: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Orthogonality

5

• Vectors as a sum of orthogonal unit vectors• Signals as a sum of orthogonal unit signals

• How much of x and of y to add?

• x and y are orthonormal (orthogonal and normalized with unit of 1)

x

y a = 2x + y

of x

of ya

Page 6: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Orthogonality in signals

6

• Signals as a sum of orthogonal unit signals• For a signal f(t) from t1 to t2

• Orthonormal set of signals x1(t), x2(t), x3(t) … xN(t)

of

of

of

Does it equal f(t)?

Page 7: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Signal representation

7

• For a signal f(t) from t1 to t2

• Orthonormal set of signals x1(t), x2(t), x3(t) … xN(t)

• Let

• Error:

of

of

of

Page 8: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Signal representation

8

• For a signal f(t) from t1 to t2

• Error:

• Let {xn} be a complete orthonormal basis • Then:

• Summation series is an approximation• Depends on the completeness of basis

Does it equal f(t)?

of

of

of Kind of!

Page 9: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Parseval’s Theorem

9

• Compare to Pythagoras Theorem

• Parseval’s Theorem

• Generally:

c

a

b

Energy of vector Energy of

each oforthogonalbasis vectors

All xn are orthonormal vectors with energy = 1

Page 10: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Fourier Series: Orthonormal basis

10

• xn(t) – orthonormal basis:– Trigonometric functions (sinusoids)– Exponentials– Wavelets, Walsh, Bessel, Legendre etc...

Fourier Series functions

Page 11: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Trigonometric Fourier Series

11

• Set of sinusoids: fundamental frequency w0

Note a change in index

Page 12: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Trigonometric Fourier Series

12

• Orthogonality check:

for m,n>0

))cos()(cos(2

1)cos()cos( yxyxyx

Page 13: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Trigonometric Fourier Series

13

• Similarly:

Also true: prove it to yourself at home:

Page 14: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Trigonometric Fourier Series

14

• Find coefficients:

The average value of f(t) over one period (DC offset!)

Page 15: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Trigonometric Fourier Series

15

• Similarly for:

Page 16: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Compact Trigonometric Fourier Series

16

• Compact Trigonometric:• Instead of having both cos and sin:• Recall:

Expand and equate to the LHS

Page 17: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Compact Trigonometric to est

17

• In compact trig. form:

• Remember goal: Approx. f(t)Sum of est

• Re-writing:

• And finally:

Page 18: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Compact Trigonometric to est

18

• Most common form Fourier Series• Orthonormal: ,• Coefficient relationship:

• dn is complex:

• Angle of dn:

• Angle of d-n:

Page 19: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

So for dn

19

• We want to write periodic signals as a series:

• And dn:

• Need T and w0 , the rest is mechanical

00 0( ) 2 /jn t

nn

x t d e T

T

tjnn dtetfT

d 0)(1

Page 20: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Harmonic Series

20

• Building periodic signals with complex exp.

• Obvious case: sums of sines and cosines1. Find fundamental frequency2. Expand sinusoids into complex exponentials (“CE’s”)3. Write CEs in terms of n times the fundamental frequency4. Read off cn or dn

00 0( ) 2 /jn t

nn

x t d e T

Page 21: Leo Lam © 2010-2013 Signals and Systems EE235. Courtesy of Phillip Leo Lam © 2010-2013

Leo Lam © 2010-2013

Harmonic Series

21

• Example:

• Expand:

0( ) 1 cos(5 .6) 5, 2 / 5x t t T

Fundamental freq.

0 0

(.6) (.6)0 0 0

( .6) ( .6)

0

1( ) 1 ( )

21 1

2 2

j j

j t j t

t j t j t

x t e e

e e e e e

0 1d 0.61 0.5 jd e

0.61 0.5 jd e