Alternating electromagnetic radiation source trajectory tracking software system based on a magnetic sensor array
By using a software system for tracking the trajectory of alternating electromagnetic radiation sources based on a magnetic sensor array, the problem of decreased measurement accuracy of underwater acoustic positioning systems during high-speed UUV-target vessel encounters was solved, achieving efficient, clear, and real-time display of the encounter situation and improved detection accuracy.
Patent Information
- Application Number
- CN202410316595.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-03-20
AI Technical Summary
Existing underwater acoustic positioning systems are severely affected by acoustic field interference during high-speed UUV-target vessel encounters, leading to decreased measurement accuracy. Furthermore, traditional trajectory tracking software systems are ineffective and cannot efficiently, clearly, or in real-time display the encounter situation.
A software system for tracking the trajectory of alternating electromagnetic radiation sources based on a magnetic sensor array is adopted. The magnetic sensor array collects magnetic field data, and the data is processed and visualized by combining Beidou information. Dual-thread and safe queue technology are used to ensure data integrity, and adaptive threshold learning and target detection units are used to improve detection accuracy and real-time performance.
It achieves efficient, clear, and real-time display of the encounter situation between high-speed UUVs and target ships, reduces the false alarm rate, improves measurement accuracy and system environmental applicability, and ensures the scientific rationality and reliability of the data processing process.
Smart Images

Figure CN118258380B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this application relate to the field of motion trajectory measurement technology, and in particular to a software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array. Background Technology
[0002] High-speed UUVs (Unmanned Underwater Vehicles) are important underwater weapons for navies worldwide, and their development is moving towards greater range, longer firing range, and higher accuracy. Range testing is a crucial step in evaluating the performance and successful development of high-speed UUVs. Accurately measuring the encounter situation between the high-speed UUV and the target vessel, as well as the minimum distance between them (miss distance), is an important means of verifying their guidance and trajectory control capabilities, and also a vital measurement tool for evaluating the warhead performance of high-speed UUVs.
[0003] The more mature test ranges in the industry mainly use underwater acoustic methods to locate high-speed UUVs, such as ultra-short baseline measurement systems, short baseline measurement systems, and long baseline measurement systems. These measurement systems determine the position of the high-speed UUV relative to the target ship by installing acoustic transducer arrays on the target ship or deploying underwater acoustic transducer arrays on the seabed, and receiving signals from 3D beacons installed on the high-speed UUV or radiated noise from the high-speed UUV.
[0004] However, in the terminal trajectory where the high-speed UUV and the target ship meet, the close relative positions of the two vessels and the complex acoustic environment near the target ship can severely interfere with the underwater acoustic positioning system, causing a sharp decline in measurement accuracy. Long baseline measurement systems require the pre-installation of underwater acoustic transducers on the seabed in the test area, resulting in significant construction and maintenance costs and limiting testing to specific sea areas. Short baseline measurement systems require the addition of 3D beacons to the high-speed UUV and the installation of corresponding transducers on the target ship, restricting the available target vessels. Furthermore, modifications to the high-speed UUV may have uncertain impacts on its dynamic performance and electronic systems. Meanwhile, current high-speed UUV trajectory tracking software systems are based on ultra-short baseline, short baseline, and long baseline measurement systems, resulting in poor trajectory tracking display. Summary of the Invention
[0005] The main objective of the embodiments of this application is to propose a software system for tracking the trajectory of alternating electromagnetic radiation sources based on a magnetic sensor array. This system can visualize both the data acquisition and data processing processes, and uses a secure queue for data reading and writing to prevent data contamination. Ultimately, it can efficiently, clearly, in real time, and accurately draw and display the rendezvous situation between a high-speed UUV and a target vessel.
[0006] To achieve the above objectives, embodiments of this application provide a software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array, comprising: an interface interaction module providing a visual and interactive display interface, wherein a parameter setting window is provided in the display interface, and the interface interaction module is used to obtain parameters for the trajectory tracking task through the parameter setting window; an external communication module, used to request BeiDou information from a preset BeiDou device at preset time intervals; wherein the BeiDou information includes at least BeiDou time and latitude and longitude; and a data acquisition module, connected sequentially to a magnetic sensor array composed of several single-component magnetic sensors through a data acquisition box and an interface module, used to acquire magnetic field data of each channel through dual threads, write the magnetic field data of each channel and the BeiDou information into a virtual disk in frames via an acquisition security queue to form cached data, and then write the cached data into a local disk to form local data; wherein the channels correspond one-to-one with the magnetic sensors, and each magnetic sensor is installed on the hull of the target ship and is perpendicular to the target ship. The system is positioned directly above the water surface. A data processing module performs a Fast Fourier Transform on the magnetic field data of each channel and calculates the amplitude spectrum. Using the maximum amplitude point in the amplitude spectrum as the center, it weights and sums the amplitudes of adjacent preset points to obtain the test statistics for each channel and writes them into a statistical safety queue. A detection and positioning module determines the detection threshold for each channel based on the test statistics, determines whether a high-speed UUV has been detected based on the detection threshold, and, after detecting the high-speed UUV and determining that it has passed the target, calls a drawing function to calculate and draw the rendezvous situation between the high-speed UUV and the target vessel. The interface interaction module also displays the time-domain waveform and spectrum of the magnetic field data of each channel, the test statistics, the BeiDou information, the target vessel's trajectory, and the rendezvous situation between the high-speed UUV and the target vessel in real time through the display interface.
[0007] The embodiment of this application proposes a software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array. It includes both a data acquisition module and a data processing module, and displays data from both the acquisition and processing processes on an interactive interface. This allows technicians to easily observe any anomalies during the acquisition and processing, making it readily apparent when a high-speed UUV passes the target. The software system operates in a dual-threaded manner and employs a secure queue technology to ensure consistency between data writing and reading, preventing data contamination and ensuring a scientifically sound detection and positioning process. When storing magnetic field data and BeiDou time from each channel onto the local disk, the data is first stored in a virtual disk partitioned from memory. Once a certain amount of data is stored or when the acquisition process is terminated, the data is transferred to the local disk, significantly improving data retrieval speed. During system operation, all data at each stage uses BeiDou time, which also serves as a calibration basis between the software system and other systems, ensuring time synchronization. The various modules of the software system work closely together to efficiently, clearly, in real-time, and accurately depict and display the encounter situation between the high-speed UUV and the target vessel.
[0008] In some optional embodiments, the detection and localization module includes: an adaptive threshold learning unit, configured to control the detection and localization module to write the test statistics of each channel into a threshold update safety queue when the number of data frames is determined to have not reached a preset threshold learning frame length; and to read the test statistics of each channel from the threshold update safety queue when the number of data frames is determined to have reached the threshold learning frame length, calculate the average and standard deviation of the test statistics of each channel respectively to calculate the initial threshold value of each channel, and update the threshold value based on the newly arrived test statistics of each channel to obtain the latest threshold value of each channel; and a target detection unit, configured to calculate the initial threshold value of each channel by the adaptive threshold learning unit. After setting the initial threshold values for each channel, the detection and positioning module first writes the newly arrived verification statistics for each channel into the target detection safety queue, and then writes them into the threshold update safety queue. When the verification statistics for any channel in consecutive H frames are greater than the latest threshold value, it is determined that a high-speed UUV has been detected, and the threshold value updates for each channel are stopped. This continues until the verification statistics for all channels in consecutive H frames are less than or equal to the latest threshold value, at which point it is determined that the high-speed UUV has passed the target. Here, H is an integer greater than 1. The drawing unit is used to calculate and draw the rendezvous situation between the high-speed UUV and the target vessel after the target detection unit detects the high-speed UUV and determines that the high-speed UUV has passed the target. During detection and positioning, the detection threshold values for each channel are calculated independently. The threshold values are continuously updated based on environmental data when the high-speed UUV does not appear, improving the applicability of the detection environment. The data for calculating the thresholds and the data for target detection are stored in two different buffers (safety queues) without interference, further improving the working efficiency of the software system.
[0009] In some optional embodiments, after the target detection unit detects that the test statistic of consecutive H frames in any channel is greater than the latest threshold, it continues to perform K detections. If the test statistic of consecutive H frames in at least one channel is greater than the latest threshold in each of the K consecutive detections, then a high-speed UUV is detected; otherwise, a false alarm is determined to have occurred. Here, K is an integer greater than 1. Performing multiple consecutive checks during target detection can minimize the false alarm rate.
[0010] In some optional embodiments, after determining that the high-speed UUV has passed the target or a false alarm has occurred, the target detection unit is further configured to restart the threshold value update for each channel and control the detection and positioning module to write the data in the target detection safety queue into the threshold update safety queue. After the target (high-speed UUV) has passed the target or a false alarm has occurred, the software system restarts the detection threshold value update and continues or starts the next trajectory tracking task.
[0011] In some optional embodiments, the initial threshold value is calculated using the following formula:
[0012] in, Indicates the first The first channel The test statistic of the frame. This indicates the preset threshold learning frame length. This indicates the total number of channels, i.e., the total number of magnetic sensors. This indicates taking the average value. This indicates that the standard deviation is taken. Indicates the first Initial threshold values for each channel; The latest threshold value is calculated using the following formula:
[0013] in, The preset weighting coefficients, Indicates the first The newly arriving test statistic for each channel, Indicates the first The threshold values of each channel before this update. Indicates the first The latest threshold values for each channel in this update.
[0014] In some optional embodiments, the dual-thread includes a data acquisition thread and a data storage and processing thread; the data acquisition module acquires magnetic field data of each channel through the data acquisition thread; the data acquisition module, through the data storage and processing thread, writes the magnetic field data of each channel and the BeiDou information into a virtual disk in frames via an acquisition security queue to form cached data, then writes the cached data into a local disk to form local data, and clears the cached data; the data processing module, through the data storage and processing thread, performs fast Fourier transform on the magnetic field data of each channel and calculates the amplitude spectrum.
[0015] In some optional embodiments, the latitude and longitude are used to map the trajectory of the target ship, and the magnetic field data of each channel, the cached data, the local data, the test statistics of each channel, and the detection threshold of each channel are all marked with time tags, the time tags being the corresponding BeiDou time, and the BeiDou information also including at least the date.
[0016] In some optional embodiments, the software system further includes a data playback module, used to call the interface interaction module to pop up a playback settings window in the display interface, determine the target data file to be played back through the playback settings window, read the magnetic field data and BeiDou information of each channel in the target data file from the local disk into the work area, play it back in chronological order, restore the experimental scene corresponding to the target data file, and visualize it on the display interface. The existence of the data playback module allows the software system to play back completed trajectory tracking experiments at any time, facilitating technicians to summarize experience and improve technology.
[0017] In some optional embodiments, the display interface is provided with several control buttons, including a parameter setting button, a start acquisition button, a pause test button, a stop test button, an exit program button, and a data playback button; selecting the parameter setting button pops up the parameter setting window; selecting the start acquisition button starts the external communication module, the data acquisition module, the data processing module, and the detection and positioning module; selecting the pause test button pauses the trajectory tracking task; selecting the stop test button restores the software system to its initial state; selecting the exit program button exits and closes the software. The system includes a playback settings window that pops up when the data playback button is selected. The display interface also includes a BeiDou display area, a time-domain waveform display page, a split-screen detail display page, a track display page, and a trajectory display page. The BeiDou display area is used to display BeiDou information in real time. The time-domain waveform display page is used to display the magnetic field data of each channel in real time. The split-screen detail display page is used to display the time-domain waveform and spectrum of the magnetic field data of the target channel, as well as the verification statistics of the target channel, in real time. The track display page is used to display the track of the target vessel in real time, and the trajectory display page is used to display the rendezvous situation between the high-speed UUV and the target vessel in real time.
[0018] In some optional embodiments, the software system further includes an error message module, used to interlock the control buttons on the display interface and to provide an error message when an incorrect operation of the control button is detected. The interlocking includes at least the following: after selecting the parameter setting button, the start acquisition button can only be selected after the parameter setting is completed; after selecting the start acquisition button, only the pause test button can be selected; and the stop test button can only be selected when not in the acquisition process. The existence of the error message module achieves interlocking of the control buttons, preventing technicians from accidentally touching the wrong buttons and causing errors in the trajectory tracking task, and can promptly remind technicians of errors, ensuring the smooth operation of the trajectory tracking task. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the structure of a software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array, provided in one embodiment of this application; Figure 2 This is a schematic diagram of a display interface provided in one embodiment of this application; Figure 3 This is a schematic diagram illustrating the connection relationship between a magnetic sensor array, an interface module, and a data acquisition box provided in one embodiment of this application; Figure 4 This is a schematic diagram illustrating the installation of various sensors on a target ship, as provided in one embodiment of this application. Figure 5 This is a schematic diagram of a parameter setting window for a display interface provided in one embodiment of this application; Figure 6 This is a schematic diagram of the program logic of a data acquisition module provided in one embodiment of this application; Figure 7 This is a schematic diagram of the program logic of a data processing module provided in one embodiment of this application; Figure 8 This is a schematic diagram of the structure of a detection and positioning module provided in one embodiment of this application; Figure 9 This is a schematic diagram of the program logic of a detection and positioning module provided in one embodiment of this application; Figure 10 This is a schematic diagram of a split-screen fine-view page provided in one embodiment of this application; Figure 11 This is a schematic diagram of a flight track display page provided in one embodiment of this application; Figure 12 This is a schematic diagram of a trajectory display page provided in one embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the various embodiments of this application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been provided in the various embodiments of this application to help readers better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for the convenience of description and should not constitute any limitation on the specific implementation of this application. The various embodiments can be combined with and referenced by each other without contradiction.
[0021] One embodiment of this application proposes a software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array. The implementation details of the software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array proposed in this embodiment are described in detail below. The following implementation details are provided for ease of understanding and are not necessary for implementing this solution.
[0022] The specific structure of the alternating electromagnetic radiation source trajectory tracking software system based on a magnetic sensor array proposed in this embodiment can be as follows: Figure 1 As shown, the software system includes an interface interaction module 10, an external communication module 20, a data acquisition module 30, a data processing module 40, and a detection and positioning module 50.
[0023] The interface interaction module 10 provides a visual and interactive display interface 11, which includes a parameter setting window. The interface interaction module 10 is used at least to obtain parameters for the trajectory tracking task through this window. The display interface 11 provided by the interface interaction module 10 can be used as follows: Figure 2 As shown.
[0024] The external communication module 20 establishes a serial communication connection with the preset BeiDou device 21, and is used to request BeiDou information from the BeiDou device 21 once every preset time. The BeiDou information includes at least BeiDou time and latitude and longitude.
[0025] The data acquisition module 30 is sequentially connected to a magnetic sensor array 33, composed of several single-component magnetic sensors, via a data acquisition box 31 and an interface module 32. It is used to acquire magnetic field data from each channel through a dual-thread process. The magnetic field data and BeiDou information from each channel are written to a virtual disk in frames via a secure acquisition queue to form cached data. The cached data is then written to a local disk 34 to form local data. Each channel corresponds one-to-one with a magnetic sensor, and each magnetic sensor is mounted on the hull of the target vessel and perpendicular to the water surface. The connection relationship between the magnetic sensor array 33, the interface module 32, and the data acquisition box 31 can be described as follows: Figure 3 As shown, the magnetic sensor array 33 contains 12 single-component magnetic sensors, including magnetic sensor 3301 (1), 3302 (2), 3303 (3303), 3304 (4), 3305 (5), 3306 (6), 3307 (7), 3308 (8), 3309 (9), 3310 (10), 3311 (11), and 3312 (12). The installation configuration of each sensor on the target ship can be seen as follows... Figure 4 As shown, the 12 magnetic sensors are divided into two groups and symmetrically installed on the left and right sides of the target ship.
[0026] The data processing module 40 is used to perform fast Fourier transform on the magnetic field data of each channel and obtain the amplitude spectrum. Taking the maximum amplitude point in the amplitude spectrum as the center, the amplitudes of the adjacent preset number of points are weighted and summed to obtain the test statistic of each channel and write it into the statistical safety queue.
[0027] The detection and positioning module 50 is used to determine the detection threshold value of each channel based on the test statistics of each channel, determine whether a high-speed UUV has been detected based on the detection threshold value, and after detecting a high-speed UUV and determining that the high-speed UUV has passed the target, call the drawing function to calculate and draw the rendezvous situation between the high-speed UUV and the target ship.
[0028] The interface interaction module 10 is also used to display the time-domain waveform and spectrum of the magnetic field data of each channel, the test statistics, Beidou information, the trajectory of the target ship, and the rendezvous situation between the high-speed UUV and the target ship in real time through the display interface 11.
[0029] In one example, the parameter setting window of the display interface can be as follows: Figure 5 As shown, clicking the "Parameter Settings" button in the time domain interface will bring up the parameter settings window. The parameters that need to be set include at least communication parameters and sensor parameters. Communication parameters include the BeiDou device serial port number, BeiDou device communication address, BeiDou coverage area, and serial port switch. Sensor parameters include sensor spacing (horizontal and vertical spacing), target frequency, and sensor switch (all sensors are on by default).
[0030] In one example, the external communication module is primarily responsible for serial communication with the BeiDou device, completing the message transmission function for BeiDou information acquisition and positioning results. After the BeiDou device is configured correctly and a serial connection with it is established, the external communication module requests BeiDou information from the BeiDou device every second via a timer. This BeiDou information includes at least BeiDou time, date, latitude and longitude, and altitude. The latitude and longitude in the BeiDou information are the basic data for mapping the target ship's trajectory. The magnetic field data, cached data, local data, verification statistics of each channel, and detection threshold values of each channel are all labeled with time tags, which correspond to the BeiDou time. Considering that time is the basis for calibration between different systems during multi-system linkage comparison, and given the long working hours and long intervals between these hours of the host computer, there is often a certain deviation between the host computer's system time and BeiDou time. Therefore, using BeiDou time as the basis for calibration between different systems is the most appropriate. Thus, the software system is equipped with an external communication module to communicate with the BeiDou equipment. On the one hand, it can provide accurate BeiDou information, and the location information can be used to draw the trajectory of the target ship and display it in real time on the display interface. In addition to being displayed in real time on the display interface, BeiDou time also plays a role in data storage. BeiDou time and test statistics are stored together, and when reading, each test statistic can be seen to have a corresponding BeiDou time. After the experiment is completed, it can be used as a basis for calibration between different systems.
[0031] In one example, taking a magnetic sensor array composed of 12 single-component magnetic sensors, the data acquisition module interacts with the data acquisition box. The dual-thread architecture includes a data acquisition thread and a data storage and processing thread. The data acquisition module reads 12 × 5000 double-precision floating-point numbers (magnetic field data) per second into the working area via the data acquisition thread. Then, the data storage and processing thread packages the magnetic field data from each channel and BeiDou information into a virtual disk frame by frame via a secure acquisition queue to form cached data. Variables control the data transfer between the virtual disk and the system disk. The cached data is then written to the local disk with BeiDou time and date as filenames to form local data, and the cached data is cleared. The program logic of the data acquisition module can be as follows: Figure 6 As shown. Since the data acquisition module needs to collect magnetic field data from 12 channels at a frequency of 5000Hz, and the collected data needs to be processed and analyzed in real time, the amount of data and computation is enormous. Therefore, multi-threading technology, safe queue technology, and virtual disk technology are used to ensure the stability of the software system.
[0032] In one example, taking a magnetic sensor array composed of 12 single-component magnetic sensors, the data processing module is responsible for segmenting the 12 channels of magnetic field data and performing envelope detection based on Fast Fourier Transform (FFT), providing test statistics for subsequent detection and localization. The data processing module groups the magnetic field data acquired by the data acquisition module into 12 channels using a data storage and processing thread. Then, it performs FFT on the data from each channel and calculates the amplitude spectrum. Using the maximum amplitude spectrum point as the center, it takes the amplitudes of the three adjacent points to the left and right, for a total of seven points, and performs a weighted sum to obtain the test statistics for each channel of that frame (12 test statistics are output per frame). This sum is then written to a statistical security queue and transmitted to the detection and localization module. The program logic of the data processing module can be as follows: Figure 7 As shown.
[0033] In one example, the specific structure of the detection and positioning module 50 can be as follows: Figure 8 As shown, the detection and localization module 50 includes an adaptive threshold learning unit 51, a target detection unit 52, and a drawing unit 53.
[0034] The adaptive threshold learning unit 51 is used to control the detection and positioning module 50 to write the test statistics of each channel into the threshold update safety queue when the number of data frames is determined to be less than the preset threshold learning frame length. When the number of data frames is determined to be more than the threshold learning frame length, the unit reads the test statistics of each channel from the threshold update safety queue, calculates the average and standard deviation of the test statistics of each channel to calculate the initial threshold value of each channel, and updates the threshold value based on the newly arrived test statistics of each channel to obtain the latest threshold value of each channel.
[0035] The target detection unit 52, after the adaptive threshold learning unit 51 calculates the initial threshold values for each channel, controls the detection and positioning module 50 to first write the newly arriving test statistics for each channel into the target detection safety queue, and then into the threshold update safety queue. When the test statistics for any channel's consecutive H frames are greater than the latest threshold value, it is determined that a high-speed UUV has been detected, and the threshold value update for each channel is stopped. This continues until the test statistics for all channels' consecutive H frames are less than or equal to the latest threshold value, at which point it is determined that the high-speed UUV has passed the target. Here, H is an integer greater than 1, such as 4.
[0036] After the target detection unit 52 detects that the test statistic of consecutive H frames in any channel is greater than the latest threshold, it continues to perform K detections. If the test statistic of consecutive H frames in at least one channel is greater than the latest threshold in each of the K consecutive detections, then a high-speed UUV is detected; otherwise, a false alarm is determined. Here, K is an integer greater than 1. Performing multiple consecutive checks during target detection minimizes the false alarm rate.
[0037] After determining that the high-speed UUV has passed the target or a false alarm has occurred, the target detection unit 52 is also used to restart the threshold value update for each channel, and control the detection and positioning module 50 to write the data in the target detection safety queue into the threshold update safety queue. After the target (high-speed UUV) has passed the target or a false alarm has occurred, the software system restarts the detection threshold value update and continues or starts the next trajectory tracking task.
[0038] The drawing unit 53 is used to calculate and draw the intersection situation between the high-speed UUV and the target ship after the target detection unit 52 detects the high-speed UUV and determines that the high-speed UUV has passed the target.
[0039] It is worth noting that during detection and positioning, the detection threshold values for each channel are calculated independently. These threshold values are continuously updated based on environmental data when high-speed UUVs are not present, improving the accuracy of detection and positioning. The data for calculating the thresholds and the data used for target detection are stored in two different buffers (safe queues) to prevent interference, further enhancing the efficiency of the software system.
[0040] In one example, if a channel detects a target, the corresponding LED on the display interface of the magnetic sensor for that channel will be lit, and the "Detect Target" LED on the software system's display interface will also be lit. When a channel does not detect a target, the corresponding LED on the display interface of the magnetic sensor will be turned off. When all channels fail to detect a target, the "Detect Target" LED on the display interface will be turned off.
[0041] In one example, the initial threshold value can be calculated using the following formula:
[0042] In the formula, Indicates the first The first channel Frame test statistic, This indicates the preset threshold learning frame length. This indicates the total number of channels, i.e., the total number of magnetic sensors. This indicates taking the average value. This indicates that the standard deviation is taken. Indicates the first The initial threshold value for each channel.
[0043] In one example, the latest threshold value can be calculated using the following formula:
[0044] In the formula, The preset weighting coefficients, Indicates the first The newly arriving test statistic for each channel, Indicates the first The threshold values of each channel before this update. Indicates the first The latest threshold values for each channel in this update.
[0045] In one example, the program logic for the detection and positioning module can be as follows: Figure 9 As shown.
[0046] In one example, such as Figure 1 As shown, the software system also includes a data playback module 60. This module calls the interface interaction module 10 to display a playback settings window in the display interface 11. The user selects the target data file to be played back through this window, reads the magnetic field data and BeiDou information of each channel from the local disk 34 into the workspace, and plays it back in chronological order to recreate the experimental scenario corresponding to the target data file. The results are then visualized on the display interface 11. The data playback module allows the software system to play back completed trajectory tracking experiments at any time, facilitating experience summarization and technical improvements by technicians.
[0047] In one example, such as Figure 2 As shown, the display interface has several control buttons, including a parameter setting button, a start acquisition button, a pause test button, a stop test button, an exit program button, and a data playback button. Selecting the parameter setting button will bring up the parameter setting window; selecting the start acquisition button will start the external communication module, data acquisition module, data processing module, and detection and positioning module, and begin the trajectory tracking task; selecting the pause test button will pause the trajectory tracking task; selecting the stop test button will restore the software system to its initial state; selecting the exit program button will exit and close the software system; selecting the data playback button will bring up the playback settings window.
[0048] In one example, such as Figure 2 As shown, the display interface also includes a BeiDou display area, a time-domain waveform display page, a split-screen detail display page, a trajectory display page, and a track display page. The split-screen detail display page can be used as follows: Figure 10 As shown, the track display page can be viewed as follows: Figure 11 As shown, the trajectory display page can be as follows: Figure 12As shown. The BeiDou display area is used to display BeiDou information in real time; the time-domain waveform display page is used to display the magnetic field data of each channel in real time; the split-screen detail display page is used to display the time-domain waveform and spectrum of the magnetic field data of the target channel in real time, as well as the verification statistics of the target channel; the track display page is used to display the track of the target ship in real time; and the trajectory display page is used to display the rendezvous situation between the high-speed UUV and the target ship in real time.
[0049] In one example, such as Figure 1 As shown, the software system also includes an error message module 70. This module is used to interlock the control buttons on the display interface and to provide error messages when erroneous operations on the control buttons are detected. For example, after selecting the parameter setting button, the start acquisition button can only be selected after the parameter setting is complete. After selecting the start acquisition button, only the pause test button can be selected, and the stop test button can only be selected when not in the acquisition process. The error message module interlocks the control buttons, preventing accidental touches by technicians that could cause errors in the trajectory tracking task. It also provides timely error reminders when technicians make incorrect operations, ensuring the smooth operation of the trajectory tracking task.
[0050] In this embodiment, the software system for tracking the trajectory of alternating electromagnetic radiation sources based on a magnetic sensor array simultaneously includes a data acquisition module and a data processing module. Data from both the acquisition and processing processes is displayed on the user interface, allowing technicians to easily observe any anomalies during these processes. This is particularly evident when a high-speed UUV passes the target. The software system operates in a dual-threaded manner and employs a secure queue technology to ensure consistent data writing and reading, preventing data contamination and ensuring a scientifically sound detection and positioning process. When storing magnetic field data and BeiDou time from each channel on the local disk, the data is first stored in a virtual disk partitioned from memory. Once a certain amount of data is stored or when the acquisition process is terminated, the data is transferred to the local disk, significantly improving data retrieval speed. Throughout the software system's operation, all data at each stage utilizes BeiDou time, which also serves as a calibration basis between the software system and other systems, ensuring time synchronization. The close cooperation among the software modules ultimately enables efficient, clear, real-time, and accurate mapping and display of the high-speed UUV's encounter with the target vessel.
[0051] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing this application, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of this application.
Claims
1. A software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array, characterized in that, include: The interface interaction module provides a visual and interactive display interface, in which a parameter setting window is provided. The interface interaction module is used to obtain parameters of the trajectory tracking task through the parameter setting window. An external communication module is used to request BeiDou information from a preset BeiDou device at preset time intervals; wherein, the BeiDou information includes at least BeiDou time and latitude and longitude. The data acquisition module is connected to a magnetic sensor array consisting of several single-component magnetic sensors via a data acquisition box and an interface module. It is used to acquire magnetic field data from each channel through dual threads. The magnetic field data from each channel and the BeiDou information are written to a virtual disk in frames via a secure acquisition queue to form cached data. The cached data is then written to a local disk to form local data. The channels correspond one-to-one with the magnetic sensors, and each magnetic sensor is installed on the hull of the target ship and is perpendicular to the water surface. The data processing module is used to perform fast Fourier transform on the magnetic field data of each channel and obtain the amplitude spectrum. Taking the maximum amplitude point in the amplitude spectrum as the center, the amplitudes of the adjacent preset number of points are weighted and summed to obtain the test statistic of each channel and write it into the statistical safety queue. The detection and positioning module is used to determine the detection threshold value of each channel based on the test statistics of each channel, determine whether a high-speed UUV is detected based on the detection threshold value, and after detecting the high-speed UUV and determining that the high-speed UUV has passed the target, call the drawing function to calculate and draw the rendezvous situation between the high-speed UUV and the target ship. The interface interaction module is also used to display the time-domain waveform and spectrum of the magnetic field data of each channel, the test statistics, the Beidou information, the trajectory of the target ship, and the rendezvous situation between the high-speed UUV and the target ship in real time through the display interface. The detection and positioning module includes: An adaptive threshold learning unit is used to control the detection and positioning module to write the test statistics of each channel into the threshold update safety queue when the number of data frames is determined to be less than the preset threshold learning frame length. When the number of data frames is determined to be greater than the threshold learning frame length, the unit reads the test statistics of each channel from the threshold update safety queue, calculates the average and standard deviation of the test statistics of each channel to calculate the initial threshold value of each channel, and updates the threshold value based on the newly arrived test statistics of each channel to obtain the latest threshold value of each channel. The target detection unit, after the adaptive threshold learning unit calculates the initial threshold value for each channel, controls the detection and positioning module to first write the newly arrived test statistics for each channel into the target detection safety queue, and then write them into the threshold update safety queue. When the test statistics for any channel's consecutive H frames are greater than the latest threshold value, it is determined that a high-speed UUV has been detected, and the threshold value update for each channel is stopped. This continues until the test statistics for all channels' consecutive H frames are less than or equal to the latest threshold value, at which point it is determined that the high-speed UUV has passed the target. Here, H is an integer greater than 1. The drawing unit is used to calculate and draw the intersection situation between the high-speed UUV and the target ship after the target detection unit detects the high-speed UUV and determines that the high-speed UUV has passed the target. After the target detection unit detects that the test statistic of consecutive H frames in any channel is greater than the latest threshold, it continues to perform K detections. If the test statistic of consecutive H frames in at least one channel is greater than the latest threshold in all K consecutive detections, it determines that a high-speed UUV has been detected; otherwise, it determines that a false alarm has occurred. Here, K is an integer greater than 1. After determining that the high-speed UUV has passed the target or that a false alarm has occurred, the target detection unit is also used to restart the threshold value update of each channel and control the detection and positioning module to write the data in the target detection safety queue into the threshold update safety queue.
2. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to claim 1, characterized in that, The initial threshold value is calculated using the following formula: , , ; in, Indicates the first The first channel Frame test statistic, This indicates the preset threshold learning frame length. This indicates the total number of channels, i.e., the total number of magnetic sensors. This indicates taking the average value. This indicates that the standard deviation is taken. Indicates the first Initial threshold values for each channel; The latest threshold value is calculated using the following formula: ; in, The preset weighting coefficients, Indicates the first The newly arriving test statistic for each channel, Indicates the first The threshold values of each channel before this update. Indicates the first The latest threshold values for each channel in this update.
3. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to claim 1, characterized in that, The dual-thread system includes a data acquisition thread and a data storage and processing thread. The data acquisition module acquires magnetic field data for each channel through the data acquisition thread; The data acquisition module uses the data storage and processing thread to write the magnetic field data of each channel and the Beidou information into a virtual disk in frames via the acquisition security queue to form cache data. Then, it writes the cache data into the local disk to form local data and clears the cache data. The data processing module performs fast Fourier transform on the magnetic field data of each channel and obtains the amplitude spectrum through the data storage and processing thread.
4. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to any one of claims 1 to 3, characterized in that, The latitude and longitude are used to map the target ship's trajectory. The magnetic field data of each channel, the cached data, the local data, the verification statistics of each channel, and the detection threshold of each channel are all labeled with time tags. The time tags are the corresponding BeiDou time, and the BeiDou information also includes at least the date.
5. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to any one of claims 1 to 3, characterized in that, The software system also includes: The data playback module is used to call the interface interaction module to pop up a playback settings window in the display interface. The target data file to be played back is determined through the playback settings window. The magnetic field data and Beidou information of each channel in the target data file are read from the local disk into the work area. The data is played back in chronological order to restore the experimental scene corresponding to the target data file and is displayed visually on the display interface.
6. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to claim 5, characterized in that, The display interface is equipped with several control buttons, including a parameter setting button, a start acquisition button, a pause test button, a stop test button, an exit program button, and a data playback button. The parameter setting window will pop up when the parameter setting button is selected. The external communication module, the data acquisition module, the data processing module, and the detection and positioning module are activated by selecting the start acquisition button. The trajectory tracking task can be paused by selecting the pause test button; The software system is restored to its initial state by selecting the Stop Test button. Exit and close the software system by selecting the exit program button; The playback settings window will pop up when the data playback button is selected. The display interface also includes a BeiDou display area, a time-domain waveform display page, a split-screen detail display page, a track display page, and a trajectory display page. The BeiDou display area is used to display BeiDou information in real time. The time-domain waveform display page is used to display the magnetic field data of each channel in real time. The split-screen detail display page is used to display the time-domain waveform and spectrum of the magnetic field data of the target channel, as well as the verification statistics of the target channel, in real time. The track display page is used to display the track of the target vessel in real time. The trajectory display page is used to display the rendezvous situation between the high-speed UUV and the target vessel in real time.
7. The software system for tracking the trajectory of an alternating electromagnetic radiation source based on a magnetic sensor array according to claim 6, characterized in that, The software system also includes: The error message module is used to interlock the control buttons on the display interface and to provide an error message when an incorrect operation of the control button is detected. The interlock includes at least: After the parameter setting button is selected, the start acquisition button can only be selected after the parameter setting is completed. After selecting the "Start Data Acquisition" button, only the "Pause Test" button can be selected. The Stop Test button can only be selected when the data acquisition process is not in progress.
Citation Information
Patent Citations
Alternating electromagnetic radiation source trajectory tracking system based on magnetic sensor array
CN117739955A
