1. Introduction
In recent years, with the continuous progress of science and technology, the formation control of autonomous unmanned systems (AUSs) has become a new topic in the field of control research [
1]. In general, unmanned ground vehicles (UGVs) [
2], autonomous underwater vehicles (AUVs) [
3], mobile robots [
4], and unmanned vessels [
5] can be regarded as AUSs [
6]. AUSs have a host of advantages, such as high reliability, high fault tolerance, completing complex tasks, and improving the efficiency of operations. In order to improve the efficiency of completing the task, the control of a single vessel can no longer meet the demand, and formation control of multiple vessels is often required to complete the task [
7]. Compared with a single vessel, multi-vessel cooperation has the advantages of fault tolerance and strong adaptability. Formation control can be applied to rescue missions, exploration of natural resources, environmental monitoring, vessel replenishment, etc. [
8]. Therefore, the research on formation control of unmanned vessels is of great application value.
The formation control problem is related to the design of stabilizing, path-following, and tracking controllers [
9]. At present, several control methods have been proposed for trajectory tracking, such as model predictive control (MPC) [
10], backstepping technique [
11,
12], and sliding mode control (SMC) [
13,
14]. In the field of formation, Skjetne et al. early proposed a robust nonlinear control method for the nonlinear formation control problem of vessels [
15]. After that, several methods were proposed to solve the formation of the multiple vessels, including behavior-based [
16], leader–follower [
17,
18], and virtual leader structure [
19,
20]. Kim et al. adopted a dynamic model of an AUV with nonuniform current disturbances to develop a high-gain observer (HGO) for an estimation of the three-dimensional current velocities along AUV trajectories [
21]. A novel fault tolerant leader–follower formation control scheme was designed for a group of underactuated autonomous surface vessels with partially known control input gain functions, where the line-of-sight (LOS) range and angle tracking errors are required to be constrained [
22]. Yu et al. studied the practical time-varying formation tracking problem with multiple leaders using neural networks [
23].
Considering the existence of model uncertainty, unknown parameters, and external environment disturbances in the vessel model, Wang [
24], Peng [
25], Shojaei [
26], and Sun [
14] have proposed some methods to estimate them. Moreover, Liu et al. proposed a nonlinear disturbance observer-based backstepping finite-time sliding mode control scheme for trajectory tracking of underwater vehicles subject to unknown system uncertainties and time-varying external disturbances [
27]. Peng et al. adopted an extended state observer (ESO) to recover the unmeasured velocities as well as to estimate compound uncertainty induced by internal model uncertainty and external disturbance [
28]. These schemes can improve the anti-disturbance performance of vessels.
However, the control input saturation constraint of vessel was not considered in the literature mentioned above. That is to say, the designed control forces and torques were assumed to be provided by the vessel’s actuators. However, in actual engineering practice, the forces and torques provided by the actuator have output constraints, which may not satisfy the design requirement. If such situation occurs, it will not only affect the stability of the formation and fail to complete the assigned task, but also may cause collision between vessels. Therefore, it is necessary to design the vessel controller with saturation constraint. Wei et al. considered the trajectory tracking of a marine surface vessel in the presence of output constraint and uncertainties and adopted an asymmetric barrier Lyapunov function to cope with the output constraints [
29]. The formation control problem of underactuated leaders with input constraint and a yawing motion on the water surface was studied in [
30]. The input constraint trajectory tracking of a single underactuated surface vessel (USV) was studied in [
31]. Shojaei designed a neural adaptive controller compensates unknown dynamics and external disturbances. Actuators’ saturation nonlinearity is compensated by multilayer neural networks [
32]. To overcome the difficulty of nondifferentiable input constraint, a smooth hyperbolic tangent function was employed to approximate the asymmetric saturation function [
33]. A novel model-free robust bottom following controller for a flight-style AUV with saturated actuator dynamics was presented with theoretic and numerical analysis [
34]. In [
35], generalized saturation constraint (SC) function was adopted to prevent actuator saturation, and a neural network was used to compensate for uncertain nonlinearity.
Based on the analysis of the above literatures, this paper adopted the ESO to estimate the model uncertainty, internal parameter perturbations, and external environmental disturbances of unmanned surface vessels. Moreover, according to the literature analysis [
30,
31,
32,
33,
34,
35], the formation control problem of multi-unmanned surface vessels under actuator saturation constraint is further studied in this paper.
The contributions of this paper are summarized as follows: (1) The model uncertainty, parameter perturbation and external disturbances are estimated by ESO. Compared with the approximation strategy of neural network and HGO, the ESO has a simpler structure, high implementation efficiency, and can improve the anti-disturbance of the system. (2) With the formation control strategy of the virtual leader, the formation will not affect the navigation of other vessels due to the failure of the leader vessel. (3) The proposed anti-saturation controller will not cause insufficient force in the actuator, which is more in line with practical application.
The remainder of this paper is structured as follows. In
Section 2, the mathematical model and formation control objectives of unmanned vessels are introduced. In
Section 3, the ESO is designed, and the formation controller is designed by combining backstepping and generalized SC function. Comparative simulation results are shown and analyzed in
Section 4 to demonstrate the effectiveness, anti-disturbance and anti-saturation of the proposed formation controller based on SC function, ESO and the virtual leader strategy. Finally, the conclusions are shown in
Section 5.
3. Controller Design and Stability Analysis
The internal coupling, the parameter perturbation, and the disturbances of the external environmental disturbances are considered, the ESO is designed for feedback compensation to improve the anti-disturbance and control accuracy of the closed-loop system. In order to meet the engineering application, a generalized SC function with better performance is designed to solve the problem of actuator oversaturation and improve control performance. Then, according to the virtual leader formation strategy, combined with the backstepping control technique, the anti-disturbance and anti-saturation formation controller of the unmanned vessel is designed. Finally, the stability of the system is analyzed. The overall control structure of system is shown in
Figure 3.
As shown in
Figure 3, the overall control structure of the system includes virtual leader strategy, backstepping technique, SC function, ESO, and unmanned vessel model.
3.1. Design of Extended State Observer
According to Equation (3), the dynamic model of the
i-th unmanned vessel in the formation can be transformed into:
To facilitate the design of the ESO, Equation (6) can be simplified as:
where
,
is the conversion form of compound disturbances;
,
;
and
are the state variable of the system; the control input
.
Then, the second-order system of each vessel in the formation can be expressed as:
where
is the expansion state of the system,
is the system output. Assuming that the unknown compound disturbances
is smooth and bounded, and its first derivative satisfies
, then, the following third order ESO is designed:
where
and
observe
and
respectively,
is the estimated value of
,
,
is the variable of the
function,
is an arbitrarily small positive number,
,
,
and
are the observer parameters.
There is a coupling relationship among the 3-DOF motions of surge, sway, and yaw of the vessel. In active disturbance rejection control, the coupling within the model can be regarded as internal disturbances, and vessel parameter perturbation is usually also regarded as internal disturbances, i.e., model uncertainty. The external environment disturbances are the external disturbances. When using the ESO to estimate, the internal and external disturbances are not distinguished, and they are regarded as a kind of compound disturbances.
Therefore, the observation error of ESO is
, where
,
,
. According to Equation (8) and ESO (9), the error system equations of the observer can be obtained:
The following proves the convergence of the error system (10).
Proof. First, let
;
;
;
,
, the following equations can be obtained:
where
and
;
is a continuous positive definite function, its expression is
; the constant
,
.
Lemma 1. If the parameters, andin the extended state observer (9) meet the following conditions [
38]
, where, and. Then the error system (10) satisfies, where is an arbitrarily small positive constant.
Therefore, reasonable selection of parameters , and are required to meet the conditions in Lemma 1, and the ESO can estimate the actual value very well, i.e., , and . It can be seen that the observation error of ESO converges to arbitrarily small. The proof is complete. □
According to the Equations (1)–(3) and ESO (9), it can be obtained: , , , and are the observed values of and , respectively, is the estimated value of compound disturbances .
3.2. Formation Controller Design
Considering the saturation of the actuator, the generalized SC function of the controller can be designed.
Definition 1. [
39]
Given a non-decreasing function and a positive number, the function satisfies the following conditions: (1) the function is a generalized saturation function (SC) of local Lipschitz; (2) , ; (3) , where is arbitrary real number. Lemma 2. [
39]
The generalized SC function is a strictly increasing continuous derivable function and it is bounded by . There is a function and a parameter . The generalized SC function satisfies the following properties:(1)is bounded,makes, where is an arbitrary real number;
(2) When is arbitrary real number, it satisfies:;
(3), ;
(4) When, there is;
(5), where is arbitrary real number;
(6) When, there is, where is arbitrary real number.
According to the Definition 1 and Lemma 2, the following generalized SC function can be designed as:
where
and
are design parameters, and both satisfy
.
Combining the backstepping technique and the virtual leader strategy, the formation controller is designed, and the generalized SC function is used to realize the anti-saturation. The ESO is applied to estimate the unmodeled dynamics, parameter perturbation and external wind wave disturbances of the unmanned vessel system. The formation controller design is as follows.
Define the position tracking error of the
i-th unmanned vessel in the formation as:
where
is the relative position of each vessel and the virtual leader vessel in the formation.
According to the backstepping technique, a virtual velocity control law is designed to stabilize the position tracking error, and its expression is as follows:
where
is a
dimensional diagonal positive definite coefficient matrix.
is the designed generalized SC function, and
is the
j-th
element of the position tracking error
.
Combining Equation (13) and Equation (14), the velocity error can be defined as:
where
.
According to Equation (3), Equation (15), and the properties (d) and (e), it can be obtained:
where
is the compound time-varying disturbances of the system, which is an unknown three-dimensional bounded smooth function. The disturbance can be estimated according to ESO (9), and the estimated value is represented by
. Compared with neural networks which need to consider many parameters and take a long time to train the weights of the approximation strategy [
40], the ESO has a simple structure, and it is much efficient to implement, and can also improve the anti-disturbance of the entire closed-loop system.
Based on the analysis of Equations (13)–(16), combining ESO (9) and SC function (12), the formation control law of multi-unmanned vessels can be designed as:
where
and
are the adjustable positive coefficients of the controller.
3.3. System Stability Analysis
It is necessary to analyze the stability of the closed-loop feedback system composed of the ESO (9), the unmanned vessel model (3) and the controller with a SC function (17). It is assumed that parametric perturbation, external environment disturbances and internal coupling disturbances exist in the vessel system, which are all continuous bounded functions. Firstly, the following theorem is given.
Theorem 1. For the designed closed-loop feedback system, if it meets the condition that the track points of the virtual leader vessel are smooth and bounded, and the initial system state is bounded, then the reasonable design of the controller parametersand can make all the states of the system consistent and ultimately bounded, while the position error and speed error can converge to arbitrarily small.
Proof. Step 1. The Lyapunov function is designed as follows:
According to the Equations (13), (15), and (16), the time derivative of
is obtained as:
Step 2. Based on property (b), the following equation can be obtained:
According to Equation (20), Equation (19) can be converted into the following equation:
where
is the errors of the estimated disturbances.
According to the condition (6) of the Lemma 2, Equation (20) can be converted into:
According to the property (f), Equations (13) and (14), the following expression can be obtained:
where
and
.
By Definition 1,
. Combined with Equation (23), it can be obtained:
where
. Choose the appropriate parameters
and
, it can be obtained that
.
According to the conditions (1) and (5) of the Lemma 2, Equation (24) can be obtained as follows:
Step 3: According to the conditions (2)–(4) of the Lemma 2, it gives
, and obtains:
According to Equations (25) and (26), it can be obtained:
where
,
.
According to the above analysis, it gives:
According to Lemma 1,
can be obtained, where
is an arbitrarily small three-dimensional positive vector. Therefore, all states are consistent and ultimately bounded in the closed-loop system. When
,
, and it can be obtained:
The position error and velocity error can be arbitrarily small by choosing appropriate parameters. The proof is complete. □
4. Simulation Results and Analysis
In order to verify the effectiveness, anti-disturbance, and anti-saturation of the proposed formation controller in the presence of model uncertainty, parameter perturbation and unknown environmental disturbances, the vessel model with a length of 1.2 m is selected for simulation analysis. The parameter values of unmanned vessels are shown in
Table 1 [
41].
An experiment with three unmanned vessels applied to verify the effectiveness and applicability of the formation controller. The initial conditions of unmanned vessels in the simulation are as follows:
The initial position and heading angle of the virtual leader vessel is set as:
The initial position and heading angle of the three follower vessels are set as:
The initial velocity of both the follower vessel and the virtual leader vessel are set to:
The relative positions of three follower vessels and virtual leader vessel are respectively set as follows:
The trajectory of virtual leader vessel is set as:
It is a ‘U’ trajectory composed of double straight lines and a semicircle, including the conversion between the straight lines and the semicircle. The unmanned vessel relies on the effective control law of the controller to track the expected trajectory during the conversion process. Therefore, the ‘U’ trajectory can be used to verify the effectiveness of the controller. The heading angle of the virtual leader vessel is calculated by .
Assuming that the coefficients
,
,
,
,
,
,
,
,
and
of each vessel have an error of 5%. The model uncertainty and internal disturbances
and the external disturbances
of the three vessels can be set as follows:
In order to accurately describe the error between the compound disturbances suffered by unmanned vessel and its estimated value, the compound disturbances suffered by each vessel is expressed as
, where
. Similarly, the total velocity error of the unmanned vessel is denoted by
. In practical engineering, because of the physical constraints of the actuator of vessel, the control force and torque can be expressed as follows:
The input saturation limits of follower vessels are shown in
Table 2.
According to the saturation values of force and torque, the parameters of the SC function are selected as:
The parameters of ESO are selected as follows:
The parameters of the formation controller are selected as follows:
The high gain observer (HGO) can estimate the derivative term of the system output according to the output of the system [
42] and does not depend on the mathematical model of the system, and is widely used in nonlinear output feedback control. This is similar to the role of ESO. According to Equation (7), the designed dynamic equation of HGO is as follows [
43]:
where
is the compound disturbance.
is the estimated value of
,
is the observer gain coefficient. The Laplace transform of Equation (40) is as follows:
where
and
are the Laplace transform of
and
respectively. It can get
by selecting the appropriate parameter
, i.e.,
.
Therefore, this simulation experiment compares the designed SC-ESO scheme with HGO scheme and ESO scheme respectively, which can effectively verify the performance of the designed SC-ESO scheme. The simulation time is set as
seconds. The simulation results and corresponding analysis are described as follows. Formation trajectories of virtual leader vessel and three unmanned vessels based on SC-ESO and backstepping are shown in
Figure 4.
As shown in
Figure 4, the pink dotted line represents the formation shape of three unmanned vessels, the black dash line represents the trajectory of the virtual leader vessel, the initial position of three follower vessels are
,
, and
, and the proposed SC-ESO represents the combination of saturated constraint function and extended state observer. It can be seen From
Figure 4, that the vessels in the formation can track the desired track in a relatively short period of time and maintain the same formation as the virtual vessel, when the initial position error of the vessel is large. The unmanned vessel using the proposed SC-ESO can track their formation in about 75 s. The position of the vessel is sampled every 25 s, that is, at the time of the third sampling, the formation trajectory can be tracked, as shown in the pink dotted line in
Figure 4. When the tracking trajectory changes from a straight line to a semicircular trajectory, the trajectories of the three unmanned vessels will fluctuate, but the desired trajectory can be tracked in a short time. Therefore, the ‘U’ trajectory can validly verify the effectiveness and applicability of the controller proposed in this paper. The comparison of the backstepping control method using SC-ESO, ESO, HGO and without observer is shown in
Figure 5.
In
Figure 5, the solid line indicates the case with SC-ESO, the dotted line for the case with ESO, the dash-dot line for the case HGO, and the dash line indicates the case without observer. From
Figure 5, it shows that the trajectory tracking effect of the proposed SC-ESO scheme are better than ESO scheme and HGO scheme, which demonstrates that the effectiveness and superiority of the proposed SC-ESO. The control method without observer and saturation constraint is easy to cause collisions between unmanned vessels and destroy formation because of the distance between unmanned vessels is too close. It can be seen from the results that the proposed SC-ESO scheme can improve the control performance of the system under model uncertainties, parameter perturbation and external disturbances. The position error between each unmanned vessel and its desired trajectory is shown in
Figure 6 and
Figure 7.
In
Figure 6 and
Figure 7, the solid line indicates the case with SC-ESO, the dotted line for the case with ESO, the dash-dot line for the case HGO and the dash line indicates the case without ESO. Where
is the position error of the
i-th vessel in the Y direction, and
is the position error of the
i-th vessel in the X direction. It can be seen that the initial position of each unmanned vessel is far away from its desired trajectory, and the initial position error is large, but they can track the desired trajectory eventually. Moreover, under the action of the controller (17) proposed in this paper, the control system convergence rate of tracking error is better than the HGO scheme and the ESO scheme, and the overshoot is also the smallest, which proves the effectiveness of the SC-ESO controller proposed in this paper. Therefore, in order to improve the control accuracy, SC-ESO is required. The total velocity errors of each unmanned vessel are shown in
Figure 8.
It can be seen from
Figure 8 that the velocity error of the unmanned vessel system using the SC-ESO converges faster compared with other cases, which demonstrates that the SC-ESO scheme enables the unmanned vessels to form formations faster. The velocity errors will fluctuate when the straight track and the semicircle track are converted, and the unmanned vessels formation can maintain the same velocity after a period of adjustment. Under the action of the controller (17), the position error and velocity error converge to an arbitrarily small range, which proves that the proposed control scheme guarantees that all signals in the closed-loop control system are uniformly converges to near zero and tracking error can be adjusted by a predefined parameter. Moreover, the comprehensive performance comparison of the position and velocity tracking errors of the three unmanned vessels in the formation are shown in
Table 3.
The integral time square error (IAE), i.e.,
, the root-mean-square error (RMSE), i.e.,
, are utilized to assess the tracking effect and steady state performance in trajectory tracking of unmanned vessel. The smaller the values of IAE and RESM, the better the control effect of the scheme used. According to the comparative analysis of the data in
Table 3, the tracking effect and steady state performance of the formation controller based on SC-ESO are significantly better than other schemes. The control effect of the ESO scheme and HGO scheme are slightly worse than the proposed SC-ESO. The scheme without observer has the worst effect. The surge force, sway force, and yaw torque of three unmanned vessels are shown in
Figure 9 and
Figure 10.
As shown in
Figure 9 and
Figure 10, in order to track the desired trajectory, the force and torque of the unmanned vessel fluctuate dramatically in about 15 to 30 s. When the desired trajectory transforms from the straight path to the semicircle path and from the semicircle path to the straight path, both force and torque fluctuate in about 120 to 130 s and 190 to 220 s, respectively. Under the limitation of input saturation value, it can be seen from
Figure 9 and
Figure 10 that the surge force
, sway force
, and yaw torque
do not exceed the actuator saturation values showed in
Table 2, which fully indicates the anti-saturation performance of the controller with the proposed SC function, and it is much suitable for engineering application. The disturbances estimation results of the three unmanned vessels by ESO are shown in
Figure 11,
Figure 12,
Figure 13 and
Figure 14.
Figure 11,
Figure 12 and
Figure 13 show the estimation of the disturbances from three unmanned vessels in the direction of surge, sway, and yaw by ESO, which includes internal unmodeled dynamics, parameter perturbation, and unknown environmental disturbances.
Figure 14 shows the estimated compound disturbances of three unmanned vessels by ESO. The red solid line represents the actual disturbances of three unmanned vessels, and the blue dash line represents the estimate of the actual disturbances using ESO. The results show that ESO can estimate disturbances well. The better the estimation effect is, the stronger the anti-disturbance performance of the controller and the higher the control accuracy. The estimation errors of compound disturbances by ESO are shown in
Figure 15.
Figure 15 shows the variation of the error between the estimated value obtained using ESO and the actual compound disturbances value of the three unmanned vessels. It can be seen that most of the estimation error does not exceed 0.02. According to the simulation results, the ESO has a good estimation effect on the compound disturbances of vessel. From the above comparison results, it follows that the proposed SC-ESO and backstepping scheme is more effective for the formation control system with model uncertainties, parameter perturbation, and external environmental disturbances.