| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Robust Control Toolbox |
| Contents | Index |
Fit an uncertain model to set of LTI responses
usys = (Parray,Pnom,ord) usys = (Parray,Pnom,ord1,ord2,utype) [usys,info] = (Parray,...) [usys_new,info_new] = (Pnom,info,ord1_new,ord2_new)
usys = (Parray,Pnom,ord) returns an uncertain model usys with nominal value Pnom and whose range of behaviors includes all responses in the LTI array Parray. The uncertain model structure is of the form
, where
is an ultidyn object that represents uncertain dynamics with unit peak gain.
ord is the number of states (order) of W. Pnom and Parray can be ss, tf, zpk, or zpk models. usys is of class ufrd when Pnom is an frd model and is an uss model otherwise.
usys = (Parray,Pnom,ord1,ord2,utype) specifies the order ord1 and ord2 of each diagonal entry of W1 and W2, where W1 and W2 are diagonal, stable, minimum-phase shaping filters. utype specifies the uncertain model structure, as described in Uncertain Model Structures, and can be 'InputMult' (default), 'OutputMult' or 'Additive'. ord1 and ord2 can be:
[usys,info] = (Parray,...) returns a structure info that contains optimization information. info.W1opt and Info.W2opt contain the values of W1 and W2 computed on a frequency grid and info.W1 and info.W2 contain the fitted shaping filters W1 and W2.
[usys_new,info_new] = (Pnom,info,ord1_new,ord2_new) improves the fit using initial filter values in info and new orders ord1_new and ord2_new of W1 and W2. This syntax speeds up command execution by reusing previously computed information. Use this syntax when you are changing filter orders in an iterative workflow.
Uncertain Model Structures
When fitting the responses of LTI models in Parray, the gaps between Parray and the nominal response Pnom of the uncertain model are modeled as uncertainty on the system dynamics. To model the frequency distribution of these unmodeled dynamics, ucover measures the gap between Pnom and Parray at each frequency and selects a shaping filter W whose magnitude approximates the maximum gap between Pnom and Parray. The following figure shows the relative gap between the nominal response and six LTI responses, enveloped using a second-order shaping filter.

The software then sets the uncertainty to
, where
is an ultidyn object that represents unit-gain uncertain dynamics. This ensures that the amount of uncertainty at each frequency is specified by the magnitude of W and therefore closely tracks the gap between Pnom and Parray.
There are three possible uncertainty model structures:
Use additive uncertainty to model the absolute gaps between Pnom and Parray, and multiplicative uncertainty to model relative gaps.
The model structure
that you obtain using usys = ucover(Parray,Pnom,ord), corresponds to
and
.
Fit an uncertain model to multiple LTI responses:
p1 = Pnom*tf(1,[.06 1]); p2 = Pnom*tf([-.02 1],[.02 1]); p3 = Pnom*tf(50^2,[1 2*.1*50 50^2]); array = stack(1,p1,p2,p3); Parray = frd(array,logspace(-1,3,60));
The plot, as shown in the following figure, shows that the filter W1 is too conservative and exceeds the maximum relative error at most frequencies.

The plot, as shown in the following figure, shows that magnitude of W1 closely matches the minimum uncertainty amount.

The ucover command designs the minimum-phase shaping filters W1 and W2 in two steps:
ss, tf, zpk, frd, usample
| Provide feedback about this page |
![]() | ucomplexm | udyn | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |