基于LabVIEW的网络化虚拟仪器实验系统的设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
实验教学在高校工科教育中起着相当重要的作用,但是长期以来实验设备和实验教学方法的落后在很大程度上制约了实验教学质量的提高。随着微型计算机和软件技术的发展,虚拟仪器在智能化程序、处理能力、性能价格比、可操作性等方面与传统仪器相比都具有明显的技术优势,将虚拟仪器引入高校的实验教学不但可以提高测试效率和教学的质量,而且为降低实验仪器成本提供了有效的途径和方法。本论文的目的就是开发一个网络化的虚拟仪器实验教学系统,服务于工科实验教学,以提高实验教学水平和教学质量。
     本论文以Internet在远程监控上的应用为研究背景,以完成网络化的实验系统为目的展开了研究。首先,阐述了国内外相关课题的现状和发展趋势,然后介绍虚拟仪器开发平台LabVIEW,接着针对NI公司生产的数据采集卡成本高这一不足,确定采用通用串行总线USB技术进行本实验系统的数据采集。充分利用高速通用串行总线(USB)所具有的传输速度快、支持热插拔、即插即用、易于扩展、占用的系统资源少等优点,将其与传统的数据采集技术相结合,设计实现了一种基于USB的集数据采集、分析、显示为一体的数据采集系统。
     介绍了本数据采集系统的USB设备驱动程序的设计,并结合驱动程序完成了基于虚拟仪器LabVIEW的主机应用程序(包括虚拟示波及频谱分析仪、虚拟信号发生器、虚拟巴特沃斯滤波器、虚拟调幅波解调器、虚拟微分器和积分器、虚拟相关分析仪等)的设计。虚拟示波及频谱分析仪不但具有传统示波器的波形显示控制功能,而且还对传统示波器的功能进行了扩展,实现了参数自动测量显示、波形存储、打印和频谱分析等功能。
     本文详述了LabVIEW中使用DataSocket, Web Server及远程面板技术实现网络通信的方法。最后,对论文的研究工作进行了总结和展望。
It is very important for experiment teaching in the entire teaching of high engineering institutions, but in a long period of time, the backward teaching instrument and teaching method have restricted the improvement of teaching quality in large degree. Along with the development of the microcomputer, compare with traditional instrument, the virtual instrument have the obvious technical advantage in knowledge ware, processing capability, the ratio between function and price and Maneuver ability. The introduction of the virtual instrument to the university can not only increase the efficiency and quality of testing teaching, but also provide the effective method to reduce the cost of the experiment instrument. and gradually perfect It has the peculiarity of low cost,high performance test means. The purpose of this thesis is to build a teaching testing system of virtual instruments, which can be severed to experiment teaching of high engineering institutions, and upgrade its teaching level and improve its teaching quality.
     The application of internet in the long-distance monitoring was taken as research background and the accomplishment of experiment system in the internet was taken as research purpose in this paper. The development of related subject around the world was discussed firstly. Then introduces virtual instrument development software LabVIEW. To overcome the shortcom- ing of high cost which the data acquisition card produced by the NI company has, the data collection by means of Universal Serial Bus was adopted in the experiment system.A new kind of Data Acquisition System is designed in this thesis, which is based on Universal Serial Bus(USB) technology with data acquisition, analysis and display together. The advanced performance of USB with high speed, HotPlugIn, Plug and Play, easily to expand and engrossing less system resource is shown in the system.
     The thesis introduced the design of the USB driver of this data acquisition system. the application program based on LabVIEW such as Virtual Oscillograph, Virtual Signal Generator, Virtual Butterworth Filter, Virtual Amplitude Modulation and Demodulation Instrument, Virtual Differentiator and Integrator, Virtual Experiment of Correlation Analysis and so on, is completed. The Virtual Oscilloscope not only has the functions achieved in traditional scope such as waveform display and control, but also achieves some expanded functions. For example, the parameters can be measured and displayed automatically, the waveform can be saved and printed, further more, the spectrum of signal can be analyzed and displayed.
     This thesis details the means of realizing communication through network by DataSocket, Web Server and Remote Panels technology in LabVIEW. Finally, this thesis provides a summary of the research work and makes some recommendations for the future research.
引文
[1] 张爱平. LabVIEW 入门与虚拟仪器. 北京:电子工业出版社,2004
    [2] 杨乐平,李海涛,杨磊. LabVIEW 程序设计与应用(第 2 版). 北京:电子工业出版社,2005
    [3] 陶以政,潘振显. 怎样在 LabVIEW 中调用 Win32 动态链接库[J]. 计算机应用,2002,20(6):72-73
    [4] 陈国亮,张素君. 利用动态链接库(DLL)实现 LabVIEW 与 USB 设备的数据通信. 福建电脑,2005,7:149-150
    [5] 刘君华,贾惠芹,丁晖等著. 虚拟仪器图形化编程语言 LabVIEW. 西安:西安电子科技大学出版社,2001.8
    [6] 雷振山. LabVIEW 7 Express 实用技术教程. 北京:中国铁道出版社,2004.3
    [7] 金伟,齐世清,王建国. 现代检测技术. 北京:北京邮电大学出版社,2005
    [8] 周林,殷侠. 数据采集与分析技术. 西安:西安电子科技大学出版社,2005.7
    [9] 张发启. 现代测试技术及应用. 西安:西安电子科技大学出版社,2005.2
    [10] 侯国屏,王珅,叶齐鑫. LabVIEW7.1 编程与虚拟仪器设计. 北京:清华大学出版社,2005.2
    [11] 刘君华,申忠如,郭福田. 现代测试技术与系统集成. 北京:电子工业出版社,2004.10
    [12] 马明建. 数据采集与处理技术. 西安:西安交通大学出版社,2005.9
    [13] 尹兴波,马海瑞,周爱军. 基于 DataSocket 技术的 LabVIEW 远程测控. 自动化与仪器仪表,2005 年第 4 期(总第 120 期)
    [14] 丁玉美,高西全. 数字信号处理[M]. 西安:西安电子科技大学出版社, 2000
    [15] 姚天任,孙洪. 现代数字信号处理[M]. 武汉:华中理工大学出版社,1999
    [16] 胡广书. 数字信号处理[M]. 北京:清华大学出版社, 2003
    [17] 武安河,邰铭,于洪涛. USB 设备驱动程序开发[M]. 北京: 电子工业出版社, 2003
    [18] 李志伟. 基于 USB 的航空检测数据采集系统的设计[J]. 计算机应用研究,2002,(11):96-98
    [19] 赵中义. 示波器原理、维修与检定. 北京:电子工业出版社,1990
    [20] 李莉玲,方康玲,周波. LabVTFW 在远程虚拟实验平台中的应用. 武汉科技大学学报(自然科学版),2004 (4) :403-405
    [21] 李杨,郑莹娜,朱铮涛. 高性能虚拟示波器的研究. 工业仪表与自动化装置,1999. 3-6
    [22] 肖晓萍,向中凡,李自胜. 虚拟仪器技术及在远程虚拟实验室中的应用. 西华大学学报自然科学版,2005 (5) : 65-67, 86
    [23] 焦瑞莉,南利平,李学华. 基于 LabVIEW 的通信专业远程虚拟实验室. 虚拟仪器,2005(3):4-7
    [24] 张洪生. 基于网络的远程虚拟实验室. 现代远程教育研究,2005,(2):76-78
    [25] 崔光佐,程旭,杨芙清. 基于 WWW 的网上虚拟实验室设计与实现[M]. 高等教育出版社,1999.
    [26] 陈爱武. 基于 LabVIEW 的新型原料蔗糖成分在线检测系统的研究. 广西师范大学,2003.6
    [27] 张凯,郭栋. LabVIEW 虚拟仪器工程设计与开发.国防工业出版社,2004.6:20-60
    [28] 张辉. 基于 LabVIEW 软件的动态链接库和数据采集[J]. 仪表技术,2002.6:1-20
    [29] 林君,谢宣松. 虚拟仪器原理及应用. 北京:科学出版社,2006
    [30] 刘哲,王峰,赵宇辉. 基于 LabVIEW 通信虚拟实验系统. 国外电子测量技术,2008,27 术(1):66-68
    [31] 陈晴,陈林,张志. 基于虚拟仪器的开放式虚拟实验室系统的研究和实现[J]. 电子测量技术,2007,30(4):109-112
    [32] 朱立军,张元培,都俊超. 在 LabVIEW 中编写数据采集卡驱动程序不同方法的比较. 北京工商大学学报(自然科学版),2003,21(2):46-49
    [33] 李奇,田舒. Windows 环境下 Visual C++ MFC 编程技术与实例[M]. 北京大学出版社,1994
    [34] 周立功. PDIUSBD12 固件编程与驱动开发[M]. 北京航空航天大学出版社,2003
    [35] 肖忠祥. 数据采集原理. 西安:西北工业大学出版社,2001
    [36] 谢明,丁康. 频谱分析的校正方法. 振动工程学报,1994,7(2):172-179
    [37] 龙志强,吕治国. LabVIEW 与通用数据采集卡的接口方法研究[J]. 北京:微机算机信息,2001 年第 9 期
    [38] 孙传伟. 基于 Web 远程虚拟仪器的研究与开发[D]. 山东:山东师范大学,2002.4
    [39] 王承,何志伟. 虚拟仪器——现代仪器发展的新阶段[J]. 北京:测控技术,2001.10
    [40] 陈敏,汤小安. 虚拟仪器开发环境 LabVIEW 及其数据采集[J]. 北京:计算机工程与设计,2001.10
    [41] 贾功贤,刘成康等. 基于 PC 的虚拟仪器的发展趋势[J]. 北京:电子技术应用,1999.12
    [42] Robert H.Bishop. Learning with LabVIEW 7 Express. 北京:电子工业出版社,2005.8
    [43] National instruments. The Measurement and Automation Catalog 2002, 49-137
    [44] USA: National Instruments Corporation. LabVIEW User Manual[M].2003
    [45] NI.2004 LabVIEW7.1 技术白皮书.NI
    [46] Zhou H,Wang L.2001. Virtual instrument system software architecture description language. Jourmal of Chinese Zhejiang University(SCIENCE),2(4):411-415
    [47] National Instruments. Getting Started with LabVIEW,2003(4)
    [48] National Instruments. LabVIEW User Manual,2003(4)
    [49] National Instruments. LabVIEW Measurements Manual,2003(4)
    [50] National Instruments. LabVIEW Development Guidelines,2003(4)
    [51] National Instruments. LabVIEW Analysis Concepts,2003(3)
    [52] National Instruments. LabVIEW Help,2003(3)

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

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

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