arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.13656eess.SYcs.MScs.ROcs.SY
收藏

AutoMPC:一种用于基于MPC的自动驾驶的代码生成器

AutoMPC: A Code Generator for MPC-based Automated Driving

University of Luebeck(吕贝克大学)

Georg Schildbach, Jasper Pflughaupt

AI总结:

AutoMPC通过鲁棒化主动集非线性MPC算法和自动生成高效C代码,解决了MPC在自动驾驶量产中计算需求高和实现复杂的问题,并支持多种驾驶场景。

摘要:

模型预测控制(MPC)是一种强大的技术,用于控制受输入和状态约束的非线性、多输入多输出系统。它现已成为自动驾驶车辆轨迹跟踪控制的标准工具,并因此在许多研发项目中得到应用。然而,MPC在集成到工业量产车辆中时面临若干挑战,其中最重要的是其高计算需求和实现复杂性。软件包AutoMPC旨在解决这两个挑战。它构建于非线性MPC的主动集算法的鲁棒化版本之上。该算法被嵌入到一个用于车辆轨迹跟踪的框架中,使其易于使用且高度可定制。自动代码生成将所选配置转换为独立的、计算高效的C代码文件,并采用静态内存分配。因此,它可以方便地部署在广泛的嵌入式平台上,例如基于Matlab/Simulink或机器人操作系统(ROS)的平台。与先前版本的代码相比,除了基本算法参数外,车辆模型和数值积分方法也可以手动指定。所有这些信息和所有规格都直接固化在生成的C代码中。该算法适用于低速或高速驾驶场景,甚至包括漂移,并支持方向改变。多个仿真场景展示了AutoMPC代码的通用性和有效性,同时保证了可行解、高度的鲁棒性以及计算效率。

英文摘要:

Model Predictive Control (MPC) is a powerful technique to control nonlinear, multi-input multi-output systems subject to input and state constraints. It is now a standard tool for trajectory tracking control of automated vehicles. As such it has been used in many research and development projects. However, MPC faces several challenges to be integrated into industrial production vehicles. The most important ones are its high computational demands and the complexity of implementation. The software packages AutoMPC aims to address both of these challenges. It builds on a robustified version of an active set algorithm for Nonlinear MPC. The algorithm is embedded into a framework for vehicle trajectory tracking, which makes it easy to used, yet highly customizable. Automatic code generation transforms the selections into a standalone, computationally efficient C-code file with static memory allocation. As such it can be readily deployed on a wide range of embedded platforms, e.g., based on Matlab/Simulink or Robot Operating System (ROS). Compared to a previous version of the code, the vehicle model and the numerical integration method can be manually specified, besides basic algorithm parameters. All of this information and all specifications are directly baked into the generated C-code. The algorithm is suitable driving scenarios at low or high speeds, even drifting, and supports direction changes. Multiple simulation scenarios show the versatility and effectiveness of the AutoMPC code, with the guarantee of a feasible solution, a high degree of robustness, and computational efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑