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