2017-08-22 04:17 AM
HI,
i'm trying to operate the STEVAL-SPIN3201 to run a BLDC motor at low speed - 200 - 400 RPM using Hall sensors which are connected to J4 on board.
PMSM motor parameters changed to the following values:
&sharpdefine NOMINAL_CURRENT 4918
&sharpdefine MOTOR_MAX_SPEED_RPM 400 /*!< Maximum rated speed */&sharpdefine MOTOR_VOLTAGE_CONSTANT 0.4 /*!< Volts RMS ph-ph /kRPM */Few questions:
A. The motor starts to accelerate when i press the USER1 button, than after 20 - 25 sec settle down to ~400RPM, tried to change the ramp duration at:
MCI_ExecSpeedRamp(oMCI[0], 400/6, 20);
still no luck, it takes too long for the motor to settle the speed.
B. The hall sensors are connected to J4 and configured correctly at the
ST Motor Control Workbench,
Motor -> Sensors -> Hall Sensors -> 120 deg
Drive Management -> Speed/Position Feedback Management -> Main Sensor -> Sensor Selection: Hall Sensors
After code generation the parameters are:
&sharpdefine HALL_SENSORS_AVAILABLE TRUE
&sharpdefine HALL_SENSORS_PLACEMENT DEGREES_120
&sharpdefine HALL_PHASE_SHIFT 300
When i disconnect the hall sensors during motor rotation the motor keeps rotate, is there any chance that it changes the mode automatically to sensor-less configuration? what causes the motor to spin at the same speed without the hall sensors?
Appreciate
your help
#bldc #steval-spin32012021-06-21 10:44 PM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards