## I Introduction

The consensus problem has attracted great interest due to its wide applications in robotics, cooperative control [7], formation [1] and flocking [20]. Consensus or agreement is achieved when a group of agents converge to a common value. The first order consensus protocol was first introduced in [15], where the authors discussed the consensus problem of directed and undirected graphs with fixed or switching topologies and time delays. Second order consensus protocol has been investigated in [18], where the states of the agents converge to a constant or a linear function.

In this work, we study the consensus problem in a leader-follower framework, that is, one or more agents are selected as *leaders* with external inputs in addition to the first order consensus protocol. The remaining agents are *followers* only obeying the first order consensus protocol. Recent research that has been done in the leader-follower framework can be divided into two parts. The first part deals with the controllability of leader-follower multi-agent systems. For instance, controllability of networked systems was first investigated in [19] by deriving conditions on the network topology, which ensures that the network can be controlled by a particular member which acts as a leader. In [6, 17], the authors identify necessary conditions for the controllability of the corresponding leader-follower networks using equitable partitions of graphs. Controllability conditions for leader-follower multi-agent systems with double integrator dynamics and their connection with graph topology properties are addressed in [9]. The second part targets leader selection problems [21, 16, 8]. These involve the problem of how to choose the leaders among the agents such that the leader-follower system satisfies the requirements such as controllability, optimal performance or formation maintenance.

Prescribed performance control (PPC) was originally proposed in [3], with the aim to prescribe the evolution of system output or the tracking error within some predefined region. For example, an agreement protocol that can additionally achieve prescribed performance for a combined error of positions and velocities is designed in [13] for multi-agent systems with double integrator dynamics, while PPC for multi-agent average consensus with single integrator dynamics is presented in [11]. In [2], the authors consider the formation control problem for nonlinear multi-agent systems with prescribed performance guarantees and connectivity constraints. Funnel control, which uses a similar idea as PPC was first introduced in [10] for reference tracking. In [4], the authors utilize funnel control for uncertain nonlinear systems that have arbitrary strict relative degree and input-to-state stable internal dynamics.

In this work, we are interested in how to design control strategies for the leaders such that the leader-follower multi-agent system achieves consensus within certain performance bounds. Compared with existing work of PPC for multi-agent systems [13], we apply a PPC law only to the leaders while most of the related work, including [13], applies PPC to all the agents to achieve consensus. The benefit of this work is to lower the cost and control effort since the followers will follow the leaders by obeying first order consensus protocols without any additional control. Unlike other leader-follower consensus approaches using PPC [12], in which the multi-agent system only has one leader and the leader is treated as a reference for the followers, we focus on a more general framework in the sense that we can have more than one leader and the leaders are designed in order to steer the entire system achieving consensus within the prescribed performance bounds. The difficulties in this work are due to the combination of uncertain topologies, leader amount and leader positions. In addition, the leader can only communicate with its neighbouring agents. The contributions of the paper can be summarized as: i) within this general leader-follower framework, under the assumption of tree graphs, a distributed control law is proposed when the decay rate of the performance functions is within a sufficient bound; ii) the specific classes of chain and star graphs that can have additional followers are investigated.

The rest of the paper is organized as follows. In Section II, preliminary knowledge is introduced and the problem is formulated, while Section III presents the main results, which are further verified by simulation examples in Section IV. Section V closes with concluding remarks and future work.

## Ii Preliminaries and Problem Statement

### Ii-a Graph Theory

An undirected graph [14] comprises of the vertices set and the edges set indexed by . Here, is the number of edges and denotes the agents in the neighbourhood of agent that can communicate with . The *adjacency matrix* of is the symmetric matrix whose elements are given by , if , and , otherwise. The degree of vertex is defined as . Then the *degree matrix* is . The *graph Laplacian* of is . A *path* is a sequence of edges connecting two distinct vertices. A graph is *connected* if there exists a path between any pair of vertices. By assigning an orientation to each edge of we can define the *incidence matrix* . The rows of are indexed by the vertices and the columns are indexed by the edges with if the vertex is the head of the edge , if the vertex is the tail of the edge and otherwise. Based on the incidence matrix, the graph Laplacian of can be described as . In addition, is the so called *edge Laplacian* [14] and denotes the elemnts of .

### Ii-B System Description

In this work, we consider a multi-agent system with vertices . Without loss of generality, we suppose that the first agents are selected as followers while the last agents are selected as leaders with respective vertices set , and .

Let be the position of agent , where we only consider the one dimensional case, without loss of generality. Specifically, the results can be extended to higher dimensions with appropriate use of the Kronecker product. The state evolution of each follower is governed by the first order agreement protocol:

(1) |

while the state evolution of each leader is governed by the first order agreement protocol with an assigned external input :

(2) |

Let

be the stack vector of absolute positions of all the agents and

be the control input vector . Denote as the stack vector of relative positions between the pair of communicating agents , where . It can be easily verified that and . In addition, if , we have that . By stacking (1) and (2), the dynamics of the leader-follower multi-agent system is rewritten as:(3) |

where is the graph Laplacian and

### Ii-C Prescribed Performance Control

The aim of PPC is to prescribe the evolution of the system output or the tracking error within some predefined region described as follows:

(4) |

(5) |

are positive, smooth and stirctly decreasing performance functions that introduce the predefined bounds for the target system outputs or the tracking errors. One example choice is with and positive parameters and represents the maximum allowable tracking error at the steady state; represents the maximum allowed overshot.

Normalizing with respect to the performance function , we define the modulated error as and the corresponding prescribed performance region :

(6) |

(7) |

(8) |

Then the modulated error is transformed through the transformed function that defines the smooth and strictly increasing mapping and . One example choice is

(9) |

Hence the transformed error is defined as

(10) |

It can be verified that if the transformed error is bounded, then the modulated error is constrained within the regions (7), (8). This also implies the error evolves within the predefined performance bounds (4) and (5), respectively. Differentiating (10) with respect to time, we derive

(11) |

where

(12) |

(13) |

are the normalized Jacobian of the transformation function and the normalized derivative of the performance function, respectively.

### Ii-D Problem Statement

In this work, we are interested in how to design a control strategy for the leader-follower multi-agent system given by (3) such that the controlled system can achieve consensus within the prescribed performance requirements. The control strategy is only applied to the leaders and these drive the followers to guarantee the entire multi-agent system meet the requirements. Formally,

###### Problem 1.

Let the leader-follower multi-agent system defined by (3) with the communication graph and the prescribed performance functions . Derive a control strategy such that the controlled leader-follower multi-agent system achieves consensus within .

## Iii Main Results

In this section, we design the control for the leader-follower multi-agent system (3) such that the system can achieve consensus within the prescribed performance functions

(14) |

Here the performance functions are chosen as (14) without loss of generality and the communication agents share information about their performance functions and transformation functions, that is, and . This means the communication between the neighbouring agents are bidirectional and the graph is assumed undirected.

Consensus is achieved in the sense that the stack vector of relative positions converges to zero as . We then rewrite the dynamics of the leader-follower multi-agent system (3) into the edge space in order to characterise the dynamics of the relative positions. We first rewrite (3) into the dynamics corresponding to followers and leaders, respectively. The corresponding incidence matrix is denoted as with denoting the incidence matrices that characterise how followers and leaders are connected with other agents. Then (3) is reorganised as

(15) |

where and . Multiplying with on both sides of (15), we obtain the dynamics on the edge space as

(16) |

with the edge Laplacian . We know that is positive definite if the graph is a tree [5]. We thus here assume the following

###### Assumption 1.

The leader-follower multi-agent system (3) described by the graph is a connected tree.

We consider tree graphs as a starting point since we need the positive definiteness of in the analysis, and motivated by the fact that they require less communication load (less edges) for their implementation. Note however that further results for a general graph could be built based on the results of tree graphs, for example, through graph decompositions [22]. For the leader-follower multi-agent system (16), the proposed controller applied to the leader agents is the composition of the term based on prescribed performance of the positions of the neighbouring agents:

(17) |

where is a positive scalar gain to be appropriately tuned. Then the stack input vector is

(18) |

where is the stack vector of transformed errors , is a positive definite diagonal gain matrix with entries . is a time varying diagonal matrix with diagonal entries , is a stack vector with entries . Then the edge dynamics (16) with input (18) can be written as

(19) |

In the sequel, we develop the following result and will use Lyapunov-like methods to prove that the prescribed performance can be guaranteed and consensus can be achieved.

###### Theorem 1.

Consider the leader-follower multi-agent system under Assumption 1 with dynamics (3), the predefined performance functions as in (14) and the transformation function s.t. , and assume that the initial conditions are within the performance bounds (4) or (5). If the following condition holds:

(20) |

where is the largest decay rate of and is the maximum value of that ensures:

(21) |

Then, the controlled system achieves consensus within the prescribed performance bounds when applying the control (18).

###### Proof.

Consider the Lyapunov-like function

(22) |

with denoting and denoting . Then, . Replacing according to (11), we obtain

(23) |

where is the diagonal matrix with diagonal entries . According to (13) and (14), we know that . Substituting (19), we can further derive that

(24) | ||||

Adding and subtracting on the right hand side of (24), we obtain

(25) | ||||

with

(26) |

Since are both diagonal and positive definite matrices, we have that is also a diagonal positive definite matrix. is a diagonal positive definite matrix if . Due to , we have . Then, by by setting , with being a positive constant we get:

(27) |

Then, according to (6), (12), we further obtain

(28) |

(28) holds because the transformed function is smooth and strictly increasing and . Therefore, in order for to hold, it suffices that and in addition, should be semi-positive definite. Here, in order for to be feasible, we need the assumption that the communication graph is a tree. This further means that is positive definite and (21) is then equivalent to:

(29) |

Then, based on condition (20), and choosing , we obtain and . Finally, we can conclude that when . This also implies . Hence if is chosen within the region (7) or (8) then is finite, which implies that is bounded . Therefore are bounded and the boundedness of the transformed error implies that the relative position evolves within the prescribed performance bounds . Then we can prove the boundedness of based on the boundedness of . The boundedness of implies the uniform continuity of , which in turn implies that as by applying Barbalat’s Lemma. This implies as and consensus will be achieved. ∎

###### Remark 1.

We are always interested in specifying the state of the multi-agent system at the equilibrium. Denote as the centroid of the network. In most of the work regarding PPC like [13], . This is because a PPC input for every agent exists. In our work, if we have an external input for every agent, i.e. in (3), we can also obtain . This can be verified by multiplying on both sides of (3), where with all entries 1. Then, we can conclude . The main difference is that when we choose some leaders, we can achieve a varying equilibrium state of each agent by tuning the gain matrix, which is quite useful in practical design as we can decide where all the agents should gather.

In the sequel, we will discuss the results for two specific classes of tree graphs: chain and star graph. First we consider the chain graph, which is wildly used for instance in autonomous vehicle platooning.

###### Definition 1.

A chain is a tree graph with vertices set and edges set indexed by .

Note that (20) in Theorem 1 is a sufficient but not necessary condition. For a chain graph, the matrix inequality (21) may be actually infeasible when the graph has 2 or more followers. The following result for is derived.

###### Proposition 1.

Consider the leader-follower multi-agent system described by (3) with the communication chain graph and the followers set , the predefined performance functions as in (14) and the transformation function s.t. , and assume that the initial conditions are within the performance bounds (4) or (5). Then, the chain can only have at most 3 followers () in order to achieve consensus within the prescribed performance bounds when applying (18). Specifically, when the chain has 2 and 3 followers,

(30) | ||||

are the respective sufficient conditions under which the chain achieves consensus within the prescribed performance bounds when applying (18).

###### Proof.

When the chain graph has only one follower, that is , the result can be proved by using Theorem 1. Let be the maximum value of that ensures (21) holds. By further choosing the decay rate of the performance functions (14) to satisfy (20), we can conclude that the controlled system achieves consensus within the prescribed performance bounds by applying (18) based on Theorem 1. When the chain has additional followers, the condition in Theorem 1 may be infeasible since it is a sufficient but not necessary condition. But for this kind of special chain structure, we can resort to checking the edge dynamics (16) directly. It can be shown that has elements given by when , when and otherwise when the graph is a chain. We then rewrite (16) as

(31) |

where represents the edges between followers, while represents the edge that connects the leader node and the follower node , and the edges between leaders. Both have the same structure as but with different dimensions, has an element 1 at row , column 1 (bottom left corner) that represents the connection between the follower node and the leader node . is a zero matrix. has elements given by when , when and otherwise. Then we can analyse the leader part and the follower part separately. For , it can be proved that achieves consensus within the performance bounds based on the positive definiteness of when applying control (18). We further rewrite the follower part as

(32) |

where is the first column of , i.e., with the last element equals to 1 and all other elements equal to 0. represents the edge between the follower node and the leader node . We can furture solve the state evolution of (32) as follows:

(33) | ||||

where is zero input trajectories, that is when ; , where

is a diagonal matrix with diagonal entries negative and equal to the eigenvalues of

, which is due to having the same structure as , andis the matrix composed with the corresponding eigenvectors. Without loss of generality, suppose all performance functions are the same and described by

(34) |

When , and , we have that

(35) |

Then, is within the performance bound , i.e., , when and in addition,

(36) |

which can be ensured by tuning a large enough gain to the leader indexed by node . From (36), we know that when the relative position between the two followers is close to the boundary, we need to tune a larger gain for the leader that connects the followers. When , we can derive a similar result. In particular, we now have that

(37) |

with , which implies that . Similarly, we can conclude that when , and in addition the tuning gain for the leader indexed by node 4 is large enough, the controlled system achieves consensus within the prescribed performance bounds. When , it can be proved similarly that , but with . This means that cannot be bounded by for any initial conditions within the performance bounds. Therefore, we can conclude that in order to achieve consensus within the performance bounds for all initial condition within the performance bounds (4) or (5), should be less or equal to 3. ∎

###### Remark 2.

Proposition 1 indicates that for a chain graph, in order to achieve consensus within the prescribed performance bounds, we can only have at most 3 consecutive followers at the end of the graph. In addition, when the initial relative position between 2 followers is close to the prescribed performance boundary, we need to tune a large enough gain for the leader that connects the followers.

Now we consider another specific class, in particular the star graph which is defined as follows.

###### Definition 2.

A star is a tree graph with vertices set where vertice is called the centering node, and the edges set indexed by .

Then, the following result can be derived.

###### Proposition 2.

Consider the leader-follower multi-agent system described by (3) with the communication star graph and the leader set , the predefined performance functions as in (14) and the transformation function s.t. , and assume that the initial conditions are within the performance bounds (4) or (5). If

(38) |

Then, the controlled system achieves consensus within the prescribed performance bounds when applying the control (18).

###### Proof.

For a star graph defined as Definition 2 with the centering node as the only leader, the edge Laplacian and matrices have special structures. has all elements equal to 1, while

is an identity matrix.

has the elements given by when , and otherwise. Under this special structure of star graphs and according to Theorem 1, it can be verified that (20) is always feasible with , and from (38), we know the condition holds. Finally, by applying Theorem 1, for a star graph, when the performance functions (14) are chosen such that (38) holds, then we can conclude that the controlled system achieves consensus within the prescribed performance bounds when applying (18). ∎We conclude this section with the following observations. A sufficient condition for a general tree graph was derived in Theorem 1, under which the leader-follower multi-agent system (3) achieves consensus within the prescribed performance bounds (14). It can be seen that (20) may be infeasible when the decay rate of the performance functions is too large. This means that we need to constrain the decay rate of the performance functions in order to achieve consensus under prescribed performance guarantees within the leader-follower framework. This is reasonable since the followers only obey the first-order consensus protocol without any additional external input. And the decay rate constraint differs for different graph topologies, leader amount and leader positions. For the specific class of star graphs, we have proven that when the largest decay rate of the performance functions is less than or equal to 1, the closed loop system achieves consensus within the prescribed performance bounds by applying Theorem 1. We have also shown that the condition in Theorem 1 is a sufficient but not necessary condition by discussing the specific class of chain graphs. That is, for a chain graph with 2 or 3 followers, we can still achieve the result of consensus within performance bounds although the condition in Theorem 1 may be infeasible.

## Iv Simulations

In this section three simulation examples are presented in order to verify the results of the previous sections. The communication graphs are shown as Fig. 1, where the leaders and followers are represented by grey and white nodes, respectively. Regarding the prescribed performance functions, for all , we choose and

The prescribed performance bounds are chosen as in (39) with different decay rate for different simulation examples. For each graph, choosing the same for all edges is done without loss of generality. In addition, the prescribed performance bounds are depicted in black color for the following simulation graphs.

(39) |

In Fig. 1.(a), We first consider a tree graph with leaders set as , and the relative positions are initialised as . According to Theorem 1, the matrix inequality is feasible with , hence it suffices that . The simulation result when applying the PPC law (18) with a gain matrix whose diagonal entries are all equal to is shown on the right side of Fig. 2. As a comparison, the simulation result without PPC is shown on the left side of Fig. 2. We can see from Fig. 2 that the trajectories intersect the performance bound without extra control, which can be improved by applying the PPC law (18) such that the controlled system achieves consensus within the performance bound. Here the decay rate of the prescribed performance function is 1.

In Fig. 1.(b), we consider a chain graph with followers set as and , the relative positions are initialised as . When the system has 2 followers, we know that the performance function can have a higher decay rate of 2, while the maximum decay rate is 1 when the system has one more follower (agent 3). When , the simulation results are shown in Fig. 3, where the left figure shows the simulation result without additional control. Here the decay rate of the prescribed performance function is 2. We can see that the trajectories intersect the performance bound, which is improved as shown in the middle figure by applying the PPC law (18) with gain matrix , where represents the diagonal matrix with diagonal entries