DOI QR코드

DOI QR Code

A Study on Auto Code Generation for High Performance Motor Control using the Simulink

Simulink 기반 자동차용 모터 고성능 제어를 위한 자동코드 생성에 관한 연구

  • Lee, Geun-Ho (Graduate School of Automotive Engineering, Kookmin University) ;
  • Hahm, Seung-Kwon (Graduate School of Automotive Engineering, Kookmin University)
  • 이근호 (국민대학교 자동차공학전문대학원) ;
  • 함승권 (국민대학교 자동차공학전문대학원)
  • Received : 2013.07.16
  • Accepted : 2013.08.29
  • Published : 2013.12.01

Abstract

Nowadays, embedded software development using the MATLAB/Simulink system is gradually emerging. Studies generating the parts of embedded S/W in a Rapid Prototype are presented. In this paper, a method to generate the entire embedded S/W of enhanced AC motor control is proposed. High performance motor control could not be achieved with the basic Simulink library and RAppID Toolbox library as it does not have PWM based Interrupt, an ASAC (Analog Sensing for AC Motors) function and other special functions of the Freescale MPC555x. Consequently, the required libraries for enhanced AC motor control are created by Legacy code tool, TLC (Target Language Compiler) and S-Function (System-Function) of MATLAB/ Simulink and utilized in the Rapid Prototype. Motor control performance and execution time are compared automatically to the generated-code S/W with the hand coded S/W. The IPMSM (Interior Permanent Magnet Synchronous Motor) and MPC5553 board that were designed as the AC motor controller for hybrid electrical vehicle are used for the test. The performances meet the requirements and satisfactory results are acquired.

Keywords

Acknowledgement

Supported by : 국민대학교

References

  1. S. P. Choi, Y. S. Lee, and J. G. Jee, "An embeded control system of a DC motor driver using the model based controller design in MATLAB/SIMULINK," KIEE, 2007 Annual Conference (in Korean), Jul. 2007.
  2. Y. S. Lee, J. K. JI, and G. S. Cha, "PMSM drive system tsing embedded target for TI C2000 DSP in MATLAB/SIMULINK," International Journal of Control, vol. 23, no. 4, pp. 123-145, May 1989.
  3. S. W. Chung, W. K. Jung, and H. C. Lee, "A control system of a BLDC motor using the simulink and RCP device," KSAE, 2006 Annual Conference (in Korean), pp. 1453-1458, May 2006.
  4. R. Krishnan, Electric Motor Drives, Modleing, Analysis and Ccontrol, Prentice Hall, 2001.
  5. N. P. R. Iyer and Jianguo Zhu, "Modeling and simulation of a six step discontinuous current mode inverter fed permanent magnet synchronous motor drive using SIMULINK," IEEE, pp. 1056-1061, 2005.
  6. Y. Hu, J. Tatler, and Z. Chen, "Modeling and simulation of a power electronic conversion system using SIMULINK," IEEE, pp. 289-293, 2004.
  7. D. S. Kum, H. Peng, and N. Bucknor, "Optimal clutch and motor control of parallel hybrid electric vehicles for rapid engine-starts," Journal of Institute of Control, Robotics and Systems (in Korean), vol. 28, pp. 250-251, May 2013.
  8. M. Yilmaz, R. N. Tuncay, and O. Ustun, "A wavelet study of sensorless control of brushless DC motor through rapid prototyping approach," IEEE, pp. 334-339, 2004.
  9. T. Y. Kim and J. Lyou, "Sensorless drive of the BLDC motor using a line voltage difference," Journal of institute of Control, Robotics and Systems (in Korean), vol. 19, no. 6, pp. 508-512, Jun. 2013. https://doi.org/10.5302/J.ICROS.2013.13.1894

Cited by

  1. Improved Wheelset Speed Implementation of a Brake HILS System for a Railway Vehicle vol.21, pp.9, 2015, https://doi.org/10.5302/J.ICROS.2015.15.0045
  2. Development of Fault Injection Simulation Environment for ADAS Systems and Case Studies of Fail-Safety Evaluation vol.25, pp.6, 2017, https://doi.org/10.7467/KSAE.2017.25.6.767