PROGRAMMING-EXERCISE-03 - Boniel, Lamsis
PROGRAMMING-EXERCISE-03 - Boniel, Lamsis
DISCUSSION:
In the preceding programming exercise, a transfer function was derived, denoted as G(s),
231.3188
which can be expressed as G ( s )= 2 . The transfer function can be utilized in
s +6.412748+257.0209
MATLAB to obtain various step response characteristics, such as settling time and overshoot.
In this programming exercise 03, we programmed the transfer function with a PID
controller to meet the specified requirements. These requirements were determined based on
the obtained values of the step response characteristics.
Our objective is to achieve values that fall within the specified set of requirements.
The programmed transfer function with the PID controller did not yield the desired set of
values. To meet the specified criteria, we adjusted the PID controller using an iterative process
of trial and error. We have initiated the trial-and-error process using the acquired values of Kp,
Ki, and Kd. By individually adjusting the values of Kp, Ki, and Kd, we observed the impact of
these modifications on the characteristic values of the step response. The effects of altering the
values of Kp, Ki, and Kd in a PID control system on system performance have been observed.
Raising the value of Kp enhances the system's reaction to the discrepancy between the desired
setpoint and the actual output. Increasing the value of Kp can result in quicker response times;
however, it can also introduce overshoot and oscillations. On the other hand, decreasing the
proportional gain (Kp) can enhance the stability of the system, albeit at the cost of reduced
responsiveness. In contrast, raising the value of Ki amplifies the impact of the accumulated error
as time progresses. This aids in decreasing steady-state errors and enhancing the system's
capacity to achieve and sustain the desired value. Excessively high Ki values can result in
instability and oscillations. Increasing Kd improves the system's responsiveness to changes in
the error rate. It aids in attenuating oscillatory behavior and minimizing overshooting. A high Kd
value can increase noise amplification and enhance the system's susceptibility to measurement
noise.
CONCLUSION
The PID controller is frequently employed in control systems to fulfill specific criteria and
attain desired performance. A PID controller may be selected to meet specified requirements due
to its ability to effectively regulate a system's output by continuously adjusting its control signal
based on the error between the desired setpoint and the measured process variable.
2. Integral control in a PID controller involves integrating the error over time to address
steady-state error resulting from disturbances or system biases. The system continuously
modifies the control output in order to minimize the accumulated error. The integral term
is valuable for eliminating long-term offset between the setpoint and the actual output.
3. The derivative term in a PID controller utilizes the error's rate of change to generate a
control action. Anticipating and mitigating future errors can enhance the system's ability
to effectively respond to abrupt changes or disturbances. The inclusion of the derivative
term in a system can improve stability and mitigate issues such as overshoot and
oscillations.
A PID controller can effectively meet various control system requirements by integrating
these three control actions.
The accurate tracking of a desired setpoint can be achieved by a PID controller through the
adjustment of its proportional, integral, and derivative gains. It reduces steady-state error,
decreases response time, and enhances setpoint tracking accuracy.
Disturbance Rejection: The inclusion of an integral term in a PID controller aids in the
elimination of steady-state error induced by disturbances, thereby facilitating a prompt
return of the system to the setpoint following a disturbance. The derivative term can
mitigate sudden disturbances.
The inclusion of proportional and derivative terms in a PID controller aids in achieving
stability by mitigating oscillations and minimizing overshoot. The gains of the controller can be
modified in order to attain the desired stability margins.
The PID controller is a versatile and commonly employed control strategy that can be
customized to fulfill specific requirements in a control system. It offers precise setpoint tracking,
disturbance rejection, stability, and robustness.