Linear–quadratic–Gaussian control explained

In control theory, the linear–quadratic–Gaussian (LQG) control problem is one of the most fundamental optimal control problems, and it can also be operated repeatedly for model predictive control. It concerns linear systems driven by additive white Gaussian noise. The problem is to determine an output feedback law that is optimal in the sense of minimizing the expected value of a quadratic cost criterion. Output measurements are assumed to be corrupted by Gaussian noise and the initial state, likewise, is assumed to be a Gaussian random vector.

Under these assumptions an optimal control scheme within the class of linear control laws can be derived by a completion-of-squares argument.[1] This control law which is known as the LQG controller, is unique and it is simply a combination of a Kalman filter (a linear–quadratic state estimator (LQE)) together with a linear–quadratic regulator (LQR). The separation principle states that the state estimator and the state feedback can be designed independently. LQG control applies to both linear time-invariant systems as well as linear time-varying systems, and constitutes a linear dynamic feedback control law that is easily computed and implemented: the LQG controller itself is a dynamic system like the system it controls. Both systems have the same state dimension.

A deeper statement of the separation principle is that the LQG controller is still optimal in a wider class of possibly nonlinear controllers. That is, utilizing a nonlinear control scheme will not improve the expected value of the cost function. This version of the separation principle is a special case of the separation principle of stochastic control which states that even when the process and output noise sources are possibly non-Gaussian martingales, as long as the system dynamics are linear, the optimal control separates into an optimal state estimator (which may no longer be a Kalman filter) and an LQR regulator.[2] [3]

In the classical LQG setting, implementation of the LQG controller may be problematic when the dimension of the system state is large. The reduced-order LQG problem (fixed-order LQG problem) overcomes this by fixing a priori the number of states of the LQG controller. This problem is more difficult to solve because it is no longer separable. Also, the solution is no longer unique. Despite these facts numerical algorithms are available[4] [5] [6] [7] to solve the associated optimal projection equations[8] [9] which constitute necessary and sufficient conditions for a locally optimal reduced-order LQG controller.[4]

LQG optimality does not automatically ensure good robustness properties.[10] [11] The robust stability of the closed loop system must be checked separately after the LQG controller has been designed. To promote robustness some of the system parameters may be assumed stochastic instead of deterministic. The associated more difficult control problem leads to a similar optimal controller of which only the controller parameters are different.[5]

It is possible to compute the expected value of the cost function for the optimal gains, as well as any other set of stable gains.[12]

The LQG controller is also used to control perturbed non-linear systems.[13]

Mathematical description of the problem and solution

Continuous time

Consider the continuous-time linear dynamic system

x

(t)=A(t)x(t)+B(t)u(t)+v(t),

y(t)=C(t)x(t)+w(t),

where

{x

} represents the vector of state variables of the system,

{u

} the vector of control inputs and

{y

} the vector of measured outputs available for feedback. Both additive white Gaussian system noise

v(t)

and additive white Gaussian measurement noise

w(t)

affect the system. Given this system the objective is to find the control input history

{u

}(t) which at every time

{

}t may depend linearly only on the past measurements

{y

}(t'), 0 \leq t' < t such that the following cost function is minimized:

J=E\left[{xT}(T)F{x

}(T)+ \int_^ (t)Q(t)(t) + (t)R(t)(t)\,dt \right],

F\ge0,Q(t)\ge0,R(t)>0,

where

E

denotes the expected value. The final time (horizon)

{

}T may be either finite or infinite. If the horizon tends to infinity the first term

{x

}^\mathrm T(T)F(T) of the cost function becomes negligible and irrelevant to the problem. Also to keep the costs finite the cost function has to be taken to be

{

}J/T.

The LQG controller that solves the LQG control problem is specified by the following equations:

\hat{x
}(t) = A(t)\hat(t) + B(t)(t)+L(t) \left((t)-C(t)\hat(t) \right), \quad \hat(0) = \mathbb \left[{\mathbf{x}}(0) \right],

{u

}(t)= -K(t) \hat(t).

The matrix

{

}L(t) is called the Kalman gain of the associated Kalman filter represented by the first equation. At each time

{

}t this filter generates estimates

\hat{x

}(t) of the state

{x

}(t) using the past measurements and inputs. The Kalman gain

{

}L(t) is computed from the matrices

{

}A(t), C(t), the two intensity matrices

V(t),W(t)

associated to the white Gaussian noises

v(t)

and

w(t)

and finally

E\left[{x

}(0)^\mathrm T(0) \right]. These five matrices determine the Kalman gain through the following associated matrix Riccati differential equation:
P

(t)=A(t)P(t)+P(t)AT(t)-P(t)CT(t){

}W^(t)C(t)P(t)+V(t),

P(0)=E\left[{x

}(0)^\mathrm T(0) \right].

Given the solution

P(t),0\leqt\leqT

the Kalman gain equals

{

}L(t) = P(t)C^\mathrm T(t)W^(t).

The matrix

{

}K(t) is called the feedback gain matrix. This matrix is determined by the matrices

{

}A(t), B(t), Q(t), R(t) and

{

}F through the following associated matrix Riccati differential equation:
-S

(t)=AT(t)S(t)+S(t)A(t)-S(t)B(t)R-1(t)BT(t)S(t)+Q(t),

{

}S(T) = F.

Given the solution

{

}S(t), 0 \leq t \leq T the feedback gain equals

{

}K(t) = R^(t)B^\mathrm T(t)S(t).

Observe the similarity of the two matrix Riccati differential equations, the first one running forward in time, the second one running backward in time. This similarity is called duality. The first matrix Riccati differential equation solves the linear–quadratic estimation problem (LQE). The second matrix Riccati differential equation solves the linear–quadratic regulator problem (LQR). These problems are dual and together they solve the linear–quadratic–Gaussian control problem (LQG). So the LQG problem separates into the LQE and LQR problem that can be solved independently. Therefore, the LQG problem is called separable.

When

{

}A(t), B(t), C(t), Q(t), R(t) and the noise intensity matrices

V(t)

,

W(t)

do not depend on

{

}t and when

{

}T tends to infinity the LQG controller becomes a time-invariant dynamic system. In that case the second matrix Riccati differential equation may be replaced by the associated algebraic Riccati equation.

Discrete time

Since the discrete-time LQG control problem is similar to the one in continuous-time, the description below focuses on the mathematical equations.

The discrete-time linear system equations are

{x

}_ = A_i\mathbf_i + B_i \mathbf_i + \mathbf_i,

yi=Cixi+wi.

Here

i

represents the discrete time index and

vi,wi

represent discrete-time Gaussian white noise processes with covariance matrices

Vi,Wi

, respectively, and are independent of each other.

The quadratic cost function to be minimized is

J=E\left[{x

}^\mathrm T_F_+ \sum_^(\mathbf_i^\mathrm T Q_i \mathbf_i + \mathbf_i^\mathrm T R_i \mathbf_i)\right],

F\ge0,Qi\ge0,Ri>0.

The discrete-time LQG controller is

\hat{x

}_=A_i\hat_i+B_i_i+L_ \left(_-C_ \left\ \right), \qquad \hat_0=\mathbb[{\mathbf{x}}_0],

ui=-Ki\hat{x

}_i. \, and

\hat{x

}_i corresponds to the predictive estimate

\hat{x

}_i = \mathbb[\mathbf{x}_i|\mathbf{y}^i, \mathbf{u}^{i-1}] .

The Kalman gain equals

{

}L_i = P_iC ^\mathrm T _i(C_iP_iC ^\mathrm T _i + W_i)^,

where

{

}P_i is determined by the following matrix Riccati difference equation that runs forward in time:

Pi+1=Ai\left(Pi-PiC

T
i

\left(CiPiC

T
i+W

i\right)-1CiPi\right)A

T
i+V

i,    P0=E[\left({x

}_0 - \hat_0\right)\left(_0- \hat_0\right)^\mathrm T].

The feedback gain matrix equals

{

}K_i = (B^\mathrm T_iS_B_i + R_i)^B^\mathrm T_iS_A_i

where

{

}S_i is determined by the following matrix Riccati difference equation that runs backward in time:

Si=

T
A
i

\left(Si+1-Si+1Bi\left(

T
B
iS

i+1Bi+Ri\right)-1

T
B
i

Si+1\right)Ai+Qi,SN=F.

If all the matrices in the problem formulation are time-invariant and if the horizon

{

}N tends to infinity the discrete-time LQG controller becomes time-invariant. In that case the matrix Riccati difference equations may be replaced by their associated discrete-time algebraic Riccati equations. These determine the time-invariant linear–quadratic estimator and the time-invariant linear–quadratic regulator in discrete-time. To keep the costs finite instead of

{

}J one has to consider

{

}J/N in this case.

See also

Further reading

Notes and References

  1. Book: Karl Johan Astrom . Introduction to Stochastic Control Theory . Academic Press . 58 . 1970 . 0-486-44531-3.
  2. Anders Lindquist. On Feedback Control of Linear Stochastic Systems . SIAM Journal on Control . 11 . 2 . 323–343 . 1973. 10.1137/0311025 . .
  3. Tryphon T. Georgiou and Anders Lindquist . The Separation Principle in Stochastic Control, Redux . IEEE Transactions on Automatic Control . 58 . 10 . 2481–2494 . 2013 . 10.1109/TAC.2013.2259207. 1103.3005 . 12623187 .
  4. Van Willigenburg L.G. . De Koning W.L. . Numerical algorithms and issues concerning the discrete-time optimal projection equations . European Journal of Control . 6 . 1 . 93–100 . 2000 . 10.1016/s0947-3580(00)70917-4. Associated software download from Matlab Central.
  5. Van Willigenburg L.G. . De Koning W.L. . Optimal reduced-order compensators for time-varying discrete-time systems with deterministic and white parameters . Automatica . 35 . 129–138 . 1999 . 10.1016/S0005-1098(98)00138-1. Associated software download from Matlab Central.
  6. Zigic D. . Watson L.T. . Collins E.G. . Haddad W.M. . Ying S. . Homotopy methods for solving the optimal projection equations for the H2 reduced order model problem . International Journal of Control . 56 . 1 . 173–191 . 1996 . 10.1080/00207179208934308.
  7. Collins Jr. E.G . Haddad W.M. . Ying S. . A homotopy algorithm for reduced-order dynamic compensation using the Hyland-Bernstein optimal projection equations . Journal of Guidance, Control, and Dynamics . 19 . 407–417 . 1996 . 10.2514/3.21633 . 2.
  8. Hyland D.C . Bernstein D.S. . The optimal projection equations for fixed order dynamic compensation . IEEE Transactions on Automatic Control . AC-29 . 1034–1037 . 1984 . 10.1109/TAC.1984.1103418 . 11. 2027.42/57875 . free .
  9. Bernstein D.S. . Davis L.D. . Hyland D.C. . The optimal projection equations for reduced-order discrete-time modeling estimation and control . Journal of Guidance, Control, and Dynamics. 9 . 3 . 288–293 . 1986 . 10.2514/3.20105. 1986JGCD....9..288B . 2027.42/57880 . free .
  10. Doyle . John C.. 1978 . Guaranteed Margins for LQG Regulators . IEEE Transactions on Automatic Control . en . 23 . 4 . 756–757 . 10.1109/TAC.1978.1101812 . 0018-9286.
  11. Book: Michael . Green . David J. N. . Limebeer . Linear Robust Control . Englewood Cliffs . Prentice Hall . 1995 . 0-13-102278-4 . 27 .
  12. Matsakis . Demetrios . The effects of proportional steering strategies on the behavior of controlled clocks . Metrologia . March 8, 2019 . 56 . 2 . 025007 . 10.1088/1681-7575/ab0614 . 2019Metro..56b5007M . free .
  13. Athans M. . The role and use of the stochastic Linear-Quadratic-Gaussian problem in control system design . IEEE Transactions on Automatic Control . AC-16 . 6 . 529–552 . 1971 . 10.1109/TAC.1971.1099818.