Abstract

The aim of this paper is to develop a fuzzy iterative sliding mode control (FISMC) scheme for special autonomous underwater vehicles (AUVs) on three-dimensional (3D) path following. In this paper, the characteristics of the AUV are considered, which include a large scale, large inertia, and high speed. The FISMC controller designs iterative sliding mode surfaces by using a hyperbolic tangent function to keep the system with fast convergence and robust performance. At the same time, system uncertainties and environmental disturbances are taken into account. The control algorithm introduces fuzzy control to optimize the control parameters online to enhance the adaptability of the system and inhibit the chattering of the actuators. The performance of the proposed FISMC is demonstrated with numerical simulations.

1. Introduction

In the last decades, AUVs have attracted more and more attention for their multifunctions and practicability in many fields. They have been used in exploring resources, graphic mapping, underwater pipelines inspection, seabed surface reconstruction, and so on [13]. Due to the uncertainty and complexity of a marine environment, it is necessary to improve the performance of the AUV, especially for 3D path following, in which the robustness and adaptability of the vehicles are the most important.

Before choosing a reliable control scheme, it is essential to comprehend the features of the AUV. Firstly, a traditional AUV is an underactuated and second-order nonholonomic system [4]. At the same time, the AUV’s rudder and propeller have range and frequency saturation. This causes that the real time of the controller will decrease. Also, considering the wave and current, this requires the system to be antidisturbance [57]. All of these characteristics bring more challenges to controlling the AUV [8, 9].

Various researches have been carried out for AUVs’ control, such as adaptive control, suboptimal control, backstepping control, genetic control, neural network control, and fuzzy control. Different control algorithms have their advantages and disadvantages. For the adaptive control [1012], the controller is able to learn itself and adapt to variations of the dynamics and hydrodynamic coefficients of the system. But the selection of the key parameters is complex. For the suboptimal control, [13] puts forward an approach which is decoupling the model or dismissing the nonaffine terms when designing the suboptimal control schemes. However, the coupling terms must be considered in the control system, or the accuracy of the model will be decreased. For the backstepping control [14], backstepping control techniques were used to force the errors of the system to an arbitrarily small neighborhood of zero. Nevertheless, the system has a longer settling time. For the genetic control [15], the genetic algorithm has to encode and decode a mass of data, which it will spend a long time to calculate, and the quick response cannot be guaranteed. For the neural network control [16], the algorithms cannot keep the stability at a better level because the optimal weight is of strong dependence in the input. For the fuzzy control, a fuzzy sliding mode controller proposed in [17] is designed for path tracking in the horizontal plane, but the convergence time is too long. Also, many scholars, such as G. W. Weber, E. Kropat, and T. Paksoy et al., carried out immense amounts of concrete researches in different fields which include environment prediction, free market trading, and resource allocation [1821]. In their study, the characteristics of the research object are in common which are uncertain parameters, strong hysteresis, and high dependence to initial state. On account of the similar features which the AUV introduced in this paper has, the fuzzy control methods can be learned from.

As sliding mode control is based on the sliding mode surfaces, the stability and rapidity are evident if the Lyapunov equation is right established. Hence, sliding mode control becomes popular. Furthermore, sliding mode control is with strong robustness against model uncertainties and external environmental disturbances [2224]. Therefore, the sliding mode control does not need strict requirements on the accuracy of the model, and, at the same time, it can ensure the stability, the accuracy, and the rapidity as well as parameters’ easy tuning. However, the model adopted in this paper is of big difference from most AUVs on account of its large inertia and large scale.

In this paper, based on the advantages of each control algorithm introduced above and then doing further optimizing, a novel fuzzy iterative sliding mode control scheme is presented which introduces a hyperbolic tangent function in multiple sliding mode surfaces and control laws and uses fuzzy logic to tune the parameters automatically. Due to the boundedness of the hyperbolic tangent function, the controller will also be bounded. It is concluded that the stability, the accuracy, and the rapidity of the system can be in favorable control. In this way, FISMC is more suitable for engineering applications.

The rest of this paper is organized as follows: Section 2 presents the kinematic and kinetic model of the AUV. The next section describes the design of the proposed controller based on line-of-sight guidance law, iterative sliding mode surfaces, and fuzzy logic. A set of comparative simulations are conducted in Section 4 to test the performance among the newly designed controller and other controllers. In the final section, conclusions and future work are discussed.

2. Problem Statement

2.1. Modeling of the AUV

The purpose of modeling for the AUV is to establish kinematic and kinetic equations. The kinematic model deals with geometrical aspects of motion, while the kinetic model focuses on the active and passive forces and moments about the vehicle [25]. In this paper, 3D path following is considered; hence, the AUV’s motion in 3D space must be taken into consideration, which involves displacements and rotations in the 3D space, that is, the surge, sway, heave, roll, pitch, and yaw motion [26].

As shown in Figure 1, the earth-fixed and body-fixed reference frame are represented with and . The origin of the frame is fixed at the AUV’s center of gravity with the x-axis forward, the y-axis right, and the z-axis down. Also, the motion in the roll direction around the x-axis is positive counterclockwise, the pitch motion around the y-axis is positive bow-up, and the yaw motion around the z-axis is positive turning left. The linear velocities are along with the -, -, -axes, respectively, and the angular velocities are rotated around the -, -, -axes, respectively.

The AUV has neutrally buoyant and hydrodynamic restoring forces which are large enough to neglect the roll motion in 3D space; the model of the AUV can be described as following the kinetic and kinematic model.

The detailed descriptions of the model and parameters in formulas (1) and (2) can be found in [27].

2.2. Problem Formulation

The AUV in this paper is characteristic with a large scale, large inertia, and high speed. With these special features, controller designing of this AUV is much more difficult and of higher requirements in terms of stability, accuracy, and rapidity.

For example, in order to drive the vehicle and converge to a predefined path, there are so many parameters by using the PID controller, such as input variable, error of present and desired heading angle, and output variable and control-rudder angle. In addition, the parameters in the PID controller are sensitive to the AUV’s initial position, initial attitude, environmental disturbances, and so on. The drawback of the PID controller applied for this AUV will be illustrated in detail by simulation results in Section 4.

The 3D path following problem deals with the design of control law which could control this kind of special AUV with a large scale, large inertia, and high speed to reach a desired path stably, accurately, and rapidly. The control objectives are as follows:

Deriving a control law so that the position error between the AUV’s present position and desired position converges to zero asymptotically, the current resultant velocity tends to the desired resultant velocity .

3. 3D Path Following Controller Design

In this section, the two-layered control framework is established for 3D path following of the AUV. As presented in Figure 2, the control framework includes a 3D line-of-sight (LOS) guidance layer and a fuzzy iterative sliding mode control layer.

The input of the control system is the desired path given in advance, while the present position and the present attitude angle of the AUV are outputs. The respective heading angle and pitch angle are acquired from 3D guidance laws. Then, the sliding mode surfaces and control law are introduced to regulate the outputs of the actuators. By using the fuzzy logic optimizer with inputs which include errors of the path , and rudder angles , , outputs and are added to automatically tune FISMC parameters. Hence, the performance of the 3D path following controller is obviously improved.

3.1. LOS Guidance Law for Path Following

In this subsection, the LOS guidance law for path following is presented. The 3D motion of the AUV can be divided into motions in two different planes which are the horizontal plane and vertical plane, respectively.

Control objectives of path following need to meet the following two requirements [28]:(1)Decreasing the offset distance between the AUV’s position and the desired position to zero(2)Aligning the direction between the AUV’s velocity vector and the desired path’s tangential vector

As shown in Figure 3, the AUV follows the desired curvilinear path S which is marked in the green color. The red dot “O” is the present position of the AUV in the earth-fixed frame while the pink dot “F” represents the current target point in reference path S, and the blue dot “R” is the next target point which is along with the desired path’s tangential vector. Introducing the Serret-Frenet coordinate frame taking the current target point “F” at the origin, and considering the rotation from path frame to fixed frame , the path following error vector can be written as

The line-of-sight (LOS) guidance angle in the horizontal plane named azimuth angle is designed aswhere is the coordinate of the next followed target point in moving frame , is a positive constant, and is the coordinate of the next followed target point in the earth-fixed frame , that is, absolute position coordinates.

Analyzing Figure 3, the value of in the earth-fixed frame equals in frame , so is rewritten aswhere the control gain .

As and , the desired yaw angle under the LOS guidance of path following can be defined aswhere is the side-slip angle of the AUV.

Similarly, the elevation angle and pitch angle in the vertical plane are depicted aswhere is the angle of attack and the control gain . Here, the signs of (6), (7), and (8) should be noted.

3.2. Fuzzy Iterative Sliding Mode Controller Design

As previously mentioned, the PID control scheme lacks robustness and could not keep the accuracy while guaranteeing the rapidity. To solve this problem, a fuzzy iterative sliding mode controller based on the LOS guidance law is designed in this subsection. More than one of the sliding mode nonlinear surfaces settle the contradiction between static performance and dynamic performance of the control system which mainly refer to errors of the steady state and time of approaching the steady state, respectively. In this way the controller can ensure the robustness and the adaptability, despite of system uncertainties and environmental unknown disturbances. Next, application of fuzzy logic heuristic knowledge further enhances the self-adaptability which makes it more convenient to tune the parameters of the controller automatically.

Theorem 1. Consider the nonlinear scalar system with zero order defined as , where are system state variable, system input, and system output, respectively. If the following conditions are established:(I)The equation of state is , where is a continuous and bounded function(II) is a continuous, bounded, and nonlinear function, namely, , and is a bounded value(III)Sign for the gain of output to input is known; here assume that the incremental feedback control law is chosen aswhere .
Based on the proposed conditions and control law above, the system can realize asymptotic stability.

Proof. Choose the following Lyapunov function candidate:Taking the derivative of formula (10), one can getBy using formulas (9) and (11), the time derivative of the proposed Lyapunov function is such thatAs and is bounded, it is clear that with existing , that is, .
Therefore, it can be concluded that the system can realize asymptotic stability according to the Lyapunov stability criterion.
According to the features of the AUV in this paper, the revolving speed of the propeller is fixed. Aiming at the actuators of the AUV, yaw rudder, and horizontal rudder, the controllers used for the horizontal plane and vertical plane are designed, respectively.

Theorem 2. In the horizontal plane, iterative sliding mode control surfaces are given as follows:and the control law combined with sliding mode surfaces is defined aswhere and .
When applying to the controller with defined surfaces (14) and control law (15), it can guarantee the errors of path following in the horizontal plane for the AUV asymptotic convergence to zero.

Proof. Expanding formula (14), one can obtainAnalyzing formula (14), information can be gotten as follows.
Due to the surface with second-order derivative terms in , namely, control-rudder , one can obtainwhere are the functions of .
Substituting formula (17) in (16), one can getNext, analyzing formulas (1) and (2), information can be gotten as follows.
On one hand, the signs of velocities keep the same as yaw rudder . On the other hand, the values of are absolutely small due to steering yaw rudder; one can getwhere refers to the moment of force caused by steering yaw rudder, refers to the moment of inertia for the AUV body, and refers to the additional moment of inertia for the hydrodynamic force.
Go on analyzing formulas (1) and (2); information can be obtained as follows.
is related to the acceleration caused by forces of the propeller and yaw rudder. And the forces split into two components which are a force along with the x-axis and a force along with the y-axis. One can getwhere refer to the additional mass for the hydrodynamic force.
Considering the case of steering yaw rudder in the horizontal plane, the values of and are far less than , due to the boundedness of the hyperbolic trigonometric function; it can be concluded thatwith existing .
Based on formula (21), surface asymptotically converges to zero with defined control law (15).
As , according to the mathematical relationship among surfaces , it is clear that When , it yields thatAs the values of are absolutely small while steering yaw rudder, and substituting for into formula (14) from formula (2), one can getObviously, is a continuous, bounded, and nonlinear function of which can be deemed to be the control input as described in Theorem 1; one can obtainBecause of the characteristic of the AUV which voyages forward at a fixed speed, that is to say, is a constant, and because the value of forward velocity is more than lateral velocity , it is easy to conclude thatwhen .
Based on Theorem 1, the surface can asymptotically converge to zero under the control law chosen as formula (15); it yields thatDue to the uniform monotonicity of and while has the opposite monotonicity of , it is evident thatTherefore, the errors of path following for the AUV asymptotically convergence to zero.

Theorem 3. In the vertical plane, iterative sliding mode control surfaces and control law are given as follows:where and .
When applying to the controller with defined surfaces and control law (29), it can guarantee the errors of path following in the vertical plane for the AUV asymptotic convergence to zero.

Proof. The proving process can be in a similar method and it is omitted.

Based on ISMC, the FISMC focuses on the self-adaptability of control parameters which guarantee the AUV with environmental disturbance rejection and inhibition of chattering for the rudder.

Analyzing the control laws , in formulas (15) and (29), it is clear that parameters determine the efficiency and robustness of the control system. Consequently, fuzzy logics are introduced to tune , automatically.

The fuzzy logic rules for the parameters , are shown in Tables 1 and 2. In Table 1, the first column represents fuzzy subsets for the following errors of the path while the first row is fuzzy subsets for the control-rudder . Also, other cells represent the evaluating values of outputs. All of the inputs and outputs keep the IF-THEN rules. Table 2 is set the same as Table 1.

The fuzzy subsets are divided into traditional types which are NB, NM, NS, ZE, PS, PM, and PB, respectively, namely, negative big, negative medium, negative small, zero, positive small, positive medium, and positive big. The input scaling factors of are , respectively, while the output scaling factors of are . The fuzzification of is designed by the triangular membership function shown in Figure 4 while introducing centroid defuzzification.

4. Numerical Simulation Research

Numerical simulation researches are performed to test the performance of the proposed control schemes in this paper through a special AUV whose key parameters are partly presented in Table 3. In the simulations, the AUV voyages with a fixed forward velocity, m/s, due to a constant revolving speed in one direction of the propeller, and the desired route, , , which is 500 meters laterally and 100 meters vertically away from the initial route, , , is used to test the performance of the proposed controllers.

In the simulations, the delay time between the control signal and the actuators is considered according to the large-inertia feature of the AUV. The rudder control signals lag behind the yaw rudder and the horizontal rudder with 100 milliseconds, and the sample time in numerical simulation is 1 second.

It should be noted that the AUV mentioned in this paper has two water tanks, and the mass described in Table 3 includes the weight of the two water tanks and the weight of buoyancy force caused by the displacement. The existing advanced control algorithms are not applied to such large-scale underwater vehicles, and almost all of the submarine-like AUVs adopt the PID controller. In this way, different controllers commonly used in engineering are selected to verify the performance of the designed fuzzy iterative sliding mode control schemes. The control parameters are described as follows:(i)PID parameters: (ii)ISMC parameters: (iii)FISMC parameters:

4.1. Simulation under Ideal Conditions

Figures 511 show the simulation results obtained under the conditions in which there are no environmental disturbances and the values of the AUV’s initial position and attitude all equal zero.

In Figure 5, paths in 3D space along the desired path which is the green dot line and actual paths of the AUV using controllers marked in the black, red, and blue colors are shown. It is obvious that good path following of the AUV is achieved through each controller but with different performance.

More details can be noticed in Figure 6 which are, respectively, the projection of 3D paths in the horizontal plane and vertical plane. From this figure, it is illustrated that paths using the PID controller have big overshoots and oscillations. Nevertheless, paths of ISMC and FISMC converge to the desired path smoothly. Obviously, one should firstly try to avoid the overshoots and oscillations in controlling this kind of AUV with a large scale, large inertia, and high speed. At the same time, the time of approaching the steady state applying FISMC is shorter than the time with ISMC; this is more evidently shown in X-Z plane projection. Furthermore, errors of the steady state in FISMC are the smallest among the ISMC and PID controller. Note that it is difficult for the system to keep the shorter rising time as well as the smaller overshoots and the fewer oscillations simultaneously as a result of the parameters , with quite small orders of magnitude.

Focusing on the status of steering rudders from Figures 7 and 8, values of yaw rudder and horizontal rudder both converge to zero ultimately. But in controlling process, the chattering of the rudders when applying FISMC only happened one time, which is the lowest under the premise of keeping the stability, accuracy, and rapidity.

The changes of the desired angles , depicted in Figure 9 map to the changes of paths in Figure 6.

Finally, regarding Figure 10, the convergence speed of surfaces in FISMC is much faster than ISMC’s. This is also notable form surfaces shown in Figure 11. Meanwhile, the values of are decreasing progressively one by one as well as for the reason that surfaces are iterative. It further explains why fuzzy iterative sliding mode control can maintain better stability, accuracy, and especially rapidity than traditional sliding mode control with only one sliding surface.

4.2. Simulation under Environmental Disturbances

In this part, simulation is carried out under the environmental disturbance which is added from multiple directions in 3D space. Referring to formula (1), the decomposed force and moment can be described as

The time-varying disturbances which are an 11-ton force at maximum occur in the process of rising stage, 100 ~ 200 s, and steady state, 1200 ~ 1300 s. Compared with ideal conditions, simulation under environmental disturbances achieves better testing of three different controllers.

Glancing at Figure 12, paths differ from the paths shown in Figure 5, particularly in the stage of adding disturbances. To analyze the performance of the controllers, Figure 13 should be paid closer attention to.

Making a comparison with Figures 16 and 11, the approaching time is delayed for 20 s, and the overshoots of the PID controller increase. After all, there is a disturbance appended to the AUV body. Great differences can be noticed from the process of adding disturbances the second time. All three controllers are not able to avoid oscillations, but the performances are different from each other. In the PID controller, although its oscillation is approximately one time, it has the maximum deviation, 50 m in the lateral direction and 10 m in the vertical direction. Also, FISMC owns a lower number of oscillation with smaller deviation than ISMC. In the end, the minimal errors of the steady state appear in FISMC, not ISMC or PID.

4.3. Simulation under Different Initial Conditions

It can be basically estimated that FISMC provides the best performance when applying for path following of the AUV with large inertia. But in many cases, the AUV cannot start at zero initial conditions. For example, the initial heading angle of the AUV may not be zero absolutely. This comes to a question: If the special AUV is with the different initial heading angle, , will the performances in one and the same controller be without distinction? Figures 1416 explain the answer.

Figure 14 shows different actual paths of the AUV in the PID controller. It is obvious that different make a great difference in path following control. In spite of , the error of the steady state in the horizontal plane is about 40 m marked in blue color; there is no need to consider other bigger .

As Figure 15 explained, many simulation results prove the robustness of sliding mode control. With multiple initial heading angles , actual paths in ISMC are different more or less. Even if which means the direction of the AUV is completely opposite with , the ISMC can adjust the AUV to follow the desired path. As is shown, overshoots exist in the actual paths when is big enough.

And making further improvement, the simulation used FISMC are carried out to be in contrast with ISMC. In Figure 16, the blue line is the path adopting FISMC and the red line is the path controlled by ISMC. It is clear that the overshoot disappears although there is a small amplitude oscillation. The performance has been markedly improved on the foundation of ISMC.

In general, applying fuzzy iterative sliding mode control to the special AUV with a large scale, large inertia, and high speed, the performance can be guaranteed. Particularly when considering environmental disturbances and different initial state, the advantages of FISMC are evidently demonstrated.

5. Conclusion

This paper presented a novel fuzzy iterative sliding mode control scheme for the mentioned AUV. On the basis of previous research, the modeling of the AUV is introduced firstly, along with a problem formulation. Guidance laws for path following are then proposed applying the line-of-sight scheme. In this way, iterative sliding mode controller can be designed. Meanwhile, considering the self-adaptability of the control parameters, fuzzy logic is added on ISMC and then to form the FISMC. Finally, the robustness and self-adaptability of FISMC are verified through representative simulations. The AUV is able to complete path following while it is under environmental disturbances and various initial states.

Focusing on the results, the FISMC method can be applied to an underactuated vehicle with large-scale, large-inertia, and high-speed characters, in 2D and 3D path following, such as autopilot of oil tankers and cargo ships.

Data Availability

Partial data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.