Laplace Transforms: method for solving differential equations, converts differential equations in time t into algebraic equations in complex variable s
Transfer Functions: another way to represent system dynamics, via the s representation gotten from Laplace transforms, or excitation by e st M.D. Bryant ME 344 notes 03/25/08
2 Laplace Transforms
Purpose: Converts linear differential equation in t into algebraic equation in s
Forward transform, t ! s: f(t) ! F(s) F(s) = " # t= 0 ! f(t) e - st dt = L {f(t); t ! s }
Convergence/existence of integral: |f(t)| < M e - at , a + Re(s) > 0 so that e -[a + Re(s)]t finite as t ! !
Inverse transform, s! t: F(s) ! f(t) f(t) = 1 2"j " # "= c- j! c+j! F(s) e st ds = L -1 {F(s); s! t }
Integral in complex plane, rarely do M.D. Bryant ME 344 notes 03/25/08
3
Procedure:
Convert Linear Differential Equations
! x = Ax + f (t )
! d n x dt n +a n"1 d n"1 x dt n"1 +!+a 2 d 2 x dt 2 +a 1 d x dt +a 0 x = f (t )
in time t into algebraic equations in complex variable s, via forward Laplace transforms:
X(s)=L {x(t); t ! s }, F(s)=L {f(t); t ! s }
Solve resulting algebraic equations in s, for solution X = X(s)
Convert solution X(s) into time function x(t), via inverse Laplace transform:
x(t) = L -1 {X(s); s! t } M.D. Bryant ME 344 notes 03/25/08
4 Example: Solve initial value problem, differential equation with initial condition:
x + 2 # " n
x + " 2 n x = H o u s (t)
x(0) = x o ,
x (0) = x 1
Apply Laplace transform L= " # t= 0 ! { . } e - st dt to all terms in equation:
! x (t )e " st t= 0 # $ dt + 2%& n x (t )e " st t= 0 # $ dt + & n 2 x(t )e " st dt t= 0 # $ = " # t= 0 ! H o u s (t) e - st dt factor constants and apply definition for u s (t) : " $ $ # t= 0 !
d 2 x dt 2 e - st dt + 2#" n " $ # t= 0 !
dx dt e - st dt +" 2 n " # t= 0 ! x e - st dt = H o " # t= 0 ! e - st dt
M.D. Bryant ME 344 notes 03/25/08
5 Define X(s) = " # t= 0 ! x(t) e - st dt Integrate by parts
dx dt e - st | ! t=0 +s " $ $ # t= 0 !
dx dt e - st dt +2#" n {x(t) e - st | ! t=0
+s " # t= 0 !
x(t) e - st dt } + " 2 n X(s) = ! H O ("s) e - st | ! t=0
Rearrange, note ! lim t "# e $ st = 0
-
x (0) + s (- x(0) + s X(s) ) + 2#" n {- x(0) + s X(s) } + " 2 n X(s) = H o
s
! Note: L {dx/dt} = - x(0) + s X(s) L {d 2 x/dt 2 } = L {d ! x /dt} =- ! x (0) + sL {dx/dt}
Result: algebraic equation in s ! (s 2 +2"# n s +# n 2 )X(s) = H O s + x 1 +(s +2"# n )x 0
Note:
x (0) = x 1 , x(0) = x o
M.D. Bryant ME 344 notes 03/25/08
6
Solve X(s) = H o
s + x 1 + ( s + 2 # " n ) x o s 2 + 2 # " n s + " 2 n
Note: o characteristic equation in denominator o terms from initial conditions x 1 , x o grouped with excitation term ! H O s
M.D. Bryant ME 344 notes 03/25/08
7 Apply inverse Laplace: x(t) = L -1 {X(s); s! t } x(t) = H o " 2 n L -1 { " 2 n s (s 2 + 2 # " n s + " 2 n ) } + x o " 2 n L -1 { s " 2 n s 2 + 2 # " n s + " 2 n } + x 1 + 2 # " n x o " 2 n L -1 { " 2 n s 2 + 2 # " n s + " 2 n }
o Use Laplace transform tables for L -1 : x(t) = H o " 2 n {1 - e -# " n t sin(" n 1 - # 2 t + arccos # ) 1 - # 2 } + x o " 2 n { - " 2 n e -# " n t sin(" n 1 - # 2 t - arccos # ) 1 - # 2 } + x 1 + 2 # " n x o " 2 n { " n e -# " n t sin(" n 1 - # 2 t ) 1 - # 2 } M.D. Bryant ME 344 notes 03/25/08
8 Transfer Functions
Method to represent system dynamics, via s representation from Laplace transforms. Transfer functions show flow of signal through a system, from input to output.
Transfer function G(s) is ratio of output x to input f, in s-domain (via Laplace trans.):
! G(s) = X(s) F(s)
Method gives system dynamics representation equivalent to
! Ordinary differential equations ! State equations
Interchangeable: Can convert transfer function to differential equations M.D. Bryant ME 344 notes 03/25/08
9 Transfer Function G(s)
! Describes dynamics in operational sense ! Dynamics encoded in G(s) ! Ignore initial conditions (I.C. terms are transient & decay quickly) ! Transfer function, for input-output operation, deals with steady state terms
h(t) H(s) x(t) X(s) G(s)
! Example: Speed of automobile o Output: speed x(t) expressed as X(s) o Output determined by input, system dynamics & initial conditions o Input: gas pedal depression h(t) o Dynamics: fuel system delivery, motor dynamics & torque, transmission, wheels, car translation, mass, wind drag, etc. o Initial conditions (initial speed) influence on current speed diminishes over time, thus ignore M.D. Bryant ME 344 notes 03/25/08
10 Transfer Function Example: 2 nd order system
Differential equation at steady state (can ignore initial conditions)
x + 2 # " n
x + " 2 n x = h(t)
Apply Laplace transform, define
X(s) =L{x(t); t ! s}, H(s) =L{h(t); t ! s }
Result: algebraic equation (s 2 + 2#" n s + " 2 n )X(s) = H(s)
Transfer function G(s): ratio of output X(s) to input H(s)
G(s) = X(s) H(s) = 1 s 2 + 2 # " n s + " 2 n
Note: o characteristic equation in denominator o denominator roots => eigenvalues o transfer functions eigenvalues called poles M.D. Bryant ME 344 notes 03/25/08
11 Example: First order system
! "
x + x = f (t)
Apply Laplace transform, define
X(s) =L{x(t); t ! s}, F(s) =L{f(t); t ! s }
L{$
x ; t ! s} +L{x(t); t ! s} =L{f(t); t ! s }
Result: algebraic equation
s$X(s) + X(s) = F(s)
Transfer function G(s) =X(s)/F(s) = ! 1 "s +1
Note: o characteristic equation in denominator o transfer functions eigenvalues = poles o p 1 = % 1 = - 1/$
M.D. Bryant ME 344 notes 03/25/08
12 Transfer Function from State Equations
Matrix form
! x = Ax + f (t )
Explicit equation form
! x k = a jk j=1 n " x j + f k (t )
Define
X k (s)=L {x k (t); t ! s }, F k (s)=L {f k (t); t ! s }
Apply Laplace transform
! sX(s) = AX(s) + F(s)
or
! sX k (s) = a jk j=1 n " X j (s) + F k (s) M.D. Bryant ME 344 notes 03/25/08
13
Rearrange matrix form:
! sI " A [ ] X(s) = F(s)
Solve, via Cramers rule:
! X k (s) = det sI " A [ ] kth column replaced by F ( s ) { } det sI " A [ ]
Transfer function, define which output X k (s) and which input F j (s):
! G kj (s) = X k (s) F j (s)
Solve, via previous result with all components of F(s) zero, except F j (s)
M.D. Bryant ME 344 notes 03/25/08
14
Example: differential equations from transfer function: