Before we discuss how to tune the PID controller, let’s look at some basic facts about PID Controller.
Contents
Many control systems use a combinational of three types of control i.e. Proportional + Integral + Derivative (PID) control. The foundation of the system is the Proportional Control, adding Integral Control provides a means to eliminate steady-state error but may increase overshoot. Derivative Control is good for getting slow systems moving faster, and reduces the tendency to overshoot. The response of the PID systems can be described by the following equation:
Where,
OutputPID = Output of the PID Controller
KP = Proportional Control gain
KI = Integral Control gain often seen as 1/TI
KD = Derivative Control gain (often seen as TD)
Recommended: The Ultimate Guide to Electrical Maintenance
E = Error (deviation from the setpoint)
∑(EΔt) = Sum of all past errors (Area under the error x time curve)
ΔE/Δt = Rate of change of error (slope of the error curve)
Don’t miss out on key updates, join our newsletter List
The method of arriving at numerical values for the constants KP, KI and KD depends on the application. A practical step-by-step procedure can be used to arrive at the PID constants. First the constants KP, KI, and KD are set to initial values, and the controller is connected to the system. The system could consist of the actual hardware or a computer simulation of the same. Then the system is operated, and the response is noted. Based on the response, adjustments are made to KP, KI and KD and the system is operated again. This iterative process of adjusting each constant in an orderly manner until the desired system response is achieved is called tuning. To make the system stable under all conditions, certain modification may be necessary to the basic PID equation. The two most common methods of tuning PID Controllers are the ones that were developed by Ziegler and Nichols, which are:
This method is used for closed loop systems. It is used when there is no harm done if the system goes into oscillation. This method will produce a system with a quick response, which implies a step-function will cause a shift overshoot that settles out very quickly.
The tuning procedure is as follows:
Reaction-curve method (open loop method) does not require driving the system to oscillation. Instead, the feedback loop is opened, and the controller is manually directed to output a small step function to the actuator as illustrated in figure 1(c).
The system response as reported by the sensor is used to calculate KP, KI and KD. You can notice that the actuator, the process itself and the sensor are operational in this test, so their individual characteristics are accounted for. Since the loop is open, this procedure will only work for systems that are inherently stable.
In the test setup in figure 1(c), the loop was opened by placing the controller into manual mode, and then a small step function was manually introduced. This signal caused the controlled variable to move a little, and the resulting position response was recorded. A typical response curve is illustrated in figure (d). Note that the vertical axis corresponds to the range of the process variable (in %)
The system constants are calculated based on the response curve, as outlined below:
Where,
N = slope of the system-response curve
ΔPV = change in the process variable as reported by the sensor (in %).
T = rise time, from response curve
KD = 0.5L
Where, ΔCV = Percentage step change in the control variable (output of the controller)
N = slope as determined in step 2
L = lag time
Autotuning is the ability of the some digital controllers to monitor their own output and make minor changes in the gain constants (KP, KI, and KD) e.g. a temperature control system may decrease its proportional gain slightly if the overshoot is beyond a certain threshold and increase the gain if the response is too sluggish. In the same way as manual tuning, autotuning is an iterative process, however, since it is ongoing, the system can adapt to the changes in the process. Hence, controllers that use autotuning are known as adaptive controllers.
Image: Pexels The electric vehicle (EV) market is accelerating at an unprecedented pace, driven by…
Numerical control is a form of digital control that is employed on machine tools such…
Photo: Pexels Benefits of Installing Solar Panels in Your Home: Save Money and Your Planet…
Pneumatic control valve Control valve sizing refers to the procedure determining the correct size of…
The aim of a typical control system is to force a given set of process…
An object can be used to activate a switch directly, producing an ON or OFF…
View Comments