Control Engineering Project
Control Engineering Project
CONTROL ENGINEERING
ME 412
st
1 Semester, A.Y. 2023 – 2024
Spring-Mass-Damper System
Below is the schematic diagram for the spring-mass-damper system with the components
and direction of the force.
DAMPER 1 DAMPER 2
SPRING
MASS
FORCE
SPRING CONSTANT CALCULATION
Spring constant (K):
𝐹 Where:
𝐾=
𝛿
K – Spring Constant
F – Force applied
𝛿 – Deformation
Force (F):
𝐹 =𝑚×𝑔 Where:
F – Force
m – Mass
g – Gravitational acceleration
For spring 1:
𝐹 = (0.2 𝐾𝑔) (9.81 𝑚/𝑠 2 )
𝐹 = 1.962 𝑁
Deformation
𝛿 = 𝐿𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑠𝑝𝑟𝑖𝑛𝑔 𝑤𝑖𝑡ℎ 𝑙𝑜𝑎𝑑 – 𝑙𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑠𝑝𝑟𝑖𝑛𝑔 𝑤𝑖𝑡ℎ 𝑛𝑜 𝑙𝑜𝑎𝑑
𝛿 = 19 𝑐𝑚 – 14 𝑐𝑚
𝛿 = 5 𝑐𝑚
𝛿 = 0.05 𝑚
Solving for x:
𝑥 = 0.253 𝑚 – 0.126 𝑚
𝑥 = 0.127 𝑚
0.04 𝑚
𝑣=
0.4 𝑠
𝑚
𝑣 = 0.1
𝑠
Solving for coefficient of viscous friction:
𝐹
𝑓𝑣 =
𝑣
𝑓𝑣 = 22.0725
𝑁
𝑓𝑣1 = 𝑓𝑣2 = 22.0725 𝑚
𝑠
TRANSFER FUNCTION CALCULATION
fv1 fv2
Ms2
F(t)
fv1 K fv2
Ms2
Ms2 X(s)
Ʃ𝐹 = 0
𝐹(𝑠) = [ 𝑀𝑠 2 + 𝑓𝑣𝑠 + 𝐾] 𝑋(𝑠)
𝑋(𝑠) 1
= 2
𝐹(𝑠) 𝑀𝑠 + 𝑓𝑣1 𝑠 + 𝑓𝑣2 𝑠 + 𝐾
Where:
Ms2 = 0.25 kg
𝑋(𝑠) 1
= 2
𝐹(𝑠) 0.25𝑠 + 44.145𝑠 + 39.24
𝑋(𝑠) 1
= 2
𝐹(𝑠) 0.25𝑠 + 44.145𝑠 + 39.24
DISPLACEMENT EQUATION
To determine the displacement equation of the system we need to take the inverse
LaPlace of the transfer function:
TRANSFER FUNCTION:
𝑋(𝑠) 1
= 2
𝐹(𝑠) 0.25𝑠 + 44.145𝑠 + 39.24
𝑚
𝐹(𝑡) = (0.25 𝑘𝑔)(9.81 )
𝑠
𝑓(𝑡) = 2.4525 𝑁
Taking the Inverse Laplace:
𝐿−1 [ 𝑓(𝑡) = 2.4525 ]
2.4525
𝐹(𝑠) =
𝑠
𝐹(𝑠)
𝑋(𝑠) = 2
0.25𝑠 + 44.145𝑠 + 39.24
2.4525
𝑋(𝑠) = 𝑠
0.25𝑠 2 + 44.145𝑠 + 39.24
2.4525
𝑋(𝑠) = 2
𝑠(0.25𝑠 + 44.145𝑠 + 39.24)
−𝑏 ± √𝑏 2 − 4𝑎𝑐
𝑠=
2𝑎
Where:
𝑎 = 1
𝑏 = 176.58
𝑐 = 156.96
Substituting the values
Since this equation cannot be solved directly using Inverse Laplace transform, we must
first expand the equation using partial fraction expansion.
For s 0
2.4525
𝐴 =
(𝑠 + 0.89)(𝑠 + 175.69)
2.4525
𝐴 =
(0 + 0.89)(0 + 175.69)
𝐴 = 0.01568
For s -0.89
2.4525
𝐵=
𝑠(𝑠 + 175.69)
2.4525
𝐵=
−0.89(−0.89 + 175.69)
𝐵 = −0.01576
For s -175.69
2.4525
𝐶=
𝑠(𝑠 + 1.93)
2.4525
𝐶=
−175.69(−175.69 + 1.93)
𝐶 = 7.9858389 × 10−5
−1
0.01568 0.01576 7.9858389 × 10−5
𝑥(𝑡) = 𝐿 [ 𝑋(𝑠) ] = 𝐿 − 1 [ − + ]
𝑠 𝑠 + 0.89 𝑠 + 175.69
DISPLACEMENT (m)
TIME (s) THEORETICAL ACTUAL
0 0 0
0.20 0.02490 0.02
0.40 0.04641 0.04
0.60 0.06441 0.05
0.70 0.07727 0.06
THEORETICAL VS ACTUAL
0
0
0.07727
0
DISPLACEMENT (cm)
0.06441
0 0.06
0 0.05
0.04641
0 0.04
0
0.02490
0 0.02
0
0 0 0
0 0.20 0.40 0.60 0.70
TIME (seconds)
THEORETICAL ACTUAL