作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (18): 259-261. doi: 10.3969/j.issn.1000-3428.2007.18.091

• 工程应用技术与实现 • 上一篇    下一篇

嵌入式系统测试环境体系结构的研究

任 冀1,樊晓光1,田 涛2   

  1. (1. 空军工程大学空军工程学院航空电子工程系,西安 710038;2. 空军装备软件测评中心,北京 100076)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-20 发布日期:2007-09-20

Research on Structure of Test Environment for Embedded System

REN Ji1, FAN Xiao-guang1, TIAN Tao2   

  1. (1. Department of Avionics and Electronic Engineering, Air Force Engineering Institute, University of Air Force Engineering, Xi’an 710038; 2. Airforce Software Testing and Evaluating Center, Beijing 100076)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-20 Published:2007-09-20

摘要: 针对嵌入式系统测试缺乏通用平台的难点问题,提出了一种通用测试平台方案。该方案以PXI为底层设备总线,通过PXI转换接口实现设备互连,克服了不同设备之间接口的不一致性;采用硬件在回路仿真的方法对被测单元进行测试,满足了系统测试的实时性要求;采用商业软件Matlab/Simulink、Labwindows/cvi及开源软件TCL/Tk实现体系构建,以TCP/IP协议实现网络互联,完成对各个分系统的测试前的数据准备和测试后的数据备份、分析及处理,具有很好的可重用性、扩展性和通用性。此外,综合使用UML和CSR(条件-激励-响应)对测试需求进行了规范化描述。

关键词: 嵌入式系统, 通用测试平台, 硬件在回路, Simulink, Labwindows/cvi

Abstract: Since theres a lack of universal test platform for embedded system, a new solution is presented. It is based on the PCX low layer equipment bus with which equipments can be connected by adapters, so that differences between interfaces of equipments is prevented. The unit under test is tested with the method of HILS(hardware in the loop simulation) to fulfill realtime requirement. The commercial software, Matlab/Simulink, Labwindwos/cvi, and open source software TCL/Tk is introduced to realize the construction of the platform. The data preparation before the test and data backup, analysis and processing after the test on the connected systems are realized based on the TCP/IP network, so that good reusability, extensibility and universality are acquired. UML and CSR(condition-signal-response) are introduced to make the test requirement normalized.

Key words: embedded system, universal test platform, hardware in the loop, Simulink, Labwindows/cvi

中图分类号: