When is PID
Not the Answer?
Social media group member posits the question: How come PID is the
answer to so many applications? Is it because advanced control is rarely
needed or that control engineers are not pushing the envelope?
P
David Greenfield ID has long been one of the more is Advanced Control good for?” a high level of
Control Engineering popular topics covered at Control response was assured.
Engineering, and for good reason— Kodati noted that, while a graduate stu-
our subscribers see it as an inte- dent, he was “amazed by the subject of con-
gral component of their work. The trol and couldn’t wait to see the applications
popularity of the topic among control engineers of the theory applied in industry.” Three years
worldwide does not appear to be waning either. after graduation, however, he began to wonder
Looking back over the past two years, loop tun- why PID seemed to be the answer for so many
ing and PID-related articles are consistently applications.
among the most popular articles visited on the Members of the social media group quickly
Control Engineering Website. responded, and continued to do so for months
So when Parasar Kodati, application support after the initial post. Their responses largely
engineer at the MathWorks, posted this question broke out along three lines: why PID is right for
on the Automation & Control Engineering Linke- so many applications, when advanced control is
dIn site: “When PID is not the answer: What more suitable, and how to analyze a situation to
determine if PID or advanced con-
Standard PID algorithm trol is the best option.
CO(t) is the controller’s current output; e(t) = SP - PV (t) is the Application advice
error between the set point (SP) and the process variable Regardless of whether PID is adequate for most
PV(t); P is the controller gain; T1 is the integral time TD is the applications or not, the only thing that real-
derivative time. Source: Control Engineering, “Loop Tuning ly matters from an engineering perspective is
Fundamentals,” by Vance VanDoren, July 2003. which control method will provide the optimal
result for the particular application the engineer
Timken Co. “However, model-based control often happens to be working on at the time. This next
requires additional terms in the feedback loop. set of advice from practicing engineers addressed
For example, if I am trying to change the temper- just that.
ature of a volume of liquid in a storage contain- As a starting point, Igor Begelfor, instrument
er, it definitely helps to know how much liquid package engineer at AMEC, suggests that when
is present in addition to the temperature of the PID does not work, start looking at the field mea-
liquid. Charging a battery is a similar problem. surement and control devices, as they have likely
It helps to know how much charge it already been misapplied. Once you’ve eliminated these
has. Sometimes that information is not so easy to as the problem and concluded that PID may not
determine from the available sensors.” provide the optimal control for your project, it’s
time to start looking closely at the application.
Recalling work on systems with extensive
Don’t forget advanced control basics higher order dynamics that needed to meet
stringent stability and tracking requirements,
While it’s tempting to apply any If a loop has large dead time, then Hai Ho, vice president of engineering and prod-
number of advanced control meth- you won’t get great control from uct development at HID Global, noted his use of
ods to optimize a given process any feedback controller because multi-variable state space, adaptive, and learning
to its ultimate in performance, the feedback control is like driving control methods rather than PID. The systems
reality is that most processes—and your car by looking in the rearview requiring this advanced level of control were: a
process owners—do not require mirror. digital flight control system for satellite missiles;
that level of control. If the control • Most plant personnel don’t and controlling the position of a magnetic read/
method can’t deliver in terms of know how well their existing con- write head to the micro-inch accuracy under
cost and quality improvements, it’s trols are performing. “I’ve person- wind disturbance conditions equivalent to a cat-
usually not the answer you need. ally been in hundreds of plants, egory 4 hurricane.
To keep your control method and typically 30% of PID loops Offering a more practical example using non-
decisions as useful as possible, are running in manual mode, and linear gain scheduling, consider the problem of a
George Buckbee, vice president nobody knew it,” said Buckbee. He scanning CMM (coordinate measuring machine),
of marketing and product devel- adds that control loop monitoring suggested Michael Thompson, principal develop-
opment at ExperTune Inc., offers software can be used to diagnose ment analyst at The Timken Co. “During scan-
these four checkpoints: and give visibility to instrument, ning of the surfaces, the axes of the machine are
• Realize that the control hard- valve, and control performance. controlled using feedback from a probe. How-
ware in an existing plant is often • Focus on the root cause of ever, most probes only provide feedback over a
in bad condition. A typical process process upsets. “I have seen many very narrow range. A contact-based probe cannot
plant can expect about 30% of plants installing model predictive provide useful feedback when it is not in con-
control valves to have mechanical control on distillation columns, tact with the surface or when it is over deflected.
issues, says Buckbee. “If you have when the fundamental problem is Also, these machines generally try to scan the
sticky control valves, noisy instru- process upsets coming from utili- surface with minimal probing forces (for reduced
mentation, or poor installations, ties. You’ll often get a better return wear, less deformation of the surface, and great-
then it doesn’t really matter what on investment from stabilizing the er accuracy). So the control problem is highly
type of controller you have. You boiler plant operations,” he said. asymmetric,” he said.
will still have poor performance.” The trick is to be able to analyze “Near the target force/deflection (when error
• Have reasonable expectations. the data for root cause. is nearly zero), acceptable and stable control can
be achieved with linear gains and standard PID
56 ● MARCH 2010 CONTROL ENGINEERING ● www.controleng.com
Tank Gauging Problems?