19.7. BLDC SMC
19.7.1. Overview
The bldc_smc project contains the sensorless speed control of DC brushless motors.
Use the FOC control algorithm
Sensorless control algorithm for SMC
19.7.2. Configurations
This program uses the BLM57050-1000 brushless motor of “Leisai Intelligence”, please refer to the Leisai Intelligence website for the specific parameters of the motor.
Board settings refer to the development board documentation Motor Pin related content
19.7.3. Running the demo
The motor accelerates at speeds from 15 to 40 revolutions per second when the project is running correctly, then decelerates from 40 to 15 revolutions per second and keeps cycling.
The serial console message is as follows:
bldc smc demo.
Warning
After the motor is powered on, it will first perform the “alignment” action. If the motor is disturbed at this time, it will produce a jitter.
Pay attention to the current size, when abnormalities occur, please cut off the power at any time