How Do I Tune a PID Controller?

A Simple Recipe for Tuning Controllers Manually

Techniques for modelling a process’ dynamics and calculating tuning parameters are widely available.  These approaches enable practitioners to tune controllers consistently and with reasonable results.  At Control Station we know a little about this topic as we’ve been sharing these techniques for decades and innovating software-based solutions that deliver even better results.

Techniques for manually tuning controllers is often characterized as a recipe that involves the following steps:

1.  Specify the Design Level of Operation

Every control loop has a specific function or purpose – a specific range of operation for which the control loop was designed.  Before doing anything else you need to know the design level of operation (DLO) as that dictates how you address each subsequent step.

2.  Step the Process Within the DLO

PID controllers are model-based.  The model allows the PID to react appropriately to dynamics within the process.  In order to understand how your process reacts to changes, you must step the process within the DLO.  It’s essential for your step to be large enough that it clearly dominates any noise in the process.  As a rule of thumb a step of 3x-5x the noise band is recommended.  Just as important, manual tuning requires that you begin the step when the process is “quiet” – when it is steady and not impacted by disturbances.

3.  Calculate FOPDT Model ParametersMouse-Pad-5-08

This step involves math.  Using results from the step test you can now calculate a First Order Plus Dead-Time (FOPDT) model with specific values for Gain, Time Constant, and Dead-Time: 

Gain indicates how far the process moves in response to changes

Time Constant is how fast the process reacts to those changes

Dead-Time reflects the delay in the process’ response 

 4.  Apply Tuning Correlations

The previous step provided model parameters with which your tuning parameters are calculated.  Those tuning parameters are based on correlations which specify the controller’s responsiveness.  Control Station recommends the IMC tuning correlations as a controller’s responsiveness can be easily adjusted for the following range of outcomes: 

Aggressive?     Moderate?     Conservative 

These values are then applied to your controller’s algorithm.  Note that the algorithms themselves can be complex so be sure to reference documentation supplied by the manufacturer.

Manual tuning is a reasonable approach when a process is steady and free of noise.  Unfortunately, most industrial processes are highly oscillatory and noisy.  As a result, manual tuning oftentimes requires numerous bump tests which can be costly in terms of time and lost production.  Only one company offers a software solution that eliminates the steady-state requirement across the full range of industrial applications.  If you can’t tune your loops manually, give us a call and we’ll tell you how!

These resources offer related content:

How Should Control Loop Performance Issues Be Prioritized?

Align the Approach for Prioritizing Control Loop Performance With Existing Automation Practices There are many paths to Heaven or so the saying goes. With a growing array of automation technologies, such a philosophical expression can be applied to process control and plant-wide optimization. Whether the...

Why is Zeigler-Nichols the Wrong Choice for Your PID Controllers?

PID Control Loops Have Specific Purposes and Unique Attributes.  'One Size Fits All' Approaches to Tuning May Be a Recipe for Failure.    In 1909 Henry Ford famously offered customers any color of his Model T automobile as long as their choice was black. Ford's...

Different Strokes for Different Folks: Data Analytics Deployment Options

More and more manufacturers are incorporating data analytics as part of their strategy for plant- and enterprise-wide optimization. For years process manufacturers have been collecting and storing their production data. The value proposition behind growth of advanced analytics solutions is that manufacturers can sift through...

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.