Abstract
Sliding Mode Controllers are very resistant against parameter alterations and external disturbances. However, major drawbacks of such controllers are chattering and high vulnerability to noise. In this paper, a novel reaching law for sliding mode controllers with an adaptive gain is proposed which eliminates the aforementioned drawbacks from the input signal of the system. In the proposed reaching law, a continuous term is used instead of a discrete traditional sign function. A large gain for the sliding mode is needed to satisfy the reaching condition, and a small gain for the sliding mode is needed to avoid the chattering phenomenon. To overcome this problem an adaptive gain has been incorporated into the proposed controller which adapts based on the variation of the sliding surface. The proposed controller with the new reaching law not only drives the system trajectory to the desired trajectory, but also it guarantees the time reaching is limited. The performance of the proposed controller demonstrates its superiority against the previous methods reported in the literature. Additionally, the proposed controller is not vulnerable to the applied noise. Simulation results show efficiency of the proposed controller.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Autonomous underwater vehicles (AUVs) are playing a vital role in underwater exploration allowing humans to explore great depths. Trajectory tracking of an AUV along a desired path is an important task. It is difficult to develop a controller for an AUV in presence of uncertainties, disturbances and noise. Under these hardships, this paper focuses on developing a new control law for trajectory tracking for an AUV in the horizontal plane.
Sliding mode controller (SMC) is a powerful nonlinear controller to control uncertain and nonlinear systems with external disturbances, so many authors interested in the SMC method in trajectory tracking control problems and applied it to control underwater vehicles [1,2,3,4,5,6]. Pure sliding mode controller has disadvantages such as chattering and being too vulnerable against noise. Some ways to reduce chattering are reported in the literature such as Boundary Layer Control (BLC) [7, 8], Adaptive Boundary Layer method [9], Dynamic Sliding Mode Control (DSMC) [10], and High Order Sliding Mode Control (HOSMC) [11].
One other way to overcome chattering phenomenon is reaching law approach. It first was introduced by Gao and Hung [12]. In [12], three reaching law methods were proposed: (1) constant rate reaching law which consists a real, positive constant gain and a sign function, (2) constant plus proportional rate reaching law which is the constant rate reaching law plus a term of switching function with a constant gain, (3) power rate reaching law is based on a power of absolute of switching function and the sign function in which the power of absolute of switching function is between the open interval 0–1. A generalized algorithm is first researched in [13] for reaching and being boundedness of sliding variable. A new reaching law has been proposed in [14] for the discrete-time SMC in which the proposed reaching law guarantee smaller width of the quasi sliding mode domain and simultaneously it can decrease the reaching time.
Combining adaptive controller and sliding mode controller lead to adaptive sliding mode control and it has been widely used in underwater vehicles [15,16,17,18]. In [15], an adaptive non-singular integral sliding mode control is designed for trajectory tracking problem in AUVs. This controller can eliminate the singularity problem in conventional terminal SMC, and it does not require to the bound information of the lumped system uncertainty. An adaptive sliding mode control is used to control the voltage of thrusters of an underwater robot in [16]. They use an adaptive learning method based on the local recurrent neural network for unknown function item and they propose a switch gain adjust method based on exponential function to guarantee trajectory tracking error is uniformly bounded. In [17] an adaptive fuzzy sliding mode control for remotely operated underwater vehicles has been designed. This controller was used to deal with the stabilization and trajectory tracking problems in presence of disturbances which can arise in the subaquatic environment, and uncertainties in hydrodynamics coefficients of the system. An adaptive sliding mode based control allocation has been proposed for accommodating simultaneous actuator faults in [18]. The control method includes a low level module and the high level module in which the control gains for high level sliding mode control is adjusted by the adaptive scheme. Also it can reconfigure the distribution of control signals which eliminates the effect of virtual control error generated by the low-level control module.
In this paper we propose a novel controller for the trajectory tracking control of an underwater robot in the horizontal plane. We modify the reaching law and use an adaptive gain in the sliding mode control. In the presented reaching law, a continuous term is used instead of the discrete sign function. To avoid selection of big constant gain, which is one of the factors causing chattering, the gain of controller is selected adaptively. The stability analysis is survived based on a theorem as well as by another theorem it is proved that the reaching time is finite.
Main contributions of this paper are as follows:
-
1.
By modifying the reaching law, the chattering problem and vulnerability to noise are eliminated.
-
2.
Since the reaching law control comes into action when the variables are separated from the sliding surface, adaptive gain is used in order to select the gain in accordance with error and dynamic of error, this means that by selecting the gain of controller adaptively, the selection of the constant gain by means of trial and error method is avoided.
-
3.
There is no any sign function in the control law. Therefore the chattering problem and vulnerability to noise are eliminated.
-
4.
Proposed method is compared with two methods and it has better results than them.
-
5.
A theorem is stated to prove the stability of proposed method, also we state another theorem to prove that the reaching time is finite.
This paper is organized as follows: In Sect. 2, the horizontal plane equations and the mathematical model of an AUV are presented. The controller design are discussed In Sect. 3. In Sect. 4 the simulation results are presented followed by a conclusion in Sect. 5.
2 A two dimensional model of an AUV
In this section, the problem of tracking of an AUV in the horizontal plane is considered. Two rudders in front and rear side of the vehicle are used as the control inputs. A schematic diagram of the system under consideration is shown in Fig. 1. According to [19, 20], the equations of motion in the horizontal plane are described as follows,
where \( v \) and \( r \) are relative sway and yaw velocities of the moving vehicle with respect to water. \( Y \) and \( N \) represent the total excitation sway force and yaw moment, respectively. \( x_{G} \) is the coordinate of the vehicle center of gravity in the body fixed local frame, and \( m \) and \( I_{z} \) are the vehicle mass and mass moment of inertial. Equations (1) and (2) describe the complete model of the vehicle in the horizontal plane.
Remark 1
According to [21], the drag related terms \( d_{v} \left( {v,r} \right) \) and \( d_{r} \left( {v,r} \right) \) are very small, and then, these terms can be ignored. It is noticed that all values have been normalized [20].
For control purposes, (1) and (2) must be solved with respect to \( \dot{v} \) and \( \dot{r} \). On the other hand, the set of equation of motions are described as follows,
where \( a_{ij} \) and \( b_{ij} \) are the related coefficients that appear when solving (1) and (2) and they include at least two hydrodynamic coefficient, such as \( Y_{{\dot{v}}} , Y_{{\dot{r}}} , N_{{\dot{v}}} , N_{{\dot{r}}} , \ldots \)
3 Controller design
-
A.
Review of Boundary layer Sliding Mode Control
Consider the following nonlinear state space equation which describes equation of motion of an AUV [8],
where
is the state vector. Suppose that \( X_{d} = \left[ {x_{d} , \dot{x}_{d} , \ldots , x_{d}^{{\left( {n - 1} \right)}} } \right]^{T} \) is the desired state (desired trajectory), and the error vector is defined as,
where
Sliding surface can be defined as,
And control law is defined as,
where \( u_{eq} \) is the equivalent control law and \( u_{r} \) is the reaching law. Then, the tracking errors are defined by,
It should be noted that \( e_{1} = \tilde{y} \) and \( e_{2} = \tilde{\psi } \). For extracting the control law, substitution of (3) and (4) in the second time derivative of (5) and (7) results,
Now (16) and (17) can be rewritten in the following vector form as in [20],
where \( \ddot{N} = \left[ {\ddot{y}, \ddot{\psi }} \right]^{T} \), \( X = \left[ {v, r} \right]^{T} \) and \( U = \left[ {\delta_{s} , \delta_{b} } \right]^{T} \). It is important to say that in Eq. (18). Equations (16) and (17) include nonlinear terms and are based on the acceleration terms. To obtain reaching control law, we define the following sliding surface \( s_{1} \) and \( s_{2} \),
According to (14) and (15), we have,
where
are the reference signals equations. By defining the vectors \( S = \left[ {s_{1} , s_{2} } \right]^{T} \) and \( \ddot{N}_{r} = \left[ {\ddot{y}_{r} , \ddot{\psi }_{r} } \right]^{T} \) and by differentiating with respect to time we have,
For BLC, the following control law is derived by (13) (see [8]),
By defining \( u_{r} = - \left[ {\begin{array}{*{20}l} {b_{11} u^{2} cos\psi } \hfill & {b_{12} u^{2} cos\psi } \hfill \\ {b_{21} u^{2} } \hfill & { b_{22} u^{2} } \hfill \\ \end{array} } \right]^{ - 1} K{\text{sat}}\left( {\frac{S}{\Phi }} \right) \) and \( {u_{eq} = \left[ \begin{array}{*{20}l} {b_{11} u^{2} cos\psi } \hfill & {b_{12} u^{2} cos\psi } \hfill \\ {b_{21} u^{2} } \hfill & {b_{22} u^{2} } \hfill \\ \end{array} \right]^{ - 1}} \Bigg( \ddot{N}_{r} - \Bigg[ \begin{array}{*{20}l} {a_{11} ucos\psi - rsin\psi } \hfill & {ucos\psi + a_{12} ucos\psi } \hfill \\ {a_{21} u} \hfill & {a_{22} u} \hfill \\ \end{array} \Bigg] \Bigg[ \begin{array}{*{20}c} v \\ r \\ \end{array} \Bigg] \Bigg), \) the control law can be rewritten as \( U = u_{r} + u_{eq} \). where \( {\Phi } \) is the boundary layer thickness and \( K = diag\left( {k_{i} } \right), \) and \( k_{i} > 0 \) is constant. We consider \( i = \left\{ {1,2} \right\} \) for motion equation in the horizontal plane. The saturation function is defined as [8, 22],
This method uses the high gain in the control law to reduce chattering which may cause instability in the boundary layer. In order to maintain in the attract condition in the worst case, the following inequality must be held [22]
where \( F_{0} \) and \( G_{0} \) represent the nominal value of \( F \) and G in (8), respectively. In the next part the proposed adaptive control law is presented.
-
B.
Designing the Proposed Adaptive Sliding Mode Control
The major disadvantage of controller law (23) is chattering and massive vulnerability against the noise. In the proposed method by using a new reaching law and applying the adaptive gain in the sliding mode control, these problems are eliminated from the input signal. We use the continuous term instead of sign function in the reaching law. The proposed reaching law has the following form,
where K is the positive gain, β and α and ε are positive constants. We use proposed reaching law (26) into (13) with \( u_{eq} \) to obtain the proposed controller as,
The parameter \( K \) can be found by an adaption law, so the proposed adaptive sliding mode control law is rewritten as follow,
where \( \hat{K} \) is the estimation of \( K \), and the adaptation law is,
where \( \omega \) is a positive constant. Due to external disturbance, noise and uncertainties in the system dynamics, states may be separated from surface and chattering to be created, so an adaptive gain of the controller is obtained based on the states errors and the dynamics of errors. To avoid selection of a big constant gain, which is one of the factors causing chattering, the gain of controller is selected adaptively. Thus, the controller is not vulnerable to noise since there is no sign function in the proposed controller. By using a sign function in BLC, the boundary layer of sliding mode control is too vulnerable to noise and gives a very close measurement value to zero. Accordingly, chattering starts near the sliding surface using a sign function. However, the problem of vulnerability to noise is resolved in the proposed controller. The control law not only must guarantee the stability of the closed loop system, it also must guarantee that the reaching time is limited.
Theorem 1
By applying the proposed controller (28) on the system Eqs (18), closed loop control system is stable and the estimated parameter\( \hat{K} \)asymptotically converges to K.
Proof
Consider the following new Lyapunov function,
Differentiating with respect to time results,
According to (22),
Substituting (33) in (31) results,
It is concluded that \( \dot{V} \) is negative, so the proposed control law can stabilize the closed loop system and \( \hat{K} \) can converge to \( K \).
Theorem 2
The proposed controller (28) with adaptive gain in (29) guarantees that the reaching time (\( t_{reach} \)) is limited.
Proof
Integrating both side of (33) results,
Since \( S\left( {t_{reach} } \right) = 0 \), then
Then it is concluded that \( t_{reach} \) is limited. It means that the proposed reaching law ensures the sliding surface \( S = 0 \) can be reached, so from Theorem 1 the states of the system move to the sliding surfaces in finite time and the tracking errors reach zero in a finite time. In the next section the proposed controller with the new reaching law is compared with the reported reaching law in [23] which is shown below,
where k1, k2 and s0 are positive constants. It is stated in [23] that the second term in (37) is added because the state convergence to the sliding surface is ensured. By combining (13) and (37) \( u_{eq} \), the sliding mode control with the reaching law in [23] is obtained as,
4 Simulation results
In this section the performance of the proposed controller is compared with sliding mode with the boundary layer control. Note, in the simulations, all values have been normalized. However, time has been non-dimensionalized. Thus, one second represents the time that it takes to travel one vehicle length [20]. AUV parameters are considered listed in Table 1.
\( \lambda = 5, \omega = 3, \varepsilon = 0.05, \alpha_{1} = 0.05, \alpha_{1} = 1, \beta_{1} = 0.1,\beta_{2} = 0.2 \). In order to consider parameter alterations, it is assumed that the changes are sinusoidal with a relatively low frequency. It is assumed the parameter \( p \) varies according to [19, 20] as follows,
where \( \omega = 0.5 \) and \( \frac{a}{p} = 50\% . \) It is assumed that the disturbance is a step wave with amplitude of 0.5, being active between 5 and 10 s. A white Gaussian noise with signal-to-noise ratio of 40 dB per sample is also considered. Assume the desired trajectories are \( \left[ {y_{d} , \psi_{d} } \right] = \left[ {2{ \sin }t,\, { \sin }t} \right] \). In the simulations, parameters of the BLC \( \Phi = 0.1 \), \( \lambda_{1} = \lambda_{2} = 5 \) and \( k_{1} = k_{2} = 8 \) are considered. The simulations are performed in the presence of parameter uncertainties and external disturbances. The initial conditions are considered to be, \( \psi \left( 0 \right) = - \pi /6 \) and \( y\left( 0 \right) = 0.8 \).
Two cases are considered for the controller based on the method which is proposed in [23]:
- Case 1 :
-
\( k_{1} = 6, \quad k_{2} = 1,\quad s_{0} = 0.1 \)
- Case 2 :
-
\( k_{1} = 15, \quad k_{2} = 0.2, \quad s_{0} = 1. \)
Case 2 is considered to show decreasing the amplitude of chattering in control signal and to show increasing the convergence rate to desired trajectory than the Case 1.
A comparison result of the tracking performance of the proposed controller, the controller in (38) (reported in [23]), and the BLC are shown in Figs. 2 and 3, respectively. At first, consider Case 1 for the method reported in [23]. In Fig. 2, it can be seen that the actual output in the proposed method in this paper can track the desired trajectory faster than the method in [23] (it is specified with black rectangular in Fig. 2). The sway motion \( y \) in the BLC method in Fig. 3 converges the desired trajectory faster than the method in [23] and the proposed method. The control inputs (\( \delta_{r} ,\delta_{b} \)) for the proposed controller, the controller reported in [23] and the BLC are represented in Figs. 4, 5 and 6, respectively. As can be seen in Fig. 6, a high amplitude chattering is observed (it is distinguished with red ellipse in Fig. 6) whereas there is not any chattering in the proposed adaptive sliding mode controller in the Fig. 4. As it can be seen in Fig. 5, due to a sign function shown in (38) the chattering is unavoidable.
Now consider Case 2 to decrease the amplitude of chattering in control signal in [23], and the relevant simulation results are shown in the Figs. 7 and 8. Comparing Figs. 2 and 7, it can be seen that the convergence rates of the sway motion \( y \) and the yaw motion \( \psi \) in [23] in the Case 2 are faster than those of in the Case 1. According to Fig. 8 the controller reported in [23] has a lower chattering amplitudes in comparison with Case 1 in Fig. 5. The simulation results for the estimation of the gains are shown in Fig. 9. As shown in Fig. 9, the gains of the proposed controller in this paper are less than the gains of BLC and the controller reported in [23].
Comparing the results demonstrated in Figs. 2, 3, 4, 5, 6, 7, 8, and 9, it is noticeable that the proposed method has a better performance with a less gain value than the method reported in [23] and the BLC. Finally, the performance of the three methods are compared in the presence of the output noise. As can be seen in Fig. 10, the proposed controller is superior to the other two methods and is less vulnerable to noise. The vulnerability to noise in the method reported in [23] is less than the BLC method.
5 Conclusion
In this paper we proposed a new adaptive sliding mode controller for trajectory control of underwater robot in the horizontal plane. The proposed method has been compared with two other methods reported in the literature, BLC and the SMC with the reaching law reported in [23]. An adaptive continuous term has been proposed in this paper instead of using a sign function and an adaptive law for estimating the gain of proposed reaching law. Stability and being limit reaching time of the proposed method are proved. In comparing with the other methods, proposed controller is not vulnerable to noise because it does not have the sign function. To show efficiency of the method, parametric uncertainty, noise and external disturbance are considered in the system. In the proposed controller, the control signal has no chattering. Two cases are considered for the method in [23] and it is shown that the proposed method can lead to desired performance with the less gain value than the method in [23] and the BLC method.
References
Xu J, Wang M, Qiao L (2015) Dynamical sliding mode control for the trajectory tracking of underactuated unmanned underwater vehicles. Ocean Eng 105:54–63
Soylu S, Buckham BJ, Podhorodeski RP (2008) A chattering-free sliding-mode controller for underwater vehicles with fault-tolerant infinity-norm thrust allocation. Ocean Eng 35:1647–1659
Kim M, Joe H, Yu S (2015) Integral sliding mode controller for precise maneuvering of autonomous underwater vehicle in the presence of unknown environmental disturbances. Int J Control 88:2055–2065
Wang Y, Gu L, Gao M, Zhu K (2016) Multivariable output feedback adaptive terminal sliding mode control for underwater vehicles. Asian J Control 18:247–265
Cheng J, Yi J, Zhao D (2007) Design of a sliding mode controller for trajectory tracking problem of marine vessels. IET Control Theory Appl 1:233–237
Joe H, Kim M, Yu SC (2014) Second-order sliding-mode controller for autonomous underwater vehicle in the presence of unknown disturbances. Nonlinear Dyn 78:183–196
Chen MS, Chen CH, Yang FY (2007) An LTR-observer-based dynamic sliding mode control for chattering reduction. Automatica 43:1111–1116
Slotine JJE, Li W (1991) Applied nonlinear control. Prentice-Hall, Englewood Cliffs
Chen MS, Hwang YR, Tomizuka M (2002) A state-dependent boundary layer design for sliding mode control. IEEE Trans Autom Control 47:1677–1681
Yan X-G, Spurgeon SK, Edwards C (2005) Dynamic sliding mode control for a class of systems with mismatched uncertainty. Eur J Control 11(1):1–10
Valenciaga F, Fernandez RD (2015) Multiple-input–multiple-output high-order sliding mode control for a permanent magnet synchronous generator wind-based system with grid support capabilities. IET Renew Power Gener 9:925–934
Hung JY, Gao W, Hung JC (1993) Variable structure control: a survey. IEEE Trans Ind Electron 40:2–22
Chakrabarty S, Bandyopadhyay B (2015) A generalized reaching law for discrete time sliding mode control. Automatica 52:83–86
Ma H, Wu J, Xiong Z (2017) A novel exponential reaching law of discrete-time sliding-mode control. IEEE Trans Ind Electron 64:3840–3850
Qiao L, Zhang W (2017) Adaptive non-singular integral terminal sliding mode tracking control for autonomous underwater vehicles. IET Control Theory Appl 11:1293–1306
Zhang MJ, Chu ZZ (2012) Adaptive sliding mode control based on local recurrent neural networks for underwater robot. Ocean Eng 45:56–62
Bessa WM, Dutra MS, Kreuzer E (2010) An adaptive fuzzy sliding mode controller for remotely operated underwater vehicles. Rob Auton Syst 58:16–26
Wang B, Zhang Y (2018) An adaptive fault-tolerant sliding mode control allocation scheme for multirotor helicopter subject to simultaneous actuator faults. IEEE Trans Ind Electron 65:4227–4236
Haghi P, Naraghi M, Sadough Vanini SA (2007) Adaptive position and attitude tracking of an AUV in the presence of ocean current disturbances. In: IEEE international conference on control applications, Singapore, Singapore, pp 741–746
Haghi P (2009) Nonlinear Control methodologies for tracking configuration variables. In underwater vehicles, INTECH Open Access Publisher, London, pp 153–172
Yuh J (1995) Underwater robotic vehicles: design and control. TSI press, New York
Manamanni N, Hamzaoui A, Essounbouli N (2003) Sliding mode control with adaptive fuzzy approximator for MIMO uncertain systems. In: European control conference, Cambridge, pp 59–64
Bartoszewicz A (2015) A new reaching law for sliding mode control of continuous time systems with constraints. Trans Inst Meas Control 37:515–521
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Ramezani-al, M.R., Tavanaei Sereshki, Z. A novel adaptive sliding mode controller design for tracking problem of an AUV in the horizontal plane. Int. J. Dynam. Control 7, 679–689 (2019). https://doi.org/10.1007/s40435-018-0457-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40435-018-0457-4