coordination control in a cyberphysical environment1

21
Coordination control in a cyberphysical environment 1 Claudio De Persis Groningen Center for Systems and Control University of Groningen Workshop on the Control of Cyber-Physical Systems University of Notre Dame London Centre October 20-21, 2012 1 Joint work with Paolo Frasca – Politecnico di Torino 1 / 21

Upload: others

Post on 02-Aug-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Coordination control in a cyberphysical environment1

Coordination control in a cyberphysical environment1

Claudio De Persis

Groningen Center for Systems and ControlUniversity of Groningen

Workshop on the Control of Cyber-Physical SystemsUniversity of Notre Dame London Centre

October 20-21, 2012

1Joint work with Paolo Frasca – Politecnico di Torino1 / 21

Page 2: Coordination control in a cyberphysical environment1

Cyberphysical systems

Cyber-physical systems (CPS)

Engineered systems whose operations are monitored, coordinated,controlled and integrated by a computing and communication core︸ ︷︷ ︸

cyber-infrastructure(P. Antsaklis)

Engineered system = Distribution networkCoordination = Load balancingCyber infrastructure = measurement scheduling

control computationactuation schedulingrobustness to delays, quantizationpoor clock synchronization

2 / 21

Page 3: Coordination control in a cyberphysical environment1

Distribution network

x = Buz = BT x

where

xi ∈ R, stored quantity at thenode i ∈ I := {1, 2, . . . , n}uk ∈ R flow throughedge k ∈ E := {1, 2, . . . ,m}B incidence matrix of undirected graph G

Load balancing

Design edge controllers uk , k ∈ E , such that

uk depends on zk := xi − xj

zk → 0 for all k ∈ E

3 / 21

Page 4: Coordination control in a cyberphysical environment1

Why (still) studying load balancing?

It is a prototypical problem:solutions can be extended to more complex scenarios

It is useful in many application fields:

robotic networkssensors networksdata networksopinion dynamics

It is well studied:

Theorem (Standard consensus)

If the graph G is connected, the control law uk = −zk guarantees thatlimt→∞

zk(t) = 0 for all k. Moreover

xi (t)→n∑

j=1

xj(0)

n

4 / 21

Page 5: Coordination control in a cyberphysical environment1

Coordination in a cyber-physical environment

The algorithm requires continuous acquisition of information fromneighbors

This is too demanding in a cyber-physical environment!

We instead want a scenario in which

sensors collect information only upon need

the continuous-time systems “naturally” interacts with thediscrete-time information acquisition

the whole system is robust against network uncertainties(delays, poor synchronization of local clocks, limited data ratecommunication, noise)

5 / 21

Page 6: Coordination control in a cyberphysical environment1

A hybrid coordination algorithm I

State variables (i ∈ I , k ∈ E )

node quantities: xi ∈ Rflows: uk ∈ {−1, 0,+1} (ternary controls)

local clock variables: θk ∈ RContinuous evolution when no information exchange occurs

xi =∑

k∈E bikuk

uk = 0

θk = −1

Jumps occur at every t such that the set

I(θ, t) = {k ∈ E : θk = 0} 6= ∅

6 / 21

Page 7: Coordination control in a cyberphysical environment1

A hybrid coordination algorithm II

Discrete evolution: how the exchange of information affects the systems

xi (t+) = xi (t) ∀i ∈ I

uk(t+) =

{− signε(zk(t)) if k ∈ I(θ, t)

uk(t) otherwise

θk(t+) =

{f αk (zk(t)) if k ∈ I(θ, t)

θk(t) otherwise

signε(z) =

{sign(z) if |z | ≥ ε0 otherwise

ε > 0 is a sensitivity parameter

α ∈ (0, 1) is a robustness parameter

Note: the law uk = − sign(zk) is known to imply finite-time convergence

7 / 21

Page 8: Coordination control in a cyberphysical environment1

A hybrid coordination algorithm III

Next sampling time

θk(t+) =

{f αk (zk(t)) if k ∈ I(θ, t)

θk(t) otherwise

where

f αk (zk) =

α

2(degi + degj)|zk | if |zk | ≥ ε

α

2(degi + degj)ε otherwise

so that

dwell time property holds: tk`+1 − tk` ≥αε

2 degmax

sign(zk(t)) constant on [tk` , tk`+1]

ε-deadzone to prevent Zeno

8 / 21

Page 9: Coordination control in a cyberphysical environment1

Hybrid coordination algorithm

Protocol

1: initialization: for all k ∈ E , set θk(0) = 0, uk(0) ∈ {−1, 0,+1};2: for all i ∈ I do3: for all k ∈ Ei do4: while θk(t) > 0 do5: i applies the control bikuk(t);6: end while7: if θk(t) = 0 then8: k polls nodes i , j and collects the information zk(t);9: k updates θk(t+) = f αk (zk(t));

10: k updates uk(t+) = signε(zk(t));11: end if12: end for13: end for

9 / 21

Page 10: Coordination control in a cyberphysical environment1

Main result

Theorem (Practical balancing)

For every initial condition x, let x(t) be the solution to the HybridCoordination Algorithm such that x(0) = x .Then x(t) converges in finite time to a point x∗ belonging to the set

E = {x ∈ Rn : ||BT x︸︷︷︸z

||∞ < ε}

Time cost (time to converge)

T := inf{t ≥ 0 : x(t) ∈ E} ≤ (degmax +1)

ε||x ||2

Communication cost (# updates to converge)

C := maxi∈I

max{k : t ik ≤ T} ≤ 4 degmax(degmax +1)

ε2||x ||2

10 / 21

Page 11: Coordination control in a cyberphysical environment1

Main result

Theorem (Practical balancing)

For every initial condition x, let x(t) be the solution to the HybridCoordination Algorithm such that x(0) = x . Then x(t) converges in finitetime to a point x∗ belonging to the set

E = {x ∈ Rn : ||BT x︸︷︷︸z

||∞ < ε}

Proof Based on a Lyapunov-like argument for hybrid systems with

V (x) = xT x

It satisfies

V (t) ≤ −∑

k∈E :|zk (tk` )|≥ε

|zk(tk` )|2

Communication cost (# updates to converge)

C := maxi∈I

max{k : t ik ≤ T} ≤ 8 degmax(degmax +1)

ε2

∑{i ,j}∈E

(xi − xj)2

11 / 21

Page 12: Coordination control in a cyberphysical environment1

Simulations

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.450.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Time

x

data1

data2

data3

data4

data5

−1

0

1

u1

−1

0

1

u2

−1

0

1

u3

−1

0

1

u4

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45

−1

0

1

u5

Time

Sample evolutions of states x and corresponding controls u on a ring withn = 5 nodes, ε = 0.02

12 / 21

Page 13: Coordination control in a cyberphysical environment1

Capacity constraints

Ternary controllers satisfy edge capacity constraints

Node capacity constraints can also be satisfied

Proposition

Let0 ≤ cmin ≤ xi (0) ≤ cmax, for all i ∈ I .

where 0 ≤ cmin < cmax are bounds on the capacities of the nodes.Then the solution x(t) to the Hybrid Coordination Algorithm starting fromx(0) satisfies

0 ≤ cmin ≤ xi (t) ≤ cmax, for all i ∈ I ,

for all t ≥ 0.

13 / 21

Page 14: Coordination control in a cyberphysical environment1

Asymptotical coordination

14 / 21

Page 15: Coordination control in a cyberphysical environment1

Asymptotical coordination: idea

Accuracy of practical balancing depends on ε

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Time

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Time

n = 20, ε = 0.01 n = 20, ε = 0.001

Practical convergence may not be satisfactory: can we do better?

15 / 21

Page 16: Coordination control in a cyberphysical environment1

Asymptotical coordination: idea

Underlying idea

ε is a measure of the size of the region of convergence

To achieve asymptotical coordination we let ε(t)→ 0

To prevent Zeno, we must slow down both the information requestprocess and the velocity of the systems

Information request System velocity1

γ(t)f αk (zk) γ(t)

∑k∈E bikuk

in a consistent way, namelyε(t)

γ(t)≥ c ∀t ≥ 0

16 / 21

Page 17: Coordination control in a cyberphysical environment1

Asymptotical coordination: system

Continuous-time dynamicsxi = γ(t)

∑k∈E bikuk

uk = 0

θk = −1

Discrete-time dynamics

xi (t+) = xi (t) ∀i ∈ I

uk(t+) =

{signε(t) (zk(t)) if k ∈ I(θ, t)

uk(t) otherwise

θk(t+) =

{1γ(t) f αk (zk(t)) if k ∈ I(θ, t)

θk(t) otherwise

17 / 21

Page 18: Coordination control in a cyberphysical environment1

Asymptotical coordination: results

Theorem (Asymptotical consensus)

Let x(·) be the solution to the Hybrid Asymptotical CoordinationAlgorithm. Then, for every initial condition x ∈ Rn there exists β ∈ R such

that limt→∞

xi (t) = β for all i ∈ I , if and only if

∫ +∞

0γ(s)ds is divergent

Condition∫ +∞0 γ(s)ds = +∞ is necessary because a “persistent

excitement” is needed to ensure convergence

Dwell time property is satisfied

tk`+1 − tk` ≥1

γ(tk` )fk(x(tk` )) ≥ α

4dmax

ε(tk` )

γ(tk` )≥ c ′

Robustness: no need to have the same γ, ε: we can use differentγk , εk

18 / 21

Page 19: Coordination control in a cyberphysical environment1

Simulations

0 2 4 6 8 10 120

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Time

x

data1

data2

data3

data4

data5

−1

0

1

u1

−1

0

1

u2

−1

0

1

u3

−1

0

1

u4

0 2 4 6 8 10 12

−1

0

1

u5

Time

Sample evolutions of x and u on a ring with n = 5, ε(t) = 0.051+t ,

γ(t) = 0.251+t : dwell time is 0.025

19 / 21

Page 20: Coordination control in a cyberphysical environment1

Conclusion

20 / 21

Page 21: Coordination control in a cyberphysical environment1

Conclusions

Load balancing in a distribution networkCoarse controllers and occasional information collectionProtocols for practical & asymptotical convergenceRobustness (delays, quantization, clock skews), guaranteed dwell-timeNetwork of hybrid systems that synchronize asynchronously

C. De Persis and P. Frasca. Robust self-triggered coordination with ternary controllers.

IEEE Transactions on Automatic Control, provisionally accepted. Available at

http://arxiv.org/abs/1205.6917

Work in progress{x = Buz = BT x

w = σ(w)x = f (x) + Bu + Pwz = BT x

u = −z

{η = Φ(η, z)u = Ψ(η, z)

QUantized Information and Controlfor formation Keeping (QUICK)

21 / 21