Embedded C Code Generation Platform for Electric Vehicle Controller

This paper presents an automated C code generation platform for the development of electric vehicle controller, based on Matlab/Simulink Real-Time Workshop. By means of this method, it is possible to develop vehicle control algorithms and configure device drivers in graphic environment. Moreover, it can generate executable C code and download them into Vehicle Control Unit automatically. This technique reduces handwritten code errors, and shortens the R&D time and cost, compared with traditional method. Besides, this technology platform is applied to the development of electric vehicle controller for the first time, using a custom Simulink driver library for MPC5644A microcontroller.

[1]  K. Jezernik,et al.  DSP based rapid control prototyping systems for engineering education and research , 2006, 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control.

[2]  D. Petreus,et al.  Rapid Control Prototyping toolbox for Renesas M32C87 microcontroller , 2010, 2010 IEEE International Conference on Automation, Quality and Testing, Robotics (AQTR).

[3]  C. Rusu,et al.  Embedded toolbox for F24X DSK target microcontroller , 2007, 2007 International Aegean Conference on Electrical Machines and Power Electronics.

[4]  S. Rebeschiess MIRCOS - microcontroller-based real time control system toolbox for use with Matlab/Simulink , 1999, Proceedings of the 1999 IEEE International Symposium on Computer Aided Control System Design (Cat. No.99TH8404).