Professional Documents
Culture Documents
13-Matrix-Weighted Consensus and Its Applications
13-Matrix-Weighted Consensus and Its Applications
Automatica
journal homepage: www.elsevier.com/locate/automatica
Technical communique
article info a b s t r a c t
Article history: This paper proposes the matrix-weighted consensus algorithm, which is a generalization of the con-
Received 11 March 2017 sensus algorithm. Given a networked dynamical system where the interconnections between agents
Received in revised form 8 August 2017 are weighted by nonnegative definite matrices, it is shown that consensus and clustering phenomena
Accepted 9 October 2017
naturally exist. We examine algebraic and algebraic graph conditions for achieving a consensus.
Available online xxxx
© 2017 Elsevier Ltd. All rights reserved.
Please cite this article in press as: Trinh, M.H., et al., Matrix-weighted consensus and its applications. Automatica (2018), https://doi.org/10.1016/j.automatica.2017.12.024.
2 M.H. Trinh et al. / Automatica ( ) –
ẋ = −Lx, (3)
V , i ̸ = j} denotes the set of |E | = m edges, and A = {Aij ∈
where L is the matrix-weighted Laplacian.
Rd×d | (i, j) ∈ E , Aij = ATij ≥ 0} denotes the set of matrix weights.
The dimension d (d ≥ 1) of the matrix weights in A depends on the
Definition 4 (Consensus). The n-agent system is said to achieve a
problem. If d = 1, G is an usual undirected scalar-weighted graph.
consensus if and only if xi = xj , for all i, j ∈ V , i ̸ = j.
Depending on the matrix weights, the interconnections between
vertices in G are classified into two types. If the weight matrix Aij Define R = Range{1n ⊗ Id } as the consensus space. A consensus
corresponding to an edge (i, j) is positive definite (positive semi- of the n-agent system is globally/locally asymptotically achieved
definite), we say that (i, j) is a positive (semi-positive) definite edge if and only if x globally/locally asymptotically approaches R. Al-
and two vertices i and j are connected via a positive (semipositive) though consensus is an important objective, in some applications,
definite edge. If i and j are disconnected, Aij = 0. We also assume the agents’ states are desired to converge to some different values.
⋂given by C1 , . . . , Cl (1 ≤ ⋃
that the interconnections between any two vertices are symmetric, A partition of V is l ≤ n) satisfying two
i.e., Aij = Aji , ∀(i, j) ∈ E . A path is a sequence of vertices in properties: (i) Ci
l
Cj = ∅, for i ̸ = j, and (ii) k=1 Ck = V .
G , denoted by P = i1 i2 . . . il , such that each edge (ik , ik+1 ), k =
1, . . . , l − 1, is a positive/semipositive definite edge. The graph G Definition 5 (Cluster Consensus). The n-agent system is said to
is called positive semiconnected if and only if there exists a path achieve a cluster consensus if there exists a partition C1 , . . . , Cl ,
between any two vertices in G . Otherwise, G is disconnected. such that all agents belonging to the same partition achieve con-
sensus, while for any two agents i and j belonging to two different
Definition 1 (Positive Path). A positive path is a sequence of ver- partitions, xi ̸ = xj . Each Ci , i = 1, . . . , l, is referred to as a cluster.
tices in G , denoted by P = i1 i2 . . . il , such that each edge (ik , ik+1 ),
k = 1, . . . , l − 1, is a positive definite edge.
3. Algebraic condition for reaching a consensus
A tree is a graph (containing at least one vertex) in which any
two vertices are connected by exactly one path. This section aims to find an algebraic condition of the matrix-
weighted Laplacian for reaching a consensus.
Definition 2 (Positive Tree). A positive tree T is a tree contained
in G having all positive connections. Equivalently, for all i, j ∈ T , Lemma 2. The matrix-weighted Laplacian L is symmetric, posi-
there exists a positive path in T connecting i and j. tive semidefinite, and has the nullspace N (L) = span{R, {v =
[vT1 , . . . , vTn ]T ∈ Rdn | (vj − vi ) ∈ N (Aij ), ∀(i, j) ∈ E }}.
Definition 3 (Positive Spanning Tree). A positive spanning tree T of
G is a positive tree containing all vertices in V . Proof. From Lemma 1, we can write
Note that a tree of k vertices (k ≥ 1) contains exactly k − 1
L = H̄T blkdiag(Ak )H̄ = MT M, (4)
edges. Thus, a positive spanning tree of G contains exactly n − 1
positive edges (see Fig. 1). Next, we define several algebraic struc- 1/2
where M = blkdiag(Ak )H̄.
Eq. (4) shows that L is positive
tures corresponding to the matrix weighted graph G . The matrix- semidefinite, and N (L) = N (MT M) = N (M). As a result, N (L) =
weighted adjacency matrix of G is defined as A = [Aij ]i,j=1,...,n . Since
∑ [v1 , . . . , vn ] ̸∈ R such that
T T T
N (M) ⊇ N (H̄) ⊇ R. Consider v =
G is undirected and Aij = Aji , the matrix A is symmetric. For each Lv = 0. It follows vT Lv = 0, or i.e., (i,j)∈E (vi − vj )T Aij (vi − vj ) = 0,
vertex i, the∑ neighbor set of i is defined as Ni = {j ∈ V | eij ∈ E }.
which implies that (vi − vj ) ∈ N (Aij ), for all (i, j) ∈ E . ■
Let Di = j∈Ni Aij . We define D = blkdiag(Di ) as the degree
matrix of the graph G . The matrix-weighted Laplacian is defined as
Remark 1. According to Lemma 2, dim(N (L)) ≥ dim(R). The
L = D − A (Tuna, 2016).
matrix-weighted Laplacian L has at least d zero eigenvalues. Let
Consider an arbitrary index of the edges of G , we can write the
{λi }i=1,...,dn be L’s eigenspectra, we have 0 = λ1 = · · · = λd ≤
edge set and the matrix-weight set as E = {ekij }k=1,...,m and A =
λd+1 ≤ · · · ≤ λdn .
{Akij }k=1,...,m , correspondingly.1 Let H ∈ Rm×n be the incidence
matrix corresponding to an arbitrary orientation of the edges in E , Lemma 3. Under
and let H̄ = H ⊗ Id , where ⊗ denotes the Kronecker product and Id ∑n the matrix-weighted consensus protocol (2), the
average x̄ = 1n i=1 xi is invariant.
is the d × d identity matrix. We have the following lemma whose
proof can be found in Trinh and Ahn (2017).
Proof. We can write x̄ = 1n (1Tn ⊗ Id )x. Taking the derivative of x̄
along the trajectory of (3) yields
Lemma 1. The matrix-weighted Laplacian can be written in the
following form L = H̄T blkdiag(Ak )H̄. x̄˙ = 1/n(1Tn ⊗ Id )ẋ = −1/n(1Tn ⊗ Id )Lx.
Consider a system consisting of n single integrator agents. Sup- Since L is symmetric, if v ∈ N (L), then vT belongs to the left
pose an agent i in the system has a state vector xi = [xi1 , . . . , xid ]T nullspace of L. Thus, x̄˙ = −1/n(1Tn ⊗ Id )L = 0, or i.e. x̄ is
∈ Rd , where d ≥ 1. Denote x = [xT1 , . . . , xTn ]T ∈ Rdn . The invariant. ■
1 If it is unimportant to specify the end-vertices explicitly, we will dropout the Theorem 1 (Stability). Assume that G is positive semiconnected. Any
subscript ij and write ek and Ak without ambiguity. trajectory of (3) globally asymptotically approaches the set N (L).
Please cite this article in press as: Trinh, M.H., et al., Matrix-weighted consensus and its applications. Automatica (2018), https://doi.org/10.1016/j.automatica.2017.12.024.
M.H. Trinh et al. / Automatica ( ) – 3
Proof. Consider the potential function V = 12 ∥x∥2 , which is posi- 4. Theory of consensus and clustered consensus phenomena
tive definite, radially unbounded,
∑ and continuously differentiable.
Further, V̇ = −xT Lx = − (i,j)∈E (G ) (xi − xj )T Aij (xi − xj ) ≤ 0. In the previous section, Theorem 2 provides an algebraic con-
It follows ∥x(t)∥ ≤ ∥x(0)∥, or i.e., x(t) is bounded. Further, V̇ is dition for reaching a consensus. However, that condition requires
negative semidefinite and V̇ = 0 if and only if x ∈ N (L). Based finding the nullspace of L. Further, the requirement for achieving
on LaSalle’s invariance principle, any trajectory of (3) globally consensus in Corollary 1 could be conservative. This section aims
asymptotically approaches N (L). ■ to find conditions for consensus/cluster consensus related with the
matrix-weighted graph G .
Lemma 4. If N (L) = R, the system (3) has a unique equilibrium
point x∗ = 1n ⊗ x̄. Lemma 5. If G has a positive spanning tree T , the n-agent system
globally exponentially achieves an average consensus under the con-
Proof. We prove that 1n ⊗ x̄ is the unique equilibrium of (3) if sensus protocol (2).
N (L) = R by contradiction. Let {ei }i=1,...,d be a basis of Rd , where
ei = [0, . . . , 1, . . . , 0]T is a vector with all zero entries except for
′ Proof. We can label the edges of G such that the n − 1 edges
an 1 on the ith row. Suppose ∑dthat′ there exists x ∈′ R such that in T are e1 , e2 , . . . , en−1 and the m − n + 1 edges in E \ E (T )
x′ ̸ = x∗ . We can write x′ = x̄ (1 ⊗ e ) = 1 ⊗ x̄ = (1n ⊗ Id )x̄′ ,
i=1 i n i n
are en , en+1 , . . . , em . The incidence matrix corresponding to this
where x̄ = [x̄1 , . . . , x̄d ] . It follows from Lemma 3 that
′ ′ ′ T
labeling can be written as H = [HTE (T ) , HTE \E (T ) ]T , where HE (T ) ∈
1 1 R(n−1)×n represents n − 1 edges of T and HE \E (T ) ∈ R(m−n+1)×n
x̄ = (1Tn ⊗ Id )x′ = (1Tn ⊗ Id )(1n ⊗ Id )x̄′
n n represents the remaining edges in the graph. Note that the rows
1 1 of HE \E (T ) are linearly dependent on the rows of HE (T ) (Zelazo
= (1Tn 1n ⊗ Id )x̄′ = (n ⊗ Id )x̄′ = x̄′ .
n n & Mesbahi, 2011). Specifically, there exists T ∈ R(m−n+1)×(n−1)
As a result, x′ = 1n ⊗ x̄ = x∗ , which is a contradiction. Thus, such that THE (T ) = HE \E (T ) . Any equilibrium point of (3) satisfies
x∗ = 1n ⊗ x̄ is the unique equilibrium of (3). ■ ẋ = −H̄T blkdiag(Ak )H̄x = 0. Thus, xT H̄T blkdiag(Ak )H̄x = 0,
1/2
which in turn implies ∥blkdiag(Ak )H̄x∥2 = ∥Mx∥2 = 0. Denoting
Theorem 2 (Average Consensus). The system (3) globally exponen- T̄ = T ⊗ Id , this condition is equivalent to
tially converges to the system’s average x∗ = 1n ⊗ x̄ if and only if [ 1/2
]
blkdiag(Ak )nk=
−1
1 H̄E (T ) x
N (L) = R. Mx = 1/2
= 0. (6)
blkdiag(Ak )m
k=n T̄H̄E (T ) x
Proof (Necessity). We prove by contradiction. Assume that (3) 1/2
globally asymptotically converges to x∗ = 1n ⊗ x̄ but N (L) ̸ = R. Observe that blkdiag(Ak )H̄E (T ) x = 0 is equivalent to H̄E (T ) x =
From Lemma 2, there exists x′ ∈ Rdn such that Lx′ = 0 and 0. Since HE (T ) is the incidence matrix corresponding to a tree,
x′ ̸ ∈ R. Thus, x = x′ is also an equilibrium point of (3), and any N (HE (T ) ) = span{1n }, which means N (H̄E (T ) ) = R. Based on
trajectory with x(0) = x′ stays at x′ for all t ≥ 0. Thus, x∗ is not Theorem 2, the equilibrium x∗ = 1n ⊗ x̄ is unique and globally
globally asymptotically stable, which contradicts the assumption. exponentially stable. ■
(Sufficiency): Suppose that N (L) = R. Following the proof of
Theorem 1, any trajectory of (3) converges to R. From Lemma 4, Lemma 6. Suppose there exists a positive tree T ⊂ G of l vertices,
x∗ = 1n ⊗ x̄ ∈ N (L) is the unique equilibrium point of (3). under consensus protocol (2), xi (t) → xj (t), ∀i, j ∈ T , as t → ∞.
Consider the Lyapunov function V = 12 δT δ, where δ = x − 1n ⊗ x̄
[H ]
is the disagreement vector. Then, V is positive definite, radially 1 0
unbounded, continuously differentiable, and V̇ = δT δ̇ = −δT Lx = Proof. By writing x = [ xTT , xTV \V (T ) T ,
] we express H = H2 0 ,
H3 H4
−δT Lδ ≤ 0, where in the third equality, we have used the fact that where [H1 0] ∈ R (l−1)×n
associates with the edges belonging
Lδ = Lx − L(1n ⊗ x̄) = Lx − L(1n ⊗ Id )x̄ = Lx. Moreover, δ ⊥ R to the tree T , [H2 0] associates with the other edges between
since (1n ⊗ Id )T δ = (1n ⊗ Id )T x − (1Tn 1n ⊗ Id )x̄ = nx̄ − nx̄ = 0.
vertices in V (T ) which do not belong to the tree, and [H3 H4 ]
Hence,
associates with the remaining edges in E . Observe that H2 is lin-
V̇ = −δT Lδ ≤ −λd+1 (L)δT δ ≤ −α V ≤ 0, (5) early dependent on H1 and this dependency is characterized by
H2 = TH1 . The equilibria of (3) must satisfy H̄x = 0, which implies
where α = 2λd+1 (L) > 0. Further, V̇ = 0 if and only if δ = 0, that
or x = x∗ = 1n ⊗ x̄. Thus, x∗ is a globally exponentially stable
1/2
equilibrium of (3). ■ blkdiag(Ak )lk−=11 H̄1 xT = 0. (7)
Please cite this article in press as: Trinh, M.H., et al., Matrix-weighted consensus and its applications. Automatica (2018), https://doi.org/10.1016/j.automatica.2017.12.024.
4 M.H. Trinh et al. / Automatica ( ) –
⋃|Pk |−1
(a) For each path Pk , let N (Pk ) = j=1 N (Av k v k ), it holds
j j+1
( |S | )
⋂i
dim N (P k ) = 0. (8)
k=1
Then, under the consensus protocol (2), all agents in the cluster
C (T ) have the same equilibrium state. Furthermore, in algorithmic
perspective, the set Si is finite. Fig. 2. Illustration of the four-agent system in Example 1.
Please cite this article in press as: Trinh, M.H., et al., Matrix-weighted consensus and its applications. Automatica (2018), https://doi.org/10.1016/j.automatica.2017.12.024.
M.H. Trinh et al. / Automatica ( ) – 5
Please cite this article in press as: Trinh, M.H., et al., Matrix-weighted consensus and its applications. Automatica (2018), https://doi.org/10.1016/j.automatica.2017.12.024.