systune can simultaneously
tune the parameters of multiple models or control configurations.
For example you can:
Tune a single controller against a set of plant models obtained by linearizing a Simulink® model at varying operating points, to ensure that the tuned control system meets design requirements under a range of operating conditions
Tune a single controller against a set of plant models obtained for different values of the plant parameters, to ensure that the tuned control system is robust to parameter variations
Tune for reliable control by tuning against multiple control system configurations that represent different failure modes of a system
When you tune for multiple models,
values of controller parameters that best satisfy the specified tuning
objectives for all plant models.
systune jointly tunes the tunable parameters
for all models in the array to best meet the tuning requirements as
you specify them.
systune returns an array containing
the corresponding tuned models. You can use
showTunable to access the tuned values
of the control elements.
To tune a control system for multiple plant models:
If your control system is modeled in Simulink,
to linearize at different operating points or with parameter variations.
If your control system is modeled in MATLAB®, create an
genss models that represent the control
systems or configurations to tune against. You can do this, for example,
by using Control Design Blocks to represent varying plant parameters,
and using the
to generate an array by sampling values of those parameters.
Specify your tuning objectives using
objects such as
TuningGoal.Margins. If you want to limit a tuning
requirement to a subset of the sampled models, set the
For example, suppose you have a model array whose first entry
represents your control system under normal operating conditions,
and whose second entry represents the system in a failure mode. Suppose
Req is a
that only applies to the normally operating system. To enforce the
requirement only on the first entry, use the following command:
Req.Models = ;
Provide the model array or
and the tuning requirements as input argument to