Abstract
The interest in the logical execution time (LET) paradigm has recently experienced a boost, especially in the automotive industry. This is because it is considered a practical candidate for migrating concurrent legacy software from single- to multi-core platforms by introducing deterministic intra- and inter-core communication. In many cases, the implementation of these individual software components roots in MATLAB/Simulink, a modeling and simulation environment, where the controller functionality is described with a block-oriented formalism and simulated with synchronous reactive semantics. Considering LET already in the modeling and simulation phase instead of deferring this to the integration phase, as it is done now, is an important step towards the idea of models being the single source of truth and to estimate the effect of LET on end-to-end timing in cause-effect-chains at an early stage. This paper presents two approaches of simulating software components with LET semantics in Simulink. In contrast to previous work, which deals with clean slate top-down approaches, we focus on legacy software (in the form of Simulink models) that does not satisfy some of the initial assumptions of the LET programming model.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
AUTOSAR (2018). http://www.autosar.org
Beckert, M., Möstl, M., Ernst, R.: Zero-time communication for automotive multi-core systems under SPP scheduling. In: Proceedings of Emerging Technologies and Factory Automation (ETFA), Berlin, Germany, September 2016
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, SAC 2015. ACM, New York (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
Di Natale, M., Guo, L., Zeng, H., Sangiovanni-Vincentelli, A.: Synthesis of multitask implementations of simulink models with minimum delays. IEEE Trans. Ind. Inform. 6(4), 637–651 (2010)
Hennig, J., von Hasseln, H., Mohammad, H., Resmerita, S., Lukesch, S., Naderlinger, A.: Towards parallelizing legacy embedded control software using the LET programming paradigm. In: 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), WIP, Vienna, Austria, April 2016
Henzinger, T., Horowitz, B., Kirsch, C.: Giotto: a time-triggered language for embedded programming. Proc. IEEE 91, 84–99 (2003)
Henzinger, T., Kirsch, C., Sanvido, M.A.A., Pree, W.: From control models to real-time code using Giotto. IEEE Control Syst. Mag. 23(1), 50–64 (2003)
Henzinger, T.A., Sifakis, J.: The embedded systems design challenge. In: Misra, J., Nipkow, T., Sekerinski, E. (eds.) FM 2006. LNCS, vol. 4085, pp. 1–15. Springer, Heidelberg (2006). https://doi.org/10.1007/11813040_1
Kloda, T., d’Ausbourg, B., Santinelli, L.: EDF schedulability analysis for an extended timing definition language. In: Proceedings of the 9th IEEE International Symposium on Industrial Embedded Systems, SIES 2014, Pisa, Italy, 18–20 June 2014, pp. 30–40 (2014)
Kluge, F., Schoeberl, M., Ungerer, T.: Support for the logical execution time model on a time-predictable multicore processor. SIGBED Rev. 13(4), 61–66 (2016)
Lee, E.A., Seshia, S.A.: Introduction to Embedded Systems - A Cyber-Physical Systems Approach, 1 edn (2010)
Naderlinger, A.: Simulating execution time variations in MATLAB/Simulink. In: 2017 Winter Simulation Conference (WSC), pp. 1491–1502, December 2017
Naderlinger, A.: Simulating preemptive scheduling with timing-aware blocks in Simulink. In: Design, Automation and Test in Europe Conference and Exhibition, DATE 2017, Lausanne, Switzerland, 27–31 March 2017, pp. 758–763 (2017)
Naderlinger, A., Pree, W., Templ, J.: Visual modeling of real-time behavior. In: Proceedings of Symposium on Automotive/Avionics Systems Engineering (SAASE) (2009)
Naderlinger, A., Templ, J., Pree, W.: Simulating real-time software components based on logical execution time. In: SCSC 2009: Proceedings of the 2009 Summer Computer Simulation Conference (2009)
Pree, W., Templ, J., Hintenaus, P., Naderlinger, A., Pletzer, J.: TDL - steps beyond Giotto: a case for automated software construction. Int. J. Softw. Inf. 5(1–2), 335–354 (2011)
Resmerita, S., Naderlinger, A., Huber, M., Butts, K., Pree, W.: Applying real-time programming to legacy embedded control software. In: 2015 IEEE 18th International Symposium on Real-Time Distributed Computing, pp. 1–8, April 2015
Resmerita, S., Naderlinger, A., Lukesch, S.: Efficient realization of logical execution times in legacy embedded software. In: Proceedings of the 15th ACM-IEEE International Conference on Formal Methods and Models for System Design, MEMOCODE 2017, Vienna, pp. 36–45 (2017)
Rosen, B.K., Wegman, M.N., Zadeck, F.K.: Global value numbers and redundant computations. In: Proceedings of the 15th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pp. 12–27 (1988)
Stieglbauer, G.: Model-based development of embedded control software with TDL and Simulink. Ph.D. thesis, University of Salzburg (2007)
Templ, J.: Timing Definition Language (TDL) 1.5 specification. University of Salzburg, Technical report, July 2009. http://www.softwareresearch.net
The MathWorks: Simulink Reference, R2018a (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Naderlinger, A. (2019). Subjecting Legacy Simulink Models to Timing Specifications. In: Chamberlain, R., Taha, W., Törngren, M. (eds) Cyber Physical Systems. Model-Based Design. CyPhy WESE 2018 2018. Lecture Notes in Computer Science(), vol 11615. Springer, Cham. https://doi.org/10.1007/978-3-030-23703-5_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-23703-5_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-23702-8
Online ISBN: 978-3-030-23703-5
eBook Packages: Computer ScienceComputer Science (R0)