Skip to main content
QUICK REVIEW

[Paper Review] Differentiable Predictive Control: An MPC Alternative for Unknown Nonlinear Systems using Constrained Deep Learning.

Ján Drgoňa, Karol Kiš|arXiv (Cornell University)|Nov 7, 2020
Advanced Control Systems OptimizationEngineering65 references10 citations
TL;DR

This paper proposes Differentiable Predictive Control (DPC), a data-driven control method that learns optimal control policies end-to-end from system time-series data without requiring a known dynamics model. By differentiating through a learned dynamics model and enforcing constraints via penalty methods, DPC achieves superior reference tracking and computational efficiency over explicit MPC and PI control, with linear scalability in contrast to exponential scaling in traditional explicit MPC.

ABSTRACT

We present an alternative to model predictive control (MPC) for unknown nonlinear systems in low-resource embedded device settings. The structure of the presented data-driven control policy learning method, Differentiable Predictive Control (DPC), echos the structure of classical MPC, by i) using a prediction model capturing controlled system dynamics, ii) receding horizon optimal control action predictions, and iii) enforcing inequality constraints via penalty methods. However, contrary to MPC, the presented control architecture does not require the system dynamics model to synthesize the control policy. Instead, a dynamics model is learned end-to-end from time-series measurements of the system dynamics in the off-policy setup. The control policy is then optimized via gradient descent by differentiating the closed-loop system dynamics model. The proposed architecture allows to train the control policy to track the distribution of reference signals and handle time-varying inequality constraints. We experimentally demonstrate that it is possible to train generalizing constrained optimal control policies purely based on the observations of the dynamics of the unknown nonlinear system. The proposed control method is applied to a laboratory device in embedded implementation using a Raspberry Pi micro-controller. We demonstrate superior reference tracking control performance compared to classical explicit MPC and a baseline PI controller, and pivotal efficiency gains in online computational demands, memory requirements, policy complexity, and construction. Beyond improved control performance, the DPC method scales linearly compared to exponential scalability of the explicit MPC solved via multiparametric programming, hence, opening doors for applications in nonlinear systems with a large number of variables and fast sampling rates which are beyond the reach of classical explicit MPC.

Motivation & Objective

  • To develop a control method for unknown nonlinear systems that avoids the need for explicit system models or complex online optimization.
  • To enable real-time control on low-resource embedded devices such as Raspberry Pi by reducing online computational and memory demands.
  • To achieve scalable control policy learning that maintains performance across systems with many variables and fast sampling rates.
  • To support time-varying inequality constraints and reference tracking through end-to-end differentiable optimization.
  • To provide an alternative to explicit model predictive control (MPC) that scales linearly rather than exponentially with system dimensionality.

Proposed method

  • DPC uses a differentiable, end-to-end learned dynamics model trained from off-policy time-series data of the system's behavior.
  • The control policy is optimized via gradient descent by backpropagating through the closed-loop dynamics model, enabling direct policy learning.
  • A receding horizon framework is employed to predict future control actions, similar to classical MPC, but without requiring online QP solves.
  • Inequality constraints are enforced using penalty methods integrated into the differentiable loss function, allowing soft constraint handling.
  • The method supports generalization to unseen reference signals and time-varying constraints through end-to-end training.
  • The architecture is designed for deployment on embedded systems, minimizing memory footprint and online computation.

Experimental results

Research questions

  • RQ1Can a control policy be learned purely from system observations without prior knowledge of the system dynamics?
  • RQ2Can differentiable learning through a neural dynamics model achieve better control performance than classical MPC or PI controllers in unknown nonlinear systems?
  • RQ3Does the proposed method scale efficiently with system dimensionality compared to explicit MPC, which suffers from exponential complexity?
  • RQ4Can the method handle time-varying reference signals and constraints in a data-driven, end-to-end trainable manner?
  • RQ5Is the method deployable on low-resource embedded platforms with minimal online computational overhead?

Key findings

  • DPC achieves superior reference tracking performance compared to both classical explicit MPC and baseline PI control in experimental validation.
  • The method demonstrates significant efficiency gains in online computational demands, memory requirements, and policy complexity compared to explicit MPC.
  • DPC scales linearly with system dimensionality, in contrast to the exponential scaling of explicit MPC via multiparametric programming.
  • The learned control policy generalizes to unseen reference signals and adapts to time-varying inequality constraints through end-to-end training.
  • The method is successfully deployed on a Raspberry Pi micro-controller, confirming its feasibility for embedded, real-time control applications.
  • The use of differentiable dynamics learning enables gradient-based optimization of the control policy without requiring analytical system models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.