Lec_02_Transfer_Function
Lec_02_Transfer_Function
10/9/2022 2
Last Lecture
What is Control System?
10/9/2022 3
Last Lecture
Basic Components of a Control System
Manipulated Variable
Control signal
Disturbance
Input
or
Set point Controller Actuator Process Output
or Or
Reference Controlled Variable
Sensors
Measurement
Sensor noise
10/9/2022 4
Last Lecture
Block diagram of human operated liquid – level system
Eyes
10/9/2022 5
Today’s Lecture
Transfer Function
Laplace Transform
10/9/2022 6
Transfer Function
Transfer Function is the ratio of the output to the input.
Y (S )
G( S )
U (S )
10/9/2022 7
Laplace Transform
• A system represented by a differential equation is difficult to model as a
block diagram
The Laplace transform is defined as
j
10/9/2022 8
Laplace Transform (Cont.)
Find the Laplace transform of
10/9/2022 9
Laplace Transform (Cont.)
f(t)
• Ramp signal
At t0
f (t )
0 t 0
0 t
10/9/2022 10
Laplace Transform (Cont.)
10/9/2022 11
Laplace Transform (Cont.)
f(t)
• Step signal
A
A t0
f (t )
0 t0 0 t
A
s
10/9/2022 12
Laplace Transform (Cont.)
δ(t)
• Impulse signal
A
A t 0
(t )
0 t0 0 t
A
10/9/2022 13
Laplace Transform (Cont.)
Laplace Transform of Derivatives
• Not only common function can be converted into simple algebraic expressions but calculus
operations can also be converted into algebraic expressions.
• For example
dx(t )
sX ( S ) x( 0)
dt
2
d x(t ) dx(0)
2
s X ( S ) sx(0)
2
10/9/2022
dt dt 14
Laplace Transform (Cont.)
Laplace Transform of Derivatives
• In general
n
d x(t ) n 1 n 1
n
s X ( S ) s x(0) x (0)
n
dt
1
Laplace Transform of Integrals x(t )dt X ( S )
s
10/9/2022 15
Laplace Transform (Cont.)
Example
• Consider the following ODE where y(t) is input of the system and x(t) is the
output.
d 2 x(t ) dy(t ) dx(t )
A C B
or dt 2 dt dt
• Considering Initial conditions to zero in order to find the transfer function of the system
As 2 X ( s ) CsY ( s ) BsX ( s )
• Rearranging the above equation
As 2 X ( s ) BsX ( s ) CsY ( s )
X ( s )[ As 2 Bs ] CsY ( s )
X (s) Cs sC C
2
Y ( s ) As Bs s ( As B) As B
10/9/2022 17
Inverse Laplace Transform
Partial-Fraction Expansion
10/9/2022 18
Inverse Laplace Transform (Cont.)
Example
Partial-Fraction
10/9/2022 19
Inverse Laplace Transform (Cont.)
10/9/2022 20
10/9/2022 21
10/9/2022 22
10/9/2022 23
In MATLAB use
F = laplace(f)
syms t F=
f=exp(2*t)+t-t^2 1/(s - 2) + 1/s^2 - 2/s^3
F=laplace(f)
f = ilaplace(f)
syms s
F=2*s/(s^2+1)
f = 2*cos(t)
f=ilaplace(F)
10/9/2022 24
Any questions or
suggestions?!
End of Lecture 02
10/9/2022 25