Lab 3
Lab 3
Lab 3
Introduction
Control systems are integral components of many contemporary gadgets and
systems and are employed in a broad variety of contexts. Control systems, to put it
simply, are used to regulate how any process or device behaves. It is primarily
composed of three parts: actuator, controller, and sensor. Here, the sensor
measures physical attributes like temperature and pressure, translates those
observations into an electrical signal, and then produces an output signal that
operates the actuator. We shall examine this idea in-depth in this essay.
1.1.1. What is a Control system:
A device or group of devices that controls and directs the actions of other devices
or systems is known as a control system. It operates according to the input-process-
output cycle theory. given that changing the input controls the output. They are
extensively utilized in engineering, automation, and electronics.
w(s) K
=
V(s) [s + α]
Now the equation become,
Kt
w(s) JR
= − − − − − − − (a
V(s) KtKe
[s + J(b + ]
R
Putting the value of the physical parameter we get the both equation as
The physical parameters are:
➢ Moment of inertia of the rotor J=0.01 kg.m2
➢ Motor viscous friction constant b=0.1 N.m.s
➢ Electromotive force constant Ke=0.01 V/rad/sec
➢ Motor torque constant Kt=0.01 N.m/Amp
➢ Electric resistance R=1 Ohm
𝛳(𝑠)
Transfer function in respect to
𝑉(𝑠)
𝛳(𝑠) 1
=
𝑉(𝑠) 𝑠[𝑠 + 0.001001]
𝑤(𝑠)
Transfer function in respect to
𝑉(𝑠)
𝑤(𝑠) 1
=
𝑉(𝑠) [𝑠 + 0.001001]
Closed loop system:
Now the derive the equation for the above closed loop system
𝐺(𝑠) 𝐾𝑡
𝑇(𝑠) = ( + 𝐾𝑝 + 𝐾𝑑 𝑠) ( )
𝑠 𝑠
𝐺(𝑠)𝐾𝑡 + 𝐾𝑝 𝐾𝑡 𝑠 + 𝐾𝑡 𝐾𝑑 𝑠 2
𝑇(𝑠) =
𝑠2
After putting the value of G(s) we get the simplified equation :
𝐾𝑡 𝐾𝑝 𝐾𝑡
𝑇(𝑠) = + + 𝐾𝑡 𝐾𝑑
𝑠 2 (𝑠 + 0.001) 𝑠
In this scenario, the I-PD controller is transformed into a PID controller, and we aim
to determine the tuning parameters for the PID controller using the Ziegler-Nichols
method. The procedure for finding Kp, Ki, and Kd is outlined as follows:
✓ Start with a small value for Kp and gradually increase it, while keeping Ki and
Kd equal to zero.
✓ Continue increasing Kp until neutral stability is achieved.
✓ Record the critical or ultimate value of Kp, denoted as Ku.
✓ Record the ultimate value of oscillation, known as Tu.
✓ Refer to the provided table to obtain the corresponding values for Kp, Ti, and
Td.
This process helps establish optimal tuning parameters for the PID controller based
on the Ziegler-Nichols approach
Calculation for the tuning Parameter. Of PID.
Following the above procedure we calculated the Kp, Ki, and Kp value.
For stable oscillation of the system.
This is stable oscillation for the Kp value of 10, and the oscillation time period is 2
seconds.
Thus 𝐾𝑢 = 0.5 𝑎𝑛𝑑 𝑇𝑢 = 10𝑠𝑒𝑐
Now according to the above table we find the Kp, Ki and Kd.
𝐾𝑝 = 0.6𝐾𝑢 = 0.6 ∗ 0.5 = 0.30
The Ki gain is :
𝑇𝑢 10
𝑇𝑖 = = =5
2 2
𝐾𝑝 1.2 ∗ 𝐾𝑢
𝐾𝑖 = = = 0.06
𝑇𝑖 𝑇𝑖
The Kd gain is:
𝐾𝑑 = 0.075 ∗ 𝐾𝑢 ∗ 𝑇𝑢 = 0.375
Sr # Gains Value
1 𝐾𝑝 , 0.30
2 𝐾𝑡 0.06
3 𝐾𝑑 0.0375
Simulation results
The implementation of the PID controller using the Ziegler-Nichols method yields
the most favorable system response. However, when decreasing the Ki gain, the
system experiences oscillations, and increasing the Ki value results in system
overshooting. In the overall assessment of system response, the PID controller
proves to be superior. Nevertheless, when specifically considering overshoot in the
system response, the I-PD controller emerges as the optimal choice. This highlights
the trade-off between achieving a robust overall response and minimizing
overshoot, depending on the specific requirements of the application.
Conclusion:
In conclusion, the implementation of controlled systems using MATLAB Simulink
proves to be an effective and reliable approach. The integration of both PID and I-
PD controllers has been executed, with the I-PD controller demonstrating the
advantage of minimal overshot, albeit with a slightly lower overall system response.
While the PID controller offers a faster response, it comes at the cost of increased
overshot, especially when elevating the Ki value. This underscores the inherent
tradeoff between achieving a swift system response and mitigating overshoot,
necessitating careful consideration based on specific application requirements.
References
1. Norman S. nise, book “control system engineering” 6th edition
2. Shirapti, “Control system”, Link : https://www.geeksforgeeks.org/control-
system/
3. Chalti, “ Proportional Integral Derivative Controller in Control System”, link:
https://www.geeksforgeeks.org/proportional-integral-derivative-controller-
in-control-system/
4. Brian R Copeland, “The Design of PID Controllers using Ziegler Nichols
Tuning”, March 2008.
5. Krishnarayalu Movva, “PID controller Tuning using Simulink for Multi Area
Power Systems”, September 2012.