#### Abstract

This work deals with the consensus problem of networks of agents with linear time-invariant dynamics and input time-delay. A predictor-observer scheme that estimates the future value of the system state is considered. The partitioned nature of the predictor allows dealing with larger time-delays than those reported in the literature. The estimated future state of the system is later used in the consensus protocol with the aim of compensating the system input delay. The effectiveness of the solution is shown by means of numerical evaluations.

#### 1. Introduction

Interest in multiagent systems is due to the multiple possible applications of this kind of systems such as the formation problem of Unmanned Aerial Vehicles (UAV), groups of satellites, formation control vehicles, distributed sensors, automatic vehicular control, and communication networks; for instance, see [1–3]. Consensus problem is referred to as the control and coordination of a set of agents within a communication topology. In the study of consensus problem for multiagent systems, factors as communication topology, time-delays, and dynamic model become relevant [4–7]. The importance of the Laplacian of the network in the solution of the consensus problem has been studied in [1, 2, 8]. The consensus problem becomes a more challenging task when the communication topology among agents presents time-delays. Several solutions have been reported considering different system conditions as fixed time-delay and topologies [9], multiple time-delay cases [10, 11], systems with topologies that change over time [12], and also systems within a discrete-time context [10]. Consensus problem for systems with single integrator dynamics has been widely studied [4, 5, 13]; solutions for agents with double integrator dynamics are presented in works such as [9, 13]. High-order linear systems have been dealt with in [7], where consensus problem is converted in the simultaneous stabilization of multiple subsystems and sufficient conditions for consensus and consensualization independent of the number of agents in the systems are presented; this work is extended in [14] by considering variable time-delays. Linear time-invariant (LTI) systems with variable topologies and multiple time-delays are considered in [15] and necessary and sufficient conditions for consensus are given. A PD-like consensus scheme that transforms a system with constant or variable delays into a neutral type system is presented in [16]. Prediction-based schemes have been proposed for systems without time-delays to estimate the current state of the agents when only relative measurements are available. For systems with time-delay the consensus problem of single integrator agents with input and output time-delay is studied in [17] where a state predictor is used to compensate the time-delay, while consensus-based formation of agents with double integrator dynamics [18] and heterogeneous systems composed of agents with single and double integrators [19] are studied and the input time-delay is compensated by means of a state predictor. The consensus problem of high-order multiagent systems with input and output communication delays is solved in [20] by means of a truncated predictor-based scheme. The truncated predictor approach is extended in [21] to compensate the input time-delay of nonlinear systems in order to achieve consensus, while a nonlinear adaptive observer estimates the states of the agents that are used in the adaptive control scheme that is proposed in [22] to achieve leader-following consensus for uncertain nonlinear multiagent systems.

The control problem of systems with time-delays has also been of the interest of the scientific community. To overcome this difficulty, many solutions have been presented. A first approach was the Smith Predictor [23], composed by a control designed without considering the system time-delay and a prediction of the output that compensates the delay. Several modifications of the scheme were later presented to overcome its shortcomings and to expand the types of systems where it is applicable; see [24, 25] being some of these works. The assignment of a finite spectrum of the closed-loop system (Finite Spectrum Assignment) is the goal of the approach presented in [26]. The reduction strategy in [27] is motivated by a similar idea. However, in these solutions, the dimension of the feedback law is infinite, which implies that the implementation of this method must be realized by means of a numerical approximation. Safe numerical implementations are presented in [28, 29].

The prediction approach took a step further in [30] where the state prediction is attained for linear systems with both input and state delays. Nonetheless, these chained observers are composed by distributed terms, in which implementation requires a numerical approximation. It is in the work of Najafi et al. [31] where a group of chained predictors with finite spectrum is proposed to compensate the input delay of linear MIMO systems. The approach assumes that the whole system state can be measured and guarantees asymptotic stability of the closed-loop system and prediction error. The stability proof of the closed-loop system results in a method to calculate the gain matrices of the predictor and the control by means of Linear Matrix Inequalities (LMI). The work is extended in [32] where robust control is used to minimize the input disturbance effect on the prediction error for linear systems with input time-delay. The idea of a sequence of predictors has been applied to linear systems with time-varying input [33] and time-varying output [34] time-delays and to time-varying systems with time-varying delays [35]. In [36] the state of a nonlinear system with delayed output is reconstructed by means of a chained set of observers. The main advantage of the chained predictors resides on their ability to deal with larger time-delays.

Based on the idea of the nested predictor [31, 34], the present paper deals with the consensus problem of LTI systems with constant time-delay by proposing a modification of the predictor-observer scheme presented in [37] that estimates the state of the system forecasted units of time into the future. The predictor assumes that only a part of the state space can be measured and the definition of the subpredictor errors allows proving that its convergence implies the convergence of the predicted state to the future system state. The estimated future state is later on used by the consensus algorithm, to compensate the input delay of the system. It is important to note that since there is a time-delay in the input of the systems, by using the forecasted estimated state, the closed-loop system will be in terms of the current state which results in the compensation of the input time-delay. The consensus protocol presented here is an adaptation of the one proposed in [7] for LTI systems and initially adapted for the input delay case in [38]. The modification to the protocol that we propose consists of using the predicted future state instead of the current and delayed states, which allows systems with larger delays to achieve consensus, as it will be shown in the numerical evaluations.

The work is organized as follows, in Section 2 a brief revision of the graph theory and the properties of the Laplacian matrix is presented, Section 3 presents the statement of the problem, and then the predictor-observer scheme that allows estimating the future state of the system is developed in Section 4. The consensus algorithm is given in Section 5 and the results of the numerical evaluations can be found in Section 6. The work ends with some conclusions in Section 7.

#### 2. Graph Theory and Laplacian Matrix

Graph theory is the mathematical tool used to model the information exchange among agents [39]. This section presents some basic concepts of graph theory and properties of the Laplacian matrix that are of the interest of this work.

Let be an ordered graph where is the nonempty node set, , and is the edge set. An edge in is given by .

A* directed graph* is a pair where the edge indicates that agent can obtain information from agent , but not necessarily in the other way. The edge has a node that is called the* parent node* and a node called* child node*. A* directed path* is an edge sequence in a directed graph of the form . A* directed tree* is a directed path with every node having exactly one parent, except for a node called* root node* that has no parent node and has directed paths to every other node. A* subgraph * of is such that and . A* directed spanning tree * of the directed graph is a subgraph with a directed path where .

The* adjacency matrix * of a directed graph with the set node is such that the weight is positive if and if . When weights are not relevant, if .

##### 2.1. Laplacian Matrix

The Laplacian matrix of a directed graph is given by and for every . Some remarkable properties of this matrix are considered.(i), .(ii)The sum of the elements of every row equals zero. .(iii)For directed and undirected graphs, is an eigenvalue of due to the fact that the sum of all the elements of a row equals zero. There also exists an eigenvector , with dimensions corresponding to the zero eigenvalue.(iv)All of the eigenvalues of , different from zero, are positive (for directed graphs) or have positive real parts (for undirected graphs). Therefore, the real part of every eigenvalue of is negative.

#### 3. Problem Statement

This work deals with the consensus problem for a set of agents with input time-delay. The dynamics of the agents is modeled as linear time-invariant systems with input time-delay and fixed communication topology. The graph that models the communication is considered to be either directed with a spanning tree or undirected and connected, which implies that one of the eigenvalues of the Laplacian matrix equals zero [40].

Each agent is considered to be a -dimensional Multiple-Input-Multiple-Output (MIMO) linear system with the same input time-delay and dynamics given byfor , where represents the state of the -th agent, is the input control, is a known constant input time-delay, is the output signal, and , , and . It is important to note that every parameter is associated with the -th agent.

*Consensus Problem. *A system of agents is said to achieve consensus if for any initial condition ; as , for all [1].

To solve the consensus problem for multiagent systems a protocol is presented in [7], for agents without communication delay with dynamics given byThe consensus protocol is given byfor , where are the elements of the adjacent matrix and and are constant gain matrices. The authors present necessary and sufficient conditions for consensus and consensualization.

#### 4. Predictor-Observer Scheme

To compensate the time-delay present in the dynamics of the agents, a predictor-observer scheme is proposed. The objective is to estimate the future state of the agents units of time ahead, to later design a consensus scheme based on the predicted state. It is important to note that the use of predicted future states on time-delayed systems avoids the numerical implementation problems present in solutions with infinite spectrum; even more, the partitioned nature of the scheme proposed by this work allows compensating large time-delays. The design of the prediction–observer scheme is done under the following assumptions.

*Assumption 1. *Signals and are available for measurement.

*Assumption 2. *For system (1), the pair is controllable and is observable.

*Assumption 3. *Consider that for the time delay in (2) there exists an integer such that .

*Remark 4. *Notice that Assumption 3 is just a technical requirement in order to avoid the consideration of irrational values for the time–delay that could yield an approximate prediction.

For the -th agent, a set of advanced variables can be defined as where for refers to the -dimensional vector state. Taking the time derivative of (4), it is obtained thatfor . In particular, for ,and a free-delay dynamic is obtained.

Notice that system (6) represents the evolution of system (1) forecasted units of time without input-delay.

For system (6), the following predictor-observer is proposed:for where is a gain matrix and the error signal takes the form

The error dynamics (9) is given byresulting inwith . The vectorial form of (11) is the time-delay error system given bywith for and where is a matrix with all inputs equal to zero.

##### 4.1. Related Predictor Scheme

The predictor given by (7) is equivalent to the sequential subpredictors strategy proposed by [31] that is recalled in the following.

Consider system (1) and assume that all the state is available for measurement; this is ;and there exists such thatwhich allows proposing the sequence of subpredictors given by with , . The prediction errors for each subpredictor are defined as for and the error dynamics given by for . Asymptotic convergence for the error dynamics is guaranteed by means of an LMI method that considers the closed-loop system that allows calculating the subpredictors and controlling gain matrices.

The main difference between both schemes is that authors in [31] consider systems where it is possible to read the whole state and the predictor-observer (7) presented here includes the cases when only a partial measurement is available. The relation between both schemes can be found considering the following coordinate change:and for the error signalsfor , to subpredictors (16) and prediction errors (17) and assuming in system (1) results in the chain of predictors (7) and error signals (12).

*Remark 5. *It is important to note that the predictor (16) cannot be used to estimate the future state of system (1) when .

##### 4.2. Convergence Analysis of the Predictor-Observer

The convergence to zero of the injection errors (9) is assured by showing the stability of the error dynamics (12).

Lemma 6. *Let the predictor-observer (7) satisfy Assumptions 1, 2, and 3. Suppose that there exist positive gain matrices for such that the matrix is Hurwitz; then there exists a sufficiently large such that the error signals (9) exponentially converge to zero.*

*Proof. *The characteristic equation of (12) is given byIt is possible to show that (21) can be rewritten asIt is clear that every factor of (22) represents the Laplace transform of a system of the formSince the parameters of are free, from the observability assumption of the pair , it is always possible to locate the eigenvalues of the matrix in the left half complex plane. The Hurwitz property of matrix assures the stability of the differential difference equation (23) for a sufficiently small time delay [41]. The maximum time delay for which system (23) will be asymptotically stable depends on the choice of the observer gain and its computation is not an easy task since its complexity rises as the dimension of the system increases. Thus, given a gain , such that is a Hurwitz matrix, it is always possible to asymptotically stabilize the prediction error (23) for a constant time delay . This fact can be verified, for instance, by considering [42] or by reviewing the pole assignment procedure given in [41]. Based on the above arguments, it will be assumed, without loss of generality, that there exist and such that system (23) is asymptotically stable for . It should also be noticed that the stability of (23) is not only asymptotic but also exponential [43]. Furthermore, if matrix is chosen according to the rule given in Theorem 3.1 in [34], this iswith where is such that all the real parts of the eigenvalues of are smaller than some negative real constant ; it is possible to guarantee the exponential convergence of the prediction errors to zero, which results in the convergence of the estimated future state to the real future value .

*Remark 7. *It should be pointed out that a predictor of the form (23) with designed for a system with time delay at the output was considered in [25]; also, for the case , in [44] a predictor for a nonlinear input delay system is designed. As mentioned before, the partitioned predictor presented in [31] is similar to the one presented in this section, considering .

*Remark 8. *Notice that in the case of , the error dynamics (23) takes the form where the stability is determined by the eigenvalues of the matrix that, by the observability assumption, can always be stabilizable.

*Remark 9. *It should be noticed that is given by ; therefore the larger number of subdelays considered by scheme (7) is, the larger delay can be compensated, with the drawback of an increasing dimension of the proposed predictor-observer.

The following result allows obtaining the estimated values from the future real values in (4).

Lemma 10. *Suppose for system (1) that Assumptions 1, 2, and 3 are satisfied. For every , there always exists a predictor-observer (7) such that the estimated states exponentially converge to the future values for .*

*Proof. *From the definition of error (9) it is possible to show thatfor . Then, by Lemma 6, it is possible to conclude that the estimated states exponentially converge to the corresponding real values.

*Remark 11. *Note that if , then , relaxing the convergence conditions of the estimation error. This implies that it is always possible to stabilize system (12) choosing the integer large enough.

#### 5. Consensus Problem

In this section, the consensus protocol for LTI systems in time-delay is presented. The set of agents has a fixed communication topology that contains a directed spanning tree. The dynamics of each agent is given by (1). This protocol considers the solution presented in [7] that is adapted to be used with the future state values estimated in the previous section. By using the predicted states instead of the current one, it is possible to deal with systems with large time-delays.

Consider a set of agents of the form (1), where for the sake of easy of presentation it is assumed that for ; that is,

The vectorial form of the complete set of agents is given bywhere , , and .

The following control scheme based on the predictor-observer (7) is proposed:

for , , where are the entries of the Laplacian matrix of the graph. The control scheme (30) can be rewritten as

where is the Laplacian of the system and is the predicted state.

The closed-loop system (29)–(31) is given by

Considering that , it is obtained that

Recalling the observation errors,the estimated state can be rewritten as a function of the real state and the observation errors,where , producingwhere .

Consider now a nonsingular matrix , such that for representing the Jordan canonical form of the Laplacian matrix .

Considering now the globally invertible change of variable,for ; then it is possible to show thatfrom where

Equation (40) can be rewritten aswherewith for and or , depending on the structure of .

*Remark 12. *Notice that since and are similar matrices, they have the same eigenvalues. Furthermore, in (43) it can be seen that those eigenvalues correspond to the ones of and , for .

##### 5.1. Consensus Analysis

Lemma 13. *Consider a set of agents of the form (28) with a communication topology with a directed spanning tree. Under these circumstances, solution to the consensus problem is achieved if and only if the matrices , for , are Hurwitz.*

*Proof. *Let the invertible matrix be such that with being the Jordan canonical form of , defined in (36). Considering the change of coordinates, (36) yields That isThe solution to system (47) is given bySince , it is possible to writeLet with eigenvectors . Note, from Remark 12, that correspond to the eigenvalues of , while eigenvectors correspond to the eigenvalues of . Then, two consensus subspaces can be established, subspace spanned by and a complementary consensus subspace spanned by . Therefore, the consensus space is given bySince the eigenvalues of correspond to the eigenvalues of and , matrix can be written as defining Equation (49) can now be rewritten asConsidering that the solution of the closed-loop system (53) can be expressed asand noting that the limit when of the third term in (54) is a constant value, thusThe system consensus state can be established by means of the analysis of and . From (53) and (54), is given byDescribing the initial state asthus where are real constants. From (58), yields That isSince is the Jordan block of corresponding to the eigenvalues of and considering that the pair is controllable, it can be concluded that the pair is also controllable and therefore the right choice of matrix guarantees that achieves consensus. Now, is given by that yieldsAnd since is the Jordan block of corresponding to the eigenvalues of , for , then it can be concluded that for system (28) to achieve consensus matrices , must be Hurwitz, which impliesConsidering (60) and (63), the system consensus value is given bySince it has been shown that ,with a real constant vector ; then,Finally, defining and considering that Lemma 4 from [7] proves that the first eigenvectors of are given by for where are the eigenvectors of and is the vector with all of its entries equal to one, the consensus value (66) yields

*Remark 14. *It should be noted that the previous proof is based on the corresponding proof presented in [7] with the difference that the proof presented in this work includes the predicted state used in the consensus protocol which results in a consensus value affected by the initial injection errors, represented by in (68).

*Remark 15. *Notice that the prediction-observation scheme proposed here can compensate the time-delay of the agents when it is placed either at the input or at the output. In the case of agents with input time-delay, each agent will estimate its own future state and send it to its neighbors which will use them to calculate its own control, thus compensating their input time-delay. In the case where the agents present an output time-delay, once again, each agent would estimate its current state from its delayed output and send the undelayed estimated state to the other agents. In both cases, the consensus will be achieved by means of a decentralized algorithm.

#### 6. Numerical Evaluations

Numerical evaluations of the proposed solution carried out consider two cases, the Multiagent Supporting System (MASS) composed by six agents presented in [7] and a multiagent system formed by six agents with unstable dynamics whose stabilization is achieved in [31]. For simplicity, in both cases the communication topology is used, depicted in Figure 1, with the corresponding Laplacian matrix given by

*Example 1. *In the case of the MASS system, the dynamics of each agent is given bywhere , is the height of each agent, is the mass, is the damping at each agent, is the stiffness, and is the control input. The implementation of the predictor considers a partition of and the system parameters , , and . The initial conditions are set asThe gain matrix for the predictor-observer is given by and the consensus gain vectors and . The delay considered is ; the results are given in Figures 2, 3, 4, and 5 that represent the evolution in time of the state, observation errors, and control signal, respectively. The evolution of the logarithm of the homogeneous norm of the prediction error is depicted in Figure 6 to show its exponential convergence. It can be seen that with the partition of the predictor-observer large delays can be compensated.

*Example 2. *In a more challenging situation, an unstable system presented in [31] is taken into account to form a multiagent system with and the communication topology presented in Figure 1. The dynamics of each agent is given byThe delay of the system is , the partition of the observer is , and the initial conditions are set asThe gain of each subpredictor is given by , and the control gains are and . Figures 7 and 8 present the evolution in time of the state of the system and the prediction errors, respectively, where after a transient period the desired convergence is obtained; Figure 9 presents the evolution of the control signal. The logarithm of the norm of the prediction error is presented in Figure 10.

#### 7. Conclusions

This work deals with the consensus problem for multiagent systems with LTI dynamics and input time-delay. A modified partitioned predictor-observer is proposed to estimate the future state values of the agents. These predicted states are used in the consensus protocol in order to compensate the input time-delays. Formal proofs for the convergence of the predictor and consensus are given. The performed numerical evaluations show that a larger number of partitions in the predictor-observer results in an improvement of the response of the system and in a larger time-delay that can be compensated.

#### Data Availability

No data were used to support this study.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.