Implementation of ARM STM32F4 microcontroller for speed control of BLDC motor based on bat algorithm

Izza Anshory, Arief Wisaksono, Jamaaluddin Jamaaluddin, Ahmad Fudholi


Brushless direct current (BLDC) motor speed performance is an essential component that must be considered in the electric vehicle drive system. This research aims to obtain the transfer function from the mathematical modeling of the BLDC motor and optimization of the BLDC motor so that a high transient response is received. The method used in this study is to identify system parameters and then model them using the structure of the autoregressive exogenous (ARX) polynomial model. Meanwhile, to get a high transient response performance, optimization is done with a hybrid intelligent controller. The experimental findings indicate that the optimization process utilizing the bat method yielded the most favorable transient response. The resulting values for the proportional gain (Kp), integral gain (Ki), and derivative gain (Kd) were determined to be 31.2685, 7.7375, and -1.1934, respectively. In the current investigation, the minimum frequency value is 6381934.619. Also determined are the transient response characteristics, which include a rise time of 0.289 seconds, a settling time of 10.9 seconds, an overshoot of 3.4%, and a peak time of 1.04 seconds. Furthermore, the closed-loop system demonstrates stable behavior in terms of stability.


ARX modelling; BLDC motor; intelligence controller; microcontroller; PID controller

Full Text:




  • There are currently no refbacks.

Copyright (c) 2023 Izza Anshory

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.