基于Simulink和C++混合编程的测试系统建模技术研究
DOI:
作者:
作者单位:

(北京青云航空仪表有限公司,北京 100086)

作者简介:

戴 阳(1982-),女,北京人,工程师,硕士,主要从事飞行控制算法设计、飞行仿真系统设计等方向的研究。 [FQ)]

通讯作者:

中图分类号:

TP751

基金项目:


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

(AVIC Beijing Keeven Aviation Instrument Co., LTD, Beijing 100086,China) 

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    介绍了一种基于Simulink和C++混合编程技术的自动飞行控制系统测试系统建模技术及调试方法;基于Simulink搭建飞行仿真模型,通过RTW自动代码生成工具将各仿真模块分别生成嵌入式代码,并集成应用于C++软件设计环境中;通过对时钟的有效设定,实现了基于Windows系统的实时飞行仿真测试系统的设计,仿真软件的最小运算周期为2 ms;该技术不仅可以满足自动飞行控制系统飞行仿真试验的实时性要求,并且在软件开放性、接口扩展性、板卡驱动的通用性以及软件设计功能多样性等方面占有较大优势;基于这个技术建立而成的仿真测试系统,某型自动飞行控制计算机已经成功的开展了多轮半物理仿真验证试验,并取得了良好的试验效果,从而为产品的试飞定型奠定了坚实的基础。

    Abstract:

    This paper introduces a solution for designing a real-time flight tesing system based on Simulink and C++ mixed programming. 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 system 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++混合编程的测试系统建模技术研究计算机测量与控制[J].,2014,22(6):1680-1682.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2014-01-12
  • 最后修改日期:2014-03-08
  • 录用日期:
  • 在线发布日期: 2014-11-12
  • 出版日期: