An interacting four-tank process has been implemented at the University of Delaware [9]. This process is currently used in both the elective multidisciplinary undergraduate control laboratory and the advanced graduate control course. The design is inspired by the benchtop apparatus described in [11]. A simple schematic is shown in Figure 3. Two voltage-controlled pumps are used to pump water from a basin into four overhead tanks. The two upper tanks drain freely into the two bottom tanks, and the two bottom tanks drain freely into the reservoir basin. The liquid levels in the bottom two tanks are directly measured with pressure transducers. As can be seen from the schematic, the piping system is configured such that each pump affects the liquid levels of both measured tanks. A portion of the flow from one pump flows directly into one of the lower level tanks where the level is monitored. The rest of the flow from a single pump is diverted into an overhead tank, which drains into the other monitored tank. By adjusting the bypass valves on the system, the amount of interaction between the two pump flow rates (inputs) and the two lower tank level heights (outputs) can be varied. For this work, it is assumed that an external unmeasured disturbance flow may also be present which drains or fills the top tanks. The original work of [11] employed tanks with volume of 0.5L whereas the present work uses 19L (5 gallon) tanks for a more realistic experimental process.
A nonlinear model given by [11] has been modified to accommodate the addition of disturbance flows into and out of the various tanks, di. This model is given in the following equations:
Although this fundamental model is a reasonably accurate description
of the system dynamics, many of the parameters are not available a priori,
which requires the estimation of several model parameters. The tank areas Aican be measured directly from the apparatus. Using tank drainage data, the cross
sectional outlet areas ai can also be determined. The steady-state
operating point of
and
were used for
subsequent results. The system valves were set for the bypass values
such that the operating point exhibits inverse response (
).
Time constants, Ti, for the linearized system model are on the order
of 40 seconds.
|
A suitable test input sequence to generate data for the estimation of the remaining
parameters. In this case, they elected to identify the parameters of the original
nonlinear model, requiring the solution of a nonlinear optimization problem.
The problem was formulated to minimize the 2-norm of the difference between
the nonlinear model and actual measurements, searching over six parameters.
Using dynamic data from the experiment, the optimization routine found the optimal
pump gains ki, gamma values
,
and measurement bias
yibias as depicted in Table 1. A similar routine
could be employed to model the characteristics of the disturbance introduced
by the submersible pumps, kdi , but this was not done. The models
used for estimation are based on a first-principles model without first-hand
knowledge of the physical parameters.
Linear step response models are derived from the nonlinear process model, assuming
a step in the inputs of
and a sample time of 5 seconds, using 60
coefficients. Aggressive controller tuning can result oscillations or unstable
behavior. The controller was tuned with m=2 and p=40. The values
for
were
and for
were
.
This tuning results in acceptable setpoint tracking as well
as disturbance rejection. The inverse response of the system imposes a bound
on the performance of the system.
Six faults are identified for this system: four flows into or out of the tanks
in addition to bias changes on the process inputs. Linear response models were
determined for the disturbance flows, assuming a level of disturbance that would
result in an open-loop change of approximately
in the process
measurements. The input bias models are taken from the models used for the MPC
control calculation. Process measurements are available every second. These
values are filtered to provide measurements every five seconds. The tuning parameters
m1, m2, and m3 are given in Table 2.
These values are chosen such that the system can distinguish between the first-order
type response of the lower tanks and the second-order response of the upper
tanks, assuming that the disturbance is a step disturbance. Other types of disturbances
such as ramps and pulses can be estimated, but in some cases the system recognizes
an incorrect fault.
Figure 4 shows actual process measurements during four different disturbances. This figure also shows the process residuals for the system. The output values of the nonlinear process model are compared to the actual process measurements for calculation of the process residuals.
The Model Predictive Control algorithm can be extended to included the effects of a measured disturbance on the process. In cases where a disturbance measurement is not available, an estimation method can be used calculate the level of the disturbance. This can be considered a soft sensor. The disturbance estimate is treated as a measured disturbance. In Figure 8, a simulation of the four-tank system is shown where the MPC algorithm rejects the disturbance of a leak in tank four without a measured disturbance update. In this simulation, the 2-norm of the process error is 9.9.
In Figure 9 the same disturbance hits the system, but the value of the estimated disturbance is used for control. The disturbance estimate is filtered with a first-order filter of the form:
where
.
The 2-norm of the process error in this
case is 5.7. This is a significant improvement over the case without
a disturbance update. Figure 10 shows a simulation
of the run using the non-filtered estimate. The 2-norm of this run is 4.0,
but the control moves are erratic.