Motor Profiler profile not working correctly
I have a strenge problem.
I can run the Motor Profiler 5.4.7
The program generates the profile and I can use the play function to control my motor. Great.
then I export the profile
Generate code using ST Motor Control Workbench 5.4.7. I dont make changes,
Open the code in STM32CubeIDE 1.7.0, compiles okay and uploads.
When I try to control the motor using ST Motor Control Workbench monitor, the motor makes a very tiny click and over current fault is activated. I can not make the motor move regardless what I do. I have played with acceleration etc without luck.
I can do the same procedure with another totally different BLDC motor and make it run and control it using the ST Motor Control Workbench monitor.
If I for testing purpose connect the first BLDC motor, that I could not control, to the ESC, using the motor profile from my working test using another motor. I can make the motor run a bit, after 2 seconds i get a speed feedback error of cause because I have the wrong motor connected, but the motor spins for the short time.
Am I missing something basic?
Hardware: B-G431B-ESC1 3Sh
My motor has the following specs from the Motor Profiler
Pole pairs 7
Max speed 3750
Max Current 25
VBus 16
SM-PMSM
Electric model:
Rs 0,1
Ls 0,02
Vbus 19,33
Imax 25
3,12vrms/krpm
Mechanical Model:
Friction 40.3 uNms
Inertia 41.75 uNms2
Max speed 3730