Design of Temperature Measurement System Based on LabVIEW

Publisher:asa1670Latest update time:2011-06-28 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Temperature is a very important parameter in mechanical industrial production and scientific research experiments. Many systems work within a certain temperature range, and there are many occasions where temperature measurement and temperature control are needed. The current temperature measurement control system often uses single-chip microcomputer control. This technology is widely used, but its programming is complex, the control is unstable, and the system accuracy is not high. The temperature measurement system developed and designed using virtual instruments uses an ordinary PC as the host and the graphical visual software hbVIEW as the software development platform to monitor temperature changes, collect data, and process, store, and display it. The equipment has low cost, is easy to use, and is flexible.

1 Introduction to Virtual Instrument Technology and LabVIEW
Virtual technology, computer communication technology and network technology are the three core technologies of information technology, among which virtual instruments are an important part of virtual technology. In the virtual instrument system, flexible and powerful computer software is used to replace some hardware of traditional instruments, and human intellectual resources are used to replace many material resources. In particular, the computer is used in the system to directly participate in the generation of test signals and the analysis of measurement characteristics, so that some hardware in the instrument or even the entire instrument "disappears" from the system, and the computer's software and hardware resources complete their functions.
LabVIEW is a virtual instrument software development tool based on G language launched by NI of the United States. It is one of the most widely used virtual instrument software platforms in the world. It is mainly used in instrument control, data acquisition, data display and other fields, and can be applied to multiple operating system platforms such as Windows, Macintosh, and UNIX. Unlike traditional programming languages, LabVIEW uses a powerful graphical language for programming, which is aimed at test engineers rather than professional programmers. It is easy to program and the human-computer interaction interface is intuitive and friendly. Designers can easily build measurement systems
and construct their own instrument panels like building blocks without having to write any tedious computer codes. Even if users do not have much programming experience, they can still use LabVIEW to develop their own applications.

2 System Design Scheme
The virtual temperature tester converts the temperature of the object to be measured into analog signals such as voltage or current, and after power amplification and filtering by the signal conditioning circuit, it is converted into a standard voltage signal that can be collected by the data acquisition card. The analog signal is converted into a digital signal in the data acquisition card, and sent to the computer bus under the data acquisition instruction. The collected data is processed in various ways required by the installed virtual instrument software in the PC. Its overall framework is shown in Figure 1.

a.JPG


To design an instrument, we must first consider its function, and then design the front panel and flowchart according to its function. In the virtual instrument, the panel of the "instrument" needs to be displayed on the computer screen, and can be modified at any time as needed. The virtual temperature tester designed in this paper should realize the following functions: 1) Set control buttons and display windows to display the temperature in real time, and control the acquisition process; 2) Set warning signals. When the temperature exceeds a preset temperature value, the warning light will light up; 3) The collected temperature signal can be displayed, stored and
printed, and the collected temperature can be called for analysis and processing and waveform playback; 4) The temperature change process can be intuitively seen in the form of a real-time trend chart. In the real-time trend chart, new data is continuously extended behind the existing data, and the waveform continues to move forward.
2.1 Selection of sensor
For temperature measurement, the selection of temperature sensor is the first step of the entire system and one of the important factors that directly affect the system performance. Because the thermal resistor has good linearity. It is widely used in the temperature range of -200 to +500℃, so the thermal resistor temperature sensor is selected. Its working principle is: Thermistor thermometer measures temperature based on the characteristics of the resistance of metal conductors changing with temperature. Commonly used platinum resistors are characterized by high precision, stable and reliable performance, and are specified by international organizations for temperature measurement of -259 to +500°C. The relationship between its resistance and temperature can be expressed as:
b.JPG
where RT and R0 are the resistance values ​​at T°C and 0°C respectively; A and B are constants, A=3.908x10-3°C, B=5.802x10-7°C.
Thermistor sensors require an external power supply to convert the resistance value into a voltage value for measurement. Usually, the temperature change of thermistor is converted into a voltage change output through a balanced bridge. Then it is amplified and the temperature value is obtained by measuring the change in the bridge output voltage. [page]

c.JPG
The temperature variation range measured in this article is: -20~+120℃, and the accuracy requirement is 0.5 level. The system is calibrated by the curve fitting method, and the temperature corresponding to any voltage within the temperature measurement range can be obtained.
2.2 Signal conditioning of temperature test system
This temperature sensor uses a temperature transmitter for signal conditioning. The working principle of the temperature transmitter is: a thermal resistor is used as a temperature measuring element, and the signal output from the temperature measuring element is sent to the transmitter module. After the voltage stabilization filter, operational amplification, nonlinear correction and reverse protection processing circuits, it is converted into a 4~20 mA current signal output that is linearly related to the temperature. A 220 Ω resistor is added to the signal output end to convert it into a 0.88~4.4 V voltage signal output.
2.3 Data acquisition of temperature test system
Modular design of data acquisition. The design of data acquisition module has a direct impact on the subsequent data display and analysis results and the realization of the whole system function. This module is designed by using NI's DAQ (Data Acquisition) card and its driver. The integrated DAQ function library and subVI with comprehensive functions are fully utilized to design a data acquisition module that can realize the control of data acquisition, including trigger control, channel control, etc.
2.4 Program flowchart of temperature test system
When performing temperature test, first determine which channel to collect temperature signals, and then debug the system. After debugging, start data acquisition, storage and backup. When the temperature exceeds the limit value set by the user, the temperature test system will alarm. When the temperature is within the allowable range, the test system will filter and analyze the collected signals, display waveforms, and adjust waveforms. The program design includes two parts: the front panel and the program flowchart. The system front panel consists of parameter settings and function buttons. There are corresponding program modules in the background. The running state of each program module corresponds to a loop structure. The user uses the buttons or controls on the front panel to select the state. After running the program, the background executes the corresponding state. At the same time, the front-end dialog box provides an interface for testers to fill in parameters or select functions. In order to facilitate subsequent personnel to make small-scale modifications according to their own requirements, the back panel program flowchart is also designed in an intuitive and concise way. The specific flow chart and program flowchart are shown in Figures 3 and 4. [page]

d.JPG
In the flowchart of Figure 4, the case loop is used to determine whether to execute the temperature test program, which filter to select, and whether to alarm if the limit is exceeded.

e.JPG

3 Conclusions
By setting different parameters on the left side of the front panel, including the upper and lower temperature limits and filter settings, the right side is the waveform display part, including the original temperature waveform display and the adjusted waveform display, as well as the local refinement and amplification of the graph, and the numerical display of the index value. The measurement results shown in Figure 5 show that the measurement method has the advantages of high measurement accuracy, good linearity, and short time.
The virtual temperature measurement system is realized by LabVIEW software, which can display and control the temperature in real time on the computer, improve the working conditions, improve the accuracy, save time, and reduce the cost. The system has strong scalability, and can change the function according to its own requirements for the instrument, and easily realize the operations required by the user, such as realizing remote temperature measurement and control.
11y.jpg

Reference address:Design of Temperature Measurement System Based on LabVIEW

Previous article:Design of radar signal simulator based on virtual instrument technology
Next article:A fast method to realize self-made portable virtual instrument

Recommended ReadingLatest update time:2024-11-16 22:48

Portable Vibration Analyzer Based on Labview
  introduction   Traditional vibration analysis instruments have the characteristics of complex structure, large size, and inconvenient operation; while the vibration acquisition and analysis instrument based on single-chip microcomputer is small in size, its analysis ability is limited and often cannot meet the spe
[Test Measurement]
Portable Vibration Analyzer Based on Labview
Developing Digital Test Designs for Navy Aircraft Communications Using NI LabVIEW and PXI
Author(s):  Lawrence M. David Jr - ALE System Integration Terry Stratoudakis, PE - ALE System Integration Industry: ATE/Instrumentation, Government/Defense, Aerospace/Avionics Products: LabVIEW, PXI-8196 RT, PXI-4060, PXI-6542, High-Speed ​​Digital I/O, PXI-8196, Digital Waveform Editor, Digital Multimeters, NI-HSDI
[Test Measurement]
Developing Digital Test Designs for Navy Aircraft Communications Using NI LabVIEW and PXI
Designing a Semi-Autonomous Vehicle for the Visually Impaired Using LabVIEW
Developing semi-autonomous vehicles allows blind drivers to successfully maneuver, control speed, and avoid collisions while driving safely. The Solution: Developed the world's first functional prototype of a vehicle that can be driven by the blind using NI CompactRIO and LabVIEW software. Gal
[Test Measurement]
Designing a Semi-Autonomous Vehicle for the Visually Impaired Using LabVIEW
Programming of 2ASK Communication System Based on LabVIEW
Abstract: The design method, computer simulation and results of ASK signal are studied. The 2ASK communication system is modulated and demodulated by using LabVIEW language. The modulation method is to multiply the input sequence with the carrier, and then the modulated waveform is filtered through the channel and low
[Test Measurement]
Programming of 2ASK Communication System Based on LabVIEW
LabVIEW programming skills: copying conditional structures and event structures
  When writing a medium-sized program, state machines and event structures are common design patterns. SR (SHIFT REGISTER) is often used to transfer data between various cases. When there are many cases, it is often the case that SR is forgotten to be connected or a new SR needs to be added. This is very troublesome a
[Test Measurement]
LabVIEW programming skills: copying conditional structures and event structures
Design of Heart Sound Signal Detection System Based on LabVIEW
Heart sound signal is one of the most important physiological signals of the human body. It contains a lot of pathological information about the functional status of various parts of the heart, such as the atrium, ventricle, large blood vessels, cardiovascular and various valves. It reflects the mechanical movement of
[Test Measurement]
Design of Heart Sound Signal Detection System Based on LabVIEW
Design of remote monitoring system for solar greenhouses in cold regions based on LabVIEW platform
  "By using NI products, we have greatly shortened our system development cycle and experimental verification time." – Fulu Wang, Northeast Agriculture University   The Challenge:   With NI LabVIEW as the software core, PCI6221, NI WSN, third-party OMRON PLC controller and other hardware are integrated to jointly
[Test Measurement]
Design of remote monitoring system for solar greenhouses in cold regions based on LabVIEW platform
Hypothesis Testing in LabVIEW 8.2
  Hypothesis testing is to propose certain assumptions about the population in order to infer certain properties of the population when the distribution function of the population is completely unknown, or only its form is known but the form of its parameters is unknown; then, based on the information provided by the s
[Test Measurement]
Hypothesis Testing in LabVIEW 8.2
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号