Air flight simulation test method and system of detection device

By carrying the detection device and test equipment on a drone, an aerial flight simulation test of the detection device is realized, which solves the defects of the ground static test and guide rail test in the existing technology, realizes low-cost real environment simulation and multiple repeated tests, verifies the target recognition and anti-interference algorithm of the detection device, reduces the test cost and improves the credibility of the test results.

CN120762007AInactive Publication Date: 2025-10-10XIAN TIANDI WEICHUANG DETECTION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511277758.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-09
Publication Date
2025-10-10
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN120762007A_ABST
    Figure CN120762007A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of flight simulation testing of detection devices, and particularly provides an air flight simulation testing method and system of a detection device, an electronic device and a computer program product. The detection device and the test instrument are remotely controlled through a wireless link, the working state is monitored, detection data are collected, the real working condition of the detection device in the flight process is monitored at low cost, factors such as flight height, speed, climate and ground environment can be flexibly selected according to requirements, and the influence of different factors on the working condition of the detection device is tested from multiple angles. Perfection, iteration and verification of target identification and an anti-interference algorithm are accelerated, and the method has the advantages of low cost, high efficiency, real environment simulation, modular design and the like.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of flight simulation testing of detection devices, and specifically provides an air flight simulation testing method and system for detection devices, a detection device, an electronic device, a non-transitory computer-readable storage medium, and a computer program product. BACKGROUND

[0002] The laser detection device is mainly used for target identification and confirmation in a short distance range. The laser detection device emits laser of a specific wavelength to irradiate a target. After the target reflects the laser, the laser detection device receives the reflected laser signal and outputs a target confirmation signal after algorithm judgment.

[0003] The existing testing methods for detection devices mainly include the following two types: 1. Ground static testing: after the detection device is powered on, a simulated target is applied within the detection range for testing; and 2. Guided rail testing: the detection device is placed on a guided rail. After the detection device is powered on, a booster is ignited to push the detection device to move at a high speed along the guided rail.

[0004] However, the ground static testing method is simple, but it is difficult to verify the working condition of the detection device in the air flight process. The guided rail testing method can simulate the working condition of the detection device in the flight process to a certain extent, but it has the disadvantages of fixed testing environment, high testing cost, and difficulty in bearing multiple tests. SUMMARY

[0005] The present application provides an air flight simulation testing method and system for detection devices, a detection device, an electronic device, a non-transitory computer-readable storage medium, and a computer program product, to solve the defects of the ground static testing and guided rail testing methods in the prior art, realize low-cost data collection and function testing of the detection device in the air flight process, simulate the working condition of the detection device in a real working scenario, verify the performance of the target identification and anti-interference algorithm of the detection device in the real working scenario, and accelerate the algorithm improvement iteration process.

[0006] In a first aspect, the present application provides an air flight simulation testing method for a detection device, comprising: Step 1: Obtain data signals from a control signal transmission link from a ground device to an airborne device, and transmit the data signals from the ground device to the airborne device; Step 2: Run oscilloscope acquisition card host computer software and test tool upper computer software. A small computer host is connected to the oscilloscope acquisition card and the test tool of the detection device to realize oscilloscope waveform display, data recording and storage, and control of the test tool. Step three: control the telescopic rod and the detection device to move, and lead the target signal inside the detection device out, through the internal relay array of the test tool to select and input to the four signal channels of the oscilloscope acquisition card, and the test tool is connected to the controller of the detection device and the telescopic rod; Step four: through the display picture transmission link of the airborne equipment to the ground equipment, transmit the display picture of the airborne equipment to the ground equipment; The control signal transmission link comprises a keyboard mouse-USB keyboard mouse to serial port module, a wireless data transmission sending end, a wireless data transmission receiving end, a serial port to USB keyboard mouse module and a small computer host. The display picture transmission link comprises the small computer host, a wireless picture transmission sending end, a wireless picture transmission receiving end and a portable display screen.

[0007] The step one comprises: The operator inputs control instructions through the standard keyboard and mouse on the ground equipment; The USB keyboard mouse to serial port module converts the keyboard and mouse signals of the USB interface into serial communication signals for subsequent wireless transmission; The step two comprises: The small computer host connects the oscilloscope acquisition card through an interface to collect various electrical signals emitted by the detection device in real time; Run the host computer software of the oscilloscope acquisition card, configure the working mode of the oscilloscope acquisition card, and display the waveform data in real time; Run the host computer software of the test tool to control the action of the test tool, such as starting / stopping the detection device, adjusting the position of the telescopic rod, etc., and record the relevant data; The step three comprises: The test tool forwards the control instructions to the detection device and the telescopic rod controller to control the telescopic rod and the detection device to move, including controlling the telescopic action of the telescopic rod and the opening / closing of the detection device according to the instructions sent by the host computer software of the test tool; The target signal inside the detection device is input to the four signal channels of the oscilloscope acquisition card after being selected by the relay array in the test tool, and the target signal is led out; The step four comprises: The small computer host connects the wireless picture transmission sending end through an interface to convert the screen content into wireless signals and send them out; The wireless picture transmission receiving end receives the wireless signals at the ground station and restores them into video signals; The portable display screen displays the received video signals for the operator to view; The oscilloscope acquisition card host computer software is used for configuring the oscilloscope acquisition card, displaying waveforms in real time, and recording and storing data; configuring the oscilloscope acquisition card includes setting sampling rate, trigger condition and other parameters; displaying waveforms in real time includes graphically displaying the collected signal waveforms; recording and storing data includes saving the collected data into a file for subsequent analysis; The test tool host computer software is used for controlling the telescopic rod and the detection device, state monitoring and feedback, and data recording and storage; controlling the telescopic rod and the detection device includes sending instructions to control the action of the telescopic rod and the start / stop of the detection device; state monitoring and feedback includes receiving state information from the test tool and displaying on the interface; data recording and storage includes recording operation logs and related data; In the second aspect, the application further provides an air flight simulation test system for a detection device, which comprises an airborne device, a ground device and a flight carrier, wherein the flight carrier is a UAV, and the airborne device is arranged in the cargo compartment of the UAV and flies in the air with the UAV; The airborne device comprises the detection device to be tested, a telescopic rod, a test tool for the detection device, an oscilloscope acquisition card, a small computer host, a serial port to USB keyboard and mouse module, a wireless data transmission receiving end and a wireless image transmission sending end; The ground device comprises a keyboard and mouse, a USB keyboard and mouse to serial port module, a wireless data transmission sending end, a wireless image transmission receiving end and a portable display screen; The control signal transmission link from the ground device to the airborne device comprises the keyboard and mouse, the USB keyboard and mouse to serial port module, the wireless data transmission sending end, the wireless data transmission receiving end, the serial port to USB keyboard and mouse module and the small computer host; the display picture transmission link from the airborne device to the ground device comprises the small computer host, the wireless image transmission sending end, the wireless image transmission receiving end and the portable display screen; through the two communication links, remote wireless picture display and keyboard and mouse input of the airborne small computer host are realized; The small computer host is connected with the oscilloscope acquisition card and the test tool for the detection device, and runs the oscilloscope acquisition card host computer software and the test tool host computer software, so as to realize oscilloscope waveform display, data recording and storage, and control of the test tool; The test tool is connected with the controller of the detection device and the telescopic rod, and is used for controlling the action of the telescopic rod and the detection device, and leading out the internal target signal of the detection device to be input to four signal channels of the oscilloscope acquisition card through the internal relay array gating of the test tool; The detection device is fixedly arranged on the telescopic rod, after the unmanned aerial vehicle takes off, the telescopic rod is controlled to extend out of the warehouse by the upper computer software of the test tool, the detection device is powered on and a control instruction is sent by the test tool, a target signal is input into a channel of an oscilloscope, and the working state of the oscilloscope is set by the upper computer software of an oscilloscope acquisition card; the unmanned aerial vehicle is controlled to fly according to a preset path and speed, and a waveform curve of the oscilloscope is observed and saved.

[0008] The air flight simulation test system of the detection device of the application realizes the air flight simulation test of the detection device through remote control and display and a high-flexibility test tool. The remote control and display include wireless image transmission, wireless data transmission and a USB keyboard and mouse conversion module; the wireless image transmission uses wireless video transmission technology to transmit the picture of the airborne device to the portable display screen of the ground station in real time; the wireless data transmission uses a wireless data transmission module to realize the instruction sending and data receiving of the ground station to the airborne device; the USB keyboard and mouse conversion module uses a USB-to-serial keyboard and mouse converter, so that the operator can directly control the small computer host of the airborne device through the keyboard and mouse of the ground station to complete various operations such as parameter setting and program starting; The high-flexibility test tool design includes relay array control and an oscilloscope acquisition card; the test tool is internally integrated with a relay array, which can flexibly switch different signal channels in the detection device to four input ports of the oscilloscope acquisition card according to needs, greatly improving the flexibility of the test; the oscilloscope acquisition card is connected to the small computer host, used for real-time monitoring and recording of various electrical signals sent by the detection device, facilitating subsequent data analysis and fault diagnosis; The test implementation steps of the air flight simulation test system of the detection device of the application include a preparation stage, flight test execution, data analysis and optimization; the kilometer-level remote control and display of the computer host in a network-free environment are realized through the wireless image transmission, wireless data transmission and USB keyboard and mouse conversion module; the test tool controls the relay array to arbitrarily connect the various signals in the detection device to the four channels of the oscilloscope acquisition card, improving the test flexibility; the real working environment of the detection device is created to realize the test of the detection device in the flight state, and the cost is low, and the test can be repeated multiple times; the detection device and the test equipment are carried by the flight carrier, the detection device and the test instrument are remotely controlled through the wireless link, the working state is monitored, and the detection data are collected, the real working condition of the detection device in the flight process is monitored at low cost, and the flight height, speed, climate, ground environment and other factors can be flexibly selected according to needs, the influence of different factors on the working condition of the detection device is tested from multiple angles, and the subsequent target recognition and anti-interference algorithm are improved, iterated and verified; In a third aspect, the present application also provides a detection device for testing by using the aerial flight simulation test method of the detection device as described above, comprising a target recognition algorithm and an anti-interference algorithm; The target recognition algorithm is used to identify specific target objects from the raw data obtained by the detection device, including a traditional machine learning method based on feature extraction and a deep learning method; the traditional machine learning method extracts features from images or signals and then classifies these features using a classifier; the deep learning method uses a multi-layer neural network to automatically learn feature representations and performs end-to-end training, which has higher accuracy and robustness when dealing with complex scenarios; the target recognition algorithm is mainly used for target detection and recognition, which mainly includes sliding window + classifier and end-to-end detection; the sliding window + classifier is used for the traditional machine learning method, which scans the entire image area using a sliding window and classifies the features within each window; the end-to-end detection is used for the deep learning method, which directly outputs the position and class label of the target.

[0009] The anti-interference algorithm is mainly used to improve the working stability of the detection device in complex environments and reduce the influence of external interference factors on the performance of the device; the types of external interference factors include electromagnetic interference, optical interference, and physical barrier shielding; the anti-interference algorithm uses filtering technology and an adaptive adjustment mechanism; the filtering technology removes noise components through a digital filter to maintain the integrity of the signal; the adaptive adjustment mechanism dynamically adjusts the detection parameters according to environmental changes to enhance the robustness of the system; the anti-interference measures used by the anti-interference algorithm mainly include frequency domain filtering; the frequency domain filtering designs a bandpass or bandstop filter for specific interference frequencies in the frequency domain to suppress interference signals; The parameters of the target recognition algorithm of the deep learning method include input and output; the input is an image tensor I ∈ R H×W×C where H and W are the height and width of the image, respectively, and C is the number of channels; the output is the boundary box coordinates and their corresponding class probabilities; the target recognition algorithm of the deep learning method uses a convolutional neural network (CNN), and the loss function of the convolutional neural network consists of three parts: position loss, confidence loss, and classification loss; The frequency domain filtering includes frequency domain filter design, which uses fast Fourier transform (FFT) to convert time domain signals to frequency domain and then applies a bandpass filter to remove noise components outside a specific frequency range; The application of target recognition and anti-interference algorithms in the detection device integrates and deploys the target recognition algorithm and anti-interference algorithm into the microcomputer memory of the detection device, ensuring that the detection device can run in real time during the flight of the unmanned aerial vehicle; and the processing results are fed back to the ground station in a timely manner through the wireless communication module for researchers to analyze and make decisions.

[0010] The application further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the air flight simulation test method of the detection device according to any one of the above when executing the program.

[0011] The application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable on a processor to implement the air flight simulation test method of the detection device according to any one of the above.

[0012] The application further provides a computer program product comprising a computer program, wherein the computer program is executable on a processor to implement the air flight simulation test method of the detection device according to any one of the above.

[0013] The air flight simulation test method, system, detection device, electronic device, non-transitory computer-readable storage medium and computer program product of the detection device according to the application can monitor the real working conditions of the detection device in the flight process at low cost by using a UAV to carry the detection device and test equipment, remotely controlling the detection device and test equipment through a wireless link, monitoring the working state, and collecting detection data, and can flexibly select flight height, speed, climate, ground environment and other factors according to requirements, test the influence of different factors on the working conditions of the detection device from multiple angles, accelerate the improvement, iteration and verification of target recognition and anti-interference algorithms, and has advantages in low cost and high efficiency, real environment simulation and modular design. In terms of low cost and high efficiency, compared with traditional high-cost test methods, the mature UAV technology, wide application and relatively low price can greatly reduce the construction and operation cost of the whole system, and can significantly reduce the test cost. In terms of real environment simulation, UAV flight test can simulate various complex environmental conditions such as different heights and wind speeds, so as to better reflect the performance of the equipment in actual use, so that the system can be tested under conditions close to actual application scenarios, and the credibility of the test results can be effectively improved. In terms of modular design, the independence between various components allows individual replacement or upgrading of a certain part without affecting the operation of the overall system, so that the system is easy to upgrade and maintain, and can adapt to possible future technical improvement requirements.

[0014] Additional aspects and advantages of the application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0016] Fig. 1 is the functional block diagram of the air flight simulation test system of the detection device provided by the embodiment of the present application; Fig. 2 is the structural schematic diagram of the air flight simulation test system of the detection device provided by the embodiment of the present application; Fig. 3 is the flow chart of the air flight simulation test method of the detection device provided by the embodiment of the present application; Reference signs: 1, detection device; 2, telescopic rod; 3, unmanned aerial vehicle; 4, cargo compartment; 5, test tooling. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of the present application more clear, the technical solutions in the present application will be clearly and completely described below in combination with the drawings in the present application. The described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.

[0018] The technical solutions of the present application will be described below in combination with the embodiments shown in the drawings: Figs. 1-3

[0019] In order to realize data acquisition and function test of the detection device in the air flight process at low cost, simulate the working state of the detection device in the real working scene, verify the performance of the target recognition and anti-interference algorithm of the detection device in the real working scene, and accelerate the algorithm perfect iteration process, the embodiment of the present application first provides an air flight simulation test system of the detection device, as shown in Figs. 1-2 The kilometer-level remote control and display of the computer host in the network-free environment are realized through the wireless map transmission, wireless data transmission and USB keyboard and mouse conversion module; the test tooling controls the relay array, connects the multiple signals inside the detection device to the four channels of the oscilloscope acquisition card at will, improves the test flexibility, creates the real working environment of the detection device, realizes the test in the flight state of the detection device, and the cost is low, and the test can be repeated many times.

[0020] As shown in Fig. 1 ​As shown, the aerial flight simulation test system of the detection device of the embodiment uses a flight carrier such as a drone to carry the detection device and test equipment, remotely controls the detection device and test instrument through a wireless link, monitors the working state, collects detection data, monitors the real working condition of the detection device in the flight process at low cost, and can flexibly select flight height, speed, climate, ground environment and other factors according to requirements, test the influence of different factors on the working condition of the detection device from multiple angles, accelerate the improvement, iteration and verification of subsequent target identification and anti-interference algorithms; including airborne equipment, ground equipment and flight carrier, the flight carrier is a drone, the airborne equipment is placed in the cargo compartment of the drone and flies in the air with the drone; The airborne equipment includes the detection device to be tested, the telescopic rod, the carrier-test tool of the detection device, the oscilloscope acquisition card, the small computer host, the serial port to USB keyboard and mouse module, the wireless data transmission receiving end, and the wireless image transmission sending end; the small computer host can be a microcontroller (MCU), a microprocessor, a digital signal processor (DSP) or a small micro embedded system, which can perform data processing or control peripheral components by running a computer program with relevant functions stored in a memory; the ground equipment includes a keyboard and mouse, a USB keyboard and mouse to serial port module, a wireless data transmission sending end, a wireless image transmission receiving end, and a portable display screen; The control signal transmission link from the ground equipment to the airborne equipment includes: keyboard and mouse-USB keyboard and mouse to serial port module-wireless data transmission sending end-wireless data transmission receiving end-serial port to USB keyboard and mouse module-small computer host; the small computer host is connected with the oscilloscope acquisition card and the test tool of the detection device, runs the oscilloscope acquisition card host software and the test tool host software, realizes the oscilloscope waveform display, data recording and storage, and control of the test tool; the test tool is connected with the controller of the detection device and the telescopic rod, used for controlling the action of the telescopic rod and the detection device, and leading out the target signal in the detection device to the four signal channels of the oscilloscope acquisition card after the internal relay array of the test tool is gated; the display picture transmission link from the airborne equipment to the ground equipment includes: small computer host-wireless image transmission sending end-wireless image transmission receiving end-portable display screen; through the two communication links, the remote wireless picture display and keyboard and mouse input of the airborne small computer host are realized.

[0021] As shown in the figure, Fig. 2 The detection device 1 is fixed on the telescopic rod 2, after the drone 3 takes off, the telescopic rod 2 is controlled to extend out of the cargo compartment 4 by running the test tool host software; the detection device is powered on and sends control instructions by the test tool 5, the target signal is gated to input the oscilloscope channel, and the oscilloscope acquisition card host software is run to set the working state of the oscilloscope; after preparation is completed, the drone 3 is controlled to fly according to the preset path and speed, the oscilloscope waveform curve is observed and saved; The air flight simulation test system of the detection device of the embodiment aims to carry the detection device and related test equipment on the unmanned aerial vehicle platform, and perform efficient data acquisition and analysis in a simulated real working environment. The system can not only realize repeated tests at low cost, but also ensure remote control and display of the operation of the small computer host in a network-free environment. The air flight simulation test system of the detection device of the embodiment is mainly used for a laser detection device. The detection device of the embodiment is also a laser detection device, and includes remote control and display and high-flexibility test tool design. The remote control and display includes wireless image transmission, wireless data transmission and a USB keyboard and mouse conversion module. The wireless image transmission uses wireless video transmission technology to transmit the picture of the airborne equipment to the portable display screen of the ground station in real time. The wireless data transmission uses a wireless data transmission module to realize instruction sending and data receiving of the airborne equipment by the ground station. The USB keyboard and mouse conversion module uses a USB-to-serial keyboard and mouse converter, so that the operator can directly control the small computer host of the airborne equipment through the keyboard and mouse of the ground station to complete various operations such as parameter setting and program starting. The high-flexibility test tool design includes relay array control and an oscilloscope acquisition card. The test tool is internally integrated with a relay array, which can flexibly switch different signal channels in the detection device to four input ports of the oscilloscope acquisition card according to needs, greatly improving the flexibility of the test. The oscilloscope acquisition card is connected to the small computer host, and is used for real-time monitoring and recording of various electrical signals emitted by the detection device, facilitating subsequent data analysis and fault diagnosis. The air flight simulation test system of the laser detection device of the embodiment includes the following test implementation steps of the detection device: a preparation stage, flight test execution, data analysis and optimization.

[0022] Specifically, the air flight simulation test system of the laser detection device of the embodiment aims to carry the laser detection device and related test equipment on the unmanned aerial vehicle platform, and perform efficient data acquisition and analysis in a simulated real working environment. The main goals are as follows: low-cost repeated tests, real environment simulation and algorithm verification. In terms of low cost, compared with traditional high-cost test methods (such as guide rail tests), the test cost can be significantly reduced. In terms of repeated tests, the system design is convenient for rapid setting and adjustment, and supports frequent test cycles. In terms of real environment simulation, various complex environmental conditions in actual applications can be more accurately simulated through unmanned aerial vehicle flight tests. In terms of algorithm verification, the performance of the target recognition and anti-interference algorithm of the laser detection device in a real scene is verified, and algorithm iteration optimization is accelerated. Wireless image transmission technology is used to transmit the real-time image of the airborne device to the portable display screen of the ground station, which allows the operator to view the situation on the UAV in real time on the ground, ensuring the safety and accuracy of the operation; Wireless data transmission uses a wireless data transmission module to send instructions and receive data from the airborne device, allowing the ground station to remotely control the UAV and collect data during flight; The USB keyboard and mouse conversion module uses a USB-to-serial keyboard and mouse converter, allowing the operator to directly control the small computer host on the airborne device using the standard keyboard and mouse of the ground station, which can complete complex setup and debugging tasks in a network-free environment.

[0023] In terms of relay array control, the test tool has an integrated relay array that can flexibly switch different signal channels inside the detection device to the four input ports of the oscilloscope acquisition card as needed. This design greatly improves the flexibility of the test, allowing for selection of appropriate signal paths based on different testing needs. The oscilloscope acquisition card is connected to a small computer host for real-time monitoring and recording of various electrical signals emitted by the detection device, which is crucial for subsequent fault diagnosis and performance evaluation. In the preparation stage, the laser detection device is fixed to the telescopic rod and installed in the UAV cargo hold, ensuring its stability and not affecting the flight performance of the UAV. All onboard equipment (such as the small computer host, oscilloscope acquisition card, wireless communication module, etc.) is checked to ensure normal operation and secure connections. The ground station is prepared with relevant hardware (such as keyboard and mouse, USB-to-serial keyboard and mouse module, wireless data transmission sender, wireless image transmission receiver, portable display screen) and establishes a wireless link to ensure smooth communication. In the flight test execution phase, the UAV is launched, and the telescopic rod is extended from the cargo hold to expose the laser detection device for operation. The test control uses the test tool's upper computer software to power on the detection device and send control instructions to select the target signal input to the oscilloscope channel, ensuring accurate capture of the required signal data during testing. The oscilloscope acquisition card's working state is set, and the oscilloscope waveform curve is observed and saved, which is crucial for subsequent algorithm analysis. In terms of flight and monitoring, the UAV is controlled according to the preset path and speed, and the performance of the detection device is continuously monitored during flight to collect various data for subsequent analysis. The flight path should simulate complex environmental changes in actual application scenarios as much as possible. In terms of data analysis and optimization, data analysis is used to analyze the collected data in depth to evaluate the actual effect of target recognition and anti-interference algorithm; valuable information is extracted by using data analysis tools and technical means; in terms of algorithm optimization, algorithm parameters are adjusted according to the analysis results, and a new round of testing is carried out until the expected performance indicators are reached, which needs to be iterated repeatedly to improve the algorithm performance step by step; The aerial flight simulation test system of the laser detection device of the embodiment has advantages in cost effectiveness, environment simulation, and easy expansion and maintenance, such as low cost and high efficiency, real environment simulation, and modular design; in terms of low cost and high efficiency, compared with traditional high-cost testing methods (such as guide rail test), the system can significantly reduce testing cost; due to the wide application and relatively low price of unmanned aerial vehicles, the construction and operation cost of the entire system is greatly reduced; in terms of real environment simulation, the test can be carried out under conditions close to actual application scenarios, effectively improving the credibility of the test results; unmanned aerial vehicle flight test can simulate various complex environmental conditions, such as different altitudes and wind speeds, thereby better reflecting the performance of the equipment in actual use; in terms of modular design, the modular design makes the system easy to upgrade and maintain, and adapts to possible future technical improvement needs; the independence between various components allows individual replacement or upgrade of a certain part without affecting the operation of the overall system.

[0024] The embodiment also provides an aerial flight simulation test method of a laser detection device, which is applied to the aerial flight simulation test system of the laser detection device, as shown in Fig. 3 The method comprises the following steps: S10: Obtain data signals from the keyboard and mouse-USB keyboard and mouse to serial port module-wireless data transmission sending end-wireless data transmission receiving end-serial port to USB keyboard and mouse module-small computer host, and perform data signal transmission from ground equipment to airborne equipment; S20: The small computer host is connected to the oscilloscope acquisition card and the test tool of the detection device, and the oscilloscope waveform display, data recording and storage, and control of the test tool are performed by running the host computer software of the oscilloscope acquisition card and the host computer software of the test tool; S30: The test tool is connected to the controller of the detection device and the telescopic rod, so as to control the action of the telescopic rod and the detection device, and the internal target signal of the detection device is led out, input to four signal channels of the oscilloscope acquisition card after being selected by the internal relay array of the test tool; S40: The display screen transmission from airborne equipment to ground equipment is performed through the small computer host-wireless image transmission sending end-wireless image transmission receiving end-portable display screen; Further, the execution subject of the air flight simulation test method of the laser detection device of the embodiment is a small computer host such as STM32, and step S10 includes: obtaining keyboard and mouse input, and an operator inputs control instructions through a standard keyboard and a mouse on a ground device; a USB keyboard and mouse to serial port module converts keyboard and mouse signals of a USB interface into serial communication signals (such as RS232 or RS485) for subsequent wireless transmission; a wireless data transmission sending end sends the serial communication signals to an airborne device through a wireless data transmission module, common wireless transmission technologies include Wi-Fi, ZigBee, or a wireless radio module of a special frequency band; a wireless data transmission receiving end receives wireless signals from a ground station on the airborne device and restores them into serial communication signals; a serial port to USB keyboard and mouse module reconverts the received serial communication signals into USB signals for recognition and processing by the small computer host; The USB keyboard and mouse to serial port module of step S10 can use an FTDI chip set (such as FT232R) or a similar USB to serial port bridge, these modules usually support plug and play and can be automatically configured through a driver; when selecting a wireless data transmission module, factors such as transmission distance, bandwidth, and power consumption need to be considered, for example, an nRF24L01+ module is suitable for short distance and low power consumption applications, and an XBee module is suitable for medium and long distance transmission; a serial port to USB keyboard and mouse module is the opposite of a USB keyboard and mouse to serial port module, and this kind of module converts serial signals back into USB signals for connection to a USB interface of a small computer host.

[0025] Further, step S20 includes: connecting a small computer host to an oscilloscope acquisition card, connecting the oscilloscope acquisition card through a PCIe or USB interface for real-time acquisition of various electrical signals emitted by the detection device; running oscilloscope acquisition card host computer software to configure the working mode (such as sampling rate, trigger condition, etc.) of the oscilloscope acquisition card and display waveform data in real time; test tool host computer software is used to control the actions of the test tool, such as starting / stopping the detection device, adjusting the position of the telescopic rod, etc., and records relevant data; Common brands of the oscilloscope acquisition card of step S20 include National Instruments, Keysight, etc., and these acquisition cards usually come with corresponding SDKs or APIs to facilitate developers to write custom applications; oscilloscope acquisition card host computer software can be developed based on LabVIEW, Python (combined with the PyVISA library), or other programming languages, and main functions include configuring acquisition parameters, displaying waveforms in real time, saving data files, etc.; test tool host computer software can be developed using programming languages such as C# and Python, and uses serial communication protocols (such as Modbus RTU) to interact with the test tool.

[0026] Furthermore, step S30 includes: connecting the detection device and the telescopic rod controller with the test fixture, the test fixture acting as an intermediate layer and responsible for forwarding control instructions to the detection device and the telescopic rod controller; controlling the movement of the telescopic rod and the detection device. According to the instructions issued by the host computer software, the test fixture controls the telescopic movement of the telescopic rod and the opening / closing of the detection device; eliciting the target signal, the target signal inside the detection device is selected by the relay array in the test fixture, and then input into the four signal channels of the oscilloscope acquisition card; The relay array in step S30 can be composed of mechanical relays or solid-state relays (SSRs). Solid-state relays have higher reliability and response speed, but are relatively expensive. The choice of relay should be determined according to the needs of the specific application scenario. The control logic in the test fixture can be implemented by a microcontroller (such as Arduino). The microcontroller receives instructions from the host computer, controls the action of the relay array, and feeds back status information to the host computer. In terms of signal selection, the design of the relay array can flexibly switch between different signal paths to adapt to various testing requirements. The state of each relay is dynamically controlled by the microcontroller according to the instructions of the host computer.

[0027] Furthermore, step S40 includes: the small computer host is connected to the wireless image transmission transmitting end, and the small computer host is connected to the wireless image transmission transmitting end via an HDMI or USB interface, and the screen content is converted into a wireless signal and transmitted; the wireless image transmission receiving end receives the wireless signal at the ground station and restores it to a video signal; the portable display screen displays the received video signal for the operator to view; The wireless image transmission transmitter and receiver in step S40 can select ready-made wireless image transmission kits, such as Amimon's Connex series or Teradek's Bolt series. These devices generally support high-definition video transmission and have low latency, making them suitable for real-time monitoring scenarios. In terms of video encoding and decoding, wireless image transmission systems generally use high-efficiency video encoding formats such as H.264 / H.265 for compression to reduce bandwidth usage. The receiving end requires a corresponding decoder to restore the compressed video stream to the original image.

[0028] Specifically, the oscilloscope acquisition card host computer software in step S20 is used to configure the oscilloscope acquisition card, set parameters such as sampling rate and trigger conditions; display waveforms in real time, graphically presenting the acquired signal waveforms; and record and store data, saving the acquired data to a file for subsequent analysis. The programming language used in this embodiment is Python (combined with the PyVISA library for instrument control), and the graphical interface framework is Qt (using PyQt5 or PySide2). The oscilloscope acquisition card API selects an appropriate SDK or API (such as NI-DAQmx for National Instruments devices) based on the specific acquisition card brand. Specifically, the test tool host computer software of step S20 is used to control the telescopic rod and the detection device, send instructions to control the action of the telescopic rod and the start / stop of the detection device; state monitoring and feedback, receive state information from the test tool and display on the interface; data recording and storage: record operation logs and related data, the programming language used in this embodiment is Python (combined with PySerial library for serial communication), and the graphical interface framework is Tkinter (simple and easy to use, suitable for rapid development); The initialization UI of the oscilloscope acquisition card host computer software is used to create a main window and a layout, including labels, buttons and drawing areas, a timer is used to periodically obtain data from the oscilloscope acquisition card and update the chart, data acquisition is communicated with the oscilloscope acquisition card through the PyVISA library to query data and draw waveforms; the initialization UI of the test tool host computer software is used to create a main window and a layout, including labels and buttons, serial communication is communicated with the test tool using the PySerial library, control commands are sent and responses are received, operation feedback prompts the user with a pop-up window and prints device response information.

[0029] This embodiment also provides a laser detection device tested by the aforementioned air flight simulation test method of the laser detection device, the laser detection device includes a target recognition algorithm and an anti-interference algorithm, the basic principles, specific implementation steps of the target recognition and anti-interference algorithms, and the implementation application process in the air flight simulation test system of the laser detection device are described in detail as follows: The target recognition algorithm aims to recognize specific target objects from the raw data obtained by the laser detection device; the commonly used methods include traditional machine learning methods based on feature extraction (such as SIFT, HOG, etc.) and deep learning methods (such as convolutional neural network CNN); the traditional machine learning method extracts features (such as edges, textures, shapes, etc.) of images or signals, and then uses a classifier (such as SVM, random forest, etc.) to classify these features; the deep learning method uses a multi-layer neural network to automatically learn feature representation and performs end-to-end training, which has higher accuracy and robustness in handling complex scenarios.

[0030] The specific implementation steps of the target recognition algorithm include data preprocessing, feature extraction, model training, and target detection and recognition; Data preprocessing mainly includes denoising and normalization; in terms of denoising, since the laser detection device may be affected by environmental noise, the raw data needs to be filtered first, common filtering methods include mean filtering and Gaussian filtering; in terms of normalization, the data is scaled to the same range, which is convenient for subsequent model training, common methods include Min-Max normalization and Z-score standardization; Feature extraction mainly includes: manual feature extraction and automatic feature extraction; In terms of manual feature extraction, for traditional machine learning methods, a feature extractor needs to be manually designed; For example, the HOG feature descriptor can be used to capture the shape information of the target; In terms of automatic feature extraction, for deep learning methods, the original data is directly input into the neural network, and the network automatically learns effective feature representation; Model training mainly includes: selecting a suitable model architecture and training process; In terms of selecting a suitable model architecture, select a suitable model architecture according to the task requirements, such as VGG, ResNet, etc. for image recognition tasks; LSTM, GRU, etc. for sequence data processing; In terms of training process, use the labeled data set to train the model, and adjust the model parameters to minimize the loss function (such as cross-entropy loss); Target detection and recognition mainly includes: sliding window + classifier and end-to-end detection; In terms of sliding window + classifier, for traditional methods, a sliding window can be used to scan the entire image area, and the features in each window can be classified; In terms of end-to-end detection, for deep learning methods, the position and class label of the target can be directly output, such as using YOLO, Faster R-CNN, etc. target detection framework.

[0031] Anti-interference algorithm is mainly used to improve the working stability of laser detection device in complex environment, and reduce the influence of external interference factors on equipment performance; Common interference types include electromagnetic interference, optical interference (such as direct sunlight), physical barrier shielding, etc.; Filtering technology removes noise components through digital filter to maintain the integrity of the signal; Adaptive adjustment mechanism dynamically adjusts detection parameters according to environmental changes to enhance the robustness of the system; The specific implementation steps of anti-interference algorithm include: interference detection, anti-interference measures, and performance evaluation and optimization; Interference detection mainly includes: establishing interference model and real-time monitoring; Establish an interference model to analyze different types of interference sources and their influence mechanism, and construct the corresponding mathematical model; In terms of real-time monitoring, continuously monitor the changes of the signal in the actual operation process to determine whether there is abnormal interference; Anti-interference measures mainly include frequency domain filtering, space-time joint filtering and adaptive gain control; In terms of frequency domain filtering, a bandpass or bandstop filter is designed for specific interference frequencies in the frequency domain to suppress interference signals; In terms of space-time joint filtering, more complex filtering strategies are designed by combining time and space dimension information to improve anti-interference ability; In terms of adaptive gain control, the gain of the amplifier is automatically adjusted according to the received signal strength to ensure the quality of the output signal; Performance evaluation and optimization mainly include simulation verification and field experiments; simulation verification is used to test the effectiveness of the algorithm in a simulated environment and compare the performance of different solutions; field experiments are used to conduct multiple tests in a real environment, collect data and evaluate the actual effect of the algorithm, and further optimize parameter settings.

[0032] The application of target recognition and anti-interference algorithms in laser detection devices is carried out through integration and deployment, data collection and analysis, and iterative optimization. Integration and deployment include: integrating the above-mentioned target recognition and anti-interference algorithms into the microcomputer memory of the laser detection device to ensure that it can run in real time during flight; using the wireless communication module to promptly feed back the processing results to the ground station for researchers to analyze and make decisions; data collection and analysis include: during the flight, continuously recording the working status and surrounding environment information of the laser detection device to provide a basis for subsequent data analysis; combining flight trajectories and sensor data to deeply analyze the performance of the algorithm under different conditions, identify potential problems and improve them; iterative optimization includes: adjusting algorithm parameters or improving algorithm structure according to the results of each flight test to gradually improve the overall performance of the system; regularly updating model weights or retraining models to adapt to new application scenarios and technological developments.

[0033] More specifically, the design and implementation of target recognition and anti-interference algorithms include two aspects: target recognition algorithm and anti-interference algorithm: The target recognition algorithm in this embodiment is a deep learning-based target recognition algorithm (YOLOv5 is used as an example), and the parameters involved include input and output; The input is an image tensor I∈R H×W×C , where H and W are the height and width of the image respectively, and C is the number of channels (usually 3, corresponding to RGB); The output is the bounding box coordinates (x, y, w, h) and its corresponding category probability P(ci), where ci represents the probability of the i-th category; YOLOv5 uses a convolutional neural network (CNN), whose loss function usually consists of three parts: position loss, confidence loss, and classification loss. The calculation formula is: ; Among them, L is the total loss value; is the coordinate loss weight coefficient, which is usually set to a larger value (such as 5) to emphasize the importance of position prediction; is the object-free confidence loss weight coefficient, which is usually set to a small value (such as 0.5) because most grid cells have no objects; is the size of the feature map (e.g., typically 13×13 or higher resolution in YOLOv5); B is the number of bounding boxes predicted for each grid cell (typically 3); is an indicator function that is 1 when the i-th grid cell and the j-th bounding box contain the object, and 0 otherwise; is an indicator function, which is 1 when the i-th grid cell and the j-th bounding box do not contain the object, and 0 otherwise; is the center point coordinate of the predicted bounding box, is the center point coordinate of the real bounding box; To predict the width and height of the bounding box; is the width and height of the ground-truth bounding box; is the confidence score of the prediction (i.e., the probability of the object existing in the predicted bounding box multiplied by the IoU between the bounding box and the true bounding box); A confidence score for the truth (usually 1 or 0, depending on whether the object exists); is the probability of the cth category in the predicted category probability vector; The probability of the c-th category in the true category label vector; the sample code is as follows: Python import torch from yolov5.models.experimental import attempt_load from yolov5.utils.general import non_max_suppression # Load pre-trained model model = attempt_load('yolov5s.pt', map_location='cpu') # Load model using CPU model.eval() # Input image preprocessing def preprocess(image): img = image.resize((640, 640)) # Resize to 640x640 img = torch.from_numpy(img).float().div(255.0).unsqueeze(0) return img # Object Detection def detect_objects(model, image_tensor): with torch.no_grad(): predictions = model(image_tensor)[0] detections = non_max_suppression(predictions, conf_thres=0.4, iou_thres=0.5) return detections # Example call image_tensor = preprocess(your_image) # Replace with your image detections = detect_objects(model, image_tensor) for det in detections: if det is not None and len(det): for *xyxy, conf, cls in reversed(det): print(f"Detected object at {xyxy} with confidence {conf}, class{cls}") The anti-interference algorithm of this embodiment uses a frequency domain filter design (FFT-based bandpass filter). The frequency domain filter uses fast Fourier transform (FFT) to convert the time domain signal to the frequency domain, and then applies a bandpass filter to remove noise components outside a specific frequency range. For example, if the input signal is s(t), the FFT transform is S(f) = FFT(s(t)), and the bandpass filter transfer function is: ; in, is the frequency response function, which represents the gain value at different frequencies; f is the frequency variable, which represents the spectral components of the signal; flow is the low cutoff frequency, all components below this frequency will be attenuated; fhigh is the high cutoff frequency, all components above this frequency will also be attenuated; 1: frequency components between flow and fhigh will be retained; 0: frequency components not between flow and fhigh will be attenuated or completely removed; the sample code is as follows: Python import numpy as np import matplotlib.pyplot as plt def apply_bandpass_filter(signal, lowcut, highcut, fs, order=5): nyquist = 0.5 * fs low = lowcut / nyquist high = highcut / nyquist b, a = signal.butter(order, [low, high], btype='band') filtered_signal = signal.filtfilt(b, a, signal) return filtered_signal # Example signal generation fs = 1000 # sampling rate t = np.linspace(0, 1, fs, endpoint=False) signal = np.sin(2*np.pi*50*t) + np.sin(2*np.pi*120*t) # Contains sine waves of 50Hz and 120Hz noise = np.random.normal(0, 0.5, t.shape) # Add Gaussian noise noisy_signal = signal + noise # Apply a bandpass filter filtered_signal = apply_bandpass_filter(noisy_signal, lowcut=40,highcut=150, fs=fs) # Plot the results plt.figure(figsize=(10, 6)) plt.subplot(2, 1, 1) plt.plot(t, noisy_signal) plt.title("Noisy Signal") plt.subplot(2, 1, 2) plt.plot(t, filtered_signal) plt.title("Filtered Signal") plt.tight_layout() plt.show() The above example shows target recognition using YOLOv5 and the application of a band-pass filter to achieve anti-interference; in actual applications, the model architecture, parameter settings, and filter design details can be adjusted according to specific needs.

[0034] The embodiment also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the air flight simulation test method of the detection device according to any one of the above when executing the program.

[0035] The embodiment also provides a non-transitory computer-readable storage medium, which stores a computer program, and the computer program is executable on a processor to implement the air flight simulation test method of the detection device according to any one of the above.

[0036] The embodiment also provides a computer program product, which includes a computer program, and the computer program is executable on a processor to implement the air flight simulation test method of the detection device according to any one of the above.

[0037] The air flight simulation test method, system, detection device, electronic device, non-transitory computer-readable storage medium, and computer program product of the detection device according to the embodiment, through the air flight simulation test system of the laser detection device according to the embodiment, use the unmanned aerial vehicle to carry the detection device and the test equipment, remotely control the detection device and the test instrument through the wireless link, monitor the working state, collect the detection data, monitor the real working condition of the detection device in the flight process at low cost, and can flexibly select the flight height, speed, climate, ground environment and other factors according to the needs, test the influence of different factors on the working condition of the detection device from multiple angles, and accelerate the improvement, iteration and verification of the subsequent target recognition and anti-interference algorithm.

[0038] The above-described embodiments are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment scheme according to actual needs. Those skilled in the art can understand and implement it without creative labor.

[0039] Those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary universal hardware platform, and of course can also be implemented by hardware. Based on such an understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0040] The description and application of the present application herein are illustrative and not intended to limit the scope of the present application to the embodiments described. The effects or advantages involved in the embodiments can not be embodied in the embodiments due to various factors, and the description of the effects or advantages is not used to limit the embodiments. Variations and changes of the embodiments disclosed herein are possible, and various components of the embodiments are known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present application can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential characteristics of the present application. Other variations and changes of the embodiments disclosed herein can be made without departing from the scope and spirit of the present application.

[0041] In addition, it should be noted that if the present solution uses the description of modules, components, parts or components, etc., it should be understood in a broad sense in combination with the context, which can be hardware, software, or software and hardware collocation or association of functional parts; if the connection, electrical connection, electrical connection, transmission, interaction, etc. are described, they should be understood in a broad sense in combination with the context, which can be a direct or indirect connection, a direct or indirect connection of signals or electricity, or a direct or indirect connection of physical and electrical signals. If the information, data or information data are described, these descriptions can be understood as the same meaning, which should be understood in combination with the context, and are made for the purpose of brevity, completeness and completeness. Abstract, should not be limited as a restrictive understanding of the present solution.

[0042] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for simulating an aerial flight test of a detection device, characterized in that: include: Step 1: Obtain data signals from the control signal transmission link and transmit data signals from the ground equipment to the airborne equipment; Step 2: Run the oscilloscope acquisition card host computer software and the test fixture host computer software to display the oscilloscope waveform, record and store data, and control the test fixture; Step 3: Control the movement of the telescopic rod, the detection device, and the internal relay array of the test fixture, and lead out the internal target signal of the detection device input to the oscilloscope acquisition card; Step 4: Transmitting the target signal inside the detection device from the airborne device to the display screen of the ground device through the display screen transmission link; Among them, the control signal transmission link includes: keyboard and mouse-USB keyboard and mouse to serial port module-wireless data transmission transmitter-wireless data transmission receiver-serial port to USB keyboard and mouse module-small computer host; the display screen transmission link includes: small computer host-wireless image transmission transmitter-wireless image transmission receiver-portable display screen.

2. The method for simulating an aerial flight test of a detection device according to claim 1, characterized in that: The step one comprises: Obtain control commands input by the operator through the keyboard and mouse on the ground equipment; Converting the control instruction into a serial communication signal; The second step includes: The electrical signal emitted by the detection device is collected in real time through an oscilloscope acquisition card; Running the oscilloscope acquisition card host computer software, configuring the working mode of the oscilloscope acquisition card, and displaying the waveform data of the electrical signal in real time; Run the test fixture host computer software to control the movement of the test fixture and record data.

3. The method for simulating an aerial flight test of a detection device according to claim 1, characterized in that: The step three includes: Control the movement of the telescopic rod and the detection device, including: controlling the telescopic movement of the telescopic rod and the opening or closing of the detection device according to the instructions issued by the test tool host computer software; By controlling the relay array in the test fixture, the target signal input to the signal channel of the oscilloscope acquisition card is led out.

4. The method for simulating an aerial flight test of a detection device according to claim 1, characterized in that: The fourth step includes: The display image is converted into a wireless signal and sent through the wireless image transmission terminal; Receive the wireless signal through a wireless image transmission receiving end and convert it into a video signal; The portable display screen displays the received video signal for the operator to view.

5. The method for simulating an aerial flight test of a detection device according to claim 4, characterized in that: The display screen includes: real-time display of waveform data and status monitoring and feedback; The real-time display of waveform data includes: the upper computer software of the oscilloscope acquisition card graphically displays the signal waveform of the detection device collected; The state monitoring and feedback includes: the test fixture host computer software receives the state information from the test fixture and displays it.

6. An aerial flight simulation test system for a detection device, which executes the aerial flight simulation test system for a detection device according to any one of claims 1 to 5, characterized in that: include: Airborne equipment, ground equipment and flight vehicles; The flying vehicle is a drone, and the airborne equipment is arranged on the drone; The onboard equipment includes a detection device to be tested, a telescopic rod, a test fixture, an oscilloscope acquisition card, a small computer host, a serial port to USB keyboard and mouse module, a wireless data transmission receiver and a wireless image transmission transmitter; The ground equipment includes a keyboard, a mouse, a USB keyboard and mouse to serial port module, a wireless data transmission terminal, a wireless image transmission receiving terminal and a portable display screen.

7. The aerial flight simulation test system for a detection device according to claim 6, characterized in that: The test fixture includes: a relay array and an oscilloscope acquisition card; The relay array switches the signal channel inside the detection device to the input port of the oscilloscope acquisition card as needed.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the aerial flight simulation test method of the detection device according to any one of claims 1 to 5 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the aerial flight simulation test method of the detection device according to any one of claims 1 to 5 is implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the aerial flight simulation test method of the detection device according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Checking system and checking method of unmanned gyroplane PAPI (precision approach path indicator)

    CN105222807A

  • Air conditioner controller testing method, device and system and testing result tracing method, device and system

    CN108626845A

  • Air unit comprehensive automatic test system of data link system and application method

    CN116131971A

  • Simulation test device for adjusting and protecting trackside equipment

    CN117805523A

  • Fault detection method, device, equipment, medium and product

    CN120043760A