You are here

General discussion

Flipsky VESC 4.20 with 5.1 Firmware PWM input offset

Submitted by mantisrobot on Thu, 2020-11-05 12:24

Hi,

 

I have a few Flipsky VESC 4.20 module with 5.1 Firmware, but the PWM input is reading about 1800uS with a 1500uS pulse applied (Checked with scope).  Has anyone else experienced this? I've used tis same hardware before and not had an issue so I'm assuming its the 5.1 firmware, but can't figure out how to downgarade the firmware to 5.0 or lower in order to confirm this.

 

Cheers.

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.

Pages

Subscribe to RSS - General discussion