Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Question:
Is the designed controller robust against model uncertainties?
If the designed controller can tolerate the model mismatch, the controller
is called robust
The controlled systems performance does not degrade significantly in the presence of
model mismatch using robust controller
+ ()
Performance index:
= lim () , = , = estimate of
Kalman filter:
= + + ( )
=
Kalman gain:
Kalman filter
(observer)
Plant
= + +
= +
= + +
= 1
where = 0 is the solution of the filter algebraic Riccati equation (FARE):
+ + 1 = 0
Syntax: [Gk,Kf,Pf]=kalman(G,Qf,Rf)
Kalman filter
(observer)
Plant
= + +
= +
= + +
Example: For
() = () + () + ()
,=
() = () +
Matlab code:
clear all, clc,
A=[-0.02,0.005,2.4,-32;-0.14,0.44,-1.3,-30;
0,0.018,-1.6,1.2;0,0,1,0]; B=[0.14;0.36;0.35;0];
Bz=[-0.12;-0.86;0.009;0]; C=[0,1,0,0]; D=[0];
G=ss(A,[B,Bz],C,[D,D]); Qf=1e-3; Rf=1e-7;
[Gk,Kf,Pf]=kalman(G,Qf,Rf),
0.14
0.12
0.02 0.005 2.4 32
0.14 0.44 1.3 30 , = 0.36 , = 0.86 ,
0.009
0 0.018
1.6 1.2
0.35
0
0
0
1
0
0
2.1533 105
8.7371 106
2.5369 107
3.5741 107
3.6456 105
2.5369 107
3.0037 107
6.3871 107
7.7729 105
3.5741 107
6.3871 107
1.3623 106
= + +
=
where the controller gains (row vector and column vector ) are found as:
= 1
+ + 1 = 0
r=0
and, by duality:
= 1
+ + 1 = 0
= + +
= +
Kalman filter
Plant
= + +
Plant model:
Performance index:
= lim
LQG controller:
Normally = 0
LQG Controller
r=0
= + +
= + +
= + +
= + 0
or
Plant
Kalman filter
= + +
LQG Controller
u
()
r=0
+
Plant
= + +
= + +
r=0
+
Syntax: Gc=-lqg(G,W,V)
LQG Controller
u
()
= + +
= + +
or: [Af,Bf,Cf,Df]=lqg(A,B,C,D,W,V)
Plant
, and =
Example: For
0
1
5000 100/3
0
1
0
100/3
() = () + () + ()
,=
= + +
0
500
0
4
0
0
1
100/3
25/3
, =
, = 0 ,
0
1
0
0
60
1
LQG controller:
() =
Matlab code:
Magnitude (abs)
10
10
10
2 +39.17+868.2 2 +493.9+1.234105
Bode Diagram
From: In(1) To: u1
1.2
1
Amplitude
-5
-10
Phase (deg)
10
180
[Gm,Pm,wgc,wpc]=margin(sys*Gc),
0.8
0.6
0.4
0.2
-180
-360
-1
10
0
10
10
10
Frequency (rad/sec)
10
10
0.1
0.2
0.3
Time (sec)
0.4
0.5
0
1
5000 100/3
0
1
0
100/3
() = () + () + ()
,=
= + +
0
500
0
4
0
0
1
100/3
25/3
, =
, = 0 ,
0
1
0
0
60
1
Matlab code:
r=0
10
=100
-5
Step Response
Plant
= + +
= + +
Amplitude
Magnitude (abs)
10
LQG Controller
u
()
=10
0.8
0.6
=100
0.4
-10
Phase (deg)
10
180
0.2
=100
-180
-360
-1
10
10
10
10
Frequency (rad/sec)
0
10
10
0.1
0.2
0.3
Time (sec)
0.4
0.5
Basic idea:
Let = + . Then, if the plant is minimum-phase, as , the open-loop
TF with LQG control approaches the open-loop TF with LQR control
lim + +
1/2
=0
lim + +
2. The LTR design can be performed at the output of the plant model, by replacing
with = + in the ARE and letting
The open-loop TF with LQG control approaches the open-loop TF of the Kalman filter
lim + +
or
22026697072.6516(+30.22)(+29.71)(+6.673)(+1.315)(+0.01261)
Step Response
1.4
1.2
15
10
Amplitude
Matlab code:
IMAG
0.8
0.6
0.4
-5
0.2
-10
-15
-10
-8
-6
0
-4
REAL
-2
6
Time (sec)
10