You are here

How does regenerative braking get enough voltage from my motor to charge my battery from ?

8 posts / 0 new
Last post
cnd
Offline
Last seen: 3 years 7 months ago
Joined: 2018-02-23 14:00
Posts: 6
How does regenerative braking get enough voltage from my motor to charge my battery from ?

Hi all - I've spent weeks searching this topic - everyone explains what regen *is*, but nobody seems to explain or know *how it works*.

How would my VESC take the voltage from my motor, and then use this to charge up my 58.8volt pack? - especially given that when I am using my brakes, I'm going slower and slower - *way* slower than my motor KV, so my motor is never going to be making anywhere near enough voltage to charge that 58.8 pack with ?

To check that there's no magic I do not understand, I hooked a motor up to a volt meter (to see how much it makes) and an amp meter (to simulate the load from charging the battery, and to see how much current is coming out) - and I put it in a video - long story short - it is less than 1 volt:-

I also put my oscilloscope onto one winding without any load, and it too is less than 1 volt:

oscilloscope

(yes - that's blood on my finger - it got stuck in the windings when I was trying to spin it as fast as I could... ouch!!).  I realize that "in real life" it would be 10x faster than in my office, but that's still less than 10volts - and way under the 58.8v needed.

Most of us here are familiar with charging - to charge my 14S pack, I need to supply 58.8 volts to it.  Technically, and probably not a good idea idea or maybe not safe, it's still possible to charge at anything above 58.8 volts as well, however, anything less than the current battery voltage is not going to cause any current flow at all - so - no charging from 1 volt.

I'm assuming the VESC really does do regen charging (and not just a "short circuit brake"?) - how do it do that?  Is there some kind of boost circuit?  Is there magic with capacitors being charged from the battery, then put in series with the motor to charge the battery from?  Is there some kind of magnetic-inductance managing going on, where a collapsing magnetic field is being added in series to the motor to charge that way?  Is the mere act of trying to drive a motor "in reverse" while it's still turning just happens to have the side-effect of causing a charge to happen?

Long story short - it's driving me crazy trying to work out *how* they did this!!!  Help!?!?!

vadicus
Offline
Last seen: 5 days 4 hours ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 431

Yep, VESC and most others BLDC/FOC controllers support regen and they in fact send current back to the battery. It's a real deal. Not a whole lot is recaptured, 10% at best under normal conditions but still makes sense becase it saves brake pads. 

A BLDC is nothing more than a buck/boost circuit that converts DC voltage/current from the battery to lots of AC currents on the motor when you demand it via throttle and rectifies it back to the battery when you are regenerating. You would need decent amount of RPMs however to generate a usable voltage on the motor. Finger spinning it doesn't cut it. Or I guess it does, pun inteded.

 

     

 

 

NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)

mmichou
Offline
Last seen: 2 years 10 months ago
Joined: 2020-09-28 16:01
Posts: 1

@cnd : the secret of the magic of the regenerative braking is to use the coils of the motor to make a boost converter configuration : if you check on the internet, it's possible to step-up a voltage from a voltage source --> coil --> transistor

In case of regen : voltage source = Bemf, coil = motor coil,  transistor from vesc

As well as in normal drive mode, the motors coils are used to make a buck converter from the battery voltage. The topology of a buck is the opposite of a boost : voltage source--> transistor --> coil

https://en.wikipedia.org/wiki/Boost_converter

https://en.wikipedia.org/wiki/Buck_converter

bb67
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2020-04-03 15:27
Posts: 11

Cool, understood.

One more question on this topic - is there anything that could hinder a two-VESC setup -attached to the same battery - from working?:
- One BLDC motor-VESC used as pure generator (muscle driven)
- Second motor-VESC used as drive motor and for regen-braking.

From pure electrics this should work, but maybe some high-frequent noise from one VESC interferes with the other VESC?

TheFallen
Offline
Last seen: 3 weeks 4 days ago
VESC FreeVESC Original
Joined: 2017-09-11 11:46
Posts: 222

The VESCs should work, but I don't think the VESC generator will have a very high efficiency.

I've built robots that had 4 VESCs attached to the same battery pack.

bb67
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2020-04-03 15:27
Posts: 11

Good to hear that multiple VESCs work on one battery.

About efficiency, is there any theory wisdom why it is lower in generation than the other direction?
Or is there practical data about these two values?

Svein Utne
Offline
Last seen: 1 year 9 months ago
Joined: 2023-01-20 06:24
Posts: 15

I am looking for more information about regen, and I got some from this forum. I plan to put regen in my electric sailboat. Vesc 100/250 motor 90V 100+Amp.

I was afraid the regen at low sailing speed would not manage to lift the voltage all the way up to charging voltage about 95V. so I bought a 1200 Watt boost converter, but if the Vesc are able to do the job, it would be great and also save me the trouble switching from motor mode to generating mode. When you are sailing, the generating face could last for hours, so it is important to be as efficient as possible. Maybe the Vesc could be more efficient if it only needed to deliver 8 volt instead of 95V? The boost converter is very efficient lifting the voltage from 8-30V up till 95V. So I am not sure what to do if the goal is to get max from regen?

Maybe I am way off, and the Vesc is the best solution for all part of the regen. Any thought on that?

flydr2
Offline
Last seen: 1 year 8 months ago
VESC Free
Joined: 2023-02-18 20:29
Posts: 4

I'm in the process of doing the same thing... Looks like if you set it up right... when the throttle is at 0 the regen is on... so nothing to do but power it ON.

I Used vesc tool to program my 3 controllers  (75100's) (3 motors). The controllers are connected via CAN so 1 controls the other 2's

I should have results in a few weeks as I'll be sailing from Miami to the Bahamas and then the Dom. Rep.