NMPCM: Nonlinear Model Predictive Control on Resource-Constrained Microcontrollers

📅 2025-07-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Deploying full nonlinear model predictive control (NMPC) on resource-constrained microcontrollers remains challenging due to high computational demands. Method: This paper proposes NMPCM, a lightweight algorithmic framework enabling end-to-end, approximation-free, real-time NMPC execution on embedded platforms. It integrates accurate nonlinear dynamics modeling, a custom embedded optimization solver, and computation-control co-scheduling—constituting a system-level optimization strategy. Contribution/Results: NMPCM achieves millisecond-scale per-step solve times while preserving high-precision trajectory tracking and strong robustness. It is validated both in simulation and on a quadrotor UAV platform (STM32H7 microcontroller with ROS/Gazebo), supporting closed-loop control frequencies exceeding 50 Hz. The implementation is fully open-sourced, establishing a reproducible embedded NMPC paradigm for edge-intelligent control.

Technology Category

Application Category

📝 Abstract
Nonlinear Model Predictive Control (NMPC) is a powerful approach for controlling highly dynamic robotic systems, as it accounts for system dynamics and optimizes control inputs at each step. However, its high computational complexity makes implementation on resource-constrained microcontrollers impractical. While recent studies have demonstrated the feasibility of Model Predictive Control (MPC) with linearized dynamics on microcontrollers, applying full NMPC remains a significant challenge. This work presents an efficient solution for generating and deploying NMPC on microcontrollers (NMPCM) to control quadrotor UAVs. The proposed method optimizes computational efficiency while maintaining high control accuracy. Simulations in Gazebo/ROS and real-world experiments validate the effectiveness of the approach, demonstrating its capability to achieve high-frequency NMPC execution in real-time systems. The code is available at: https://github.com/aralab-unr/NMPCM.
Problem

Research questions and friction points this paper is trying to address.

Implementing NMPC on resource-constrained microcontrollers efficiently
Optimizing computational efficiency while maintaining control accuracy
Achieving high-frequency NMPC execution in real-time systems
Innovation

Methods, ideas, or system contributions that make the work stand out.

Efficient NMPC for microcontrollers
Optimizes computational efficiency and accuracy
Real-time high-frequency NMPC execution
🔎 Similar Papers
No similar papers found.
V
Van Chung Nguyen
Advanced Robotics and Automation (ARA) Lab, Department of Computer Science and Engineering, University of Nevada, Reno, NV 89557, USA
P
Pratik Walunj
Advanced Robotics and Automation (ARA) Lab, Department of Computer Science and Engineering, University of Nevada, Reno, NV 89557, USA
C
Chuong Le
Advanced Robotics and Automation (ARA) Lab, Department of Computer Science and Engineering, University of Nevada, Reno, NV 89557, USA
A
An Duy Nguyen
Advanced Robotics and Automation (ARA) Lab, Department of Computer Science and Engineering, University of Nevada, Reno, NV 89557, USA
Hung Manh La
Hung Manh La
Associate Professor, Computer Science & Engineering, University of Nevada
RoboticsAIMobile Sensor NetworksMulti-robot SystemsAutomation