Editor's Choice


Control loop: Case History 153 - Why is the control so terribly erratic?

March 2017 Editor's Choice Motion Control & Drives

I was recently asked to advise on a bad pH control problem in a water treatment plant. A new carbonisation bay had been installed at the plant: Figure 1 shows the layout of the bay and controls. Raw water is initially treated in an upstream plant where it is desilted and it is then fed in at the one end of the bay. It comes out of that plant and into the bay at a fairly high pH value. Carbon dioxide (CO2) is bubbled though the incoming water to lower the pH to a desired value. The bay is quite long with a large flow of water passing through it. Although there is a high speed agitator at the point where the CO2 is injected to ensure rapid mixing, the pH measuring probe is mounted at the opposite end of the bay to ensure that the chemical reaction has completed and full mixing has occurred. This results in a very long deadtime in the process dynamics which makes control much more difficult as will be discussed later.

Figure 1.
Figure 1.

The problem being experienced by the plant people was that control was extremely erratic, and was terribly badly affected by load changes in the form of upstream pH changes, and also flow changes through the bay. The latter is the main problem as the plant does run at quite a wide range of throughputs, which are determined by the operators. Once a change of flow is made the control would go unstable or else literally take many, many hours to come back to setpoint.

A non-linear problem on the plant

On arriving at the plant I found that the pH controller was connected directly to the valve and the CO2 flow controller was not in circuit and was unused. However, a flow measurement is extremely useful in analysing the valve performance. Figure 2 is a test showing how the flow through the valve performed versus steps from the output of the pH controller, which was in manual. We were also lucky enough to have a feedback signal of actual valve position, so that is also plotted.

Figure 2.
Figure 2.

The test showed two faults. The first, which is not terribly serious, is that the positioner/valve combination is almost unstable. This can be clearly seen in the test as there are several cycles of the valve and hence flow after nearly every step change of the controller output. This results in cycling when closed loop flow control is introduced as can be seen in Figure 3. However, although this is not good for the valve it will not really affect the pH control.

Figure 3.
Figure 3.

The second and far more serious problem is that the installed valve characteristics are completely non-linear. It can be seen in Figure 2 that the valve is being opened up in steps of 10%. Initially there is no flow until the valve gets up to 10% when the flow jumps immediately to 5%, then with every further 10% step in valve opening the flow increases initially in very small increments which get larger and larger until at near fully open valve position a 10% step change in the valve results in enormous increases in flow. Plotting the flow versus valve travel shows that the valve has an equal percentage installed characteristic. This plot is shown in Figure 4. Effectively the flow versus valve position responses can change by as much as (an enormous) 10:1 over the whole measurement range!

Figure 4.
Figure 4.

The problem with non-linear installed characteristics is that the control response to a particular set of tuning parameters will vary as one moves though the measuring range, as the process gain is changing.

Why is this serious, particularly in this case?

Firstly, one needs to look at the dynamics of the pH process. Although the tests are not shown here, an open loop analysis of this process at the existing load conditions revealed that they contain a deadtime of about 4 minutes, and two dominant lags of 76 seconds and 23 seconds. This makes for an extremely slow and difficult process as far as feedback control is concerned. Long deadtime in particular is the control engineer’s enemy, and as explained in one of my recent articles (Case History 151), the only way of controlling it with feedback is to slow the control right back to avoid instability. This means that the pH controller has to be tuned really slowly, and this tuning is really critical.

It can now be realised that by connecting the output of the pH controller directly to the valve, it means that if the controller calls for a certain flow of CO2 reagent, it is vitally important that the correct flow does go through the valve. However, with the non-linear installed characteristics of the valve, this can only occur at the one point in the flow measuring range where the tuning was done, and it will be incorrect at all other places.

This is why they were having so much difficulty.

The solution

The obvious solution was to linearise the installed valve characteristics. There are many ways to do this, but the most usual is to make changes in the positioner. Most positioners have various characteristic curves (often called ‘cam curves’) in them to do this, but unfortunately this one did not have a suitable curve for this valve. It was felt in this case that the valve supplier was responsible for supplying the valve with incorrect characteristics, and it was up to them to supply a correct valve.

This would take some time and it was important to get the control working as well as possible in the meantime. One way to overcome the problem is to incorporate a secondary flow control loop to get the flow to the correct value as demanded by the primary pH controller. A properly tuned flow control is extremely fast and operates in a few seconds so if one tunes it to control at the highest process gain, then even when the process gain is very much smaller, and the flow control gets much more sluggish, the flow control will still be able to get the flow to setpoint within a very short time as compared to the response time of the pH process. Thus the non-linearity is completely taken out of the primary pH loop.

I am a great proponent for cascade control when used in the right applications and have had marvellous results with it, as in this case we immediately got good control after the cascade was implemented.

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:

Loop signature 22: How cyclical disturbances affect a control loop
Michael Brown Control Engineering Editor's Choice
When tuning noisy loops, we recommend in our courses that one should eliminate the noise by editing it out, so the tuning will be done only on the true process response, free of any noise. The controller is controlling the process, and is not controlling the noise.

Read more...
High-performance motion control for teabag packaging machine
Beckhoff Automation Editor's Choice
Teepak relies on PC-based control and drive technology from Beckhoff to set new benchmarks for speed and precision in its teabag packaging machines.

Read more...
VEGA takes the pressure out of water pressure measurement
VEGA Controls SA Editor's Choice
Water treatment systems in metropolitan areas require careful monitoring and management processes across widespread networks. However, process plants choosing VEGA for their process automation know that the company offers more than just precise and reliable pressure sensors and instrumentation.

Read more...
Advantages of wireless storage tank and container tank level monitoring
Turck Banner Southern Africa Editor's Choice
Implementing a tank monitoring system that utilises ultrasonic or radar sensors in a wireless network has many advantages.

Read more...
Case History 191: The weakest link.
Michael Brown Control Engineering Valves, Actuators & Pump Control
Which is the weakest link in a control loop? The answer, without any doubt is that, in most cases, the final control element is the weakest link.

Read more...
Bringing Industry 4.0 to a castings foundry for heavy industries
Editor's Choice
Moving to Industry 4.0 takes time and determination, especially for an established company in a heavy industry. Castings foundry, POK in Mexico has moved toward Industry 4.0 in a series of steps over several years, changing from manual to automated systems for more available, immediate and reliable data.

Read more...
SMOM – the future is here now
Iritron Editor's Choice IT in Manufacturing
In his presentation at the recent MESA Africa conference, Neels van der Walt, business development manager at Iritron, revealed the all-encompassing concept of smart mining operations management (SMOM), and why it is inextricably linked to the future of worldwide mining operations.

Read more...
Navigating disruption in manufacturing
Editor's Choice IT in Manufacturing
When considering IT in manufacturing, the underlying assumption is twofold: first, a wave of valuable maturing technologies can be harnessed to create new business value, and second, the environment in which these technologies will be applied will be relatively predictable, with change following a manageable, evolutionary path. However, recent disruptions have shattered these assumptions.

Read more...
The fascination of movement
Editor's Choice Motion Control & Drives
A motor from Faulhaber provides gentle motion for the finest watches in the world.

Read more...
Complete system for transparent energy monitoring
Beckhoff Automation Editor's Choice Electrical Power & Protection
Transparent energy monitoring reduces both machine downtime and the necessity to oversize the corresponding components. Added to these advantages are simplified preventive maintenance, and increased production efficiency. The wide range of PC-based control technology from Beckhoff offers a solution that can be optimally adapted to individual applications.

Read more...