4.2.1. Introduction to PID Compensation¶
PID compensators are very widely used in industry, particularly for process control applications. Given a system with feedback signal \(e(t)\), the PID compensated control signal is
where
Gain |
Comment |
---|---|
Kprop |
proportional gain |
TI |
integral time (s) |
1/TI |
reset rate (repeat/s) |
TD |
derivative time (s) |
The Laplace transform of the PID equation is:
so that
\begin{equation} D_{\mathrm{PID}}(s)=\frac{U(s)}{E(s)}=K_{\mathrm{prop}}\left(1+\frac{1}{T_I s}+sT_D\right) \end{equation}
Commercial compensators are provided with setting controls for each of the three parameters \(K_{\mathrm{prop}}\), \(T_I\)and \(T_D\). They can also be used with and without the integral and derivative terms. The common configurations for the PID compensator are:
4.2.1.1. Proportional only¶
This type of compensation can be used when dynamic compensation is not needed to achieve the required steady-state acuracy and transient performance. In general, larger values of poportional gain reduce steady-state errors and rise times but tend to increase the size and number of overshoots and setting time.
4.2.1.2. Proportional plus Derivative (P+D)¶
This configuration adds a zero to the proportional only compensator. This zero is used to increase the system damping thereby improving stability and reducing settling time. The cascade zero may cause a small reduction in rise time and an increase in the size of the first overshoot. Note that derivative action is neverused alone!
4.2.1.3. Proportional plus Integral (P+I)¶
Integral action may be used alone and its effect is to increase the system type number by 1. That is it makes a type 0 system type 1 and eliminates steady-state step errors1. However, it is more common to the integral action added with proportional gain in the proportional plus integral confuguration:
This raises the system type number by 1 and also adds a zero which can offset the destabilising effect of the additional pole. A typical use of this zero would be to cancel the lowest-frequency system pole to allow a faster closed-loop response.
4.2.1.4. Full Proportional-Integral-Derivative (PID)¶
The PID compensator raises the system type number by 1. It also introduces two zeros which can be used to improve the transient response. Root locus methods can be used to locate these zeros in order to satisfy the steady-state and transient response requirements of a design. We shall illustrate the Zeigler-Nichols method next. There is also an analytical technique for achieving a specified steady-state error performance and defined dominant poles. In industrial practice, however, it is quite common to tune a PID compensator “in the loop” and this is discussed in a companion document (Tuning a PID Compensator). The tuning rules are essentially summarised as:
Choose \(K_{\mathrm{prop}}\) to achieve the required speed of response.
Choose the reset rate \(1/T_I\) to achieve desired steady-state performance (may need to re-tune \(K_{\mathrm{prop}}\))
Add derivative action to reduce overshoots and improve settling time.
The effect of the parameters may be summarised as
Increasing reset rate and proportional gain increases the speed of response and reduces the steady-state error.
Increasing reset rate reduces stability.
Increasing derivative time increases stability.