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:

Case History 197: Bad reboiler temperature control.
Michael Brown Control Engineering Editor's Choice Flow Measurement & Control
It is very important that reboiler temperature controls operate well in petrochemical refineries, or the product quality can really suffer. I was asked to check such a control in a refinery where they were having problems with one of these controls.

Read more...
The state of the SI industry remains strong and is expanding
System Integration & Control Systems Design
The system integration (SI) industry is expanding with the adoption of AI, automation and data sharing, allowing companies to improve operational efficiency and competitiveness across diverse sectors.

Read more...
The symbiotic relationship between OEMs and SIs
Schneider Electric South Africa Editor's Choice System Integration & Control Systems Design
While businesses tend to turn directly to original equipment manufacturers OEMs or vendors when embarking on IT projects, the role of the SI as a key facilitator and partner cannot be overstated.

Read more...
Case History 196: Unstable condensate level control.
Michael Brown Control Engineering Editor's Choice Level Measurement & Control
The operators in a petrochemical refinery were having great trouble in trying to stabilise the condensate level in a vessel, and this was adversely affecting other loops downstream. Several unsuccessful attempts had been made to retune the controller.

Read more...
Flexible and precise dispensing technology
Beckhoff Automation System Integration & Control Systems Design
The Scheugenpflug ProcessModule axis system forms the basis of Atlas Copco’s dispensing and screwing cells and a flexible integration platform for general contractors and machine builders. Precise process sequences are ensured by TwinCAT CNC and servo drive technology from Beckhoff.

Read more...
Loop signature: Tuning part 4 processes
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
The purpose of this particular article is to try and give those unfortunate enough to have to use SWAG (scientific wild ass guess) tuning a bit of an idea of how to go about it, and even more importantly some understanding of a couple of basic principles.

Read more...
Case History 195: Unstable reboiler steam flow
Michael Brown Control Engineering Editor's Choice
A high-pressure steam flow control in a reboiler on a column in a petrochemical refinery continually cycled when placed in automatic. Several attempts had been made to tune the controller, but these had been unsuccessful.

Read more...
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...
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...
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...