sparse representations for packetized predictive networked control

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

Upload: masaaki-nagahara

Post on 28-Jun-2015

319 views

Category:

Technology


3 download

DESCRIPTION

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

TRANSCRIPT

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!