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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
AUTOSAR: AUTOSAR development partnership (2018). http://www.autosar.org
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)
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
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
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)
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
Sha, L., Rajkumar, R., Lehoczky, J.P.: Priority inheritance protocols: an approach to real-time synchronization. IEEE Trans. Comput. 30(9), 1175–1185 (1990)
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)
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)
MathWorks: Developing S-Functions, R2017b (2017). http://www.mathworks.com
MathWorks: Simulink User’s Guide, R2017b (2017). http://www.mathworks.com
MathWorks: Stateflow User’s Guide, R2017b (2017). http://www.mathworks.com
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
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)
The AUTOSAR Consortium: Applying Simulink to AUTOSAR, R3.1 (2006)
The AUTOSAR Consortium: AUTOSAR Methodology, R4.3 (2018)
The AUTOSAR Consortium: The AUTOSAR Standard, R4.3 (2018)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
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)