Skip to main content

Automated Code Generation for Development of Electric Vehicle Controller

  • Conference paper
  • First Online:
Proceedings of the FISITA 2012 World Automotive Congress

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 194))

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

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. The Mathworks, Inc., Supported hardware, http://www.mathworks.org

  2. Microchip Technology, Inc., MATLAB device blocks for MATLAB IDE, http://www.microchip.com

  3. 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

    Google Scholar 

  4. 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

    Google Scholar 

  5. 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

    Google Scholar 

  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

    Google Scholar 

  7. 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

    Google Scholar 

  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

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Peng Geng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics