The explosion shock wave overpressure tester is an essential test instrument for various explosion tests. The reconfigurable data storage pressure gauge is a new type of explosion shock wave overpressure test instrument. This instrument is different from the traditional test system. It does not require lead cables, but combines piezoelectric sensors, adapter amplifiers, A/D converters, memory, control circuits, interface circuits and batteries to form an independent test system. It can withstand high impact acceleration, high ambient temperature and ambient pressure; it can be directly placed in the body under test, record the signal during the working process of the body under test, and then take out the device to read and process the data with a computer. The pressure gauge has the characteristics of small size, low power consumption and high precision. It is precisely because of the outstanding characteristics of the reconfigurable data storage pressure gauge that it is widely used in explosion power tests. However, the data processing software function of the pressure gauge is very limited. The software can only display the waveform and simply read the collected overpressure data one by one, which cannot meet the needs of in-depth analysis of test data in engineering practice. Therefore, it is necessary to redevelop the software so that it can quickly read the collected data and make further analysis and processing. MATLAB is a high-performance numerical calculation and visualization software that integrates numerical analysis, matrix operations, signal processing and graphic display. As a developmental programming software, it is widely used in system modeling and simulation, scientific and engineering drawing, and application development. In terms of graphical user interface design, it can use M files to create graphical user interfaces (GUIs). At the same time, it also provides a convenient and efficient user interface development environment (GUIDE), which integrates all user controls supported by GUIs and provides methods for setting interface appearance, properties and behavioral response methods. Using GUIDE to create GUI objects has high execution efficiency, can interactively layout components, and can also generate corresponding files for saving and publishing GUIs. Since MATLAB has unique advantages in interface development, this paper uses MATLAB language to carry out secondary development of the explosion shock wave overpressure tester data processing software.
1 Data Reading Programming
For most users, the MATLAB functions load and save provide sufficient tools for loading and storing data. Using file names ending with the extension .mat, load and save assume that the data is saved in a platform-independent binary format or in a so-called flat ASCII file format. When the file format is not flat ASCII or .mat, MATLAB provides low-level file I/O functions based on the C language. With these low-level file I/O functions, MATIAB can read and write any file format.
The data processing software of the pressure gauge stores the acquired data in the .dpr format by default. This data format is not a data format that MATLAB can read directly, so it is necessary to use MATLAB's low-level file I/O functions to read the acquired data. Usually, when using MATLAB to read a file, it is necessary to know the length and storage precision of the file data to be read, and the storage status of the .dpr format test data is not clear in advance, so it is necessary to try to read this file with different precision formats. Through interpretation, it can be known that this file needs to be read in three formats: '*char', 'long' and 'short'. The data read in the 'short' format is the 4 194 304 overpressure signal data collected. Figure 1 is the reading process of the .dpr file. Among them, P is the overpressure data collected by the pressure meter, and T is the collection time corresponding to the overpressure data.
Figure 2 is a comparison chart of the overpressure data read by the program and the overpressure data read by the pressure gauge's built-in software. The upper part is the overpressure data read by the pressure gauge's built-in program, and the lower part is the overpressure data read by MATLAB programming. It can be seen that the overpressure data read by the MATLAB program is completely consistent with the overpressure data read by the pressure gauge's built-in software, so the collected overpressure data can be further analyzed and processed.
2 Graphical user interface development
Graphical user interfaces (GUI) are a user interface composed of objects such as windows, cursors, buttons, menus, and text descriptions. Users select and activate these graphic objects in a certain way to achieve functions such as calculations and drawing. If the required data analysis program is relatively simple, then the production of GUI is generally not considered. However, if you need to provide an application to others, conduct a demonstration, or create a special tool that can be used repeatedly and is easy to operate, then the graphical user interface is one of the best choices. [page]
Since the overpressure test requires a program that is easy to use, fast, intuitive and simple to operate, this paper designs a corresponding graphical user interface for the .dpr file reading program of the overpressure tester. In MATIAB, the command figure is used to create a graphic window. Each execution of the figure command generates a graphic window, and these windows are automatically assigned a handle. There are a series of objects in the graphic window, each object has a handle associated with it, and each object can set and change properties. In the graphic window, objects such as the coordinate axis and the user interface are child objects of the graphic window, while lines, texts, surfaces and images are child objects of the coordinate axis. Each parent object can contain one or more child objects. All created objects will be automatically created first when the parent object exists. Figure 3 is the interface of the designed overpressure tester data analysis program. When using it, you only need to input the sensor number, the distance of the sensor relative to the explosive device, and the address where the test data is stored. The program can read the test data of all pressure instruments in the test at one time, and can automatically judge the peak value of the overpressure measured at each distance, calculate the positive pressure action time, impulse of the shock wave, and the average speed of shock wave propagation. In this way, the basic parameters of the explosion shock wave are obtained, so that the power of the explosion shock wave can be further evaluated.
3 Application Examples
In order to verify the practicality of the program, the program was applied in a free space TNT static explosion test. Test conditions: the mass of TNT is 35kg, the explosion height is 1.2m, the detonation method is two-end detonation, and 16 reconfigurable data storage pressure gauges are arranged in two ways at 5m, 6m, 8m, 10m, 12m, 14m, 17m, and 20m away from the projection center of the explosion point.
[page]
After detonating the TNT explosives with a detonator, the reconfigurable data storage pressure meter is used to collect the explosion shock wave of the TNT. After the signal acquisition is completed, the pressure meter's built-in software is used to access the data stored in the pressure meter, and then the collected data is analyzed and processed using the development program to obtain the main power evaluation parameters of the shock wave generated by the explosion. Table 1 lists the main parameters of the explosion shock wave overpressure calculated using the program, Figure 4 shows the waveform of the explosion shock wave collected by the pressure meter at different distances, and Figures 5 and 6 are the curves of the overpressure peak, the average propagation speed of the shock wave, the positive pressure action time, and the impulse change with distance, respectively.
From the above charts, we can have a clear and intuitive understanding of the measured data of the TNT explosion shock wave, and from Figure 6 we can see that the data measured by the pressure meter at 10 m is not valid data, because the positive pressure action time and impulse measured at this point are abnormal.
4 Conclusion
(1) Through the analysis of the data format stored in the pressure gauge, the test data of the pressure gauge was read using MATLAB, and according to the actual test requirements, a data reading and analysis program based on a graphical user interface was developed. The program has good human-computer interaction and can analyze and process the measured data simply and conveniently.
(2) After practical application, the program can quickly and accurately judge the power evaluation parameters of all test points in an explosion, eliminating the complicated procedures and human errors in manual interpretation, saving time, and intuitively judging whether the measured data is valid, which is conducive to accurate evaluation of the explosion power.
(3) This program is based on the GUIDE template in MATLAB7.0 and has good scalability. In future applications, the functions of the program can be further expanded according to different requirements, such as digital filtering before data reading.
Previous article:Design and implementation of automobile tester based on virtual instrument
Next article:The architecture of automated precision impedance analysis system based on Labview
- Popular Resources
- Popular amplifiers
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- How long will the battle between community owners and communication base stations last?
- Please tell me the winding method and other parameters of the EE8 transformer that can increase 0.7V to 7V
- Conversion between CC2640R2F projects
- Pengfeng Technology RVBoards-Nezha (RISC-V SBC) Allwinner Development Board Introduction Part 3
- [Repost] A few simple steps to help you understand the MCU timing diagram
- What is the progress of domestic NPU chips?
- How is JTAG used for chip testing?
- Talk about downloading the DSP28335 register manual
- 4W PLC Power Supply Reference Design with Wide Input Voltage Range
- [Gizwits Gokit3 Review] Device Access-Step 1: Create a New Solution Project