Abstract
Propellers are one of the key parts on the autonomous underwater vehicles. When adopting the conventional particle filter to estimate the degree of fault, based on the status given by the sensors, the diagnosis value is not always satisfactory in the transition stage (as it accelerates substantially). The diagnosis value is relatively larger than it is in the cruising stage, and this might weaken the ability to classify using the fault diagnosis method. This article proposes a new fault diagnosis method combining the grey prediction and rank particle filter method. The main improvements include two aspects: status input prediction and thrust loss trend analysis. The status input into the rank particle filter is predicted by the grey prediction method, to meet the condition that the thrust loss estimation does not change quickly when the control signal changes drastically. Subsequently, the control signal change rate is combined to analyse the thrust loss change trend. This improvement reduces the diagnosis value under normal conditions and enlarges the ratio between faulty and normal conditions. Simulation experiments are carried out to verify the performance of the proposed algorithm. The results show that the proposed method could reduce the thrust loss estimation error and enlarge the ratio of diagnosis value between faulty and normal conditions, providing basis for the following operation.
Introduction
Autonomous underwater vehicles (AUVs) play a significant role in the exploration of oceans, owing to their manoeuvrability and long-range survey. However, the underwater environment is complex and variable, so they may face harsh conditions in some circumstances. This environmental uncertainty may cause varying degrees of affection on the AUVs, including the propellers. Faults in the propeller may influence the completion of tasks and even cause damages on the AUVs, when the propeller cannot output the desired thrust. Therefore, now there is increased attention for detecting underlying faults, while an AUV is working autonomously.
With the help of sensors, the AUV’s fault is diagnosed through the analysis of its status; for example, Abed et al. 1 analysed the vibration and current signals to derive fault severity prediction regarding damage of the blades and Filaretov et al. 2 applied data fusion on AUV fault detection and localization. Chu and Zhang 3 reconstructed the fault with the help of a terminal sliding observer. Raanan et al. 4 applied an online Bayesian nonparametric topic modelling technique to AUV sensor data to characterize its performance patterns automatically, while Xiang et al. 5 chose to use neural networks to combine the faults together in different AUV subsystems. Besides, status estimation methods such as particle filter also attract the interest of fault diagnosis researchers because of its accuracy and ease of use; for instance, Barisic et al. 6 presented research about an implementation of the sigma-point unscented Kalman filter and Zhao et al. 7 applied the particle filter-based fault diagnosis method to detect propeller faults in an underwater robot. Daroogheh et al. 8 proposed a dual estimation methodology in particle filtering for both time-varying parameters and states, and Sun et al. 9 used the Gaussian particle filter to estimate the thrust loss in order to detect the fault in an AUV.
When we applied the conventional thrust loss estimation method, using a particle filter 9 to detect the fault of an AUV, we found that the fault diagnosis algorithm gave a larger diagnosis value in the transition stage (when the AUV is accelerating substantially) than in the cruising stage. We analysed this phenomenon and concluded that this may be due to the fact that the conventional algorithm did not consider the influence of the control signal change. The thrust loss estimation could not change instantly, when the control signal exhibits a higher change rate. The control signals stated above are the instructions that will be dealt with the force allocation algorithm and calculated as the voltage input of the propellers. Therefore, the change of the control signal can be treated as the change of control force or propeller thrust desired change. Since a larger diagnostic value in the transition stage could lead to a smaller diagnosis value ratio of faulty conditions to normal conditions, this may lead to misdiagnosis or increase the difficulty to determine the threshold.
Based on the consideration above, an improved fault diagnosis method has been proposed. To be specific, two aspects were proposed, including reducing the estimation error of the thrust loss (with the help of AUV state grey prediction), like the method 10 proposed that including information from the predicted future trials to achieve a better performance; and the influence of control signals’ variation was considered while analysing the thrust loss.
This article has been organized as follows. In “AUV mathematical model and faulty model” section, we have established the mathematical model of AUV and introduced the basic fault estimation concept. Then, “Basic grey prediction and the improved algorithm” section describes the conventional grey prediction model and its improvement. “Basic rank sampling method and rank particle filter” section describes the rank particle filter built on the rank sampling method. “Improved AUV propeller fault diagnosis method” section combines the improved grey prediction method with the rank particle filter, proposing the grey prediction rank particle filter (GP-RPF) fault diagnosis method. Experimental simulations are shown in ‘Fault diagnosis simulations’ section, and we have drawn our conclusions in the last section.
AUV mathematical model and faulty model
The proposed method needed the thrust loss estimated by the AUV mathematical model to detect the fault. Therefore, a torpedo type of AUV, with no fins or wings, was selected as the object of the study, and on which the control force was provided by its propellers.
Firstly, the space coordinate system was defined by the International Ship Model Towel Pool Recall and the Shipbuilding and Engineering Society terminology bulletin system, as shown in Figure 1.

Three stages of AUV underwater mobile recovery. AUV: autonomous underwater vehicle.
The E − ξηζ geodetic coordinate system was fixed on earth, and the origin of the body coordinate system O − xyz was fixed at the AUV’s centre of gravity. The AUV’s mathematical model was decomposed subsequently, and the focus was mainly on the motion in the horizontal plane. In the horizontal plane, the motion of the AUV was controlled by two stern propellers, each of which was set to form a 13° angle with the longitudinal axis of the AUV, respectively, providing the thrust and yaw moment. In the horizontal plane, the body coordinate system and the geodetic coordinate system had the corresponding relations as mentioned below
where
where ϕ is the roll angle and tilting to the right is positive, θ is the pitch angle and tilting to the stern is positive and ψ is the yaw angle and turning to the right is positive.
We assumed that the AUV sailed in a deep and still environment and the wave force was excluded. The force exerted on the AUV was provided solely by the hydrodynamic force and the propeller thrust
D is the AUV hydrodynamic parameters matrix, X is the status of the AUV, Fvis is the non-inertial hydrodynamic term, while Fpropeller is the propeller thrust.
Based on the assumption above, the state space equation of the AUV could be achieved. The motion system of the AUV was highly nonlinear, and the continuous equation could be discretized as the following discrete state space equations
where G is the system matrix, x k is the vector of the state variables at time k, u k is the control input, H is the system input matrix, Zobser k is the observer value, C is the observation matrix and Q k and R k are the process noise and measurement noise, respectively.
We knew that the propeller fault would restrict the output thrust to some degree. Therefore, the actual control force exerted on the AUV would change at faulty condition. To elaborate, the actual control force at time k will deviate from u k to u k + Δ u k , where Δu k should be near zero when the propeller was fault-free. The AUV’s fault in the propeller could be estimated using the faulty mathematical model of the AUV, as shown below
Basic grey prediction and the improved algorithm
The grey model has been widely used in terms of small sample prediction, and the prediction results have been universally accepted in time series data. We primarily focused on the GM(1,1) model here, and its prediction procedure could be summarized as follows: selecting the original data sequences; applying accumulated generating operation (AGO) to the selected data sequences; the accumulated generated sequences constructing the grey background values; building GM(1,1) model based on the grey background values; obtaining the solutions of the Whiting differential equations; and applying inverse AGO to generate predicted sequences.
The conventional grey prediction method could get acceptable prediction errors in most cases. However, the errors may lead to bigger diagnosis errors in the next step, taking the nonlinear relationship into consideration, between the AUV state and the exerted control force. Liu et al. 11 prompted an improved GM(1,1) to the point that the conventional grey model prediction error was not always satisfactory. The proposed GM(1,1) improved the construction of the grey background value and the solution of the Whiting differential equation.
In the aspect of construction of grey background value
where X(1)(t) is the accumulated generation sequence and Z(1)(t) is the grey background value.
In the conventional method, as Zhou and Zhu did, 12 the grey background value was approximated based on
However, Liu et al. used a nonlinear operation to obtain the result
thereby eliminating the error between practical and approximation grey background values.
In the solution of Whiting differential equation method, it was different from the conventional grey prediction method, where the initial point of the original sequence was selected as the initial condition. Liu et al. selected a special point as the solution, which was best approximated in the prediction index. It is shown as
X(0)(l) is the selected special point; the second equation was to find the best approximated value in the prediction index; a and b are grey development coefficient and grey action quantity respectively
Based on the improvements mentioned above, in the conventional grey prediction method, a better performance in prediction error indexes was obtained, which formed the fundamental for the next step.
Basic rank sampling method and rank particle filter
The rank filtering method 13 was prompted from the rank sampling method, where the importance density function provided was in line with the probability density of the truth state. Fu et al. 14 combined the advantages of the rank filtering method and particle filter method to present the rank particle filter.
The rank sampling method was a deterministic sampling method. First, we determined the state vector X with a mean value
According to
where l = 1, 2, ..., R n (R n is the dimension of X) and i = (j − 1)R n + 1. λ pj is the lower bound of the confidence interval with probability and p j is the X distribution. μ j is the correction factor of the sampling point.
The initial sampling points were subject to nonlinear changes to obtain the set of output variables x Pred:
Then, the mean and covariance of the output variables were calculated
The weight coefficient of the covariance is ω
We now know that x SigmaPts was the initial sample point from the posterior probability distribution
where δ(x) is the Dirac delta function.
In the next step, the new particle set could be obtained from the distribution, as well as the important weights. This was the same process to go through, as the conventional particle filter. The basic rank particle filter method was thus established. With the help of the rank particle filter, we could estimate the thrust loss, so as to detect the fault in the AUV.
Improved AUV propeller fault diagnosis method
With the faulty mathematical model of the AUV, the original rank particle filter was constructed in the last section, according to the thrust loss estimation method 9 prompted in 2016
where
As shown in Figure 2, the key of the conventional fault diagnosis method mentioned above was to analyse the value Δu k and its trend, which should be near zero in the normal state. When fault emerged at one of the propellers, the thrust loss Δu k changed in some degree, whose amplitude was affected by the severity of the fault. The thrust loss trend was then analysed by the modified Bayes (MB) algorithm, and the predefined threshold was used to detect whether a fault occurred in the propeller. Therefore, the thrust estimation accuracy and analysing its trend properly play an important role here.

Conventional fault diagnosis method.
A torpedo-shaped AUV had the benefit of reducing the flow resistance. This type of AUV was appropriate for search missions in a vast region, compared to the frame-shaped AUV, which was appropriate for manipulation tasks. Moving along a straight line was the most common action of these torpedo-shaped AUVs. 15 When this conventional method was used to estimate the thrust loss of the AUV, it was found that the fault diagnosis algorithm performed better in the cruising stage, compared to the transition stage. This was because when control signal experienced a great change rate, the thrust estimation could not change instantly. This influence was small during the steady cruising stage, with small status changes. But the influence in the transition stage was more severe, leading to a bigger estimation error.
Considering the problem above, we improved the conventional method, combining the grey prediction method. The grey prediction method was not introduced for the first time into the particle filter. For example, Chen et al. 16 used a group of grey prediction particles to predict status updating, and the rest of the particles updated by the state space equations. This was different from our proposed method. According to Figure 3, we used the grey prediction method to predict the AUV status, and the predicted status was combined with the control signals as the input of the rank particle filter.

Proposed fault diagnosis method.
Meanwhile, in Figure 2, the MB algorithm was used to analyse the time range for the AUV to attain thrust loss. When the diagnosis value was beyond the threshold, a fault was detected by the algorithm. However, in the conventional algorithm, only the thrust loss was selected as the input of the algorithm, ignoring the influence of the control signal change. We found that this method could be improved to some extent: The thrust loss estimated had to be considered along with the amplitude of the control signal change. We defined the CT(k) as the diagnosis value at time k combined with the control signal and the rate of thrust loss, thereby improving it from the conventional analysis method.
The diagnosis value CT(k) is defined as follow
where ΔuCT was the thrust loss estimation combined with control signals; ctrl(k) and ctrl(k-1) were the control signals at time k and k-1, respectively; and p was the parameter subject to the normal control signal change rate. The mean value
Fault diagnosis simulations
During the test with this type of AUV, it was found that a faulty propeller might not output enough thrust always. When the desired thrust was small, the propeller could output the required thrust normally; however, when the desired thrust was greater than a certain value, the propeller could not reach the desired output thrust.
To show the effect of control force on the estimation of thrust loss in the transition stage, a simulation of AUV accelerating to the desired velocity from the halted state was generated. In the first 50 s, the desired velocity was set as 0.5 m/s and from 50 s to 100 s, the desired velocity was set as 1.0 m/s.
Figures 4 and 5 show the simulation experiment results. The blue line is the conventional estimation result and the red line is the proposed algorithm’s estimation result. It can be seen in Figure 5 that the estimated thrust loss in the transition stage gave a bigger value than at other times, which might lead to a misdiagnosis of the propeller. In ideal conditions, the thrust loss in the X-axis should be zero, in the condition without fault. We calculated the root mean square error (RMSE) of the thrust loss estimation in the X-axis and the values obtained were 86.16 using the conventional method and 59.55 using the proposed method, reducing it by about 30%.

AUV velocity curve. AUV: autonomous underwater vehicle.

Estimation thrust loss in X-axis.
Although in this work process of AUV, there was no fault occurrence, the control force’s change substantially led to a bigger estimation of thrust loss in this stage. This was analysed by the algorithm as a potential cause for misdiagnosis. After combining the improved fault diagnosis method, the diagnosis value results were shown in Figure 6. We calculated the RMSE of the diagnosis value and it was 63.32 using the conventional method and 42.32 using the proposed method, reducing it by about 33%. From the comparison between the proposed and conventional algorithm, we could find that the proposed algorithm gave a better diagnosis value of the AUV state. This would pave the way for a better diagnosis value.

Diagnosis value comparison.
The next simulation condition was set as follows. In the first 50 s, the AUV was in a condition, wherein no fault occurred in the propeller. And after 50 s, there was a fault in the left propeller of the AUV, and it could only output 20 N, when the desired output was beyond 20 N, shown in Figure 7.

Thrust output by the propellers.
From the comparison in Figure 8, we could find that both the algorithms gave a relatively large value after 50 s, which was the time when a fault was induced. Because the fault was induced from 50 s, we considered the first 50 s from the beginning as the normal condition and the last 50 s as the fault condition. To compare the performance of the two algorithms, we calculated the mean value estimated by both the methods. The mean value in the normal condition given by the conventional method was 5.07 and the mean value in the faulty condition was 21.37. Meanwhile, the mean value in the normal condition given by the proposed method was 3.81, while the mean value in the faulty condition was 20.19. The diagnosis values in the fault condition given by both the algorithms were close, but the values in the normal condition in the proposed method were smaller. The ratio of the faulty to normal conditions given by the two algorithms was 4.22 and 5.29, respectively. The higher ratio gave more leeway for defining the threshold compared to other analysing methods in the fault identity step.

Diagnosis value given by the algorithms.
The situation above was when no fault occurred in the propeller during the transition stage. A condition to include fault occurrence was then set at the beginning. The fault condition was set in Figure 9 as follows: When the desired thrust provided by the left propeller was less than 30 N, the thrust was produced normally. However, when the value of the desired thrust was beyond 30 N, the propeller could not produce the requisite thrust, and it could only produce a thrust amounting to 30 N.

Thrust output by the propellers.
From the comparison in Figure 10, it was found that although there was a delay in the proposed method to detect the fault, both the algorithms gave a high diagnosis value when compared to the normal condition. Since the grey prediction method needed a series of data to predict the status at the beginning of the time series, the proposed method gave a higher diagnosis value, and the ratio of the faulty to normal condition was 5.02, while the conventional method provided a result of 9.7. However, if we discarded the data at the beginning, the ratio of the proposed method rose to 10.92, and the conventional method descended to 10.05. Therefore, although there was a delay when the fault occurred at the beginning, the proposed method still could give an acceptable result.

Diagnosis value given by the algorithms.
In the turning motion stage, the turning motion was controlled by only one of the stern propellers initially. For example, when the AUV turned to the left, the right propeller was primarily providing the thrust, and when a fault occurred in the left propeller, both the conventional and proposed method could not diagnose the fault. If the fault occurred in the right propeller, the phenomenon resembled a straight motion, as mentioned previously.
Finally, we used the proposed algorithm on a series of sea trial experiment data: the AUV started accelerating to 1.0 m/s to cruise along the predefined path, and a fault occurred in the propeller towards the end of the task, after which the AUV was recovered by us, as shown in Figure 11.

AUV velocity in the sea trial. AUV: autonomous underwater vehicle.
From the comparison in Figure 12 between the results from the conventional and proposed methods, we could find that from the time stamp of 45–70 s, the AUV was accelerating and the diagnosis value given by the conventional and proposed algorithm gave a high diagnosis value, compared to the normal cruise condition. The diagnosis value CT(k) in the entire time zone was relatively smaller than the MB value. However, the ratio of the faulty condition to normal condition was larger than the MB value. The ratio of the faulty to normal condition given by the two algorithms was 6.97 and 10.47, respectively, enlarging the ratio by about 50.3%. This larger ratio gave more leeway to define the threshold of the faulty condition. Because the proposed method combined the control signal change, if we selected the maximum value in the normal condition as the threshold, the fault detected would be delayed by about 3 s. The AUV in water does not need quick manoeuvrability like unmanned aeroplanes, and therefore this delay is acceptable.

Diagnosis value given by the algorithms.
Conclusions
In the proposed method, we proposed a new fault diagnosis method combining the grey prediction method to improve the estimation accuracy of the AUV status and the thrust loss trend analysis method to combine the influence of the control signals. The simulation results pointed out that the proposed method could estimate the AUV status better and gave a larger ratio of the faulty to normal conditions than the conventional method, which could provide basis for fault identity in the next step.
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 National Key R&D Program of China (2017YFC0305700), National Natural Science Foundation of China (51879057, 51809064), the China Postdoctoral Science Foundation (2017M621250) and the Fundamental Research Funds for the Central Universities (HEUCFG201810).
