4.1. THE HIMATEXAMPLE 141
The second thing to note is that the interconnection structure has the additional control
inputs and measurement outputs. The Dand Dinv systems must be augmented with
identities corresponding to these additional inputs and outputs.
The musynfit function performs both of these operations. The syntax of musynfit is:
[Dsys,Dinvsys] = musynfit(D,blk,nmeas,nctrls,sens,oldDsys)
The variablesDand sens come directly from the mu function. The block structure is
specified by blk and nmeas and nctrls are the number of measurementsand controls
respectively.
The outputs are the dynamic systems which approximate Dand Dinv. The new scaled
Hproblem can be set up with
new ic = Dsys * old ic * Dinvsys.
D-K iteration involvesiter atingb etweencalculating and fitting D-scales and designing
controllers, K.
If there are Nblocks in the µproblem set up, then the Dscale matrices have N1
different transfer functions that require fitting. The Nth transfer function is taken to be
unity.
We recommend choosing a 3rd order transfer function for the fit. This increases the
number of states in the interconnection structure by 3*(size of block)*2. A different
order can be chosen — which will lead to a slightly different controller in the subsequent
analysis.
Note that g1g is also passed to musynfit. This will provide the user with a comparison
between the calculated upperbound and that based on the rational fit. Thiscomparison
is useful in deciding between fits of differing orders.
[D1sys,D1invsys] = musynfit(D1,blk,nmeas,nctrls,sens1,g1g,{Hertz})