基于虚拟仪器实施相位测量仪的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于虚拟仪器实施相位测量仪的设
计
Phase Meter Design Based on Virtual
Instrument
学院:信息科学与工程学院
专业班级:通信工程0803班
学号:
学生姓名:
I
摘要
测量相位的方法很多,大致可以分为模拟方法和数字方法两类:模拟方法是先对多个相位差脉冲进行积分,然后再计算这多个相位差脉冲的宽度,再取平均值求相位,这种方法精度高,但是电路复杂;数字方法是直接用计数脉冲对相位差脉冲进行填充,然后计算计数脉冲的个数,根据计数脉冲的个数求相位差。由于数字方法需要高频的计数脉冲,而一般的计数器的工作频率有一定的限制,计数脉冲的频率不可能很高,因此测量精度会受到限制,而且随着被测信号频率的提高。精度会进一步的下降。近年来随着高速数据采集卡和虚拟仪器技术的不断发展,采用软件来代替硬件电路进行相位的测量成为可能。利用计算机和高速采集卡进行相位侧链不仅具有更大的灵活性,而且采用虚拟仪器技术可以有效地避免测量过程中由于温漂、噪音及干扰信号的影响,从而使结果更加准确。
传统测量仪器功能单一,多功能虚拟仪器是现代仪器技术的发展方向。利用Labview设计一种利用虚拟相关法测量相位差计的虚拟仪器,该仪器以测量两个同频正弦波的相位差为基本功能,具备了测量信号频率,显示信号波形、相位差和产生标准信号等功能,体现了虚拟仪器高集成度,一机多用的特点。
虚拟仪器技术就是利用高性能的模块化硬件,结合高效灵活的软件来完成各种测试、测量和自动化的应用。自1986年问世以来,世界各国的工程师和科学家们都已将NI LABVIEW图形化开发工具用于产品设计周期的各个环节,从而改善了产品质量、缩短了产品投放市场的时间,并提高了产品开发和生产效率。使用集成化的虚拟仪器环境与现实世界的信号相连,分析数据以获取实用信息,共享信息成果,有助于在较大范围内提高生产效率。虚拟仪器提供的各种工具能满足我们任何项目需要。
本题目属于应用类,设计主要内容利用互相关分析法实现相位差检测,在虚拟仪器设计平台上仿真实现,结合原理和公式进行数据计算分析,充分利用了LABVIEW的性能。
关键词:相关法;相位差;虚拟仪器;LABVIEW
II
Abstract
There are a lot of methods for measuring phase. Can be roughly divided into two kinds of simulation method and digital method:The simulation method is first to multiple phase difference pulse points will be given. And then calculate the pulse width of the multiple phase difference. Take again for average phase but the circuit complexity; the digital method is the direct use of count pulse to pulse phase difference filling. And then calculate the number of counting pulses. According to count the number of the phase pulses difference. Due to the high frequency of the digital method .And the general counter the working frequency of to have certain restriction. Count the frequency of the pulse can not be very high. So the measurement accuracy could be limited. In recent years with high-speed data acquisition card and virtual instrument technology continues to evolve. Accuracy will further decline. In recent years, with high speed data acquisition card and the development of the virtual instrument technology. The software instead of hardware circuit phase measurement possible. Using a computer and high-speed data acquisition card for phase side chain has not only more flexibility. And with the virtual instrument technology can effectively avoid measurement process temperature drift due to the influence of the noise and the disturbance signal. And make the result more accurate.
Traditional measuring instruments function of a single. Multifunctional virtual instrument is the development direction of modern instrument technology. Using Lab view to design a virtual method to measure the phase difference meter, virtual instruments the instrument to measure the two basic functions of the same functions of the same frequency of the sine wave phase difference .With the measured signal frequency. Display the signal waveform, phase and produce stance standard signal functions. Reflects the high level of integration of virtual instruments. One machine with multiple functions.
The virtual instrument technology is the use of high-performance modular hardware, combined with efficient and flexible software to complete a variety of test, measurement and automation applications. Since the 1986 years since the advent.
All countries in the world of the engineers and scientists would have the NI
III