arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.08567cs.LGcs.SYeess.SY
收藏

基于Python的Simulink模型强化学习

Python-Based Reinforcement Learning on Simulink Models

Josef Ressel Centre for Intelligent and Secure Industrial Automation(约瑟夫·雷塞尔智能与安全工业自动化中心);Salzburg University of Applied Sciences(萨尔茨堡应用科技大学);Paris Lodron University of Salzburg(巴黎洛顿萨尔茨堡大学)

Georg Schäfer, Max Schirl, Jakob Rehrl, Stefan Huber, Simon Hirlaender

AI总结:

本研究提出一种结合Python与Simulink模型的强化学习智能体训练框架,通过C代码生成、DLL编译等集成步骤实现策略无缝迁移,在Quanser Aero 2上验证其有效性并超越以往方法。

摘要:

本文提出了一种结合Python与Simulink模型训练强化学习智能体的框架。利用Python出色的可定制性及Stable Baselines3等流行库,我们旨在弥合成熟的Simulink环境与Python训练前沿智能体的灵活性之间的差距。该方法在多功能双旋翼直升机Quanser Aero 2上进行了验证。我们表明,在Simulink模型上训练的策略可无缝迁移到真实系统,从而实现控制任务强化学习智能体的高效开发与部署。通过系统化的集成步骤,包括Simulink的C代码生成、DLL编译及Python接口开发,我们构建了一个在Simulink模型上训练智能体的鲁棒框架。实验结果证明了该方法的有效性,其性能超越了以往研究,凸显了将Simulink与Python结合用于强化学习研究与应用的潜力。

英文摘要:

This paper proposes a framework for training Reinforcement Learning agents using Python in conjunction with Simulink models. Leveraging Python's superior customization options and popular libraries like Stable Baselines3, we aim to bridge the gap between the established Simulink environment and the flexibility of Python for training bleeding edge agents. Our approach is demonstrated on the Quanser Aero 2, a versatile dual-rotor helicopter. We show that policies trained on Simulink models can be seamlessly transferred to the real system, enabling efficient development and deployment of Reinforcement Learning agents for control tasks. Through systematic integration steps, including C-code generation from Simulink, DLL compilation, and Python interface development, we establish a robust framework for training agents on Simulink models. Experimental results demonstrate the effectiveness of our approach, surpassing previous efforts and highlighting the potential of combining Simulink with Python for Reinforcement Learning research and applications.

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

↑