Professional Documents
Culture Documents
G(∞) = D is non-singular.
if and only if
1 2
Lower linear fractional trafo S(P, K) of P and K: - General framework to handle interconnections
Partition - Definition of stabilizing controllers
P11 P12 - Tests of whether a controller is stabilizing
P = such that P22K is square,
P21 P22
- Definition of generalized plants
check whether I − P22K has an inverse, and set
- Tests of whether an interconnection is generalized plant
3 4
A Tracking Configuration Corresponding Open-Loop Interconnection
6@ 6@
Q Q
r ` r `
+ t + + + t + +
z z
6@ + 6@ +
5 6
In an arbitrary interconnection, let After disconnecting the controller, any open-loop intercon-
- w denote the signal that affects the system and cannot nection is described as
be influence by the controller. z w P11 P12 w
w is called generalized disturbance. =P = .
y u P21 P22 u
- z denote the signal that allows to characterize whether
a controller has certain desired properties.
The closed-loop interconnection is obtained by reconnecting
z is called controlled variable.
the controller as
- u denote the output signal of the controller.
u is called control input. u = Ky.
- y denote the signal that enters the controller.
y is called measurement output. General Formula for closed-loop interconnection:
In example:
d z = [P11 + P12K(I − P22K)−1P21]w = S(P, K)w.
w = n , z = e.
r
Assumption
Throughout the course, both P and K are LTI systems.
7 8
General Framework in Pictures State-Space Descriptions
F j Open-loop interconnection P :
h
r < ẋ = Ax + B1w + B2u
z = C1x + D11w + D12u
General open-loop interconnection y = C2x + D21w + D22u
<Q HQ
Q Controller K:
ẋK = AK xK + BK uK
General controller
yK = CK xK + DK uK
F j
h
Assumption: Both stabilizable and detectable.
r <
Closed-loop interconnection with u = yK and uK = y:
General closed-loop interconnection
ξ˙ = Aξ + Bw
z = Cξ + Dw
9 10
We have
Realization of Closed-Loop Interconnection?
x
yK u
Merge descriptions of P and K as = C 2 D 21 xK + D 22 .
y uK
w
ẋ A 0 B1 B2 0 x
ẋK 0 AK 0 0 BK xK
z = C1 0 D11 D12 0 w u yK
With = obtain
uK y
yK 0 CK 0 0 DK u
x
y C2 0 D21 D22 0 uK
yK
[I − D 22] = C 2 D 21 xK .
A B1 B2 y
C D
w
11 D 12
1
C 2 D 21 D 22
If I − D 22 is non-singular, obtain
Formula for realization of closed-loop system: x
yK
= [I − D 22]−1 C 2 D 21 xK .
y
A B A B1 B2 w
= + [I−D 22]−1 C 2 D 21 .
C D C 1 D 11 D 12
End up with
ẋ
A B1 B2 x
ẋK = + [I −D 22]−1 C 2 D 21
C 1 D 11 D 12 xK .
z w
11 12
Fundamental Definition Example
13 14
Merge description to
F j
h
r ` + 8
@
z
P11 P12 0 w
v1 = 0 I −K u .
8 v2 −P21 −P22 I v
8
+
w z
System v1 → u proper if and only if
Theorem v2 v
K stabilizes P if and only if the interconnection defined
I −K
through the relations or I − P22K have proper inverse.
−P22 I
z w
=P , u = Kv + v1, v = y + v2
y u w z
defines a proper and stable transfer matrix Then v1 → u is described by transfer matrix
v2 v
w z
P11 + P12K(I − P22K)−1P21 P12(I − KP22)−1 P12K(I − P22K)−1
v1 → u .
K(I − P22K)−1P21 (I − KP22)−1 K(I − P22K)−1
v2 v .
(I − P22K)−1P21 (I − P22K)−1P22 (I − P22K)−1
15 16
Input-Output Description Why is Input-Output Characterization Valid?
Explicit Input-Output Stability Test z P11 P12 0 w
K stabilizes P if and only if
v1 = 0 I −K u
I − P22K has a proper inverse v2 −P21 −P22 I v
and the following transfer matrix is stable: admits stabilizable and detectable realization:
P11 + P12 K(I − P22 K)−1 P21 P12 (I − KP22 )−1 P12 K(I − P22 K)−1
ẋ x
K(I − P22 K)−1 P21 (I − KP22 )−1 K(I − P22 K)−1 .
(I − P22 K)−1 P21 (I − P22 K)−1 P22 (I − P22 K)−1 ẋK A B1 B2 xK
z = D 12
C 1 D 11 w .
v1 −C 2 −D 21 I − D 22 u
v2 v
Remarks.
- In general, one really has to check all nine blocks. w z
- If some of the blocks of P or K are stable, might suffice v1 → u is LTI if and only if I − D 22 non-singular.
to check only a subset. Useful: Formulas for rearranging v2 v
block matrices. Has stabilizable and detectable realization defined with
- w, z absent: K stabilizes P22 if and only if A + B 2 (I − D 22 )−1 C 2 B 1 + B 2 (I − D 22 )−1 D 21 B 2 (I − D 22 )−1
C 1 + D 12 (I − D 22 )−1 C 2 D 1 + D 12 (I − D 22 )−1 D 21 D 12 (I − D 22 )−1 .
−1 −1 −1
(I − D 22 ) C 2 (I − D 22 ) D 21 (I − D 22 )
I −K
has proper and stable inverse.
−P22 I
Transfer matrix stable iff A + B 2(I − D 22)−1C 2 stable.
17 18
1 1
P12(s)(I − K(s)P22(s))−1 =
s 1 − K(s) Violation indicates that interconnection contains unstable
s+1
components that cannot be stabilized.
or
is unstable.
Must always be verified. Is there a simple test?
19 20
Generalized Plant: State-Space Test Construct Stabilizing Controller
The matrix
21 22
23 24
Back to Tracking Example Back to Tracking Example
(A, B2) is stabilizable, (A, C2) is detectable. Finished! are seen to be stable. Finished!
25 26
• Type/Structure/Size of uncertainties
Suppose the model G deviates from the actual plant H.
• Pulling out uncertainties
Suppose we can bound the deviation as
• Determinant test for robust stability |G(iω) − H(iω)| < 1 for all ω ∈ R ∪ {∞}.
• Small-gain theorem for full block uncertainties
27 28
Introduce Uncertainty Transfer Function Seen by Uncertainty
z
6@ L
6@
Q
Disconnect uncertainty:
r `
L tL L L
6@
F j
z Q
6@ L
r `
L t L L L
Fundamental robust stability question:
Does K stabilize the interconnection in Figure for all ∆? z
6@ L
Is there a ∆ for which K does not stabilize interconnection?
Transfer function seen by ∆: w∆ → z∆.
29 30
31 32
General Framework in Pictures Back to Example
z∆ w∆ 6@
z P w F j
p p Q
y u
r `
L t L L L
z∆ w∆
z P w z
p p 6@ L
y u
Closed-loop interconnection described as
K z∆ M N12 w∆
= .
zp N21 N22 wp
z
p
P w
p Only source for instability: Inverse (I − M ∆)−1!
y u
33 34
Need to verify whether Compute M and plot M (iω) over frequency with code
I − M ∆ has proper and stable inverse for all ∆. G=nd2sys( [200],conv([10 1],conv([0.05 1],[0.05 1])) );
Both M and ∆ are stable. K=nd2sys( [0.1 1], conv([0.65 1],[0.03 1]) );
systemnames=’G’;
Hence (I − M ∆)−1 is stable if Nyquist curve inputvar=’[w;d;n;r;u]’;
outputvar=’[u;w+G+d-r;w+r-n-d-G]’;
ω → M (iω)∆(iω) does not encircle 1.
input_to_G=’[u]’;
sysoutname=’P’;
True if
cleanupsysic=’yes’;
|M (iω)∆(iω)| < 1 for all ω ∈ R ∪ {∞}. sysic
N=starp(P,K);
Since |∆(iω)| < 1, this holds if [A,B,C,D]=unpck(N);
eig(A)
M=sel(N,1,1);
|M (iω)| ≤ 1 for all ω ∈ R ∪ {∞}.
om=logspace(-2,4);
Mom=frsp(M,om);
vplot(’liv,lm’,Mom);
grid on
If true, system cannot be destabilized with proper stable
uncertainty ∆ satisfying |∆(iω)| < 1 for all ω ∈ R ∪ {∞}.
35 36
Graph of Frequency Response of M Destabilizing Perturbations?
1
10
Expected to happen for ∆ such that (I − M ∆)−1 unstable.
Find ∆ and iω0 such that det(I − M (iω0)∆(iω0)) = 0.
0
10 If M is SISO: Amounts to 1 = M (iω0)∆(iω0).
First Step
−1
1
Complex number ∆0 := M (iω0 ) satisfies
−3
Second Step
10
−2 −1 0 1 2
10 10 10 10 10
Determine real-rational proper and stable ∆(s) with
Cannot guarantee robust stability for |∆(iω)| < 1. ∆(iω0) = ∆0, |∆(iω)| < 1 for all ω ∈ R ∪ {∞}.
37 38
Lemma
Delta0=vunpck(minv(frsp(M,5)));
Let ω0 ≥ 0 and ∆0 ∈ C. Set
alpha=abs(Delta0);
α − ∆0
α = ±|∆0|, β = iω0 . beta=real(5*i*(alpha-Delta0)/(alpha+Delta0));
α + ∆0 Delta=nd2sys([alpha -alpha*beta],[1 beta]);
Then
s−β
∆(s) = α spoles(Delta)
s+β
is proper, real-rational, and satisfies
m=logspace(0.5,1,500);clf;
∆(iω0) = ∆0, |∆(iω)| = |∆0| for all ω ∈ R ∪ {∞}.
for tau=linspace(0,5,10);
Either for α = |∆0| or for α = −|∆0|, ∆ is stable.
D=mmult(tau,Delta);
PDelta=starp(D,P);
cll=starp(PDelta,K);
figure(1);plot(spoles(cll),’+’);hold on;
figure(2);vplot(’liv,lm’,frsp(sel(cll,1,2),om));hold on;
end;
39 40
Example: Results Summary of SISO Example
1
10
• ... that the transfer matrix seen by uncertainty deter-
mines robust stability
0
10 • ... that robust stability can be guaranteed by a simple
version of small-gain theorem
−2
−4
−6
−60 −50 −40 −30 −20 −10 0 10
41 42
Typical types of uncertainties in system components. Second order system with parametric uncertainty:
How does structure appear? 1
ẑ(s) = 2 ŵ(s), c1 < c < c2.
s + cs + 1
Set of all parameters described as
How to pull uncertainties out of system components?
c = c0 + W δ with − 1 < δ < 1
How to pull uncertainties out of interconnections?
c1 +c2 c2 −c1
with nominal value c0 := 2 and weight W = 2 .
Will arrive at general framework.
Uncertain system described as
Size and structure of uncertainties captured by specifying
1
possible values of frequency response. G∆(s) = 2 , ∆∈∆
s + (c0 + W ∆)s + 1
Values = Block-diagonal complex matrices bounded by 1. with uncertainty class
43 44
Pull out Uncertainty General Affine Parametric Uncertainty
45 46
Frequency domain experiments: Set of responses H(ω). Can have both parametric and dynamic uncertainty together:
1 1+W2 (s)∆2 (s)
G∆(s) =
s+1 s+2
Cover H(ω) by set with more appropriate description:
1+W1 ∆1 1
H(ω) ⊂ G(iω) + W (iω)∆c for all ω ∈ R ∪ {∞} s+3 2s+1
Capture structure and size of uncertainty as follows: with any unstructured complex matrix
Define value set
∆c =
∆11 ∆12
∆1 0 ∆21 ∆22
∆c := | ∆1 ∈ R, ∆2 ∈ C, |∆j | < 1 .
0 ∆2
that is bounded as
Actual class of uncertainties then given by
∆c = σmax(∆c) < 1.
∆ := {∆ ∈ RH∞ | ∆(iω) ∈ ∆c for all ω ∈ R ∪ {∞}}.
49 50
Unstructured versus Structured Other Typical Structures how Uncertainties could Enter
51 52
Summary: Component Uncertainties Pulling Uncertainties out of Interconnections
G∆ = S(∆, G), ∆ ∈ ∆
6@
z
6@ L
Could work with set ∆c of block-diagonal matrices
Disconnect K and ∆ to get P :
δ1I 0
...
6@
δr I
∆c = with δj ∈ R, ∆j ∈ Cpj ×qj
∆ 1
F j
...
t Q
0 ∆f
r
that are bounded as L `
L L
∆c < 1. z
6@ L
53 54
55 56
Fundamental Hypotheses Robust Stability
• P is a generalized plant.
• With value set of complex matrices ∆c (structure, size): Robust Stability Analysis Problem
For given and fixed controller K, test whether it
∆ = {∆ ∈ RH∞ | ∆(iω) ∈ ∆c for ω ∈ R ∪ {∞}}.
robustly stabilizes S(∆, P ) against ∆.
Value set ∆c is star-shaped with center 0 :
Robust Stability Synthesis Problem
∆c ∈ ∆c ⇒ τ ∆c ∈ ∆c for all τ ∈ [0, 1]. Design a controller K that robustly stabilizes S(∆, P )
against ∆.
• For all ∆c ∈ ∆c,
I − P11(∞)∆c is non-singular.
Let’s turn to analysis.
57 58
59 60
Example: Spinning Satellite Stability Test
Determinant of
Parametric input multiplicative uncertainty
δ1
1 + s+1 aδ2
1 s − a2 a(s + 1) δ1 0 I − M (s)∆ = −aδ1
s+1
δ2
I+ 1 + s+1
s2 + a2 −a(s + 1) s − a2 0 δ2 s+1
equals
with 2
1
∆(s) =
δ1 0
∈ R2×2. 2
s + (2 + δ1 + δ2)s + (1 + δ1 + δ2) + (a2 + 1)δ1δ2 .
(s + 1)
0 δ2
Only stable zeros if
L r ` L t L L 0.8
0.6
z
0.4
6@ L 0.2
−0.2
−0.4
1 −1 −a −0.8
M (s) = .
s+1 a −1 −1
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
61 62
I − M ∆ has a proper and stable inverse for all ∆ ∈ ∆. {EMF, {BRRRSs-$RSPB RB8
+ sS}B$tSX[[)7
X@
Corollary pMF,
If K stabilizes P , and if
63 64
Construction of Destabilizing Perturbations Conditions to Guarantee Success
Suppose test fails. Then there exist frequency ω0 ∈ R∪{∞} Constructed ∆ is certainly destabilizing if
and complex matrix ∆0 ∈ ∆c such that
• ω0 = ∞
I − M (iω0)∆0 is singular.
• or if ω0 is finite, if
Find proper and stable ∆(s) with A − iω0I 0 B1 B2
0 ∆0 −I 0 has full row rank,
∆(iω0) = ∆0 and ∆(iω) ∈ ∆c for all ω ∈ R ∪ {∞}.
C1 −I D11 D12
and if
A − iω0I 0 B1
Trivial if ∆0 is real matrix.
0 ∆0 −I
has full column rank.
−I D11
Clear that ∆ renders (I − M ∆)−1 unstable. C1
C2 0 D21
Candidate for destabilizing perturbation. • or if ω0 is finite, if iω0 is no pole of P , if
I − P11(iω0)∆0 P12(iω) has full row rank,
Test whether K stabilizes S(∆, P ).
and if
I − ∆0P11(iω0)
has full column rank.
Answer no: Have found destabilizing perturbation. P21(iω0)
Consider Consider
1 + ∆1(s)
y(s) = u(s).
s+α det(I − M (iω)∆(iω)) =
Pull out ∆1 and α:
10 1 −1
= det − ∆1(iω) −α =
01 iω + 1 1
z1(s) 0 0 1 w1(s)
1
z2(s) = 1/s −1/s 1/s w2(s) = det 1 + (∆1(iω) + α) .
y(s) 1/s −1/s 1/s u(s) iω + 1
P (s)
Nonzero if and only if
w1(s) ∆1(s) 0 z1(s) ∆1(iω) + α = −(iω + 1).
= .
w2(s) 0 α z2(s)
Holds for example for
∆(s)
67 68
Definitions for Complex Matrices Various Sufficient Conditions
69 70
∆c < r for all ∆c ∈ ∆c ∆ equals set of all ∆ ∈ RH∞ with ∆∞ < r.
or, equivalently,
Theorem
∆∞ < r for all ∆ ∈ ∆. Let M be proper and stable. Then
1
Corollary M ∞ ≤
r
If M is proper and stable, and if if and only if
1
M ∞ ≤ I − M ∆ has a proper and stable inverse for all ∆ ∈ ∆.
r
then I −M ∆ has proper and stable inverse for all ∆ ∈ ∆.
For full block uncertainty, norm condition is also necessary!
Norm condition is sufficient! Ignores structure.
This means:
1
Corollary M ∞ >
r
If K stabilizes P , and if implies that
1
M ∞ ≤ I − M ∆ has no proper, stable inverse for some ∆ ∈ ∆.
r
then K robustly stabilizes S(∆, P ) against ∆.
71 72
Construction of Destabilizing Perturbation Construction of Destabilizing Perturbation
73 74
For general uncertain interconnections, have seen Assume from now on: ∆c set of all
p1 I 0
• ... how to pull out uncertainties to compute the transfer
...
matrix M seen by the uncertainties in controlled inter-
pn r I
connection.
δ1I
• ... that robust stability is guaranteed if controller is nom-
∆c = . . . ∈ Cp×q
inally stabilizing and if det(I − M ∆) has no zeros on δnc I
extended imaginary axis (determinant test). ∆
1
...
• ... how to check whether test is tight by constructing
0 ∆nf
destabilizing perturbations.
with
• ... that small-gain theorem is exact for full block uncer-
- pj ∈ R with |pj | < 1
tainties.
- δj ∈ C with |δj | < 1
Continue with block-diagonal uncertainty structure. - ∆j ∈ Cpj ×qj with ∆j < 1.
[ 3BSsjjS[[S$tR$IU
Determine largest r such that {T-[StBtTR$tZjs
det(I − Mc∆c) = 0 for all ∆c ∈ r∆c.
Definition Theorem
The structured singular value (SSV) of the matrix Mc with Suppose M is proper and stable. Then
respect to the set ∆c is the number
µ∆c (M (iω)) ≤ 1 for all ω ∈ R ∪ {∞}
1
.
sup{r | det(I − Mc∆c) = 0 for all ∆c ∈ r∆c} if and only if
and denoted as I − M ∆ has a proper and stable inverse for all ∆ ∈ ∆.
µ∆c (Mc).
Suppose that µ∆c (Mc) > γ2. then K robustly stabilizes S(∆, P ) against ∆.
1
Then there exists ∆c ∈ γ2 ∆c such that I − Mc∆c singular.
79 80
SSV Test of Hypothesis on P11 Other Value Sets: Weightings
µ∆c (P11(∞)) ≤ 1.
Why?
Test of whether upper LFT with ∆ is well-defined can be Just follows from
performed with SSV. det(I − Mc[U ∆cV ]) = 0
if and only if
Remark. Many more applications of SSV!
det(I − [V McU ]∆c) = 0.
81 82
∆c = {δI | δ ∈ C, |δ| < 1} - one repeated complex block: One complex repeated block:
83 84
Dependence on Value Set Calculation of Improved Lower Bound
ρr (Mc) ≤ µ∆c (Mc) ≤ Mc. No real blocks: Equality with complex spectral radius:
85 86
87 88
Structure of Scalings Calculation of Improved Upper Bound
Value set ∆c and matrix Mc define SSV µ∆c (Mc). M real-rational, proper, stable.
Then
Interpretation of upper bound: 1
I − M ∆ has proper, stable inverse for all ∆ ∈ ∆.
1 γ1
det(I − Mc∆c) = 0 for all ∆c ∈ ∆c.
u∆c (Mc)
Interpretation of lower bound:
1
det(I − Mc∆c) = 0 for some ∆c ∈ ∆c. Suppose
l∆c (Mc)
µ∆c (M (iω0)) > γ2 for some ω0 ∈ R ∪ {∞}.
Then
Upper bound can be calculated with set of scalings D (with 1
there exists ∆ ∈ ∆ for which I − M ∆ does not
γ2
structure opposite to that of ∆) as have proper, stable inverse.
u∆c (Mc) = inf D−1McD.
D∈D
91 92
Example Two Full Complex
Choose
1 s−2
1 3.5
2s+1 2s+4
M (s) = −1 s2+s+1
s 1 . tB8
(s+1)2 [d
3s −1
s+5 4s+1 1 3
{B8}j- 77z
Three cases: ∆c all matrices with ∆c < 1 structured as 2.5 R}{sjSsI$ZR
two full complex blocks: [1
2
∆1 0
∆c = , ∆1 ∈ C2×2, ∆2 ∈ C [n
0 ∆2
1.5
0 ∆2
93 94
One Complex Repeated, One Full One Real Repeated, One Full
1.7 1.8
[d
[d
1.6 [1
1.6 [1
1.4
Z}} Z}}
1.5 ABZtI 1.2
ABZtI
[n 1
1.4 jBb jBb
ABZtI 0.8 [n ABZtI
1.3 -2 0.6 -2
10 [([)(1 10
0
10
1
10
2
10 10
-1
10
0
10
1
10
2
1
For all ∆c ∈ ∆c: det(I − M (iω0)∆c) = 0 Upper bound ≤ γ1 for all frequencies:
3
0
1
2 1
0
6
.5 .7
1
γ1
1
1 (I − M ∆)−1 proper, stable for all uncertainties ∆ ∈ ∆.
Exists ∆c ∈ ∆c: det(I − M (iω0)∆c) = 0. γ1
γ2
Lower bound > γ2 at some frequency:
1
Can destabilize (I − M ∆)−1 with some ∆ ∈ ∆.
γ2
95 96
Nominal and Robust Performance Analysis Nominal Performance
97 98
N
N ZS(P, K)W ∞ ≤ 1
z(t) = S(P, K)(iωj )wj eiωj t + CeAt(iωj I−A)−1Bwj .
j=1 j=1 with real-rational proper stable weightings W and Z.
steady-state response zs(t)
j=1
z(t) = zj eiωj t with Z(iωj )zj 2 ≤ 1.
j=1 j=1
Leads to following alternative interpretation of H∞-norm: For sinusoids: Amplitudes in frequency dependent ellipsoids.
zsRMS
sup = S(P, K)∞.
z=S(P,K)w, wRMS >0 wRMS
99 100
Loop-Shaping Put into Generalized Plant Framework
101 102
103 104
Robust Performance Frequency by Frequency Test
107 108
Excursion: Main Loop Theorem Other than Bound 1 - Rescale
109 110
if and only if
111 112
Summary in Pictures Example
RS: SSV test left-uppoer block M block of N . Suppose the controlled system is described with
NP: SV test on right-lower block N22 of N . 1
1 s−2 s−0.1
2s+1 2s+4 s+1
1
RP: SSV test on whole N with extended structure. −1 s2+s+1 s
0.1
N (s) = 3s (s+1)2
−1 10
s+5 4s+1 1 s+4
1 0.1 s−1
∆ 2
s+2 s +s+1 s+1 1
z∆ w∆
and ∆c is set of ∆c with ∆c < 1 and
M N12
∆1 0
zp N21 N22 wp ∆c = , ∆1 ∈ C2×2, ∆2 ∈ C.
0 ∆2
Extended set ∆e consists of ∆e with ∆e < 1 and
RP test is identical to RS test for system
∆1 0 0
∆e = 0 ∆2 0 , ∆1 ∈ C2×2, ∆2 ∈ C, ∆ ˆ ∈ C.
∆ 0 0 ∆ ˆ
z∆ w∆
M N12 RS: Plot ω → µ∆c (M (iω)).
N21 N22
NP: Plot ω → N22(iω).
zp wp
ˆ
∆ RP: Plot ω → µ∆e (N (iω)).
113 114
3.4
2.6
[d
2.4
[1 jBbSABZtI 2.6
2.2
[n
2
77zSi7 2.5
1.8
1.6
[(
1.4 1
-2 -1 0 2
10 10 10 10 10
2.4 -2 -1 0 1 2
10 10 10 10 10
µ∆e (N (iω0)) ≤ γ1 implies
1 Upper bound ≤ γ1 = 2.72 for all frequencies:
S(∆c, N (iω0)) ≤ γ1 for all ∆c ∈ ∆c.
γ1
S(∆, N )∞ ≤ 2.72 for all ∆ ∈ 0.367∆.
µ∆e (N (iω0)) > γ2 implies Lower bound > γ2 = 2.71 for some frequency:
1
S(∆c, N (iω0)) > γ2 for some ∆c ∈ ∆c. S(∆, N )∞ > 2.71 for some ∆ ∈ 0.369∆.
γ2
115 116
Bring RP Level below 2 Nominal and Robust Controller Design
1.85
• State-feedback H∞ control
1.8
• Output-feedback H∞ control
1.75
1.6 −2 −1 0 1 2
10 10 10 10 10
Summary of course
Upper bound ≤ 1.92 for all frequencies:
0.5 What can be expected using linear matrix inequalities?
S(∆, N )∞ ≤ 1.92 for all ∆ ∈ ∆.
1.92
≈ 0.26
117 118
- A negative semi-definite: All eigenvalues non-positive. Proof of only if: Set P = AT X + XA. Then
! ∞
Write A ≤ 0. T
X=− eA tP eAt dt.
0
Congruence Transformations: AT X + XA ≤ 0.
- T full column rank: A < B implies T T AT < T T BT . If A is stable then X ≥ 0. Converse not true.
T T
- T non-singular: A < B if and only if T AT < T BT .
119 120
ARE and ARI Hamiltonians
Immediate consequence:
Main point: Characterization of solvability
If ARE has stabilizing solution X−, then H does not have
Test in terms of A, Q, R whether the ARE or the ARI does
eigenvalues on imaginary axis.
have a solution X.
If ARE has anti-stabilizing solution X+, then H does not
have eigenvalues on imaginary axis.
Special solutions of ARE:
X− stabilizing solution: A + RX− stable. (A, R) is controllable: Converse holds as well!
121 122
Suppose (A, R) is controllable. Equivalent are Suppose (A, R) is stabilizable. Equivalent are
A R A R
• has no eigenvalues on imaginary axis. • has no eigenvalues on imaginary axis.
−Q −AT −Q −AT
• ARE has a stabilizing solution X−. • ARE has a stabilizing solution X−.
• ARE has a antistabilizing solution X+. • ARI has a solution.
• ARI has a solution. Any solution X of ARE or ARI satisfies
Any solution X of ARE or ARI satisfies X− ≤ X.
X− ≤ X ≤ X+. The stabilizing solution is unique.
Stabilizing and anti-stabilizing solutions are unique.
123 124
Construction of (Anti) Stabilizing Solution Monotonicity
125 126
A=[0 1;1 1];R=[0 0;0 1];Q=[-2 1;1 4]; [n,n]=size(A);H=[A R;-Q -A’];[T,D]=eig(H);
for fa=linspace(1,2,1000); Z=[];
H=[A R;-Q*fa -A’];plot(eig(H),’.’); for j=1:2*n;
end; if real(D(j,j))<0;Z=[Z T(:,j)];end;
end;
2
U=Z(1:n,:);V=Z(n+1:2*n,:);X=V*U^(-1);
1.5
A’*X+X*A+X*R*X+Q =
1
1.0e-014 *
0.5 -0.5329 0.1776
0
0.3553 0.5329
eig(A+R*X) =
−0.5
-0.7849 + 1.0564i
−1
-0.7849 - 1.0564i
X =
−1.5
-2.7189 -2.7321
−2 -2.7321 -2.5697
−0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8
eig(X) =
-5.3774
0.0888
127 128
Computation of H∞-Norm Reduce to Test on Hamiltonian
Suppose M (s) = C(sI − A)−1B stable. Do not compute M ∞ < 1 if and only if
129 130
M ∞ < 1
1
if and only if
0.8
T
A BB
H= has no eigenvalues in C0.
−C T C −AT 0.6
0.4
131 132
The Bounded Real Lemma General Setup for Nominal Controller Design
AT X + XA + XBB T X + C T C < 0
Weightings absorbed in P .
133 134
135 136
Why can we assume D22 = 0? Our Hypotheses
r \4 <
g; DGKF Assumptions: Hypotheses 3 relaxed to
- (A, C1) has no unobservable modes in C0
F j
\ 4^ 49 - (A, B1) has no uncontrollable modes in C0
g^ ;^^ ;^9
g9 ;9^
Kr K<
\K4K
gK;K
137 138
There exists a gain F such that if and only if exists F and Y with
139 140
ARE Solution of Static State-Feedback Problem Output-Feedback Problem: Derivation
defines a 1-suboptimal static state-feedback controller. RS T > 0, SAT RT +RAS T +RBBT RT +SC T CS T < 0.
141 142
143 144
ARI Solution of Output-Feedback Problem Output-Feedback Control: Riccati Equation Solution
145 146
WB 7B}USSBBSR8sjj
OR ]BtBjjS-$RRS]B8}ZS$
147 148
DGKF: How to Compute Controller? Required Hypotheses for ARE Solution
With P , Q and Z = (I − 1
P Q)−1, one γ-suboptimal 1. (A, B2) stabilizable, (A, C2) detectable.
γ2
controller is 2. D12 full column rank, D21 full row rank.
1 3. Ranks of
AK = A + B1B1T Q − B2B2T Q − ZP C2T C2
γ2 A − iωI B2 A − iωI B1
,
BK = ZP C2T C1 D12 C2 D21
CK = −B2T Q. do not drop for ω ∈ R.
149 150
2 control inputs/measured outputs gamma hamx_eig xinf_eig hamy_eig yinf_eig nrho_xy p/f
10.000 2.3e-002 1.2e-007 2.3e-002 0.0e+000 0.0223 p
5.000 2.3e-002 1.3e-007 2.3e-002 0.0e+000 0.0908 p
Analyse closed-loop with loop-shaping controller. 2.500 2.3e-002 1.3e-007 2.3e-002 0.0e+000 0.3913 p
1.250 2.3e-002 1.5e-007 2.3e-002 0.0e+000 2.2947# f
1.875 2.3e-002 1.3e-007 2.3e-002 -3.0e-014 0.7572 p
1.562 2.3e-002 1.4e-007 2.3e-002 0.0e+000 1.1977# f
1.719 2.3e-002 1.4e-007 2.3e-002 0.0e+000 0.9373 p
1.641 2.3e-002 1.4e-007 2.3e-002 -3.0e-014 1.0547# f
1.680 2.3e-002 1.4e-007 2.3e-002 0.0e+000 0.9932 p
1.660 2.3e-002 1.4e-007 2.3e-002 0.0e+000 1.0232# f
1.670 2.3e-002 1.4e-007 2.3e-002 0.0e+000 1.0080# f
151 152
Result of H∞ Optimization General Setup for Robust Controller Design
1
K
0.8
0.6
Uncertainy and Performance Channels
0.4
0.2
Find controller K that stabilizes P and achieves robust per-
formance.
0 −1 0 1 2 3
10 10 10 10 10
Frequency (rad/s)
Uncertainty weightings and performance
Typical: Largest singular value is flat. weightings supposed to be absorbed in P .
153 154
155 156
Upper Bound Synthesis Upper Bound Synthesis
To extended value set ∆e correspond extended scalings: Find controller K that stabilizes P and for which there exists
D 0 a function D(ω) ∈ D e such that
D e := >0|D∈D .
0 I sup D(ω)−1S(P, K)(iω)D(ω) < 1.
ω∈R∪{∞}
Recall that
There exists function D(ω) ∈ D e such that May or may not exist controller that achieves RP.
157 158
159 160
Optimization over Scaling Optimization over Controller
inf D−1S(P, Kk )(iω)D Find real rational proper stable D̂(s) with proper stable
D∈D e
D̂(s)−1 such that
and an (almost) optimal scaling Dk+1(ω).
Dk+1(ω) − D̂(iω) ≈ 0 for all ω ∈ R ∪ {∞}.
Observe:
Find (almost) optimal Kk+1 for
Dk+1(ω)−1S(P, Kk )(iω)Dk+1(ω) ≤ inf D̂−1S(P, K)D̂∞.
K stabilizes P
≤ Dk (ω)−1S(P, Kk )(iω)Dk (ω) ≤ γk
Is standard H∞ problem!
and hence
161 162
Comments Example
• The µ-tools support the fitting of D(ω) with rational Continue himat example from µ tools.
transfer matrices D̂(iω).
One full block uncertainty: 2 × 2
One performance block: 2 × 2
• Value of the upper bound is not increased in each step.
Stop if it cannot be significantly decreased.
Extended block structure
There is no guarantee for optimality whatsoever!
∆1 0 2×2
∆e := ∆c = | ∆k ∈ C , |∆c < 1 .
0 ∆2
• Order of D̂ is provided by user.
Controller K that (approximately) minimizes Extended scalings
D̂−1S(P, K)D̂∞ d I2 0
D e := D= : d ∈ R, d > 0 .
0 I2
is given by
2 × order(D̂) + order(P ).
Have performed first step: Unscaled H∞ design.
Keep the order of D̂ small!
163 164
SSV Analysis for H∞ Controller Fit Scalings
mu−controller: RS NP RP
1.8 10
0
1.6
−1
10
1.4
−2
10 −1 0 1 2 3
1.2 10 10 10 10 10
1) data 2) newfit 3) oldfit
weight for fit
Magnitude
1
1 10
0.8
0
0.6 10
0.4
−1
0.2 10 −1 0 1 2 3
10 10 10 10 10
ENTER NEW ORDER, ’drawmag’, or NEGATIVE NUMBER TO STOP
0 −1 0 1 2 3
10 10 10 10 10
Frequency (rad/s)
Perfect fit.
165 166
mu−controller: RS NP RP
1.2 10
0
−1
1 10
−2
10 −1 0 1 2 3
0.8 10 10 10 10 10
1) data 2) newfit 3) oldfit
weight for fit
Magnitude
1
10
0.6
0
0.4 10
0.2
−1
10 −1 0 1 2 3
10 10 10 10 10
ENTER NEW ORDER, ’drawmag’, or NEGATIVE NUMBER TO STOP
0 −1 0 1 2 3
10 10 10 10 10
Frequency (rad/s)
167 168
H∞ Design and SSV Analysis Summary
0.8
Controller Synthesis
0.7 - General solution for H∞ problem
Magnitude
0.6
- Robust performance design via D/K iteration:
Theory: No optimality guarantee. Alternatives?
0.5 Practice: Works fine on many examples
0.4
- Linear controllers only
0.3 −1 0 1 2 3
10 10 10 10 10
Frequency (rad/s)
169 170
Outlook on LMIs
171