skip to main content
10.1145/2883817.2883825acmconferencesArticle/Chapter ViewAbstractPublication PagescpsweekConference Proceedingsconference-collections
research-article

From Simulation Models to Hybrid Automata Using Urgency and Relaxation

Published: 11 April 2016 Publication History

Abstract

We consider the problem of translating a deterministic \emph{simulation model} (like Matlab-Simunk, Modelica or Ptolemy models) into a \emph{verification model} expressed by a network of hybrid automata. The goal is to verify safety using reachability analysis on the verification model. Simulation models typically use transitions with urgent semantics, which must be taken as soon as possible. Urgent transitions also make it possible to decompose systems that would otherwise need to be modeled with a monolithic hybrid automaton.
In this paper, we include urgent transitions in our verification models and propose a suitable adaptation of our reachability algorithm. However, the simulation model, due to its imperfections, may be unsafe even though the corresponding hybrid automata are safe. Conversely, set-based reachability may not be able to show safety of an ideal formal model, since complex dynamics necessarily entail overapproximations. Taken as a whole, the formal modeling and verification process can both falsely claim safety and fail to show safety of the concrete system. We address this inconsistency by relaxing the model as follows. The standard semantics of hybrid automata is a mathematical idealization, where reactions are considered to be instantaneous and physical measurements infinitely precise.
We propose semantics that relax these assumptions, where guard conditions are sampled in discrete time and admit measurement errors. The relaxed semantics can be translated to an equivalent relaxed model in standard semantics. The relaxed model is realistic in the sense that it can be implemented on hardware fast and precise enough, and in a way that safety is preserved. Finally, we show that overapproximative reachability analysis can show safety of relaxed models, which is not the case in general.

References

[1]
M. Agrawal and P. Thiagarajan. Lazy rectangular hybrid automata. In R. Alur and G. Pappas, editors, Hybrid Systems: Computation and Control, volume 2993 of Lecture Notes in Computer Science, pages 1--15. Springer Berlin Heidelberg, 2004.
[2]
M. Agrawal and P. Thiagarajan. The discrete time behavior of lazy linear hybrid automata. In M. Morari and L. Thiele, editors, Hybrid Systems: Computation and Control, volume 3414 of Lecture Notes in Computer Science, pages 55--69. Springer Berlin Heidelberg, 2005.
[3]
D. Beek, M.A., Reniers, R.R.H., Schiffelers, and J. Rooda. Foundations of a compositional interchange format for hybrid systems. In HSCC'07, volume 4416 of LNCS, pages 587--600. Springer, 2007.
[4]
S. Bogomolov, D. Magazzeni, S. Minopoli, and M. Wehrle. Pddl+ planning with hybrid automata: Foundations of translating must behavior. In Proceedings International Conference on Automated Planning and Scheduling, ICAPS, volume 2015-January, pages 42--46. AAAI Press, 2015.
[5]
J. T. Buck, S. Ha, E. A. Lee, and D. G. Messerschmitt. Ptolemy: A framework for simulating and prototyping heterogeneous systems. Ablex Publishing Corporation, 1994.
[6]
M. Fränzle. Analysis of hybrid systems: An ounce of realism can save an infinity of states. In Computer Science Logic, pages 126--139. Springer, 1999.
[7]
G. Frehse. Reachability of hybrid systems in space-time. In EMSOFT'15, 2015.
[8]
G. Frehse, C. L. Guernic, A. Donzé, S. Cotton, R. Ray, O. Lebeltel, R. Ripado, A. Girard, T. Dang, and O. Maler. Spaceex: Scalable verification of hybrid systems. In CAV 11: Proc. of 23rd Conf. on Computer Aided Verification, pages 379--395, 2011.
[9]
G. Frehse and A. Paice. Optimal control of a gas compressor field. In MTNS'00, 2000.
[10]
B. Gebremichael and F. Vaandrager. Specifying urgency in timed i/o automata. In SEFM'05, pages 64--74. IEEE Computer Society, 2005.
[11]
W. Heemels, D. Lehmann, J. Lunze, and B. De Schutter. Introduction to hybrid systems. In Handbook of Hybrid Systems Control -- Theory, Tools, Applications, pages 3--30. Cambridge University Press, Cambridge, UK, 2009.
[12]
T. Henzinger. The theory of hybrid automata. In 11th IEEE Symp. Logic in Comp. Sci., pages 278--292, 1996.
[13]
T. A. Henzinger, P.-H. Ho, and H. Wong-Toi. Hytech: the next generation. In Proc. IEEE Real-Time Systems Symposium (RTSS '95), page 56. IEEE Computer Society, 1995.
[14]
P.-H. Ho. Automatic Analysis of Hybrid Systems. PhD thesis, Cornell University, Aug. 1995. Technical Report CSD-TR95-1536.
[15]
S. Jha, B. Brady, and S. Seshia. Symbolic reachability analysis of lazy linear hybrid automata. In J.-F. Raskin and P. Thiagarajan, editors, Formal Modeling and Analysis of Timed Systems, volume 4763 of Lecture Notes in Computer Science, pages 241--256. Springer Berlin Heidelberg, 2007.
[16]
MathWorks. Mathworks simulink: Simulation et model-based design, Mar. 2014. www.mathworks.fr/products/simulink.
[17]
S. E. Mattsson, H. Elmqvist, and M. Otter. Physical system modeling with modelica. Control Engineering Practice, 6(4):501--510, 1998.
[18]
S. Minopoli and G. Frehse. SL2SX tool and case study. www-verimag.imag.fr/ minopoli/SL2SXdemo.zip.
[19]
S. Minopoli and G. Frehse. Non-convex invariants and urgency conditions on linear hybrid automata. In 12th International Conference on Formal Modeling and Analysis of Timed Systems, 2014.
[20]
S. Minopoli and G. Frehse. From simulation models to hybrid automata using urgency and relaxation. Technical Report TR-2015-10, Verimag, October 2015.
[21]
S. Minopoli and G. Frehse. SL2SX translator: From simulink to spaceex models. In HSCC'16, 2016.
[22]
N. S. Nedialkov, K. R. Jackson, and G. F. Corliss. Validated solutions of initial value problems for ordinary differential equations. Applied Mathematics and Computation, 105(1):21--68, 1999.
[23]
L. V. Nguyen and T. T. Johnson. Dc-to-dc switched-mode power converters. In 1st Workshop on Applied Verification for Continuous and Hybrid Systems (ARCH). http://cps-vo.org/node/12113, 2014.
[24]
X. Nicollin, A. Olivero, J. Sifakis, and S. Yovine. An approach to the description and analysis of hybrid systems. In Hybrid Systems, pages 149--178. Springer, 1993.
[25]
M. W. Whalen, A. Murugesan, S. Rayadurgam, and M. P. E. Heimdahl. Structuring simulink models for verification and reuse. In Proceedings of the 6th International Workshop on Modeling in Software Engineering, MiSE 2014, pages 19--24, New York, NY, USA, 2014. ACM.
[26]
M. Wulf, L. Doyen, and J.-F. Raskin. Almost asap semantics: From timed models to timed implementations. In HSCC'04, volume 2993 of LNCS, pages 296--310. Springer, 2004.

Cited By

View all
  • (2021)Set Propagation Techniques for Reachability AnalysisAnnual Review of Control, Robotics, and Autonomous Systems10.1146/annurev-control-071420-0819414:1(369-395)Online publication date: 3-May-2021
  • (2021)Operational Data-Driven Feedback for Safety Evaluation of Agent-Based Cyber–Physical SystemsIEEE Transactions on Industrial Informatics10.1109/TII.2020.300998517:5(3367-3378)Online publication date: May-2021
  • (2019)Hybrid automataInternational Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-017-0458-121:1(87-104)Online publication date: 1-Feb-2019
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
HSCC '16: Proceedings of the 19th International Conference on Hybrid Systems: Computation and Control
April 2016
324 pages
ISBN:9781450339551
DOI:10.1145/2883817
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 April 2016

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. hybrid automata
  2. hybrid systems
  3. numerical analysis
  4. reachability analysis
  5. urgency

Qualifiers

  • Research-article

Funding Sources

  • European Commission project UnCoVerCPS

Conference

HSCC'16
Sponsor:

Acceptance Rates

HSCC '16 Paper Acceptance Rate 28 of 65 submissions, 43%;
Overall Acceptance Rate 153 of 373 submissions, 41%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)20
  • Downloads (Last 6 weeks)2
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2021)Set Propagation Techniques for Reachability AnalysisAnnual Review of Control, Robotics, and Autonomous Systems10.1146/annurev-control-071420-0819414:1(369-395)Online publication date: 3-May-2021
  • (2021)Operational Data-Driven Feedback for Safety Evaluation of Agent-Based Cyber–Physical SystemsIEEE Transactions on Industrial Informatics10.1109/TII.2020.300998517:5(3367-3378)Online publication date: May-2021
  • (2019)Hybrid automataInternational Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-017-0458-121:1(87-104)Online publication date: 1-Feb-2019
  • (2018)Formal Feature Interpretation of Hybrid SystemsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2018.285736137:11(2474-2484)Online publication date: Nov-2018
  • (2017)Constructing verification models of nonlinear Simulink systems via syntactic hybridization2017 IEEE 56th Annual Conference on Decision and Control (CDC)10.1109/CDC.2017.8263907(1788-1795)Online publication date: Dec-2017
  • (2016)Modeling, simulation and verification environment for engineering cyber-physical systems based on discrete event system specificationProceedings of the 7th International Conference on Cyber-Physical Systems10.5555/2984464.2984508(1-1)Online publication date: 11-Apr-2016
  • (2016)SL2SX TranslatorProceedings of the 19th International Conference on Hybrid Systems: Computation and Control10.1145/2883817.2883826(93-98)Online publication date: 11-Apr-2016
  • (2016)Poster Abstract: Modeling, Simulation and Verification Environment for Engineering Cyber-Physical Systems Based on Discrete Event System Specification2016 ACM/IEEE 7th International Conference on Cyber-Physical Systems (ICCPS)10.1109/ICCPS.2016.7479114(1-1)Online publication date: Apr-2016

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media