Keywords

22.1 Introduction

Robust path following is an issue of vital practical importance to the ship industry. For the path following problem, the main challenge is that most ships are usually equipped with one or two main propellers for surge motion control, and rudders for yaw motion control of the ship. There are no side thrusters, so the sway axis is not actuated. This configuration is mostly used in the marine vehicles [1]. Meanwhile, another challenge of path following issue is the inherent nonlinearity of the ship dynamics and kinematics with the uncertain parameters and unstructured uncertainties including external disturbances and measurement noise, etc. To overcome these challenges, many different nonlinear design methodologies have been introduced to the underactuated ships. By applying the Lyapunov’s direct method, two constructive tracking solutions were developed in Jiang [2]. In [35], the controllers were designed to force an underactuated surface vessel to follow a predefined path. The stability analysis was investigated relying on the Lyapunov’s direct method. A robust adaptive control scheme was proposed for point-to-point navigation of underactuated ships by using a general backstepping technique [6]. In [7], a simple control law was presented by using the novel backstepping and feedback dominance. Furthermore, the control design was verified using a model ship in a tank. By using intelligent control, Liu proposed a stable adaptive neural network algorithm for the path following of underactuated ship with parameters uncertainties and disturbances [8].

Motivated by these recent developments in path following of underactuated surface vessels, this paper presents an adaptive RBF neural networks control law. The stability analysis is performed based on the Lyapunov theory. The proposed controller can guarantee that all signals of the underactuated system are bounded. Numerical simulations are provided to validate the effectiveness of the proposed path following controller.

22.2 Problem Statements

Consider the path following problem of an underactuated surface vessel. Generally, for path following, the vessel is moving in the horizontal plane, the heave, roll, and pitch are normally neglected. The mathematical model of the underactuated surface vessel moving in three degrees of freedom can be described as [9]:

$$ \left\{ \begin{aligned} \dot{x} = & \,u\cos \psi - v\sin \psi \\ \dot{y} =& \,u\sin \psi + v\cos \psi \\ \dot{\psi } =& \, r \\ \dot{u} =& \,f_{u} \left( {u,v,r} \right) + {{\tau_{u} } \mathord{\left/ {\vphantom {{\tau_{u} } {m_{11} + {{b_{u} } \mathord{\left/ {\vphantom {{b_{u} } {m_{11} }}} \right. \kern-0pt} {m_{11} }}}}} \right. \kern-0pt} {m_{11} + {{b_{u} } \mathord{\left/ {\vphantom {{b_{u} } {m_{11} }}} \right. \kern-0pt} {m_{11} }}}} \\ \dot{v} = & \,f_{v} (u,v,r) + {{b_{v} } \mathord{\left/ {\vphantom {{b_{v} } {m_{22} }}} \right. \kern-0pt} {m_{22} }} \\ \dot{r} =& \,f_{r} (u,v,r) + {{\tau_{r} } \mathord{\left/ {\vphantom {{\tau_{r} } {m_{33} + {{b_{r} } \mathord{\left/ {\vphantom {{b_{r} } {m_{33} }}} \right. \kern-0pt} {m_{33} }}}}} \right. \kern-0pt} {m_{33} + {{b_{r} } \mathord{\left/ {\vphantom {{b_{r} } {m_{33} }}} \right. \kern-0pt} {m_{33}}}}} \\ \end{aligned} \right. $$
(22.1)

with \( f_{u} = {{m_{22} vr} \mathord{\left/ {\vphantom {{m_{22} vr} {m_{11} }}} \right. \kern-0pt} {m_{11} }} - {{d_{u} u} \mathord{\left/ {\vphantom {{d_{u} u} {m_{11} }}} \right. \kern-0pt} {m_{11} }} - \sum\nolimits_{i = 2}^{3} {d_{ui} \left| u \right|^{i - 1} {u \mathord{\left/ {\vphantom {u {m_{11} }}} \right. \kern-0pt} {m_{11} }}} \), \( f_{v} = {{ - m_{11} ur} \mathord{\left/ {\vphantom {{ - m_{11} ur} {m_{22} }}} \right. \kern-0pt} {m_{22} }} - {{d_{v} v} \mathord{\left/ {\vphantom {{d_{v} v} {m_{22} }}} \right. \kern-0pt} {m_{22} }} - \sum\nolimits_{i = 2}^{3} {d_{vi} \left| v \right|^{i - 1} {v \mathord{\left/ {\vphantom {v {m_{22} }}} \right. \kern-0pt} {m_{22} }}} \), \( f_{r} = {{\left( {m_{11} - m_{22} } \right)uv} \mathord{\left/ {\vphantom {{\left( {m_{11} - m_{22} } \right)uv} {m_{33} }}} \right. \kern-0pt} {m_{33} }} - {{d_{r} r} \mathord{\left/ {\vphantom {{d_{r} r} {m_{33} }}} \right. \kern-0pt} {m_{33} }} - \sum\nolimits_{i = 2}^{3} {d_{ri} \left| r \right|^{i - 1} {r \mathord{\left/ {\vphantom {r {m_{33} }}} \right. \kern-0pt} {m_{33} }}}, \, \left[ {b_{u} ,b_{v} ,b_{r} } \right]^{T} = R\left( \psi \right)^{T} \left[ {b_{x} ,b_{y} ,b_{\psi } } \right]^{T},\, R\left( \psi \right) = \left[ {\begin{array}{*{20}c} {\cos \psi } & { - \sin \psi } & 0 \\ {\sin \psi } & {\cos \psi } & 0 \\ 0 & 0 & 1 \\ \end{array} } \right] . \)

where \( x \), \( y \), and \( \psi \) are the surge displacement, sway displacement, and the yaw angle in the earth fixed frame, and \( u \), \( v \), and \( r \) are the velocities in surge, sway, and yaw, respectively. The constant parameters \( m_{jj} > 0 \), \( 1 \le j \le 3 \), denote the ship’s inertia and added mass effects. The positive terms \( d_{u} \), \( d_{v} \), \( d_{r} \), \( d_{ui} \), \( d_{vi} \), and \( d_{ri} \), \( i = 2,3 \), are given by the hydrodynamic damping in surge, sway, and yaw. \( \tau_{u} \) and \( \tau_{r} \) denote the available control inputs, respectively, the surge force and the yaw moment. \( b = \left[ {b_{x} ,b_{y} ,b_{\psi } } \right]^{T} \) denote the low frequency interference in the earth fixed frame, \( \dot{b} = 0 \).

We now define the path following errors in a frame attached to the path as follows [8]:

$$ \left( {x_{e} ,y_{e} ,\psi_{e} } \right)^{T} = R^{T} \left( \psi \right)\left( {x - x_{d} ,y - y_{d} ,\psi - \psi_{d} } \right)^{T} , $$
(22.2)

where \( \psi_{d} \) represents the desired yaw angle and was defined as \( \psi_{d} = \arctan \left( {{{y^{\prime}_{d} \left( s \right)} \mathord{\left/ {\vphantom {{y^{\prime}_{d} \left( s \right)} {x^{\prime}_{d} \left( s \right)}}} \right. \kern-0pt} {x^{\prime}_{d} \left( s \right)}}} \right) \), \( x^{\prime}_{d} = {{\partial x_{d} } \mathord{\left/ {\vphantom {{\partial x_{d} } {\partial s}}} \right. \kern-0pt} {\partial s}} \), \( y^{\prime}_{d} = {{\partial y_{d} } \mathord{\left/ {\vphantom {{\partial y_{d} } {\partial s}}} \right. \kern-0pt} {\partial s}} \); \( x_{d} \) and \( y_{d} \) denote the desired displacement in path of the vessel.

Assumption 22.1

The parameters of underactuated surface vessels such as \( m_{jj} \), \( d_{u} \), \( d_{v} \), \( d_{r} \), \( d_{ui} \), \( d_{vi} \), and \( d_{ri} \), \( 1 \le j \le 3 \), \( i = 2,3 \), are known.

Assumption 22.2

The reference path is regular, \( x_{d} \), \( \dot{x}_{d} \), \( \ddot{x}_{d} \), \( y_{d} \), \( \dot{y}_{d} \), \( \ddot{y}_{d}\), \( \dot{\psi }_{d} \) and \( \ddot{\psi }_{d} \) are all bounded.

Control objective: Under Assumptions 22.1 and 22.2, the objective of this paper is to seek the adaptive control laws \( \tau_{u} \) and \( \tau_{r} \) that force the vessel from the initial position and orientation to follow a reference path \( {\varvec{\Omega}} \).

22.3 Control Design

In this section, we develop an adaptive control law for underactuated surface vessels (22.1) with uncertain dynamics.

From (22.2), we have

$$ \left\{ \begin{aligned} \dot{x}_{e} =&\, u - u_{d} \cos \left( {\psi_{e} } \right) + ry_{e} \\ \dot{y}_{e} = &\,v + u_{d} \sin \left( {\psi_{e} } \right) - rx_{e} \\ \dot{\psi }_{e} = &\,r - rd \\ \end{aligned} \right. $$
(22.3)

where \( u_{d} = \bar{u}_{d} \dot{s} \), \( \bar{u}_{d} = \sqrt {x^{\prime 2}_{d} \left( s \right) + y^{\prime 2}_{d} \left( s \right)} \), \( r_{d} = \frac{{x^{\prime 2}_{d} \left( s \right)y^{\prime\prime 2}_{d} \left( s \right) - x^{\prime\prime 2}_{d} \left( s \right)y^{\prime 2}_{d} \left( s \right)}}{{x^{\prime 2}_{d} \left( s \right) + y^{\prime 2}_{d} \left( s \right)}}\dot{s} \).

We define

$$ u_{e} = u - \alpha_{u} ,\bar{\psi }_{e} = \psi_{e} - \alpha_{{\psi_{e} }} $$
(22.4)

where \( \alpha_{u} \) and \( \alpha_{{\psi_{e} }} \) are virtual controls of \( u \) and \( \psi_{e} \). Substituting (22.4) into (22.3) results in

$$ \left\{ \begin{array}{l} \dot{x}_{e} = \alpha_{u} + u_{e} - u_{d} \cos \left( {\psi_{e} } \right) + \Delta_{1} + ry_{e} \\ \dot{y}_{e} = v + u_{d} \sin \left( {\psi_{e} } \right) + \Delta_{2} - rx_{e} \\ \end{array} \right. $$
(22.5)

where \(\begin{aligned}\Delta_{1} & = - u_{d} \left( {\left( {\cos \left( {\bar{\psi}_{e} } \right) - 1} \right)\cos \left( {\alpha_{{\psi_{e} }} }\right) - \sin \left( {\bar{\psi }_{e} } \right)\sin \left({\alpha_{{\psi_{e} }} } \right)}\right), \\ \Delta_{2} & = u_{d} \sin \left( {\bar{\psi }_{e} } \right)\cos \left( {\alpha_{{\psi_{e} }} } \right) + \left( {\cos \left( {\bar{\psi }_{e} } \right) - 1} \right)\sin \left( {\alpha_{{\psi_{e} }} } \right) \end{aligned} \).

We choose the virtual control \( \alpha_{u} \) as

$$ \alpha_{u} = - k_{1} x_{e} + u_{d} \cos \left( {\alpha_{{\psi_{e} }} } \right) $$
(22.6)

where \( k_{1} > 0 \). The derivative of the path parameter \( s \) satisfies

$$ \dot{s} = {{\sqrt {u_{d0}^{2} + \left( {k_{2} y_{e} + v_{d} } \right)^{2} } } \mathord{\left/ {\vphantom {{\sqrt {u_{d0}^{2} + \left( {k_{2} y_{e} + v_{d} } \right)^{2} } } {\bar{u}_{d} }}} \right. \kern-0pt} {\bar{u}_{d} }} $$
(22.7)

where \( k_{2} > 0 \), \( v_{d} \) is the filter of \( v \), \( v_{e} = v - v_{d} \). From (22.7), we have

$$ u_{d} = \sqrt {u_{d0}^{2} + \left( {k_{2} y_{e} + v_{d} } \right)^{2} } $$
(22.8)

We choose the virtual control \( \alpha_{{\psi_{e} }} \) as

$$ \alpha_{{\psi_{e} }} = - \arctan \left( {{{\left( {k_{2} y_{e} + v_{d} } \right)} \mathord{\left/ {\vphantom {{\left( {k_{2} y_{e} + v_{d} } \right)} {u_{d0} }}} \right. \kern-0pt} {u_{d0} }}} \right) $$
(22.9)

Substituting (22.6), (22.7), and (22.9) into (22.5), we have

$$ \left\{ \begin{array}{l} \dot{x}_{e} = - k_{1} x_{e} + u_{e} + \Updelta_{1} + ry_{e} \\ \dot{y}_{e} = - k_{2} y_{e} + v_{e} + \Updelta_{2} - rx_{e} \\ \end{array} \right. $$
(22.10)

And substituting (22.9) into (22.6), we have

$$ \alpha_{u} = - k_{1} x_{e} + u_{d0} $$
(22.11)

The time derivative of (22.4) using (22.3) and (22.9) can be derived as

$$ \dot{\bar{\psi }}_{e} = r - r_{d} + {{\left\{ {\left[ {k_{2} \left( { - k_{2} y_{e} - rx_{e} + \Updelta_{2} + v_{e} } \right) + \dot{v}_{d} } \right]u_{d0} - \left( {k_{2} y_{e} + v_{d} } \right)\dot{u}_{d0} } \right\}} \mathord{\left/ {\vphantom {{\left\{ {\left[ {k_{2} \left( { - k_{2} y_{e} - rx_{e} + \Updelta_{2} + v_{e} } \right) + \dot{v}_{d} } \right]u_{d0} - \left( {k_{2} y_{e} + v_{d} } \right)\dot{u}_{d0} } \right\}} {u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2} }} $$
(22.12)

We define the \( r_{e} \) as

$$ r_{e} = r - \alpha_{r} $$
(22.13)

Substituting (22.13) into (22.12), we have

$$ \dot{\bar{\psi }}_{e} = - k_{3} \bar{\psi }_{e} + f_{x} r_{e} + {{k_{2} u_{d0} v_{e} } \mathord{\left/ {\vphantom {{k_{2} u_{d0} v_{e} } {u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2} }} $$
(22.14)

where \( k_{3} > 0 \), \( f_{x} = 1 - {{k_{2} x_{e} u_{d0} } \mathord{\left/ {\vphantom {{k_{2} x_{e} u_{d0} } {u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2} }} \).

Differentiating \( v_{e} \), and substituting (22.1) into it, we have

$$ v_{e} = g_{v} - \dot{v}_{d} $$
(22.15)

where \( g_{v} = f_{v} (u,v,r) + {{b_{v} } \mathord{\left/ {\vphantom {{b_{v} } {m_{22} }}} \right. \kern-0pt} {m_{22} }} \).

According to the approximation property of NNs, the smooth function \( g_{v} \) can be approximated by RBF neural networks as follows

$$ g_{v} = W_{v}^{T} \sigma \left( \eta \right) + \varepsilon_{v} $$
(22.16)

where \( W_{v} \) is the idea weight matrix, \( \varepsilon_{v} \) is the approximation error, \( \left| {\varepsilon_{v} } \right| \le \varepsilon_{vM} \), \( \eta = \left[ {x,y,\psi ,u,v,r} \right]^{T} \).

Let \( \hat{W}_{v} \) be the estimations of the weights \( W_{v} \), \( \hat{g}_{v} \) is the estimation of the \( g_{v} \), and can be defined as

$$ \hat{g}_{v} = \hat{W}_{v}^{T} \sigma \left( \eta \right) $$
(22.17)

In order to stabilize the \( v_{e} \), the \( \dot{v}_{d} \) can be chosen as

$$ \dot{v}_{e} = \hat{W}_{v}^{T} \sigma \left( \eta \right) - k_{6} v_{e} - {{k_{2} u_{d0} \bar{\psi }_{e} } \mathord{\left/ {\vphantom {{k_{2} u_{d0} \bar{\psi }_{e} } {u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2} }} + \varepsilon_{v} $$
(22.18)

The time derivative of (22.4) can be derived

$$ \dot{u}_{e} = g_{u} + {{\tau_{u} } \mathord{\left/ {\vphantom {{\tau_{u} } {m_{11} }}} \right. \kern-0pt} {m_{11} }} - \dot{\alpha }_{u} $$
(22.19)

with \( g_{u} = f_{u} (u,v,r) + {{b_{u} } \mathord{\left/ {\vphantom {{b_{u} } {m_{11} }}} \right. \kern-0pt} {m_{11} }} \), \( \dot{\alpha }_{u} = \frac{{\partial \alpha_{u} }}{{\partial x_{e} }}\dot{x}_{e} + \frac{{\partial \alpha_{u} }}{{\partial u_{d0} }}\dot{u}_{d0} \).

The smooth function \( g_{u} \) can also be approximated by RBF neural networks as follows

$$ g_{u} = W_{u}^{T} \sigma \left( \eta \right) + \varepsilon_{u} $$
(22.20)

where \( W_{u} \) is the idea weight matrix, \( \varepsilon_{u} \) is the approximation error, \( \left| {\varepsilon_{v} } \right| \le \varepsilon_{vM} \), \( \eta = \left[ {x,y,\psi ,u,v,r} \right]^{T} \).

Let \( \hat{W}_{u} \) be the estimations of the weights \( W_{u} \), \( \hat{g}_{u} \) is the estimation of the \( g_{u} \), and can be defined as

$$ \hat{g}_{u} = \hat{W}_{u}^{T} \sigma \left( \eta \right) $$
(22.21)

The time derivative of (22.13) can be derived as

$$ \dot{r}_{e} = g_{r} + {{\tau_{r} } \mathord{\left/ {\vphantom {{\tau_{r} } {m_{33} }}} \right. \kern-0pt} {m_{33} }} - \dot{\alpha }_{r} $$
(22.22)

where \( g_{r} = f_{r} (u,v,r) + {{b_{r} } \mathord{\left/ {\vphantom {{b_{r} } {m_{33} + \dot{\hat{g}}_{v} }}} \right. \kern-0pt} {m_{33} + \dot{\hat{g}}_{v} }} \).

The smooth function \( g_{u} \) can be approximated by RBF neural networks as follows

$$ g_{r} = W_{r}^{T} \sigma \left( \eta \right) + \varepsilon_{r} $$
(22.23)

where \( W_{r} \) is the idea weight matrix, \( \varepsilon_{r} \) is the approximation error, \( \left| {\varepsilon_{r} } \right| \le \varepsilon_{rM} \), \( \eta = \left[ {x,y,\psi ,u,v,r} \right]^{T} \).

Let \( \hat{W}_{r} \) be the estimations of the weights \( W_{r} \), \( \hat{g}_{r} \) is the estimation of the \( g_{r} \), and can be defined as

$$ \hat{g}_{r} = \hat{W}_{r}^{T} \sigma \left( \eta \right) $$
(22.24)

From (22.19) and (22.22), the adaptive NNs surge control law \( \tau_{u} \) and the yaw moment control law \( \tau_{r} \) can be presented as

$$ \tau_{u} = m_{11} \left( { - \hat{g}_{u} - k_{4} u_{e} + \dot{\alpha }_{u} } \right),\quad k_{4} > 0 $$
(22.25)
$$ \tau_{r} = m_{33} \left( { - \hat{g}_{r} - k_{5} r_{e} + \dot{\alpha }_{r} - f_{x} \bar{\psi }_{e} } \right),\quad k_{5} > 0 $$
(22.26)

The adaptive laws are given by

$$ \dot{\hat{W}}_{u} = \Upgamma_{u} \left[ {\sigma \left( \eta \right)u_{e} - k_{u} \hat{W}_{u} } \right] $$
(22.27)
$$ \dot{\hat{W}}_{v} = \Upgamma_{v} \left[ {\sigma \left( \eta \right)v_{e} - k_{v} \hat{W}_{v} } \right] $$
(22.28)
$$ \dot{\hat{W}}_{r} = \Upgamma_{r} \left[ {\sigma \left( \eta \right)r_{e} - k_{r} \hat{W}_{r} } \right] $$
(22.29)

where \( \Upgamma_{u} = \Upgamma_{u}^{T} > 0 \), \( \Upgamma_{v} = \Upgamma_{v}^{T} > 0 \), \( \Upgamma_{r} = \Upgamma_{r}^{T} > 0 \) are constant design parameters.

22.4 Stability Analysis

Theorem 22.1

Assume that the Assumptions 1–2 hold, the adaptive NNs surge control law \( \tau_{u} \) and the yaw moment control law \( \tau_{r} \) are derived as in (22.25) and (22.26), and adaptation laws are given by (22.2722.29), the control objective of path following for underactuated surface vessels in the presence of uncertain parameters and unstructured uncertainties is solved, and the systems (22.1) are asymptotic stability.

Proof

From (22.29) and (22.30), we have

$$ \left\{ \begin{aligned}\dot{Z}_{1} =& \, f_{1} \left( {Z_{1} ,Z_{2} } \right) \\ \dot{Z}_{2} = &\,f_{2} \left( {Z_{2} } \right) \\ \end{aligned} \right., $$
(22.30)

with \( Z_{1} = \left[ {x_{e} ,y_{e} } \right]^{T} \), \(Z_{2} = \left[ {\bar{\psi }_{e} ,u_{e} ,v_{e} ,r_{e},\tilde{W}_{u} ,\tilde{W}_{v} ,\tilde{W}_{r} } \right]^{T} \)

$$ \begin{aligned}f_{1}&\, = \left[ { - k_{1} x_{e} + u_{e} + \Delta_{1} + ry_{e} , -k_{2} y_{e}+ v_{e} + \Delta_{2} - rx_{e} } \right]^{T} , \\ f_{2} & \,= \left[ { - k_{3} \bar{\psi }_{e} + f_{x} r_{e} +{{k_{2} u_{d0} v_{e} } \mathord{\left/ {\vphantom {{k_{2} u_{d0}v_{e} } {u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2}}},\tilde{W}_{u}^{T} \sigma \left( \eta \right) - k_{4} u_{e} +\varepsilon_{u} ,} \right.\tilde{W}_{v}^{T}\sigma \left( \eta \right) \\ & \quad - k_{6} v_{e} - {{k_{2} u_{d0} \bar{\psi}_{e} } \mathord{\left/ {\vphantom {{k_{2} u_{d0} \bar{\psi }_{e} }{u_{d}^{2} }}} \right. \kern-0pt} {u_{d}^{2} }} + \varepsilon_{v},{\kern 1pt} \tilde{W}_{r}^{T} \sigma \left( \eta\right) - k_{5} r_{e} - f_{x} \bar{\psi }_{e} + \varepsilon_{r} , \\ & \left. \quad-{\Gamma_{u} \left[{\sigma \left( \eta \right)u_{e} - \sigma_{u} \hat{W}_{u} } \right],- \Gamma_{v} \left[ {\sigma \left( \eta \right)v_{e} - \sigma_{v}\hat{W}_{v} } \right], - \Gamma_{r} \left[ {\sigma \left( \eta\right)r_{e} - \sigma_{r} \hat{W}_{r} } \right]} \right]^{T} \\\end{aligned}. $$

To investigate stability of this subsystem, we consider the following Lyapunov function:

$$ V_{1} = \frac{1}{2}\bar{\psi }_{e}^{2} + \frac{1}{2}u_{e}^{2} + \frac{1}{2}r_{e}^{2} + \frac{1}{2}\tilde{W}_{u}^{T} \Upgamma_{u}^{ - 1} \tilde{W}_{u} + \frac{1}{2}\tilde{W}_{v}^{T} \Upgamma_{v}^{ - 1} \tilde{W}_{v} + \frac{1}{2}\tilde{W}_{r}^{T} \Upgamma_{r}^{ - 1} \tilde{W}_{r} , $$
(22.31)

Differentiating (22.32) along with (22.2722.30), we have

$$ \begin{aligned} \dot{V}_{1} \le & - k_{3} \bar{\psi }_{e}^{2} - k_{4} u_{e}^{2} - k_{5} r_{e}^{2} - k_{6} v_{e}^{2} + \sigma_{u} \tilde{W}_{u}^{T} \hat{W}_{u} + \sigma_{v} \tilde{W}_{v}^{T} \hat{W}_{v} + \sigma_{r} \tilde{W}_{r}^{T} \hat{W}_{r}\\ & + u_{e} \varepsilon_{u} + v_{e} \varepsilon_{v} + r_{e} \varepsilon_{r} \end{aligned} $$
(22.32)

The (22.33) can be described as

$$ \begin{aligned} \dot{V}_{1} \le & - k_{3} \bar{\psi }_{e}^{2} - \left( {k_{4} - \frac{1}{4}} \right)u_{e}^{2} - \left( {k_{5} - \frac{1}{4}} \right)v_{e}^{2} - \left( {k_{6} - \frac{1}{4}} \right)r_{e}^{2} \\ & - \frac{1}{2}\sigma_{u} \left\| {\tilde{W}_{u} } \right\|^{2} - \frac{1}{2}\sigma_{v} \left\| {\tilde{W}_{v} } \right\|^{2} \\ & - \frac{1}{2}\sigma_{r} \left\| {\tilde{W}_{r} } \right\|^{2} + \varepsilon_{u}^{2} + \varepsilon_{v}^{2} + \varepsilon_{r}^{2} + \frac{1}{2}\sigma_{u} \left\| {W_{u} } \right\|^{2} + \frac{1}{2}\sigma_{v} \left\| {W_{v} } \right\|^{2} + \frac{1}{2}\sigma_{r} \left\| {W_{r} } \right\|^{2} \\ & \le - \mu V_{1} + \rho \\ \end{aligned}$$
(22.33)

with \( \mu : = \hbox{min} \left\{ {2k_{3} ,2\left( {k_{4} - \frac{1}{4}} \right),2\left( {k_{5} - \frac{1}{4}} \right),2\left( {k_{6} - \frac{1}{4}} \right),\hbox{min} \left( {\frac{{\sigma_{u} }}{{\lambda_{\hbox{max} } (\Upgamma_{u}^{ - 1} )}}} \right),\hbox{min} \left( {\frac{{\sigma_{v} }}{{\lambda_{\hbox{max} } (\Upgamma_{v}^{ - 1} )}}} \right),\hbox{min} \left( {\frac{{\sigma_{r} }}{{\lambda_{\hbox{max} } (\Upgamma_{r}^{ - 1} )}}} \right)} \right\} \), \( \rho : = \varepsilon_{u}^{2} + \varepsilon_{v}^{2} + \varepsilon_{r}^{2} + \frac{{\sigma_{u} }}{2}\left\| {W_{u} } \right\|^{2} + \frac{{\sigma_{v} }}{2}\left\| {W_{v} } \right\|^{2} + \frac{{\sigma_{r} }}{2}\left\| {W_{r} } \right\|^{2} \)

Let \( \Upphi = \frac{\rho }{\mu } \), the (22.34) can be rewritten as

$$ 0 \le V(t) \le \Upphi + \left[ {V(0) - \Upphi } \right]e^{ - \mu t} $$
(22.34)

Hence, all signals of the closed-loop system are uniformly ultimately bounded. The path following errors will converge to a small neighborhood of zero, and can be adjusted by the design parameters \( k_{3} ,k_{4} ,k_{5} ,k_{6} ,\sigma_{u} ,\sigma_{v} ,\sigma_{r} \).

22.5 Numerical Simulations

In this section, some numerical simulations are provided to demonstrate the effectiveness of the proposed control laws and the accuracy of stability analysis. In this paper, we use a monohull ship with the length of 38 m, mass of \( 118 \times 10^{3}\, \text{kg} \), the numerical values of the vessel are adapted from [6].

In the simulation, the reference path is generated by a virtual ship as follows:

$$ \left\{ \begin{aligned} \dot{x}_{d} =& \,u_{d} \cos (\psi_{d} ) - v_{d} \sin (\psi_{d} ) \\ \dot{y}_{d} =& \,u_{d} \sin (\psi_{d} ) + v_{d} \cos (\psi_{d} ) \\ \dot{\psi }_{d} =& \,r_{d} \\ \dot{v}_{d} =& \,- \frac{{m_{11} }}{{m_{22} }}u_{d} r_{d} - \frac{{d_{22} }}{{m_{22} }}v_{d} - \sum\limits_{i = 2}^{3} {\frac{{d_{vi} }}{{m_{22} }}} \left| {v_{d} } \right|^{i - 1} v_{d} \\ \end{aligned} \right. $$

In the simulation we select \( u_{d} = 5 \), \( r_{d} = 0.015 \); the control parameters selected for the simulation are: \( k_{1} = 15 \), \( k_{2} = 7.5 \), \( k_{3} = 12 \), \( k_{4} = 10 \), \( k_{5} = 10 \), \( k_{6} = 10 \), \( \Upgamma_{u} = 10 \), \( \Upgamma_{v} = 30 \), \( \Upgamma_{r} = 0.5 \), \( \sigma_{u} = \sigma_{v} = \sigma_{r} = 0.01 \),

The initial conditions are chosen as:

$$ \left[{x(0),y(0),\psi (0),u(0),v(0),r(0)} \right] = \left[{- 100,0,0,0,0,0} \right] . $$

The simulation results of ship path following control are plotted in Figs. 22.1 and 22.2. Figure 22.1 shows the position and the orientation of the vessel in the \( xy \) plane, and the control inputs \( \tau_{u} \) and \( \tau_{r} \) are plotted. The path following position errors are plotted in Fig. 22.2. It can be seen from these figures that all the signals of the closed-loop system are bounded. From Fig. 22.2, the path following position errors \( x_{e},y_{e} \), the velocity errors \( u_{e} \), \( r_{e} \), and the orientation error \( \psi_{e} \) converge to zero while the sway motion error \( v_{e} \) converges to a small value, since the reference path is generated by a virtual ship, the sway velocity error is always a constant value.

Fig. 22.1
figure 1

Position and orientation and the inputs of the vessel

Fig. 22.2
figure 2

Position, orientation, and velocity errors of the vessel

22.6 Conclusions

In this paper, we present an adaptive RBF neural networks scheme for path following of underactuated surface vessels with uncertain parameters and unstructured uncertainties including exogenous disturbances and measurement noise, etc. The proposed controller is designed by using RBF neural networks and the backstepping techniques. It is noted that the proposed control system allows for both low- and high-speed applications since linear and nonlinear damping terms were considered in the control design. The stability analysis is performed based on the Lyapunov theory. The effectiveness of the designed controller is also validated by the numerical simulations. Based on the ideas of this paper, the future work will consider the rudder saturation and rate limits.