System Integration & Control Systems Design


Control loop case history 115

November 2010 System Integration & Control Systems Design

Frequency analysis: auto and cross correlation.

Introduction by Michael Brown

I recently spent two days with Dave Ender of Techmation in Phoenix, Arizona. It was an arduous trip taking approximately 30 hours each way, but worth it in every respect. In my opinion Dave is undoubtedly the world’s leading expert on optimisation. He has a vast treasury of knowledge and experience and it is fascinating to listen to him, and hopefully also to learn a great deal from him.

In any event I was extremely fortunate to get a couple of articles from him which I thought would be great for publication in this magazine. This is one of them, dealing with the use of frequency analysis for use in loop optimisation – a subject about which most C&I practitioners have very little knowledge.

It should be noted that a lot of the conclusions that were gained by the frequency analyses that will be described in the article, could also be deduced by using other, possibly more arduous techniques, like measuring periods of cycles manually and experimentally finding ultimate periods. However the frequency analyses are simpler, easier and give more definitive information of the problems encountered.

Where does interaction arise?

Control systems are at times inherently complex and interactive. To optimise a system it is often both helpful and necessary to understand where disturbances in controlled variables are coming from. With knowledge into the interactive nature of a system you will be able to make the appropriate decisions on how to best optimise the system.

The purpose of this paper is to provide insight in how to use frequency analysis including power spectrum, auto correlation and cross correlation frequency plots; which should be available in any decent loop analysis package.

Figure 1 is a diagram of a simple pressure control system. One is wishing to optimise pressure control loop PIC-1322 which must control the pressure of the product being fed to a scrubber. The header manifold feeding this loop also feeds other plant systems. The analyser must be configured to record both the pressure control loop PIC-1322, and the header pressure PI-1286. The controller has already been tuned using the techniques described in a previous article, Case History 113.

Figure 1
Figure 1

Figure 2 is a recording of a test which started with PIC-1322 initially in automatic, a little later it was switched into manual.

Figure 2
Figure 2

In examining the trend data it will first be seen that when the loop was placed in manual, the magnitude of the cycle in the loop PV got smaller. One will also notice that the header pressure is cycling. Frequency analysis plots can be used to better understand the disturbances to the loop that is to be optimised.

Frequency analysis of the system with the controller in automatic

Frequency analysis will first be performed on PIC-1322.PV over the section where the controller is operating in auto. A window over this section is shown in Figure 3.

Figure 3
Figure 3

A power spectrum analysis is initially carried out over this section of the plot to determine frequencies existing in the disturbance. This is shown in Figure 4. It can be seen that two peaks are found which have periods of 34,1 and 3,01 seconds.

Figure 4
Figure 4

The next step is to run an auto correlation analysis as displayed in Figure 5. By using the cursor the peak to peak of the fast cycles will be found to be 3 seconds and the peak to peak lag time of the slow cycle 34 seconds. That information correlates with the power spectrum data in Figure 4.

Figure 5
Figure 5

After this the PV data can be correlated with the header pressure data and a cross correlation frequency analysis is now performed. (Figure 6.) From the cursor point at the first peak, we find a lag of 3,26 seconds and a negative correlation of -0,824.This means that 82,4% of the variance in the PV comes from the load disturbance.

Figure 6
Figure 6

Frequency analysis of the system with the controller in manual

Similar analyses can also be performed over the section of the test with the controller in manual. A window over this section is shown in Figure 7 and the PV data is again selected for frequency analysis.

Figure 7
Figure 7

The power spectrum (Figure 8) again identified frequencies with 34 and 3 second periods but found that the power (magnitude of variance) was now 43,7% and 38,53% respectively. This compares with 54,34% and 20,94% power with the loop operating in manual. The auto correlation analysis over the same window (Figure 9) again gives the peak to peak lag time for the fast peaks as 3 seconds and the peak to peak lag time for the slow cycles as 34 seconds.

Figure 8
Figure 8

Figure 9
Figure 9

Cross correlation of PV and header pressure data with loop in manual (Figure 10) gives a first peak at a lag time of 5 seconds and a negative correlation of 0,710. Thus in manual, 71% of the variance in the PV can be directly correlated with the load disturbance in the header.

Figure 10
Figure 10

The difference in the automatic and manual cross correlations is the result of the closed loop operation of the controller magnifying or increasing the effects of the disturbance.

Conclusion

The frequency analysis plots are power tools to gain insight into both the frequency and sources of disturbances. In this example we found that 71% of the variance in the PV with the loop in manual can be directly correlated with the cyclic disturbance in the header pressure. Placing the loop in auto tends to amplify rather the variance in the pressure measurement being controlled.

The header pressure is thus identified as the major source of the variance in the controlled pressure. The next step would be to identify the source of the disturbance in the header pressure. Tuning the pressure loop is not the answer because faster tuning will only make the problem worse.

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, +27(0)11 486 0567, [email protected], www.controlloop.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Understanding the role of AI in generative engineering design
System Integration & Control Systems Design
When a design engineer sets out to design a new part, component, or assembly, the intent is to meet the design requirements for fit, form and function, and also incorporate a certain degree of innovation and elegance to the overall design. There is no reason to re-invent the wheel by introducing a new design.

Read more...
PCS stays up so you don’t have to
PCS Global System Integration & Control Systems Design
Maybe it’s time to look at a solution that stays online 99,99999% of the time so you don’t have to. This the world of Stratus computer platforms, tailor-made for your critical applications.

Read more...
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...
Four ways the global parts shortage has led to innovation and openness
System Integration & Control Systems Design
For those who use automation parts, the unpredictable nature of the supply chain is one of the biggest problems faced today. The shortfall has impacted every industry, but automation components have been especially affected.

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...
Iritron’s year of consolidation
Iritron Editor's Choice System Integration & Control Systems Design
Despite the multiple challenges faced by businesses in South Africa, the buoyancy of the technology sector worldwide has produced some green shoots for automation specialist, Iritron.

Read more...
Five edge opportunities for SIs to maximise revenue in 2024
Editor's Choice System Integration & Control Systems Design
System integrators continue to face the challenge of doing more with less – supporting complex operations, while meeting production schedules with limited resources, and innovating to increase efficiency, maximise safety and reduce risk.

Read more...
Condition monitoring in a forging press retrofit
Beckhoff Automation System Integration & Control Systems Design
Significantly increased vibration on machines can result in many forms of negative impacts such as reduced system performance or damage to the machine and foundation. Using the example of retrofitting a forging press with a maximum press force of 2000 tons, Wölfel Engineering explains how efficiently the process was tailored and implemented with PC-based control and measurement technology from Beckhoff.

Read more...
System integration in the digital age
System Integration & Control Systems Design
To meet the challenges of an increasingly competitive marketplace, many manufacturers (end users) must focus on their core competencies and outsource the rest to experts.

Read more...
Reminiscences of a life in control
Michael Brown Control Engineering SAIMC
Reminiscences from Michael Brown on a long and rich journey in the world of automation together with SAIMC.

Read more...