Skip to main content
QUICK REVIEW

[Paper Review] A software framework for stochastic model predictive control of nonlinear continuous-time systems (GRAMPC-S)

Daniel Landgraf, Andreas Völz|arXiv (Cornell University)|Jul 12, 2024
Advanced Control Systems OptimizationEngineering3 citations
TL;DR

GRAMPC-S is an open-source software framework for stochastic model predictive control (SMPC) of nonlinear continuous-time systems with chance constraints. It enables real-time control by reformulating stochastic optimal control problems into deterministic ones using uncertainty propagation methods—such as unscented transformation, Monte Carlo sampling, and polynomial chaos expansion—enabling efficient solution via the GRAMPC solver with sub-millisecond computation times on embedded hardware.

ABSTRACT

This paper presents the open-source stochastic model predictive control framework GRAMPC-S for nonlinear uncertain systems with chance constraints. It provides several uncertainty propagation methods to predict stochastic moments of the system state and can consider unknown parts of the system dynamics using Gaussian process regression. These methods are used to reformulate a stochastic MPC formulation as a deterministic one that is solved with GRAMPC. The performance of the presented framework is evaluated using examples from a wide range of technical areas. The experimental evaluation shows that GRAMPC-S can be used in practice for the control of nonlinear uncertain systems with sampling times in the millisecond range.

Motivation & Objective

  • To address the challenge of controlling nonlinear continuous-time systems under uncertainty with probabilistic constraints.
  • To enable real-time implementation of stochastic model predictive control (SMPC) for systems with epistemic and aleatoric uncertainty.
  • To provide a flexible, open-source framework that supports multiple uncertainty propagation techniques and integrates with existing real-time MPC solvers.
  • To validate the framework on diverse technical systems, including a mechanical inverted pendulum, demonstrating practical feasibility.
  • To support learning of unknown system dynamics through Gaussian process regression within the SMPC framework.

Proposed method

  • Reformulates stochastic optimal control problems with chance constraints into deterministic ones using stochastic moment propagation.
  • Employs multiple uncertainty propagation methods: first-order Taylor series linearization, Stirling interpolation, unscented transformation (UT), Gaussian quadrature, Monte Carlo sampling, and polynomial chaos expansion (PCE).
  • Uses Gaussian process regression to model unknown parts of the system dynamics, improving robustness to model uncertainty.
  • Applies chance constraints by estimating the probability that state constraints are violated, based on predicted mean and covariance of the state.
  • Integrates the reformulated deterministic optimal control problem with the GRAMPC solver for real-time solution.
  • Supports both sample-based and moment-based representations of stochastic variables, enabling trade-offs between accuracy and computational cost.

Experimental results

Research questions

  • RQ1Can stochastic model predictive control be efficiently implemented in real time for nonlinear continuous-time systems with uncertainty?
  • RQ2How do different uncertainty propagation methods (e.g., UT, Monte Carlo, PCE) affect the accuracy and computational efficiency of SMPC?
  • RQ3Can the framework handle unknown system dynamics through Gaussian process regression while maintaining constraint satisfaction?
  • RQ4What is the achievable real-time performance of SMPC using GRAMPC-S on embedded hardware with millisecond sampling times?
  • RQ5How well does the framework maintain constraint satisfaction under uncertainty in practical experimental setups?

Key findings

  • GRAMPC-S enables real-time stochastic model predictive control with a mean computation time of 0.55 ms on a dSPACE MicroLabBox, with a maximum of 0.58 ms and minimum of 0.53 ms per control cycle.
  • The framework successfully stabilizes an inverted pendulum system under state uncertainty, achieving a setpoint change from 0 m to 0.65 m while satisfying the chance constraint P[xc ≤ 0.65 m] ≥ 0.95.
  • The experimental validation demonstrates that SMPC with uncertainty propagation via unscented transformation and sampling-based methods can be executed reliably at 1 ms sampling time.
  • The use of Gaussian process regression allows for effective modeling of unknown system dynamics, improving robustness in the presence of model inaccuracies.
  • Multiple uncertainty propagation techniques (UT, Monte Carlo, PCE) are implemented and validated, showing flexibility in handling different types of stochastic dynamics.
  • GRAMPC-S is distributed under the BSD-3 license and is publicly available at https://github.com/grampc/grampc-s, enabling broad adoption and extension in research and industry.

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.