Optimal Adaptive Feedback Control of a Network Buffer V. Guffens, G. Bastin UCL/CESAME (Belgium)

American control conference 2005 Portland, Oregon, USA - Juin 8-10 2005

Optimal Adaptive Feedback Control of a Network Buffer – p.1/19

Principle w Threshold DROP EXCESS

v Optimal Adaptive Feedback Control of a Network Buffer – p.2/19

Principle w Threshold 7.5

DROP EXCESS

Cost versus threshold

7.4 7.3

HIGH LOST

HIGH RETENTION TIME

7.2 7.1

v

×

7.0 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0

Optimal Adaptive Feedback Control of a Network Buffer – p.2/19

Principle w

Find an adaptive threshold strategy that gives good trade-off

Threshold 7.5

DROP EXCESS

Cost versus threshold

7.4 7.3

HIGH LOST

HIGH RETENTION TIME

7.2 7.1

v

×

7.0 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0

Optimal Adaptive Feedback Control of a Network Buffer – p.2/19

Outline

Model of a fifo queue with tail drop policy Optimal control (Pontryagin principle) Practical Implementation

Optimal Adaptive Feedback Control of a Network Buffer – p.3/19

PART I

Model of a fifo queue

Optimal Adaptive Feedback Control of a Network Buffer – p.4/19

Fluid flow model of a FIFO buffer average λ pps asynchronous arrival

x

service rate (average µ ) asynchronous departure

How many packets in the queue (average) ?

Optimal Adaptive Feedback Control of a Network Buffer – p.5/19

Fluid flow model of a FIFO buffer average λ pps

x

asynchronous arrival

service rate (average µ ) asynchronous departure

How many packets in the queue (average) ? λ

Queueing system theory

µ

50 40

λ= µ x 1+x

30 20

For M/M/1 system

10 buffer occupancy [packet] 0

10

20

30

40

50

Optimal Adaptive Feedback Control of a Network Buffer – p.5/19

Dynamical model (single queue) v(t)

x

w(t) service rate (average µ )

x˙ = v(t) − w(t)

Optimal Adaptive Feedback Control of a Network Buffer – p.6/19

Dynamical model (single queue) v(t)

x

w(t) service rate (average µ )

x˙ = v(t) − r(x(t)) µx w(t) = r(x(t)) = a+x For M/M/1 system (a=1)

λ

r(x) [pps] x−

µ

50

Equilibrium

40 30 20 10

buffer occupancy [packet] 0

10

20

30

40

50

Optimal Adaptive Feedback Control of a Network Buffer – p.6/19

Dynamical model (single queue) v(t)

x

w(t) service rate (average µ )

x˙ = v(t) − r(x(t)) Approximate dynamical extension to queueing theory

Optimal Adaptive Feedback Control of a Network Buffer – p.6/19

Experimental validation u(t) 10

[pps]

x

15 10 [s]

service rate ( µ=40[pps])

Optimal Adaptive Feedback Control of a Network Buffer – p.7/19

Experimental validation u(t) 10

[pps]

x

15 service rate ( µ=40[pps])

10 [s]

7 [p]

70 [s] Optimal Adaptive Feedback Control of a Network Buffer – p.7/19

Experimental validation u(t) 10

[pps]

x

15 service rate ( µ=40[pps])

10 [s]

7 [p]

70 [s] Optimal Adaptive Feedback Control of a Network Buffer – p.7/19

Experimental validation u(t) 10

[pps]

x

15 service rate ( µ=40[pps])

10 [s]

x [p] 0.7 0.6 0.5 0.4 0.3 0.2

Fluid flow model discrete event simulator

0.1

time [s]

0 0

10

20

30

40

50

60

70

Optimal Adaptive Feedback Control of a Network Buffer – p.7/19

Influence of parameter a Fluid flow model: x˙ = u(t) − buffer load [p] x 9 8

µ = 15[pps]

24

[pps]

20

7

16

6

12

input rate u(t)

8

5

4

4 3

0 0

1

2

3

4

a=0.01

1

decreasing value of a

0 0

1

2

5 [s]

a=1

2

−1

µx a+x

3

4

5 time [s] Optimal Adaptive Feedback Control of a Network Buffer – p.8/19

PART II

Optimal control

Optimal Adaptive Feedback Control of a Network Buffer – p.9/19

Optimal control : Cost function x

arriving packets

w

u

v Buffer

d dropped packets

departing packets

x˙ = f (x, t) = u(t) −

µx a+x

0 6 u(t) 6 w

L(x, t, u) = waiting packets + weight X lost packets = x(t) + R(w(t) − u(t))

Optimal Adaptive Feedback Control of a Network Buffer – p.10/19

Optimal control : Cost function x

arriving packets

w

departing packets

u

x˙ = f (x, t) = u(t) −

v Buffer

d

µx a+x

0 6 u(t) 6 w

dropped packets

L(x, t, u) = waiting packets + weight X lost packets = x(t) + R(w(t) − u(t)) J(x, tf , u) =

R tf 0

L(x, t, u)dt

COST

Optimal Adaptive Feedback Control of a Network Buffer – p.10/19

Problem Resolution

x w

u d

Buffer

v

HAMILTONIAN

PONTRYAGIN

OPTIMAL TRAJECTORY

Optimal Adaptive Feedback Control of a Network Buffer – p.11/19

Problem Resolution H(x, t, u) = L(x, t, u) + pf (x, t)   = x(t) + R w − u(t)

PONTRYAGIN

x w

u d

Buffer

v

µx  + p u(t) − a+x 

OPTIMAL TRAJECTORY

Optimal Adaptive Feedback Control of a Network Buffer – p.11/19

Problem Resolution H(x, t, u) = L(x, t, u) + pf (x, t)   = x(t) + R w − u(t) u∗ = arg.min0≤u(t)≤w H(x∗ , t, u) aµ p(tf ) = 0 p˙ = −1 + p 2 (a + x) x˙ = f (x, t)

x w

u d

Buffer

v

µx  + p u(t) − a+x 

OPTIMAL TRAJECTORY

Optimal Adaptive Feedback Control of a Network Buffer – p.11/19

Problem Resolution H(x, t, u) = L(x, t, u) + pf (x, t)   = x(t) + R w − u(t) u∗ = arg.min0≤u(t)≤w H(x∗ , t, u) aµ p(tf ) = 0 p˙ = −1 + p 2 (a + x) x˙ = f (x, t)

x w

u d

Buffer

v

µx  + p u(t) − a+x 

   0 p>R   u∗ = w p
Optimal Adaptive Feedback Control of a Network Buffer – p.11/19

Singular arc Obtained by setting : d2 s ∗ ∗ (x , p )p=R = 0 2 dt

s(t) = p(t) − R

Characterised by p˙ = x˙ = 0

xsing

p = aRµ−a

using

µxsing = a + xsing

Optimal Adaptive Feedback Control of a Network Buffer – p.12/19

Example: Max-Sing-Max 6

Average buffer load

5 4 3 2 1 0 0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1 [s]

60

Input rate u(t)

50

60

40

x

µ=

50

30 20 10 0 0

0.2

0.20 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02

0.4

0.6

0.8

1.0

1.2

1.4

0.8

t21.0

1.2

1.4

d(t)

costate p

0 0

t10.2

0.4

0.6

time[s]

Optimal Adaptive Feedback Control of a Network Buffer – p.13/19

Example: Max-Sing-Max 6

Average buffer load

5 4 3 2 1 0 0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1 [s]

60

Input rate u(t)

50

60

40

x

µ=

50

30 20 10 0 0

0.2

0.20 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02

0.4

0.6

0.8

1.0

1.2

1.4

0.8

t21.0

1.2

1.4

d(t)

costate p

0 0

t10.2

0.4

0.6

time[s]

Optimal Adaptive Feedback Control of a Network Buffer – p.13/19

Example: Max-Sing-Max 6

Average buffer load

5 4 3 2 1 0 0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

60

Input rate u(t)

50

Need to integrate the costate, starting from tf

40 30 20 10 0 0

0.2

0.20 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02

0.4

0.6

0.8

1.0

1.2

1.4

0.8

t21.0

1.2

1.4

costate p

0 0

t10.2

0.4

0.6

time[s]

Optimal Adaptive Feedback Control of a Network Buffer – p.13/19

Example: Max-Sing-Max 6

Average buffer load

5 4 3 2 1 0 0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

60

Input rate u(t)

50 40

t2 ≈ t f − R

30 20 10 0 0

0.2

0.20 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02

0.4

0.6

0.8

1.0

1.2

1.4

0.8

t21.0

1.2

1.4

costate p

0 0

t10.2

0.4

0.6

time[s]

Optimal Adaptive Feedback Control of a Network Buffer – p.13/19

Example: Max-Sing-Max w

6

Average buffer load

5 4 3

Threshold = x sing

2 1 0 0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

DROP EXCESS

x(t)

60

Input rate u(t)

50 40

v

30 20 10 0 0

0.2

0.20 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02

0.4

0.6

0.8

1.0

1.2

1.4

costate p

0 0

t10.2

0.4

0.6

0.8

t21.0

1.2

1.4

time[s]

Ignore the [t2 , tf ] interval Use tail drop policy to control x at xsing Optimal Adaptive Feedback Control of a Network Buffer – p.13/19

PART III

Implementation

Optimal Adaptive Feedback Control of a Network Buffer – p.14/19

Implementation Obtain fluid-flow measures of ˆ needed variables:ˆ x, λ Obtain an estimate a ˆ of the parameter a

^a Threshold = x sing ^x(t)



Compute √ the singular values: xsing = Rµˆ a−a ˆ and q a ˆ using = µ(1 − Rµ ) ˆ > using , drop packets so as if λ to control xˆ at its singular value xsing

Optimal Adaptive Feedback Control of a Network Buffer – p.15/19

Fluid flow measures ∆ = Sampling time interval N = number of packets τ = total retention time

Optimal Adaptive Feedback Control of a Network Buffer – p.16/19

Fluid flow measures N ˆ λ = ∆ τ ˆ T = N

: average rate : average retention time

The average buffer length is calculated using the Little’s formula τ ˆ ˆ xˆ = λT = ∆

Optimal Adaptive Feedback Control of a Network Buffer – p.16/19

On-line model identification ^λ

µx a+x

50 40 30

^ ) ^ k, λ (x k

20 10 0

10

20

aest = arg.mina

30

K X i=1

40

50

^x

2 µˆ xi ˆi −λ a + xˆi

+ first order filtering Optimal Adaptive Feedback Control of a Network Buffer – p.17/19

Results (discrete event queue) 12

xsing

ixhat x_star threshold

threshold

10

ˆ 1) measured rate λ 2) calculated singular rate using 3) measured buffer occupancy xˆ 4) calculated singular buffer occupancy xsing 5) adaptive threshold

8

6

4

^x

2

0 0

10

20

30 time [s]

40

50

60

1200 lambdaihat u_sing

using

1000

800

600



400

200

0 0

10

20

µ = 1000 w = 200, 1111, 200, 2000, . . .

30 time [s]

40

50

60

Optimal Adaptive Feedback Control of a Network Buffer – p.18/19

Results (discrete event queue) Cost

20 Experimental result

19 18 17 Cost obtained with adaptive threshold

16 15 1

3

5

7

9

11

13

15

Threshold

Optimal Adaptive Feedback Control of a Network Buffer – p.18/19

Conclusion

Nearly optimal closed loop control of a FIFO queue Obtained with SIMPLE and PRACTICAL network measurements

Optimal Adaptive Feedback Control of a Network Buffer – p.19/19

Conclusion

Nearly optimal closed loop control of a FIFO queue Obtained with SIMPLE and PRACTICAL network measurements Thank you !

Optimal Adaptive Feedback Control of a Network Buffer – p.19/19

Optimal Adaptive Feedback Control of a Network Buffer

American control conference 2005. Portland, Oregon, USA - Juin 8-10 2005. Optimal Adaptive Feedback Control of a Network Buffer – p.1/19 ...

828KB Sizes 0 Downloads 262 Views

Recommend Documents

Optimal Adaptive Feedback Control of a Network Buffer.
system to obtain a robust quasi optimal adaptive control law. Such an approach is used ..... therefore reduces to the tracking of the singular value xsing given by eq. (8). For the .... [7] I. Smets, G. Bastin, and J. Van Impe. Feedback stabilisation

Optimal Adaptive Feedback Control of a Network Buffer.
Mechanics (CESAME) ... {guffens,bastin}@auto.ucl.ac.be ... suitable for representing a large class of queueing system. An ..... 2) Fixed final state value x(tf ) with x(tf ) small, tf free. ..... Perturbation analysis for online control and optimizat

Adaptive Output-Feedback Fuzzy Tracking Control for a ... - IEEE Xplore
Oct 10, 2011 - Adaptive Output-Feedback Fuzzy Tracking Control for a Class of Nonlinear Systems. Qi Zhou, Peng Shi, Senior Member, IEEE, Jinjun Lu, and ...

Adaptive Output Feedback Control of Spacecraft ...
A. Background. Spacecraft flying in ... Space technology, Narvik University College N-8515 Narvik, Norway. E- mail: {rayk ...... AIAA Education Series, Reston,.

Numerical solution to the optimal feedback control of ... - Springer Link
Received: 6 April 2005 / Accepted: 6 December 2006 / Published online: 11 ... of the continuous casting process in the secondary cooling zone with water spray control ... Academy of Mathematics and System Sciences, Academia Sinica, Beijing 100080, ..

Hierarchical optimal feedback control of redundant ...
In addition to this relationship we want to keep the control cost small. ... model-based optimal control on the task level, we need a virtual dynamical model of y ... approximation g (y); in other cases we will initialize g using physical intuition,

Optimal Feedback Control of Rhythmic Movements: The Bouncing Ball ...
How do we bounce a ball in the air with a hand-held racket in a controlled rhythmic fashion? Using this model task previous theoretical and experimental work by Sternad and colleagues showed that experienced human subjects performed this skill in a d

Direct Adaptive Control using Single Network Adaptive ...
in forward direction and hence can be implemented on-line. Adaptive critic based ... network instead of two required in a standard adaptive critic design.

subband adaptive feedback control in hearing aids with ...
hearing aid hardware and software as well as knowledge regarding hearing .... analog-to-digital converter (ADC) and digital-to-analog converter (DAC) are.

Neural Network H∞ State Feedback Control with Actuator Saturation ...
39, pp. 1–38, 1977. [5] J. J. Downs and E. F. Vogel, “A plant-wide industrial process control problem,” Computers and Chemical Engineering, vol. 17, pp. 245–.

Combined Backstepping Adaptive Fuzzy Output Feedback ... - IJRIT
Student BE(IT), Amravati University/ HVPM COET Amravati, Maharashtra, India .... where x Rn and u Rm are the state and the input of system, respectively. w is ...

Feedback Constraints for Adaptive Transmission - CiteSeerX
Jan 26, 2007 - Incoming information bits, %'&)( are mapped to one of these transmission modes based on the transmitter's knowledge of the channel conditions. ...... [35] D. J. Love, R. W. Heath, and T. Strohmer, “Grassmanian beamforming for multipl

Feedback Constraints for Adaptive Transmission
Jan 26, 2007 - channel estimate that is provided by the mobile station (MS) through the reverse (feedback) channel. The ... practical power and rate adaptation with all possible degrees of .... both the delayed and true CSI have the same statistics [

Feedback Control Tutorial
Design a phase lead compensator to achieve a phase margin of at least 45º and a .... Both passive component variations are specified in terms of parametric ...

Combined Backstepping Adaptive Fuzzy Output Feedback ... - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 2, ... uncertainties, i.e., unstructured uncertainties (unknown nonlinear functions) and ...

Model reference adaptive control of a nonsmooth ... - Springer Link
Received: 17 May 2005 / Accepted: 14 July 2005 / Published online: 29 June 2006. C Springer Science + Business ... reference control system, is studied using a state space, ...... support of the Dorothy Hodgkin Postgraduate Award scheme.