系统仿真学报 ›› 2023, Vol. 35 ›› Issue (10): 2279-2287.doi: 10.16182/j.issn1004731x.joss.23-FZ0856

• 论文 • 上一篇    

基于自定义向导的通用实时半实物仿真代码自动生成方法

刘紫寒, 侯凌霄, 李杨, 王智广, 张武龙   

  1. 北京仿真中心 复杂系统建模与仿真全国重点实验室,北京 100854
  • 收稿日期:2023-07-07 修回日期:2023-09-19 出版日期:2023-10-30 发布日期:2023-10-26
  • 第一作者简介:刘紫寒(1996-),女,硕士,工程师,研究方向为制导控制系统半实物仿真。

An Automatic Code Generation Method for Generic Real-time Hardware-in-the-loop Simulation Based on Custom Wizard

Liu Zihan, Hou Lingxiao, Li Yang, Wang Zhiguang, Zhang Wulong   

  1. National Key Laboratory of Modeling and Simulation for Complex Systems, Beijing Simulation Center, Beijing 100854, China
  • Received:2023-07-07 Revised:2023-09-19 Online:2023-10-30 Published:2023-10-26

摘要:

面向自动化、通用化半实物仿真能力提升需求,提出了一种基于自定义向导的通用实时半实物仿真代码自动生成方法。基于半实物仿真技术构建了模块化、通用化的代码模板框架文件和专业技术成果资源库;基于HTML+CSS+JavaScript语言完成了响应式前端界面和引擎脚本文件设计;开发了面向半实物仿真的通用自动代码生成软件AutoSimRTX,有效支撑了半实物仿真验证系统的构建和实现。

关键词: 自动代码生成, 半实物仿真, 自定义向导, 模板, AutoSimRTX

Abstract:

For the capability improvement demands of automation and generalization hardware-in-the-loop simulation system, an automatic code generation method for generic real-time hardware-in-the-loop simulation based on custom wizard is proposed. A modular and universal code template-based frame documents and professional resource library are constructed with years of technical accumulation in hardware-in-the-loop simulation. The responsive front-ends and scripts are designed by HTML, CSS and JavaScript and an universal automatic code generation software AutoSimRTX is developed, which effectively supports the construction of hardware-in-the-loop simulation system.

Key words: automatic code generation, hardware-in-the-loop simulation, custom wizard, template-based, AutoSimRTX

中图分类号: