2024-05-17 01:24 AM
[VERSION]: 6.2.1
[TOOL]: Motor Profiler in Motor Pilot V1.2.5
[DETAILS]:Motor Profiler gets stuck while profiling at "Profiling % 28".
Hardware used is the inverter-board B-G431B-ESC1.
[EXPECTED BEHAVIOR]: I expect the motor profiler to either finish the process or abort with an error so that I can fix any existing issues.
[HOW TO REPRODUCE]: Motor is soldered to the inverter-board, power supply connected and set up to deliver the correct voltage and enough current (12V, 30A). Motor Profiler is started and connects successfully. The required motor parameters are entered accordingly. The profiling is started. At 7%, the motor twitches once, and at 21% the motor hums for half a second. Maximum observed current is around 2.5A until then. Then the process gets stuck at 28% until the notification pops up that the measurement takes too long. The board pulls standby current.
2024-05-17 02:43 AM
Also tried with MCSDK 6.3.0 and Motor Pilot V1.2.9.
Issue still persists identically.
2024-05-17 05:29 AM
Hello DMeie.2,
Have you tried playing with the Max Current and Max Speed values, reducing them for instance, to allow a clean start-up ? Profiling may need to tinker those values a bit. This will lead to incorrect Max Current and Max Speed values in the json file at the end, but those can be easily modified directly in the file and all other values will be correct.
If you have trouble nonetheless, you can try to make your motor run in Open Loop mode first, to see if currents are correctly generated. The Open Loop mode description can be found in the MCSDK User Manual.
You can then define a correct speed ramp for your motor that you would then apply to your Profiler project and profile it again with those new values.
2024-05-21 07:49 AM
I tried various different combinations of the Max Current and Max Speed settings, however none of those lead to a change of the issue.
I'll see if I have time to try the open loop method with the ESC module
Nontheless, I think it instead of just hanging, the Motor Profiler should report an error.
2024-07-17 02:14 AM
Changed my setup to use a X-NUCLEO-IHM08M1 together with a NUCLEO-G431RB.
Issue is still the same.
Motor twitches once, audibly hums for half a second and then gets stuck doing nothing anymore at 21% until the "takes too long" message pops up.
Looks like the software is having issues trying to measure some parameter of the motor we use.
2024-10-13 05:14 PM
I am using MotorControl Workbench 6.3.1 with Motor Profiler V1.2.11, and the B-G431B-ESC1 inverter board and am experiencing the same behaviour.
Has any further investigation on this topic been performed?
Cheers
2024-10-18 12:56 AM
Unfortunately not, it seems.
We put our effort on getting this to work on hold and keep relying on the motor datasheet for now.
2024-10-18 05:12 AM
Hello all,
It seems there has been a little confusion there, I apologise for that and I will rephrase and complete my answer.
The Profiling getting stuck at 28% is symptomatic of the FW not being able to find a suitable speed ramp for the start-up. Usually you can find a suitable solution by tinkering with the Max Current and Max Speed values as I said in my previous comment.
However, if this does not work, then your best shot is to switch to an Open Loop project, and find the best suitable start-up method for your motor manually. Once you have it, you can put it into your Profiler project, that will start according your new ramp up, and hopefully will be able to switch to close loop and then finish the profiling.