1. Introduction
As a non-acoustic detection technology, underwater magnetic detection plays an irreplaceable role in geoscience, especially in oceanography [
1,
2]. With the rapid development of marine observation and exploration, unmanned underwater vehicles (UUVs) have become attractive underwater carriers for a variety of sensors and navigation equipment [
3]. UUVs navigate underwater via remote or automatic control, and they have good performance in terms of adaptability, detection range, and operation efficiency [
4]. UUVs equipped with magnetometers for underwater magnetic detection hold enormous promise for marine exploration and monitoring, including earthquake monitoring and research, benthonic geological research, marine mineral resource exploration, underwater salvage and search operations, investigation of undersea oil pipelines, detection of underwater magnetic targets, and autonomous underwater navigation of submersibles [
5,
6,
7,
8,
9].
However, in addition to sensing the magnetic field of the target, the magnetometer on UUVs inevitably detects interference from the carrier, the local geomagnetic field, and other sources during actual detection [
10]. The interference magnetic field generated by carriers can significantly distort underwater magnetic measurements. This field mainly consists of three components: the induced magnetic field, the permanent magnetic field, and the eddy current magnetic field, all of which are generated by ferromagnetic materials that are inevitably present in UUVs. It has been reported that on the surface of an underwater vehicle, the induced magnetic field can be of similar magnitude to the geomagnetic field and continuously changes with the vehicle’s attitude [
11]. As stated in reference [
12], any measurement error exceeding 30 nT can lead to the failure of underwater magnetic detection. In conclusion, the interference of UUVs can considerably affect the accuracy of underwater magnetic detection. Therefore, compensating for carrier magnetic interference is of critical importance.
Notably, the interference magnetic field of UUVs is also affected by their internal electromechanical system’s working state [
13]. For instance, UUVs need to operate at various velocities during magnetic detection to adapt to the complex marine environment and control their heading and path [
14]. This is achieved through changes in motor speed and battery current, resulting in fluctuations in the interference of the magnetic field [
15]. Therefore, the magnetic field interference varies under different operating velocities of UUVs. Hence, it is necessary to compensate for velocity-related interference on the magnetic field to achieve high-precision measurements.
To reduce magnetic detection distortion, researchers have focused on studying carrier magnetic interference compensation [
16,
17,
18,
19]. In 1954, Tolles and Lawson analyzed the material composition and structure of aircraft to represent the interference as the sum of three field strengths: permanent field, induced field, and eddy current field, and proposed the Tolles–Lawson model [
20]. Leliak et al. established a method to solve the compensation parameters in the interference magnetic model by representing the interference as 16 compensation functions, with each function composed of a fixed compensation coefficient and a base function [
21]. Leach subsequently proposed the least squares method as a means to solve compensation model parameters while analyzing complex collinearity in the process [
22]. Meanwhile, Gebre-Egziabher introduced a two-step calibration method that uses the least squares method to estimate intermediate variables and subsequently arrives at a solution for the model using those values [
23]. However, Gebre-Egziabher’s calibration method falls short in addressing ill-condition problems [
24], since its core algorithm still relies on the least squares method. As computational and mathematical solution methods continue to develop, more algorithms such as recursive least squares (RLS), truncated singular value decomposition, ridge regression, and neural networks have emerged as possible solutions [
25,
26,
27,
28]. Although these algorithms can improve computing accuracy, they cannot effectively improve the interference compensation accuracy as they are all based on the conventional Tolles–Lawson model. Currently, scholars studying geomagnetic compensation are increasingly focusing on the electromechanical interference of carriers, which the Tolles–Lawson model does not account for. In reference [
29], the authors proposed a compensation method for the magnetic interference caused by the relative motion component and onboard current. In reference [
30], the dynamic interference of various airborne equipment is considered, which is useful for reducing interference magnetic field. By studying the sources of these additional magnetic interferences and developing new compensation models, one can effectively improve the precision of magnetic interference compensation. However, available models have not taken the significant interference caused by variations in the velocity of UUV into account, and the compensation for this interference has yet to be addressed.
In this paper, a modified compensation method for UUV magnetic interference that takes velocity into account is proposed. We introduce a velocity-related term to improve the Tolles–Lawson model, which greatly expands the model’s application to UUV sailing at various velocities. We estimate the compensation parameters in two steps. First, we use the ridge estimation algorithm, which has certain advantages in fitting ill-conditioned data, to calculate the initial compensation parameters for several sets of constant velocities. Then, we use linear fitting to determine the functional relation between the initial compensation parameter and UUV velocity. By substituting the functional relation into the initial model, we establish a velocity-related compensation model. Finally, we verify the proposed compensation model’s practicability with a series of field experiments. The contributions made in this paper are as follows:
The impact of UUV velocity variation on the accuracy of underwater magnetic detection has been considered. A velocity-related term is introduced to improve the compensation accuracy for carrier interference magnetic field.
A two-step approach with ridge regression and linear fitting is employed to determine the compensation parameters, which has good operability. The ridge regression algorithm is applied to address the ill-conditioning of measured date to enhance the reliability of parameter estimation.
The proposed compensation method achieves high-precision compensation in field experiments, and it is feasible and effective for underwater magnetic detection.