文档介绍:2
电子测量技术第 32 卷第 6 期
数据采集
EL ECTRONIC MEASUREMEN T TECHNOLO GY 2009 年 6 月
基于 USB 总线的数据采集卡的软件设计
臧巨轮朱长青王川川
(军械工程学院电气工程系石家庄 050003)
摘要: 多通道模入数据采集卡的设计根据电站检测中数据的测量与控制问题提出,本文在对数据采集卡的硬件组
成进行综述的基础上,对系统的固件程序、基于 WDM 的 USB 驱动程序和用户应用程序等各部分软件的设计和协同
工作进行了详细的介绍,并将采集模块应用于某型电站发动机进行检测试验,得到次级点火电压波形,和电站发动机
标准波形进行比较可见数据的采集效果良好,试验结果证明设计方案是可行的,满足了预期的应用目的和设计的精度
要求。
关键词: USB2. 0 协议;固件程序;数据采集;WDM 驱动程序
中图分类号: TP 274. 2 文献标识码: B
Soft ware design of data acquisition board based on USB bus
Zang J ulun Zhu Changqing Wang Chuanchuan
(Department of Electric Engineering of Ordnance Engineering College , Shijiazhuang 050003)
Abstract :The design of multiple analog signal input data acquisition board is to resolve the measuring and control
problems in the process of testing generator. On the basis of general description of hardware design ,this paper introduce
in detail its software design and cooperation ,including its firmware program ,USB driver based on WDM and application
program. Test the design on a certen generator and obtain the waves of secondary gnition voltage , the result of
compearing the waves with the standard waves is ideal ,So the design schemeire is advisable ,reach the applied purpose
and design accuracy requirement.
Keywords : USB2. 0 protocol ;firmware ;data acquisition ;wDM drivers
0 引言
随着测试技术及仪器的发展,自动测试成为测试技术
的发展方向。自动测试系统中,虚拟仪器、信号处理以及
自动控制等领