PID Controller Loop Tuning Primer Working With Integrating Processes
PID Controller Loop Tuning Primer Working With Integrating Processes
Integrating Processes
automation.isa.org/2018/02/pid-controller-loop-tuning-integrating-processes-lambda/
This guest blog post was written by James Beall, a principal process control consultant at
Emerson Process Management with 34 years of experience in process control. Beall is a
member of AIChE and ISA, and chair of ISA committee ISA75.25, Control Valve Dynamic
Testing.
The two most common categories of process responses in industrial manufacturing
processes are self-regulating and integrating. A self-regulating process response to a step
input change is characterized by a change of the process variable, which moves to and
stabilizes (or self-regulates) at a new value. An integrating process response to a step input
change is characterized by a change in the slope of the process variable.
From the standpoint of a proportional, integral, derivative (PID) process controller, the
output of the PID controller is an input to the process. The output of the process, the
process variable (PV), is the input to the PID controller. Figure 1 compares the response of
the process variable to a step change of the PID controller output for a self-regulating
process and for an integrating response.
1/6
Figure 1. Response of the PV to a step change of the controller output for a self-regulating and
an integrating process.
Level processes typically have an integrating response, the likely exception being when the
outflow of the vessel is gravity driven. Other processes can have an integrating response.
For example, a “low-pressure, large-volume” gas pressure control application can have an
integrating process. Another example of an integrating process is a reactor temperature
controller that cascades to a “jacket water inlet temperature difference” controller. This
controller controls the difference between the reactor contents’ temperature and the jacket
water inlet’s temperature based on the set point specified by the output of the reactor
contents’ temperature controller.
Challenges
One of the challenges of tuning a PID controller for an integrating process is that when the
integral action of the controller is combined with the integrator function of the process, the
control loop will oscillate if the integral action of the controller is “too fast” (i.e., the integral
time is too short). It is not intuitive to know when the integral time is too short. Another
challenge is that most PID tuning methods for integrating processes do not provide a
method to adjust the aggressiveness of the closed loop response. If the controller
proportional gain (P) is reduced to make the closed loop response less aggressive, the loop
is more likely to oscillate. This is quite the opposite result of when this tactic is used on a
self-regulating process.
Figure 2. Response of lambda tuning for an integrating process for a set point and a load step
change
Procedure
2/6
The lambda tuning method for integrating processes involves three steps:
The next step is to choose the lambda to achieve the desired process control goal for the
loop. If the goal is the best load regulation, choose a shorter lambda. If the goal is to absorb
variability in the vessel by allowing the level to vary and lessen the movement of the
controller output and manipulated variable, then choose a longer lambda. A shorter lambda
produces more aggressive tuning and less stability margin. A longer lambda produces less
aggressive tuning and more stability margin. The low limit on lambda for an integrating plus
dead time process (no lag or lead in the response) is equal to the dead time, although this
provides a very low gain margin and phase margin. A more reasonable low limit on lambda
is three times the dead time. Care should be taken to make sure the dead time does not
increase under any other conditions if the lambda is set equal to the dead time. From a
stability standpoint, there is no upper limit on the lambda. However, the lambda must be
fast enough to keep the process variable within the allowable process deviation (APD) for
3/6
the maximum load disturbance (MLD). The required lambda can be estimated with
equation 1, subject to the minimum limit on lambda. Note that the time units of lambda will
be the same as the time units used for the integrating process gain, Kp.
This formula can be used regardless of whether “tight” control is desired, to provide good
load regulation, or “averaging” control is desired, to reduce variability of the manipulated
variable by reducing the controller output movement.
The final step is to calculate the tuning parameters from the process dynamics. Care
should be taken to use consistent units of time for the integrating process gain, the dead
time, and the lambda. For a pure integrator plus dead time process (no significant lag or
lead), the controller gain and reset times are calculated with the following equations. The
derivative time is set to 0. These equations are valid for the standard (sometimes called
ideal, noninteractive) and series (sometimes called classical, interactive) forms of the PID
implementation. Note that both the controller gain and integral time change as lambda (λ)
changes.
Example
Consider the distillation column feed storage tank level control process in figure 4. The
level controller, LIC-1, output is cascaded to the set point of the column feed flow controller,
FIC-2. FIC-2 has been properly tuning and responds in a nonoscillatory manner with a
closed loop response time, lambda, of 6 seconds. It is desirable to minimize the changes in
the column feed rate by using the capacity of the feed tank to attenuate the transfer of the
variability of the reactor flows into the tank to the flow out of the tank, which is the feed flow
to the distillation column.
4/6
Figure 4. Process and control diagram for distillation feed tank system
Figure 5 shows a step test of the level controller to identify the process dynamics. The
integrating process gain is –0.000216 percent level/second/percent out, and the dead time
is about 30 seconds. Based on the process goals, the APD selected for the level PV is 30
percent. It is often appropriate in these applications to use a fraction of the nominal
controller output as the MLD. The idea is to find the MLD for which the controller is
expected to keep the PV within the APD without operator intervention. Load changes larger
than the chosen MLD are expected to require operator intervention due to other
consequences. After reviewing the process, the maximum load disturbance is chosen to be
50 percent of the nominal 80 percent controller output, or 40 percent. This represents the
loss of two reactors simultaneously. The required lambda and the resulting tuning
parameters using the lambda tuning method are calculated from equations 1, 2, and 3,
respectively. These values are shown below.
6/6