




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































The goal of this postface is to point out and comment upon recent MPC papers and issues pertaining to topics covered in the first printing of the monograph by Rawlings and Mayne (2009). We have tried to group the recent MPC literature by the relevant chapter in that reference. This compilation is selective and not intended to be a comprehensive summary of the current MPC research literature, but we welcome hearing about other papers that the reader feels should be included here.^1
Chapter 1. Getting Started with Model Predictive Control
Offset-free control. In Section 1.5.2, Disturbances and Zero Offset, conditions are given that ensure zero offset in chosen control variables in the presence of plant/model mismatch under any choices of stabilizing regulator and stable esti- mator. In particular, choosing the number of integrating disturbances equal to the number of measurements, nd = p, achieves zero offset independently of estimator and regulator tuning. A recent contribution by Maeder, Borrelli, and Morari (2009) tackles the issue of achieving offset free performance when choosing nd < p. As pointed out by Pannocchia and Rawlings (2003), however, choosing nd < p also means that the gain of the estimator depends on the regulator tuning. Therefore, to maintain offset free performance, the estimator tuning must be changed if the regulator tuning is changed. Maeder et al. (2009) give design procedures for choos- ing estimator and regulator parameters simultaneously to achieve zero offset in this situation.
Chapter 2. Model Predictive Control — Regulation
MPC stability results with the KL definition of asymptotic stability. Since Lya- punov’s foundational work, asymptotic stability traditionally has been defined with two fundamental conditions: (i) local stability and (ii) attractivity. Control and sys- tems texts using this classical definition include Khalil (2002, p. 112) and Vidyasagar (1993, p. 141). The classical definition was used mainly in stating and proving the stability theorems appearing in the Appendix B corresponding to the first printing of the text. Recently, however, a stronger definition of asymptotic stability, which we refer to here as the “KL” definition, has started to become popular. These two definitions are compared and contrasted in a later section of this postface (see Ap- pendix B – Stability Theory). We used the KL definition of asymptotic stability to
(^1) [email protected], [email protected]
define state estimator stability in Chapter 4 (see Definition 4.6, for example). We outline here how to extend the main MPC stability results of Chapter 2 to apply under this stronger definition of asymptotic stability.^2 In many MPC applications using nonlinear models, it is straightforward to obtain an upper bound on the MPC value function on a small set Xf containing the origin in its interior. For example, this bound can be established when the linearization of the system is stabilizable at the origin. But it may be difficult to extend this upper bound to cover the entire stabilizable set XN. But we require this upper bound to apply standard Lyapunov stability theory to the MPC controller. Therefore, we next wish to extend the upper bounding K∞ function α 2 (·) from the local set Xf to all of XN , including the case when XN is unbounded. Given the local upper bounding K∞ function on Xf , the necessary and sufficient condition for function V (·) to have an upper bounding K∞ function on all of XN is that V (·) is locally bounded on XN , i.e., V (·) is bounded on every compact subset of XN. See Appendix B of this note for a statement and proof of this result. So we first establish that V (^) N^0 (·) is locally bounded on XN.
Proposition 1 (MPC value function is locally bounded). Suppose Assumptions 2. and 2.3 hold. Then V (^) N^0 (·) is locally bounded on XN_._
Proof. Let X be an arbitrary compact subset of XN. The function VN : Rn^ × RNm^ → R≥ 0 is defined and continuous and therefore has an upper bound on the compact set X × UN^. Since UN (x) ⊂ UN^ for all x ∈ XN , V (^) N^0 : XN → R≥ 0 has the same upper bound on X. Since X is arbitrary, we have established that V (^) N^0 (·) is locally bounded on XN.
We next extend Proposition 2.18 by removing the assumption that XN is com- pact.
Proposition 2 (Extension of upper bound to XN ). Suppose that Assumptions 2.2, 2.3, 2.12, and 2.13 hold and that Xf contains the origin in its interior. If there exists a K∞ function α(·) such that V (^) N^0 (x) ≤ α(|x|) for all x ∈ Xf , then there exists another K∞ function β(·) such that V (^) N^0 (x) ≤ β(|x|) for all x ∈ XN_._
Proof. From the definition of XN and Assumptions 2.12 and 2.13, we have that Xf ⊆ XN. From Proposition 2.11, we have that the set XN is closed, and this proposition therefore follows directly from Proposition 11 in Appendix B of this note.
Remark 3. The extension of Proposition 2.18 to unbounded XN also removes the need to assume XN is bounded in Proposition 2.19.
Finally, we can establish Theorem 2.22 under the stronger “KL” definition of asymptotic stability.
Theorem 4 (Asymptotic stability with unbounded region of attraction). Suppose XN ⊂ Rn^ and Xf ⊂ XN are positive invariant for the system x+^ = f (x) , that Xf ⊂ XN is closed and contains the origin in its interior, and that there exist a function V : Rn^ → R≥ 0 and two K∞ functions α 1 (·) and α 2 (·) such that
V (x) ≥ α 1 (|x|) ∀x ∈ XN (1) V (x) ≤ α 2 (|x|) ∀x ∈ Xf (2) V (f (x)) − V (x) ≤ −α 1 (|x|) ∀x ∈ XN (3) (^2) The authors would like to thank Andy Teel of UCSB for helpful discussion of these issues.
Unreachable setpoints, strong duality, and dissipativity. Unreachable setpoints are discussed in Section 2.9.3. It is known that the optimal MPC value function in this case is not decreasing and is therefore not a Lyapunov function for the closed- loop system. A recent paper by Diehl, Amrit, and Rawlings (2011) has shown that a modified MPC cost function, termed rotated cost, is a Lyapunov function for the unreachable setpoint case and other more general cost functions required for op- timizing process economics. A strong duality condition is shown to be a sufficient condition for asymptotic stability of economic MPC with nonlinear models. This result is further generalized in the recent paper Angeli, Amrit, and Rawl- ings (2012). Here a dissipation inequality is shown to be sufficient for asymptotic stability of economic MPC with nonlinear models. This paper also shows that MPC is better than optimal periodic control for systems that are not optimally operated at steady state.
Unbounded input constraint sets. Assumption 2.3 includes the restriction that the input constraint set U is compact (bounded and closed). This basic assumption is used to ensure existence of the solution to the optimal control problem through- out Chapter 2. If one is interested in an MPC theory that handles an unbounded input constraint set U, then one can proceed as follows. First modify Assumption 2.3 by removing the boundedness assumption on U.
Assumption 5 (Properties of constraint sets – unbounded case). The sets X, Xf , and U are closed, Xf ⊆ X; each set contains the origin.
Then, to ensure existence of the solution to the optimal control problem, con- sider the cost assumption on page 154 in the section on nonpositive definite stage costs, slightly restated here.
Assumption 6 (Stage cost lower bound). Consider the following two lower bounds for the stage cost.
(a)
`(y, u) ≥ α 1 (
(y, u)
) for all y ∈ Rp^ , u ∈ Rm Vf (x) ≤ α 2 (|x|) for all x ∈ Xf
in which α 1 (·) is a K∞ function.
(b)
`(y, u) ≥ c 1
(y, u)
∣∣a for all y ∈ Rp^ , u ∈ Rm Vf (x) ≤ c 2 |x|a^ for all x ∈ Xf
in which c 1 , c 2 , a > 0.
Finally, assume that the system is input/output-to-state stable (IOSS). This prop- erty is given in Definition 2.40 (or Definition B.42). We can then state an MPC sta- bility theorem that applies to the case of unbounded constraint sets.
Theorem 7 (MPC stability – unbounded constraint sets).
(a) Suppose that Assumptions 2.2, 5, 2.12, 2.13, and 6(a) hold and that the system x+^ = f (x, u), y = h(x) is IOSS. Then the origin is asymptotically stable (under Definition 9) with a region of attraction XN for the system x+^ = f (x, κN (x)).
(b) Suppose that Assumptions 2.2, 5, 2.12, 2.13, and 6(b) hold and that the system x+^ = f (x, u), y = h(x) is IOSS. Then the origin is exponentially stable with a region of attraction XN for the system x+^ = f (x, κN (x)).
In particular, setting up the MPC theory with these assumptions subsumes the LQR problem as a special case.
Example 1: The case of the linear quadratic regulator
Consider the linear, time invariant model x+^ = Ax + Bu, y = Cx with quadratic penalties `(y, u) = ( 1 / 2 )(y′Qy + u′Ru) for both the finite and infinite horizon cases. What do the assumptions of Theorem 7(b) imply in this case? Compare these assumptions to the standard LQR assumptions listed in Exercise 1.20 (b). Assumption 2.2 is satisfied for f (x, u) = Ax + Bu for all A ∈ Rn×n, B ∈ Rn×m; we have X = Rn, and U = Rm. Assumption 6(b) implies that Q > 0 and R > 0. The system being IOSS implies that (A, C) is detectable (see Exercise 4.5). We can choose Xf to be the stabilizable subspace of (A, B) and Assumption 2.13 is satisfied. The set XN contains the system controllability information. The set XN is the stabilizable subspace of (A, B), and we can satisfy Assumption 6(a) by choosing Vf (x) = ( 1 / 2 )x′Πx in which Π is the solution to the steady-state Riccati equation for the stabilizable modes of (A, B). In particular, if (A, B) is stabilizable, then Xf = Rn, XN = Rn^ for all N ∈ I0:∞, and Vf can be chosen to be Vf (x) = ( 1 / 2 )x′Πx in which Π is the solution to the steady-state Riccati equation (1.19). The horizon N can be finite or infinite with this choice of Vf (·) and the control law is invariant with respect to the horizon length, κN (x) = Kx in which K is the steady-state linear quadratic regulator gain given in (1.19). Theorem 7(b) then gives that the origin of the closed-loop system x+^ = f (x, κN (x)) = (A + BK)x is globally, exponentially stable. The standard assumptions for the LQR with stage cost l(y, u) = ( 1 / 2 )(y′Qy + u′Ru) are
Q > 0 R > 0 (A, C) detectable (A, B) stabilizable
and we see that this case is subsumed by Theorem 7(b).
Chapter 6. Distributed Model Predictive Control
The recent paper (Stewart, Venkat, Rawlings, Wright, and Pannocchia, 2010) pro- vides a compact treatment of many of the issues and results discussed in Chapter
Suboptimal MPC and inherent robustness. The recent paper (Pannocchia, Rawl- ings, and Wright, 2011) takes the suboptimal MPC formulation in Section 6.1.2, also discussed in Section 2.8, and establishes its inherent robustness to bounded process and measurement disturbances. See also the paper by Lazar and Heemels (2009), which first addressed inherent robustness of suboptimal MPC to process disturbances by (i) specifying a degree of suboptimality and (ii) using the time- varying state constraint tightening approach of Lim´on Marruedo, ´Alamo, and Ca- macho (2002) to achieve recursive feasibility under disturbances. The key assumption in (Pannocchia et al., 2011) is the following.
Notice that this inequality appears as (B.1) in Appendix B.
Teel and Zaccarian (2006) provide further discussion of these definitional issues. It is also interesting to note that although the KL definitions may have become popular only recently, Hahn (1967, p. 8) used K and L comparison functions as early as 1967 to define asymptotic stability.^4 For continuous f (·), we show in Proposition B.8 that these two definitions are equivalent. But we should bear in mind that for nonlinear models, the function f (·) defining the closed-loop system evolution under MPC, x+^ = f (x, κN (x)), may be discontinuous because the control law κN (·) may be discontinuous (see Example 2.8 in Chapter 2 for an example). Also, when using suboptimal MPC, the control law is a point to set map and is not a continuous function (Rawlings and Mayne, 2009, pp. 156, 417). For discontinuous f (·), the two definitions are not equivalent. Consider the following example to make this clear.
Example 2: Difference between asymptotic stability definitions (Teel)
Consider the discontinuous nonlinear scalar example x+^ = f (x) with
f (x) =
x |x| ∈ [ 0 , 1 ] 2 x 2 − |x| |x| ∈ ( 1 , 2 ) 0 |x| ∈ [ 2 , ∞)
The origin is attractive for all x( 0 ) ∈ R, which can be demonstrated as follows. For |x( 0 )| ∈ [ 0 , 1 ], |x(k)| ≤ ( 1 / 2 )k^ |x( 0 )|. For |x( 0 )| ∈ ( 1 , 2 ), |x( 1 )| ≥ 2 which implies that |x( 2 )| = 0; and for |x( 0 )| ∈ [ 2 , ∞), |x( 1 )| = 0. The origin is Lyapunov stable, because if δ ≤ 1, then |x( 0 )| ≤ δ implies |x(k)| ≤ δ for all k. Therefore, the origin is asymptotically stable according to the classical definition. But there is no KL function β(·) such that the system meets the bound for all x( 0 ) ∈ R |x(k)| ≤ β(|x( 0 )| , k) ∀k ∈ I≥ 0
Indeed, for initial conditions |x( 0 )| slightly less than 2, the trajectory x(k) becomes arbitrarily large (at k = 1) before converging to the origin. Therefore, the origin is not asymptotically stable according to the KL definition.
Remark 10. Note that because of Proposition B.8, the function f (·) must be chosen to be discontinuous in this example to demonstrate this difference.
Proposition 11 (Extending local upper bounding function). Suppose the function V (·) is defined on X , a closed subset of Rn , and that V (x) ≤ α(|x|A) for all x ∈ Xf where Xf ⊆ X and contains the set A in its interior. A necessary and sufficient condition for the existence of a K∞ function β(·) satisfying V (x) ≤ β(|x|A) for all x ∈ X is that V (·) is locally bounded on X , i.e., V (·) is bounded on every compact subset of X_._
Proof.
(^4) The authors would like to thank Mircea Lazar of Eindhoven University for helpful discussion of this history.
Sufficiency. We assume that V (·) is locally bounded and construct the function β(·). Because A lies in the interior of Xf , there exists an a > 0 such that |x|A ≤ a implies x ∈ Xf. For each i ∈ I≥ 1 , let Si = {x | |x|A ≤ ia}. We define a sequence of numbers {αi} as follows
αi := sup Si∩X
V (x) + α(a) + i
Since Si is compact for each i and X is closed, their intersection is a compact subset of X and the values αi exist for all i ∈ I≥ 1 because V (·) is bounded on every compact subset of X. The sequence {αi} is strictly increasing. For each i ∈ I≥ 1 , let the interpolating function φi(·) be defined by
φi(s) := (s − ia)/a s ∈ [ia, (i + 1 )a]
Note that φi(ia) = 0, φi((i + 1 )a) = 1, and that φ(·) is affine in [ia, (i + 1 )a]. We can now define the function β(·) as follows
β(s) :=
(α 2 /α(a))α(s) s ∈ [ 0 , a] αi+ 1 + φi(s)(αi+ 2 − αi+ 1 ) s ∈ [ia, (i + 1 )a] for all i ∈ I≥ 1
It can be seen that β( 0 ) = 0, β(s) ≥ α(s) for s ∈ [ 0 , a], that β(·) is continuous, strictly increasing, and unbounded, and that V (x) ≤ β(|x|A) for all x ∈ X. Hence we have established the existence of a K∞ function β(·) such that V (x) ≤ β(|x|A) for all x ∈ X.
Necessity. If we assume that V (·) is not locally bounded, i.e., not bounded on some compact set C ⊆ X, it follows immediately that there is no (continuous and, hence, locally bounded) K∞ function β(·) such that such that V (x) ≤ β(x) for all x ∈ C.
Note, however, that most of the Lyapunov function theorems appearing in Ap- pendix B also hold under the stronger KL definition of GAS. As an example, we provide a modified proof required for establishing Theorem B.11.
Theorem 12 (Lyapunov function and GAS). Suppose V (·) is a Lyapunov function for x+^ = f (x) and set A with α 3 (·) a K∞ function. Then A is globally asymptotically stable under Definition 9.
Proof. From (B.4) of Definition B.10, we have that
V (φ(i + 1; x)) ≤ V (φ(i; x)) − α 3 (
φ(i; x)
A)^ ∀x^ ∈^ R
n (^) i ∈ I ≥ 0
Using (B.3) we have that
α 3 (|x|A) ≥ α 3 ◦ α− 2 1 (V (x)) ∀x ∈ Rn
Combining these we have that
V (φ(i + 1; x)) ≤ σ 1 (V (φ(i; x))) ∀x ∈ Rn^ i ∈ I≥ 0
in which σ 1 (·) := (·) − α 3 ◦ α− 2 1 (·)
Definition 13 (Asymptotic stability (constrained – KL version)). Suppose X ⊂ Rn is positive invariant for x+^ = f (x), that A is closed and positive invariant for x+^ = f (x), and that A lies in the interior of X. The set A is asymptotically stable with a region of attraction X for x+^ = f (x) if there exists a KL function β(·) such that, for each x ∈ X ∣∣ φ(i; x)
A ≤^ β(|x|A^ , i)^ ∀i^ ∈^ I≥^0 (7)
Notice that we simply replace Rn^ with the set X in Definition 9 to obtain Defini- tion 13. We then have the following result, analogous to Theorem B.13, connecting a Lyapunov function to the KL version of asymptotic stability for the constrained case.
Theorem 14 (Lyapunov function for asymptotic stability (constrained case – KL version)). Suppose X ⊂ Rn^ is positive invariant for x+^ = f (x) , that A is closed and positive invariant for x+^ = f (x) , and that A lies in the interior of X_. If there exists a Lyapunov function in_ X for the system x+^ = f (x) and set A with α 3 (·) a K∞ function, then A is asymptotically stable for x+^ = f (x) with a region of attraction X under Definition 13.
The proof of this result is similar to that of Theorem 12 with Rn^ replaced by X.
References
D. Angeli, R. Amrit, and J. B. Rawlings. On average performance and stability of economic model predictive control. IEEE Trans. Auto. Cont. , 57(7):1615–1626,
R. G. Bartle and D. R. Sherbert. Introduction to Real Analysis. John Wiley & Sons, Inc., New York, third edition, 2000.
M. Diehl, R. Amrit, and J. B. Rawlings. A Lyapunov function for economic optimizing model predictive control. IEEE Trans. Auto. Cont. , 56(3):703–707, 2011.
W. Hahn. Stability of Motion. Springer-Verlag, Berlin, 1967. Translated by Arne P. Baartz.
H. K. Khalil. Nonlinear Systems. Prentice-Hall, Upper Saddle River, NJ, third edition,
M. Lazar and W. P. M. H. Heemels. Predictive control of hybrid systems: Input- to-state stability results for sub-optimal solutions. Automatica , 45(1):180–185,
D. Lim´on Marruedo, T. ´Alamo, and E. F. Camacho. Input-to-state stable MPC for constrained discrete-time nonlinear systems with bounded additive disturbances. In Proceedings of the 41st IEEE Conference on Decision and Control , pages 4619– 4624, Las Vegas, Nevada, December 2002.
U. Maeder, F. Borrelli, and M. Morari. Linear offset-free model predictive control. Automatica , 45:2214–2222, 2009.
G. Pannocchia and J. B. Rawlings. Disturbance models for offset-free MPC control. AIChE J. , 49(2):426–437, 2003.
G. Pannocchia, J. B. Rawlings, and S. J. Wright. Conditions under which suboptimal nonlinear MPC is inherently robust. Sys. Cont. Let. , 60:747–755, 2011.
J. B. Rawlings and D. Q. Mayne. Model Predictive Control: Theory and Design. Nob Hill Publishing, Madison, WI, 2009. 576 pages, ISBN 978-0-9759377-0-9.
B. T. Stewart, A. N. Venkat, J. B. Rawlings, S. J. Wright, and G. Pannocchia. Coopera- tive distributed model predictive control. Sys. Cont. Let. , 59:460–469, 2010.
B. T. Stewart, S. J. Wright, and J. B. Rawlings. Cooperative distributed model predic- tive control for nonlinear systems. J. Proc. Cont. , 21:698–704, 2011.
A. R. Teel and L. Zaccarian. On “uniformity” in definitions of global asymptotic stability for time-varying nonlinear systems. Automatica , 42:2219–2222, 2006.
M. Vidyasagar. Nonlinear Systems Analysis. Prentice-Hall, Inc., Englewood Cliffs, New Jersey, second edition, 1993.
Model Predictive Control:
James B. Rawlings
Department of Chemical and Biological Engineering
University of Wisconsin
Madison, Wisconsin, USA
David Q. Mayne
Department of Electrical and Electronic Engineering
Imperial College London
London, England
Hill Publishing
Madison, Wisconsin
v
To Cheryl and Josephine,
for their love, encouragement, and patience.
Our goal in this text is to provide a comprehensive and foundational treatment of the theory and design of model predictive control (MPC). By now several excellent monographs emphasizing various aspects of MPC have appeared (a list appears at the beginning of Chapter 1), and the reader may naturally wonder what is offered here that is new and different. By providing a comprehensive treatment of the MPC foun- dation, we hope that this text enables researchers to learn and teach the fundamentals of MPC without continuously searching the diverse control research literature for omitted arguments and requisite back- ground material. When teaching the subject, it is essential to have a collection of exercises that enables the students to assess their level of comprehension and mastery of the topics. To support the teaching and learning of MPC, we have included more than 200 end-of-chapter exer- cises. A complete solution manual (more than 300 pages) is available for course instructors. Chapter 1 is introductory. It is intended for graduate students in en- gineering who have not yet had a systems course. But it serves a second purpose for those who have already taken the first graduate systems course. It derives all the results of the linear quadratic regulator and optimal Kalman filter using only those arguments that extend to the nonlinear and constrained cases to be covered in the later chapters. Instructors may find that this tailored treatment of the introductory systems material serves both as a review and a preview of arguments to come in the later chapters.
Chapters 2–4 are foundational and should probably be covered in any graduate level MPC course. Chapter 2 covers regulation to the ori- gin for nonlinear and constrained systems. This material presents in a unified fashion many of the major research advances in MPC that took place during the last 20 years. It also includes more recent topics such as regulation to an unreachable setpoint that are only now appearing in the research literature. Chapter 3 addresses MPC design for robustness, with a focus on MPC using tubes or bundles of trajectories in place of the single nominal trajectory. This chapter again unifies a large body of research literature concerned with robust MPC. Chapter 4 covers state estimation with an emphasis on moving horizon estimation, but also
ix