skip to main content
research-article

Stochastic Assume-Guarantee Contracts for Cyber-Physical System Design

Published:25 January 2019Publication History
Skip Abstract Section

Abstract

We present an assume-guarantee contract framework for cyber-physical system design under probabilistic requirements. Given a stochastic linear system and a set of requirements captured by bounded Stochastic Signal Temporal Logic (StSTL) contracts, we propose algorithms to check contract compatibility, consistency, and refinement, and generate a sequence of control inputs that satisfies a contract. We leverage encodings of the verification and control synthesis tasks into mixed integer optimization problems, and conservative approximations of probabilistic constraints that produce sound and tractable problem formulations. We illustrate the effectiveness of our approach on three case studies, including the design of controllers for aircraft power distribution networks.

References

  1. 2018. Stochastic Contract-based Analysis and Synthesis. Retrieved from https://github.com/nuzzo/SCAnS.Google ScholarGoogle Scholar
  2. Tobias Achterberg and Roland Wunderling. 2013. Mixed integer programming: Analyzing 12 years of progress. In Facets of Combinatorial Optimization. Springer, 449--481.Google ScholarGoogle Scholar
  3. Alberto Bemporad and Manfred Morari. 1999. Control of systems integrating logic, dynamics, and constraints. Automatica 35, 3 (1999), 407--427. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Albert Benveniste, Benoît Caillaud, Alberto Ferrari, Leonardo Mangeruca, Roberto Passerone, and Christos Sofronis. 2008. Multiple viewpoint contract-based specification and design. In Formal Methods for Components and Objects. Springer-Verlag, Berlin, Germany, 200--225. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Albert Benveniste, Benoît Caillaud, Dejan Nickovic, Roberto Passerone, Jean-Baptiste Raclet, Philipp Reinkemeier, Alberto Sangiovanni-Vincentelli, Werner Damm, Thomas Henzinger, and Kim Guldstrand Larsen. 2012. Contracts for System Design. Rapport de recherche RR-8147. INRIA. 65 pages.Google ScholarGoogle Scholar
  6. Stephen Bradley, Arnoldo Hax, and Thomas Magnanti. 1977. Applied Mathematical Programming. Addison Wesley.Google ScholarGoogle Scholar
  7. Benoît Caillaud, Benoît Delahaye, Kim G. Larsen, Axel Legay, Mikkel L. Pedersen, and Andrzej Wąsowski. 2010. Compositional design methodology with constraint Markov chains. In Int. Conf. Quantitative Evaluation of Systems. 123--132. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Alessandro Cimatti and Stefano Tonetta. 2015. Contracts-refinement proof system for component-based embedded systems. Science of Computer Programming 97, Part 3 (2015), 333--348. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Edmund M. Clarke, E. Allen Emerson, and A. Prasad Sistla. 1986. Automatic verification of finite-state concurrent systems using temporal logic specifications. ACM Transactions on Programming Languages and Systems (TOPLAS) 8, 2 (1986), 244--263. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. E. M. Clarke, O. Grumberg, and D. A. Peled. 2008. Model Checking. The MIT Press, Cambridge, MA.Google ScholarGoogle Scholar
  11. Luca de Alfaro and Thomas A. Henzinger. 2001. Interface automata. In Proc. Symp. Foundations of Software Engineering. ACM Press, 109--120. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Carlos E. de Souza, Alexandre Trofino, and Karina A. Barbosa. 2006. Mode-independent filters for Markovian jump linear systems. IEEE Trans. Automatic Control 51, 11 (2006), 1837--1841.Google ScholarGoogle ScholarCross RefCross Ref
  13. Benoît Delahaye, Benoît Caillaud, and Axel Legay. 2010. Probabilistic contracts: A compositional reasoning methodology for the design of stochastic systems. In Int. Conf. Application of Concurrency to System Design. 223--232. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Benoît Delahaye, Joost-Pieter Katoen, Kim G. Larsen, Axel Legay, Mikkel L. Pedersen, Falak Sher, and Andrzej Wąsowski. 2011. Abstract probabilistic automata. In Int. Workshop Verification, Model Checking, and Abstract Interpretation. Springer, 324--339. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Benoît Delahaye, Kim G. Larsen, Axel Legay, Mikkel L. Pedersen, and Andrzej Wąsowski. 2011. APAC: A tool for reasoning about abstract probabilistic automata. (2011).Google ScholarGoogle Scholar
  16. Rick Durrett. 2010. Probability: Theory and Examples. Cambridge University Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Nicola Elia. 2005. Remote stabilization over fading channels. Systems 8 Control Letters 54, 3 (2005), 237--249.Google ScholarGoogle Scholar
  18. S. S. Farahani, R. Majumdar, V. S. Prabhu, and S. E. Z. Soudjani. 2017. Shrinking horizon model predictive control with chance-constrained signal temporal logic specifications. In Proc. American Control Conf. 1740--1746.Google ScholarGoogle ScholarCross RefCross Ref
  19. Shromona Ghosh, Dorsa Sadigh, Pierluigi Nuzzo, Vasumathi Raman, Alexandre Donze, Alberto Sangiovanni-Vincentelli, S. Shankar Sastry, and Sanjit A. Seshia. 2016. Diagnosis and repair for synthesis from signal temporal logic specifications.Google ScholarGoogle Scholar
  20. Gregor Gössler, Dana N. Xu, and Alain Girault. 2012. Probabilistic contracts for component-based design. Formal Methods in System Design 41, 2 (2012), 211--231. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Inc. Gurobi Optimization. 2015. Gurobi Optimizer Reference Manual. Retrieved from http://www.gurobi.com.Google ScholarGoogle Scholar
  22. Hans Hansson and Bengt Jonsson. 1994. A logic for reasoning about time and reliability. Formal Aspects of Computing 6, 5 (1994), 512--535.Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Christopher M. Harris and Daniel M. Wolpert. 1998. Signal-dependent noise determines motor planning. Nature 394, 6695 (1998), 780--784.Google ScholarGoogle Scholar
  24. Antonio Iannopollo, Pierluigi Nuzzo, Stavros Tripakis, and Alberto L. Sangiovanni-Vincentelli. 2014. Library-based scalable refinement checking for contract-based design. In Proc. Design, Automation and Test in Europe. 1--6. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Marta Kwiatkowska, Gethin Norman, and David Parker. 2007. Stochastic model checking. In Formal Methods for the Design of Computer, Communication and Software Systems: Performance Evaluation (SFM’07) (Lecture Notes in Computer Science), M. Bernardo and J. Hillston (Eds.), Vol. 4486. Springer, 220--270. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Marta Kwiatkowska, Gethin Norman, and David Parker. 2011. PRISM 4.0: Verification of probabilistic real-time systems. In Proc. Int. Conf. Comput.-Aided Verification (Lecture Notes in Computer Science), G. Gopalakrishnan and S. Qadeer (Eds.), Vol. 6806. Springer, 585--591. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Marta Kwiatkowska, Gethin Norman, David Parker, and Hongyang Qu. 2010. Assume-guarantee verification for probabilistic systems. In Proc. Int. Conf. Tools and Algorithms for the Construction and Analysis of Systems (Lecture Notes in Computer Science), Vol. 6015. Springer, 23--37. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Jiwei Li, Pierluigi Nuzzo, Alberto Sangiovanni-Vincentelli, Yugeng Xi, and Dewei Li. 2017. Stochastic contracts for cyber-physical system design under probabilistic requirements. In Proc. Int. Conf. Formal Methods and Models for Co-Design. 5--14. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. J. Löfberg. 2004. YALMIP: A toolbox for modeling and optimization in MATLAB. In Proc. IEEE Int. Symp. Computer Aided Control Systems Design. Taipei, Taiwan.Google ScholarGoogle ScholarCross RefCross Ref
  30. Mehdi Maasoumy, Pierluigi Nuzzo, Forrest Iandola, Maryam Kamgarpour, Alberto Sangiovanni-Vincentelli, and Claire Tomlin. 2013. Optimal load management system for aircraft electric power distribution. In Proc. Int. Conf. Decision and Control. IEEE, 2939--2945.Google ScholarGoogle ScholarCross RefCross Ref
  31. Oded Maler and Dejan Nickovic. 2004. Monitoring temporal properties of continuous signals. In Formal Modeling and Analysis of Timed Systems. 152--166.Google ScholarGoogle Scholar
  32. B. Meyer. 1992. Applying “design by contract.” Computer 25, 10 (Oct. 1992), 40--51. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Arkadi Nemirovski and Alexander Shapiro. 2006. Convex approximations of chance constrained programs. SIAM Journal on Optimization 17, 4 (2006), 969--996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Pierluigi Nuzzo, Michele Lora, Yishai Feldman, and A. Sangiovanni-Vincentelli. 2018. CHASE: Contract-based requirement engineering for cyber-physical system design. In Proc. Design, Automation and Test in Europe. Dresden, Germany, 839--844.Google ScholarGoogle Scholar
  35. Pierluigi Nuzzo, Alberto Sangiovanni-Vincentelli, Davide Bresolin, Luca Geretti, and Tiziano Villa. 2015. A platform-based design methodology with contracts and related tools for the design of cyber-physical systems. Proc. IEEE 103, 11 (Nov. 2015), 2104--2132.Google ScholarGoogle ScholarCross RefCross Ref
  36. Pierluigi Nuzzo, Alberto Sangiovanni-Vincentelli, Xuening Sun, and Alberto Puggelli. 2012. Methodology for the design of analog integrated interfaces using contracts. IEEE Sensors Journal 12, 12 (2012), 3329--3345.Google ScholarGoogle ScholarCross RefCross Ref
  37. Pierluigi Nuzzo, Huan Xu, Necmiye Ozay, John B. Finn, Alberto L. Sangiovanni-Vincentelli, Richard M. Murray, Alexandre Donzé, and Sanjit A. Seshia. 2014. A contract-based methodology for aircraft electric power system design. IEEE Access 2 (2014), 1--25.Google ScholarGoogle ScholarCross RefCross Ref
  38. André Platzer. 2011. Stochastic differential dynamic logic for stochastic hybrid programs. In Int. Conf. Automated Deduction. 446--460. Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Jean-Baptiste Raclet, Eric Badouel, Albert Benveniste, Benoît Caillaud, Axel Legay, and Roberto Passerone. 2009. Modal interfaces: Unifying interface automata and modal specifications. In Proc. ACM/IEEE Int. Conf. Embedded Software. 87--96. Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Vasumathi Raman, Alexandre Donzé, Mehdi Maasoumy, Richard M. Murray, Alberto Sangiovanni-Vincentelli, and Sanjit A. Seshia. 2014. Model predictive control with signal temporal logic specifications. In Proc. Int. Conf. Decision and Control. IEEE, 81--87.Google ScholarGoogle Scholar
  41. Line Roald and Göran Andersson. 2018. Chance-constrained AC optimal power flow: Reformulations and efficient algorithms. IEEE Transactions on Power Systems 33, 3 (May 2018), 2906--2918.Google ScholarGoogle ScholarCross RefCross Ref
  42. Dorsa Sadigh and Ashish Kapoor. 2016. Safe control under uncertainty with probabilistic signal temporal logic. In Proc. of Robotics: Science and Systems (RSS’16).Google ScholarGoogle ScholarCross RefCross Ref
  43. Alberto Sangiovanni-Vincentelli, Werner Damm, and Roberto Passerone. 2012. Taming Dr. Frankenstein: Contract-based design for cyber-physical systems. European Journal of Control 18, 3 (2012), 217--238.Google ScholarGoogle ScholarCross RefCross Ref
  44. Behrooz Shahsavari, Mehdi Maasoumy, Alberto Sangiovanni-Vincentelli, and Roberto Horowitz. 2015. Stochastic model predictive control design for load management system of aircraft electrical power distribution. In Proc. American Control Conference. 3649--3655.Google ScholarGoogle ScholarCross RefCross Ref
  45. Wayne L. Winston. 2008. Operations Research: Applications 8 Algorithms. Thomson Business Press.Google ScholarGoogle Scholar

Index Terms

  1. Stochastic Assume-Guarantee Contracts for Cyber-Physical System Design

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader

          HTML Format

          View this article in HTML Format .

          View HTML Format