A new method of code generation for MC9S12 ECU

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

RTW design method on the basis of model is becoming a main method of embedded system development as the short development cycle, low cost, high reliability, ease testing, and maintenance. But during the process of model building, the way of MATLAB/GUI is always used to configure the system parameters, which results in many imperfections such as slow implementation starting, poor compatibility, complex configuration, in-aesthetic interface, and so on. The purpose of this paper is to improve the reliability and accuracy of parameters setting and simplify the configure process by changing the configuring method and simplifying setting process. The parameters of RTW are configured by upper software. The user interface was developed by Visual C# on the basis of three-tier structure. By PWM module testing, the correctness of C# parameters setting, Simulink modeling, and the RTW code generating was verified. The ECU actual running results show that configuring the model parameters by upper software can get rid of the constraints of GUI. The target ECU could be configured conveniently according to the needs of developers whether they are familiar with GUI or not. Meanwhile, more energy could be devoted to the design of control algorithms. Last, by function expansion, the upper software could be used for more controllers to realize the automatic code generation.

Author supplied keywords

Cite

CITATION STYLE

APA

Meng, R., & Zhang, C. (2018). A new method of code generation for MC9S12 ECU. In Lecture Notes in Electrical Engineering (Vol. 419, pp. 627–637). Springer Verlag. https://doi.org/10.1007/978-981-10-3551-7_50

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free