This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Jin Gyu Lee 22institutetext: University of Cambridge, Department of Engineering, Control Group, Trumpington Street, Cambridge CB2 1PZ, United Kingdom, 22email: [email protected] 33institutetext: Hyungbo Shim 44institutetext: Seoul National University, Department of Electrical and Computer Engineering, Gwanak-ro 1, Gwanak-gu, Seoul 08826, Korea, 44email: [email protected]

Design of Heterogeneous Multi-agent System for Distributed Computation

Jin Gyu Lee and Hyungbo Shim
Abstract

A group behavior of a heterogeneous multi-agent system is studied which obeys an “average of individual vector fields” under strong couplings among the agents. Under stability of the averaged dynamics (not asking stability of individual agents), the behavior of heterogeneous multi-agent system can be estimated by the solution to the averaged dynamics. A following idea is to “design” individual agent’s dynamics such that the averaged dynamics performs the desired task. A few applications are discussed including estimation of the number of agents in a network, distributed least-squares or median solver, distributed optimization, distributed state estimation, and robust synchronization of coupled oscillators. Since stability of the averaged dynamics makes the initial conditions forgotten as time goes on, these algorithms are initialization-free and suitable for plug-and-play operation. At last, nonlinear couplings are also considered, which potentially asserts that enforced synchronization gives rise to an emergent behavior of a heterogeneous multi-agent system.

1 Introduction

During the last decade, synchronization and collective behavior of a multi-agent system have been actively studied because of numerous applications in diverse areas, e.g., biology, physics, and engineering. An initial study was about identical multi-agents olfati2004consensus ; moreau2004stability ; Ren05 ; seo2009consensus , but the interest soon transferred to the heterogeneous case because uncertainty, disturbance, and noise are prevalent in practice. In this regard, heterogeneity was mostly considered harmful—something that we have to suppress or compensate. To achieve synchronization, or at least approximate synchronization (with arbitrary precision if possible), against heterogeneity, various methods such as output regulation Kim11 ; de2012internal ; isidori2014robust ; su2014cooperative ; casadei2017multipattern ; su2019semi , backstepping zhang2016almost , high-gain feedback delellis2015convergence ; montenbruck2015practical ; kim2016robustness ; panteley2017synchronization , adaptive control lee2018practical , and optimal control modares2017optimal , have been applied. However, heterogeneity of multi-agent systems is a way to achieve a certain task collaboratively from different agents. From this viewpoint, heterogeneity is something we should design, or, at least, heterogeneity is an outcome of distributing a complex computation into individual agents.

This chapter is devoted to investigating the design possibility of the heterogeneity. After presenting a few basic theorems which describe the collective behavior of multi-agent systems, we exhibit several design examples by employing the theorems as a toolkit. A feature of the toolkit is that the vector field of the collective behavior can be assembled from the individual vector fields of each agent when the coupling strength among the agents is sufficiently large. This process is explained by the singular perturbation theory. In fact, the assembled vector field is nothing but an average of the agents’ vector fields, and it appears as the quasi-steady-state subsystem (or the slow subsystem) when the inverse of the coupling gain is treated as the singular perturbation parameter. We call the quasi-steady-state subsystem as blended dynamics for convenience. The behavior of the blended dynamics is an emergent one if none of the agents has such a vector field. For instance, we will see that we can construct a heterogeneous network that individuals can estimate the number of agents in the network without using any global information. Since individuals cannot access the global information NN, this collective behavior cannot be obtained by the individuals alone. On the other hand, appearance of the emergent behavior when we enforce synchronization seems intrinsic. We will demonstrate this fact when we consider nonlinear coupling laws in the later section. Finally, the proposed tool leads to the claim that the network of a large number of agents is robust against the variation of individual agents. We will demonstrate it for the case of coupled oscillators.

There are two notions which have to be considered when a multi-agent system is designed. It is said that the plug-and-play operation (or, initialization-free) is guaranteed for a multi-agent system if it maintains its task without resetting all agents whenever an agent joins or leaves the network. On the other hand, if a new agent that joins the network can construct its own dynamics without the global information such as graph structure, other agents’ dynamics, and so on, it is said that the decentralized design is achieved. It will be seen that the plug-and-play operation is guaranteed for the design examples in this chapter. This is due to the fact that the group behavior of the agents is governed by the blended dynamics, and therefore, as long as the blended dynamics remains stable, individual initial conditions of the agents are forgotten as time goes on. The property of decentralized design is harder to achieve in general. However, for the presented examples, this property is guaranteed to some extent; more specifically, it is achieved except the necessity of the coupling gain which is the global information.

2 Strong diffusive state coupling

We begin with the simplest case of heterogeneous multi-agent systems given by

x˙i=fi(t,xi)+kj𝒩iαij(xjxi)n,i𝒩,\displaystyle\dot{x}_{i}=f_{i}(t,x_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(x_{j}-x_{i})\quad\in\mathbb{R}^{n},\quad i\in\mathcal{N}, (1)

where 𝒩:={1,,N}\mathcal{N}:=\{1,\cdots,N\} is the set of agent indices with the number of agents, NN, and 𝒩i\mathcal{N}_{i} is a subset of 𝒩\mathcal{N} whose elements are the indices of the agents that send the information to agent ii. The coefficient αij\alpha_{ij} is the ijij-th element of the adjacency matrix that represents the interconnection graph. We assume the graph is undirected and connected in this chapter. The vector field fif_{i} is assumed to be piecewise continuous in tt, continuously differentiable with respect to xix_{i}, locally Lipschitz with respect to xix_{i} uniformly in tt, and fi(t,0)f_{i}(t,0) is uniformly bounded for tt. The summation term in (1) is called diffusive coupling, in particular, diffusive state coupling because states are exchanged among agents through the term. Diffusive state coupling term vanishes when state synchronization is achieved (i.e., xi(t)=xj(t)x_{i}(t)=x_{j}(t), i,j\forall i,j). Coupling strength, or coupling gain, is represented by the positive constant kk.

It is immediately seen from (1) that synchronization of xi(t)x_{i}(t)’s to a common trajectory s(t)s(t) is hopeless in general due to the heterogeneity of fif_{i} unless it holds that s˙(t)=fi(t,s(t))\dot{s}(t)=f_{i}(t,s(t)) for all i𝒩i\in{\mathcal{N}}. Instead, with sufficiently large coupling gain kk, we can enforce approximate synchronization. To see this, let us introduce a linear coordinate change

s=1Ni=1Nxinz~=(RTIn)col(x1,,xN)(N1)n\displaystyle\begin{split}s&=\frac{1}{N}\sum_{i=1}^{N}x_{i}\quad\in{\mathbb{R}}^{n}\\ \tilde{z}&=(R^{T}\otimes I_{n}){\rm col}(x_{1},\cdots,x_{N})\quad\in{\mathbb{R}}^{(N-1)n}\end{split} (2)

where RN×(N1)R\in{\mathbb{R}}^{N\times(N-1)} is any matrix that satisfies

[1N1NTRT][1NR]=[000Λ]\begin{bmatrix}\frac{1}{N}1_{N}^{T}\\ R^{T}\end{bmatrix}{\mathcal{L}}\begin{bmatrix}1_{N}&R\end{bmatrix}=\begin{bmatrix}0&0\\ 0&\Lambda\end{bmatrix}

with a positive definite matrix Λ(N1)×(N1)\Lambda\in{\mathbb{R}}^{(N-1)\times(N-1)}, where 1N:=[1,,1]TN1_{N}:=[1,\cdots,1]^{T}\in{\mathbb{R}}^{N} and :=𝒟𝒜\mathcal{L}:=\mathcal{D}-\mathcal{A} is the Laplacian matrix of a graph, in which 𝒜=[αij]\mathcal{A}=[\alpha_{ij}] and 𝒟=diag(di)\mathcal{D}=\text{diag}(d_{i}) with di=j𝒩iαijd_{i}=\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}. By the coordinate change, the multi-agent system is converted into the standard singular perturbation form

s˙=1Ni=1Nfi(t,s+(RiIn)z~)1kz~˙=(ΛIn)z~+1k(RTIn)col(f1(t,x1),,fN(t,xN))\displaystyle\begin{split}\dot{s}&=\frac{1}{N}\sum_{i=1}^{N}f_{i}(t,s+(R_{i}\otimes I_{n})\tilde{z})\\ \frac{1}{k}\dot{\tilde{z}}&=-(\Lambda\otimes I_{n})\tilde{z}+\frac{1}{k}(R^{T}\otimes I_{n}){\rm col}(f_{1}(t,x_{1}),\cdots,f_{N}(t,x_{N}))\end{split} (3)

where RiR_{i} implies the ii-th row of RR. From this, it is seen that z~\tilde{z} quickly becomes arbitrarily small with arbitrarily large kk, and the quasi-steady-state subsystem of (3) is given by

s˙=1Ni=1Nfi(t,s),\dot{s}=\frac{1}{N}\sum_{i=1}^{N}f_{i}(t,s), (4)

which we call blended dynamics111More appropriate name could be ‘averaged dynamics,’ which may however confuse the reader with the averaged dynamics in the well-known averaging theory Sanders that deals with time average.. By noting that xi=s+(RiIn)z~x_{i}=s+(R_{i}\otimes I_{n})\tilde{z}, it is seen that the behavior of the multi-agent system (3) can be approximated by the blended dynamics with some kind of stability of the blended dynamics (and with sufficiently large kk) as follows.

Theorem 2.1 (​kim2016robustness ; lee2020tool )

Assume that the blended dynamics (4) is contractive.222x˙=f(t,x)\dot{x}=f(t,x) is contractive if Θ>0\exists\Theta>0 such that Θfx(t,x)+fx(t,x)TΘI\Theta\frac{\partial f}{\partial x}(t,x)+\frac{\partial f}{\partial x}(t,x)^{T}\Theta\leq-I for all xx and tt Slotine . Then, for any compact set KnNK\subset\mathbb{R}^{nN} and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(x1(t0),,xN(t0))K{\rm col}(x_{1}(t_{0}),\dots,x_{N}(t_{0}))\in K, the solution to (1) exists for all tt0t\geq t_{0}, and satisfies

lim suptxi(t)s(t)η,i𝒩.\displaystyle\limsup_{t\to\infty}\left\|x_{i}(t)-s(t)\right\|\leq\eta,\quad\forall i\in\mathcal{N}.
Theorem 2.2 (​panteley2017synchronization ; lee2020tool )

Assume that there is a nonempty compact set 𝒜bn\mathcal{A}_{b}\subset\mathbb{R}^{n} that is uniformly asymptotically stable for the blended dynamics (4). Let 𝒟b𝒜b\mathcal{D}_{b}\supset\mathcal{A}_{b} be an open subset of the domain of attraction of 𝒜b\mathcal{A}_{b}, and let333The condition for ww in 𝒟x{\mathcal{D}}_{x} can be understood by recalling that col(x1,,xN)=1Ns+(RIn)z~{\rm col}(x_{1},\cdots,x_{N})=1_{N}\otimes s+(R\otimes I_{n})\tilde{z}.

𝒟x\displaystyle\mathcal{D}_{x} :={1Ns+w:s𝒟b,wnNsuch that(1NTIn)w=0}.\displaystyle:=\left\{1_{N}\otimes s+w:s\in\mathcal{D}_{b},w\in\mathbb{R}^{nN}\,\,\text{such that}\,\,(1_{N}^{T}\otimes I_{n})w=0\right\}.

Then, for any compact set K𝒟xnNK\subset\mathcal{D}_{x}\subset\mathbb{R}^{nN} and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(x1(t0),,xN(t0))K{\rm col}(x_{1}(t_{0}),\dots,x_{N}(t_{0}))\in K, the solution to (1) exists for all tt0t\geq t_{0}, and satisfies

lim suptxi(t)xj(t)ηandlim suptxi(t)𝒜bη,i,j𝒩.\limsup_{t\to\infty}\|x_{i}(t)-x_{j}(t)\|\leq\eta\quad\text{and}\quad\limsup_{t\to\infty}\|x_{i}(t)\|_{\mathcal{A}_{b}}\leq\eta,\quad\forall i,j\in{\mathcal{N}}. (5)

If, in addition, 𝒜b\mathcal{A}_{b} is locally exponentially stable for the blended dynamics (4) and, fi(t,s)=fj(t,s)f_{i}(t,s)=f_{j}(t,s), i,j𝒩\forall i,j\in{\mathcal{N}}, for each s𝒜bs\in{\mathcal{A}}_{b} and tt, then we have more than (5) as

limtxi(t)xj(t)=0andlimtxi(t)𝒜b=0,i,j𝒩.\lim_{t\to\infty}\|x_{i}(t)-x_{j}(t)\|=0\quad\text{and}\quad\lim_{t\to\infty}\|x_{i}(t)\|_{\mathcal{A}_{b}}=0,\quad\forall i,j\in{\mathcal{N}}.

We emphasize the required stabilities in the above theorems are only for the blended dynamics (4) but not for individual agent dynamics x˙i=fi(t,xi)\dot{x}_{i}=f_{i}(t,x_{i}). A group of unstable and stable agents may end up with a stable blended dynamics, so that the above theorems can be applied. In this case, it can be interpreted that the stability is traded throughout the network with strong couplings.

The blended dynamics (4) shows an emergent behavior of the multi-agent system in the sense that s(t)s(t) is governed by the new vector field that is assembled from the individual vector fields participating in the network. From now, we list a few examples of designing multi-agent systems (or, simply called ‘networks’) whose tasks are represented by the emergent behavior of (4), so that the whole network exhibits the emergent collective behavior with sufficiently large coupling gain kk.

2.1 Finding the number of agents participating in the network

When constructing a distributed network, sometimes there is a need for each agent to know global information such as the number of agents in the network without resorting to a centralized unit. In such circumstances, Theorem 2.1 can be employed to design a distributed network that estimates the number of participating agents, under the assumption that there is one agent (whose index is 1 without loss of generality) who always takes part in the network. Suppose that agent 11 integrates the following scalar dynamics:

x˙1=x1+1+kj𝒩1α1j(xjx1)\dot{x}_{1}=-x_{1}+1+k\sum_{j\in{\mathcal{N}}_{1}}\alpha_{1j}(x_{j}-x_{1}) (6)

while all others integrate

x˙i=1+kj𝒩iαij(xjxi),i=2,,N\dot{x}_{i}=1+k\sum_{j\in{\mathcal{N}}_{i}}\alpha_{ij}(x_{j}-x_{i}),\quad i=2,\dots,N (7)

where NN is unknown to the agents. Then, the blended dynamics is obtained as

s˙=1Ns+1.\dot{s}=-\frac{1}{N}{s}+1. (8)

This implies that the resulting emergent motion s(t)s(t) converges to NN as time goes to infinity. Then, it follows from Theorem 2.1 that each state xi(t)x_{i}(t) approaches arbitrarily close to NN with a sufficiently large kk. Hence, by increasing kk such that the estimation error is less than 0.50.5, and by rounding xi(t)x_{i}(t) to the nearest integer, each agent gets to know the number NN as time goes on.

By resorting to a heterogeneous network, we were able to impose stable emergent collective behavior that makes possible for individuals to estimate the number of agents in the network. Note that the initial conditions do not affect the final value of xi(t)x_{i}(t) because they are forgotten as time tends to infinity due to the stability of the blended dynamics. This is in sharp contrast to other approaches such as shames2012distributed where the average consensus algorithm is employed, which yields the average of individual initial conditions, to estimate NN. While their approach requires resetting the initial conditions whenever some agents join or leave the network during the operation, the estimation of the proposed algorithm remains valid (after some transient) in such cases because the blended dynamics (8) remains contractive for any N1N\geq 1. Therefore, the proposed algorithm achieves the plug-and-play operation. Moreover, when the maximum number NmaxN_{\max} of agents is known, the decentralized design is also achieved. Further details are found in donggil .

Remark 1

A slight variation of the idea yields an algorithm to identify the agents attending the network. Let the number 11 in (6) and (7) be replaced by 2i12^{i-1}, where ii is the unique ID of the agent in {1,2,,Nmax}\{1,2,\dots,N_{\max}\}. Then the blended dynamics (8) becomes s˙=(1/N)s+j𝒩a2j1/N\dot{s}=-(1/N)s+\sum_{j\in{\mathcal{N}}_{a}}2^{j-1}/N, where 𝒩a{\mathcal{N}}_{a} is the index set of the attending agents, and NN is the cardinality of 𝒩a{\mathcal{N}}_{a}. Since the resulting emergent behavior s(t)j𝒩a2j1s(t)\to\sum_{j\in{\mathcal{N}}_{a}}2^{j-1}, each agent can figure out the integer value j𝒩a2j1\sum_{j\in{\mathcal{N}}_{a}}2^{j-1}, which contains the binary information of the attending agents.

2.2 Distributed least-squares solver

Distributed algorithms have been developed in various fields of study so as to divide a large computational problem into small-scale computations. In this regard, finding a solution of a given large linear equation in a distributed manner has been tackled in recent years mou2013fixed ; mou2015distributed ; anderson2015decentralized . Let the equation be given by

Ax=bM\displaystyle Ax=b\quad\in\mathbb{R}^{M} (9)

where AM×nA\in\mathbb{R}^{M\times n} has full column rank, xnx\in\mathbb{R}^{n}, and bMb\in\mathbb{R}^{M}. We suppose that the total of MM equations are grouped into NN equation banks, and the ii-th equation bank consists of mim_{i} equations so that i=1Nmi=M\sum_{i=1}^{N}m_{i}=M. In particular, we write the ii-th equation bank as

Aix=bimi,i=1,2,,N,\displaystyle A_{i}x=b_{i}\quad\in\mathbb{R}^{m_{i}},\quad i=1,2,\dots,N, (10)

where Aimi×nA_{i}\in\mathbb{R}^{m_{i}\times n} is the ii-th block rows of the matrix AA, and bimib_{i}\in\mathbb{R}^{m_{i}} is the ii-th block elements of bb. The problem of finding a solution to (10) (in the sense of least-squares when there is no solution) is dealt with in wang2017distributed ; shi2016distributed ; shi2017network ; liu2017network . Most notable among them are shi2016distributed and shi2017network , in which they proposed a distributed algorithm given by

x˙i=AiT(Aixibi)+kj𝒩iαij(xjxi).\displaystyle\dot{x}_{i}=-A_{i}^{T}(A_{i}x_{i}-b_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(x_{j}-x_{i}). (11)

Here, we analyze (11) in terms of Theorem 2.2. In particular, the blended dynamics of the network (11) is obtained as

s˙=1NAT(Asb)\displaystyle\dot{s}=-\frac{1}{N}A^{T}(As-b) (12)

which is equivalent to the gradient descent algorithm of the optimization problem

minimizexAxb2\displaystyle\text{minimize}_{x}\,\,\|Ax-b\|^{2} (13)

that has a unique minimizer (ATA)1ATb(A^{T}A)^{-1}A^{T}b; the least-squares solution of (9). Thus, Theorem 2.2 asserts that each state xix_{i} approximates the least-squares solution with a sufficiently large kk, and the error can be made arbitrarily small by increasing kk.

Remark 2

Even in the case that ATAA^{T}A is not invertible, the network (11) still solves the least-squares problem because ss of (12) converges to one of the minimizers. Further details are found in JGLeeLCSS20 .

2.3 Distributed median solver

The idea of designing a network based on the gradient descent algorithm of an optimization problem, as in the previous subsection, can be used for most other distributed optimization problems. Among them, a particularly interesting example is the problem of finding a median, which is useful, for instance, in rejecting outliers under redundancy.

For a collection \mathcal{R} of real numbers rir_{i}, i=1,2,,Ni=1,2,\cdots,N, their median is defined as a real number that belongs to the set

M={{r(N+1)/2s}, if N is odd,[rN/2s,rN/2+1s], if N is even,{M}_{\mathcal{R}}=\begin{cases}\{r_{(N+1)/2}^{s}\},&\mbox{ if $N$ is odd},\\ [r_{N/2}^{s},r_{N/2+1}^{s}],&\mbox{ if $N$ is even},\end{cases}

where risr_{i}^{s}’s are the elements of the set \mathcal{R} with its index being rearranged (sorted) such that r1sr2srNsr_{1}^{s}\leq r_{2}^{s}\leq\cdots\leq r_{N}^{s}. With the help of this relaxed definition of the median, finding a median ss of {\mathcal{R}} becomes solving an optimization problem

minimizesi=1N|ris|.\text{minimize}_{s}\,\,\begin{matrix}\sum_{i=1}^{N}\end{matrix}|r_{i}-s|.

Then, a gradient descent algorithm given by

s˙=1Ni=1Nsgn(ris)\displaystyle\dot{s}=\frac{1}{N}\sum_{i=1}^{N}\text{sgn}(r_{i}-s) (14)

will solve this minimization problem, where sgn(s)\text{sgn}(s) is 11 if s>0s>0, 1-1 if s<0s<0, and 0 if s=0s=0. In particular, the solution ss satisfies

limts(t)M=0.\lim_{t\to\infty}\|s(t)\|_{{M}_{\mathcal{R}}}=0.

Motivated by this, we propose a distributed median solver, whose individual dynamics of the agent ii uses the information of rir_{i} only:

x˙i=sgn(rixi)+kj𝒩iαij(xjxi),i𝒩.\displaystyle\dot{x}_{i}=\,\text{sgn}(r_{i}-x_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(x_{j}-x_{i}),\quad i\in\mathcal{N}. (15)

Now, the algorithm (15) finds a median approximately by exchanging their states xix_{i} only (not rir_{i}). Further details can be found in jgleeTAC19 .

2.4 Distributed optimization: Optimal power dispatch

As another application of distributed optimization, let us consider an optimization problem

minimizeλ1,,λNi=1NJi(λi)subject toi=1Nλi=i=1Ndi,λ¯iλiλ¯i,i𝒩\displaystyle\begin{split}\text{minimize}_{\lambda_{1},\cdots,\lambda_{N}}\quad&\sum_{i=1}^{N}J_{i}(\lambda_{i})\\ \text{subject to}\quad&\sum_{i=1}^{N}\lambda_{i}=\sum_{i=1}^{N}d_{i},\;\;\underline{\lambda}_{i}\leq\lambda_{i}\leq\overline{\lambda}_{i},\;\;i\in{\mathcal{N}}\end{split} (16)

where λi\lambda_{i}\in{\mathbb{R}} is the decision variable, JiJ_{i} is a strictly convex C2C^{2} function, and λ¯i\underline{\lambda}_{i}, λ¯i\overline{\lambda}_{i}, and did_{i} are given constants. A practical example is the economic dispatch problem of electric power, in which did_{i} represents the demand of node ii, λi\lambda_{i} is the power generated at node ii with its minimum λ¯i\underline{\lambda}_{i} and maximum λ¯i\overline{\lambda}_{i}, and JiJ_{i} is the generation cost.

A centralized solution is easily obtained using Lagrangian and Lagrange dual functions. Indeed, it can be shown that the optimal value is obtained by λi=θi(s)\lambda_{i}^{*}=\theta_{i}(s^{*}) where

θi(s):=(dJidλi)1(sat(s,dJidλi(λ¯i),dJidλi(λ¯i))),\theta_{i}(s):=\left(\frac{dJ_{i}}{d\lambda_{i}}\right)^{-1}\left(\text{sat}\left(s,\frac{dJ_{i}}{d\lambda_{i}}(\underline{\lambda}_{i}),\frac{dJ_{i}}{d\lambda_{i}}(\overline{\lambda}_{i})\right)\right),

in which (dJi/dλi)1()(dJ_{i}/d\lambda_{i})^{-1}(\cdot) is the inverse function of (dJi/dλi)()(dJ_{i}/d\lambda_{i})(\cdot), sat(s,a,b)\text{sat}(s,a,b) is ss if asba\leq s\leq b, bb if b<sb<s, and aa if s<as<a. The optimal ss^{*} maximizes the dual function g(s):=i=1NJi(θi(s))+s(diθi(s))g(s):=\sum_{i=1}^{N}J_{i}(\theta_{i}(s))+s(d_{i}-\theta_{i}(s)), which is concave so that ss^{*} can be asymptotically obtained by the gradient algorithm:

s˙=dgds(s)=i=1N(diθi(s)).\dot{s}=\frac{dg}{ds}(s)=\sum_{i=1}^{N}(d_{i}-\theta_{i}(s)). (17)

A distributed algorithm to solve the optimization problem approximately is to integrate

x˙i=diθi(xi)+kj𝒩iαij(xjxi),i𝒩\dot{x}_{i}=d_{i}-\theta_{i}(x_{i})+k\sum_{j\in{\mathcal{N}}_{i}}\alpha_{ij}(x_{j}-x_{i}),\quad i\in\mathcal{N} (18)

because the blended dynamics of (18) is given by

s˙=1Ni=1N(diθi(s))=1Ndgds(s).\dot{s}=\frac{1}{N}\sum_{i=1}^{N}(d_{i}-\theta_{i}(s))=\frac{1}{N}\frac{dg}{ds}(s). (19)

Obviously, (19) is the same as the centralized solver (17) except the scaling of 1/N1/N, which can be compensated by scaling (18). By Theorem 2.2, the state xi(t)x_{i}(t) of each node approaches arbitrarily close to ss^{*} with a sufficiently large kk, and so, we obtain λi\lambda_{i}^{*} approximately by θi(xi(t))\theta_{i}(x_{i}(t)) whose error can be made arbitrarily small. Readers are referred to yun2018initialization , which also describes the behavior of the proposed algorithm when the problem is infeasible so that each agent can figure out that infeasibility occurs. It is again emphasized that the initial conditions are forgotten and so the plug-and-play operation is guaranteed. Moreover, each agent can design its own dynamics (18) only with their local information, so that decentralized design is achieved, except the global information kk. In particular, the function θi\theta_{i} can be computed within the agent ii from the local information such as JiJ_{i}, λ¯i\underline{\lambda}_{i}, and λ¯i\overline{\lambda}_{i}. Therefore, the proposed solver (18) does not exchange the private information of each agent (except the dual variable xix_{i}).

3 Strong diffusive output coupling

Now, let us consider a bit more complex network—a heterogeneous multi-agent systems under diffusive output coupling law as444A particular case of (20) is x˙i=fi(t,xi)+kBj𝒩iαij(xjxi),i𝒩,\dot{x}_{i}=f_{i}(t,x_{i})+kB\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(x_{j}-x_{i}),\quad i\in\mathcal{N}, where the matrix BB is positive semi-definite, which can always be converted into (20) by a linear coordinate change.

z˙i=gi(t,zi,yi)mi,y˙i=hi(t,yi,zi)+kΛj𝒩iαij(yjyi)n,i𝒩,\displaystyle\begin{split}\dot{z}_{i}&=g_{i}(t,z_{i},y_{i})\;\quad\quad\quad\quad\quad\quad\quad\quad\quad\in\mathbb{R}^{m_{i}},\\ \dot{y}_{i}&=h_{i}(t,y_{i},z_{i})+k\Lambda\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(y_{j}-y_{i})\;\;\in\mathbb{R}^{n},\qquad i\in{\mathcal{N}},\end{split} (20)

where the matrix Λ\Lambda is positive definite. The vector fields gig_{i} and hih_{i} are assumed to be piecewise continuous in tt, continuously differentiable with respect to ziz_{i} and yiy_{i}, locally Lipschitz with respect to ziz_{i} and yiy_{i} uniformly in tt, and gi(t,0,0)g_{i}(t,0,0), hi(t,0,0)h_{i}(t,0,0) are uniformly bounded for tt.

For this network, under the same coordinate change as (2) in which xix_{i} replaced by yiy_{i}, it can be seen that the quasi-steady-state subsystem (or, the blended dynamics) becomes

z^˙i=gi(t,z^i,s),i𝒩,s˙=1Ni=1Nhi(t,s,z^i).\displaystyle\begin{split}\dot{\hat{z}}_{i}&=g_{i}(t,\hat{z}_{i},s),\quad i\in\mathcal{N},\\ \dot{s}&=\frac{1}{N}\sum_{i=1}^{N}h_{i}(t,s,\hat{z}_{i}).\end{split} (21)

This can also be seen by treating zi(t)z_{i}(t) as external inputs of hih_{i} in (20).

Theorem 3.1 (​lee2020tool )

Assume that the blended dynamics (21) is contractive. Then, for any compact set KK and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(z1(t0),y1(t0),,zN(t0),yN(t0))K{\rm col}(z_{1}(t_{0}),y_{1}(t_{0}),\dots,z_{N}(t_{0}),y_{N}(t_{0}))\in K, the solution to (20) exists for all tt0t\geq t_{0}, and satisfies

lim suptzi(t)z^i(t)ηandlim suptyi(t)s(t)η,i𝒩.\displaystyle\limsup_{t\to\infty}\|z_{i}(t)-\hat{z}_{i}(t)\|\leq\eta\quad\text{and}\quad\limsup_{t\to\infty}\|y_{i}(t)-s(t)\|\leq\eta,\quad\forall i\in{\mathcal{N}}.
Theorem 3.2 (​panteley2017synchronization ; lee2020tool )

Assume that there is a nonempty compact set 𝒜b\mathcal{A}_{b} that is uniformly asymptotically stable for the blended dynamics (21). Let 𝒟b𝒜b\mathcal{D}_{b}\supset\mathcal{A}_{b} be an open subset of the domain of attraction of 𝒜b\mathcal{A}_{b}, and let

𝒜x\displaystyle\mathcal{A}_{x} :={col(z^1,s,z^2,s,,z^N,s):col(z^1,,z^N,s)𝒜b},\displaystyle:=\left\{{\rm col}(\hat{z}_{1},s,\hat{z}_{2},s,\dots,\hat{z}_{N},s):{\rm col}(\hat{z}_{1},\dots,\hat{z}_{N},s)\in\mathcal{A}_{b}\right\},
𝒟x\displaystyle\mathcal{D}_{x} :={col(z^1,s1,,z^N,sN):col(z^1,,z^N,s)𝒟bsuch that1Ni=1Nsi=s}.\displaystyle:=\left\{{\rm col}(\hat{z}_{1},s_{1},\dots,\hat{z}_{N},s_{N}):{\rm col}(\hat{z}_{1},\dots,\hat{z}_{N},s)\in\mathcal{D}_{b}\,\,\text{such that}\,\,\frac{1}{N}\sum_{i=1}^{N}s_{i}=s\right\}.

Then, for any compact set K𝒟xK\subset\mathcal{D}_{x} and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(z1(t0),y1(t0),,zN(t0),yN(t0))K{\rm col}(z_{1}(t_{0}),y_{1}(t_{0}),\dots,z_{N}(t_{0}),y_{N}(t_{0}))\in K, the solution to (20) exists for all tt0t\geq t_{0}, and satisfies

lim suptcol(z1(t),y1(t),,zN(t),yN(t))𝒜xη.\limsup_{t\to\infty}\|{\rm col}(z_{1}(t),y_{1}(t),\dots,z_{N}(t),y_{N}(t))\|_{\mathcal{A}_{x}}\leq\eta. (22)

If, in addition, 𝒜b\mathcal{A}_{b} is locally exponentially stable for the blended dynamics (21) and, hi(t,yi,zi)=hj(t,yj,zj)h_{i}(t,y_{i},z_{i})=h_{j}(t,y_{j},z_{j}), i,j𝒩\forall i,j\in{\mathcal{N}}, for each col(z1,y1,,zN,yN)𝒜x{\rm col}(z_{1},y_{1},\dots,z_{N},y_{N})\in{\mathcal{A}}_{x} and tt, then we have more than (22) as

limtcol(z1(t),y1(t),,zN(t),yN(t))𝒜x=0.\lim_{t\to\infty}\|{\rm col}(z_{1}(t),y_{1}(t),\dots,z_{N}(t),y_{N}(t))\|_{\mathcal{A}_{x}}=0.

With the extended results, two more examples follow.

3.1 Synchronization of heterogeneous Liénard systems

Consider a network of heterogeneous Liénard systems modeled as

z¨i+fi(zi)z˙i+gi(zi)=ui,i=1,,N,\displaystyle\ddot{z}_{i}+f_{i}(z_{i})\dot{z}_{i}+g_{i}(z_{i})=u_{i},\qquad i=1,\cdots,N, (23)

where fi()f_{i}(\cdot) and gi()g_{i}(\cdot) are locally Lipschitz. Suppose that the output and the diffusive coupling input are given by

oi=azi+z˙i,a>0,andui=kj𝒩iαij(ojoi).\displaystyle o_{i}=az_{i}+\dot{z}_{i},\quad a>0,\quad\text{and}\quad u_{i}=k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(o_{j}-o_{i}). (24)

For (23) with (24), we claim that synchronous and oscillatory behavior is obtained with a sufficiently large kk if the averaged Liénard systems given by

z¨+f^(z)z˙+g^(z):=z¨+(1Ni=1Nfi(z))z˙+(1Ni=1Ngi(z))=0\displaystyle\ddot{z}+\hat{f}(z)\dot{z}+\hat{g}(z):=\ddot{z}+\left(\frac{1}{N}\sum_{i=1}^{N}f_{i}(z)\right)\dot{z}+\left(\frac{1}{N}\sum_{i=1}^{N}g_{i}(z)\right)=0 (25)

has a stable limit cycle. This condition may be interpreted as the blended version of the condition for a stand-alone Liénard system z¨+f(z)z˙+g(z)=0\ddot{z}+f(z)\dot{z}+g(z)=0 to have a stable limit cycle. Note that this condition implies that, even when some particular agents z¨i+fi(zi)z˙i+gi(zi)=0\ddot{z}_{i}+f_{i}(z_{i})\dot{z}_{i}+g_{i}(z_{i})=0 do not yield a stable limit cycle, the network still can exhibit oscillatory behavior as long as the average of (fi,gi)(f_{i},g_{i}) yields a stable limit cycle. It is seen that stability of individual agents can be traded among agents in this way, so that some malfunctioning oscillators can oscillate in the oscillating network as long as there are a majority of good neighbors. The frequency and the shape of synchronous oscillation is also determined by the average of (fi,gi)(f_{i},g_{i}).

To justify the claim, we first realize (23) and (24) with yi:=azi+z˙iy_{i}:=az_{i}+\dot{z}_{i} as

z˙i\displaystyle\dot{z}_{i} =azi+yi\displaystyle=-az_{i}+y_{i}
y˙i\displaystyle\dot{y}_{i} =a2zi+ayifi(zi)yi+afi(zi)zigi(zi)+kj𝒩iαij(yjyi),\displaystyle=-a^{2}z_{i}+ay_{i}-f_{i}(z_{i})y_{i}+af_{i}(z_{i})z_{i}-g_{i}(z_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(y_{j}-y_{i}),

and compute its blended dynamics (21) as

z^˙i\displaystyle\dot{\hat{z}}_{i} =az^i+s,i𝒩,\displaystyle=-a\hat{z}_{i}+s,\qquad i\in\mathcal{N}, (26)
s˙\displaystyle\dot{s} =a2(1Ni=1Nz^i)+as(1Ni=1Nfi(z^i))s+a(1Ni=1Nfi(z^i)z^i)(1Ni=1Ngi(z^i)).\displaystyle=-a^{2}\left(\frac{1}{N}\sum_{i=1}^{N}\hat{z}_{i}\right)+as-\left(\frac{1}{N}\sum_{i=1}^{N}f_{i}(\hat{z}_{i})\right)s+a\left(\frac{1}{N}\sum_{i=1}^{N}f_{i}(\hat{z}_{i})\hat{z}_{i}\right)-\left(\frac{1}{N}\sum_{i=1}^{N}g_{i}(\hat{z}_{i})\right).

To see whether this (N+1)(N+1)-th order blended dynamics has a stable limit cycle, we observe that, with a>0a>0, all z^i(t)\hat{z}_{i}(t) converge exponentially to a common trajectory z^(t)\hat{z}(t) as time goes on. Therefore, if the blended dynamics has a stable limit cycle, which is an invariant set, it has to be on the synchronization manifold 𝒮\mathcal{S} defined as

𝒮:={col(z^,,z^,s¯)N+1:col(z^,s¯)2}.\mathcal{S}:=\left\{{\rm col}(\hat{z},\dots,\hat{z},\bar{s})\in\mathbb{R}^{N+1}:{\rm col}(\hat{z},\bar{s})\in\mathbb{R}^{2}\right\}.

Projecting the blended dynamics (26) to the synchronization manifold 𝒮\mathcal{S}, i.e., replacing z^i\hat{z}_{i} with z^\hat{z} in (26) for all i𝒩i\in\mathcal{N}, we obtain a second-order system

z^˙=az^+s,s˙=a2z^+asf^(z^)s+af^(z^)z^g^(z^).\displaystyle\begin{split}\dot{\hat{z}}&=-a\hat{z}+s,\\ \dot{s}&=-a^{2}\hat{z}+as-\hat{f}(\hat{z})s+a\hat{f}(\hat{z})\hat{z}-\hat{g}(\hat{z}).\end{split} (27)

Therefore, (27) should have a stable limit cycle if the blended dynamics has a stable limit cycle. It turns out that (27) is a realization of (25) by s=az+z˙s=az+\dot{z}, and thus, existence of a stable limit cycle for (25) is a necessary condition for the blended dynamics (26) to have a stable limit cycle. Further analysis, given in jingyuNOLCOS , proves that the converse is also true. Then, Theorem 3.2 holds with the limit cycle of (26) as the compact set 𝒜b{\mathcal{A}}_{b}, and thus, with a sufficiently large kk, all the vectors (zi(t),z˙i(t))(z_{i}(t),\dot{z}_{i}(t)) stay close to each other, and oscillate near the limit cycle of the averaged Liénard system (25). This property has been coined as ‘phase cohesiveness’ in Dorfler14 .

3.2 Distributed state estimation

Consider a linear system

χ˙=Sχn,o=[o1oN]=[G1GN]χ+[n1nN]=Gχ+n,oiqi\dot{\chi}=S\chi\;\in{\mathbb{R}}^{n},\quad o=\begin{bmatrix}o_{1}\\ \vdots\\ o_{N}\end{bmatrix}=\begin{bmatrix}G_{1}\\ \vdots\\ G_{N}\end{bmatrix}\chi+\begin{bmatrix}n_{1}\\ \vdots\\ n_{N}\end{bmatrix}=G\chi+n,\quad o_{i}\in{\mathbb{R}}^{q_{i}}

where χn\chi\in{\mathbb{R}}^{n} is the state to be estimated, oo is the measurement output, and nn is the measurement noise. It is supposed that there are NN distributed agents, and each agent ii can access the measurement oiqio_{i}\in{\mathbb{R}}^{q_{i}} only (where often qi=1q_{i}=1). We assume that the pair (G,S)(G,S) is detectable, while each pair (Gi,S)(G_{i},S) is not necessarily detectable as in bai2011distributed ; kim2016distributed . Each agent is allowed to communicate its internal state to its neighboring nodes. The question is how to construct a dynamic system for each node that estimates χ(t)\chi(t). See, e.g., mitra2016approach ; kim2016distributedlue for more details on this distributed state estimation problem.

To solve the problem, we first employ the detectability decomposition for each node, that is, for each pair (Gi,S)(G_{i},S). With pip_{i} being the dimension of the undetectable subspace of the pair (Gi,S)(G_{i},S), let [Zi,Wi][Z_{i},W_{i}] be an orthogonal matrix, where Zin×(npi)Z_{i}\in{\mathbb{R}}^{n\times(n-p_{i})} and Win×piW_{i}\in{\mathbb{R}}^{n\times p_{i}}, such that

[ZiTWiT]S[ZiWi]=[S¯i0],Gi[ZiWi]=[G¯i0]\begin{bmatrix}Z_{i}^{T}\\ W_{i}^{T}\end{bmatrix}S\begin{bmatrix}Z_{i}&W_{i}\end{bmatrix}=\begin{bmatrix}\bar{S}_{i}&0\\ *&*\end{bmatrix},\quad G_{i}\begin{bmatrix}Z_{i}&W_{i}\end{bmatrix}=\begin{bmatrix}\bar{G}_{i}&0\end{bmatrix}

and the pair (G¯i,S¯i)(\bar{G}_{i},\bar{S}_{i}) is detectable. Then, pick a matrix U¯i(npi)×qi\bar{U}_{i}\in{\mathbb{R}}^{(n-p_{i})\times q_{i}} such that S¯iU¯iG¯i\bar{S}_{i}-\bar{U}_{i}\bar{G}_{i} is Hurwitz. Now, individual agent ii can construct a local partial state observer, for instance, as

b˙i=S¯ibiU¯i(G¯ibioi)pi\displaystyle\dot{b}_{i}=\bar{S}_{i}b_{i}-\bar{U}_{i}(\bar{G}_{i}b_{i}-o_{i})\quad\in\mathbb{R}^{p_{i}} (28)

to collect the information of the state χ\chi as much as possible from the available measurement oio_{i} only; each agent ii can obtain a partial information bib_{i} about χ\chi in the sense that

bi=ZiTχ+zipi,i𝒩\displaystyle b_{i}=Z_{i}^{T}\chi+z_{i}\quad\in\mathbb{R}^{p_{i}},\quad i\in\mathcal{N} (29)

where ziz_{i} denotes the estimation error that converges to zero by (28) if ni=0n_{i}=0. When we collect (29) and write them as

b=[b1bN]=[Z1TZNT]χ+[z1zN]=:Aχ+z,\displaystyle b=\begin{bmatrix}b_{1}\\ \vdots\\ b_{N}\end{bmatrix}=\begin{bmatrix}Z_{1}^{T}\\ \vdots\\ Z_{N}^{T}\end{bmatrix}\chi+\begin{bmatrix}z_{1}\\ \vdots\\ z_{N}\end{bmatrix}=:A\chi+z, (30)

detectability of (G,S)(G,S) implies that col(Z1T,,ZNT)=A{\rm col}(Z_{1}^{T},\dots,Z_{N}^{T})=A has full-column rank. Therefore, the least-squares solution χ^(t)\hat{\chi}(t) of Aχ^(t)=b(t)A\hat{\chi}(t)=b(t) can generate a unique estimate of χ(t)\chi(t). This reminds us of the problem in Section 2.2; finding the least-squares solution in a distributed manner.

Based on the discussion above, we propose a distributed state estimator for the given linear system as

χ^˙i\displaystyle\dot{\hat{\chi}}_{i} =Sχ^iκZi(ZiTχ^ibi)+kj𝒩iαij(χ^jχ^i)n,i𝒩,\displaystyle=S\hat{\chi}_{i}-\kappa Z_{i}(Z_{i}^{T}\hat{\chi}_{i}-b_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(\hat{\chi}_{j}-\hat{\chi}_{i})\quad\in{\mathbb{R}}^{n},\quad i\in\mathcal{N}, (31)

where bib_{i} comes from (28), and both κ\kappa and kk are design parameters. Note that the least-squares solution χ^\hat{\chi} for Aχ^(t)=b(t)A\hat{\chi}(t)=b(t) is time-varying, and so, in order to have asymptotic convergence of χ^i(t)\hat{\chi}_{i}(t) to χ(t)\chi(t) (when there is no noise nn), we had to add the generating model of χ(t)\chi(t) in (31), inspired by the internal model principle.

To justisfy the proposed distributed state estimator (28) and (31), let us denote the state estimation error as yi:=χ^iχy_{i}:=\hat{\chi}_{i}-\chi, then we obtain the error dynamics for the partial state observer (28) and the distributed observer (31) as

z˙i=(S¯iU¯iG¯i)zi+U¯iniy˙i=SyiκZi(ZiTyizi)+kj𝒩iαij(yjyi),i𝒩.\displaystyle\begin{split}\dot{z}_{i}&=(\bar{S}_{i}-\bar{U}_{i}\bar{G}_{i})z_{i}+\bar{U}_{i}n_{i}\\ \dot{y}_{i}&=Sy_{i}-\kappa Z_{i}(Z_{i}^{T}y_{i}-z_{i})+k\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(y_{j}-y_{i}),\qquad i\in{\mathcal{N}}.\end{split} (32)

The blended dynamics (21) is obtained as

z^˙i\displaystyle\dot{\hat{z}}_{i} =(S¯iU¯iG¯i)z^i+U¯ini\displaystyle=(\bar{S}_{i}-\bar{U}_{i}\bar{G}_{i})\hat{z}_{i}+\bar{U}_{i}n_{i}
s˙\displaystyle\dot{s} =SsκNi=1NZi(ZiTsz^i)=(SκNATA)s+κNAT[z^1z^N].\displaystyle=Ss-\frac{\kappa}{N}\sum_{i=1}^{N}Z_{i}(Z_{i}^{T}s-\hat{z}_{i})=\left(S-\frac{\kappa}{N}A^{T}A\right)s+\frac{\kappa}{N}A^{T}\begin{bmatrix}\hat{z}_{1}\\ \vdots\\ \hat{z}_{N}\end{bmatrix}. (33)

For a sufficiently large gain κ\kappa, the blended dynamics (3.2) becomes contractive, and thus, Theorem 3.1 guarantees that the error variables (zi(t),yi(t))(z_{i}(t),y_{i}(t)) of (32) behave like (z^i(t),s(t))(\hat{z}_{i}(t),s(t)) of (3.2). Moreover, if there is no noise nn, Theorem 3.2 asserts that all the estimation errors (zi(t),yi(t))(z_{i}(t),y_{i}(t)), i𝒩i\in{\mathcal{N}}, converge to zero because 𝒜x={0}{\mathcal{A}}_{x}=\{0\}. Even with the noise nn, the proposed observer achieves almost best possible estimate whose detail can be found in JGLeeLCSS20 .

4 General description of the blended dynamics

Now, we extend our approach to the most general setting—a heterogeneous multi-agent systems under rank-deficient diffusive coupling law given by

x˙i=fi(t,xi)+kBij𝒩iαij(xjxi),i𝒩,\displaystyle\dot{x}_{i}=f_{i}(t,x_{i})+kB_{i}\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}\left(x_{j}-x_{i}\right),\quad i\in\mathcal{N}, (34)

where the matrix BiB_{i} is positive semi-definite for each i𝒩i\in{\mathcal{N}}. For this network, by increasing the coupling gain kk, we can enforce synchronization of the states that correspond to the subspace

RB:=i=1Nim(Bi)n.R_{B}:=\bigcap_{i=1}^{N}\text{im}(B_{i})\quad\subset{\mathbb{R}}^{n}. (35)

In order to find the part of individual states that synchronize, let us follow the procedure:

  1. 1.

    Find Win×piW_{i}\in\mathbb{R}^{n\times p_{i}} and Zin×(npi)Z_{i}\in\mathbb{R}^{n\times(n-p_{i})} where pip_{i} is the rank of BiB_{i}, such that [WiZi][W_{i}\;Z_{i}] is an orthogonal matrix and

    [WiTZiT]Bi[WiZi]=[Λi2000]\displaystyle\begin{bmatrix}W_{i}^{T}\\ Z_{i}^{T}\end{bmatrix}B_{i}\begin{bmatrix}W_{i}&Z_{i}\end{bmatrix}=\begin{bmatrix}\Lambda_{i}^{2}&0\\ 0&0\end{bmatrix} (36)

    where Λipi×pi\Lambda_{i}\in\mathbb{R}^{p_{i}\times p_{i}} is positive definite. Let Wnet:=diag(W1,,WN){W}_{\text{net}}:={\rm diag}(W_{1},\dots,W_{N}), Znet:=diag(Z1,,ZN){Z}_{\text{net}}:={\rm diag}(Z_{1},\dots,Z_{N}), and Λnet:=diag(Λ1,,ΛN){\Lambda}_{\text{net}}:={\rm diag}(\Lambda_{1},\dots,\Lambda_{N}).

  2. 2.

    Find Vipi×psV_{i}\in{\mathbb{R}}^{p_{i}\times p_{s}} such that, with p¯:=i=1Npi\bar{p}:=\sum_{i=1}^{N}p_{i} and V:=col(V1,,VN)p¯×psV:={\rm col}(V_{1},\dots,V_{N})\in{\mathbb{R}}^{\bar{p}\times p_{s}}, the columns of VV are orthonormal vectors satisfying

    (In)WnetΛnetV=0n(N1)×ps(\mathcal{L}\otimes I_{n}){W}_{\text{net}}{\Lambda}_{\text{net}}V=0_{n(N-1)\times p_{s}} (37)

    where psp_{s} is the dimension of ker(In)WnetΛnet{\rm ker}(\mathcal{L}\otimes I_{n}){W}_{\text{net}}{\Lambda}_{\text{net}}, and {\mathcal{L}} is the graph Laplacian matrix.

  3. 3.

    Find V¯p¯×(p¯ps)\overline{V}\in{\mathbb{R}}^{\bar{p}\times(\bar{p}-p_{s})} such that [VV¯]p¯×p¯[V\;\overline{V}]\in{\mathbb{R}}^{\bar{p}\times\bar{p}} is an orthogonal matrix.

Proposition 1 (​lee2020tool )
  1. (i)

    psmin{p1,,pN}np_{s}\leq\min\{p_{1},\dots,p_{N}\}\leq n.

  2. (ii)

    All matrices WiΛiViW_{i}\Lambda_{i}V_{i} (i=1,,Ni=1,\cdots,N) are the same; so let us denote it by Mn×psM\in{\mathbb{R}}^{n\times p_{s}}, then rank(M)=ps{\rm rank}(M)=p_{s}, im(M)=RB{\rm im}(M)=R_{B}, and dim(RB)=ps\dim(R_{B})=p_{s}.

  3. (iii)

    Define

    Q:=V¯TΛnetWnetT(In)WnetΛnetV¯(p¯ps)×(p¯ps).Q:=\overline{V}^{T}{\Lambda}_{\rm net}{W}_{\rm net}^{T}(\mathcal{L}\otimes I_{n}){W}_{\rm net}{\Lambda}_{\rm net}\overline{V}\quad\in{\mathbb{R}}^{(\bar{p}-p_{s})\times(\bar{p}-p_{s})}.

    Then, QQ is positive definite.

Now, we introduce a linear coordinate change by which the state xix_{i} of individual agent is split into ZiTxiZ_{i}^{T}x_{i} and WiTxiW_{i}^{T}x_{i}. In particular, the sub-state zi:=ZiTxiz_{i}:=Z_{i}^{T}x_{i} is the projected component of xix_{i} on im(Zi){\rm im}(Z_{i}), and has no direct interconnection with the neighbors as its dynamics is given by

z˙i=ZiTfi(t,xi),i𝒩.\dot{z}_{i}=Z_{i}^{T}f_{i}(t,x_{i}),\qquad i\in{\mathcal{N}}. (38)

On the other hand, the sub-state WiTxiW_{i}^{T}x_{i} is split once more into si:=ViTΛi1WiTxipss_{i}:=V_{i}^{T}\Lambda_{i}^{-1}W_{i}^{T}x_{i}\in{\mathbb{R}}^{p_{s}} and the other part. (In fact, sis_{i} determines the behavior of the individual agent in the subspace RBR_{B} in the sense that MsiRBMs_{i}\in R_{B}.) With a sufficiently large kk, these sis_{i} are enforced to synchronize to s:=(1/N)i=1Nsi=(1/N)i=1NViTΛi1WiTxis:=(1/N)\sum_{i=1}^{N}s_{i}=(1/N)\sum_{i=1}^{N}V_{i}^{T}\Lambda_{i}^{-1}W_{i}^{T}x_{i}, which is governed by

s˙=1Ni=1NViTΛi1WiTfi(t,xi).\dot{s}=\frac{1}{N}\sum_{i=1}^{N}V_{i}^{T}\Lambda_{i}^{-1}W_{i}^{T}f_{i}(t,x_{i}). (39)

To see this, let us consider a coordinate change for the whole multi-agent system (34):

[zsw]=[ZnetT(1/N)VTΛnet1WnetTQ1V¯TΛnetWnetT(In)][x1xN]\displaystyle\begin{bmatrix}z\\ s\\ w\end{bmatrix}=\begin{bmatrix}Z_{\text{net}}^{T}\\ (1/N)V^{T}\Lambda_{\text{net}}^{-1}W_{\text{net}}^{T}\\ Q^{-1}\overline{V}^{T}\Lambda_{\text{net}}W_{\text{net}}^{T}(\mathcal{L}\otimes I_{n})\end{bmatrix}\begin{bmatrix}x_{1}\\ \vdots\\ x_{N}\end{bmatrix} (40)

where w(N1)ps+i=1N(pips)w\in{\mathbb{R}}^{(N-1)p_{s}+\sum_{i=1}^{N}(p_{i}-p_{s})} collects all the components both in col(s1,,sN){\rm col}(s_{1},\dots,s_{N}) that are left after taking s=(1/N)1NTcol(s1,,sN)pss=(1/N)1_{N}^{T}{\rm col}(s_{1},\dots,s_{N})\in{\mathbb{R}}^{p_{s}}, and in WiTxiW_{i}^{T}x_{i} that are left after taking si=ViTΛi1WiTxis_{i}=V_{i}^{T}\Lambda_{i}^{-1}W_{i}^{T}x_{i}. It turns out that the governing equation for ww is

1kw˙=Qw+1kQ1V¯TΛnetWnetT(In)[f1(t,x1)fN(t,xN)].\frac{1}{k}\dot{w}=-Qw+\frac{1}{k}Q^{-1}\overline{V}^{T}\Lambda_{\text{net}}W_{\text{net}}^{T}(\mathcal{L}\otimes I_{n})\begin{bmatrix}f_{1}(t,x_{1})\\ \vdots\\ f_{N}(t,x_{N})\end{bmatrix}. (41)

Then, it is clear that the system (38), (39), and (41) is in the standard form of singular perturbation. Since the inverse of (40) is given (in lee2020tool ) by

[x1xN]=(ZnetWnetΛnetL)z+NWnetΛnetVs+WnetΛnetV¯w\displaystyle\begin{bmatrix}x_{1}\\ \vdots\\ x_{N}\end{bmatrix}=(Z_{\text{net}}-W_{\text{net}}\Lambda_{\text{net}}L)z+NW_{\text{net}}\Lambda_{\text{net}}Vs+W_{\text{net}}\Lambda_{\text{net}}\overline{V}w

where Lp¯×(nNp¯)L\in\mathbb{R}^{\bar{p}\times(nN-\bar{p})} is defined as

L=col(L1,,LN):=V¯Q1V¯TΛnetWnetT(In)ZnetL={\rm col}(L_{1},\dots,L_{N}):=\overline{V}Q^{-1}\overline{V}^{T}{\Lambda}_{\text{net}}{W}_{\text{net}}^{T}(\mathcal{L}\otimes I_{n}){Z}_{\text{net}}

with Lipi×(nNp¯)L_{i}\in\mathbb{R}^{p_{i}\times(nN-\bar{p})}, the quasi-steady-state subsystem (that is, the blended dynamics) becomes

z^˙i=ZiTfi(t,Ziz^iWiΛiLiz^+NMs),i𝒩s˙=1Ni=1NViTΛi1WiTfi(t,Ziz^iWiΛiLiz^+NMs)\displaystyle\begin{split}\dot{\hat{z}}_{i}&=Z_{i}^{T}f_{i}(t,Z_{i}\hat{z}_{i}-W_{i}\Lambda_{i}L_{i}\hat{z}+NMs),\quad i\in\mathcal{N}\\ \dot{s}&=\frac{1}{N}\sum_{i=1}^{N}V_{i}^{T}\Lambda_{i}^{-1}W_{i}^{T}f_{i}(t,Z_{i}\hat{z}_{i}-W_{i}\Lambda_{i}L_{i}\hat{z}+NMs)\end{split} (42)

where z^=col(z^1,,z^N)\hat{z}={\rm col}(\hat{z}_{1},\dots,\hat{z}_{N}).

Theorem 4.1 (​lee2020tool )

Assume that the blended dynamics (42) is contractive. Then, for any compact set KK and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(x1(t0),,xN(t0))K{\rm col}(x_{1}(t_{0}),\dots,x_{N}(t_{0}))\in K, the solution to (34) exists for all tt0t\geq t_{0}, and satisfies

lim suptxi(t)(Ziz^i(t)WiΛiLiz^(t)+NMs(t))η,i𝒩.\displaystyle\limsup_{t\to\infty}\left\|x_{i}(t)-(Z_{i}\hat{z}_{i}(t)-W_{i}\Lambda_{i}L_{i}\hat{z}(t)+NMs(t))\right\|\leq\eta,\qquad\forall i\in{\mathcal{N}}.
Theorem 4.2 (​lee2020tool )

Assume that there is a nonempty compact set 𝒜b\mathcal{A}_{b} that is uniformly asymptotically stable for the blended dynamics (42). Let 𝒟b𝒜b\mathcal{D}_{b}\supset\mathcal{A}_{b} be an open subset of the domain of attraction of 𝒜b\mathcal{A}_{b}, and let

𝒜x\displaystyle\mathcal{A}_{x} :={(ZnetWnetΛnetL)z^+N(1NM)s:col(z^,s)𝒜b},\displaystyle:=\left\{(Z_{\rm net}-W_{\rm net}\Lambda_{\rm net}L)\hat{z}+N(1_{N}\otimes M)s:{\rm col}(\hat{z},s)\in\mathcal{A}_{b}\right\},
𝒟x\displaystyle\mathcal{D}_{x} :={(ZnetWnetΛnetL)z^+N(1NM)s+WnetΛnetV¯w:[z^s]𝒟b,wp¯ps}.\displaystyle:=\left\{(Z_{\rm net}-W_{\rm net}\Lambda_{\rm net}L)\hat{z}+N(1_{N}\otimes M)s+W_{\rm net}\Lambda_{\rm net}\overline{V}w:\begin{bmatrix}\hat{z}\\ s\end{bmatrix}\in\mathcal{D}_{b},w\in\mathbb{R}^{\bar{p}-p_{s}}\right\}.

Then, for any compact set K𝒟xK\subset\mathcal{D}_{x} and for any η>0\eta>0, there exists k>0k^{*}>0 such that, for each k>kk>k^{*} and col(x1(t0),,xN(t0))K{\rm col}(x_{1}(t_{0}),\dots,x_{N}(t_{0}))\in K, the solution to (34) exists for all tt0t\geq t_{0}, and satisfies

lim suptcol(x1(t),,xN(t))𝒜xη.\displaystyle\limsup_{t\to\infty}\left\|{\rm col}(x_{1}(t),\dots,x_{N}(t))\right\|_{\mathcal{A}_{x}}\leq\eta. (43)

If, in addition, 𝒜b\mathcal{A}_{b} is locally exponentially stable for the blended dynamics (42) and,

V¯TΛnetWnetT(In)[f1(t,x1)fN(t,xN)]=0,\displaystyle\overline{V}^{T}\Lambda_{\rm net}W_{\rm net}^{T}(\mathcal{L}\otimes I_{n})\begin{bmatrix}f_{1}(t,x_{1})\\ \vdots\\ f_{N}(t,x_{N})\end{bmatrix}=0, (44)

for all col(x1,,xN)𝒜x{\rm col}(x_{1},\dots,x_{N})\in\mathcal{A}_{x} and tt, then we have more than (43) as

limtcol(x1(t),,xN(t))𝒜x=0.\lim_{t\to\infty}\left\|{\rm col}(x_{1}(t),\dots,x_{N}(t))\right\|_{\mathcal{A}_{x}}=0.

4.1 Distributed state observer with rank-deficient coupling

We revisit the distributed state estimation problem discussed in Section 3.2 with the following agent dynamics, which has less dimension than (28) and (31):

χ^˙i=Sχ^i+Ui(oiGiχ^i)+kWiWiTj=1Nαij(χ^jχ^i)\displaystyle\dot{\hat{\chi}}_{i}=S\hat{\chi}_{i}+U_{i}(o_{i}-G_{i}\hat{\chi}_{i})+kW_{i}W_{i}^{T}\sum_{j=1}^{N}\alpha_{ij}(\hat{\chi}_{j}-\hat{\chi}_{i}) (45)

where Ui:=ZiU¯iU_{i}:=Z_{i}\bar{U}_{i} and kk is sufficiently large. Here, the first two terms on the right-hand side look like a typical state observer, but due to the lack of detectability of (Gi,S)(G_{i},S), it cannot yield stable error dynamics. Therefore, the diffusive coupling of the third term exchanges the internal state with the neighbors, compensating for the lack of information on the undetectable parts. Recalling that WiTχW_{i}^{T}\chi represents the undetectable components of χ\chi by oio_{i} in the decomposition given in Section 3.2, it is noted that the coupling term compensates only the undetectable portion in the observer. As a result, the coupling matrix WiWiTW_{i}W_{i}^{T} is rank-deficient in general. This point is in sharp contrast to the previous results such as kim2016distributedlue , where the coupling term is nonsingular so that the design is more complicated.

With xi:=χ^iχx_{i}:=\hat{\chi}_{i}-\chi and Bi=WiWiTB_{i}=W_{i}W_{i}^{T}, the error dynamics becomes

x˙i=(SUiGi)xi+Uini+kBij=1Nαij(xjxi),i𝒩.\dot{x}_{i}=(S-U_{i}G_{i})x_{i}+U_{i}n_{i}+kB_{i}\sum_{j=1}^{N}\alpha_{ij}(x_{j}-x_{i}),\qquad i\in{\mathcal{N}}.

This is precisely the multi-agent system (34), where in this case the matrices ZiZ_{i} and WiW_{i} have implications related to detectable decomposition. In particular, from the detectability of the pair (G,S)(G,S), it is seen that i=1Nim(Wi)=i=1Nker(ZiT)={0}\cap_{i=1}^{N}{\rm im}(W_{i})=\cap_{i=1}^{N}\ker(Z_{i}^{T})=\{0\} (which corresponds to RBR_{B} in (35)), by the fact that ker(ZiT)\ker(Z_{i}^{T}) is the undetectable subspace of the pair (Gi,S)(G_{i},S). This implies that ps=0p_{s}=0, VV is null, and thus, V¯\overline{V} can be chosen as the identity matrix. With them, the blended dynamics (42) is given by, with the state ss being null,

z^˙i\displaystyle\dot{\hat{z}}_{i} =ZiT(SUiGi)(Ziz^iWiΛiLiz^)+ZiTUini\displaystyle=Z_{i}^{T}(S-U_{i}G_{i})(Z_{i}\hat{z}_{i}-W_{i}\Lambda_{i}L_{i}\hat{z})+Z_{i}^{T}U_{i}n_{i}
=(ZiTSU¯iG¯iZiT)(Ziz^iWiΛiLiz^)+U¯ini=(S¯iU¯iG¯i)z^i+U¯ini,i𝒩.\displaystyle=(Z_{i}^{T}S-\bar{U}_{i}\bar{G}_{i}Z_{i}^{T})(Z_{i}\hat{z}_{i}-W_{i}\Lambda_{i}L_{i}\hat{z})+\bar{U}_{i}n_{i}=(\bar{S}_{i}-\bar{U}_{i}\bar{G}_{i})\hat{z}_{i}+\bar{U}_{i}n_{i},\quad i\in{\mathcal{N}}.

Since S¯iU¯iG¯i\bar{S}_{i}-\bar{U}_{i}\bar{G}_{i} is Hurwitz for all ii, the blended dynamics is contractive and Theorem 4.1 asserts that the estimation error xi(t)x_{i}(t) behaves like Ziz^i(t)Z_{i}\hat{z}_{i}(t), with a sufficiently large kk. Moreover, if there is no measurement noise, then the set 𝒜b={0}nNp¯{\mathcal{A}}_{b}=\{0\}\subset{\mathbb{R}}^{nN-\bar{p}} is globally exponentially stable for the blended dynamics. Then, Theorem 4.2 asserts that the proposed distributed state observer exponentially finds the correct estimate with a sufficiently large kk because (44) holds with 𝒜x={0}nN{\mathcal{A}}_{x}=\{0\}\subset{\mathbb{R}}^{nN}.

5 Robustness of emergent collective behavior

When a product is manufactured in a factory, or some cells and organs are produced in an organism, a certain level of variance is inevitable due to imperfection of the production process. In this case, how to reduce the variance in the outcomes if improving the process itself is not easy or even impossible?

We have seen throughout the chapter, the emergent collective behavior of the network involves averaging the vector fields of individual agents; that is, the network behavior is governed by the blended dynamics if the coupling strength is sufficiently large. Therefore, even if the individual agents are created with relatively large variance from their reference model, its blended dynamics can have smaller variance because of the averaging effect. Then, when the coupling gain is large, all the agents, which were created with large variance, can behave like an agent that is created with small variance.

In this section, we illustrate this point. In particular, we simulate a network of pacemaker cells under a single conduction line. The nominal behavior of a pacemaker cell is given in dos2004rhythm as

z¨+(1.45z22.465z0.551)z˙+z=0\ddot{z}+(1.45z^{2}-2.465z-0.551)\dot{z}+z=0 (46)

which is a Liénard system considered in Section 3.1 that has a stable limit cycle. Now, suppose that a group of pacemaker cells are produced with some uncertainty so that they are represented as

z¨i+fi(zi)z˙i+gi(zi)=ui,i=1,,N,\ddot{z}_{i}+f_{i}(z_{i})\dot{z}_{i}+g_{i}(z_{i})=u_{i},\qquad i=1,\dots,N,

where

fi(zi)\displaystyle f_{i}(z_{i}) =0.1Δi1zi3+(1.45+Δi2)zi2(2.465+Δi3)zi(0.551+Δi4)\displaystyle=0.1\Delta_{i}^{1}z_{i}^{3}+(1.45+\Delta_{i}^{2})z_{i}^{2}-(2.465+\Delta_{i}^{3})z_{i}-(0.551+\Delta_{i}^{4})
gi(zi)\displaystyle g_{i}(z_{i}) =(1+Δi5)zi+0.1Δi6zi2\displaystyle=(1+\Delta_{i}^{5})z_{i}+0.1\Delta_{i}^{6}z_{i}^{2}

in which, all Δil\Delta_{i}^{l} are randomly chosen from a distribution of zero mean and unit variance. With ui=kj𝒩i(z˙j+zjz˙izi)u_{i}=k\sum_{j\in{\mathcal{N}}_{i}}(\dot{z}_{j}+z_{j}-\dot{z}_{i}-z_{i}), the blended dynamics of the group of pacemaker is given as the averaged Liénard system (25) with

f^(z)\displaystyle\hat{f}(z) =0.1Δ¯1z3+(1.45+Δ¯2)z2(2.465+Δ¯3)z(0.551+Δ¯4)\displaystyle=0.1\bar{\Delta}^{1}z^{3}+(1.45+\bar{\Delta}^{2})z^{2}-(2.465+\bar{\Delta}^{3})z-(0.551+\bar{\Delta}^{4})
g^(z)\displaystyle\hat{g}(z) =(1+Δ¯5)z+0.1Δ¯6z2\displaystyle=(1+\bar{\Delta}^{5})z+0.1\bar{\Delta}^{6}z^{2}

where Δ¯l=(1/N)i=1NΔil\bar{\Delta}^{l}=(1/N)\sum_{i=1}^{N}\Delta_{i}^{l} whose expectation is zero and variance is 1/N1/N. By the Chebyshev’s theorem in probability, it is seen that the behavior of the blended dynamics recovers that of (46) almost surely as NN tends to infinity. It is emphasized that some agent may not have a stable limit cycle depending on their random selection of Δil\Delta_{i}^{l}, but the network can still exhibit oscillatory behavior, and the frequency and the shape of oscillation becomes more robust as the number of agents gets large.

Fig. 1 shows the simulation results of the pacemaker network when the number of agents are 10, 100, and 1000, respectively. For example, we randomly generated the network for N=10N=10 three times independently, and plotted their behavior in Fig. 1(a), (b), and (c), respectively. It is seen that the variation is large in this case and Fig. 1(b) even shows the case that no stable limit cycle exists. On the other hand, in the case when N=1000N=1000, the randomly generated networks exhibit rather uniform behavior as in Fig. 1(g), (h), and (i). For the simulation, the initial condition is zi(0)=z˙i(0)=1z_{i}(0)=\dot{z}_{i}(0)=1, the coupling gain is k=50k=50, and the graph has all-to-all connection.

We refer the reader to kim2016robustness for more discussions in this direction.

Refer to caption
(a) N=10N=10
Refer to caption
(b) N=10N=10
Refer to caption
(c) N=10N=10
Refer to caption
(d) N=100N=100
Refer to caption
(e) N=100N=100
Refer to caption
(f) N=100N=100
Refer to caption
(g) N=1000N=1000
Refer to caption
(h) N=1000N=1000
Refer to caption
(i) N=1000N=1000
Figure 1: Simulation results of randomly generated pacemaker networks. Initial condition is (1,1)(1,1) for all cases.

6 More than linear coupling

Until now, we have considered linear diffusive couplings with constant strength kk. In this section, let us consider two particular nonlinear couplings; edge-wise and node-wise funnel couplings, whose coupling strength varies as a nonlinear function of time and the differences between the states.

6.1 Edge-wise funnel coupling

The coupling law to be considered is inspired by the so-called funnel controller ilchmann2002tracking . For the multi-agent system

x˙i=fi(t,xi)+ui,i𝒩,\dot{x}_{i}=f_{i}(t,x_{i})+u_{i}\quad\in{\mathbb{R}},\quad i\in{\mathcal{N}},

let us consider the following edge-wise funnel coupling law, with νij:=xjxi\nu_{ij}:=x_{j}-x_{i},

ui(t,{νij,j𝒩i})\displaystyle u_{i}(t,\{\nu_{ij},j\in{\mathcal{N}}_{i}\}) :=j𝒩iγij(|νij|ψij(t))νijψij(t)\displaystyle:=\sum_{j\in\mathcal{N}_{i}}\gamma_{ij}\left(\frac{|\nu_{ij}|}{\psi_{ij}(t)}\right)\frac{\nu_{ij}}{\psi_{ij}(t)} (47)

where each function ψij:[t0,)>0\psi_{ij}:[t_{0},\infty)\to\mathbb{R}_{>0} is positive, bounded, and differentiable with bounded derivative, and the gain functions γij:[0,1)0\gamma_{ij}:[0,1)\to\mathbb{R}_{\geq 0} are strictly increasing and unbounded as s1s\to 1. We assume the symmetry of coupling functions; that is, ψij=ψji\psi_{ij}=\psi_{ji} and γij=γji\gamma_{ij}=\gamma_{ji} for all i𝒩i\in\mathcal{N} and j𝒩ij\in\mathcal{N}_{i} (or, equivalently, j𝒩j\in{\mathcal{N}}, i𝒩ji\in{\mathcal{N}}_{j} because of the symmetry of the graph). A possible choice for γij\gamma_{ij} and ψij\psi_{ij} is

γij(s)=11s and ψij(t)=(ψ¯η)eλ(tt0)+η,\gamma_{ij}(s)=\frac{1}{1-s}\quad\text{ and }\quad\psi_{ij}(t)=(\overline{\psi}-\eta)e^{-\lambda(t-t_{0})}+\eta,

where ψ¯,λ,η>0\overline{\psi},\lambda,\eta>0.

With the funnel coupling (47), it is shown in jgleeECC that, under the assumption that no finite escape time exists, the state difference νij(t)\nu_{ij}(t) evolves within the funnel:

ψij:={(t,νij):|νij|<ψij(t)}\mathcal{F}_{\psi_{ij}}:=\left\{(t,\nu_{ij}):|\nu_{ij}|<\psi_{ij}(t)\right\}

if |νij(t0)|<ψij(t0)|\nu_{ij}(t_{0})|<\psi_{ij}(t_{0}), i𝒩\forall i\in{\mathcal{N}}, j𝒩ij\in{\mathcal{N}}_{i}, as can be seen in Fig. 2. Therefore, approximate synchronization of arbitrary precision can be achieved with arbitrarily small η>0\eta>0 such that lim suptψij(t)η\limsup_{t\to\infty}\psi_{ij}(t)\leq\eta. Indeed, due to the connectivity of the graph, it follows from lim supt|νij(t)|η\limsup_{t\to\infty}|\nu_{ij}(t)|\leq\eta, i𝒩\forall i\in{\mathcal{N}}, j𝒩ij\in{\mathcal{N}}_{i}, that

lim supt|xj(t)xi(t)|dη,i,j𝒩\limsup_{t\to\infty}|x_{j}(t)-x_{i}(t)|\leq d\eta,\qquad\forall i,j\in{\mathcal{N}} (48)

where dd is the diameter of the graph. For the complete graph, we have d=1d=1.

ttψij(t)\psi_{ij}(t)ψij(t)-\psi_{ij}(t)ψij\mathcal{F}_{\psi_{ij}}νij(t)\nu_{ij}(t)
Figure 2: State difference νij\nu_{ij} evolves within the funnel ψij\mathcal{F}_{\psi_{ij}} so that the synchronization error can be prescribed by the shape of the funnel.

Here, we note that, by the symmetry of ψij\psi_{ij} and γij\gamma_{ij} and by the symmetry of the graph, it holds that

i=1Nui\displaystyle\sum_{i=1}^{N}u_{i} =i=1Nj𝒩iγij(|νij|ψij(t))νijψij=i=1Nj𝒩iγji(|νji|ψji(t))νjiψji\displaystyle=\sum_{i=1}^{N}\sum_{j\in{\mathcal{N}}_{i}}\gamma_{ij}\left(\frac{|\nu_{ij}|}{\psi_{ij}(t)}\right)\frac{\nu_{ij}}{\psi_{ij}}=-\sum_{i=1}^{N}\sum_{j\in{\mathcal{N}}_{i}}\gamma_{ji}\left(\frac{|\nu_{ji}|}{\psi_{ji}(t)}\right)\frac{\nu_{ji}}{\psi_{ji}}
=j=1Ni𝒩jγji(|νji|ψji(t))νjiψji=j=1Nuj.\displaystyle=-\sum_{j=1}^{N}\sum_{i\in{\mathcal{N}}_{j}}\gamma_{ji}\left(\frac{|\nu_{ji}|}{\psi_{ji}(t)}\right)\frac{\nu_{ji}}{\psi_{ji}}=-\sum_{j=1}^{N}u_{j}.

Therefore, we have that

0=i=1Nui=i=1N(x˙i(t)fi(t,xi(t)))0=\sum_{i=1}^{N}u_{i}=\sum_{i=1}^{N}(\dot{x}_{i}(t)-f_{i}(t,x_{i}(t))) (49)

which holds regardless whether synchronization is achieved or not. If all xix_{i}’s are synchronized whatsoever such that xi(t)=s(t)x_{i}(t)=s(t) by a common trajectory s(t)s(t), it implies that x˙i=fi(t,s)+ui=s˙\dot{x}_{i}=f_{i}(t,s)+u_{i}=\dot{s} for all i𝒩i\in{\mathcal{N}}; i.e., ui(t)u_{i}(t) compensates the term fi(t,s(t))f_{i}(t,s(t)) so that all x˙i(t)\dot{x}_{i}(t)’s become the same s˙\dot{s}. Hence, (49) implies that

s˙=1Ni=1Nfi(t,s)=:fs(t,s).\dot{s}=\frac{1}{N}\sum_{i=1}^{N}f_{i}(t,s)=:f_{s}(t,s). (50)

In other words, enforcing synchronization under the condition (49) yields an emergent behavior for xi(t)=s(t)x_{i}(t)=s(t), governed by the blended dynamics (50). In practice, the funnel coupling (47) enforces approximate synchronization as in (48), and thus, the behavior of the network is not exactly the same as (50) but can be shown to be close to it. More details are found in jgleeECC .

A utility of the edge-wise funnel coupling is for the decentralized design. It is because the common gain kk, whose threshold kk^{*} contains all the information about the graph and the individual vector fields of the agents, is not used. Therefore, the individual agent can self-construct their own dynamics when joining the network. (For example, if it is used for the distributed least-squares solver in Section 2.2, then the agent dynamics (11) can be constructed without any global information.) Indeed, when an agent joins the network, the agent can handshake with the agents to be connected, and communicate to set the function ψij(t)\psi_{ij}(t) so that the state difference νij\nu_{ij} at the moment of joining resides inside the funnel.

6.2 Node-wise funnel coupling

Motivated by the observation in the previous subsection that the enforced synchronization under the condition (49) gives rise to the emergent behavior of (50), let us illustrate how different nonlinear couplings may yield different emergent behavior. As a particular example, we consider the node-wise funnel coupling given by

ui(t,νi):=γi(|νi|ψi(t))νiψi(t)whereνi=j𝒩iαij(xjxi)u_{i}(t,\nu_{i}):=\gamma_{i}\left(\frac{|\nu_{i}|}{\psi_{i}(t)}\right)\frac{\nu_{i}}{\psi_{i}(t)}\quad\text{where}\quad\nu_{i}=\sum_{j\in\mathcal{N}_{i}}\alpha_{ij}(x_{j}-x_{i}) (51)

where each function ψi:[t0,)>0\psi_{i}:[t_{0},\infty)\to\mathbb{R}_{>0} is positive, bounded, and differentiable with bounded derivative, and the gain functions γi:[0,1)0\gamma_{i}:[0,1)\to\mathbb{R}_{\geq 0} are strictly increasing and unbounded as s1s\to 1. A possible choice for γi\gamma_{i} and ψi\psi_{i} is

γi(s)={δstan(π2s),s>0π2δ,s=0andψi(t)=(ψ¯η)eλ(tt0)+η\gamma_{i}(s)=\begin{cases}\frac{\delta}{s}\tan\left(\frac{\pi}{2}s\right),&s>0\\ \frac{\pi}{2}\delta,&s=0\end{cases}\qquad\text{and}\quad\psi_{i}(t)=(\overline{\psi}-\eta)e^{-\lambda(t-t_{0})}+\eta (52)

where δ,ψ¯,λ,η>0\delta,\overline{\psi},\lambda,\eta>0.

With the funnel coupling (51), it is shown in lee2019synchronization that, under the assumption that no finite escape time exists, the quantity νi(t)\nu_{i}(t) evolves within the funnel ψi:={(t,νi):|νi|<ψi(t)}\mathcal{F}_{\psi_{i}}:=\left\{(t,\nu_{i}):|\nu_{i}|<\psi_{i}(t)\right\} if |νi(t0)|<ψi(t0)|\nu_{i}(t_{0})|<\psi_{i}(t_{0}), i𝒩\forall i\in{\mathcal{N}}. Therefore, approximate synchronization of arbitrary precision can be achieved with arbitrarily small η>0\eta>0 such that lim suptψi(t)η\limsup_{t\to\infty}\psi_{i}(t)\leq\eta. Indeed, due to the connectivity of the graph, it follows that

lim supt|xj(t)xi(t)|2Nλ2η,i,j𝒩\limsup_{t\to\infty}|x_{j}(t)-x_{i}(t)|\leq\frac{2\sqrt{N}}{\lambda_{2}}\eta,\qquad\forall i,j\in{\mathcal{N}} (53)

where λ2\lambda_{2} is the second smallest eigenvalue of {\mathcal{L}}.

Unlike the case of edge-wise funnel coupling, there is lack of symmetry so that the equality of (49) does not hold. However, assuming that the map ui(t,νi)u_{i}(t,\nu_{i}) from νi\nu_{i} to uiu_{i} is invertible (which is the case for (52) for example) such that there is a function ViV_{i} such that

νi=Vi(t,ui(t,νi)),t,νi,\nu_{i}=V_{i}(t,u_{i}(t,\nu_{i})),\qquad\forall t,\nu_{i},

we can instead make use of the symmetry in νi\nu_{i} as

i=1Nj𝒩iαij(xjxi)=i=1Nj𝒩iαji(xixj)=j=1Ni𝒩jαji(xixj),\sum_{i=1}^{N}\sum_{j\in{\mathcal{N}}_{i}}\alpha_{ij}(x_{j}-x_{i})=-\sum_{i=1}^{N}\sum_{j\in{\mathcal{N}}_{i}}\alpha_{ji}(x_{i}-x_{j})=-\sum_{j=1}^{N}\sum_{i\in{\mathcal{N}}_{j}}\alpha_{ji}(x_{i}-x_{j}),

which leads to

0=i=1Nνi=i=1NVi(t,ui(t,νi))=i=1NVi(t,x˙i(t)fi(t,xi(t))).0=\sum_{i=1}^{N}\nu_{i}=\sum_{i=1}^{N}V_{i}(t,u_{i}(t,\nu_{i}))=\sum_{i=1}^{N}V_{i}(t,\dot{x}_{i}(t)-f_{i}(t,x_{i}(t))). (54)

This holds regardless whether synchronization is achieved or not. If all xix_{i}’s are synchronized whatsoever such that xi(t)=s(t)x_{i}(t)=s(t) by a common trajectory s(t)s(t), it implies that x˙i(t)=fi(t,s)+ui(t)=s˙\dot{x}_{i}(t)=f_{i}(t,s)+u_{i}(t)=\dot{s} for all i𝒩i\in{\mathcal{N}}; i.e., ui(t)u_{i}(t) compensates the term fi(t,s)f_{i}(t,s) so that all x˙i\dot{x}_{i} are the same as s˙\dot{s}, which can be denoted by fs(t,s)=fi(t,s)+ui(t)f_{s}(t,s)=f_{i}(t,s)+u_{i}(t). Hence, (54) implies that

i=1NVi(t,fs(t,s)fi(t,s))=0.\sum_{i=1}^{N}V_{i}(t,f_{s}(t,s)-f_{i}(t,s))=0. (55)

In other words, (55) defines fs(t,s)f_{s}(t,s) implicitly, which yields the emergent behavior governed by

s˙=fs(t,s).\dot{s}=f_{s}(t,s). (56)

In practice, the funnel coupling (51) enforces approximate synchronization as in (53), and the behavior of the network is not exactly the same as (56) but it is shown in lee2019synchronization to be close to (56).

In order to illustrate that different emergent behavior may arise from various nonlinear couplings, let us consider the example of (52), for which the function ViV_{i} is given by

Vi(t,ui)=2ψi(t)πtan1(uiδ).V_{i}(t,u_{i})=\frac{2\psi_{i}(t)}{\pi}\tan^{-1}\left(\frac{u_{i}}{\delta}\right).

Assuming that all ψi\psi_{i}’s are the same, the emergent behavior s˙=fs(t,s)\dot{s}=f_{s}(t,s) can be found with fs(t,s)f_{s}(t,s) being the solution to

0=i=1Ntan1(fs(t,s)fi(t,s)δ).0=\sum_{i=1}^{N}\tan^{-1}\left(\frac{f_{s}(t,s)-f_{i}(t,s)}{\delta}\right).

If we let δ0\delta\to 0, then the above equality shares the solution with

0=i=1Nsgn(fs(t,s)fi(t,s)).0=\sum_{i=1}^{N}\text{sgn}\left(f_{s}(t,s)-f_{i}(t,s)\right).

Recalling the discussions in Section 2.3, it can be shown that fs(t,s)f_{s}(t,s) takes the median of all the individual vector fields fi(t,s)f_{i}(t,s), i=1,,Ni=1,\dots,N. Since taking median is a simple and effective way to reject outliers, this observation may find further applications in practice.

Acknowledgement

This work was supported by the National Research Foundation of Korea grant funded by the Korea government (Ministry of Science and ICT) under No. NRF-2017R1E1A1A03070342 and No. 2019R1A6A3A12032482. This is a preprint of the following chapter: Jin Gyu Lee and Hyungbo Shim, “Design of heterogeneous multi-agent system for distributed computation,” published in Trends in Nonlinear and Adaptive Control, edited by Zhong-Ping Jiang, Christophe Prieur, and Alessandro Astolfi, 2021, Springer reproduced with permission of Springer. The final authenticated version is available online at: http://dx.doi.org/10.1007/978-3-030-74628-5_4

References

  • (1) Olfati-Saber, R., Murray, R.M.: Consensus problems in networks of agents with switching topology and time-delays. IEEE Transactions on Automatic Control 49(9), 1520–1533 (2004)
  • (2) Moreau, L.: Stability of continuous-time distributed consensus algorithms. In: Proceedings of 43rd IEEE Conference on Decision and Control, pp. 3998–4003 (2004)
  • (3) Ren, W., Beard, R.W.: Consensus seeking in multiagent systems under dynamically changing interaction topologies. IEEE Transactions on Automatic Control 50(5), 655–661 (2005)
  • (4) Seo, J.H., Shim, H., Back, J.: Consensus of high-order linear systems using dynamic output feedback compensator: Low gain approach. Automatica 45(11), 2659–2664 (2009)
  • (5) Kim, H., Shim, H., Seo, J.H.: Output consensus of heterogeneous uncertain linear multi-agent systems. IEEE Transactions on Automatic Control 56(1), 200–206 (2011)
  • (6) De Persis, C., Jayawardhana, B.: On the internal model principle in formation control and in output synchronization of nonlinear systems. In: Proceedings of 51st IEEE Conference on Decision and Control, pp. 4894–4899 (2012)
  • (7) Isidori, A., Marconi, L., Casadei, G.: Robust output synchronization of a network of heterogeneous nonlinear agents via nonlinear regulation theory. IEEE Transactions on Automatic Control 59(10), 2680–2691 (2014)
  • (8) Su, Y., Huang, J.: Cooperative semi-global robust output regulation for a class of nonlinear uncertain multi-agent systems. Automatica 50(4), 1053–1065 (2014)
  • (9) Casadei, G., Astolfi, D.: Multipattern output consensus in networks of heterogeneous nonlinear agents with uncertain leader: A nonlinear regression approach. IEEE Transactions on Automatic Control 63(8), 2581–2587 (2017)
  • (10) Su, Y.: Semi-global output feedback cooperative control for nonlinear multi-agent systems via internal model approach. Automatica 103, 200–207 (2019)
  • (11) Zhang, M., Saberi, A., Stoorvogel, A.A., Grip, H.F.: Almost output synchronization for heterogeneous time-varying networks for a class of non-introspective, nonlinear agents without exchange of controller states. International Journal of Robust and Nonlinear Control 26(17), 3883–3899 (2016)
  • (12) DeLellis, P., Di Bernardo, M., Liuzza, D.: Convergence and synchronization in heterogeneous networks of smooth and piecewise smooth systems. Automatica 56, 1–11 (2015)
  • (13) Montenbruck, J.M., Bürger, M., Allgöwer, F.: Practical synchronization with diffusive couplings. Automatica 53, 235–243 (2015)
  • (14) Kim, J., Yang, J., Shim, H., Kim, J.-S., Seo, J.H.: Robustness of synchronization of heterogeneous agents by strong coupling and a large number of agents. IEEE Transactions on Automatic Control 61(10), 3096–3102 (2016)
  • (15) Panteley, E., Loría, A.: Synchronization and dynamic consensus of heterogeneous networked systems. IEEE Transactions on Automatic Control 62(8), 3758–3773 (2017)
  • (16) Lee, S., Yun, H., Shim, H.: Practical synchronization of heterogeneous multi-agent system using adaptive law for coupling gains. In: Proceedings of American Control Conference, pp. 454–459 (2018)
  • (17) Modares, H., Lewis, F.L., Kang, W., Davoudi, A.: Optimal synchronization of heterogeneous nonlinear systems with unknown dynamics. IEEE Transactions on Automatic Control 63(1), 117–131 (2017)
  • (18) Sanders, J.A., Verhulst, F.: Averaging Methods in Nonlinear Dynamical Systems. Springer-Verlag (1985)
  • (19) Lee, J.G., Shim, H.: A tool for analysis and synthesis of heterogeneous multi-agent systems under rank-deficient coupling. Automatica 117, 108952 (2020)
  • (20) Lohmiller, W., Slotine, J.J.E.: On contraction analysis for non-linear systems. Automatica 34(6), 683–696 (1998)
  • (21) Shames, I., Charalambous, T., Hadjicostis, C.N., Johansson, M.: Distributed network size estimation and average degree estimation and control in networks isomorphic to directed graphs. In: Proceedings of 50th Annual Allerton Conference on Communication, Control, and Computing, pp. 1885–1892 (2012)
  • (22) Lee, D., Lee, S., Kim, T., Shim, H.: Distributed algorithm for the network size estimation: Blended dynamics approach. In: Proceedings of 57th IEEE Conference on Decision and Control, pp. 4577–4582 (2018)
  • (23) Mou, S., Morse, A.S.: A fixed-neighbor, distributed algorithm for solving a linear algebraic equation. In: Proceedings of 12th European Control Conference, pp. 2269–2273 (2013)
  • (24) Mou, S., Liu, J., Morse, A.S.: A distributed algorithm for solving a linear algebraic equation. IEEE Transactions on Automatic Control 60(11), 2863–2878 (2015)
  • (25) Anderson, B.D.O., Mou, S., Morse, A.S., Helmke, U.: Decentralized gradient algorithm for solution of a linear equation. Numerical Algebra, Control & Optimization 6(3), 319–328 (2016)
  • (26) Wang, X., Zhou, J., Mou, S., Corless, M.J.: A distributed linear equation solver for least square solutions. In: Proceedings of 56th IEEE Conference on Decision and Control, pp. 5955–5960 (2017)
  • (27) Shi, G., Anderson, B.D.O.: Distributed network flows solving linear algebraic equations. In: Proceedings of American Control Conference, pp. 2864–2869 (2016)
  • (28) Shi, G., Anderson, B.D.O., Helmke, U.: Network flows that solve linear equations. IEEE Transactions on Automatic Control 62(6), 2659–2674 (2017)
  • (29) Liu, Y., Lou, Y., Anderson, B.D.O., Shi, G.: Network flows as least squares solvers for linear equations. In: Proceedings of 56th IEEE Conference on Decision and Control, pp. 1046–1051 (2017)
  • (30) Lee, J.G., Shim, H.: A distributed algorithm that finds almost best possible estimate under non-vanishing and time-varying measurement noise. IEEE Control Systems Letters 4(1), 229–234 (2020)
  • (31) Lee, J.G., Kim, J., Shim, H.: Fully distributed resilient state estimation based on distributed median solver. IEEE Transactions on Automatic Control 65(9), 3935–3942 (2020)
  • (32) Yun, H., Shim, H., Ahn, H.-S.: Initialization-free privacy-guaranteed distributed algorithm for economic dispatch problem. Automatica 102, 86–93 (2019)
  • (33) Lee, J.G., Shim, H.: Behavior of a network of heterogeneous Liénard systems under strong output coupling. In: Proceedings of 11th IFAC Symposium on Nonlinear Control Systems, pp. 342–347 (2019)
  • (34) Dörfler, F., Bullo, F: Synchronization in complex networks of phase oscillators: A survey. Automatica 50(6), 1539–1564 (2014)
  • (35) Bai, H., Freeman, R.A., Lynch, K.M.: Distributed Kalman filtering using the internal model average consensus estimator. In: Proceedings of American Control Conference, pp. 1500–1505 (2011)
  • (36) Kim, J., Shim, H., Wu, J.: On distributed optimal Kalman-Bucy filtering by averaging dynamics of heterogeneous agents. In: Proceedings of 55th IEEE Conference on Decision and Control, pp. 6309–6314 (2016)
  • (37) Mitra, A., Sundaram, S.: An approach for distributed state estimation of LTI systems. In: Proceedings of 54th Annual Allerton Conference on Communication, Control, and Computing, pp. 1088–1093 (2016)
  • (38) Kim, T., Shim, H., Cho, D.D.: Distributed Luenberger observer design. In: Proceedings of 55th IEEE Conference on Decision and Control, pp. 6928–6933 (2016)
  • (39) dos Santos, A.M., Lopes, S.R., Viana, R.L.: Rhythm synchronization and chaotic modulation of coupled Van der Pol oscillators in a model for the heartbeat. Physica A: Statistical Mechanics and its Applications 338(3-4), 335–355 (2004)
  • (40) Ilchmann, A., Ryan, E.P., Sangwin, C.J.: Tracking with prescribed transient behaviour. ESAIM: Control, Optimisation and Calculus of Variations 7, 471–493 (2002)
  • (41) Lee, J.G., Berger, T., Trenn, S., Shim, H.: Utility of edge-wise funnel coupling for asymptotically solving distributed consensus optimization. In: Proceedings of 19th European Control Conference, pp. 911–916 (2020)
  • (42) Lee, J.G., Trenn, S., Shim, H.: Synchronization with prescribed transient behavior: Heterogeneous multi-agent systems under funnel coupling. under review, available at: https://arxiv.org/abs/2012.14580 (2020)