Novel rapid control prototyping for permanent magnet synchronous motor via model-based design and STM32 chip
Mingyuan Hu,Hyeongki Ahn,Jihoon Park,Kwanho You
DOI: https://doi.org/10.1007/s00170-024-14579-4
IF: 3.563
2024-10-08
The International Journal of Advanced Manufacturing Technology
Abstract:As control algorithms become increasingly sophisticated, delivering improved performance at the expense of greater complexity, practical experiments often become unfeasible. To address this challenge, this study introduces a novel rapid control prototyping (NRCP) approach based on model-based design (MBD) using MATLAB/Simulink, STM32CubeMX software, and field-oriented control strategies for permanent magnet synchronous motors. Compared with existing rapid control prototyping methods, our NRCP design offers several advantages: it simplifies model construction by utilizing only basic Simulink modules, minimizes dependency on MATLAB/Simulink toolboxes by only requiring Embedded Code conversion to C language, and ensures strong compatibility as the experimental code involves only C language. To demonstrate the feasibility and efficiency of this approach, sensor-based and sensorless control models were developed using the MBD method. The practicality of the NRCP was successfully validated through sensor-based and sensorless experiments using an ARM Cortex-M4-based STM32 microcontroller.
engineering, manufacturing,automation & control systems