arXiv:2411.19258eess.SYcs.RO2024-11被引 16

让机器学习模型无缝接入实时控制软件,提升预测控制效率与适应性。

L4acados: Learning-based models for acados, applied to Gaussian process-based predictive control

  • 通过外部敏感度计算,实现Python模型与acados的高效集成
  • 相比现有工具,速度提升显著且支持并行计算
  • 适用于需高精度在线学习的机器人控制场景

将基于学习的模型(如神经网络或高斯过程)融入模型预测控制(MPC)策略,可显著提升实际应用中的控制性能和在线适应能力。然而,将机器学习框架与实时最优控制软件对接仍面临挑战。本文提出L4acados,一个通用框架,用于在实时控制软件acados中集成基于Python的动力学模型。通过用户自定义的Python模块计算外部敏感度,L4acados实现了基于学习的残差模型在acados中的MPC控制器部署,并支持在构建二次子问题时并行化敏感度计算。我们在神经网络控制示例中验证了显著的速度提升和更优的扩展性。最后,基于L4acados,我们提供了高效、模块化的高斯过程预测控制(GP-MPC)实时实现,并在两个硬件平台上验证:微型自动驾驶赛车与全尺寸自动驾驶车辆的ISO车道变换任务。

原文摘要 · Abstract (English)

Incorporating learning-based models, such as artificial neural networks or Gaussian processes, into model predictive control (MPC) strategies can significantly improve control performance and online adaptation capabilities for real-world applications. Still, enabling state-of-the-art implementations of learning-based models for MPC is complicated by the challenge of interfacing machine learning frameworks with real-time optimal control software. This work aims at filling this gap by incorporating external sensitivities in sequential quadratic programming solvers for nonlinear optimal control. To this end, we provide L4acados, a general framework for incorporating Python-based dynamics models in the real-time optimal control software acados. By computing external sensitivities via a user-defined Python module, L4acados enables the implementation of MPC controllers with learning-based residual models in acados, while supporting parallelization of sensitivity computations when preparing the quadratic subproblems. We demonstrate significant speed-ups and superior scaling properties of L4acados compared to available software using a neural-network-based control example. Last, we provide an efficient and modular real-time implementation of Gaussian process-based MPC using L4acados, which is applied to two hardware examples: autonomous miniature racing, as well as motion control of a full-scale autonomous vehicle for an ISO lane change maneuver.

模型预测控制高斯过程实时控制Python集成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。