Documente Academic
Documente Profesional
Documente Cultură
Anders Wallen
Department of Automatic Control, Lund Institute of Technology
Box 118, S-221 00 Lund, Sweden, Phone: + 46 46 2228793
andersw@control.lth.se
2. Control Strategy
1. Introduction
The setup used here consists of a standard PID con-
Lately, much attention has been paid to the problem of
troller having a valve as actuator. The controlled vari-
fault detection and isolation (FDI) in process industry.
able could for example be a flow, level or concentration.
For the FDI method to be successful, a lot of effort
It is assumed throughout the paper that the controlled
has to be put into modeling the behavior of the plant,
process is open loop stable with high relative damping
both in normal operating conditions and when a fault
and that there is no integration from the control signal
is present. Different methods require different types
to the output variable. The first assumption is funda-
of modeling, e.g. neural network training, (linearized)
mental for the methods described here, and fortunately
differential equations or di-graphs.
it is fulfilled for most processes found in process indus-
Since a fault occurring in a plant may affect many try. The second assumption could be relaxed, but the
of the measured signals, a global, plant-wide view methods have to be modified accordingly.
is often needed to successfully detect and isolate the
The strategy used for controller installation is now
fault. There are however certain faults which often
described. The user is asked to manually go to the
can be detected locally in the control loop. A very
desired operating point and await stationarity. It is
frequent fault in process industry is sticking valves.
also possible at this stage to give some information to
Since valves are often used as actuators in feedback
the controller, e.g. allowed ranges for input and output
loops having integral action, this non-linearity may
during experiments, crude guesses of the static gain,
induce oscillations in the flow through the valve, see
apparent dead time and apparent time constant of the
for example [5].
process, at least by orders of magnitude. When this has
The problem of non-linearities in valves is especially been done, this automated procedure follows:
crucial when combined with automatic controller tun-
ing. The standard tuning procedures often conceal valve 1. Estimate the measurement noise, i.e. the varia-
problems, but the on-line operation may suffer dramat- tion of the output during a number of samples.
ically from them. Automatic tuning features are ac- 2. Do a series of small open-loop step responses to
cepted and widely spread in todays industrial control get crude estimates of the static gain and time
systems. This paper suggests that these should be ex- scales, and to detect possible hysteresis.
tended with automated tools for detecting severe prob-
lems in the process, both before tuning and in on-line 3. If the hysteresis is not significant, ramp the
operation. control signal slowly to detect possible stiction in
the valve.
The system described in this paper includes sys-
tem guided start-up, tuning, monitoring and trouble- 4. If no stiction is present, tune the controller using
shooting. The ultimate goal is to make the controller the following procedure:
This work has been supported by the Swedish National Board for i. Estimate the Nyquist point using relay feed-
Industrial and Technical Development (NUTEK). back.
ii. Close the loop using a temporary PID tuning. Plant Level Supervisory
Control System
iii. Apply a set point step to estimate the static
gain. Local Control Loop
iv. Calculate new parameters according to the Supervisory Level
method [2].
Real-Time
5. Put the controller in automatic mode. Controller Level
Controlled Process
6. Start monitoring the output in order to detect
degraded control performance, in this case only Figure 1 Hierarchies in the control system.
oscillations using the method presented in [5].
55.0
Process variable vs. control signal
50.0
58.0
45.0
56.0
0:48 0:51 0:54 0:57 1:00
Decreasing u
Control signal 54.0
50.0
52.0 Increasing u
40.0
50.0
30.0 48.0
0:48 0:51 0:54 0:57 1:00 38.0 40.0 42.0 44.0 46.0 48.0
Figure 3 Step responses for an actuator with backlash. Figure 4 Data from ramp responses with no friction.
111
000
Process variable
00001
ysp y
111
u
Process
52.5
PID
50.0
Control signal
y
45.0
44.0
43.0
42.0
41.0
Figure 6 The behavior of a relay with hysteresis . Figure 8 Valve induced oscillation.
Process variable vs. control signal
A pply first step
Outside allowed
operating region
Decreasing u A nalyze step
54
Reset
Increasing u
50
A pply second step
48
38.0 40.0 42.0 44.0 46.0
Figure 10 Part of the Grafcet sequence for the step tests.
Figure 9 Data from ramp responses with sticky valve. the control algorithms themselves in order to develop,
debug and maintain the system in an efficient way.
5. Implementation Issues
7. References
The system has been implemented in G2 [4] using the
Grafchart toolbox [1]. The toolbox has been used to im- [1] K.-E. RZEN. Grafcet for intelligent supervisory
plement the sequential logic described in Section 2. Fig- control applications. Automatica, 30:10, pp. 1513
ure 10 shows a small portion of the logic governing the 1526, 1994.
execution of the step tests along with textual descrip- [2] K. J. STRM AND T. HGGLUND. PID Controllers:
tions of what is done in the steps. The two main building Theory, Design, and Tuning. Instrument Society
blocks are steps and transitions. The steps, drawn as of America, Research Triangle Park, NC, second
squares in Figure 10, represent the states of the sys- edition, 1995.
tem and contain actions to be performed while the step
[3] R. DAVID AND H. ALLA. Petri Nets and Grafcet: Tools
is active. Each transition, drawn as small horizontal
bars in Figure 10, contains a condition for activating for modelling discrete events systems. Prentice-
the step after the transition and deactivating the step Hall, 1992.
before. The steps with filled corners are special pro- [4] GENSYM. G2 Reference Manual, Version 4.0. Gen-
cedure steps, enabling hierarchical and parameterized sym Corporation, 125 CambridgePark Drive, Cam-
sequences. The small vertical bar is an exception tran- bridge, MA 02140, USA, 1995.
sition used for fault handling. It may deactivate the [5] T. HGGLUND. A control-loop performance monitor.
procedure step anytime, whereas ordinary transitions Control Engineering Practice, 3, pp. 15431551,
wait for the procedure to complete its execution. 1995.
In order to take care of all possible behavior that may [6] A. WALLEN. Using Grafcet to structure control
occur during the experiments, the logical safety net algorithms. In Proceedings of The Third European
has to be extensive. It is the authors firm conviction Control Conference, Rome, Italy, 1995.
that the logic must be represented seperately from