Modul 3
Modul 3
Note:
1. Berhati-hatilah dalam menggunakan peralatan praktikum Sistem Kendali.
2. Hapus kembali semua data yang Anda simpan di komputer selama praktikum (termasuk
unduhan modul, hasil screenshoot, dll.).
3. Silakan cari referensi tambahan untuk menjadi bahan Teori Dasar praktikum dalam penulisan
laporan
The two-degree of freedom PID transfer function inside the PID block in Figure 1.1 is
where kp is the position proportional control gain, kd is the derivative control gain, ki is the integral
control gain, bsp
is the set-point weight on the reference position r(t), and bsd is the set-point weight on the velocity
reference of r(t).
The dotted box labeled Motor in Figure 1.1 is the motor model in terms of the back-emf motor constant
km , the electrical motor armature resistance Rm , and the equivalent moment of inertia of the motor
pivot Jeq . The direct disturbance applied to the inertial wheel is represented by the disturbance torque
variable Td and the simulated disturbance voltage is denoted by the variable Vsd.
𝑢 = 𝑘 (𝑟 − 𝑦) + 𝑘 𝑠(𝑏 𝑟 − 𝑦) (1.2)
Combining the position process model
𝛩 (𝑠) 𝐾
=
𝑉 (𝑠) 𝑠(𝜏𝑠 + 1)
with the PD control Equation 1.2 gives the closed-loop transfer function of the motor position system
𝐾(𝑘 + 𝑏 𝑘 𝑠)
𝐺 , (𝑠) =
𝜏𝑠 + (1 + 𝐾𝑘 )𝑠 + 𝐾𝑘
𝜔 𝜏 (1.3)
𝑘 =
𝐾
and the derivative gain to
−1 + 2𝜁𝜔 𝜏 (1.4)
𝑘 =
𝐾
𝜏𝑠
𝐺 , (𝑠) = (1.5)
𝐽 (𝜏𝑠 + (1 + 𝐾𝑘 )𝑠 + 𝐾𝑘 𝑠 + 𝐾𝑘
where the 𝜔 is the natural frequency, 𝜁 is the damping ratio, dan 𝑝 is a zero. The characteristic equation
of the closed-loop PID transfer function, i.e. the denominator of the transfer function 1.5 is
𝐾𝑘 + 1 𝐾𝑘 𝐾𝑘 (1.7)
𝑠 + 𝑠 + 𝑠+
𝜏 𝜏 𝜏
The PID characteristic equation 1.7 matches 1.6 using the proportional gain
𝜔 𝜏(𝜔 + 2𝜁𝑝 )
𝑘 =
𝐾
The derivative gain
−1 + 2𝜁𝜔 𝜏 + 𝑝 𝜏
𝑘 =
𝐾
And the integral gain
𝜔 𝑝 𝜏
𝑘 =
𝐾
By varying the zero location, 𝑝 , the time required by the closed-loop response to recover from a disturbance
is changed.
5. Change the proportional gain, kp, by steps of 0.25 V/rad. Try the following gains: kp = 0.5, 1, 2, and
4 V/rad.
6. Examine the behavior of the measured position (red line) with respect to the reference position (blue
line) in the Position (rad) scope. Explain what is happening.
7. Describe the steady-state error to a step input.
8. Increment the derivative gain, kd by steps of 0.01 Vs/rad
9. Look at the changes in the measured position with respect to the desired position. Explain what is
happening..
10. Stop the VI by clicking on the Stop button.