Continuous-time systems 1 March 2, 2015 Continuous-time systems 1 - - PowerPoint PPT Presentation

continuous time systems 1
SMART_READER_LITE
LIVE PREVIEW

Continuous-time systems 1 March 2, 2015 Continuous-time systems 1 - - PowerPoint PPT Presentation

Linear differential equations Laplace transform Solving LDEs with the Laplace transform Continuous-time systems 1 March 2, 2015 Continuous-time systems 1 Linear differential equations Laplace transform Solving LDEs with the Laplace transform


slide-1
SLIDE 1

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Continuous-time systems 1

March 2, 2015

Continuous-time systems 1

slide-2
SLIDE 2

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

1

Linear differential equations

2

Laplace transform

3

Solving LDEs with the Laplace transform

Continuous-time systems 1

slide-3
SLIDE 3

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Outline

1

Linear differential equations

2

Laplace transform

3

Solving LDEs with the Laplace transform

Continuous-time systems 1

slide-4
SLIDE 4

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 1/2

Linear differential equations (LDE) are of the following form: L[y(t)] = f (t), where L is some linear operator.

Continuous-time systems 1

slide-5
SLIDE 5

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 1/2

Linear differential equations (LDE) are of the following form: L[y(t)] = f (t), where L is some linear operator. The linear operator L is of the following form: Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i , with given functions A1:n.

Continuous-time systems 1

slide-6
SLIDE 6

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 1/2

Linear differential equations (LDE) are of the following form: L[y(t)] = f (t), where L is some linear operator. The linear operator L is of the following form: Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i , with given functions A1:n. The order of a LDE is the index of the highest derivative of y.

Continuous-time systems 1

slide-7
SLIDE 7

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 2/2

Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i = f (t). y is a scalar function → ordinary differential equation (ODE)

Continuous-time systems 1

slide-8
SLIDE 8

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 2/2

Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i = f (t). y is a scalar function → ordinary differential equation (ODE) y is a vector function → partial differential equation (PDE)

Continuous-time systems 1

slide-9
SLIDE 9

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 2/2

Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i = f (t). y is a scalar function → ordinary differential equation (ODE) y is a vector function → partial differential equation (PDE) f = 0 → homogeneous equation → solutions are called complementary functions

Continuous-time systems 1

slide-10
SLIDE 10

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Linear differential equations: definitions 2/2

Ln(y) =

n

  • i=0

Ai(t)dn−iy dtn−i = f (t). y is a scalar function → ordinary differential equation (ODE) y is a vector function → partial differential equation (PDE) f = 0 → homogeneous equation → solutions are called complementary functions if A0:n(t) are constants (ie. not functions of time), the LDE is said to have constant coefficients

Continuous-time systems 1

slide-11
SLIDE 11

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Example: radioactive decay 1/2

Let N(t) be the number of radioactive atoms at time t, then: dN(t) dt = −kN(t), for some constant k > 0.

Continuous-time systems 1

slide-12
SLIDE 12

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Example: radioactive decay 1/2

Let N(t) be the number of radioactive atoms at time t, then: dN(t) dt = −kN(t), for some constant k > 0. This is a first order homogeneous LDE with constant coefficients.

Continuous-time systems 1

slide-13
SLIDE 13

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Example: radioactive decay 2/2

Continuous-time systems 1

slide-14
SLIDE 14

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 1/3

Solutions of LDEs must be of the form ezt with z ∈ C.

Continuous-time systems 1

slide-15
SLIDE 15

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 1/3

Solutions of LDEs must be of the form ezt with z ∈ C. We assume an LDE with constant coefficients:

n

  • i=0

Aiy(n−i) = 0.

Continuous-time systems 1

slide-16
SLIDE 16

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 1/3

Solutions of LDEs must be of the form ezt with z ∈ C. We assume an LDE with constant coefficients:

n

  • i=0

Aiy(n−i) = 0. Replacing y = ezt leads to:

n

  • i=0

Aizn−iezt = 0

Continuous-time systems 1

slide-17
SLIDE 17

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 1/3

Solutions of LDEs must be of the form ezt with z ∈ C. We assume an LDE with constant coefficients:

n

  • i=0

Aiy(n−i) = 0. Replacing y = ezt leads to:

n

  • i=0

Aizn−iezt = 0 Dividing by ezt yields the nth order characteristic polynomial: F(z) =

n

  • i=0

Aizn−i = 0.

Continuous-time systems 1

slide-18
SLIDE 18

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 2/3

Characteristic equation: F(z) =

n

  • i=0

Aizn−i = 0.

Continuous-time systems 1

slide-19
SLIDE 19

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 2/3

Characteristic equation: F(z) =

n

  • i=0

Aizn−i = 0.

1 Solving the polynomial F(z) yields n zeros z1 to zn. 2 Substituting a given zero zi into ezt gives a solution ezit. Continuous-time systems 1

slide-20
SLIDE 20

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 2/3

Characteristic equation: F(z) =

n

  • i=0

Aizn−i = 0.

1 Solving the polynomial F(z) yields n zeros z1 to zn. 2 Substituting a given zero zi into ezt gives a solution ezit.

Homogeneous LDEs obey the superposition position: → any linear combination of solutions ez1t,. . . ,eznt is a solution

Continuous-time systems 1

slide-21
SLIDE 21

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 2/3

Characteristic equation: F(z) =

n

  • i=0

Aizn−i = 0.

1 Solving the polynomial F(z) yields n zeros z1 to zn. 2 Substituting a given zero zi into ezt gives a solution ezit.

Homogeneous LDEs obey the superposition position: → any linear combination of solutions ez1t,. . . ,eznt is a solution → ez1t,. . . ,eznt form a basis of the solution space of the LDE

Continuous-time systems 1

slide-22
SLIDE 22

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 2/3

Characteristic equation: F(z) =

n

  • i=0

Aizn−i = 0.

1 Solving the polynomial F(z) yields n zeros z1 to zn. 2 Substituting a given zero zi into ezt gives a solution ezit.

Homogeneous LDEs obey the superposition position: → any linear combination of solutions ez1t,. . . ,eznt is a solution → ez1t,. . . ,eznt form a basis of the solution space of the LDE The specific linear combination depends on initial conditions.

Continuous-time systems 1

slide-23
SLIDE 23

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 3/3

Example: y(4)(t) − 2y(3)(t) + 2y(2)(t) − 2y(1)(t) + y(t) = 0.

Continuous-time systems 1

slide-24
SLIDE 24

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 3/3

Example: y(4)(t) − 2y(3)(t) + 2y(2)(t) − 2y(1)(t) + y(t) = 0. This is a 4th order homogeneous LDE with constant coefficients.

Continuous-time systems 1

slide-25
SLIDE 25

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 3/3

Example: y(4)(t) − 2y(3)(t) + 2y(2)(t) − 2y(1)(t) + y(t) = 0. This is a 4th order homogeneous LDE with constant coefficients. The corresponding characteristic equation: F(z) = z4 − 2z3 + 2z2 − 2z + 1 = 0.

Continuous-time systems 1

slide-26
SLIDE 26

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 3/3

Example: y(4)(t) − 2y(3)(t) + 2y(2)(t) − 2y(1)(t) + y(t) = 0. This is a 4th order homogeneous LDE with constant coefficients. The corresponding characteristic equation: F(z) = z4 − 2z3 + 2z2 − 2z + 1 = 0. The zeros of F(z) are (j = √−1): z1 = j, z2 = −j, z3,4 = 1.

Continuous-time systems 1

slide-27
SLIDE 27

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving homogeneous LDEs with constant coefficients 3/3

Example: y(4)(t) − 2y(3)(t) + 2y(2)(t) − 2y(1)(t) + y(t) = 0. This is a 4th order homogeneous LDE with constant coefficients. The corresponding characteristic equation: F(z) = z4 − 2z3 + 2z2 − 2z + 1 = 0. The zeros of F(z) are (j = √−1): z1 = j, z2 = −j, z3,4 = 1. These zeros correspond to the following basis functions t: ejt, e−jt, et, tet.

Continuous-time systems 1

slide-28
SLIDE 28

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Outline

1

Linear differential equations

2

Laplace transform

3

Solving LDEs with the Laplace transform

Continuous-time systems 1

slide-29
SLIDE 29

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

The Laplace transform

The Laplace transform of f (t), for all real numbers t ≥ 0: F(s) = L

  • f (t)
  • =

∞ e−stf (t)dt.

Continuous-time systems 1

slide-30
SLIDE 30

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

The Laplace transform

The Laplace transform of f (t), for all real numbers t ≥ 0: F(s) = L

  • f (t)
  • =

∞ e−stf (t)dt. The parameter s = σ + jω is the complex number frequency.

Continuous-time systems 1

slide-31
SLIDE 31

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

The Laplace transform

The Laplace transform of f (t), for all real numbers t ≥ 0: F(s) = L

  • f (t)
  • =

∞ e−stf (t)dt. The parameter s = σ + jω is the complex number frequency. The initial value theorem states f (0+) = lims→∞ sF(s).

Continuous-time systems 1

slide-32
SLIDE 32

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

The Laplace transform

The Laplace transform of f (t), for all real numbers t ≥ 0: F(s) = L

  • f (t)
  • =

∞ e−stf (t)dt. The parameter s = σ + jω is the complex number frequency. The initial value theorem states f (0+) = lims→∞ sF(s). The final value theorem states f (∞) = lims→0 sF(s), if all poles of sF(s) are in the left half plane (ie. real part < 0).

Continuous-time systems 1

slide-33
SLIDE 33

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s)

Continuous-time systems 1

slide-34
SLIDE 34

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0)

Continuous-time systems 1

slide-35
SLIDE 35

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0) integration t

0 f (τ)dτ = (u ∗ f )(t) 1 s F(s)

Continuous-time systems 1

slide-36
SLIDE 36

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0) integration t

0 f (τ)dτ = (u ∗ f )(t) 1 s F(s)

convolution (f ∗ g)(t) = t

0 f (τ)g(t − τ)dτ

F(s) · G(s)

Continuous-time systems 1

slide-37
SLIDE 37

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0) integration t

0 f (τ)dτ = (u ∗ f )(t) 1 s F(s)

convolution (f ∗ g)(t) = t

0 f (τ)g(t − τ)dτ

F(s) · G(s) time scaling f (at)

1 aF( s a)

Continuous-time systems 1

slide-38
SLIDE 38

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0) integration t

0 f (τ)dτ = (u ∗ f )(t) 1 s F(s)

convolution (f ∗ g)(t) = t

0 f (τ)g(t − τ)dτ

F(s) · G(s) time scaling f (at)

1 aF( s a)

time shifting f (t − a)u(t − a) e−asF(s)

Continuous-time systems 1

slide-39
SLIDE 39

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Important properties of the Laplace transform

property time domain s-domain linearity af (t) + bg(t) aF(s) + bG(s) differentiation f (1)(t) sF(s) − f (0) integration t

0 f (τ)dτ = (u ∗ f )(t) 1 s F(s)

convolution (f ∗ g)(t) = t

0 f (τ)g(t − τ)dτ

F(s) · G(s) time scaling f (at)

1 aF( s a)

time shifting f (t − a)u(t − a) e−asF(s) with u(t) = t

∞ δ(t)dt (Heaviside) and δ(t) the Dirac delta.

Continuous-time systems 1

slide-40
SLIDE 40

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Inverse Laplace transform

The inverse Laplace transform converts s-domain to time domain: f (t) = L−1{F(s)} = 1 j2π γ+jT

γ−jT

estF(s)ds.

Continuous-time systems 1

slide-41
SLIDE 41

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Inverse Laplace transform

The inverse Laplace transform converts s-domain to time domain: f (t) = L−1{F(s)} = 1 j2π γ+jT

γ−jT

estF(s)ds. Practically, the inverse Laplace transform takes two steps:

1 write F(s) in terms of partial fractions 2 transform each term in the partial fraction

based on tables of s/t-domain pairs (course notes p 4.32-4.33)

Continuous-time systems 1

slide-42
SLIDE 42

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Outline

1

Linear differential equations

2

Laplace transform

3

Solving LDEs with the Laplace transform

Continuous-time systems 1

slide-43
SLIDE 43

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 1/3

The Laplace transform can be used to solve LDEs with given initial conditions (the previous approach gave us the basis functions).

Continuous-time systems 1

slide-44
SLIDE 44

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 1/3

The Laplace transform can be used to solve LDEs with given initial conditions (the previous approach gave us the basis functions). This is done by using the following property (differentiation): L{f (1)} = sF(s) − f (0), L{f (2)} = s2F(s) − sf (0) − f (1)(0).

Continuous-time systems 1

slide-45
SLIDE 45

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 1/3

The Laplace transform can be used to solve LDEs with given initial conditions (the previous approach gave us the basis functions). This is done by using the following property (differentiation): L{f (1)} = sF(s) − f (0), L{f (2)} = s2F(s) − sf (0) − f (1)(0). Via induction, the Laplace transform of the nth order derivative: L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0)

Continuous-time systems 1

slide-46
SLIDE 46

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 2/3

L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0)

Continuous-time systems 1

slide-47
SLIDE 47

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 2/3

L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0) We want to solve the following LDE:

n

  • i=0

Aiy(n−i)(t) = f (t), y(i)(0) = ci ∀i = 0 . . . n.

Continuous-time systems 1

slide-48
SLIDE 48

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 2/3

L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0) We want to solve the following LDE:

n

  • i=0

Aiy(n−i)(t) = f (t), y(i)(0) = ci ∀i = 0 . . . n. Via the linearity of the Laplace transform:

n

  • i=0

AiL{y(n−i)(t)} = L{f (t)}

Continuous-time systems 1

slide-49
SLIDE 49

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 3/3

n

  • i=0

AiL{y(n−i)(t)} = L{f (t)} (1) L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0) (2)

Continuous-time systems 1

slide-50
SLIDE 50

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 3/3

n

  • i=0

AiL{y(n−i)(t)} = L{f (t)} (1) L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0) (2) Expanding Eq. (2) into (1) yields: Y (s)

n

  • i=0

Aisi −

n

  • i=1

i

  • j=1

Aisi−jyj−1(0) = F(s)

Continuous-time systems 1

slide-51
SLIDE 51

Linear differential equations Laplace transform Solving LDEs with the Laplace transform

Solving LDEs with the Laplace transform 3/3

n

  • i=0

AiL{y(n−i)(t)} = L{f (t)} (1) L{f (n)} = snF(s) −

n

  • i=1

sn−if (n−i)(0) (2) Expanding Eq. (2) into (1) yields: Y (s)

n

  • i=0

Aisi −

n

  • i=1

i

  • j=1

Aisi−jyj−1(0) = F(s) The solution in the time domain is obtained via the inverse Laplace transform: y(t) = L−1{Y (s)}.

Continuous-time systems 1