You are here

General discussion

Control type = Current No Reverse With Brake

Submitted by perpetum on Mon, 2020-11-02 05:00

I am new to VESC and I am trying to better understand the regenerative braking algorithm when Control type = Current No Reverse With Brake.  I believe that when this mode is set and the PPM input is less than the center the controller will give a current set point proportional to the PPM position.  The braking force is then proportional to the current set point times the motor torque constant.  I assume that the algorithm is controlling the PWM duty cycle to achieve that but is the voltage regulated somehow?

ADC throttle with braking

Submitted by adobe75 on Thu, 2020-10-29 02:26

I've hooked up a VESC 6 to a Xiaomi M365 hub motor and I'm getting good FOC control so far.

I connected the M365 throttle control to ADC1 and I have good mapping 0-100, using current control setting. I'm wondering though if there is a setting which applies regen braking when I let off the throttle, similar to original M365 regen, or similar to Tesla accelerator pedal.

Maybe I'm missing a setting somewhere. Thanks for any help.

Disabling speed cutoff

Submitted by RDN2003 on Sat, 2020-10-24 00:25

I am using a vesc in my go kart and when I reach my top speed, the motor cuts out and only restarts when I release and then press on the gas. I would like the vesc to only cut out long enough for the speed to drop a little and maintain the top speed somewhat like a car's rev limiter. Is this possible?

Thanks for your responses, Ryan.

VESC FOC detecting running flawlessly, motor flipping direction erratically when running in speed and duty mode

Submitted by DMKitsch on Fri, 2020-10-23 21:59

Hi,

I am trying to get my brushless DC motor running smoothly in FOC mode. The motor parameter detection runs swimmingly, with the resistance detected and the spindle spinning up smoothly during the flux linkage detection. However after applying these motor settings, when setting the device to run at any speed, the spindle spins erratically in both directions not even making a full revolution. I've got a video below showing what's happening:

Pages

Subscribe to RSS - General discussion