Lec 02
Lec 02
MDP 3430
System Dynamics
1
Mathematical Models of
Control Systems Components
(Mechanical systems)
2
Inertia element
• Translation
𝐹 = 𝑚𝑥ሷ
• Rotation
𝑇 = 𝐽𝜃ሷ
• Kinetic energy of a rigid body
𝐾𝐸 = 12𝑚𝑥ሶ 2 + 12𝐽𝜃ሶ 2
• Translation
𝐹 = 𝑘(𝑥1 − 𝑥2 )
k: linear spring stiffness [N/m], x: displacement [m]
Force direction against total spring linear deflection
1
𝐸𝑛𝑒𝑟𝑔𝑦 𝑠𝑡𝑜𝑟𝑒𝑑 = 𝑘(𝑥1 − 𝑥2 )2
2
• Rotation
𝑇 = 𝑘(𝜃1 − 𝜃2 )
k: rotation spring stiffness [N.m/rad], θ: angular displacement [rad]
Torque against total spring rotation deflection
1
𝐸𝑛𝑒𝑟𝑔𝑦 𝑠𝑡𝑜𝑟𝑒𝑑 = 𝑘(𝜃1 − 𝜃2 )2
2 4
Damping element
Element which produces force against displacement rate (velocity).
• Translation
𝐹 = 𝑐(𝑥ሶ 1 − 𝑥ሶ 2 )
c:linear damper coefficient [Ns/m], 𝑥:
ሶ velocity [m/s]
Force direction against damper relative linear velocity
1
𝐸𝑛𝑒𝑟𝑔𝑦 𝑑𝑖𝑠𝑠𝑖𝑝𝑎𝑡𝑒𝑑 = 𝑐(𝑥ሶ1 − 𝑥ሶ 2 )2
2
• Rotation
𝑇 = 𝑐(𝜃ሶ1 − 𝜃ሶ 2 )
c: rotation damper coefficient [N.m.s/rad], 𝜃:ሶ angular velocity [rad/s]
Torque against damper relative rotation velocity
1
𝐸𝑛𝑒𝑟𝑔𝑦 𝑑𝑖𝑠𝑠𝑖𝑝𝑎𝑡𝑒𝑑 = 𝑐(𝜃ሶ1 − 𝜃ሶ 2 )2
2
5
Example
• Draw the free body diagram and apply Newton’s law to
derive the transfer function of a mass, spring, damper system.
• Solution
𝛴𝐹 = 𝑚𝑥ሷ
−𝑘𝑥 𝑡 − 𝑐 𝑥ሶ 𝑡 + 𝑓 𝑡 = 𝑚𝑥ሷ 𝑡
𝑚𝑥ሷ 𝑡 + 𝑐𝑥ሶ 𝑡 + 𝑘𝑥 𝑡 = 𝑓 𝑡
𝜃1 𝜔1 𝑟2 𝑁2
= = = =𝑛
𝜃2 𝜔2 𝑟1 𝑁1
7
Example
• For the illustrated gears system, derive the transfer function between the output
rotation angle ‘𝜃2 ’ and the input motor torque ‘𝑇𝑚 ’, neglecting the inertia of the
gears.
• Solution:
𝐽1 𝜃ሷ1 + 𝑏1 𝜃ሶ1 = 𝑇𝑚 − 𝑇1
𝐽2 𝜃ሷ2 + 𝑏2 𝜃ሶ2 = 𝑇2
𝜃1 𝑇2
=𝑛 =𝑛
𝜃2 𝑇1
• Taking Laplace and substituting (assume zero initial condition)
(𝐽1 𝑠 2 + 𝑏1 𝑠)𝜃1 (𝑠) = 𝑇𝑚 (𝑠) − 𝑇1 (𝑠)
(𝐽2 𝑠 2 + 𝑏2 𝑠)𝜃2 (𝑠) = 𝑛𝑇1 (𝑠)
8
Example
1
(𝐽1 + 𝑏1 𝑠)𝜃1 (𝑠) = 𝑇𝑚 (𝑠) − ( 𝐽2 𝑠 2 + 𝑏2 𝑠 𝜃2 (𝑠))
𝑠2
𝑛
((𝐽1 𝑛2 + 𝐽2 )𝑠 2 + (𝑏1 𝑛2 + 𝑏2 )𝑠)𝜃2 (𝑠) = 𝑛𝑇𝑚 (𝑠)
𝜃2 (𝑠) 𝑛
=
𝑇𝑚 (𝑠) 𝐽𝑒𝑞 𝑠 2 + 𝑏𝑒𝑞1 𝑠
• The equivalent inertia and damping coefficients.
𝐽𝑒𝑞 = 𝐽1 𝑛2 + 𝐽2
𝑎𝑛𝑑 𝑏𝑒𝑞 = 𝑏1 𝑛2 + 𝑏2
11
Mathematical Models of
Control Systems Components
(Electrical systems)
12
• Resistor element
𝑣 = 𝑅𝑖
v: voltage [V]
i: current ampere [A],
R: resistance [ohm Ω]
• Inductor element
𝑑𝑖
𝑣=𝐿
𝑑𝑡
L: inductance [Henry H]
• Capacitor element
1
𝑣 = න 𝑖𝑑𝑡
𝐶
C: capacitance, [Farad F]
13
• Volt source
A voltage source supplies a constant voltage.
𝑣 = 𝑣𝑠
• Current source
A current source supplies a constant current.
𝑖 = 𝑖𝑠
• Potentiometer
Potentiometer is a variable input component.
Linear potentiometer
𝑣𝑜
𝑣 = 𝑥 = 𝑘𝑥
𝐿
Angular potentiometer
𝑣𝑜
𝑣 = 𝜃 = 𝑘𝜃
𝜃𝑜
14
• Amplifier
Assuming saturation is not reached, and
response is fast enough than other components,
amplifier could be considered as simple gain.
𝑣𝑜 = 𝐾𝑣𝑖
• Kirchhoff’s laws
• The basic equations of electric circuits, called
Kirchhoff’s laws, are as follows:
1. Kirchhoff’s current law: The algebraic sum of currents
leaving a junction or node equals the algebraic sum of
currents entering that node.
2. Kirchhoff’s voltage law: The algebraic sum of all
voltages taken around a closed path in a circuit is zero.
15
Example
• Transfer function of a simple RLC circuit
• Summing the voltage around the loop
𝑑𝑖(𝑡) 1
𝑣 𝑡 =𝐿 + 𝑅𝑖 𝑡 + න 𝑖𝑑𝑡
𝑑𝑡 𝐶
• Taking Laplace
1
𝑉 𝑠 = (𝐿𝑠 + 𝑅 + )𝐼(𝑠)
𝐶𝑠
• Transfer function
𝐼(𝑠) 𝐶𝑠
=
𝑉 𝑠 𝐿𝐶𝑠 2 + 𝑅𝐶𝑠 + 1
1
𝐼(𝑠) 𝑠
= 𝐿
𝑉 𝑠 𝑅 1
𝑠2 + 𝑠 +
𝐿 𝐿𝐶
16
Operational Amplifier ‘Op Amp’
• An operational amplifier is an electronic amplifier used as a basic building block
to implement transfer functions. They are often used to build electronic circuits.
17
Operational Amplifier ‘Op Amp’
• In ideal op amps, it is assumed that the internal impedance is infinity.
• Ideally, no current flows through the input terminal through the op amp.
• The output voltage is not affected by the load connected to the output terminal.
• For ideal Op Amp, the impedance Z = ∞
==> I = 0, V = 0
18
Operational Amplifier ‘Op Amp’
• Inverting (Proportional) amplifier circuit
𝑉𝑖 − 𝑉 = 𝑖1 𝑅1
𝑉 − 𝑉𝑜 = 𝑖2 𝑅2
𝑖1 = 𝑖2 𝑉=0
𝑉𝑜 𝑅2
=−
𝑉𝑖 𝑅1
• Non-inverting amplifier circuit
𝑉 − 0 = 𝑖1 𝑅1
𝑉𝑜 − 𝑉 = 𝑖2 𝑅2
𝑖1 = 𝑖2 𝑉 = 𝑉𝑖
𝑉𝑜 𝑅2
=1+
𝑉𝑖 𝑅1
19