Editor's Choice


Loop signatures: Case History 173

August 2020 Editor's Choice

This article is about another loop in the same plant as I wrote about in the last Case History article (https://www.instrumentation.co.za/10641r). It is only going to be about a single flow control loop this time.

I have previously written numerous articles about problems with valves, which can be easily and clearly uncovered by looking at the flow PV through the valve, and I decided I must include this one as it so beautifully illustrates so many of these problems as they are typically encountered.

The process control metallurgists in the plant were particularly keen to try and improve the control of this loop which was quite an important flow, and which they had never ever managed to get working properly.

Closed loop test

Figure 1 is the closed loop 'as found' test that is performed with the controller in automatic, and using the existing control parameters, which were P = 0,6, and I = 45 seconds/repeat. The test shows that the control is really bad with the flow PV never really getting to set point (SP). The test was started with the SP at a particular constant value. A strange thing happened after about 3 minutes when the PV suddenly jumped upwards by about 3%. The controller did respond and carried on moving downward in a constant ramp, but the PV remained at a constant value and didn’t respond. This is almost definitely a sign that the valve was sticky.

Figure 1.

At about 6 minutes into the test, we made quite a large step up in SP and the flow did respond but slowly, showing that the tuning was very bad. It overshot SP and was starting to creep back again when we ended the test. All in all, the test shows that something is strange going on with the flow drifting around.

Open loop test

The open loop test is shown in Figure 2. (It is interesting to note that the second the controller was put in manual, the flow steadied.) The open loop test is generally always more important as it is the one that normally allows you to identify loop problems, and of course, is also the best one to use for the appropriate tuning. However, closed loop tests can also be useful at times for identifying problems, and obviously they are the ones where you can judge how good the tuning is.

Figure 2.

In this case, the open loop test illustrated some very classical problems:

1. Taking the ratio of the step sizes of the changes in PV to PD (controller output), it can be seen that the valve is approximately 3 times oversized. This is not good as an oversized valve magnifies all the valve problems by the oversize factor, including cycling due to valve and other problems.

2. The valve suffers from a massive hysteresis of about 8%. (Hysteresis is caused by a combination of static friction and mechanical play). The magnitude of hysteresis is determined when reversing the direction of valve movement by measuring the amount the PD has to move in the reverse direction before the valve itself also starts moving. It is generally recommended that hysteresis should be less than 1%. The main problem with hysteresis is that on a valve reversal, it can take a long time for the PD to actually get the valve to start moving again, and apart from slowing the control down and increasing variance, it can also result in other problems including closed loop cycling. (On integrating processes like level loops it will always result in a continuous cycling if one uses P+I tuning.)

Figure 3.

3. It can be also seen that the valve overshoots when being opened, which then takes a long time for it to get back to the correct position mainly due to the hysteresis. However this does not occur in the closing direction. This might be due to some problem in the positioner tuning.

The final closed loop test is shown in Figure 3. The tuning used was P = 0,1, and I = 5,0 seconds/repeat. This is actually quite a slow tune, which is preferable when dealing with a valve that has excessive hysteresis as one would like to try and prevent overshoots as much as possible. The less the valve has to be reversed the better, as it takes so long for the controller to get the valve moving again after a reversal. The test also shows some other interesting things:

1. On the first SP step downward the PV did overshoot slightly, and it can be seen how long it took for the controller to get it back to set point due to the hysteresis. One can clearly see how the controller’s integral action was ramping up whilst the valve was sticking.

2. On the second SP step in an upwards direction the same thing happened, but this time the loop went into a closed loop stick-slip cycle.

Stick-slip cycles

Stick-slip cycles are one of the most misunderstood phenomena in feedback control. The vast majority of people believe that they are due to bad tuning. What they then do is to slow the tuning down until the cycle stops. Now, as I have said many times before, you can always stop a loop cycling by putting it in manual, which could be said to be the infinitely slowest tune. Therefore if you slow the tuning down enough, the cycle will stop, but then you are no longer really controlling, as can be seen in the as found closed loop test in Figure 1.

Figure 4 is another recording of the stick slip cycle with the new tuning parameters. This is very typical with an almost square waveform on the PV and a saw tooth waveform on the PD. What is happening is that the valve is sticking, and the PD is ramping under integral action of the controller to try and eliminate the offset. Eventually there will be enough force in the valve actuator to overcome the stiction (static friction) and the valve moves. However there is now too much energy in the actuator caused by the integral action having to move the PD so much, and the valve overshoots and then sticks again on the other side of SP. The controller now has to reverse the valve, and the whole thing starts up again in the opposite direction.

Figure 4.

The next important thing to note in stick-slip cycles is that they are very slow. In this case, the cycle has a period of close to 3 minutes: if a flow loop cycles due to unstable tuning it will cycle close to the ultimate period of the loop, which is the loop’s natural resonant frequency. In the case of this particular flow loop, the ultimate period is about 14 seconds (figure taken from the frequency analyses done by the Protuner from the open loop test). Therefore the loop’s cycle is about 13 times slower that it would have cycled due to unstable tuning. Also, a cycle due to unstable tuning is more sinusoidal in nature, and does not have square and saw-tooth appearances like this.

All in all this is really a wonderful illustrative example of the typical valve problems frequently encountered on control loops.

About Michael Brown


Michael Brown.

Michael Brown is a specialist in control loop optimisation with many years of experience in process control instrumentation. His main activities are consulting, and teaching practical control loop analysis and optimisation. He gives training courses which can be held in clients’ plants, where students can have the added benefit of practising on live loops. His work takes him to plants all over South Africa and also to other countries.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Connecting every transport node
RJ Connect Editor's Choice Data Acquisition & Telemetry
Stockholm's bus system strategically links urban mainline, suburban mainline, non-mainline routes, community service buses and night buses. To acquire and process data from multiple sources and analyse onboard information on their moving buses, Transdev sought a dependable and powerful onboard computer. It teamed up with CatAB, Moxa’s local representative, known for delivering top-notch industrial data communication boards and equipment since 1988.

Read more...
Local range of planetary units
SEW-EURODRIVE Editor's Choice Motion Control & Drives
As SEW-EURODRIVE South Africa actively extends its offerings to customers, the SEW PPK and SEW P2.e industrial gearbox ranges are good examples of solutions that are well suited to the local business environment.

Read more...
Case History 195: Unstable reboiler steam flow
Michael Brown Control Engineering Editor's Choice
A high-pressure steam flow control in a reboiler on a column in a petrochemical refinery continually cycled when placed in automatic. Several attempts had been made to tune the controller, but these had been unsuccessful.

Read more...
Open control system for retrofit of conveyor control system
Beckhoff Automation Editor's Choice
For every online retailer, warehouse logistics is part of the critical infrastructure. An Australian office equipment supplier has retrofitted the warehouse logistics installation of its central warehouse, and replaced the proprietary decentralised controllers of the conveyor lines with PC-based control from Beckhoff, based on powerful EtherCAT communication.

Read more...
Digital industrial platforms and why they are important
Editor's Choice
One of the most significant trends driving digital transformation is the emergence of digital industrial platforms. This article will briefly explore what digital industrial platforms are, why they are important, and how they might shape the future of industrial automation.

Read more...
Celebrating 65 years: rebuilding and redefining its legacy
Editor's Choice News
Founded in 1959 by Neill Simpson, Axiom Hydraulics has grown into one of South Africa’s elite hydraulic companies. Over the past six and a half decades they’ve weathered many challenges, but none as devastating as the fire of 2023.

Read more...
Young robotics team takes world title
igus Editor's Choice News
In an inspiring demonstration of innovation and teamwork, Texpand, a young South African robotics team, recently made history by winning the 2024 FIRST Tech Challenge World Championships.

Read more...
SAIMC: It’s not black and white
SAIMC Editor's Choice SAIMC
Grey imports are a problem worldwide, not least in the automation industry in South Africa. The Supplier Advisory Council (SAC) operates under the umbrella of SAIMC, and is tackling this problem head-on.

Read more...
Loop signature 25: Tuning part 3 - Results of tuning a particular simple self-regulating process by several different methods.
Michael Brown Control Engineering Editor's Choice
A couple of SWAG methods of tuning were given in the previous Loop Signature article. I have tuned a simple self-regulating process using those methods, and two other tuning methods, one of them being the sophisticated Protuner tuning package, which is the system I employ. The tests were performed on a very accurate and powerful simulation package, and the results are compared below.

Read more...
PC-based control for advanced hydrogen storage technology
Beckhoff Automation Editor's Choice PLCs, DCSs & Controllers
The proportion of renewable energies from solar, wind and water is rising continuously. However, sufficient storage options are of the essence to use these energies as efficiently as possible. GKN Hydrogen offers a particularly compact and safe option, low-pressure metal hydride hydrogen storage systems with PC-based control from Beckhoff.

Read more...