You are here

VESC acceleration control on setRPM

4 posts / 0 new
Last post
fourchette
Offline
Last seen: 3 years 4 days ago
Joined: 2018-11-07 19:29
Posts: 16
VESC acceleration control on setRPM

Hello,

I want to issue RPM commands through UART, but i would like the VESC the limit the amount of acceleration it uses because I have observed my wheels tends to slip on the floor depending on the load on the cart i'm trying to pul, in particular while turning left or right (vesc powers a 2 wheel drive vehicle which then pulls a some sort of a cart).

I did not find any obvious way to limit the acceleration, except maybe for "positive ramping time" (acceleration) / "negative ramping time" (brake)

Except toying with the PID values or using those "ramping times", is there any way to limit the acceleration to prevent wheel slippage?

thanks

 

frank
Offline
Last seen: 4 days 22 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

As far as I know there is no other value you could use. The topic acceleration control is one of the things that is on Benjamins list of ToDos. Its not trivial though and needs a bit of extra spare time to implement. Some hurdles have been taken already. Your current options are to decrease the output power of the motor, use throttle curves and ramping time.

TechAUmNu
Offline
Last seen: 3 months 1 week ago
Joined: 2017-09-22 01:27
Posts: 575

Use ramping time or decrease motor current, which will reduce torque and slip less.

fourchette
Offline
Last seen: 3 years 4 days ago
Joined: 2018-11-07 19:29
Posts: 16

ok. thanks for your feedback. indeed I agree, trajectory planning for acceleration is something that does require thinking and time :)