Editor's Choice


Loop signature 28: Things to consider when tuning.

May 2025 Editor's Choice Fieldbus & Industrial Networking

A week before writing this article 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, a ¼ amplitude damped tuning is not desirable and is in fact not good.

One of the delegates who recently was awarded with an instrumentation and control technician qualification took exception to this. He said that every book he has read on the subject and all tuning courses say that ¼ amplitude damping is the ideal tuning. He asked who I think I am to go against what everyone else says is right. He went on to say that if he had tuned loops in his trade test, or answered a question on tuning that did not use ¼ amplitude damping, he would have failed.

This is a problem. Unfortunately, at the risk of causing some offence, I have found that many teachers of control have little knowledge of the practical side of the subject, particularly when it comes to optimisation of regulatory control systems. My reasons for not liking ¼ amplitude damped tuning were listed in Loop Signature No. 24 and are as I believe, solid. There is no doubt in my mind whatsoever that such a tune is not suitable for practical control. Apart from this, each and every loop requires its own special tuning and this article will list every possible consideration I can think of which should be taken into account when deciding on tuning.

The different requirements that may have to be taken into account when tuning a process include:

Knowledge of the control system: Loop signature articles 9 through to 16 illustrate the need for a control practitioner to have an in-depth understanding of the control system, features and choices if he wishes to successfully optimise the plant. Good examples of this are the need to trigger control blocks correctly, scaling controller input signals correctly and understanding the differences between PID, PI-D and I-PD responses on setpoint changes.

Possibly one of the chief causes of loss of potential profits in a plant is due to poor controller setup, usually due to an entire lack of knowledge of the features and options available in the system. I have previously cited many examples of plants losing money like this, including a pharmaceutical company in the UK which could have produced millions of pounds of additional products in its batch reactor plant if they had only used the correct controller response to setpoint change.

Tuning for steady state tracking: The purpose of the vast majority of the controllers in continuous process plants (which are running in steady state condition for most of the time) is to minimise variance throughout all stages of the process. This means that the controllers must keep processes as close to setpoint as possible at all times, particularly through periods when load disturbances are occurring. A good example of this is day-night temperature variations.

To accomplish this it is necessary to use a fast tune with an integral as fast as practically possible. The integral is the tuning term that does the most to eliminate control error. Pole cancellation tuning does much to achieve this – see later. It is also essential in achieving this control objective that cycling due to valves or other problems be eliminated.

Good response to setpoint changes: A few years ago, it wasn’t uncommon in plants to find many loops where the setpoint was changed frequently. There were exceptions to this, such as secondary controllers in cascade systems or ratio control. However, today many plants have implemented advanced control systems or are in the process of doing so. Advanced control systems normally set the setpoints of the base layer, (regulatory controllers). It can only be effective if the base layer controllers follow setpoints really well with minimum variance.

Theoretically, a ¼ wave damped tuning is the best tuning for this as it keeps variance to a minimum. However, in the articles referenced above, it was shown that such tuning is not practical or indeed desirable. In practice, we find that tuning with a gain margin of about 6 d.b, which is about 25% slower than ¼ wave damping works well. Such a tuning does result in an overshoot and an undershoot on self-regulating processes. One should check that this is acceptable as overshoots are not desirable on some processes.

In addition, it is essential that the controller be set to follow setpoint with preferably a full PID response on error. If you are in the unfortunate position to have a system where this is not available, then at least ensure the response is set to at least a PI-D response on error. If it is left on I-PD response on error, a poor variance will result, particularly on slow processes.

Tuning for load disturbances: It is often necessary to take the effect of disturbances into account when considering the tuning needed in any particular control loop. There are various types of disturbances which may need differing treatment.

Upstream load disturbances: Upstream load disturbances are those that generally occur ahead of the process and can often affect it very adversely. A good example of such a disturbance is found in a heat exchanger where the flow of process fluid through the exchanger changes. Another such disturbance which would adversely affect similar slow loops (such as temperature processes) would be if the pressure of say the heating steam suddenly changes, which could happen if another machine was switched on and also drew steam out the steam header. The feedback temperature controller is tuned to deal with a slow process and can only respond slowly to changes. It was shown in previous articles on tuning in this series that the integral on a self-regulating process is normally set equal to the dominant time constant of the process, which can be quite large on temperature processes.

The disturbance itself may be quite fast, but if it comes into the process from upstream it is normally ‘filtered’ by the actual process lags, and therefore the actual process variable changes very slowly. The feedback control having such a slow integral can only respond to these changes very slowly, so large deviations from setpoint can result, hence increasing control variance.

Ideally, one would like to tune the controller as fast as possible to try and minimise the variance, but even this is often not good enough. In many cases the only real way to properly eliminate variance with upstream load disturbances is to use feedforward techniques. This will be dealt with in a future article in this series.

Downstream load disturbances: Downstream load disturbances are normally caused by the actual control loop we are working on. Typically as shown in previous articles, integrating processes, in particular levels, are often tuned with relatively high proportional gains. This can result in the valve moving sharply in response to setpoint changes or to fast upstream load disturbances. As a result the flow through the valve can change suddenly and by quite large amounts. This may upset other processes downstream.

Minimising the effects on these downstream processes will require different strategies. Typically, very slow tuning may be needed or else a completely different type of strategy, such as non-linear control. Strategies such as these will be dealt with in a future Loop Signature article under the heading ‘Surge and Averaging Level Control.

Cyclic or periodic disturbances: As described in Loop Signature 22, feedback control is no good at all in dealing with these types of disturbances unless they are very much slower than the ultimate period (UP) of the loop. In fact, trying to tune the loop faster, which is something people are always trying to do, actually makes matters worse.

To illustrate this point, Figure 1 shows an open loop test on a flow loop performed very recently at a large chemical plant. The flow has a 15 second cycle in it caused apparently by a reciprocating pump. The plant personnel were trying to tune the flow controller fast enough to catch the cycle. It was determined from the frequency plot obtained from the Protuner that the ultimate period of the flow loop was 5 seconds. Now, as shown in Loop Signature 22, cyclical disturbances coming into a control loop with a period roughly between about 0,2 and 6 times the loop’s ultimate period will cause the variance to increase. The cycle coming into this loop was at 15 seconds, which is 3 x UP, so one would expect the loop to react badly to it.

This is in fact what occurred and is shown in Figure 2 where one can see how the variance increased when the loop was put into automatic. There is nothing one can do with feedback control to eliminate this type of problem. If possible, one should try and eliminate the cycle at its source. On certain occasions it may also be possible to use feedforward to cancel out the effects of the cycle on a loop.

Signal noise rejection:

Another factor that can influence the decision on the tuning to use for a particular process is the noise on the PV. This will pass through the controller’s gain amplifier (P term) and will appear on the output of the controller (PD). If high gain is used (such as in level controls) it can present a problem as the valve can start moving around.

In some cases where it is not possible to reduce the noise at the source it may become necessary to use a filter, or else to try and reduce the controller gain to minimise the effects of the noise on the PD.

Just out of interest, the best type of tuning known as ‘pole cancellation’, which should always be used if possible, has the added advantage of giving the lowest gain and fastest integral. Lowest controller gain is good from the point of view of signal noise rejection, and fastest integral gives the quickest recovery from load changes.

Tuning for speed of response versus robustness

In many cases (but not in all), the main requirement of the control is for high sensitivity to process changes such as steady state tracking – see above, where one is trying to keep variance to a minimum. Fast control is needed for this. However, the faster one tunes the controller, the closer one gets to instability. Therefore, you have to balance the speed versus safety. This safety factor is often referred to as robustness.

To do this requires knowledge of the process, understanding what changes may occur under differing conditions and time and of course the control requirements.

This is usually the most important consideration of all.

Process identification

Another absolutely vital consideration is identifying the class and dynamics of each and every process that one tunes. Not only must you know if the process is self-regulating or integrating, but also the dynamic response elements. In earlier articles in this series, process gain, dead time and first order lags were discussed. Future articles will also be looking at all the other dynamics that could be encountered in industrial process control. Certain types of dynamics require very special tuning which can in some instances literally reduce the response time by a factor of four. Even if you use world leading tuning aids like the Protuner, you need the knowledge of the dynamics to achieve the best results.

In conclusion, one can see that there is no such thing as a general optimum tune. As previously discussed, most control teachings postulate that you should always tune with a quarter wave response, which for reasons previously listed, we do not feel is desirable or practical. Instead, one must take into account many, if not most of the various things listed above, before finally deciding how to tune any particular control loop.

In addition, it is essential to work with the process experts and operating staff in deciding on the tuning. Teamwork will also engender cooperation and enthusiasm for optimisation and improvement, and will go far in breaking down parochial attitudes.



About 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 now presents courses and performs optimisation over the internet. His work has taken 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


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Reinventing grain silo management
VEGA Controls SA Editor's Choice
The VEGAPULS 6X radar sensor is designed for continuous level measurement to help overcome the challenges faced by storage in grain silos.

Read more...
Trends in humanoid robots
Editor's Choice
Humanoid robots are increasingly viewed less as futuristic prototypes and more as a practical route to bring artificial intelligence into human-designed environments.

Read more...
Four futures for AI: The choices we need to make now
Editor's Choice IT in Manufacturing
AI is everywhere and its implications are now structural. The question is no longer whether AI will matter, but what kind of society it will shape.

Read more...
Modular control platform for the hydrogen industry
Beckhoff Automation Editor's Choice Electrical Power & Protection
With a seamless modular control solution from Beckhoff featuring over 500 data points and numerous ELX series terminals with intrinsically safe interfaces, Greenlight Innovation is breaking new ground in hydrogen testing.

Read more...
Loop signature Part 2-3: Feedforward Control: Part 2
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
Feedforward control tuning is not nearly as critical as feedback tuning, and fairly simple models are usually fine for the purpose in hand.

Read more...
Proactive treatment of industrial boiler water
Editor's Choice
As water treatment is a critical aspect of industrial boiler management and potentially one of the greatest operational risk points, AES relies on close partnerships with third-party industrial water treatment specialists. These act as important safety nets.

Read more...
Giant super atoms unlock a toolbox for quantum computers
Editor's Choice IT in Manufacturing
In the pursuit of powerful and stable quantum computers, researchers at Chalmers University of Technology, Sweden have developed the theory for an entirely new quantum system based on the novel concept of giant super atoms.

Read more...
Siemens sets out Africa’s mining future
Siemens South Africa Editor's Choice News
The Mining Indaba in Cape Town brought industry leaders together to explore how the sector can unlock long-term value. Sabine Dall’Omo, CEO of Siemens sub-Saharan Africa, joined the conversation.

Read more...
Cybersecure, futureproof and resilient connectivity in mining and manufacturing
RJ Connect Editor's Choice IT in Manufacturing
Digital transformation is no longer a strategic ambition in mining and manufacturing, it is operational reality. The result is unprecedented efficiency and visibility, but also heightened cybersecurity risk.

Read more...
Loop signature Part 2-2: Feedforward Control: Part 1
Michael Brown Control Engineering Fieldbus & Industrial Networking
Feedforward control is a powerful technique that can dramatically improve control variance in cases where load changes cause big deviations from setpoint and the actual process dynamics are too slow to allow the feedback controller to operate fast enough to catch these disturbances.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved