摘 要: 由于商业半实物仿真平台往往需要配合专用硬件使用,通用性较差、价格高昂,且国内半实物仿真平台 较少,难以满足半实物仿真技术的学习教学需求。因此,本文设计实现了一种基于组合式仪器平台和Simulink的半实物 仿真系统,通过分析RTW代码生成过程,实现Simulink模型的实时性扩展。并通过编写脚本文件,自动生成可在组合 式仪器平台上运行的半实物仿真应用。实例运行表明,该半实物仿真平台具有较高的自动化程度和通用性。 |
关键词: 半实物仿真;Simulink;实时性;自动化 |
中图分类号: TP273+.5
文献标识码: A
|
|
Research on HIL Simulation System Based on the Combined Instrument Platform and Simulink |
GAO Ning,LI Xiaoming
|
( Faculty of Mechanical Engineering & Automation, Zhejiang Sci-Tech University, Hangzhou 310018, China)
|
Abstract: As commercial HIL (Hardware In the Loop Simulation) platforms often need to be used with special hardware,the versatility is poor and the price is high.Meanwhile,there are few HIL platforms available in our country. Therefore it cannot meet the needs of learning and using HIL technology.For this case,a HIL platform based on a combined instrument platform and Simulink was built.By analyzing the RTW code generation process,the real-time extension of the Simulink model is realized.By writing the script file,semi-physical simulation applications can be generated automatically on the platform of the combined instrument.The running example shows that the semi-physical simulation platform has a high degree of automation and versatility. |
Keywords: HIL;simulink;real-time;automation |