ME3001-Lecture Notes 5 - Sytem Dynamics
ME3001-Lecture Notes 5 - Sytem Dynamics
System Dynamics
5.1 Objectives
Using the basic modeling principles such as Newton's second law of motion or
Kirchoff's law, mathematical models are obtained in the form of differential equations.
Once such a model is obtained, various methods are available for the analysis of
system performance.
It is not difficult to understand that the analytical and computer simulation of
any system is only as good as the model used to describe it. It should also be
emphasized that the modern control engineer should place special emphasis on the
mathematical modeling of systems so that analysis and design problems can be
conveniently solved by computers.
The basic physical laws are given for each system, and the associated
parameters are defined. Examples are included to show the application of the basic
laws to physical model. The result is a differential equation, or a set of differential
equations, that describes the system.
5.3 Worked Example
Example 1: Armature Voltage Controlled DC Servo Motors
(output)
J
e (input)
v
𝑇 = 𝑘1 𝑖 (1)
where 𝑘1 is the motor torque constant (N.m/Amp ) and i is the armature current (Amp).
• The back emf is proportional to the speed of the motor and hence
𝑣 = 𝑘2 𝜔 (2)
(for an armature-controlled DC-motor, the back e.m.f. induced in the armature due to
armature rotation is directly proportional to the armature angular velocity)
• According to the Kirchhoff’s Voltage Law, at any given instant of time, the algebraic sum
of voltages around any loop in any electric network is zero. Application of the Kirchhoff’s
Voltage Law to the armature circuit yields
𝑑𝑖
𝑒 − 𝑣 = 𝑅𝑖 + 𝐿 ,
𝑑𝑡
𝑑𝑖
𝐿 The inductance L in the armature circuit is usually small and maybe
𝑑𝑡
neglected. If L is neglected, the equation is reduced to
𝑒 − 𝑣 = 𝑅𝑖 (3)
𝑑𝜔
𝑇=𝐽 (4)
𝑑𝑡
Expression relating the applied voltage with the angular velocity for the armature-
controlled DC servomotor is obtained by equating above 4 equations as follows
𝑑𝜔 𝑘1 𝑘1 𝑑𝜔(𝑡) 𝑘1
𝑇=𝐽 = 𝑘1 𝑖 = (𝑒 − 𝑣) = (𝑒 − 𝑘2 𝜔) ⇒ 𝐽 = 𝑒(𝑡) − 𝑘2 𝜔(𝑡)
𝑑𝑡 𝑅 𝑅 𝑑𝑡 𝑅
Then, the mathematical model of the mechanical system is given by,
𝑑𝜔 𝑘1 𝑘2 𝑘1
+ 𝜔= 𝑒
𝑑𝑡 𝐽𝑅 𝐽𝑅
Assuming that all initial conditions are zero, and taking the Laplace transforms of
the above differential equation, we obtain the transfer function of the DC motor as;
𝑘1 𝑘2 𝑘1
𝑠𝛺(𝑠) + 𝛺(𝑠) = 𝐸(𝑠)
𝐽𝑅 𝐽𝑅
𝑘1
𝛺(𝑠) 𝐽𝑅
= 𝑘 𝑘 : Transfer function of DC motor.
𝐸(𝑠) 𝑠+ 1 2
𝐽𝑅
1
𝛺(𝑠) 𝑘2
= : Standard form of the Transfer Function
𝐸(𝑠) 𝜏𝑠+1
𝐽𝑅
𝜏= : Time constant of the system
𝑘1 𝑘2
3:-Stability of vehicle
Purpose: Calculation of the vertical motion of a car, and optimum design of a suspension
system.
As the car moves along the road, the vertical displacements at the tires act as the motion
excitation to the automobile suspension system. Figure 5.3 shows an automobile as a
dynamic system.
V
x 1(t) x 2(t)
Assuming that the motion xi(t) is the input to the system and the vertical motion xa(t), of the body is the
output, obtain the transfer function Xa ( s ) /Xi ( s ) . ( Consider the motion of the body only in the vertical
direction.) Displacement x, is measured from the equilibrium position in the absence of input 𝑥𝑖 , 𝑖 = 1,2,3,4.
F
• A very simplified version of the suspension system is shown a
in Figure 5.4.
m
𝑚: Total mass of the automobile
mt
x(t)
Figure 5.5. More detailed physical model of the car suspension system
• A better version of the suspension system is shown in Figure 5.5:
In this model m is the mass of the car, J is the mass moment of inertia of the car.
x 1(t) x 2(t)
The motion of this system consists of a translational motion of the center of mass and a rotational motion about
the center of mass. The inputs 𝑥1 (𝑡) and 𝑥2 (𝑡) are displacement inputs.
• The most developed version of the suspension system is shown in Figure 5.6:
Mathematical modeling of the complete system is quite complicated.
i(t) A R B
e(t)
Fig. 5.8. Electrical Resistance
If we apply voltage on a resistor as an input we obtain current as an output,
which can be represented in the transfer function format as
𝐼(𝑠) 1
= : constant
𝐸(𝑠) 𝑅
E(s) 1 I(s)
R
i(t) A C B
e(t)
Fig. 5.9. Circuit symbol of a capacitor
Transfer function for the capacitive element when voltage is input is given as
𝐸(𝑠) 1
=
𝐼(𝑠) 𝐶𝑠
In the above equation 1/𝑠 denotes the integration operation. It integrates the
input current and results in voltage output. Block diagram of the system is:
System type: Capacitive system. I(s) E(s)
1
Cs
c) RC Circuit E(s) +
L ER(s) System Block Diagram Representation:
𝑒 = 𝑒𝑅 + 𝑒𝐶 𝐸 = 𝐸𝑅 + 𝐸𝐶 -
Ec(s)
E(s) + ER(s) I(s) EC(s)
ER(s)
1 1
1 I(s)
L R CS
𝑒𝑅 = 𝑅𝑖 𝐸𝑅 = 𝑅𝐼 R
-
1 L 1 I 1
E (s)
C
(s)
𝑒𝐶 = න 𝑖𝑑𝑡 𝐸𝐶 = 𝐼 Cs
𝐶 𝐶𝑠
Analytical way to obtain Transfer Function: Obtaining the Transfer Function using block
E = RI + EC ⎯ ⎯ I = Cs EC diagram reduction method:
1 1
E = RCs EC + EC E = RCs + 1 EC EC ( s ) R
= R Cs
E (s) 1 1
EC ( s ) 1 1+
= R Cs
E ( s ) RCs + 1 EC ( s ) 1
= e (input) C e
RCs + 1
(output)
E (s) C
e (input) C e C
(output)
d) RLC Circuit i
𝐸𝑐 (𝑠) 1 𝐸𝑐 (𝑠) 2
𝜔𝑛
= 𝑠2 2𝜁
= 2
EC ( s ) 1 𝐸(𝑠) + 𝑠+1 𝐸(𝑠) 𝑠 2 +2𝜁𝜔𝑛 𝑠+𝜔𝑛
= 𝜔2
𝑛 𝜔𝑛
E ( s ) LCs 2 + RCs + 1
𝐸𝑐 (𝑠) 2
𝐾𝑠 𝜔𝑛
= 2
𝐸(𝑠) 𝑠 2 +2𝜁𝜔𝑛 𝑠+𝜔𝑛
(output)
T J
(input) b
𝑑𝜔
𝐽 = 𝑇 − 𝑏𝜔
𝑑𝑡
Fk Fb
k
F
F F
A A F
A
m m
m k b m
b b k b k
Fm=ma
Fk Fb
M=12.5 kg
k=0.2 N/m
b= 0.035 N/(m/s)
𝐹(𝑡) = 𝑚𝑎
𝑑 2 𝑦(𝑡) 𝑑𝑦(𝑡)
𝐹(𝑡) = 𝑀 2
+𝑏 + 𝑘𝑦(𝑡)
𝑑𝑡 𝑑𝑡
↓
𝑌(𝑠) 1 1/𝑀 (1/𝑘)𝜔𝑛2
TF → = = = 2
𝐹(𝑠) 𝑀𝑠 + 𝑏𝑠 + k 𝑠 2 + 𝑏𝑠 + 𝑘 𝑠 + 2𝜉𝑤𝑛 𝑠 + 𝜔𝑛2
2
𝑀 𝑀
𝑓(𝑡) = 𝑚𝑎
𝑑 2 𝑦(𝑡) 𝑏𝑑𝑦(𝑡)
𝑓(𝑡) = 𝑀 + + 𝑘𝑦(𝑡)
𝑑𝑡 2 𝑑𝑡
𝑌(𝑠) 1 1/𝑀 (1/𝑘)𝜔𝑛2
= = ≡
𝐹(𝑠) 𝑀𝑠 2 + 𝑏𝑠 + 𝑘 𝑠 2 + 𝐵 ⋅ 𝑠 + 𝑘 𝑠 2 + 2𝜉𝜔𝑛 𝑠 + 𝜔𝑛2
𝑀 𝑀
𝑌(𝑠) 1/2000 0.0005
= ≡
𝐹(𝑠) 𝑠 2 + 5000 𝑠 + 16500 𝑠 2 + 2.5𝑠 + 8.25
2000 2000
2.5
𝝎𝒏 = 8.25 = 2.87rd/sn , 2𝜉𝜔𝑛 = 2.5 ⇒ 𝝃 = = 0.435
2.2.87
1 1
𝑲𝒔 = = 103 = 6.06 ⋅ 10−5 N/N
𝐾 16.5
PROBLEM 1: Yanda verilen mekanik sistemde:
a) Serbest cisim diyagramını kullanarak hareket denklemini elde ediniz.
b) 𝑓(𝑡)𝑦𝑖 giriş, 𝑥(𝑡)′ 𝑦𝑖 çıkış alarak transfer fonksiyonlarını elde ediniz.
c) Dinamik davranış sabitlerini gösteriniz.
çözüm: a) Serbest cisim diyagramını çizersek:
T(t) T2 (t) R2
f(t) = = ⇒ T2 (t) = T(t) (1)
R R2 R
diğer taraftan bu moment alttaki diski hareket ettirmeye ve esnek milde harcanacağından;
d2 𝜃2 (t)
T2 (t) = J2 + K 𝜃2 (t) − 𝜃1 (t) (2)
dt2
𝑑 2 𝜃1 (𝑡) 𝐽1 𝑑 2 𝜃1 𝑡
𝐾 𝜃2 (𝑡) − 𝜃1 (𝑡) = 𝐽1 ⇒ 𝜃2 𝑡 = + 𝜃1 𝑡 (3)
𝑑𝑡 2 𝐾 𝑑𝑡 2
𝑑2 𝐽1 𝑑2 𝜃1 (𝑡) 𝐽1 𝑑2 𝜃1 (𝑡)
𝑇2 (𝑡) = 𝐽2 2 + 𝜃1 (𝑡) + 𝐾 + 𝜃1 (𝑡) − 𝜃1 (𝑡)
𝑑𝑡 𝐾 𝑑𝑡 2 𝐾 𝑑𝑡 2
𝐽1 𝐽2 𝑑4 𝜃1 (𝑡) 𝑑2 𝜃1 (𝑡) 𝑑2 𝜃1 (𝑡)
• 𝑇2 (𝑡) = + 𝐽1 𝑑𝑡 2 + 𝐽2 𝑑𝑡 2
𝐾 𝑑𝑡 4
• 𝑇(𝑡) ile 𝜃1 (𝑡) arasındaki ilişki bulunur. Sıfır başlangıç koşulları altında 𝐿 dönüşümü uygularsak:
R2 J1 J2
• T(s) = s4 + J1 + J2 s 2 𝜃1 ( s)
R K
𝑅2 𝑅2
𝜃1 (𝑠)
• = 𝐽1 𝐽2 4
𝑅
= 𝐽 𝐽
𝑅
𝑇(𝑠) 𝑠 + 𝐽1 +𝐽2 𝑠 2 𝑠 2 1𝐾 2 𝑠 2 + 𝐽1 +𝐽2
𝐾