The system describes a continuous biochemical reactor, as described in the paper 'On Line Estimation and Adaptive Control of Bioreactors' by G. Bastin and D. Dochain (Elsevier Science Publishers).
A continuous biochemical reactor with a single rate limiting substrate is considered. The process input is the ``Dilution Rate'' D (1/sec), and the controlled variable (the process output) is the ``Biomass Concentration'' X (g/L).
A typical D value is 0.2006/sec (process input working point), and typical required ``Biomass Concentrations'' is anything between 7.1 and 7.6 g/L. The D values are typically limited to values between 0.18 and 0.32/sec.
The signals are sampled at 0.1 sec. The goal is to achieve a load disturbance rejection with a load of 0.03/sec with a maximum of 0.02 g/L deviation at a setpoint of 7.64 g/L, and a settling time of 15 seconds.
Load the Simulink demo project ``Continuous biochemical reactor'' and perform the open loop experiment.
In the pre-processing, use two times ``Mean'' for detrending. No filtering or integration is needed.
In the ``Identification'' window, take a model with delay 0.1 sec, one pole and no zeros. The identification error is 0.9 %. The linear model can capture almost all the energy in the output signal.
Now, turn your attention to the ``Control Design'' window. Use ``Variance and Tracking'' with ``Load'' as ``origin'' in the ``Control Design Parameter'' window. Take a pulse shaped load of 0.03/sec. ``Pulse On Time'' 10 sec, ``Pulse Off Time'' 25 sec and ``End Time'' 40 sec. The reference is a constant at 7.64 g/L.
The initial design has a deviation of 0.06 g/L (versus the
desired 0.02 g/L). Increasing the ``HF Gain'' to 1 (speeding up
the controller) brings back the deviation to
0.02 g/L.
Increasing the ``Robustness'' to 70 makes the controller less
``jumpy''.
Now you should test the controller in closed loop. Switch to the ``Closed Loop Data Acquisition'' window. Use a constant reference, with an end time of 100 sec. The reason for this long reference signal is that from 51 seconds on, a disturbance is present in the Simulink model (the open loop experiment ended at 50 seconds, so the disturbance was not visible). The implemented controller is well within specifications. The correspondence between the predicted and the final signal is not perfect, but this is due to the non-linearities.