Adaptive Neural Network Control with Backstepping for Surface Ships with Input Dead-Zone

This paper addresses the problem of adaptive neural network controller with backstepping technique for fully actuated surface vessels with input dead-zone. The combination of approximation-based adaptive technique and neural network system is used for approximating the nonlinear function of the ship plant.Through backstepping and Lyapunov theory synthesis, an indirect adaptive network controller is derived for dynamic positioning ships without dead-zone property. In order to improve the control effect, a dead-zone compensator is derived using fuzzy logic technique to handle the dead-zone nonlinearity. The main advantage of the proposed controller is that it can be designed without explicit knowledge about the shipmotionmodel, and dead-zone nonlinearity is well compensated. A set of simulations is carried out to verify the performance of the proposed controller.


Introduction
Ship moving in the sea performs strong nonlinear and coupled property.It is difficult for researchers to obtain the ship motion model.Most modern nonlinear control theories, such as sliding mode control, backstepping technique, and feedback linearization, are mostly based on the knowledge about system models.For these control strategies, the controller cannot be derived without explicit knowledge about the system model.Meanwhile, dead-zone characteristic is quite common in actuators, that is, rudders or propellers.But few works consider the influences on control performance brought by the dead-zone characteristic.
Fuzzy logic system and neural network are commonly used for approximating the unknown terms or uncertainties in the systems [1][2][3][4][5][6].An adaptive fuzzy decentralized output-feedback control problem was discussed for a class of nonlinear large-scale systems, and fuzzy logic systems were employed to approximate the unknown nonlinear functions in the control design in [1].Zhu and Li proposed a stable decentralized adaptive fuzzy sliding mode control scheme for reconfigurable modular manipulators to satisfy the concept of modular software in [2], and a first-order Takagi-Sugeno fuzzy logic system was introduced to approximate the unknown dynamics of subsystem by using adaptive algorithm.The fuzzy basis function was used to approximate an unknown nonlinear function according to some adaptive laws in [3], and then the state observer was designed for estimating the states of the plant, upon which an adaptive fuzzy sliding mode controller was investigated.In [4], a radial basis function (RBF) network were employed to estimate and compensate the uncertainties of ship dynamics and disturbances in controller design.In [5], an adaptive neural network control scheme for robot manipulators with actuator nonlinearities was presented, and the RBF network was introduced to emulate the unknown parameters.An adaptive RBF neural network controller was adopted to learn the unknown upper bound of model uncertainties and external disturbances in [6].The approach taken in this paper tries to overcome the necessity for ship's mathematical models by using an adaptive RBF network control algorithm to estimate the unknown nonlinear functions.Meanwhile, adaptive RBF network can improve the robustness of the control systems.
In real applications, the dead-zone characteristic is quite common in actuators.Sometimes the dead-zone nonlinearity affects the control system performance.Generally, the dead-zone parameters are unknown and time-variant, which cause challenging problem for the control system.Dead-zone commonly affects all practical systems, such as mechanics and electronics, so the study on dead-zone has drawn much interest in the control community for a long time [7][8][9][10][11][12].To solve the problem brought by the deadzone, adaptive dead-zone inverses were proposed in [7][8][9].Reference [7] built a continuous dead-zone inverse for linear system with unmeasurable dead-zone outputs, while asymptotical adaptive cancellation of an unknown deadzone was achieved analytically under the condition that the output of a dead-zone was measurable in [8].For a general nonlinear actuator dead-zone of unknown width, [9] presented a compensation scheme using neural network.In [11], adaptive control with adaptive dead-zone inverse has been introduced by giving a matching condition to the reference model.By utilizing the integral-type Lyapunov function and introducing an adaptive compensation for the upper bound of the optimal approximation error and the dead-zone disturbance, a robust adaptive neural controller for a single input single output nonlinear system was derived in [12].By utilizing a description of a dead-zone feature, an adaptive law was used to estimate the properties of the deadzone model intuitively and mathematically, without constructing a dead-zone inverse in [13].Departing from existing approximate adaptive dead-zone compensations, [14] used indirect parameter estimation algorithms along with online condition monitoring to obtain an accurate estimation of the unknown dead-zone when certain relaxed persistentexcitation conditions are satisfied-a theoretical result that cannot be achieved with the existing methods.
This paper proposes the work on adaptive neural network control with backstepping technique for fully actuated surface vessels with constraint in the actuator.The main contributions of this paper are as follows.
(i) To the best of our knowledge, it is the first time in the literature that both input saturation and deadzone are considered during controller design for fully actuated surface ships motion control problems.(ii) For handling the limit of propellers, the auxiliary design system is introduced to analyze the input saturation, and the effect of dead-zone nonlinearity is compensated by using fuzzy logic system (FLS).(iii) The adaptive method and radial basis function neural network (RBFNN) system are combined to estimate the unknown nonlinear functions of the ship plant.(iv) Under the assumptions of the inexistence of the input saturation and the dead-zone characteristic in actuator, an adaptive RBFNN controller using backstepping technique for fully actuated surface ships is derived without knowing the ship motion model.
The main advantage of the proposed method is that the controller can be designed without explicit knowledge about the ship motion model, and control input saturation and dead-zone nonlinearity are well compensated.
The rest of this paper is organized as follows.In Section 2, a model of fully actuated surface vessels with dead-zone is established.Section 3 contains the design of adaptive RBFNN controller with backstepping, the auxiliary design system is introduced to handle the input saturation, and an FLS is utilized to approximate the nonlinearity of the dead-zone in actuators.Then a set of simulations is taken in Section 4 to verify the control effect of the proposed method.Finally, conclusions are made in Section 5.

Model of Surface Vessels
2.1.Ship Motion Model for Surface Vessels.For the horizontal motion of a fully actuated surface vessel, the kinematics and dynamics models can be described by (1), for more details see [15].
where  = [, , ] Τ , ^= [, V, ] Τ , and ,  denote the coordinates of the vessel in the earth-fixed frame       (see Figure 1), and  is the heading angle of the ship., V, and  express the velocities in surge, sway, and yaw, respectively in the body-fixed reference frame ,  = [  ,   ,   ] Τ represents the control inputs, that is, forces and moments produced by the propellers, M stands for the mass and inertia matrix, C(^) denotes the Coriolis-centripetal matrix, D(^) is the damping matrix, and b is a bias term representing slowly varying environmental forces and moments caused by the wind, second-order waves, and currents.J() is a state dependent transformation matrix which can be written as Note that the matrix J() is nonsingular for all  ∈ R 3 and J −1 () = J Τ (); for example, J()J Τ () = I.
The system model can be rewritten as [16] M Mathematical Problems in Engineering 3 where Considering the presence of input saturation constraints on , we have   min ≤   ≤   max ( = , , ), where   min and   max are the known lower limit and upper limit of input saturation constraints.Thus, the control input is defined as where  0 is the th control input of the designed control law  0 .Assume that the system parameters are unknown and bounded and the following properties are satisfied.
(i) M  () is a positive definite matrix, and it is bounded, which means that there exists a constant  0 > 0, such that 0 < M  () ≤  0 I, where I is a 3rd-order identity matrix.
(ii) The matrix M  () and C  (^,) have the following property: the matrix Ṁ () − 2C  (^,) is skewsymmetric and for all x ∈ R 3 the following relation is satisfied:

Model for Controller Design.
In order to discuss conveniently and simplify the controller design, state transformation is introduced here to obtain a new form of the system model.

Control Strategy
An adaptive fuzzy logic control using backstepping technique is designed for fully actuated surface vessels with dead-zone in actuator.To compensate the dead-zone nonlinearity, a fuzzy logic system is introduced.

Backstepping Design without Dead-Zone
Step 1. Define the desired position and heading vector as   , and a perfect guidance system is introduced to generate the tracking target   ; and its first-and second-order derivation η  and η  are also generated.Then the control objective is to design a controller to make the ship track the target   .Define the tracking error as Taking the time derivation of (9) yields Choose x 2 as virtual control and defined as where z 2 is the second error vector, and  1 is the stable function which is defined later.Substitute ( 11) into (10), we obtain Choose the stable function  1 as where  1 is a positive definite diagonal matrix.The Lyapunov function is chosen for the z 1 -subsystem as Then the time derivation of ( 14) is If z 2 = 0, then V 1 ≤ 0 which implies that the z 1 -subsystem is stable.
Step 2. From (11) we can get Differencing ( 16) with respect to time yields Substitute ( 8) into (17), then (17) becomes Note that, we omit the variables of coefficient matrices for denoting conveniently.
For convenience of constraint effect analysis of the input saturation, the following auxiliary design system is given by where is a small positive design parameter, and  ∈ R 3 is the state of the auxiliary design system.Control command  0 will be designed later.
For z 2 -subsystem, the Lyapunov function is chosen as Take the time derivation of (20), which yields According to the skew-symmetric property of the matrix Ṁ ()−2C  (^,) in ( 6), we have Invoking ( 11) and ( 22) becomes , and (23) can be written as Then the ideal control law can be chosen as where  2 is a positive definite diagonal matrix, f is a nonlinear function designed later, and k is a robust term for disturbance and estimated error.

Dead-Zone Compensator Design.
The unsymmetrical dead-zone nonlinearity is shown as Figure 2, and it can be described as where  is the control input before the dead-zone,  is the output of dead-zone model, and  − ,  + are unknown positive constant.Then the dead-zone model can be denoted as For multiple input multiple output system such as dynamics positioning ships, control input of the th control loop is where   = [ + ,  − ] Τ , and let D = diag{ 1 , . . .,   }, it becomes According to the characteristic of dead-zone, the rules for compensation are designed as After compensating the dead-zone, the control input   is where    is a compensation term which is determined by where  + (⋅),  − (⋅) are the membership degree of   and d = [ d+ , d− ] Τ .Let w  = [  1 , . . .,    ] Τ ; then the control action after compensation is where D = diag{ d1 , . . ., d } and (w) is described as Then membership of   is designed as According to Theorem 1 in [17], the control input after the dead-zone is where D = D − D = diag{ d1 , . . ., d1 } and ‖‖ ≤ √.
With the control input chosen as (25) and w =  −1 ()u * 0 , the time derivation of  2 becomes We can choose the robust term and adaptive law of deadzone width as where  > 0, Γ > 0 are diagonal matrices and 0 ≤ ‖b‖ ≤ b  .

Adaptive RBFNN Controller Design.
From the description of f mentioned above, we can see that it contains the knowledge about the system model.In order to design a control law without explicit knowledge about the ship motion model, an adaptive RBFNN is introduced to approximate the nonlinear function f.And here f is the adaptive neural network system used to approximate f.The structure of RBFNN is shown in Figure 3. RBFNN is a forward network with three layers: input layer, implicit layer, and output layer.The mapping from input to output is nonlinear, while it is linear from implicit layer to output.RBFNN can approximate nonlinear function locally, so its learning rate is fast and the local minimization problem can be avoided.
Assume there are  inputs and  implicits nodes in the RBF network.Let X = [ 1 ,  2 , . . .,   ] Τ be the input vector; then denote the radial basis vector as H = [ℎ 1 , ℎ 2 , . . ., ℎ  ] Τ , where ℎ  is Gaussian function defined as where c  = [ 1 ,  2 , . . .,   ] Τ is the central vector of the ith node and   > 0 is the basis width parameter of the th node.Define the weight vector of the RBF neural network as W = [ 1 ,  2 , . . .,   ] Τ ; then the output of the RBFNN can be expressed as follows: In order to approximate the nonlinear function f which is relative to the ship modeled parameters and the system states, the elements of f are, respectively, estimated by corresponding RBFNN as follows: Then define the Gaussian basis function vector  as Assumption 1.The output of RBFNN f(x, ) is continuous.
Assumption 2. There exist an ideal approximation f(x,  * ), such that for any small positive constant  0 where  * is the optimal weight vector of the RBFNN for approximating f(x).

Mathematical Problems in Engineering
Denote e  as the approximate error of the ideal RBFNN: According to the approximate capability of RBFNN, it is easy to obtain that e  is bounded.Denote the bound as where f(x,  * ) = (x) Τ  * .f(x) is bounded, so  * is bounded and ‖ * ‖  ≤  max .Let θ =  * − , and the adaptive law is chosen as where   > 0 and   > 0 are designed constant and  2 is the th element of z 2 .
Let  ∈ R 3×3 ,  ∈ R 3×3 , and define matrices as where I  is a th order identity matrix.Then the adaptive law (47) becomes

Stability Analysis. Now we can choose the total Lyapunov function as
Differentiate (50) with respect to time as It is obviously that where  ∈ R 3×3 and  > 0.

Case Study
A computer simulation has been used to evaluate the performance of the adaptive neural network control with backstepping for fully actuated surface ships with dead-zone in actuator.The ship system used for simulation is described as follows:  The initial position and heading of the vessel is (0 m, 0 m, 0 deg), and the initial velocity is (0 m/s, 0 m/s, 0 rad/s) and the desired position is set as (2 m, 1 m, 5 deg).A smooth reference path is generated by a guidance system.The simulation results with proposed controller are shown in Figures 4 and 5, and the ones with PID controller are listed in Figures 6 and 7.The blue lines in Figures 4 and 5 are values without using dead-zone compensator, and the red ones are the results using it.Figure 4 shows that the dead-zone compensator improves the control performance and reduces the tracking errors.Figure 5 is the control inputs for both simulations with and without dead-zone compensator.From Figure 5, the control input is zero when the control command is in the deadzone, so its control effect is not excellent unless the deadzone is compensated well.The blue lines in Figures 6 and  7 are results without dead-zone in actuators, and the red ones are values with dead-zone characteristic.Comparing Figures 4 and 5 to Figures 6 and 7, the method proposed in this work ameliorates the control effect, and the tracking errors are 5-10 times smaller than the results using PID controller.Meanwhile, the forces and moments acting on the ship become smaller and smoother than the ones with PID method.So the control strategy designed in this work can protect the actuator from wear and reduce fuel consumption.

Conclusion
In this paper, an adaptive neural network control using backstepping is derived for fully actuated surface ships with deadzone characteristics in actuator.A three degree of freedom model including disturbances has been established for ships.In order to overcome the difficulties brought by unknown model parameters, the adaptive RBFNN is introduced to approximate the unknown nonlinear functions needed in controller design.The dead-zone character is quite common in actuator for ships, and the existence of dead-zone affects the control effect of traditional controllers, especially when the dead-zone parameters are unknown.The fuzzy logic system is utilized here to handle this problem.Fuzzy logic technique can estimate the dead-zone parameters which are used for compensator design.It has been shown that the adaptive fuzzy control with the dead-zone compensator can drive the ship to the desired position with certain heading angles.The input saturation is overcome by adopting the auxiliary design system.Meanwhile, through the Lyapunov stable theory it is proved that the system is bounded for all states.The simulation results showed that the controller proposed in this work performs excellently for dynamic positioning ships.

Figure 1 :
Figure 1: Definition of the earth-fixed       and the body-fixed  reference frames.

Figure 7 :
Figure 7: Control inputs in surge, sway, and yaw with PID controller.