Theoremadvanced
Stability of MPC with terminal ingredients
Also called terminal cost and terminal set theorem.
Nominal MPC is recursively feasible and asymptotically stable if a local controller keeps the terminal set invariant within the constraints and the terminal cost falls by the stage cost under it.
The MPC stability theorem gives conditions on the terminal ingredients of a model predictive control problem, the terminal set and the terminal cost, under which the closed loop is safe and convergent. If the terminal set is invariant under a local controller that meets the constraints, and the terminal cost decreases along that controller by at least the stage cost, then the MPC problem stays feasible and the optimal cost is a Lyapunov function, so the origin is asymptotically stable with the whole feasible set as its region of attraction. The theorem is for the nominal case: the model is exact and there is no disturbance. Keerthi and Gilbert (1988) proved stability with the terminal equality constraint ; Mayne, Rawlings, Rao and Scokaert (2000) stated the general conditions in this form.
Statement
Consider with the constraints , the stage cost , the horizon , the terminal cost and the terminal set . The MPC problem is
Let be its feasible set and the MPC law. Assume:
- Basic. , and are continuous, , , , and ; and are closed, the input part of is bounded, and . So the minimum exists for each .
- Terminal set. There is a local law with and for all . So is a control invariant set inside the constraints.
- Terminal cost. For all ,
So is a local control Lyapunov function on with decrease at least .
- Bounds. There are class functions with for all and for all .
Then, for the nominal closed loop :
- (a) Recursive feasibility. implies .
- (b) Decrease. for all .
- (c) Stability. The origin is asymptotically stable with the region of attraction . If moreover and , it is exponentially stable on .
The upper bound in assumption 4 holds, for example, when on and is bounded; for linear MPC with a quadratic cost, a bounded feasible set and 0 in the interior of , it holds with .
In plain words
At the end of each plan, the state must be in a safe zone where a simple known controller can take over, keep the state in the zone and meet all limits. The end cost must be at least what that simple controller would still pay. Under these two rules, yesterday's plan, cut at the front and extended at the end by the simple controller, is a valid plan for today. Its cost is lower than yesterday's best cost by at least the cost of the step just taken. Today's best plan is at least as good, so the best cost falls at every step by an amount that is positive away from the target. A quantity that always falls and is zero only at the target works like an energy, and the state goes to the target.
Proof
Fix with the optimal inputs and states . Let .
(a) Take the shifted sequence from . Its states are and then . The first steps meet because the old plan did. By assumption 2 the last step meets and ends in . So is feasible and .
(b) The cost of is
The stage costs of steps to are shared; the first stage cost is removed; the old terminal cost is replaced by one more stage cost and a new terminal cost. By assumption 3 the bracket is at most 0. Since is the minimum, .
(c) By assumption 4, on , where the middle inequality holds because all terms of are nonnegative by assumption 1. With (b), . So is a Lyapunov function on the positively invariant set , and the discrete-time Lyapunov theorem gives asymptotic stability with this region of attraction. Directly: summing (b) along the trajectory gives , so ; and gives Lyapunov stability. In the power case, , which gives exponential decay.
Consequences
- Linear MPC is stabilizing (theorem). For , with , take with from the discrete algebraic Riccati equation, the LQR gain, and the maximal positively invariant set of inside the state limits and . Then assumption 3 holds with equality, , and the linear MPC closed loop is exponentially stable on . In the example of that page the optimal cost from falls as .
- Terminal equality constraint. , and meet assumptions 2 and 3 because . This is the setting of Keerthi and Gilbert (1988). The feasible set is then the set of states that can reach 0 in steps, which is often small, and the solver must meet an equality exactly.
- Performance bound. Summing (b) gives : the infinite-horizon cost of the closed loop is at most the predicted cost. Also , the optimal infinite-horizon cost, because is an upper bound on the cost to go under .
- Larger horizons help. Under assumption 2, , and under assumption 3, on . A longer horizon gives a larger region of attraction and a cost closer to .
- Suboptimal MPC. The proof uses only the cost of the shifted sequence. So any feasible sequence whose cost is at most that of the shifted one gives the same decrease; Scokaert, Mayne and Rawlings (1999) built suboptimal MPC on this idea, and it also gives a warm start for the solver.
- Nonlinear MPC. For a nonlinear whose linearization at 0 is stabilizable, a common choice is the LQR of the linearization as , a quadratic with a slightly larger weight, and a small sublevel set of as ; see nonlinear MPC.
Tightness
- Without the terminal cost the conclusion can fail. For with , no constraints, and , the MPC law is , and the closed loop is not Schur. Assumption 3 fails: no makes with .
- A Lyapunov function is not enough as terminal cost. In the same plant, take , so the local loop is , and with . decreases along for every . The MPC with minimizes , which gives and the closed loop . For the origin is not asymptotically stable. Assumption 3 asks , that is , and then the closed loop factor is at most .
- The conditions are sufficient, not necessary. MPC without terminal ingredients is often asymptotically stable when the horizon is long enough, as the example of the model predictive control page shows for . That needs a different argument.
- Nominal only. The theorem assumes an exact model and no disturbance. With a disturbance, the feasible set need not be invariant, and the decrease can fail. Robust versions use robust invariant sets and tightened constraints, as in tube MPC and min-max MPC.
- Optimality is not needed, feasibility is. If the solver returns a plan that is worse than the shifted plan, the decrease (b) can fail. The suboptimal version keeps the decrease by comparing with the shifted plan.
History
Keerthi and Gilbert (1988) proved that moving horizon control of constrained nonlinear discrete-time systems with the terminal equality constraint is stabilizing, and that it approximates the infinite-horizon law. Scokaert, Mayne and Rawlings (1999) showed that feasibility with enough cost decrease is sufficient, without optimality. The survey of Mayne, Rawlings, Rao and Scokaert (2000) stated the conditions on the terminal set, the local controller and the terminal cost in the form of this page, and showed that they cover the earlier results. The book of Rawlings, Mayne and Diehl presents the theorem with the bounds of assumption 4.
References
- D. Q. Mayne, J. B. Rawlings, C. V. Rao and P. O. M. Scokaert, Constrained model predictive control, stability and optimality, Automatica 36(6), 789-814, 2000, the stability conditions on the terminal set, the local controller and the terminal cost, and the decrease of the value function
- S. S. Keerthi and E. G. Gilbert, Optimal infinite-horizon feedback laws for a general class of constrained discrete-time systems, stability and moving-horizon approximations, Journal of Optimization Theory and Applications 57(2), 265-293, 1988, the stability of moving horizon control with the terminal equality constraint for constrained nonlinear discrete-time systems
- P. O. M. Scokaert, D. Q. Mayne and J. B. Rawlings, Suboptimal model predictive control (feasibility implies stability), IEEE Transactions on Automatic Control 44(3), 648-654, 1999, the stability of MPC that applies a feasible, not optimal, sequence with a sufficient decrease of the cost
- James B. Rawlings, David Q. Mayne and Moritz M. Diehl, Model Predictive Control, Theory, Computation, and Design, 2nd edition, Nob Hill Publishing, 2017, Chapter 2, regulation, the basic stability assumptions and the asymptotic stability of the origin for the MPC closed loop
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 3P4RVR Edit this page History Report an error Markdown