Professional Documents
Culture Documents
Art 5
Art 5
KEYWORDS
Process control, Oscillation, Cross Correlation, Auto Correlation, Power spectral density, Statistical
analysis, Loop Tuning, PID controller, Tuning Parameters
ABSTRACT
To identify if tuning parameters are appropriate, it is possible to use steady state data. The tools used
will detect valve problems, oscillations, response time and will provide an estimate of closed loop
response. Other tools will be used to analyze and tune loops; these tools will require process changes.
This paper will present tools using steady state data.
INTRODUCTION
The following tools are available in most process optimization software to troubleshoot processes using
steady state data:
Cross Correlation
Auto Correlation
Power spectral density
Statistical analysis
SAMPLING
Collecting the data is an important step and precautions are essential. The sampling rate should be fast
enough to see what is going on in the loop; the controller needs to sample faster than the loop can move;
hence the sampling time should be faster than the damped period of the loop or faster than the closed
loop time constant. One way to accomplish this and to minimize sampling error is to sample the loop at
a rate of 1/10th to 1/5th of the process dead time (1/10th or faster being preferred) when the loop is
tuned to reject disturbances. If the loop is tuned for set point changes, the sampling time should be faster
than the smallest time constant. Usually the data is collected through the control system; if the
bandwidth is sufficient, it is preferable to collect the data at the same period as it is processed in the
system.
Confidence limits
if B, A if A, B
If -, variables
are opposite direction
AUTO CORRELATION
When the correlation is calculated between a serie and a lagged version of itself, it is called
autocorrelation. A high correlation is likely to indicate a periodicity in the signal of the corresponding
time duration.
Autocorrelation is also a way to determine if future depends on the present (or if present depends on the
past). If the control is perfect, future does not depend on the present. If the control is good, near future
will depend on the present but after a period of time, future is independent of the present.
Autocorrelation plots are useful to determine randomness in a data set. If random, autocorrelation
coefficients should be near zero for any and all time lag. If non-random, then one or more of the
autocorrelations should be significantly non-zero. When observing a process variable, the length of time
needed to be inside confidence limits represents the response time for the closed loop. Hence, without
bumping the process, one can find the response time assuming the disturbances are randomized.
In addition, autocorrelation plots are used in the model identification stage since the autocorrelation
graphic corresponds to the impulse response of the closed loop.
Autocorrelation also emphases the oscillation; the area under the curve is a good indicator of good
control.
Cumulative Density
STATISTICAL ANALYSIS
Statistical analysis is used to measure improvement after an intervention in a process: repairing
equipment, modifying a control strategy, optimizing loop tuning, etc. Comparing before and after
statistics will result in numbers to measure how much control was improved.
Simple statistical values are well known; these statistics are first and second moment:
• First moment:
Average (µ), maximum, minimum, median
Max
Mean
µ=
∑ x i
Range n
Min
Figure. 5 First moment statistics
• Second moment:
Variance (σ2), Standard deviation (σ),Variability
Red = 68%
σ =
2 ∑ ( xi − µ ) 2
Red + Green
95% = 95%
n −1
Red +
68% Green + Blue= 99%
σ= ∑ (x − µ )
i
2
n −1
2 ∗σ
Var = ∗100
µ
-3σ -2σ -1σ Mean +1σ +2σ +3σ
GOOD TUNING?
What is a good tuning? The evaluation of a control loop performance will differ depending on the goal
for that loop. Independently of the goal for a loop, good control will correspond to :
• Auto Correlation :
quickly inside confidence limits (speed varies with goal)
without oscillations
area under the curve is a good indicator of good control
• Power spectral density :
all frequencies should be equal at high frequency (noise)
graphic should look like grass (all frequencies have equal and small amplitude)
all frequencies below cut-off period should be attenuated
• Statistical analysis
Should be a bell curve if disturbances correspond to normal law
Variance should be small if maintaining PV close to SP is an objective
Figure 7 presents graphics of a flow loop before and after optimization.
Before optimization After optimization
Time data We observe cycling No cycling, close to set point
Statistics Not a bell distribution, Normal distribution, variability is
2 bosses which is probably stiction smaller, so is valve travel and valve
reversals
Autocorrelation Settling time is ~10 minutes Settling time is seconds
Oscillation with a 200 s period No oscillation
Power spectral Almost 50% of power at 200s All frequency components are smaller
density than 2%
Distribution
(X axis has a
different scale)
Autocorrelation
Power Spectral
Density
All the figures in this article were derived from ExperTune software from ExperTune Inc.