MDD: A Unified Model-Driven Design Framework for Embedded Control Software
- 3 December 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 41 (10) , 3252-3265
Abstract
Model-driven methods are widely used in embedded control software development. Current design tools such as Ptolemy-II and Simulink have strong modeling capability but their simulation and code generation functionalities are challenged by the increasing complexity of control requirements. For simulation, emulating the triggering of the actor leads to additional time overhead and speed degradation. For code generation, generating redundant content degrades the code quality. Besides, current tools do not have a unified interface, which makes it difficult to cooperation. In this paper, we propose a unified model-driven design framework to facilitate embedded control software development. can support the unification of models built by different modeling tools for high-efficiency simulation and high-quality code generation. And the framework supports the expansion of more modeling tools, and also supports the expansion of more uses, such as unified testing and verification. First, it offers a model intermediate representation (MIR) and several corresponding parsers, which facilitate a unified representation and cooperation for different design tools. Then, based on data flow schedule analysis of the original MIR, intermediate code representation will be generated for optimized code synthesis. Finally, a variety of code translators will synthesize the intermediate code representation into the code of actual use such as code for simulation and code for deployment. For evaluation, we enhance two widely used design tools in industry, Ptolemy-II and Simulink, and apply them on the implementation of several benchmark models and a real-world self-driving control software of our industrial collaborator. Using can help reduce their simulation time by and , the generated code by and in the number of lines, and and in code execution time, respectively.Keywords
Funding Information
- NSFC Program (62022046, U1911401)
- National Key Research and Development Project (2019YFB1706203)
- Huawei-Tsinghua Trustworthy Research Project (20192000794)
This publication has 34 references indexed in Scilit:
- A UML Model-Driven Approach to Efficiently Allocate Complex Communication SchemesLecture Notes in Computer Science, 2014
- Master for Co-Simulation Using FMI2011
- The Functional Mockup Interface for Tool independent Exchange of Simulation Models2011
- A Code Generation Framework for Actor-Oriented Models with Partial EvaluationLecture Notes in Computer Science, 2007
- SCADE: Synchronous Design and Validation of Embedded Control Software2007
- Using UML Activities for System-on-Chip Design and SynthesisLecture Notes in Computer Science, 2006
- A behavioral type system and its application in Ptolemy IIFormal Aspects of Computing, 2004
- POLYCHRONY for System DesignJournal of Circuits, Systems and Computers, 2003
- Taming heterogeneity - the Ptolemy approachProceedings of the IEEE, 2003
- Ptolemy: A Framework for Simulating and Prototyping Heterogeneous Systems2002