2026-01-28 12:23 PM
[PN]: NUCLEO-G431RB with EVLDRIVE102BH and custom motor
[VERSION]: Version: 6.4.1 Build: 250722.104358
[TOOL]: MC PROFILER
[DETAILS]:
I am attempting to build a new motor controller that runs sensorless FOC instead of 6-step and my first step was to use the profiler to verify some of the figures on the motor's datasheet. Specifically the friction and inertia values on the datasheet seemed suspect and didn't have the right units for the motor controller workbench. Furthermore I'm assuming the gearbox included on the motor doesn't take these values into consideration. When attempting to run the profiler I seem to get stuck at 28%, which seems to be a common issue and it sounds like the issue is the motor not reaching a stable speed per the forum posts I've already read. From what I can tell it seems like the motor is physically spinning at a stable speed and I don't know why the profiler is struggling to read the speed. I have been banging my head on the wall for weeks now and have tried other similar motors from other vendors and a completely different motor with a different operating voltage but nothing seems to work. The only motor I can get to work with the profiler is the one that came in the P-NUCLEO-IHM03 pack.
I want to switch off of TI and over to ST to use the new smaller SoCs, can anyone please help me to get a motor spinning as a proof of concept?
I attached screen shots of the 2 datasheets of the custom motors I tried.
Questions:
Is there are way to determine if the motor controller is indeed struggling to reach a stable speed? And if this is true how do I go about fixing that? I tried the open-loop tuning mentioned in other posts, but the documentation on how to actually do that isn't super clear and I don't see where to incorporate those values into the profiler.
Some of the earlier motors models I have do have a hall sensor, can I or the profiler use that to get to a stable operating speed so the mechanical model can be completed?
Ultimately I want to figure out the control loop parameters before moving to the STSPIN32F0 family of controllers on a custom PCB. Does attempting to profile and tune on the hardware I'm using even make sense? I understand the parameters will have to change slightly due to differences in hardware. It doesn't seem like the STSPIN32F0 is friendly to tuning rather than already having a good starting point ready.