34
Sparse Representations for Packetized Predictive Networked Control Masaaki Nagahara (Kyoto Univ.) Daniel E. Quevedo (The Univ. of Newcastle)

Sparse Representations for Packetized Predictive Networked Control

Embed Size (px)

DESCRIPTION

M. Nagahara, D. E. Quevedo Sparse Representations for Packetized Predictive Networked Control, IFAC 18th World Congress, pp. 84-89, Aug., 2011.

Citation preview

Page 1: Sparse Representations for Packetized Predictive Networked Control

Sparse Representations for Packetized Predictive Networked Control

Masaaki Nagahara (Kyoto Univ.)Daniel E. Quevedo (The Univ. of Newcastle)

Page 2: Sparse Representations for Packetized Predictive Networked Control

Networked Control in Sparse Land

• In networked control, one has to transmit control signals through unreliable networks.

• Packetized Predictive Control (PPC) can make the system robust against packet dropouts.

• Sparse Representation can effectively compress signals without much distortion.

• This work is

PPC + Sparse Representation

Page 3: Sparse Representations for Packetized Predictive Networked Control

Table of Contents

• How does Packetized Predictive Control work?– PPC in networked control systems with packet

dropout• How can one obtain sparse vectors?

– -norm regularization– Fast iterative-shrinkage algorithm

• PPC + Sparse Representation– Is the feedback system stable? YES.

• Examples

Page 4: Sparse Representations for Packetized Predictive Networked Control

Table of Contents

• How does Packetized Predictive Control work?– PPC in networked control systems with packet

dropout• How can one obtain sparse vectors?

– -norm regularization– Fast iterative-shrinkage algorithm

• PPC + Sparse Representation– Is the feedback system stable? YES.

• Examples

Page 5: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

• Compute a tentative control sequence for a finite horizon of future time instants.

• Transmit the sequence as a packet to a buffer.• If a packet is dropped out, use the control

stored in the buffer[Bemporad(1998), Casavola et al.(2006), Tang-Silva(2009), Quevedo(2007,2011)]

Controller Buffer Plant𝑥 (𝑘) 𝑈 (𝑘) 𝑢(𝑘) 𝑥 (𝑘)

Page 6: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant𝑥 (0) 𝑈 (0) 𝑥 (0)

𝑢0(0)𝑢1(0)

𝑢2(0)𝑢3(0)

𝑈 (0 )=[𝑢0 (0 ) ,𝑢1 (0 ) ,𝑢2 (0 ) ,𝑢3 (0 ) ]𝑇

𝐽 (𝑈 )=‖𝑥 (3|0 )‖𝑃2+∑𝑖=0

3

‖𝑥 (𝑖|0 )‖𝑄2+𝜆‖𝑈‖𝑅

2

‖𝑣‖𝑃2 ≜𝑣𝑇 𝑃𝑣

minimizing the cost function:

Page 7: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

Assumption: The first packet is successfully transmitted to the buffer.

𝑥 (0) 𝑈 (0) 𝑥 (0)

𝑢0(0)𝑢1(0)

𝑢2(0)𝑢3(0)

Page 8: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

Assumption: The first packet is successfully transmitted to the buffer. the 4 values are stored in the buffer.

𝑢0(0)𝑢1(0)

𝑢2(0)𝑢3(0)

𝑥 (0) 𝑈 (0) 𝑥 (0)

Page 9: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

Assumption: The first packet is successfully transmitted to the buffer. the 4 values are stored in the buffer.

𝑢0(0)𝑢1(0)

𝑢2(0)𝑢3(0)

𝑢 (0 )=𝑢0 (0)𝑥 (0) 𝑈 (0) 𝑥 (0)

Page 10: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

𝑢0(1)𝑢1(1)

𝑢2(1)𝑢3(1)

𝑥 (1) 𝑈 (1) 𝑥 (1)

𝑈 (1 )=[𝑢0 (1 ) ,𝑢1 (1 ) ,𝑢2 (1 ) ,𝑢3 (1 ) ]𝑇

𝐽 (𝑈 )=‖𝑥 (3|1 )‖𝑃2+∑𝑖=0

3

‖𝑥 (𝑖|1 )‖𝑄2+𝜆‖𝑈‖𝑅

2

Page 11: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

𝑢0(1)𝑢1(1)

𝑢2(1)𝑢3(1)

𝑥 (1) 𝑈 (1) 𝑥 (1)

Page 12: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

Packet-dropout occurs!𝑢0(1)𝑢1(1)

𝑢2(1)𝑢3(1)

𝑥 (1) 𝑈 (1) 𝑥 (1)

Page 13: Sparse Representations for Packetized Predictive Networked Control

Packetized Predictive Control

Controller Buffer Plant

Use in the bufferas the control 𝑢0(0)

𝑢1(0)𝑢2(0)

𝑢3(0)

𝑢 (1 )=𝑢1(0)𝑥 (1) 𝑈 (1) 𝑥 (1)

Page 14: Sparse Representations for Packetized Predictive Networked Control

Design of control packets• At each step, we solve the following optimization

for the packet :

• The solution is given by linear transformation of the state :

𝐽 (𝑈 )=‖𝑥 (𝑁|𝑘 )‖𝑃2+∑𝑖=0

𝑁

‖𝑥 (𝑖|𝑘 )‖𝑄2+𝜆‖𝑈‖2

2

¿‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜆‖𝑈‖2

2+‖𝑥 (𝑘)‖𝑄2

Page 15: Sparse Representations for Packetized Predictive Networked Control

Table of Contents

• How does Packetized Predictive Control work?– PPC in networked control systems with packet

dropout• How can one obtain sparse vectors?

– -norm regularization– Fast iterative-shrinkage algorithm

• PPC + Sparse Representation– Is the feedback system stable? YES.

• Examples

Page 16: Sparse Representations for Packetized Predictive Networked Control

Sparsity-Promoting Optimization

• Energy-limiting optimization (-norm regularization):

• Sparsity-promoting optimization (-norm regularization, optimization):

𝑈∗ (𝑘 )=min𝑈

‖𝐺𝑈−𝐻𝑥 (𝑘 )‖22+𝜆‖𝑈‖2

2

𝑈∗ (𝑘 )=min𝑈

‖𝐺𝑈−𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖1

Page 17: Sparse Representations for Packetized Predictive Networked Control

Sparsity-Promoting Optimization

• -norm regularization produces a dense vector like

• -norm regularization (or optimization) produces a sparse vector like

• Sparse vectors can be compressed more effectively than a dense vector.– c.f. JPEG image compression

𝑈∗=[−2.6 ,−0.1 ,−1.8 ,0.1 ,−0.6 ]𝑇

𝑈∗=[−2.6 ,0.09 ,−2.2 ,0 ,0 ]𝑇

Page 18: Sparse Representations for Packetized Predictive Networked Control

Why does promote sparsity?

• By using the Lagrange dual, we obtain

for some .

{U∈𝑅2 :‖𝑈‖1=const }

0

𝑈∗ (𝑘 )=argmin𝑈

‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖1

¿argmin𝑈

‖𝑈‖1❑s . t .‖𝐺𝑈−𝐻𝑥 (𝑘 )‖2

2≤𝜖

{U∈𝑅2 :‖𝐺𝑈−𝐻𝑥‖22≤𝜖 }

Feasible set

ball

Page 19: Sparse Representations for Packetized Predictive Networked Control

Why does promote sparsity?

• By using the Lagrange dual, we obtain

for some .

𝑈∗ (𝑘 )=argmin𝑈

‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖1

¿argmin𝑈

‖𝑈‖1❑s . t .‖𝐺𝑈−𝐻𝑥 (𝑘 )‖2

2≤𝜖

{U∈𝑅2 :‖𝑈‖1=const }

{U∈𝑅2 :‖𝐺𝑈−𝐻𝑥‖22≤𝜖 }𝑈∗

0Sparse!

Feasible set

ball

Page 20: Sparse Representations for Packetized Predictive Networked Control

Comparison with energy-limiting optimization

{U∈𝑅2 :‖𝑈‖2=const }

{U∈𝑅2 :‖𝐺𝑈−𝐻𝑥‖22≤𝜖 }𝑈∗

0Not sparse

¿argmin𝑈

‖𝑈‖22s . t .‖𝐺𝑈−𝐻𝑥 (𝑘 )‖2

2≤𝜖

𝑈∗ (𝑘 )=argmin𝑈

‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖2

2

Feasible set

ball

Page 21: Sparse Representations for Packetized Predictive Networked Control

Iterative-Shrinkage Algorithm

• The solution of

can be effectively obtained via a fast algorithm.

𝑈∗ (𝑘 )=argmin𝑈

‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖1

𝑈 𝑗+1=𝑆2𝜇 /𝑐 ( 1𝑐 𝐺𝑇 (𝐻𝑥 (𝑘)−𝐺𝑈 𝑗 )+𝑈 𝑗) , 𝑗=0,1,2,…

[Beck-Teboulle, SIAM J. Imag. Sci., 2009][Zibulevsky-Elad, IEEE SP Mag., 2010]

Page 22: Sparse Representations for Packetized Predictive Networked Control

Iterative-Shrinkage Algorithm

• The solution of

can be effectively obtained via a fast algorithm.𝑈 𝑗+1=𝑆2𝜇 /𝑐 ( 1𝑐 𝐺𝑇 (𝐻𝑥 (𝑘)−𝐺𝑈 𝑗 )+𝑈 𝑗) , 𝑗=0,1,2,…

𝑆2𝜇/ 𝑐 (𝑢)

𝑢2𝜇 /𝑐

−2𝜇 /𝑐 𝑐>𝜆max (𝐺𝑇𝐺)

𝑈∗ (𝑘 )=argmin𝑈

‖𝐺𝑈 −𝐻𝑥 (𝑘 )‖22+𝜇‖𝑈‖1

[Beck-Teboulle, SIAM J. Imag. Sci., 2009][Zibulevsky-Elad, IEEE SP Mag., 2010]

Page 23: Sparse Representations for Packetized Predictive Networked Control

Table of Contents

• How does Packetized Predictive Control work?– PPC in networked control systems with packet

dropout• How can one obtain sparse vectors?

– -norm regularization– Fast iterative-shrinkage algorithm

• PPC + Sparse Representation– Is the feedback system stable? YES.

• Examples

Page 24: Sparse Representations for Packetized Predictive Networked Control

Stability Analysis• The controlled plant: • The control packet:

• If then • This implies that asymptotic stability will not be

achieved if is unstable even if there is no packet-dropout.

{𝑥∈ℝ 2:‖𝐺𝑇 𝐻𝑥‖∞≤2𝜇}

0𝑥 (𝑘)

Page 25: Sparse Representations for Packetized Predictive Networked Control

Practical Stability• Assumption: The number of consecutive packet-

dropouts is always less than the prediction horizon (the size of the buffer)

[Theorem]Let and choose to satisfy

where Then for we have (practical stability)

where are constants.

𝐽 (𝑈 )=‖𝑥 (𝑁|𝑘 )‖𝑃2+∑𝑖=0

𝑁

‖𝑥 (𝑖|𝑘 )‖𝑄2+𝜇‖𝑈‖1

Terminal condition

Page 26: Sparse Representations for Packetized Predictive Networked Control

Table of Contents

• How does Packetized Predictive Control work?– PPC in networked control systems with packet

dropout• How can one obtain sparse vectors?

– -norm regularization– Fast iterative-shrinkage algorithm

• PPC + Sparse Representation– Is the feedback system stable? YES.

• Examples

Page 27: Sparse Representations for Packetized Predictive Networked Control

Examples

• Controlled plant

the elements in and are generated by random sampling from . has 3 unstable eigenvalues.

• The horizon length is .• Two designs:

– Sparsity-promoting design ()– Energy-limiting design (regularization)

Page 28: Sparse Representations for Packetized Predictive Networked Control

Transmitted Control Packets

Page 29: Sparse Representations for Packetized Predictive Networked Control

Histogram of Quantized Transmitted Values

Proposed

Conventional

Page 30: Sparse Representations for Packetized Predictive Networked Control

-norm of the state

Sparsity-promoting (proposed)

Energy-limiting (Conventional)

Page 31: Sparse Representations for Packetized Predictive Networked Control

-norm of the state

Sparsity-promoting (proposed)

Energy-limiting (Conventional)

Proposed method leads to more effective compression than the conventional method without much distortion.

Page 32: Sparse Representations for Packetized Predictive Networked Control

Parameter vs sparsity and performance

𝐽 (𝑈 )=‖𝑥 (𝑁|𝑘 )‖𝑃2+∑𝑖=0

𝑁

‖𝑥 (𝑖|𝑘 )‖𝑄2+𝜇‖𝑈‖1

Sparsity≜5−‖𝑈‖0=5−1100

∑𝑘=1

100

‖𝑈 (𝑘 )‖0

Performance≜‖𝑥‖2

Page 33: Sparse Representations for Packetized Predictive Networked Control

Conclusion• Sparsity-promoting optimization () for packetized

predictive control.• Sparse representation of packets leads to efficient

compression of transmitted signals.• The feedback system can be practically stable.• Examples show the effectiveness of our method.• Future work may include

– Bit-rate analysis of optimized control– Robustness against disturbances in the plant

Page 34: Sparse Representations for Packetized Predictive Networked Control

Conclusion• Sparsity-promoting optimization () for packetized

predictive control.• Sparse representation of packets leads to efficient

compression of transmitted signals.• The feedback system can be practically stable.• Examples show the effectiveness of our method.• Future work may include

– Bit-rate analysis of optimized control– Robustness against disturbances in the plant

Grazie!