Linear-Quadratic-Gaussian Controllers: Immune Response Example
Linear-Quadratic-Gaussian Controllers: Immune Response Example
Copyright 2010 by Robert Stengel. All rights reserved. For educational use only.
http://www.princeton.edu/~stengel/MAE546.html
http://www.princeton.edu/~stengel/OptConEst.html
{ } = P(0)
– Organ death occurs in
E !" x ( 0 ) #$ = x̂ o ; E !" x ( 0 ) % x̂ ( 0 ) #$ !" x ( 0 ) % x̂ ( 0 ) #$
T
one case
• Probability of satisfactory E !" w ( t ) #$ = 0; E !" w ( t ) w T (& ) #$ = W' ( t % & )
therapy can be dim !" x ( t ) #$ = n % 1
E !" n ( t ) #$ = 0; E !" n ( t ) nT (& ) #$ = N' ( t % & )
maximized by stochastic dim !" u ( t ) #$ = m % 1 Dimensions
K ( t ) = P(t)HT N !1
Estimator Gain K ( t ) = P(t)H N T !1
! = FP(t) + P(t)FT + LWLT ! P(t)HT N !1HP(t)
P(t)
! = FP(t) + P(t)FT + LWLT ! P(t)HT N !1HP(t)
P(t)
Scalar LTI Example of Steady-State Signal "Power" = State Estimate Variance = P
Noise "Power" = Measurement Error Variance = N
Estimator Compensation Filter Gain H = Projection from Noise Space to Signal Space
K ') N ! $ +)
! Estimator transfer x̂ ( s ) = z (s) ( 2 #1 + 1 +
WH 2
! Constant, scalar &, H
function "# s ! (1 ! KH ) $% ) H #" N &% )- )' 1 ! WH 2 $ )+
filter gain K=* = ( #1 + 1 + &,
! Low-pass filter
x̂ ( s ) K
N
*) #"
H N &% )
-
=
z ( s ) "# s ! (1 ! KH ) $% .W..
>> N
/
W
N
J=
2 )(
{ } { }
E ' E !" Tr !"S(t f )x(t f )xT (t f ) #$ | I D #$ + % E Tr !"Qx ( t ) xT ( t ) #$ dt + % E Tr !" Ru ( t ) uT ( t ) #$ dt +
are conditioned on the information set 0 0 ,(
J= ( ) { }
E ' Tr S(t f ) !" P t f + x̂(t f )x̂T (t f ) #$ + % Tr Q !" P ( t ) + x̂ ( t ) x̂T ( t ) #$ dt + % Tr !" Ru ( t ) uT ( t ) #$ dt +
2 )( ,(
! J CE + J S
0 0
min J = min J CE + J S
u u
J CE = { }
E ' Tr !"S(t f )x̂(t f )x̂T (t f ) #$ + % Tr Qx̂ ( t ) x̂T ( t ) dt + % Tr !" Ru ( t ) uT ( t ) #$ dt +
xˆ! ( t ) = Fx̂(t) + Gu(t) + K ( t ) "# z ( t ) ! Hx̂ ( t ) $%
2 () 0 0 (,
1 &( (*
tf
( )
J S = E ' Tr !"S(t f )P t f #$ + % Tr !"QP ( t ) #$ dt +
2 )( 0 ,(
J CE
1 ! T
tf
#
= Tr &S(0)E !" x̂ ( 0 ) x̂ ( 0 ) #$ + % S ( t ) K ( t ) NKT ( t ) dt '
Asymptotic Stability of
'$
the LQG Regulator
2 &" 0
... and
J = J CE + J S
1 &( (*
tf
+ Tr -S(t f )P(t f ) + % QP ( t ) dt .
2 -" 0 .$
numerous reasons
( )
C = 2 + 4 + Q !" 1 1 #$ = !" c c #$
! Improper control gain Control and
! 1 # ! k #
Estimator Gains K = (2 + 4 + W )% &=%
! Control effect on estimator block " 1 $ "
&
k $
! Redistribution of damping
Uncertainty in the Control Effect Doyle!s Counter-Example
! 0 $
FA = F; G A = # &; HA = H ! Solution
#" µ &% ! Choose Q and W to be small, increasing allowable
range of µ
( s ! 1) !1 0 0
0 ( s ! 1) µc µc
= s 4 + a3 s 3 + a2 s 2 + a1s + a0 = " CL ( s ) = 0
!k 0 (s ! 1 + k) !1 ! However, .... The counter-example is irrelevant
!k 0 (c + k ) ( s ! 1 + c) because it does not satisfy the requirements for LQ
and LG stability
! Routh!s stability criterion
! The open-loop system is unstable, so it requires
! All coefficients of !(s) must be positive for stability feedback control to restore stability
! µ is nominally equal to 1
! To guarantee stability, Q and W must be positive
! µ can force a1 and a0 to change sign definite, but
! Result is dependent on magnitude of ck
a1 = k + c ! 4 + 2 ( µ ! 1) ck ! 1 1 $ ! 1 1 $
Q = Q# & ; hence, Q = 0; W = W # & ; hence, W = 0
a0 = 1 + (1 ! µ ) ck " 1 1 % " 1 1 %
! Arbitrarily small uncertainty could cause instability
! This should not be surprising, as uncertainty is in the control effect
Loop-Transfer Recovery
(Doyle and Stein, 1979)
! Proposition: LQG robustness would be the same as
Robustness
LQ robustness if the control vector had the same
effect on the state and its estimate
Then
(Loop Transfer) Cx ( t ) and Cx̂ ( t ) produce same expected value of control, E !" u ( t ) #$
but not the same
{
E !" u ( t ) % u ( t ) #$ !" u ( t ) % u ( t ) #$
T
}
Recovery as x̂ ( t ) contains measurement errors but x ( t ) does not
W = Wo + ! 2GGT
Expression of Uncertainty
Uniform Distribution
• Uncertainty may be expressed as variation in of Eigenvalues
– Elements of F
Robustness Analysis
– Frequency response/singular values/time
response
• Variation may be
– Probabilistic, e.g.,
• Gaussian distribution
• Bounded variation is equivalent to
probabilistic variation with uniform
distribution
MID-TERM BREAK
Syllabus - 2
Week Tuesday Thursday
==== ======= ========