Research Article | Open Access

Mingyu Fu, Duansong Wang, "The Bioinspired Model-Based Hybrid Sliding-Mode Formation Control for Underactuated Unmanned Surface Vehicles", *Journal of Control Science and Engineering*, vol. 2018, Article ID 7563178, 9 pages, 2018. https://doi.org/10.1155/2018/7563178

# The Bioinspired Model-Based Hybrid Sliding-Mode Formation Control for Underactuated Unmanned Surface Vehicles

**Academic Editor:**Sing Kiong Nguang

#### Abstract

In this paper, a novel hybrid strategy is proposed for unmanned surface vehicle (USV) formation control. The strategy is divided into two subsystems: a virtual velocity controller based on the bioinspired model and a dynamic controller based on the sliding-mode model. The proposed control scheme solves the problem of a speed jump that occurs in the traditional backstepping method when the margin of error increases suddenly, and it also satisfies the actuator control constraint. Additionally, a dynamic controller is designed, combining the sliding mode with the proposed virtual controller, to avoid the traditional chattering problem. System stability is proven by the Lyapunov theory. Simulation results verify the effectiveness of the proposed controller.

#### 1. Introduction

The formation control of USVs is receiving increasing interest in control science and engineering [1–3]. Multiple USVs can accomplish challenging and dangerous tasks, such as mine clearance, patrol, investigation, and the transportation of strategic materials, which can not only decrease personal injury but also achieve tasks that a single USV cannot complete [4]. To achieve a desirable formation pattern, several methods including leader-follower approach [5], virtual structure strategy [6], behavioral-based approach [7], and artificial potential function [8] have been proposed. Among these methods, the leader-follower strategy is commonly used because of simplicity and scalability. To address the formation problem, many control schemes have been implemented. An adaptive backstepping method for a group of underactuated autonomous vehicles was studied in [9, 10], and the course angle error between leader and follower was considered to guarantee the follower’s course angle stability. A Linear Quadratic Regulator Proportional Integral (LQR PI) controller was implemented in [11] for centralized heterogeneous leader-follower architecture. With this control scheme, formation geometry can be switched to any shape while flying, and obstacle avoidance can be realized. In [12], a sliding-mode control law for controlling multiple USVs in arbitrary formations was proposed, mesh stability and parameter uncertainty in the dynamic model and wave disturbance were considered in designing the controllers, and the effectiveness of the controller was verified by the computer simulation. Though it has an outstanding characteristic insensitivity to parameter variations, one major drawback of sliding-mode control is the inherent problem of chattering. In addition, many intelligent methods were used to achieve formation control. A bounded neural network control law was constructed with the aid of a saturated function for the USV while over a closed curve in [13]. An adaptive neural network formation controller combined with a dynamic surface technique for USVs was studied in [14], which solved the problem of “explosion of complexity” by introducing the first-order filter. In [15], a robust adaptive formation control law is proposed for multiple autonomous surface vehicles moving in a leader-follower formation. However, while all works mentioned above have common styles, the procedure for designing a controller is complex, and too many parameters needed to be adjusted. Based on graph-theoretic concepts and locally distributed information, a neural fuzzy formation controller was designed with the capability of online learning in [16]. Mu and Wang [17] proposed fuzzy-based path following control for USV to solve the problem of unknown control gain coefficient. The fuzzy rules-based formation control approaches can solve the problem of large initial robot velocities, but formulating the fuzzy rules is not easy because they are usually obtained by trial and error based human knowledge [18]. A neural network needs either online learning or offline training procedures, either of which could be computational complicated.

The main contribution of this work is to solve the problem of the speed jump and actuator control constraints of USV formation. The leader-follower strategy is used since it is easy to implement. When the controller is designed, a virtual USV is introduced to produce a predefined path, and the other USV keeps the desired distance and angle with it to achieve the desired formation pattern. A bioinspired model-based hybrid sliding-mode controller is designed, inspired by [19], and on the basis of the previous literature [4]. It can not only avoid the traditional chattering problem and smooth the input signal but also simplify the control law.

#### 2. Formation Model of USV

##### 2.1. Single USV Model

Consider a class of networked multiagent systems consisting of n-unmanned surface underactuated vehicles. The dynamical model of the i-*th* USV is given by [20]The signals , , and denote position and orientation (yaw angle), respectively, in the earth fixed frame. , , and represent the surge, sway, and yaw velocities with respect to body frame, respectively. denotes the masses including added masses in the surge, sway and yaw axes. The damping term in the body coordinate is described by . The signals are the surge force and yaw torque inputs provided by thrusters. denotes the loads induced by waves, wind, and ocean currents along the surge, sway, and yaw axes, respectively [21].

##### 2.2. USV Formation Model

In this work, the formation control problem for USV is addressed by a distributed strategy based on virtual leader strategy. For convenience, only 2 USVs are considered as a group. The mathematical model is formed as in Figure 1: where is the distance between leader USV and follower USV, is described as the relative angle between follower and leader, , are the desired distance and angle, and , represent the components of in the earth fixed frame on *-* and -axes. is the bow position of USV, , , are the position and orientation of , and is the distance between and the mass center of the follower. We can construe from Figure 1 thatTo achieve the desired formation pattern, the following inequality should be guaranteed:, are positive constants that can be arbitrarily small. , are the desired distance and angle yet bounded and there exist a positive constant, that is, , , such that , .

If the value of , can be confirmed, then the value of , can be confirmed, and then the value of , can be transformed to control , . As seen from the picture,Then,The desired distance between 2 USVs is considered as , and the projection weight in the earth fixed frame is , , soDifferentiating (6) yieldsThe errors of the formation model can be defined asFrom what has been discussed above, the formation mathematics model can be written as follows: whereand we can get that , are bounded since , , , are bounded, and , .

Based on [4], we have the following assumptions.

*Assumption 1. *The surge velocity .

*Assumption 2. *Trajectory (, ) produced by the virtual leader satisfies that its derivatives with respect to exit up to second order.

*Assumption 3. *The terms that satisfy are constants.

*Assumption 4. *The follower can receive the position and velocity information from the leader by sensors in time.

In summary, the underactuated USV formation control problem can be divided into two parts: kinematics control and dynamics control.

For kinematics control, virtual surge, and sway velocities are designed to makeFor dynamics control, surge force and yaw torque are designed to make actual velocities approximate to virtual velocities.

#### 3. Hybrid Control Strategy for Unmanned Surface Vehicles

##### 3.1. Virtual Velocity Controller

The virtual velocity controller based on the backstepping approach can be defined asHere, , , are the virtual surge, sway, and yaw motion speed of the following USVs, , , are the desired velocity in the body-fixed frame, and , , are a positive constant, respectively.

##### 3.2. Bioinspired Velocity Controller

With the analysis of (12), the virtual speed is directly related to the state error. The traditional backstepping method will generate a sharp speed jump when a sudden tracking error occurs. This means that large acceleration and forces/moments are required that make exceeding the control constraint practically impossible. To solve the speed jump and control constraint problems, a bioinspired model is introduced to design the virtual speed controller.

The bioinspired neural dynamics model was first put forward by Grossberg [21]. It can describe the online adaptive behavior of individuals. It was originally derived based on the membrane model proposed by Hodgkin and Huxley [22] for a patch of membrane using electrical elements. The dynamics of voltage across the membrane can be described in the membrane model, using state equation technique aswhere is the neural activity of the j-th neuron in the neural network, the parameters , , are nonnegative constants representing the passive decay rate, the upper and lower bounds of the neural activity, respectively, and the variables the excitatory and inhibitory inputs to the neuron.

The bioinspired model can be defined as following form:whereIn this work, the tracking errors , , are chosen as the input of the neural dynamic model, and the outputs will substitute the error of , , . are nonnegative constants on behalf of the neurons of attenuation rate. , are considered nonnegative constants that denote the upper and lower bounds of neurons dynamic, which can restrict the outputs to .

Therefore, the proposed virtual speed controller is as follows:, are the same parameters as (12). Based on the description above, , , are all bounded and smooth without any sharp jumps when the inputs suddenly change.

##### 3.3. Sliding-Mode Controller

After the virtual speed controller has been designed, a sliding-mode controller is introduced to produce the control force to make the USV arrive at the virtual speed.

Generally, the process of designing the sliding-mode controller is divided into two parts: defining a sliding manifold and designing a control law to move toward the sliding manifold.

The sliding manifold is selected aswhere is the error between the reality surge velocity and the virtual velocity of the leader. From the derivation of (18), we can getlet ; we can get the equivalent control lawThen, the switching control law can be selected asWe can obtain the surge force control law Next, the yaw control torque will be designed.

The yaw control torque is based on a two-order sliding manifold, and the sliding manifold is defined according to the sway speed error of the underactuated unmanned surface vehicles:where and is a positive constant.

By derivation (23), we can get Considering the difficulty of computing , a feedback control input of acceleration error is introduced:let ; then the equivalent control law can be designed asThe switching control law is so, the yaw control torque is The controller based on the backstepping method can be described aswhere , are virtual velocity controller.

#### 4. Stability Analysis

We choose a Lyapunov function as , , are positive constants.

Let , .

Then, Substituting (9) and (12) into (32), we can get and if , In the same way,as defined in (14), if , then , , , .

If , then , ,We can determine that is a positive constant and equal to 0. So, , ; therefore , so is monotonically decreasing and ; we can obtain , , . Based on Lyapunov stability, the outer loop is stable.

To guarantee the surge speed , a candidate Lyapunov function is chosen as follows:and, then, derivation of (36), where is a positive constant. This means that has asymptotic stability, so the trajectory can reach the origin, , .

Choose another Lyapunov function asWith Assumption 1, we can get Therefore, is asymptotic stability, , . The surge speed and sway speed of unmanned surface vehicles are bounded, which has been proven above, and the yaw angle speed is also bounded, which will be verified below.

Consider the augmented Lyapunov function:then,If is satisfied, then , is a decreasing function. Since , is also decreasing and the largest value must exist. , , is bounded, which has been proven above, and is also bounded, as clarified in Assumption 3, so must be bounded.

#### 5. Simulation Results and Analysis

##### 5.1. Straight Line Formation Control

To verify the effectiveness of the proposed strategy, the mathematical value of 3 USVs is used for simulation from [23].

, , ,

, , .

A simple case of straight line formation control is considered first. In the simulation, USV 2 and USV 3 are followers; USV 1 is a virtual leader. The system initial state is as follows: , ; the desired position and orientation with respect to USV 1 are as follows: ld_{12}=5m, ld_{13}=5m, , . We select k_{1}=k_{2}=k=3, k_{3}=3, A_{1}=A_{2}=A_{3}=4, B_{1}=D_{1}=6, B_{2}=D_{2}=5, B_{3}=D_{3}=5, , , , . The disturbance is defined as time-varying disturbance .

The motion curve of three USVs under the proposed scheme is shown in Figure 2. As seen from Figures 2–4, at first, the leaders adjust their control input, making them approach the desired distance and orientation. After a few seconds, the leader and the follower have reached the desired index. During this procedure, we can see from Figure 3 that the yaw angle changes slowly; this is attributed to the bioinspired model constraining the control input when the initial error was large and included the coordinate transformation of the control point. Figure 4 shows that the control input of the USV is smooth and different from the traditional method in [24]. As the controller based on the backstepping approach, this controller causes the sharp speed jumps when tracking errors change suddenly at initial time. For example, the surge speed of the backstepping method jumps to more than 10 m/s, but the biological inspired method is just about 5 m/s in Figures 5 and 6. Therefore, the proposed bioinspired method is more practical and effective.

##### 5.2. Circular Formation Control

A typical circular path was studied in this section. The initial state , , . The desired distance and orientation are ld_{12}=8m, ld_{13}=8m, , . We select , , , , . , , , . The disturbance is defined as time-varying disturbance . The simulation results are as shown in Figures 5–7. We can also see that, after the first 20 seconds, the followers USV 2 and USV 3 produce a control force and torque based on the bioinspired hybrid control method, making them move in the error-decreasing direction. Though the distance error and orientation error are large at first, the control input changes slowly in the first few seconds, which leads to the error tending toward zero at a reasonable speed in Figures 8 and 9.

#### 6. Conclusion and Future Work

The development of a bioinspired model-based hybrid sliding-mode formation controller for underactuated unmanned surface vehicles has been presented. The kinematics and dynamic equation of USV formation are first established; then a bioinspired-based, sliding-mode hybrid control strategy, including a virtual speed controller and a sliding-mode controller, is proposed. The stability and effectiveness of the controller have been proven by the Lyapunov theory and verified through MATLAB simulation. The controller addresses the problem of speed jump and controller saturation caused by the large initial error and guarantees yaw angle stability through coordinate transformation. However, collision avoidance and communication between the follower and the leader should be considered in future work. In addition, distributed formation control and constrained control of underactuated marine vehicles are also highly desirable; related research is most concerned with the full actuated surface vehicles so far [25, 26].

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work was partially supported by the National Nature Science Foundation of China (Grant no. 51309062).

#### References

- K. D. Do, “Synchronization Motion Tracking Control of Multiple Underactuated Ships with Collision Avoidance,”
*IEEE Transactions on Industrial Electronics*, vol. 63, no. 5, pp. 2976–2989, 2016. View at: Publisher Site | Google Scholar - X. Wang and S. Li, “Distributed finite-time consensus algorithms for leader-follower second-order multi-agent systems with mismatched disturbances,” in
*Proceedings of the American Control Conference*, pp. 2814–2819, IEEE, 2016. View at: Google Scholar - Z.-H. Peng, D. Wang, W.-Y. Lan, and G. Sun, “Robust leader-follower formation tracking control of multiple underactuated surface vessels,”
*China Ocean Engineering*, vol. 26, no. 3, pp. 521–534, 2012. View at: Publisher Site | Google Scholar - M.-Y. Fu, D.-S. Wang, and C.-L. Wang, “Formation Control for Water-Jet USV Based on Bio-Inspired Method,”
*China Ocean Engineering*, vol. 32, no. 1, pp. 117–122, 2018. View at: Publisher Site | Google Scholar - X. Wang, S. Li, and X. Yu, “Distributed finite-time consensus algorithms for leader-follower second-order multi-agent systems with mismatched disturbances,” in
*Proceedings of the American Control Conference (ACC)*, pp. 2814–2819, IEEE, Boston, MA, USA, 2016. View at: Publisher Site | Google Scholar - R. W. Beard, J. Lawton, and F. Y. Hadaegh, “A coordination architecture for spacecraft formation control,”
*IEEE Transactions on Control Systems Technology*, vol. 9, no. 6, pp. 777–790, 2001. View at: Publisher Site | Google Scholar - C. Ma and Q. Zeng, “Distributed formation control of 6-DOF autonomous underwater vehicles networked by sampled-data information under directed topology,”
*Elsevier Science Publishers*, 2015. View at: Publisher Site | Google Scholar - N. E. Leonard and E. Fiorelli, “Virtual leaders, artificial potentials and coordinated control of groups,” in
*Proceedings of the 40th IEEE Conference on Decision and Control (CDC)*, vol. 3, pp. 2968–2973, IEEE, USA, 2001. View at: Google Scholar - J. Ghommam and M. Saad, “Backstepping-based cooperative and adaptive tracking control design for a group of underactuated AUVs in horizontal plan,”
*International Journal of Control*, vol. 87, no. 5, pp. 1076–1093, 2014. View at: Publisher Site | Google Scholar | MathSciNet - L. Ding and G. Guo, “A backstepping method for ship formation control,”
*Control and Decision*, vol. 27, no. 2, pp. 299–303, 2012. View at: Google Scholar | MathSciNet - Q. Ali and S. Montenegro, “Explicit model following distributed control scheme for formation flying of mini UAVs,”
*IEEE Access*, vol. 4, pp. 397–406, 2016. View at: Publisher Site | Google Scholar - F. Fahimi, “Sliding-mode formation control for underactuated surface vessels,”
*IEEE Transactions on Robotics*, vol. 23, no. 3, pp. 617–622, 2007. View at: Publisher Site | Google Scholar - L. Liu, D. Wang, Z. Peng, and H. H. T. Liu, “Saturated coordinated control of multiple underactuated unmanned surface vehicles over a closed curve,”
*Science China Information Sciences*, vol. 60, no. 7, 2017. View at: Google Scholar - Z. Peng, D. Wang, Z. Chen, X. Hu, and W. Lan, “Adaptive dynamic surface control for formations of autonomous surface vehicles with uncertain dynamics,”
*IEEE Transactions on Control Systems Technology*, vol. 21, no. 2, pp. 513–520, 2013. View at: Publisher Site | Google Scholar - B. Ranjbar-Sahraei, F. Shabaninia, A. Nemati, and S.-D. Stan, “A novel robust decentralized adaptive fuzzy control for swarm formation of multiagent systems,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 8, pp. 3124–3134, 2012. View at: Publisher Site | Google Scholar - Y. H. Chang, C. L. Chen, W. S. Chan, H. W. Lin, and C. W. Chang, “Fuzzy Formation Control and Collision Avoidance for Multiagent Systems,”
*Mathematical Problems in Engineering*, vol. 2013, no. 8, Article ID 908180, pp. 61–61, 2013. View at: Publisher Site | Google Scholar | MathSciNet - D.-D. Mu, G.-F. Wang, Y.-S. Fan, Y.-M. Bai, and Y.-S. Zhao, “Fuzzy-Based Optimal Adaptive Line-of-Sight Path Following for Underactuated Unmanned Surface Vehicle with Uncertainties and Time-Varying Disturbances,”
*Mathematical Problems in Engineering*, pp. 1–12, 2018. View at: Google Scholar - B. Sun, D. Zhu, and S. X. Yang, “A bio-inspired cascaded approach for three-dimensional tracking control of unmanned underwater vehicles1,”
*International Journal of Robotics and Automation*, vol. 29, no. 4, pp. 349–358, 2014. View at: Google Scholar - Z. Peng, D. Wang, and X. Hu, “Robust adaptive formation control of underactuated autonomous surface vehicles with uncertain dynamics,”
*Iet Control Theory & Applications*, vol. 5, no. 12, pp. 1378–1387, 2011. View at: Publisher Site | Google Scholar | MathSciNet - R. Yang and D. Zhu, “Plane trajectory tracking control of autonomous underwater vehicles based on a biologically inspired shunting model,”
*Journal of Shanghai Maritime University*, 2011. View at: Google Scholar - T. I. Fossen,
*Marine Control Systems: Guidance, Navigation, and Control of Ships, Rigs and Underwater Vehicles*, 2002. - S. Grossberg, “Nonlinear neural networks: principles, mechanisms, and architectures,”
*Neural Networks*, vol. 1, no. 1, pp. 17–61, 1988. View at: Publisher Site | Google Scholar - A. L. Hodgkin and A. F. Huxley, “A quantitative description of membrane current and its application to conduction and excitation in nerve,”
*The Journal of Physiology*, vol. 117, no. 4, pp. 500–544, 1952. View at: Publisher Site | Google Scholar - K. D. Do, Z. P. Jiang, and J. Pan, “Underactuated ship global tracking under relaxed conditions,”
*IEEE Transactions on Automatic Control*, vol. 47, no. 9, pp. 1529–1536, 2002. View at: Publisher Site | Google Scholar | MathSciNet - Z. Peng, J. Wang, and D. Wang, “Distributed Maneuvering of Autonomous Surface Vehicles Based on Neurodynamic Optimization and Fuzzy Approximation,”
*IEEE Transactions on Control Systems Technology*, vol. 99, pp. 1–8, 2017. View at: Google Scholar - S.-L. Dai, S. He, H. Lin, and C. Wang, “Platoon Formation Control With Prescribed Performance Guarantees for USVs,”
*IEEE Transactions on Industrial Electronics*, vol. 99, pp. 1–1, 2017. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2018 Mingyu Fu and Duansong Wang. 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.