The file Deme_016.m is found in IQClab’s folder demos In this demo we demonstrate the data-based parameter refinement tools presented here which are based on [28]. The demo consists of a 2DoF control design problem for a plant that is affected by parametric uncertainties. The plant,
is a simple oscillator model which is interconnected as:
![Rendered by QuickLaTeX.com \[\left(\begin{array}{c}e\\u\\y_2\\ \hline y_1\\y_2\end{array}\right)= \left(\begin{array}{cc|c}0&1&-G\\0&0&1\\1&0&G\\ \hline 0&1&0\\1&0&G\end{array}\right)\left(\begin{array}{c}e\\u\\y_2\\y_1\\y_2\end{array}\right),\ \ u=K\left(\begin{array}{c}y_1\\y_2\end{array}\right).\]](https://usercontent.one/wp/www.iqclab.eu/wp-content/ql-cache/quicklatex.com-7810d12002caf688d572f05da8fa7fe3_l3.png?media=1702023987)
The design proceeds in 3 steps:
- Initial design: Perform a nominal
-controller synthesis using hinfsyn. This controller works well for the nominal scenario, while the performance degrades for various samples of
and
. The synthesis procedure is not further detailed here. - Parameter refinement: Collect input-output data from an experiment and run the function fRefine with the aim to reduce the uncertainty bounds as much as possible.
- Retuned/calibrated design: Based on the reduced parameter bounds, synthesize a new nominal (mean value of the uncertainties) controller. The new controller will then be insensitive to variations of the uncertainties due to the (much) reduced parameter bounds.
The following figure depicts the tracking error for a step response for the nominal closed-loop system as well as for various samples of
and
. As can be seen, the control performance significantly degrades for some values of
and
.

Let us now generate data for the true system (i.e., for
and
) and perform a data-based parameter refinement using the function fRefine. Here we set the option nlift=3 for improved accuracy which yields the following refinements of the parameters
and
.


As can be seen, the the refinement algorithm is capable of significantly tightening the uncertainty intervals to
and
.
By now performing another nominal
-controller synthesis for the mean values of the refined intervals of
and
(and using the same weighting functions) we obtain the following results (again for the nominal system as well as for different samples of the uncertainties on their refined intervals. As can be seen, we obtain a nice system response, even for different values of the uncertainties.

All this demonstrates the usefulness and potential of the data-based refinement algorithms. Further demonstrations are found in [28].
