• No results found

Jitterbug A Matlab Toolbox for Stochastic Control Performance Analysis

N/A
N/A
Protected

Academic year: 2021

Share "Jitterbug A Matlab Toolbox for Stochastic Control Performance Analysis"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)

Jitterbug – A Matlab Toolbox for Stochastic

Control Performance Analysis

Bo Lincoln and Anton Cervin

(2)

Motivation 1: Networked Control

Johan Nilsson: Real-Time Control Systems with Delays, PhD thesis, 1998 (cited 1450 times) Actuator node Plant Sensor node Controller node Network h τsc k τca k u(t) y(t)

How is performance affected by time-varying delays

τ

sc k and

τ

(3)

Motivation 2: Real-Time Scheduling

Example: Three control tasks executing on a shared computing platform under EDF scheduling

(4)

Analysis Using Jitterbug

Inputs:

Signal model

Continuous-time and discrete-time linear systems driven by white noise

Quadratic cost functions Timing model

Determines when the discrete-time systems are updated Basic periodh

Random delays between timing nodes described by probability mass functions with resolutionδ

Outputs:

(5)

Example: Networked Control Loop

Signal model Periodic timing model

(6)

Example: Networked Control Loop

Signal model Periodic timing model

H

s

(z)

H

s

(z)

H

c

(z)

H

c

(z)

H

a

(z)

H

a

(z)

G

(s)

y

u

v

e

1

2

3

τ

sc

τ

ca

Example of probability mass function:

δ pτsc(τ )

(7)

Example of Analysis

Plant:

G

(s) =

1000

s

(s + 1)

,

R

1c

= 1

Sampler:

H

s

(z) = 1

,

R

2

= 0.01

Controller:

H

c

(z) = −K



1 +

T

d

h

z −

1

z

 Actuator:

H

a

(z) = 1

Cost function:

J

= lim

(8)
(9)

Example of Results

Vary sampling period

h

and total delay:

(10)

More Complicated Models

1

1

2

2

3

3

4

τ

1

τ

1

τ

2 P

τ < t

P

τ ≥ t

p

(2)

p

(3)

random choice of path

choice of path depending on previous delay different update equations in different nodes

(11)

Internal Workings

1 Sample the continuous-time systems, the continuous-time noise,

and the cost functions with the time-grain

δ

2 Translate the timing model into a Markov chain

3 Formulate the closed-loop system as a jump linear system

x

(k + 1) = Φ(m)x(k) + e(k),

E

n

e

(k)e

T

(k)

o

= R(m)

where

Φ(m)

and

R

(m)

depend on the Markov state

m

4 Compute the stationary covariance

P

= E

n

xx

Tofrom

(12)

Control Design Using Jitterbug

Sampled-data LQG controller for continuous-time plant ZOH or impulse hold sampling

Kalman filter with or without direct term Constant-delay design

(13)

Example: Intersample Variance

[See Computer-Controlled Systems, p. 493–495] Consider ZOH control of

dx

= u dt + dv

where

v

(t)

is a Wiener process with incremental covariance

dt

. Assume sampled measurements

y

(t

k

) = x(t

k

) + ε(t

k

),

E ε

2

(14)

Example: Intersample Variance

[See Computer-Controlled Systems, p. 493–495] Consider ZOH control of

dx

= u dt + dv

where

v

(t)

is a Wiener process with incremental covariance

dt

. Assume sampled measurements

(15)

Example: Intersample Variance

0.5 1 1.5 2 2.5 E y 2 (t k + τ )

(16)

Example: Delay Compensation

Plant:

P

(s) =

1

s

2

1

,

R

1c

= 1

Sampler:

h

= 0.5

,

R

2

= 0.01

Cost function:

J

= E y

2

(t) + 0.01u

2

(t)



dt

(17)

Example: Delay Compensation

Plant:

P

(s) =

1

s

2

1

,

R

1c

= 1

Sampler:

h

= 0.5

,

R

2

= 0.01

Cost function:

J

= E y

2

(t) + 0.01u

2

(t)



dt

Input-output delay:

τ ∈ U

(0, τ

max

)

,

0 ≤ τ

max

h

Compare:

(18)

Example: Delay Compensation

0 0.1 0.2 0.3 0.4 0.5 τ max 0 0.5 1 1.5 2 2.5 3 3.5 4 J

Zero delay design Average delay design

(19)

Conclusions

Jitterbug can evaluate quadratic performance criteria for linear stochastic systems under quite general timing models

Input-output delay Sampling and output jitter Vacant sampling, lost controls

Gain scheduling based on actual delay . . .

Convenient commands for delay-aware LQG design Limitations:

(20)

References

Y. Ji, H. J. Chizeck, X. Feng & K. A. Loparo (1991): “Stability and control of discrete-time jump linear systems.” Control-Theory and

Advanced Applications, 7:2, pp. 447–270.

J. Nilsson (1998): Real-Time Control Systems with Delays. PhD Thesis TFRT-1049, Department of Automatic Control, Lund Institute of Technology.

B. Lincoln & A. Cervin (2002): “Jitterbug: A Tool for Analysis of Real-Time Control Performance”. In Proc. IEEE Conference on

Decision and Control. Download:

References

Related documents

[r]

Report Filters Fiscal Year Period (as of) CSU Fund Fund Project Class Program Department PI Name Sponsor Sponsor ID Cost Share Flg Column Selectors Acct Fdescr. Acct

These will be on the Political lobby work (in order to strengthen Floorball’s position in Worldwide Sport) in the International Sports community, strengthening the Marketing of

They also stated that, intellectual capital based on various intangible resources such as employees, competence, knowledge, education, skill, intellectual agility, brand

The metrics listed in Table 4 were compared for PSO with wavelet Classifier, GA with RSM and proposed CIFS, which are evincing the advantage of CIFS over other two models ( Lin

&#34;Genome-wide association mapping in a diverse spring barley collection reveals the presence of QTL hotspots and candidate genes for root and shoot architecture traits at

Cada mdlVlduo, como Sanson, tlene un don especIal de parte de DlOS (l Pedro 4 lO-ll), una manera especIal en que la presenCIa so- brenatural de DlOS obra con el y a traves de el

Please note that this metal HDU is designed specifically for FTTH but is not suitable for mounting wireless equipment.. Catalogue