Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Feb 19;14:4070. doi: 10.1038/s41598-024-54848-6

An improved composite ship magnetic field model with ellipsoid and magnetic dipole arrays

Binjie Lu 1,2, Xiaobing Zhang 1,
PMCID: PMC10876987  PMID: 38374350

Abstract

In order to simultaneously maintain the ship magnetic field modeling accuracy, reduce the number of coefficient matrix conditions and the model computational complexity, an improved composite model is designed by introducing the magnetic dipole array model with a single-axis magnetic moment on the basis of the hybrid ellipsoid and magnetic dipole array model. First, the improved composite model of the ship's magnetic field is established based on the magnetic dipole array model with 3-axis magnetic moment, the magnetic dipole array model with only x-axis magnetic moment, and the ellipsoid model. Secondly, the set of equations for calculating the magnetic moments of the composite model is established, and for the problem of solving the pathological set of equations, the least-squares estimation, stepwise regression method, Tikhonov, and truncated singular value decomposition regularization methods are introduced in terms of the magnetic field, and generalized cross-validation is used to solve the optimal regularization parameters. Finally, a ship model test is designed to compare and analyze the effectiveness of the composite and hybrid models in four aspects: the number of coefficient matrix conditions of the model equation set, the relative error of magnetic field fitting, the relative error of magnetic field extrapolation, and the computational time complexity. The modeling results based on the ship model test data show that the composite model can be used for modeling the magnetic field of ships, and compared with the hybrid model, it reduces the number of coefficient matrix conditions and improves the computational efficiency on the basis of retaining a higher modeling accuracy, and it can be effectively applied in related scientific research and engineering.

Keywords: Ship magnetic field, Composite model, Ellipsoid, Magnetic dipole array, Modeling accuracy, Coefficient matrix condition number, Computational complexity, Regularization methods

Subject terms: Electrical and electronic engineering, Computational science

Introduction

Ship's magnetic field is the disturbed magnetic field generated by ferromagnetic ship disturbing the magnetic field around the earth, and there are four main sources of ship's magnetic field generation1,2. The finite element method for simulating and synthesizing ship magnetic field data has the advantage of high accuracy, but the disadvantage is that it needs to measure the complete envelope, which is difficult in practice and has high computational complexity3,4. The magnetic field equivalent source method is a simple and effective numerical calculation method for ship magnetic field reconstruction compared with the finite element method5,6 and boundary element method7, whose basic principle is to replace the original ferromagnetic objects by using several magnetic sources with analytical solutions, which is widely used because of its advantages of high stability, high accuracy and high computational efficiency8. And the equivalent source method can invert the model parameters based on the magnetic field measurements once the location of the magnetic sources is determined. Ship magnetic field equivalent source models include single magnetic dipole model912, magnetic monopole model13, magnetic dipole array model, multiple magnetic dipole model5, single ellipsoid model, hybrid ellipsoid and magnetic dipole array model14, and long ellipsoid harmonic model15. The single magnetic dipole model has fewer unknown parameters, less computational effort, and is suitable for far-field conditions, but cannot accurately simulate the target magnetic field in the near field. The hybrid ellipsoid and magnetic dipole array model simulates the target magnetic field with high accuracy and is suitable for near-field conditions.

In recent years, many scholars have carried out relevant research on ship magnetic field modeling. Jeung Giwoo presented an effective method for determining underwater magnetic field anomalies caused by residual magnetization of ferromagnetic hulls using a magnetic dipole modeling technique combined with material sensitivity analysis16. A. Sheinker used the finite element method and the LASSO algorithm to model the magnetic field based on 55 magnetic dipoles uniformly distributed on the surface of the ship model5. Kazimierz Jakubiuk used the Z-component of the ship's magnetic field to invert the parameters of the non-equally spaced magnetic dipole array model, including the magnetic dipole positions, magnetic dipole moments, and so on, and took into account the combined effect of fixed and induced magnetic moments17. Baowei He applied an iterative regularization algorithm based on conjugate gradient least squares based on the magnetic monopole model, showing that the algorithm can improve the inversion accuracy of ship magnetic field modeling13. Chengbao GUO adopts a three-dimensional magnetic monopole array model, constructs a system of linear equations for the inversion of a ship's magnetic source using the magnetic field difference, and solves the model parameters using the regularization method18. Mads Stormo Nilsson developed a long ellipsoidal harmonic model, which equates the magnetic field of a ship as a superposition of the magnetic fields of a set of magnetic multipoles placed in a long ellipsoidal coordinate system, and in order to improve the predictive power of the model and reduce overfitting, the model coefficients were solved using Lasso LARS15. JAROSLAW TARNAWSKI used virtual ellipsoid as a source of magnetic field data on the basis of multi-magnetic dipole model and superimposed noise to synthesize the magnetic field data, considered the intrinsic and induced magnetic moments of the magnetic target, laid the permanent magnetic dipole and the induced magnetic dipole in the same plane, respectively, and established the objective functions of magnetic dipole magnetic moments, positions, etc., and solved the optimization problem by using a nonlinear least-squares method19. Since then, JAROSLAW TARNAWSKI has utilized the model to conduct real ship sea trial tests, inverting the model parameters by Ridge and LASSO algorithms20. JAROSLAW TARNAWSKI investigated three-dimensional multi-dipole modeling by extending the training dataset to collect magnetic field data from all four cardinal directions and verified the robustness of the improved multi-dipole model using synthetic data after adding noise21. Jan-Ove Hall introduced an algorithm to decompose the intrinsic and induced magnetic fields, solved the magnetic field model using FEM, and gave the ship's magnetic field in the same region in different directions22. Miroslaw Woloszyn used a decomposition-based approach to calculate the magnetic field of each component of a magnetic target separately, where the overall magnetic characteristics of the object can be reproduced anywhere on the i.e., Earth, and validated the proposed method using finite element software4. In order to overcome the problem of the inability of the multi-magnetic dipole model in the literature21 to reproduce the magnetic field at unmeasured places, Miroslaw Woloszyn addresses the problem of reconstructing the magnetic field of a ship at an arbitrary position on the Earth by employing a multi-magnetic dipole model, constructing a nonlinear inversion model, inverting the intrinsic and induced magnetic moments using the nonlinear least-squares algorithm with trust-region reflective optimization(TRR), and predicting the magnetic field produced by a ship at an arbitrary position on the Earth using this model23.

The basic idea of modeling based on the hybrid model is to regard the magnetic dipole and ellipsoid as the magnetic field source of the ship, and by changing the magnitude, direction and number of magnetic moments of the magnetic dipole and ellipsoid, the magnetic field distribution consistent with the measured magnetic field can be generated. The magnetic field modeling problem can be regarded as an inverse problem, and the regularization method should be adopted when solving the inverse problem to avoid overfitting in the regression analysis, so as to prevent the magnetic dipoles with opposite directions from canceling each other5. Regularization methods include Tikhonov/Ridge, least absolute shrinkage and selection operator (LASSO), least angular regression (LARS), least square residual (LSMR), and conjugate gradient least squares (CGLS)2427.

In order to simultaneously maintain the modeling accuracy and enhance the model computational efficiency, an improved composite model is designed on the basis of the hybrid model by introducing the magnetic dipole array model with a single-axis magnetic moment. First, the improved composite model of the ship's magnetic field is established based on the magnetic dipole array model with 3-axis magnetic moments, the magnetic dipole array model with only x-axis magnetic moments, and the ellipsoid model. Secondly, the set of equations for calculating the magnetic moments of the composite model is established, and the least squares estimation (LS), stepwise regression method, Tikhonov, and truncated singular value decomposition (TSVD) regularization methods are introduced with the magnetic field for the problem of solving the pathological set of equations, and the optimal regularization parameters are solved by using generalized cross-validation (GCV). Finally, ship model tests are designed to compare and analyze the effectiveness of the composite and hybrid models in four aspects, including the condition number of the coefficient matrix of the model equation set, the relative error of the magnetic field fitting, the relative error of the magnetic field extrapolation, and the computational time complexity. The modeling results based on the ship model test data show that the composite model can be used for modeling the magnetic field of the ship, and it improves the computational efficiency compared with the hybrid model while retaining a higher modeling accuracy.

Improved composite equivalent source magnetic field model

Ship magnetic field modeling refers to the construction of some kind of model to accurately reflect the spatial distribution law of the ship magnetic field, and at the same time, it is necessary to extrapolate the measured magnetic field to the location of other depths, which can usually be equivalent to the ship as a hybrid model of ellipsoid and magnetic dipole array14, in order to further enhance the accuracy of magnetic field simulation on the ship while taking into account the complexity of the model, the introduction of a uniaxial magnetic moment on the basis of the hybrid model of the In order to further improve the magnetic field simulation accuracy of the ship while taking into account the model complexity, the magnetic dipole array model with uniaxial magnetic moment is introduced on the basis of the hybrid model, and the improved composite equivalent source magnetic field model of the ship is designed. Considering that the ship is in a stable and direct sailing state in a short period of time, the ship's intrinsic magnetic field and induced magnetic field can be studied together, so the intrinsic magnetic moment and induced magnetic moment of the magnetic dipole are no longer considered differently.

General structure of the composite magnetic field model

The improved composite equivalent source magnetic field model consists of 3 parts, part 1 is a magnetic dipole array model with a single-axis magnetic moment (x-direction), part 2 is a magnetic dipole array model with 3 axes, and part 3 is a single ellipsoid model as shown in Fig. 1. The ellipsoid is located in the center of the ship, and its long axis is equal to the length of the ship and the short axis is equal to the width of the ship, which is used to fit the macroscopic magnetic field of the ship. The magnetic dipole array with 3 axes is uniformly distributed on the ship's draft line to simulate the ship's localized inhomogeneous magnetic field. Magnetic dipole arrays with single-axis magnetic moments are located at a certain depth below the ship's draft line for fine-tuning the magnetic field. The carrier coordinate system (b-system) is established with the ship center as the origin, and the sensor coordinate system (s-system) is established with the sensor center as the origin. To simplify the representation, the variables under the b-system are not superscripted.

Figure 1.

Figure 1

Improved composite magnetic field model for ships.

Magnetic field calculation formulas

The corresponding magnetic field calculation formulas for the 3 models are as follows:

The magnetic field of a magnetic dipole array model with a 3-axis magnetic moment is calculated as

BxByBz=i=1Maxiayiazibxibyibzicxicyiczimximyimzi 1

where BDA1=BxByBzT is the magnetic field vector of the magnetic dipole array model with 3-axis magnetic moments, and mjii=1,2,,M;j=x,y,z is the magnetic moment of the ith magnetic dipole j-axis in the b-series. The coefficients in the coefficient matrix are

axi=μ04π3ri25xi2-1ri23,ayi=3μ0xiyi4πri25,azi=3μ0xizi4πri25bxi=ayi,byi=μ04π3ri25yi2-1ri23,bzi=3μ0yizi4πri25cxi=azi,cyi=bzi,czi=μ04π3ri25zi2-1ri23 2

μ0=4π×10-7H/m is the vacuum permeability, ri=r-rdi is the coordinate of the magnetic sensor in the b-system relative to the ith magnetic dipole, r=xyzT is the coordinate of the magnetic sensor in the b-system, rdi=i-M+1/2ΔL00T is the coordinate of the ith magnetic dipole in the b-system, ΔL=L/M-1 is the magnetic dipole spacing, and L is the length of the ship.

The magnetic field of a magnetic dipole array model with a uniaxial magnetic moment is given by

BxByBz=i=M+1M+Naxibxicximxi 3

where BDA2=BxByBzT is the magnetic field vector of the magnetic dipole array model with uniaxial magnetic moment, and mxi is the magnetic moment of the ith magnetic dipole in the b-system. The coefficients in the coefficient matrix are axi=μ03xi2-ri22/4πri25, bxi=3μ0xiyi/4πri25, cxi=3μ0xizi/4πri25. ri=r-rdi is the coordinate of the magnetic sensor in the b-system with respect to the ith magnetic dipole, rdi=i-N+1/2ΔL0zdT is the coordinate of the ith magnetic dipole in the b-system, ΔL is the magnetic dipole spacing, and zd is the distance between the magnetic dipole and the draft.

The ellipsoidal magnetic field is given by

BxByBz=axM+N+1ayM+N+1azM+N+1bxM+N+1byM+N+1bzM+N+1cxM+N+1cyM+N+1czM+N+1mxM+N+1myM+N+1mzM+N+1 4

where BE=BxByBzT is the magnetic field vector of the ellipsoid and mM+N+1 is the magnetic moment of the ellipsoid. The coefficients in the coefficient matrix are

axi=3μ04πAiK2ti+12K3lnAi-KAi+K,ayi=3μ04πxiyiAiBi2ti,azi=3μ04πxiziAiBi2tibxi=ayi,byi=3μ08π2Aiyi2Bi4ti-AiBi2K2-12K3lnAi-KAi+K,bzi=3μ04πAiyiziBi4ticxi=azi,cyi=bzi,czi=3μ08π2Aizi2Bi4ti-AiBi2K2-12K3lnAi-KAi+Kti=ri22+K22-4K2xi2,K=L/22-W/22Ai=12ri22+K2+tiBi=12ri22-K2+ti 5

L is the length of the ship and W is the width of the ship.

The composite magnetic field model magnetic field BC is calculated as

BC=BDA1+BE+BDA2=FCmC 6

where the magnetic moments mC of the magnetic dipole and ellipsoid are

mC=mx1my1mz1mxMmyMmzMmxM+1mxM+NmxM+N+1myM+N+1mzM+N+1T 7

The coefficient matrix FC is

FC=ax1ay1az1axMayMazMaxM+1axM+NaxM+N+1ayM+N+1azM+N+1bx1by1bz1bxMbyMbzMbxM+1bxM+NbxM+N+1byM+N+1bzM+N+1cx1cy1cz1cxMcyMczMcxM+1cxM+NcxM+N+1cyM+N+1czM+N+1 8

where i=1,,M corresponds to the magnetic dipole array model with a 3-axis magnetic moment, to the magnetic dipole array model with a single-axis magnetic moment, and i=M+1,,M+N corresponds to the ellipsoid model.

Composite magnetic field model magnetic moment calculation method

The problem of calculating the magnetic moment of a ship's magnetic field model can be regarded as a problem of solving a system of overdetermined Equations. 14. For the problem of solving the overdetermined equations, the least squares estimation, stepwise regression method14, Tikhonov-GCV, and TSVD-GCV regularization methods are used to solve the problem, respectively.

Equations for solving magnetic moment

A schematic diagram of the magnetic field measurement at a certain depth plane below the ship is shown in Fig. 2. In the actual magnetic field measurement, the measurement data will be interfered by noise, so the system of equations for solving the magnetic moment under the b-system is

B=Fm+e 9

where B=Bx1BxNBy1ByNBz1BzNT is the magnetic field at N measurement points in the carrier coordinate system and the observation noise is Gaussian white noise, eN0,R. The coefficient matrix F is

F=ax11ay11az11ax1May1Maz1Max1M+1ax1M+Nax1M+N+1ay1M+N+1az1M+N+1axN1ayN1azN1axNMayNMazNMaxNM+1axNM+NaxNM+N+1ayNM+N+1azNM+N+1bx11by11bz11bx1Mby1Mbz1Mbx1M+2bx1M+Nbx1M+N+1by1M+N+1bz1M+N+1bxN1byN1bzN1bxNMbyNMbzNMbxNM+1bxNM+NbxNM+N+1byNM+N+1bzNM+N+1cx11cy11cz11cx1Mcy1Mcz1Mcx1M+1cx1M+Ncx1M+N+1cy1M+N+1cz1M+N+1cxN1cyN1czN1cxNMcyNMczNMcxNM+1cxNM+NcxNM+N+1cyNM+N+1czNM+N+1R3N×3M+N+3 10

where the coefficients are calculated according to Eqs. (2), (3) and (5) and the magnetic moments are the same as Eq. (7).

Figure 2.

Figure 2

Schematic diagram of ship's magnetic field measurement.

Least squares estimation

Considering the equations for solving the magnetic moment can be reduced to the following observation equation

y=Ax+e 11

where yRm, ARm×n, xRm, eRm, assuming that the observation noise is Gaussian white noise, eN0,R. The singular value decomposition of A is given by

A=UΣVT 12

where URm×n, VRn×n is the unit orthogonal matrix, Σ=diagλ1λnRn×n is the diagonal matrix, and λ1λ2λn.

The linear model in Eq. (11) satisfies the Gauss–Markov theorem, and the optimal estimate of the magnetic moment is the optimal linear unbiased estimation (BLUE)5

x^=ATR-1A-1ATR-1y 13

The spectral decomposition of LS estimation for unknown parameters takes the form25

x^LS=i=1nuiTyλivi=i=1nviTx+uiTeλivi 14

where uiRm and viRn are the ith column vectors of U and V, respectively. The mean square error of the least squares estimation is

MSEx^LS=Ri=1nviviTλi2 15

The trace of MSEx^LS is

TrMSEx^LS=i=1nRλi2 16

The trace of MSEx^LS reflects the difference between the estimate and the true value. When the condition number λmax/λmin is very large, the LS estimates are susceptible to noise leading to unstable solutions.

Tikhonov regularization

The Tikhonov regularization method filters or attenuates small singular values to retain all the information, and the Tikhonov regularization takes the form26

minxAx-y22+α2Lx22 17

where α is the regularization parameter and L is the regularization matrix. The solution of the regularization estimation is

xα=ATA+α2I-1ATy 18

The spectral decomposition of the Tikhonov regularized estimate is of the form25

x^Tikh=i=1nλi2λi2+αuiTyλivi=i=1nλi2λi2+αviTx+λi2λi2+αuiTeλivi 19

where α is the regularization parameter. The mean square error of the Tikhonov regularization estimate is

MSEx^Tikh=Ri=1nλi2viviTλi2+α2+i=1nαviTxλi2+αvii=1nαviTxλi2+αviT 20

The trace of MSEx^Tikh is

TrMSEx^Tikh=i=1nλi2Rλi2+α2+α2viTx2λi2+α2 21

Too small a value of the regularization parameter α tends to lead to under-regularization and vice versa for over-regularization.

Truncated singular value decomposition

Removing the n-k components of the least-squares estimate in the hyperspectral domain, the spectral decomposition of the TSVD estimate takes the form25

x^TSVD=i=1kuiTyλivi=i=1kviTx+uiTeλivi 22

The mean square error of the TSVD estimation is

MSEx^TSVD=Ri=1nviviTλi2+i=k+1nviTxvii=k+1nviTxviT 23

The trace of MSEx^TSVD is

TrMSEx^TSVD=i=1kRλi2+i=k+1nviTx2 24

Too small a value of the truncation parameter k tends to lead to over-regularization and vice versa for under-regularization.

Regularized parameter optimization methods

Regularization parameter optimization methods include Discrepancy Principle28, L-curve29, GCV30, NCP28, etc. L-curve is a logarithmic graph that characterizes the relationship between and change in terms of α parameter, and the approximation of the optimal regularization parameter can be computed by locating the corners of the L-curve, and for the continuous L-curve, the corner is the point with maximum curvature on the L-curve of the logarithmic scaled L-curve at the point with maximum curvature on the L-curve31. However, the L-curve method is not applicable in the case of no noise or very low noise28. The goal of GCV is to find the value of α such that the data can be predicted as accurately as possible. The Discrepancy Principle relies on the accurate estimation of the error paradigm. The GCV aims to reduce the prediction error, and it is a more robust method. The NCP is a statistically based method, which may misidentify low-frequency noise as signals. low-frequency noise as a signal, which leads to unsmoothing.

For the magnetic field model magnetic moment solution problem, GCV is used for parameter optimization. The GCV equations are26,32

GA,yα=I-AAαxα22TrI-AAα2 25

where Aα=ATA+α2I-1AT. From the Scherman-Morrison-Woodburg theorem we have

αATA+αI-1=I-AATA+αI-1AT 26

Substituting Eq. (26) into Eq. (25), we get

GA,yα=ATA+αI-1xα22TrATA+αI2 27

Thus, the optimal regularization parameter is

α=argminGA,yα 28

The selection of regularization parameters α and k using the GCV method is shown in Fig. 3.

Figure 3.

Figure 3

Determination of regularization parameters using the GCV approach. (a) α of Tikhonov, (b) k of TSVD.

Ship model test validation

Ship model test setup

The test uses a scaling-down ship model, whose dimensional parameters are the dimensions of the real ship corresponding to the ship model, not the dimensions of the ship model itself, and the depths, positive transits, and trajectories are the measured dimensions of the real ship corresponding to the ship after conversion. The ship model test measured the magnetic fields of 3 tracks at each of the 2 depths, as shown in Table 1. Three measurement lines were uniformly set below the model at a distance of 1W and 2W, with z-coordinates of 1W and 2W, and y-coordinates of − 0.5 W, 0, and 0.5 W, which corresponded to the port, keel, and starboard sides of the ship model, respectively. There are 81 measurement points in each measurement line, with x coordinates of − 1.5 L–1.5 L (L denotes the length of the ship, W denotes the width of the ship). The magnetic sensor is Mag-13MSL100, and the position is shown in Fig. 4. The single-point magnetic field measurement is used to move the ship on the track with equal spacing, and every time the ship moves, a period of time is measured, and the average value of the period is calculated as the corresponding magnetic field value of the measurement point, and the magnetic field value of each point is connected to form a continuous ship magnetic field through the characteristics. The following is the magnetic field modeling of the ship model based on the composite model and the magnetic field measurement data.

Table 1.

Ship model test conditions.

Length (m) Width (m) z (m) y (m) x (m)
153 17.3 17.2 − 8.64 − 128:3.2:128
0
8.64
28.8 − 8.64
0
8.64

Figure 4.

Figure 4

Ship model test system. (a) Schematic diagram of the test system, (b) Measuring devices.

Improved composite model versus traditional hybrid model setup

The parameters of the improved composite model and the conventional hybrid model33 are shown in Table 2. In order to compare the two models in terms of modeling accuracy of the ship's magnetic field, the number of coefficient matrix conditions and other factors, the same number of magnetic dipoles and the number of ellipsoids are used. For the large ship model used in the test, the number of magnetic dipoles needs to take a higher number to ensure the modeling accuracy34, and the ellipsoids of the two models have the same size and the same coordinates in the b-system. The difference between the two models is shown in Fig. 5. In the hybrid model, the spacing of the magnetic dipoles is calculated based on the ship length. In the composite model, the spacing of the 3-axis magnetic moment magnetic dipole is calculated according to the length of the ship, and the spacing and coordinates zd of the x-axis magnetic moment magnetic dipole are adjusted according to the dimensions of the ship.

Table 2.

Improved composite and conventional hybrid model parameters.

Model Ellipsoid number Number of magnetic dipoles with 3-axis magnetic moments Number of magnetic dipoles with x-axis magnetic moments
Hybrid 1 15 0
Composite 1 10 5

Figure 5.

Figure 5

Comparison of the two models.

Model evaluation indicators

(1) The coefficient matrix condition number is

CondF=F2·F-12 29

The condition number is related to b only and reflects the effect of the original data on the solution. If the condition number is larger, the system of equations is more pathological and the solution is less robust.

(2) The relative error of the magnetic field fit is

E1=Fm^-B2B2 30

where F is the coefficient matrix, Fm^ is the simulated magnetic field for solving the magnetic moment calculation, and B is the measured magnetic field without noise.

(3) The relative error of the magnetic field extrapolation is

E2=Fm^-B2B2 31

where F is the matrix of coefficients in the other plane, Fm^ is the in-plane magnetic field in the other plane for solving the magnetic moment calculation, and B is the noise-free measured magnetic field in the other plane.

(4) CPU computation time is the time required for the algorithm to complete the magnetic moment estimation. The computer processor is 11th Gen Intel(R) Core (TM) i5-1155G7 @ 2.50 GHz with 16.0 GB of RAM.

Comparative analysis of models

The LS algorithm, stepwise regression method, Tikhonov-GCV, and TSVD-GCV algorithms were used to solve the magnetic moments, respectively. In performing the magnetic moment solution for the ship model, the observed magnetic field data were measured at a depth of 1 time the ship width and extrapolated to a depth of 2 times the ship width. The magnetic field measurement data under different signal-to-noise ratio conditions are used for model validation, and the noise is Gaussian white noise. The number of coefficient matrix conditions is shown in Table 3, from which it can be seen that the number of coefficient matrix conditions of the improved composite model is only 0.2091 of the number of coefficient matrix conditions of the hybrid model, from which it can be seen that the degree of pathology of the equation set of the improved composite model is much smaller than that of the equation set of the hybrid model, and thus the robustness of the solution of the magnetic moments is stronger. The relative error of magnetic field and the relative error of magnetic field extrapolation are shown in Table 4 and Fig. 6. Combining the graphs, it can be seen that the modeling accuracies of the two models under different SNR conditions with different magnetic moment solving algorithms are not much different, with the maximum difference of about 3%, and the relative error of magnetic field fitting and the relative error of magnetic field extrapolation of the composite model under high SNR conditions are both within 10%, and the relative error of magnetic field fitting can also be reached to 3% under 0 dB SNR conditions, and the relative error of magnetic field extrapolation can also be reached to 4% under 0 dB SNR conditions. The relative errors of magnetic field fitting and magnetic field extrapolation are within 30% and 15% even at 0 dB SNR. The CPU computation time is shown in Table 5 and Fig. 7. Combined with the graphs, it can be seen that the computation time of the composite model is less than that of the hybrid model when solving magnetic moments with the four algorithms, which indicates that the computational complexity of the composite model is less than that of the hybrid model. At 0 dB SNR, the depth of solving is 50 m. The depth of the composite model is 50 m, and the depth of the composite model is 50 m. The depth of the composite model is 50 m. When the SNR is 0 dB, the spatial distribution of the magnetic field at a depth of 50 m based on the TSVD-GCV algorithm is shown in Fig. 8, from which it can be seen that the spatial distribution of the magnetic field is basically the same for the two models, which suggests that the composite model is able to realize the effective modeling of the ship's magnetic field. The magnetic moments solved based on the TSVD-GCV algorithm are shown in Fig. 9, from which it can be seen that the magnetic moments of the two models are quite different. The magnetic field fitting curve (SNR = 0 dB, z = 17.2 m) is shown in Fig. 10, and the magnetic field extrapolation curve (SNR = 0 dB, z = 17.2 m → 28.8 m) is shown in Fig. 11. From the magnetic field fitting curves and extrapolation curves, the composite model still has a high fitting accuracy for the ship's magnetic field under low SNR conditions.

Table 3.

Coefficient matrix condition number.

Model Coefficient matrix condition number
Hybrid 7.1004e3
Composite 1.4846e3

Significant values are in [bold].

Table 4.

Relative error of magnetic field fitting and relative error of magnetic field extrapolation.

Model Algorithm Error SNR/dB
0 10 20 30 40 50
Hybrid model LS E1 0.3010 0.1154 0.0750 0.0695 0.0690 0.0689
E2 0.1456 0.0932 0.0856 0.0843 0.0842 0.0842
SWR E1 0.2518 0.1123 0.0762 0.0707 0.0701 0.0700
E2 0.1710 0.0953 0.0859 0.0847 0.0848 0.0849
Tikhonov-GCV E1 0.2698 0.1127 0.0750 0.0696 0.0690 0.0690
E2 0.1732 0.0974 0.0860 0.0844 0.0842 0.0843
TSVD-GCV E1 0.2797 0.1124 0.0753 0.0697 0.0690 0.0689
E2 0.1476 0.1476 0.0857 0.0844 0.0842 0.0842
Composite model LS E1 0.2818 0.1304 0.1030 0.0997 0.0994 0.0993
E2 0.1476 0.0960 0.0898 0.0896 0.0893 0.0893
SWR E1 0.2554 0.1300 0.1044 0.1013 0.1009 0.1008
E2 0.1808 0.0998 0.0909 0.0904 0.0899 0.0899
Tikhonov-GCV E1 0.2741 0.1294 0.1030 0.0997 0.0994 0.0994
E2 0.1572 0.0976 0.0904 0.0899 0.0896 0.0896
TSVD-GCV E1 0.2791 0.1291 0.1029 0.0998 0.0995 0.0995
E2 0.1509 0.0961 0.0899 0.0896 0.0894 0.0894

Figure 6.

Figure 6

Comparison of relative errors of magnetic field fitting and relative errors of magnetic field extrapolation for two models. (a) Relative error of magnetic field fitting for composite model, (b) Composite model magnetic field extrapolation relative error, (c) Relative error of the hybrid model magnetic field fit and (d) Relative errors in extrapolation of hybrid model magnetic fields.

Table 5.

CPU computation time.

Model Algorithm Computation time/s
Hybrid model LS 8.0112e-04
SWR 0.0029
Tikhonov-GCV 0.0225
TSVD-GCV 0.0208
Composite model LS 5.8042e−04
SWR 0.0019
Tikhonov-GCV 0.0223
TSVD-GCV 0.0206

Significant values are in [bold].

Figure 7.

Figure 7

CPU computation time. (a) Composite model, (b) Hybrid model.

Figure 8.

Figure 8

Spatial distribution of magnetic field based on TSVD-GCV algorithm solution(SNR = 0 dB, z = 50 m)., (a) Composite model x-component, (b) Hybrid model x-component, (c) Composite model y-component, (d) Hybrid model y-component, (e) Composite model z-component (f) Hybrid model z-component, (g) Composite model magnetic total field modulus and (h) Hybrid model magnetic total field modulus.

Figure 9.

Figure 9

Magnetic moments solved based on the TSVD-GCV algorithm. (a) Composite model and (b) Hybrid model.

Figure 10.

Figure 10

Magnetic field fitting curve(SNR = 0 dB, z = 17.2 m). (a) Composite model x-component, (b) Hybrid model x-component, (c) Composite model y-component, (d) Hybrid model y-component, (e) Composite model z-component and (f) Hybrid model z-component

Figure 11.

Figure 11

Magnetic field extrapolation curves(SNR = 0 dB, z = 17.2 m → 28.8 m). (a) Composite model x-component, (b) Hybrid model x-component, (c) Composite model y-component, (d) Hybrid model y-component, (e) Composite model z-component and (f) Hybrid model z-component.

In summary, the comparison of the two model indicators is shown in Table 6. From the four evaluation indexes, the composite model is comparable to the hybrid model in terms of the relative error of magnetic field fitting and the relative error of magnetic field extrapolation, and is able to achieve higher modeling accuracy. In terms of the number of coefficient matrix conditions, the composite model is smaller than the hybrid model, and the magnetic moment solving is more robust. In terms of computational complexity, the composite model has a smaller computational degree, which is more favorable to engineering practice. Therefore, the composite model can be used for modeling the magnetic field of ships, and compared with the hybrid model, the computational speed is improved on the basis of retaining higher modeling accuracy.

Table 6.

Comparison of model indicators.

Model Coefficient matrix condition number Relative error of magnetic field fitting Relative error of magnetic field extrapolation Computational complexity
Hybrid High High High High
Composite Low High High Low

Significant values are in [bold].

Conclusion

The improved ellipsoid and magnetic dipole array composite model proposed in this paper has the following advantages over the traditional hybrid model:

  1. While maintaining a high magnetic field modeling accuracy, the number of coefficient matrix conditions is effectively reduced, which improves the model robustness.

  2. The model complexity is reduced, effectively reducing the computational complexity, which is conducive to engineering applications.

  3. The composite model can be solved by a variety of regularization methods, and all of them can achieve high modeling accuracy, and the relative error of the magnetic field fitting and the magnetic field extrapolation error under high signal-to-noise ratio conditions are less than 0.1.

  4. The ship magnetic field modeling method adopted in this paper can effectively counter Gaussian noise interference, and the relative error of magnetic field fitting is less than 0.3 and the relative error of magnetic field extrapolation is less than 0.15 under the condition of 0 dB signal-to-noise ratio.

Author contributions

Conceptualization, X.Z. and B.L.; methodology, B.L.; software, B.L.; validation, B.L.; formal analysis, B.L.; investigation, B.L.; resources, data curation, B.L.; writing—original draft preparation, B.L.; writing—review and editing, B.L.; visualization, X.Z.; supervision, B.L.; project administration, X.Z.; funding acquisition, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received foundation of equipment Pre-research area (CN), award number is 90903030402.

Data availability

The datasets used and analyzed during the current study available from the corresponding author on reasonable request.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Holmes JJ. Exploitation of a Ship's Magnetic Field Signatures. Springer; 2022. [Google Scholar]
  • 2.Sheinker A, Frumkis L, Ginzburg B, et al. Magnetic anomaly detection using a three-axis magnetometer. IEEE Trans. Magn. 2009;45(1):160–167. doi: 10.1109/TMAG.2008.2006635. [DOI] [Google Scholar]
  • 3.Brunotte X, Meunier G, Bongiraud JP. Ship magnetizations modelling by the finite element method. IEEE Trans. Magn. 2002;29(2):1970–1975. doi: 10.1109/20.250795. [DOI] [Google Scholar]
  • 4.Woloszyn M, Tarnawski J, Woloszyn J. Decomposition of the induced magnetism degaussing problem for fast determination of currents in demagnetization coils wrapped outside an object under arbitrary external field conditions. J. Magn. Magn. Mater. 2023;580:170898. doi: 10.1016/j.jmmm.2023.170898. [DOI] [Google Scholar]
  • 5.Sheinker A, Ginzburg B, Salomonski N, et al. Estimation of ship's magnetic signature using multi-dipole modeling method. IEEE Trans. Magn. 2021;57(5):1–8. doi: 10.1109/TMAG.2021.3062998. [DOI] [Google Scholar]
  • 6.Jankowski P, Woloszyn M. Applying of thin plate boundary condition in analysis of ship’s magnetic field. COMPEL. 2018;37(5):1609–1617. doi: 10.1108/COMPEL-01-2018-0032. [DOI] [Google Scholar]
  • 7.Menana H. 3-d fem-bem coupling for the magnetic field computation in thin shells: Application to the evaluation of ship magnetic signature. IEEE Trans. Magn. 2021;57(6):1–6. doi: 10.1109/TMAG.2021.3062563. [DOI] [Google Scholar]
  • 8.Holmes, J. J. Modeling a ship's ferromagnetic signatures. San Rafael, Calif. (1537 Fourth Street, San Rafael, CA 94901 USA) (Morgan & Claypool Publishers, 2007).
  • 9.Wang JZ, Gao JQ, Zhao SX, et al. From model to algorithms: distributed magnetic sensor system for vehicle tracking. IEEE Trans. Industr. Inf. 2023;19(3):2963–2972. doi: 10.1109/TII.2022.3156663. [DOI] [Google Scholar]
  • 10.Wang Y, Fu Q, Sui YY. A robust tracking method for multiple moving targets based on equivalent magnetic force. Micromachines. 2022;13(11):2018. doi: 10.3390/mi13112018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Zhang D, Hao M. Tracking magnetic target based on internative multi-model square root unscented kalman filter. IEEE Trans. Magn. 2023;59(6):1–12. doi: 10.1109/TMAG.2023.3258541. [DOI] [Google Scholar]
  • 12.Wang Z, Liu S, Guo Y, et al. Joint use of scalar and vector magnetometers for underwater magnetic target localization. IEEE Geosci. Remote Sens. Lett. 2023;20:1–5. [Google Scholar]
  • 13.He B, Liu S, Zong J. Comparative study on the applicability of regularization method in ship’s magnetic signature modeling based on monopole array. AIP Adv. 2022;12(10):1–8. doi: 10.1063/5.0119856. [DOI] [Google Scholar]
  • 14.Dai Z, Zhou S, Zhang X. Multi-objective optimization of ship magnetic field modeling method. Acta Phys. Sinica. 2021;70(16):141–153. [Google Scholar]
  • 15.Nilsson MS. Modelling of Civilian Ships' Ferromagnetic Signatures. Norwegian Defence Research Establishment; 2016. [Google Scholar]
  • 16.Jeung G, Yang C, Chung H, et al. Magnetic dipole modeling combined with material sensitivity analysis for solving an inverse problem of thin ferromagnetic sheet. IEEE Trans. Magn. 2009;45(10):4169–4172. doi: 10.1109/TMAG.2009.2021853. [DOI] [Google Scholar]
  • 17.Jakubiuk K, Zimny P, Wołszyn M. Multidipoles model of ship's magnetic field. Int. J. Appl. Electromagnet Mech. 2012;39(1–4):183–188. doi: 10.3233/JAE-2012-1459. [DOI] [Google Scholar]
  • 18.Guo C, Hu S, Wang W, et al. Ship magnetic field inversion modeling method utilizing the magnetic field difference between magnetic sensors. Acta Armamentarii. 2022;43(1):111–119. [Google Scholar]
  • 19.Tarnawski J, Cichocki A, Rutkowski TA, et al. Improving the quality of magnetic signature reproduction by increasing flexibility of multi-dipole model structure and enriching measurement information. IEEE Access. 2020;8:190448–190462. doi: 10.1109/ACCESS.2020.3031740. [DOI] [Google Scholar]
  • 20.Tarnawski J, Buszman K, Woloszyn M, et al. Measurement campaign and mathematical model construction for the ship zodiak magnetic signature reproduction. Measurement. 2021;186:110059. doi: 10.1016/j.measurement.2021.110059. [DOI] [Google Scholar]
  • 21.Tarnawski J, Rutkowski TA, Woloszyn M, et al. Magnetic signature description of ellipsoid-shape vessel using 3d multi-dipole model fitted on cardinal directions. IEEE Access. 2022;10:16906–16930. doi: 10.1109/ACCESS.2022.3147138. [DOI] [Google Scholar]
  • 22.Hall J, Claesson H, Kjall J, et al. Decomposition of ferromagnetic signature into induced and permanent components. IEEE Trans. Magn. 2020;56(2):1–6. doi: 10.1109/TMAG.2019.2953860. [DOI] [Google Scholar]
  • 23.Woloszyn M, Tarnawski J. Magnetic signature reproduction of ferromagnetic ships at arbitrary geographical position, direction and depth using a multi-dipole model. Sci. Rep. 2023;13(1):14601. doi: 10.1038/s41598-023-41702-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Chen Z, Wang W, Kong X, et al. Moving force identification based on the nonnegative flexible conjugate gradient least square method and experimental verification. J. Sound Vib. 2024;572:118177. doi: 10.1016/j.jsv.2023.118177. [DOI] [Google Scholar]
  • 25.Yu Y, Yang L, Shen Y, Wang W, Li B, Chen Q. An iterative and shrinking generalized ridge regression for ill-conditioned geodetic observation equations. J. Geodesy. 2024;98(1):3. doi: 10.1007/s00190-023-01795-1. [DOI] [Google Scholar]
  • 26.Liu P, Li Y, Wang Q, et al. Inversion algorithm of insulator surface charge density based on hybrid lsmr algorithm for shift-variant system. Ieee Trans. Dielectr. Electr. Insul. 2024 doi: 10.1109/TDEI.2023.3348770. [DOI] [Google Scholar]
  • 27.Du Y, Li M, Li Y, et al. Tikhonov regularization stabilizes multi-parameter estimation of geothermal heat exchangers. Energy. 2023;262:125479. doi: 10.1016/j.energy.2022.125479. [DOI] [Google Scholar]
  • 28.Hansen PC. Discrete Inverse Problems Insightand Algorithms. Society for Industrial and Applied Mathematics; 2010. [Google Scholar]
  • 29.Hansen PC, O Leary DP. The use of the l-curve in the regularization of discrete ill-posed problems. Siam J. Sci. Comput. 1993;14(6):1487–1503. doi: 10.1137/0914086. [DOI] [Google Scholar]
  • 30.Golub GH, Heath M, Wahba G. Generalized cross-validation as a method for choosing a good ridge parameter. Technometrics. 1979;21(2):215–223. doi: 10.1080/00401706.1979.10489751. [DOI] [Google Scholar]
  • 31.Hansen PC. Regularization tools: A matlab package for analysis and solution of discrete ill-posed problems. Numer. Algorithms. 1994;6(1):1–35. doi: 10.1007/BF02149761. [DOI] [Google Scholar]
  • 32.Wang F, Zheng K, Chen B, et al. Time-domain inversion method of impact loads based on strain monitoring data. Metals. 2022;12(8):1279. doi: 10.3390/met12081279. [DOI] [Google Scholar]
  • 33.Zhonghua D, Suihua Z, Shan S. High accuracy method for ship magnetic field based on simulated annealing algorithm. Acta Electron. Sin. 2018;46(6):1524–1529. [Google Scholar]
  • 34.Dai ZH, Zhang XB, Zhou SH. Applicability of magnetic dipole array model for ship magnetic field. J. Wuhan Univ. Technol. 2020;42(4):99–104. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets used and analyzed during the current study available from the corresponding author on reasonable request.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES