Professional Documents
Culture Documents
Slide-8a H2 and H-Infinity Control
Slide-8a H2 and H-Infinity Control
83
Prepared by Ben M. Chen
w
u
c
where
x& = A x + B u + E w
: y = C1 x + 0 u + D1 w
z = C x + D u + 0 w
2
2
v& = Ac v + Bc y
c :
u = Cc v + Dc y
x n state variable
u m control input
p
l
y
&
w
disturbanc e
measuremen
t
k
z q controlled output
v
controller state
84
The problems of H2 and H optimal control are to design a proper control law c such that
when it is applied to the given plant with disturbance, i.e., , we have
The resulting closed loop system is internally stable (this is necessary for any control
system design).
The resulting closed-loop transfer function from the disturbance w to the controlled output z,
say, Tzw (s) , is as small as possible, i.e., the effect of the disturbance on the controlled
output is minimized.
H2 optimal control: the H2-norm of Tzw (s) is minimized.
H optimal control: the H-norm of Tzw (s) is minimized.
Note: A transfer function is a function of frequencies ranging from 0 to . It is hard to tell if
it is large or small. The common practice is to measure its norms instead. H2-norm and Hnorm are two commonly used norms in measuring the sizes of a transfer function.
85
: y = C1 x + 0 u + D1 w
z = C x + D u + 0 w
2
2
x& = A x + B (Cc v + Dc y ) + E w
y = C1 x
+ D1 w
z = C x + D (C v + D y )
c
c
2
2
x& = Ax + BC c v + BDc y + Ew
z = C2 x + D2Cc v + D2 Dc y
x&
A + BD c C 1
=
&
B cC 1
v
z = [C 1 + D 2 D cC 1
and
v& = Ac v + Bc y
c :
u = Cc v + Dc y
v& = Ac v + Bc (C1 x + D1w)
= Ac v + BcC1 x + Bc D1w
E + BD c D 1
x
+
w = Acl ~
x + B cl w
B
D
c
1
v
x
D 2 C c ] +
D 2 D cD1
w = C cl ~
x + D cl w
v
86
BC c
Ac
The resulting closed-loop system is internally stable if and only if the eigenvalues of
A + BD c C 1
A cl =
BcC 1
BC c
A c
Tzw ( s) = ( C2 + D2 F
) (sI A BF )
The closed-loop stability implies and is implied that A + B F has stable eigenvalues.
87
Prepared by Ben M. Chen
=
trace T zw ( j ) T zw ( j ) H d
2
+
T zw
Graphically,
1
2
|Tzw(j)|
H2-norm
Note: The H2-norm is the total energy corresponding to the impulse response of Tzw(s).
Thus, minimization of the H2-norm of Tzw(s) is equivalent to the minimization of the total
energy from the disturbance w to the controlled output z.
88
Prepared by Ben M. Chen
Definition: (H-norm) Given a stable and proper transfer function Tzw(s), its H-norm is
defined as
T zw
= sup max [T zw ( j ) ]
0 <
where max [Tzw(j)] denotes the maximum singular value of Tzw(j). For a single-input-singleoutput transfer function Tzw(s), it is equivalent to the magnitude of Tzw(j). Graphically,
|Tzw(j)|
H-norm
Note: The H-norm is the worst case gain in Tzw(s). Thus, minimization of the H-norm of
Tzw(s) is equivalent to the minimization of the worst case (gain) situation on the effect from
the disturbance w to the controlled output z.
89
Prepared by Ben M. Chen
2* : = inf { Tzw
c internally stabilizes
}.
= 2* .
Definition: (The infimum of H optimization) The infimum of the H-norm of the closed-loop
transfer matrix Tzw(s) over all stabilizing proper controllers is denoted by *, that is
* : = inf { Tzw
c internally stabilizes
}.
Definition: (The H -suboptimal controller) A proper controller c is said to be an H suboptimal controller if it internally stabilizes and Tzw
90
Prepared by Ben M. Chen
: y = x
z = C x + D u
2
2
u=F x
92
Prepared by Ben M. Chen
(D C
T
2
+ BTP ) = 0
for a unique positive semi-definite solution P 0. The H2 optimal state feedback law is
then given by
u = F x = ( D 2T D 2 ) 1 ( D 2T C 2 + B T P ) x
It can be showed that the resulting closed-loop system Tzw(s) has the following property:
Tzw
It can also be showed that
*
2
= [ trace ( E
2
T
= 2* .
PE ) ]
1
0
5 2
x& =
x
u
+
+
2 w
3
4
: y = x
z = [ 1 1 ] x + 1 u
C2
D2
and
144 40
P=
40 16
F = [ 41 17 ]
0
-2
10
10
10
Frequency (rad/sec)
10
x& = A x + B u ,
x (0) = X 0
The LQR problem is to find a control law u = F x such that the following index is minimized:
J =
(x
0
Q x + u T Ru ) dt ,
where Q 0 is a positive semi-definite matrix and R > 0 is a positive definite matrix. The
problem is equivalent to finding a static state feedback H2 optimal control law u = F x for
x& = A x + B u + X 0 w
y = x
R 12
0
z = 12 x +
u
Q
0
95
Prepared by Ben M. Chen
for a unique positive semi-definite solution P 0. The H -suboptimal state feedback law
is then given by
u = F x = ( D 2T D 2 ) 1 ( D 2T C 2 + B T P ) x
Tzw
< .
Remark: The computation of the best achievable H attenuation level, i.e., *, is in general
quite complicated. For certain cases, * can be computed exactly. There are cases in which
* can only be obtained using some iterative algorithms. One method is to keep solving the
H-ARE for different values of until it hits * for which and any < *, the H-ARE does
not have a solution. Please see the reference textbook by Chen (2000) for details.
96
1
0
5 2
x& =
x
u
+
+
2 w
3
4
: y = x
z = [ 1 1 ] x + 1 u
C2
D2
4
Magnitude
and
330111.5 110028.8
P=
110028.8 26679.1
F = [ 110029 .8 36680 .1]
0
-2
10
10
10
10
Frequency (rad/sec)
10
: y = x
z = C x + D u
2
2
D2
z C2
~
z = x = I x + 0 u
I
u 0
Clearly,
z~
z if = 0.
small perturbations
98
Prepared by Ben M. Chen
x& = A x + B u + E w
x
y =
~
~z = C~ x + D
2
2u
C2
~
~
where C2 : = I and D2 : =
0
D2
0
I
~ ~
Obviously, D2 is of maximal column rank and ( A, B, C2 , D2 ) is free of invariant zeros for any
> 0. Thus, ~ satisfies the conditions of the regular state feedback case, and hence we
can apply the procedures for regular cases to ~ find the H2 and H control laws.
Example:
5 2
0
1
x& =
x
+
u
+
1
2 w
3
4
y=x
z = [1 1 ] x + 0u
~
:
5
x& =
3
y=
1
z=
0
2
0
1
x
+
u
+
1
2 w
4
x
1
0
0
0
x+ u
0
99
~ ~
~ ~
~ ~
~
AT P + P A + C 2T C 2 P B + C 2T D2
) (D~ D~ ) (D~ C~
T
2
T
2
~
+ BTP = 0
~
~ ~
~ ~
~
u = F x = ( D 2T D 2 ) 1 D 2T C 2 + B T P x
It can be showed that the resulting closed-loop system Tzw(s) has the following property:
Tzw
2*
as 0
[ trace ( E
~
PE)
2*
as 0.
100
Prepared by Ben M. Chen
1
0
5 2
x& =
x
u
+
+
2 w
3
4
: y = x
z = [ 1 1 ] x + 0 u
= 0.1
~ 21.2472 4.9311
P=
,
4.9311 1.8975
F = [ 49.3111 18.9748]
= 0.0001
~ 1.6701 0.0424
P=
,
0.0424
0.0112
=1
2
Magnitude
1.5
= 0.1
0.5
0
-2
10
= 0.0001
10
10
Frequency (rad/sec)
10
F = [ 423.742 112.222]
2* = 1.225
101
Prepared by Ben M. Chen
C2
~
~
C2 : = I and D2 : =
0
D2
0
I
~ ~ ~
~ ~
~ ~
~
~
~ ~
AT P + PA + C2TC2 + PEE T P / 2 ( PB + C2T D2 ) D2T D2
~ ~
~
( D2TC2 + B T P ) = 0
~
for P.
~
Step 4: If P
> 0 , go to Step 5. Otherwise, reduce the value of and go to Step 2.
~
~ ~
~ ~
~
u = F x = ( D 2T D 2 ) 1 D 2T C 2 + B T P x
Tzw
< .
102
Prepared by Ben M. Chen
3
4
: y = x
z = [ 1 1 ] x + 0 u
0.6
0.4
and
15.1677 0.9874
P=
0.9874 0.0981
F = [ 987.363 98.1161]
0.2
0
-2
10
10
10
10
: y = C1 x
+ D1 w
z = C x + D u
2
2
where (A, B) is stabilizable and (A, C1) is detectable. Also, it satisfies the following regularity
assumptions:
1. D2 is of maximal column rank, i.e., D2 is a tall and full rank matrix
2. The subsystem ( A,B,C2,D2 ) has no invariant zeros on the imaginary axis;
3. D1 is of maximal row rank, i.e., D1 is a fat and full rank matrix
4. The subsystem ( A,E,C1,D1 ) has no invariant zeros on the imaginary axis;
104
Prepared by Ben M. Chen
(D C
T
2
+ BTP ) = 0
(D E
1
+ C1Q ) = 0
for a unique positive semi-definite solution Q 0. The H2 optimal output feedback law is
then given by
v& = ( A + BF + KC 1 ) v K y
c :
F v
u =
where F = ( D 2T D 2 ) 1 ( D 2T C 2 + B T P
Furthermore,
2* = { trace ( E T PE ) + trace [ ( A T P + PA + C 2T C 2 ) Q
]}
105
Prepared by Ben M. Chen
1
0
5 2
x& =
x
u
+
+
2 w
3
4
+ 1 w
: y =[0 1 ]x
z = [ 1 1 ] x + 1 u
40 16
49.7778 23.3333
Q=
23.3333 14.0000
150
Magnitude
100
50
F = [ 41 17]
24.3333
K =
16.0000
0
-2
10
10
10
Frequency (rad/sec)
10
v& =
c :
u =
given by
5 22.3333
24.3333
+
v
38
16 y
29
[ 41 17 ] v
2* = 347.3
106
Prepared by Ben M. Chen
(D E
1
+ C1Q ) = 0
for a unique positive semi-definite solution Q 0. In fact, these P and Q satisfy the so-called
coupling condition: ( PQ ) < 2. The H -suboptimal output feedback law is then given by
v& = Ac v + B c y
c :
u = Cc v
Bc = (I 2QP ) K ,
1
Cc = F .
K = ( QC 1T + ED 1T )(D1 D1T ) .
1
107
Prepared by Ben M. Chen
1
0
5 2
x& =
x
u
+
+
2 w
3
4
+ 1 w
: y =[0 1 ]x
z = [ 1 1 ] x + 1 u
v& =
c :
u =
40
20
0
-2
10
40.1168 16.0392
Magnitude
49.8205 23.3556
Q=
23.3556 14.0118
38.814 1848.66
1836.58
v
+
59.414 914.112
894.227 y
[ 41.116 17.039 ] v
10
10
Frequency (rad/sec)
10
I ].
The H2 and H control problems for singular output feedback case can be obtained by
solving the following perturbed regular system with sufficiently small :
~~
&
x
=
A
x
+
B
u
+
E
w
~
~ ~
: y = C1 x
+ D1 w
~
~
~
=
+
z
C
x
D
2
2 u