Design and Application of Upper Computer Software for Multiple Shock-Wave Overpressure Test Devices
Shock-wave overpressure testing is crucial in explosion power research,and convenient test equipment and methods can improve the efficiency of shock-wave testing.In this study,a multi-threaded upper computer software designed with Qt can connect to multiple devices simultaneously,addressing the issues of low data-transmission efficiency and complex device-connection procedures encountered in traditional single-device upper computer software.The upper computer software includes four primary functional modules:device management,parameter management,algorithm,and data management.This software connects to devices using a custom application-layer protocol over a network,converts and filters collected voltage signals,and ultimately generates overvoltage signals for data display.The functionality of the software is tested via static-voltage and dynamic-pressure tests.In the static-voltage test,the upper computer software accurately reflects the forward sine signal with an amplitude of 1 V and a frequency of 1 000 Hz.Based on the dynamic-pressure test results,the peak pressure values of the first wave of three acquisition points are 0.117 8 MPa,0.121 4 MPa and 0.117 9 MPa,and the error is within 5%of the theoretically calculated value of 0.116 0 MPa for the shock tube.The test results indicate that the software can simultaneously control and transfer data for multiple devices.This software simplifies the process of connecting multiple devices and improves data-transmission efficiency,and is thus highly applicable and beneficial for widespread use.