Design and Stability Analysis for Anytime Control via Stochastic Scheduling

In this paper, we consider the problem of designing controllers for linear plants to be implemented in embedded platforms under stringent real-time constraints. These include preemptive scheduling schemes, under which the execution time allowed for control software tasks is uncertain. In a conservative Hard Real-Time (HRT) design approach, only a control algorithm that (in the worst case) is executable within the minimum time slot guaranteed by the scheduler would be employed. In the spirit of modern Soft Real-Time (SRT) approaches, we consider here an "anytime control" design technique, based on a hierarchy of controllers for the same plant. Higher controllers in the hierarchy provide better closed-loop performance, while typically requiring longer execution time. Stochastic models of the scheduler and of algorithm execution times are used to infer probabilities that controllers of different complexity can be executed at different periods. We propose a strategy for choosing among executable controllers, maximizing the usage of higher controllers, which affords better exploitation of the computational platform than the HRT design while guaranteeing stability (in a suitable stochastic sense). Results on the robustness with respect to uncertainties affecting the scheduler model, and on bumpless transfer for tracking problems are also reported. Simulation results on the control of two prototypical mechanical systems show that performance is substantially enhanced by our anytime control technique w.r.t. worst case-based scheduling.

[1]  João Pedro Hespanha,et al.  Optimal controller initialization for switching between stabilizing controllers , 2007, 2007 46th IEEE Conference on Decision and Control.

[2]  Chang-Gun Lee,et al.  Stochastic analysis of periodic real-time systems , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[3]  João Pedro Hespanha,et al.  Switching between stabilizing controllers , 2002, Autom..

[4]  Michel Kinnaert,et al.  Conditioning technique, a general anti-windup and bumpless transfer method , 1987, Autom..

[5]  Giorgio Buttazzo,et al.  Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications , 1997 .

[6]  G. Nicolao,et al.  On almost sure stability of discrete-time Markov jump linear systems , 2004, 2004 43rd IEEE Conference on Decision and Control (CDC) (IEEE Cat. No.04CH37601).

[7]  R. Decarlo,et al.  Solution of coupled Lyapunov equations for the stabilization of multimodal linear systems , 1997, Proceedings of the 1997 American Control Conference (Cat. No.97CH36041).

[8]  M. Branicky Stability of hybrid systems: state of the art , 1997, Proceedings of the 36th IEEE Conference on Decision and Control.

[9]  Chang-Gun Lee,et al.  An exact stochastic analysis of priority-driven periodic real-time systems and its approximations , 2005, IEEE Transactions on Computers.

[10]  S. Pettersson,et al.  Stabilization of hybrid systems using a min-projection strategy , 2001, Proceedings of the 2001 American Control Conference. (Cat. No.01CH37148).

[11]  Guillem Bernat,et al.  pWCET: a Tool for Probabilistic Worst-Case Execution Time Analysis of Real-Time Systems , 2003 .

[12]  George A. Perdikaris Computer Controlled Systems , 1991 .

[13]  Raktim Bhattacharya,et al.  Anytime Control Algorithm: Model Reduction Approach , 2004 .

[14]  Qiang Ling,et al.  Firm real-time system scheduling based on a novel QoS constraint , 2003, IEEE Transactions on Computers.

[15]  Guillem Bernat,et al.  WCET analysis of probabilistic hard real-time systems , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[16]  Antonio Bicchi,et al.  Almost sure stability of anytime controllers via stochastic scheduling , 2007, 2007 46th IEEE Conference on Decision and Control.

[17]  R. Decarlo,et al.  Perspectives and results on the stability and stabilizability of hybrid systems , 2000, Proceedings of the IEEE.

[18]  Luigi Palopoli,et al.  Novel scheduling policies in real-time multithread control system design , 2002 .

[19]  Douglas Lind,et al.  An Introduction to Symbolic Dynamics and Coding , 1995 .

[20]  William A. Wolovich,et al.  Bumpless switching controllers , 1996, Proceedings of 35th IEEE Conference on Decision and Control.

[21]  Petru Eles,et al.  Memory and time-efficient schedulability analysis of task sets with stochastic execution time , 2001, Proceedings 13th Euromicro Conference on Real-Time Systems.

[22]  Wei-Kuan Shih,et al.  Algorithms for scheduling imprecise computations , 1991, Computer.

[23]  Qiang Ling,et al.  Soft real-time scheduling of networked control systems with dropouts governed by a Markov chain , 2003, Proceedings of the 2003 American Control Conference, 2003..

[24]  Dennis S. Bernstein,et al.  A benchmark problem for nonlinear control design: problem statement, experimental testbed, and passive nonlinear compensation , 1995, Proceedings of 1995 American Control Conference - ACC'95.

[25]  Raktim Bhattacharya,et al.  Implementation of Control Algorithms in an Environment of Dynamically Scheduled CPU Time Using Balanced Truncation , 2002 .

[26]  A. Michel,et al.  Stability theory for hybrid dynamical systems , 1995, Proceedings of 1995 34th IEEE Conference on Decision and Control.

[27]  Mato Baotic,et al.  Multi-Parametric Toolbox (MPT) , 2004, HSCC.

[28]  K. Loparo,et al.  Almost sure and δmoment stability of jump linear systems , 1994 .

[29]  L. Zaccarian,et al.  The L 2 (l 2 ) bumpless transfer problem: its definition and solution , 2004 .

[30]  Hiroshi Konno,et al.  A cutting plane algorithm for solving bilinear programs , 1976, Math. Program..

[31]  A. Morse,et al.  Basic problems in stability and design of switched systems , 1999 .

[32]  Bonnie H. Ferri,et al.  Digital Filters with Adaptive Length for Real-Time Applications , 2004 .

[33]  Karl-Erik Årzén,et al.  The Jitter Margin and Its Application in the Design of Real-Time Control Systems , 2004 .

[34]  A. Morse,et al.  Stability of switched systems: a Lie-algebraic condition ( , 1999 .

[35]  K Furuta,et al.  Swing-up Control of Inverted Pendulum Using Pseudo-State Feedback , 1992 .

[36]  P. Antsaklis,et al.  Design of stabilizing switching control laws for discrete- and continuous-time linear systems using piecewise-linear Lyapunov functions , 2002 .

[37]  Parameswaran Ramanathan,et al.  Overload Management in Real-Time Control Applications Using (m, k)-Firm Guarantee , 1999, IEEE Trans. Parallel Distributed Syst..

[38]  Alan Burns,et al.  Weakly Hard Real-Time Systems , 2001, IEEE Trans. Computers.

[39]  Vijay Gupta,et al.  On an anytime algorithm for control , 2009, Proceedings of the 48h IEEE Conference on Decision and Control (CDC) held jointly with 2009 28th Chinese Control Conference.

[40]  James W. Layland,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[41]  Riccardo Bettati,et al.  Imprecise computations , 1994, Proc. IEEE.

[42]  Qiang Ling,et al.  Scheduling tasks with Markov-chain based constraints , 2005, 17th Euromicro Conference on Real-Time Systems (ECRTS'05).

[43]  Michael D. Lemmon,et al.  Robust performance of soft real-time networked control systems with data dropouts , 2002, Proceedings of the 41st IEEE Conference on Decision and Control, 2002..

[44]  R. Decarlo,et al.  Construction of piecewise Lyapunov functions for stabilizing switched systems , 1994, Proceedings of 1994 33rd IEEE Conference on Decision and Control.