Brief paper 简短论文Distributed 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.
我们提出了一种新颖的模型预测控制(MPC)公式,确保在不精确的对偶优化下的递归可行性、稳定性和性能。对偶优化算法提供了一种可扩展的解决方案,因此可以应用于大型分布式系统。由于通信限制或计算能力有限,大多数实时 MPC 应用必须处理不精确的最小化问题。我们提出了一种受鲁棒 MPC 启发的修改优化问题,尽管存在不精确的对偶最小化,但仍提供理论保证。该方法不依赖于任何特定的优化算法,而是假设可行的优化问题可以在有界的次优性和约束违反下得到解决。结合分布式对偶梯度方法,我们获得了所需在线迭代次数的先验上界。通过基准数值示例展示了该方法的设计和实用性。
我们提出了一种新颖的模型预测控制(MPC)公式,确保在不精确的对偶优化下的递归可行性、稳定性和性能。对偶优化算法提供了一种可扩展的解决方案,因此可以应用于大型分布式系统。由于通信限制或计算能力有限,大多数实时 MPC 应用必须处理不精确的最小化问题。我们提出了一种受鲁棒 MPC 启发的修改优化问题,尽管存在不精确的对偶最小化,但仍提供理论保证。该方法不依赖于任何特定的优化算法,而是假设可行的优化问题可以在有界的次优性和约束违反下得到解决。结合分布式对偶梯度方法,我们获得了所需在线迭代次数的先验上界。通过基准数值示例展示了该方法的设计和实用性。
Keywords 关键词
Predictive control
Control of constrained systems
Large scale systems
Distributed dual optimization
预测控制 受限系统的控制 大规模系统 分布式双重优化
1. Introduction 1. 引言
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.
模型预测控制(MPC)是一种成熟的控制方法,可用于控制复杂的动态系统并保证约束满足(Rawlings & Mayne, 2009)。使用 MPC 控制系统的主要限制之一来自计算问题,因为在每个时间步都必须解决一个优化问题。为了将 MPC 应用于大规模系统,我们必须考虑分布式方法,这属于分布式 MPC(DMPC)的范畴(Maestre et al., 2014,Müller 和 Allgöwer,2017)。如果我们希望促进 DMPC 在快速(物理上)互联网络中的应用,通常需要具有可扩展性的分布式优化算法,并对所需迭代次数进行限制。
模型预测控制(MPC)是一种成熟的控制方法,可用于控制复杂的动态系统并保证约束满足(Rawlings & Mayne, 2009)。使用 MPC 控制系统的主要限制之一来自计算问题,因为在每个时间步都必须解决一个优化问题。为了将 MPC 应用于大规模系统,我们必须考虑分布式方法,这属于分布式 MPC(DMPC)的范畴(Maestre et al., 2014,Müller 和 Allgöwer,2017)。如果我们希望促进 DMPC 在快速(物理上)互联网络中的应用,通常需要具有可扩展性的分布式优化算法,并对所需迭代次数进行限制。
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.
双重优化算法,如交替方向乘子法(ADMM)、双重梯度方法和近端分解,已被研究用于在线解决 DMPC 优化问题(Kögel 和 Findeisen,2012 年;Necoara 和 Nedelcu,2015 年;Necoara 和 Suykens,2008 年)。虽然这些算法实现了完全分布式的实施并渐近收敛到最优中心解,但实时要求导致了提前终止和不精确解。与原始分解方法(Stewart、Venkat、Rawlings、Wright 和 Pannocchia,2010 年)相反,这些基于双重优化的不精确解不一定满足 MPC 优化问题中提出的约束(动态、状态和输入约束)。这需要额外的修改以确保所得到的 MPC 方案的递归可行性和稳定性。
双重优化算法,如交替方向乘子法(ADMM)、双重梯度方法和近端分解,已被研究用于在线解决 DMPC 优化问题(Kögel 和 Findeisen,2012 年;Necoara 和 Nedelcu,2015 年;Necoara 和 Suykens,2008 年)。虽然这些算法实现了完全分布式的实施并渐近收敛到最优中心解,但实时要求导致了提前终止和不精确解。与原始分解方法(Stewart、Venkat、Rawlings、Wright 和 Pannocchia,2010 年)相反,这些基于双重优化的不精确解不一定满足 MPC 优化问题中提出的约束(动态、状态和输入约束)。这需要额外的修改以确保所得到的 MPC 方案的递归可行性和稳定性。
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.
在 Giselsson 和 Rantzer(2014)中,研究了没有终端约束的 DMPC,并提出了一种基于候选解的分布式迭代的充分停止条件。对于这种方法,无法给出所需迭代次数的先验界限。
在 Giselsson 和 Rantzer(2014)中,研究了没有终端约束的 DMPC,并提出了一种基于候选解的分布式迭代的充分停止条件。对于这种方法,无法给出所需迭代次数的先验界限。
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.
在 Kögel 和 Findeisen(2014)中,研究了一种在动态等式约束中存在约束违反的原始优化算法。通过适当的状态和输入约束收紧,确保了递归可行性。
在 Kögel 和 Findeisen(2014)中,研究了一种在动态等式约束中存在约束违反的原始优化算法。通过适当的状态和输入约束收紧,确保了递归可行性。
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.
在 Necoara、Ferranti 和 Keviczky(2015)以及 Rubagotti、Patrinos 和 Bemporad(2014)中,由于不精确的对偶优化导致的不等式约束的约束违反通过适当的(常量或自适应)约束收紧来解决。通过使用浓缩形式(Necoara 等,2015)或将中间解投影到动态可行轨迹集(Rubagotti 等,2014),避免了所提出的动态等式约束中的约束违反。然而,这两种方法都不适合分布式大规模系统。
在 Necoara、Ferranti 和 Keviczky(2015)以及 Rubagotti、Patrinos 和 Bemporad(2014)中,由于不精确的对偶优化导致的不等式约束的约束违反通过适当的(常量或自适应)约束收紧来解决。通过使用浓缩形式(Necoara 等,2015)或将中间解投影到动态可行轨迹集(Rubagotti 等,2014),避免了所提出的动态等式约束中的约束违反。然而,这两种方法都不适合分布式大规模系统。
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.
在 Ferranti 和 Keviczky(2015)中,通过使用适当的约束收紧来考虑不等式约束和动态等式约束中的约束违反。通过自适应选择容差,从而确保递归可行性。因此,迭代次数可能会有所不同,并且需要全球通信以实现这种适应。在 Doan、Keviczky 和 Schutter(2011)中,类似的约束收紧被用于分布式层次模型预测控制方案。
在 Ferranti 和 Keviczky(2015)中,通过使用适当的约束收紧来考虑不等式约束和动态等式约束中的约束违反。通过自适应选择容差,从而确保递归可行性。因此,迭代次数可能会有所不同,并且需要全球通信以实现这种适应。在 Doan、Keviczky 和 Schutter(2011)中,类似的约束收紧被用于分布式层次模型预测控制方案。
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.
我们提出了一个新的框架,以确保由于有限的对偶迭代而导致的不精确分布式模型预测控制(DMPC)的递归可行性。该框架包括一个恒定的约束收紧和一个稳定控制器,受到鲁棒模型预测控制(MPC)(Chisci, Rossiter, & Zappa, 2001)的启发。为了避免过于保守的约束收紧,我们提出了一个修改后的优化问题,并采用了一个不同的候选解,明确考虑了不精确性。这提供了一种适用于不同 MPC 设置的一般程序。通过将该框架与对偶分布式梯度算法相结合,我们获得了确保递归可行性的对偶迭代次数的先验上界。与 Ferranti 和 Keviczky(2015)、Giselsson 和 Rantzer(2014)以及 Necoara 等(2015)相比,不需要自适应约束收紧。此外,与 Doan 等(2011)、Ferranti 和 Keviczky(2015)、Kögel 和 Findeisen(2014)以及 Rubagotti 等(2014)相比,不需要集中操作,从而允许对大规模系统进行完全分布式的实现。
我们提出了一个新的框架,以确保由于有限的对偶迭代而导致的不精确分布式模型预测控制(DMPC)的递归可行性。该框架包括一个恒定的约束收紧和一个稳定控制器,受到鲁棒模型预测控制(MPC)(Chisci, Rossiter, & Zappa, 2001)的启发。为了避免过于保守的约束收紧,我们提出了一个修改后的优化问题,并采用了一个不同的候选解,明确考虑了不精确性。这提供了一种适用于不同 MPC 设置的一般程序。通过将该框架与对偶分布式梯度算法相结合,我们获得了确保递归可行性的对偶迭代次数的先验上界。与 Ferranti 和 Keviczky(2015)、Giselsson 和 Rantzer(2014)以及 Necoara 等(2015)相比,不需要自适应约束收紧。此外,与 Doan 等(2011)、Ferranti 和 Keviczky(2015)、Kögel 和 Findeisen(2014)以及 Rubagotti 等(2014)相比,不需要集中操作,从而允许对大规模系统进行完全分布式的实现。
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