LMIs in Control/pages/Inverse Problem of Optimal Control

From testwiki
Jump to navigation Jump to search

LMIs in Control/pages/Inverse Problem of Optimal Control

In some cases, it is needed to solve the inverse problem of optimal control within an LQR framework. In this inverse problem, a given controller matrix needs to be verified for the system by assuring that it is the optimal solution to some LQR optimization problem that is controllable and detectable. In other words: in this inverse problem, the controller is known and the LQR gain matrices are to be calculated such that the controller is the optimal solution.

The System

The system is a linear time-invariant system, that can be represented in state space as shown below:

x˙=Ax+Bu,z=[Q1/200R1/2][xu]

where xRn,yRl,zRm represent the state vector, the measured output vector, and the output vector of interest, respectively, wRp is the disturbance vector, and A,B,C,Q,R are the system matrices of appropriate dimension. To further define: x is Rn and is the state vector, A is Rn*n and is the state matrix, B is Rn*r and is the input matrix, w is Rr and is the exogenous input, C,Q,R is Rm*n and are the output matrices, and y and z are Rm and are the output and the output of interest, respectively.

The Data

The matrices A,B,C that define the system, and a given controller K for which the inverse problem is to be solved.

The Optimization Problem

In this LMI, the following cost function is to be minimized for a given controller K by finding an optimal input:

0zTzdt

the solution of the problem can be formulated as a state feedback controller given as:

K=R1BTP,ATP+PAPBR1BTP+Q=0

The LMI: Inverse Problem of Optimal Control

the inverse problem of optimal control is the following: Given a matrix K, determine if there exist Q0 and R>0, such that (Q,A) is detectable and u=Kx is the optimal control for the corresponding LQR problem. Equivalently, we seek R>0 and Q0 such that there exist P nonnegative and P1 positive-definite satisfying

(A+BK)TP+P(A+BK)+KTRK+Q=0BTP+RK=0ATP1+P1A<Q

Conclusion:

If the solution exists, then K is the optimal controller for the LQR optimization on the matrices Q and R

Implementation

This implementation requires Yalmip and Sedumi.

https://github.com/rezajamesahmed/LMImatlabcode/blob/master/inverseprob.m

  1. Multi-Criterion LQG]

Return to Main Page:

Template:BookCat