Abstract
In this paper, a highly non-linear model with six degrees of freedom (DOF) is used for the manoeuvring and depth control of an autonomous underwater vehicle (AUV). A simplified scheme to design a conventional fuzzy logic controller known as robust Proportional Derivative (PD)-like Fuzzy Controller (PD-FZ) is designed separately for diving and steering subsystems of an AUV and then applied for combined steering, diving and speed control functions. Simulation results are shown by using the slender form of the Naval Post-Graduate School (NPS, Monterey, CA) AUV. Results of simulation studies using a nonlinear AUV dynamics are presented under the presence of any bounded ocean currents or wave disturbances and results show that proposed controller gives robust performance against these disturbances and modeling nonlinearity. Waypoint acquisition based on line of sight guidance is used to achieve path tracking.
Keywords
Introduction
Autonomous underwater vehicles (AUVs) are robotic devices which travel underwater to perform a set of predefined tasks namely inspection, recovery, sample collection, cable laying etc. without human operator intervention through the help of accurate guidance, navigation and control (GNC) schemes. The application of AUVs range from commercial purposes like mapping of ocean floors by oil companies and post-lay pipeline survey to research and military operations like surveillance, anti-submarine warfare and mine detection. It is well known that, underwater vehicles are very difficult to control due to the highly non-linear dynamics, time-varying dynamic behaviour and variations in the hydrodynamic coefficients with different operating conditions. The environmental disturbances like wind generated waves and ocean currents makes the motion control of an AUV a more challenging [1]. In addition, there are six DOF of the motion of an AUV and nonlinear coupling among them, making control design even more complicated. Though the dynamics of an AUV is highly coupled and non-linear in nature, decoupled control system strategy is widely used for practical applications [2]. In this approach, decentralized control strategy can be used as its simplifies designing and tuning of individual loop controllers than a centralized controller [3]. The 6-DOF non-linear equations of motion of an AUV can be decomposed into three non-interacting (or lightly interacting) subsystems for speed, steering and diving control as suggested in [4]. A number of control strategies, developed over a period of time to control the dynamics of the AUV can be found in the literature. Due to inherent non-linearities in the dynamic model of an AUV, conventional linear controllers such as PD/PID might not ensure satisfactory control performance. This problem can be handled very well by non-linear controllers such as sliding mode control, robust and adaptive control, fuzzy logic control, neural network control and hybrid controls like neuro-fuzzy.
The state-of-the-art literature review of the aforementioned control techniques are explained as follows: Initially, Yoerger and Slotine [5] proposed a series of SISO sliding mode continuous-time controllers for trajectory tracking control of an underwater vehicle. Later on in 1991, Yoerger and Slotine [6] discusses how adaptive sliding mode control can be applied to experimental underwater vehicle. Then, Cristi et al. [7] proposed an adaptive sliding mode controller for AUV in the diving plane based on the dominant linear model with bounds of the nonlinear dynamic perturbations. A successful implementation of multivariable sliding mode autopilot design have been reported for the combined control of AUV steering, depth and speed during complex flight maneuvers in [4, 9]. In the similar way, the problem of controlling motion of an AUV in diving and steering planes has been addressed by Rodrigues et al. [10]. In order to ensure the real-time applicability of the continuous SMC, a discrete-time quasi-sliding mode control was proposed in [11] for depth control of an experimental AUV with the uncertainties of system parameters and with a long sample interval. In [12], a higher order sliding modes for diving control a torpedo autonomous underwater vehicle was designed to improve the performance of conventional SMC. Recently, a discrete time quasi-sliding mode control [13] and time optimal trajectory design [14] has been proposed and applied to control of underwater vehicle. However control design based on sliding mode requires accurate mathematical model of underwater vehicle. Moreover in practical scenario, the dynamics of an AUV is time-varying due to unstructured nature of the ocean environment. In order to deal with such situations, a robust and adaptive control methods has been proposed by many researchers. Firstly, an adaptive control was proposed in [15] to deal with time-varying dynamics of the vehicle. Fault-tolerant control of AUV under thruster redundancy has been proposed in [16]. K.D. Do et al. [17] proposes a nonlinear robust adaptive control strategy to control underactuated underwater vehicle with only four actuators to follow a predefined path at a desired speed despite of presence of environmental disturbances and vehicle’s unknown physical parameters. Furthermore nonlinear path-following control [18], robust trajectory control using time-delay approach [19], adaptive control using integral actions [15] for 6-DOF control of AUVs has been successfully designed. Also dynamic positioning and trajectory tracking control of under-actuated AUVs were attempted in [20–22]. Even though the control performance of the above mentioned robust and adaptive control methods are quite acceptable under the effect of external disturbance and time-varying dynamics of the AUV, it involves complexity in designing and tuning of a controller. An alternative choice to deal with this is to use of intelligent control techniques such as fuzzy logic and neural network control. The partial knowledge about the system dynamics will be sufficient to design a controller. S.M. Smith et al. [23] firstly designed a fuzzy logic controller’s for heading, pitch, and depth planes control of an AUV. Recently, a fuzzy control has been successfully designed by many researchers for depth control [24, 25] and steering control [26]. A simplified approach to design fuzzy controller known as single-input FLC has been suggested in [27, 28], which improves computational efficiency of the conventional FLC. Likewise neural network controller [29–33] and hybrid controls like neuro-fuzzy [34–36] has been developed for motion control of an AUV. However, in neural network control, training time is unpredictable and may not be suitable for real-time control.
The combination of PI, PD, PID and fuzzy logic controllers results in dynamic fuzzy controller structure which gives better control performance and simple control structure [37]. It is very difficult to find exact mathematical model of an AUV due to dynamics are highly non-linear, time-varying and coupled. Another problem in AUV is to measure or estimate the hydrodynamic coefficients accurately which is again difficult due to these coefficients varies with the environmental disturbances. Due to these problems designing a control techniques for an AUV becomes very challenging. Considering all this facts, a PD-like fuzzy controller (PD-FZ) is designed separately for diving and steering subsystems of an AUV and then applied for combined steering, diving and speed control functions in this paper. Fuzzy logic control (FLC) may be the best choice in such situations since it is model free approach and able to adopt the hydrodynamic uncertainties and non-linearities in the AUV dynamics. The main advantage of FLC is that, it can be applied to plants that are difficult to model mathematically or not so well defined. The FLC can be designed for such plants based on heuristics rules reflecting experience of a human expert [38]. The proposed PD-FZ controller has simple control structure which gives better sensitivity and increases the overall stability of the closed loop system. Also this structure provides reduce overshoot and add damping to the overall closed loop system [37, 39]. The non-linearities of the system can be handled by appropriate choice of input and output membership functions (MFs).
The input and output scaling factors (SFs) of the PD controller need to be tuned properly for its optimum performance. This problem can handled by proper designing of rule base structure. In this paper, a general robust rule base is used for robust control performance, which greatly reduces the difficulties in tuning of the input and output scaling factors (SFs) of the PD controller [37]. The objective of this paper is to describe how to design and apply PD like-fuzzy controller (PD-FZ) for combined steering and diving control functions of an AUV. An efficient and simple scheme for way-point acquisition knows as, Line-of-Sight (LOS) guidance law has been used for generating reference trajectories for heading and diving planes. To verify the effectiveness of the proposed control scheme, simulation of Naval Post-Graduate School’s (NPS) AUV II is carried out under various environmental disturbances. The control performance of proposed PD-FZ controller is compared with sliding mode controller (SMC) proposed by Healey et al. [9]. The reason behind in this is that, most of researchers refereed this paper as the fundamental paper as it uses conventional SMC approach, which become most practical controller nowadays. Another reason is that we have used same AUV model which was used by Healey et al. However, SMC has chattering problem and also it requires exact mathematical model of an AUV. These issues are addressed by the proposed PD-FZ control scheme. Simulations results show that, proposed PD-FZ controller provides good immunity to external disturbances as compared to SMC.
The paper is organized in the following sequence. Section 2 describes a mathematical modeling of an AUV. Section 3 presents the PD-like fuzzy controller design. Stability analysis of PD-FZ controller is discussed in Section 4. Section 5 represents application of PD-FZ controller to an AUV. Simulation results are presented in Section 6, followed by the conclusion in Section 7.
AUV modeling
Background
The 6-DOF non-linear equations of motion of an AUV can be described with two co-ordinate frames; where one is moving co-ordinate frame X0Y0Z0 which is fixed to the vehicle, known as body-fixed frame and another is fixed co-ordinate frame, known as earth-fixed reference XYZ frame as indicated in Fig. 1. The motion of the body-fixed frame is described relative to an earth-fixed reference frame. The equations of motion of underwater vehicles are generally derived in the body coordinate frame as follows [40],
The mapping between the two co-ordinate systems is given by the Euler angle transformation given as
Healey and Marco (1992) [4] and Healey and Lienard (1993) [9] suggest that the 6-DOF linear equations of motion can be divided into three non-interacting (or lightly interacting) subsystems, grouping certain key motion equations together for separate function of speed, steering and diving control. Each system has following state variables: Speed system state: u (t). Steering system states: v (t), r (t) and ψ (t). Diving system states: w (t), q (t), θ (t) and z (t).
The rolling mode, that is, p (t) and φ (t) is left passive in this approach. This decomposition is motivated by the slender form of the Naval Postgraduate School (NPS, Monterey, CA) AUV, which is used as basis in this work. Fossen [40] suggest that the above three subsystems can be controlled by means of two single-screw propellers with revolution n (t), a rudder with deflection
PD-like fuzzy control design
Conventional PI, PD and PID controllers are widely used in industrial control loops worldwide because of their simple control structure, easy design and offers good control performance at acceptable cost [42]. However, these controllers might not ensure satisfactory control performance if the mathematical model of the controlled system is highly non-linear, subjected to parameter variations and time-varying. On the other hand, conventional fuzzy control is known as its ability to cope with non-linearities and uncertainties. Introduction of dynamic fuzzy controller structures with the aim of control system performance leads to PI-, PD- or PID-fuzzy controllers [39, 43–45]. In this paper, PD-FZ control designs for diving and steering control of an AUV system is presented.
The FLC uses experts knowledge to construct a set of linguistic control rules and then convert it into an automatic control. The objective of the PD-FZ controller is to make the vehicle to track a desired trajectory with minimum error. The desired trajectory is related to the corresponding displacements along the three axes, which is converted into desired yaw and pitch angles using LOS guidance law. Hence, tracking of the desired linear displacements and corresponding angular velocities are the main objectives of the PD-FZ controller. A nonfuzzy PD control law can be expressed as
Fuzzification involves a scale mapping between the range of values of input variables and corresponding universe of discourse. The error (e) and change of error () are two fuzzy input variables to the fuzzy controller as shown in Fig. 2. The control signal u is the output of PD-like fuzzy controller is to actuate the actuators of an AUV to control its motion. There are seven linguistic labels for e, and u. These are: Negative Large (NL), Negative Medium (NM), Negative Small (NS), Zero (Z), Positive Small (PS), Positive Medium (PM), Positive Large (PL) as a linguistic labels as shown in Fig. 3. The cross-point level of 0.5 degree is considered for every two adjacent membership functions, as it results in faster rise time and less settling time [48]. The values of the constant M is selected by the designer depending upon the ranges of inputs and output. Triangular or trapezoidal membership function is the simplest for the purpose of analysis as well as for implementation.
Rule base logic
The rules reflect the operational experience related to the system. The skilled operators experience is required for accurate development of rule base, which requires practical experience about the system for which controller is to be designed. Also, for optimum control performance, control rules, membership functions and scaling factors are need to be tuned properly. This is the fundamental problem in fuzzy logic control design [37, 47]. To overcome the difficulties in optimal control tuning, a standard phase plane techniques has been used for designing robust rule bases for PD-like fuzzy type control (PD-FZ) and PI-like fuzzy type control (PI-FZ) [47]. Generally steering and diving control requires PD-type control action for better performance in driving steering and diving plane of an AUV [2, 39]. Because the reason behind this is that, steering and diving system plane models of AUV has at least one pole at origin and if we use PI type control for such integrating plants, it will add one more pole to the closed loop system, which may leads to instability in the closed loop system. In such situations, PD type control is more appropriate choice. The rule base should be different for PI-FZ and PD-FZ control of their different control characteristics.
Fuzzy control rules are formed by analysing the behaviour of a controlled process. The control rules are derived in a such way that the deviation from a desired state can be corrected and the control objective can be achieved. A closed loop trajectory in phase plane analysis is used to justify the fuzzy control rules as shown in Fig. 4. A knowledge of time domain parameters like rise time, settling time, overshoot etc. with behaviour of the closed loop system are required for phase plane analysis. Fig. 4 shows change in phase plane trajectory with change in step response of a process which is to be controlled. The step response of the system can be roughly divided into eight areas say A1 to A8 and four sets of points, in which two cross-over sets of points say (b1, b2), (e1, e2) and two peak-valley sets of points say (c1, c2), (f1, f2) as shown in Fig. 4. The origin of the phase plane is considered as the equilibrium point of the system.
a) The sign of rules: The following meta-rules are used to determine the sign of the rule base. If both e and are zero, then u
k
= uk-1. If conditions are such that e will go to zero at a satisfactory rate, then u
k
= uk-1. If error e is not self-correcting, then following four sub-criteria can be used to determine the sign of rule base. Rules for two cross-over sets of points (b1, b2) and (e1, e2) are constructed in a such way that, it should prevents the overshoot or undershoot in the area of A2/A4 and A6/A8 respectively. Rules for peak-valley sets of points (c1, c2) and (f1, f2) are constructed in a such way that, it should speed up the response in the area of A1/A3 and A5/A7 respectively, when error e has large magnitude. Rules for area A1, A4, A5 and A8 should provides positive control signal (i.e. u > 0). Rules for area A2, A3, A6 and A7 should provides negative control signal (i.e. u < 0).
b) The magnitude of rules: The magnitude of rules can be find out from the following heuristic steps: At peak-valley points (c1, c2) and (f1, f2), rule for u0 is as,
The remaining rules To prevent any overshoot in the area A2/A4 and A6/A8
When in area A1 or A5 and A3 or A7
When in area A2 or A6 and A4 or A8
Based upon above heuristic knowledge, a general and robust rule base can be constructed to have PD type control characteristics. Table 1 shows a general PD-FZ control type rule base. Theoretically, the rule base can be tuned slightly for a optimum performance. Practically, this general rule base is robust enough for a wide range of applications [47]. The cell defined by the intersection of the first row and the first column represents a rule such as,
This rule base structure satisfies all properties for a set of rules such as completeness, consistency, continuity and interaction. Therefore it is refereed as the most stable rule base structure. The main advantage of this rule base is that the fuzzy controller can intuitively make a good response within a very short time without any prior knowledge about the system modeling.
Defuzzification
Defuzzification process converts fuzzy terms to quantifiable result (crisp value) which is required to actuate the final control element. The crisp control action is required for controlling the rudder and fin angle deflections. The Center of Area (COA) defuzzification technique is used here because it yields better steady-state performance [48]. The crisp output control action is defined as follows:
For stability analysis of PD-FZ controller, we assume that the desired state x d and its derivatives are bounded and are available to the controller.
Then,
where e = x d - x1, x1 = x t , .
Now, .
Let us denote, ,
We obtain . Hence, we require that . So, if e and have opposite signs, then it is necessary that c = 0. If e and are both positive, then c < - e. If e and are negative, then c > - e. If e = 0 and is negative, then c > 0. If e = 0 and is positive, then c < 0. ∀e and , then ∀c, we have . As PD-FZ control type rule base, as given in Table 1, satisfies all above conditions. Hence, the PD-FZ controller is stable.
As the dynamics of an AUV can be decoupled into steering and diving plane, two separate SISO PD-FZ controllers are designed for steering and diving control as shown in Fig. 5. Therefore the dynamics of an AUV can be controlled by two control inputs; the stern plane and rudder plane deflections and six output parameters; surge, sway, heave, roll, pitch and yaw. The effect of stern plane on the forward speed of the vehicle is neglected. Also, the forward speed control scheme is not discussed in this paper. During simulations of the vehicle, it is found that the relationships between stern and rudder planes are fairly separable and hence the control scheme could be simplified into two separate implementations [49]: i) control input as a rudder deflections δ r , with yaw (ψ), roll (φ), and sway (y) as a output parameters ii) control input as a stern plane deflections δ s , with depth (z), pitch (θ), and heave (w) as output parameters. Controller design for SISO system is easier than MIMO systems and tuning of individual SISO controllers is more convenient than MIMO controllers.
The heading ψ can be measured with a gimbaled flux-gate compass. In addition to this, the rate sensor can be used for yaw rate r measurement. The heading measurement will be sufficient for designing a controller, but by adding a rate measurement to the controller, we get a PD type approach [2]. The derivative action increases robustness by providing additional phase margin. A nonfuzzy PD control law for steering control can be expressed as
Similarly, PD-FZ controller is designed for diving subsystem. The depth z can be measured by a pressure sensor, the pitch angle θ by an inclinometer, and the pitch rate q by a rate sensor. A nonfuzzy PD control law for diving control can be expressed as
The efficacy of the controller architecture is evaluated through computer simulations of the set of non-linear equations of an AUV using MATLAB/SIMULINK environment. Line-of-Sight (LOS) guidance law is used for generating heading reference trajectories. A separate guidance mechanism is used for horizontal-plane motion and the vertical-plane motion, assuming that they are decoupled. The objective of the horizontal-plane guidance is to generate appropriate heading reference trajectories in order for the vehicle to converge to a straight line on the XY-plane and, similarly, the objective of the vertical-plane guidance is to generates pitch reference trajectories in order to converge to a straight line on the XZ-plane.
Therefore for horizontal-plane motion, we can define the LOS to be the horizontal plane angle (yaw) given by
Similarly, for vertical plane motion, the LOS to be the vertical plane angle (pitch) given by
To represent a more precise approximation to the ocean wave spectrum, the higher order wave transfer function approximation was proposed by Fung and Grimble [50], which is given as,
Throughout the simulation forward speed of the vehicle is kept constant as u = 0.8 m/s. Performance of proposed PD-FZ controller is compared with sliding mode controller (SMC) designed for same AUV model considered here by Healey et al. [9]. In first case, command signal for steering control subsystem is square wave type steering, which is depicted in Fig. 6. Ocean wave and current disturbances are introduced in the dynamics of the vehicle from t = 3000 s to t = 7000 s. Because of the high inertia of the vehicle, an ideal step change in the steering command signal is found to produce sluggish response and this could be seen in Fig. 6. However, proposed controller provides better performance as compared to SMC of Healey et al. It could be be seen that considerable oscillations are observed in control input due SMC of Healey et al., while proposed controller provides smoother control action as shown in Fig. 7 (b). The corresponding yaw angle error could be seen in Fig. 7 (a). It is to be noted that proposed controller has better immunity to external disturbances. Trapezoidal wave type depth command signal is given to the diving subsystem of the vehicle and its response is shown in Fig. 8. The proposed controller gives minimum pitch angle tracking error as compared to SMC of Healey et al., as shown in Fig. 9 (a) and to have exact tracking of depth, initially proposed control demands large control action as compared to SMC as shown in Fig. 9 (b). From the simulation results, it can be conclude that the proposed controller initially requires large control efforts in order to adapt un-modeled dynamics of an AUV since proposed control design does not depends on mathematical model of an AUV. The dynamics of the AUV has been modeled through rule base design. Once the proposed controller adapts the dynamics of the AUV, it gives optimum control performance against the parametric uncertainties and external disturbances.
The control performance of both the controllers are measured in terms of norm of the vector. The L2 (Euclidean) norm is considered for the analysis purpose and is defined as, (suppose consider for trajectory tracking errors)
The time histories of the norm of steering and depth tracking errors and the control input vectors and the steering and under uncertain working conditions are depicted in Figs. 10 and 11 respectively. From these results, it can be observed that, the norm given by the proposed controller immediately falls down to zero and provides smooth control efforts as compared to SMC controller. A quantitative analysis of the position tracking performance of an AUV given by the controllers in terms of average error (AE), root mean squares of error (RMS) and the L2 (Euclidean) norm were performed and can be find in Table 2. From this table, it is confirmed that the proposed control scheme gives minimum tracking errors in position and attitude tracking as compared to SMC controller. The second case considered here is triangular wave type steering command signal control and it seems to be practical case. This could be visualized in Fig. 12 and its corresponding yaw angle error and rudder angle deflections are shown in Figs. 13 (a) and (b) respectively. In this case also proposed controller also shows immunity to external disturbances as compared to SMC. The similar kind of triangular wave type diving control is shown in Fig. 14 and it shows better tracking performance by proposed controller. Its corresponding pitch angle error and stern plane deflections are shown in Fig. 15. In this case, the time histories of the norm of steering and depth tracking errors and the control input vectors under ocean current and wave disturbances are depicted in Figs. 16 and 17 respectively. It can be observed that the proposed controller better tracking performance with minimum control efforts as compared to SMC controller. It reveals that the PD-FZ performs better with less control efforts and less oscillations, which results in energy-efficient controller. This can be confirmed from a quantitative analysis of the position tracking performance of an AUV for this case as shown in Table 3. The view of X-Y-Z positional trajectory with higher order wave and ocean current disturbances can be seen in Fig. 18. It can be found that, proposed controller gives better tracking control performance against these disturbances as compared to SMC.
In this paper, a simplified scheme to design a conventional fuzzy logic controller known as PD-like fuzzy (PD-FZ) controller is presented for maneuvering control of an AUV. The feasibility of the proposed controller architecture is studied through computer simulations and shows robust performance over different environmental disturbances like ocean waves, time-varying ocean current etc., when designed separately for steering and diving motion control. A study of waypoint acquisition using a LOS guidance algorithm has shown that the scheme is robust, efficient and has simple structure. The proposed fuzzy logic controller has PD type control structure, which provides better sensitivity and increased stability of the closed loop system. A general robust rule base is used for fuzzy controller, which exhibits the PD type control characteristics. The proposed method eliminates the optimum tuning to the scaling gains, which greatly reduces the difficulties of design and tuning.
Footnotes
Acknowledgments
The authors wish to express their sincere thanks to the Naval Research Board, Directorate of Naval Research and Development, DRDO, Government of India, for funding the project (Sanction No. NRB-23B/SC/11-12).
