基于LabVIEW的压力传感器动态性能修正

2017-05-09 23:24:21穆欣荣张志杰杨文杰张鹏
现代电子技术 2017年8期

穆欣荣+张志杰+杨文杰+张鹏

摘 要: 激波管标定系统是一种对传感器动态特性的实验装置,通过激波速度获得标准压力,进而对目标传感器动态性能进行修正。基于LabVIEW平台结合NI公司的采集卡实现一种用于激波管标定系统的混合驱动软件平台,通过并行调用动态链接库的方式,一方面实现对NI公司PXI?6115采集卡的驱动来达到激波速度的测试,另一方面对USB驱动接口实现对目标传感器的测试。最后,采用改进的最小二乘(GLS)算法,实现传感器的动态建模。结果表明,该系统具有快速读取测试结果的优点,较好地实现动态性能修正。

关键词: 激波管; 混合驱动; 最小二乘算法; 动态性能修正

中图分类号: TN919.3?34; TP311 文献标识码: A 文章编号: 1004?373X(2017)08?0141?04

LabVIEW?based dynamic performance correction of pressure sensor

MU Xinrong1, ZHANG Zhijie1, YANG Wenjie1, ZHANG Peng2

(1. MOE Key Laboratory for Instrumentation Science and Dynamic Measurement, North University of China, Taiyuan 030051, China;

2. Baidu Cloud Computing Technology (Shanxi) Co., Ltd., Yangquan 045000, China)

Abstract: The shock tube calibration system is an experiment device to test the sensors dynamic performance. The standard pressure is acquired by means of the shock velocity to correct the dynamic performance of the objective sensor. A hybrid drive software platform used in the shock tube calibration system is realized on the basis of data acquisition card made by NI Company and LabVIEW platform. The way to call the dynamic link library in parallel is used to drive the PXI?6115 data acquisition card made by NI Company to realize test of the shock wave speed and objective sensor for USB driver interface. The improved least square algorithm is adopted to realize the dynamic modeling of the sensor. The result shows that the system has the advantage of reading the test results quickly, and can correct the dynamic performance well.

Keywords: shock tube; hybrid drive; least square algorithm; dynamic performance correction

0 引 言

虚拟仪器(VI)是由现代计算机技术和仪器技术深层次结合的产物,是为了达到“软件即仪器”的目的。随着计算机、采集电路和网络技术的迅速发展,虚拟仪器技术在测试仪器、数据采集等领域广泛应用[1]。数据采集卡有NI公司提供的通用采集卡,可以直接使用LabVIEW進行软件编程;也有非NI数据采集卡,即为满足用户需求的专用测试系统,需要编写相应的驱动程序使之被LabVIEW识别,从而完成数据采集工作[2]。

文献[3]提出的传统的激波管多通道数据采集系统是由采集卡直接完成测速和标定的功能,使用的是美国NI公司PXI?5105数据采集卡,不能对特定的采集系统进行误差标定。而特定的采集系统和测试的采集卡总线实现方式不一样,所使用的软件也不一样,这样就给测试和标定带来了一定的困难,必须使用两台计算机分别安装两个不同的软件,操作复杂繁琐,不宜工作人员使用。……

登录APP查看全文