You are here

Current calculation in BLDC Mode with 3 shunts fails in v6.05

2 posts / 0 new
Last post
STMBLUE
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2020-04-29 17:23
Posts: 2
Current calculation in BLDC Mode with 3 shunts fails in v6.05

I'm on the latest master branch and have a problem with the current calculation only in BLDC-Mode and only in a 3 shunt config.

Are there any known issues? It Seems that the currents are not rectified or filtered. So only duty-cycle controlled BLDC works. I checked the variable last_current_sample_filtered in debugger live view and can see that the abs-value is changing but the sign is toggling. This does not happen in a 410-design.
Perhaps I shall notice that it is a new own build hardware based on the 75/300. All FOC stuff is working fine. I can not test the latest branch on another 3-phase shunt hardware at the moment. Any Ideas?

STMBLUE
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2020-04-29 17:23
Posts: 2

Was my own mistake: I did not assign the injected channels right. (swapped A and C). So now all is working!