PID control analogy, revisited

Readers also provide feedback regarding control system maintenance and the benefits of PC-based control systems.


Good goin’

Regarding: “Understanding Derivative in PID Control,” by Peter Welander , Control Engineering North American edition, February 2010,

The articles I like best are “up to the minute” and yet timeless. The P.I.D. related articles are in that ballpark. Good goin’.

L Warren Rogers, electronics lab technician/engineer
Salinas, CA

Expanding on the vehicle analogy

Regarding: “Understanding Derivative in PID Control,” by Peter Welander , Control Engineering North American edition, February 2010.

A very nice article. I am going to keep a copy of this around. My only complaint is that the analogy between riding the brakes and the accelerator of a vehicle breaks down for the case of PID controllers. No chips are damaged in your PID controller as it mathematically resolves the conflict between energy supplying (P-I) terms and energy depeleting (D) terms in its formulas.

I have been told many times that derivative feedback is inherently destabilizing. While this simply not true, there is some basis for the paranoia, for reasons that this article does not explore.

1. Not all systems fit the crude “lag and delay” model postulated by Z-N tuning. Higher order behaviors that are normally negligible and “assumed away” can sometimes be excited by derivative control.

2. First-year calculus students are painfully aware that very few functions automatically evaluate their own derivatives. To make up for the missing information about system response, a PID controller estimates a derivative in some manner. This is important: it is a mathematical construct, not the REAL thing. There is a tradeoff between computational difficulty, estimation accuracy, and noise sensitivity. Derivative control tends to accentuate subtle differences between estimation methods.

3. A fact often overlooked is that many PID systems are implemented digitally, with inputs and outputs operating through converter devices operated at discrete time intervals. These devices have an inherent sampling time lag. While the time lags have negligible effects at low frequencies, they have relatively larger effects on phase shifts at high frequencies. These often do not play nicely with derivative controls, complicating hazards that already exist from filtering the derivative terms, as mentioned in the article.

This article presents a sensible approach: see what you can do without derivative control first, then see what incremental improvement is possible, not trusting magic formulas such as the Z-N rule too much.

[Also,] some minor comments about Dr. VanDoren’s side bar note “Derivative Action at Work”:

  • Ziegler and Nichols did not “discover by trial and error.” Read their paper. In fact, their contribution was providing a mathematical basis for systematically analyzing response loops. I never disparage their work, but consistently point out that it applies only under severely restrictive assumptions. We can do better today (and have!), but the Z-N rule is all you will read about in CE.

  • Other tuning rules, PID topologies, and nonlinear anti-windup features can facilitate overshoot control without sacrificing all benefits of derivative feedback. The note doesn’t say otherwise... but leaves a big gap.

  • The point about “overshoot can be eliminated entirely by leaving the derivative action disabled” should have been carefully qualified “in this case.” For the case of certain level control and low-loss systems this is not in general true. You can verify this theoretically, using simple feedback theory, applying it to the PI control law and a lossless second-order oscillator. Try it!

Larry Trammell, software engineer
Bellevue, WA

Control system maintenance: Junkyard dog meets engineer

Regarding: “Control System Lifespan: How Long is Long Enough?” by Peter Welander , Control Engineering North America edition, January 2010 ,

Having cut my teeth on dc motor generators drives, rotating amplifiers, drum memory and teletype machines, I know all too well the pain of maintaining a control system that is past its prime. Keeping a legacy system running requires a special kind of talent: 1/3 junk yard dog, 1/3 cutting edge engineer, and 1/3 anal records keeper. Its not enough to just go out everyday and make it work, it takes a deep historical understanding of the system to be able to modify and replace components that are no longer made. My hats off to anyone keeping the old stuff running!

Michael Ellebracht, Sr. Systems Intregrator
BIS Frucon Engineering, St. Louis, MO

PC-based control: Its openness is clear

Regarding: “Beckhoff Automation: Use PC-based control, not PLCs; Here’s why,” by Mark T. Hoske , Control Engineering News, January 30, 2010,

I would assume that without an understanding of it, a PC-based control approach could possibly look like a closed system to some. I would think that if you are not familiar with the PC as a control platform that it may scare some control engineers. Just like the PLC scared those who had to replace relay logic in the '70s.

However, most of us who have the knowledge to understand and utilize the power of the PC in automation have seen that it is totally open. Unlike a PLC, most PC-based software will run on any vendor’s hardware and most PC hardware will run any vendor’s software.

The standard Industrial PC (IPC) does not even stipulate which operating system (OS) is used on the hardware platform. If you can find a more open hardware platform than that, then buy it! For those of us who used PC hardware as a control platform, we have seen a great range of OSs, such as Windows, Linux, Solaris or QNX, that give the user a more open environment to develop controls. Many of these OSs provide native connectivity to communicate with other software which, in turn makes access and interoperability of devices much more transparent than in the PLC world.

The IPC user can chose many programming development options such as IEC 61131 software packages which are global standards and are supported by many of the large PLC vendors as well. The open PC environment also provides the flexibility to use high level programming languages such as C++, VB or C# which most engineers coming out of school today are very familiar with.

The scalability of a PC-based system is also more flexible and open. In the PLC world, if you need to scale your system for more or less power, you need new programming software, which would be dedicated to that particular hardware platform. Since most PC-based software is able run on many different hardware platforms, users are able to scale the hardware platform to meet the application requirements without having to change the software. This means NO new software to learn or support.

I would conclude that the openness and flexibility of a PC-based system is far superior to the traditional PLC and, when you consider the performance, networking and cost advantages of a PC, it is a no-brainer if you have the initiative and aptitude to implement it.

Leo Young, manager

The only thing we have to fear is fear itself!

Regarding: “Beckhoff Automation: Use PC-based control, not PLCs; Here’s why,” by Mark T. Hoske, Control Engineering News, January 30, 2010

The only thing we have to fear is fear itself! PLCs have proprietary software and are typically far more closed than any PC-based system, TwinCAT software from Beckhoff adheres to IEC 61131-3 as established by PLCopen and users can program in structured text, ladder logic, function blocks, instruction list and sequential function chart. TwinCAT software has free updates, does not have renewal fees and users are supported by an engineering team in the U.S. without requiring a support contract (will your PLC vendor do that?).

To say that a plant with a PC-based controller is “held captive” to the manufacturer of the equipment is to say that my Dell desktop makes me captive to Dell. I believe this is a groundless assertion rooted in “protectionist” thinking and fear tactics that have positioned too many manufacturers in this country at the back of the pack when it comes to technology. To succeed in a global marketplace, we need to always be improving and looking forward toward new technology. If you aren’t moving forward, you’re falling behind.

Joe Ottenhof , manager
Toronto, ON, Canada

No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Motor specification guidelines; Understanding multivariable control; Improving a safety instrumented system; 2017 Engineers' Choice Award Winners
Selecting the best controller from several viewpoints; System integrator advice for the IIoT; TSN and real-time Ethernet; Questions to ask when selecting a VFD; Action items for an aging PLC/DCS
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
click me