Understanding PID loop dynamics

When you watch your PID controller trying to move a process variable, do you understand the interaction of the three factors at each point on the curve?


PID diagram

What's happening at each point on the curve?

You're sitting at your console in the control room, watching the graphic representation of a specific process variable controlled by a PID controller. Let's say it is a stable loop, and reasonably well tuned. That means it is following the setpoint closely enough to keep the process running on an even keel and your boss happy. For whatever reason, you need to make a setpoint change. You key in the new value and tell the control system to execute. The setpoint line on the screen moves to its new position. Then what?

Since your loop is running in automatic, the process variable should begin to move toward the new setpoint. As you watch the variable respond, do you ever stop to think about what's going on in the controller? What is actually causing the line to move? Which factor, or combination of factors, (proportional, integral, or derivative) is acting on the actuator at any given moment? Your ability to analyze the action at this level will help you determine what might be going wrong with your loops that do not perform as well.

Look at the diagram of a response to a set point change. What's happening at various points in the movement? For example, at point A , P is pushing hard since the variable is a long distance from the setpoint. I is beginning to push as well, but still isn't strong because little time has elapsed since the change occurred. D, assuming you're using it, is beginning to notice that the slope of the curve has taken a sudden turn and may be trying to counteract the P and I action.

With that in mind, ask yourself what's happening at point B ? Which factor is pushing hardest as the variable nears the setpoint? What makes the curve turn around at C ? How about D and E ?

Let's go a step farther. What if this response isn't suitable for your process? What might be causing the sizable amount of overshoot at point C ? If you were to deal with such a situation in real life, how might you reduce that so the variable would approach the setpoint but no go so far over? Should you change your P value? Should you change the I value?

Obviously this is only a "thought experiment," but the process of puzzling through the various possibilities can help expand your knowledge. To help get you started, here are three resources by Vance VanDoren available from our archive that will help explain how these elements work together and strengthen your understanding:

Understanding PID Control

Loop Tuning Fundamentals

The Three Faces of PID


-Peter Welander, process industries editor, PWelander@cfemedia.com
Control Engineering Process & Advanced Control Monthly eNewsletter
Register here to select your choice of free eNewsletters .

No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2013 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
A cool solution: Collaboration, chemistry leads to foundry coat product development; See the 2015 Product of the Year Finalists
Raising the standard: What's new with NFPA 70E; A global view of manufacturing; Maintenance data; Fit bearings properly
Sister act: Building on their father's legacy, a new generation moves Bales Metal Surface Solutions forward; Meet the 2015 Engineering Leaders Under 40
Cyber security cost-efficient for industrial control systems; Extracting full value from operational data; Managing cyber security risks
Drilling for Big Data: Managing the flow of information; Big data drilldown series: Challenge and opportunity; OT to IT: Creating a circle of improvement; Industry loses best workers, again
Pipeline vulnerabilities? Securing hydrocarbon transit; Predictive analytics hit the mainstream; Dirty pipelines decrease flow, production—pig your line; Ensuring pipeline physical and cyber security
Upgrading secondary control systems; Keeping enclosures conditioned; Diagnostics increase equipment uptime; Mechatronics simplifies machine design
Designing positive-energy buildings; Ensuring power quality; Complying with NFPA 110; Minimizing arc flash hazards
Building high availability into industrial computers; Of key metrics and myth busting; The truth about five common VFD myths

Annual Salary Survey

After almost a decade of uncertainty, the confidence of plant floor managers is soaring. Even with a number of challenges and while implementing new technologies, there is a renewed sense of optimism among plant managers about their business and their future.

The respondents to the 2014 Plant Engineering Salary Survey come from throughout the U.S. and serve a variety of industries, but they are uniform in their optimism about manufacturing. This year’s survey found 79% consider manufacturing a secure career. That’s up from 75% in 2013 and significantly higher than the 63% figure when Plant Engineering first started asking that question a decade ago.

Read more: 2014 Salary Survey: Confidence rises amid the challenges

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.