2025-03-09 12:35 PM
I am using a small outrunner motor to try to use Motor Profiler.
When I select Start Profile, it times out as shown in screen below. I have only enabled Potentiometer feature.
The pole pairs is 11, and the snapshot below shows max speed also changed to a lower value of 4000 since the default of 16000 also did not work. I also lowered max current to 20 A, but of no use.
Since I could not get Profiler to work, I tried to spin the motor after closing the Profiler. Changing potentiometer settings ( from low to high) did not spin the motor. I then enabled ESC and disabled the potentiometer feature, regenerated the code, built and programmed the board. Using an Arduino board, I generated a PWM signal with a period of 490 hz and high time of 1218 us, which should have armed and start spinning the motor, but nothing happens according to the user manual.
I want to check that the kit that I got is working.
Any help would be greatly appreciated.
2025-03-12 9:27 AM
Hello @socjcare,
If you are using MC SDK 6.3.2, refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Motor Profiler Application Note" link:
Progress execution bar stays at 28%
The FW was not able to find a suitable start-up speed ramp solution. Firstly, Max current and Max speed can be tuned to reach a functional speed startup ramp. Care should be taken to overwrite this values in the motor file once the profiling has succeeded. If it is not sufficient, please switch to Open Loop procedure and tune the speed startup ramp manually to find a functional solution, then reuse it into your profiler project. please refer for more details on Open loop Chapter
2025-03-12 3:35 PM
I tried your suggestions but with no luck.
The motor I am using has this specs
So I tried changing the current from 5120 rpm (320*16v) and max current of 20A, successively reducing the speed while keeping the maximum current, down to about 1000 rpm. Then I kept the speed to 5120 rpm and reduced the current from the max of 20 to down about 4 amp. Lastly, I reduced the current and speed gradually from the maximum settings. It was either stuck at 7%/ 28% and at one point got past 71% , but then the Speed Feedback fault came up. I think i exhausted most possibilities and still could not get it to work.
I tried to look up how to switch to Open Loop procedure in the MCSDK User Manual but I can't find it. Maybe I am looking at the wrong place. Is there a document number or just a link. that I can easily search on your website?
Thank you in advance.
2025-03-14 3:28 AM - edited 2025-03-14 6:05 AM
Hello @socjcare,
Refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual", "Open Loop Description and Usage" link.
Refer also on previous posts:
Solved: Re: IHM17M1 For Motor profiler can't profile known... - STMicroelectronics Community
Motor Profiler stuck at 28% - STMicroelectronics Community
2025-03-14 2:04 PM
I switched to Open loop procedure. Still I could not get the motor to spin. The speed indicator moves but the currents are very small.
I know that my motor is working because I have another setup (using a different ESC and radio control) and it worked there, I double checked that the wiring from the motor pads in the ESC to the motors are good. I also tried increasing the duration to even reduce the acceleration further but that did not make any difference. What else can I do to make this work?
I know my motor parameters , R L and flux. Is there a way to just enter them in the code and maybe that would work?