Skip to main content

Standard Compliant Co-simulation Models for Verification of Automotive Embedded Systems

  • Chapter
  • First Online:
Languages, Design Methods, and Tools for Electronic System Design

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 385))

Abstract

The functional mockup interface (FMI) is a tool independent standard to support model exchange and co-simulation, as intended by the automotive industry to unify the exchange of simulation models between suppliers and OEMs. The standard defines functional mockup units (FMU) as components which implement the FMI. The creation and exchange of simulation models with customers and suppliers across the automotive supply chain is highly beneficial: In order to support early phases of development (requirement formulation, creation of executable specifications, and rapid prototyping) the creation of FMUs for co-simulation is reasonable. In this paper, we propose a structured method for generation of FMUs for co-simulation which are versatile, highly transportable and fast simulating. We show how to compile FMUs based on SystemC and SystemC-AMS, representing digital as well as analog and mixed signal electric and electronic systems. This tool-independent method allows inclusion of existing simulation models with only minimal adaptations. Additionally, no modifications of the standardized libraries are necessary with the outlined approach. The resulting FMUs allow convenient exchange and fast co-simulation of automotive systems, as they may be integrated by any FMI compatible master tool. An automotive battery system use case is shown to highlight these advantages and to demonstrate the simulation performance of the resulting FMUs.

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
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover 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://www.fmi-standard.org.

  2. 2.

    http://www.accellera.org.

  3. 3.

    http://www.systemc-ams.org.

  4. 4.

    http://www.sparxsystems.com.

References

  1. Armengaud, E., Karner, M., Steger, C., Weiß, R., Pistauer, M., Pfister, F.: A cross domain co-simulation platform for the efficient analysis of mechatronic systems. In: SAE World Conference (SAE Technical Paper 2010-01-0239), pp. 1–14 (2010). doi:10.4271/2010-01-0239

    Google Scholar 

  2. Barnasconi, M.: SystemC AMS extensions: solving the need for speed. In: Design Automation Conference (2010)

    Google Scholar 

  3. Benedikt, M., Watzenig, D., Zehetner, J., Hofer, A.: NEPCE - a nearly energy preserving coupling element for weak-coupled problems and co-simulation. In: IV International Conference on Computational Methods for Coupled Problems in Science and Engineering, Coupled Problems (2013)

    Google Scholar 

  4. Birkl, C., Howey, D.A.: Model identification and parameter estimation for LiFePO4 batteries. In: Hybrid and Electric Vehicles Conference 2013 (HEVC 2013), p. 2.1–2.1. Institution of Engineering and Technology, Institution of Engineering and Technology, London (2013). doi:10.1049/cp.2013.1889

    Google Scholar 

  5. Blochwitz, T., Otter, M., Arnold, M., Bausch, C., Clauß, C., Elmqvist, H., Junghanns, A., Mauss, J., Monteiro, M., Neidhold, T., Neumerkel, D., Olsson, H., Peetz, J.V., Wolf, S.: The functional mockup interface for tool independent exchange of simulation models. In: 8th International Modelica Conference 2011, pp. 173–184 (2011). doi:10.3384/ecp12076173

    Google Scholar 

  6. Blochwitz, T., Otter, M., Akesson, J.: Functional mockup interface 2.0: the standard for tool independent exchange of simulation models. In: NAFEMS World Congress (2013)

    Google Scholar 

  7. Boland, J., Thibeault, C., Zilic, Z.: Using MATLAB and simulink in a SystemC verification environment. In Proceedings of Design and Verification Conference (2005)

    Google Scholar 

  8. Chen, M., Rincon-Mora, G.: Accurate electrical battery model capable of predicting runtime and I-V performance. IEEE Trans. Energy Convers. 21 (2), 504–511 (2006). doi:10.1109/TEC.2006.874229

    Article  Google Scholar 

  9. Chen, W., Huhn, M., Fritzson, P.: A generic FMU interface for Modelica. In: 4th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, pp. 19–24 (2011)

    Google Scholar 

  10. Corbier, F., Loembe, S., Clark, B.: FMI technology for validation of embedded electronic systems. In: Embedded Real Time Software and Systems (2014)

    Google Scholar 

  11. Doulos: SystemC Golden Reference Guide. Doulos, Ringwood (2002)

    Google Scholar 

  12. Doyle, M., Fuller, T.F., Newman, J.: Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell. J. Electrochem. Soc. 140 (6), 1526–1533 (1993). doi:10.1149/1.2221597

    Article  Google Scholar 

  13. Elsheikh, A., Awais, M.U., Widl, E., Palensky, P.: Modelica-enabled rapid prototyping of cyber-physical energy systems via the functional mockup interface. In: 2013 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems, MSCPES 2013, pp. 1–6 (2013). doi:10.1109/MSCPES.2013.6623315

    Google Scholar 

  14. Functional Mock-up Interface for Co-Simulation, Version 1.0 (2010)

    Google Scholar 

  15. Functional Mock-up Interface for Model Exchange and Co-Simulation, Version 2.0 (2014)

    Google Scholar 

  16. Grotker, T.: System Design with SystemC. Kluwer Academic, Norwell (2002)

    Google Scholar 

  17. He, H., Xiong, R., Guo, H., Li, S.: Comparison study on the battery models used for the energy management of batteries in electric vehicles. Energy Convers. Manag. 64, 113–121 (2012). {IREC} 2011, The International Renewable Energy Congress

    Google Scholar 

  18. ICOS Independent Co-Simulation - User Manual Version 3 (2013)

    Google Scholar 

  19. IEEE Standard 1666: SystemC Language Reference Manual (2011)

    Google Scholar 

  20. Krammer, M., Karner, M., Fuchs, A.: Semi-formal modeling of simulation-based V&V methods to enhance safety. In: Proceedings of the Embedded World 2014 Exhibition and Conference. WEKA Fachmedien GmbH, Nuremberg (2014)

    Google Scholar 

  21. Krammer, M., Karner, M., Fuchs, A.: System design for enhanced forward-engineering possibilities of safety critical embedded systems. In: 17th International Symposium on Design and Diagnostics of Electronic Circuits Systems, pp. 234–237 (2014). doi:10.1109/DDECS.2014.6868797

    Google Scholar 

  22. Krammer, M., Fritz, J., Karner, M.: Model-based configuration of automotive co-simulation scenarios. In: Proceedings of the 47th Annual Simulation Symposium. The Society for Modelling and Simulation International, San Diego (2015)

    Google Scholar 

  23. Lam, L.: A practical circuit-based model for state of health estimation of li-ion battery cells in electric vehicles. Ph.D. thesis, TU Delft, Delft University of Technology (2011)

    Google Scholar 

  24. Lam, L., Bauer, P., Kelder, E.: A practical circuit-based model for Li-ion battery cells in electric vehicle applications. In: 2011 IEEE 33rd International Telecommunications Energy Conference (INTELEC), pp. 1–9 (2011). doi:10.1109/INTLEC.2011.6099803

    Google Scholar 

  25. Neema, H., Bapty, T., Batteh, J.: Model-based integration platform for FMI co-simulation and heterogeneous simulations of cyber-physical systems. In: Proceedings of the 10th International Modelica Conference, pp. 235–245 (2014)

    Google Scholar 

  26. Newman, J., Thomas-Alyea, K.E.: Electrochemical Systems, 3rd edn. Wiley, Hoboken (2004)

    Google Scholar 

  27. Noll, C., Blochwitz, T.: Implementation of modelisar functional mock-up interfaces in SimulationX. In: 8th International Modelica Conference (2011)

    Google Scholar 

  28. Piller, S., Perrin, M., Jossen, A.: Methods for state-of-charge determination and their applications. J. Power Sources 96 (1), 113–120 (2001). In: Proceedings of the 22nd International Power Sources Symposium

    Google Scholar 

  29. Plett, G.L.: Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs: part 2. Modeling and identification. J. Power Sources 134 (2), 262–276 (2004)

    Article  Google Scholar 

  30. Pohlmann, U., Schäfer, W., Reddehase, H., Röckemann, J., Wagner, R.: Generating functional mockup units from software specifications. In: Proceedings of the 9th International MODELICA Conference, 3–5 September 2012, Munich, pp. 765–774 (2012). doi:10.3384/ecp12076765

    Google Scholar 

  31. Puntigam, W.: Coupled simulation: key for a successful energy management. In: Virtual Vehicle 11th Automotive Technology Conference (2007)

    Google Scholar 

  32. Pussig, B., Denil, J., De Meulenaere, P., Vangheluwe, H.: Generation of functional mock-up units for co-simulation from simulink using explicit computational semantics. In: Proceedings of the Symposium on Theory of Modeling & Simulation - DEVS Integrative, DEVS ’14, pp. 38:1–38:6. Society for Computer Simulation International, San Diego (2014)

    Google Scholar 

  33. Qtronic: FMU SDK: free development kit (2014)

    Google Scholar 

  34. Swan, S.: An introduction to system level modeling in SystemC 2.0. Review Literature and Arts of the Americas (May), pp. 0–11 (2001)

    Google Scholar 

  35. SystemC Verification Standard Specification (2003)

    Google Scholar 

  36. Unterrieder, C., Huemer, M., Marsili, S.: SystemC-AMS-based design of a battery model for single and multi cell applications. In: 2012 8th Conference on Ph.D. Research in Microelectronics and Electronics (PRIME), pp. 1–4 (2012)

    Google Scholar 

Download references

Acknowledgements

This research work has been funded by the European Commission within the EMC2 project under the ARTEMIS Joint Undertaking under grant agreement no. 621429. The authors acknowledge the financial support of the COMET K2—Competence Centres for Excellent Technologies Programme of the Austrian Federal Ministry for Transport, Innovation and Technology (BMVIT), the Austrian Federal Ministry of Science, Research and Economy (BMWFW), the Austrian Research Promotion Agency (FFG), the Province of Styria and the Styrian Business Promotion Agency (SFG).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Martin Krammer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Krammer, M., Martin, H., Radmilovic, Z., Erker, S., Karner, M. (2016). Standard Compliant Co-simulation Models for Verification of Automotive Embedded Systems. In: Drechsler, R., Wille, R. (eds) Languages, Design Methods, and Tools for Electronic System Design. Lecture Notes in Electrical Engineering, vol 385. Springer, Cham. https://doi.org/10.1007/978-3-319-31723-6_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-31723-6_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-31722-9

  • Online ISBN: 978-3-319-31723-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics