Share this

Research on Gas Energy Testing System

2026-04-06 05:13:34 · · #1
Abstract: This article introduces the research of a gas-fired energy source testing system capable of collecting, storing, reading, and real-time monitoring. The application and transmission of each functional module are discussed, along with their hardware implementation. A software interface implemented in VB is used to control the hardware functionality. Finally , the collected data is read and the real-time calibration waveform is displayed on the host computer. Keywords : testing system; software interface; reading data; waveform display 1 Introduction With the development of computer technology and the advancement of testing technology, computers have been introduced into the testing of pressure systems since the 1950s. It wasn't until the 1980s that computers and testing systems were precisely integrated, using the powerful software capabilities of computers to replace certain hardware components of traditional instruments, thus achieving their functions and forming "virtual instruments." This paper is based on this principle to test various performance indicators of an energy supply system. A static memory 628512, a Xilinx FPGA XC2S50E, and a FIFO are used to construct a system for acquisition, storage, retrieval, and real-time monitoring. This paper mainly introduces the hardware design of the gas energy tester and its software implementation. 2 Hardware Design 2.1 System Block Diagram The overall system principle block diagram of the tester is shown in Figure 1. It mainly consists of a pre-signal conditioning module, a multi-channel acquisition module, a central control unit module, a storage module, an interface module, and a power supply module. [align=center]Figure 1[/align] 2.2 Hardware Working Principle The pre-amplifier signal conditioning module mainly conditions 8 voltage signals (amplitude -10V to +10V) and 16 pressure signals (amplitude 0mV to 20mV) to bring their amplitudes within the voltage range (0V to 5V) that the analog-to-digital converter (ADC) can receive. For voltage signals, a general-purpose operational amplifier is used to construct a signal processing circuit for conditioning; for weak pressure signals, an instrumentation amplifier is used to amplify them, followed by noise filtering using a low-pass filter circuit. For timing signals, a level drive circuit is used to drive them, and then the driven signal is sent to the central control unit to reliably start the system. The multiplexing module and the ADC module are used to sequentially select and convert the conditioned voltage and pressure signals from analog to digital, and then send the converted digital signals from all analog input signals to the central control unit. The central control unit mainly generates various control signals to coordinate the operation of various parts of the system. After receiving control commands from the working mode control switch or the host computer's working mode control, the central control unit generates corresponding control signals to complete the corresponding functions. Finally, the central control unit fuses the collected data and writes the data into the memory for later reading or sends it to the host computer for real-time display. The storage module consists of static memory, first-in-first-out (FIFO) memory, and corresponding interface circuit modules. Static memory mainly stores data read later, FIFO memory mainly stores data displayed in real time, and the interface circuit block mainly performs signal isolation and driving functions. The tester has five working states: "self-test," "clear," "acquisition," "reading," and "calibration." Only one working state can be active at any given time. The "calibration" control state is controlled by the host computer. "Self-test," "clear," "acquisition," "reading," and "sampling rate selection" can be controlled by an external switch or by the host computer (but only one of the two control modes can be selected at any given time). When the "Self-Test" state is active, the entire system enters a self-test state. The central control logic starts the A/D converter to collect and interpret the preset voltage in the system. If the collected voltage value is within the preset voltage range, the acquisition circuit is considered to be working normally, and the indicator light will illuminate, indicating a successful "Self-Test." If the collected preset voltage value is outside the preset range, the acquisition circuit is considered to be malfunctioning, the indicator light will not illuminate, and the system will remain in the self-test state. When the "Clear" state is active, the entire system enters a "Clear" state. The central control logic begins writing "00" data into the static memory until the memory is full. The system must be cleared before each storage to prevent data from being mixed with previous data. When the "Calibration" state is active, the entire system enters a "Calibration" state, which calibrates the pressure sensor's status in real time. First, a predetermined pressure value is set in the software. Then, this pressure value is applied to the pressure sensor. Under the control of the central control logic, the system acquires and stores the standard pressure sensor signal in real time through the computer's parallel interface. Simultaneously, the system observes the data collected corresponding to this pressure value. Once the data stabilizes, it is confirmed that the data corresponds to the given pressure value and is stored. Then, the standard pressure sensor signal is changed, and the same "acquisition" process is repeated. This process is repeated six times, resulting in six pressure values ​​and their corresponding six data points. Using the software, based on these six sets of corresponding data, the pressure sensor signal and its corresponding measured value can be fitted into a linear curve, and the linearity and zero-point value of the curve can be calculated. The least squares method is used for fitting. The fitted curve and the calculated linearity can be used to verify whether the pressure sensor is qualified. When the "acquisition" state is active, the entire system enters the "acquisition" state. To ensure data integrity at the arrival of the timing signal, a "negative delay" acquisition approach is adopted: as long as the "acquisition" state is valid, the system begins cyclic acquisition and waits for the arrival of the timing signal; when the timing signal arrives, if the sampling rate is 2KHz, the maximum sampling time is required to be 50S. Since the system's storage capacity is 3MByte and the acquired data volume is 2.67MByte, the data stored by the system will definitely include the data at the arrival of the timing signal, thus ensuring the integrity of the data acquisition at that moment. After the computer reads this data back, it can use data analysis to plot the relationship between all acquired signals and the timing signal, thereby knowing the status of the output signals of each voltage and pressure sensor at the arrival of the timing signal. When the "reading" state is valid, the entire system enters the "reading" state, and the control of the system is handed over to the computer. Under the control of the computer's parallel interface, the data stored in the tester can be read into the computer through the central control logic. 3 Software Design 3.1 Functional Structure of Gas Energy Tester Software The use of the gas energy tester system is inseparable from the cooperation of the software, and the software functions are divided into two main parts: the function of controlling the working status of the gas energy tester and the function of post-processing data. The functions controlling the working status of the gas energy tester include: erase function, reset function, and reading function; the post-processing functions include: original data display, DG and TREF time display, curve display, etc. The overall flowchart of the gas energy tester software is shown in Figure 2: [align=center] Figure 2[/align] The device erase module includes two functions: device erase and device verification. After starting the software and executing "Device Open" and "Device Reset", click the "Device Erase" button or menu item to enter the device erase module. After the device erase is complete, the "Device Verification" operation can be performed to ensure that the data in the memory is completely erased. Then click the "Device Read" button or menu item to enter the device read module, input the size of the data to be read, select the file storage path, and click the read data button. The data analysis submodule mainly completes the post-processing of the read data, including the "Data Preprocessing", "Data Analysis", "All Display", "Select Display" and "Single Channel Display" submodules. 3.2 Gas Energy Tester Software Calibration The gas energy tester software performs simulated acquisition, and a standard signal source is used. The gas energy tester's signal source simulates 16 pressure signals (mV) output from a pressure sensor and 8 voltage signals (V) from a rudder feedback, allowing the gas energy tester to collect and record them. After collection and recording, the data is read from the gas energy tester into a computer via a parallel interface. The accompanying software then analyzes the data and plots curves, thus calibrating the gas energy tester software. Figure 3 below shows the test waveform for real-time sensor calibration. [align=center]Figure 3[/align] 4 Conclusion The gas energy tester tests various performance indicators of the energy supply system. The measured signals include 16 pressure signals from a pressure sensor, 8 feedback voltage signals, and 1 timing signal. The A/D converter has 8 effective bits, and the data storage capacity reaches 3MB. A recording time of 50 seconds at a 2kHz sampling frequency or 100 seconds at a 1kHz sampling frequency results in a capacity of 2.734MB. Furthermore, this device can be improved for application in various fields. References [1] Tan Caibiao. Research on computer measurement and control system of fuel test bench. Master's thesis of Guizhou University, 2006: 5: 6-7 [2] Yang Shuo, Zhang Haibin, Song Wentao. General FPGA algorithm test platform. Microcomputer Information, 2006: No. 7-2 [3] Liu Bingwen. Visual Basic Programming Tutorial. Beijing: Tsinghua University Press, 2000. [4] Diane Zak. Programming with Microsoft Visual Basic 6.0. Beijing: Electronic Industry Press, 2002.
Read next

CATDOLL 123CM Alisa (TPE Body with Hard Silicone Head)

Height: 123cm Weight: 23kg Shoulder Width: 32cm Bust/Waist/Hip: 61/54/70cm Oral Depth: 3-5cm Vaginal Depth: 3-15cm Anal...

Articles 2026-02-22