Skip to main content

Modeling AUTOSAR Implementations in Simulink

  • Conference paper
  • First Online:
Book cover Modelling Foundations and Applications (ECMFA 2018)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 10890))

Included in the following conference series:

  • 1025 Accesses

Abstract

AUTOSAR (AUTomotive Open System ARchitecture) is an open industry standard for the automotive sector. It defines the automotive three-layered software architecture. One layer is application layer, where functional behaviours are encapsulated in Software Components (SW-Cs). Inside SW-Cs, a set of runnable entities represent the internal behaviours and are realized as a set of tasks.To address AUTOSAR’s lack of support for modelling behaviours of runnables, other modelling languages such as Simulink are employed. Simulink simulations assume tasks are completed in zero execution time, while real executions require a finite execution time. This time mismatch can result in failures of analyzing an unexpected runtime behaviour during the simulation phase. This paper extends the Simulink environment to accommodate the timing relations of tasks during simulation. We present a Simulink block that can schedule tasks with a non-zero simulation time. This enables more realistic analysis during the model development stage.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://spectrum.ieee.org/transportation/systems/this-car-runs-on-code.

  2. 2.

    https://www.mathworks.com/products/embedded-coder.html.

  3. 3.

    https://www.mathworks.com/products/simulink-coder.html.

References

  1. AUTOSAR: AUTOSAR development partnership (2018). http://www.autosar.org

  2. Cremona, F., Morelli, M., Di Natale, M.: TRES: a modular representation of schedulers, tasks, and messages to control simulations in simulink. In: Proceedings of the 30th Annual ACM Symposium on Applied Computing, pp. 1940–1947 (2015)

    Google Scholar 

  3. Derler, P., Naderlinger, A., Pree, W., Resmerita, S., Templ, J.: Simulation of LET models in simulink and ptolemy. In: Choppy, C., Sokolsky, O. (eds.) Monterey Workshop 2008. LNCS, vol. 6028, pp. 83–92. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-12566-9_5

    Chapter  Google Scholar 

  4. Ferrari, A., Di Natale, M., Gentile, G., Reggiani, G., Gai, P.: Time and memory tradeoffs in the implementation of AUTOSAR components. In: Proceedings of 2009 Design, Automation & Test in Europe Conference & Exhibition, pp. 864–869. IEEE, April 2009

    Google Scholar 

  5. Henriksson, D., Cervin, A., Årzén, K.E.: TrueTime: real-time control system simulation with MATLAB/Simulink. In: Proceedings of the Nordic MATLAB Conference (2003)

    Google Scholar 

  6. Henzinger, T.A., Horowitz, B., Kirsch, C.M.: Giotto: a time-triggered language for embedded programming. In: Henzinger, T.A., Kirsch, C.M. (eds.) EMSOFT 2001. LNCS, vol. 2211, pp. 166–184. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-45449-7_12

    Chapter  MATH  Google Scholar 

  7. Sha, L., Rajkumar, R., Lehoczky, J.P.: Priority inheritance protocols: an approach to real-time synchronization. IEEE Trans. Comput. 30(9), 1175–1185 (1990)

    Article  MathSciNet  Google Scholar 

  8. Lehoczky, J., Sha, L., Ding, Y.: The rate monotonic scheduling algorithm: exact characterization and average case behavior. In: Proceedings of Real-Time Systems Symposium, pp. 0–5 (1989)

    Google Scholar 

  9. Liu, C.L., Layland, J.W.: Scheduling algorithms for multiprogramming in a hard- real-time environment scheduling algorithms for multiprogramming. J. Assoc. Comput. Mach. 20(1), 46–61 (1973)

    Article  MathSciNet  Google Scholar 

  10. MathWorks: Developing S-Functions, R2017b (2017). http://www.mathworks.com

  11. MathWorks: Simulink User’s Guide, R2017b (2017). http://www.mathworks.com

  12. MathWorks: Stateflow User’s Guide, R2017b (2017). http://www.mathworks.com

  13. Naderlinger, A.: Simulating preemptive scheduling with timing-aware blocks in Simulink. In: Proceedings of Design, Automation & Test in Europe Conference & Exhibition (DATE), pp. 758–763. IEEE, March 2017

    Google Scholar 

  14. Naderlinger, A., Templ, J., Pree, W.: Simulating real-time software components based on logical execution time. In: Proceedings of the 2009 Summer Computer Simulation Conference, SCSC 2009, Vista, CA, Society for Modeling & Simulation International, pp. 148–155 (2009)

    Google Scholar 

  15. The AUTOSAR Consortium: Applying Simulink to AUTOSAR, R3.1 (2006)

    Google Scholar 

  16. The AUTOSAR Consortium: AUTOSAR Methodology, R4.3 (2018)

    Google Scholar 

  17. The AUTOSAR Consortium: The AUTOSAR Standard, R4.3 (2018)

    Google Scholar 

  18. Zeng, H., Di Natale, M.: Mechanisms for guaranteeing data consistency and flow preservation in AUTOSAR software on multi-core platforms. In: SIES 2011–6th IEEE International Symposium on Industrial Embedded Systems, Conference Proceedings, pp. 140–149. IEEE, June 2011

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jian Chen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, J., Alalfi, M.H., Dean, T.R., Ramesh, S. (2018). Modeling AUTOSAR Implementations in Simulink. In: Pierantonio, A., Trujillo, S. (eds) Modelling Foundations and Applications. ECMFA 2018. Lecture Notes in Computer Science(), vol 10890. Springer, Cham. https://doi.org/10.1007/978-3-319-92997-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-92997-2_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-92996-5

  • Online ISBN: 978-3-319-92997-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics