practical synchronization of heterogeneous multi-agent system...

31
Practical Synchronization of Heterogeneous Multi-agent System Using Adaptive Law for Coupling Gains Seungjoon Lee, Hyeonjun Yun and Hyungbo Shim Control & Dynamic Systems Lab Seoul National University LABORATORY CONTROL & DYNAMIC SYSTEMS June 27 th , 2018 Milwaukee, ACC 2018 1/25

Upload: others

Post on 25-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

Practical Synchronization of HeterogeneousMulti-agent System Using Adaptive Law for

Coupling Gains

Seungjoon Lee, Hyeonjun Yun and Hyungbo Shim

Control & Dynamic Systems LabSeoul National University

LABORATORY

CONTROL & DYNAMIC SYSTEMS

LABORATORY

CONTROL & DYNAMIC SYSTEMS

@ SNU

LABORATORY

CONTROL & DYNAMIC SYSTEMS

@ KW

June 27th, 2018Milwaukee, ACC 2018

1/25

Page 2: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

2/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Synchronization of Multi-agent System

Dynamic network topology and heterogeneous agents

2 / 31

Page 3: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

3/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Dynamic Network Topology

Synchronization has been studied with time-varying /switched network with fixed number of agent.

However, there are cases where new agents may join and leavenetwork during the operation.

In power network:

Local renewable resources join and leave power network.

We study:

Total number of agent is not necessarily fixed.

3 / 31

Page 4: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

3/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Dynamic Network Topology

Synchronization has been studied with time-varying /switched network with fixed number of agent.

However, there are cases where new agents may join and leavenetwork during the operation.

In power network:

Local renewable resources join and leave power network.

We study:

Total number of agent is not necessarily fixed.

4 / 31

Page 5: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

4/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Practical Synchronization Problem

Synchronization problem of N agents can be formulated as

xi = Fi(xi, t) + ui

where xi ∈ Rn is state, Fi(xi, t) : Rn × R≥0 → Rn areheterogeneous vector fields, and ui is distributed input (to bedesigned).

In particular, we consider input given by

ui = h(ei, θi).

ei: stack of relative difference between xi and its neighbors

θi: design parameter

h(ei, θi): static or dynamic mapping

5 / 31

Page 6: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

4/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Practical Synchronization Problem

Synchronization problem of N agents can be formulated as

xi = Fi(xi, t) + ui

where xi ∈ Rn is state, Fi(xi, t) : Rn × R≥0 → Rn areheterogeneous vector fields, and ui is distributed input (to bedesigned).

In particular, we consider input given by

ui = h(ei, θi).

ei: stack of relative difference between xi and its neighbors

θi: design parameter

h(ei, θi): static or dynamic mapping

6 / 31

Page 7: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

5/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Practical Synchronization Problem

Practical Synchronization

Agents achieve practical synchronization if, for given ε > 0, thereexists θi such that

lim supt→∞

|xi(t)− xj(t)| ≤ ε

holds for any i, j.

An example of valid coupling law is static diffusive coupling whichis given by

ui = k∑j∈Ni

(xj − xi)

where k > 0 is a common coupling gain .

7 / 31

Page 8: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

5/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Practical Synchronization Problem

Practical Synchronization

Agents achieve practical synchronization if, for given ε > 0, thereexists θi such that

lim supt→∞

|xi(t)− xj(t)| ≤ ε

holds for any i, j.

An example of valid coupling law is static diffusive coupling whichis given by

ui = k∑j∈Ni

(xj − xi)

where k > 0 is a common coupling gain .

8 / 31

Page 9: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

6/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Review of High Gain Coupling

Recall with static coupling, we have

xi = Fi(xi, t) + k∑j∈Ni

(xj − xi).

Consider blended dynamics which is defined as

s =1

N

N∑i=1

Fi(s, t),

with s(0) = 1N

∑Ni=1 xi(0).

9 / 31

Page 10: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

7/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Review of High Gain Coupling

Blended dynamics: s = 1N

∑Ni=1 Fi(s, t).

Theorem [JK16,JL18]

Suppose blended dynamics is contractive∗. Then, for any ε > 0,there exists k∗ such that for all k ≥ k∗,

lim supt→∞

|xi(t)− s(t)| ≤ ε, ∀i ∈ N .

Practical synchronization is achieved.Trajectories of heterogeneous agents are described by theblended dynamics.

∗ x = f(x, t) is contractive if there exists positive definite matrix H and constant p > 0 such that

H(∂f/∂x)(x, t) + (∂f/∂x)T (x, t)H ≤ −pH for all x ∈ Rn and t ≥ 0.

[JK16] Kim, Yang, Shim, Kim, Seo, (TAC, 2016)

[JL18] Lee, Shim (Arxiv, 2018)

10 / 31

Page 11: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

8/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Contribution of this work

Challenge

Coupling gain cannot be designed in a completely decentralizedmanner.

Previous works:

Completely decentralized design was proposed forhomogeneous case [ZL13,HK17].

In this paper:

Achieve practical synchronization of heterogeneousmulti-agent system using a completely decentralized design.

Propose algorithm to maintain synchronization performanceunder dynamic network topology.

[ZL13] Li, Ren, Liu, Fu (TAC, 2013)

[HK17] Kim, Claudio (IJRNC, 2017)

11 / 31

Page 12: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

8/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Contribution of this work

Challenge

Coupling gain cannot be designed in a completely decentralizedmanner.

Previous works:

Completely decentralized design was proposed forhomogeneous case [ZL13,HK17].

In this paper:

Achieve practical synchronization of heterogeneousmulti-agent system using a completely decentralized design.

Propose algorithm to maintain synchronization performanceunder dynamic network topology.

[ZL13] Li, Ren, Liu, Fu (TAC, 2013)

[HK17] Kim, Claudio (IJRNC, 2017)

12 / 31

Page 13: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

9/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Adaptive Design

Adaptive Design

We propose the input to be

ui = ki(t)∑j∈Ni

(xj − xi)

ki =∑j∈Ni

σγi(eTjieji) +

∑j∈Ni

(kj − ki), ki(0) > 0

where eji := xj − xi and σγi : [0,+∞)→ [0,+∞) is the deadzonefunction with threshold γ2i > 0.

13 / 31

Page 14: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

10/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Adaptive Design

Consider the dynamics given by

xi = Fi(xi, t) + ki(t)∑j∈Ni

(xj − xi)

ki =∑j∈Ni

σγi(eTjieji) +

∑j∈Ni

(kj − ki), ki(0) > 0.

Theorem 1 (Node-wise Performance)

Suppose that |Fi(x,t)| ≤M , ∀x ∈ Rn, t ≥ 0, and the graph isconnected. Then, the solution of the multi-agent system satisfies

lim supt→∞

|xi(t)− xj(t)| ≤ γi, ∀j ∈ Ni,

for all i = 1, . . . , N . Moreover, there exists a constant k∗ > 0 suchthat limt→∞ ki(t) = k∗ for all i = 1, . . . , N .

14 / 31

Page 15: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

11/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Adaptive Design

Theorem 1 (Node-wise Performance)

Suppose that |Fi(x,t)| ≤M , ∀x ∈ Rn, t ≥ 0, and the graph isconnected. Then, the solution of the multi-agent system satisfies

lim supt→∞

|xi(t)− xj(t)| ≤ γi, ∀j ∈ Ni,

for all i = 1, . . . , N . Moreover, there exists a constant k∗ > 0 suchthat limt→∞ ki(t) = k∗ for all i = 1, . . . , N .

Only guarantees “node-wise performance”

Due to symmetry, if i and j are neighbors,

lim supt→∞

|xi(t)− xj(t)| ≤ min(γi, γj).

15 / 31

Page 16: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

12/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Adaptive Design

Corollory 1 (Worst Case Performance)

Suppose Theorem 1 holds. Then, the multi-agent system achievespractical synchronization. In particular,

lim supt→∞

|xi(t)− xj(t)| ≤ (N − 1) · γ

holds for all i, j where γ := maxi∈N γi.

Ensures “global performance”

Worst case performance degrades as N grows.

16 / 31

Page 17: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

13/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Algorithm

Consider following system where γ1 = γ2 = 0.5.

1 2

Thus, the initial worst case performance can be obtained as

lim supt→∞

|x1(t)− x2(t)| ≤ γ1

= 0.5

17 / 31

Page 18: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

14/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Algorithm

Suppose a new node is added to the system with γ3 = 0.1.

1

3

2

Then, the worst case performance becomes

lim supt→∞

|x1 − x3| ≤ lim supt→∞

|x1 − x2|+ lim supt→∞

|x2 − x3|

≤ γ1 + γ3

= 0.6

18 / 31

Page 19: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

15/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Algorithm

Let γi’s are updated such that γ2 = γ3 = 0.25 while γ1 = 0.5stays same.

3

1 2

Then we can recover the worst case performance as

lim supt→∞

|x1 − x3| ≤ lim supt→∞

|x1 − x2|+ lim supt→∞

|x2 − x3|

≤ γ2 + γ2

= 0.519 / 31

Page 20: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

16/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Main Result: Algorithm

Threshold Update Protocol (TUP)

1. Agent N joins the network. Let its neighbors NN .

2. For all i ∈ NN , let γ[N ]i := minj∈Ni∪{i},j 6=N (γ

[N−1]j ).

3. Agent N receives the value of γ[N ]i for all i ∈ NN .

4. Agent N computes γ∗ := mini∈NNγ[N ]i and set γ

[N ]N = γ∗/2.

5. Agent N sends γ∗ to its neighbors NN .

6. For all i ∈ NN , let γ[N ]i = (γ

[N ]i − γ∗/2).

Finally, let γ[N ]i = γ

[N−1]i for all i ∈ {1, . . . , N − 1}\NN .

Theorem 2 (Summarized)

Suppose system with worst case performance of ε > 0. Then theoverall system with TUP maintains the performance.

20 / 31

Page 21: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

Application of Adaptive Design to

Distributed Optimization

17/25

Page 22: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

18/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Distributed Solution of Economic Dispatch Problem

Economic dispatch problem (EDP) is:

Network of N nodes, where each node has power generation(pi) and demand (pdi ).

Find optimal generation for each node to minimize the overallgeneration cost.

EDP can be written as

minpi

∑aip

2i + bipi + ci (1a)

subject to pi,min ≤ pi ≤ pi,max (1b)∑pdi =

∑pi (1c)

pi,min, pi,max: min/max generation capacity

22 / 31

Page 23: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

18/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Distributed Solution of Economic Dispatch Problem

Economic dispatch problem (EDP) is:

Network of N nodes, where each node has power generation(pi) and demand (pdi ).

Find optimal generation for each node to minimize the overallgeneration cost.

EDP can be written as

minpi

∑aip

2i + bipi + ci (1a)

subject to pi,min ≤ pi ≤ pi,max (1b)∑pdi =

∑pi (1c)

pi,min, pi,max: min/max generation capacity

23 / 31

Page 24: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

19/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Distributed Solution of Economic Dispatch Problem

Using Lagrangian dual functions, it is equivalent to solve [HY18]

maxλ∈R

g(λ),

where λ is dual variable, g(λ) =∑gi(λ) and gi(λ) can be

computed locally by an agent.

Maximization problem can be solved by the gradient ascentmethod given by

λ = α∇g(λ) = αN∑i=1

dgi(λ)

dλ.

α > 0 is some constant.Stable if the optimization problem is feasible.Centralized method

[HY18] Yun, Shim, Ahn (Arxiv, 2018)24 / 31

Page 25: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

19/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Distributed Solution of Economic Dispatch Problem

Using Lagrangian dual functions, it is equivalent to solve [HY18]

maxλ∈R

g(λ),

where λ is dual variable, g(λ) =∑gi(λ) and gi(λ) can be

computed locally by an agent.

Maximization problem can be solved by the gradient ascentmethod given by

λ = α∇g(λ) = αN∑i=1

dgi(λ)

dλ.

α > 0 is some constant.Stable if the optimization problem is feasible.Centralized method

[HY18] Yun, Shim, Ahn (Arxiv, 2018)25 / 31

Page 26: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

20/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Distributed Solution of Economic Dispatch Problem

We propose the distributed solution given by

λi =dgidλ

(λi) + ki(t)∑j∈Ni

(λj − λi)

ki =∑j∈Ni

σγi

(e2ji

)+∑j∈Ni

(kj − ki)

where λi is the estimate of λ by agent i and dgidλ is uniformly

bounded.

Recalling the high gain coupling, λi(t) will converge to solution ofblended dynamics given by

s =1

N

N∑i=1

dgi(s)

dλ=

1

N∇g(s)

which is exactly gradient ascent method.26 / 31

Page 27: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

21/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Simulation ResultsDual Variable λi

𝑁𝑁 = 11 𝑁𝑁 = 12 𝑁𝑁 = 13 𝑁𝑁 = 14

27 / 31

Page 28: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

22/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Simulation ResultsCoupling Gains ki

𝑁𝑁 = 11 𝑁𝑁 = 12 𝑁𝑁 = 13 𝑁𝑁 = 14

28 / 31

Page 29: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

23/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Simulation ResultsSynchronization Error

𝑁𝑁 = 11 𝑁𝑁 = 12 𝑁𝑁 = 13 𝑁𝑁 = 14

29 / 31

Page 30: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

24/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Conclusion

Decentralized Design

High gain coupling and practical synchronization ofheterogeneous agents

Adaptive design to achieve decentralized design

Usage of deadzone function due to heterogeneity

Synchronization of coupling gains to recover static gain andblended dynamics

Threshold Update Protocol

Distributed algorithm to maintain worst case performanceunder dynamic graph topology

30 / 31

Page 31: Practical Synchronization of Heterogeneous Multi-agent System …post.cdsl.kr/wp-content/uploads/2018/07/SJ_ACC18_Slides.pdf · 2018-07-20 · Practical Synchronization of Heterogeneous

25/25

Introduction Main Result 1 Main Result 2 Example Conclusion

Thank You!

31 / 31