文涛+左东广+李站良
摘 要: 为解决某型武器系统测试过程中方法繁琐、检测结果不够直观的问题,在分析测试需求的基础上,提出了基于PC104嵌入式计算机的测试方案,搭建了自动化测试系统硬件环境,并在Visual Studio 2010开发环境下,采用模块化与多线程处理方式实现了测试系统的交互式测试。对部分原理电路进行了分析,详细介绍了软件编程中数据库、报表打印等关键技术。结果表明,该系统可靠性高、实时性好、界面简洁、操作简单,有效地保障了部队的作战和训练任务。
关键字: PC104; 自动化测试; Visual Studio; C#
中图分类号: TN911?34 文献标识码: A 文章编号: 1004?373X(2014)18?0072?03
Research of a comprehensive test system based on PC104 bus
WEN Tao, ZUO Dong?guang, LI Zhan?liang
(Second Artillery Engineering University, Xian 710025, China)
Abstract:In order to solve the problems that a weapon testing method is tedious and the results are not intuitive, a testing scheme based on PC104 embedded computer is proposed on the basis of the testing demand analysis. The hardware environment of an automation testing system was built. The interactive testing was completed by modular and thread processing mode in Visual Studio 2010 development environment. In this paper, part of the circuit is analyzed, and the key technologies of database and report printing in software program are introduced in details. The application result indicates that the system works reliable, and has advantages of high real time performance, succinct interface and simple operation. It safeguarded the combat and training mission effectively.
Keywords: PC104; automatic testing; Visual Studio; C#
0 引 言
随着电子技术和计算机技术的突飞猛进,测试系统出现了以总线技术为基础的自动化测试系统[1]。目前,PXI、EISA、PC104等总线被广泛应用在自动化测试系统中[2],PC104因为其体积小、成本低、兼容性好等优点,被广泛地应用于商业、工业、航空以及军事等众多领域[3]。
目前,我国的武器系统正处在快速发展的新阶段,而保障其发挥优越性能的地测设备发展却相对滞后。某型武器综合测试系统自动化程度还不是很高,且采用PC机进行测试,整个测试系统体积庞大,严重影响了部队的应急作战能力。因此,本文针对测试需求,构建了基于PC104总线的嵌入式系统结构,并利用Microsoft Windows XP系统平台,在Visual Studio 2010开发环境和.NET框架下,设计了自动化测试系统,该系统能够多种信号并发采集,且满足实时性和精度的要求。
1 系统硬件总体设计
测试系统以基于PC104规范的工业控制计算机为核心[4],选择符合系统精度要求的兼容采集卡并设计信号调理电路,构成自动化测试平台。……