Skip to main content
Log in

Resource and performance trade-offs in real-time embedded control systems

  • Published:
Real-Time Systems Aims and scope Submit manuscript

Abstract

Embedded control systems are subject to conflicting demands: end-users ask for devices with better capabilities while strong industrial competition impose tight cost constrains that results in devices with limited resources. Current research in the multidisciplinary embedded systems discipline indicates that by combining real-time and control systems it is theoretically feasible to design resource-constrained embedded control systems capable of trading-off control performance and resource usage.

This paper focuses on the implementation feasibility of recent state-of-the-art resource/performance-aware (RPA) policies that can be applied to a set of control loops that concurrently execute on a microprocessor. The objective of these policies is to improve control performance and/or to minimize resource utilization. The paper first reviews existing state-of-the-art RPA policies. Then it presents a performance evaluation framework (PEF) that permits to assess whether RPA policies can be implemented in practice. The PEF is designed using a modular approach and following the guidelines obtained by a taxonomic analysis performed on the state-of-the-art RPA policies. Finally, a case study is presented where the PEF is applied to a set of representative RPA policies. The case study reveals that the modularity of the PEF allows tailoring the framework to evaluate any specific RPA policy, which indicates that RPA policies can be implemented in practice. But it also reveals that the problem of assessing diverse RPA policies in fair conditions implies facing and solving conflicting demands by even taking decisions that may not favor equal all policies under evaluation. Nevertheless, the comparative analysis permits identifying potential benefits and drawbacks of each policy, as well as extracting design guidelines for future real-time embedded control systems theory and practice.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. The term “feedback scheduling”, as it will be explained in Sect. 2.1.1, was first introduced to denote policies that use feedback from scheduling to on-line apply different sampling periods and adapt controllers’ parameters. Although this applies to a subset of the approaches reviewed later in this category, the paper also includes under this category approaches where the sampling period that applies on-line is selected off-line considering its impact on control performance according to different strategies. Hence, the term “feedback” may no longer refer to feedback as it is interpreted in control, but in a more general sense.

  2. Details of the prototype and performance demonstrator that includes three plants in the form of double integrator electronic circuits can be found in Velasco et al. (2010).

References

  • Anta A, Tabuada P (2008a) Self-triggered stabilization of homogeneous control systems. In: Proceedings of the American control conference

    Google Scholar 

  • Anta A, Tabuada P (2008b) Space-time scaling laws for self-triggered control. In: 47th IEEE conference on decision and control. CDC 2008, pp 4420–4425

    Chapter  Google Scholar 

  • Anta A, Tabuada P (2009) Isochronous manifolds in self-triggered control. In: Proceedings of the 48th IEEE conference on decision and control held jointly with the 28th Chinese control conference. CDC/CCC 2009, pp 3194–3199

    Google Scholar 

  • Anta A, Tabuada P (2010) To sample or not to sample: self-triggered control for nonlinear systems. IEEE Trans Autom Control 55(9):2030–2042

    Article  MathSciNet  Google Scholar 

  • Artemis (2006) Strategic research agenda. Tech rep, Advanced research and technology for embedded intelligence and systems. http://www.artemisia-association.org/downloads/SRA_MARS_2006.pdf

  • Årzén KE (1999) A simple event-based PID controller. In: Preprints 14th world congress of IFAC, Beijing, PR China

    Google Scholar 

  • Årzén KE (2005) Timing analysis and simulation tools for real-time control. In: Pettersson P, Yi W (eds) Formal modeling and analysis of timed systems. Lecture notes in computer science, vol 3829. Springer, Berlin, pp 142–143

    Chapter  Google Scholar 

  • Årzén KE, Cervin A (2005) Control and embedded computing: Survey of research directions. In: Proc 16th IFAC world congress, Prague, Czech Republic

    Google Scholar 

  • Årzén KE, Cervin A Eker J, Sha L (2000) An introduction to control and scheduling co-design. In: Proceedings of the 39th IEEE conference on decision and control, vol 5, pp 4865–4870

    Google Scholar 

  • Årzén KE, Blomdell A, Wittenmark B (2005) Laboratories and real-time computing. IEEE Control Syst Mag 25(1):30–34

    Article  Google Scholar 

  • Åström K, Bernhardsson B (2002) Comparison of Riemann and Lebesgue sampling for first order stochastic systems. In: Proceedings of the 41st IEEE conference on decision and control, vol 2, pp 2011–2016

    Google Scholar 

  • Åström K, Wittenmark B (1997) Computer-controlled systems: theory and design. Prentice Hall, New York

    Google Scholar 

  • Audsley NC, Burns A, Richardson MF, Wellings AJ (1994) Stress: a simulator for hard real-time systems. Softw Pract Exp 24(6):543–564

    Article  Google Scholar 

  • Ben Gaid M, Cela A, Hamam Y, Ionete C (2006) Optimal scheduling of control tasks with state feedback resource allocation. In: American control conference

    Google Scholar 

  • Ben Gaid M, Cela A, Hamam Y (2009) Optimal real-time scheduling of control tasks with state feedback resource allocation. IEEE Trans Control Syst Technol 17(2):309–326

    Article  Google Scholar 

  • Bhattacharya R, Balas G (2004) Anytime control algorithm: model reduction approach. J Guid Control Dyn 27:767–776

    Article  Google Scholar 

  • Bini E, Cervin A (2008) Delay-aware period assignment in control systems. In: Proceedings of the 2008 real-time systems symposium, pp 291–300

    Chapter  Google Scholar 

  • Brandt SA, Banachowski S, Lin C, Bisson T (2003) Dynamic integrated scheduling of hard real-ti soft real-time and non-real-time processes. In: Proceedings of the 24th IEEE international real-time systems symposium

    Google Scholar 

  • Buttazzo GC (2004) Hard real-time computing systems: predictable scheduling algorithms and applications. Real-time systems. Springer, Berlin

    Google Scholar 

  • Buttazzo G (2005) Rate monotonic vs edf: judgment day. J Real-Time Syst 29:5–26

    Article  MATH  Google Scholar 

  • Buttazzo G (2006) Research trends in real-time computing for embedded systems. SIGBED Rev 3:1–10

    Article  Google Scholar 

  • Buttazzo GC, Lipari G, Abeni L (1998) Elastic task model for adaptive rate control. In: Proceedings of the IEEE real-time systems symposium

    Google Scholar 

  • Castañé R, Martí P, Velasco M, Cervin A (2006) Resource management for control tasks based on the transient dynamics of closed-loop systems. In: Proceedings of the 18th Euromicro conference on real-time systems, pp 171–182

    Chapter  Google Scholar 

  • Cervin A, Alriksson P (2006) Optimal on-line scheduling of multiple control tasks: A case study. In: Proceedings of the 18th Euromicro conference on real-time systems, Dresden, Germany

    Google Scholar 

  • Cervin A, Eker J, Bernhardsson B, Årzén KE (2002) Feedback-feedforward scheduling of control tasks. Real-Time Syst 23:25–53

    Article  MATH  Google Scholar 

  • Cervin A, Henriksson D, Lincoln B, Eker J, Årzén KE (2003) How does control timing affect performance? Analysis and simulation of timing using Jitterbug and TrueTime. IEEE Control Syst Mag 23(3):16–30

    Article  Google Scholar 

  • Cervin A, Velasco M, Marti P, Camacho A (2011) Optimal online sampling period assignment: theory and experiments. IEEE Trans Control Syst Technol 19(4):902–910

    Article  Google Scholar 

  • Chandra R, Liu X, Sha L (2003) On the scheduling of flexible and reliable real-time control systems. Real-Time Syst 24:153–169

    Article  MATH  Google Scholar 

  • Eker J, Hagander P, Årzén KE (2000) A feedback scheduler for real-time controller tasks. Control Eng Pract 8(12):1369–1378

    Article  Google Scholar 

  • Eker J, Janneck J, Lee E, Liu J, Liu X, Ludvig J, Neuendorffer S, Sachs S, Xiong Y (2003) Taming heterogeneity—the ptolemy approach. Proc IEEE 91(1):127–144

    Article  Google Scholar 

  • Ellis P (1959) Extension of phase plane analysis to quantized systems. IRE Trans Autom Control 4(2):43–54

    Article  Google Scholar 

  • Erika (2011) Erika enterprise reference manual. Tech rep, evidence Srl. http://erika.tuxfamily.org/download/manuals/pdf/ee_refman_1_4_4.pdf

  • Fontanelli D, Palopoli L, Greco L (2011) Deterministic and stochastic qos provision for real-time control systems. In: 17th IEEE real-time and embedded technology and applications symposium, pp 103–112

    Google Scholar 

  • Gai P, Abeni L, Giorgi M, Buttazzo G (2001) A new kernel approach for modular real-time systems development. In: Proceedings of the 13th Euromicro conference on real-time systems

    Google Scholar 

  • Gupta V (2009) On an anytime algorithm for control. In: Proceedings of the 48th IEEE Conference on decision and control, held jointly with the 28th Chinese control conference. CDC/CCC 2009, pp 6218–6223

    Google Scholar 

  • Heemels WPMH, Gorter RJA, van Zijl A, van den Bosch PPJ, Weiland S, Hendrix WHA, Vonder MR (1999) Asynchronous measurement and control: a case study on motor synchronization. Control Eng Pract 7(12):1467–1482

    Article  Google Scholar 

  • Heemels WPMH, Sandee JH, Bosch P (2008) Analysis of event-driven controllers for linear systems. Int J Control 84(1)

  • Henningsson T, Johannesson E, Cervin A (2008) Sporadic event-based control of first-order linear stochastic systems. Automatica 44(11):2890–2895

    Article  MathSciNet  MATH  Google Scholar 

  • Henriksson D, Cervin A (2005) Optimal on-line sampling period assignment for real-time control tasks based on plant state information. In: 44th IEEE Conference on decision and control, and European control conference. CDC-ECC’05, pp 4469–4474

    Chapter  Google Scholar 

  • Henriksson D, Cervin A, Åkesson J, Årzén KE (2002) Feedback scheduling of model predictive controllers. In: Proceedings of the eighth IEEE real-time and embedded technology and applications symposium (RTAS’02).

    Google Scholar 

  • Johannesson E, Henningsson T, Cervin A (2007) Sporadic control of first-order linear stochastic systems. In: Proc 10th international conference on hybrid systems: computation and control, Pisa, Italy. Springer, Berlin

    Google Scholar 

  • Lemmon M, Chantem T, Hu X, Zyskowski M (2007) On self-triggered full-information h-infinity controllers. In: Bemporad A, Bicchi A, Buttazzo G (eds) Hybrid systems: computation and control. Lecture notes in computer science, vol 4416. Springer, Berlin, pp 371–384

    Chapter  Google Scholar 

  • Liberzon D (2003) Switching in systems and control. Birkhäuser, Basel

    Book  MATH  Google Scholar 

  • Liu CL, Layland JW (1973) Scheduling algorithms for multiprogramming in a hard-real-time environment. J ACM 20:46–61

    Article  MathSciNet  MATH  Google Scholar 

  • Lozoya C, Velasco M, Martí P (2007) A 10-year taxonomy on prior work on sampling period selection for resource-constrained real-time control systems. In: Work in progress 19th Euromicro conference on real-time systems

    Google Scholar 

  • Lozoya C, Martí P, Velasco M, Fuertes JM (2008a) Control performance evaluation of selected methods of feedback scheduling of realtime control tasks. In: 17th IFAC world congress

    Google Scholar 

  • Lozoya C, Velasco M, Martí P (2008b) The one-shot task model for robust real-time embedded control systems. IEEE Trans Ind Inform 4(3):164–174

    Article  Google Scholar 

  • Lozoya C, Martí P, Velasco M, Fuertes J (2012) Performance evaluation framework (pef) for real-time embedded control systems. Tech rep, research report ESAII-RR-12-02, Automatic Control Department, Technical University of Catalonia

  • Marau R, Leite P, Velasco M, Martí P, Almeida L, Pedreiras P, Fuertes J (2008) Performing flexible control on low-cost microcontrollers using a minimal real-time kernel. IEEE Trans Ind Inform 4(2):125–133

    Article  Google Scholar 

  • Martí P, Lin C, Brandt SA, Velasco M, Fuertes JM (2004) Optimal state feedback based resource allocation for resource-constrained control tasks. In: Proceedings of the 25th IEEE international real-time systems symposium, pp 161–172

    Chapter  Google Scholar 

  • Martí P, Lin C, Brandt SA, Velasco M, Fuertes JM (2009a) Draco: efficient resource management for resource-constrained control tasks. IEEE Trans Comput 58:90–105

    Article  MathSciNet  Google Scholar 

  • Martí P, Velasco M, Bini E (2009b) The optimal boundary and regulator design problem for event-driven controllers. In: Majumdar R, Tabuada P (eds) Hybrid systems: computation and control. Lecture notes in computer science, vol 5469. Springer, Berlin, pp 441–444

    Chapter  Google Scholar 

  • Martí P, Velasco M, Fuertes J, Camacho A, Buttazzo G (2010) Design of an embedded control system laboratory experiment. IEEE Trans Ind Electron 57(10):3297–3307

    Article  Google Scholar 

  • Mazo M, Tabuada P (2009) Input-to-state stability of self-triggered control systems. In: Proceedings of the 48th IEEE conference on decision and control, held jointly with the 28th Chinese control conference. CDC/CCC 2009, pp 928–933

    Google Scholar 

  • Mazo M, Ant A, Tabuada P (2009) On self-triggered control for linear systems: guarantees and complexity. In: 10th European control conference

    Google Scholar 

  • Miskowicz M (2006) Send-on-delta concept: an event-based data reporting strategy. Sensors 6:49–63

    Article  Google Scholar 

  • Osek (2005) Osek/vdx: open systems and the corresponding interfaces for automotive electronics. Tech rep, ISO 17356. http://portal.osek-vdx.org/files/pdf/specs/os223.pdf

  • Palopoli L, Lipari G, Lamastra G, Abeni L, Bolognini G, Ancilotti P (2002a) An object-oriented tool for simulating distributed real-time control systems. Softw Pract Exp 32:907–932

    Article  MATH  Google Scholar 

  • Palopoli L, Pinello C, Sangiovanni Vincentelli A, Elghaoui L, Bicchi A (2002b) Synthesis of robust control systems under resource constraints. In: Tomlin C, Greenstreet M (eds) Hybrid systems: computation and control. Lecture notes in computer science, vol 2289. Springer, Berlin, pp 197–225

    Google Scholar 

  • Palopoli L, Pinello C, Bicchi A, Sangiovanni-Vincentelli A (2005) Maximizing the stability radius of a set of systems under real-time scheduling constraints. IEEE Trans Autom Control 50(11):1790–1795

    Article  MathSciNet  Google Scholar 

  • Peiro S, Masmano M, Ripoll I, Crespo A (2007) PaRTiKle OS, a replacement for the core of RTLinux-GPL. In: 9th real time Linux workshop

    Google Scholar 

  • Posix (1996) Portable operating system interface (posix) standard. Tech rep, International Standard ISO/IEC 9945-1: (E) IEEE Std 1003.1

  • Posix (1998) Information technology—standardized application environment profile—posix realtime application support (aep). Tech rep, POSIX.13. IEEE Std. 1003.13-1998

  • Quagli A, Fontanelli D, Greco L, Palopoli L, Bicchi A (2009) Designing real-time embedded controllers using the anytime computing paradigm. In: IEEE conference on emerging technologies & factory automation. ETFA 2009, pp 1–8

    Chapter  Google Scholar 

  • Real J, Crespo A (2004) Mode change protocols for real-time systems: a survey and a new proposal. J Real-Time Syst 26:161–197

    Article  MATH  Google Scholar 

  • Redell O, El-khoury J, Törngren M (2004) The aida toolset for design and implementation analysis of distributed real-time control systems. Microprocess Microsyst 28(4):163–182

    Article  Google Scholar 

  • Rehbinder H, Sanfridson M (2000) Integration of off-line scheduling and optimal control. In: Proceedings of the 12th Euromicro conference on real-time systems, pp 137–143

    Google Scholar 

  • Rivas MA, Harbour MG (2001) Marte os: an ada kernel for real-time embedded applications. In: Proceedings of the international conference on reliable software technologies, Ada-Europe-2001

    Google Scholar 

  • Samii S, Cervin A, Eles P, Peng Z (2009a) Integrated scheduling and synthesis of control applications on distributed embedded systems. In: Proceedings of the conference on design, automation and test in Europe, pp 57–62

    Google Scholar 

  • Samii S, Eles P, Peng Z, Cervin A (2009b) Quality-driven synthesis of embedded multi-mode control systems. In: Proceedings of the 46th annual design automation conference, pp 864–869

    Google Scholar 

  • Sanz R, Årzén KE (2003) Trends in software and control. IEEE Control Syst 23(3):12–15

    Article  Google Scholar 

  • Seto D, Lehoczky J, Sha L, Shin K (1996) On task schedulability in real-time control systems. In: 17th IEEE real-time systems symposium, pp 13–21

    Chapter  Google Scholar 

  • Seto D, Krogh B, Sha L, Chutinan A (1998a) Dynamic control system upgrade using the simplex architecture. IEEE Control Syst 18(4):72–80

    Article  Google Scholar 

  • Seto D, Lehoczky JP, Sha L (1998b) Task period selection and schedulability in real-time systems. In: Proceedings of the IEEE real-time systems symposium, RTSS’98

    Google Scholar 

  • Sha L, Abdelzaher T, Årzén KE, Cervin A, Baker T, Burns A, Buttazzo G, Caccamo M, Lehoczky J, Mok AK (2004) Real time scheduling theory: a historical perspective. Real-Time Syst 28:101–155

    Article  MATH  Google Scholar 

  • Stankovic JA (1996) Strategic directions in real-time and embedded systems. ACM Comput Surv 28:751–763

    Article  Google Scholar 

  • Storch M, Liu JS (1996) Drtss: a simulation framework for complex real-time systems. In: Real-time and embedded technology and applications symposium. IEEE Press, New York

    Google Scholar 

  • Sucha P, Kutil M, Sojka M, Hanzalek Z (2006) Torsche scheduling toolbox for Matlab. In: Computer aided control system design, IEEE international conference on control applications, IEEE international symposium on intelligent control, pp 1181–1186. IEEE Press, New York

    Chapter  Google Scholar 

  • Suh YS, Nguyen VH, Ro YS (2007) Modified Kalman filter for networked monitoring systems employing a send-on-delta method. Automatica 43(2):332–338

    Article  MathSciNet  MATH  Google Scholar 

  • Tabuada P (2007) Event-triggered real-time scheduling of stabilizing control tasks. IEEE Trans Autom Control 52(9):1680–1685

    Article  MathSciNet  Google Scholar 

  • Tabuada P, Wang X (2006) Preliminary results on state-trigered scheduling of stabilizing control tasks. In: 45th IEEE conference on decision and control, pp 282–287

    Chapter  Google Scholar 

  • Törngren M, Henriksson D, Årzén KE, Cervin A, Hanzalek Z (2006) Tools supporting the co-design of control systems and their real-time implementation; current status and future directions. In: IEEE international symposium on computer-aided control systems design, Munich, Germany

    Google Scholar 

  • Velasco M, Martí P, Fuertes J (2003) The self triggered task model for real-time control systems. In: Work-in-progress session of the 24th IEEE real-time systems symposium

    Google Scholar 

  • Velasco M, Martí P, Bini E (2008a) Control-driven tasks: modeling and analysis. In: Proceedings of the real-time systems symposium, pp 280–290

    Google Scholar 

  • Velasco M, Martí P, Lozoya C (2008b) On the timing of discrete events in event-driven control systems. In: Proceedings of the 11th international workshop on Hybrid Systems: computation and control, HSCC’08, pp 670–673

    Chapter  Google Scholar 

  • Velasco M, Martí P, Bini E (2009a) Equilibrium sampling interval sequences for event-driven controllers. In: European control conference

    Google Scholar 

  • Velasco M, Martí P, Bini E (2009b) On Lyapunov sampling for event-driven controllers. In: Proceedings of the 48th IEEE conference on decision and control, held jointly with the 28th Chinese control conference. CDC/CCC 2009, pp 6238–6243

    Google Scholar 

  • Velasco M, Martí P, Fuertes JM, Lozoya C, Brandt SA (2010) Experimental evaluation of slack management in real-time control systems: coordinated vs self-triggered approach. J Syst Archit 56:63–74

    Article  Google Scholar 

  • Wang X, Lemmon M (2008a) Event design in event-triggered feedback control systems. In: 47th IEEE conference on decision and control. CDC 2008, pp 2105–2110

    Chapter  Google Scholar 

  • Wang X, Lemmon MD (2008b) State based self-triggered feedback control systems with l2 stability. In: 17th IFAC world congress

    Google Scholar 

  • Wang X, Lemmon M (2009a) Self-triggered feedback control systems with finite-gain l2 stability. IEEE Trans Autom Control 54(3):452–467

    Article  MathSciNet  Google Scholar 

  • Wang X, Lemmon M (2009b) Self-triggered feedback systems with state-independent disturbances. In: American control conference. ACC’09, pp 3842–3847

    Chapter  Google Scholar 

  • Zhao QC, Zheng DZ (1999) Stable and real-time scheduling of a class of hybrid dynamic systems. Discrete Event Dyn Syst 9:45–64

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pau Martí.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lozoya, C., Martí, P., Velasco, M. et al. Resource and performance trade-offs in real-time embedded control systems. Real-Time Syst 49, 267–307 (2013). https://doi.org/10.1007/s11241-012-9174-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-012-9174-9

Keywords

Navigation