Abstract
Code generation for Simulink model is widely used in the development of vehicle controller. In traditional way, only the code of vehicle control model can be generated automatically by Real-Time Workshop. So programmers have to handwrite code for peripheral device drivers. The objective of this study was to develop a custom driver blocksets to support I/O devices on high performance 32-bit MPC5644A microcontroller. Furthermore, to fulfill modeling, code generation, compilation and downloading all accomplished “at the touch of a button”. This method is used and tested in the development of electric vehicle controller, which saves time and money greatly.
F2012-D03-019
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
The Mathworks, Inc., Supported hardware, http://www.mathworks.org
Microchip Technology, Inc., MATLAB device blocks for MATLAB IDE, http://www.microchip.com
Hercog D, Curkovic M, Jezernik K (2006) DSP based rapid control prototyping systems for engineering education and research. In: Proceedings of IEEE international symposium on computer aided control systems design, Munich, Germany
Rebeschiess S (1999) MIRCOS—microcontroller-based real time control system toolbox for use with Matlab/Simulink. In: Proceedings of IEEE international symposium on computer aided control system design, pp 267–272
Duma R, Petreus D, Sita VI, Dobra P, Rusu A (2010) Rapid control prototyping toolbox for Renesas M32C87 microcontroller. In: Proceedings of IEEE international symposium on automation quality and testing robotics (AQTR), pp 1–6
Rusu C, Radulesvu M, Balan H (2007) Embedded toolbox for F24X DSK. International Aegean conference on electrical machines and power electronics, Aegean, Greek, pp 556–559
Bartosinski R, Hanzalek Z, Struzka P, Waszniowski L (2007) Integrated environment for embedded control systems design. In: Proceedings of IEEE international symposium on parallel and distributed processing (IPDPS), pp 1–8
Feng L, Zhihui H (2010) Embedded C code generation and embedded target development based on RTW-EC. In: Proceedings of IEEE international symposium on computer science and information technology (ICCSIT), vol 5, pp 532–536
Acknowledgments
Supported by the NSFC (National Natural Science Foundation) of China under the contract of No. 61004075, the MOST (Ministry of Science and Technology) of China under the contract of No. 2010DFA72760 and No. 2011AA11A269, and the Tsinghua University Initiative Scientific Research Program (Grand No. 2010THZ08) is greatly acknowledged.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Geng, P., Ouyang, M., Li, J., Xu, L. (2013). Automated Code Generation for Development of Electric Vehicle Controller. In: Proceedings of the FISITA 2012 World Automotive Congress. Lecture Notes in Electrical Engineering, vol 194. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33829-8_43
Download citation
DOI: https://doi.org/10.1007/978-3-642-33829-8_43
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-33828-1
Online ISBN: 978-3-642-33829-8
eBook Packages: EngineeringEngineering (R0)