This repository is a collection of process control codes based on first principles.
The proportional controller can be excellent for integrating processes but when there are setpoint changes it will not follow the setpoint.
The Proportional-Integral is commonly used in industry, it is reliable due to the ability to follow the setpoint
The derivative controller could reduce the winding response caused by the integral component, but it has limitations and it is mainly not used for a system with high noise.
Time delay is a very critical problem for process control, it reduces the performance of the PID controller and has to be considered when tuning the controller
Ultimately, when the system is time-delay-dominated, simulation for the controller response to get the best PID constants is necessary.