{'fraction_non_alphanumeric': 0.0396417861397527, 'fraction_numerical': 0.016226430596064576, 'mean_word_length': 4.546593757120073, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Finite time consensus control for nonlinear heterogeneous multi-agent systems with disturbances

This paper discusses the finite time consensus (FTC) issue of nonlinear heterogeneous multi-agent systems (HMASs) by combining integral sliding-mode control (SMC), event-triggered control (ETC) and pinning control methods. The SMC is constructed separately for first-order and second-order agents to assure that the system is not interfered by the nonlinearities and disturbances when the state trajectory of the system moves on the sliding surface. To stimulate the FTC of system, the novel control protocols and the fully distributed ETCs with adjustable trigger frequency only rely on the local information are designed. Moreover, the Zeno behavior is eliminated and the range of pinning gain of each agent under directed weakly connected topology is determined. Meanwhile, we also give the conditional criteria for the system to achieve FTC. Eventually, the correctness of the obtained conclusion is illustrated by several simulation examples.


Introduction
Recently, the coordinated control of multi-agent systems (MASs) has evoked widespread concerns in engineering applications, such as UAV cooperative control [1], sensor network [2], robotic control [3] and distributed satellite formation [4]. Thereinto, the consensus problem of MASs plays a significant part on the research of coordinated control. For achieving the goal of consensus, the distributed controller needs to be designed to interactive information.
Early phase, numerous momentous achievements have been acquired in the study of linear MASs, such as [5,6]. However, linear system is an ideal state. In practical engineering, the system will be inevitably affected by the unknown factors, such as nonlinearities and external disturbance. This will affect the performance of the system seriously, as a result, the system cannot complete the designated tasks. In order to ensure that the system can still work in the complex environ-ment, it is significant to study the nonlinear system. The work [7] adopted the Lipschitz condition to avoid nonlinear interference. The works [8,9] used the properties of radial basis function neural networks to neutralize the nonlinear factors in the system. By adopting disturbance observer, the uncertainties and external disturbances are estimated in [10][11][12]. However, compared to the above methods, SMC is especially suitable for nonlinear systems owing to its low control cost, better robustness and anti-interference ability. At present, many crucial achievements on SMC have been published, such as [13][14][15][16] and the references therein. In [13,15], the continuous SMC and discontinuous SMC tracking protocols for second-order MASs are studied. A new decoupling distributed SMC is proposed in [14], which can eliminate the influence of singularity and weaken the influence of chattering. By employing distributed integral SMC based on ETC in [16], the state of nonlinear second-order MASs approximates the integral sliding mode surface in finite time.
It should be noted that the above works on SMC are all about homogeneous nonlinear MASs, which means that the dynamic models of the system possess the same properties. In actual systems, the dynamics of agents may be diverse due to various constraints or different task division in complex environments. For example, in a robot football game, some robots need to attack and some robots need to defend. Compared with homogeneous MASs, HMASs are applied for practical application appropriately on account of its distinct composition. The output consensus of HMASs is studied in [17,18,26]. The chain nonholonomic MASs are transformed into two sub-systems in [19]. A distributed protocol is designed by means of output regulation and state feedback. Aiming HMASs composed of linear and nonlinear agents [20], a nonlinear consensus protocol is proposed. For the HMASs contained the firstorder and the second-order agents, the case that the velocity measurement information cannot be received is studied in [21,22]. However, it is worth noting that these works adopted period sampling control. In period sampling control, the communication cycle needs to be determined. When the communication cycle arrives, all agents will communicate with each other, which means that they will touch off inessential consumptions of communication resources.
For saving communication resources and decreasing controller update frequency, ETC is proposed by scholars to deal with the resource control of the sys-tem. In ETC, the condition of state error between the agents will be defined. When the state error threshold between the agents exceeds the defined condition, the controller of the agent will be automatically triggered to update and determine the next state of the agent. However, some distributed ETCs in certain works depend on the global information, for instance, the quantity of the agents [23,24], the eigenvalues of Laplacian matrix [25] associated with the system topology and others. However, the fully distributed ETC [26][27][28] is able to avoid continuous monitoring of measurement error. A distributed event-triggered consensus algorithm using an open-loop estimate and neighboring information is proposed in [26], and the control input of each agent is dependent on the estimate and information at discrete instants. A hybrid ETC mechanism is proposed in [27], which adopted time regularization to compel the minimum trigger interval time to be positive, it means Zeno behavior is excluded. Noting that the convergence time is omitted in these works, they only guarantee the asymptotic consensus of the system, even the best convergence rate is exponential consensus. In other words, the range of consensus convergence time is uncertain.
With the in-depth study of HMASs tracking control problem, the convergence rate is required strictly. For example, the higher accurate control is desired in some practical applications. As a result, the system is required to achieve consensus in the finite time. The superiority of FTC is not only faster convergence velocity, but also the better anti-interference ability. Therefore, more scholars have considered the FTC problem [29][30][31][32][33][34][35][36]. The work [29] considered the FTC of a group of MASs described by fully driven Euler-Lagrange dynamics. The integrated SMC is employed in [32], and the established ETC emerges the characteristic of fully continuous communication free. In [33] and [34], the FTC of HMASs with external disturbances that consist of the first-order agents and the second-order agents is discussed, but they utilized periodic sampling control, resulting in unnecessary waste of communication resources. The FTC of nonlinear HMASs under uncertainty and disturbance is investigated using ETC and SMC in [35], whose ETC is designed to be centralized and distributed, respectively. However, the finite time homogeneity theorem adopted cannot obtain the convergence time of the system.
As known that the topology of the system plays a key role in the coordinated control of MASs. Noting that most of the network topology investigated are directed strongly connected graph [6,27], directed graphs with leaders [7,10,13,16], undirected graphs [32][33][34][35], and so on. However, in practical applications, the communication link may be limited in the system, such as some agents have no adjacent agent to communicate. Therefore, the directed weakly connected topology can be applied to severe environments and lessen communication overhead. In order to deal with the more complicated system environment and the limitation of communication link, the pinning control strategy [37] is an utterly effective means. The principle of pinning control is actually to select a target value for the states of the agents who cannot acquire neighbor information. Whenever the controller is updated, the states of the agents will be close to the target value.
Inspired by the deficiencies of the related works, including linear system, convergence time, periodic sampling control and topological constraints, we ponder over the SMC on the study of FTC for nonlinear HMASs. Then, ETC and pinning control are combined to avert topology constraints and economize resources. The primary contributions of this paper can be epitomized as: (1) On the basis of these homogeneous MASs in [13][14][15][16]29,30], we consider the HMASs contained the first-order and the second-order agents via integral SMC in this paper. This improves the ability of the nonlinear system under SMC to work in different task division. The difficulty lies in how to design SMC and ensure sliding surface can be stable in finite time. (2) In order to avoid that the event-triggered condition contains global information, and considering the special properties of HMASs, the design of ETC is the difficult part. Compared with the resembled works in [20,22,33,34], the fully distributed ETC proposed does not contain any global information and the traffic between agents is decreased. Thereinto, Zeno behavior is repelled. (3) FTC possesses better control precision than these works in [17,18,21,26,28] owing to the convergence time of the system can be known. Although FTC is utilized in the works [22,35], the convergence time cannot be received due to different methods. Considering that HMASs do not satisfy any law, the design of controller is a breakthrough direction. A new control protocol is proposed in this paper to complete FTC of HMASs and assist us in obtaining the convergence time. (4) Yet, most topology of the resemble works like [6,7,10,13,16,27,[32][33][34][35] cannot be wielded to the case where the communication link is limited. The pinning control method is applied to achieve the consensus tracking in the directed weakly connected graph. Where HMASs need to meet the law of FTC and the agents in the system have different properties, so it is a challenge to calculate the pinning gain range of each agent. Eventually, this paper obtains the pinning gain range of all agents.
The rest of this paper is arranged as below. In Section 2, some fundamental concepts of graph theory and the dynamics of the HMASs are introduced. Section 3 narrates the work content based on ETC and pinning gain. In Section 4, the validity of the results is verified by simulations. In Section 5, the conclusion is presented.

Preliminaries
Algebraic graph theory is especially profitable in the study of MASs. Some lemmas, assumptions and definitions are presented in this section.

Description of algebraic graph theory
The communication flow of N agents can be expressed by a directed communication topology If the agent i and agent j are neighbors, a i j > 0, otherwise a i j = 0. In this paper, graph G does not contain rings, it means that a ii = 0.

Dynamic of HMASs
Considering the nonlinear HMASs composed of M first-order agents and N − M (N > M) second-order agents. Thus, the dynamics of the HMASs can be indicated as: where ∈ denote the position state, velocity state and control input of the agent i, respectively.
indicate the nonlinear functions of the first-order agent and the secondorder agent, respectively. d i (t) indicates the external disturbance of each agent. HMASs has received extensive attention in many works, but in order to improve the performance of HMASs, we introduced the combination of SMC, FTC, ETC and pinning control. Since HMASs contains the agents with different properties and there is no certain law, the design of these control methods is critical, which is also a major challenge of this paper. The following contents of this paper will explain the design of these control methods in detail.

Definition 1
For any stochastic state of the agents, there exists a setting time T , and the conditions for HMASs (1) to accomplish consensus in finite time are as follows: where the target value x δ is the desired position state by pinning control. We can obtain the different convergence position state of the agents by adjusting the value of x δ . This is utterly convenient in practical application. (1), we consider that the nonlinear function and the external disturbance are bounded. And the upper bounds are limited by two positive constants, i.e., (1) is a directed weakly connected graph.

Main results
In this section, an integral SMC for nonlinear HMASs (1) is designed firstly. Then, a novel control protocol is employed. On the basis of the combination of ETC and pinning control, we implement FTC of HMASs. In addition, the Zeno behavior is ruled out.

Controller design based on integral SMC and fully distributed ETC
To ensure that the HMASs (1) can converge in finite time, we design a novel distributed auxiliary function u il (t) based on ETC moment for the agent i. The triggering time sequence is t i where , c i is the pinning gain. From the auxiliary function u il (t), it can be known that we pin the position state of the agents, and the target value of pinning control is x δ , the position states of all agents will approach x δ through the update of auxiliary function u il (t). In the case of directed weakly connected topology, the pinning gains of the agents that can receive and cannot receive neighbor information are different, and the specific pinning gain range will be discussed later. t i k is the last triggered time of the agent i, and t j k is the last triggered time of the jth agent which is the neighbor of the ith agent. Therefore, the auxiliary function is updated at t i k and t j k instants. ETC, FTC and pinning control are introduced into u il (t). ETC controls the update moment of u il (t), the task of pinning control is to help u il (t) specify the target location of the agents' motion. And because of the existence of parameter η, FTC can be completed according to Lemma 3. ETC and pining control complement each other, and finally realize the FTC of HMASs.
The integral sliding-mode surfaces are designed as and Remark 1 Being aware of that the integral SMCs are designed for the first-order agents and the second-order agents, respectively. In compared with the works [13][14][15][16]29,30], it is obvious that we extend SMC from homogeneous MASs to HMASs.
When the HMASs remain on the integral slidingmode surface, we can get S i (t) =Ṡ i (t) = 0. Then, we complete the following dynamics of sliding-mode: anḋ We design a novel controller based on the auxiliary function u il (t) and sliding-mode observer u is (t) to make the sliding surface stable in finite time. The system can always maintain on the sliding surface without any external interference. According to the state error, the event-triggered condition is proposed. t i k is the event-triggered moment of the agent i caused by the event-triggered condition. The control protocol changes instantly at t i k and remains constant until the next event-triggered moment t i k+1 . The controller protocol is presented as: and where k 1 and k 2 are all positive constants to be determined later.
In the following work, some sufficient conditions are proposed to ensure the FTC of nonlinear HMASs. For any agent i, the position measurement error is determined as and the velocity measurement error is determined as where t ∈ [t i k , t i k+1 ). Following this, the consensus error of the system is By combining (2), (9), (10) and (11), we update (2) to From the above discussion, we propose a class of fully distributed event-triggered function. Furthermore, the next event trigger instants of the agent i are defined as where i (t) is called the event-triggered function and can be represented as and where l ii is the in-degree of the agent i.
Remark 2 According to the event-triggered function (14) and (15), they are fully distributed event-triggered conditions. The discrepancy from the works [20,22,33,34] is that the update of controller is only related to its own and the neighbors information, which does not contain any global information. Parameters θ 1 and θ 2 are adopted to adjust the update frequency of ETC. While θ 1 and θ 2 are large, the update frequency is reduced. But decreasing the θ 1 and θ 2 , the convergence curve will be smoother. In practical application, θ 1 and θ 2 can be modified to adapt to the realistic situation. (3) and (4) in finite time when k 1 > σ 1 and k 2 > σ 2 . Furthermore, the boundary of setting time T 1 is

Theorem 1 Under the Assumption 1 and the distributed control protocol (7) based on the integral SMC, the consensus tracking issue of the HMASs (1) will slide to the sliding surface
where Proof Firstly, taking the derivative of integral SMC (3) and (4) and utilizing the control protocol (7) we will get Select the Lyapunov function as where From (7), we acquirė In the same way, based on SMC (4), we havė Let With the conditions k 1 > σ 1 and k 2 > σ 2 , we are cognizant of ω 1 > 0, which implies thatV 1total (t) < 0. Therefore, it follows the requirements of Lemma 3 and each S i (t) is stable in finite time. The setting time can be calculated as That completes the proof.

Remark 3
It implies that f i +d i −(k 1 +k 2 )sgn(0) = 0 when S i (t) =Ṡ i (t) = 0. According to LaSalle invariance theorem, that can also be regarded as an observer: f i + d i = (k 1 + k 2 )sgn(S i ). By using the sliding-mode observer u is (t) (8), the effective observation of nonlinearity and disturbance is carried out to realize compensation.
Remark 4 Due to the influence of the factors such as the time delay of the signal function and the inertia link, the SMC will produce chattering behavior. Utilizing saturation function sat (s) instead of signal function sgn(s) can exclude chattering behavior. Here, , where can be a constant or a variable for adaptive adjustment. This method actually utilizes continuous function sat (s) to convert the system to a continuous system.

Remark 5
We know that k 1 and k 2 are the upper bounds of nonlinear functions and external disturbances, respectively. If the values of k 1 and k 2 are larger, the setting time T 1 for the consensus of the slidingmode face will be shortened, but the result is that the convergence curve fluctuates; if the values of k 1 and k 2 are smaller, T 1 will be extended, but the convergence curve is smoother, and each S i is closer to zero. Hence, k 1 and k 2 can be adjusted according to the actual situation.
After entering the sliding-mode surface, it is conscious of S i (t) =Ṡ i (t) = 0. FromṠ i (t) = 0, we can transform the sliding-mode dynamics of the HMASs in (1) into the following forms:

System stability analysis
On the basis of the controller (7), we achieve a sufficient condition to solve the consensus of nonlinear HMASs (1).

Theorem 2
In the case of Assumption 2, Assumption 3, sliding-mode dynamics (23), (24) and the fully distributed ETCs (14), (15), the FTC of the nonlinear HMASs (1) can be implemented if the following conditions hold: Meanwhile, the setting time T 2 we obtained is: where V 2total (t) = V 3 (t) + V 4 (t) will be determined later.

Event interval lower bounds
The trigger sequence t i k (k ∈ {0, 1, 2, . . . , ∞}) is referred to as the time instant while the controller is updated. Zeno behavior is actually triggered many times in an exceedingly short time interval. To avoid Zeno behavior, we must ensure that the difference between the two trigger instants is positive, namely t i k+1 − t i k > 0. Theorem 3 Considering the nonlinear HMASs (1) with the distributed controller (7) based on the integral SMCs (3), (4) and the ETCs (14), (15), the difference between any two trigger instants is positive for all agents.
Proof According to the trigger condition (14) of the first-order agents, we set then taking the derivation of (41), we can acquire Let So far, we exclude the Zeno behavior of firstorder agents. And then it's homologous to second-order agents, we set in the same way, we obtain Following this, ς i k > i (t) ψ 2 (t) > 0 can be proved. To sum up, the Zeno behavior of the entire agents is excluded.

Remark 6
On the basis of [6,7,10,13,16,27,[32][33][34][35], in order to achieve FTC of nonlinear HMASs and exclude the Zeno behavior. We can infer that c i > −l ii −θ 1 , i ∈ the proof of Theorem 2 and c i > −l ii , i ∈ I N from the proof of Theorem 3. Therefore, we speculate on the range of c i : It is worth noting that if the agent i with zero in-degree must be pinned, because it cannot receive neighbor information. On the contrary, the pinning gain c i of the agent without zero in-degree is 0, because it can communicate with its neighbors to confirm its movement trajectory.

Simulation examples
Several simulation examples will be applied to verify the effectiveness of FTC for nonlinear HMASs with external disturbances in this section.
Consider the communication topology of the nonlinear HMASs (1) shown as Fig. 1  Firstly, the validity of FTC of integral SMC is discussed. According to Remark 5, the appropriate values of k 1 and k 2 are determined. Then, the state trajectory of SMC is displayed in Fig. 2(a). It can be found that convergence curve is smooth and tends to 0. Therefore, the correction of Theorem 1 is guaranteed. In Fig. 2(b), we choose k 1 = 3 and k 2 = 10, which have large differ-(a) (b) Fig. 2 Effect graph of integral sliding-mode stability ence with σ 1 and σ 2 . Thus, the tracking curve of SMC fluctuates. For all agents, we get that S i (t) approaches 0. Namely,ẋ i (t) approaches u il (t) for first-order agents andv i (t) approaches u il (t) for second-order agents. Then, the problem is transformed from nonlinear system to linear system. Hence, this simulation example verifies the anti-interference capacity of SMC to nonlinear functions and disturbances.
The discussion of FTC for the nonlinear HMASs triggered by a class of fully distributed ETC is divided into two cases: Case 1: From Fig. 1, as a result of the agent 2 and agent 5 have zero in-degree, they should be selected to be pinned for the achievement of FTC. According to Remark 6, we determine c 2 = 0.8, c 5 = 0.5 and c i = 0(i ∈ {1, 3, 4}). Under the above conditions,  Fig. 3. In where, Fig. 3(a) and Fig. 3(b) are the state evolution curves of position and velocity. Fig. 3(c) depicts the event times of each agent. From these simulation examples, we can observe that the FTC of nonlinear HMASs (1) can be guaranteed under ETC and pinning control, and rule out the Zeno behavior.
Case 2: For the sake of testifying the effectiveness of the pinning control method, we set c i = 0(i ∈ I n ). Namely, we do not pin any agent. The trajectories of the agents are shown in Fig. 4. It reveals that the FTC cannot be brought about.
Case 3: In order to verify that θ 1 and θ 2 are able to adjust the frequency of ETC, we determine θ 1 = 1.5 and θ 2 = 1.6. Simultaneously, the other parameters remain as is. Since θ 1 and θ 2 are smaller than the values in case 1, the trigger times will theoretically be reduced. The verification in Fig. 5 shows that the trigger times are indeed reduced, but the cost is that the convergence time is longer.
Remark 7 At the same time, the trigger times of each agent in fully distributed ETC sampling and period control sampling are depicted in Table I. It can be inferred that the trigger times of ETC are less than that of periodic sampling control, and the trigger times are reduced by about 46%. Moreover, from the comparison of Fig. 3(c) and Fig. 4 (c) in case 1 and case 2, since the pinning control sets the target value of the state, the trigger times can be significantly reduced on the basis of ETC. In summary, ETC and pinning control methods can abate the times of communication effectively (Table 1).

Conclusion
In this work, an integral SMC is established for nonlinear HMASs comprised of first-order and secondorder agents to address the nonlinearity and disturbance issues of the system. It adapts to general situation preferably rather than homogeneous MASs. The simulation results show that the consensus effect of integral SMC and setting time are related to the upper bound parameters of nonlinearities and external disturbances. By utilizing a fully distributed ETC scheme, it averts the continuous communication. Comparing with period sampling control, the trigger times are greatly reduced. Meanwhile, we excluded the Zeno behavior. Utilizing