12

Click here to load reader

Two schemes for feedback scheduling on hybrid control systems Chen Xi

Embed Size (px)

Citation preview

Page 1: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Two schemes for feedback scheduling on hybrid control systems

Chen Xi

Page 2: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Reference

• Feedback scheduling of model predictive controllers

Dan Henriksson, Anton Cervin, Johan Åkesson, Karl-Erik Årzén Dept. of Automatic Control, Lund Institution of Technology . 8th IEEE Real-Time and Embedded Technology and Applications Symposium ,San Jose,CA, September 2002 On pages: 207- 216

Page 3: Two schemes for feedback scheduling on hybrid control systems Chen Xi

• Two main ways for CPU utilization:

(1) tuning task periods

focus : system with small variation in execution time e.g. hybrid

control system

(2) manipulating the execution times focus: systems with large variation on execution time e.g. model

predictive controllers

Page 4: Two schemes for feedback scheduling on hybrid control systems Chen Xi

MPC model

• Feedback scheduling of MPCs

x-state vector; u-control signals vector

y-measured output vector; z-controlled output vector

Goal: make the controlled outputs z follows the reference trajectory r Solve control signal by minimizing a quadratic cost function on the form:

Page 5: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Motivation to scheduling MPC by tuning execution time

• Number of iterations required for the optimization is different from sample to sample– number of active constrains on control signals

and outputs– Reference changes– Un-modeled disturbances acting on the plant– The quality of u(k-1)

Page 6: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Real- time Implementation of MPC

• Sampling jitter

• Computational delay and actuation– preemption from higher-priority tasks – the highly varying execution time of the

optimization algorithm itself

Page 7: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Feedback scheduling of MPC

• Motivation: – Make trade-off between computational delay

and optimization effect

Page 8: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Method for feedback scheduling

• a simpler stop criterion based onthe specification of a maximum allowed delay for the controller

Page 9: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Method (continue)

• let the current values of the MPC cost functions act as dynamic task priorities

Page 10: Two schemes for feedback scheduling on hybrid control systems Chen Xi

Idea

• Apply MPC method to feedback scheduling for hybrid control system– Teak the sampling time using MPC method– Motivation:

• (1) CPU utilization can be estimated on every sampling point

• (2) let current CPU utilization track reference input

by minimizing a cost function which has relation to the performance of each hybrid system

Page 11: Two schemes for feedback scheduling on hybrid control systems Chen Xi

scheme1

Page 12: Two schemes for feedback scheduling on hybrid control systems Chen Xi

scheme2

• Teak sampling time by taking performance error of each system into considerationIf

else