Automatic selection of stabilizing matrices¶
The auto keyword¶
The auto
keyword indicates that the terminal state weighting matrix
is to be selected automatically, such that the terminal cost is a control
Lyapunov function for the model predictive control setup. We consider the
following special cases:
- the open-loop system is stable and there are only constraints on the inputs. The solution of a matrix Lyapunov equation is returned. In this case the regulation point of the closed-loop system is globally exponentially stable.
- the pair (Ad, Bd) is stabilizable and there are constraints on the inputs and states. The solution of a discrete algebraic Riccati equation is returned. The regulation point is asymptotically (exponentially) stable with region of attraction ().
The following conditions are expected on the MPC setup:
- is symmetric positive definite.
- is symmetric positive definite.
- The pair is stabilizable.
- If is positive semi-definite, the pair must be detectable. This is not checked at the moment.
The following conditions are checked:
- Does the problem have only input constraints?
- Does have all its eigenvalues strictly inside the unit circle?
If conditions 1. and 2. are both true, a discrete Lyapunov equation is solved. If any of the conditions 1. and 2. is false, then a discrete algebraic Ricatti equation is solved.
In this context, is defined as the set of states for which the MPC problem is feasible. The set is any sublevel set of the MPC optimal value [RM09].