cancel
Showing results for 
Search instead for 
Did you mean: 

Solved - unable to do motor profile keep over current

unrealistic
Associate II

I am able to do a 12v motor profile with the old mcsdk 5.4.8 successfully with running motor current at around 0.2A no load, settings are 4 poles pairs, 1A max, 4000rpm max, 12v, sm-pmsm

Power supply at 12v, current limit 6A

Problem:

Using mcsdk 6.2.1 with b-g431-esc board with the same 12v motor and settings, it error up over current.

I use the default example and just tick the motor profiler at the application config section and untick the electronic speed control at stage config, no other settings touched and then generate it for iar/cubeide with firmware package version 1.5.1

Build and flash without error

when run motor pilot 1.2.5 profiler it shows

unrealistic_0-1704919966781.png

with a 1ohm and start profile

unrealistic_2-1704918747683.png

old mcsdk 5.4.8

unrealistic_1-1704920052000.jpeg

 

FOUND the solution to it, in case anyone experience over current every time like me, just increase the filter duration

unrealistic_0-1705244516931.png

 

 

 

1 REPLY 1
GMA
ST Employee

Hello @unrealistic,

Thank you for sharing your point and the found solution.
In case of reported errors, you can find some hints on our FAQ wiki page.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA