Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Patrick Thorpe (Speaker) Doug Nicholson Sbastien Osta Shabroz Gill, IPCOS(UK) Ltd. Cambridge, UK
Contents
Importance of the Pre-Test. Optimisation based PID tuning. Tuning for Load rejection. External & Internal Filters in the PID Loop Set Point Filters. Cascade Tuning. Conclusions.
The APC pre-test is the opportunity to give the basic control the attention it deserves.
Regulatory control forms the foundation layer for the APC. Use the pre-test to ensure that the design of the regulatory control is correct. Look at the choice of control algorithms, tuning and any additions such as feed-forward control, pressure compensation etc. These design decisions will all affect significantly the overall process dynamics and the performance of the APC. Not only will the work done during the pre-test pay dividends during the APC project, changing the tuning later on may require costly re-work.
3
GL GM -I
x
Objective Function
J J1 J 2 J 3
J1 = Set point response IAE J2 = Load rejection IAE J3 = Control effort
Controller Model
min st
B
J
xset
kc ,i , I ,i , D ,i
c j (kc ,i , I ,i , D ,i ) 0,
Constraints Max PV overshoot following SP change. Max OP kick following SP change. Min damping ratio. Max noise amplification in OP. Max model gain mismatch & dead time mismatch.
4
For processes where /tau is small, optimal SP tuning may generate unacceptable MV movement. This may be unattainable or undesirable for the process (e.g. fired heater firing). The OP may be an APC CV constraint that we want to push to a limit. The OP overshoot can be included as a tuning constraint to Max OP Overshoot limit movement.
Internal Filter
88
86
84
IAE
82
80
78
11
Noise Amplification within the PID calculation Amplitude = 0.005, Freq = 0.2 * Ts 0.2 K = 6.1, Ti = 6.9, D = 0.18
0.15
0.1
0
1 301 601 901 1201 1501 1801 2101 2401 2701 3001 3301 3601
-0.05
12
Derivative Filter
Because the noise amplification effect is seen most significantly in the derivative action of the controller it makes sense to filter only the portion of the signal destined for this part of the loop. Some DCS vendors provide a means to filter the derivative term directly by appropriate modification of the PID equation. An alternative variation is an output filtered PID equation. These modifications effectively create a 4 term PID controller. There are very few published guidelines for tuning the 4 term controller, some commercial tuning package take account of the modified controller design.
13
14
OP Movement
15
Cascade Tuning
Optimum performance of the primary loop in a cascade depends on the secondary controller being tightly tuned for load rejection. So can we use the SP weighting technique to improve cascade performance as we know it can improve IAE in the secondary? Process simulation example:
17
Simulation Results
The secondary (temperature) loop was tuned for optimal load rejection. The plot shows the improvement in primary (composition) loop load rejection performance as Alpha is increased from 0 to 1 in the secondary loop.
Increasing Alpha.
0 1 0.4
18
Simulation Results
Imposing a filter between the primary and secondary loops degrades the performance of the primary loop significantly and should be avoided. Remember that using Proportional on PV (Honeywell Eqn C) in the secondary is equivalent to imposing a first order lag equal to the secondary integral time! The same will apply if the controller is an APC MV. If we limit the primary (or APC) moves to small values then excessive SP kick may not be a problem. But be careful about big moves during the step test! The other concern is when the primary is disabled (or APC off). Some DCS vendors provide alternative tuning in this case. For a PID cascade Proportional on error will be beneficial in the primary.
19
Conclusions
Load rejection should always be the main consideration when tuning PID loops. Some of the limitations to increased disturbance rejection can be moderated by modifications to the basic control design through external or internal filters. The drawback is that these modifications introduce more tuning parameters that have to be adjusted in order to achieve the desired performance. Optimisation based tuning techniques allow the control engineer to tune this extended set of parameters taking into account practical design considerations.
20