Lecture 2 - I
Lecture 2 - I
8024103-3
AUTOMATIC CONTROL
SYSTEMS
Lecture Note 3: Mathematical modeling
Instructor
Ahmed Al Otaibi, Ph.D.
Dept. of Mechanical Engineering
Taif University
1
6/28/2022
Mathematical Modelling
2
6/28/2022
Mathematical Modelling
⚫ For any system we need to be able to
describe mathematically how the output y(t)
depends on the input u(t)
u y
Input Output
System
u(t) y(t)
t t
Concept
3
6/28/2022
MECHANICAL SYSTEMS
TRANSFER FUNTIONS
4
6/28/2022
Spring-mass-damper system
⚫ This simple model can represent various engineering
systems, e.g. a car suspension.
Example 2.1 :
Governing Equations f = ma
x
b dx(t ) d 2 x(t )
f
f (t ) − kx(t ) − b =m
m dt dt 2
k
kx
spring force
10
5
6/28/2022
11
12
6
6/28/2022
13
2
F b v 21 P b v 21
Rotational Damper
2
T b 21 P b 21
Fluid Resistance
1 1 2
Q P21 P P21
Rf Rf
Thermal Resistance
1 1
q T21 P T21
Rt Rt
14
7
6/28/2022
15
16
8
6/28/2022
17
18
9
6/28/2022
Cont.
⚫ The back emf, e, is proportional to the
angular velocity of the shaft by a constant
factor 𝐾𝑒 .
𝑒 = 𝐾𝑒 𝜃ሶ
20
10
6/28/2022
Cont.
⚫ From the figure above, we can derive the
following governing equations based on
Newton's 2nd law and Kirchhoff's voltage law.
21
Cont.
⚫ We arrive at the following open-loop transfer
function by eliminating I between the two
above equations, where the rotational speed
is considered the output and the armature
voltage is considered the input.
22
11
6/28/2022
In - Out = Accumulation
Ref: https://eleceng.dit.ie/gavin/Control/Modeling/Filling%20a%20Tank.htm
23
Cont.
24
12
6/28/2022
Cont.
Next, consider the output flowrate, Qout. The driving force for the discharge flow is
the head of water in the tank which is given by rgh. The restriction to the discharge
flow is the presence of the valve (and to a lesser extent the pipe) and this can be
represented by a resistance, R, i.e.
Qout = rgh/R
25
Cont.
i.e. it has the first order characteristic where the output, qo, is equivalent to height, h;
the input, qi, is equivalent to the flow in, Qin, and the time constant and gain are as
follows:
26
13
6/28/2022
V2( s ) R2 R2
V1( s ) R R1 + R2
R2 q
R q max
29
Linear Systems
⚫ In the previous examples, we have seen the governing
equations of linear systems. A linear dynamical system is
a system that has a governing equation of the form
Note: the coefficient ai (t) can be a function of time. They can also
be a constant, in which case the system is said to be linear time
invariant (LTI).
30
14
6/28/2022
system If
x(t) y(t) x(t) → y(t)
input output
then
system
Ax(t) → Ay(t)
Ax(t) Ay(t)
31
If
system
x1(t) → y1(t)
x1(t) y1(t)
and
system
x2(t) → y2(t)
x2(t) y2(t)
then
system
x1(t) + x2(t)
x1(t)+ x2(t) y1(t)+ y2(t) → y1(t) + y2(t)
32
15
6/28/2022
Linear Approximations
k = k1 x
nonlinear term in x
33
Linear Approximations
⚫ If the system is operating with small variation in x, we
may use a linear approximation:
m = slope calculated at x0
x0 x
Dy = y − y ( x0 ) Dx = ( x − x0 )
34
16
6/28/2022
T = mL2q
O FBD
F
but T = −mgL sin q
g
q L mL2q + mgL sin q = 0
mg nonlinear term in q
m
linearise around q = 0
35
Questions?
36
17