cancel
Showing results for 
Search instead for 
Did you mean: 

Motor Profiler stalled at 28%, but can startup ok in a normal project

Dougle
Associate

Hello, I'm using an RC car BLDC motor with an EVLSERVO1 evaluation board and can't complete the Motor Profiler process.  My application has a large mass on the motor, so I need the mechanical model to get better control loop parameters.  I have manually measured the electrical model and have successfully done the following:

  1. Run the motor open loop in voltage mode
  2. Run the motor open loop in current mode
  3. Manually determined a start-up ramp profile in open loop
  4. Started up with speed control with my start-up ramp.
  5. Used the same MCSDK project with open loop disabled and motor profile enabled to generate a motor profile project with known good motor electrical model and start-up ramp.

Despite this, I see no change in behavior during the motor profile process when compared to the default project.  I have used the startup speed as my max speed, lower, and higher.  I have changed the max current to the same as my start-up profile and to the max the board can handle.  No luck.

I am using the following versions:

  • ST Motor Pilot V6.4.1
  • Motor Control Workbench Version: 6.4.1 Build: 250722.074358
  • STM32CubeMX V6.15.0
  • VS code with STM32CubeIDE for VS code version 3.6.4

Any help or tips would be greatly appreciated!  Let me know if there is any other information I can provide! 

1 REPLY 1
Gael A
ST Employee

Hello Dougle,

To reconstruct your custom speed ramp with a Profiler project, you need the following insight :
- Your target speed is 40% of the Profiler's GUI Nominal Speed
- Your acceleration starts at 500 rpm/s, and is divided by 2 every failed attempt (in case the motor doesn't move, which I believe should be your case given the load on the shaft)
- The duration time of the revup is TargetSpeed[rpm] / Acceleration[rpm/s]
- The current target is the one used for Rs estimation. It should be enough to make the motor run since it was able to align it.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.