원시데이터 수집 시스템
선정목록으로

Differentiable predictive control: Deep learning alternative to explicit model predictive control for unknown nonlinear systems

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Ján Drgoňa — Pacific Northwest National Laboratory, Richland, WA, USA
  2. Karol Kiš — Slovak University of Technology in Bratislava, Bratislava, Slovakia
  3. Aaron Tuor — Pacific Northwest National Laboratory, Richland, WA, USA
  4. Draguna Vrabie — Pacific Northwest National Laboratory, Richland, WA, USA
  5. Martin Klaučo — Slovak University of Technology in Bratislava, Bratislava, Slovakia
DOI
10.1016/j.jprocont.2022.06.001
저널
Journal of Process Control
발행년도
2022
발행기관
Elsevier BV
피인용수
62
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jprocont.2022.06.001
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4283219895

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present differentiable predictive control (DPC) as a deep learning-based alternative to the explicit model predictive control (MPC) for unknown nonlinear systems. In the DPC framework, a neural state-space model is learned from time-series measurements of the system dynamics. The neural control policy is then optimized via stochastic gradient descent approach by differentiating the MPC loss function through the closed-loop system dynamics model. The proposed DPC method learns model-based control policies with state and input constraints, while supporting time-varying references and constraints. In embedded implementation using a Raspberry-Pi platform, we experimentally demonstrate that it is possible to train constrained control policies purely based on the measurements of the unknown nonlinear system. We compare the control performance of the DPC method against explicit MPC and report efficiency gains in online computational demands, memory requirements, policy complexity, and construction time. In particular, we show that our method scales linearly compared to exponential scalability of the explicit MPC solved via multiparametric programming.

본문 45,098자

본문 펼치기
We present differentiable predictive control (DPC) as a deep learning-based alternative to the explicit model predictive control (MPC) for unknown nonlinear systems. In the DPC framework, a neural state-space model is learned from time-series measurements of the system dynamics. The neural control policy is then optimized via stochastic gradient descent approach by differentiating the MPC loss function through the closed-loop system dynamics model. The proposed DPC method learns model-based control policies with state and input constraints, while supporting time-varying references and constraints. In embedded implementation using a Raspberry-Pi platform, we experimentally demonstrate that it is possible to train constrained control policies purely based on the measurements of the unknown nonlinear system. We compare the control performance of the DPC method against explicit MPC and report efficiency gains in online computational demands, memory requirements, policy complexity, and construction time. In particular, we show that our method scales linearly compared to exponential scalability of the explicit MPC solved via multiparametric programming.1. Data-driven explicit solution of constrained optimal control problems for nonlinear systems by means of differentiable parametric optimization.2. Differentiable closed-loop system model based on constrained neural control policies and neural state-space models.3. In contrast with explicit MPC, our method supports dynamical constraints and trajectory preview capabilities.4. Linear scalability in terms of the number of decision variables and length of the Introduction Incorporation of machine learning methods in control applications is becoming one of the leading research avenues in the field of control theory. The design of many novel control methods based on machine learning (ML) approaches is heavily inspired by the benefits of model predictive control (MPC), such as constraints handling and robustness. The substitution of MPC with ML-based controllers was studied by several well-established researchers in the control domain [1,2,3,4,5]. Furthermore, the application of neural networks as substitutes of MPC behavior has been considered in practical applications as well [6,7,8,9]. All aforementioned works fall into the category of so-called approximate MPC based on imitation learning of original MPC. As such, these works have one significant disadvantage, which is the reliance on data sets collected from closed-loop experiments, i.e., the ML-based controllers are trained based on experiments involving fully implemented MPC. Introduction Addressing these challenges, we present a novel control method called differentiable predictive control (DPC) for learning both nonlinear system dynamics and constrained control policies without supervision from the expert controller in a sample efficient way. The only requirement is a dataset of sufficiently excited time-series of the system dynamics. This in contrast with the recent implementation in [1], where a trained ML-based controller runs alongside an online MPC strategy, making the algorithm computationally expensive in many applications running in low computational resource settings. The presented DPC method is based on the neural parametrization of the closed-loop dynamical system with two building blocks: i) neural system model, and ii) a deep learning formulation of model predictive control policy. In particular, we combine system identification based on structured neural state-space model and policy optimization with embedded inequality constraints via backpropagation of the control loss through the closed-loop system dynamics model. The conceptual methodology of DPC is illustrated in Fig. 1. The presented DPC method supports nonlinear systems, with both input and state constraints, arbitrary reference signals and represents a methodological extension of prior work on DPC for linear systems [10]. A method similar in spirit has been recently proposed by [11], where the authors use Log-Sum-Exp neural networks to approximate the MPCrelated cost function given the measurements of the system dynamics. However, in contrast to the proposed DPC method, the implementation of the method in [11] still relies on the online nonlinear optimization, does not handle state constraints, and training on arbitrary reference signals poses computational challenges. Introduction We demonstrate the capabilities of the proposed DPC method on experimental results using a laboratory device called FlexyAir with nonlinear dynamics and noisy measurement signals. We demonstrate several key features of DPC resulting in data-efficiency, scalability, and constraint handling: Introduction prediction horizon compared to exponential scalability of explicit MPC solutions based on multi-parametric programming. 5. Our approach requires less online computation time and memory than explicit MPC solutions. Related Work Explicit model predictive control. Explicit MPC is a powerful method for the systematic design of optimal control policies with a fast online evaluation procedure. In explicit MPC, instead of solving the corresponding optimal control problem online, the solution is pre-computed offline through the parametric optimization [12,13,14,15]. The resulting controller then boils down to obtaining a set of piecewise affine (PWA) functions that can be evaluated on an embedded platform. Unfortunately, the explicit MPC comes with a significant drawback: scalability of the solution and the memory footprint of the resulting PWA control policy [16]. Even for small-scale dynamical systems, the explicit MPC's memory footprint can reach several megabytes. In the last years, researchers developed many methods for decreasing the complexity and memory footprint of the explicit solution [17,18,19,20,21,22,23,24,25]. Nevertheless, all of the aforementioned methods are often costly in terms of processing time and do not scale to large dimensions. Moreover, most of the explicit MPC methods handle only linear system dynamics and constraints. For dealing with nonlinear systems, there are few methods based on approximations of the underlying nonlinear multiparametric programs (mpNLP) [26,27,28]. While authors in [29] incorporated ReLU neural networks as constraints in multiparametric programming problems (mpP). Despite these numerous advances, all of the contemporary explicit MPC methods suffer the curse of dimensionality associated with the solution of the underlying mpP [30]. In this paper, we present an alternative method based on differentiable programming for the approximate solution of the underlying mpP with linear scalability with respect to a number of decision variables. Related Work Approximate MPC. Recently, several works have been devoted to the use of machine learning to approximate the solution of the underlying multiparametric programming problem to obtain the explicit MPC control laws. One set of these works includes supervised learning based on mimicking the MPC behavior and replacing the control law with a neural network [31,32,7]. These approaches are known in the machine learning community as imitation learning [33], or MPC-guided policy search [34]. Several procedures were designed to approximate MPC's behavior with neural networks, which significantly reduces the implementation requirements of the MPC with minimal impact on the control performance [32,7]. Constraint satisfaction using neural network-based approximations of MPC control laws is a new and active research area. To tackle this issue, some authors proposed including additional layers in the policy network projecting the control inputs onto the constrained region of the state and action spaces [35,36]. Authors in [1] use an additional dual policy neural network to estimate the sub-optimality of the learned control law with probabilistic guarantees. Others employ learning bounds for empirically validating constraints handling capabilities after the network is trained [5]. For more comprehensive overview of the approximate MPC, and learning-based MPC (LBMPC) methods we refer the reader to [37]. However, all previous works rely upon several factors, which are prerequisites for their successful implementation. First, the supervisory MPC strategy needs to be designed to generate the training data. In this work, we present an alternative approach that does not require a supervisory controller, to begin with. Instead, the proposed strategy learns the system dynamics model and uses this model as part of the differentiable closed-loop system model for policy optimization via stochastic gradient descent. Related Work Neural Models in MPC. To tackle the modeling problem, some researchers focus on training neural networks as prediction models for MPC [38]. Authors in [39] use low-rank features of the high-dimensional system to train a recurrent neural network (RNN) to predict the control relevant quantities for MPC. Other authors have used structured neural network models inspired by classical linear time-varying state-space models [40], whereas some have proposed using convex neural architectures [41], graph neural networks [42], or stable neural networks based on Lyapunov functions [43]. In this work, we build on these trends and employ neural state space models as generic abstractions for learning nonlinear dynamics models of the controlled system. Related Work Automatic Differentiation in Control. The use of automatic differentiation (AD) for control and optimization is a well-established method. For instance, CasADi toolbox [44] uses known system dynamics and constraints for constructing a computational graph and computes the gradients for nonlinear optimization solvers. From the perspective of machine learning, the authors in [41] investigated the idea of solving the optimal control problem by backpropagation through the learned system model parametrized via convex neural networks [45]. Others developed, domain-specific differentiable physical models for the robotics domain [46,47]. Learning linear Model Predictive Control (MPC) policies by differentiating the KKT conditions of the convex approximation at a fixed point was introduced in [48]. However, a generic method for explicit solution of constrained nonlinear optimal control problems with unknown dynamics using AD is still lacking. The presented work aims to bridge this gap. Related Work Constrained deep learning. Incorporating constraints into deep learning represents multiple challenges such as non-convexity, convergence, and stability of the learning process [49]. Penalty methods and loss function regularizations are the most straightforward way of imposing constraints on the deep neural network outputs and parameters [50,51,52]. In those methods, the loss function is augmented with additional terms penalizing the violations of soft constraints via slack variables, which typically works well in practice, often outperforming hard constraint methods [53,54]. Authors in [55] presented a method for imposing hard equality and inequality constraints in the context of learning solutions of optimization problems. For control applications, authors in [56,57] use barrier methods combined with Lyapunov functions to enforce output constraints, stability, and boundedness of the neural network controller. While authors in [58] use penalty methods for soft constrained reinforcement learning applied to process control application. An alternative to penalty and barrier methods are neural network architectures imposing hard constraints, such as linear operator constraints [59], or architectures with Hamiltonian [60] and Lagrangian [61] structural priors for enforcing energy conservation laws. In this paper, we leverage both, penalty functions for imposing inequality constraints on state and action variables, and neural architecture design imposing hard equality constraints representing temporal dependencies of the system states, also called single shooting formulation. System Dynamics We assume an unknown partially observable nonlinear dynamical system in discrete time: System Dynamics where x k ∈ R nx is the unknown system state, y k ∈ R ny is the observed output, and u k ∈ R nu is the control input at time k. We assume we have access to the data generated by the system in the form of input-output tuples: System Dynamics where n is the number of sampled trajectories with N time steps. Model Predictive Control In this work, we consider a well-known model predictive controller (MPC) [62]. We follow standard formulation of the linear MPC as the quadratic optimization problem, specifically formed as Model Predictive Control Here, the objective function is defined as the finite sum of two terms over a prediction horizon N . Both terms are considered as a weighted second norm, i.e. ||a|| 2 Q = a Qa. Note, that to enforce problem (3) feasibility, the weighting factors Q du and Q r must be chosen as positive definite and positive semi-definite matrices, respectively. The constraints (3b)-(3e) are enforced for k ∈ 0, 1, . . . , N − 1. Moreover, to enforce reference tracking, the minimization objective, Equation 3a, includes a term for reference tracking error, ||y k − r k || 2 Qr , as well as a control rate penalisation term, ||u k − u k−1 || 2 Q du , which is a standard way to enforce offset free tracking [63]. The optimization problem is initialised with current state measurement x(t), as in (3f), by the value of the control action from previous sampling instant u(t − T s ), as described in (3g), and by the reference value r in (3a). Note, that the notation u −1 is valid for k = 0, which is necessary to compute the value of the objective function in the initial prediction step. Model Predictive Control The control strategy is implemented in the receding horizon fashion, where we solve (3) towards global optimality yielding an optimal sequence of control actions U = [u 0 , . . . , u N −1 ] , while only the first action is applied to the system. Representation of such an implementation is visualised on the Fig. 2. Model Predictive Control r(t) Figure 2: Realisation of the closed-loop control system with an unknown dynamical system. Model Predictive Control We formulate the quadratic optimization problem (3) in Matlab with the YALMIP toolbox [64]. The problem is then solved numerically with the GUROBI solver. Due to the fast dynamics of the controlled system, and that the numerical solution to the MPC problem takes more time compared to the sampling rate T s , we consider a parametric solution to the optimization problem (3). The parametric solution allows us to evaluate the control law to obtain the optimal control action within allotted time. Explicit Model Predictive Control Parametric optimization theory allows us to create an analytical map between initial conditions of the optimal control problem (3) and the optimal solution U . Specifically, the vector of parameters, thus the initial conditions, is defined aŝ Explicit Model Predictive Control After applying elementary matrix operations, presented in [65], the OCP from (3) can be reformulated to Explicit Model Predictive Control which constitutes as a parametric quadratic optimization problem (PQP). The solution to this problem can be obtain via standard procedures of parametric programming. Namely, the results is represented by a piece-wise affine (PWA) function, given as Explicit Model Predictive Control Here, the variableξ stands for the vector of parameters, n R denotes the total number of regions, while the vectors α i and β i define the specific control law with respect to a region R i . The regions are defined as polyhedral sets, namely Explicit Model Predictive Control Here, the matrices Γ i and γ i denote the half-space representation of regions. Since, the optimization problem (3) is a quadratic problem with linear constraints, all regions are defined by linear inequalities. Explicit Model Predictive Control Note that the procedure of obtaining a numerical representation of matrices Γ i and γ i is done by means of Multi-Parametric Toolbox [66] in Matlab. To use the explicit MPC in connection with the laboratory device, we export the control law into Python source code. The export to Python source code contains two parts. The first part is the coefficients from (3.2) and (7), and the second part is the algorithm that evaluates the control law. The algorithm is based on a well-known sequential search method from [67]. Differentiable Predictive Control This section presents Differentiable Predictive Control (DPC), a constrained neural network-based method for learning nonlinear state-space models and optimal control policies for unknown dynamical systems. Our system identification method is based on neural statespace model architecture [68] including constraints to enforce physically realistic predictions. In DPC, we combine the neural state-space model with a neural control policy, constructing a fully parametrized differentiable closed-loop system dynamics model. This generic closed-loop architecture allows us to learn a wide range of constrained control policies using end-toend auto-differentiation of the MPC-like loss functions and stochastic gradient descent optimization. Differentiable Predictive Control In the context of explicit MPC, the proposed approach can be seen as an data-driven approximate solution of the underlying parametric programming problem (5). Similar to explicit MPC, DPC optimizes control policies offline using N -step ahead predictions of the closed-loop system dynamics model generated as a response to the distribution of synthetically generated control features ξ. After the training, analogous to MPC, DPC is deployed in the receding horizon control (RHC) fashion. The high-level summary of the DPC method is provided in Algorithm 1. Algorithm 1 Differentiable Predictive Control. 1: input system identification dataset Ξ ID 2: input sampled control parameters dataset Ξ ctrl 3: input optimizer O 4: input Differentiable closed-loop system model composed of neural state space model f θ and neural control policy π Θ 5: input System identification loss ID with penalty constraints 6: input MPC-inspired loss DPC with penalty constraints 7: train neural state space model f θ using dataset Ξ ID to optimize loss ID with optimizer O 8: train neural policy π Θ in the closed-loop with the system model f θ using dataset Ξ ctrl to optimize loss DPC with optimizer O 9: return learned system dynamics model f θ and optimized policy π Θ Constrained Neural State Space Models We aim to learn a constrained neural representation of the unknown system dynamics, given the input-output time-series dataset (2) obtained from system observation. Constrained Neural State Space Models Model architecture. We present a generic block neural state-space model (BN-SSM) to represent and learn partially observable unknown nonlinear system dynamics (1), given the labeled dataset (2). The BN-SSM architecture is shown in Fig. 3 with corresponding equations given as follows: Constrained Neural State Space Models Where k defines the discrete time step, and N defines the prediction horizon, i.e. number of rollout steps of the recurrent model. Individual block components f x , and f u , f y , and f o are represented by neural networks. Where f x , and f u define the hidden state and input dynamics, replacing the A and B matrices in the classical linear state-space model, respectively. The block f y defines the output mapping from hidden states x k to observables y k , replacing the C matrix in the linear model. The observer block f o maps the past output trajectories Y p = {y 1−N , . . . , y 0 } onto initial states x 0 , which is necessary for handling partially observable systems. Now let us compactly represent the N -step ahead rollout of the model (8) Remark. The proposed BN-SSM architecture (8) represents a generalization of a family of neural state-space models [69,70,71,72,73,74,75,76]. Depending on the choice of neural blocks f x , f u , f y , and f y one can represent fully nonlinear, Hammerstein-Weiner, Weiner, Hammerstein, or simply linear dynamics models with or without internal feedback. Additionally, a block architecture allows us to impose local regularizations on the block structure or constraints on internal block-generated variables. Constrained Neural State Space Models System identification loss. We train the neural state-space dynamics (8) on sampled inputoutput trajectories (2) of the observed system dynamics. The multi-term system identification loss is given as follows: Constrained Neural State Space Models Here k represents time step of the prediction horizon N , and i is the batch index of n sampled trajectories. The first term represents the trajectory tracking loss defined as the two norm over a vector of residuals between the true Y true = {y true,i 1 , . . . , y true,i N } and predicted Y = {y i 1 , . . . , y i N } output trajectories over N steps. The second term is a regularization for smoothing the trajectories by penalizing the one-time step difference between the successive hidden states x. The third and fourth terms impose constraints on the outputs via penalties. In this work, we employ penalty functions for time-varying lower and upper bounds y k , y k , respectively, given as follows: Constrained Neural State Space Models Furthermore we can leverage the structure of the proposed block neural state-space model (8) and impose similar constraints on the influence of the control input dynamics components f u (u k ) as given in the last two terms of the loss function (9). Constrained Neural State Space Models Remark. Penalty functions in the form (10) can be straightforwardly implemented in modern deep-learning libraries such as Pytorch or Tensorflow using standard ReLU activation functions. Constrained Differentiable Predictive Control The objective is to learn the constrained differentiable predictive control (DPC) policy to govern the unknown dynamical system (1), given the learned neural state-space model (8). We formulate DPC problem as following generic parametric optimal control problem: Constrained Differentiable Predictive Control Where Θ are decision variables representing weights and biases of the neural control policy π Θ (ξ k ), and DPC (y k , u k ) represents MPC-inspired loss function, e.g. reference tracking with constraints violation penalties. In the following paragraphs we elaborate on the design choices of DPC problem (11) implemented and solved as constrained deep learning problem. Constrained Differentiable Predictive Control Neural control policy. The control parameters ξ sampled from the set Ξ ctrl represent a design choice that captures all decision relevant signals of the control problem. For instance, we can define ξ k = x k as a full state feedback policy. However, in general the neural control policy can take a vector of any relevant control parameters. In this paper we use ξ k = Y p R Y Y with a neural control policy map is given as: Constrained Differentiable Predictive Control Where U = {u 1 , . . . , u N } is an optimal control trajectory, Y p = {y 1−N , . . . , y 0 } represents observed output trajectories N -steps into the past, R = {r 1 , . . . , r N }, is a tensor of reference trajectories, while Y = {y 1 , . . . , y N }, and Y = {y 1 , . . . , y N } are tensors of imposed lower and upper bounds for future output trajectories, respectively. In this paper, we assume π Θ (ξ k ) : R m → R n to be a fully connected neural network architecture with l ∈ N L 1 layers given as: Constrained Differentiable Predictive Control parametrized by Θ = {W l , b l , |∀l ∈ N L 1 } with weights W l and biases b l , and nonlinear activation function σ : R n h → R n h . In DPC, the neural control policy (12) replaces the PWA control law of explicit MPC described in Section 2.3, thus ξ in DPC the neural policy represents an expanded parametric space compared to the lower-dimensional parametric space of explicit MPC given as eq. (4). Constrained Differentiable Predictive Control Differentiable closed-loop system architecture. To train the constrained control policy (12), we design the neural representation of the closed-loop dynamics using the learned neural state-space model f N θ (8): Constrained Differentiable Predictive Control The system dynamics model f N θ (8) is used to predict N -steps ahead future output trajectories Y f , given the control actions trajectories U generated by the neural control policy (12). Constrained Differentiable Predictive Control The corresponding neural network architecture is shown in Fig. 4. Here the closedloop model is constructed by connecting the learned system dynamics model (8) with the control policy (12), through the control actions trajectories U. Hence the proposed control policy represents a predictive control strategy with a preview of future constraints and reference signals. The policy is optimized by differentiating the closed-loop neural dynamics model on sampled past output trajectories Y p , and given the forecast of lower and upper constraint trajectories Y, and Y. The parameters of pre-trained neural state-space model (8) representing the open-loop system dynamics are fixed during the policy optimization. The distribution of past output trajectories Y p represents a sampling of initial conditions, while the distribution of time-varying constraints and reference signals represent a sampling of different operational scenarios and tasks. Constrained Differentiable Predictive Control MPC-inspired loss function. The closed-loop system parametrization (14) now allows us to simulate the effect of varying control features ξ on the system's output dynamics Y f . This simulation capability, together with differentiability of the closed-loop model (14) is a key feature of the proposed control method which allows us to perform data-driven optimization of neural control policy (12). We train the policy parameters by sampling the distribution of the control features ξ, and backpropagating the gradients of the loss function through the closed-loop system model. In particular, we leverage the following MPC-inspired multi-term loss function. The primary reference tracking term is augmented with control smoothing and penalty terms (10) imposed on control actions and output trajectories: Constrained Differentiable Predictive Control Where k represents time index, N is the prediction horizon, i is the batch index and n is the number of batches of sampled trajectories, respectively. R represent sampled reference trajectories to be tracked by the output trajectories of the closed-loop system Y, where Q r is reference tracking weight. The second term weighted by Q du represents the control action smoothing. Similar to Y, and Y, U, and U are tensors of lower and upper bounds for the N -step ahead control action trajectories. We optimize the policy parameters Θ, while keeping the parameters of the dynamics model (8) fixed. The penalty terms are weighted by terms Q y , and Q u for output and input constraints, respectively. Constrained Differentiable Predictive Control Remark. The proposed control policy optimization procedure does not require an interaction with the real system or its emulator model. Instead, the policy is trained by sampling the closed-loop system using the trained dynamics model. Moreover, the training is extremely data-efficient as all sampled trajectories can be generated synthetically. System Description The presented control approaches are implemented on a laboratory device called FlexyAir 1 . The device is a single-input single-output system, where the actuator is a fan that drives air into a vertical tube with a floater inside. An infrared proximity sensor is placed on the top of the tube, which measures the floater's level. The manipulated variable in this laboratory process is a fan speed command, given to an internal fan speed controller, which sets the corresponding current for the fan itself. Next, the process variable is the position of the floater in the vertical tube. The control objective is to stabilize the floater's vertical distance at the desired reference level, while satisfying given constraints. The sketch of the laboratory device is shown on the Fig. 5. Dataset System identification. Our experimental dataset is obtained by observing the real system dynamics with sampling time T s = 0.25 seconds. The measured input-output time series in the form (2) has m = 9 · 10 3 datapoints which are used to create training, validation, and test sets with equal lengths of 1000 samples. To take into account time horizons during the training, we apply N -step time shift to generate the past Y true p and future Y true tensors for output variables, respectively. The time series in each set are subsequently separated to N -step batches, generating tensors with dimensions (N, n, n y ), where n represents number of batches, and n y is the dimension of the variable y (the same applies for u). The number of batches n = m N depends on the total number of datapoints m and length of the prediction horizon N . Dataset Closed-loop control. As mentioned in Section 3.2, the control policy training is based on a sampling of the input sequences of the closed-loop dynamics model and does not require extra measurements of the real system. To demonstrate the data-efficiency, we generate each continuous time series with only 3 · 10 3 samples for train, validation, and test set, respectively. We apply the same N -step horizon batching as in the case of system identification task. The dataset is also normalized using min-max normalization. Dataset The past observations of the output trajectories Y p are randomly sampled continuous trajectories, while predicted future trajectories Y are internally generated by the trained system dynamics model. To improve generalization across dynamic modes, we assume that sampled trajectories Y p are dynamically generated sine waves with varying frequency, amplitude, and noise at each optimization epoch. The time-varying references and constraints bounds can be arbitrarily sampled from user-defined distribution to generalize the control across a set of tasks. Dataset In our case, we sample sine waves for the output reference R with amplitude in range Remark. Training of the control policy on dynamically sampled system output trajectories Y p with varying frequencies and amplitudes is inspired by the fact that system response can be decomposed to a set of dynamic modes with fixed frequencies [77]. Alternatively, the trajectories Y p could be generated by perturbing the learned system dynamics or simply represented by observations of the real system. Metrics We assess trained DPC performance on two sets of metrics, the first one for training and hyperparameter selection, the second for task-specific performance evaluation. For training, we evaluate the mean squared error (MSE) of system identification loss (9) and policy learning loss (15), respectively. The loss function MSE evaluated on development sets are used for hyperparameter selection, while MSE on test sets are used for performance assessment of the training process. Second, instead of training-oriented processed datasets, we define the taskspecific metrics using the real system data with T time steps. For the system identification, we evaluate MSE of the open-loop response of the trained model compared to the response of the real system given as: 1 Metrics For evaluation of the closed-loop control performance, we compute the reference tracking MSE as 1 T T k=1 ||y k − r k || 2 2 , and integral of the absolute error (IAE) as T k=1 |y k − r k |. For constraints satisfaction, we evaluate mean absolute (MA) value of the output constraints violations: 1 T T k=1 |p(y k , y k )| + |p(y k , y k )| . Optimization, and Hyperparameters Selection The presented method with structured neural network models was implemented using Pytorch [78]. We train our models with randomly initialized weights using Adam optimizer [79] with a learning rate of 0.001. All neural network blocks in our models are designed with GELU activation functions [80]. We use a grid search for finding the best performing hyperparameters by assessing the performance of the trained models on the development set and task performance metrics specified in section 4.3. For both the dynamics model and control policy, we select the prediction horizon N = 32 steps, which with sampling time T s = 0.25 seconds, corresponds to the 8 seconds time window. Optimization, and Hyperparameters Selection System identification. The system dynamics model (8) is trained using the system identification dataset on 1000 epochs. The state transition block f x : R 30 → R 30 and the input dynamics block f u : R 1 → R 30 are represented by residual neural networks, while output decoder f y : R 30 → R 1 is a simple linear map. The state encoder map f o : R 1 → R 30 is represented by a standard, fully connected neural network. For simplicity, we assume only one step time lag for the state encoder. All individual neural block components are designed with 4 hidden layers and 30 hidden neurons. The resulting neural state-space model has n θ = 24661 trainable parameters. The weight factors of the system identification loss function (9) are given as follows: Q dx = 0.2, Q y = 1.0, Q u = 1.0. The trained block neural state-space model (8) is subsequently used for the design of the constrained differentiable control policy, as described in section 3.2. Optimization, and Hyperparameters Selection Closed-loop control. The constrained differentiable control policy (12) is trained using synthetically sampled closed-loop system dataset on 5 · 10 3 epochs with early stopping based on development set MSE 2 . The policy map π Θ : R 128 → R 32 is represented by fully connected neural network with 3 layers each with 20 hidden neurons, resulting in n Θ = 7272 trainable parameters. The weight factors of the constrained control loss function (15) are Q r = 1.0, Q du = 0.1, Q y = 2.0, Q u = 10.0. Optimization, and Hyperparameters Selection In case of the explicit model predictive control (eMPC) strategy (3a), we chose to set the length of the prediction horizon to N = 5, while the tuning factors were set to Q r = 3, and Q du = 4. Because, classical MPC can not handle neural state-space models, the corresponding quadratic optimization problem (3) is constructed using a simplified linear model obtained from the System Identification toolbox in Matlab [81]. Real-time Closed-loop Control Performance This section shows the results of the real-time implementation of two control strategies. First, we present a step-change scenario to show the performance concerning transient behavior and reference tracking. Secondly, we introduce an experimental case study, where a harmonic reference alongside a set of harmonic constraints is considered. Here, we show how the proposed differentiable predictive control (DPC) handles constraint satisfaction. All control strategies for these real-time experiments are implemented using an embedded platform running on Raspberry-Pi 3 using Python 3.7. Real-time Closed-loop Control Performance Step-change scenario. This scenario presents the tracking performance when a step change occurs in the process variable. Specifically, we consider a step changes in the reference from 20 → 15 → 28cm for the floater position. Moreover, we set the constraints to y = 30cm and bottom y = 13cm. Here, we compare the performance of 2 controllers. First, we set the baseline with the explicit MPC strategy. Then we include the proposed DPC policy. The tuning factors of individual controllers are mentioned in the section 4.4. Real-time Closed-loop Control Performance The control performance of respective policies is visualized on Fig. 6. Furthermore, rigorous validation of measured performances is reported in the Table 1. We can see that both eMPC and DPC follow the trajectory and respect bottom and top constraints from reported results. We can observe that eMPC and DPC react to the reference change in the same fashion (slope of the transient behavior). The difference is just the time instant when the change occurs. This is determined by the length of the prediction horizon of individual policies. While for the DPC the length of the horizon is not a bottleneck (32 samples in this case), the eMPC can not be constructed for longer horizons than 10 in this case we use N = 5 due to the memory footprint.. Finally, we direct the reader to the table 1, where a quantitative numerical evaluation is reported. Here we followed the metrics established in section 4.3. In terms of MSE criterion, the DPC performs almost 8 times better than the explicit MPC. We also include the IAE criterion, which is more common in the control community, and in this case, the DPC outperforms the eMPC by more than 50%. In terms of constraints violations, these criteria read to 0 since neither DPC and eMPC cross the limits. Constraints Satisfaction. The second scenario involves the demonstration of systematic constraint handling by the DPC strategy. Here we utilize a harmonic reference and harmonic constraints. Concrete results are presented in the Fig. 7. Note, that the constraints are not violated even if the reference crosses out of allowed space, thus empirically demonstrating remarkable robustness capabilities even in this challenging scenario with high measurement noise. Idealized Simulation Case Studies The purpose of this section is to demonstrate control capabilities of the proposed constrained differentiable predictive control policies (DPC) in idealized simulations. We use the trained system dynamics model for representing the controlled system, omitting the influence of the plant-model mismatch and additive real-time disturbances affecting the dynamics of the real system. We show that, in case of perfect system dynamics model, DPC can achieve offset-free reference tracking capabilities, and robust constraints satisfaction, hence empirically demonstrating convergence to near optimal control performance. Idealized Simulation Case Studies Reference Tracking. Fig. 8 shows the offset-free reference tracking capabilities of the trained DPC method assessed using four different dynamic signals. Besides tracking an arbitrary dynamic reference, DPC policy demonstrates predictive control capabilities using a reference preview. In particular, notice the change in the trajectories several time steps before previewed step changes in the reference signals. To be able to react safely and in advance of forecasted parameters such as references and constraints is a desired feature for many industrial control applications. The preview capability also represents additional value compared to explicit MPC, which can not handle preview of its parameters. Idealized Simulation Case Studies Constraints Satisfaction. We demonstrate the capability of DPC to balance conflicting objectives in terms of reference tracking and constraints handling. Fig. 9 plots DPC performance with dynamic reference crossing dynamic constraints. Even in this challenging scenario, the trained DPC policy satisfies the constraints while compromising on the tracking performance of the unattainable reference. Scalability Analysis In Table 2 we compare the scalability of the proposed differentiable predictive control (DPC) against explicit model predictive control (eMPC) in terms of on-line computational requirements, memory footprint, policy complexity, and off-line construction time with the increasing length of the prediction horizon N . Scalability Analysis We compare the mean and maximum online computational (CPU) time and memory footprint required to evaluate and store the DPC and eMPC control policies. As shown in Table 2, the online evaluation of both control policies is extremely fast in terms of CPU time. This property is crucial for controlling fast and highly dynamical systems with high-frequency sampling rates, such as UAVs or agile robotic systems. However, memory requirements are significantly different for linearly scalable DPC compared to exponentially growing requirements of eMPC. In the case of eMPC, its enormous memory demands limit the applicability of this control strategy only to small scale systems with very low prediction horizons. Contrary to eMPC, DPC policies have an extremely low memory footprint regardless of the prediction horizon's length, opening the doors to large-scale practical control applications. Scalability Analysis To deeper understand the reported memory requirements, we evaluate the complexity of the control policies in terms of the number of parameters for DPC and the number of critical regions for eMPC. Table 2 shows that the number of parameters of the DPC scale linearly with the increasing prediction horizon N , while a number of critical regions of eMPC scales exponentially. The reason behind this is that complexity of eMPC policy (3.2) is primarily given by the number of constraints that scale exponentially with the length of the prediction horizon and the number of optimized variables. On the other hand, the complexity of DPC policy depends mainly on the number of hidden nodes and the number of layers, which allows it to scale to large state-action spaces with long prediction horizons. Table 2 also reports the construction time for the eMPC policy using multiparametric programming [66,82], to give the reader notions about the limitations of this solution method. Specifically, we direct the attention to the construction time of the eMPC with N = 10 for which the generation of the associated controller took almost 3−days. Contrarily, the construction time of DPC scales linearly to a large prediction horizon, as reported in Table 2. Here we demonstrate a tremendous potential of the proposed DPC policies to scale up to large-scale control problems way beyond the reach of classical eMPC. Limitations and Future Work Despite experimentally demonstrated robust performance, the proposed DPC method as described in this paper does not provide theoretical guarantees on the constraints satisfaction or closed-loop system stability. From a theoretical perspective, structural similarity of the underlying optimization problem to well studied MPC problem presents opportunities for further extensions of the proposed DPC methodology. Some examples include adaptive control via online updates of the nonlinear system model, robust and stochastic control via constraints tightening, or closed-loop stability guarantees based on stability of MPC [83,84,85]. Additional extensions include offset-free formulation with augmented state space model and control error integrator dynamics recently proposed for neural network-based controllers [86]. From the deep learning perspective, methods such as [55] can be employed to obtain hard constraints satisfaction guarantees on states and control actions. From the system identification perspective, various neural architectures might be more or less suitable to parametrize the proposed neural state space models, depending on the underlying dynamical system. Straightforward model architecture extensions of the proposed methodology may include a whole range of differentiable models, for instance, sparse identification of nonlinear dynamics (SINDy) [87], multistep neural networks [88], or graph neural networks [89]. Conclusions We have experimentally demonstrated that it is possible to train constrained optimal control policies purely based on the observations of the dynamics of the unknown nonlinear system. The principle is based on optimizing control policies with constraints penalty functions by differentiating trained neural state-space models representing an internal model of the observed nonlinear system. We denote this control approach constrained differentiable predictive control (DPC). Conclusions We compare the performance of trained DPC policy against classical explicit model predictive control (eMPC). The control algorithms are implemented on a laboratory device with the Raspberry-Pi platform. In comparison with eMPC using a linear model, DPC achieves better control performance due to the nonlinear system dynamics model and the reference and constraints preview capability. However, most importantly, DPC has unprecedented scalability beyond the limitations of eMPC. DPC scales well with increased problem complexity defined by the length of the prediction horizon resulting in an increased number of decision variables and constraints of the underlying optimization problem. DPC demonstrates linear scalability in terms of memory footprint, number of policy parameters, and required construction time. Therefore, we believe that the proposed DPC method has the potential for wide adoption in large-scale control systems with limited computational resources and fast sampling rates.

섹션 본문 68문단 · 43,063자

(제목 없음)

1We present differentiable predictive control (DPC) as a deep learning-based alternative to the explicit model predictive control (MPC) for unknown nonlinear systems. In the DPC framework, a neural state-space model is learned from time-series measurements of the system dynamics. The neural control policy is then optimized via stochastic gradient descent approach by differentiating the MPC loss function through the closed-loop system dynamics model. The proposed DPC method learns model-based control policies with state and input constraints, while supporting time-varying references and constraints. In embedded implementation using a Raspberry-Pi platform, we experimentally demonstrate that it is possible to train constrained control policies purely based on the measurements of the unknown nonlinear system. We compare the control performance of the DPC method against explicit MPC and report efficiency gains in online computational demands, memory requirements, policy complexity, and construction time. In particular, we show that our method scales linearly compared to exponential scalability of the explicit MPC solved via multiparametric programming.1. Data-driven explicit solution of constrained optimal control problems for nonlinear systems by means of differentiable parametric optimization.2. Differentiable closed-loop system model based on constrained neural control policies and neural state-space models.3. In contrast with explicit MPC, our method supports dynamical constraints and trajectory preview capabilities.4. Linear scalability in terms of the number of decision variables and length of the

Introduction

2Incorporation of machine learning methods in control applications is becoming one of the leading research avenues in the field of control theory. The design of many novel control methods based on machine learning (ML) approaches is heavily inspired by the benefits of model predictive control (MPC), such as constraints handling and robustness. The substitution of MPC with ML-based controllers was studied by several well-established researchers in the control domain [1,2,3,4,5]. Furthermore, the application of neural networks as substitutes of MPC behavior has been considered in practical applications as well [6,7,8,9]. All aforementioned works fall into the category of so-called approximate MPC based on imitation learning of original MPC. As such, these works have one significant disadvantage, which is the reliance on data sets collected from closed-loop experiments, i.e., the ML-based controllers are trained based on experiments involving fully implemented MPC.

3Addressing these challenges, we present a novel control method called differentiable predictive control (DPC) for learning both nonlinear system dynamics and constrained control policies without supervision from the expert controller in a sample efficient way. The only requirement is a dataset of sufficiently excited time-series of the system dynamics. This in contrast with the recent implementation in [1], where a trained ML-based controller runs alongside an online MPC strategy, making the algorithm computationally expensive in many applications running in low computational resource settings. The presented DPC method is based on the neural parametrization of the closed-loop dynamical system with two building blocks: i) neural system model, and ii) a deep learning formulation of model predictive control policy. In particular, we combine system identification based on structured neural state-space model and policy optimization with embedded inequality constraints via backpropagation of the control loss through the closed-loop system dynamics model. The conceptual methodology of DPC is illustrated in Fig. 1. The presented DPC method supports nonlinear systems, with both input and state constraints, arbitrary reference signals and represents a methodological extension of prior work on DPC for linear systems [10]. A method similar in spirit has been recently proposed by [11], where the authors use Log-Sum-Exp neural networks to approximate the MPCrelated cost function given the measurements of the system dynamics. However, in contrast to the proposed DPC method, the implementation of the method in [11] still relies on the online nonlinear optimization, does not handle state constraints, and training on arbitrary reference signals poses computational challenges.

4We demonstrate the capabilities of the proposed DPC method on experimental results using a laboratory device called FlexyAir with nonlinear dynamics and noisy measurement signals. We demonstrate several key features of DPC resulting in data-efficiency, scalability, and constraint handling:

5prediction horizon compared to exponential scalability of explicit MPC solutions based on multi-parametric programming. 5. Our approach requires less online computation time and memory than explicit MPC solutions.

Related Work

6Explicit model predictive control. Explicit MPC is a powerful method for the systematic design of optimal control policies with a fast online evaluation procedure. In explicit MPC, instead of solving the corresponding optimal control problem online, the solution is pre-computed offline through the parametric optimization [12,13,14,15]. The resulting controller then boils down to obtaining a set of piecewise affine (PWA) functions that can be evaluated on an embedded platform. Unfortunately, the explicit MPC comes with a significant drawback: scalability of the solution and the memory footprint of the resulting PWA control policy [16]. Even for small-scale dynamical systems, the explicit MPC's memory footprint can reach several megabytes. In the last years, researchers developed many methods for decreasing the complexity and memory footprint of the explicit solution [17,18,19,20,21,22,23,24,25]. Nevertheless, all of the aforementioned methods are often costly in terms of processing time and do not scale to large dimensions. Moreover, most of the explicit MPC methods handle only linear system dynamics and constraints. For dealing with nonlinear systems, there are few methods based on approximations of the underlying nonlinear multiparametric programs (mpNLP) [26,27,28]. While authors in [29] incorporated ReLU neural networks as constraints in multiparametric programming problems (mpP). Despite these numerous advances, all of the contemporary explicit MPC methods suffer the curse of dimensionality associated with the solution of the underlying mpP [30]. In this paper, we present an alternative method based on differentiable programming for the approximate solution of the underlying mpP with linear scalability with respect to a number of decision variables.

7Approximate MPC. Recently, several works have been devoted to the use of machine learning to approximate the solution of the underlying multiparametric programming problem to obtain the explicit MPC control laws. One set of these works includes supervised learning based on mimicking the MPC behavior and replacing the control law with a neural network [31,32,7]. These approaches are known in the machine learning community as imitation learning [33], or MPC-guided policy search [34]. Several procedures were designed to approximate MPC's behavior with neural networks, which significantly reduces the implementation requirements of the MPC with minimal impact on the control performance [32,7]. Constraint satisfaction using neural network-based approximations of MPC control laws is a new and active research area. To tackle this issue, some authors proposed including additional layers in the policy network projecting the control inputs onto the constrained region of the state and action spaces [35,36]. Authors in [1] use an additional dual policy neural network to estimate the sub-optimality of the learned control law with probabilistic guarantees. Others employ learning bounds for empirically validating constraints handling capabilities after the network is trained [5]. For more comprehensive overview of the approximate MPC, and learning-based MPC (LBMPC) methods we refer the reader to [37]. However, all previous works rely upon several factors, which are prerequisites for their successful implementation. First, the supervisory MPC strategy needs to be designed to generate the training data. In this work, we present an alternative approach that does not require a supervisory controller, to begin with. Instead, the proposed strategy learns the system dynamics model and uses this model as part of the differentiable closed-loop system model for policy optimization via stochastic gradient descent.

8Neural Models in MPC. To tackle the modeling problem, some researchers focus on training neural networks as prediction models for MPC [38]. Authors in [39] use low-rank features of the high-dimensional system to train a recurrent neural network (RNN) to predict the control relevant quantities for MPC. Other authors have used structured neural network models inspired by classical linear time-varying state-space models [40], whereas some have proposed using convex neural architectures [41], graph neural networks [42], or stable neural networks based on Lyapunov functions [43]. In this work, we build on these trends and employ neural state space models as generic abstractions for learning nonlinear dynamics models of the controlled system.

9Automatic Differentiation in Control. The use of automatic differentiation (AD) for control and optimization is a well-established method. For instance, CasADi toolbox [44] uses known system dynamics and constraints for constructing a computational graph and computes the gradients for nonlinear optimization solvers. From the perspective of machine learning, the authors in [41] investigated the idea of solving the optimal control problem by backpropagation through the learned system model parametrized via convex neural networks [45]. Others developed, domain-specific differentiable physical models for the robotics domain [46,47]. Learning linear Model Predictive Control (MPC) policies by differentiating the KKT conditions of the convex approximation at a fixed point was introduced in [48]. However, a generic method for explicit solution of constrained nonlinear optimal control problems with unknown dynamics using AD is still lacking. The presented work aims to bridge this gap.

10Constrained deep learning. Incorporating constraints into deep learning represents multiple challenges such as non-convexity, convergence, and stability of the learning process [49]. Penalty methods and loss function regularizations are the most straightforward way of imposing constraints on the deep neural network outputs and parameters [50,51,52]. In those methods, the loss function is augmented with additional terms penalizing the violations of soft constraints via slack variables, which typically works well in practice, often outperforming hard constraint methods [53,54]. Authors in [55] presented a method for imposing hard equality and inequality constraints in the context of learning solutions of optimization problems. For control applications, authors in [56,57] use barrier methods combined with Lyapunov functions to enforce output constraints, stability, and boundedness of the neural network controller. While authors in [58] use penalty methods for soft constrained reinforcement learning applied to process control application. An alternative to penalty and barrier methods are neural network architectures imposing hard constraints, such as linear operator constraints [59], or architectures with Hamiltonian [60] and Lagrangian [61] structural priors for enforcing energy conservation laws. In this paper, we leverage both, penalty functions for imposing inequality constraints on state and action variables, and neural architecture design imposing hard equality constraints representing temporal dependencies of the system states, also called single shooting formulation.

System Dynamics

11We assume an unknown partially observable nonlinear dynamical system in discrete time:

12where x k ∈ R nx is the unknown system state, y k ∈ R ny is the observed output, and u k ∈ R nu is the control input at time k. We assume we have access to the data generated by the system in the form of input-output tuples:

13where n is the number of sampled trajectories with N time steps.

Model Predictive Control

14In this work, we consider a well-known model predictive controller (MPC) [62]. We follow standard formulation of the linear MPC as the quadratic optimization problem, specifically formed as

15Here, the objective function is defined as the finite sum of two terms over a prediction horizon N . Both terms are considered as a weighted second norm, i.e. ||a|| 2 Q = a Qa. Note, that to enforce problem (3) feasibility, the weighting factors Q du and Q r must be chosen as positive definite and positive semi-definite matrices, respectively. The constraints (3b)-(3e) are enforced for k ∈ 0, 1, . . . , N − 1. Moreover, to enforce reference tracking, the minimization objective, Equation 3a, includes a term for reference tracking error, ||y k − r k || 2 Qr , as well as a control rate penalisation term, ||u k − u k−1 || 2 Q du , which is a standard way to enforce offset free tracking [63]. The optimization problem is initialised with current state measurement x(t), as in (3f), by the value of the control action from previous sampling instant u(t − T s ), as described in (3g), and by the reference value r in (3a). Note, that the notation u −1 is valid for k = 0, which is necessary to compute the value of the objective function in the initial prediction step.

16The control strategy is implemented in the receding horizon fashion, where we solve (3) towards global optimality yielding an optimal sequence of control actions U = [u 0 , . . . , u N −1 ] , while only the first action is applied to the system. Representation of such an implementation is visualised on the Fig. 2.

17r(t) Figure 2: Realisation of the closed-loop control system with an unknown dynamical system.

18We formulate the quadratic optimization problem (3) in Matlab with the YALMIP toolbox [64]. The problem is then solved numerically with the GUROBI solver. Due to the fast dynamics of the controlled system, and that the numerical solution to the MPC problem takes more time compared to the sampling rate T s , we consider a parametric solution to the optimization problem (3). The parametric solution allows us to evaluate the control law to obtain the optimal control action within allotted time.

Explicit Model Predictive Control

19Parametric optimization theory allows us to create an analytical map between initial conditions of the optimal control problem (3) and the optimal solution U . Specifically, the vector of parameters, thus the initial conditions, is defined aŝ

20After applying elementary matrix operations, presented in [65], the OCP from (3) can be reformulated to

21which constitutes as a parametric quadratic optimization problem (PQP). The solution to this problem can be obtain via standard procedures of parametric programming. Namely, the results is represented by a piece-wise affine (PWA) function, given as

22Here, the variableξ stands for the vector of parameters, n R denotes the total number of regions, while the vectors α i and β i define the specific control law with respect to a region R i . The regions are defined as polyhedral sets, namely

23Here, the matrices Γ i and γ i denote the half-space representation of regions. Since, the optimization problem (3) is a quadratic problem with linear constraints, all regions are defined by linear inequalities.

24Note that the procedure of obtaining a numerical representation of matrices Γ i and γ i is done by means of Multi-Parametric Toolbox [66] in Matlab. To use the explicit MPC in connection with the laboratory device, we export the control law into Python source code. The export to Python source code contains two parts. The first part is the coefficients from (3.2) and (7), and the second part is the algorithm that evaluates the control law. The algorithm is based on a well-known sequential search method from [67].

Differentiable Predictive Control

25This section presents Differentiable Predictive Control (DPC), a constrained neural network-based method for learning nonlinear state-space models and optimal control policies for unknown dynamical systems. Our system identification method is based on neural statespace model architecture [68] including constraints to enforce physically realistic predictions. In DPC, we combine the neural state-space model with a neural control policy, constructing a fully parametrized differentiable closed-loop system dynamics model. This generic closed-loop architecture allows us to learn a wide range of constrained control policies using end-toend auto-differentiation of the MPC-like loss functions and stochastic gradient descent optimization.

26In the context of explicit MPC, the proposed approach can be seen as an data-driven approximate solution of the underlying parametric programming problem (5). Similar to explicit MPC, DPC optimizes control policies offline using N -step ahead predictions of the closed-loop system dynamics model generated as a response to the distribution of synthetically generated control features ξ. After the training, analogous to MPC, DPC is deployed in the receding horizon control (RHC) fashion. The high-level summary of the DPC method is provided in Algorithm 1.

Algorithm 1 Differentiable Predictive Control.

271: input system identification dataset Ξ ID 2: input sampled control parameters dataset Ξ ctrl 3: input optimizer O 4: input Differentiable closed-loop system model composed of neural state space model f θ and neural control policy π Θ 5: input System identification loss ID with penalty constraints 6: input MPC-inspired loss DPC with penalty constraints 7: train neural state space model f θ using dataset Ξ ID to optimize loss ID with optimizer O 8: train neural policy π Θ in the closed-loop with the system model f θ using dataset Ξ ctrl to optimize loss DPC with optimizer O 9: return learned system dynamics model f θ and optimized policy π Θ

Constrained Neural State Space Models

28We aim to learn a constrained neural representation of the unknown system dynamics, given the input-output time-series dataset (2) obtained from system observation.

29Model architecture. We present a generic block neural state-space model (BN-SSM) to represent and learn partially observable unknown nonlinear system dynamics (1), given the labeled dataset (2). The BN-SSM architecture is shown in Fig. 3 with corresponding equations given as follows:

30Where k defines the discrete time step, and N defines the prediction horizon, i.e. number of rollout steps of the recurrent model. Individual block components f x , and f u , f y , and f o are represented by neural networks. Where f x , and f u define the hidden state and input dynamics, replacing the A and B matrices in the classical linear state-space model, respectively. The block f y defines the output mapping from hidden states x k to observables y k , replacing the C matrix in the linear model. The observer block f o maps the past output trajectories Y p = {y 1−N , . . . , y 0 } onto initial states x 0 , which is necessary for handling partially observable systems. Now let us compactly represent the N -step ahead rollout of the model (8) Remark. The proposed BN-SSM architecture (8) represents a generalization of a family of neural state-space models [69,70,71,72,73,74,75,76]. Depending on the choice of neural blocks f x , f u , f y , and f y one can represent fully nonlinear, Hammerstein-Weiner, Weiner, Hammerstein, or simply linear dynamics models with or without internal feedback. Additionally, a block architecture allows us to impose local regularizations on the block structure or constraints on internal block-generated variables.

31System identification loss. We train the neural state-space dynamics (8) on sampled inputoutput trajectories (2) of the observed system dynamics. The multi-term system identification loss is given as follows:

32Here k represents time step of the prediction horizon N , and i is the batch index of n sampled trajectories. The first term represents the trajectory tracking loss defined as the two norm over a vector of residuals between the true Y true = {y true,i 1 , . . . , y true,i N } and predicted Y = {y i 1 , . . . , y i N } output trajectories over N steps. The second term is a regularization for smoothing the trajectories by penalizing the one-time step difference between the successive hidden states x. The third and fourth terms impose constraints on the outputs via penalties. In this work, we employ penalty functions for time-varying lower and upper bounds y k , y k , respectively, given as follows:

33Furthermore we can leverage the structure of the proposed block neural state-space model (8) and impose similar constraints on the influence of the control input dynamics components f u (u k ) as given in the last two terms of the loss function (9).

34Remark. Penalty functions in the form (10) can be straightforwardly implemented in modern deep-learning libraries such as Pytorch or Tensorflow using standard ReLU activation functions.

Constrained Differentiable Predictive Control

35The objective is to learn the constrained differentiable predictive control (DPC) policy to govern the unknown dynamical system (1), given the learned neural state-space model (8). We formulate DPC problem as following generic parametric optimal control problem:

36Where Θ are decision variables representing weights and biases of the neural control policy π Θ (ξ k ), and DPC (y k , u k ) represents MPC-inspired loss function, e.g. reference tracking with constraints violation penalties. In the following paragraphs we elaborate on the design choices of DPC problem (11) implemented and solved as constrained deep learning problem.

37Neural control policy. The control parameters ξ sampled from the set Ξ ctrl represent a design choice that captures all decision relevant signals of the control problem. For instance, we can define ξ k = x k as a full state feedback policy. However, in general the neural control policy can take a vector of any relevant control parameters. In this paper we use ξ k = Y p R Y Y with a neural control policy map is given as:

38Where U = {u 1 , . . . , u N } is an optimal control trajectory, Y p = {y 1−N , . . . , y 0 } represents observed output trajectories N -steps into the past, R = {r 1 , . . . , r N }, is a tensor of reference trajectories, while Y = {y 1 , . . . , y N }, and Y = {y 1 , . . . , y N } are tensors of imposed lower and upper bounds for future output trajectories, respectively. In this paper, we assume π Θ (ξ k ) : R m → R n to be a fully connected neural network architecture with l ∈ N L 1 layers given as:

39parametrized by Θ = {W l , b l , |∀l ∈ N L 1 } with weights W l and biases b l , and nonlinear activation function σ : R n h → R n h . In DPC, the neural control policy (12) replaces the PWA control law of explicit MPC described in Section 2.3, thus ξ in DPC the neural policy represents an expanded parametric space compared to the lower-dimensional parametric space of explicit MPC given as eq. (4).

40Differentiable closed-loop system architecture. To train the constrained control policy (12), we design the neural representation of the closed-loop dynamics using the learned neural state-space model f N θ (8):

41The system dynamics model f N θ (8) is used to predict N -steps ahead future output trajectories Y f , given the control actions trajectories U generated by the neural control policy (12).

42The corresponding neural network architecture is shown in Fig. 4. Here the closedloop model is constructed by connecting the learned system dynamics model (8) with the control policy (12), through the control actions trajectories U. Hence the proposed control policy represents a predictive control strategy with a preview of future constraints and reference signals. The policy is optimized by differentiating the closed-loop neural dynamics model on sampled past output trajectories Y p , and given the forecast of lower and upper constraint trajectories Y, and Y. The parameters of pre-trained neural state-space model (8) representing the open-loop system dynamics are fixed during the policy optimization. The distribution of past output trajectories Y p represents a sampling of initial conditions, while the distribution of time-varying constraints and reference signals represent a sampling of different operational scenarios and tasks.

43MPC-inspired loss function. The closed-loop system parametrization (14) now allows us to simulate the effect of varying control features ξ on the system's output dynamics Y f . This simulation capability, together with differentiability of the closed-loop model (14) is a key feature of the proposed control method which allows us to perform data-driven optimization of neural control policy (12). We train the policy parameters by sampling the distribution of the control features ξ, and backpropagating the gradients of the loss function through the closed-loop system model. In particular, we leverage the following MPC-inspired multi-term loss function. The primary reference tracking term is augmented with control smoothing and penalty terms (10) imposed on control actions and output trajectories:

44Where k represents time index, N is the prediction horizon, i is the batch index and n is the number of batches of sampled trajectories, respectively. R represent sampled reference trajectories to be tracked by the output trajectories of the closed-loop system Y, where Q r is reference tracking weight. The second term weighted by Q du represents the control action smoothing. Similar to Y, and Y, U, and U are tensors of lower and upper bounds for the N -step ahead control action trajectories. We optimize the policy parameters Θ, while keeping the parameters of the dynamics model (8) fixed. The penalty terms are weighted by terms Q y , and Q u for output and input constraints, respectively.

45Remark. The proposed control policy optimization procedure does not require an interaction with the real system or its emulator model. Instead, the policy is trained by sampling the closed-loop system using the trained dynamics model. Moreover, the training is extremely data-efficient as all sampled trajectories can be generated synthetically.

System Description

46The presented control approaches are implemented on a laboratory device called FlexyAir 1 . The device is a single-input single-output system, where the actuator is a fan that drives air into a vertical tube with a floater inside. An infrared proximity sensor is placed on the top of the tube, which measures the floater's level. The manipulated variable in this laboratory process is a fan speed command, given to an internal fan speed controller, which sets the corresponding current for the fan itself. Next, the process variable is the position of the floater in the vertical tube. The control objective is to stabilize the floater's vertical distance at the desired reference level, while satisfying given constraints. The sketch of the laboratory device is shown on the Fig. 5.

Dataset

47System identification. Our experimental dataset is obtained by observing the real system dynamics with sampling time T s = 0.25 seconds. The measured input-output time series in the form (2) has m = 9 · 10 3 datapoints which are used to create training, validation, and test sets with equal lengths of 1000 samples. To take into account time horizons during the training, we apply N -step time shift to generate the past Y true p and future Y true tensors for output variables, respectively. The time series in each set are subsequently separated to N -step batches, generating tensors with dimensions (N, n, n y ), where n represents number of batches, and n y is the dimension of the variable y (the same applies for u). The number of batches n = m N depends on the total number of datapoints m and length of the prediction horizon N .

48Closed-loop control. As mentioned in Section 3.2, the control policy training is based on a sampling of the input sequences of the closed-loop dynamics model and does not require extra measurements of the real system. To demonstrate the data-efficiency, we generate each continuous time series with only 3 · 10 3 samples for train, validation, and test set, respectively. We apply the same N -step horizon batching as in the case of system identification task. The dataset is also normalized using min-max normalization.

49The past observations of the output trajectories Y p are randomly sampled continuous trajectories, while predicted future trajectories Y are internally generated by the trained system dynamics model. To improve generalization across dynamic modes, we assume that sampled trajectories Y p are dynamically generated sine waves with varying frequency, amplitude, and noise at each optimization epoch. The time-varying references and constraints bounds can be arbitrarily sampled from user-defined distribution to generalize the control across a set of tasks.

50In our case, we sample sine waves for the output reference R with amplitude in range Remark. Training of the control policy on dynamically sampled system output trajectories Y p with varying frequencies and amplitudes is inspired by the fact that system response can be decomposed to a set of dynamic modes with fixed frequencies [77]. Alternatively, the trajectories Y p could be generated by perturbing the learned system dynamics or simply represented by observations of the real system.

Metrics

51We assess trained DPC performance on two sets of metrics, the first one for training and hyperparameter selection, the second for task-specific performance evaluation. For training, we evaluate the mean squared error (MSE) of system identification loss (9) and policy learning loss (15), respectively. The loss function MSE evaluated on development sets are used for hyperparameter selection, while MSE on test sets are used for performance assessment of the training process. Second, instead of training-oriented processed datasets, we define the taskspecific metrics using the real system data with T time steps. For the system identification, we evaluate MSE of the open-loop response of the trained model compared to the response of the real system given as: 1

52For evaluation of the closed-loop control performance, we compute the reference tracking MSE as 1 T T k=1 ||y k − r k || 2 2 , and integral of the absolute error (IAE) as T k=1 |y k − r k |. For constraints satisfaction, we evaluate mean absolute (MA) value of the output constraints violations: 1 T T k=1 |p(y k , y k )| + |p(y k , y k )| .

Optimization, and Hyperparameters Selection

53The presented method with structured neural network models was implemented using Pytorch [78]. We train our models with randomly initialized weights using Adam optimizer [79] with a learning rate of 0.001. All neural network blocks in our models are designed with GELU activation functions [80]. We use a grid search for finding the best performing hyperparameters by assessing the performance of the trained models on the development set and task performance metrics specified in section 4.3. For both the dynamics model and control policy, we select the prediction horizon N = 32 steps, which with sampling time T s = 0.25 seconds, corresponds to the 8 seconds time window.

54System identification. The system dynamics model (8) is trained using the system identification dataset on 1000 epochs. The state transition block f x : R 30 → R 30 and the input dynamics block f u : R 1 → R 30 are represented by residual neural networks, while output decoder f y : R 30 → R 1 is a simple linear map. The state encoder map f o : R 1 → R 30 is represented by a standard, fully connected neural network. For simplicity, we assume only one step time lag for the state encoder. All individual neural block components are designed with 4 hidden layers and 30 hidden neurons. The resulting neural state-space model has n θ = 24661 trainable parameters. The weight factors of the system identification loss function (9) are given as follows: Q dx = 0.2, Q y = 1.0, Q u = 1.0. The trained block neural state-space model (8) is subsequently used for the design of the constrained differentiable control policy, as described in section 3.2.

55Closed-loop control. The constrained differentiable control policy (12) is trained using synthetically sampled closed-loop system dataset on 5 · 10 3 epochs with early stopping based on development set MSE 2 . The policy map π Θ : R 128 → R 32 is represented by fully connected neural network with 3 layers each with 20 hidden neurons, resulting in n Θ = 7272 trainable parameters. The weight factors of the constrained control loss function (15) are Q r = 1.0, Q du = 0.1, Q y = 2.0, Q u = 10.0.

56In case of the explicit model predictive control (eMPC) strategy (3a), we chose to set the length of the prediction horizon to N = 5, while the tuning factors were set to Q r = 3, and Q du = 4. Because, classical MPC can not handle neural state-space models, the corresponding quadratic optimization problem (3) is constructed using a simplified linear model obtained from the System Identification toolbox in Matlab [81].

Real-time Closed-loop Control Performance

57This section shows the results of the real-time implementation of two control strategies. First, we present a step-change scenario to show the performance concerning transient behavior and reference tracking. Secondly, we introduce an experimental case study, where a harmonic reference alongside a set of harmonic constraints is considered. Here, we show how the proposed differentiable predictive control (DPC) handles constraint satisfaction. All control strategies for these real-time experiments are implemented using an embedded platform running on Raspberry-Pi 3 using Python 3.7.

58Step-change scenario. This scenario presents the tracking performance when a step change occurs in the process variable. Specifically, we consider a step changes in the reference from 20 → 15 → 28cm for the floater position. Moreover, we set the constraints to y = 30cm and bottom y = 13cm. Here, we compare the performance of 2 controllers. First, we set the baseline with the explicit MPC strategy. Then we include the proposed DPC policy. The tuning factors of individual controllers are mentioned in the section 4.4.

59The control performance of respective policies is visualized on Fig. 6. Furthermore, rigorous validation of measured performances is reported in the Table 1. We can see that both eMPC and DPC follow the trajectory and respect bottom and top constraints from reported results. We can observe that eMPC and DPC react to the reference change in the same fashion (slope of the transient behavior). The difference is just the time instant when the change occurs. This is determined by the length of the prediction horizon of individual policies. While for the DPC the length of the horizon is not a bottleneck (32 samples in this case), the eMPC can not be constructed for longer horizons than 10 in this case we use N = 5 due to the memory footprint.. Finally, we direct the reader to the table 1, where a quantitative numerical evaluation is reported. Here we followed the metrics established in section 4.3. In terms of MSE criterion, the DPC performs almost 8 times better than the explicit MPC. We also include the IAE criterion, which is more common in the control community, and in this case, the DPC outperforms the eMPC by more than 50%. In terms of constraints violations, these criteria read to 0 since neither DPC and eMPC cross the limits. Constraints Satisfaction. The second scenario involves the demonstration of systematic constraint handling by the DPC strategy. Here we utilize a harmonic reference and harmonic constraints. Concrete results are presented in the Fig. 7. Note, that the constraints are not violated even if the reference crosses out of allowed space, thus empirically demonstrating remarkable robustness capabilities even in this challenging scenario with high measurement noise.

Idealized Simulation Case Studies

60The purpose of this section is to demonstrate control capabilities of the proposed constrained differentiable predictive control policies (DPC) in idealized simulations. We use the trained system dynamics model for representing the controlled system, omitting the influence of the plant-model mismatch and additive real-time disturbances affecting the dynamics of the real system. We show that, in case of perfect system dynamics model, DPC can achieve offset-free reference tracking capabilities, and robust constraints satisfaction, hence empirically demonstrating convergence to near optimal control performance.

61Reference Tracking. Fig. 8 shows the offset-free reference tracking capabilities of the trained DPC method assessed using four different dynamic signals. Besides tracking an arbitrary dynamic reference, DPC policy demonstrates predictive control capabilities using a reference preview. In particular, notice the change in the trajectories several time steps before previewed step changes in the reference signals. To be able to react safely and in advance of forecasted parameters such as references and constraints is a desired feature for many industrial control applications. The preview capability also represents additional value compared to explicit MPC, which can not handle preview of its parameters.

62Constraints Satisfaction. We demonstrate the capability of DPC to balance conflicting objectives in terms of reference tracking and constraints handling. Fig. 9 plots DPC performance with dynamic reference crossing dynamic constraints. Even in this challenging scenario, the trained DPC policy satisfies the constraints while compromising on the tracking performance of the unattainable reference.

Scalability Analysis

63In Table 2 we compare the scalability of the proposed differentiable predictive control (DPC) against explicit model predictive control (eMPC) in terms of on-line computational requirements, memory footprint, policy complexity, and off-line construction time with the increasing length of the prediction horizon N .

64We compare the mean and maximum online computational (CPU) time and memory footprint required to evaluate and store the DPC and eMPC control policies. As shown in Table 2, the online evaluation of both control policies is extremely fast in terms of CPU time. This property is crucial for controlling fast and highly dynamical systems with high-frequency sampling rates, such as UAVs or agile robotic systems. However, memory requirements are significantly different for linearly scalable DPC compared to exponentially growing requirements of eMPC. In the case of eMPC, its enormous memory demands limit the applicability of this control strategy only to small scale systems with very low prediction horizons. Contrary to eMPC, DPC policies have an extremely low memory footprint regardless of the prediction horizon's length, opening the doors to large-scale practical control applications.

65To deeper understand the reported memory requirements, we evaluate the complexity of the control policies in terms of the number of parameters for DPC and the number of critical regions for eMPC. Table 2 shows that the number of parameters of the DPC scale linearly with the increasing prediction horizon N , while a number of critical regions of eMPC scales exponentially. The reason behind this is that complexity of eMPC policy (3.2) is primarily given by the number of constraints that scale exponentially with the length of the prediction horizon and the number of optimized variables. On the other hand, the complexity of DPC policy depends mainly on the number of hidden nodes and the number of layers, which allows it to scale to large state-action spaces with long prediction horizons. Table 2 also reports the construction time for the eMPC policy using multiparametric programming [66,82], to give the reader notions about the limitations of this solution method. Specifically, we direct the attention to the construction time of the eMPC with N = 10 for which the generation of the associated controller took almost 3−days. Contrarily, the construction time of DPC scales linearly to a large prediction horizon, as reported in Table 2. Here we demonstrate a tremendous potential of the proposed DPC policies to scale up to large-scale control problems way beyond the reach of classical eMPC.

Limitations and Future Work

66Despite experimentally demonstrated robust performance, the proposed DPC method as described in this paper does not provide theoretical guarantees on the constraints satisfaction or closed-loop system stability. From a theoretical perspective, structural similarity of the underlying optimization problem to well studied MPC problem presents opportunities for further extensions of the proposed DPC methodology. Some examples include adaptive control via online updates of the nonlinear system model, robust and stochastic control via constraints tightening, or closed-loop stability guarantees based on stability of MPC [83,84,85]. Additional extensions include offset-free formulation with augmented state space model and control error integrator dynamics recently proposed for neural network-based controllers [86]. From the deep learning perspective, methods such as [55] can be employed to obtain hard constraints satisfaction guarantees on states and control actions. From the system identification perspective, various neural architectures might be more or less suitable to parametrize the proposed neural state space models, depending on the underlying dynamical system. Straightforward model architecture extensions of the proposed methodology may include a whole range of differentiable models, for instance, sparse identification of nonlinear dynamics (SINDy) [87], multistep neural networks [88], or graph neural networks [89].

Conclusions

67We have experimentally demonstrated that it is possible to train constrained optimal control policies purely based on the observations of the dynamics of the unknown nonlinear system. The principle is based on optimizing control policies with constraints penalty functions by differentiating trained neural state-space models representing an internal model of the observed nonlinear system. We denote this control approach constrained differentiable predictive control (DPC).

68We compare the performance of trained DPC policy against classical explicit model predictive control (eMPC). The control algorithms are implemented on a laboratory device with the Raspberry-Pi platform. In comparison with eMPC using a linear model, DPC achieves better control performance due to the nonlinear system dynamics model and the reference and constraints preview capability. However, most importantly, DPC has unprecedented scalability beyond the limitations of eMPC. DPC scales well with increased problem complexity defined by the length of the prediction horizon resulting in an increased number of decision variables and constraints of the underlying optimization problem. DPC demonstrates linear scalability in terms of memory footprint, number of policy parameters, and required construction time. Therefore, we believe that the proposed DPC method has the potential for wide adoption in large-scale control systems with limited computational resources and fast sampling rates.

참고문헌 90건

  1. System identification—Theory for the user Automatica · Elsevier BV · 1989 10.1016/0005-1098(89)90019-8
  2. On multi-parametric nonlinear programming and explicit nonlinear model predictive control 2003 10.1109/cdc.2002.1184260
  3. Approximate explicit linear MPC via Delaunay tessellation 2022 European Control Conference (ECC) · 2009 10.23919/ecc.2009.7074837
  4. Adam: A Method for Stochastic Optimization 2014
  5. Multi-Parametric Toolbox 3.0 2022 European Control Conference (ECC) · 2013 10.23919/ecc.2013.6669862
  6. Constrained Convolutional Neural Networks for Weakly Supervised Segmentation 2015 10.1109/iccv.2015.209
  7. Learning deep control policies for autonomous aerial vehicles with MPC-guided policy search 2016 10.1109/icra.2016.7487175
  8. 28th European Symposium on Computer Aided Process Engineering Computer-aided chemical engineering/Computer aided chemical engineering · Elsevier BV · 2018 10.1016/c2018-1-02251-9
  9. Constrained model predictive control: Stability and optimality Automatica · Elsevier BV · 2000 10.1016/s0005-1098(99)00214-9
  10. Clipping-Based Complexity Reduction in Explicit MPC IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2011 10.1109/tac.2011.2179428
  11. Complexity reduction of explicit model predictive control via separation Automatica · Elsevier BV · 2013 10.1016/j.automatica.2013.02.018
  12. The explicit linear quadratic regulator for constrained systems Automatica · Elsevier BV · 2002 10.1016/s0005-1098(01)00174-1
  13. Dynamic mode decomposition of numerical and experimental data Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112010001217
  14. Stabilizing polynomial approximation of explicit MPC Automatica · Elsevier BV · 2011 10.1016/j.automatica.2011.08.023
  15. Robust disturbance modeling for model predictive control with application to multivariable ill-conditioned processes Journal of Process Control · Elsevier BV · 2003 10.1016/s0959-1524(02)00134-8
  16. Polytopic Approximation of Explicit Model Predictive Controllers IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2010 10.1109/tac.2010.2047437
  17. Stability of model predictive control with mixed constraints IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1995 10.1109/9.467664
  18. Complexity Reduction in Explicit MPC through Model Reduction IFAC Proceedings Volumes · Elsevier BV · 2008 10.3182/20080706-5-kr-1001.01304
  19. Discovering governing equations from data by sparse identification of nonlinear dynamical systems Proceedings of the National Academy of Sciences · National Academy of Sciences · 2016 10.1073/pnas.1517384113
  20. DeepMPC: Learning Deep Latent Features for Model Predictive Control 2015 10.15607/rss.2015.xi.012
  21. On region-free explicit model predictive control 2021 60th IEEE Conference on Decision and Control (CDC) · 2015 10.1109/cdc.2015.7402788
  22. Combining the benefits of function approximation and trajectory optimization 2014 10.15607/rss.2014.x.052
  23. Bridging Nonlinearities and Stochastic Regularizers with Gaussian Error Linear Units arXiv (Cornell University) · Cornell University · 2016
  24. Input Convex Neural Networks arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1609.07152
  25. Nonlinear Systems Identification Using Deep Dynamic Neural Networks arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1610.01439
  26. Optimal control of a laboratory binary distillation column via regionless explicit MPC Computers & Chemical Engineering · Elsevier BV · 2016 10.1016/j.compchemeng.2016.10.003
  27. On multi-parametric programming and its applications in process systems engineering Process Safety and Environmental Protection · Elsevier BV · 2016 10.1016/j.cherd.2016.09.034
  28. 2015 European Control Conference 2015
  29. Explicit model predictive control: A connected-graph approach Automatica · Elsevier BV · 2016 10.1016/j.automatica.2016.10.005
  30. Linear predictors for nonlinear dynamical systems: Koopman operator meets model predictive control Automatica · Elsevier BV · 2018 10.1016/j.automatica.2018.03.046
  31. Python code generation for explicit MPC in MPT 2022 European Control Conference (ECC) · 2016 10.1109/ecc.2016.7810473
  32. Constrained Deep Weak Supervision for Histopathology Image Segmentation IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 2017 10.1109/tmi.2017.2724070
  33. Convex Lifting: Theory and Control Applications IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2017 10.1109/tac.2017.2737234
  34. Cautious Model Predictive Control Using Gaussian Process Regression IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcst.2019.2949757
  35. Predictive Control for Linear and Hybrid Systems 2017 10.1017/9781139061759
  36. Deep learning for universal linear embeddings of nonlinear dynamics Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-07210-0
  37. Approximate model predictive building control via machine learning Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.02.156
  38. A Constrained Deep Neural Network for Ordinal Regression 2018 10.1109/cvpr.2018.00093
  39. Data-Driven Predictive Control for Autonomous Systems Annual Review of Control Robotics and Autonomous Systems · Annual Reviews · 2018 10.1146/annurev-control-060117-105215
  40. Learning an Approximate Model Predictive Controller With Guarantees IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2018 101109lcsys20182843682
  41. Explicit Nonlinear Model Predictive Control for Electric Vehicle Traction Control IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcst.2018.2837097
  42. CasADi: a software framework for nonlinear optimization and optimal control Mathematical Programming Computation · Springer Science+Business Media · 2018 10.1007/s12532-018-0139-4
  43. Structured Neural Network Dynamics for Model-based Control arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1808.01184
  44. Approximating Explicit Model Predictive Control Using Constrained Neural Networks 2018 10.23919/acc.2018.8431275
  45. Differentiable MPC for End-to-end Planning and Control arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1810.13400
  46. End-to-End Differentiable Physics for Learning and Control Neural Information Processing Systems · 2018
  47. Deep Learning-Based Model Predictive Control for Resonant Power Converters IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.2969729
  48. A deep learning-based approach to robust nonlinear model predictive control IFAC-PapersOnLine · Elsevier BV · 2018 10.1016/j.ifacol.2018.11.038
  49. Complexity reduction in explicit MPC: A reachability approach Systems & Control Letters · Elsevier BV · 2018 10.1016/j.sysconle.2018.12.002
  50. Learning Nonlinear State-Space Models Using Deep Autoencoders 2018 10.1109/cdc.2018.8619475
  51. Log-barrier constrained CNNs. arXiv (Cornell University) · Cornell University · 2019
  52. Deep Model Predictive Control with Online Learning for Complex Physical Systems. arXiv (Cornell University) · Cornell University · 2019
  53. Hamiltonian Neural Networks arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1906.01563
  54. A Differentiable Physics Engine for Deep Learning in Robotics arXiv (Cornell University) · Cornell University · 2016
  55. Deep Lagrangian Networks: Using Physics as Model Prior for Deep Learning 2019
  56. Optimal Control Via Neural Networks: A Convex Approach arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1805.11835
  57. Machine learning‐based predictive control of nonlinear processes. Part I: Theory AIChE Journal · Wiley · 2019 10.1002/aic.16729
  58. Structured Inference Networks for Nonlinear State Space Models Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.10779
  59. Propagation Networks for Model-Based Control Under Partial Observation 2022 International Conference on Robotics and Automation (ICRA) · 2019 10.1109/icra.2019.8793509
  60. Barrier Function-Based Adaptive Control for Uncertain Strict-Feedback Systems Within Predefined Neural Network Approximation Sets IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tnnls.2019.2934403
  61. Nonlinear System Identification: A User-Oriented Road Map IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/mcs.2019.2938121
  62. Adaptive Neural Quantized Control of MIMO Nonlinear Systems Under Actuation Faults and Time-Varying Output Constraints IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tnnls.2019.2944690
  63. Control Barrier Functions for Mechanical Systems: Theory and Application to Robotic Grasping IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcst.2019.2952317
  64. Advancing non-convex and constrained learning AI Matters · Association for Computing Machinery · 2019 10.1145/3362077.3362085
  65. Neural network based explicit MPC for chemical reactor control Acta Chimica Slovaca · De Gruyter · 2019 10.2478/acs-2019-0030
  66. Linearly Constrained Neural Networks arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2002.01600
  67. Integrating deep learning models and multiparametric programming Computers & Chemical Engineering · Elsevier BV · 2020 10.1016/j.compchemeng.2020.106801
  68. Data-Driven Model Predictive Control using Interpolated Koopman Generators SIAM Journal on Applied Dynamical Systems · Society for Industrial and Applied Mathematics · 2020 10.1137/20m1325678
  69. Constrained Neural Ordinary Differential Equations with Stability Guarantees arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2004.10883
  70. Integrating dynamic neural network models with principal component analysis for adaptive model predictive control Process Safety and Environmental Protection · Elsevier BV · 2020 10.1016/j.cherd.2020.03.031
  71. Near-Optimal Rapid MPC Using Neural Networks: A Primal-Dual Policy Learning Framework IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcst.2020.3024571
  72. On the Use of Difference of Log-Sum-Exp Neural Networks to Solve Data-Driven Model Predictive Control Tracking Problems IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2020 10.1109/lcsys.2020.3032083
  73. Learning an Approximate Model Predictive Controller With Guarantees IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2018 10.1109/lcsys.2018.2843682
  74. Data-Driven Model Predictive Control using Interpolated Koopman Generators SIAM Journal on Applied Dynamical Systems · Society for Industrial and Applied Mathematics · 2020 10.1137/20m1325678
  75. Cautious Model Predictive Control Using Gaussian Process Regression IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcst.2019.2949757
  76. Multiparametric Programming in Process Systems Engineering: Recent Developments and Path Forward Frontiers in Chemical Engineering · Frontiers Media · 2021 10.3389/fceng.2020.620168
  77. Approximate moving horizon estimation and robust nonlinear model predictive control via deep learning Computers & Chemical Engineering · Elsevier BV · 2021 10.1016/j.compchemeng.2021.107266
  78. A predictive safety filter for learning-based control of constrained nonlinear dynamical systems Automatica · Elsevier BV · 2021 10.1016/j.automatica.2021.109597
  79. A Neural Network Architecture to Learn Explicit MPC Controllers from Data IFAC-PapersOnLine · Elsevier BV · 2020 10.1016/j.ifacol.2020.12.546
  80. Multiparametric/explicit nonlinear model predictive control for quadratically constrained problems Journal of Process Control · Elsevier BV · 2021 10.1016/j.jprocont.2021.05.001
  81. Online reinforcement learning for a continuous space system with experimental validation Journal of Process Control · Elsevier BV · 2021 10.1016/j.jprocont.2021.06.004
  82. Constrained Block Nonlinear Neural Dynamical Models 2022 American Control Conference (ACC) · 2021 10.23919/acc50511.2021.9482930
  83. Proceedings of the 3rd Conference on Learning for Dynamics and Control 2021
  84. On-line optimization via off-line parametric optimization tools Computers & Chemical Engineering · Elsevier BV · 2002 10.1016/s0098-1354(01)00739-6
  85. Learning Constrained Adaptive Differentiable Predictive Control Policies With Guarantees arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2004.11184
  86. Learning Latent Dynamics for Planning from Pixels arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1811.04551
  87. Imposing Hard Constraints on Deep Networks: Promises and Limitations arXiv (Cornell University) · Cornell University · 2017
  88. Multistep Neural Networks for Data-driven Discovery of Nonlinear\n Dynamical Systems arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1801.01236
  89. Robustness in identification and control Lecture notes in control and information sciences · Springer Science+Business Media · 1999 10.1007/bfb0109854
  90. A Differentiable Programming System to Bridge Machine Learning and Scientific Computing arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1907.07587