EVSPIN32F02Q1S1 + BLDC motor
- March 8, 2024
- 1 reply
- 1139 views
[VERSION]: ver 6.2.0
[TOOL]: MC Workbench ver 6.2.0, STM32CubeMX, STM32CubeIDE
[DETAILS]: I am new to STM motor control software and I am trying to use the MCSDK and the EVSPIN32F02Q1S1 inverter board to run a BLDC motor (datasheet attached). I am trying to use the hall sensors for speed sensing, but when I do, I am unable to control the speed of the motor at all (it will spin at a constant speed) and the motor will randomly switch directions back and forth. My "Sensors displacement" is set to 120 and the "Placement electrical angle" is set to 60. I tried adjusting the PI parameters slightly from the automatically calculated ones, but I'm not quite sure what a reasonable range for my motor is. I then tried using sensorless mode (Observer + PLL) and the Motor Pilot, and this method allows me to ramp the speed, but it will ignore my target rpm and keep accelerating to a much higher rpm. I'm not quite sure what the issue would be. Does anyone have any tips on how I should continue in order to control the motor using the hall sensors and the ST Motor Pilot GUI? TIA
