Robust Positive Consensus for Heterogeneous Multi-agent Systems
Abstract: This paper investigates a robust positive consensus problem for a class of heterogeneous high-order multi-agent systems subject to external inputs. Compared with existing multi-agent consensus results, the most distinct feature of the formulated problem is that the state variables of all heterogeneous agents are confined in the positive orthant. To solve this problem, we present a two-step design procedure. By constructing an auxiliary multi-agent system as positive local reference generators, we incorporate the reference generator into some applicable decentralized robust tracking controller for each agent. The proposed distributed algorithm is proven to ensure a robust consensus fulfilling certain prescribed pattern for the multi-agent system under switching topology in the sense of finite-gain stability with respect to the external inputs. A simulation example is finally given to illustrate the effectiveness of our design.
Keywords: positive consensus, distributed control, multi-agent systems, switching topology.
1 Introduction
Over the past decades, there has been a tremendous expansion of the research on the multi-agent coordination problem due to its wide applications in sensor networks, robotics, and power systems. Particularly, the fundamental consensus problem has been intensively studied and generalized for various kinds of agent dynamics from integrators to general linear systems and also typical classes of nonlinear ones under different communication topologies, to name a few, [1, 2, 3, 4, 6, 5, 7, 9, 8, 10, 11].
In practical applications arising in the areas of chemical process industry, electronic circuit design, communication networks, and biology, we may face an important class of multi-agent systems composed of a group of positive subsystems. Different from standard multi-agent systems, the state variables of positive agents are confined to the positive orthant. Although we might view the whole positive multi-agent systems as a single but large-scale positive systems, the coordination of positive multi-agent systems suffers from at least two extra difficulties compared with conventional designs for a single positive plant [12, 13, 14, 15, 16]. First, the controller for each agent (as an individual input channel) is not allowed to use the full state of the whole multi-input multi-output systems and the information flow among the agents should be compatible with some prior (time-varying) structure. Second, we have to ensure the positivity of the state variables of each agent, which might have different dimensions and be affected by others. These two aspects together make the coordination problem of multiple positive systems much more challenging. As a consequence, compared with the intensive research for conventional standard multi-agent systems, distributed coordination results for general positive multi-agent systems are relatively few.
Meanwhile, integrators are typical positive systems. Thus, the classical integrator-type multi-agent systems are naturally interconnected positive multi-agent systems. Although the positive constraint is not required in designing rules for single-integrator multi-agent systems, the fundamental consensus dynamics are indeed positive. In [17], such a positive constraint was explicitly discussed in the consensus problem for some positive linear multi-agent systems. Necessary and sufficient conditions for the consensusability of all agents were derived under the positive constraint. Note that the positive consensus in this work was achieved via solving a positive static output feedback stabilization problem for the whole multi-agent system. Further efforts along this technical line have been made in [18, 19, 20] using state feedback. Moreover, some authors considered dynamic rules to relax the required conditions, e.g., [21, 22, 23]. However, all these positive consensus results are only derived for homogeneous multi-agent systems where all agents share the identical dynamics. Noticing the various kinds of conventional consensus results for different classes of multi-agent systems, it is natural for us to ask whether and how the positive consensus problem can be solved for heterogeneous multi-agent systems.
On the other hand, the agents’ dynamics may not be perfectly known due to various uncertainties from either inaccurate modeling or environmental disturbances. Note that the controllers designed for nominal dynamics might fail to ensure the same performance for physical plants and probably cause some instability issues. Thus, it is crucial to take the robustness of controllers into account when solving the multi-agent coordination problems. Although many interesting results have been delivered for single positive systems in the literature, e.g., [24, 25, 26], it is not clear how to extend these results to positive multi-agent systems for a robust consensus.
Based on the aforementioned observations, we will focus on a group of heterogeneous positive linear multi-agent systems where the agent dynamics are allowed to be different from each other in both system matrices and the dimension of state spaces. Moreover, we assume the agents are subject to external inputs in the dynamics. We aim at distributed rules for these positive agents to reach an output consensus corresponding to some predefined pattern with their state variables being positive. Since the agents’ dynamics are high-order and subject to external inputs, we expect that an exact output consensus can be asymptotically ensured for the nominal multi-agent systems while such performance is robust with respect to these external inputs. Note that we have to achieve the expected robust consensus goal and ensure the positive constraints for each agent simultaneously. Hence the considered robust positive consensus problem for these heterogeneous positive agents has some exclusive challenges in contrast to existing (robust) consensus results for standard linear multi-agent systems or positive consensus for homogeneous multi-agent systems.
To overcome the difficulties brought by the positive constraint and heterogeneous uncertain agent dynamics, we constructively present a two-step procedure. First, we construct an auxiliary multi-agent system as a positive local reference generator for each agent. Then, we design an effective robust tracking controller and bring the two parts together with rigor solvability analysis to solve the robust positive consensus problem. The contributions of this paper can be summarized as follows:
- •
-
•
Compared with existing positive consensus results for homogeneous multi-agent systems, both state and output feedback controllers are provided to remove the identical agent dynamics requirement and allow the consensus trajectory to meet some prespecified pattern including the finite constant as special cases.
The rest of this paper is organized as follows. We first introduce some preliminaries on our notations and positive system in Section 2. Then we present the formulated robust positive consensus problem in Section 3. The main results are given in Section 4. We also provide a simulation example to illustrate the effectiveness of our algorithms in Section 5 along with conclusions in Section 6.
2 Preliminary
In this section, we introduce some preliminaries on our notations and positive systems.
Let be the -dimensional real space. Denote by the set of all matrices with entries in . Let be the -dimensional identity matrix. (or ) denotes an all-one (or all-zero) matrix or vector with proper dimensions. for column vectors with compatible dimensions. Let represent an diagonal matrix with diagonal elements . For matrices , represents the block diagonal matrix with diagonal blocks . For a vector (or matrix ) , (or ) denotes its Euclidean (or spectral) norm.
Let be the nonnegative orthant. Denote the set of all matrices with each entry in by . We say such matrices are nonnegative and adopt the notation . If, in addition, has at least one positive entry, we say is positive (). If all the entries are positive, we say is strictly positive (). (or ) if (). The nonnegativity, positivity, and strict positivity of vectors can be defined likewise. For a square matrix , means is Hurwitz, i.e., its eigenvalues have negative real parts. is Metzler if the off-diagonal entries are nonnegative, which is equivalent to . means is a positive (negative) definite matrix, i.e. for every .
Consider the following (time-varying) linear system:
(1) |
where is the -dimensional state vector, is the -dimensional control input, is the -dimensional output vector. Here, are system matrices with compatible dimensions. We say this system is (internally) positive if for any nonnegative initial condition and , it holds that and for . It is said to be a Metzler system if is Metzler and for almost all .
Here is a lemma modified from [27].
3 Problem Formulation
In this paper, we consider a multi-agent system consisting of high-order dynamic agents of the following form:
(2) |
where , , and are the state, input, and output of agent , while represents some unmodeled time-varying external input (or disturbance) acting on agent . Here the external inputs are considered to be identical for each agent without loss of generality. Otherwise, we can lump all local external inputs together and redefine the associated input matrix for the same form (2). Moreover, we assume matrix is Metzler, are nonnegative, and the disturbance is locally essentially bounded.
We aim at effective controllers for the agents such that this multi-agent system can reach a positive output consensus specified by the following pattern:
(3) |
with internal state and output . In other words, the output trajectory of each agent is expected to reach some solution to this differential equation simultaneously. Since the agent is subject to external inputs, we expect that the patterned consensus error converges to zero when while the influence of external inputs is attenuated to certain level when it is nonzero.
Moreover, we are interested in distributed designs for this problem and assume the agents can share their own information with others. For this purpose, we utilize an undirected graph to represent the allowed information flow among them with node set , edge set , and the symmetric adjacency matrix ([28]). When agents and can exchange information, there is an edge between them in this graph . For simplicity, we assume in this case and otherwise. Node ’s neighbor set is defined as . We denote . Moreover, we consider the case when the communication topology may be time-varying. To describe the communication constraint precisely, we denote all possible communication graphs among these agents by with . Consider a strictly increasing sequence of positive constants with and . We suppose for any as that in [2, 3]. This sequence divides into some contiguous time intervals . Define a switching signal . It is time-dependent and piece-wise constant. During each , all the agents can share their information according to graph .
The considered robust positive consensus problem can be formulated as follows.
Problem 1
Given a multi-agent system (2), graph , the consensus pattern (3), and a constant , find distributed controllers of the following form:
(4) |
with proper smooth functions , and a compensator such that, for any initial point , the closed-loop system (2) and (4) satisfies the following properties.
-
1)
The trajectory of is always nonnegative, i.e., for any .
- 2)
-
3)
The influence of external inputs is attenuated such that the following inequality
holds for some positive constant .
The formulated problem has been partially discussed in the literature for standard nonpositive multi-agent systems under the name of output consensus or synchronization in [1, 29, 30]. Some recent attempts have been made in extending them to positive multi-agent systems assuming [17, 18, 20, 23]. However, the obtained positive consensus results often require all agents share an identical high-order dynamics. Here, we consider heterogeneous agent dynamics subject to external inputs and aim to ensure a nontrivial pattern consensus and states’ positivity simultaneously.
Before the main results, we make several extra assumptions to ensure the solvability of our problem as follows.
Assumption 1
Matrix is Metzler with no eigenvalues having negative real parts.
Assumption 2
Each graph is connected.
Assumption 3
For each , there exist constant matrices and such that
(5) |
Since the agents are positive, we assume the consensus pattern is also positive with nontrivial modes as stated in Assumption 1. Assumption 2 is made to ensure the connectivity of the communication graphs. Under this assumption, the potential number of digraphs are finite and the Laplacian of each graph is positive semidefinite with a simple zero eigenvalue. Assumption 3 is known as the solvability of regulator equations for plant (2) with an exosystem (3) in the terminology of output regulation [31]. Similar conditions have been widely used in the multi-agent literature, e.g., [4, 6, 32].
4 Main Result
This section is devoted to the design of effective distributed controllers for each agent to solve our problem.
4.1 Two-step design scheme
To hurdle the corresponding difficulties from agent dynamics and positive constraints, we present a two-step design to solve our problem. The basic layered structure is shown in Fig. 1. We will first construct an auxiliary multi-agent system as local reference generators for each agent to meet the consensus pattern. After that, we will focus on the resultant tracking problem for the original agents. In this way, the full controller for each agent consists of a reference generator and an effective tracking controller.

According to our two-step scheme, we first present the following auxiliary multi-agent system with the same system matrix in pattern dynamics (3):
(6) |
where is the virtual state and the virtual input. Consider the typical distributed controller for agent (6) as . The resultant reference generator is thus given as
(7) |
Let , , and . It can be verified that
(8) |
with an initial point . That is, the trajectory is an admissible solution to the expected pattern dynamics (3).
Since there are a finite number of graphs fulfilling Assumption 2, is well-defined and strictly greater than . Here is a key lemma on the performance of virtual positive multi-agent system (7).
Lemma 2
Proof. We first put (6) into a compact form:
where . Since and are Metzler for any , is also Metzler for any . Then, we can conclude that the positivity of for by Lemma 1 from any .
Next, we prove the positive consensus of . Recalling equation (8), it is sufficient to prove the exponential stability of the following error system at the origin:
(9) |
For this purpose, we introduce two matrices and . Here, and be a matrix such that , , and . Let and . It can be verified that and by the definition of and the property under Assumption 2. This further implies that
It can be verified that the matrix is positive definite with only real eigenvalues under Assumption 2.
Let us choose a candidate of common Lyapunov function for the switched positive linear system (9). It can be found that along the trajectory of system (9). We assume during . Since is positive definite, there must be a unitary matrix such that where is a diagonal matrix with the eigenvalues on the diagonal. Let . During this time interval, we have
Note that is a block diagonal matrix with diagonal blocks of the form for . Jointly using the fact that , we set as in the theorem condition and obtain
It is verified that this inequality holds for any and thus holds over . According to Theorem 3.1 in [14], exponentially converges to zero as . Solving this inequality gives . It follows then
The proof is thus completed.
4.2 Algorithm design and solvability analysis
In this subsection, we combine the reference generator (7) with a robust tracking controller towards the final distributed controller for multi-agent system (2).
Since each agent has positive linear dynamics, we consider distributed controllers of the following form:
(10) |
where is chosen as above and , are matrices to be specified later.
Here is the main result of this paper.
Theorem 1
Proof. We attach the controller (10) to agent (2) and obtain the following composite system:
(12) |
To ensure the solvability of our problem, we choose and with , , and defined as above. We are going to verify the three required properties in the formulation section.
We first show the closed-loop system is indeed positive. In fact, according to (11), the matrix is Metzler by definition. Meanwhile, the matrices and can be found to be nonnegative. Hence, by Lemma 1, the -subsystem is positive with and as its input. Since by Lemma 2, we have that from any , holds for any .
Next, we verify the second property in our formulation. We suppose and show that there exists some such that converges to zero as in this case. That is, the patterned consensus is indeed reached under this controller (10). To this end, we can verify that
Thus is Hurwitz. Moreover, one can further determine some such that holds for any . By our two-step design procedure and Lemma 2, we set . Then, . Performing the coordinate transformation , we have
(13) |
Choose with a constant to be determined later. It is positive definite in . Recalling the proofs in Lemma 2, we take its time derivative along the trajectory of (13) and obtain
We complete the square and have
Letting implies
According to Theorem 3.1 in [14], and both exponentially converge to as . As a result, the tracking error also converges to exponentially fast. This means that the agent outputs indeed reach a positve consensus and the consensus confirms the pattern specified by (3) when the external input vanishes.
To confirm the third property, we use the same Lyapunov function and take its time derivative along the trajectory of system (13). It follows then
Under the theorem conditions, there exists some small constant such that the following inequality holds:
With this inequality, we further have
By letting , we have
Integrating this inequality from to yields that
Using the fact that for any , we have
The proof is thus complete.
When , condition (11) can be further relaxed as follows to ensure a patterned positive consensus:
(14) |
We summarize the result as follows.
Corollary 1
In many circumstances, the state may not be available for us. Here we present an output feedback extension for (10) as follows to solve our problem:
(16) |
where is a chosen gain matrix to be specified later. To meet the positivity requirement, we set for as in [33].
Theorem 2
Proof. The proof is analogous to that of Theorem 1 and we only give a sketch to save space. Let . It is verified that is Hurwitz and Metzler. It follows
(17) |
where . Since , for any . This further implies the nonnegativity of . Consequently, we have for any .
To show the rest two properties, we focus on the following error system:
(18) |
Following similar arguments in the proof of Theorem 1, one can further determine constant such that holds for any . Then we take with and to be specified later. Using the theorem conditions, we can obtain that its derivative along system (18) satisfies
Completing the squares implies
By letting and , we have
Integrating this inequality from to yields that
Using the fact that for any , we have
The proof is thus complete.
Remark 1
Compared with most existing positive consensus results [18, 21, 20, 22, 23], we present a two-step design scheme to solve the problem. Although the controller (16), particularly the local reference part, reduces to the observer-based type of control laws as that in [22, 23], we are able to handle heterogeneous positive multi-agent systems whose dynamics can be different from each other in both system matrices and orders over switching communication topologies. Moreover, the expected consensus trajectory of the multi-agent system is allowed to be of a more general prespecified pattern including nonnegative static consensus in [23] as a special case.
Remark 2
It is interesting to remark that the presented algorithms are mainly built upon several matrix inequalities, which can be taken as positive counterparts of -suboptimal design for similar problems [25, 26]. In practice, we can convert them to linear ones and then solve them using standard numerical softwares.
5 Simulation
In this section, we consider an eight-agent system to illustrate the effectiveness of our preceding designs.
Suppose the system matrices are as follows:
and
and
It can be verified by Lemma 1 that these agents are indeed positive. Suppose the communication graph is alternatively switching between and given in Fig. 2 every seconds. Assumption 2 is then fulfilled.
Consider a consensus pattern with
(19) |
Solving the regulator equations (5) gives
Thus Assumption 3 is confirmed. We employ the output feedback controller (16) to solve our problem with .


For this purpose, we solve the inequalities in Theorem 2 and obtain the following gain matrices: , , , , , , , and . Let , . Choose for the generator and all other initials are randomly generated between and ,


We first set and obtain an exact positive consensus as depicted in Fig. 3. Then, let , the state and gain performance of controller (16) can be found in Fig. 4. It can be found that all agents reach a robust positive consensus even the expected consensus trajectory tends to be unbounded in this case. At the same time, the components of , and are observed to stay in the positive orthant. These observations verify the effectiveness of (16) to solve the robust positive consensus problem for heterogeneous multi-agent system (2).
6 Conclusion
We have formulated and solved the robust positive consensus problem for a group of high-order positive multi-agent systems with external inputs. To handle the positive constraint and heterogeneous and uncertain agent dynamics, we have proposed a two-step design method and finally developed two different kinds of effective rules for these agents to attain a robust consensus having the expected dynamic pattern while their states fulfill the positive constraints even under switching communication topologies. In the future, we may consider the same problem but for uncertain nonlinear positive multi-agent systems with more general communication graphs.
References
- [1] W. Ren and R. W. Beard, Distributed Consensus in Multi-vehicle Cooperative Control, Springer, London, UK, 2008.
- [2] Y. Hong, J. Hu, L. Gao, “Tracking control for multi-agent consensus with an active leader and variable topology”, Automatica, vol. 42, no. 7, 1177-1182, 2006.
- [3] W. Ni and D. Cheng, “Leader-following consensus of multi-agent systems under fixed and switching topologies,” Systems and Control Letters, vol. 55, no. 3-4, pp. 209-217, 2010.
- [4] Y. Su and J. Huang, “Cooperative output regulation of linear multi-agent systems,” IEEE Transactions on Automatic Control, vol. 57, no. 4, pp. 1062–1066, 2012.
- [5] X. Wang, D. Xu, H. Ji, “Robust almost output consensus in networks of nonlinear agents with external disturbances,” Automatica, vol. 70, pp. 303-311, 2016.
- [6] Y. Tang, “Coordination of multi-agent systems under switching topologies via disturbance observer-based approach,” International Journal of Systems Science, vol. 47, no, 16, pp. 3900–3907, 2016.
- [7] T. Liu and J. Huang, “A distributed observer for a class of nonlinear systems and its application to a leader-following consensus problem,” IEEE Transactions on Automatic Control, vol. 64, no. 3, pp. 1221-1227, 2018.
- [8] L. An and G. Yang, “Distributed optimal coordination for heterogeneous linear multi-agent systems,” IEEE Transactions on Automatic Control, vol. 67, no. 12, pp.6850-6857, 2022.
- [9] L. Zhang and Y. Li, “Fuzzy-resilient distributed optimal coordination for nonlinear multi-agent systems under command attacks,” IEEE Transactions on Fuzzy Systems, 2022, online and available at https://ieeexplore.ieee.org/document/9917318.
- [10] L. Cao, Y. Pan, H. Liang, T. Huang, “Observer-based dynamic event-triggered control for multiagent systems with time-varying delay,” IEEE Transactions on Cybernetics, vol. 53, no. 5, pp. 3376-3387, 2023.
- [11] B. Kaviarasan, O. Kwon, M. Park, R. Sakthivel, “Stochastic faulty estimator-based non-fragile tracking controller for multi-agent systems with communication delay,” Applied Mathematics and Computation, vol. 392, pp. 125704, 2021.
- [12] L. Farina and S. Rinaldi, Positive Linear Systems: Theory and Applications, John Wiley and Sons, USA, 2002.
- [13] X. Liu, W. Yu, L. Wang, “Stability analysis for continuous-time positive systems with time-varying delays,” IEEE Transactions on Automatic Control, vol. 55, no. 4, pp. 1024-1028, 2010.
- [14] F. Blanchini, P. Colaneri, M. E. Valcher, “Switched positive linear systems,” Foundations and Trends in Systems and Control, vol. 2, no. 2, pp, 101-273, 2015.
- [15] R. Li and P. Zhao, “Practical stability of time-varying positive systems with time delay,” IET Control Theory and Applications, vol. 15, no. 8, pp, 1082-1090, 2021.
- [16] N. Yang, Y. Li, L. Shi, “Proportional tracking control of positive linear systems,” IEEE Control Systems Letters, vol. 6, 1670-1675, 2021.
- [17] M. E. Valcher and P. Misra, “On the stabilizability and consensus of positive homogeneous multi-agent dynamical systems,” IEEE Transactions on Automatic Control, vol. 59, no. 7, pp. 1936-1941, 2013.
- [18] M. E. Valcher and I. Zorzan, “On the consensus of homogeneous multiagent systems with positivity constraints,” IEEE Transactions on Automatic Control, vol. 62, no. 10, pp. 5096-5110, 2017.
- [19] Y. Sun, Y. Tian, X. Xie, “Stabilization of positive switched linear systems and its application in consensus of multiagent systems,” IEEE Transactions on Automatic Control, vol. 62, no. 12, pp. 6608-6613, 2017.
- [20] J. Liu, J. Lam, Z. Shu, “Positivity-preserving consensus of homogeneous multiagent systems,” IEEE Transactions on Automatic Control, vol. 65, no. 6, pp. 2724-2729, 2019.
- [21] H. Wu and H. Su, “Observer-based consensus for positive multiagent systems with directed topology and nonlinear control input,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 49, no. 7, pp. 1459-1469, 2018.
- [22] N. Yang, Y. Yin, J. Liu, “Positive consensus of directed multi-agent systems using dynamic output-feedback control,” IEEE 58th Conference on Decision and Control (CDC), pp. 897-902, 2019.
- [23] S. Bhattacharyya and S. Patra, “Positive consensus of multi-agent systems with hierarchical control protocol,” Automatica, vol. 139, pp. 110191, 2022.
- [24] J. Shen and J. Lam, “Static output-feedback stabilization with optimal -gain for positive linear systems,” Automatica, vol. 63, pp. 248-253, 2016.
- [25] P. Li, J. Lam, K. Cheung, “Stability, stabilization and gain analysis of periodic piecewise linear systems,” Automatica, vol. 61, pp. 218-226, 2015.
- [26] Y. Xu, C. Wang, J. Qiao, L. Guo, “Robust stabilization for a class of nonlinear positive systems with multiple disturbances,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 52, no. 7, pp. 4611-4622, 2022.
- [27] D. Angeli and E. D. Sontag, “Monotone control systems,” IEEE Transactions on Automatic Control, vol. 48, no. 10, pp. 1684-1698, 2003.
- [28] M. Mesbahi and M. Egerstedt, Graph Theoretic Methods in Multiagent Networks, Princeton University Press, Princeton, NJ, USA, 2010.
- [29] J. Xi, Z. Shi, Y. Zhong, “Output consensus analysis and design for high-order linear swarm systems: partial stability method,” Automatica, vol. 48, no. 9, 2335–2343, 2012.
- [30] H. Grip, T. Yang, A. Saberi, A. Stoorvogel, “Output synchronization for heterogeneous networks of non-introspective agents,” Automatica, vol. 48, no. 10, pp. 2444–2453, 2012.
- [31] J. Huang, Nonlinear Output Regulation: Theory and Applications, SIAM, Philadelphia, PA, USA, 2004.
- [32] Y. Tang, “Distributed optimal steady-state regulation for high-order multiagent systems with external disturbances,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 50, no, 11, pp. 4828–4835, 2018.
- [33] B. Roszak and E. J. Davison, “Necessary and sufficient conditions for stabilizability of positive LTI systems,” Systems and Control Letters, vol. 58, no. 7, pp. 474–481, 2009.