Next Article in Journal
A Bearing Fault Diagnosis Method Using Multi-Branch Deep Neural Network
Previous Article in Journal
Investigation of the Shear Mechanical Behavior of Sandstone with Unloading Normal Stress after Freezing–Thawing Cycles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Formation Control of a Multi-Autonomous Underwater Vehicle Event-Triggered Mechanism Based on the Hungarian Algorithm

School of Intelligent Science and Engineering, Harbin Engineering University, Harbin 150009, China
*
Author to whom correspondence should be addressed.
Machines 2021, 9(12), 346; https://doi.org/10.3390/machines9120346
Submission received: 8 November 2021 / Revised: 30 November 2021 / Accepted: 6 December 2021 / Published: 9 December 2021
(This article belongs to the Topic Robotics and Automation in Smart Manufacturing Systems)

Abstract

:
Among the key technologies of Autonomous Underwater Vehicle (AUV) leader–follower formations control, formation reconfiguration technology is one of the main technologies to ensure that multiple AUVs successfully complete their tasks in a complex operating environment. The biggest drawback of the leader–follower formations technology is the failure of the leader and the excessive communication pressure of the leader. Aiming at the problem of leader failure in multi- AUV leader–follower formations, the Hungarian algorithm is used to reconstruct the failed formation with a minimum cost, and the improvement of the Hungarian algorithm can solve the problem of a non-standard assignment. In order to solve the problem of an increased leader communication task after formation reconfiguration, the application of an event-triggered mechanism (ETM) can reduce unnecessary and useless communication, while the efficiency of the ETM can be improved through increasing the event-triggered conditions of the sampling error threshold. The simulation results of multi-AUV formation control show that the Hungarian algorithm proposed in this paper can deal with the leader failure in the multi-AUV leader–follower formation, and the ETM designed in this paper can reduce about 90% of the communication traffic of the formation which also proves the highly efficient performance of the improved ETM in the paper.

1. Introduction

At present, the technology of AUVs has been gradually maturing. The technology becomes outstanding in marine equipment combined with sensors, intelligent control technology, and communication technology, which is widely used in civil and military activities. Additionally, it is the main tool for performing tasks such as marine resource exploration, port reconnaissance, underwater demining, and laying pipelines on the seabed [1]. With the rapid development of information technology, the operation environment of AUVs will become more complex and difficult in the future. A single AUV often cannot complete complicated tasks due to its limited resources and bad system fault tolerance. The coordinated formation operation of a multi-AUV can make up for the limited operation capacity of a single AUV. Therefore, it is bound to become a trend to use large-scale, low-cost and multi-functional AUVs to form clusters to complete formation operations in the future.
The form of the leader–follower is a kind of formation. The basic idea is to select an AUV as the leader in the formation, with the other AUVs as followers. The advantage of this is that the control structure is simple and precise formation control can be realized. The leader is the core part of the formation and when the AUV formation performs tasks, the followers need to communicate with the leader constantly to confirm the position of the leader and to maintain the formation. The failure of the leader refers to the fact that the leader cannot continue sailing or communicating with the follower due to damage, causing the entire formation to become paralyzed. Therefore, the leader–follower formation can have problems such as leader failure and leader communication pressure.
In order to solve the problem of leader failure, some scholars have proposed to create a virtual leader to replace the failed leader. The literature [2] uses the planned trajectory of the virtual leader to plan the trajectory of each follower directly. In this case, since the leader is virtual, there is no formation problem due to leader failure. Liao R. et al. [3] designed a multi-agent system as a formation composed of a virtual leader with a completely unknown input and several real leaders and followers. Then, distributed finite-time observers were designed for each real leader and follower to obtain state estimates of the adjacent agents. Lalish and Morgansen et al. [4] combined a virtual navigator with a virtual structure, designated the desired movement path of each follower with the help of the virtual navigator, and finally completed the 2D plane formation control of the desired formation; however, the virtual leader method requires precise modeling of the leader model, which increases the complexity of the operation. The key to formation reconfiguration is how to reconstruct the formation from the decision-making level of the formation control. In 1995, Kuhn [5] suggested using the Hungarian algorithm to solve the optimal assignment problem for the first time. The Hungarian algorithm can deal with these kinds of assignment problems efficiently and is widely used in various fields, such as firepower-target allocation, resource distribution and the optimal allocation of computer low-end threads. Wang et al. [6] combined the Hungarian algorithm with the formation control algorithm which can deal with the dynamic allocation of robots in the formation process. The Hungarian algorithm was applied to the optimal assignment problem of cloud computing in [7], where the cost matrix was constructed according to the tasks to be calculated and the available cloud computing nodes, and then the Hungarian algorithm was used to solve the optimal assignment strategy of the cost matrix; however, the cost matrix in the literature was given, which was not obtained by a real-time settlement of each robot in the formation process or its own motion state.
Another disadvantage of the leader–follower formation algorithm is that the leader needs to communicate with its followers frequently, but most of the communication has little effect on the control of multi-agents. Moreover, it increases the workload of the system processor. In response to this problem, some scholars have proposed the method of an event-triggering mechanism. In 2009, Dimarogonas and Johansson [8] proposed to apply the event-triggered mechanism to the controlling application of multi-agents, which solved the problem of excessive communication pressure of the multi-agent system with output saturation. In order to solve the problem of agents needing to communicate continuously to meet the convergence requirements, Sariff N. et al. [9] adopted a synchronous perturbation random algorithm to integrate the event-triggering system into the design of a broadcast distributed, consistent linear controller. Zhang H. et al. [10] studied the leader–following consensus problem for a class of nonlinear multiagent systems. The novel event-triggered and asynchronous edge-event-triggered mechanisms were designed for the leader and all edges, respectively. The static and dynamic consensus protocols under these mechanisms were proposed to address the leader–following consensus problem for MASs with Lipschitz dynamics, and the systems did not exhibit Zeno behavior under these two control schemes. Lin Y. et al. [11] proposed a distributed event-triggering mechanism to achieve affine formation control, which could be implemented in an asynchronous manner and guarantee Zeno-free behavior. He N. et al. [12] studied the problems of asymptotic stability and queue stability in an autonomous fleet and used event-trigger control technology to overcome the problem of frequent acceleration/deceleration with a fixed cycle control, reducing the loss of vehicle formation, and improving the efficiency of the autonomous fleet control. Huang Hongwei of Southwest Jiaotong University [13] used an event-triggered mechanism for the consistent control of multi-agents. He improved the event-triggered mechanism and reduced the updating frequency of the system control input. Astrom [14] and Arzen [15] et al. designed a control strategy based on an event-triggering mechanism, so that the system can autonomously perform sampling and control updates according to the needs of the control task. Liu et al. [16] studied the event-triggered control problem of uncertain nonlinear systems with actuator faults. The actuator failures may be unknown, therefore the total number of failures may be unlimited. In order to reduce the communication burden between the controller and the actuator, a new event-triggered control law was designed. Through analysis by Lyapunov, it was proved that the control protocol could ensure that all signals of the closed-loop system were globally bounded, and that the tracking errors of the system outputs could converge exponentially to an arbitrary small residual.
In summary, in order to solve the above two major problems, this thesis reconstructs a failed formation with minimum cost through the Hungarian algorithm which can deal with the leader failure problem in a multi-AUV leader–follower formation. For the problem of the leader communication task volume after a formation reconfiguration, the event-triggered mechanism is used to reduce unnecessary and useless communication. In addition, it proposes to improve the efficiency of an event-triggered mechanism by increasing the sampling error threshold. The flow chart of the control decision is shown below in Figure 1.

2. Construction of AUV Feedback Linearization Model

2.1. AUV Nonlinear Model

In Figure 2, E ξ η ζ is the northeast coordinate system, i.e., the fixed coordinate system, and O x y z is the hull coordinate system, i.e., the inertial coordinate system.
The AUV is full-actuated. The following dynamics and kinematics model is developed in the body coordinate system:
{ η ˙ = J ( η ) v M v ˙ = g τ C ( v ) v D ( v ) v g ( η )
In the model: η = ( x , y , z , θ , ψ ) T R 5 is the AUV’s position vector of the fixed coordinate system. The velocity vector of the AUV in the hull coordinate system is v = ( u , v , w , q , r ) T R 5 . M is the inertial matrix and J ( η ) is the transition matrix. C ( v ) is the Coriolis and centripetal force matrices. D ( v ) is the lifting force moment and hydrodynamic drag. The restoring force and torque vector is g ( η ) . The input vector of the AUV actuator is τ = ( τ u , τ v , τ w , τ q , τ r ) T R 5 and g R 5 × 5 is the parameter matrix of the actuator. The higher order damping term and the effect of hull swing on the AUV motion are not considered. The detailed mathematical model of the AUV is built as follows:
Kinematic model:
{ x ˙ = u cos ψ cos θ v sin ψ + w cos ψ sin θ y ˙ = u sin ψ cos θ + v cos ψ + w sin ψ sin θ z ˙ = u sin θ + w cos θ θ ˙ = q ψ ˙ = r / cos θ

2.2. The Feedback Linearization Model of the AUV

The AUV model is appropriately transformed for the subject in this paper:
{ η ˙ = J ( η ) v v ˙ = M 1 g τ + M 1 N ( η , v )
The above Equation (3) is transformed into the following form for the model linearization:
ξ ˙ = f ( ξ ) + M 1 g τ
The output quantity of the nonlinear system is the position vector, and the nonlinear model of the AUV is as follows:
{ ξ ˙ = f ( ξ ) + g ( ξ ) τ ς = h ( ξ )
In the model: f ( ξ ) = M 1 [ J ( η ) v N ( η , v ) ] , h ( ξ ) = ( x , y , z , θ , ψ ) T , g ( ξ ) = M 1 g .
It can be seen from the definition of the Lie derivative in literature [17]:
ς ˙ = h ξ ( f ( ξ ) + g ( ξ ) τ )
The first Lie derivative L f h ( ξ ) , L g h ( ξ ) can be obtained with the following form:
{ L f h ( ξ ) = J ( η ) v 0 L g h ( ξ ) = 0
Similarly, according to the definition of the second-order Lie derivative, we can obtain:
ς ¨ = L f h ( ξ ) ξ ( f ( ξ ) + g ( ξ ) τ )
While the second-order Lie derivative has the following form:
{ L f 2 h ( ξ ) = L f h ( ξ ) ξ f ( ξ ) 0 L g L f h ( ξ ) = L f h ( ξ ) ξ g ( ξ ) 0
According to the definition in the literature [17], the sum of the relative orders of the model is: ρ 1 + ρ 2 + ρ 3 + ρ 4 + ρ 5 = 10 , where ρ 1 = ρ 2 = ρ 3 = ρ 4 = ρ 5 = 2 , that is, the sum of the relative order is equal to the order of the system 10. It can be seen that the AUV model can be accurately feedback linearized and has a solution:
Select coordinate changes as follows:
{ z 1 ( ξ ) = ( h 1 ( ξ ) , h 2 ( ξ ) , h 3 ( ξ ) , h 4 ( ξ ) , h 5 ( ξ ) ) T z 2 ( ξ ) = ( L f h 1 ( ξ ) , L f h 2 ( ξ ) , L f h 3 ( ξ ) , L f h 4 ( ξ ) , L f h 5 ( ξ ) ) T
and
{ z ˙ 1 = z 2 z ˙ 2 = L f 2 h ( ξ ) + L g L f h ( ξ ) τ
If U = L f 2 h ( ξ ) + L g L f h ( ξ ) τ , then the actual control input under a new coordinate transformation is as follows: τ = ( L g L f h ( ξ ) ) 1 ( U L f 2 h ( ξ ) ) .
The AUV linearized mathematical model of AUV is obtained as:
{ z ˙ 1 = z 2 z ˙ 2 = U
At this time, the construction of the AUV linearized model is achieved.

3. Hungarian Algorithm

In recent years, more and more scholars have begun to use advanced optimization algorithms to solve challenging practical problems from a decision-making level. When optimizing many-objective problems, HZA C. [18] et al. proposed a learning-based algorithm to match the characteristics of the problem. MA Dulebenets [19] proposed a new adaptive polyploid memetic algorithm to solve the scheduling problem of CDT trucks. At the same time, many problem-specific hybridization techniques have been used in the algorithm to facilitate the search process. ZZ Liu [20] et al. proposed a new algorithm, AnD, based on an angle-based selection strategy and a displacement-based density estimation strategy, which can delete poor individuals one by one in environmental selection. Junayed Pasha [21] et al. proposed a mixed integer linear programming model to solve the “factory-in-a-box” planning problem. F Sherwani [22] et al. analyzed deterministic optimization techniques that can be effectively used in machine learning applications.
This manuscript mainly studies leader failure in the leader–follower formation. The leader–follower formation is a kind of central-station control. Once the leader in the formation fails, the entire formation system will become paralyzed, therefore, this paper uses the Hungarian algorithm to solve this problem at the decision-making level.
Inspired by the literature [23], the reconfiguration of a failed formation is regarded as an optimal assignment problem. In the failed formation, if the followers are in the communicating range of all leaders, the cost of assigning followers to the normal leader formation can be calculated by designing an appropriate loss function (i.e., cost function). There are three situations during the process of assignment: the followers are more than, less than, or equal to the normal leaders. The traditional Hungarian algorithm can solve the situation where the followers are equal to the normal leaders. For other special situations, the traditional Hungarian algorithm needs to be improved.
In the process of the multi-AUVs formation operation, the leader F l has M followers. During formation operating, if the leader fails, then the follower needs to be reconstructed to the other n leader formations. The cost of the formation reconfiguration between the follower i and the other leader is C i = [ cos t i 1 , , cos t i n ] , respectively.
Definition 1.
If there are m followers and n leaders during formation reconfiguration, the cost will be at a minimum under the following condition:
cos t = min i = 1 m C i
where cos t is the total cost to complete this formation reconfiguration.

3.1. Construction of Cost Model

Usually, there are four aspects for building the cost model: the path cost of leader–follower formation reconfiguration, communication cost and loss, and the additional cost.
1.
Building the model of path cost
Supposing that the formation fails, the position of follower i is X i = [ x i , y i , z i ] , the velocity is v i , and the position of the effective leader j is X j = [ x j , y j , z j ] . Then the path cost is:
τ 1 i j = p 1 E p 2 v i + p 3 l i j
The unit of cost is the energy consumed. E is the remaining energy of the AUV, and the remaining energy assumed in the paper is same. If E = 60 , then the speed of v i is equal to follower i . l i j is the distance between follower i and leader j , and p 1 , p 2 , p 3 are the coefficient weight values. The Equation (9) shows that the closer the distance between the follower and effective leader is, the higher the speed is, and therefore the smaller the path cost will be when reconstructing the formation.
2.
Building the model of the communicating cost:
τ 2 i j = { l i j R j exp ( ( x i x j ) 2 α 2 ( y i y j ) 2 β 2 ( z i z j ) 2 γ 2 ) l R j + l > R j
In the model: R j is the maximum broadcasting distance of the effective leader j . Once the follower i is not within the communicating range of j , the communicating cost will be infinite. The closer the distance between follower i and effective leader j is, the smaller the communication cost will be. The coefficient weight value is α 2 = 300 , β 2 = 120 , γ 2 = 100 .
3.
Communicating propagation loss model:
H = ( D / 4 ) 1 2
In the model: D is the water depth of the AUV, and H is the depth factor. If l i j < H , this means that the distance from the receiver to the sender is less than the depth parameter, and the propagation loss TL is [24]:
T L = 20 log ( l i j ) + α l i j + 60 k L
where α is the absorption coefficient, and k L is the abnormal propagation decibels:
α = c 2 f 2 2 f 2 f 2 2 + f 2 + ( 1 c 1 D ) [ c 3 f 3 2 f 2 f 3 2 + f 2 + c 4 f 2 f 3 2 ]
In the model: c 1 = 6.32 × 10 5 , c 2 = 0.54 c × 10 ( 0.69 p H 6 ) , c 3 = 2.03 × 10 2 S , c 4 = 2.93 × 10 2 , f 2 = 6.1 ( S / 35 ) 0.5 10 [ 3 1051 T + 273 ] ( k H z ) , f 3 = 21.9 exp [ 13.82 3500 T + 273 ] ( k H z ) .
D is the water depth and C is the sound velocity (km/S). S is the salinity (%) and p H is the p H value of the environment. T is degree Celsius (°) and f is the frequency of the underwater acoustic communication. Generally, the transmission of the underwater acoustic communication is broadband signals, and signals transmit the frequency averagely.
f = f a f h
where f a is the maximum frequency and f h is the minimum frequency of the signal transmission.
If H < l i j < 8 H , the propagation loss T L is:
T L = 15 log 10 l i j + α l i j + α T ( l i j / H 1 ) + 5 log 10 l i j + 60 k L
In the formula: α T is the shallow water absorption coefficient.
If l i j > 8 H
T L = 10 log 10 l i j + α l i j + α T ( l i j / H 1 ) + 10 log 10 l i j + 64.5 k L
The cost model of communication loss is:
τ 3 ij = T L
The unit of transmission loss is decibel.
4.
Additional model
Due to the influence of the service life on the leader and the follower in the formation process, the performance of communication and load will be different. Therefore, an additional cost model should be added in the formation reconfiguration. The additional cost model is designed by the designer according to the performance of each AUV, that is, C e R n × m .
Through decomposition and normalization, the cost model of reassigning failure followers to effective leaders can be expressed by the cost matrix C :
C = [ C 11 C 21 C m 1 C 12 C 22 C m 2 C 1 n C 2 n C m n ] + C e
The value of the cost matrix C can be calculated by the following formula:
{ C i j = α 1 × τ 1 i j + α 2 × τ 2 i j + α 3 × τ 3 i j α 1 + α 2 + α 3 = 1
where α 1 , α 2 , α 3 are the weight values of each sub-cost model, respectively.

3.2. The Improvement of the Hungarian Algorithm

When the assignment is performed by using the Hungarian algorithm, we should find the minimum value of each row and column of the matrix, then specify the row and column of the matrix to make “0” appear in each row and column of the matrix. Finally, the assignment scheme is determined according to the position where “0 “appears. If the follower is unequal to the effective leaders, this means there are m followers and n effective leaders ( m n ). When the followers are less than the effective leaders ( m < n ), we need to design n m followers, and the corresponding n m zero elements are added to the cost matrix. On the contrary, ( m > n ), m n virtual leaders are added to the formation, which means the additional m - n rows of zero elements are added in the cost matrix. For the assignment result, if the follower is assigned to the virtual leader, their cost information will continue to follow the above steps until the assignment of all followers is completed (attention: the added zero element in the cost matrix has no meaning). The execution steps of the algorithm are shown in Figure 3.

4. Formation Control under the Multi-AUV Event-Triggered Mechanism

4.1. The Design of AUV Formation Controller

Formation requirements: The triangle/wedge formation can be realized based on the leader, and the formation can be maintained in a three-dimensional space. The formation is shown in Figure 4.
In Figure 4, L represents the leader, and F1, F2 and F3 are the followers of the AUV, respectively. If the formation is constrained by the constraint quantity in the schematic diagram, the formation cannot be maintained through a traditional constraint mode in a three-dimensional space. This paper proposes the following constraint method:
{ η L + d 1 = η F 1 η L + d 2 = η F 2 η L + d 3 = η F 3 { η ˙ L + d v 1 = η ˙ F 1 η L + d v 2 = η ˙ F 2 η L + d v 3 = η ˙ F 3
R is the distance between the leader and the follower F2, and E is the attitude angle maintained by the formation. η L is the leader and η F i is the motion state vector between the leader and follower i :
{ d 1 = ( ( cos β ) 1 R cos ( ψ L β π ) , ( cos β ) 1 R cos ( ψ L + β π ) , 0 , 0 , 0 ) T d 2 = ( R cos ( ψ L π ) , R sin ( ψ L π ) , 0 , 0 , 0 ) T d 3 = ( ( cos β ) 1 R cos ( ψ L + β π ) , ( cos β ) 1 R cos ( ψ L β π ) , 0 , 0 , 0 ) T { d v 1 = J η ( r L tan ( β ) R , 0 , 0 , 0 , 0 ) T d v 2 = ( 0 , 0 , 0 , 0 , 0 ) T d v 3 = J η ( r L tan ( β ) R , 0 , 0 , 0 , 0 ) T
Definition 2.
If there are n AUVs in the leader–follower formation, and the motion state vector of the follower i at time t is ε i ( t ) = η i ( t ) , then the motion state vector of the leader is ε L ( t ) = η L ( t ) . If Equation (22) is satisfied, the formation maintenance and stability convergence can be realized:
lim t | ε i ( t ) ε L ( t ) + d i | = 0 lim t | ε ˙ i ( t ) ε ˙ L ( t ) + d v i | = 0 i = 1 , 2 , , n 1
where η L and V L  are thecamera vector and velocity vector of the pilot, respectively.If z 1 d ( t ) = η L and z 2 d ( t ) = V L , then the two input deviations can be expressed as:
{ z i 1 e ( t ) = z i 1 ( t ) z 1 d ( t ) d i z i 2 e ( t ) = z i 2 ( t ) z 2 d ( t ) d v i
Defining the sliding surface:
s i = k 1 z i 1 e ( t ) + k 2 z i 2 e ( t )
where z ˙ i 1 e ( t ) = z i 2 e ( t ) , z ˙ i 2 e ( t ) = U i ( t ) , take t s first derivative of Equation (24), we can obtain:
s ˙ i = k 1 z i 2 e ( t ) + k 2 U i ( t )
where k 1 ,   k 2 > 0 , taking the index near rate:
s ˙ i = k s i ε sgn ( s i )
where k is the constant velocity approach coefficient and ε is the exponential approach coefficient. ε = k 3 | s i | , 0 k 3 < 1 and ε > 0 . Bringing (26) into (25), the control quantity U i can be obtained:
U i ( t ) = ( k k 1 z i 1 e ( t ) ( k k 2 + k 1 ) z i 2 e ( t ) k 3 | s i | sgn ( s i ) ) / k 2
In the model, U is the controller input of follower i .

4.2. The Design of the Formation Reconfiguration Controller

The leader–follower formation has higher formation controlling accuracy, and the communication network of formation is simple, but once the leader fails, the formation is difficult to maintain. In this section, the Hungarian algorithm in Section 2 is used to realize the autonomous formation reconfiguration control of the followers in the failed formation.
First, the state of the multi-AUVs is initialized, and the desired formation under the control of the formation controller designed in Section 4.1 is formed. The effective status of the leader in the formation is detected in real time. Once the leader is detected to be invalid, the host computer of the leader will collect and save the pose and speed information of the other effective ones. The cost coefficient matrix of the formation reconfiguration is generated in real time according to the position information. Then the Hungarian algorithm optimally assigns the generated cost coefficient matrix to minimize the cost of formation reconfiguration. Finally, according to the optimal assignment plan, the designed formation controller is used to control the formation reconfiguration.
The controller of follower i in the formation is as follows:
U i ( t ) = ( k k 1 z i 1 e ( t ) ( k k 2 + k 1 ) z i 2 e ( t ) k 3 | s i ( t ) | sgn ( s i ( t ) ) ) / k 2
Among them: z i 1 e ( t ) and z i 2 e ( t ) are the posture information deviations between the follower in the failed formation and the new effective leader.

4.3. Design of the Formation Controller under an Event-Triggered Mechanism

After formation reconfiguration, due to the increased number of followers, which increases the operation burden of some pilots, the event-triggered mechanism is used to reduce the communication frequency between follower and pilot, so as to reduce the communication pressure of the pilot AUV.
In Section 4.2, the formation controller under the continuous sequence of the multi-AUV is designed and the formation controller with the event-triggered mechanism of a multi-AUV formation system needs to be made on the basis of Equation (28).
According to the event-triggered principle, the trigger function f i ( t )   i 1 , 2 , , m is designed for each follower AUV (assuming that there are m followers in the formation), and the event-triggered sequence t k i ( k = 0 , 1 , ) is formulated for each follower according to f i ( t ) = 0 , in which t k i ( k = 0 , 1 , ) represents the k triggering moment of the follower i . z ^ 1 i ( t ) = z 1 i ( t k i ) and z ^ 2 i ( t ) = z 2 i ( t k i ) , t [ t k i , t k + 1 i ) represent the sampling values of the position and velocity of follower i in the time period of [ t k i , t k + 1 i ) , respectively. Combined with the formation controller (28) of the continuous time, the following can be obtained:
U i ( t ) = ( k k 1 z ^ i 1 e ( t ) ( k k 2 + k 1 ) z ^ i 2 e ( t ) k 3 | k 1 z ^ i 1 e ( t ) + k 2 z ^ i 2 e ( t ) | sgn ( k 1 z ^ i 1 e ( t ) + k 2 z ^ i 2 e ( t ) ) ) / k 2 = ( k k 1 ( z 1 i ( t k i ) z 1 d ( t k i ) + d i ) ( k k 2 + k 1 ) ( z 2 i ( t k i ) z 2 d ( t k i ) ) k 3 | k 1 ( z 1 i ( t k i ) z 1 d ( t k i ) + d i ) + k 2 ( z 2 i ( t k i ) z 2 d ( t k i ) ) | sgn ( k 1 ( z 1 i ( t k i ) z 1 d ( t k i ) + d i ) + k 2 ( z 2 i ( t k i ) z 2 d ( t k i ) ) ) ) / k 2 , t [ t k i , t k + 1 i )
The above Equation (29) is the formation controller under the event-triggered mechanism. From the formula, it can be seen that the follower can only sample and communicate the leader’s pose and speed information when the event is triggered. Updating the controller’s input, and the follower’s controller input remains unchanged at other times.

4.4. Analysis of Formation Stability

For the formation controller of a multi-AUV formation system under the event-triggered mechanism, the stable convergence of an AUV under the action of the formation controller (27) should by analyzed first, and then the stability convergence problem under the action of the formation controller (29) should be analyzed.

4.4.1. Analysis of Formation Controller Stability

From the Definition 2: η i ( t ) R 5 , V i ( t ) R 5 , ε i ( t ) R 10 , the system status of the formation is: ε ( t ) = [ ξ ( t ) ; ζ ( t ) ] R 10 n .
In it: ξ ( t ) = [ η 1 ( t ) ; η 2 ( t ) ; ; η n ( t ) ] , ζ ( t ) = [ ζ 1 ( t ) ; ζ 2 ( t ) ; ; ζ n ( t ) ] .
The system state equation of a formation with n members is defined as:
ξ ˙ ( t ) = ζ ( t ) ζ ˙ ( t ) = ( L p I 5 ) k k 1 / k 2 ξ ( t ) ( L V I 5 ) ( k + k 1 / k 2 ) ζ ( t )
There must be a strongly connected Laplacian matrix in the leader–follower formation system. L p and L V represent the communication contact matrix of the pose and speed in formation. L p and L V are equal, and is the Kronick product.
If the error state vector is Δ η i ( t ) = η i ( t ) η L ( t ) and Δ V i ( t ) = V i ( t ) V L ( t ) , the system error state vector of the AUV formation can be obtained as ς ( t ) = [ ς p ( t ) ; ς V ( t ) ] , in which ς p ( t ) and ς v ( t ) are as follows:
ς p ( t ) = [ Δ η 1 ( t ) ; Δ η 2 ( t ) ; ; Δ η n ( t ) ] = ξ ( t ) - I n ξ L ( t ) ς V ( t ) = [ Δ V 1 ( t ) ; Δ V 2 ( t ) ; ; Δ V n ( t ) ] = ζ ( t ) - I n ζ L ( t )
Inserting Formula (31) into (30), the error state equation is:
ς ˙ p ( t ) = ς V ( t ) ς ˙ V ( t ) = ( L p I 5 ) k k 1 / k 2 ς p ( t ) ( L V I 5 ) ( k + k 1 / k 2 ) ς V ( t )
There are two nonsingular matrices which are U p and U v , therefore:
U p 1 L p U p = [ 0 α p T 0 n 1 H p ] = Λ p , U v 1 L v U v = [ 0 α v T 0 n 1 H v ] = Λ v
In the formula: H p , H v R ( n 1 ) ( n 1 ) , α p , α v R n 1 .
Set S ˜ p ( t ) = ( U p 1 I 5 ) S p ( t ) , S ˜ v ( t ) = ( U v 1 I 5 ) S v ( t ) , and K 1 = k k 1 / k 2 , K 2 = k + k 1 / k 2 , then (32) can be transformed into:
ς ˜ ˙ p ( t ) = ς ˜ v ( t ) ς ˜ ˙ v ( t ) = K 1 ( H p I 5 ) ς ˜ p ( t ) K 2 ( H v I 5 ) ς ˜ v ( t )
Since Λ p and Λ v must contain “0” terms, the system state equation can be decomposed into two terms which either contains “0” or does not. The formula (33) can be decomposed into:
ς ˜ ˙ p 1 ( t ) = ς ˜ v 1 ( t ) ς ˜ ˙ v 1 ( t ) = K 1 ( H p I 5 ) ς ˜ p 1 ( t ) K 2 ( H v I 5 ) ς ˜ v 1 ( t )
and
ς ˜ ˙ p 2 ( t ) = ς ˜ v 2 ( t ) ς ˜ ˙ v 2 ( t ) = K 1 ( α p I 5 ) ς ˜ p 2 ( t ) K 2 ( α v I 5 ) ς ˜ v 2 ( t )
Equations (34) and (35) are a non-zero module and zero module, respectively. First, the state error vectors ς ˜ 1 ( t ) = [ ς ˜ P 1 ( t )   ς ˜ v 1 ( t ) ] and ς ˜ 2 ( t ) = [ ς ˜ P 2 ( t )   ς ˜ v 2 ( t ) ] of the non-zero module and zero module are defined. If t , ς ˜ 1 ( t ) = 0 , ς ˜ 2 ( t ) = 0 , the leader-follower formation is stable.
Lemma 1.
Supposing the matrix S R n × n isthe symmetric matrix, and S 11 , S 12 , S 21 and S 22 are partitioned matrices of matrix S3,the formis as follows:
S = [ S 11 S 12 S 21 S 22 ]
If S 11 R r × r , S 12 R r × ( n r ) , S 21 R ( n r ) × r , S 22 R ( n r ) × ( n r ) , then S < 0 if and only if S 11 < 0 , S 11 S 22 S 12 S 21 < 0 .
• Analysis of the non-zero module stability:
Formula (34) is transformed as:
ς ˜ ˙ 1 = A ς ˜ 1 + B ς ˜ 1
where:
A = [ 0 0 I 0 ] I 5 , B = [ K 2 H v K 1 H p 0 0 ] I 5
Since H p and H v are positive definite matrices, there must be positive definite matrices satisfaction of P p and P v :
P P H p + H p T P P = I P v H v + H v T P v = I
To prove the stability of the non-zero submodule, the Lyapunov–Razumikhin equation is defined as follows:
V ( ς ˜ 1 ( t ) ) = ς ˜ 1 ( t ) T P ς ˜ 1 ( t )
In the formula: P is the positive definite angle symmetric matrix expressed as:
P = [ K 2 P v K 1 P p K 1 P p K 2 P v ] I 5
Take the derivative of (39):
V ˙ ( ς ˜ 1 ( t ) ) = 2 ς ˜ 1 ( t ) T P ς ˜ ˙ 1 ( t ) = ς ˜ 1 ( t ) T [ P ( A + B ) + ( A + B ) T P ] ς ˜ 1 ( t )
Defining the matrix Q = P ( A + B ) + ( A + B ) T P , it can be known from Equations (37) and (40) that Q must be the negative definite matrix. In conclusion:
V ˙ ( ς ˜ 1 ( t ) ) = ς ˜ 1 ( t ) T [ P ( A + B ) + ( A + B ) T P ] ς ˜ 1 ( t ) = ς ˜ 1 ( t ) T Q ς ˜ 1 ( t ) < 0
It can be seen from Equation (39) that the designed Lyapunov–-Razumikhin equation is greater than 0 and the Equation (41) shows that its derivative is less than 0. Therefore, it can be proved that the non-zero subsystem is asymptotically stable.
Similarly, the zero module is also convergent and stable. According to the stability analysis of the zero module and non-zero module, if the state error of formation is ς p 0 , ς v 0 , then the AUV formation system is stable.

4.4.2. Analysis of Formation Stability under and Event-Triggered Mechanism

Since Equation (29) consists of s ^ i ( t ) , it is not conducive to analyze the formation stability, therefore Equation (29) needs to be processed as:
U i ( t ) = ( k k 1 z ^ i 1 e ( t ) ( k k 2 + k 1 ) z ^ i 2 e ( t ) k 3 | s ^ i ( t ) | sgn ( s ^ i ( t ) ) ) / k 2 ( k k 1 z ^ i 1 e ( t ) ( k k 2 + k 1 ) z ^ i 2 e ( t ) k 3 ( k 1 z ^ i 1 e ( t ) + k 2 z ^ i 2 e ( t ) ) ) ) / k 2 = ( ( k k 1 + k 3 k 1 ) z ^ i 1 e ( t ) + ( k k 2 + k 3 k 2 ) z ^ i 2 e ( t ) ) / k 2
If: e z 1 i ( t ) = z ^ 1 i ( t ) z 1 i ( t ) , e z 2 i ( t ) = z ^ 2 i ( t ) z 2 i ( t ) , e z 1 d ( t ) = z ^ 1 d ( t ) z 1 d ( t ) + d , e z 2 d ( t ) = z ^ 2 d ( t ) z 2 d ( t )
Bring the pose error and velocity difference of follower i in into Equation (43) and obtain:
U i ( t ) = K 1 ( z 1 i ( t ) z 1 d ( t ) + e z 1 i ( t ) e z 1 d ( t ) ) K 2 ( z 2 i ( t ) z 2 d ( t ) + e z 2 i ( t ) e z 2 d ( t ) ) , t [ t k i , t k + 1 i )
In the formula, K 1 = ( k k 1 + k 3 k 1 ) / k 2 , K 2 = ( k k 2 + k 3 k 2 ) / k 2 .
Combining Equation (8), we can obtain:
{ z ˙ 1 i ( t ) = z 2 i ( t ) z ˙ 2 i ( t ) = K 1 ( z 1 i ( t ) z 1 d ( t ) + e z 1 i ( t ) e z 1 d ( t ) ) K 2 ( z 2 i ( t ) z 2 d ( t ) + e z 2 i ( t ) e z 2 d ( t ) ) , t [ t k i , t k + 1 i )
Therefore, the entire formation system of followers can be described as:
{ z ˙ 1 ( t ) = z 2 ( t ) z ˙ 2 ( t ) = L ( K 1 z 1 ( t ) + K 2 z 2 ( t ) + K 1 e z 1 ( t ) + K 2 e z 2 ( t ) )
where: L is the communication topology between the follower and formation, and:
z 1 ( t ) = ( z 11 ( t ) T , z 12 ( t ) T , , z 1 m ( t ) T ) T z 2 ( t ) = ( z 21 ( t ) T , z 22 ( t ) T , , z 2 m ( t ) T ) T e z 1 ( t ) = ( e z 11 ( t ) T , e z 12 ( t ) T , , e z 1 m ( t ) T ) T e z 2 ( t ) = ( e z 21 ( t ) T , e z 22 ( t ) T , , e z 2 m ( t ) T ) T
The position and velocity states of all the followers in the formation system relative to their pilots are decomposed:
z 1 ( t ) = z 1 d ( t ) + ε z 1 ( t ) d ( t ) z 2 ( t ) = z 2 d ( t ) + ε z 2 ( t ) d v ( t )
z 1 d ( t ) , z 2 d ( t ) , d ( t ) and d v ( t ) are the state values of the leader’s position, velocity, and formation constraints in the fixed coordinate system at time t , respectively. ε z 1 ( t ) and ε z 2 ( t ) are the state components of non-formation.
According to Equation (47), the following matrix can be obtained:
[ ε ˙ z 1 ( t ) ε ˙ z 2 ( t ) ] = [ 0 m × m I m K 1 L K 2 L ] [ z 1 d ( t ) + z 2 d ( t ) + ε z 1 ( t ) z 2 d ( t ) + ε z 2 ( t ) ] [ 0 m × m 0 m × m K 1 L K 2 L ] e ( t ) [ ε z 2 ( t ) 0 m × m ]
In the formula, e ( t ) = ( e z 1 ( t ) T , e z 2 ( t ) T ) T R 2 × m , so from the above formula, we can obtain:
{ ε ˙ z 1 ( t ) = ε z 2 ( t ) ε ˙ z 2 ( t ) = L ( K 1 ε z 1 ( t ) + K 2 ε z 2 ( t ) + K 1 e z 1 ( t ) + K 2 e z 2 ( t ) )
From the literature [13], the study on the stability of the multi-AUV formation system (8) is equivalent to the stability of system (49). Therefore, as long as the system (49) is proved to be stable, the system (8) can be proved to be stable by Equation (47) and the Lyapunov stability theory can be used to prove that the closed-loop system (8) is convergent.
For simplicity, { t 0 i , t 1 i , , t k i } represents a series of follower i ’s trigger moments during the formation process, and the iteration update of the trigger moment t k i is as follows:
t k + 1 i = inf { t > t k i : f i ( t ) 0 }
The event-triggered function is designed as follows:
f i ( t ) = | e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 d ( t ) | 2 σ i α ρ ( λ 2 ( L ) 2 α ρ m ) ( | ε z 1 i ( t ) | 2 + | ε z 2 i ( t ) | 2 )
Theorem 1.
If the multi-AUV formation system (8) is under the action of a formation controller (43) which adopts the leaderfollower formation strategy, then the follower i can meet the following condition of an event-triggered mechanism (51):
λ 2 ( L ) 2 α ρ m > 0
where ρ = max { K 1 , K 2 } , 0 < σ i < 1 ,and α > 0  is constant, so for all follower AUVs:
lim t z 1 i ( t ) = z 1 d ( t ) d i ( t ) lim t z 2 i ( t ) = z 2 d ( t ) d v i ( t ) , i = 1 , 2 , , m
This means the formation system (8) can converge stably.
Proof 1.
For the closed-loop system (49), the following Lyapunov equation is constructed:
V ( t ) = 1 2 ε T ( t ) P ε ( t )
In the equation, ε ( t ) = ( ε z 1 ( t ) T , ε z 2 ( t ) T ) T R 2 × m , P = ( ( K 1 + K 2 ) L I m I m I m ) , m represents the number of followers in the formation.
Since ε z 1 ( t ) T L ε z 1 ( t ) λ 2 ( L ) | | ε z 1 ( t ) | | 2 , therefore:
V ( t ) = K 1 + K 2 2 ε T ( t ) L ε ( t ) + 1 2 ε z 2 T ( t ) P ε z 2 ( t ) 0
From the derivation of Equation (53) along the trajectory of system (49), we can obtain:
V ˙ ( t ) = ε T ( t ) P ε ( t ) = ε T ( t ) [ K 1 L K 1 L K 1 L K 2 L + I m ] ε ( t ) ε T [ K 1 L K 2 L K 1 L K 2 L ] e ( t ) = ε z 1 T ( t ) L ε z 1 ( t ) ε z 2 T ( t ) ( K 2 L + I m ) ε z 2 ( t ) ( ε z 1 T ( t ) + ε z 2 T ( t ) ) L ( K 1 e z 1 ( t ) + K 2 e z 2 ( t ) ) λ 2 ( L ) | | ε z 1 ( t ) | | 2 ( λ 2 ( L ) + 1 ) | ε z 2 ( t ) | | 2 ( ε z 1 T ( t ) + ε z 2 T ( t ) ) L ( K 1 e z 1 ( t ) + K 2 e z 2 ( t ) ) = λ 2 ( L ) i = 1 m | ε z 1 i ( t ) | 2 ( λ 2 ( L ) + 1 ) i = 1 m | ε z 2 i ( t ) | 2 ( ε z 1 T ( t ) + ε z 2 T ( t ) ) L ( K 1 e z 1 ( t ) + K 2 e z 2 ( t ) )
Using the inequality property | x y | α 2 x 2 + 1 2 α y 2 , we can obtain:
( ε z 1 T ( t ) + ε z 2 T ( t ) ) L ( K 1 e z 1 ( t ) + K 2 e z 2 ( t ) ) = i = 1 m ( ε z 1 i T ( t ) + ε z 2 i T ( t ) ) ( K 1 ( e z 1 i ( t ) e z 1 d ( t ) ) + K 2 ( e z 2 i ( t ) e z 2 d ( t ) ) ) = i = 1 m m ( ε z 1 i T ( t ) + ε z 2 i T ( t ) ) ( K 1 e z 1 i ( t ) + K 2 e z 2 i ( t ) ) + i = 1 m ( ε z 1 d T ( t ) + ε z 2 d T ( t ) ) ( K 1 e z 1 d ( t ) + K 2 e z 2 d ( t ) ) 2 α ρ i = 1 m m ( | ε z 1 i ( t ) | 2 + | ε z 2 i ( t ) | 2 ) + ρ α i = 1 m ( | e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 d ( t ) | 2 )
In the equation: ρ = max { K 1 , K 2 } . Therefore:
V ˙ ( t ) λ 2 ( L ) i = 1 m | ε z 1 i ( t ) | 2 ( λ 2 ( L ) + 1 ) i = 1 m | ε z 2 i ( t ) | 2 ( ε z 1 T ( t ) + ε z 2 T ( t ) ) L ( K 1 e z 1 ( t ) + K 2 e z 2 ( t ) ) = i = 1 m ( λ 2 ( L ) 2 α ρ m ) | ε z 1 i ( t ) | 2 i = 1 m ( λ 2 ( L ) + 1 2 α ρ m ) | ε z 2 i ( t ) | 2 + ρ α i = 1 m ( | e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 d ( t ) | 2 ) i = 1 m ( λ 2 ( L ) 2 α ρ m ) ( | ε z 1 i ( t ) | 2 + | ε z 2 i ( t ) | 2 ) ρ α i = 1 m ( | e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 d ( t ) | 2 )
According to the event-triggered mechanism (51), when all followers meet the event-triggered conditions:
f i ( t ) 0
Namely,
| e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 d ( t ) | 2 σ i α ρ ( λ 2 ( L ) 2 α ρ m ) ( | ε z 1 i ( t ) | 2 + | ε z 2 i ( t ) | 2 )
Bring this into (57) to obtain:
V ˙ ( t ) i = 1 m ( 1 σ i ) ( | ε z 1 i ( t ) | 2 + | ε z 2 i ( t ) | 2 ) 0
From Equations (54) and (59), we know that the closed-loop system (49) is asymptotically stable. ε z 1 ( 0 ) and ε z 2 ( 0 ) under any initial state will meet:
{ lim t ε z 1 ( t ) = 0 lim t ε z 2 ( t ) = 0
Therefore, the formation system (8) is asymptotically convergent and stable.
According to Equation (51), the designed event-triggered function is related to the sampling error of the follower and leader, and the real-time error of the follower. Therefore, there will be a problem. When the formation is completed, if the sampling error of the follower is equal to the real-time error and σ i α ( λ 2 ( L ) 2 α ρ m ) / ρ is small (usually less than 1), this would cause a frequent sampling update after completing formation, which would then cause frequent information interactions between the followers and pilots. Inspired by the time-intermittent communication based on threshold in the literature [13], the designed event-triggered function (51) is improved as follows:
t k + 1 i = inf { t > t k i : | e z 1 i ( t ) | 2 + | e z 2 i ( t ) | 2 > ϖ   & &   f i ( t ) 0 }
The Equation (60) shows that the trigger time will be updated when the sampling error square of the follower’s position and velocity is greater than the threshold value ϖ which is a constant and generally 0 < ϖ < 1 . The larger the value of ϖ is, the greater the controller updating interval of the follower will be. This will have an influence on the control effect if the value of ϖ is too large. After meeting the conditions of the sampling error, this will determine whether the sampling information of the position and speed of the follower and the leader meet the conditions of the event-triggered mechanism or not. If both conditions are satisfied, the follower will update the controller input, which can effectively solve the problem of the mechanism being frequently triggered after completing the formation.
In order to prevent the Zeno phenomenon from occurring in the system (8) during the whole process of the event-triggered control, the following theorem is proved [25].
Theorem 2.
The controller (29) has an effect on the system (8), therefore the interval ( t k + 1 i - t k i ) between any two consecutive event-triggered moments is not less than:
τ q = Γ q [ c ( 2 m ρ L + m N ) ( c 2 N D + A + Γ q ) ] 1
In the formula, c > 1 is a constant, and Γ q = σ i α ρ ( λ 2 ( L ) 2 α ρ m ) 1 2 .
Proof 2.
We can obtain:
( | e z 1 i ( t ) | + | e z 1 d ( t ) | + | e z 2 i ( t ) | + | e z 2 d ( t ) | ) )
This is the i th component of D + A D + A | | e ( t ) , therefore:
( | e z 1 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 2 d ( t ) | 2 ) ) | D + A D + A | | e ( t ) | 2 2 D + A 2 e ( t ) 2
If q = arg max i ν ( | ε z 1 | 2 + | ε z 2 | 2 ) , we can obtain:
( | e z 1 i ( t ) | 2 + | e z 1 d ( t ) | 2 + | e z 2 i ( t ) | 2 + | e z 2 d ( t ) | 2 ) ( | ε z 1 | 2 + | ε z 2 | 2 ) 2 N D + A 2 e ( t ) 2 ε ( t ) 2
while the derivative of e ( t ) ε ( t )
d d t e ( t ) ε ( t ) = d d t ( e T ( t ) e ( t ) ) 1 / 2 ( ε T ( t ) ε ( t ) ) 1 / 2 = e T ( t ) e ˙ ( t ) e ( t ) ε ( t ) ε ( t ) r ε ˙ ( t ) e ( t ) ε ( t ) 2 ε ( t ) e ( t ) ε ( t ) + ε ( t ) e ( t ) ε ( t ) 2
Since:
e ˙ ( t ) = ε ˙ z 1 ( t ) + b 1 ε ˙ z 2 ( t ) c ε ˙ ( t )
In the formula: c > 1 is a constant.
Therefore:
d d t e ( t ) ε ( t ) c ε ˙ ( t ) ε ( t ) + ε ˙ ( t ) e ( t ) ε ( t ) 2 = 1 ε ( t ) ( c + e ( t ) ε ( t ) ) ε ( t ) [ 0 N × N I N 0 N × N 0 N × N ] [ 0 N × N 0 N × N k 1 L k 2 L ] ( ε ( t ) + e ( t ) ) ( c + e ( t ) ε ( t ) ) m N ε ( t ) + 2 m ρ L ( ε ( t ) + e ( t ) ) ε ( t ) = 2 m ρ L ( 1 + e ( t ) ε ( t ) ) 2 + m N ( c + e ( t ) ε ( t ) ) ( 2 m ρ L + m N ) ( c + e ( t ) ε ( t ) ) 2
Then, we can obtain:
2 N D + A c 2 ( 2 m ρ L + m N ) τ q 1 c ( 2 m ρ L + m N ) τ q = ( σ i α ρ ( λ 2 ( L ) 2 α ρ m ) ) 1 2
The solution is:
τ q = Γ q [ c ( 2 m ρ L + m N ) ( c 2 N D + A + Γ q ) ] 1
In the formula: Γ q = σ i α ρ ( λ 2 ( L ) 2 α ρ m ) 1 2 . The Proof is completed. □

5. Simulation Verification and Analysis

In order to verify the effectiveness of the above designed algorithm, a simulation verification was carried out in three cases according to different numbers of leaders and followers. The trigger time and rate of the follower AUVs’ controller under the event-triggered formation controller after the formation reconfiguration were finally verified.

5.1. When the Number of Followers Is Equal to the Number of Effective Leaders

If 0 t 600 , the trajectories of five leaders are shown as Table 1.
If leader 0 fails at a time of t = 300   s and the other leaders still work normally, then four followers of leader 0′s formation are randomly deployed. If the initial range of y i ( 0 ) and x i ( 0 ) is [0, 10] m, and the initial range of z i ( 0 ) is [−5, 0] m, then the initial range of the initial attitude θ i ( 0 ) is [0, 1] rad, and the initial range of the heading angle ψ i ( 0 ) is [0, π]. The initial range of the longitudinal velocity u i ( 0 ) is [0, 0.5] m/s, and all other speeds are initialized to 0 m/s. The controller parameters are k = 1 , k 1 = 0.2 , k 2 = 0.8 , k 3 = 0.007 , R = 10   m , and β = π / 4 in formation.
The additional cost matrix C e is as follows:
C e = [ 5 3 2 0 10 0 4 3 1 5 0 2 0 7 3 2 ]
The simulation results are shown in Table 2.
Table 2 is the cost table of redistributing the followers in the failed formation to the formation of the effective Leader 01, Leader 02, Leader 03, and Leader 04 at the time of t = 300 . The redistribution scheme of the formation leader can be observed in the table: follower No. 1 joins the formation of leader No. 3, and follower No. 2 joins the formation of leader No. 1. Followers No. 3 and No. 4 join the formation of leader No. 2, and No. 4, respectively. The total amount of cost for the formation reconfiguration is 56.2412.
Figure 5 shows the simulation of the respective degrees of formation.
Figure 5a is the trajectory diagram of the multi-AUV formation, and Figure 5b is the projection diagram of the multi-AUV formation trajectory in the horizontal plane. It shows that the follower AUV can complete and maintain the desired formation from the random initial position through the influence of the formation controller. It can be seen from Figure 5c,d that when t = 300 and the speed of the failed leader 0 is 0, the followers in the formation start to restructure the formation. During the reconfiguration process, the vertical velocity of the follower will oscillate, but the amplitude of the oscillation is very small and even almost zero. The follower’s other speed state quantities fluctuate slightly, and the speed error converges to near zero.

5.2. When the Number of Followers Is Less than the Number of Effective Leaders

The parameters of the simulation verification environment and formation controller are the same as those set out in the previous section. If the number of followers in the formation of leader 0 is three, the additional matrix is changed into:
C e = [ 5 3 2 10 0 3 2 4 0 0 3 5 ]
The simulation results are shown in Table 3.
Table 3 shows the redistribution scheme of the leaders: followers No. 1, No. 2 and No. 3 join the formation of leaders No. 2, No. 3 and No. 4, respectively. The total cost of reconfiguration is 24.8373.
Figure 6 is the trajectory diagram of the multi-AUV formation. The simulation diagram shows that the assignment in which the number of followers is less than the number of effective leaders can be achieved by the improved Hungarian algorithm.

5.3. When the Number of Followers Is More than the Number of Effective Leaders

The parameters of the simulation verification environment and formation controller are the same as those set out in the previous section. If the number of effective leaders is 3, the additional matrix is changed into:
C e = [ 0 2 0 0 3 0 0 0 0 10 0 4 ]
The simulation results are shown in Table 4.
According to Table 4, the redistribution scheme of the leaders is as follows: followers No. 1, No. 2, No. 3 and No. 4 join the formation of leaders No. 3, No.1, No.3 and No. 2, respectively. The total cost of formation reconfiguration is 79.9414.
Figure 7 is the trajectory diagram of the multi-AUV formation. The simulation diagram shows that the assignment in which the number of followers is more than the number of effective leaders can be achieved by the improved Hungarian algorithm. From the simulation diagram projected on the horizontal plane, we can observe that when the number of followers needing formation reconfiguration exceeds the number of effective leaders, some leaders will receive several followers.

5.4. Simulation Verification and Analysis of the Event-Triggered Mechanism

A conventional formation control experiment was used to test the performance of the designed event-triggered mechanism. The desired trajectory of the leader is:
{ x p = 0 y p = 0.2 t z p = 0 0 t 300 { x p = 60 cos ( ( t 300 ) × 2 π / 1000 ) 60 y p = 60 sin ( ( t 300 ) × 2 π / 1000 ) + 60 z p = 0.03 ( t 300 )   300 < t 1000
There were three followers in the formation which were deployed randomly: the initial range of y i ( 0 ) and x i ( 0 ) is [0, 5] m, and the initial range of z i ( 0 ) is [−3, 3] m. The initial range of initial attitude and heading angle ψ i ( 0 ) is [0, 1] rad. The initial range of longitudinal velocity u i ( 0 ) is [0, 0.5] m/s, and all the other speeds are initialized to 0 m/s. The controller parameters are k = 1 ,   k 1 = 0.2 ,   k 2 = 0.8 ,   k 3 = 0.007 , and R = 10 m , β = π / 4 of the formation. In the simulation environment, the flow velocity of ocean current was 0.2 m/s and the flow direction were 30°.
Event-triggered parameters: λ 2 ( L ) = 1 , m = 3 , K 1 = 0.25175 , K 2 = 1.007 , α = 0.05 , σ i = 0.9 and ϖ = 0.2 .
The simulation results are shown in Table 5.
Figure 8 is the effect diagram of the formation trajectory tracking under the control of the formation controller based on the event-triggered mechanism, which shows that the designed formation controller could complete the desired formation task. In addition, the formation controller triggered by time can play an important role in the direct route formation and complex formation in a three-dimensional space.
Figure 9 is a simulation diagram of the pose state of each AUV in the formation, and Figure 10 is a simulation diagram of the velocity state of each AUV in the formation. From Figure 9 and Figure 10, it can be seen that each state of each AUV changes steadily during the formation process, that each degree of convergence is fast, and that the convergence effect is good, which confirms the good control quality of the event-triggered controller designed in this paper.
Figure 11 is the triggering cases of the formation controller designed by the event-triggered function in this paper. Figure 12 is the triggering cases of the formation controller designed by the event-triggered function in this document [13].
Table 5 shows the triggering times and rate of the follower AUVs’ controller under the event-triggered formation controller. First, the event-triggered times show that the triggering times of the event-triggered function designed in this paper are far less than those of the algorithm in reference [13]. The event-triggered mechanism designed in this paper reduces the traffic by 90%, while the literature [13] only reduces the traffic by 50%. The optimization of the original triggering mechanism is completed by adding an error threshold convention in the thesis which can avoid unnecessary triggering. Second, Figure 11 and Figure 12 show that in the process of a direct course formation, the event-triggered interval of the follower is roughly about 1.5 s, because the ocean current disturbance was added in the simulation. In order to overcome the influence of the ocean current disturbance, the follower needs to update the control input at a certain interval. During the formation process of spiral diving in a three-dimensional space, the average sampling intervals of followers 1–3 were 0.9 s, 0.8 s and 0.7 s, respectively.

6. Conclusions

The thesis researches the leader failure in a multi-AUV leader–follower formation. It deals with the problem of leader failure at the decision-making level by using an improved Hungarian algorithm and proposes an improved event-triggered mechanism to solve the problem of the large communication task of the leader AUV during the formation and formation reconfiguration process. The simulation results show that the improved Hungarian algorithm can achieve a formation reconfiguration at a minimum cost, and that it can reduce 85% of the redundant communication under the action of an event-triggered mechanism, which realizes an efficient formation control. The improvement of the formation reconfiguration cost model and time departure mechanism algorithm is still a key point of interest for the future.
Formation reconfiguration control of multiple AUVs is a very complex problem. Despite the above-mentioned research results, in view of the limitations of the talents and space, this paper inevitably has the following shortcomings:
  • This article uses the full-drive AUV model, which reduces the difficulty of research in the model feedback linearization and controller design. The under-driven AUV model can be followed by related feedback linearization and controller design research.
  • The formation constraint in this paper is the formation of the horizontal plane, therefore the formation constraint conditions of multiple AUVs in the three-dimensional space need to be studied in depth.

Author Contributions

Conceptualization, J.L. and Y.Z.; methodology, J.L.; software, J.L.; validation, J.L. and Y.Z.; formal analysis, J.L.; investigation, J.L. and Y.Z. resources, J.L.; data curation, J.L.; writing—original draft preparation, J.L.; writing—review and editing, J.L. and Y.Z.; visualization, Y.Z. and W.L.; supervision, J.L.; project administration, J.L.; funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research work was supported by the National Natural Science Foundation of China (Grant No. 51809060/E091002), the National Natural Science Foundation of China (Grant No. 62101156) and the Central University Fund (Grant No. 3072021CFJ0407).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Singh, Y.; Bibuli, M.; Zereik, E.; Sharma, S.; Khan, A.; Sutton, R. A Novel Double Layered Hybrid Multi-Robot Framework for Guidance and Navigation of Unmanned Surface Vehicles in a Practical Maritime Environment. J. Mar. Sci. Eng. 2020, 8, 624. [Google Scholar] [CrossRef]
  2. Leonard, N.E.; Fiorelli, E. Virtual leaders, artificial potentials and coordinated control of groups. In Proceedings of the 40th IEEE Conference on Decision and Control, Orlando, FL, USA, 4–7 December 2001; Volume 3, pp. 2968–2973. [Google Scholar]
  3. Liao, R.; Han, L.; Dong, X.; Li, Q.; Ren, Z. Finite-time formation-containment tracking for second-order multi-agent systems with a virtual leader of fully unknown input. Neurocomputing 2020, 415, 234–246. [Google Scholar] [CrossRef]
  4. Lalish, E.; Morgansen, K.A.; Tsukamaki, T. Formation Tracking Control using Virtual Structures and Deconfliction. In Proceedings of the IEEE Conference on Decision and Control, San Diego, CA, USA, 13–15 December 2006. [Google Scholar]
  5. Liu, Y.; Tong, M. An Application of Hungarian Algorithm to the Multi-Target Assignment. Fire Control Command Control 2002, 27, 34–37. [Google Scholar]
  6. Wang, H.; Shi, D.; Song, B. A dynamic role assignment formation control algorithm based on Hungarian method. In Proceedings of the IEEE Smartworld, Ubiquitous Intelligence & Computing, Advanced & Trusted Computing, Scalable Computing & Communications, Cloud & Big Data Computing, Internet of People & Smart City Innovation, Guangzhou, China, 8–12 October 2018. [Google Scholar]
  7. Liang, J.; Long, Y.; Mei, Y.; Wang, T.; Jin, Q. A Distributed Intelligent Hungarian Algorithm for Workload Balance in Sensor-Cloud Systems Based on Urban Fog Computing. IEEE Access 2019, 7, 77649–77658. [Google Scholar] [CrossRef]
  8. Dimarogonas, D.V.; Johansson, K.H. Event-triggered control for multi-agent systems. In Proceedings of the 48th IEEE Conference on Decision and Control (CDC) Held Jointly with 2009 28th Chinese Control Conference, Shanghai, China, 15–18 October 2009; pp. 7131–7136. [Google Scholar]
  9. Sariff, N.; Ismail, Z.H. Broadcast Event-Triggered Control Scheme for Multi-Agent Rendezvous Problem in a Mixed Communication Environment. Machines 2021, 11, 3785. [Google Scholar] [CrossRef]
  10. Zhang, H.; Zhang, J.; Cai, Y.; Sun, S.; Sun, J. Leader-Following Consensus for a Class of Nonlinear Multiagent Systems Under Event-Triggered and Edge-Event Triggered Mechanisms. IEEE Trans. Cybern. 2020, 99, 1–12. [Google Scholar] [CrossRef]
  11. Lin, Y.; Lin, Z.; Sun, Z. Distributed Event-Triggered Approach for Multi-Agent Formation Based on Cooperative Localization with Mixed Measurements. Machines 2021, 10, 2265. [Google Scholar] [CrossRef]
  12. He, N.; Qi, L.; Li, R.; Liu, Y. Design of a model predictive trajectory tracking controller for mobile robot based on the event-triggering mechanism. Math. Probl. Eng. 2021, 2021, 5573467. [Google Scholar] [CrossRef]
  13. Huang, H.W.; Huang, T.M.; Sheng, W.U. Leader-following consensus of second-order multi-agent systems via event-triggered control. Control Decis. 2016, 31, 835–841. [Google Scholar]
  14. Astrom, K.J.; Bernhardsson, B. Comparison of periodic and event based sampling for first-order stochastic system. In Proceedings of the 14th IFAC World Congress, Beijing, Chia, 5–9 July 1999; Volume 11, pp. 301–306. [Google Scholar]
  15. Arzen, K.E. A simple event-based PID controller. In Proceedings of the 14th IFAC World Congress, Beijing, Chia, 5–9 July 1999; Volume 18, pp. 423–428. [Google Scholar]
  16. Xing, L.; Wen, C.; Liu, Z.; Su, H.; Cai, J. Adaptive compensation for actuator failures with event-triggered input. Automatica 2017, 85, 129–136. [Google Scholar] [CrossRef]
  17. Byrnes, C.I.; Lindquist, A. Theory and Applications of Nonlinear Control Systems; Elsevier Science Pub. Co: New York, NY, USA, 1986. [Google Scholar]
  18. Zhao, H.; Zhang, C. An online-learning-based evolutionary many-objective algorithm. Inf. Sci. 2020, 509, 1–21. [Google Scholar] [CrossRef]
  19. Dulebenets, M.A. An Adaptive Polyploid Memetic Algorithm for Scheduling Trucks at a Cross-Docking Terminal. Inf. Sci. 2021, 565, 390–421. [Google Scholar] [CrossRef]
  20. Liu, Z.Z.; Wang, Y.; Huang, P.Q. A Many-Objective Evolutionary Algorithm with Angle-Based Selection and Shift-Based Density Estimation. Inf. Sci. 2017, 509, 400–419. [Google Scholar] [CrossRef] [Green Version]
  21. Pasha, J.; Dulebenets, M.A.; Kavoosi, M.; Abioye, O.F.; Wang, H.; Guo, W. An Optimization Model and Solution Algorithms for the Vehicle Routing Problem with a “Factory-in-a-Box”. IEEE Access 2020, 8, 134743–134763. [Google Scholar] [CrossRef]
  22. D’Angelo, G.; Pilla, R.; Tascini, C.; Rampone, S. A proposal for distinguishing between bacterial and viral meningitis using genetic programming and decision trees. Soft Comput. 2019, 23, 11775–11791. [Google Scholar] [CrossRef]
  23. Wu, S.; Xia, Y.; Luo, Y.; Lin, M. Event-Triggered Cooperative Formation Control for Multi-Agent System with Dynamic Role Assignment. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019. [Google Scholar]
  24. Kocic, M.; Brady, D.; Stojanovic, M. Sparse equalization for real-time digital underwater acoustic communications. In Proceedings of the Challenges of Our Changing Global Environment Conference, OCEANS ‘95 MTS/IEEE, San Diego, CA, USA, 9–12 October 1995; pp. 1417–1422. [Google Scholar]
  25. Su, B.; Wang, H.; Wang, Y.; Gao, J. Fixed-time formation of AUVs with disturbance via event-triggered control. Int. J. Control Autom. Syst. 2021, 19, 1505–1518. [Google Scholar] [CrossRef]
Figure 1. Control decision flow chart.
Figure 1. Control decision flow chart.
Machines 09 00346 g001
Figure 2. AUV coordinate diagram. (a) Inertial coordinate system. (b) Shipboard coordinate system.
Figure 2. AUV coordinate diagram. (a) Inertial coordinate system. (b) Shipboard coordinate system.
Machines 09 00346 g002
Figure 3. Flowchart of the improved Hungarian algorithm.
Figure 3. Flowchart of the improved Hungarian algorithm.
Machines 09 00346 g003
Figure 4. Schematic diagram of formation.
Figure 4. Schematic diagram of formation.
Machines 09 00346 g004
Figure 5. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration. (c) AUV longitudinal speed. (d) AUV vertical speed.
Figure 5. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration. (c) AUV longitudinal speed. (d) AUV vertical speed.
Machines 09 00346 g005
Figure 6. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration.
Figure 6. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration.
Machines 09 00346 g006
Figure 7. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration.
Figure 7. AUV formation reconfiguration. (a) Horizontal projection map of formation reconfiguration. (b) Three-dimensional trajectory map of formation reconfiguration.
Machines 09 00346 g007
Figure 8. AUV formation trajectory. (a) AUV three-dimensional motion trajectory. (b) Horizontal projection of AUV trajectory.
Figure 8. AUV formation trajectory. (a) AUV three-dimensional motion trajectory. (b) Horizontal projection of AUV trajectory.
Machines 09 00346 g008
Figure 9. AUVs’ position status. (a) Northbound trajectory of AUV formation. (b) AUV formation eastward trajectory. (c) AUV formation vertical trajectory. (d) AUVs trim angle. (e) AUVs heading angle.
Figure 9. AUVs’ position status. (a) Northbound trajectory of AUV formation. (b) AUV formation eastward trajectory. (c) AUV formation vertical trajectory. (d) AUVs trim angle. (e) AUVs heading angle.
Machines 09 00346 g009aMachines 09 00346 g009b
Figure 10. AUVs’ speed status. (a) AUVs heading speed. (b) AUVs lateral speed. (c) AUVs vertical speed. (d) AUVs trim angular velocity. (e) AUVs heading angular velocity.
Figure 10. AUVs’ speed status. (a) AUVs heading speed. (b) AUVs lateral speed. (c) AUVs vertical speed. (d) AUVs trim angular velocity. (e) AUVs heading angular velocity.
Machines 09 00346 g010aMachines 09 00346 g010b
Figure 11. The follower event-triggered situation under the algorithm in this paper. (a) Follower 1 triggering, (b) Follower 2 triggering, and (c) Follower 3 triggering.
Figure 11. The follower event-triggered situation under the algorithm in this paper. (a) Follower 1 triggering, (b) Follower 2 triggering, and (c) Follower 3 triggering.
Machines 09 00346 g011aMachines 09 00346 g011b
Figure 12. The follower event-triggered situation under the algorithm in the literature [13]. (a) Follower 1 triggering, (b) Follower 2 triggering, and (c) Follower 3 triggering.
Figure 12. The follower event-triggered situation under the algorithm in the literature [13]. (a) Follower 1 triggering, (b) Follower 2 triggering, and (c) Follower 3 triggering.
Machines 09 00346 g012
Table 1. Trajectory of the leader.
Table 1. Trajectory of the leader.
Leader 0Leader 01Leader 02Leader 03
x p 030−3060
y p 0.6 t0.6 t0.6 t0.6 t
z p 0000
Table 2. Formation reconfiguration cost table.
Table 2. Formation reconfiguration cost table.
LeaderUUV 1UUV 2UUV 3UUV 4
Leader 0123.090920.631628.319728.9923
Leader 0227.901022.957823.509623.6661
Leader 036.50876.443311.225718.9076
Leader 0410.807012.87316.92745.5913
Table 3. Formation reconfiguration cost table.
Table 3. Formation reconfiguration cost table.
LeaderUUV 1UUV 2UUV 3
Leader 0112.018417.340326.7559
Leader 0210.208326.666520.9458
Leader 0322.60075.265510.6619
Leader 0414.302416.58189.3635
Table 4. Formation reconfiguration cost table.
Table 4. Formation reconfiguration cost table.
LeaderUUV 1UUV 2UUV 3UUV 4
Leader 0123.584319.662429.693129.9375
Leader 0228.750926.901424.526520.6985
Leader 0313.995418.504419.585124.6031
Table 5. Follower AUV event-triggered time and rate.
Table 5. Follower AUV event-triggered time and rate.
FollowerSampling FrequencyTriggering Times [13]Triggering Rate [13]Triggering Times in the ThesisTriggering Rate in the Thesis
Follower 0110,000439543.95%8828.82%
Follower 02524852.48%9609.6%
Follower 03541954.19%105510.55%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, J.; Zhang, Y.; Li, W. Formation Control of a Multi-Autonomous Underwater Vehicle Event-Triggered Mechanism Based on the Hungarian Algorithm. Machines 2021, 9, 346. https://doi.org/10.3390/machines9120346

AMA Style

Li J, Zhang Y, Li W. Formation Control of a Multi-Autonomous Underwater Vehicle Event-Triggered Mechanism Based on the Hungarian Algorithm. Machines. 2021; 9(12):346. https://doi.org/10.3390/machines9120346

Chicago/Turabian Style

Li, Juan, Yanxin Zhang, and Wenbo Li. 2021. "Formation Control of a Multi-Autonomous Underwater Vehicle Event-Triggered Mechanism Based on the Hungarian Algorithm" Machines 9, no. 12: 346. https://doi.org/10.3390/machines9120346

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop