10
1 Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation of CT periodic signals 3. How do we calculate the Fourier coefficients? 4. Convergence and Gibbs’ Phenomenon “Figures and images used in these lecture notes by permission, copyright 1997 by Alan V. Oppenheim and Alan S. Willsky” 2 The eigenfunctions φ k (t) and their properties (Focus on CT systems now, but results apply to DT systems as well.) System φ k (t ) λ k { φ k (t ) { eigenvalue eigenfunction Eigenfunction in same function out with a “gain” From the superposition property of LTI systems: LTI x (t ) = a k φ k (t ) k y(t ) = λ k a k φ k (t ) k Now the task of finding response of LTI systems is to determine λ k . The solution is simple, general, and insightful.

Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

1

1

Signals and SystemsSpring 2004

Lecture #5

(2/19/04)

1. Complex Exponentials as Eigenfunctions of LTI Systems

2. Fourier Series representation of CT periodic signals3. How do we calculate the Fourier coefficients?

4. Convergence and Gibbs’ Phenomenon

“Figures and images used in these lecture notes by permission,copyright 1997 by Alan V. Oppenheim and Alan S. Willsky”

2

The eigenfunctions φk(t) and their properties(Focus on CT systems now, but results apply to DT systems as well.)

System

φk (t) λk{ φk(t){

eigenvalue eigenfunction

Eigenfunction in → same function out with a “gain”

From the superposition property of LTI systems:

LTIx(t) = akφk (t)k∑ y(t ) = λkakφk (t)

k∑

Now the task of finding response of LTI systems is to determine λk.The solution is simple, general, and insightful.

Page 2: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

2

3

Two Key Questions

1. What are the eigenfunctions of a general LTI system?

2. What kinds of signals can be expressed assuperpositions of these eigenfunctions?

4

A specific LTI system can have more than one type of eigenfunction

Ex. #1: Identity system

x(t) δ(t) x(t) ∗δ(t) = x(t)

Any function is an eigenfunction for this LTI system.

x(t) δ(t − T) x(t − T )

Any periodic function x(t) = x(t+T) is an eigenfunction.

Ex. #2: A delay

cosωt h(t) = h(−t) y(t)Ex. #3: h(t) even

y(t) = h(τ) cos[ω(t −τ )]dτ =−∞

∫ h(τ )[cosωt ⋅ cosωτ + sinωt ⋅ sinωτ)]dτ−∞

∫= cosωt h(τ )cosωτdτ

−∞

∫H( jω )

1 2 4 4 4 3 4 4 4 — cosωt is an eigenfunction

Page 3: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

3

5

Complex Exponentials are the only Eigenfunctions of any LTI Systems

y(t) = h(τ )−∞

+∞

∫ es( t−τ )dτ

= h(τ )−∞

+∞

∫ e−sτdτ[ ]est= H (s){est{

x(t) = est h( t)

x[n] = zn h[n]

y[n]= h[m]zn−mm=−∞

∞∑= h[m]z−m

m= −∞

∞∑[ ]zn= H(z){ zn{

eigenvalue eigenfunction

eigenvalue eigenfunction

6

System Functions H(s) or H(z) – Eigenvalues fornow, and more about them later

H(z) = h[n]z− nn=−∞

∞∑x[n] = akzkn∑ → y[n] = H (zk )akzkn∑

H (s) = h( t)e− stdt−∞

∫x(t) = ake

sk t∑ → y(t ) = H(sk )akesk t∑

x(t) h(t) y(t)est H(s)est

x[n] h[n] y[n]zn H(z)zn

CT:

DT:

Page 4: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

4

7

Question 2. What kinds of signals can werepresent as “sums” of complex exponentials?

s = jω - purely imaginary ,i.e. signals of the form e jωt

z = e jω , i.e. signals of the form e jωn

For Now: Focus on restricted sets of complex exponentials

CT & DT Fourier Series and Transforms

CT:

DT:

8

Joseph Fourier (1768-1830)

Page 5: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

5

9

Fourier Series Representation of CT Periodic Signals

x(t) = x(t + T ) for all t

ωo =2πT

e jωt periodic with period T ⇔ ω = kωo

x(t) = akejkω 0t

k=−∞

+∞

∑ = akejk2πt /Tk= −∞

+∞

-periodic with period T- {ak} are the Fourier (series) coefficients- k = 0 DC- k = ±1 first harmonic- k = ±2 second harmonic

- smallest such T is the fundamental period

- is the fundamental frequency

10

• For real periodic signals, there are two other commonly usedforms for CT Fourier series:

x(t) = ao + αk coskωot + βk sinkωot[ ]k =1

∑or

x(t) = ao + γ k cos(kωot +θk )[ ]k =1

e jkω 0t , e− jkω 0t

• Because of the eigenfunction property of ejωt, we will only use thecomplex exponential form in 6.003.

–– A nontrivial consequence of this is that we need to includeterms for both positive and negative frequencies:

Page 6: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

6

11

Let’s first take a detour by studying a three-dimensional vector:

How do we find the coefficients Ax, Ay, and Az?

Easy,Project the vector onto the x-, y-, and z-axis.

Why does it work this way?

Orthogonality:

Question: How do we find the Fourier coefficients?

r A = Ax ˆ x + Ay ˆ y + Az ˆ z ,ˆ x , ˆ y , and ˆ z are unit vectors.

Ax =r A • ˆ x , Ay =

r A • ˆ y , and Az =

r A • ˆ z .

ˆ y • ˆ x = ˆ z • ˆ y = ˆ x • ˆ z ≡ 0Ax

Ay

Az

r A

12

Now let’s imagine that x(t) is a vector in a space of ∞-dimensionsand is a unit vector in this space. (Such aspace does exist, it is called Hilbert space, just nobody livesthere.) Then,

Now all we need to do is to “project” x(t) onto the ,then we will obtain the coefficients ak. How to do that? Again,need orthogonality.

e jkωot (k = 0, ±1, ± 2, ...)

e jkωot − axis

Back to Fourier series

x(t) = akejkωot

k = −∞

+∞

∑ , with the analog y

x(t)↔r A

e jkωot ↔ ˆ x , ˆ y , ˆ z ak ↔ Ax,Ay,Az

Page 7: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

7

13

Obtaining the Fourier series coefficientsOrthogonality in the Hilbert space:

1T

e jkωot ⋅ e− jnωotT∫ dt =

1T

e j(k−n )ωotT∫ dt =

1, k = n0, k ≠ n

= δ[k − n] .(

T∫ = integral over any interval of length T, and the operation of

1T

e− jnω otT∫ dt ⋅ is to take an "inner product" with e jnωot )

Now if we "project" x(t) onto e jnω ot by taking the operation :

1T

x(t) ⋅ e− jnω otT∫ dt =

1T

akk = −∞

+∞

∑ e j(k−n )ωotT∫ dt,

then only one term (an ) will be nonzero. That is :

1T

x(t) ⋅ e− jnω otT∫ dt = an .

14

Finally

1T

x(t) ⋅ e− jnωotT∫ dt = an .

CT Fourier Series Pair (ωo = 2π /T)

x(t) = akejkωot

k=−∞

+∞

∑ (Synthesis equation)

ak =1T

x(t)e− jkωotdt (Analysis equation)T∫

Page 8: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

8

15

ao =1T

x(t)dt = 2T1T−T / 2

T / 2

k ≠ 0 ak =1T

x(t)e− jkω 0tdt = 1T−T / 2

T / 2

∫ e− jkω0tdt−T1

T1

(ωo =2πT): = −

1jkωot

e− jkω0t −T1T1 =

sin(kωoT1)kπ

Example: Periodic Square Wave

16

Convergence of CT Fourier Series

• How can the Fourier series (composed of continuous sine andcos functions) for the square wave (with many discontinuities)possibly make sense?

• The key is: What do we mean by

• One useful notion for engineers: there is no energy in thedifference

(just need x(t) to have finite energy per period)

x(t) = akejkω 0t

k =−∞

+∞

∑ ?

e(t) = x(t) − akejkω 0t

k= −∞

+∞

| e(t) |2 dt = 0T∫

Page 9: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

9

17

Under a different, but reasonable set of conditions(the Dirichlet conditions)

Condition 1. x(t) is absolutely integrable over one period, i. e.

| x(t) | dt < ∞T∫

Condition 2. In a finite time interval,x(t) has a finite number ofmaxima and minima.

Ex. An example that violatesCondition 2.

Condition 3. In a finite time interval, x(t) has only a finite number of discontinuities.

Ex. An example that violatesCondition 3.€

x(t) = sin(2π / t) 0 < t ≤1

18

The Dirichlet Conditions (cont.)

Dirichlet conditions are met for most of the signals we willencounter in the real world. Then

– The Fourier series = x(t) at points where x(t) is continuous

– The Fourier series = “midpoint” at points of discontinuity

• Still, convergence has some interesting characteristics:

– As N → ∞, xN(t) exhibits Gibbs’ phenomenon at pointsof discontinuity

xN (t) = akejkω0 t

k= −N

N

Page 10: Signals and Systems - University of Manchester...Signals and Systems Spring 2004 Lecture #5 (2/19/04) 1. Complex Exponentials as Eigenfunctions of LTI Systems 2. Fourier Series representation

10

19

Demo: Fourier Series for CT square wave (Gibbs phenomenon).