Skip to main content
Top

2017 | OriginalPaper | Chapter

7. Analysis and Implementation of Embedded System Models: Example of Tags in Item Management Application

Authors : Bojan Nokovic, Emil Sekerinski

Published in: Model-Implementation Fidelity in Cyber Physical System Design

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

We use an application with electronic tags to illustrate a holistic development approach that includes visual modelling of the system and its environment, qualitative and quantitative verification of the model, and executable code generation. To this end, we use, pState, a tool for the design of hierarchical state machines extended with probabilistic transitions, costs/rewards, and state invariants, called pCharts. From a pChart model, pState generates input code for a probabilistic model checker in the form of either a Markov Decision Process or a Probabilistic Timed Automaton. On the generated model, qualitative and quantitative properties can be verified. From sub-charts without probabilistic transitions, pState can generate executable code in C or assembly language. We analyze the tag collection and collision arbitration of the DASH-7 open standard protocol in which message collision is allowed to some extent. First, we create a model of the tag collection to calculate the collision probability and then we use the collision probability to estimate the average tag power consumption. Finally, we show how the code for a tag micro-controller can be generated directly from an embedded system model.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference A. Hinton, M. Kwiatkowska, G. Norman, D. Parker, PRISM: A tool for automatic verification of probabilistic systems. In Proc. 12th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS’06), vol. 3920 of LNCS, ed. by H. Hermanns, J. Palsberg (Springer, New York, 2006), pp. 441–444 A. Hinton, M. Kwiatkowska, G. Norman, D. Parker, PRISM: A tool for automatic verification of probabilistic systems. In Proc. 12th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS’06), vol. 3920 of LNCS, ed. by H. Hermanns, J. Palsberg (Springer, New York, 2006), pp. 441–444
4.
go back to reference B. Nokovic, E. Sekerinski, pState: A probabilistic statecharts translator. In Embedded Computing (MECO), 2013 2nd Mediterranean Conference on, pp. 29–32, 2013 B. Nokovic, E. Sekerinski, pState: A probabilistic statecharts translator. In Embedded Computing (MECO), 2013 2nd Mediterranean Conference on, pp. 29–32, 2013
5.
go back to reference B. Nokovic, E. Sekerinski, Verification and code generation for timed transitions in pCharts. In Proceedings of the 2014 International C* Conference on Computer Science #38, C3S2E ’14 (ACM, New York, NY, USA, 2014), pp. 3:1–3:10 B. Nokovic, E. Sekerinski, Verification and code generation for timed transitions in pCharts. In Proceedings of the 2014 International C* Conference on Computer Science #38, C3S2E ’14 (ACM, New York, NY, USA, 2014), pp. 3:1–3:10
6.
go back to reference D.N. Jansen, Extensions of Statecharts with Probability, Time, and Stochastic Timing. PhD thesis, University of Twente, Enschede, 2003 D.N. Jansen, Extensions of Statecharts with Probability, Time, and Stochastic Timing. PhD thesis, University of Twente, Enschede, 2003
7.
go back to reference E. Sekerinski, Design verification with state invariants. In UML 2 Semantics and Applications, ed. by K. Lano (Wiley, New York, 2009), pp. 317–347. E. Sekerinski, Design verification with state invariants. In UML 2 Semantics and Applications, ed. by K. Lano (Wiley, New York, 2009), pp. 317–347.
9.
go back to reference R. Eshuis, D.N. Jansen, R. Wieringa, Requirements-level semantics and model checking of object-oriented statecharts. Requir. Eng. 7 (6), 243–263 (2002)CrossRef R. Eshuis, D.N. Jansen, R. Wieringa, Requirements-level semantics and model checking of object-oriented statecharts. Requir. Eng. 7 (6), 243–263 (2002)CrossRef
10.
go back to reference D. Harel, A. Naamad, The statemate semantics of statecharts. ACM Trans. Softw. Eng. Methodol. 5, 293–333 (1996)CrossRef D. Harel, A. Naamad, The statemate semantics of statecharts. ACM Trans. Softw. Eng. Methodol. 5, 293–333 (1996)CrossRef
11.
go back to reference E. Sekerinski, R. Zurob, iState: A statechart translator. In UML 2001 - The Unified Modeling Language, 4th International Conference, Lecture Notes in Computer Science 2185, ed. by M. Gogolla, C. Kobryn, Toronto, Canada, 2001, pp. 376–390 E. Sekerinski, R. Zurob, iState: A statechart translator. In UML 2001 - The Unified Modeling Language, 4th International Conference, Lecture Notes in Computer Science 2185, ed. by M. Gogolla, C. Kobryn, Toronto, Canada, 2001, pp. 376–390
12.
go back to reference E. Mikk, Y. Lakhnech, M. Siegel, G.J. Holzmann, Implementing statecharts in PROMELA/SPIN. In Proceedings of the Second IEEE Workshop on Industrial Strength Formal Specification Techniques, WIFT ’98 (IEEE Computer Society, Washington, DC, USA, 1998), pp. 90–101 E. Mikk, Y. Lakhnech, M. Siegel, G.J. Holzmann, Implementing statecharts in PROMELA/SPIN. In Proceedings of the Second IEEE Workshop on Industrial Strength Formal Specification Techniques, WIFT ’98 (IEEE Computer Society, Washington, DC, USA, 1998), pp. 90–101
13.
go back to reference E. Sekerinski, Verifying statecharts with state invariants. In Proceedings of the 13th IEEE International Conference on Engineering of Complex Computer Systems (IEEE Computer Society, Washington, DC, USA, 2008), pp. 7–14 E. Sekerinski, Verifying statecharts with state invariants. In Proceedings of the 13th IEEE International Conference on Engineering of Complex Computer Systems (IEEE Computer Society, Washington, DC, USA, 2008), pp. 7–14
14.
go back to reference E. Gamma, R. Helm, R. Johnson, J. Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Longman Publishing, Boston, MA, 1995)MATH E. Gamma, R. Helm, R. Johnson, J. Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Longman Publishing, Boston, MA, 1995)MATH
16.
go back to reference M. Fruth, Formal Methods for the Analysis of Wireless Network Protocols. PhD thesis, University of Oxford, 2011 M. Fruth, Formal Methods for the Analysis of Wireless Network Protocols. PhD thesis, University of Oxford, 2011
17.
go back to reference C. Baier, J.P. Katoen, Principles of Model Checking (MIT Press, New York, 2008)MATH C. Baier, J.P. Katoen, Principles of Model Checking (MIT Press, New York, 2008)MATH
18.
go back to reference G. Norman, D. Parker, J. Sproston, Model checking for probabilistic timed automata. Formal Methods Syst. Des. 43 (2), 164–190 (2013)CrossRefMATH G. Norman, D. Parker, J. Sproston, Model checking for probabilistic timed automata. Formal Methods Syst. Des. 43 (2), 164–190 (2013)CrossRefMATH
20.
21.
go back to reference V. Forejt, M. Kwiatkowska, G. Norman, D. Parker, Automated verification techniques for probabilistic systems. In Formal Methods for Eternal Networked Software Systems (SFM’11), vol. 6659 of LNCS, ed. by M. Bernardo, V. Issarny (Springer, New York, 2011), pp. 53–113CrossRef V. Forejt, M. Kwiatkowska, G. Norman, D. Parker, Automated verification techniques for probabilistic systems. In Formal Methods for Eternal Networked Software Systems (SFM’11), vol. 6659 of LNCS, ed. by M. Bernardo, V. Issarny (Springer, New York, 2011), pp. 53–113CrossRef
22.
go back to reference M. Kwiatkowska, G. Norman, D. Parker, J. Sproston, Performance analysis of probabilistic timed automata using digital clocks. In Formal Modeling and Analysis of Timed Systems, vol. 2791 of Lecture Notes in Computer Science, ed. by K.G. Larsen, P. Niebert (Springer, Berlin, Heidelberg, 2004), pp. 105–120 M. Kwiatkowska, G. Norman, D. Parker, J. Sproston, Performance analysis of probabilistic timed automata using digital clocks. In Formal Modeling and Analysis of Timed Systems, vol. 2791 of Lecture Notes in Computer Science, ed. by K.G. Larsen, P. Niebert (Springer, Berlin, Heidelberg, 2004), pp. 105–120
23.
go back to reference M. Kwiatkowska, G. Norman, D. Parker, Stochastic games for verification of probabilistic timed automata. In Proceedings of the 7th International Conference on Formal Modeling and Analysis of Timed Systems, FORMATS ’09, ed. by J. Ouaknine, F.W. Vaandrager (Springer, Berlin, Heidelberg, 2009), pp. 212–227CrossRef M. Kwiatkowska, G. Norman, D. Parker, Stochastic games for verification of probabilistic timed automata. In Proceedings of the 7th International Conference on Formal Modeling and Analysis of Timed Systems, FORMATS ’09, ed. by J. Ouaknine, F.W. Vaandrager (Springer, Berlin, Heidelberg, 2009), pp. 212–227CrossRef
24.
go back to reference A. Bianco, L. de Alfaro, Model checking of probabalistic and nondeterministic systems. In Proceedings of the 15th Conference on Foundations of Software Technology and Theoretical Computer Science, ed. by P.S. Thiagarajan (Springer, London, UK, 1995), pp. 499–513CrossRef A. Bianco, L. de Alfaro, Model checking of probabalistic and nondeterministic systems. In Proceedings of the 15th Conference on Foundations of Software Technology and Theoretical Computer Science, ed. by P.S. Thiagarajan (Springer, London, UK, 1995), pp. 499–513CrossRef
25.
go back to reference N. Wirth, Compiler construction. International computer science series (Addison-Wesley, Reading, 1996) N. Wirth, Compiler construction. International computer science series (Addison-Wesley, Reading, 1996)
26.
go back to reference IARSystems, IAR visualstate concept guide, 1999 IARSystems, IAR visualstate concept guide, 1999
28.
go back to reference M. Paun, Posttag PT23 technical specification. Technical report, Lyngsoe Systems, 2006 M. Paun, Posttag PT23 technical specification. Technical report, Lyngsoe Systems, 2006
29.
go back to reference B. Nokovic, E. Sekerinski, Model-based WCET analysis with invariants. In Proceedings of the 15th International Workshop on Automated Verification of Critical Systems (AVoCS 2015), Edinburgh, UK, Sep., 2015, vol. 72 of Electronic Communications of the EASST, ed. by G. Grov, A. Ireland, 2015 B. Nokovic, E. Sekerinski, Model-based WCET analysis with invariants. In Proceedings of the 15th International Workshop on Automated Verification of Critical Systems (AVoCS 2015), Edinburgh, UK, Sep., 2015, vol. 72 of Electronic Communications of the EASST, ed. by G. Grov, A. Ireland, 2015
Metadata
Title
Analysis and Implementation of Embedded System Models: Example of Tags in Item Management Application
Authors
Bojan Nokovic
Emil Sekerinski
Copyright Year
2017
DOI
https://doi.org/10.1007/978-3-319-47307-9_7