77

Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 2: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Moncrief-O’Donnell Chair, UTA Research Institute (UTARI)The University of Texas at Arlington, USA

and

F.L. Lewis, NAI

Talk available online at http://www.UTA.edu/UTARI/acs

Cooperative Control of Multi‐Agent Systemson Communication Graphs

Supported by :NSFONRARO/TARDEC

Qian Ren Consulting Professor, State Key Laboratory of Synthetical Automation for Process Industries,

Northeastern University, Shenyang, China

China Qian Ren Program, NEUChina Education Ministry Project 111 (No.B08015)

Page 3: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

It is man’s obligation to explore the most difficult questions inthe clearest possible way and use reason and intellect to arriveat the best answer.

Man’s task is to understand patterns in nature and society.

The first task is to understand the individual problem, then toanalyze symptoms and causes, and only then to designtreatment and controls.

Ibn Sina 1002-1042(Avicenna)

Page 4: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Patterns in Nature and Society

Page 5: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Many of the beautiful pictures are from a lecture by Ron Chen, City U. Hong KongPinning Control of Graphs

1. Natural and biological structures

Page 6: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 7: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

J.J. Finnigan, Complex science for a complex world

The internet

ecosystem ProfessionalCollaboration network

Barcelona rail network

Page 8: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Airline Route Systems

Page 9: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

2. Motions of biological groups

Fishschool

Birdsflock

Locustsswarm

Firefliessynchronize

Page 10: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 11: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Herd and Panic Behavior During Emergency Building Egress

Helbring, Farkas, Vicsek, Nature 2000

Page 12: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1. Random Graphs – Erdos and Renyi

N nodesTwo nodes are connected with probability p independent of other edges

m= number of edges

There is a critical threshold m0(n) = N/2 above which a large connected component appears – giant clusters

Phase Transition

Page 13: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

J.J. Finnigan, Complex science for a complex world

Poisson degree distributionmost nodes have about the same degreeave(k) depends on number of nodes

Connectivity- degree distribution is PoissonHomogeneity- all nodes have about the same degree

kave k

P(k)

Page 14: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Watts & Strogatz, Nature 1998

2. Small World Networks- Watts and Strogatz

Start with a regular latticeWith probability p, rewire an edge to a random node.

Connectivity- degree distribution is PoissonHomogeneity – all nodes have about the same degree

Small diameter (longest path length)Large clustering coeff.- i.e. neighbors are connected

Page 15: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Phase TransitionDiameter and Clustering Coeficient

Clustering coefficient

Nr of neighbors of i = 4Max nr of nbr interconnections= 4x3/2= 6Actual nr of nbr interconnects= 2Clustering coeff= 2/6= 1/3

i

12

34

Page 16: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

3. Scale-Free Networks– Barabasi and Albert

Nonhomogeneous- some nodes have large degree, most have small degreeScale-Free- degree has power law degree distribution

Start with m0 nodesAdd one node at a time:

connect to m other nodes

with probability

i.e. with highest probability to biggest nodes(rich get richer)

1( )( 1)

i

jj

dP id

2

3

2( ) mP kk

0 50 100 150 200 250 300 350 400 4500

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Page 17: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

4. Proximity Graphs

Randomly select N points in the planeDraw an edge (i,j) if distance between nodes i and j is within d

2d

x

y

When is the graph connected?for what values of (N,d)

What is the degree distribution?

Mobile Sensor Networks Project with Singapore A-Star

Page 18: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 19: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

The Power of Synchronization Coupled OscillatorsDiurnal Rhythm

Page 20: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1

2

3

4

56

Diameter= length of longest path between two nodes

Volume = sum of in-degrees1

N

ii

Vol d

Spanning treeRoot node

Strongly connected if for all nodes i and j there is a path from i to j.

Tree- every node has in-degree=1Leader or root node

Followers

Communication Graph

Page 21: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Communication Graph1

2

3

4

56

N nodes

[ ]ijA a

0 ( , )ij j i

i

a if v v E

if j N

oN1

Noi ji

jd a

Out-neighbors of node iCol sum= out-degree

42a

Adjacency matrix

0 0 1 0 0 01 0 0 0 0 11 1 0 0 0 00 1 0 0 0 00 0 1 0 0 00 0 0 1 1 0

A

iN1

N

i ijj

d a

In-neighbors of node iRow sum= in-degreei

(V,E)

i

Page 22: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Dynamic Graph- the Graphical Structure of ControlEach node has an associated state i ix u

Standard local voting protocol ( )i

i ij j ij N

u a x x

1

1i i

i i ij ij j i i i iNj N j N

N

xu x a a x d x a a

x

( )u Dx Ax D A x Lx L=D-A = graph Laplacian matrix

x Lx

If x is an n-vector then ( )nx L I x

x

1

N

uu

u

1

N

dD

d

Closed-loop dynamics

i

j

[ ]ijA a

Page 23: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1

2

3

4

56

Theorem. Graph contains a spanning tree iff e-val at is simple.

Graph strongly connected implies exists a spanning tree

Then 2 0

Then -L has one e-val at zero and all the rest stable

1 0

Page 24: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1 1

( ) (0) (0) (0)i i

N Nt tLt T T

i i i ij j

x t e x v e w x w x e v

Consensus Value and Convergence Rate

x Lx Closed-loop system with local voting protocol

Modal decomposition

Let be simple. Then for large t1 0

2 1 22 2 1 1 2 2

1( ) (0) (0) (0) 1 (0)

Nt t tT T T

j jj

x t v e w x v e w x v e w x x

2 determines the rate of convergence and is called the FIEDLER e-value

1 0

and the Fiedler e-val 2There is a big push to find expressions for the left e-vector for

Let graph have a spanning tree. Then all nodes reach consensus.

Page 25: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Consensus: Final Consensus Value

x Lx Closed-loop system with local voting protocol

Modal decomposition

1

1

1 1 11

1 (0) 1( ) (0) (0)

1 (0) 1

Nt T

N j jj

N

xx t v e w x x

x

Let be simple. Then at steady-state1 0

with 1 1T

Nw the normalized left e-vector of 1 0

Therefore 1

( ) (0)N

i j jj

x t x

for all nodes CONSENSUS

1 1

( ) (0) (0) (0)i i

N Nt tLt T T

i i i ij j

x t e x v e w x w x e v

Importance of left e-vector of 1 0

Consensus value depends on communication graph structure

Page 26: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1( ) (0)

N

i j jj

x t x

= weighted average of initial conditions of nodes

A graph is balanced if in-degree=out-degree

Balanced means that row sum= column sum

[ ]ijA a

1

N

i ijj

d a

Row sum= in-degree

1

No

i iji

d a

Column sum= out-degree

Then L has row sum=0 and column sum=0

1 0Tw L means that left e-vector is also 1

11

1w

Consensus value is

1

1( ) (0)N

i jj

x t xN

= average of initial conditions of nodes

Then Consensus value is

i

i

Consensus value depends on communication graph structure

Independent of graph structure

Page 27: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Undirected Graphseij is an edge if eji is an edge, and eij = eji

1

2

3

4

56

0 1 1 0 0 01 0 1 1 0 11 1 0 0 1 00 1 0 0 0 10 0 1 0 0 10 1 0 1 1 0

A

A is symmetric

L=D-A is symmetric and positive semidefinite

A symmetric graph is balanced

Connected undirected graph has average consensus value

Row sum= column sum so that in-degree= out-degree

Page 28: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1

2 3

4 5 6

12

3

4 5

6

Graph Eigenvalues for Different Communication Topologies

Directed Tree-Chain of command

Directed Ring-Gossip networkOSCILLATIONS

Page 29: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Graph Eigenvalues for Different Communication Topologies

Directed graph-Better conditioned

Undirected graph-More ill-conditioned

65

34

2

1

4

5

6

2

3

1

Page 30: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization on Good Graphs

Chris Elliott fast video

65

34

2

1

1

2 3

4 5 6

Page 31: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization on Gossip Rings

Chris Elliott weird video

12

3

4 5

6

Page 32: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Dynamic Graph- the Graphical Structure of ControlEach node has an associated state i ix u

Standard local voting protocol ( )i

i ij j ij N

u a x x

1

1i i

i i ij ij j i i i iNj N j N

N

xu x a a x d x a a

x

( )u Dx Ax D A x Lx L=D-A = graph Laplacian matrix

x Lx

If x is an n-vector then ( )nx L I x

x

1

N

uu

u

1

N

dD

d

Closed-loop dynamics

i

j

[ ]ijA a

Page 33: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 34: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

FlockingReynolds, Computer Graphics 1987

Reynolds’ Rules:Alignment : align headings

Cohesion : steer towards average position of neighbors- towards c.g.Separation : steer to maintain separation from neighbors

( )i

i ij j ij N

a

Page 35: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Distributed Adaptive Control for Multi‐Agent Systems

Page 36: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Sun Tz bin fa孙子兵法

500 BC

Page 37: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Nodes converge to consensus heading

( )ci

i ij j ij N

a

Consensus Control for Swarm Motions

heading angle

Convergence of headings

1

2

3

4

56

0 5 10 15 20 25 30 35 400

1

2

3

4

5

6

-350 -300 -250 -200 -150 -100 -50 0 50-300

-250

-200

-150

-100

-50

0

50

cossin

i i

i i

x Vy V

time x

y

Page 38: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Chris McMurrough Simulation Series for Swarm Motion

Page 39: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Causes Unstable Formation

( )ci

i ij ij j ij N

a

Trust-Based Control: Swarms/FormationsMalicious Node

Divergence of trust Divergence of headings

1

2

3

4

56

Node 5 injects negative trust values

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5-20

-15

-10

-5

0

5

10

15

0 0.5 1 1.5 2 2.5 30

5

10

15

20

25

30

35

40

-30 -25 -20 -15 -10 -5 0 5 10 15 20-25

-20

-15

-10

-5

0

5

10

15

20

25

Internal attackMalicious node puts out bad trust values

i.e. false informationc.f. virus propagation

Page 40: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Trust-Based Control: Swarms/FormationsCUT OUT Malicious Node

heading angle

1

2

3

4

56

Node 5 injects negative trust values

If node 3 distrusts node 5,Cut out node 5

Convergence of trust0 5 10 15 20 25 30 35 40

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

Other nodes agree that node 5 has negative trust

Restabilizes FormationConvergence of headings

0 5 10 15 20 25 30 35 400

1

2

3

4

5

6

Node 5

-400 -350 -300 -250 -200 -150 -100 -50 0 50 100-400

-350

-300

-250

-200

-150

-100

-50

0

50

Node 5

( )ci

i ij ij j ij N

a

Work by Sajal Das

Page 41: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Leader

Followers

0 5 10 15 20 25 30-120

-100

-80

-60

-40

-20

0

20

40

60

Time

Hea

ding

Heading Consensus using Equations (21) and (22)

Nodes converge to heading of leader

Consensus Control for Formations

heading angle

Formation- a Tree network

Convergence of headings

10 20 30 40 50 60 70 80 90 100-200

-150

-100

-50

0

50

100

150

200

Heading Update using Spanning Tree Trust Update

x

y

Leader

y

x

( )ci

i ij j ij N

a

cossin

i i

i i

x Vy V

time

leader

Page 42: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Second Order Consensus – Kevin Moore and Wei Ren

Let each node have an associated state i ix u

Second-order local voting protocol

0 1( ) ( )i i

i ij j i ij j ij N j N

u a x x a x x

x Lx Consensus works because the closed-loop system is Type I.

has an integrator- simple e-val at 0.

Closed-loop system

0 1

0 Ix x

L L

Reaches consensus in both iff graph has a spanning tree and gains are chosen for stability

Has 2 integrators- Can follow a ramp consensus input

,i ix x

Page 43: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Second Order Controlled Consensus for Position Offset Control – Kevin Moore and Wei Ren

node state i ix u

Second-order controlled protocol

0 1 0 0 0( ) ( ) ( ) ( )i i

i ij j i ij ij j i i i i ij N j N

u a x x a x x b x x x x

where node 0 is a leader node.

ij is a desired separation vector

Good for formation offset position control

Leader

Followers

ij

x0

v

Page 44: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Controlled Consensus: Cooperative Tracker

Node state i ix uLocal voting protocol with control node v

( ) ( )i

i ij j i i ij N

u a x x b v x

( ) 1x L B x B v

i i

i i ij i ij j ij N j N

u b a x a x b v

0ib If control v is in the neighborhood of node i

Control node is in some neighborhoods iN

{ }iB diag b

Theorem. Let at least one . Then L+B is nonsingular with all e-vals positiveand -(L+B) is asymptotically stable

0ib

So initial conditions of nodes in graph A go away.Consensus value depends only on vIn fact, v is now the only spanning node

Get rid of dependence on initial conditions control node vRon Chen

Strongly connected graph L

Page 45: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1

2

3

4

A = [0 0 0 0;1 0 1 0;0 0 0 1;1 0 0 0];

Lamda’s = 0 1 1 2Consensus time approx 7.5 sec

0 2 4 6 8 10 12 14 16 18 200

1

2

3

4

5

6

7

8

9

Time

Sta

tes

with

diff

. Ini

. con

d.

Controlled Consensus

Average of ICS

Original network

Controlled network L

Lamda’s = 0 1 1 1 2

0 2 4 6 8 10 12 14 16 18 200

1

2

3

4

5

6

7

8

9

Time

Sta

tes

with

diff

. Ini

. con

d.

Consensus time approx 8 sec

Leader’s IC

1

2

3

4

Page 46: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

74

Balancing HVAC Ventilation Systems

SIMTech 5th floor temperature distribution

Work with SIMTech – Singapore Inst. Manufacturing Technology

Page 47: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Automated VAV control system

AHUFan

C 1 C 2

CWRCWS

Air Flow

Diffuser outlets

VSD

Control Panel

Control stationVAV box

Room thermostat

Air diffuser

LEGENDS

Extra WSN temp. sensors

SIMTech

Page 48: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

( 1) ( ) ( ) ( )i i i ix k x k f x u k

1( ) ( ) ( ( ) ( ))1

i

i i ij j ij Ni

u k k a x k x kn

1 12 4( ) 1, , ,...i k

Control damper position based on local voting protocol

Temperature dynamics

Unknown fi(x)

Under certain conditions this converges to steady-state desired temp. distribution

Adjust Dampers for desired Temperature distributionSIMTech

Open Research Topic - HVAC Flow and Pressure control

Page 49: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Herd and Panic Behavior During Emergency Building EgressWork with Bari Polytechnic University, Italy (David Naso) – comes April 24

Helbring, Farkas, Vicsek, Nature 2000

Page 50: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Crowd Panic Behavior

Page 51: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Modeling Crowd Behavior in Stress SituationsHelbring, Farkas, Vicsek, Nature 2000

Radial compressionterm

Tangential frictionterm

Consensus term Interaction pot. fieldWall pot. field

Repulsive force

Page 52: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Simulated Crowd Panic BehaviorChris McMurrough

Page 53: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization : Ron Chen – Pinning Control

Leader node dynamics

Connected undirected graphs

ii ia d

i ij jij i j i

d a a

In-degree = out-degree

Diffusivity condition

0( ) ( ) ( )i i ij j i i ij

x f x c a C x x cbC x x

Pinning Control – inputs to some nodes

1ib if node i is pinned

Results –Node motions synchronize if is stable

Pin to the biggest node = highest degree node= highest social standing- c.f. Baras

0( ) ( ) 1x f x c L B Cx cB C x

( )i

f x c Cx

L B D B A has e-vals i

Must have control gain c big enough

x0(t)

( )iB diag b

0 0( )x f x

( ) ,i i i i ix f x u y Cx

Page 54: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization of Chaotic node dynamics – Ron Chen

Chen’s attractornode dynamics

Pinning control of largest node(for increasing coupling strengths)

c=0 c=10

c=15

c=20

Page 55: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

The cloud-capped towers, the gorgeous palaces,The solemn temples, the great globe itself,Yea, all which it inherit, shall dissolve,And, like this insubstantial pageant faded,Leave not a rack behind.

We are such stuff as dreams are made on, and our little life is rounded with a sleep.

Our revels now are ended. These our actors, As I foretold you, were all spirits, and Are melted into air, into thin air.

Prospero, in The Tempest, act 4, sc. 1, l. 152-6, Shakespeare

Page 56: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 57: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Swarm Stability AnalysisGazi & Passino 2003, IEEE TAC

( )i i jj i

x g x x

2

( ) ( expy

g y y a bc

c.g. motion is invariantAll agents converge to c.g.form a hyperball of

constant radius and increasing density

LocustSwarm

Page 58: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

2

( ) ( expy

g y y a bc

Results of Gazi and Passino

1. Center of gravity of swarm is stationary

1

1 ( ) 0N

ii

d dx x tdt dt N

2. All states converge in finite time to the region

3. Let nodes have finite body size of sphere with radius

Then all states converge to the region

and the final density is

( 1)i

b N bx xaN a

and the final density is 3

3

34

a Nb

1/3ix x N

3

34

Page 59: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization : Ron Chen – Pinning Control

Leader node dynamics

Connected undirected graphs

ii ia d

i ij jij i j i

d a a

In-degree = out-degree

Diffusivity condition

0( ) ( ) ( )i i ij j i i ij

x f x c a C x x cbC x x

Pinning Control – inputs to some nodes

1ib if node i is pinned

Results –Node motions synchronize if is stable

Pin to the biggest node = highest degree node= highest social standing- c.f. Baras

0( ) ( ) 1x f x c L B Cx cB C x

( )i

f x c Cx

L B D B A has e-vals i

Must have control gain c big enough

x0(t)

( )iB diag b

0 0( )x f x

( ) ,i i i i ix f x u y Cx

Page 60: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization of Chaotic node dynamics – Ron Chen

Chen’s attractornode dynamics

Pinning control of largest node(for increasing coupling strengths)

c=0 c=10

c=15

c=20

Page 61: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Synchronization on Gossip Rings with Leader

Chris Elliott video #3

Page 62: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

The cloud-capped towers, the gorgeous palaces,The solemn temples, the great globe itself,Yea, all which it inherit, shall dissolve,And, like this insubstantial pageant faded,Leave not a rack behind.

We are such stuff as dreams are made on, and our little life is rounded with a sleep.

Our revels now are ended. These our actors, As I foretold you, were all spirits, and Are melted into air, into thin air.

Prospero, in The Tempest, act 4, sc. 1, l. 152-6, Shakespeare

Page 63: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 64: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

0A with row sum positive= di

L D A

Zhihua Qu 2009 book

is an M matrix

00

M

Off-diagonal entries 0Principal minors nonnegative – singular M matrix

Nonsingular M matrix if all principal minors positive

L also has all row sums = 0

Do not confuse with stochastic matrix

0E is row stochastic if all row sums =1

LtE e is row stochastic with positive diagonal elements

0E be row stochastic. Then A=I-E is an M matrix with row sums zero.Let

Discrete-time voting protocol gives stochastic c.l. matrix 1k kx Ex 1 1( ) ( ) ( )E I D I A I I D L

Page 65: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

F is said to be lower triangularly complete if in every row i there exists at least one

is a scalar, it is equal to 0.) is square and irreducible. (note- if

Matrix E is reducible if it can be brought by row/column permutations to the form* 0* *

Two matrices that are similar using permutation matrices are said to be cogredient.

Irreducibility

A graph G(A) is strongly connected iff its adjacency matrix A is irreducible.

11

21 22

1 2

0 00T

p p pp

FF F

F TET

F F F

iiF iiF

A reducible matrix E can be brought by a permutation matrix T to the lower block triangular (LBT) Frobenius canonical form

where

j i0ijF

0,ijF j i

such that (i.e. it has least one nonzero entry).

.

F is said to be lower triangularly positive if

F is lower triang. Complete iff the associated graph has a spanning tree

Page 66: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Then is an eigenvalue of E iff all row sums are equal to 0.Moreover, let E be irreducible with all row sums equal to zero. Then

It is strictly diagonally dominant if these inequalities are all strict. E is strongly diagonally dominant if at least one of the inequalities is strict [Serre 2000]E is irreducibly diagonally dominant if it is irreducible and at least one of the inequalities is strict.

Let E be a diagonally dominant M matrix (i.e. nonpositive elements off the diagonal, nonnegative elements on the diagonal).

[ ] n nijE e R ii ij

j ie e

0

Matrix is diagonally dominant if, for all i,

has multiplicity of 1.

Diagonal Dominance

0

Thm. Let E be strictly diagonally dominant or irreducibly diagonally dominant. Then E is nonsingular. If in addition, the diagonal elements of E are all positive real numbers, then

Re ( ) 0, 1i E i n

SO. Let graph be irreducible. Then the Laplacian L has simple e-value at 0.Add a positive number to any diagonal entry of L to get .

Then is nonsingular and is stable.L

L L

Page 67: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Thm. Properties of Irreducible M matrices.

Let E=sI-A be an irreducible M matrix, that is,

5. exists and is nonnegative for all nonnegative diagonal matrices D with at least one positive element.

6. Matrix E has Property c.7. There exists a positive diagonal matrix P such that

Then,1. E has rank n-1.2. there exists a vector v>0 such that Ev=0.3. implies Ex=0.4. Each principal submatrix of order less that n is a nonsingular M matrix

0A

0Ex

1( )D E

TPE E PThat is, matrix E is pseudo-diagonally dominant, That is, matrix -E is Lyapunov stable.

and is irreducible.

is positive semidefinite, Used for Lyapunov Proofs

Interpret E as the Laplacian matrix L

Zhihua Qu Book 2009

Page 68: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER
Page 69: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Original network to be controlledHow to pick

Injection nodes?

u1

u2 u3 External control nodes added

Lei Guo – Soft controlDo not change the local protocols of the nodescan only add additional neighbors to influence existing nodes

Extension of virtual leader approach

Page 70: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

11 12 1 11 12 1

21 21 2 ( )

1 2 1

[ ]

N m

m N N mij

N N NN N Nm

a a a b b ba b b

A A B a R

a a a b b

1 2 1{ : 1, } { , , , , , , }i N mx i N m x x x u u

Add m additional control nodes[ ] 0ijB b 0ijb is the weight from control node uj to existing network node vi. where

Augmented state

New connectivity matrix

Row sum = id

11 12 11 11 12 1

21 221

11 2

mN

m

N NmN N N NN

b b bd a a ab ba

D A B

b ba a d a

Laplacian

L D A

Page 71: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Modified local voting protocol

( )i

i ij j ij N

a x x

{ }iD diag d

1,i ij

j N md a

A

modified diagonal matrix of in-degrees

with the i-th row sum of , which includes the new control nodes.

SOFT CONTROL, includes new control nodes in some nbhds

N NL D A R

x Lx Bu

Modified Laplacian

New closed-loop system

Row sum of [ ]L B D A B is zero

But i-th row sum of L D A

i i id d where i = i-th row sum of control matrix B.

has been increased by i

i ix Lei Guo

Page 72: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1 11 12 1

21 2 22

1 2

[ ]

N

N Nij

N N N NN

L L LL L

L D A L L R

L L L

i = i-th row sum of control matrix B.

Lemma Let L have row sum zero and be irreducible.At least one 0i

Then 1 11 12 1

21 2 22

1 2

[ ]

N

N Nij

N N N NN

L L LL L

L D A L L R

L L L

is irreducibly diagonally dominant and hence nonsingular.

Lemma. Then is asymp. stable.L

Page 73: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

RTP 1. Let { } , 0i iL diag L

Then relate eigenvalues of to those of L . They are shifted right by some amount.

and L be irreducible

L

Special case. ,i c i

Then all e-vals are shifted right by c

Conjecture. Let L be irreducible. Then L

{ }idiag Define

1 11 12 1

21 2 22

1 2

[ ]

N

N Nij

N N N NN

L L LL L

L D A L L R

L L L

i = i-th row sum of control matrix B.

Page 74: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

1 11 12 1

21 2 22

1 2

[ ]

N

N Nij

N N N NN

L L LL L

L D A L L R

L L L

My Theorem

Let

{ }idiag

N NL R

1 2

1 2 1 21 21 1

j j js

j j j j j js ss

ki i i

i i i i i is j j j k

L L L L

Then the determinant of is given by

Define

Minor with rows and columns struck out

11 1 1 11 1 1 11 1

1 1 1

1 1 1

0

0

i N i N N

i i ii i ii i i

N Ni NN N Ni NN N NN

ii i

L L L L L L L LL L L L L

L L

L L L L L L L L

L L

Example- one diagonal entry positivei

To increase the determinant as much as possible-Add to the node with the largest OUT-degree, i.e. largest column sumi

We call the out-degree of node i its influence or social standing. - John Baras

Page 75: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Original network to be controlledwith fixed structure

Control graphwith desired structure

0 0x xL Bu u

Overall Dynamics

Does not reach consensus unless matrix is irreducible.

00 00 0 0 0

aug A BL B DL

augL irreducible iff m=1

Add control graph 000 0

augG G

A BL B DL

GL D

0 G

x xL Bu uL

Induced Strogatz Small World StructureReduced diameter= longest path length, larger Fiedler e-val, so faster

has m e-vals at 0

Page 76: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER

Original network to be controlled

u1u2 External control nodes addedy1y2

Control outputs

Results. To make the controlled network as fast as possible,

Tap into the node with the LARGEST out-degree (highest social standing)

And take measured outputs from the nodes with the SMALLEST out-degree

- Zhihua Qu

Page 77: Graphs - UTA 03 March HKU robotics... · 21 2 22 1 1 2 2 1 ( ) (0) (0) (0) 1 (0) N tt tTT T jj j xt ve wx ve wx ve wx x 2 determines the rate of convergence and is called the FIEDLER