节点文献

基于USBTMC协议的USB接口虚拟仪器的研究

Research of USB Visual Instrument Based on USBTMC Specification

【作者】 姜成航

【导师】 李剑中;

【作者基本信息】 大连理工大学 , 机械电子工程, 2005, 硕士

【摘要】 虚拟仪器是计算机技术、应用软件和模块化硬件相结合而建立的功能强大而又灵活多变的基于计算机的测试、测量与控制系统,近年来发展迅速,也得到了越来越广泛的应用。而USB总线作为一种新兴的计算机外设总线标准,由于易用、支持热插拔、总线供电、传输速率高等特点,已经在虚拟仪器当中得到采纳与普及。目前国内市场中的USB接口虚拟仪器主要是基于通用USB协议来开发的,采用这种协议开发的USB接口虚拟仪器,开发周期长、可互换性差、标准不统一。针对USB接口的虚拟仪器,USB联盟最新推出了USBTMC(USB Test and Measurement Class)协议,基于USBTMC协议的USB接口虚拟仪器可以获得虚拟仪器软件的良好支持,并且可以通过使用VISA(Visual Instrument Software Architecture)来简化驱动程序和上位机软件的开发难度,提高仪器在多种操作平台上的通用性。本文在分析通用USB协议的基础上,重点研究了USBTMC协议,开发了由MPS430F169与PDIUSBD12所组成的USB接口数据采集卡,研究并编写了符合USBTMC协议的固件程序。同时还研究了VISA的结构与特点、常用接口函数及其与符合USBTMC的设备连接方法,并在LabVIEW环境下设计了通过NI-VISA来与USBTMC设备进行命令控制与数据传输的程序。随着网络技术的普及与发展,网络化虚拟仪器已经得到了广泛的应用,本文在分析了网络化虚拟仪器结构与特点的基础上,利用LabVIEW所提供的网络功能,采用所开发的USB接口数据采集卡,进行了一个网络化温度监控系统的试验,从而使本文的主要研究成果得到了实际验证。试验结果证明:所开发的基于USBTMC协议的USB接口数据采集系统可以正常运行;对于符合USBTMC协议的虚拟仪器,在主机软件开发当中,可以避开复杂的驱动程序设计,而采用VISA来简化开发的难度,提高软件的通用性。

【Abstract】 Visual instrument is a powerful and flexible integrated test, measurement and control system, which is composed of computer technology, application software and modularization hardware. In recent years, Visual instrument develops rapidly and is broadly applied. As a new bus standard in computer peripheral hardware, USB is adopted and widely used in visual instruments for its ease of use, true plug and play, power supply from bus, high transmission speed, etc.Nowadays, USB interface visual instruments in domestic market are mostly developed by using general USB specification. In this way, developing USB visual instruments will expend long time, and interchangeability of products is bad. In order to solve these questions, USB organization issued new class specification-USBTMC (USB Test and Measurement Class) for USB interface instruments. USB visual instrument, which accord with USBTMC specification, will be fully supported by visual instrument software, and users can easily develop instruments driver and application software by using VISA (Visual Instrument Software Architecture) to improve the applicability of instruments on various operating systems.This dissertation analyses the general USB specification, and focus on the research of USBTMC specification. An USB interface data acquisition card is developed, which is consisted of MSP430F169 and PDIUSBD12, and the fireware according with USBTMC specification is programmed. By researching the VISA and its connection method with USBTMC instrument through its common interface functions, a program is developed in Lab VIEW, which can communicate with USBTMC device through NI-VISAWith the rapid development and popularization of network, visual instruments based on network are widely used. After analyzing the structure and character of network-visual instrument, a network-temperature monitor system is built by using the developed USB DAQ card and the net function of Lab VIEW. This system proves the research in this paper.The result of experiments proves that USB data acquisition system based on USBTMC can run normally. For USB visual instrument based on USBTMC, VISA can simplify the programming of software in host; avoid the complex development of driver; improve the software commonability.

【关键词】 虚拟仪器USBTMCLabVIEWVISA网络化
【Key words】 Visual InstrumentUSBTMCLab VIEWVISANetwork
  • 【分类号】TP391.9
  • 【被引频次】15
  • 【下载频次】623
节点文献中: 

本文链接的文献网络图示:

本文的引文网络