水下无人系统学报 (Jun 2023)
Similarity Magnetic Field Measurement Method Based on the Dynamic Time Warping Algorithm
Abstract
Simulating the magnetic field of a ship and identifying targets using magnetic detection requires evaluating the similarity of the magnetic field distribution obtained from the simulation and detection with the magnetic field distribution of the real target. In view of the problems existing in previous evaluation methods, the use of dynamic time warping algorithm is proposed to calculate the similarity of the magnetic field and solve the problem of evaluating the similarity of the magnetic field curve under different target speeds and inconsistent starting and ending points. To reduce the influence of local disturbances of the magnetic field curve, the longest common substring is used to optimize the dynamic time warping algorithm, thereby improving the calculation accuracy of similarity. Finally, the accuracy of the algorithm is verified by model testing. Compared with the traditional evaluation methods, no parameters need to be manually set in advance and the similarity evaluation result can be given directly, enabling the evaluation of the simulation effect of the ship’s magnetic field and identification of targets from magnetic detection.
Keywords