Editor's Choice


Case History 188: Process gain – an important dynamic.

July 2023 Editor's Choice

When analysing a control loop, one of the important things that one must do is to determine the dynamics of the process. Process dynamics can be loosely defined as various types of mathematical components that may be present in the response of a process to a change in the input. Industrial type processes may include one or more of the following dynamics: process gain, dead time, first and also higher order lags, multiple lags, and positive and negative leads.

Apart from gaining valuable information about the components in the control loop, it is essential to identify and possibly quantify these dynamic components in order to be able to tune the controller scientifically. In passing, it should be mentioned that the various dynamic components generally affect self-regulating processes differently from the way they do to integrating processes. This can make tuning of processes of complex dynamics very difficult, and it really becomes necessary for one to employ a good tuning package for these. Fortunately however, approximately 75 to 85% of all processes encountered in normal industrial process plants can be treated as having only two or more of the first three dynamics mentioned above, namely process gain, dead time, and a first order lag. These processes are relatively simple and in general if they can be identified properly, they can be tuned without the need for such a tuning package.

Ziegler and Nichols quickly realised in the 1930s that the ultimate method of tuning using dynamic operational testing which oscillates the process sinusoidally over a wide range of frequencies was not practical or feasible on industrial processes. They then pioneered research to establish other alternative methods for tuning. Although one of their methods was to use a limited cycle on the loop, and which works well on ideal loops, their other methods all involved making a mathematical model of the process by recording the response of the process to a step change on the input. One then graphically tries to determine the values of the two or three dynamics, and then plug the values into a formula to establish the tuning parameters. This is called ‘model based tuning’ and has not proved very successful, even though many other people have also come up with a variety of formulae. It works occasionally, but not often, and seldom gives really good tuning. However it can be adapted to serve with a certain amount of trial and error testing if you really understand what you are doing.

In this article we are going to discuss the process gain of a self-regulating process. Figure 1 shows how the PG (process gain) is measured for the response on a simple self-regulating process like a flow process. It is the ratio of the change in the PV (process variable) that results from a change in the PD (controller output). Note that it is best done by making a step change on the PD with the controller in manual.

The ideal value of PG is unity, as you are then making use of the full ranges of both the valve and the measurement. As a general rule, on a flow loop the PG is considered reasonable if it lies between 0,5 and 2. Problems can result if it is outside that range as described below. The value of the PG when measuring it on flow loops in particular can give valuable information as to whether the valve is oversized or if the transmitter span is too wide.

Oversized valves (PG>1) can cause two problems:

1. All valve problems are effectively multiplied by the PG value so that in closed loop control the control variance will be made worse by that value, and any cycling will cause the PV’s amplitude to be correspondingly that much bigger than the PD’s amplitude. For example if you have a stick-slip cycle occurring with the valve cycling over a range of say 2%, and the valve is four times oversized, then the amplitude of the cycle on the PV will be 8%.

2. Many fast self-regulating processes like fast flow loops are tuned with a very small proportional gain, and an extremely fast integral. For some unknown reason, some makes of controllers (even some very well known ones) have a very limited low end proportional gain setting. Typically, very commonly, it is limited to 0,1 (or 1,000% proportional band). I have even come across one make of PLC where the lowest value you can insert is 0,25. In many cases on these fast loops, and if the valve is oversized, then these controllers will not allow you to insert a small enough gain to prevent instability. To overcome this, one needs to increase the integral value, usually quite substantially. This adversely affects pole cancellation tuning, and can drastically slow down the tuning.

Transmitters with too wide a span (PG<1) also can cause two problems:

1. The accuracy and quality of the measurement can be badly affected. This is because you will always be working lower down on the measurement scale. Nearly all transmitters have a limited rangeability, with very few being able to give accurate or even valid measurements near the bottom of their range. (Also be aware that many types of transmitters have accuracies specified in terms of ‘% of full scale’, instead of ‘% of reading. This means that these transmitters are less accurate as you move down the scale.)

2. The PG is now small and must be less than unity. As the control speed of response to SP (setpoint) changes when in automatic is largely dependent on the product of PG (process gain) and Kp (controller gain) i.e. PG x Kp = Response, it means that as PG gets smaller you will have to put in a proportionally bigger Kp to get the desired response. Now, although it is sometimes necessary to use high Kp values to get the control response you need, what is happening here is that you are putting in a higher Kp than would be needed if you had a properly spanned transmitter. Remember, the higher the Kp, the more you are going to move the valve around, and this will result in a shorter valve life. I have come across quite a few cases where with very over-spanned transmitters, they have had to insert such a high Kp in the controller to get the desired speed of control response, and this has caused the controller’s output to fluctuate widely, with unacceptable valve movements. This is particularly the case where there is fairly high process noise on the PV. To overcome this, C&I; technicians or artisans often either drastically filter the PV, or else equally drastically reduce the Kp to ‘save the valve’. This means that one may not obtain the good control needed.

A brilliant example of this recently occurred when I was supervising loop bump tests on the controls of an offshore oil rig over the internet. The testing of the controls on this particular rig was very difficult due to the safety requirements. Any proposed test had to be first submitted to a panel for evaluation and approval with values given of size of steps etc. All the tests had to be performed by a senior operator and could not be done by the optimising team. This of course makes optimisation very slow and frustrating. However it is understandable as oil rigs are very hazardous plants, and safety is paramount.

The process in the example was a simple flow loop. The operators had been complaining that they had to run the loop in manual as it just didn’t seem to work properly in automatic. We first tried performing a closed loop test with the existing parameters where one makes a step change in SP. They would only allow a 9% change to be made. It was also initially found that they had the wrong controller setup on the controller, so that on SP changes there was only I (integral) action. They then changed this so that both P and I action came in. The result was that even after a few minutes it appeared as if the PV had not reacted.

An open loop test was then performed, and this is shown in Figure 2. It should be noted that when performing these tests on our recording system we only see the variables trending on a 0-100% scale. The PD was moved up and down in a number of steps over a 20% range over a test lasting some 22 minutes. During this period there seemed to be no noticeable movement of the PV. It appeared to me that the valve was sticking. I wanted them to move the output further but the operators would not allow this as they thought that the valve might suddenly jump and cause a big surge in flow.

Later that day the C&I; staff on the rig emailed me the tests so I could examine them in more detail. On expanding the tests, to my amazement I saw that the flow was reacting to our changes fairly well but in tiny movements. The PG turned out to be an amazingly low 0,09. This is far too low and indicates there is something seriously wrong with the measurement scaling. The reason the process didn’t respond on the closed loop test was that their tuning was completely wrong, with a proportional gain some 40 times too low and an integral three times too slow.

It should also be pointed out that the flow was being measured using a differential pressure transmitter over an orifice plate. The flow was running below 20% of measurement, which is considered a region too low for this type of measurement. Generally the rule of thumb is that the measurement should be over 25%. However this did not really influence our observations.

This is a very interesting example of how measuring process gain can give you a big insight into loop problems.


Abourt Michael Brown


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


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

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...
PC-based control for advanced hydrogen storage technology
Beckhoff Automation Editor's Choice PLCs, DCSs & Controllers
The proportion of renewable energies from solar, wind and water is rising continuously. However, sufficient storage options are of the essence to use these energies as efficiently as possible. GKN Hydrogen offers a particularly compact and safe option, low-pressure metal hydride hydrogen storage systems with PC-based control from Beckhoff.

Read more...
Integrating HACCP management in manufacturing execution systems
TransLution Software Editor's Choice
HACCP is a systematic approach designed to identify, evaluate, and control hazards throughout the food production process, providing a robust framework for safeguarding public health across various food industries. Maintaining readily available, accurate and up-to-date records is crucial to prove the execution of monitoring HACCP activities and to demonstrate compliance with regulatory requirements.

Read more...
Process control system for the entire plant lifecycle
Siemens South Africa Editor's Choice Fieldbus & Industrial Networking
The automation of process plants has been characterised by IT silos for a long time. The high level of IT security required was achieved through strict isolation from the outside world. However, this made unlocking the opportunities for digitalisation very difficult. This is a compelling reason to opt for Simatic PCS neo – Siemens’s completely web-based process control system with state-of-the-art IT security concepts.

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...
Festo makes strides in establishing Fourth Industrial Revolution technical labs
Festo South Africa Editor's Choice News
Festo has long been referred to as the leader in industrial automation and technical education, but the role that they keep playing in driving educational transformation proves that they have earned and deserve their title.

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...
Oil and gas industry shifts from fossil fuels to renewable energy
Parker Hannifin - Sales Company South Africa Editor's Choice Electrical Power & Protection
The oil and gas industry is undergoing a paradigm shift as it grapples with the energy transition from fossil fuels to renewables, and oil and gas companies are investing in renewable energy as part of their decarbonisation efforts.

Read more...
Strategic approaches to legacy software in manufacturing
Editor's Choice IT in Manufacturing
One of the most critical and strategic roles of the CIO (or IT Manager) is to ensure that the business’ information systems and tools are well maintained and up to date. If a critical system fails, the business could come to a standstill, forcing people to scramble and revert to paper-based or backup systems. Even worse, production may stop, impacting the entire supply chain and all of your stakeholders.

Read more...