Control Systems Theory: Transfer Function of Physical Systems
Control Systems Theory: Transfer Function of Physical Systems
SYSTEMS THEORY
Transfer Function of Physical
Systems
CHAPTER 2
Objectives
To learn about transfer functions.
To develop mathematical models from
schematics of physical system.
Overview
Review on Laplace transform
Examples :
Mechanical system (Newton’s laws)
Electrical system (Kirchhoff’s laws)
Introduction
Introduction
Introduction
RLC circuit
~KVL
~Ohm’s law
Introduction
Control
system can be represented using a
mathematical model.
E.g. LED circuit
Differential equation
t
di (t ) 1
L
dt
+ Ri (t ) +
C�
0
i (t )dt = v (t )
Introduction
• Differential equation describes the
relationship between the input and output
of a system.
d nc ( t ) d n -1c ( t ) d mr ( t ) d m -1r (t )
n
+ an -1 n -1
+�
��+ a0 c ( t ) = bm m
+ bm -1 m -1
+�
��+ b0 r (t )
dt dt dt dt
c(t) output
r(t) input
Introduction
It is easier if we can see the input and the
output clearly such as in the figure below.
Type of input test
Table 2.1
Laplace transform table
Laplace transform review
Table 2.2
Laplace transform
theorems
Transfer function
What is transfer function?
Transfer function is output divided by input.
Output
= Transfer Function
Input
C ( s)
= G(s)
R( s)
Transfer function
Transfer function
Limited to linear system
What is linear system?
A system that has two mathematical properties:
Homogeneity and additivity.
Homogeneity
Transfer function
Additivity
Transfer function
Example:
Find the transfer function represented by
dc(t )
+ 2c(t ) = r (t )
dt
Solution:
sC ( s ) + 2C ( s ) = R( s)
The transfer function G(s) is
C (s) 1
G ( s) = =
R(s) s + 2
Transfer function
Example:
Find the transfer function represented by
dc(t )
+ 0.5c(t ) = 0.3r (t )
dt
Solution:
sC ( s ) + 0.5C ( s ) = 0.3R ( s )
1/ 2 1/ 2
C (s) = -
s s+2
Taking the inverse Laplace transform (use Table
2.2) of each term,
1 1 - 2t
c(t ) = - e
2 2
Transfer function
You are going to apply transfer function in
three types of mathematical modeling.
Electric network
Translational mechanical system
Rotational mechanical system
Electric Network Transfer
Functions
We are only going to apply transfer function to
the mathematical modeling of electric circuits for
passive networks (resistor, capacitor and
inductor).
We obtain
1
Ls + R + I ( s ) = V ( s ) (2.7)
Cs
Electric Network Transfer
Functions
If we look at Eq.2.7, we can only find the input,
V(s). In order to calculate the transfer function we
must have the output which is VC(s).
1
VC ( s ) = I ( s )
Cs
Electric Network Transfer
Functions
1
VC ( s ) = I ( s )
Cs
I ( s ) = VC ( s )Cs (2.8)
1
Ls + R + VC ( s )Cs = V ( s )
Cs
VC ( s ) 1 1
= =
V (s) 1 CLs 2 + RCs + 1
Cs Ls + R +
Cs
1 / LC
=
R 1
s2 + s +
L LC
Electric Network Transfer
Functions
We can also present our answer in block
diagram
Electric Network Transfer
Functions
Solution summary
Output I2(s)
Input V(s)
Electric Network Transfer
Functions
Sum of
Sum of impedances Sum of applied
impedances I ( s ) - I ( s ) = voltages around
1 common to the 2
around Mesh 1 Mesh 1
two meshes
Sum of
impedances Sum of Sum of applied
I1 ( s ) - impedances I 2 ( s ) = voltages around
common to the
around Mesh 2 Mesh 2
two meshes
Electric Network Transfer
Functions
( R1 + Ls ) I1 ( s ) - LsI 2 ( s ) = V ( s ) (1)
1
- LsI1 ( s ) + Ls + R2 + I 2 ( s ) = 0 (2)
Cs
( R1 + Ls ) V ( s )
- Ls 0 LsV ( s)
I 2 (s) = =
where
( R1 + Ls ) - Ls
= 1
- Ls Ls - R2 +
Cs
Electric Network Transfer
Functions
Forming the transfer function, G(s), yields
I 2 ( s ) Ls LCs 2
G(s) = = =
V ( s ) ( R1 + R2 ) LCs 2 + ( R1 R2C + L ) s + R1
Example
Solve using mesh analysis and Nodal
analysis
Mesh analysis method
Write the mesh equations :
Assumption
Movement to the left is assumed to be
positive.
positive +ve
Translational Mechanical
System Transfer Function
Draw a free body diagram, placing on the
body all forces that act on the body either in
the direction of motion or opposite to it.
X (s) 1
G (s) = =
F ( s ) Ms 2 + f v s + K
Translational Mechanical
System Transfer Function
Complex system
Find transfer function, X2(s)/F(s)
Translational Mechanical
System Transfer Function
a. Forces on M1 due
only to motion of
M1
b. forces on M1 due
only to motion of
M2(sharing);
c. all forces on M1
Translational Mechanical
System Transfer Function
a. Forces on M2
due only to motion
of M2;
b. forces on M2 due
only to motion
of M1 (sharing);
c. all forces on M2
Example
Solve for G(s) = X2(s)/F(s)
Exercise
Solve for G(s) = X2(s)/F(s)
Friction, fv
(Damper)
Rotational Mechanical
System
Rotational Mechanical
System Transfer Functions
We are going to solve for rotational
mechanical system using the same way as
the translational mechanical systems
except
Assumption
Anti-clockwise movement is assumed to be
positive
Rotational Mechanical
System Transfer Functions
Example:
Kθ(s)
Js2θ(s)
Θ(s) J
Dsθ(s)
Rotational Mechanical
System Transfer Functions
We will use
[sum of impedances]θ(s) = [sum of applied torque]
Based on the free body diagram, the
equation of motion is
( Js 2
)
+ Ds + K q ( s ) = T ( s )
q ( s)
we know transfer function, G( s), is
T (s)
q (s) 1
= 2
T ( s ) Js + Ds + K
1
= J
2 D K
s + s+
J J
Rotational Mechanical
System Transfer Functions
Complex system
Find transfer function θ2(s)/T(s)
Rotational Mechanical
System Transfer Functions
a. Torques on J1
due only to the
motion of J1
b. torques on J1
due only to the
motion of J2
c. final free-body
diagram for J1
Rotational Mechanical
System Transfer Functions
a. Torques on J2
due only to the
motion of J2;
b. torques on J2
due only to the
motion of J1
c. final free-body
diagram for J2
Laplace transform review
The Laplace transform is defined as
�
ℒ[ f (t ) ] = F ( s ) = � dt
f (t )e - st
0-
Where s = s + jw
Table 2.1
Laplace transform table
Laplace transform review
Table 2.2
Laplace transform
theorems
Laplace transform review
Example
Find the inverse Laplace transform of
F(s)=1/s
F(s)=1/s2
F(s)=1/(s+3)
Laplace transform review
Example:
Find the inverse Laplace transform of
1
F (s) =
Answer
s+3
We use frequency shift theorem, item 4 in Table 2.2, and Laplace
transform of f(t)=u(t), item 3 in Table 2.1
Hence, f(t)=e-3ttu(t)
Laplace transform review
Example:
Find the inverse Laplace transform of
Answer F ( s ) = 1/ ( s + 3) 2
We use frequency shift theorem, item 4 in Table 2.2, and Laplace
transform of f(t)=tu(t), item 3 in Table 2.1
Hence, f(t)=e-3ttu(t)
Laplace transform review
Can you solve this question using Table 2.1
and Table 2.2?
F ( s ) = 1 / ( s + 3)3
Or this question
s3 + 2s 2 + 6s + 7
F (s) =
s2 + s + 5
Laplace transform review
We can find the inverse Laplace transform
for complicated function by changing the
function to a sum of simpler term for which
we know the Laplace transform of each
term.
Answer.
We will divide N(s) by D(s) successively until
the result has a remainder whose
numerator is of order less that its
denominator (polynomial division).
Partial fraction expansion
Polynomial long division
Example:
Divide x2+9x+14 by x+7
Answer
Partial fraction expansion
Divide 3x3 – 5x2 + 10x – 3 by 3x + 1
Answer:
Partial fraction expansion
Can be divided into 3 cases.
2
K2 = = -2
( s + 1) s �-2
Partial fraction expansion:
Case 1
Change value K1 and K2 gives
2 K1 K2
F ( s) = = +
( s + 1) ( s + 2 ) ( s + 1) ( s + 2)
2 2 2
F ( s) = = -
( s + 1) ( s + 2 ) ( s + 1) ( s + 2)
f ( s ) = (2e -t - 2e -2t )u (t )
Partial fraction expansion:
Case 1
Problem: Given the following differential
equation, solve for y(t) if all initial condition
are zero. Use Laplace transform.
d2y dy
2
+ 12 + 32 y = 32u (t )
dt dt
Partial fraction expansion:
Case 2
Roots of the denominator of F(s) are real
and repeated
Example of an F(s) with real and repeated
roots in the denominator is
2
F (s) =
( s + 1)( s + 2) 2
2 K1 K2 K3 (2.2)
F (s) = = + +
( s + 1)( s + 2) 2
( s + 1) ( s + 2) 2
( s + 2)
Partial fraction expansion:
Case 2
We can solve for K1 using method in case
1 in Eq.2.2.
2
K1 = 2
=2
( s + 2) s �-1
K1 K2 K3
= + +
s s + 1 + j 2 s + 1 - j1
Partial fraction expansion:
Case 3
Solve for K1 using similar method in case 1.
3 3
K1 = =
(s 2
+ 2s + 5 ) s �0
5
Using equation
e jq + e - jq e jq - e - jq
= cos q and = sin q
2 2j
Into Eq.2.6
Partial fraction expansion:
Case 3
The final result is
3 3 -t � 1 �
f (t ) = - e � cos 2t + sin 2t �= 0.6 - 0.671e -t cos ( 2t - f )
5 5 � 2 �
where f = arctan 0.5 = 26.57o