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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
Barnasconi, M.: SystemC AMS extensions: solving the need for speed. In: Design Automation Conference (2010)
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)
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
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
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)
Boland, J., Thibeault, C., Zilic, Z.: Using MATLAB and simulink in a SystemC verification environment. In Proceedings of Design and Verification Conference (2005)
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
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)
Corbier, F., Loembe, S., Clark, B.: FMI technology for validation of embedded electronic systems. In: Embedded Real Time Software and Systems (2014)
Doulos: SystemC Golden Reference Guide. Doulos, Ringwood (2002)
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
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
Functional Mock-up Interface for Co-Simulation, Version 1.0 (2010)
Functional Mock-up Interface for Model Exchange and Co-Simulation, Version 2.0 (2014)
Grotker, T.: System Design with SystemC. Kluwer Academic, Norwell (2002)
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
ICOS Independent Co-Simulation - User Manual Version 3 (2013)
IEEE Standard 1666: SystemC Language Reference Manual (2011)
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)
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
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)
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)
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
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)
Newman, J., Thomas-Alyea, K.E.: Electrochemical Systems, 3rd edn. Wiley, Hoboken (2004)
Noll, C., Blochwitz, T.: Implementation of modelisar functional mock-up interfaces in SimulationX. In: 8th International Modelica Conference (2011)
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
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)
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
Puntigam, W.: Coupled simulation: key for a successful energy management. In: Virtual Vehicle 11th Automotive Technology Conference (2007)
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)
Qtronic: FMU SDK: free development kit (2014)
Swan, S.: An introduction to system level modeling in SystemC 2.0. Review Literature and Arts of the Americas (May), pp. 0–11 (2001)
SystemC Verification Standard Specification (2003)
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)
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
Corresponding author
Editor information
Editors and Affiliations
Rights 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)