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



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Case History 197: Bad reboiler temperature control.
Michael Brown Control Engineering Editor's Choice Flow Measurement & Control
It is very important that reboiler temperature controls operate well in petrochemical refineries, or the product quality can really suffer. I was asked to check such a control in a refinery where they were having problems with one of these controls.

Read more...
The state of the SI industry remains strong and is expanding
System Integration & Control Systems Design
The system integration (SI) industry is expanding with the adoption of AI, automation and data sharing, allowing companies to improve operational efficiency and competitiveness across diverse sectors.

Read more...
The symbiotic relationship between OEMs and SIs
Schneider Electric South Africa Editor's Choice System Integration & Control Systems Design
While businesses tend to turn directly to original equipment manufacturers OEMs or vendors when embarking on IT projects, the role of the SI as a key facilitator and partner cannot be overstated.

Read more...
Case History 196: Unstable condensate level control.
Michael Brown Control Engineering Editor's Choice Level Measurement & Control
The operators in a petrochemical refinery were having great trouble in trying to stabilise the condensate level in a vessel, and this was adversely affecting other loops downstream. Several unsuccessful attempts had been made to retune the controller.

Read more...
Flexible and precise dispensing technology
Beckhoff Automation System Integration & Control Systems Design
The Scheugenpflug ProcessModule axis system forms the basis of Atlas Copco’s dispensing and screwing cells and a flexible integration platform for general contractors and machine builders. Precise process sequences are ensured by TwinCAT CNC and servo drive technology from Beckhoff.

Read more...
Loop signature: Tuning part 4 processes
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
The purpose of this particular article is to try and give those unfortunate enough to have to use SWAG (scientific wild ass guess) tuning a bit of an idea of how to go about it, and even more importantly some understanding of a couple of basic principles.

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...
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...