NCS Lecture 8 A Primer on Graph Theory. Cooperative Control Applications

Similar documents
Lecture 4: Introduction to Graph Theory and Consensus. Cooperative Control Applications

Consensus Protocols for Networks of Dynamic Agents

Agreement Problems in Networks with Directed Graphs and Switching Topology

Consensus of Information Under Dynamically Changing Interaction Topologies

Average-Consensus of Multi-Agent Systems with Direct Topology Based on Event-Triggered Control

Complex Laplacians and Applications in Multi-Agent Systems

Optimal Network Topology Design in Multi-Agent Systems for Efficient Average Consensus

Stability Analysis of Stochastically Varying Formations of Dynamic Agents

On the convergence of weighted-average consensus

Consensus Seeking in Multi-agent Systems Under Dynamically Changing Interaction Topologies

Consensus Problems in Networks of Agents with Switching Topology and Time-Delays

Lecture 3: graph theory

Tracking control for multi-agent consensus with an active leader and variable topology

Consensus Seeking in Multi-agent Systems Under Dynamically Changing Interaction Topologies

Research on Consistency Problem of Network Multi-agent Car System with State Predictor

1520 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 49, NO. 9, SEPTEMBER Reza Olfati-Saber, Member, IEEE, and Richard M. Murray, Member, IEEE

MULTI-AGENT TRACKING OF A HIGH-DIMENSIONAL ACTIVE LEADER WITH SWITCHING TOPOLOGY

Structural Consensus Controllability of Singular Multi-agent Linear Dynamic Systems

Consensus Problem in Multi-Agent Systems with Communication Channel Constraint on Signal Amplitude

Scientific Computing WS 2018/2019. Lecture 9. Jürgen Fuhrmann Lecture 9 Slide 1

Consensus, Flocking and Opinion Dynamics

Kernels of Directed Graph Laplacians. J. S. Caughman and J.J.P. Veerman

Decentralized Stabilization of Heterogeneous Linear Multi-Agent Systems

Lecture 1 and 2: Introduction and Graph theory basics. Spring EE 194, Networked estimation and control (Prof. Khan) January 23, 2012

Zeno-free, distributed event-triggered communication and control for multi-agent average consensus

Multi-Hop Relay Protocols for Fast Consensus Seeking

Graph Theoretic Methods in the Stability of Vehicle Formations

Theory and Applications of Matrix-Weighted Consensus

Multi-Robotic Systems

Fast Linear Iterations for Distributed Averaging 1

Distributed Coordinated Tracking With Reduced Interaction via a Variable Structure Approach Yongcan Cao, Member, IEEE, and Wei Ren, Member, IEEE

An Introduction to Spectral Graph Theory

Markov Chains, Random Walks on Graphs, and the Laplacian

ON SEPARATION PRINCIPLE FOR THE DISTRIBUTED ESTIMATION AND CONTROL OF FORMATION FLYING SPACECRAFT

A Graph-Theoretic Characterization of Controllability for Multi-agent Systems

Convergence Properties of Dynamic Agents Consensus Networks with Broken Links

Consensus Tracking for Multi-Agent Systems with Nonlinear Dynamics under Fixed Communication Topologies

Obtaining Consensus of Multi-agent Linear Dynamic Systems

Discrete-time Consensus Filters on Directed Switching Graphs

Perron Frobenius Theory

NOTES ON THE PERRON-FROBENIUS THEORY OF NONNEGATIVE MATRICES

Scaling the Size of a Multiagent Formation via Distributed Feedback

Decentralized Control of Vehicle Formations

Consensus Problems on Small World Graphs: A Structural Study

Math 443/543 Graph Theory Notes 5: Graphs as matrices, spectral graph theory, and PageRank

Distributed Structural Stabilization and Tracking for Formations of Dynamic Multi-Agents

Exact Consensus Controllability of Multi-agent Linear Systems

Portland State Univ., Feb Diffusion and Consensus on Digraphs

Markov Chains and Spectral Clustering

Consensus Problems in Complex-Weighted Networks

Consensus Seeking Using Multi-Hop Relay Protocol

Invertibility and stability. Irreducibly diagonally dominant. Invertibility and stability, stronger result. Reducible matrices

A lower bound for the Laplacian eigenvalues of a graph proof of a conjecture by Guo

Multi-Hop Relay Protocols for Fast Consensus Seeking

Eigenvectors Via Graph Theory

Consensus Stabilizability and Exact Consensus Controllability of Multi-agent Linear Systems

Z-Pencils. November 20, Abstract

Active Passive Networked Multiagent Systems

Formation Control of Nonholonomic Mobile Robots

Definition A finite Markov chain is a memoryless homogeneous discrete stochastic process with a finite number of states.

Max-Consensus in a Max-Plus Algebraic Setting: The Case of Fixed Communication Topologies

Maximizing the numerical radii of matrices by permuting their entries

On Distributed Coordination of Mobile Agents with Changing Nearest Neighbors

Distributed Optimization over Networks Gossip-Based Algorithms

Information Flow and Cooperative Control of Vehicle Formations

18.312: Algebraic Combinatorics Lionel Levine. Lecture (u, v) is a horizontal edge K u,v = i (u, v) is a vertical edge 0 else

An Unbiased Kalman Consensus Algorithm

Chapter 2 Spectra of Finite Graphs

A Robust Event-Triggered Consensus Strategy for Linear Multi-Agent Systems with Uncertain Network Topology

Ma/CS 6b Class 23: Eigenvalues in Regular Graphs

On the Scalability in Cooperative Control. Zhongkui Li. Peking University

Course : Algebraic Combinatorics

Random Walks on Graphs. One Concrete Example of a random walk Motivation applications

Note on deleting a vertex and weak interlacing of the Laplacian spectrum

SVD, Power method, and Planted Graph problems (+ eigenvalues of random matrices)

Majorizations for the Eigenvectors of Graph-Adjacency Matrices: A Tool for Complex Network Design

Consensus Algorithms are Input-to-State Stable

On consensus in multi-agent systems with linear high-order agents

arxiv: v1 [cs.ro] 8 Aug 2016

An Event-Triggered Consensus Control with Sampled-Data Mechanism for Multi-agent Systems

On the Controllability of Nearest Neighbor Interconnections

FORMATIONS OF FORMATIONS: HIERARCHY AND STABILITY

To appear in Monatsh. Math. WHEN IS THE UNION OF TWO UNIT INTERVALS A SELF-SIMILAR SET SATISFYING THE OPEN SET CONDITION? 1.

Nonnegative Matrices I

Finite-Time Consensus Problems for Networks of Dynamic Agents

Spectra of Adjacency and Laplacian Matrices

Stability and Disturbance Propagation in Autonomous Vehicle Formations : A Graph Laplacian Approach

Consensus of Hybrid Multi-agent Systems

CLASSIFICATION OF TREES EACH OF WHOSE ASSOCIATED ACYCLIC MATRICES WITH DISTINCT DIAGONAL ENTRIES HAS DISTINCT EIGENVALUES

Fiedler s Theorems on Nodal Domains

Linear algebra and applications to graphs Part 1

RECENTLY, the study of cooperative control of multiagent

Spectral Clustering on Handwritten Digits Database

Distributed Randomized Algorithms for the PageRank Computation Hideaki Ishii, Member, IEEE, and Roberto Tempo, Fellow, IEEE

Key words. Strongly eventually nonnegative matrix, eventually nonnegative matrix, eventually r-cyclic matrix, Perron-Frobenius.

Stability and Performance of Non-Homogeneous Multi-Agent Systems on a Graph

Agreement algorithms for synchronization of clocks in nodes of stochastic networks

Affine iterations on nonnegative vectors

Lecture 14: SVD, Power method, and Planted Graph problems (+ eigenvalues of random matrices) Lecturer: Sanjeev Arora

Distributed Adaptive Consensus Protocol with Decaying Gains on Directed Graphs

Transcription:

NCS Lecture 8 A Primer on Graph Theory Richard M. Murray Control and Dynamical Systems California Institute of Technology Goals Introduce some motivating cooperative control problems Describe basic concepts in graph theory (review) Introduce matrices associated with graphs and related properties (spectra) Based on CDS 70 notes by Reza Olfati-Saber (Dartmouth) and PhD thesis of Alex Fax (Northrop Grumman). References R. Diestel, Graph Theory. Springer-Verlag, 000. C. Godsil and G. Royle, Algebraic Graph Theory. Springer, 001. R. A. Horn and C. R. Johnson, Matrix Analysis. Cambridge Univ Press,1987. R. Olfati-Saber and M, Consensus Problems in Networks of Agents, IEEE Transactions on Automatic Control, 00. Cooperative Control Applications Transportation Air traffic control Intelligent transportation systems (ala California PATH project) Military Distributed aperture imaging Battlespace management Scientific Distributed aperture imaging Adaptive sensor networks (eg, Adaptive Ocean Sampling Network) Commercial Building sensor networks (related) Non-vehicle based applications Communication networks (routing,...) Power grid, supply chain mgmt

Example: RoboFlag (D Andrea, Cornell) Arbiter D Andrea & M ACC 003 Humans (-3 per team) computers for each vehicle Robot version of Capture the Flag Teams try to capture flag of opposing team without getting tagged Mixed initiative system: two humans controlling up to - robots Limited BW comms + limited sensing 3 Problem Framework Agent dynamics ẋ i = f i (x i,u i ) x i R n,u i R m y i = h i (x i ) y i SE(3), Vehicle role α A encodes internal state + relationship to current task Transition α = r(x, α) Communications graph G Encodes the system information flow Neighbor set N i (x, α) Task Encode as finite horizon optimal control J = T 0 L(x, α, u) dt + V (x(t ), α(t )), Assume task is coupled Strategy Control action for individual agents u i = γ(x, α) {gj(x, i α) : rj(x, i α)} { α i rj i (x, α) g(x, α) = true = unchanged otherwise. Decentralized strategy u i (x, α) = u i (x i, α i, x i, α i ) x i = {x j1,..., x jm i } j k N i m i = N i Similar structure for role update

Information Flow in Vehicle Formations Sensed information Local sensors can see some subset of nearby vehicles Assume small time delays, pos n/vel info only Communicated information Point to point communications (routing OK) Assume limited bandwidth, some time delay Advantage: can send more complex information Example: satellite formation Blue links represent sensed information Green links represent communicated information Topological features Information flow (sensed or communicated) represents a directed graph Cycles in graph! information feedback loops Question: How does topological structure of information flow affect stability of the overall formation? Basic Definitions (1 of ) Definition 1. A graph is a pair G =(V, E) that consists of a set of vertices V and a set of edges E V V: Vertices: v i V Edges: e ij =(v i,v j ) E Example: V = {1,, 3,,, } E = {(1, ), (, 1), (, 3), (, ), (, ), (3, ), (3, ), (, 3), (, ), (, 1), (, 1), (, ), (, )} Notation: Order of a graph = number of nodes: V v i and v j are adjacent if there exists e =(v i,v j ) An adjacent node v j for a node v i is called a neighbor of v i N i = set of all neighbors of v i Gis complete if all nodes are adjacent

Undirected graphs 1 Basic Definitions ( of ) A graph is undirected if e ij E = e ji E Degree of a node: deg(v i ) := N i A graph is regular (or k-regular) if all vertices of a graph have the same degree k Directed graphs (digraph) Out-degree of v i : deg out = number of edges e ij =(v i,v j ) In-degree of v i : deg in = number of edges e ki =(v k,v i ) Balanced graphs A graph is balanced if out-degree = in-degree at each node 8 1 3 3 1 3 7 9 9 8 (a) 7 7 Paths Connectedness of Graphs (1 of ) A path is a subgraph π =(V, E π ) G with distinct nodes V = {v 1,v,...,v m } and 1 8 9 E π := {(v 1,v ), (v,v 3 ),...,(v m 1,v m )}. The length of π is defined as E π = m 1. A cycle (or m-cycle) C =(V, E C ) is a path (of length m) with an extra edge (v m,v 1 ) E. 3 7 1 11 Connectivity of undirected graphs An undirected graph G is called connected if there exists a path π between any two distinct nodes of G. For a connected graph G, the length of the longest path is called the diameter of G. A graph with no cycles is called acyclic A tree is a connected acyclic graph 1 1 3 7 3 8 9 1 11 Figure 1.: A bipartite graph. Figure.: Induced Subgraphs of Components of G. 8 For example, the adjacency matrix of the graph in Figure 1.1 is 0 0 0 0 0 1 {1, 1... 0, } 1 0{7, 08, 9, 111, 1} {} A = 0 0 0 0 1 Figure.3: Graph of Components of G. 0 0 3 0 0 1 0 0 0 0 0 (1.)

Connectivity of directed graphs Connectedness of Graphs ( of ) A digraph is called strongly connected if there exists a directed path π between any two distinct nodes of G. A digraph is called weakly connected if there exists an undirected path between any two distinct nodes of G. 1 8 9 3 Strongly connected 1 3 7 Weakly connected 1 11??? Q: how do we check connectivity of a graph? 9 Matrices Associated with a Graph Capturing properties of a graph using matrices The adjacency matrix A =[a ij ] R n n of a graph G of order n is given by: 1 if (v i,v j ) E a ij := 0 otherwise The degree matrix of a graph as a diagonal n n (n = V ) matrix = diag{deg out (v i )} with diagonal elements equal to the out-degree of each node and zero everywhere else. The Laplacian matrix L of a graph is defined as. The row sums of the Laplacian are all 0. L = A 1 3 3 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 1 A = 0 0 1 0 1 0 1 0 0 0 0 0 7 1 1 0 1 0 0 3 1 0 0 0 0 1 1 3 1 0 0 1 0 0 1 0 1 L = 0 0 1 1 0 1 0 0 0 1 0 7 1 1 0 1 0 3

Periodic Graphs and Weighted Graphs Periodic and acyclic graphs A graph with the property that the set of all cycle lengths has a common divisor k>1 is called k-periodic. A graph without cycles is said to be acyclic. Weighted graphs A weighted graph is graph (V, E) together with a map ϕ : E R that assigns a real number w ij = ϕ(e ij ) called a weight to an edge e ij =(v i,v j ) E. The set of all weights associated with E is denoted by W. A weighted graph can be represented as a triplet G = (V, E, W). Weighted Laplacian In some applications it is natural to normalize the Laplacian by the outdegree L := 1 L = I P, where P = 1 A (weighted adjacency matrix). 1 1 0 0 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 0 0 0 1 1 1 0 0 1 0 0 0 1 Weighted Laplacian 11 Application: Consensus Protocols Consider a collection of N agents that communicate along a set of undirected links described by a graph G. Each agent has a state x i with initial value x i (0) and together they wish to determine the average of the initial states Ave(x(0)) = 1/N x i (0). The agents implement the following consensus protocol: ẋ i = j N i (x j x i )= N i (x i Ave(x Ni )) which is equivalent to the dynamical system Sensor Network ẋ = u u = Lx. 0 Proposition 1. If the graph is connected, the state of the agents converges to x i = Ave(x(0)) exponentially fast. Proposition 1 implies that the spectra of L controls the stability (and convergence) of the consensus protocol. To (partially) prove this theorem, we need to show that the eigenvalues of L are all positive. xi 3 30 0 1 0 0 30 0 iteration 1

Gershgorin Disk Theorem Theorem (Gershgorin Disk Theorem). Let A =[a ij ] R n n and define the deleted absolute row sums of A as n r i := a ij (1) j=1,j i Then all the eigenvalues of A are located in the union of n disks n G(A) := G i (A), with G i (A) := {z C : z a ii r i } () i=1 Furthermore, if a union of k of these n disks forms a connected region that is disjoint from all the remaining n k disks, then there are precisely k eigenvalues of A in this region. Sketch of proof Let λ be an eigenvalue of A and let v be a corresponding eigenvector. Choose i such that v i = max j v j > 0. Since v is an eigenvector, λv i = i A ij v j = (λ a ii )v i = i j A ij v j Now divide by v i 0 and take the absolute value to obtain λ a ii = a ij v j a ij = r i j i j i 13 Properties of the Laplacian (1) Proposition 3. Let L be the Laplacian matrix of a digraph G with maximum node out degree of d max > 0. Then all the eigenvalues of A = L are located in a disk B(G) := {s C : s + d max d max } (3) that is located in the closed LHP of s-plane and is tangent to the imaginary axis at s =0. Proposition. Let L be the weighted Laplacian matrix of a digraph G. Then all the eigenvalues of A = L are located inside a disk of radius 1 that is located in the closed LHP of s-plane and is tangent to the imaginary axis at s =0. Theorem (Olfati-Saber). Let G =(V, E,W) be a weighted digraph of order n with Laplacian L. If G is strongly connected, then rank(l) =n 1. Im Remarks: Proof for the directed case is standard Proof for undirected case is available in Olfati-Saber & M, 00 (IEEE TAC) For directed graphs, need G to be strongly connected and converse is not true. Spec(!L) r=d max r Spec(L) Re 1

Proof of the Consensus Protocol ẋ = Lx L = A Note first that the subspaced spanned by 1 = (1, 1,...,1) T is an invariant subspace since L 1 = 0 Assume that there are no other eigenvectors with eigenvalue 0. Hence it suffices to look at the convergence on the complementary subspace 1. Let δ be the disagreement vector δ = x Ave(x(0)) 1 and take the square of the norm of δ as a Lyapunov function candidate, i.e. define Differentiating V (δ) along the solution of δ = Lδ, we obtain V (δ) = δ = δ T δ () V (δ) = δ T Lδ < 0, δ 0, () where we have used the fact that G is connected and hence has only 1 zero eigenvalue (along 1). Thus, δ = 0 is globally asymptotically stable and δ 0 as t +, i.e. x = lim t + x(t) =α 0 1 because α(t) =α 0 = Ave(x(0)), t >0. In other words, the average consensus is globally asymptotically achieved. 1 Perron-Frobenius Theory Spectral radius: spec(l) ={λ 1,...,λ n } is called the spectrum of L. ρ(l) = λ n = max k λ k is called the spectral radius of L Theorem (Perron s Theorem, 1907). If A R n n is a positive matrix (A >0), then 1. ρ(a) > 0;. r = ρ(a) is an eigenvalue of A; 3. There exists a positive vector x>0 such that Ax = ρ(a)x;. λ < ρ(a) for every eigenvalue λ ρ(a) of A, i.e. ρ(a) is the unique eigenvalue of maximum modulus; and. [ρ(a) 1 A] m R as m + where R = xy T, Ax = ρ(a)x, A T y = ρ(a)y, x>0, y>0, and x T y =1. Theorem 7 (Perron s Theorem for Non Negative Matrices). If A R n n is a non-negative matrix (A 0), then ρ(a) is an eigenvalue of A and there is a non negative vector x 0, x 0, such that Ax = ρ(a)x. 1

Irreducibility Irreducible Graphs and Matrices A directed graph is irreducible if, given any two vertices, there exists a path from the first vertex to the second. (Irreducible = strongly connected) A matrix is irreducible if it is not similar to a block upper triangular matrix via a permutation. A digraph is irreducible if and only if its adjacency matrix is irreducible. Theorem 8 (Frobenius). Let A R n n and suppose that A is irreducible and non-negative. Then 1. ρ(a) > 0;. r = ρ(a) is an eigenvalue of A; 3. There is a positive vector x>0 such that Ax = ρ(a)x;. r = ρ(a) is an algebraically simple eigenvalue of A; and. If A has h eigenvalues of modulus r, then these eigenvalues are all distinct roots of λ h r h =0. 1 3 7 Figure.1: Sample Graph G. 1 3 7 8 9 1 11 8 9 1 11 Figure.: Induced Subgraphs of Components of G. {1,..., } {7, 8, 9, 11, 1} {} Figure.3: Graph of Components of G. 17 Properties of Laplacians () Properties of L If G is strongly connected, the zero eigenvalue of L is simple. If G is aperiodic, all nonzero eigenvalues lie in the interior of the Gershgorin disk. If G is k-periodic, L has k evenly spaced eigenvalues on the boundary of the Gershgorin disk. Unidirectional tree Undirected graph Cycle Periodic graph 18

Algebraic Connectivity Theorem 9 (Variant of Courant-Fischer). Let A R n n be a Hermitian matrix with eigenvalues λ 1 λ λ n and let w 1 be the eigenvector of A associated with the eigenvalue λ 1. Then λ = min x 0,x C n, x Ax x x = min x x =1, x Ax () x w 1 x w 1 Remarks: λ is called the algebraic connectivity of L For an undirected graph with Laplacian L, the rate of convergence for the consensus protocol is bounded by the second smallest eigenvalue λ Example Directed graph with a bottleneck Would be better to delete some of the extra links to make the bottleneck link more clear. 1 8 9 3 7 1 11 19 Cyclically Separable Graphs Definition (Cyclic separability). A digraph G =(V, E) is cyclically separable if and only if there exists a partition of the set of edges E = nc k=1 E k such that each partition E k corresponds to either the edges of a cycle of the graph, or a pair of directed edges ij and ji that constitute an undirected edge. A graph that is not cyclically separable is called cyclically inseparable. Lemma. Let L be the Laplacian matrix of a cyclically separable digraph G and set u = Lx, x R n. Then n i=1 u i =0, x R n and 1 = (1,...,1) T is the left eigenvector of L. 1 3 Proof. The proof follows from the fact that by definition of cyclic separability. We have n i=1 u i = ij E (x j x i )= n c k=1 ij E k (x j x i )=0 because the inner sum is zero over the edges of cycles and undirected edges of the graph. Provides a conservation principle for average consensus 0

Balanced Graphs Let G =(V, E) be a digraph. We say G is balanced if and only if the in degree and out degree of all nodes of G are equal, i.e. deg out (v i ) = deg in (v i ), v i V (7) Theorem 11. A digraph is cyclically separable if and only if it is balanced. Corollary 11.1. Consider a network of integrators with a directed information flow G and nodes that apply the consensus protocol. Then, α = Ave(x) is an invariant quantity if and only if G is balanced. Remarks Balanced graphs generalized undirected graphs and retain many key properties 1 3 1 Consensus Protocols for Balanced Graphs 1 3 1 3 9 8 (a) 7 9 8 (b) 7 Algebraic Connectivity=0.191 Algebraic Connectivity=0.0 node value 0! node value 0!!0 0 1 time( sec) 300!0 0 1 time( sec) 300 disagreement 00 0 disagreement 00 0 0 0 1 time( sec) (a) Algebraic Connectivity=0.13 0 0 1 time( sec) (b) Algebraic Connectivity=0. node value node value Richard M. Murray, Caltech 0CDS! 300 time( sec)!0 0 1 time( sec) 300 ment 00 ment 00

Formation Operations: Graph Switching Control questions How do we split and rejoin teams of vehicles? How do we specify vehicle formations and control them? How do we reconfigure formations (shape and topology) Consensus-based approach using balanced graphs If each subgraph is balanced, disagreement vector provides common Lyapunov fcn By separately keeping track of the flow in and out of nodes, can preserve center of mass of of subgraphs after a split manuever 3 Other Uses of Consensus Protocols Computation of other functions besides the average Can adopt the basic approach to compute max, min, etc Chandy/Charpentier: can compute superidempotent functions: f(x Y )=f(f(x) Y ) Basic idea: local conservation implies global conservation Can extend these cases to handle splitting and rejoining as well Distributed Kalman filtering Maintain local estimates of global average and covariance Need to be careful about choosing rates of convergence Node i Node i Sensor Data Covariance Data Low-Pass Consensus Filter Band-Pass Consensus Filter Micro Kalman Filter (µkf) ˆx Sensor Data Covariance Data Low-Pass Consensus Filter Band-Pass Consensus Filter Micro Kalman Filter (µkf) ˆx

Summary Graphs Directed, undirected, connected, strongly complete Cyclic versus acyclic; irreducible, balanced Graph Laplacian L =! - A Spectral properties related to connectivity of graph # zero eigenvalues = # strongly connected components Second largest nonzero eigenvalue ~ weak links Spectral Properties of Graphs Gershgorin s disk theorem Perron-Frobenius theory Examples Consensus problems, distributed computing Cooperative control (coming up next...)