Research Article | Open Access

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

**Academic Editor:**Jyh-Horng Chou

#### Abstract

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 ship motion model, and dead-zone nonlinearity is well compensated. A set of simulations is carried out to verify the performance of the proposed controller.

#### 1. 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–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–12]. To solve the problem brought by the dead-zone, adaptive dead-zone inverses were proposed in [7–9]. Reference [7] built a continuous dead-zone inverse for linear system with unmeasurable dead-zone outputs, while asymptotical adaptive cancellation of an unknown dead-zone 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 dead-zone 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 persistent-excitation 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 dead-zone 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.

#### 2. 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 , , and , denote the coordinates of the vessel in the earth-fixed frame (see Figure 1), and * ψ* is the heading angle of the ship. , , 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, stands for the mass and inertia matrix, denotes the Coriolis-centripetal matrix, is the damping matrix, and is a bias term representing slowly varying environmental forces and moments caused by the wind, second-order waves, and currents. is a state dependent transformation matrix which can be written as

Note that the matrix is nonsingular for all and ; for example, .

The system model can be rewritten as [16] where

Considering the presence of input saturation constraints on , we have , where and are the known lower limit and upper limit of input saturation constraints. Thus, the control input is defined as where is the th control input of the designed control law .

Assume that the system parameters are unknown and bounded and the following properties are satisfied.(i) is a positive definite matrix, and it is bounded, which means that there exists a constant , such that , where is a 3rd-order identity matrix.(ii)The matrix and have the following property: the matrix is skew-symmetric and for all the following relation is satisfied:

##### 2.2. 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.

Let and then the system model (1) can be written as; where .

#### 3. 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.

##### 3.1. 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 as virtual control and defined as where is the second error vector, and is the stable function which is defined later.

Substitute (11) into (10), we obtain

Choose the stable function as where is a positive definite diagonal matrix.

The Lyapunov function is chosen for the -subsystem as

Then the time derivation of (14) is

If , then which implies that the -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 is the state of the auxiliary design system. Control command will be designed later.

For -subsystem, the Lyapunov function is chosen as

Take the time derivation of (20), which yields

According to the skew-symmetric property of the matrix in (6), we have . Substituting it into (21) yields

Invoking (11) and (22) becomes

Let , and (23) can be written as

Then the ideal control law can be chosen as where is a positive definite diagonal matrix, is a nonlinear function designed later, and is a robust term for disturbance and estimated error.

##### 3.2. 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 , it becomes

According to the characteristic of dead-zone, the rules for compensation are designed as and is estimate of dead-zone .

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 . Let ; then the control action after compensation is where and is described as

Then membership of is designed as

According to Theorem 1 in [17], the control input after the dead-zone is where and .

With the control input chosen as (25) and , the time derivation of becomes

We can choose the robust term and adaptive law of dead-zone width as where are diagonal matrices and .

##### 3.3. Adaptive RBFNN Controller Design

From the description of 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 . And here is the adaptive neural network system used to approximate .

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 be the input vector; then denote the radial basis vector as , where is Gaussian function defined as
where is the central vector of the *i*th node and is the basis width parameter of the th node.

Define the weight vector of the RBF neural network as ; then the output of the RBFNN can be expressed as follows:

In order to approximate the nonlinear function which is relative to the ship modeled parameters and the system states, the elements of are, respectively, estimated by corresponding RBFNN as follows:

Then define the Gaussian basis function vector as where and .

*Assumption 1. *The output of RBFNN is continuous.

*Assumption 2. *There exist an ideal approximation , such that for any small positive constant
where is the optimal weight vector of the RBFNN for approximating .

Denote as the approximate error of the ideal RBFNN:

According to the approximate capability of RBFNN, it is easy to obtain that is bounded. Denote the bound as where .

is bounded, so is bounded and . Let , and the adaptive law is chosen as where and are designed constant and is the th element of .

Let , , and define matrices as where is a th order identity matrix. Then the adaptive law (47) becomes

##### 3.4. Stability Analysis

Now we can choose the total Lyapunov function as

Differentiate (50) with respect to time as

It is obviously that where and .

According to we can obtain

From we have ; then where and , so (51) yields

Substitute adaptive law (39) into (56) and we can get

If and are positive definite diagonal matrices, then . So the following inequality is satisfied:

Substituting (58) into (57) yields

Due to , we obtain

Then which implies that

Now (59) becomes

Choose appropriate , , such that and are positive definite, and , , and are, respectively, the minimum eigenvalue of , , and . Then (63) becomes

According to , that is, then

Define , then where .

So we can obtain that and all the signals of the close-loop system are bounded [18].

#### 4. 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: where , , are hydrodynamic coefficients, , , and .

Note that the elements of matrices are the nominal values of the ship plant.

The bound of dead-zone is set as

To verify the robustness of the controller and the control effect, the unpredictable disturbances and parameter uncertainties are introduced. The environmental disturbances acting on the ship can be treated together as

And parameters of the ship model vary from 0.5 to 1.5 times the size of its nominal value. The limit of control input is set as

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 dead-zone, so its control effect is not excellent unless the dead-zone 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.

#### 5. Conclusion

In this paper, an adaptive neural network control using backstepping is derived for fully actuated surface ships with dead-zone 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.

#### References

- S. Tong, Y. Li, and X. Jing, “Adaptive fuzzy decentralized dynamics surface control for nonlinear large-scale systems based on high-gain observer,”
*Information Sciences*, vol. 235, pp. 287–307, 2013. View at: Publisher Site | Google Scholar | MathSciNet - M. Zhu and Y. Li, “Decentralized adaptive fuzzy sliding mode control for reconfigurable modular manipulators,”
*International Journal of Robust and Nonlinear Control*, vol. 20, no. 4, pp. 472–488, 2010. View at: Publisher Site | Google Scholar | MathSciNet - C.-C. Chiang and C.-H. Wu, “Observer-based adaptive fuzzy sliding mode control of uncertain multiple-input multiple-output nonlinear systems,” in
*Proceedings of the IEEE International Conference on Fuzzy Systems (FUZZ-IEEE '07)*, pp. 1–6, London, UK, July 2007. View at: Publisher Site | Google Scholar - J. L. Tao, Y. Yang, D. H. Wang, and C. Guo, “A robust adaptive neural networks controller for maritime dynamic positioning system,”
*Neurocomputing*, vol. 110, no. 1, pp. 128–136, 2013. View at: Publisher Site | Google Scholar - J. Liu and Y. Lu, “Adaptive RBF neural network control of robot with actuator nonlinearities,”
*Journal of Control Theory and Applications*, vol. 8, no. 2, pp. 249–256, 2010. View at: Publisher Site | Google Scholar | MathSciNet - J. Fei and H. Ding, “Adaptive sliding mode control of dynamic system using RBF neural network,”
*Nonlinear Dynamics*, vol. 70, no. 2, pp. 1563–1573, 2012. View at: Publisher Site | Google Scholar | MathSciNet - V. K. Deolia, S. Purwar, and T. N. Sharma, “Backstepping control of discrete-time nonlinear system under unknown dead-zone constraint,” in
*Proceedings of the International Conference on Communication Systems and Network Technologies (CSNT '11)*, pp. 344–349, Katra, Jammu and Kashmir, India, June 2011. View at: Publisher Site | Google Scholar - H. Cho and E.-W. Bai, “Convergence results for an adaptive dead zone inverse,”
*International Journal of Adaptive Control and Signal Processing*, vol. 12, no. 5, pp. 451–466, 1998. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - R. R. Šelmić and F. L. Lewis, “Deadzone compensation in motion control systems using neural networks,”
*IEEE Transactions on Automatic Control*, vol. 45, no. 4, pp. 602–613, 2000. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - A. Taware and G. Tao, “An adaptive dead-zone inverse controller for systems with sandwiched dead-zones,”
*International Journal of Control*, vol. 76, no. 8, pp. 755–769, 2003. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - X.-S. Wang, H. Hong, and C.-Y. Su, “Model reference adaptive control of continuous-time systems with an unknown input dead-zone,”
*IEEE Proceedings on Control Theory and Applications*, vol. 150, no. 3, pp. 261–266, 2003. View at: Publisher Site | Google Scholar - T. Zhang and S. S. Ge, “Robust adaptive neural control of SISO nonlinear systems with unknown dead-zone and completely unknown control gain,” in
*Proceedings of the IEEE Conference on Control Applications, Computer-Aided Control Systems Design Symposium and International Symposium on Intelligent Control (ISIC '06)*, pp. 88–93, Munich, Germany, October 2006. View at: Publisher Site | Google Scholar - C.-C. Chiang, “Adaptive fuzzy tracking control for uncertain nonlinear time-delay systems with unknown dead-zone input,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 363748, 13 pages, 2013. View at: Publisher Site | Google Scholar | MathSciNet - C. Hu, B. Yao, and Q. Wang, “Performance-oriented adaptive robust control of a class of nonlinear systems preceded by unknown dead zone with comparative experimental results,”
*IEEE/ASME Transactions on Mechatronics*, vol. 18, no. 1, pp. 178–189, 2013. View at: Publisher Site | Google Scholar - T. I. Fossen,
*Handbook of Marine Craft Hydrodynamics and Motion Control*, John Wiley & Sons, Chichester, UK, 2011. - T. I. Fossen,
*Marine Control System, Guidance, Navigation and Control of Ships, Rigs and Underwater Vehicles*, Trondheim, Norway, Marine Cybernetics, 2002. - J. K. Liu,
*Design and Matlab Simulation of Robot Control System*, Tsinghua University Press, Beijing, China, 2012, (Chinese). - H. K. Khaill,
*Nonlinear System*, Publishing House of Electronics Industry, Beijing, China, 2006.

#### Copyright

Copyright © 2013 Guoqing Xia et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.