A Method for Reducing the Complexity of Model Predictive Control in Robotics Applications

Michael Muehlebach, Raffaello D'Andrea

Abstract

This paper introduces a novel approach to simplifying Model Predictive Control (MPC) by parametrizing trajectories using time-shift invariant basis functions. This method significantly reduces the number of decision variables in the optimization problem while enabling efficient "warm-starting," a critical feature for real-time performance. Experimental results on a pendulum-on-a-cart system demonstrate that the proposed framework allows complex nonlinear robotic tasks to run on hardware with limited computational power, maintaining stability and constraint satisfaction.

Introduction

Model Predictive Control (MPC) is a cornerstone of modern robotics due to its inherent ability to handle system constraints, such as motor voltage limits or physical workspace boundaries. However, the computational burden of solving a complex optimization problem at every sampling interval remains a significant hurdle for deployment on low-power embedded systems.

Engineers often attempt to mitigate this by reducing the degrees of freedom in the optimizer. Unfortunately, standard reduction techniques frequently break "warm-starting"—the practice of using the previous step's solution as a starting point for the current one. Without a valid warm-start, the optimizer requires more iterations to converge, potentially exceeding the real-time control window. This work proposes a parametrization strategy that preserves warm-startability while drastically reducing computational complexity.

Methods

The authors propose parametrizing both input and state trajectories using a set of basis functions with specific mathematical properties.

Time-Shift Invariance

The core innovation is the requirement that basis functions $\tau(k)$ satisfy a linear relationship: $\tau(k+1) = M\tau(k)$. This time-shift invariance ensures that a trajectory calculated at time $t$ can be mathematically shifted to provide a high-quality initial guess for time $t+1$. This preserves the efficiency of warm-starting even within a reduced-order parameter space.

Galerkin Projection of Dynamics

To incorporate system physics, the authors employ a Galerkin-style method. Instead of enforcing discrete-time dynamics at every point along the horizon, they project the dynamics onto the space spanned by the basis functions. This transforms the differential or difference equations into a compact set of algebraic constraints on the trajectory parameters.

Stability via Decaying Functions

By selecting basis functions that decay exponentially (such as Laguerre functions), the framework can effectively manage an infinite prediction horizon. This approach provides inherent stability and recursive feasibility for linear systems without the need for computationally expensive terminal constraints. Physical constraints are checked over a finite horizon $N_{max}$, which is proven sufficient for decaying trajectories.

Key Results

The method was evaluated using both simulations and a physical experimental rig consisting of a pendulum on a 0.9m rail.

Figure 1: Comparison of execution time vs. closed-loop performance. The proposed approach ("app. herein") achieves a better trade-off between computational speed and control cost compared to existing state-of-the-art methods.

Efficiency and Real-Time Performance

In benchmark simulations, the proposed method achieved lower control costs at the same execution time compared to traditional Laguerre-based MPC. In the physical pendulum experiment, the authors reduced the number of optimization variables from 250 to 85. This allowed the nonlinear swing-up maneuver to be solved in under 20ms, fitting within the system's 50Hz control loop.

Figure 6: Experimental data from the pendulum swing-up maneuver. The plots show the successful management of cart position constraints and input voltage limits during the highly nonlinear transition from a hanging to an upright position.

Robustness

Experimental data confirmed that the warm-start guess remains resilient even when the robot's state is perturbed by noise or unmodeled dynamics, such as dry friction in the cart rail. The optimizer consistently converged to a feasible solution within the required sampling time.

Conclusion

By enforcing time-shift invariance on basis functions, this research provides a mathematically rigorous way to reduce MPC complexity without sacrificing the benefits of warm-starting. While the current stability proofs focus on linear time-invariant systems, the experimental success on a nonlinear pendulum rig suggests the method is robust for a wide range of robotics applications. Future work will explore automated tuning of basis function parameters and methods to compensate for model mismatches in physical environments.

Summary updated

Abstract

This letter describes an approach for parametrizing input and state trajectories in model predictive control. The parametrization is designed to be invariant to time shifts, which enables warm-starting the successive optimization problems and reduces the computational complexity of the online optimization. It is shown that in certain cases (e.g., for linear time-invariant dynamics with input and state constraints) the parametrization leads to inherent stability and the recursive feasibility guarantees without additional terminal set constraints. Due to the fact that the number of decision variables are greatly reduced through the parametrization, the warm-starting capabilities are preserved, and the approach is suitable for applications where the available computational resources (memory and CPU-power) are limited.
BibTeX
@article{muehlebach2019method,
  author = {Michael Muehlebach and Raffaello D'Andrea},
  title = {{A Method for Reducing the Complexity of Model Predictive Control in Robotics Applications}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2019},
  url = {https://openreview.net/forum?id=jUQQ4f4uwX},
}
Figure