Mu Analysis and Synthesis Toolbox | ![]() ![]() |
Compute the optimal H2 controller given a SYSTEM interconnection matrix
Syntax
Description
h2syn
calculates the H2 optimal controller k
and the closed-loop system g
for the linear fractional interconnection structure p
. nmeas
and ncon
are the dimensions of the measurement outputs from p
and the controller inputs to p
. The optional fourth argument, ricmethod
, determines the method used to solve the Riccati equations. The interconnection structure, p
, is defined by
The equations and corresponding nomenclature are taken from the Doyle, et al., 1989, reference. The full information cost is given by the equation The output estimation cost is given by
, where
. The disturbance feedforward cost is
, where L2 is defined by
and the full control cost is given by
. X2 and Y2 are the solutions to the X and Y Riccati equations, respectively.
The H2 solution provides an upper bound on for use in the
hinfsyn
program.
Examples
Design an H2 optimal controller for a system matrix, himat_icn
, with two sensor measurements (nmeas
), two error signals, two actuator inputs (ncont), and eight states. himat_icn
differs from the SYSTEM interconnection structure himat_ic
by the fact that the D11 term of himat_ic
is set to be zero. The Schur decompostion method, ricmethd
= 2, will be used for solution of the Riccati equations. The program outputs the minimum eigenvalue of X2 and Y2 during the computation.
nmeas = 2; ncont = 2; ricmethd = 2; minfo(himat_icn) system:8 states6 outputs6 inputs [k,g] = h2syn(himat_icn,nmeas,ncont,ricmethd); minimum eigenvalue of X2: 2.260000e-02 minimum eigenvalue of Y2: 2.251670e-02
g
can be calculated via the commands hinfnorm
and h2norm
.
Algorithm
h2syn
is an M-file in µ-Tools that uses the formulae described in the Doyle, et al., 1989, reference for solution to the optimal H2 control design problem. A Hamiltonian is formed and solved via a Riccati equation (ric_eig
and ric_schr
). The D matrix associated with the input disturbances and output errors is restricted to be zero.
ric_eig
, ric_schr
, csord
, and cgivens
.
Reference
Doyle, J.C., K. Glover, P. Khargonekar, and B. Francis, "State-space solutions to standard H2 and H control problems," IEEE Transactions on Automatic Control, vol. 34, no. 8, pp. 831-847, August 1989.
Glover, K., and J.C. Doyle, "State-space formulae for all stabilizing controllers that satisfy an H norm bound and relations to risk sensitivity," Systems and Control Letters, 1988. vol. 11, pp. 167-172, August 1989.
See Also
hinfsyn
, hinffi
, h2norm
, hinfnorm
, ric_eig
, ric_schr
![]() | h2norm, hinfnorm | hinffi | ![]() |