Products & Services Solutions Academia Support User Community Company


loopsyn

Purpose

H optimal controller synthesis for LTI plant

Syntax

Description

loopsyn is an H optimal method for loopshaping control synthesis. It computes a stabilizing Hcontroller K for plant G to shape the sigma plot of the loop transfer function GK to have desired loop shape Gd with accuracy gamma=GAM in the sense that if 0 is the 0db crossover frequency of the sigma plot of Gd(j), then, roughly,

     (6-16)  

     (6-17)  

The STRUCT array INFO returns additional design information, including a MIMO stable min-phase shaping pre-filter W, the shaped plant Gs = GW, the controller for the shaped plant Ks=WK, as well as the frequency range {min,max} over which the loop shaping is achieved

Input Argument
Description
G
LTI plant
Gd
Desired loop-shape (LTI model)
RANGE
(optional, default {0,Inf}) Desired frequency range for loop-shaping, a 1-by-2 cell array {min,max}; max should be at least ten times min
.

Output Argument
Description
K
LTI controller
CL= G*K/(I+GK)
LTI closed-loop system
GAM
Loop-shaping accuracy (GAM 1, with GAM=1 being perfect fit
INFO
Additional output information
INFO.W
LTI pre-filter W satisfying sigma(Gd)=sigma(GW) for all ;
W is always minimum-phase.
INFO.Gs
LTI shaped plant: Gs = GW.
INFO.Ks
LTI controller for the shaped plant: Ks=WK.
INFO.range
{min,max} cell-array containing the approximate frequency range over which loop-shaping could be accurately achieved to with accuracy G. The output INFO.range is either the same as or a subset of the input range.

Algorithm

Using the GCD formula of Le and Safonov [1], loopsyn first computes a stable-minimum-phase loop-shaping, squaring-down prefilter W such that the shaped plant Gs = GW is square, and the desired shape Gd is achieved with good accuracy in the frequency range {min,max} by the shaped plant; i.e.,

Then, loopsyn uses the Glover-McFarlane [2] normalized-coprime-factor control synthesis theory to compute an optimal "loop-shaping" controller for the shaped plant via Ks=ncfsyn(Gs), and returns K=W*Ks.

If the plant G is a continuous time LTI and

  1. G has a full-rank D-matrix, and
  2. no finite zeros on the j-axis, and
  3. {min,max}=[0,],

then GW theoretically achieves a perfect accuracy fit sigma(Gd) = sigma(GW) for all frequency . Otherwise, loopsyn uses a bilinear pole-shifting bilinear transform [3] of the form

which results in a perfect fit for transformed Gshifted and an approximate fit over the smaller frequency range [min,max] for the original unshifted G provided that max >> min. For best results, you should choose max to be at least 100 times greater than min. In some cases, the computation of the optimal W for Gshifted may be singular or ill-conditioned for the range [min,max], as when Gshifted has undamped zeros or, in the continuous-time case only, Gshifted has a D-matrix that is rank-deficient); in such cases, loopsyn automatically reduces the frequency range further, and returns the reduced range [min,max] as a cell array in the output INFO.range={min,max}

Examples

The following code generates the optimal loopsyn loopshaping control for the case of a 5-state, 4-output, 5-input plant with a full-rank non-minimum phase zero at s=+10. The result in shown in Figure 6-10.

This figure shows that the LOOPSYN controller K optimally fits

In the above example, GAM = 2.0423 = 6.2026 dB.

Figure 6-10: LOOPSYN controller

The loopsyn controller K optimally fits sigma(G*K). As shown in Figure 6-10, it is sandwiched between sigma(Gd/GAM) and sigma(Gd*GAM) in accordance with the inequalities in Equation 6-16 and Equation 6-17. In the this example, GAM = 2.0423 = 6.2026 db.

Limitations

The plant G must be stabilizable and detectable, must have at least as many inputs as outputs, and must be full rank; i.e,

The order of the controller K can be large. Generically, when Gd is given as a SISO LTI, then the order NK of the controller K satisfies

where

Model reduction can help reduce the order of K -- see reduce and ncfmr.

References

[1]  Le, V.X., and M.G. Safonov. Rational matrix GCD's and the design of squaring-down compensators--a state space theory. IEEE Trans. Autom.Control, AC-36(3):384-392, March 1992.

[2]  Glover, K., and D. McFarlane. Robust stabilization of normalized coprime factor plant descriptions with H-bounded uncertainty. IEEE Trans. Autom. Control, AC-34(8):821-830, August 1992.

[3]  Chiang, R.Y., and M.G. Safonov. H synthesis using a bilinear pole-shifting transform. AIAA J. Guidance, Control and Dynamics, 15(5):1111-1115, September-October 1992.

See Also

loopsyn_demo  A demo of this function

mixsyn      H mixed-sensitivity controller synthesis

ncfsyn      H normalized coprime factor controller synthesis


 Provide feedback about this page 

Previous page loopsens ltiarray2uss Next page

Recommended Products

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