You are here

[SOLVED, was a mistake] Set ERPM command: issue with the speed controller with higher speed values that is possible with bat vol

2 posts / 0 new
Last post
yes_wecangogreen
Offline
Last seen: 8 months 1 week ago
Joined: 2020-05-28 18:15
Posts: 6
[SOLVED, was a mistake] Set ERPM command: issue with the speed controller with higher speed values that is possible with bat vol

So, I am sending by UART the command to VESC Set ERPM. As soon the speed I set is near or over the max possible value due to max battery voltage, I get strange results, the motor speed is not stable anymore and going in big jumps -- I would say the speed controller PID goes crazy probably because the motor will never achive the set speed value as it hits the max possible value due to the battery voltage. Is there anyway to improve this issue? am I missing something like a specific configuration? thank you in advance.

yes_wecangogreen
Offline
Last seen: 8 months 1 week ago
Joined: 2020-05-28 18:15
Posts: 6

Seems the issue were bad FOC motor parameters. For this Xiaomi M365 Pro 2 motor and with the Flipky 75100 I use, the FOC detected parameters seems to be incorrect. I had to tweak some by hand but still is not perfect, as the motor seems to use a bit more energy as also runs at a some lower speed, compared to the original firmware.