How to Perform a Step Test

step test

Tuning PID controllers is a multi-step process.  While it is important to understand each step in the process, performing the bump test and collecting dynamic data is the most crucial step that generally dictates the outcome.  This post delves into one particular type of test – the Step Test – before introducing other tests commonly used in PID controller tuning.

Set Point Change

The purpose of any test is to capture data that can be used to model a process’ dynamic behavior.  A good test will reveal the relationship between a control loop’s Process Variable (PV) and the associated Controller Output (CO).  That can be accomplished either in open-loop by manually adjusting the Final Control Element (FCE) or in closed-loop by changing the Set Point (SP).  This post focuses on closed-loop testing.

While the word “good” is subjective, there are some guidelines for performing a Step Test that should be followed to capture appropriate dynamic data for tuning.  First, the Step Test should involve a large enough change to the SP so that it results in a clear PV response without putting either the process or plant personnel at risk.  Best-practice is to change the SP by an amount that’s equal to at least 4 times the process noise band.  From the above graphic, the process noise is estimated at +1 units.  To ensure that the PV is moved far enough outside of this noise band, the SP is stepped from 70 to 75 units.

Data Reaction

This Step Test produced the required data to model and tune the PID.  As seen in the previous trend, the SP change caused a clear response in the PV and CO signals.  This data is used to determine an dynamic model of the process.  This model is then used to determine appropriate tuning parameters for the PID loop.  Since the Step Test is the simplest test that may be performed, it can be analyzed by hand.  Alternatively software may be used to automatically generate parameters for use with your PID controller.

While the Step Test may seem simple, there are several things to keep in mind when tuning PIDs:

  • Did your test start and end with the process at a steady-state? In most cases your data must be held at steady-steady in order to produce results appropriate for modelling. This is particularly true when applying manual tuning techniques or when using most commercial software packages.
  • Did you account for process noise? As mentioned earlier it is essential that the SP step performed moves the PV at least 4 times the noise band.
  • Did the process experience any disturbances during your test? Disturbances that occur during the test renders the results unusable as the data reflects the disturbance as well as the process’ normal dynamics.

Different Kinds of Tests:

Other than the Step Test, there are three (3) other tests commonly used in industry.

Bump Test v2

The Bump Test can be thought of as two (2) Step Tests performed in rapid succession and in opposite directions. The SP is first stepped in one direction.  Once the measured PV shows a clear response, the SP is then stepped in the opposite direction, returning to its original value.

Doublet Test v2

Similarly, the Doublet Test is two (2) Bump Tests performed in rapid succession and in opposite directions. The second bump is implemented as soon as the process shows a clear response to the first bump.  Note that the second bump returns the SP to its original value.

PRBS Test v2

Finally, a Pseudo-Random Binary Sequence (PRBS) Test is a sequence of SP pulses – or Bump Tests – that are uniform in amplitude, alternating in direction, and of random duration.  While more changes to the SP are involved, the PRBS Test allows each change to be of lesser magnitude.

Choosing the right test for your process depends on several factors.  From experience, the Doublet Test provides the best data for tuning.  More specifically a series of three (3) Doublet Tests frequently provides the best results. This allows a user to gather process data from nine (9) separate step tests. It also allows for three (3) different reactions to your process which allows for a fuller picture of data.

If you need additional guidance on how to perform a test or how to tune your PIDs for optimal performance, consider attending a training workshop that focuses on understanding process dynamics and the PID controller or contact us.

These resources offer related content:

stop light yellow caution

The “D” in PID Stands for: Do Not Use (Sometimes)!

The Derivative Term is not only the last letter in PID (i.e. Proportional-Integral-Derivative) it’s also the most maligned of the three. With its big kick, the Proportional Term provides an immediate correction for changes in control and it is clearly the star of the PID...

The Relationship Between Loop Performance Monitoring and Loop Tuning

Imagine that you just purchased software to help with the tuning of your plant’s control loops.  You’re ready to enhance control and to improve production throughput and efficiency, right?  With software successfully installed you consider the 100s if not 1000s of PID controllers regulating your...

What is a Distributed Control System?

In a recent blog post we paid tribute to Dick Morley and his pivotal contribution to the process automation industry: the Programmable Logic Controller (PLC). Since the PLC and Distributed Control System (DCS) are both instrumental in controlling complex production processes, people occasionally use the...

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.