Development of Virtual Instrument for Gas Microflow Measurement Based on LabVIEW

Publisher:BlissfulCharmLatest update time:2015-03-19 Source: eechinaKeywords:LabVIEW Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
In vacuum technology applications, gas microflow is measured by gas microflowmeters. Accurately measuring gas microflow (or leakage rate) is of great significance. For example, in order to keep the pressure in the spacecraft cabin working normally for a long time, it is necessary to detect leaks in the cabin. When detecting leaks, it is necessary not only to find the location of the leak, but also to accurately measure the tiny leak rate, which is especially important for manned spacecraft flying in space for a long time; rocket fuel is a flammable, explosive, and toxic gas or liquid. Tiny leaks are very dangerous, and safety inspections must be carried out on the filling process and launch site of rocket fuel; in the production process of semiconductor components, integrated circuits, and computer chips in the electronics industry, precise control of gas microflow injection is required to ensure process quality and stable product performance. In order to meet the above requirements, it is very necessary to develop a gas microflowmeter with higher measurement accuracy and reliability, wider measurement range, intuitive measurement interface, and high degree of automation. The virtual instrument system for gas microflow measurement constructed using virtual instrument technology is a research and exploration to achieve the above goals.  

Establishment of virtual instrument system for gas microflow measurement  

The measurement principle of gas microflow The  

measurement principle of gas microflow is: when the gas flows out of its variable volume chamber, the servo motor drives the piston to move horizontally in the oil chamber through the translation mechanism. The piston movement will change its volume in the oil chamber, while the volume of the hydraulic oil is basically unchanged. In this way, the bellows is deformed by the force, so that the gas pressure inside it remains constant. The flow rate Q of the gas at Tr temperature (Tr is generally 23°C) is calculated by measuring the pressure p, temperature T and volume change rate dV/dt of the gas in the variable volume chamber by formula (1).  


  
It can be seen from formula (1) that when measuring the flow rate, it is necessary not only to accurately measure the pressure, volume change rate and temperature of the gas in the variable volume chamber, but also to control the pressure of the gas in the variable volume chamber during the measurement process to keep it constant.  

Hardware structure of virtual instrument

Hardware and function description:

Based on the principle of "improving measurement accuracy and automation, reducing measurement uncertainty", a measurement and control system centered on industrial computers is designed. High-precision measurement tools are selected, and multiple data acquisition cards are used to connect various measurement tools with control devices to realize automatic data acquisition and constant pressure automatic adjustment functions. The overall hardware structure is shown in Figure 1.    



Figure 1 Overall hardware structure diagram  

Three Pt100 platinum resistance temperature sensors, three ADAM3013 thermal resistance transmitter modules and one PCI-1716 multi-function data acquisition card are used to realize the simultaneous acquisition of the variable volume chamber, reference chamber and laboratory temperature. The temperature measurement range is 0~100℃, and the accuracy is 0.1℃.  

A set of differential pressure capacitance film gauges (including three gauge heads, a control unit MKS274 and a data display unit MKS670, with a 488 interface on the MKS670, and the computer selects the range and gauge head through the IEEE488 data acquisition card) and an IEEE488 data acquisition card produced by NI of the United States are used to measure gas pressure. The pressure measurement range is 0 to 1.01×105Pa. The  

motion control card PCI-8132, servo control card and position control card, and translation mechanism (mainly including the 70LC-1 permanent magnet DC torque speed measuring unit produced by Beijing Micro Motor Factory, the HES-10242MD pulse encoder, the lead screw, and the θ5 piston) produced by Taiwan Linghua Company are used to control the speed and position of the servo motor (see Figure 2 for a schematic diagram of the servo control structure). The lead screw has a lead of 2mm and an accuracy of 0.001mm, which is the benchmark for displacement measurement.  




Figure 2 Schematic diagram of servo control structure  

The feedback signal of the speed loop is taken from the speed measuring generator. The filter is added to the feedback link to filter out the harmonics at low speed. The position sensing element in the position loop - the photoelectric encoder feeds back the generated electrical pulse to the position board, and after signal conditioning, it is fed to the subtraction counter in the PCI-8132. Therefore, for each pulse, the counter subtracts 1 from the target value until the content of the counter is 0, and the servo motor turns to the target position and stops rotating.  

Constant pressure control principle: differential pressure capacitor film gauge, IEEE488 data acquisition card, industrial computer, 8132 motor control card, position/servo control card, motor, guide rail translation mechanism, piston, hydraulic oil and bellows together form a closed-loop control system with negative feedback constant pressure automatic regulation. During the flow measurement process, the gas pressure in the reference chamber remains unchanged. When gas flows out of the variable capacitance chamber, the pressure in the variable capacitance chamber changes, and a pressure difference △p is generated between the variable capacitance chamber and the reference chamber. The computer cyclically detects this pressure difference signal. The computer uses a preset control algorithm to calculate the corresponding motor speed adjustment according to the size of the pressure difference △p, and outputs it to the position control card, so that the motor drive card re-drives the servo motor according to the voltage signal, so that the speed of the servo motor is adjusted. The motor drives the piston to move in the oil chamber, changing the volume of the variable volume chamber, so that the differential pressure value △p between the variable volume chamber and the reference chamber is maintained near zero, so that the pressure p of the variable volume chamber remains basically constant.  

System control algorithm

This system adopts a dual-mode control algorithm of time optimal (BB control) and integral separation PID control. Time optimal control can speed up the adjustment effect, while PID control ensures that the tracking accuracy and steady-state error meet the requirements. The time optimal control mode is  


  
: E1 is the time optimal control deviation threshold; Rk, Yk, ek, Uk are the set value, detection value, deviation value, and computer output value at the kth sampling; Umax is the maximum value of the computer output. [page]

Integral separation PID control can enhance the anti-integral saturation function and prevent overshoot and oscillation. Its basic idea is: when the deviation is large, cancel the integral effect and only perform PD adjustment. Only when the deviation is within a certain range, the integral action is added to perform PID adjustment. The control equation can be derived as  


  
Kp, Ki, and Kd, which are the proportional, integral, and differential coefficients of the controller respectively; E is the integral action threshold value, and its value needs to be finally determined during debugging according to the control accuracy.  

Software Design and Implementation of Virtual Instruments

The system software adopts modular design, and different measurement contents can be designed into separate functional modules. The main interface program constitutes the structural framework, and each submodule completes a certain function and is called in the main interface program or other subprograms. The independence between each functional module is strong, and generally can be debugged, modified, and transplanted separately. Therefore, the entire system software has a clear hierarchy, is easy to understand, easy to modify, and is conducive to the development of new functions. The system software consists of a gas pressure data acquisition module, a temperature data acquisition module, a piston displacement data acquisition module, a motor drive and speed control module, a pressure compensation program module, and a measurement data storage and display module. Figure 3 shows the main interface of a gas microflow measurement virtual instrument developed using LabVIEW6.1.   Figure 3 Uncertainty analysis



of the main interface of a gas microflow measurement virtual instrument   The uncertainty of the entire instrument is synthesized by the following parts, which are now explained separately.   Uncertainty of pressure measurement The pressure is measured by a capacitance film gauge. According to the calibration results of the capacitance film gauge by the Vacuum Metrology Level 1 Station of the National Defense Science and Technology Commission, the uncertainty of pressure measurement is 0.8%. The   uncertainty of piston displacement and time measurement











The displacement is measured by the encoder. For every 4096 pulses output by the encoder, the piston advances 2mm, and its resolution is 0.5μm. The maximum stroke of the piston in flow measurement is 36mm (corresponding to 73728 pulses). The piston displacement is set to 73728 pulses (i.e. 36mm), and the number of pulses actually output by the measuring encoder is 73726. From the measurement results, it can be seen that the measurement uncertainty of the piston displacement is △L/L=(2×2)/(4096×36)=0.0027%. The time measurement is directly taken from the clock of the industrial computer, and its accuracy is 0.001.s. When measuring flow, the effective measurement time of flow is greater than 100s. In this way, the uncertainty of time measurement is less than 0.001%. The  

measurement uncertainty of the variable volume chamber temperature The

measurement accuracy of the Pt100 platinum resistance temperature sensor is 0.1K. The temperature of the laboratory is about 23℃, so the uncertainty of temperature measurement is about 0.04%.  

Constant pressure control effect

Fill the reference chamber with 104175Pa of N2, set the PID control parameters, introduce the flow into the double ball calibration system through the small hole, and perform constant pressure regulation. Figure 4 shows the PID adjustment result.  



Figure 4 Constant pressure control effect diagram  

From the PID adjustment result, it is known that the pressure difference between the variable volume chamber and the reference chamber is controlled to within ±0.004% of the variable volume chamber pressure. After adding the static fluctuation of the gas pressure in the reference chamber (about 0.005%), the fluctuation of the gas pressure in the variable volume chamber is about 0.0.%. From the above experimental results, it can be seen that the relative synthetic standard uncertainty of the entire flowmeter  


  
is This   uncertainty is much smaller than the design index of the flowmeter (2%).

Conclusion  

In the design of this system, by selecting high-precision measuring elements and advanced measurement and control methods, the measurement accuracy of the flow rate is improved and the lower limit of the flow rate measurement is extended. The application of virtual instrument technology makes the gas micro-flow measurement system have a humanized operation interface and easy operation characteristics, and improves the automation, reliability and maintainability of the system.
Keywords:LabVIEW Reference address:Development of Virtual Instrument for Gas Microflow Measurement Based on LabVIEW

Previous article:Design of real-time data acquisition system based on NI Scope
Next article:Frequency stability measurement based on LabView virtual instrument

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号