Hi everyone!
Looking for some VESC tuning help, willing to pay for it as it is a product that I am selling.
A bit of background, I am using a geared hub motor, it is a device that will be pushing heavy loads at low (walking) speeds. I got everything working in a way but still alot of fine tuning that needs to be done. I am using ADC PID Speed as I want the throttle position to determine the RPM. One of the biggest problems I am having currently is limiting the ERPM at max throttle. As of now when i am requesting half throttle about 5k erpm and i push the device it will actively brake against me to maintain 5k erpm which is exactly what I want. However this completely goes out the window at full throttle 10k erpm as it just lets me freewheel up to whatever rpm i want, even after coming back to 0% throttle i can maintain free wheeling until it gets under 10k erpm again it will abruptly stop the motor (and sometimes even spin it about 180 degrees backwards) . As far as I can tell I am not running into any limitations on current or duty cycle because when i lower my max erpm to 5k erpm it has the same behavior. It seems like PID speed has no way of capping an erpm at max throttle, at least in ADC mode.
Anyways that is just a brief description, but willing to pay someone who is very familiar with vesc tuning to help me get it all sorted out.
Thanks in advance!
-Jordan

Hi, Do you still need help? if so hmu!
LightningADev
From my understanding, VESC will stop controlling the motor when ERPM limit is exceeded. So what you're observing actually sounds correct.
Two alternatives:
1) Limit the max duty cycle, which is not a true RPM limit, but would be close depending on load.
2) Enable a profile in VESC tool and (based on your gearing/wheel diameter settings) limit MPH. This should set an exact max speed (thus RPM) and still maintain control of the motor if the rpm is exceeded.
For either of these options you'd want to set your ERPM limit back up to the max value.