Editor's Choice


Control loop: Case History 162 - Optimising an interesting temperature control.

September 2018 Editor's Choice

I have often written about the huge advantages of using cascade control on processes with very slow dynamics. It is particularly useful when it comes to most temperature related processes, which are normally terribly slow. The example given in this article will again demonstrate the power of this technique.

The case in question is an important temperature control on a distillation column in a petrochemical refinery. The operators had been having a great deal of trouble with this control and had been controlling it to the best of their ability in manual, which was not very easy or very successful, usually resulting in them sending the temperature above and below set point in a sort of ‘manual limited cycle’.

Optimising a cascade system

The automatic control consisted of a cascade control with the temperature as the primary, and a flow as the secondary. The first thing that one must do when optimising a cascade system is to start with the secondary control loop.

Figure 1.
Figure 1.

Figure 1 is the recording taken of the flow control with the controller in manual (open loop test). It uncovers some interesting things which are all bad:

1. Comparing the relative step sizes of the input and output of the controller (PV versus PD) would indicate that the valve is probably 3 – 4 times oversized.

2. The response of the flow to step changes is extremely slow which would indicate that there is a large filter on the transmitter, probably as much as 15 seconds. This is not a good practice as filters distort information and slow down response. Also a secondary cascade loop should be as fast as possible.

3. The valve is extremely sticky, sometimes not moving for as much as 11 seconds after a step change on the controller output. It also misses several of the small steps in the closing direction.

4. There is a huge overshoot on steps when the valve is opening, and it takes a long time before the positioner can bring it back to the correct position. This does not occur when the valve is moving in the opposite (closing) direction. This is almost certainly due to a valve/positioner problem, rather than some strange process effect.

All in all, the valve is in a very bad way and needs repair or replacement.

Frustratingly when one discovers problems like this in a plant, they normally cannot be sorted out straight away. A report in most cases is sent to the instrument maintenance department, which will then have to schedule work on the faulty equipment. In the meantime you have to try and work around the problem as best as possible so as to keep the process working.

In this case the controller was tuned fairly slow to prevent instability, as the overshoot problem on opening could easily cause big problems. As it happens, we managed to get closed loop control working but the loop did display a significant ‘stick-slip’ cycle as shown in Figure 2.

Figure 2.
Figure 2.

Characteristics of stick-slip cycles

Stick-slip cycles of this nature are often seen on well-tuned fast self-regulating loops which are in automatic. Unfortunately the majority of people in a plant immediately say that the tuning is at fault. They do not realise that it is caused by problems in the valve/positioner combination.

Generally a cycle caused by too aggressive tuning cycles at about the natural resonant frequency of the loop, which in the case of a normal flow loop usually has a period of about 6-10 seconds. In the case of this particular loop with its enormous filter, the period of a resonant cycle would be about 38 seconds. In this case the stick-slip cycle has a period of about 90 seconds, which is significantly slower. The resonant cycle also has a very different waveform with the cycle on both the PV and the PD (controller output) being relatively sinusoidal. In the case of a slip-stick cycle the PV has a ‘square’ waveform, and the PD a very distinctive saw-tooth appearance. These waveforms are results of the valve not responding to the PD signal from the controller, and the controller’s integral action keeps integrating until the valve does start to reverse, and then it overshoots setpoint in the direction of the reversal.

Most stick-slip cycles have an amplitude of about 2%, but in this case it was over 6% due to the oversized valve, which illustrates that one of the problems caused by such valves is they amplify any problems by the oversize factor.

We find that in many plants people do not see stick-slip cycles because they tune the loop so slowly that the cycle stops. This is almost like stopping a cycle by putting the controller into manual, which I define as the infinitely slow tune. Loops that are tuned so slowly are basically almost completely inefficient in automatic, and cannot deal with changes effectively, so operators usually run these loops in manual anyway.

Optimising the primary loop

Once the cascade secondary loop is optimised one can proceed with the optimisation of the primary loop. The beauty of cascade is that the secondary loops takes care of the valve problems, like hysteresis, stickiness, and non-linear installed characteristics to name a few. Therefore, generally all we need to do is just tune the primary, which in most cases is a very slow process.

Here, we performed the open loop test on the temperature (primary), and part of the test is shown in Figure 3.

Figure 3.
Figure 3.

This shows the process is a ‘positive lead integrator’ the tuning of which was discussed in some detail in recent Case History 157. The original tuning was set at P = 0,75, I = 2 minutes/repeat, and D = 0,1 minutes. The new tuning is P = 6, I = 1,5 minutes/repeat, and no derivative used.

Figure 4.
Figure 4.

Michael Brown
Michael Brown

The results are absolutely magnificent. Figure 4 shows the response to a setpoint change. The response was about 12 times faster than that of the original tuning, and was highly robust, with the control keeping the temperature within 0,15°C.

This is amazing bearing in mind the terrible valve and once again shows the power of cascade controls. It should also be noted that the large stick-slip cycle on the flow loop has absolutely no effect on the temperature, as the latter is so much slower than the flow.

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. He can be contacted at Michael Brown Control Engineering cc, +27 82 440 7790, [email protected], www.controlloop.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Cutting-edge robotics and smart manufacturing solutions
Yaskawa Southern Africa Editor's Choice
Yaskawa Southern Africa made a compelling impact at this year’s Africa Automation and Technology Fair.

Read more...
A cure for measurement headaches in contract manufacturing
VEGA Controls SA Editor's Choice
A contract manufacturing organisation provides support to pharmaceutical and biotechnology companies in the manufacturing of medications, formulations and substances. VEGA’s measurement solutions offer accuracy and reliability for monitoring levels and pressures during the manufacturing process.

Read more...
PC-based control for a food capsule and pod packaging machine
Beckhoff Automation Editor's Choice
For TME, a machine builder specialising in the packaging of powdered foods, Beckhoff’s PC-based control technology offers unlimited opportunities when it comes to performance and innovative capacity in terms of flexibility, scalability and openness.

Read more...
Case History 198: Cascade control overcomes valve problems
Michael Brown Control Engineering Fieldbus & Industrial Networking
A large petrochemical refinery asked me to perform an audit on several critical base layer control loops. This article deals with a problem found on a valve controlling the flow of fuel to a heat exchanger.

Read more...
Simple and efficient level measurement in the mining, minerals and metals industries
Endress+Hauser South Africa Editor's Choice Level Measurement & Control
Measuring devices in the mining, minerals and metals industries face the challenge of varying material states and long distances in measurement height. Endress+Hauser’s answer to these challenges is the new Micropilot family.

Read more...
PC-based control for fertiliser
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
On a farm in the USA, valuable ammonia is extracted from slurry and processed into ammonium sulphate. NSI Byosis has transformed this complex process into a flexible modular system. This modular approach requires an automation solution with flexible scalability in both hardware and software, which this Dutch company has found in PC-based control from Beckhoff.

Read more...
Loop signature 28: Things to consider when tuning.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
I was giving a course at a remote mine in the middle of the Namibian desert. We were discussing tuning responses, and as I always do on my courses, I mentioned that in my opinion ¼ amplitude damped tuning is not desirable, and is in fact not good.

Read more...
Control without complexity
Editor's Choice Motion Control & Drives
In an era where precision, performance and smart control define industrial success, the right driver can make all the difference. At Axiom Hydraulics, we’ve seen firsthand how the Sun Hydraulics XMD series transforms hydraulic systems, from mining and construction to agriculture and automation.

Read more...
The thermal combustion balancing act
Editor's Choice
From carbon taxes to export tariffs, and cost containment to security of supply and sustainability, companies are under increasing pressure to switch to greener fuel sources. Associated Energy Services warns that this pivotal change has some potentially serious knock-on effects.

Read more...
What’s driving the IE3 motor revolution?
WEG Africa Editor's Choice
The International Efficiency 3 (IE3) motor standard will soon become South Africa’s legal minimum standard, mandating that local suppliers offer more efficient electric motors. What is driving this change, and how does it affect the many industries that rely on these modern electric workhorses?

Read more...