Applications of mixed -synthesis using the passivity approach
A. Helmersson
Department of Electrical Engineering Linkoping University
S-581 83 Linkoping, Sweden tel: +46 13 281622 fax: +46 13 282622 email:
andersh@isy.liu.seSeptember 26, 1994 1995 ECC
Abstract
This paper presents mixed synthesis using a
D-
Klike method in- spired by passivity theorem. The method is illustated on two similar examples showing the virtues of the mixed approach.
Keywords:
Structured uncertainty, mixed mu synthesis, passivity.
1 Introduction
Structured singular values ( ) is used for analysis and synthesis of systems with uncertainties or perturbations 1, 6]. Complex uncertainties representing dynamic uncertainties can be treated in the synthesis procedure using the D - K iteration scheme. Even if this algorithm is not guaranteed to converge to the global minimum, it provides a good design in most applications. Recently also real (parametric) uncertainties have been included in the synthesis procedure
4, 7].
In this paper a design method based the positive real Parrot theorem 4] is used. Using the scaling matrices from the analysis we can obtain multipliers that make the system positive real. Since the positive real property can be translated to an H
1problem, this ts neatly to the H
1synthesis scheme using sector transformations.
The paper is outlined as follows: In section 2 the analysis is reviewed
mainly focusing on the computation of the upper bound. This section is fairly
standard. The algorithm for mixed synthesis is given in section 3, and it is
illustrated by two examples in section 4. Conclusions are given in section 5.
1.1 Notations
We de ne X
( s ) = X T (
;s ), X T denotes the transpose of X X > (
)0 a sym- metric, positive de nite (semide nite) matrix diag X
1X
2] a block-diagonal matrix composed of X
1and X
2 kx
k2the L
2-norm of the vector x ( X ) the maximal singular value of X
k:
k1the H
1norm sect( X ) = ( I
;X )( I + X )
;1denotes the sector transformation and herm( X ) =
12( X + X
).
2 -analysis
This section gives a short review on structured singular values and sector trans- formations (LFTs), see also e.g. 2].
2.1 Denitions
We will here adopt the same notation and de nition as is used in 8, 9]. The de nition of the function depends upon the underlying block structure
Kof uncertainties , which could be either real or complex, see below. For notational convenience we assume that all uncertainty blocks are square. This can be done without loss of generality by adding dummy inputs or outputs.
M
-
Given a matrix M
2Cn
n and three non-negative integers m r , m c and m C
with m = m r + m c + m C
n the block structure is an m -tuple of positive integers
K
= ( k
1::: k m r k m r
+1::: k m r
+m c k m r
+m c
+1::: k m r
+m c
+m C ) (1) where
Pm i
=1k i = n for dimensional compatibility. The set of allowable per- turbations is de ned by a set of block diagonal matrices
XK 2 Cn
n de ned by
X
K
=
f= diag
1r I k
1::: rk mr I k mr
c
1I k mr
+1::: cm c I k mr
+mc C
1::: Cm C ] :
ri
2Rci
2CCi
2Ck mr
+mc
+i
k mr
+mc
+i
g: (2) The structured singular value of a matrix M
2Cn
n is de ned by
K
( M ) =
min
2X
K
f
() : det( I
;M ) = 0
g
;1
(3)
and if no
2XKsatis es det( I
;M ) = 0 then
K( M ) = 0.
2.2 The Upper Bound
Generally the structured singular value cannot be exactly computed instead we have to resort to upper and lower bounds, which are usually sucient for most practical applications. A tutorial review of the complex structured singular value is given in 5].
We will here focus on the computation of the upper bound, which we here denote
. For complex uncertainties the upper bound is determined by
K( M ) = inf D
2DK
( DMD
;1) (4)
where
DKis the set of block-diagonal, positive de nite Hermitian matrices that commute with
XK, that is
D
K
=
f0 < D = D
2Cn
n : D = D
82XKg: (5) This problem is equivalent to an LMI problem
K( M ) = inf >
P
2DK0f
: M
PM <
2P
g: (6) The mixed uncertainties (real and complex) can be included in the LMI problem for computing the upper bound (see e.g. 3, 8, 9]). We rst de ne
G
K
=
fG = G
2Cn
n : G =
G
82XKg(7)
Theorem 2.1 Let
K( M ) = inf >
P G
2D2GK0K: M
PM + j ( GM
;M
G ) <
2P
(8) with
DKand
GKas dened in (5) and (7) respectively. Then
K( M )
K( M ).
Note that G
2GKis block diagonal with zero blocks for complex uncertain- ties. If we let G = 0 in (8) we recover the complex upper bound (6).
We can also reformulate the inequality into a form that corresponds to a real posivite test. Let
W
K
=
fW = P + jG : P
2DKG
2GKg(9) The multiplier W is positive real (herm( W ) > 0, herm W =
12( W + W
)) it has symmetric blocks for complex uncertainties and full (not necessarily symmetric) blocks for real uncertainties. We then have
K( M ) = inf >
W
2WK0f
: herm
;( I +
1M )
W ( I
;1M )
> 0
g(10) By pre- and post-multiplying by ( I +
1M )
;1and ( I +
1M )
;, respectively, we obtain
K( M ) = inf >
W
2WK0f
: herm( W sect(
1M )) > 0
g(11) Comparing this with (8), we have P =
12( W + W
) and G = j
12( W
;W ), and consequently W = P +
1jG . Now assume that W is factorized: W = Y
Z . Then (11) can be rewritten as
f
: herm( Z sect(
1M ) Y
;1) > 0
g(12)
2.3 Reformulation of the upper bound
The upper bound can be reformulated in a number of ways, which is important when nding ecient algorithm for computing it. The following theorem is from
9]. Theorem 2.2 Assume that > 0 and denote M D = DMD
;1. Then, the following statements are equivalent.
(i) There exist matrices P
12DKand G
12GK, such that
M
P
1M + j ( G
1M
;M
G
1) <
2P
1(13) (ii) There exist matrices D
22DKand G
22GK, such that
M D
2M D
2+ j ( G
2M D
2;M D
2G
2) <
2I (14) (iii) There exist matrices D
32DKand G
32GK, such that
;
1
M D
3;jG
3( I + G
23)
;12< 1 (15) (iv) There exist matrices D
42DKand G
42GK, such that
( I + G
24)
;14;1M D
4;jG
4( I + G
24)
;14< 1 (16)
Proof: The equivalence between (i) and (ii) is obtained by replacing D
2D
2= P
1and G
2= ( D
2)
;1G
1D
;12. Then we rewrite (ii) into
M D
2 ;jG
2
M D
2 ;jG
2
< I + G
22 2=
I + G
22 21
2
I + G
22 21
2
: (17) Thus,
I + G
22 2
; 1
2
M D
2 ;jG
2
M D
2 ;jG
2
I + G
22 2
; 1
2
< I (18) from which the equivalence between (ii) and (iii) follows with D
3= D
2and G
3= G
2= . Finally, by letting D
4= ( I + G
23)
14D
3the equivalence between (iii) and (iv) follows by noting that G
3( I + G
23)
14= ( I + G
23)
14G
3.
2To summarize we have the following relations between the scaling matrices in theorem 2.2.
statements D G
(i) - (ii) D
2D
2= P
1G
2= ( D
2)
;1G
1D
;12(ii) - (iii) D
3= D
2G
3= G
2=
(iii) - (iv) D
4= ( I + G
23)
14D
3G
4= G
3We also have
W = D
4( I + G
24)
;14( I + jG
4)( I + G
24)
;14D
4(19)
Remark 2.1 For ! = 0 and ! =
1we observe that G ( j! ) = 0, since M ( j! )
is real.
3 Algorithm
3.1 The
W-
Kiteration
The algortihm used is similar to the D - K iterations used for complex uncertain- ties and the D , G - K iteration scheme 7]. Instead of using symmetric scalings D , we use asymmetric multipliers, Y and Z , and the passivity theorem. This approach is a natural extension of the D - K iteration.
In each iteration the following step are taken.
(i) Find a W by tting a transfer function of the corresponding block struc- ture to D and G data from the analysis step. In the rst iteration, when no such data are available, choose W = I .
(ii) Factorize W = Y
Z into stable and minimum phase factors Y and Z . (iii) Determine an H
1controller K for the system sect( Z sect(
1M ) Y
;1) for
the smallest possible , for instance by bisectional search.
(iv) Perform a mixed- analysis on the closed loop system
Fl ( MK ) and com- pute D , G and as functions of frequency.
(v) Repeat iterations until obtains target value or converges
In (ii) we have augmented Y and Z with a diagonal block corresponding to con- trol inputs and outputs. For notational convenience, we have assumed (without restriction) that the number of inputs are equal to the number of outputs.
3.2 How to obtain the multiplers
Yand
ZWe will now look at the problem of nding a pair ( YZ ) that corresponds to ( DG ). According to (19) we have
Y
Z = W = D
4( I + G
24)
;14( I + jG
4)( I + G
24)
;14D
4(20) where we require W to be positive real.
We assume that W can be represented as a proper rational transfer function matrix with no poles or zeros on the imaginary axis. We now want to factorize W = Y
Z , such that Y and Z are both proper, stable and minimum phase (inversely stable). In the general rational matrix case it is also possible to factorize any W in such a way.
In our case we let
Y = A
;D
4Z = A
+D
4where
A
+A
;= A = ( I + G
24)
;14( I + jG
4)( I + G
24)
;14(21) where A
+= A
;1;stable and minimum phase. Both Y and Z have two factors:
one amplitude part D
4and one phase part A
;or A
+. Note that A is all-pass.
When using the mu -command in the -Analysis and Synthesis toolbox, we obtain two scaling matrices: D ( ! ), which is a nonsingular matrix, and G ( ! ), which is diagonal and real. For complex uncertainties we have G = 0. These scaling matrices are functions of ! in a discrete number of points, usually loga- rithmically distributed.
We restrict the discussion to the scalar block case. First, we nd a D
4that ts D ( ! ) such that
jD
4( j! )
jjD ( ! )
j. Here we let
denote an approximation using some tting objective, possibly associated with a weighting function with respect to frequency. This can be performed using the musynfit or musynflp command.
Next, we determine an all-pass, positive real, approximation A that ts the phase of I + jG ( ! ), such that arg A ( j! )
arg( I + jG ( ! )) = atan G ( ! ).
3.3 Fitting
G4We start by observing that it is sucient to study the scalar case since any G is diagonal. Hence, each (diagonal) element in G can be treated separately.
It can be shown that G (0) = 0 and G (
1) = 0, see Remark 2.1. Then the all-pass function A must have a structure of the form
A ( s ) = 1
;a
1s + :::
;a
2N
;1s
2N
;1+ a
2N s
2N
1 + a
1s + ::: + a
2N
;1s
2N
;1+ a
2N s
2N (22) The aim is now to nd an A such that
arg A ( j! )
atan G ( ! ) (23) and herm A > 0 or max !
jarg A ( j! )
j<
2.
Equivalently we may approximate A by
A ( j! )
(sect(
;jG ( ! )))
12(24) This can be formulated as a least square problem: minimize
X
i w i
j(sect(
;jG ( ! i )))
12 ;A ( j! i )
j2(25) with respect to a i and herm A > 0. Here w i is a sequence of weights.
Note that the all-pass approximation contains both stable and unstable poles and zeros. The stable part is moved to A
;and the unstable part is kept in A
+. An example of a phase approximation using an all-pass lter is given in Figure 1. The phase must be constrained between
90 deg.
4 Examples
We will here illustrate the algorithm on two examples applied to the problem
of controlling and stabilizing the attitude of rocket using thrust vector control.
10
−110
010
110
2−100
−80
−60
−40
−20 0 20
frequency [rad/s]
phase [deg]
Example of an all−pass approximation
atan G __
approximation − −
Figure 1: Example of a phase approximation using an all-pass lter. In the gure the solid line represents atan G , while the dashed line gives phase of the all-pass lter.
4.1 Example 1
The following requirements are used in this design example:
(i) a
20 1]
(ii) The gain margin shall be 6 dB or better
(iii) The phase margin shall be 35 degrees or better
(iv) The compensator gain shall be less than -6 dB at frequencies above 50 rad/s.
A state-space model is de ned by dt d
x
1x
2
=
0 1 a
00
x
1x
2
+
0 0 a
10
w
1u
(26)
z
1y
=
1 0 1 0
x
1x
2
(27) where a
0= 0 : 5 and a
1= 0 : 5.
A delay of 0.06 seconds is included for modeling computational delay, sam- pling eects and actuator dynamics. This delay is implemented by a rst order Pade approximation.
d ( s ) = 1
;0 : 03 s
1 + 0 : 03 s (28)
which is valid with a relatively good accuracy up to about 30 rad/s.
iter D + A multipliers H
1C R remark
1 - 2.5715 2.4620 - complex
2 3, 3, -] 1.1000 1.1000 1.1000 complex 3 3, 3, -] 1.0487 1.0487 1.0487 complex 4' 3+2 3, -] 0.9980 1.1222 1.0024 mixed 5' 3+2,3, -] 0.9976 1.1227 1.0015 mixed
Table 1: Example 1: summary of iterations
The gain and phase margins are assured by including a complex uncertainty in the feedback loop by the gain
1 + k m
2p
1
;k m
2(29)
with k m = 0 : 6 and
j2j< 1.
For ensuring low enough gain at high frequencies the compensator gain is restricted by
jK ( j! )
j<
jW k ( j! )
jwhere
W k ( s ) = 2 ( s + 7 : 436)
2+ 19 : 746
2( s + 7 : 072)
2+ 49 : 841
2( s + 20 : 537)
2+ 9 : 357
2( s + 60 : 285)
2+ 72 : 894
2(30) This requirement comes from the fact that the rocket is not a rigid structure but has exible modes due to the elasticity in structure and interstage joints.
In a conservative design, like this one, we make no assumption on phase since 50 rad/s is higher than the bandwidth of the system (determined by the total delay in the loop). Thus, stability is only assured by the gain requirement for
! > 50 rad/s.
The system is augmented by the a -variation (
1), the gain and phase margin requirement (
2), and the high-frequency gain requirement (
3).
4.1.1 Complex design
We start by treating all uncertainties as complex. The summary of the D - K synthesis is given Table 1. The column denoted D + A multipliers, gives the order of the scaling matrix D for
1,
2and
3respectively. The scaling for
3is always one.
The D - K iteration converges after three to four iterations. We select the compensator from the third iteration since this is of slighty lower order than the fourth iteration compensator without any signi cant loss in performance. The obtained compensator with 19 states was reduced to a fth order compensator with a complex value of 1.0559.
4.1.2 Mixed design
By introducing asymmetric scaling ( Y and Z ) we can improve the real value to below 1, see Table 1. We start by using the compensator from iteration 3.
The scaling matrices were obtained by premultiplying D by the phase factors.
First and second order phase factors where used.
iter D + A multipliers H
1C R remark
1 - 9.4897 9.0640 2.0174 complex
2 1, 1, 1, -] 3.4995 2.1088 1.5942 complex 3 1, 1, 1, -] 1.9141 1.9140 1.9140 complex 3' 1+2, 1+3, 1, -] 1.1361 3.2773 1.1361 mixed 4' 1+1, 1+1, 1, -] 0.9700 4.2067 0.9729 mixed
Table 2: Example 2: summary of complex and mixed iteration. The order of the scaling matrices are given in the in the bracket list under the D + A multiplier column. For instance 1+2 denotes that D has rst order and A
;second.
Performing the same model reduction on the 5' iteration compensator we obtain a fth order compensator with = 1 : 016.
In this example very little is gained by treating the parametric uncertainty corresponding to a as real instead of complex. The two compensators are similar but the one obtained from the real design is slightly better.
4.2 Example 2
We will now try to extend the example by adding an explicit structural mode to the dynamics. In the previous example we had the requirement that the gain at frequencies above 50 rad/s should be less than -6 dB or 0.5. This requirement was set in order to not excite structural modes, of which the rst one was supposed to have a frequency of 50 rad/s or higher. We still make this assumption but we will add a new structural mode close to 10 rad/s. This means that the vehicle is structuraly weaker than before. The example given here does not give a fully realistic model of the vehicle dynamics, but serves the purpose of illustrating how the real synthesis method can be used for designing controllers where a complex design would fail.
We assume that the dynamics of the vehicle is described by the transfer function
G ( s ) = 1 s
2;a
;0 : 2
s
2+ 2
1!
1s + !
12(31) where a
20 0 : 5] and
1= 0 : 01. Note that the requirement on a is relaxed since the vehicle has reduced bandwidth due to the structural mode at ! = 10 rad/s.
The frequency of the mode !
1is nominally 10 rad/s but we should try to design a compensator that allows as large variations as possible around this nominal value. We would like to achieve at least 10%, if possible, without sacrifycing the other requirements.
The augmented system has four uncertainties:
1for uncertainty in a ,
2for !
1,
3for gain and phase margin, and
4for assuring low enough gain at
! > 50.
During the design procedure, see Table 2, we rst try to use complex
design. By doing this we can squeeze the value down to below 2, but not very
much further. One interesting observation is that if the real value is used as
criterion the compensator from the second iteration is better than the one from
10−1 100 101 102 10−1
100 101 102
frequency [rad/s]
gain
Compensator using mixed mu design
Figure 2: Example 2: gain of compensator obtained using mixed design.
The compensator for the extended example with an explicit structural mode is given by a solid line. As a comparison the compensator from example 1 is also included (dashed line).
the next iteration. This is due to the fact that the complex synthesis does not exploit the full structure of the mixed problem.
In order to improve the design we start by using the second-iteration com- pensator for nding scaling matrices Y and Z . These are derived from the D and G scalings obtained from the real analysis. First a D is determined using the musynfit command. Then an all-pass lter A is determined by tting its phase to tan( G ). We then split the all-pass lter into two factors: one stable and minimum phase part A
;and a second antistable and anti-minimum phase part ( A
+= A
;1;, such that A = A
;A
+).
The compensator obtained in the fth iteration has 39 states. The com- pensator is reduced to 9th order using Hankel norm reduction combined with explicit reduction of resonant pole-zero pairs. The reduced compensator yields a real- value of 0.9918, which ful lls the requirements.
The gain of the compensator is given in Figure 2. There is a marked notch in the gain at 10 rad/s. The main reason for this notch is to adjust the phase of the compensator in order to improve the robustness for variations in !
1. This twist in phase is clearly seen in Figure 3. The Nyquist diagram given in Figure 4 illustrates that the requirements are ful lled.
4.3 Discussion
This second example shows the advantage of the mixed design. In the rst example the gain by introducing real uncertainties was only marginal. In the second example the improvement was signi cant and the complex compensator actually failed to even come close to the requirement, which was satis ed by the mixed compensator.
The improvement can be explained as follows. The system has a pair of reso-
nant, badly damped, but stable poles. If their frequency is treated as a complex
uncertainty, this means that in the worst case these poles can be unstable. In
10−1 100 101 102
−800
−700
−600
−500
−400
−300
−200
−100
frequency [rad/s]
phase [deg]
Compensator using mixed mu design