Editor's Choice

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, michael.brown@mweb.co.za, www.controlloop.co.za


Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Loop Signatures 1: Introduction to the Loop Problem Signatures series
May 2020, Michael Brown Control Engineering , Editor's Choice
Over the years I have had many requests to write a book giving more detailed explanations of some of the problems I have encountered in my work on practical loop optimisation. I am by nature and inclination ...

Loop Signatures 2: The two classes of processes.
July 2020, Michael Brown Control Engineering , Editor's Choice
This article will discuss the two classes of processes called self-regulating and integrating (or ramping) processes. This subject is absolutely vital to regulatory control, but strangely is seldom taught ...

From the editor's desk: The virtual business assistant
May 2020, Technews Publishing (SA Instrumentation & Control) , Editor's Choice
Have you ever wished someone would automate the daily grind of routine tasks and set you free to focus on the more engaging aspects of your job?

From the editor's desk: The virtual business assistant
June 2020, Technews Publishing (SA Instrumentation & Control) , Editor's Choice
Enter robotic process automation (RPA), a disruptive workplace technology that uses software “robots” to mimic many of the repetitive interactions human beings have with their computers. It performs such ...

Case History 172: Interesting controls in a copper extraction plant.
June 2020, Michael Brown Control Engineering , Editor's Choice
In my 30 years devoted to optimising controls in industrial process plants in many countries, I thought that I had seen all the possible process dynamics that one would encounter. Imagine my surprise ...

The emergence of a new future in the energy sector
April 2020 , Editor's Choice
Adaptively complex and persistent challenges in Africa are driving the need for a new future in the energy sector. Lack of access to energy, (more than 600 million people in Africa with no access to energy) ...

Case History 171: Instability in a metallurgical plant
March 2020, Michael Brown Control Engineering , Editor's Choice
I have written several articles about the unique problems I have encountered, specifically in the mining processing industry. This article is about some experiences in a mining operation where recently ...

Case History 170
January 2020 , Editor's Choice
As mentioned in earlier articles, the integral (or I term) in the controller is a brilliant thing. It is an extremely elegant and simple solution for eliminating offset in control. However, like everything ...

Case History 169: Tuning a very difficult temperature control loop
November 2019 , Editor's Choice
As I have mentioned in previous articles, Greg McMillan, one of the world’s top control experts, has said that he finds temperature control loops generally the worst optimised processes as most people ...

Beyond Capex and Opex
November 2019 , Editor's Choice
How do we finance IT? We identify a need, we test the waters with a PoC (proof of concept), then we get the green light after we prove the value. We know roughly how much it will cost by looking at the ...