DOI QR코드

DOI QR Code

Design of a Model Based Controller with Safety

안전성을 고려한 모델 기반 제어기 설계

  • Received : 2013.02.15
  • Accepted : 2013.04.12
  • Published : 2013.04.30

Abstract

Model based design method reduces product development period and increases system software safety. In this paper, a BLDC motor controller based on model based design method is designed with Simulink and implemented with auto generated code which is written in C language. To retain the safety of software, this model is implemented according to MISRA AC SLSF guide. The validity of the implemented controller is verified with a real position control experiment, and execution times of each control loops are measured to compare the system performance of the conventional design and the model based design.

모델 기반 설계는 제품의 안전성을 확보하고 제품의 개발기간을 단축시키는 장점이 있다. 이 논문에서는 Simulink를 사용하여 BLDC 모터제어기의 모델 기반 설계를 수행한 후 자동 코드 생성방법에 의해 C코드를 생성하여 제어기를 구성하였다. 시스템의 안전성확보를 위하여 MISRA AC SLSF의 가이드에 따라 모델을 구성을 하였으며 제작된 실제 제어기를 사용하여 생성된 코드를 검증하였으며 각 하부 제어기의 수행시간을 측정하여 기존의 설계 방법과 모델기반 제어기의 설계 방법으로 구성된 제어기를 비교하였다.

Keywords

References

  1. Asma Charfi, Chokri Mraidha, Sebastien Gerard, Francois Terrier, Pierre Boulet, "Does Code Generation Promote or Prevent Optimizations?", Proc. of IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing", pp.75-79, 2010
  2. Sergey V. et. al. "Automatic Test Generation for Model-Based Code Generators", Second International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, pp75-81, 2007
  3. MIARA-C 2004, Guidelines for the use of the C language in critical systems
  4. MISRA AC SLSF:Modeling design and style guidelines for the application of Simulink and stateflow, 2009
  5. Seulgi Lee, Hyunwoo Chung, Hyungrok Oh, Junyoun Lee, "Motor control by using MATLAB/ SIMULINK Auto Code Generation", KIPE conference, pp.77-78, 2012
  6. Sanghoon Kim, "DC, AC, BLDC motor control," Bookdu, 2010
  7. Rapid-prototype (http://www.mathworks.com/rapid-prototyping)
  8. Jason Ghidella and Fredman, "Model-Based Design Streamlines Development of Body Electronics System", Autojournal, vol 28, no 3, pp.75-84
  9. Jooyoung Ma, Jaemyoung Ma, Minsuk Shin, Myoungho Sunwoo, "SILS/RCP: Integrated Model based System Development Tool for automotive embedded control system design", KASE, Spring conference, pp. 1549-1554, 2004
  10. Ilhyung Lee, Hyochung Bang, Hyundong Oh, "PILS System Development for Collision Avoidance Algorithm Verification", KSAS Autumnal conference Vol 2, pp.1172-1175, 2008

Cited by

  1. Analysis on Driving Performance of Linear Induction Motor for Maglev System by Finite Element Method vol.15, pp.7, 2014, https://doi.org/10.5762/KAIS.2014.15.7.4469