Author Topic: freewheel/regen mode switch  (Read 36496 times)

Offline Mordaz

  • Confirmed
  • Junior Member
  • **
  • Posts: 45
freewheel/regen mode switch
« on: September 13, 2007, 09:17:08 PM »
Any ideas on how to implement such function with a regen controller?

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #1 on: September 14, 2007, 01:30:05 AM »
Switching supply power to the controller on and off is the only way I know. The new, new regenerative controller is expected to allow  user specification of freewheel width at both ends and in the middle but not a random or arbitrary point of freewheel, so again a supply power switch is needed.
« Last Edit: September 15, 2007, 01:35:19 AM by myelectricbike »

Offline mustangman

  • Confirmed
  • Bachelor of Magic
  • ****
  • Posts: 221
Re: freewheel/regen mode switch
« Reply #2 on: September 14, 2007, 03:09:00 AM »
 When can we expect the new regen controller to be available (36V Or 48V) and how we can tell the difference from the old and the new versions? ???

Offline Mordaz

  • Confirmed
  • Junior Member
  • **
  • Posts: 45
Re: freewheel/regen mode switch
« Reply #3 on: September 14, 2007, 03:32:32 AM »
I have just received the regen controller but have not tried it yet.  How can I tell the new, new model from the old version? 

With the regular controller I can pedal along with the motor and get faster.  But the regen function is really great when going downhill.  That's why I think a freewheel/regen mode switch would come in handy.

Offline mustangman

  • Confirmed
  • Bachelor of Magic
  • ****
  • Posts: 221
Re: freewheel/regen mode switch
« Reply #4 on: September 14, 2007, 04:30:48 AM »
 That is exactly what I am looking for !! Here in SJ valley there aren't very many hills but plenty of silly drivers who don't stop at stop signs so the regen/brake will come in very handy. Oh, mordaz, was that 48V or 36v??

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #5 on: September 14, 2007, 05:19:24 AM »
Sorry guys, I hate to report that I have not received either the 30 kits, the wheel chair sample or the new, new regen controller yet. I can report that today I have received six samples of Allegro's new Three Phase Power MOSFET Controller which I will hopefully be testing over the next few weeks.

...not suitable for hub motor regenerative commutation, sorry.
« Last Edit: September 15, 2007, 02:43:06 AM by myelectricbike »

Offline mustangman

  • Confirmed
  • Bachelor of Magic
  • ****
  • Posts: 221
Re: freewheel/regen mode switch
« Reply #6 on: September 14, 2007, 11:19:26 PM »
 What battery chemistries does the allegro controller support? SLA LiPo, LiFeP04, Nimh. ?? 

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #7 on: September 15, 2007, 12:25:56 AM »
Since it is programmable I would say all chemistries are capable of support by the OEM but let me check further and see if Allegro or one of its OEM's specifically state or do this. Adaptation to battery chemistries is definitely not a built-in function of the commutation chip.

Also, it appears that the BRAKE function of both Allegro commutation chips does not support regeneration.
« Last Edit: September 15, 2007, 02:44:30 AM by myelectricbike »

Offline cadstarsucks

  • Confirmed
  • Magic Undergrad
  • ***
  • Posts: 65
Re: freewheel/regen mode switch
« Reply #8 on: September 15, 2007, 02:59:06 AM »
Since it is programmable I would say all chemistries are capable of support by the OEM but let me check further and see if Allegro or one of its OEM's specifically state or do this. Adaptation to battery chemistries is definitely not a built-in function of the commutation chip.

Also, it appears that the BRAKE function of both Allegro commutation chips does not support regeneration.
A 3PH bridge into a boost converter would effect regen braking.

Dan

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #9 on: September 15, 2007, 04:16:48 AM »
As I understand it when the BRAKE function is not selected and no power is applied the MOSFETS are open and simply allow the motor to spindown whereas when the BRAKE function is selected all MOSFETs are shorted. Thus you have freewheel from the chip when the BRAKE input is not active. Although you can insert diodes across the MOSFET pins and create a 3ph bridge rectifier when the BRAKE function is active there is no provision on the chip for PWM to control the level of regen, so that the instant you release the throttle and switch to regen you get 100% regen instead of a throttled amount. This is why the current Golden regen controllers use a microcontroller and software for everything instead of a commutation chip. I'm looking for a commutation chip that has PWM braking, and hence PWM regen built-in.
« Last Edit: September 15, 2007, 05:21:58 AM by myelectricbike »

Offline cadstarsucks

  • Confirmed
  • Magic Undergrad
  • ***
  • Posts: 65
Re: freewheel/regen mode switch
« Reply #10 on: September 15, 2007, 05:45:38 PM »
As I understand it when the BRAKE function is not selected and no power is applied the MOSFETS are open and simply allow the motor to spindown whereas when the BRAKE function is selected all MOSFETs are shorted. Thus you have freewheel from the chip when the BRAKE input is not active. Although you can insert diodes across the MOSFET pins and create a 3ph bridge rectifier when the BRAKE function is active there is no provision on the chip for PWM to control the level of regen, so that the instant you release the throttle and switch to regen you get 100% regen instead of a throttled amount. This is why the current Golden regen controllers use a microcontroller and software for everything instead of a commutation chip. I'm looking for a commutation chip that has PWM braking, and hence PWM regen built-in.
There is no way for a controller to do regen braking with the same FETs it uses to drive the motor since the motor voltage is less than the supply rail.  It takes a second 3PH bridge switching into a boost topology in order to effect regen.
Dan

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #11 on: September 15, 2007, 06:07:13 PM »
And indeed the Golden regen controller uses 12 MOSFETs instead of 6, but there must be a commutation chip somewhere that offers the same regen capability in hardware versus using software and a microcontroller chip.
« Last Edit: September 17, 2007, 03:10:48 AM by myelectricbike »

Offline Mordaz

  • Confirmed
  • Junior Member
  • **
  • Posts: 45
Re: freewheel/regen mode switch
« Reply #12 on: September 17, 2007, 02:12:03 AM »
mustangman, I got the 36V controller.

I was wondering, wouldn't a diode do the trick?  (battery+ to anode; cathode to controller+; mode switch in parallel with the diode).  I know a regular diode would pose a significant power loss, so I was thinking of a 'zero-volt diode' implementation with a power mosfet. 


Offline mustangman

  • Confirmed
  • Bachelor of Magic
  • ****
  • Posts: 221
Re: freewheel/regen mode switch
« Reply #13 on: September 17, 2007, 02:52:53 AM »
  mordaz, I was looking for the 48volt regen (version 3) that might get more speed and better regen braking than the 36volt version. Otherwise, I bought an extra battery to run my lighting with.(LOL) When RAGE had a sales, I got 4 18Ah SLA for 24.05 each including shipping(no sales tax) with the thought of upgrading to 48 volt for more speed since I live in California(30MPH limit!!). I will have to wait for MEB to finish up any testing and post results before I can make a decision. Email me if you have any questions. :D
« Last Edit: September 17, 2007, 06:31:59 AM by mustangman »

Offline myelectricbike

  • PhD. Magic
  • ******
  • Posts: 644
    • How to Build an Electric Bike
Re: freewheel/regen mode switch
« Reply #14 on: September 17, 2007, 04:19:53 AM »
Instead of building your own MOSFET switch you can buy a 12 to 24 volt coil solid state 30 amp relay like power companies use in home energy management systems to switch water heaters on and off.