vesc_tool
vesc_tool copied to clipboard
Boost charging through windings
Hello Vadym in two videos details how he charges from Solar and PowerSupply through the windings of the motor to boost to end charge voltage. Has anyone worked on this? Does it exist? Is it possible to implement? Thanks !
That is easy. You can use DC motor mode, connect a power source with lower voltage than the battery voltage between one of the outer motor wires and the vesc and command a braking current (Polarity does not matter). That will use the motor inductance and power stage as a boost converter.
The disadvantage of using DC mode is that the commanded current will not be correct (the current will be 30% higher) as the current in the middle phase is not considered then. If you also disconnect the middle phase the commanded braking current will be the current drawn from the power supply. I have used this many times when I was too lazy to go to the garage and get my high power charger.
I'm thinking of making a dedicated charging app that also communicates with the VESC BMS for balancing with proper support in vesc tool, but first I want to finish the next firmware release.
Awesome work Benjamin!! This charging app would be really appreciated by many of us.
It will be interesting to see more and more battery communication with the vesc. Maybe in the future it will be possible to get rid of charge circuitry on the bms and let the vesc take care of that. Essentially reducing BMS to mostly cell voltage and temperature reporting/balancing.
What's the status of this fine functionality?
tried this today, DC mode, charger parralel to phase 1 and 3, brake current. nothing, current in stayed 0. motor current stayed same weird
@cammas You may have the incorrect 2 phases hooked up, look at the documentation for your (v)esc, find out which 2 phases on the (v)esc need hooked up for DC operation, I am guessing those are the correct ones. Also, based on Benjamin's reply above, it looks like you need to DISCONNECT one of the motor/controller phase wires and INSERT your charging power supply between the motor and controller.
@vedderb I tried but no luck!
https://user-images.githubusercontent.com/15374538/207696080-56fdc479-c8a2-465d-8807-4c005ce838ce.mp4
@livello This may be of interest: https://endless-sphere.com/forums/viewtopic.php?f=2&t=118585
@livello This may be of interest: https://endless-sphere.com/forums/viewtopic.php?f=2&t=118585
@A-damW, good job on getting it to work. Your schematic makes it pretty clear:
MOTOR|-------------------------------PhaseC-----------------------------|VESC
MOTOR|-------------------------------PhaseB-----------------------------|VESC
MOTOR|---------------------|--cut---PhaseA--cut---|---------------------|VESC
|!!!!!!!!!!!!!!!!!!!!!!|
|-------DC Supply------|
Although it was still a little confusing for me until I realized what you were showing was the DC power supply's positive and ground placed in series. Maybe my ASCII art below helps people see it from a second vantage point:
MOTOR(PhaseC)|--------------------------------------------------------|VESC(PhaseC)
MOTOR(PhaseB)|--------------------------------------------------------|VESC(PhaseB)
MOTOR(PhaseA)|----------------|NEG-----DC Supply----POS|--------------|VESC(PhaseA)
@livello This may be of interest: https://endless-sphere.com/forums/viewtopic.php?f=2&t=118585
@kubark42 Thank you! I'am using this way with my power supply 43 volts to charge 13s lifepo4 battery. But this is dangerous! Power supply may affect full battery voltage!!!! I burn't two of them. 5 volts and 12volts power supplies!!!