用户名: 密码: 验证码:
基于ATML的自动测试软件的接口实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
自动测试系统经历了专用测试系统、积木式自动测试系统和模块化自动测试系统三代的发展,取得了很大的进步,在航空、航天、国防等领域发挥着越来越大的作用。但目前通用自动测试系统依然存在应用范围有限,开发和维护成本高,系统间缺乏互操作性,测试诊断新技术难以融入已有系统等诸多不足。针对以上问题,本文遵循标准IEEE1641,用信号来描述测试需求和测试资源,使资源管理和分配以测试信号需求(测试能力)和资源信号的描述(激励能力)之间的匹配为基础自动进行;然后利用可交换虚拟仪器信号接口进行集成,编写基于信号的测试程序;同时用自动测试标记语言(Automatic Test Markup Language,ATML)对IEEE1641信号、系统配置和测试结果等信息进行保存,促进了测试系统内部各组件间、不同测试系统之间、测试系统与外部环境间信息的共享与无缝交互能力,极大地提高了测试程序的开发效率。通过这三种技术的应用,从根本上解决了仪器可互换性和测试程序集重用性、可移植性问题。
     本文的主要工作如下:
     (1)根据ATML工作组公布的STDBSC schema,STDTSF schema,STDTSFLib schema给出的基于扩展标记语言(Extensive MarkupLanguage,XML)的信号描述标准,在IEEE1641给出的信号测试定义(SignalTest Definition,STD)层状模型和信号描述模型基础之上设计了可视化的信号集成编辑器。
     (2)在给出信号的描述的同时,在研究ATML工作组公布的CapabiliticsDraft基础上,给出了面向信号的仪器功能描述。
     (3)根据ATML工作组公布的TestDescription schema给出的基于XML的描述标准,详细分析了组成一个测试操作序列的Actions,然后给出了对用户自己选择的测试操作序列的解析方法。
     (4)同样根据ATML工作组公布的TestDescription schema给出的基于XML的描述标准,详细分析了Test和TestGroup的组成,然后给出了它们的实现流程。
     (5)要实现仪器的互换性就要在测试系统中使用可交换虚拟仪器(Interchangeable virtual instrument,IVI)驱动程序,那么首先要配置系统,使得能够与仪器具体驱动程序通信。本文以具体的实例来说明如何通过第三方工具MAX(Measurement and Automation Explorer)修改存储在IVI配置文件中的仪器接口地址、驱动程序路径、初始化信息和仿真、状态查询等仪器配置信息。
     (6)最后在前面实现的基础上介绍了自动测试系统软件的整体实现以及测试结果的输出。
     目前的自动测试软件的编写,大致可分为用通用编程软件进行编写(主要有Microsoft公司的Visual C#、Visual Basic与Visual C++等)和用专业图形化编程软件进行开发(如HP公司的产品VEE、NI公司的产品LabView和Lab windows/CVI等)两种方式,我们在开发过程中统一用C#完成。
Automatic test system is playing a greater role in the field of aviation, aerospace and national defense after experiencing the development from dedicated test systems to modular automatic test system and having made great progress.But the application of universal automatic test system still remains limited,which has some deficiencies of high costs of development and maintenance,vacuity of interoperability between systems,being incompatible of the diagnostic testing new technologies and the existing system.
     In view of the above problems,this paper follows the signal test definition according to the standard of IEEE1641,describes the test requirements and resources with a signal,which allows the resource management and distribution auto run on the basis of that needs of the test signal(test capability)match with description of signal and resources(incentive capability),and then integrates the system through interchangeable virtual instruments signal interface and codes the test program based on signal.At the same time,ATML(Automatic Test Markup Language)is used to save the information of IEEE1641 signal,system configuration and test results and so on,therefore promote the information sharing and seamless interaction ability among the system components,different test systems,test systems and the external environments and enhance the development of the test procedure efficiency.Through the above three technologies,problems of the interoperability of equipment and reusability and portability of test procedures set are fundamentally solved.
     The main work of this paper is as follows:
     (1)According to the XML-based signal description standard of STDBSC schema,STDTSF schema,STDTSFLib schema released by the ATML Working Group,a visual signal integrated editor is designed on the basis of the STD(Signal Test Definition)layered model and signal description model given by IEEE1641.
     (2)At the same time,a description for equipment function on the basis of the study of Capabilitics Draft released by ATML Working Group is given.
     (3)According to an XML-based description standard of TestDescription schema given by the ATML Working Group,Actions composing a test operation sequence are analyzed and a method of parse for operating sequence is presented.
     (4)Likely,according to an XML-based description standard of TestDescription schema given by the ATML Working Group,the composition of Test and TestGroup is investigated and the related implementation process is given.
     (5)To use IVI(Interchangeable Virtual Instrument)drivers in the test system for achieving the exchange of equipment,a system must first be configured to communicate with specific drivers.This paper gives specific examples to explain how to amend the instrument configuration information of interface addresses,driver paths,initialization information and simulation and state inquiring with the third-party tools MAX(Measurement and Automatic Explorer).
     (6)Finally,the implementation of ATS software is introduced and the test results are analyzed.
     At present,there are two ways for the development of ATS.One is generic software,such as Microsoft's Visual C#,Visual Basic and Visual C++,etc。The other is professional graphical programming software,such as HP's VEE, NI's Lab View and Lab windows/CVI.In our subject,we use C#.
引文
[1]张波,陈岩申,张桂芝,外军电子自动测试系统及其相关技术的应用与发展情况研究[J],计算机测量与控制,2002,10(1):1-4
    [2]蔡小斌,王红,王宏伟,法国通用自动测试平台ATE发展综述[J],测控技术,2000,19(6):1-4
    [3]苟新禹,肖明清,国外新-代导弹测试技术[J],航空兵器,2004,(2):14-16
    [4]刘占岭,刘发,21世纪外军武器装备技术保障研究[M],石家庄:军械技术研究所,2000
    [5]曲东才,国外军用测试技术现状及发展趋势[J],国外电子测量技术,1999,(4):4-5
    [6]杜金榜,王跃科,军用自动测试设备的发展趋向[J],计算机自动测量与控制,2001,9(5)1-3
    [7]陈光禹,毛继宏,林春勋,现代电子测试技术[M],北京:国防工业出版社,2000
    [8]William A Ross,The Impact of Next Generation Test Technology on Aviation Maintenance,IEEE AUTOTESTCON[C],2003:2-9
    [9]Pasquarette J,Building hardware-independent test systems with IVI[A],In:IEEE Autotestcon Proceedings,98[C],IEEE,1998,38-391
    [10]IVI Foundation,IVI-3.2-v1.0,Inherent Capabilities Specification,IVI Foundation,2005
    [11]乔立岩,张毅刚,IVI现状及发展趋势[J],电子测量与仪器学报,2002,增刊669-674
    [12]IVI Foundation,IVI-3.1-v1.4,Driver Architecture Specification,IVI Foundation,2006
    [13]IVI Foundation,IVI-3.10-v1.0,Measurement and Stimulus Subsystems Specification,IVI Foundation,2005
    [14]IVI Foundation,IVI-3.1 1-v0.5,Signal Interface Specification,IVI Foundation,2002
    [15]许谦,方棉佳,虚拟仪器技术的概念与实现[J],山西师范大学学报,2003,31(4):189-191
    [16]伍贤和,吴彦鹏,李金山,基于模糊组态技术的虚拟仪器开发方法[J],仪表技术与传感器,2003,(8):23-24
    [17]Hans J W Spoelder,Virtual instruments and virtual environments[J],IEEE Instrumentation&Measurement Magazine,1999,2(3):14-19
    [18]曹军义,刘曙光,虚拟仪器技术的发展与展望[J],自动化与仪表,2003,(1):1-5
    [19]汪红,虚拟仪器软件系统的组件化设计[J],工业控制计算机,2000,(06):29-30
    [20]李继容,鲍芳,冯燕,网络化虚拟仪器技术及应用[J],计量技术,2003,(2):23-25
    [21]Fertitta K G,Harvey J M,The role of ActiveX and COM in ATE[A],In:IEEE Autotestcon Proceedings,99[C],IEEE,1999,3-51
    [22]张志华,C#设计模式[M],北京:电子工业出版社,2003
    [23]朱晓华,冯玉天,章玉签,基于组件技术的虚拟仪器开发方法的研究[J],上海大学学报(自然科学版),1999,(08):357-361
    [24]林俊,介绍一种新的ATE信息交换标准ATML[J],国外电子测量技术,2005,(8):1-2
    [25]IEEE,Std 1671-2006,ATML Overview and Architecture,IEEE,2006
    [26]IEEE,Standard 1226-1998,IEEE Trial-Use Standard for A Broad Based Environment for Test(ABBET),IEEE,1998
    [27]李行善,左毅,孙杰,自动测试系统集成技术[M],北京:电子工业出版社,2004
    [28]李宝安,李行善,自动测试系统软件的发展及关键技术[J],测控技术,2003,(1):1~4
    [29]IEEE,Std 1641,Signal&Test Definition,IEEE,2004
    [30]Alexander Cherfas,William Reeves,ATLAS 2000 Signal and method classification and modeling[J],IEEE,1998:139-144
    [31]Keith Ellis,Dick Delaney,Signal Definition Description,AUTOTESTCON,2002
    [32]STDBSC schema,http://grouper.ieee.org/groups/scc20/ATML/STDBSC.xsd,2005
    [33]STDTSF schema,http://grouper.ieee.org/groups/scc20/ATML/STDTSF.xsd,2005
    [34]STDTSFLib scheme,http://grouper.ieee.org/groups/scc20/ATML/STDTSFLib.xsd,2005
    [35]Capability in ATML,Draft Version0.32,1EEE,2005
    [36]TestDescription schema,http://grouper.ieee.org/groups/scc20/ATML/TestDescription.xsd,2005
    [37]UUTDescription schema,http://grouper.ieee.org/groups/scc20/ATML/UUTDescription.xsd,2005
    [38]杨锁昌,仪器无关测试系统IVI配置文件的管理[J],计算机测量与控制,2001,9(4): 4-6
    [39]IVI Foundation,IVI-3.5-vl.0,Configuration Server Specification,IVI Foundation,2005
    [40]IVI Foundation,IVI-4.7-vl.0,IviPwr Class Specification,IVI Foundation,2002
    [41]TYX Corporation,The role of the IVI Signal Interface Standard in Supporting Instrument Interchangeability[Z],IVI Foundation,2000
    [42]Fertitta K,ErikssonD,The state ofinterchangeability in ATE[A],In:IEEE Autotestcon Proceedings,2000[C],IEEE,2000,417-424
    [43]牛双诚,黄盛霖,用IVI驱动程序建立硬件无关测试系统[J],海军航空工程学院学报,2002,(1):11-13
    [44]IVI Foundation,IVI-3.6-vl.0,COM Session Factory Specification,IVI Foundation,2005
    [45]IVI Foundation,IVI-4.2-v3,0,IviDmm Class Specification,IVI Foundation,2004
    [46]Anderson Jr J L,Figuerres Z E,Hovakemian A,Using ATE simulation to develop test procedures and verify testability for the standard missile[A],In:IEEE Autotestcon Proceedings,98[C],IEEE,1998,28-34

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700