16
Leo Lam © 2010-2011 Signals and Systems EE235

Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Embed Size (px)

Citation preview

Page 1: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Signals and Systems

EE235

Page 2: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Today’s menu

• Yesterday: Exponentials• Today: Linear, Constant-Coefficient Differential

Equation

Page 3: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

LCCDE, what will we do

3

• Why do we care?• Because it is everything!

• Represents LTI systems• Solve it: Homogeneous Solution + Particular Solution• Test for system stability (via characteristic equation)• Relationship between HS (Natural Response) and Impulse response• Using exponentials est

Page 4: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Circuit example

4

• Want to know the current i(t) around the circuit• Resistor

• Capacitor

• Inductor

R L

C

E(t) = E 0 s in t

RIER

C

QEC

dt

dQI

dt

dILEL

Page 5: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Circuit example

5

• Kirchhoff’s Voltage Law (KVL)

R L

C

E(t) = E 0 s in t

RIER

C

QEC

dt

dILEL

tEC

QRI

dt

dIL sin0

tEdt

dQ

Cdt

dIR

dt

IdL cos1

02

2

tEICdt

dIR

dt

IdL cos1

02

2

output

input

Page 6: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Differential Eq as LTI system

6

• Inputs and outputs to system T have a relationship defined by the LTI system:

• Let “D” mean d()/dt

Tx(t) y(t)

(a2D2+a1D+a0)y(t)=(b2D2+b1D+b0)x(t)Defining

Q(D)Defining

P(D)

Page 7: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Differential Eq as LTI system (example)

7

• Inputs and outputs to system T have a relationship defined by the LTI system:

• Let “D” mean d()/dt

Tx(t) y(t)

Page 8: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Differential Equation: Linearity

8

• Define:

• Can we show that:

• What do we need to prove?

dt

tytydbtxktxkaty

))()(()()()( 21

2211

Page 9: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Differential Equation: Time Invariance

9

• System works the same whenever you use it• Shift input/output – Proof• Example:

• Time shifted system:• Time invariance?• Yes: substitute t for t (time shift the input)

dt

tdxty

)()(

dt

ttdxtty

)()( 00

d

dxy

)()(

Page 10: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Differential Equation: Time Invariance

10

• Any pure differential equation is a time-invariant system:

• Are these linear/time-invariant?Linear, time-invariant

Linear, not TI

Non-Linear, TI

Linear, time-invariant

Linear, time-invariant

Linear, not TI

Page 11: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

LTI System response

11

• A little conceptual thinking• Time: t=0

• Linear system: Zero-input response and Zero-state output do not affect each other

TUnknown past Initial conditionzero-input response (t)

TInput x(t) zero-state output (t)

Total response(t)=Zero-input response (t)+Zero-state output(t)

Page 12: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Zero input response

12

• General nth-order differential equation

• Zero-input response: x(t)=0

• Solution of the Homogeneous Equation is the natural/general response/solution or complementary function

Homogeneous Equation

Page 13: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Zero input response (example)

13

• Using the first example:

• Zero-input response: x(t)=0

• Need to solve:

• Solve (challenge)n for “natural response”

Page 14: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Zero input response (example)

14

• Solve

• Guess solution:

• Substitute:

• One term must be 0:

Characteristic Equation

Page 15: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Zero input response (example)

15

• Solve

• Guess solution:

• Substitute:

• We found:

• Solution:

Characteristic roots = natural frequencies/

eigenvalues

Unknown constants:Need initial conditions

Page 16: Leo Lam © 2010-2011 Signals and Systems EE235. Leo Lam © 2010-2011 Today’s menu Yesterday: Exponentials Today: Linear, Constant-Coefficient Differential

Leo Lam © 2010-2011

Summary

• Differential equation as LTI system• Complete example tomorrow