PROGRAMMING EXERCISE 03 Zarelle and Chelo
PROGRAMMING EXERCISE 03 Zarelle and Chelo
DISCUSSION:
From the previous programming exercise, we have come up with a transfer function of
231.3188
G ( s )= 2 . Using this transfer function, we can get the values of its step response
s +6.412748+257.0209
characteristics, like settling time and overshoot, using MATLAB.
After obtaining the corresponding values of its step response characteristics, we programmed the
transfer function with a PID controller in order to satisfy the following given requirements in this
programming exercise 03:
PID TUNING THROUGH TRIAL AND ERROR IN ORDER TO MEET SPECIFIC REQUIREMENTS
After a lot of trial and error, it may have taken us a long time, but we have arrived at a set of values for Kp, Ki,
and Kd. Finding the right balance between stability, responsiveness, and accuracy has led us to arrive at a set of
values that have met the given specific requirements.
CONCLUSION
A PID (Proportional-Integral-Derivative) controller stands out as a go-to choice in control systems for
meeting distinct requirements and securing desired performance outcomes. Understanding why this controller is
favored involves unpacking the fundamental traits of its three essential components.
Firstly, the proportional term in a PID controller responds proportionally to the error gap between the
desired setpoint and the actual output. It’s a direct matchmaker, reducing the persistent differences and amping
up the system's responsiveness. Tweaking this proportional gain enables us to fine-tune how the controller
reacts to errors.
Secondly, the integral term in the PID controller has a knack for integrating the error over time. This
steady work diminishes long-lasting errors from disturbances or inherent system biases. It’s a continuous
troubleshooter, persistently ironing out accumulated errors and ensuring the actual output is in lockstep with the
setpoint.
Lastly, the derivative term banks on the rate of error change. It’s like a crystal ball, helping foresee and
neutralize future error trends. By anticipating changes or surprises, it fortifies the system against sudden jolts,
contributing to stability and curbing overshoots and oscillations.
When these three elements team up, the PID controller becomes a Swiss army knife for a control
system, adept at tackling various demands:
Setpoint Tracking: It’s a master tracker, finely adjusting its proportional, integral, and derivative gears to
minimize errors, speed up responses, and ensure the system trails the setpoint precisely.
Disturbance Rejection: The integral aspect bulldozes steady-state disturbances, snapping the system
back to the setpoint pronto after a kerfuffle. Meanwhile, the derivative role helps muffle sudden shocks.
Stability: Picture the proportional and derivative pals as guardians of stability, calming down wobbles
and curbing wild swings. By tweaking the gains, the controller can maintain the desired stability levels.
Robustness: The PID controller isn’t a one-trick pony; it's adaptable. It tunes itself to handle shifting
system landscapes—like changes in loads or scenarios—by flexing its gains and staying on the performance
track.
In essence, the PID controller emerges as a versatile maestro in the control symphony. It’s the conductor
who tailors the performance to suit the specific requests—a precision artist managing accurate setpoint tracking,
disturbance resistance, stability, and adaptability. Its flexibility and knack for fine-tuning make it an
indispensable tool for control systems seeking precise, reliable, and agile performance.