Vol. 3 (2022): Proceedings of the 1st SENARA 2022

ARM STM32F4 Microcontroller Implementation for Control and Modeling of BLDC Motor : Implementasi Mikrokontroler ARM STM32F4 untuk Kontrol dan Pemodelan Motor BLDC

Izza Anshory
Universitas Muhammadiyah Sidoarjo
Arief Wisaksono
Universitas Muhammadiyah Sidoarjo
Indah Sulistiyowati
Universitas Muhammadiyah Sidoarjo
Published July 17, 2022
  • Microcontroller ARM STM32F4,
  • BLDC Motor,
  • PWM
How to Cite
Anshory, I., Wisaksono, A., & Sulistiyowati, I. (2022). ARM STM32F4 Microcontroller Implementation for Control and Modeling of BLDC Motor : Implementasi Mikrokontroler ARM STM32F4 untuk Kontrol dan Pemodelan Motor BLDC . Procedia of Social Sciences and Humanities, 3, 935 - 940. https://doi.org/10.21070/pssh.v3i.281


Brushless Direct Current (BLDC) motor as an electric vehicle driving motor, its speed control is directly proportional to the voltage applied to its terminals. Therefore the applied average voltage or the average current flowing through the motor will change depending on the duty cycle of the ON and OFF time of the pulses, so the motor speed will change. The purpose of this research is to apply the ARM STM32F4 microcontroller to control the speed of the BLDC motor and obtain the transfer function equation of the BLDC motor. The method used in this study is an ARM STM32F4 microcontroller generating a duty cycle through Pulse Width Modulation (PWM) control which causes changes in the ON and OFF switches of the three-phase inverter. The variable change data is then modeled mathematically in the form of a transfer function using the System Identification Toolbox (SIT) application in Mathlab programming. The results of calculations and tests show that the ARM STM32F4 microcontroller functions well in regulating the rotational speed of the BLDC motor.


[1] R. Yanamshetti and J. Nishat Ansari, “Microcontroller Controlled BLDC Drive for Electric Vehicle,” Int. J. Eng. Res. Technoogy, vol. 26, no. 3, pp. 215–218, 2012.
[2] K. T. Chau, Electric Vehicle Machines and Drives: Design, Analysis and Application, First. Singapore: John Wiley & Sons Singapore Pte. Ltd, 2015.
[3] P. C. K. Luk and C. K. Lee, “Efficient modelling for a brushless DC motor drive,” IECON Proc. (Industrial Electron. Conf., vol. 1, no. October 1994, pp. 188–191, 1994.
[4] S. A. K. Mozaffari Niapour, G. Shokri Garjan, M. Shafiei, M. R. Feyzi, S. Danyali, and M. Bahrami Kouhshahi, “Review of Permanent-Magnet brushless DC motor basic drives based on analysis and simulation study,” Int. Rev. Electr. Eng., vol. 9, no. 5, pp. 930–957, 2014.
[5] S. Baldha and K. Tarpara, “Design and Implementation of Motor Driver Based on 32Bit Arm Cortex Processor Shrddha Baldha Kuldip Tarpara Engineering,” vol. 1, no. 2277, pp. 5–7, 2015.
[6] M. Ridwan, M. N. Yuniarto, and Soedibyo, “Electrical equivalent circuit based modeling and analysis of brushless direct current (BLDC) motor,” Proceeding - 2016 Int. Semin. Intell. Technol. Its Appl. ISITIA 2016 Recent Trends Intell. Comput. Technol. Sustain. Energy, pp. 471–478, 2017.
[7] P. Busono, A. Iswahyudi, M. A. A. Rahman, and A. Fitrianto, “Design of Embedded Microcontroller for Controlling and Monitoring Blood Pump,” Procedia Comput. Sci., vol. 72, pp. 217–224, 2015.
[8] I. Anshory, D. Hadidjaja, and I. Sulistiyowati, “Measurement, Modeling, and Optimization Speed Control of BLDC Motor Using Fuzzy-PSO Based Algorithm,” J. Electr. Technol. UMY, vol. 5, no. 1, pp. 17–25, 2021.
[9] B. Alsayid, W. A. Salah, and Y. Alawneh, “Modelling of sensored speed control of BLDC motor using MATLAB / SIMULINK,” vol. 9, no. 5, pp. 3333–3343, 2019.