Brief paperDistributed model predictive control—Recursive feasibility under inexact dual optimization☆
Abstract
We propose a novel model predictive control (MPC) formulation, that ensures recursive feasibility, stability and performance under inexact dual optimization. Dual optimization algorithms offer a scalable solution and can thus be applied to large distributed systems. Due to constraints on communication or limited computational power, most real-time applications of MPC have to deal with inexact minimization. We propose a modified optimization problem inspired by robust MPC which offers theoretical guarantees despite inexact dual minimization. The approach is not tied to any particular optimization algorithm, but assumes that the feasible optimization problem can be solved with a bounded suboptimality and constraint violation. In combination with a distributed dual gradient method, we obtain a priori upper bounds on the number of required online iterations. The design and practicality of this method are demonstrated with a benchmark numerical example.
Keywords
Predictive control
Control of constrained systems
Large scale systems
Distributed dual optimization
1. Introduction
Model predictive control (MPC) is a well-established control method, that can be used to control complex dynamical systems and guarantee constraint satisfaction (Rawlings & Mayne, 2009). One of the main limitations to control a system with MPC comes from computational issues, since in each time step an optimization problem has to be solved. In order to apply MPC to large-scale systems, we have to consider distributed approaches, which fall in the domain of distributed MPC (DMPC) (Maestre et al., 2014, Müller and Allgöwer, 2017). If we want to facilitate DMPC applications to fast (physically) interconnected networks, we typically need scalable distributed optimization algorithms with bounds on the number of required iterations.
Dual optimization algorithms such as the alternating direction method of multipliers (ADMM), dual gradient methods and proximal decomposition have been studied to solve DMPC optimization problems online (Kögel and Findeisen, 2012, Necoara and Nedelcu, 2015, Necoara and Suykens, 2008). While these algorithms enable a fully distributed implementation and asymptotically converge to the optimal central solution, real-time requirements lead to early termination and an inexact solution. Contrary to primal decomposition methods (Stewart, Venkat, Rawlings, Wright, & Pannocchia, 2010), these inexact solutions based on dual optimization do not necessarily satisfy the posed constraints (dynamic, state and input constraints) in the MPC optimization problem. This necessitates additional modifications to ensure recursive feasibility and stability of the resulting MPC scheme.
Related work
In Giselsson and Rantzer (2014) DMPC without terminal constraints is investigated and a sufficient stopping condition for the distributed iteration based on a candidate solution is presented. For this approach no prior bound on the number of required iterations can be given.
In Kögel and Findeisen (2014) a primal optimization algorithm with constraint violations in the dynamic equality constraints is investigated. Recursive feasibility is ensured with an appropriate state and input constraint tightening.
In Necoara, Ferranti, and Keviczky (2015) and Rubagotti, Patrinos, and Bemporad (2014) constraint violations in the inequality constraints due to inexact dual optimization are addressed with an appropriate (constant or adaptive) constraint tightening. Constraint violations in the posed dynamic equality constraints are avoided by using a condensed formulation (Necoara et al., 2015) or projecting the intermediate solution to the set of dynamically feasible trajectories (Rubagotti et al., 2014). Both approaches are, however, unsuited for distributed large-scale systems.
In Ferranti and Keviczky (2015) constraint violations in inequality constraints and dynamic equality constraints are considered by using an appropriate constraint tightening. Recursive feasibility is ensured by choosing the tolerance and thus the constraint tightening adaptively. As a consequence, the number of iterations can vary and global communication is required to enable this adaptation. In Doan, Keviczky, and Schutter (2011) a similar constraint tightening is used for a distributed hierarchical MPC scheme.
Contribution
We propose a new framework to ensure recursive feasibility of inexact DMPC resulting from finite dual iterations. This consists of a constant constraint tightening and a stabilizing controller, motivated by robust MPC (Chisci, Rossiter, & Zappa, 2001). To avoid an overly conservative constraint tightening, we propose a modified optimization problem and employ a different candidate solution, that explicitly takes the inexactness into account. This presents a general procedure which is applicable to different MPC setups. By combining this framework with a dual distributed gradient algorithm, we obtain an a priori upper bound for the number of dual iterations to ensure recursive feasibility. Compared to Ferranti and Keviczky (2015), Giselsson and Rantzer (2014) and Necoara et al. (2015), no adaptive constraint tightening is required. Furthermore, compared to Doan et al. (2011), Ferranti and Keviczky (2015), Kögel and Findeisen (2014) and Rubagotti et al. (2014), no centralized operations are necessary, thus allowing a fully distributed implementation for large-scale systems.
Outline
The remainder of this paper is structured as follows: Section 2 presents the nominal distributed MPC formulation and explains the problem inherent in inexact dual optimization. Section 3 presents the modified formulation, derives closed-loop properties under inexact minimization and presents a corresponding distributed dual iteration scheme. Section 4 illustrates the practicality and simplicity of the proposed framework with a numerical example. Section 5 concludes the paper.
In the extended version (Köhler, Müller, & Allgöwer, 2018a), these results are generalized to MPC without terminal ingredients, unreachable setpoints, multi-step MPC and the distributed offline computation of the terminal ingredients is detailed.
2. Distributed model predictive control
Notation
The real numbers are , the positive real numbers are and the natural numbers are . Given vectors , we abbreviate the column vector . The quadratic norm with respect to a positive definite matrix is denoted by and the minimal and the maximal eigenvalue of are denoted by and , respectively. For a polytopic constraint , we define an -feasible solution as any vector that satisfies , with and the vector of ones . We call a vector -strictly feasible if it satisfies . The Minkowski sum of two sets is denoted by A distributed system is represented as a graph with nodes and edges . Each node corresponds to a subsystem with local state and local input . The neighborhood of a subsystem is given by , with , .
2.1. Problem setup
The distributed linear discrete-time system is given by (1)with polytopic state and input constraints of the form (2)(3) where and . We consider the general case, where the control input is given by (4)where is some existing distributed controller and is the input calculated using distributed MPC. If no such feedback is known, we can always set . However, including this feedback can reduce the conservatism and mitigate the deteriorating effects of suboptimality on closed-loop stability. The overall system is given by (5)with the polytopic constraints where and . We consider a structured quadratic stage cost , with block diagonal positive definite matrices and . We consider an MPC framework including a terminal cost and terminal set. To this end, we make the following assumption.
Assumption 1
There exists a terminal cost with a block diagonal matrix , a distributed terminal controller , and a distributed compact polytopic set , such that the following conditions hold for each
(6a)(6b)(6c)
Remark 2
In Conte, Jones, Morari, and Zeilinger (2016) distributed linear matrix inequalities (LMIs) are presented that can be used to compute a distributed terminal cost and an ellipsoidal terminal set . Ellipsoidal terminal constraints lead to a (distributed) quadratically constrained quadratic program (QCQP), which makes the online optimization more complex. Methods to obtain a distributed polytopic terminal set are for example given in Kögel and Findeisen (2012) and Trodden (2016). The offline computation of the distributed terminal ingredients is discussed in more detail in the extended version (Köhler et al., 2018a A.1). The proposed framework can also be used without such terminal ingredients, which is discussed in Köhler et al. (2018a, A.2, A.3).
The open-loop cost of a state sequence and an input sequence with the prediction horizon is defined as
The standard MPC optimization problem is given by (7) The solution to this optimization problem is the value function and optimal state and input trajectories that satisfy the dynamic equality constraint and the state and input constraints. Problem (7) is a distributed quadratic program, the solution of which is discussed in Sections 2.2, 3.5.
For the closed-loop operation the first step of the optimal input is applied to the system (5), resulting in the following closed-loop system dynamics: (8)The following theorem is a standard result in MPC and establishes the desired properties.
Theorem 3
Rawlings & Mayne, 2009
Let Assumption 1 hold and assume that Problem (7) is feasible at. Then Problem (7) is recursively feasible and the origin is asymptotically stable for the resulting closed-loop system (8).
2.2. Distributed (dual) optimization
In the following, we motivate why we consider inexact dual optimization and explain why it necessitates modifications to Problem (7). Most theoretical results for MPC (such as Theorem 3) assume that the optimal solution to (7) is obtained in real time, which is rarely achievable in practice.
If primal optimization methods are used, Theorem 3 remains valid with inexact optimization assuming a suitable initialization (Scokaert et al., 1999, Stewart et al., 2010). However, an application of primal optimization methods to large-scale distributed systems suffers from various difficulties, including initialization and scalability.
Thus, we consider dual optimization algorithms (Kögel and Findeisen, 2012, Necoara and Nedelcu, 2015, Necoara and Suykens, 2008), which only require neighbor-to-neighbor communication and can be implemented in a fully distributed manner. The main drawback of dual optimization is that the constraints (dynamic, state and input) are not necessarily satisfied after finite iterations. This necessitates additional modifications to enable theoretical guarantees after finite iterations, compare (Ferranti and Keviczky, 2015, Rubagotti et al., 2014). In the following, we provide a novel MPC formulation which is suitable for distributed computation and explicitly takes the inexact dynamics of approximate solutions into account.
3. Inexact distributed MPC
In the following, we consider bounds on the accuracy , interpret them as disturbances and use tools from robust MPC (Chisci et al., 2001) to compensate the effects of inexact minimization. The proposed modifications are inspired by Ferranti and Keviczky (2015) and directly take the inexactness of the solver into account. By making use of an inexact candidate solution, we obtain a formulation that requires no adaptation and thus no global communication.
3.1. Inexact MPC and constraint tightening
Define an accuracy for the dynamic, state, input and terminal constraints and strict feasibility , given by the user. Consider relaxation parameters (9)and the sets . We tighten the constraints using the -step support function (Conte, Zeilinger, Morari, & Jones, 2013), which for some and is defined as (10) The tightened state and input constraints are given by with (11)(12) Here, denotes the th component of , the th component of and the th row of , . The evaluation of the -step support function amounts to solving a distributed linear program (LP) offline. The resulting tightened constraints preserve the distributed structure and can equally be represented with the local polytopic sets .
Assumption 4
Consider the terminal cost and controller from Assumption 1. There exists a compact tightened terminal set , such that the following conditions hold (13a)(13b)(13c)(13d)
The sets are needed to study strict recursive feasibility () under inexact minimization (). A sufficient condition for (13b) is . In case , is a sufficient condition for (13c). Condition (13d) requires contractivity of the terminal set, despite the additive disturbance .
If the terminal set in Assumption 1 is contractive, Assumption 4 can be satisfied with the following design procedure: for a fixed accuracy and prediction horizon , compute the tightened constraints (11). Then scale the terminal set such that conditions (13a)–(13c) are satisfied. Finally, verify that condition (13d) is satisfied. If this is not the case, decrease and start over. In Köhler et al. (2018a), we show that the proposed framework can also be used without constructing a terminal set.
With this, we define the modified optimization problem (14a)(14b)(14c)(14d)(14e)
Compared to the original optimization Problem (7), the state and input constraints are tightened and the dynamic equality constraints are relaxed to inequality constraints. We do not try to find a solution that exactly satisfies the dynamic constraints, but only consider a relaxed dynamic constraint with the parameter . This relaxation will allow us to construct a feasible candidate solution which again does not exactly satisfy the dynamic constraints. This is the key insight and novelty in order to prove recursive feasibility and stability under inexact minimization. The resulting Problem (14) is a distributed quadratic program with linear inequality constraints.
To study recursive feasibility of (14) under the inexact DMPC we introduce the notion of -feasible solutions.
Definition 5
3.2. Feasible consolidated trajectory
In order to characterize the feasibility of on an -feasible solution, we consider the consolidated1 trajectory (Ferranti & Keviczky, 2015).
Proposition 6
Let Assumption 1, Assumption 4 hold. Given an-feasible solution (15) at time, the consolidated state and input trajectories
(16) satisfy
Proof
The inexact relaxed dynamic constraint (15) can be equivalently written as a dynamic equality constraint with an additive disturbance (17)The consolidated trajectory (16) satisfies (18)which implies
Terminal constraint satisfaction follows by condition (13a) in combination with the characterization (18) for . □
Proposition 6 shows that the consolidated trajectory based on the inexact optimization has all the desirable properties of the standard optimal solution to Problem (7). The closed-loop system resulting from an inexact DMPC is given by (19) Thus, Proposition 6 implies that the closed loop based on an -feasible solution satisfies the state and input constraints.
Remark 7
In order to show feasibility of the consolidated trajectory, the constraint tightening (11), (12) could be formulated without the term and the support function could be defined based on the smaller set , compare (Ferranti & Keviczky, 2015). The more restrictive constraint tightening will be crucial in order to establish recursive feasibility of Problem (14) for the closed-loop system (19) based on an -feasible solution. The issue of using a more conservative constraint tightening to establish recursive feasibility is also addressed in Kögel and Findeisen (2014) and Rubagotti et al. (2014).
3.3. Recursive feasibility under inexact minimization
The following Theorem is the main contribution of this paper. It establishes recursive feasibility of Problem (14) under the inexact MPC control law with a suitable candidate solution.
Theorem 8
Let Assumption 1, Assumption 4 hold. Given an-feasible solution (15) at time , the candidate sequence (20) is an -strictly feasible solution to the optimization Problem (14) at time. Problem (14) is recursively feasible for the closed-loop system (19).
Proof
The proof is composed of three parts. First, we show strict satisfaction of the relaxed dynamic constraints. Then we show strict satisfaction of the tightened state and input constraints. Finally, we show strict satisfaction of the terminal constraint and thus establish recursive feasibility.
Part I: Show that the candidate sequence in (20) strictly satisfies the relaxed dynamic constraint (14b): The candidate input (20) is constructed by shifting the previous input sequence by one time step and appending the terminal controller . The state sequence is shifted with an additional error term propagated through the system dynamics to ensure satisfaction of the initial state constraint (14e). Substituting (17) in yields for , with . Similarly, the last dynamic constraint () is satisfied with equality, which implies that all relaxed dynamic constraints are strictly satisfied with .
Part II: Show that the candidate sequence (20) strictly satisfies the state and input constraints (14c): Due to the definition of the support function2 and linear superposition we have which implies The candidate sequence satisfies and hence the state constraints are strictly satisfied. For the input constraints the same argument holds with Given , conditions (13b) and (13c) imply strict satisfaction of the state and input constraints at .
This theorem ensures recursive feasibility under inexact dual optimization with bounded constraint violation. The candidate solution with the corresponding tightened (and shifted) constraint set is sketched in Fig. 1. The tightened constraint set is constructed, such that -feasibility of implies -strict feasibility of w.r.t. the shifted constraint set , despite the error .
3.4. Closed-loop stability
To study stability properties of the closed-loop system, we use the following definition regarding the suboptimality of the inexact solution.
Definition 9
Given an -feasible solution (Definition 5), the suboptimality w.r.t. the optimal solution is defined as (21)The inexact optimal solution is given by (22) The suboptimality with respect to this inexact optimal solution is given by (23)Solutions satisfying (15), (21), (23) are called -approximate solutions.
Corresponding bounds on the suboptimality for inexact dual optimization will be established in Proposition 12. The following proposition shows that the proposed inexact DMPC approximately preserves the stability properties of nominal MPC based on exact optimization.
Proposition 10
Let Assumption 1, Assumption 4 hold. Given an-approximate solution (Definition 9) at time , the candidate sequence in Theorem 8 implies (24)Hence the origin is practically asymptotically stable (Grüne & Pannek, 2017 Def. 2.15) for the closed-loop system (19) based on-approximate solutions at each time . Given a sufficiently small , the additional bound (25)holds with according to (26).
Proof
Part I: Consolidated cost : The candidate input sequence from Theorem 8 with the corresponding consolidated state trajectory is a feasible solution to (7) (Proposition 6). Using suboptimality according to Definition 9, this implies Practical asymptotic stability follows from standard Lyapunov arguments.
Part II: Inexact optimal cost : There exist constants , such that implies , and implies . In the following we consider a bound , with some , which is recursively established in the end. This bound in combination with the suboptimality implies . The stage cost and terminal cost of the candidate solution satisfy