Editor's Choice


Loop signatures 20: The great deceivers.

October 2023 Editor's Choice

Noise on the PV signal was discussed in the previous loop signature article, and it was mentioned that it is generally better to live with the noise rather than filtering it out, provided it does not cause the final control element to jump around excessively. This article explains this reasoning.

Normal filters used in process control have a first order lag type dynamic, which is generally preferable to time averaging filters. This is because PID controllers can handle lag dynamics better. A lag type filter is also referred to as a low pass filter, as it passes the lower frequencies and attenuates higher frequency components. Visually, the filtered signal appears to have less noise. Obviously, the greater the filter constant, the smoother the output signal.

In the old analogue days, filters were extremely difficult to implement, and as a result were seldom used. Today, it is extremely easy to implement a simple lag type filter on a digital control machine. Only a few lines of code are needed. Most DCSs and a few PLCs offer filters as a standard block. These filters usually allow one to insert lags in a loop ranging from fractions of a second to literally hours.

When a filter is used in the control equipment, it is usually inserted before the controller and the operator’s display, or the scada. Figure 1 shows the response of a flow signal to a step change on the PD (controller output). The signal has noise of some 2% amplitude on it. The signal is then passed through a filter with a five second time constant, and the output of the filter is shown in the same figure superimposed over the original PV signal. It can be seen that the noise amplitude on the filtered output has been reduced considerably. There are still some fluctuations, due to the lower frequency components present. Apart from that, the signal has not been changed drastically.

In Figure 2 one can see how the situation has changed when a 50 second filter is used. The noise has now been completely eliminated. The filter has certainly achieved its purpose inasmuch as it got rid of the noise. However, the signal response has been really drastically slowed down. The filter has now replaced the flow process as the dominant dynamics in the control loop. In other words, we are now trying to control a filter rather than a flow.

Many learned texts on control have stated that if the time constant of the filter exceeds the dominant time constant of a self-regulating process, the control will be adversely affected. This is not necessarily correct, as you will see in the next example. Tests we have performed show that you can in fact get quite reasonable control on loops with relatively heavy filters. However, there are other really serious effects which are more important, and which make the use of big filters very undesirable.

One of these seriously bad effects is that filters can cause excessive PV overshoots (as high as 300%) on step-changes in setpoint. Such an overshoot is shown in the next example. In previous articles, I have also referred to filters as the world’s biggest liars, as they can distort the response of the process, as seen on scada or DCS screens by the operator. The filter actually tends to reverse the facts, making good things look bad, and bad things look good.

To illustrate this point, Figure 3 is the recording of a control system on a noisy process. The controller has a filter with a 50 second time constant on it. The controller is extremely well tuned. The recording is made with the Protuner analyser connected at the input to the controller (upstream of the filter). A 10% step change in setpoint is followed by a 10% step change in load. An enormous overshoot on the PV response to the setpoint change can be seen. It is really bad. The load change however is well controlled. The controller brings the process back to setpoint speedily, with little overshoot. This is in fact really good. It also shows you can indeed get quite good control, even with a big filter.

Figure 4 shows what the operator sees on his screens with a filtered signal. The setpoint change looks good. There is no sign at all of an overshoot. However, the load change now looks terrible. It only shows as a tiny offset, which seems to take forever to get back to setpoint. Therefore the filter has completely distorted and reversed the true facts. This to me is the most dangerous thing of all, as the operator does not really know what is going on in the plant. It must be remembered that the people doing the tuning are generally also unaware of what filters can do, so they often ruthlessly eliminate noise with enormous filters, and then do tuning whilst looking at the filtered signal, so they have no real idea of the true response.

It is common practice these days for management to use the information available on the scada for management evaluation and control purposes. Therefore it is vital that people should avoid using big filters if they want to have reliable information. This was illustrated on a mine in southern Africa where all the plant accounting and management information was based on a transfer from the scada package into spreadsheets. Large filters were applied on nearly every loop. It was a continuous source of puzzlement to the metallurgists as to why the plant balances never seemed to work out.

Rules for filtering

Sometimes one has to apply filters when the noise is too much and starts moving the final control element around too much. If you apply the following rules of thumb you will find that you cannot go too far wrong.

• If possible, eliminate the noise at its source.

• Use an anti-alias filter on the transmitter (to be discussed in a future loop signature).

• Try tuning without a filter, and check at the actual valve if it is moving due to the noise.

• Avoid using a bigger filter than necessary.

• Biggest filter should be less than 10 x (process deadtime + scan rate of controller).

• Use I-PD controller with filters (see loop signature 16).

• Train the operators and process people on filter effects.

The last point is one of the most important. Unfortunately process personnel are so used to heavily filtered signals in most plants that they are very unhappy when filters are removed. As mentioned in the last loop signature, they mistake noise for instability. It is sometimes very hard to convince them that the control is now much better.

It was mentioned earlier that if you do have to use a filter, then it should be inserted in the control equipment rather than the transmitter. This is because you cannot see the control response at all if you filter in the field. The one exception to this rule is an anti-alias filter, which will be discussed in a future loop signature.


About 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:

PC-based control for waterjets
Beckhoff Automation Editor's Choice
Control systems are subject to very specific demands from every form of production technology, including waterjet cutting. IGEMS from Sweden set itself the goal of taking this process to a new level in terms of precision and speed, and achieved it with the help of PC-based control.

Read more...
Case History 193: The big dipper.
Michael Brown Control Engineering Editor's Choice
This article gives an example of an important flow control system for flare gas in a petrochemical refinery. The control was suffering from serious problems, often cycling severely, and at other times the flow process variable (PV) would suddenly move quite a lot away from the setpoint (SP).

Read more...
Edge computing: Introducing AI into the factory
Editor's Choice IT in Manufacturing
As AI evolves, it is evident that the most powerful models will be cloud-based, and hosted in data centres that are beyond the control of the average business. The practical application of AI in manufacturing control and automation will only be possible if some of the computing workloads can be brought onto the plant, inside the firewall and inside the plant network.

Read more...
36 years of innovation and success
SAM Systems Automation & Management Editor's Choice System Integration & Control Systems Design
Systems Automation & Management was established in 1988 at a time when there were no other systems integrators (SIs) in the process business. SA Instrumentation & Control’s editor caught up with managing director, Claudio Agostinetto to find out more about how this thriving company has prospered over the last 36 years.

Read more...
The world’s greatest model railway
Horne Technologies Editor's Choice Motion Control & Drives
Located in Hamburg’s traditional warehouse district, Speicherstadt features the largest model railway in the world, and is one of the most exciting tourist attractions in Germany.

Read more...
Loop signature 23: Tuning part 1.
Michael Brown Control Engineering Editor's Choice
This is the first of several articles dealing with the subject of tuning. I have found that many people think that optimisation consists solely of tuning. I would stress once again that tuning is the last thing one should do when optimising regulatory controls.

Read more...
Plastics meets packaging for consistent and efficient process control
Beckhoff Automation Editor's Choice
PC- based and EtherCAT-based control and drive technology from Beckhoff represent a universal solution that transcends industry and application boundaries. This standardised and scalable automation platform offers numerous advantages. Industry experts delve into how machine builders and end users in the plastics and packaging industry can capitalise on these advantages.

Read more...
Continuous corrosion resistance
ifm - South Africa Editor's Choice Sensors & Transducers
The polypropylene version of ifm’s LDL400 conductivity sensor is based on the proven LDL200 inductive conductivity sensor. Its material properties make it the ideal choice for applications in which metallic sensors tend to corrode.

Read more...
Control architecture leads to faster, easier product development for refrigeration
Opto Africa Automation Editor's Choice IT in Manufacturing
What’s the secret to providing superior service and staying competitive in a changing market? You might learn something from ALTA Refrigeration’s experience. Over ten years, it transformed itself from a custom engineering services company into a scalable industrial equipment manufacturer, using an edge-oriented control architecture to manage a growing installed base.

Read more...
Step into the visual factory
Turck Banner Southern Africa Editor's Choice Electrical Power & Protection
At Banner, the visual factory comprises three key applications for lighting and indication in industrial settings. These applications include the ability to help machines and workstations quickly communicate their status to people nearby, to use light to guide workers to perform certain tasks such as part picking, and to provide illumination for work areas and tasks.

Read more...