Learning-Based System Identification for DVL-Constrained AUV Localization
Authors: Mingxi Zhou, Emir Cem Gezer, Lin Zhao, William McConnell, Chengzhi Yuan
Organizations: Graduate School of Oceanography, University of Rhode Island, Kingston, RI 02881 USA · Department of Marine Technology, Norwegian University of Science and Technology, NO-7491 Trondheim, Norway · Department of Ocean Engineering, College of Engineering, University of Rhode Island, Kingston, RI 02881 USA · Department of Mechanical Industrial and Systems Engineering, College of Engineering, University of Rhode Island, Kingston, RI 02881 USA
Nowadays, most AUVs utilize Doppler velocity logs (DVLs) and inertial measurement units (IMUs) to achieve satisfactory dead-reckoning results. However, the DVL bottom lock may not be available in some scenarios, such as moving over a soft bottom or traveling further away from the seafloor beyond the DVL's range. As a result, the localization system solely reliant on the IMU data will experience significant drift. The relatively high cost of DVLs also inhibits multirobot or swarm operations. In this article, we present the results of using fully connected feedforward neural networks to predict vehicle velocity (surge, sway, and heave) for AUV localization. Approximation functions for the vehicle velocities are derived based on the generalized six degree-of-freedom dynamic equation and kinematics, proving that they are suitable for feedforward neural networks with measurable inputs. The neural networks are trained using field data collected using an AUV. An ablation study was conducted to investigate the impacts of hyperparameters, and the most effective models were selected using the Akaike information criterion. The selected neural network models are tested on three new sets of mission data collected on two different days. The quantitative results show that localization using vehicle velocities predicted by neural networks yields lower averaged root-mean-square distance errors and standard deviation compared to the DVL-aided dead-reckoning method. However, the extent of this improvement was found to depend on ocean current conditions. The promising results show that lightweight fully connected feedforward neural networks offer an attractive approach for inertial-based underwater localization when DVLs or their measurements are not available.
Figures & tables
Fig. 1: Overall system diagram of integrating sensor data and learning models for localization. The inputs of the models include four groups of measurable data: accelerations ( u˙ , v˙ , and w˙ ), angular velocity ( p , q , and r ), orientation in quaternion form ( q0 , q1 , q2 , and q3 ) measured by an IMU or AHRS; vehicle depth ( z ) measured by a pressure sensor; system voltage and current that can be measured using integrated chips; and motor commands from motor drivers. The three independent FFN use the data to predict vehicle body frame linear velocity u , v , and w , which is fused with IMU measurements and pressure sensor measurements to generate vehicle odometry.
linear accel.
ang. vel.
orientation
thrusters
Power
depth
Prediction
u˙
v˙
w˙
p,q,r
q
uT
V
I
ze
z˙e
u network
Y
N
N
Y
Y
Y
Y
Y
Y
Y
v network
N
Y
N
Y
Y
Y
Y
Y
Y
Y
w network
N
N
Y
Y
Y
Y
Y
Y
Y
Y
TABLE I: Summary of the inputs of the NN for predicting body frame linear velocity
Fig. 2: ALPHA deployed in (a) an indoor water tank and (b) Narragansett Bay. Major frames on AUV are illustrated in (c) with major components shown in (d).
Fig. 3: (a) DVL measured velocity in the training data. (b) Histogram of the DVL measured velocities in the training data. (c) Vehicle trajectories in the training data. (d) Vehicle depth in the training data sets, and the transformation between different local coordinate systems is listed in (e).
Fig. 4: Example of our NN model with two hidden layers and four neurons in each layer.
Adjustable Hyperparameters
Hidden layer number
1, 2, 3, 4
Neuron number
4, 8, 16
Batch size
8, 16, 32, 64, 128, 256
Fixed hyperparameters
Learning rate
0.005
Activation function
tanh
Regularization
Batch normalization
Optimizer
Adamax
TABLE II: List of adjustable and fixed model hyperparameters
Fig. 5: Hyperparameter impacts on RMSE, AIC values, and training time for estimating sway speed. (a) RMSE and AIC values change with respect to the total number of model parameters. (b) RMSE and AIC change with respect to batch size. (c) and (d) Training time (seconds) without early stopping with different layer numbers, neuron numbers, and batch sizes. For the same layer number and batch size separated by solid lines, the training time for the network with different neuron numbers (4, 8, and 16) is separated by dash-lines in each solid-line grid. The configuration of the selected models for surge, sway, and heave is also indicated in the heatmap.
DOF
layer#
neuron #
model #
batch size
u
2
8
14
128
v
2
8
16
256
w
1
8
11
256
TABLE III: Hyperparameters for the selected models
Fig. 6: Comparison between the predicted and the actual values for the selected models using the validation data set.
Trial number
Values
09-15-12
09-15-13
09-27-17
09-27-16*
Current correction in x [cm/s]
-2.0
-0.35
0.3
1.5
Current correction in y [cm/s]
4.5
2.7
-1.2
-0.7
Total distance [m]
285.3
237.1
140.4
139.6
Mission time [min]
9.90
8.55
6.01
6.23
TABLE IV: General information for the field trials used for testing the NN models
Fig. 7: Comparison of the localization tracks from different methods. Black paths are the reference track generated by correcting the DVL-aided path (blue) with the GPS fixes (black squares). The red path is generated using the IMU data and the selected NN models. Some GPS fixes outliners are observed during the mission when the AUV is performing periodical surfacing. Note: the data from 27 September 2016 were used in model training and validation.
Fig. 8: Comparison between the velocity predicted by the NN model and the velocity measured by the DVL. The error in surge and sway is increased compared to Fig. 6 because current effects were observed in the first two testing trials.
Fig. 9: Comparison of the position error in x (red) and y (green), and Euclidean distance (black) for NN-aided (solid lines) and DVL-aided (dashed lines) methods. The two zoom-in plots are included for 27 September 2017 and 27 September 2016 since the range of errors is small. Note: the data from 27 September 2016 were used in model training and validation.
Values
09-15-12
09-15-13
09-27-17
09-27-16*
Mean
STD
NN-aided
RMS distance error [m]
12.58
6.79
3.66
3.66
7.68
4.53
Max distance error [m]
23.84
9.89
6.70
6.68
13.48
9.12
RMSE/distance [%]
4.41
2.86
2.61
2.63
3.29
0.97
Max error/distance [%]
8.35
4.17
4.78
4.79
5.77
2.26
Max. drift per hour [m]
144.57
69.40
64.59
66.65
92.85
44.85
DVL-aided
RMS distance error [m]
16.23
8.06
2.28
2.85
8.86
7.01
TABLE V: Summary of the performance for the NN model-aided and the DVL-aided localization
Mingxi Zhou (Member, IEEE) received the Ph.D. degree in ocean and naval architectural from the Memorial University of Newfoundland, St. John’s, NL, Canada, in 2017. He is currently an Associate Professor with the Graduate School of Oceanography, University of Rhode Island, Kingston, RI, USA. His current research interests include underwater navigation, AUV system development, and autonomy.
Table 15
Emir Cem Gezer received the B.Sc. degree in computer engineering from Ankara University, Ankara, Türkiye, in 2019, and the M.Sc. degree in ocean engineering from the University of Rhode Island, Kingston, RI, USA, in 2022. He is currently working toward the Ph.D. degree in risk-aware and safeguarding control for autonomous ships with the Norwegian University of Science and Technology, Trondheim, Norway.
Table 16
Lin Zhao (Member, IEEE) received the Ph.D. degree in ocean engineering from the University of Rhode Island, Kingston, RI, USA, in 2024. Since 2024, he has been a Postdoctoral Fellow in electrical, computer, and biomedical engineering, working on multisensor fusion SLAM for single-and multirobot marine systems. He is currently a Senior Perception Engineer with Anyware Robotics, Fremont, CA, USA.
Table 17
William McConnell received the B.Sc. degree in mechanical engineering from the University of Rhode Island, Kingston, RI, USA, in 2024. He was an undergraduate Researcher at the time of his contribution to this article, and is currently a Mechanical Engineer and Product Lead with Vatn Systems, Bristol, RI, USA.
Table 18
Chengzhi Yuan (Member, IEEE) received the Ph.D. degree in mechanical engineering from North Carolina State University, Raleigh, NC, USA, in 2016. He is currently an Associate Professor with the Mechanical, Industrial and Systems Engineering Department, University of Rhode Island, Kingston, RI, USA. His current research interests include adaptive learning control theory and its applications to robotic systems.