Optimal and robust controller synthesis using energy timed automata with uncertainty

Abstract

In this paper, we propose a novel framework for the synthesis of robust and optimal energy-aware controllers. The framework is based on energy timed automata, allowing for easy expression of timing constraints and variable energy rates. We prove decidability of the energy-constrained infinite-run problem in settings with both certainty and uncertainty of the energy rates. We also consider the optimization problem of identifying the minimal upper bound that will permit existence of energy-constrained infinite runs. Our algorithms are based on quantifier elimination for linear real arithmetic. Using Mathematica and Mjollnir, we illustrate our framework through a real industrial example of a hydraulic oil pump. Compared with previous approaches our method is completely automated and provides improved results.

This is a preview of subscription content, access via your institution.

References

  1. [ACHH93]

    Alur, R., Courcoubetis, C., Henzinger, T.A., Ho, P.-H.: Hybrid automata: an algorithmic approach to the specification and verification of hybrid systems. In: Grossman, R.L., Nerode, A., Ravn, A.P., Rischel, H. (eds.) Hybrid systems, pp. 209–229. Springer, Berlin (1993)

    Google Scholar 

  2. [AD94]

    Alur, R., Dill, D.L.: A theory of timed automata. Theor Comput Sci 126(2), 183–235 (1994)

    MathSciNet  Article  Google Scholar 

  3. [ALP01]

    Alur R, La Torre S, Pappas GJ (2001) Optimal paths in weighted timed automata. In: Di Benedetto MD, Sangiovani-Vincentelli AL (eds) Proceedings of the 4th international workshop on hybrid systems: computation and control (HSCC'01), volume 2034 of lecture notes in computer science. Springer, Berlin, pp 49–62

  4. [BBF+18]

    Bacci, G., Bouyer, P., Fahrenberg, U., Larsen, K.G., Markey, N., Reynier, P.-A.: Optimal and robust controller synthesis–using energy timed automata with uncertainty. In: Havelund, K., Peleska, J., Roscoe, B., de Vink, E.P. (eds.) Formal methods–22nd international symposium, FM 2018. lecture notes in computer science, vol. 10951, pp. 203–221. Springer, Berlin (2018)

    Google Scholar 

  5. [BBKT01]

    Blondel, V.D., Bournez, O., Koiran, P., Tsitsiklis, J.N.: The stability of saturated linear dynamical systems is undecidable. J Comput Syst Sci 62(3), 442–462 (2001)

    MathSciNet  Article  Google Scholar 

  6. [BCD+07]

    Behrmann, G., Cougnard, A., David, A., Fleury, E., Larsen, K.G., Lime, D.: UPPAAL-Tiga: time for playing games!. In: Damm, W., Hermanns, H. (eds.) Computer aided verification, 19th international conference, CAV 2007, Berlin, Germany, July 3–7, 2007, proceedings. lecture notes in computer science, vol. 4590, pp. 121–125. Springer, Berlin (2007)

    Google Scholar 

  7. [BFH+01]

    Behrmann G, Fehnker A, Hune T, Larsen KG, Pettersson P, Romijn J, Vaandrager F (2001) Minimum-cost reachability for priced timed automata. In: Di Benedetto MD, Sangiovani-Vincentelli AL (eds) Proceedings of the 4th international workshop on hybrid systems: computation and control (HSCC'01), volume 2034 of lecture notes in computer science. Springer, Berlin, pp 147–161

  8. [BFL+08]

    Bouyer P, Fahrenberg U, Larsen KG, Markey N, Srba J (2008) Infinite runs in weighted timed automata with energy constraints. In: Cassez F, Jard C (eds) Proceedings of the 6th international conferences on formal modelling and analysis of timed systems (FORMATS'08), volume 5215 of lecture notes in computer science. Springer, Berlin, pp 33–47

  9. [BFLM10]

    Bouyer P, Fahrenberg U, Larsen KG, Markey N (2010) Timed automata with observers under energy constraints. In: Johansson KH, Yi W (eds) Proceedings of the 13th international workshop on hybrid systems: computation and control (HSCC'10). ACM Press, pp 61–70

  10. [BFTM00]

    Bemporad, A., Ferrari-Trecate, G., Morari, M.: Observability and controllability of piecewise affine and hybrid systems. IEEE Trans Autom Control 45(10), 1864–1876 (2000)

    MathSciNet  Article  Google Scholar 

  11. [BGH+16]

    Bisgaard M, Gerhardt D, Hermanns H, Krcál J, Nies G, Stenger M (2016) Battery-aware scheduling in low orbit: the GomX-3 case. In: Fitzgerald JS, Heitmeyer CL, Gnesi S, Philippou A (eds) FM 2016: Formal methods—21st international symposium, Limassol, Cyprus, November 9–11, 2016, proceedings, volume 9995 of lecture notes in computer science, pp 559–576

  12. [BIL06]

    Bozga M, Iosif R, Lakhnech Y (2006) Flat parametric counter automata. In: Bugliesi M, Preneel B, Sassone V, Wegener I (eds) Proceedings of the 33rd international colloquium on automata, languages and programming (ICALP'06))— part II, volume 4052 of lecture notes in computer science. Springer, Berlin, pp 577–588

  13. [BLM14]

    Bouyer P, Larsen KG, Markey N (2014) Lower-bound constrained runs in weighted timed automata. Perform Eval 73:91–109, March

  14. [BT99]

    Blondel, V.D., Tsitsiklis, J.N.: Complexity of stability and controllability of elementary hybrid systems. Automatica 35(3), 479–489 (1999)

    MathSciNet  Article  Google Scholar 

  15. [CDF+05]

    Cassez, F., David, A., Fleury, E., Larsen, K.G., Lime, D.: Efficient on-the-fly algorithms for the analysis of timed games. In: Abadi, M., de Alfaro, L. (eds.) CONCUR 2005–concurrency theory, 16th international conference, CONCUR 2005, San Francisco, CA, USA, August 23–26, 2005, proceedings. lecture notes in computer science, vol. 3653, pp. 66–80. Springer (2005)

  16. [CFL19]

    Cachera, D., Fahrenberg, U., Legay, A.: An \(\omega \)-algebra for real-time energy problems. Log Methods Comput Sci 15(2), (2019)

  17. [CJ98]

    Comon H, Jurski Y (1998) Multiple counters automata, safety analysis, and Presburger arithmetic. In: Hu AJ, Vardi MY (eds) Proceedings of the 10th international conference on computer aided verification (CAV'98), volume 1427 of lecture notes in computer science. Springer, Berlin, pp 268–279

  18. [CJL+09]

    Cassez F, Jensen JJ, Larsen KG, Raskin J-F, Reynier P-A (2009) Automatic synthesis of robust and optimal controllers—an industrial case study. In: Majumdar R, Tabuada P (eds) Proceedings of the 12th international workshop on hybrid systems: computation and control (HSCC'09), volume 5469 of lecture notes in computer science. Springer, Berlin, pp 90–104

  19. [DJL+14]

    David, A., Jensen, P.G., Larsen, K.G., Legay, A., Lime, D., Sørensen, M.G., Taankvist, J.H.: On time with minimal expected cost!. In: Cassez, F., Raskin, J.-F. (eds.) Automated technology for verification and analysis–12th international symposium, ATVA 2014, Sydney, NSW, Australia, November 3–7, 2014, proceedings. lecture notes in computer science, vol. 8837, pp. 129–145. Springer, Berlin (2014)

    Google Scholar 

  20. [DJL+15]

    David A, Jensen PG, Larsen KG, Mikucionis M, Taankvist JH (2015) Uppaal Stratego. In: Baier C, Tinelli C (eds) Tools and algorithms for the construction and analysis of systems–21st international conference, TACAS 2015, held as part of the European joint conferences on theory and practice of software, ETAPS 2015, London, UK, April 11–18: Proceedings. lecture notes in computer science, vol. 9035, pp. 206–211. Springer, Berlin (2015)

  21. [Fre08]

    Frehse, G.: PHAVer: algorithmic verification of hybrid systems past HyTech. STTT 10(3), 263–279 (2008)

    Article  Google Scholar 

  22. [JST11]

    Jha S, Seshia SA, Tiwari A (2011) Synthesis of optimal switching logic for hybrid systems. In: Chakraborty S, Jerraya A, Baruah SK, Fischmeister S (eds) Proceedings of the 11th international conference on embedded software, EMSOFT 2011, part of the seventh embedded systems week, ESWeek 2011, Taipei, Taiwan, October 9–14, 2011. ACM, pp 107–116

  23. [Mar11]

    Markey, N.: Verification of embedded systems–algorithms and complexity. Mémoire d'habilitation, École Normale Supérieure de Cachan, France, April (2011)

    Google Scholar 

  24. [MFÅL15]

    Miremadi, S., Fei, Z., Åkesson, K., Lennartson, B.: Symbolic supervisory control of timed discrete event systems. IEEE Trans Control Syst Technol 23(2), 584–597 (2015)

    Article  Google Scholar 

  25. [Mon10]

    Monniaux, D., (2010) Quantifier elimination by lazy model enumeration. In: Touili T, Cook B, Jackson PB (eds) Computer aided verification, 22nd international conference, CAV 2010, Edinburgh, UK, July 15–19, : Proceedings. lecture notes in computer science, vol. 6174, pp. 585–599. Springer, Berlin (2010)

  26. [PHM14]

    Phan, A.-D., Hansen, M.R., Madsen, J.: EHRA: specification and analysis of energy-harvesting wireless sensor networks. In: Iida, S., Meseguer, J., Ogata, K. (eds.) Specification, algebra, and software–essays dedicated to Kokichi Futatsugi. lecture notes in computer science, vol. 8373, pp. 520–540. Springer, Berlin (2014)

    Google Scholar 

  27. [Qua]

    Quasimodo. Quantitative system properties in model-driven design of embedded systems. http://www.quasimodo.aau.dk/

  28. [vBHLO17]

    von Bochmann, G., Hilscher, M., Linker, S., Olderog, E.-R.: Synthesizing and verifying controllers for multi-lane traffic maneuvers. Formal Asp Comput 29(4), 583–600 (2017)

    MathSciNet  Article  Google Scholar 

  29. [Wol]

    Wolfram Research, Inc. (2017) Mathematica, Version 11.2. Champaign, IL

  30. [ZZKL12]

    Zhao H, Zhan N, Kapur D, Larsen KG (2012) A "hybrid" approach for synthesizing optimal controllers of hybrid systems: a case study of the oil pump industrial example. In: Giannakopoulou D, Méry D (eds) FM 2012: formal methods–18th international symposium, Paris, France, August 27–31: Proceedings. lecture notes in computer science, vol. 7436, pp. 471–485. Springer, Berlin (2012)

Download references

Author information

Affiliations

Authors

Corresponding author

Correspondence to Giovanni Bacci.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Work supported by ERC projects Lasso and EQualIS and by French ANR project TickTac.

Erik de Vink, Ana Cavalcanti, Jan Peleska and Bill Roscoe

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Bacci, G., Bouyer, P., Fahrenberg, U. et al. Optimal and robust controller synthesis using energy timed automata with uncertainty. Form Asp Comp 33, 3–25 (2021). https://doi.org/10.1007/s00165-020-00521-4

Download citation

Keywords

  • Energy timed automata
  • Controller synthesis
  • Quantifier elimination