What Sample Rate is Needed When Tuning PID Controllers?

Sample Rates May Vary from Loop to Loop …The Importance of Good Data Doesn’t!

Practitioners often apply simple guidelines when it comes to data collection requirements and controller tuning. These “rules of thumb” assure that sufficient data resolution exists when a given PID control loop’s dynamics are being analyzed. Without good data a process engineer’s ability to model the dynamics and tune for improved control can be undermined. If the sample rate is too slow, then most any tuning procedure will be hit-or-miss at best. So what exactly are those guidelines?

Approaches range from simplistic “rules of thumb” to scientific methods (e.g. Nyquist-Shannon sampling theorem). On the easier end of the spectrum its commonplace to stipulate sample rates of 1 second or faster for Flow loops and 1-2 seconds for Pressure. Such loops react very quickly to changes in Controller Output. Not far behind are rates of 2-5 seconds for many Temperature and Level loops which characteristically possess slower dynamics.

When considering sample rate from a scientific or mathematical perspective, the guidelines are a bit more involved and beyond the scope of this blog post. Still, it’s generally accepted best-practice for the sample rate to be based on frequency or time-based components of the process data. Basic formulas propose the use of data that is either 5-10 times faster than the Process Time Constant or 3-5 times faster than the Process Dead-Time.

Beyond these approaches it is worthwhile to keep other considerations in mind:

  • Aliasing

Aliasing is like an illusion. It occurs when the sample rate is insufficient to provide an accurate depiction of a process’ dynamics. When this type of data is collected and plotted it can depict dynamics that are altogether inaccurate and misleading. Controller tuning parameters generated using this type of data can be counterproductive and even undermine safety.

  • Compression

Compression is an approach to data storage that helps manufacturers keep their IT overhead under control. One approach is to eliminate data according to a schedule. Another focused on change involves the elimination of data that remains constant. Regardless of the technique applied, compression can result in aliasing by limiting the resolution of data needed for process modeling and PID controller tuning.

  • Software

In order to provide good results, controller tuning software requires “good data”. So it’s no surprise that software’s value decreases steadily as the sample rate slows. Faced with poor data software can model for the Process Gain, but it loses the ability to provide meaningful values for either the Process Time Constant or the Process Dead-Time. In such instances old-fashioned trial-and-error testing is generally required to establish functional values for the associated controller tuning coefficients.

Guidelines for applying an effective sample rate are equally important to PID control loop tuning as they are to monitoring plant-wide control loop performance. If the data lacks sufficient resolution, then practitioners are in essence flying blind and limited in their ability to maintain safe and profitable operations. Best-practices for data collection and analysis are covered in the curriculum of most courses on process control.

These resources offer related content:

Shutterstock_1048930442

What Role Should CLPM Play in a Process Manufacturer’s Intelligent Operations Strategy? How Does CLPM Contribute to Improved Process Health and Asset Health?

PID control loops are critical in the regulation of plant-floor production processes. The health of these loops serves as an indicator of the wellness of a facility’s overall production process and its ability to operate efficiently. This suggests that investing in control loop performance monitoring...
Iconic-Mark_Inverted-Color

What is a Micro-Historian?

News flash – the market for pneumatics has been marginalized significantly by digital control.  And with data being increasingly central to the average plant’s day-to-day plant operations it’s no surprise that the market for data historians is growing.  Without data the staff in operations, engineering,...
Iconic-Mark_Inverted-Color

What Value is Hidden in a Plant’s Process Data

While a typical Distributed Control System (DCS) keeps a watchful eye on production and scheduling there are other important details that a DCS simply overlooks.  To be clear, a DCS consumes process data in order to measure and regulate the flow of material through a...

Still looking for more?

Now that you’ve gotten the basics, connect with our team to learn how our people, processes and technologies can help you optimize.