An Embedded Control Software Development Environment with Simulink Models and UML Models
Tatsuya Kamiyama, Masayoshi Tamura, Takahiro Soeda, Myungryun Yoo, Takanori Yokoyama · 2012
The paper presents an embedded control software development environment with Simulink models and UML models. The embedded control software development process consists of the control logic design phase, the software design phase, and the programming phase. MATLAB/Simulink is widely used to build a controller model in the control logic design phase. On the other hand, UML is widely used in the software design phase. To shift from the control logic design phase to the software design phase smoothly, we have developed a model transformation tool to transform a Simulink model to a UML model. The UML model generated by the transformation tool consists of classes that encapsulate data and calculation methods of the data. To improve the reusability of the classes, the Simulink model should be well-layered. We have also developed a layering support tool for efficient layering of the Simulink model. Code generation tools are used to generate source programs from Simulink models and UML models in the programming phase. We have developed a code composition tool to integrate the code generated from UML models and the code generated from Simulink models. We have applied those tools to a number of Simulink models and found it useful for embedded control software design.