智能测试系统-第6章基于虚拟仪器的测试系统实现技术
- 格式:ppt
- 大小:3.29 MB
- 文档页数:95
基于LabVIEW的应变测量系统的设计与应用马志燕【摘要】A system of strain measurement based on virtual instrument is designed,and it com-bines the advantages of virtual instrument and Lab VIEW software.Based on the principle of strain measurement,hardware and software framework of strain measurement system is designed case studyin test of warp tension,and The advantages of this measuring system is verified over traditional sys-tems.Results show that the system has advantages of simple structure,convenient operation,and which can givefull play to the powerful advantage of computer in datacalculation,transmission,stor-age and display.%结合虚拟仪器及其 LabVIEW软件的优点,设计了一种基于虚拟仪器的应变测量系统。
在应变测量原理的基础上,以经纱张力测试为例设计了应变测量系统的软硬件结构,验证了该测量系统较传统系统的优越性。
结果表明,系统硬件结构简单,操作方便,同时能够充分发挥计算机在数据计算、传输、存储和显示等方面的巨大优势。
【期刊名称】《机械与电子》【年(卷),期】2014(000)005【总页数】4页(P62-64,65)【关键词】虚拟仪器;LabVIEW;应变测量【作者】马志燕【作者单位】宝鸡文理学院机电工程系,陕西宝鸡 721000【正文语种】中文【中图分类】TP2740 引言应变测量是机械工程中分析零件或结构受力状态、评价材料力学性能、面内变形场的高精度测量和研究某些物理现象机理的重要手段之一。
虚拟仪器技术是一种基于计算机和软件的测量和控制系统,它可以通过软件模拟各种物理、电学或机械设备,以实现各种测试、分析和控制任务。
以下是虚拟仪器技术的应用案例:
虚拟测试平台:将虚拟仪器技术应用于汽车、航空航天等领域,可以构建出真实且可靠的虚拟测试平台,对各种零部件进行测试和仿真。
生产线监测:利用虚拟仪器技术,可以开发出能够监测生产线的工作状态和性能的虚拟仪器,从而提高生产效率并减少故障。
医疗诊断:虚拟仪器技术可以应用于医疗领域,如开发出虚拟血压计、心电图等设备,可以帮助医生更快速、更准确地进行疾病诊断和治疗。
环境监测:虚拟仪器技术可以应用于环境监测中,如气体检测仪、水质监测仪等,能够及时检测环境污染并采取相应的措施。
教育培训:虚拟仪器技术可以被应用于教育领域,如开发出虚拟实验室、虚拟仪器等,可以帮助学生更好地理解和掌握相关知识。
总之,虚拟仪器技术在各个领域都有广泛的应用,通过模拟真实设备,可以提高测试效率和准确性,并降低成本。
基于虚拟仪器的阻抗自动测量系统的研究摘要随着计算机技术的发展,仪器仪表领域也开始发生巨大的变化,从传统仪器、智能仪器开始向虚拟仪器发展。
虚拟仪器以其强大的存储、数据显示和数据分析优势,逐渐受到重视。
虚拟仪器技术通过软件将计算机与仪器硬件相结合,很好地将计算机强大的数据处理能力和仪器硬件的现场测量、控制结合在一起。
不仅降低了仪器的生产成本,还提高了仪器的性能,从而得到广泛的应用。
另外,随着现代科学技术的进步,阻抗的测量逐渐成为各类电子产品的研究基础。
目前,阻抗测量技术已在生物医学、工业测控、电力控制等领域有广泛的应用。
为了满足高校实验室对电子元器件及其附属参数的测量需求,本文设计了一种基于虚拟仪器的阻抗测量系统。
本文通过将虚拟仪器技术与传统硬件相结合,设计实现了一种通过伏安法对阻抗参数进行测量的系统。
其主要工作原理为:将阻抗的测量转换为矢量电压的测量,再利用获得的矢量电压的实部和虚部的数字量与被测参数之间的关系,将其转换为待测量。
本系统主要由硬件和软件两部分构成,硬件部分主要包括通过FPGA设计实现的信号源模块、阻抗/矢量电压转换模块、相敏检波模块、A/D转换模块和通信模块。
其具体的实现主要为利用FPGA设计实现系统正弦激励信号与基准信号的产生;通过相敏检波将采集到的矢量电压信号进行实部和虚部分离;利用低通滤波器滤除干扰信号;再通过A/D转换芯片将采集到的模拟电压信号转换为数字信号;通过系统总线将数据传输到计算机,并对数据进行处理和显示。
软件部分是利用虚拟仪器软件LabVIEW设计实现仪器的数据处理、显示和控制界面,并通过动态链接库的调用来执行仪器操作。
关键字:虚拟仪器技术,阻抗测量,FPGA,LabVIEWResearch of Automatic Impedance Measuring System Based onthe Virtual InstrumentAbstractWith the development of the computer technology, the field of instrumentation begins to change dramatically from traditional instruments and intelligent instruments to virtual instruments. Due to its strong advantages on storage, data display and data analysis, the virtual instruments have gained more attention. Virtual-instrument technology combines the computer and the instrument hardware together using software. It combines the excellent data processing ability of computer with the measurement,and controlling ability of instruments hardware together in this technology. Consequently, not only the cost of the production is reduced, but the instrument performance is also improved. Therefore, the virtual instrument has been widely used.In addition, with the progress of modern science and technology, the measurement of impedance has gradually become the basis of all kinds of electronic products.At present, the impedance measurement technology has been widely used in biomedical science, industrial measurements, power control and other domains.In order to satisfy the measurement requirements of electronic components and their subsidiary parameters in the university laboratory, a kind of impedance measurement system based on virtual instrument is designed in this paper.Based on the combination of virtual instrument technology and traditional hardware, this paper designs and realizes a system to measure the impedance parameters using the volt-ampere method.Utilizing the relationships between the real and the imaginary parts of the voltage vector and the complex impedance, the measurement of the complex impedance can be converted to the measurement quality of the voltage vector. The process can effectively improve the precision of the system.The system consists of two parts: hardware and software. The hardware part is mainly composed of the signal source module designed by FPGA, the conversion module of impedance to voltage vector, themodule. The design and realization of sinusoidal excitation signal and the reference signal is utilized by FPGA. We separate the real and imaginary parts of the voltage vector by the phase sensitive detection, and filter out the interference by a low pass filter. Then the collected signal is converted to a digital signal by an A/D conversion chip. The data will be transmitted to the computer through a communication bus of the system, and then it will be processed and displayed.The software part realizes the data processing, display and control using the virtual instrument software LabVIEW.And the operation of the instrument is performed by calling dynamic link libraries.Keywords:Virtual instrument technology, Impedance measurement, FPGA, LabVIEW目 录第1章绪论 (1)1.1研究背景及意义 (1)1.2国内外研究现状 (2)1.3虚拟仪器技术简介 (4)1.3.1 虚拟仪器概念 (4)1.3.2 虚拟仪器的构成 (4)1.3.3 虚拟仪器的发展 (5)1.4虚拟电子测量系统 (5)1.4.1 虚拟电子测量系统介绍 (5)1.4.2 虚拟电子测量系统的构成 (6)1.5主要研究内容 (7)第2章阻抗测量理论及方法分析 (9)2.1阻抗自动测量系统主要性能和预期指标 (9)2.2阻抗简介 (9)2.2.1 阻抗的定义 (9)2.2.2 阻抗的表达方式 (10)2.2.3 被测件的等效电路 (11)2.3阻抗的测量方法 (12)2.3.1 谐振法 (12)2.3.3 伏安法 (14)2.3.4 网络分析仪法 (15)2.4阻抗测量方法的对比 (16)2.5本章小结 (17)第3章阻抗测量系统的原理及总体设计 (18)3.1阻抗测量系统的原理 (18)3.2系统的总体设计 (22)3.2.1 系统的硬件设计 (22)3.2.2 系统的软件设计 (23)3.3本章小结 (24)第4章系统硬件设计及实现 (25)4.1信号源模块 (25)4.1.1 信号源设计的方案与对比 (25)4.1.2 信号源的实现 (27)4.1.3 FPGA实现 (28)4.2阻抗/矢量电压转换模块 (30)4.2.1 阻抗/矢量电压转换原理 (30)4.2.2 连接电路设计 (31)4.2.3 电路实现 (32)4.3相敏检波模块 (32)4.3.1 相敏检波原理 (33)4.4A/D转换模块 (35)4.4.1 ADS1232芯片 (36)4.4.2 A/D转换电路的实现 (36)4.5通信模块 (36)4.5.1 通信模块工作原理 (36)4.5.2 通信模块的实现 (37)4.6电源转换模块 (38)4.7系统硬件实物图 (38)4.8本章小结 (39)第5章软件设计 (40)5.1系统设备驱动程序 (40)5.2应用程序的开发 (42)5.2.1 LabVIEW简介 (42)5.2.2 软件程序框图 (43)5.2.3 系统前面板设计 (46)5.3本章小结 (46)第6章系统性能测试及误差分析 (47)6.1系统工作流程介绍 (47)6.2数据测试及对比 (48)6.2.1 电阻的测量 (49)6.2.2 电容的测量 (50)6.2.4 附属参数测量 (52)6.3误差分析 (53)第7章总结 (55)7.1本文主要完成的工作 (55)7.2系统存在的不足及展望 (56)参考文献 (57)作者简介及科研成果 (61)致谢 (62)第1章绪论1.1 研究背景及意义测量是我们认识和改造自然界的一种重要手段,对任意一种研究对象,只要想对其进行定量评价,就需要通过测量来实现[1]。