Implementation of Brushless DC motor speed control on STM32F407 Cortex M4

  IJETT-book-cover  International Journal of Engineering Trends and Technology (IJETT)          
  
© 2017 by IJETT Journal
Volume-53 Number-3
Year of Publication : 2017
Authors : Mr. Kanaiya G Bhatt, Mr. Yogesh Parmar
DOI :  10.14445/22315381/IJETT-V53P221

Citation 

Mr. Kanaiya G Bhatt, Mr. Yogesh Parmar "Implementation of Brushless DC motor speed control on STM32F407 Cortex M4", International Journal of Engineering Trends and Technology (IJETT), V53(3),118-123 November 2017. ISSN:2231-5381. www.ijettjournal.org. published by seventh sense research group

Abstract
Brushless Direct Current (BLDC) motors, also known as permanent magnet motors find wide applications in many industries due to their higher performance, reliability and ease of control. A new generation of microcontrollers and advanced electronics has overcome the challenge of implementing required control factions, making BLDC motor more practical for a wide range of uses. In this project, BLDC motor circuitry is designed, and develops using 120- degree control with a sensor. In the present project, 3- phase BLDC motor control solution using STM32F407 Cortex M4 as the motor controller, Hall sensors are used to detect the rotor position and close the commutation loop. The main objective of this project is controlling speed of BLDC motor and displays its speed. The speed control of the BLDC motors is very essential. This proposed system provides a very precise and effective speed control system. The user can increase or decrease the speed as per the requirement and the motor will run at that exact speed. Topics discussed include interrupt handling for pulse width modulation (PWM) generation and sensor processing with performance measurement for STM32F407 Cortex M4 microcontroller usage. Implementation of a speed profile (speed Vs. time). The project is divided into three stages: input, processing and output stage. The input stage consists of entering the required speed through switches. The processing stage provides RPM reference of the motor, by feedback of Hall signal interrupt to the microcontroller in the circuit. The microcontroller develops PWM pulses which are varied with switches to regulate the DC power to the motor such that the desired speed is achieved. The output stage uses a MOSFET being driven by the microcontroller output. A STM32F407 Cortex M4 microcontroller is used with a set of switches to increase or decrease the speed of the BLDC motor. This speed is sensed by the hall sensors and is given to microcontroller which in turn displays it on a LCD display. The above operation is carried out by using PI algorithm and a MOSFET for driving the BLDC motor. This work is aimed at get precise output for speed control using STM32F407 Cortex M4 microcontroller with lower system cost.

Reference
[1] “3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013” Targeting User Guide (http:// freescale.com) 56F8013BLDCUG, Rev. 1, 11/2005.
[2] “Speed Control of Brushless DC Motors-Block Commutation with Hall Sensors” User’s Guide,(www.microsemi.com/soc/support/search/default.aspx).
[3] “Motor control and Drive”http://www.microchip.com/pagehandler/en- us/technology/motorcontrol/motor-types/bldc.html.
[4]http://www.mathworks.in/help/physmod/elec/examples/brushless-dc-motor.html.
[5]http://www.youtube.com/watch?v=5GTQI9aG8U0.
[6]http://ctms.engin.umich.edu.php=MotorSpeed&section=SimulinkModeling.
[7]http://www.en.pudn.com/downloads161/doc/detail727719_en.htm.
[8]http://eprints.uitm.edu.my/3602/1/MOHAMADFAUZI_BIN_OMAR_07_24.pdf.
[9]http://www.mathworks.in/help/robot-axis-control-brushless-dc-motor-drive.html.
[10] http://www.liveieeeprojects.com/bldc-motor-speed-control-with-rpm-display.
[11] http://karthikpatnaik.blogspot.in/bldc-speed-control-matlab-simulink.html.

Keywords
STM32F407 Cortex M4; Brushless DC motor speed control in open and closed loop.