Next Article in Journal
Characterizing Vegetation Phenology Shifts on the Loess Plateau over Past Two Decades
Next Article in Special Issue
Closed-Form Method for Unified Far-Field and Near-Field Localization Based on TDOA and FDOA Measurements
Previous Article in Journal
Intrapulse Modulation Radar Signal Recognition Using CNN with Second-Order STFT-Based Synchrosqueezing Transform
Previous Article in Special Issue
A Comprehensive Signal Quality Assessment for BDS/Galileo/GPS Satellites and Signals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Cruise Speed Model Based on Self-Attention Mechanism for Autonomous Underwater Vehicle Navigation

by
Xiaokai Mu
1,2,
Yuanhang Yi
3,
Zhongben Zhu
3,*,
Lili Zhu
3,
Zhuo Wang
1 and
Hongde Qin
1
1
Key Laboratory of Autonomous Marine Vehicle Technology, Harbin Engineering University, Harbin 150001, China
2
Qingdao Innovation and Development Center, Harbin Engineering University, Qingdao 266000, China
3
Qingdao Innovation and Development Base, Harbin Engineering University, Qingdao 266000, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2024, 16(14), 2580; https://doi.org/10.3390/rs16142580
Submission received: 30 May 2024 / Revised: 7 July 2024 / Accepted: 12 July 2024 / Published: 14 July 2024

Abstract

:
This study proposes a cruise speed model based on the Self-Attention mechanism for speed estimation in Autonomous Underwater Vehicle (AUV) navigation systems. By utilizing variables such as acceleration, angle, angular velocity, and propeller speed as inputs, the Self-Attention mechanism is constructed using Long Short-Term Memory (LSTM) for handling the above information, enhancing the model’s accuracy during persistent bottom-track velocity failures. Additionally, this study introduces the water-track velocity information to enhance the generalization capability of the network and improve its speed estimation accuracy. The sea trial experiment results indicate that compared to traditional methods, this model demonstrates higher accuracy and reliability with both position error and velocity error analysis when the used Pathfinder DVL fails, providing an effective solution for AUV combined navigation systems.

1. Introduction

Recently, interest in marine resources has grown considerably, resulting in increased marine development activities. Autonomous Underwater Vehicles (AUVs) are crucial for tasks such as seabed resource exploration, submarine pipeline maintenance, and marine data collection [1,2]. Therefore, obtaining precise navigation and positioning technology for AUVs is crucial to ensuring successful and timely task completion, owing to the highly complex marine environment. In contrast to land robots [3] and aerial robots [4], AUVs do not receive GPS signals underwater, posing a challenge for traditional satellite-dependent navigation techniques in this environment. Emerging technologies have been increasingly employed recently for successful underwater localization and navigation. The primary underwater navigation and localization techniques are categorized into four main groups: acoustic navigation [5,6,7], geophysical navigation [8,9,10], Simultaneous Localization and Mapping (SLAM), and inertial navigation and dead reckoning [11,12]. Acoustic waves are the most effective method for transmitting information underwater, making acoustic navigation the primary method for underwater target navigation and localization. Nonetheless, the acoustic beacons must be placed in advance, as acoustic navigation is ineffective in an unknown environment. Geophysical navigation can be divided into three primary groups based on the requisite geophysical parameters: terrain-matching navigation, marine geomagnetic navigation, and gravity navigation. However, geophysical navigation is limited by the requirement to obtain geophysical parameters in advance. Conversely, SLAM enables AUVs to create maps of their surroundings and determine their position within that environment. However, SLAM requires external environmental information measured by additional sensors and high computation capacity.
Inertial navigation is an autonomous system known for not relying on external information or emitting energy externally. The Inertial Navigation System (INS) uses triaxial gyroscopes and accelerometers to measure angular rate and acceleration. Then, the attitude, velocity, and position information of the AUV is calculated by an integral operation. However, the integration process results in error accumulation in the INS, and over a long navigation period, the position can be shifted considerably. This approach partially mitigates the error accumulation problem by utilizing a Doppler Velocity Logger (DVL) for bottom-track velocity and integrating INS and DVL measurements. Kalman filtering (KF) is a widely applied data fusion method [13], and it can achieve optimal filtering with Gaussian white noise in the system process. The bottom-track velocities measured by the DVL are indispensable in the data fusion algorithm. However, the DVL is sensitive to the complex marine environment, which may cause inaccuracies in velocity measurements. For instance, DVL bottom tracking can be vulnerable to interference and disruptions due to steep seafloor slopes or rifts, AUV attitude, currents, and fish populations [14], as shown in Figure 1. In cases where the DVL produces anomalous values for a brief period, the issue can be resolved by utilizing effective bottom tracking from the previous moment. Nevertheless, this method is inadequate when the DVL outputs anomalous data for an extended period or is inactive, in which case the INS solution error accumulates and the navigation accuracy significantly degrades over time. Consequently, investigating the navigation method when the DVL output remains invalid for an extended period is crucial.
Some methods have been commonly used in the existing literature to address invalid bottom tracking [15,16]: One approach involves implementing combined navigation by installing additional sensors to replace the DVL in case of failure; however, this method increases costs and system complexity. Conversely, another method replaces the DVL with a mathematical model generating virtual bottom velocity information, solved by way of modeling single- and three-degree-of-freedom dynamics [17]. And Kinsey et al. developed a single-degree-of-freedom nonlinear dynamic model estimator and verified its feasibility [18]. Zhao et al. introduced a mechanism for outlier detection in DVL data and compensated for velocity anomalies using a kinematic model. However, the complexity of AUV models in challenging marine environments makes it difficult to obtain accurate hydrodynamic parameters. Therefore, building precise AUV dynamic models is evidently impractical. Establishing dynamic models with single and three degrees of freedom, validated through sea trials, demonstrated that the speeds calculated using these models closely aligned with those measured by the DVL.
Various machine learning algorithms, such as Support Vector Machines (SVMs) [19], Random Forests (RFs) [20], Extreme Learning Machines (ELMs) [21], and Artificial Neural Networks (ANNs) [22], have been employed in diverse fields owing to the recent widespread application of artificial intelligence technology. In their study, Mu et al. [23] applied the time-series learning mechanism to AUV navigation and proposed a novel neural network framework using Long Short-Term Memory (LSTM) to process multi-sensor data and determine the position of an AUV during navigation. Another study [19] developed a hybrid predictor by combining partial least squares regression and support vector regression to estimate the bottom velocity of a DVL when faced with DVL failure. Lv et al. employed ELM to establish a model relationship between the AUV’s thruster speed, attitude, rudder information, and bottom velocity to compensate for DVL failures. Li et al. proposed a nonlinear autoregressive framework with heteroscedastic inputs (NARX) and adaptive Kalman filtering to predict and fuse DVL outputs. Water-track velocity and flow rate estimation during anomalous DVL bottom velocity were also investigated [24]. Our study presents a deep learning framework incorporating LSTM and Self-Attention to address this issue, considering the current velocity as a variable to estimate the water-track velocity of the DVL. The effectiveness of our approach is validated by comparing the results with the measured data.
This paper proposes a cruise speed model based on the Self-Attention mechanism for estimating AUV speeds in complex marine environments. Utilizing inputs like acceleration, angle, angular velocity, and propeller speed, the model estimates cruise speed via the Self-Attention mechanism. This cruise speed corresponds to the velocities along the three axes of the AUV onboard coordinate system. As a consequence, the model sustains high navigation accuracy even when the bottom-track velocity data are consistently unavailable. The main contributions of this paper are as follows:
(1) To address the continuous failure of bottom-track velocity measurements in complex marine environments, a deep learning-based AUV speed estimation model is constructed to predict and output bottom-track velocities, enhancing AUV navigation accuracy during DVL failures.
(2) LSTM will be used to separately extract time-series data from different data sources, and Self-Attention will be employed to enhance the encoding of time-series data. Water flow rate information is introduced into the network as input to compensate for ocean current information, increasing the model’s generalization capability.
(3) The proposed Self-Attention-based cruise speed model’s effectiveness on AUVs will be validated through sea trials and simulation data. The results show that the proposed model achieves better navigation accuracy compared to using water-track velocity compensation.
The rest of this paper is organized as follows: Section 2 describes the AUV and equipment specifications used for the field trials. Section 3 derives a model for the application of Kalman filtering in combined AUV navigation. Section 4 details the network model framework and analyzes the results obtained in Section 5. Finally, Section 6 concludes the study.

2. An Introduction of the AUV Platform

Herein, we present the AUV used in our experiment, depicted in Figure 2. The XH R300 employs a double main thrust propulsion system capable of attaining a maximum speed of 5 knots and sustaining continuous travel for up to 10 km. The hydrodynamic characteristics of the XH R300 are notably intricate, necessitating the formulation of a three-degree-of-freedom dynamics model to elucidate its motion. This modeling endeavor is predicated on several key assumptions: first, the AUV is treated as a rigid body; second, the current is assumed to be a two-dimensional flow lacking rotational components; and third, the fluid medium is regarded as uniform and unbounded. The kinetic equations governing the AUV’s motion are conventionally expressed as follows:
M v · + C ( v ) v + D ( v ) v = f
where v denotes the triaxial component of the AUV velocity in the carrier coordinate system, M and C, respectively, denote the inertia matrix and the Coriolis centripetal matrix of the rigid body, f = τ X , τ Y , τ N are external forces and moments, τ X and τ Y are, respectively, the axial and lateral forces acting on the AUV, and τ N is the yaw external moment. The expression is as follows:
f = τ X τ Y τ N = T p o r t + T s t b d 0 T p o r t T s t b d B / 2
where T p o r t and T s t b d are, respectively, the thrust of the port and starboard thrusters, and B is the distance between the thrusters. The three-degree-of-freedom nonlinear dynamics model of the AUV can be described as
τ X = m X u ˙ u ˙ m x G r 2 + v r + Y v ˙ v r + Y r ˙ + N v ˙ 2 r 2 + X u u + X u u u u τ Y = m Y v ˙ v ˙ + m x G Y r ˙ r ˙ + m X u ˙ u r + Y v v + Y r r + Y v v v v + Y r r r r τ N = m x G N v ˙ v ˙ I z z N r ˙ r ˙ + m x G u r Y v ˙ u v Y r ˙ + N v ˙ 2 u r + X u ˙ u v + N v v + N r r + N v v v v + N r r r r
where X ( · ) , Y ( · ) , and N ( · ) represent hydrodynamic coefficients. According to Equations (2) and (3), the AUV speed is related to the acceleration, angle, angular velocity, and amount of rudder thrust. The thrust of the servos, in turn, is related to the rotational speed and current obtained through various sensor measurements, which will be used later in this study to estimate the AUV speed. The equipment used to obtain the relevant data is illustrated below.
The XH R300 is equipped with a signal cabin, control cabin, power control cabin, and power operation cabin. The primary sensors include a GPS module, Iridium satellite, radio, Wifi, INS, DVL, and depth gauge to obtain AUV position, acceleration, angle, and angular velocity information. Based on functionality, the main control can be divided into a control unit, navigation and positioning unit, guidance and planning unit, perception unit, fault detection unit, and data storage unit. The navigation and positioning unit is crucial for real-time acquisition of AUV pose information and provides the foundational support for the operation of the control unit and guidance and planning unit. The GPS module offers real-time precise latitude and longitude data while the AUV operates on the water surface, as delineated in Table 1. Nevertheless, owing to the rapid attenuation of GPS signals in water, the XH R300 incorporates the INS (detailed in Table 2) that derives the AUV’s position, velocity, and triaxial attitude angle by integrating data from the gyroscope, measuring angular rates, and the accelerometer, gauging triaxial accelerations. However, the integration process inevitably results in error accumulation within the INS, impinging upon navigation accuracy. Consequently, the XH R300 is outfitted with a Pathfinder 600 KHz DVL developed by Teledyne, described in Table 3, to rectify these discrepancies. The DVL emits sound waves via a transducer when a phased array is employed, which, upon reaching the seabed, bounce back, enabling velocity estimation relative to the seafloor by analyzing frequency shifts in the received echoes. When GPS signals are unavailable underwater, the disparity between the raw speed of the INS and the speed of the DVL serves as feedback, refining the INS output through an indirect approach.
However, in deep-sea environments exceeding the operational range of the DVL or encountering steep seabed inclines, the acoustic waves of the DVL may fail to reach or be detected upon seabed contact, rendering the bottom-track data invalid and precluding its integration with INS for high-precision navigation. Although the DVL can also provide water-track velocities, they are notably less precise than bottom-track velocities and fail to meet stringent navigation accuracy requisites. A novel solution addressing these challenges is proposed herein and elaborated upon subsequently. Additionally, a depth gauge ISD4000 developed by Impact Subsea is integrated into the XH R300 for precise depth determination, ensuring accurate depth measurement.

3. AUV Combined Navigation Model

The combined AUV navigation model outlined in this section primarily relies on integrating the INS and DVL systems. Initially, the INS error model is used to formulate the state equations of the integrated navigation system. Subsequently, data gathered by the INS facilitate AUV motion prediction. Observations from the INS and DVL are then incorporated into the model, refining its predictions to align more closely with actual values. This iterative process, conducted in the time domain, culminates in achieving combined AUV navigation. This section details the model construction process and the updated predicted values, which constitute a pivotal aspect of the process.

Model Construction

This study employs two coordinate systems: the navigation and carrier coordinate systems. The navigational coordinate system, denoted as O X n Y n Z n , situates its origin at sea level, with the O X n axis pointing northward, the O Y n axis eastward, and the O Z n axis directed toward the geocentric North-East Earth (NEU) geographical coordinates. Conversely, the carrier coordinate system, denoted as O X b Y b Z b , positions its origin at the center of gravity of the AUV, with the O X b axis directed forward, the O Y b axis starboard, and the O Z b axis downward. The navigational coordinate system undergoes three rotational transformations with respect to the carrier coordinate system: the heading angle α around the O Z n axis, the pitch angle β around the O Y n axis, and the roll angle γ around the O X n axis. Typically, instruments are situated in the carrier coordinate system. Therefore, to determine the AUV’s absolute position in the navigation coordinate system, the various AUV states are multiplied by its rotation matrix C b n , defined as follows:
C b n = c o s γ c o s α s i n γ s i n β s i n α s i n α c o s β c o s γ s i n α + s i n α s i n β s i n γ s i n γ c o s α + c o s γ s i n β s i n α c o s β c o s α s i n γ s i n α c o s γ s i n β c o s α c o s β s i n γ s i n β c o s γ c o s β
In the navigation system, the navigation parameter errors of INS are selected as state variables. Due to the generally small error values, the state equation can be considered a first-order linear system, with the speed difference between INS and DVL used as the measurement variable. The error amount is then optimally estimated through standard Kalman filtering to feedback and correct the INS output. Leveraging the INS error model, the state vectors are identified as 15-dimensional error quantities of the INS, including attitude error ϕ E , ϕ N , ϕ U , velocity error δ v E , δ v N , δ v U , position error δ p E , δ p N , δ p U , gyro zero bias ε x , ε y , ε z , and accelerometer zero bias x , y , z .
X = ϕ E , ϕ N , ϕ U , δ v E , δ v N , δ v U , δ p E , δ p N , δ p U , ε x , ε y , ε z , x , y , z T
The state equation of the system is as follows:
X · = F X + W
where F is the state transfer matrix and W is the state noise. The system error propagation equation is shown as follows:
δ ˙ L = V N ( R M + h ) 2 δ h + 1 R M + h δ V N δ ˙ λ = V E tan L sec L R N + h δ L V E sec L ( R N + h ) 2 δ h + sec L R N + h δ V E δ ˙ h = δ V U δ ˙ V E = ( 2 Ω V N cos L + V E V N sec 2 L R N + h + 2 Ω V U sin L ) δ L + V E V U V N V E tan L ( R N + h ) 2 δ h + V N tan L V U R N + h δ V E + ( 2 Ω sin L + V E tan L R N + h ) δ V N ( 2 Ω cos L + V E R N + h ) δ V U + f N φ U f U φ N + E δ ˙ V N = ( 2 Ω V E cos L + V E sec 2 L R N + h ) δ L + ( V E tan 2 L ( R N + h ) 2 + V N V U ( R M + h ) 2 ) δ h ( 2 Ω sin L + V E tan L R N + h ) δ V E V U R M + h δ V N V N R M + h δ V U + f U φ E f E φ U + N δ ˙ V U = 2 Ω V E sin L δ L V E 2 ( R N + h ) 2 + V N 2 ( R M + h ) 2 δ h + ( 2 Ω cos L + V E R N + h ) δ V E + V N R M + h δ V N + f E φ N f N φ E + U φ ˙ E = V N ( R M + h ) 2 δ h 1 R M + h δ V N + ( Ω sin L + V E R N + h tan L ) φ N ( Ω cos L + V E R N + h ) φ U ε E φ ˙ N = Ω sin L δ L + V E ( R N + h ) 2 δ h + 1 R N + h δ v E ( Ω sin L + V E R N + h tan L ) φ E V N R M + h φ U ε N φ ˙ U = ( Ω cos L + V E R N + h sec 2 L ) δ L V E tan L ( R N + h ) 2 δ h + tan L R N + h δ V E + ( Ω cos L + V E R N + h ) φ E + V N R M + h φ N ε U
The measurement equation for combined navigation is as follows:
Z = H X + V
where H is the measurement matrix and V is the measured noise.
The error equation for the DVL in the navigation coordinate system is as follows:
V d v l n = C b n C d b V d v l d = I ψ × C b n C d b V d v l d = V d v l n ψ × V d v l n = V d v l n + V d v l n × ψ δ V d n = V d v l n V d v l n = V d v l n × ψ
where C d b denotes the rotation matrix from the DVL instrument coordinate system to the carrier coordinate system. We take the difference between the SINS and DVL velocities as the measure and construct the measure model according to the error model of the DVL as follows:
Z = V b n V d n = V n + δ V b n V n + δ V d n = δ V b n δ V d n = δ V b n V d n × ψ = H X + V
The specific form of H is as follows:
H = 0 V d n U V d n N 1 0 0 V d n U 0 V d n E 0 1 0 V d n N V d n E 0 0 0 1 0 3 × 9
where V d n E , V d n N , and V d n U , respectively, denote the triaxial components of the DVL-measured velocity in the geographic coordinate system. Here, the combined SINS/DVL navigation model construction is completed.

4. Deep Learning Navigation Architecture

The AUV state data, captured as a time series, exhibit significant correlations over time. Previous studies on DVL anomalies often treated sensor data at each moment in isolation, neglecting the time-series correlations. Furthermore, not all data points are equally important in predicting subsequent states. In response to these considerations, this section presents a detailed description of a novel deep learning network architecture, developed after comprehensively examining these two aspects.

4.1. Basic LSTM Principles

Deep learning has recently emerged as a ubiquitous tool across various domains, with researchers continuously introducing new network architectures that demonstrate remarkable performance in practical applications. Among these architectures, Recurrent Neural Networks (RNNs) have found widespread use in tasks involving time-series prediction and natural language processing, owing to their adeptness in handling sequential data. Given that AUV sensor data inherently represent time-series data, RNNs are a natural choice for AUV navigation tasks. However, conventional RNNs struggle to retain long-term dependencies, with information relevance diminishing as it recedes from the current moment. This limitation stems from the BackPropagation Through Time (BPTT) method employed during training, where gradients associated with distant moments gradually vanish, rendering conventional RNNs inadequate to address long-term dependency issues [25].
LSTM [26] networks were introduced to mitigate the challenge of vanishing gradients and effectively model long-term dependencies. LSTM represents a specialized variant of RNNs explicitly designed to tackle gradient instability encountered when training sequences with long time-series spans. By introducing more gating units to control the information flow within the network, the stability of the parameter optimization process is enhanced. The T a n h function is used to extract valid information to alleviate the problem of vanishing gradients in the calculation of memory cells and hidden states. The LSTM architecture, depicted in Figure 3, incorporates memory cells and introduces several gating mechanisms to regulate the flow of information within the network. At each time step, the input X t from the current moment and the hidden state H t 1 from the preceding moment are fed into the LSTM gates, which undergo processing via three fully connected layers equipped with sigmoid activation functions to compute the input, forget, and output gate values. This computation proceeds as follows:
I t = σ X t W x i + H t 1 W h i + b i F t = σ X t W x f + H t 1 W h f + b f O t = σ X t W x o + H t 1 W h o + b o
where W x c , W x f , W x o and W h i , W h f , W h o are weight parameters and b i , b f , b o are bias parameters. The candidate memory element C t is calculated similarly to the gate but using the t a n h function as the activation function. Its equation at moment t is as follows:
C t = t a n h X t W x c + H t 1 W h c + b c
where W x c and W h c are weight parameters and b c are bias parameters. Subsequently, the memory cells are computed, utilizing the previously derived input and forget gate values to determine the extent to which new data from candidate memory cells are incorporated while retaining relevant past information. This approach effectively mitigates the issue of vanishing gradients and facilitates capturing relationships with long-term dependencies within the time series. The computation of memory cells can be described as follows:
C t = F t C t 1 + I t C t
Finally, the hidden state H t is computed, leveraging the output gate and memory cells. When the output gate is close to 1, it signifies the effective propagation of all memorized information to the prediction phase. Conversely, when the output gate is close to 0, it implies information retention solely within the memory cells without updating the hidden state. This computation unfolds as follows:
H t = O t t a n h C t
LSTM has found extensive utility in natural language processing owing to its adeptness in handling long-term dependencies. The proposed model leverages LSTM to process time-series data, with the output of the LSTM layer serving as input to the subsequent attention mechanism layer, as elaborated upon in subsequent sections.

4.2. Self-Attention Mechanism

The Self-Attention mechanism represents a network configuration that comprehensively considers the overall context while prioritizing salient features. In time-series data, the information at any given moment is often interdependent on preceding moments. However, the correlation between data from different moments and the current moment varies. Therefore, during data training, incorporating information from previous moments and emphasizing the most pertinent information is crucial. This is commonly referred to as the Self-Attention mechanism.
The computational process of the Self-Attention mechanism is illustrated in Figure 4. The input H t is subjected to multiplication by three weight matrices W Q , W K , and W V to derive Q, K, and V, respectively. Subsequently, the resultant Q and K are used to compute the correlation between input vectors α , typically through dot-multiplication. Normalization is then performed using the SoftMax function to obtain A. Finally, A is multiplied by V to yield the output of the Self-Attention mechanism layer.

4.3. The Deep Learning Navigation Framework Based on Self-Attention

In the complex marine environment, the navigation and localization of AUVs predominantly rely on INS and DVL. However, DVL may produce invalid readings under certain conditions, such as encountering a school of fish, resulting in short-term data invalidation. Prolonged DVL invalidity occurs in ultra-deep waters or when encountering steep seabed slopes with no echo returns. While short-term invalidations can be compensated for using kinetic models, relying on such models for extended durations introduces deviations from actual velocities, impeding high-precision navigation and localization.
This section proposes a deep learning navigation framework based on the Self-Attention mechanism to achieve precise navigation over extended periods. The framework adopts an encoder–decoder architecture, organizing sensor data into time-series sequences inputted into the LSTM layer for encoding. Subsequently, time-series data are further refined through the Self-Attention mechanism, followed by decoding through fully connected layers and water-track velocity.
According to the AUV dynamics model outlined in Section 2, the velocity of the AUV correlates with acceleration, angular velocity, angle, thrust [27], and other factors. Acceleration encompasses triaxial acceleration in the instrument coordinate system, while angular velocity includes the triaxial angular velocity of the gyroscope. The angle comprises pitch and roll angles obtained from the INS. Thrust indirectly indicates the speed and current of twin thrusters. Although these data constitute time-series sequences, their sampling frequencies vary among sensors; for example, the collection frequency of the INS is 10, and the collection frequency of the thruster is 2. Although interpolation methods can be used to unify data of different frequencies to a common frequency, models built using this method may cause information increase and loss due to artificial data accumulation or interpolation. Separately processing data of different frequencies can also reduce the data preprocessing process. Additionally, separately processing data from different sources allows the encoder to only encode the data without handling the relationships between data, thus decoupling the network functionally and reducing repetitive work. Hence, data from sensors with different frequencies are inputted into corresponding LSTM layers. As depicted in Figure 5, this framework employs five LSTM layers to receive acceleration, angular velocity, angle, thruster speed, and current information. After extracting and compressing the time-series data of sensors into context vectors through the LSTM layer, the hidden layer serves as the input for further training on data significance at different moments through the Self-Attention mechanism layer. Finally, the Self-Attention mechanism layer output and the DVL-derived bottom-track velocity are fed into the fully connected layer for decoding.
The encoder–decoder architecture decouples the network, reducing redundancy while facilitating input–output sequence correspondence modeling. In the encoder stage, sensor time-series data are compressed into context vectors by LSTM, albeit with inevitable information loss. To address this information loss, a Self-Attention mechanism enhances time-series data encoding, learning correlations between input moments. The input in the decoder stage comprises timing vectors enhanced by the Self-Attention module. Given that the output solely represents the AUV velocity at the current moment without necessitating multiple sequence outputs, a linear layer is employed to map high-dimensional time-series vectors to a low-dimensional sample space, yielding the output of the model. To enhance model generalization during decoding, water-track velocity is encoded by LSTM and combined with timing input, serving as the final input to the linear layer. This enables the model to learn embedded sea current information.
The entire model can be summarized into two categories: First, LSTM and Self-Attention encode the timing information to obtain optimal timing vectors, addressing the long-term dependency problem and extending the inputs to high dimensions to extract effective information in all aspects. Second, the linear layer decoder maps the extracted time-series data to lower dimensions and learns the sea current information and water-track velocities to enhance the generalizability of the model and obtain the optimal output.

4.4. Portfolio Navigation Framework

After constructing the deep learning navigation model based on Self-Attention as described in the previous subsection, the collected INS, DVL, and thruster data are divided into two paths when the DVL operates normally. One input feeds into the combined navigation model for AUV position computation, while the other input trains optimized network parameters for AUV speed estimation. During a short DVL failure, the Pathfinder DVL outputs a valid flag for the bottom-track velocity, where an A flag indicates that the measured bottom-track velocity is valid and any other flag indicates that it is invalid. Consequently, no more fault detection activity is performed, and the combination is navigated by compensating for the speed of the AUV using the water-track velocity. Conversely, during prolonged DVL invalidity, the DVL is determined to be invalid for a long time by calculating the time t i n v a l i d since the last valid flag bit. When t i n v a l i d is larger than 10 s, the DVL for the bottom-velocity measurement is considered to have been invalid for a long time. At this point, the data from the corresponding sensors are fed into the AUV speed estimation model to predict the current AUV speed, and then the predicted speed is subtracted from the INS speed to obtain the measured value for optimal estimation. During the training and prediction of the AUV speed estimation model, the corresponding sensor data must be saved according to the set time interval. The frequency at which the DVL measures water-track velocity is used and is typically set to 1 s. The specific framework diagram is shown in Figure 6.

5. Experimental Results and Discussion

5.1. Test Configuration

To verify the performance of the proposed cruise speed estimation model, a large amount of data was collected at Xuejiadao Wharf, Qingdao, with the XH R300 AUV. The on-site experiment is shown in Figure 7. The data include acceleration, angular velocity, angle, water-track velocity, and bottom-track velocity at each acquisition moment. Additionally, rotational speed and current information are collected for the main thrusts. While bottom-track velocities serve as the target values for training, the remaining data are used as network input to predict velocity. After preprocessing the data, 19,010 pairs of data were selected as the training set and 3140 pairs of data as the validation set. The test set of Experiment 1 contains 4840 pairs of data and the test set of Experiment 2 contains 5340 pairs of data. And the deep learning framework was implemented using Pytorch, with model hyperparameters set as follows: the experiments were executed using NVIDIA GeForce GTX 1050Ti GPU; the time consumption on the training was about 20 ms; the number of nodes in the hidden layer of the LSTM and the output dimension of the Self-Attention layer were both set to 30; when Self-Attention was employed, its head was set to 2, indicating two parallel Self-Attention mechanism layers for extracting timing information from different aspects; the LSTM and Self-Attention dropout layers were set to 0; and the learning rate was set to 0.0001.

5.2. AUV Real Experimental Data Test

GPS latitude and longitude were not selected as the ground truth values, as the deep-learning speed estimation model references bottom-track velocities. Instead, the trajectory derived from the bottom-track velocities was utilized. AUVs typically navigate in straight lines or execute comb trajectories based on mission requirements; hence, both scenarios were considered in experimental trajectory selection. Figure 8 illustrates a trajectory comparison between different methods, where purple represents trajectories computed using bottom-track velocities, red denotes trajectories computed using water-track velocities, and yellow depicts trajectories computed using velocities estimated by the Deep Learning Model (DLM). In Experiment 1 (Figure 8a), the trajectories exhibit minimal disparity during straight-line navigation. However, during turns, the trajectory derived from the water-track velocity lags, indicating diminished accuracy compared to the trajectory generated using the speed estimation model. Similar observations were noted in Experiment 2 (Figure 8b), particularly during comb trajectory execution.
Position error comparison in Figure 9 reveals consistent small errors in trajectories computed from speeds estimated by the deep learning model, irrespective of the experimental scenario. Conversely, trajectory errors computed from water-track velocity occasionally decrease but rapidly accumulate during maneuvers, resulting in noticeable divergence over time. The deep learning model effectively addresses this issue.
The estimated velocities of the bottom-track velocity, water-track velocity, and the speed estimation model are shown in Figure 10 and Figure 11, where the green lines are water-track velocities, the red lines are bottom-track velocities, and the blue lines are velocities estimated by the DLM. As can be seen in the figure, the water-track velocity has the largest amplitude, indicating that the measured velocity values are unstable. The reason for this is that the water-track velocity measures the velocity of the AUV relative to the water flow, which has a great deal of variability. However, the bottom-track velocity is more stable and has a smaller amplitude because it measures the velocity of the AUV relative to the seafloor, which is stationary. The velocities estimated by the DLM are as steady as the bottom-track velocity, and they have the same general trend. Consequently, the calculated trajectories are more consistent with those calculated for the bottom-track velocities.
Velocity error comparisons are presented in Figure 12 and Figure 13 for straight and comb trajectory cases, respectively, to further elucidate the problem. Fluctuations in the forward and rightward velocity errors are notably higher for the water-track velocity. This discrepancy arises from uncertainties in the water-mass flow velocity, impacting absolute velocity measurements. Conversely, the deep learning model incorporates water-track velocity, extracting flow information and mitigating error fluctuations. Table 4 lists the maximum and average value of forward speed errors, maximum and average value of rightward speed errors, and maximum and average value of position errors obtained from Experiments 1 and 2, indicating consistently smaller error parameters for the deep learning-based speed estimation model compared to the water-track velocity. Consequently, the speed estimation model can effectively improve the accuracy of navigation.
The experimental results on real data from the XH R300 demonstrate that the deep learning-based speed estimation model significantly enhances the combined navigation effectiveness of the DVL in cases of persistent bottom-track velocity failure. This study developed a deep learning speed estimation model based on LSTM and Self-Attention mechanisms, leveraging the time-series relationships among variables. Compensating the AUV velocity using the proposed model type was validated to incur less error compared to direct compensation with water-track velocity, thereby fulfilling the requirements of high-precision combined navigation. The cruise speed model did not consider large-scale vertical motions, which will be investigated in future work.

6. Conclusions

This study proposes a deep learning model leveraging acceleration, angle, angular velocity, and thruster speed as inputs to estimate AUV speed. LSTM is employed to extract time-series data from these variables, while Self-Attention enhances time-series data encoding to address long-term dependency issues. Water flow rate information, crucially embedded in water-track velocity, is separately encoded and utilized to enhance network generalization. The experimental results based on sea trial data demonstrate that the deep learning-based speed estimation model outperforms direct compensation with water-track velocity, achieving higher speed accuracy and meeting the demand for high-precision combined navigation in persistent DVL failure scenarios, thus enhancing the accuracy of the combined navigation system. Additionally, this research can be extended to scenarios with significant ocean currents, sharp turns, or muddy conditions that severely reduce DVL accuracy, further enhancing the reliability of the integrated navigation system.
Although the proposed method demonstrates superiority in most cases, the accuracy of the speed estimation model may deteriorate with declining bottom-track accuracy, warranting further investigation.

Author Contributions

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

Funding

This research was funded by the National Key Research and Development Program of China (grant number 2023YFB4707000), the National Natural Science Foundation of China (Grant No. 52025111 and 52301369), and the Postdoctoral Applied Research Project of Qingdao (79002002/006).

Data Availability Statement

The original contributions presented in the study are included in the article material; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hu, X.; Chen, J.; Zhou, H.; Ren, Z. Development of underwater electric manipulator based on interventional autonomous underwater vehicle (AUV). J. Zhejiang Univ.-Sci. A 2024, 25, 238–250. [Google Scholar] [CrossRef]
  2. Cepeda, M.F.S.; Machado, M.d.S.F.; Barbosa, F.H.S.; Moreira, D.S.S.; Almansa, M.J.L.; de Souza, M.I.L.; Caprace, J.-D. Exploring Autonomous and Remotely Operated Vehicles in Offshore Structure Inspections. J. Mar. Sci. Eng. 2023, 11, 2172. [Google Scholar] [CrossRef]
  3. Zhang, Y.; Huang, Z.; Chen, C.; Wu, X.; Xie, S.; Zhou, H.; Gou, Y.; Gu, L.; Ma, M. A Spiral-Propulsion Amphibious Intelligent Robot for Land Garbage Cleaning and Sea Garbage Cleaning. J. Mar. Sci. Eng. 2023, 11, 1482. [Google Scholar] [CrossRef]
  4. Chiella, A.C.; Machado, H.N.; Teixeira, B.O.; Pereira, G.A. GNSS/LiDAR-Based Navigation of an Aerial Robot in Sparse Forests. Sensors 2019, 19, 4061. [Google Scholar] [CrossRef] [PubMed]
  5. Koshaev, D.A. AUV Relative Position and Attitude Determination Using Acoustic Beacons. Gyroscopy Navig. 2023, 13, 262–275. [Google Scholar] [CrossRef]
  6. Wang, J.; Xu, T.; Liu, Y.; Li, M.; Li, L. Augmented Underwater Acoustic Navigation with Systematic Error Modeling Based on Seafloor Datum Network. Mar. Geod. 2023, 46, 129–148. [Google Scholar] [CrossRef]
  7. Ruben, V.; Friedrich, Z.; Antonio, S. In-Lab Demonstration of an Underwater Acoustic Spiral Source. Sensors 2023, 23, 4931. [Google Scholar] [CrossRef] [PubMed]
  8. Berdyshev, V.I.; Kiselev, L.V.; Kostousov, V.B. Mapping Problems of Geophysical Fields in Ocean and Extremum Problems of Underwater Objects Navigation. IFAC-PapersOnLine 2018, 51, 189–194. [Google Scholar] [CrossRef]
  9. Zhu, B.; He, H. Integrated navigation for doppler velocity log aided strapdown inertial navigation system based on robust IMM algorithm. Optik 2020, 217, 164871. [Google Scholar] [CrossRef]
  10. Zhu, B.; Chang, G.; He, H.; Xu, J. Robust information fusion method in SINS/DVL/AST underwater integrated navigation. J. Natl. Univ. Def. Technol. 2020, 42, 107–114. [Google Scholar]
  11. Bjørgo, I.S.; Alex, A.; Vahid, H. Path-Following Control of an Underwater Glider Aided by Machine Learning based Dead Reckoning Navigation. IFAC PapersOnLine 2023, 56, 7006–7013. [Google Scholar]
  12. Sabet, T.M.; Daniali, M.H.; Fathi, A.; Alizadeh, E. A Low-Cost Dead Reckoning Navigation System for an AUV Using a Robust AHRS: Design and Experimental Analysis. IEEE J. Ocean. Eng. 2018, 43, 927–939. [Google Scholar] [CrossRef]
  13. Geng, K.; Chulin, N. Applications of Multi-height Sensors Data Fusion and Fault-tolerant Kalman Filter in Integrated Navigation System of UAV. Procedia Comput. Sci. 2017, 103, 231–238. [Google Scholar] [CrossRef]
  14. Xu, X.S.; Pan, Y.F.; Zou, H.J. SINS/DVL integrated navigation system based on adaptive filtering. J. Huazhong Univ. Sci. Technol. 2015, 43, 95–99. [Google Scholar]
  15. Zhu, J.; Li, A.; Qin, F.; Che, H.; Wang, J. A Novel Hybrid Method Based on Deep Learning for an Integrated Navigation System during DVL Signal Failure. Electronics 2022, 11, 2980. [Google Scholar] [CrossRef]
  16. Topini, E.; Fanelli, F.; Topini, A.; Pebody, M.; Ridolfi, A.; Phillips, A.B.; Allotta, B. An experimental comparison of Deep Learning strategies for AUV navigation in DVL-denied environments. Ocean Eng. 2023, 274, 114034. [Google Scholar] [CrossRef]
  17. Tal, A.; Klein, I.; Katz, R. Inertial Navigation System/Doppler Velocity Log (INS/DVL) Fusion with Partial DVL Measurements. Sensors 2017, 17, 415. [Google Scholar] [CrossRef] [PubMed]
  18. Kinsey, J.C.; Yang, Q.; Howland, J.C. Nonlinear Dynamic Model-Based State Estimators for Underwater Navigation of Remotely Operated Vehicles. IEEE Trans. Control. Syst. Technol. 2014, 22, 1845–1854. [Google Scholar] [CrossRef]
  19. Zhu, Y.; Cheng, X.; Hu, J.; Zhou, L.; Fu, J. A Novel Hybrid Approach to Deal with DVL Malfunctions for Underwater Integrated Navigation Systems. Appl. Sci. 2017, 7, 759. [Google Scholar] [CrossRef]
  20. Ma, T.; Li, Y.; Zhao, Y.; Zhang, Q.; Jiang, Y.; Cong, Z.; Zhang, T. Robust bathymetric SLAM algorithm considering invalid loop closures. Appl. Ocean Res. 2020, 102, 102298. [Google Scholar] [CrossRef]
  21. Lv, P.F.; He, B.; Guo, J.; Shen, Y.; Yan, T.H.; Sha, Q.X. Underwater navigation methodology based on intelligent velocity model for standard AUV. Ocean Eng. 2020, 202, 107073. [Google Scholar] [CrossRef]
  22. Li, D.; Xu, J.; He, H.; Wu, M. An Underwater Integrated Navigation Algorithm to Deal With DVL Malfunctions Based on Deep Learning. IEEE Access 2021, 9, 82010–82020. [Google Scholar] [CrossRef]
  23. Mu, X.; He, B.; Zhang, X.; Song, Y.; Shen, Y.; Feng, C. End-to-end navigation for Autonomous Underwater Vehicle with Hybrid Recurrent Neural Networks. Ocean Eng. 2019, 194, 106602. [Google Scholar] [CrossRef]
  24. Wang, D.; Wang, B.; Huang, H.; Zhang, H. A SINS/DVL navigation method based on hierarchical water velocity estimation. Meas. Sci. Technol. 2024, 35, 015116. [Google Scholar] [CrossRef]
  25. Lim, B.; Zohren, S.; Roberts, J.S. Population-based Global Optimisation Methods for Learning Long-term Dependencies with RNNs. arXiv 2019, arXiv:1905.09691. [Google Scholar]
  26. Guo, J.; Zhang, X.; Liang, K.; Zhang, G. Memory-Enhanced Knowledge Reasoning with Reinforcement Learning. Appl. Sci. 2024, 14, 3133. [Google Scholar] [CrossRef]
  27. Sukma, A.J.; Widodo, M.K. Thrust and efficiency enhancement scheme of the fin propulsion of the biomimetic Autonomous Underwater Vehicle model in low-speed flow regime. Ocean Eng. 2022, 243, 110090. [Google Scholar]
Figure 1. Vulnerability to bottom-track interference.
Figure 1. Vulnerability to bottom-track interference.
Remotesensing 16 02580 g001
Figure 2. Basic structure of XH R300.
Figure 2. Basic structure of XH R300.
Remotesensing 16 02580 g002
Figure 3. LSTM network structure.
Figure 3. LSTM network structure.
Remotesensing 16 02580 g003
Figure 4. Self-attentive machine architecture.
Figure 4. Self-attentive machine architecture.
Remotesensing 16 02580 g004
Figure 5. Deep learning navigation framework.
Figure 5. Deep learning navigation framework.
Remotesensing 16 02580 g005
Figure 6. Combined navigation framework during DVL failure.
Figure 6. Combined navigation framework during DVL failure.
Remotesensing 16 02580 g006
Figure 7. On-site experimental diagram.
Figure 7. On-site experimental diagram.
Remotesensing 16 02580 g007
Figure 8. Trajectory comparison chart. (a) Experiment 1, (b) Experiment 2.
Figure 8. Trajectory comparison chart. (a) Experiment 1, (b) Experiment 2.
Remotesensing 16 02580 g008
Figure 9. Position error comparison chart. (a) Experiment 1. (b) Experiment 2.
Figure 9. Position error comparison chart. (a) Experiment 1. (b) Experiment 2.
Remotesensing 16 02580 g009
Figure 10. Comparison of velocity for Experiment 1.
Figure 10. Comparison of velocity for Experiment 1.
Remotesensing 16 02580 g010
Figure 11. Comparison of velocity for Experiment 2.
Figure 11. Comparison of velocity for Experiment 2.
Remotesensing 16 02580 g011
Figure 12. Comparison of velocity errors for Experiment 1. (a) Longitudinal velocity error. (b) Transverse velocity error.
Figure 12. Comparison of velocity errors for Experiment 1. (a) Longitudinal velocity error. (b) Transverse velocity error.
Remotesensing 16 02580 g012
Figure 13. Comparison of velocity errors for Experiment 2. (a) Longitudinal velocity error. (b) Transverse velocity error.
Figure 13. Comparison of velocity errors for Experiment 2. (a) Longitudinal velocity error. (b) Transverse velocity error.
Remotesensing 16 02580 g013
Table 1. GPS module specifications.
Table 1. GPS module specifications.
Equipment TypeGPS Module
Single-point positioning accuracy<1.5 m
Velocimetry accuracy0.03 m/s
Maximum data update frequency1 Hz
Table 2. INS specifications.
Table 2. INS specifications.
Equipment TypeINS
Heading accuracy0.5°
Attitude accuracy0.02°
Gyro accuracy0.05°/h (1 σ )
Plus meter accuracy200 μ g (1 σ )
Table 3. DVL specifications.
Table 3. DVL specifications.
Equipment TypeDVL
Maximum height89 m
Minimum height0.2 m
Speed range±9 m/s
Resolution0.1 cm/s
Pinging frequency12 Hzmax
Table 4. Comparison chart of error parameters.
Table 4. Comparison chart of error parameters.
 Experiment 1       Experiment 2 
Water TrackDLWater TrackDL
Maximum value of forward speed error (m/s)0.8530.2660.8530.591
Average of forward speed error (m/s)0.1920.0670.2010.088
Maximum value of rightward speed error (m/s)1.0300.3200.8100.345
Average of rightward speed error (m/s)0.2040.0730.2030.063
Maximum value of position error (m)30.4425.75414.1934.074
Average of position error (m)12.4202.7845.8891.973
Navigation accuracy5.20%0.90%2.13%0.48%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mu, X.; Yi, Y.; Zhu, Z.; Zhu, L.; Wang, Z.; Qin, H. Cruise Speed Model Based on Self-Attention Mechanism for Autonomous Underwater Vehicle Navigation. Remote Sens. 2024, 16, 2580. https://doi.org/10.3390/rs16142580

AMA Style

Mu X, Yi Y, Zhu Z, Zhu L, Wang Z, Qin H. Cruise Speed Model Based on Self-Attention Mechanism for Autonomous Underwater Vehicle Navigation. Remote Sensing. 2024; 16(14):2580. https://doi.org/10.3390/rs16142580

Chicago/Turabian Style

Mu, Xiaokai, Yuanhang Yi, Zhongben Zhu, Lili Zhu, Zhuo Wang, and Hongde Qin. 2024. "Cruise Speed Model Based on Self-Attention Mechanism for Autonomous Underwater Vehicle Navigation" Remote Sensing 16, no. 14: 2580. https://doi.org/10.3390/rs16142580

APA Style

Mu, X., Yi, Y., Zhu, Z., Zhu, L., Wang, Z., & Qin, H. (2024). Cruise Speed Model Based on Self-Attention Mechanism for Autonomous Underwater Vehicle Navigation. Remote Sensing, 16(14), 2580. https://doi.org/10.3390/rs16142580

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop