PID (Proportional-integral-derivative) control is the most common used closed loop control system used in industrial automation. It is used in a variety of applications where a parameter need to be controlled continuously. In this article we will discuss what is PID control, it’s applications and how it works?
What is PID Control
To drive a bike at a constant speed driver required to increase or decrease the throttle continuously. He/She takes input from speedometer, predict & analyse change in speed (error) and change throttle accordingly. PID controller works in similar way. Firstly they compare setpoint and measured process variable, predict future error and change the input to reduce error value to zero.
In technical terms a PID controller is a closed loop control system. It senses the output value and changes the input according to error value. Error value is the difference between setpoint and measured process variable.
An everyday example of PID control is heating control using thermostat, car cruise control, quad-copter flight control and hot water temperature control etc.
Why we Need PID Controller
Whereas PID controller can control a process within very small process set limits. Therefore PID controller are used to control critical process. For example, to control water temperature with PID controller, controller with calculate rate of change of temperature with time, predict the future error value and will change the power to heater accordingly.
Proportional response changes the process according to proportional to error value. It can be calculated by multiplying error with a constant Kp (Proportional Gain Constant)
Higher the value of proportional gain constant. Higher will be the change in process based on error value. That can make the system unstable as well.
Whereas lower the value of proportional gain constant. Process will not be responsive to error value. Therefore optimized value for proportional gain constant should be used.
Derivative controller have the capability to predict the future behavior of the error. It’s value depends on the rate of change of error value.
Derivative control helps in decrease in process output if process variable is increasing rapidly. Contribution of derivative control in PID controller is very less because it is very sensitive to noise in the system.
PID Controller Tuning
PID controller tuning is required to achieve desired performance from control system. Various types of PID controller tuning methods are developed to find optimized values of P, I and D gain. Now a days most of PID controls are optimized by tuning and loop optimizing software.
Trial and Error Method
In this method P, I and D gain values are optimized with trial and error. To achieve this, first integral gain and derivative gain values are kept zero and proportional gain value is adjusted to achieve system oscillating behavior. After that Integral gain value is adjusted to stop oscillation behavior. Once system is stabilized, derivative gain is adjusted to improve response time.
This method is similar to trial and error method but in this oscillation behavior is different. In this method I and D gains are set to zero and P gain value is adjusted to achieve system oscillating behavior. Once oscillation starts, the critical gain Kc and the period of oscillations Pc are noted. The P, I and D are then adjusted as per below table.
To sum up, PID control algorithms are the simplest way to design a robust control system. Tuning and loop optimizing software are used to improve control system performance.
Got Questions? We will be happy to help.
If you think we missed Something? You can add to this article by sending message in the comment box. We will do our best to add it in this post.