Abstract
An accurate model is important for the engineer to design a robust controller for the autonomous underwater vehicle. There are two factors that make the identification difficult to get accurate parameters of an AUV model in practice. Firstly, the autonomous underwater vehicle model is a coupled six-degrees-of-freedom model, and each state of the kinetic model influences the other five states. Secondly, there are more than 100 hydrodynamic coefficients which have different effects, and some parameters are too small to be identified. This article proposes a simplified six-degrees-of-freedom model that contains the essential parameters and employs the multi-innovation least squares algorithm based on the recursive least squares algorithm to obtain the parameters. The multi-innovation least squares algorithm leverages several past errors to identify the parameters, and the identification results are more accurate than those of the recursive least squares algorithm. It collects the practical data through an experiment and designs a numerical program to identify the model parameters. Meanwhile, it compares the performances of the multi-innovation least squares algorithm with those of the recursive least squares algorithm and the least square method, the results show that the multi-innovation least squares algorithm is the most effective way to identify parameters for the simplified six-degrees-of-freedom model.
Keywords
Introduction
When facing the uncertain ocean environment, it is necessary to design an advanced controller for the autonomous underwater vehicle (AUV) based on the accurate model. Accurate AUV model plays a fundamental role in many applications such as vehicle dynamics simulation, navigation, controller design, fault detection, and diagnosis. 1 –3 In the identification of ship maneuvering motion, a dynamic model is typically selected. However, the dynamic model is complex since of highly nonlinear and strong intercoupling characteristics. It is a challenging task to estimate the hydrodynamic coefficients based on the training data measured from the field experiments of the AUV. 4
Usually, the model identification needs a lot of experimental data to estimate the parameters, and researchers leverage sufficient data to improve the identification performances. To get data under different conditions, the AUV is programmed to perform a series of maneuvers and sends back data measured by the onboard sensors. 5 Traditionally, the captive model test obtains the identification data by performing the ship maneuvers based on the sophisticate facilities such as towing tanks, rotating arms, and planar motion mechanism. 6,7 These maneuvers can also be simulated by computational fluid dynamics (CFD), but the accuracy of CFD is closely related to the numerical settings. 8,9 Although estimation with empirical formulas is the most practical and convenient method, it cannot guarantee the identification accuracy. 10,11 As a widely used modeling method, system identification (SI) uses the measurements of input and output variables to model dynamic systems. 12 SI based on the free-running test provides a practical and efficient way that requires low experiment time and cost.
According to the SI theory, some classic methods, such as neural networks, 13 –15 support vector machines, 16,17 frequency domain identification, 18,19 and time domain identification, are used to model the dynamic systems. Usually, the time domain identification method is used to optimize the hydrodynamic coefficients of AUV. The Kalman filtering (KF), 20,21 particle swarm optimization (PSO), 22,23 and least square (LS) method 24 are the commonly used methods in practice. In general, these methods aim to identify the parameters by minimizing the error between the desired and the actual outputs. However, these techniques have some problems such as huge amount of computation and poor identification performance. And some modified methods are proposed to improve the performances. Sabet et al. 25 employed the extended Kalman filter (EKF), cubature Kalman filter (CKF), and transformed unscented Kalman filter (TUKF) to identify the parameters that have the highest effects of the modeling error, respectively, and the results showed that the TUKF had the best performances since it solved the nonlocal sampling problem and the linearization problem of the CKF and EKF. Dai et al. 26 introduced a novel PSO algorithm named OPSO to identify the hydrodynamic parameters of motions. However, it is difficult to choose the parameters of PSO since they are set according to the specific problems, application experience, and numerous experiment tests. In addition, the PSO is easy to be trapped into the local optima and it is necessary to design an effective strategy to balance the global exploration and local exploitation. Ridao et al. 27 compared the direct LS identification method with the integral LS identification method in an off-line identification test, and the results showed that the latter is more effective to get an accurate model of the AUV.
However, some research studies have pointed out that the above-mentioned methods present some limitations. Since there are many uncertain damping terms in the AUV model, the convergence rate and accuracy of the algorithms are not the same as the desired. 28 In addition, only a few studies have considered the small sample estimation of the AUV parameters. To deal with these problems, we use a multi-innovation least squares (MILS) identification algorithm to identify the parameters of the AUV. The MILS is an improved algorithm based on the recursive least squares (RLS) algorithm. The RLS is the basic method in SI, and its accuracy and convergence are relative to the amount of useful experimental data. As a modified algorithm of the RLS, the MILS algorithm improves the identification accuracy since it expands the scalar innovation to an innovation vector, which contains more information. The MILS utilizes the training data iteratively, and then, it has better convergence performance than that of the RLS. Furthermore, it can solve small sample estimation problems based on the innovation vector. 29
This article simplifies the nonlinear hydrodynamic equations of the AUV through removing the items that have little effect on the model states. Although some previous work tried to simplify the hydrodynamic coefficients of the AUV model, the modified models were three-degrees-of-freedom (3-DOF) or 4-DOF models, 30 which are not fit for the space maneuver control. The simplified model of this article contains essential hydrodynamic coefficients and keeps the main manipulation characteristics of the 6-DOF model. According to multi-innovation identification theory, this article employs the MILS to identify the parameters and gets a simplified 6-DOF model.
This article is organized as follows: The second section describes the simplified hydrodynamic model of the AUV. The third section introduces the MILS identification algorithm and the detail of parameter identification of the simplified 6-DOF model. The fourth section shows the structure of the identification and analyzes the simulation results. Lastly, the fifth section concludes the work of this article comprehensively.
Simplified dynamic model of AUV
To describe the motion of a vehicle in the water, the International Towing Tank Conference established a coordinate system shown in Figure 1. Oe is the Earth-fixed coordinate system, and Ob is the body-fixed coordinate system. Table 1 summarizes the definition of the notation to describe the AUV motion.

Reference frames of AUVs. AUV: autonomous underwater vehicle.
The notation for AUVs.
AUV: autonomous underwater vehicle.
In the body-fixed reference frame, a classic 6-DOF model is used to describe the position and orientation of a marine vehicle. 31 The translational (surge, sway, and heave) and rotational (roll, pitch, and yaw) equations of the 6-DOF model are written as follows
where m is the mass of the AUV (kg), u,v,w are the velocities of surge, sway, and heave (m/s), p,q,r are the angular velocities of roll, pitch, and yaw (rad/s),
In equation (1), there are six equations, and each equation describes the relationship between external force and system states. In addition, each state is relative to the other five states, and it is difficult to solve this problem in SI. To reduce the model complexity, it is necessary to simplify equation(1) as follows: Assuming that the hull is symmetry and the mass distribution is symmetrical to the plane; Assuming that the static force and buoyancy are balanced; Omitting the coupling of vertical plane motion to horizontal motion and ignoring some of the secondary hydrodynamic coefficients.
According to the assumptions, the forces and moments X,Y,Z,K,M,N, which are the results of combined effects of the various external forces, can be expressed as
where ρ is the density of liquid around the AUV (kg/m3), l is the length of the AUV (m),
Introduction of the identified parameters.
Model identification with MILS
MILS algorithm
The linear time-invariant system is described as follows
where
Assuming that the parameter vector
which gives
The method to obtain
where
In the RLS, the error
where the positive integer l denotes the innovation length. As for the single innovation scalar
In general, it is easy to prove that the parameter
According to the multi-innovation identification theory,
33
the input matrix
After replacing the innovation, input matrix, and output matrix, the multi-innovation vector can be easily expressed as
Obviously, when the innovation length l is 1,
Clearly, when
Identification of 6-DOF equations of motion
In this section, all of the six equations will be identified to obtain the hydrodynamic coefficients. According to the MILS, the 6-DOF dynamic equations can be simply organized as
Take the surge motion equation
where XT denotes the constant thrust produced by the stern propeller. Then, taking N sample data to obtain the following matrix equation
where
In this way, the identification problem is turned into the linear fitting problem and the identified model is only in relation with the system input and output. The procedure of surge motion equation parameter identification method based on MILS is shown in Algorithm 1. According to the value of
The surge motion equation identified by MILS.
Validation
Model validation is an indispensable part of the identification process. In this section, we assume that the identified model accurately describes the motion characteristics of the AUV. In addition, the computer used for simulation in this part is described as follows: Lenovo Laptop/Processor: Intel Core i5-4200 M CPU 2.50 GHz/Installed Memory (RAM): 8.00 GB/Operating System: win7 ultimate 64-bit.
Validation flow
For the convincing verification, we divide the identification data obtained from different filed experiments into two data sets. One is the training data that are used to identify hydrodynamic coefficients and the other one is the validation data that are the fresh data used to verify the accuracy of the model. The validation procedure is shown in Figure 2, and the specific steps are described as follows:

The validation flow.
Ensuring that all the onboard sensor work normally, then several field experiments have been run with the system input shown in Figure 3 to collect the training data and validation data;
Using the training data to identify the parameters based on the LS, RLS, and MILS;
Using the different identified models and the validation data for comparisons.

The system input of (a) propeller thrust and (b to d) rudder angles.
In addition, the sampling interval in the field experiment is set as 0.1 s, and the simulations are conducted by MATLAB 2016b software. According to the performances of the MILS, RLS, and LS, this article analyzes the convergence rate and the identification accuracy systematically.
Identification convergence analysis
At first, different algorithms identify the parameters of the AUV model with the same training data. The identification results based on the LS, RLS, and MILS with different innovation lengths
The identification results of all the hydrodynamic coefficients.
LS: least square; RLS: recursive least squares; MILS: multi-innovation least squares.

(a to f) Estimation of partial hydrodynamic coefficients.
In Figure 4, the x-axis indicates the iteration number, and the y-axis indicates the parameter values. The parameter curves show that each parameter eventually converges to a specific value with different convergence rates. Table 4 lists the convergence time of these hydrodynamic coefficients with different identification algorithms. The results show that the following:
The convergence times of the parameters.
RLS: recursive least squares; MILS: multi-innovation least squares.
The convergence time of MILS is always less than that of the RLS while the innovation length is set to different values.
The convergence rate of MILS becomes faster when the innovation length is larger. However, the large innovation length also means more complex computation, and then, it is necessary to choose reasonable innovation length.
Because the convergence of the MILS is faster than RLS, it needs fewer sample data than RLS to identify the system parameter. When the innovation length is larger, the MILS is able to approximate the optimal parameters with small sample data.
Identification accuracy analysis
We use the fourth-order Runge–Kutta ordinary differential equation (ODE) integration algorithm to solve the hydrodynamic equations identified by LS, RLS, and MILS, respectively. In the field of statistics, mean absolute error (MAE) is often used to evaluate the error between actual and predicted values. In this article, we use the MAE to measure the accuracy of the identification. With the same system input, the MAE between the simulated velocity yi and the actual velocity ye is
Figure 5 shows the actual measurements and the simulated velocities based on different models. Table 5 lists the MAE between actual data and the simulation results. The comparisons are as follows:

(a to f) Comparison of the identification data and the validation data.
Comparisons of the MAE between the identification velocities and experimental velocities.
LS: least square; RLS: recursive least squares; MILS: multi-innovation least squares; MAE: mean absolute error.
When
When
The convergence rate and identification accuracy results show that the MILS is more effective to identify the parameters of the AUV model than the LS and RLS.
Conclusions
In this article, we employ the MILS algorithm to identify a simplified 6-DOF AUV model. The simplified model only contains the essential parameters of the nonlinear kinetic model that includes hundreds of hydrodynamic coefficients, so it is useful for engineering applications in practice. The MILS algorithm leverages several past errors to identify the parameters, it not only converges faster than the RLS but also approximates more accurate than the RLS. In addition, the MILS needs fewer sample data to identify the parameter than the LS and RLS. Large innovation length improves the convergence rate and accuracy of the MILS, but it increases the computation load. Different model has a different property, it is necessary to choose reasonable innovation length according to the model characteristic. Future work will focus on the identification algorithm that is used to identify the parameters when the AUV is disturbed by the external environment.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Excellent Dissertation Cultivation Funds of Wuhan University of Technology (2018-YS-065).
