System Integration & Control Systems Design


Control Loop: Case history 133 - Life is never dull for a control engineer.

October 2013 System Integration & Control Systems Design

Following from the last Case History article, number 132, about interesting loops in a chemical plant where I do a lot of optimisation, here are a few more examples of interesting loops.

The basics of level control

The first two examples are of tuning of level control. Level processes fall under the category of integrating, or ramping processes and there are numerous articles in the Loop Signature series where the subject of optimising integrating processes is covered. As mentioned there, this class of process is not at all well understood by the vast majority of people who perform optimisation. Integrating processes, for many reasons, tend to be cyclic if problems like valve hysteresis exist and bad tuning can exacerbate this. When it comes to tuning, integrating processes are invariably tuned far worse than the other class of processes, known as self-regulating systems.

There are mainly two types of level controls:

1. Tight level control: this is where the control requirement is to hold the level as constant as possible and keep it at set-point under all conditions of load disturbances. The tuning for this must be as fast as possible. Therefore one needs to use high controller gains to allow the valve to respond quickly to changes. (Remember that in general there is a relatively high volume of liquid in the vessel in comparison with the volume of liquid passing through the valve. Therefore if one wants a response to be as fast as possible, you must get the valve to move quickly.)

2. Surge level control: this is used where the vessel is designed to store or hold enough liquid so that a constant flow can be passed to downstream processes, irrespective of changes in the flow entering the vessel. Therefore if we have a valve to control the level on the output side of the vessel, then one must try to minimise movements of this valve. This requires slow tuning or even better to use techniques without an actual controller as described in the first Loop Signature series in Article LS29-1.

The examples covered in this article are where the control requirement is for the first case of tight level control.

Tuning considerations

Many C&I practitioners have a general fear of using high proportional gains in controllers, obviously due to a fear of causing instability. Most self-regulating processes need relatively low gain in the controllers, however, for the majority of integrating processes, particularly for level controls with relatively long tank retention times, much higher gains can be used. As a general rule, one would probably not need gains higher than 15, most tight levels have gains varying between 3 and 15.

The problem with level controls comes with the integral term in the controller that can cause various problems which result in cyclic behaviour of the loop when the controller is in automatic. Typically, any valve hysteresis on integrating processes tuned with both proportional and integral terms will result in continuous cycling of the loop. Integrating processes generally also need much longer integral times than self-regulating processes. But, if the integral is too fast, then the loop will become cyclic which causes continuous oscillation.

Most people who do tuning have a good understanding of self-regulating processes and can usually achieve a set-up which is stable – although the vast majority of loops are tuned far too slowly. When it comes to integrating processes, a completely different mindset is needed for tuning, and as few people have been taught this, the tuning is usually very poor being extremely slow and cyclic.

Practical examples

The first example is of a level control which was incredibly badly tuned. The process had a retention time of approximately 16 minutes, which is not very large and the original tuning was set with a proportional gain of 0,8 and an integral of 7 minutes per repeat.

Figure 1.
Figure 1.

A set-point step change of 10% was made and a very slow cyclic response resulted. In Figure 1 it can be seen that with this tuning the process had not settled completely at set-point, even after 4 hours!

Medium fast tuning of the Protuner loop analysis software gave a tune with a proportional gain of 9,0 and an integral of 9 minutes per repeat. The response to the same set-point change gave a reasonable response with only one overshoot and the process settled completely within 30 minutes. This is a wonderful example of a badly tuned level loop.

Figure 2.
Figure 2.

Figure 2 shows the before and after tuning of another level loop. This one was very difficult to tune because the process is subject to frequent and large load disturbances, and it was very hard to get quiescent periods during which open loop tests could be performed to obtain a good and representative process dynamic signature to allow tuning to be calculated. It took over an hour to run these tests, which could have been completed within a few minutes if conditions had been stable. This is where experience comes in. One has to perform numerous tests and compare them to find repeatable responses from which the process dynamics will allow good tuning.

It can be seen that the closed loop response to a step change in set-point was again dramatically improved with the new tuning. The original tuning was set with a proportional gain of 0,5 and an integral of 9,1 minutes per repeat. The new tune gave a proportional gain of 4 and an integral of 5 minutes per repeat.

The third example is of a flow loop that was always cycling. As usual, nearly everyone in a plant immediately assumes that if a loop is cycling then the tuning is wrong, and in this case, many attempts had been made to try and tune out the cycling.

Figure 3.
Figure 3.

Figure 3 shows a closed loop response to step changes in set-point after a Protuner tuning. As far as the response is concerned the tuning is pretty good for a flow loop. The proportional gain was 0,1 and the integral 0,04 minutes per repeat. (The original tuning was useless with a gain of 0,8 and an integral of 0,5 minutes per repeat.)

It can be seen in the test that the process was in an almost continuous cycle. This was not due to the tuning. The reason for the cycling can be clearly seen in the open loop test shown in Figure 4, which shows that on virtually every step change the valve over and undershot, sometime several times. This is because the positioner is almost completely unstable.

Figure 4.
Figure 4.

Conclusion

Unfortunately in these modern days of ‘smart’ measuring and control equipment, many people assume that the computerisation automatically takes care of everything. However, one often has to set up the computer in the equipment to do this. In the case of smart positioners, particularly the more sophisticated ones, there is a PI controller in the positioner which also has to be tuned. Positioners, for many reasons outside the scope of this article, are a potential source of instability on fast processes like flow and need careful tuning.

I always enjoy finding and solving loop problems like these. Approximately 50% of control loops have similar problems and plant personnel often do not even know that they exist.

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 (0)82 440 7790, [email protected], www.controlloop.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

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...
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...
The time is now for systems integrators
Editor's Choice System Integration & Control Systems Design
Integrators combine sophistication regarding technology innovation with practical, hands-on experience. Collaborating with systems integrators is the means to significant productivity improvement, powered by the convergence of automation and information and operations technology.

Read more...
System integrators are a diverse market
Editor's Choice System Integration & Control Systems Design
System integrators (SIs) combine expertise on emergent technologies with real world experience. Working with SIs, it’s inevitable that at some point someone will say, “We’re not a typical SI.” And in many ways, it’s true. SIs come in all shapes and sizes.

Read more...
Case history 194: Boiler level control problem.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
A boiler level control in a petrochemical refinery was causing problems, as the level was cycling badly and taking a long time to recover from sudden load changes. In addition, there were frequent high-level alarms.

Read more...
Avoiding the pitfalls of PLC and scada control system integration
Iritron System Integration & Control Systems Design
Upgrading your control system by integrating PLCs with scada systems should be a simple seamless process. Regrettably, the industry is plagued with control system integration and upgrade myths and misconceptions that can lead to liability issues, project delays, cost overruns and decreased plant performance.

Read more...
EtherCAT measurement terminals for vehicle development at Mercedes-Benz
Beckhoff Automation System Integration & Control Systems Design
At the Mercedes Technology Centre plant in Sindelfingen, Germany, car axles are examined with the highest precision on four test benches, in parallel with road tests and simulations. All data is acquired using PC-based control from Beckhoff.

Read more...
Loop signature 23: Tuning Part 2.
Editor's Choice System Integration & Control Systems Design
It is my opinion that most tuning methods are very crude. They do of course also offer a starting point for tuning if one is not fortunate enough to have a sophisticated tuning package like a Protuner around.

Read more...
PIC microcontrollers with integrated FPGA features in TME
System Integration & Control Systems Design
The new PIC16F131xx microcontrollers in TME’s offering from Microchip are ideal for the evolving and miniaturising electronic equipment market, offering efficient power management and predictable response times for controllers.

Read more...
Five smart machine trends you need to know
Adroit Technologies System Integration & Control Systems Design
The last ten years have brought about dramatic advances in technologies that OEMs had never realised would affect their designs or the saleability of their machines, much less impact business models and profits so dramatically. The following discussion will cover key advancements and recommendations all OEMs should be adopting in their design processes to stay current and competitive.

Read more...