002 ME31002 - Transfer Function-2020dec
002 ME31002 - Transfer Function-2020dec
Lecture Note 2
Dr XJ Jing
1
Transfer Function
2
Laplace transform: This is a preparation content which is supposed
to have been studied well already in your math
f (t ) 0 for t 0
t
f (t ) 0 for t 0
Ae for t 0
A for t 0
t t s t
L Ae Ae e dt
0 L A Ae
s t
dt
0
( s )t
Ae dt
0
A
s
A
s
4
Laplace transform - examples
L At
At e
s t
dt sin t 1
2j
e j t
e j t
L A sin t
0
A 1
2 j s j
A 1
2 j s j
e s t
A e s t
At s
dt
A
s 0 0 s 2
2
s t
A
s e dt
0
A
s2
5
Laplace transform
Impulse signal
Step(position) signal
Ramp(velocity) signal
Exponential signal
Sinusoidal signal
6
Laplace transform theorems
7
Laplace transform – supplementary table
8
Using Tables to find the Laplace
Transform and its inverse
We should know how to use Laplace tables to find the Laplace transform and its inverse
g (t ) e t (1 sin t ) e t e t sin t
G ( s) L(e t e t sin t ) L(e t ) L(e t sin t )
1 1 s2 s 1
s 1 ( s 1) 2 1 ( s 1)( s 2 2 s 2)
9
Inverse Laplace transform can be done by
looking up Laplace tables too
F (s) s3
( s 1)( s 2 )
a
s 1 b
s2
a s3
s2 s 1
2
b s3
s 1 s 2
1
L1 F ( s ) L1 2
s 1 L 1 1
s2
2e t e 2t
10
Transfer functions
• A control system is often described by a model
expressed as a differential equation
• A different equation can be further transformed into a
transfer function through Laplace Transform
h(t)
1 t 0
(t )
0 else
y (t ) h(t )r ( )d
0
11
Transfer function
Definition:
Transfer function is the Laplace transform of the impulse response
Laplace Transform
G( s) L h(t )
A system
r(t) Different y(t)
Y ( s ) G ( s) R( s)
equations
R(s) Y(s)
G(s)
In the S domain, the input output relationship is very
straightforward in the block diagram, i.e., Y=G*R.
This is not possible in the original time domain
Y(s), G(s) and R(s) are Laplace transforms of y(t), h(t) and r(t),
respectively
G(s) is the Transfer Function of the system 12
t
d 1
s 0
s dt
Transfer Functions
dt
dny
a0 n
a0 s nY ( s ) an y anY ( s )
dt
dny d n 1 y dy
a0 a .......... .... a n 1 an y
dt n 1
1
dt n dt
d mx d m1 x dx
b0 m b1 m 1 .......... .......bm1 bm x
dt dt dt
13
Transfer Functions
L [output] Y (s)
G(s) = =
L [input] zero initial conditions
X ( s)
b0 s m b1 s m 1 .......... ..... bm 1 s bm
=
a 0 s n a1 s n 1 .......... ...... a n 1 s a n
The system is called an nth order system
a0=1 monic polynomial
m<=n proper rational function; m<n strictly proper rational function
15
Example (Heating system). As a simple example of
a system having a pure time delay consider the heating
system shown below.
The transfer function from input (the voltage applied to
the heating element) to the output (the temperature as
seen by the thermocouple) is approximately of the
form:
Summary
1, 1,…, m and 1, 2, ,,, n are the zeros and poles of
the transfer function, respectively. 19
Example
d 2 y (t ) dy(t ) du(t )
2 2
10 12 y (t ) 5u (t )
dt dt dt
2s 2Y ( s ) 10sY ( s ) 12Y ( s ) sU ( s ) 5U ( s )
Y ( s) s5
G ( s) 2
U ( s ) 2 s 10s 12
0.5s 2.5
( s 2)( s 3)
A A
1 2
s2 s3
A ( s 3) A2 ( s 2) A1 A2 0.5
1
( s 2)( s 3) 3 A1 2 A2 2.5
A1 ( s 2)G ( s ) s 2 1.5
A2 ( s 3)G ( s ) s 3 1
20
Steady state analysis
Use Laplace transform and transfer function, we can do steady
state analysis now for a system. Given a system model, we can
find the transfer function. Further given the input, we can
know the output response of the system at steady state (i.e.,
the response value when the time goes to infinity).
Example:
d 3 y (t ) du(t )
3 3
2 y (t )
dt dt
Find the transfer function G(s)
If the input is u(t) (step signal), what is the output Y(s)
The steady state output y(∞)=?
21
t
dny
d 1
s dt a0 n
a 0 s nY ( s ) a n y a nY ( s )
dt s dt
0
1) d 3 y (t ) du (t )
3 3
2 y (t ) Apply LT to each item
dt dt
3s 3Y ( s ) 2Y ( s) sU ( s)
2) s
G ( s) Y ( s) / U ( s) Obtain TF with output/input
3s 3 2
3) Y ( s ) G ( s ) *U ( s ) Find the output expression
1
Y ( s) Note that:
The steady state analysis can be
3s 2
3
applied to any signal of a system
y () lim sY ( s) 0 leading to steady state output
response, steady state error,
s 0
steady state X, …
Apply Final value theorem 22
Laplace Transform and Final Value Theorem
23
Laplace Transform and Final Value Theorem
24
Laplace Transform and Final Value Theorem
Given the transfer function above, find the step response and the
steady state response
26
Questions 1
1. Find the differential equation for the transfer
function G(s)=(2s+1)/(s2+6s+2)
2. Find steady state output response i.e., y(∞)
for the systems in Q1 when the input is a
unit step signal.
27
Example: Step Response
Use MATLAB to find the step response of the following transfer function:
Now, we can get our step response from the step function, and plot it for
time from 1 to 10 seconds:
28