#### Abstract

The consensus tracking problem for discrete-time multiagent systems with input and communication delays is studied. A sufficient condition is obtained over a directed graph based on the frequency-domain analysis. Furthermore, a fast decentralized consensus tracking conditions based on
increment *PID* algorithm are discussed for improving convergence speed of the multiagent systems. Based on this result, genetic algorithm is introduced to construct increment *PID* based on genetic algorithm for obtaining optimization consensus tracking performance. Finally, a numerable example is given to compare convergence speed of three tracking algorithms in the same condition. Simulation results show the effectiveness of the proposed algorithm.

#### 1. Introduction

As an effective method to solve decentralized multiagent cooperative control which is widely applied into many fields such as flocking [1, 2], formation control [3, 4], and unmanned air vehicles [5], consensus algorithms designing of multiagent systems has attracted great attention in recent years. A key task for consensus algorithms is to achieve a global common behavior through designing a distributed protocol based on local information. Reference [6] proposed a simple model for phase transition of self-driven of the model. A simple consensus protocol to solve the average consensus problem was discussed in [7]. Furthermore, two survey papers which introduce the basic concepts of consensus of multiagent systems, the methods of convergence, and performance analysis for the protocols and recent development can be seen in [8, 9]. In real applications, when local information data travel along channels in a multiagent network, a communication delay exists due to the physical characteristics of the medium transmitting the information. And at the same time, each agent also needs computing time to process its information. As a result, time-delay problem including communication delays and computing delays (also called input delays) is not avoided in designing consensus algorithms. Reference [10] discusses the consensus problem for multiagent systems with input and communication delays based on the frequency-domain in discrete-time formulation and a conclusion where the consensus condition is dependent on input delays but independent of communication delays is obtained.

Convergence rate or speed is an important performance index in the analysis of consensus problems. For example, sensors need to reach fast consensus on the estimates between sensor observing intervals in distributed estimation problem. In this field, main research works focus on fast consensus [11–13] and finite-time consensus [14–16]. Reference [11] proposes a new consensus protocol which considers the average information of the agents' states in a certain time interval and increases consensus speed of multiagent systems through determining suitable upper limit of time interval based on the frequently domain analysis and matrix theory. Reference [12] proposes a class of pinning predictive controllers for consensus networks to substantially increase their convergence speed towards consensus. In [13], an optimal synchronization protocol was designed for the fastest convergence speed when the protocol is perturbed by an additive measurement and process noise. As to finite-time consensus algorithms design, [14] designed continuous distributed control algorithms for double integrators leaderless and leader-follower multiagent systems with external disturbances based on the finite-time control technique. Based on positive or negative values of errors between their neighbor's values and their own state values in multiagent systems, a simple distributed continuous-time protocol is introduced by [15] that guarantees finite-time consensus in networks of autonomous agents when the network has directed switching network topologies and time-delayed communications.

Although fast or finite-time consensus without a virtual leader is interesting, it is sometimes more meaningful and interesting to study consensus tracking problem when the virtual leader's state (also called reference) may represent the state of interest for these systems. In [17], a coordinated tracking algorithm with a time-varying leader for first-order dynamics is proposed and bounded control and directed switching interaction topologies are considered when a time-varying consensus reference state is available to only a subset of a team. However, this algorithm requires the estimates of the neighbors’ velocities. In [18], distributed coordinated tracking algorithms are studied when only partial measurements of the states of the virtual leader and the followers are available. Reference [19] studies the issues associated with distributed coordinated tracking for multiple networked Euler-Lagrange systems where only a subset of the followers has access to the leader. As to discrete-time formulation, [20] considers consensus tracking problem when location information of the active leader is completely known but the acceleration information may not be measured; a neighbor-based pinning control law and a neighbor-based state estimation rule are proposed. Although consensus tracking problem is discussed widely, few works focus on fast consensus tracking with time-delays in discrete-time formulation.

Motivated by these topics, fast consensus tracking problem of discrete-time multiagent systems with communication delays and input delays is discussed in this paper. The main contribution of this paper is to establish a simple protocol in order to guarantee consensus tracking convergence in general directed network topology based on the frequency-domain analysis. Then, an increment* PID* algorithm is introduced to improve the convergent speed and an inequity condition which can describe relations of controller gain, input delays, communications delays and topology structure is obtained. Furthermore, genetic algorithm [21] is introduced to construct increment* PID* based on genetic algorithm for obtaining optimization consensus tracking performance. This makes the proposed protocol more practical for application to real-time applications.

This paper is organized as follows. In the next section, preliminary notions and multiagent systems model are provided. A conventional -like discrete-time consensus tracking algorithm for a single-integrator systems is stated in Section 3 and a fast discrete-time consensus tracking algorithm based on increment* PID* is established in Section 4. By applying to genetic algorithms, the fast consensus tracking algorithm mentioned above is optimized in order to obtain an optimal cost in Section 5. Simulation example is shown in Section 6. Finally, concluding remarks are stated in Section 7.

#### 2. Preliminaries and Multiagent Systems Modeling

##### 2.1. Graph Theory Notions

*Notations*. The notation used in this paper for graph theory is quite standard. For a system with agents, the communication graph among these agents is modeled by a directed weighted graph , where , , and represent the set of agents, the edge set, and the weighted adjacency matrix, respectively. The agent indexes belong to a finite index set . An edge denoted as means that the th agent can access the information of the th agent. We assume that the adjacency elements associated with the edges of the digraph are positive. That means , if agent receives information from agent otherwise . Moreover, we assume feedback gain for all , if th agent has feedback control loop and otherwise. Define the set of neighbors of agent as . For the directed digraph the outdegree of agent is defined as . Let be the degree matrix of , which is defined as a diagonal matrix with the degree of each agent along its diagonal. The Laplacian matrix of the weighted digraph is defined as satisfying zero-row sum.

In multiagent systems, each agent can be considered as a node in a digraph, and the information flow between two agents can be regarded as a directed path between the nodes. Thus, a directed graph has a directed spanning tree if there exists at least one agent called a globally reachable agent that has a directed path to all other agents.

##### 2.2. Multiagent System Modeling

Consider agents with a single-integrator kinematics in discrete-time formulation given by where and denote the state and the control input of agent , respectively. The following consensus tracking protocol for the multiagent systems (1) is a classical formulation mentioned by literature [10] which can be described by where is a time-varying reference state or a virtual leader with the states, named agent and the other agents indexed by are referred to as followers without loss of generality. (Especially, if , this reference state can be simplified to a constant one). is if agent has access to and otherwise. denotes the neighbors of agent and is the adjacency element of in the directed digraph . denotes the feedback control gain of agent and otherwise.

When agent is subjected to a time-varying input delay , system (1) can be rewritten as follows:

Consider the total delay where an agent receives data from its neighbors is sum of time-varying input delay and time-varying diverse communication delay, so the consensus tracking protocol becomes where denotes time-varying input delays of agent and denotes time-varying communication delay from agent to agent , respectively. It is assumed that each agent has similar computer capacity, so the time-varying input delay of each agent can be treated with the same time-delay value; that is, . To simplify the complexity of calculation, we assume that agent needs to possess memory capability such that can be used in the consensus tracking protocol. Substitute state in coupling terms of (4) for and let the total delay which satisfies . As a result, (4) can be rewritten as

Moreover, these two classes of delays can be approximated by and , respectively. Where , denotes sample period of this discrete-time system, are all nonnegative integers and are unknown-but-bounded variables which belong to interval . So it is reasonable that and are approximated by and although some artificial delays are included. In the end, (4) can be rewritten as

Substituting protocol (6) to the system (3), we have Using algorithm (6), each agent essentially updates its next state based on its past state with limited time delay and its neighbors' current as well as the reference's current if the reference is a neighbor of the agent. As a result, (6) can be easily implemented in practice.

#### 3. -Like Discrete-Time Consensus Tracking with Input Delays and Communication Delays

In this section we consider consensus tracking problem of multiagent systems with both communication delays and input delays. Firstly, two lemmas related to this topic need to be introduced. Then, a sufficient consensus tracking condition of multiagent systems (7) with conventional -like algorithmn is proposed based on the frequency-domain analysis and matrix theory.

Lemma 1 (Gershgorin’s disk theorem). *Let be a complex matrix; then all eigenvalues of matrix belong to the union set of circular disc on the complex plane; that is,
**
where .*

Lemma 2 (see [10]). *The following inequality:
**
holds for all nonnegative integers and all .*

In the following, we apply Lemmas 1 and 2 to derive our main result.

Theorem 3. *Consider multiagent systems (3) with algorithm (6). Assume that the interconnection topology digraph of the system has no less than a globally reachable agent and at least one globally reachable agent can receive reference information. Then the system achieves a consensus tracking asymptotically if
**
where denotes the feedback control gain of agent , denotes outdegree of agent .*

*Proof. *The multiagent systems of (3) with (6) are given by (7). Taking the -transformation of the system (7), we get
where and are the -transformation of and , respectively. Define a matrix as follows:
and , , and then (11) becomes
Let denote input signal and let denote output signal; then the transform function is denoted by
and correspondent characteristic equation of mulitagent system (13) is . Then, we will prove that all the zeros of have modulus less than unity in the following.

Based on the general Nyquist stability criterion, the modulus of all roots satisfying should be less than unity, if all poles of do not enclose the point for . By Lemma 1, all poles belong to the union set of circular disks; that is,

To simplify, we define and let

It is easy to see that is the center of the disc . Thus, the point does not enclose in disc for all as long as the point with . As a result, when , we have

Then this inequality can be rewritten as

According to Lemma 2, we have for . Then the following inequality is obtained by

Let ; then all disc do not enclose the point . As a result, multiagent systems (7) can achieve a consensus tracking asymptotically. That is end of this proof.

*Remark 4. *If we rewrite (19) as , it is easy to know that consensus tracking problem of multiagent systems is more sensitive to input delays than communication delays. Moreover, Theorem 3 is also suitable for the case when it only has input delays if we let .

#### 4. Fast Discrete-Time Consensus Tracking Algorithm Based on Increment

Considering feedback control gains is the similar with conventional -like controllers, an increment* PID* algorithm is proposed consequently to accelerate the convergence speed of multiagent systems (7). Discrete* PID* algorithm is described by
where is feedback control signal of agent at time interval . denotes the error of current state between agent and current reference state and denotes the error of the value between agent and reference state at time interval , respectively. denotes proportional coefficient, denotes integral time, denotes derivative time, and sampling period is described by .

Through , we obtain increment* PID* algorithm as
where , and .

*Remark 5. *From (21) we know that if sampling period and coefficient are chosen, control signal will be obtained by only using three adjacent deviation values. Because this algorithm is easily realized in the agent with limited computing capacity, it is very suitable for multiagent system.

Let in (7) and substitute feedback control gains into increment* PID* algorithm as (21); (7) can be rewritten by

Then, we obtain sufficient fast consensus tracking condition of multiagent system (22) based on increment* PID* algorithm as follows.

Theorem 6. *Consider multiagent systems (3) with algorithm (5). Assume that the interconnection topology digraph of the system has no less than a globally reachable agent and at least one globally reachable agent can receive reference information. Then the system achieves a fast consensus tracking asymptotically if
**
where , and and denotes outdegree of agent .*

*Proof. *The multiagent systems of (3) with (5) and (21) are given by (22). Taking the -transformation of the system (22), we get
where and are the -transformation of and , respectively. Define a matrix as follows:
and , ; then (24) becomes
Let denote input and let denote output and as unit column vector with dimensions; then the characteristic equation of system (26) becomes . In consequence, we will prove the all roots of whose module is less than unity.

According to general Nyquist stability criterion, modulus of all roots satisfied should be less than unity, if all poles of do not enclose the point for . By Lemma 1, all poles belong to the union set of circular disks; that is,
Moreover, we have
where .

Define ; it is easy to see that is center of disc . Then, the point does not enclose in disc for all as long as the point with . As a result, when , we have

Through several trivial transform, we have

As for Lemma 2, we have , and . Then the following inequality is obtained by

Similar to (19), this inequality holds under the conditions of and . That is end of this proof.

*Remark 7. *Because an inequality is used in (28), the result of Theorem 6 is considerable conservatism. If , we can obtain Theorem 3.That is to say, this conservatism can be ignored if are very small.

*Remark 8. *By using increment* PID* algorithm, the maximum allowable time delay of consensus tracking of multiagents system become larger; even input delays and communication delay in Theorem 6 are chosen to disobey the inequality; this multiagent systems is still converged to its reference in many cases.

#### 5. Optimization Consensus Tracking* PID* Algorithm Based on Genetic Algorithm

The main result in Section 4 gives a consensus tracking range whose multiagent systems can converge to reference. However, our interesting is how fast these multiagent systems can converge to reference or are there optimal* PID* parameters which make these systems track reference with optimal performances? Here, a new optimization increment* PID* algorithm based on genetic algorithm (GA-*PID*) is proposed for optimization cost including rise time, output energy of controllers, and tracking error.

Here, the fast consensus tracking problem of multiagent system is described as follows: finding the optimal* PID* parameters of Theorem 6 which can make the system achieve faster consensus tracking. It is well known that the genetic algorithm is an effective method that can find the global optimal solution, so we improve the conventional genetic algorithm in order to solve this optimization tracking problem. The basic design steps of self-adjusting* PID* controller based on the genetic algorithm are as follows.(1)To ascertain parameters. To ascertain the values of* PID* parameters according to the mathematic model of the system so as to narrow the searching scope and improve the efficiency of optimization, here, let .(2)To select the initial population. Here, 50 initial populations are chosen at random, so populations size is equal to 50.(3)To ascertain the adaptation parameter. Combing three control performances stability, ra*PID*ity, and accuracy, the target functions shown as below can be used as the optimal index for the selection of parameters:
where is the global optimal index, is the local optimal index of agent for tracking reference. , and are the error, controller input, and rising time of agent , respectively. denotes weighted values of these three parameters.In order to avoid overshooting, a punishment mechanism is introduced. That is, if the overshooting happened, this overshoot should become a term of local optimal index of agent . As a result, the local optimal index becomes
where is a weighted value satisfying . Here related weighted values are , , and . The weighted value of punishment mechanism is . The fitness function is .(4)Design of genetic operator. Designing genetic operator is a basic operation of genetic algorithm to populations including selection operator, crossover operator, and mutation operator. Selection operator is determined by its selection probability described by , where is fitness of agent . Crossover operator is determined by crossover probability . Mutation operator is determined by mutation probability .(5)To ascertain evolution parameters. Here, let initial population , end-up generation , crossover probability , and initial mutation probability .

#### 6. Simulation Example

*Example 9. *Consider the multiagent systems which are composed of one virtue leader and 6 following agents with an interconnection digraph shown by Figure 1. The weights of the directed paths are , and . Agent “0" is consensus tracking reference and interconnection with dotted line denotes a communication existing between reference agent and neighbors of this reference agent. Without loss of generality, the virtual leader 0 can also be known only for part of agents and differences topologies could be seen in Table 1. Initial state of all agents is and sample period of these systems is second. For simplify, here let .

It is easy to see that there exist three globally reachable agents named agent 2, agent 3, and agent 6 in this directed graph. Firstly, all agents which can receive reference are considered when this reference is constant () or time varying (), respectively, and consensus tracking responds could be seen in Figures 2, 3, 4, 5, and 6 under the condition of . From Figures 2–4, we can see that the multiagent systems can converge to the constant reference when , , and and GA-*PID* algorithm has faster convergent speed than that of the two. If we compare maximum allowable time delay, GA-*PID* has the largest consensus tracking allowable time delays known as in contrast to as to conventional -like algorithm and as to increment* PID* algorithm. Figure 5 show the optimization process of Best based on genetic algorithm.

In fact, the multiagent systems can converge to the reference on the condition that at least one globally reachable agent can receive the constant reference. Similar results can also be obtained in different topologies. Details could be seen in Table 1. Comparing these three algorithms we can see that -like algorithm has slowest convergence speed, increment* PID* algorithm has strongest robustness performance, and increment* PID* based on GA has fastest convergence speed in almost all cases. What is more, a very interesting thing is also deduced from Table 1. That is, convergence speed is similar between all agents receiving the reference and only globally reachable agents receiving the reference. This means that only globally reachable agents instead of all agents receive reference and a similar convergence speed can also be obtained.

From [9] we know that conventional -like algorithm is not sufficient for consensus tracking when all agents receive a time-varying consensus reference. However, if our increment* PID* algorithm is adopted, consensus tracking can be achieved through choosing suitable* PID* parameters. Comparing Figure 6 with Figure 7 we can see that suitable* PID* parameters not only decrease errors between reference and current states of agents, but also increase the convergence speed. Regretfully, these three algorithms cannot be used to track a time-varying reference, that is, available to only a subset of the team members for only receiving time-varying reference state. If time-varying reference changes in a piecewise constant case, increment* PID* algorithm based on genetic algorithm can track this time-varying reference whether the reference is available to all team members or to a subset of the team member. From Figure 8 we can see that the multiagent systems can converge to a piecewise constant reference within about 40 seconds when only agents receive this time-varying reference. This characteristic can be applied to many fields such as synchronizing a network of clocks [13].

#### 7. Conclusions

In this paper, three consensus tracking algorithms named -like algorithm, increment* PID* algorithm, and increment* PID* algorithm based on genetic algorithm, respectively, for discrete-time multiagent systems with time-varying input delays and communication delays are proposed based on the frequency-domain analysis. Firstly, a consensus tracking sufficient condition of conventional -like algorithm is obtained. Secondly, a new increment* PID* algorithm based on similar frequency-domain method is designed for improving consensus convergence speed and an inequality condition is also deduced. Finally, considering three control performances stability, rapidity, and accuracy, an increment* PID* algorithm based on genetic algorithm is designed to find optimal* PID* parameters within an inequality allowable span for achieving optimization cost. These three algorithms can solve tracking problem of multiagent systems with a constant reference effectively when reference state is available to all the team members. If the reference state might only be available to a portion of the agents in the team, the convergence speed may increase in the same condition. As for a time-varying reference case, if the reference state has a directed path to all team agents, increment* PID* algorithm and increment* PID* algorithm based on genetic algorithm can realize consensus tracking through choosing suitable* PID* parameters while conventional -like algorithm fails to track the reference. However, these three algorithms cannot be used to track a time-varying reference state when the reference is available to only a subset of team members. In the future research, we will focus on more complex issues in the controller design such as actuator delay and fault, controller design with control delay, quantized control, and global consensus problem with saturated control [22–29].

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This research was supported by the National Natural Science Foundation of China under Grant nos. 61004033 and 61364002, Foundation of 2012 Jinchuan School-Enterprise Cooperation, and the Yunnan Natural Science Foundation of Yunnan Province, China, under Grant no. 2010ZC035.