基于Simulink和C++混合编程的测试系统建模技术研究  被引量:3

Research on Testing System Modeling Based on Simulink and C++ Mixed Programming

在线阅读下载全文

作  者:戴阳[1] 杨向忠[1] 

机构地区:[1]北京青云航空仪表有限公司,北京100086

出  处:《计算机测量与控制》2014年第6期1680-1682,共3页Computer Measurement &Control

摘  要:介绍了一种基于Simulink和C++混合编程技术的自动飞行控制系统测试系统建模技术及调试方法;基于Simulink搭建飞行仿真模型,通过RTW自动代码生成工具将各仿真模块分别生成嵌入式代码,并集成应用于C++软件设计环境中;通过对时钟的有效设定,实现了基于Windows系统的实时飞行仿真测试系统的设计,仿真软件的最小运算周期为2ms;该技术不仅可以满足自动飞行控制系统飞行仿真试验的实时性要求,并且在软件开放性、接口扩展性、板卡驱动的通用性以及软件设计功能多样性等方面占有较大优势;基于这个技术建立而成的仿真测试系统,某型自动飞行控制计算机已经成功的开展了多轮半物理仿真验证试验,并取得了良好的试验效果,从而为产品的试飞定型奠定了坚实的基础。This paper introduces a solution for designing a real--time flight tesing system based on Simulink and C+ + mixed program- ruing. The modules of aircraft are designed and tested in Simulink, and generated into C code separately by RTW toolbox, then applied into C+ + project in Windows system, which is reasonably using the Windows timer with a minimums sample time at 2ms. This flight testing sys- tem can not only satisfy the real time require of the flight simulation of the AFCS, but also provide an easier way to design GUI and board card driver API. Based on this flight testing system, hardware in the loop (HIL) ground experiments have been made successfully with the AFCS, which helped the product to finalize in the future.

关 键 词:飞行仿真 测试系统 SIMULINK C++ 混合编程 

分 类 号:TP751[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象