基于锥约束的模型预测控制与代码生成:适用于微控制器的Conic-TinyMPC
Code Generation and Conic Constraints for Model-Predictive Control on Microcontrollers with Conic-TinyMPC
AI总结:
本文提出一种适用于微控制器的模型预测控制方法,通过支持二次锥约束和自动生成C++代码,显著提升了嵌入式系统的求解速度和问题规模。
摘要:
模型预测控制(MPC)是受约束机器人系统中的一种前沿控制方法,但在资源受限硬件上的部署仍然具有挑战性。这一挑战进一步加剧了表达性锥约束的使用,因为它们提供了更强的建模能力,但需要比线性替代方案显著更多的计算资源。为了解决这一挑战,我们扩展了最近开发的快速、结构利用、缓存求解器的工作,基于交替方向乘子法(ADMM)以支持二次锥,以及从Python、MATLAB和Julia生成C++代码。微控制器基准测试显示,我们的求解器在QP和SOCP问题上比最先进的嵌入式求解器快了十倍到一百四十二点七倍,使我们能够以量级更大的问题在内存中运行。我们通过模拟和硬件实验验证了求解器的部署性能,包括在27克Crazyflie四旋翼上的轨迹跟踪与锥约束。我们的开源代码可在https://tinympc.org上获得。
英文摘要:
Model-predictive control (MPC) is a state-of-the-art control method for constrained robotic systems, yet deployment on resource-limited hardware remains difficult. This challenge is magnified by expressive conic constraints, which offer greater modeling power but require significantly more computation than linear alternatives. To address this challenge, we extend recent work developing fast, structure-exploiting, cached solvers for embedded applications based on the Alternating Direction Method of Multipliers (ADMM) to provide support for second-order cones, as well as C++ code generation from Python, MATLAB, and Julia. Microcontroller benchmarks show that our solver provides up to a two-order-of-magnitude speedup, ranging from 10.6x to 142.7x, over state-of-the-art embedded solvers on QP and SOCP problems, and enables us to fit order-of-magnitude larger problems in memory. We validate our solver's deployed performance through simulation and hardware experiments, including trajectory tracking with conic constraints on a 27g Crazyflie quadrotor. Our open-source code is available at https://tinympc.org.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。