You are here

Electric/ Gas Hybrid

5 posts / 0 new
Last post
kcswimrac
Offline
Last seen: 2 years 10 months ago
Joined: 2019-08-06 05:28
Posts: 2
Electric/ Gas Hybrid

I'm trying to use a VESC 6.0 board in a slightly different application. 

I'm trying to build a gasoline/ electric hybrid. Is there a way to set the throttle curve based on time? Something like 0-100% throttle functions normally for the first 10 seconds, then tapers off down to a 0-(-5)% or so for a regen based on battery charge voltage? 

Basically think of it as I want the BLDC motor to function as a boost for 10 seconds every time the throttle is applied from 0%, then taper back off to charge the battery pack from the Gasoline power plant.

Not really sure how to represent that on a graph of throttle vs time, but I tried representing it as if the throttle was at 100% then tapers.

 

 

 

SimpleUnmanned
SimpleUnmanned's picture
Offline
Last seen: 8 months 1 week ago
Joined: 2019-04-05 21:53
Posts: 4

Cool idea! I am not sure if you can script this directly with VESC, but you could definitely use a microcontroller or system on chip like Raspberry Pi with some custom software.

DerKrawallkeks
DerKrawallkeks's picture
Offline
Last seen: 2 months 3 days ago
VESC Free
Joined: 2020-05-21 15:58
Posts: 12

I build a hybrid, where the electric motor is connected directly to the crankshaft. Therefore it is not able to go fully electric, but it is used for boosting.

Then it recharges during normal operation. The control is done using another microcontroller for redundancy (and arduino-like ESP32). It does all the throttle handling and CCCV charging (even tho the VESC should be capable of limiting charging current and battery voltage).

If you have any questions about a boosting-hybrid, fell free to ask!

marvinrau
Offline
Last seen: 2 months 2 weeks ago
Joined: 2020-07-24 12:10
Posts: 6

Hi Krawallkeks!
I am interested in the CCCV charging. Did you write code for this function? As long as I know the VESC has not a CCCV charging function. It only charges current controlled not regulating the voltage as soon as the battery reaches the voltage maximum. My VESC died while the BMS recogniced overvoltage during rekuperation and cuts off the battery...
 

drummerboy5408
Offline
Last seen: 4 months 2 weeks ago
Joined: 2019-05-26 22:42
Posts: 24