GoldenMotor.com Forum

General Category => Magic Pie & Smart Pie Discussions => Topic started by: Jacek on May 27, 2010, 05:31:45 AM

Title: Regenerative Braking System
Post by: Jacek on May 27, 2010, 05:31:45 AM
Hello , could you guys tell my , does the Regenerative Braking System is charging my battery when I'm going down hill or just when I'm using brake levers ? How does it work ?
Thanks Jacek
Title: Re: Regenerative Braking System
Post by: Leslie on May 27, 2010, 06:42:10 AM
Just when you pull the brakes.  Regen has a chip called a mosfet and it is faced to feed a battery.  when you pull the brake it closes the mosfet circiut from the motor to the battery.  The battery tries to slow the bike instead of make it faster when the mosfet is faced in this way.  The battery resists the wheel turning fast making current and volts then charges the battery.
Title: Re: Regenerative Braking System
Post by: Jacek on May 27, 2010, 04:02:18 PM
Thank you for answer.

Did you measure how much current go back to the battery ? I know its dependend what speed at that moment and how weighty is the biker etc. but just aproximetly if you know , I ask becouse me and my friends discuss about it on a polish forum about Magic Pie .

Jacek
Title: Re: Regenerative Braking System
Post by: gf3 on May 27, 2010, 04:56:57 PM
(http://C:\Users\Gf3\Pictures\motor.jpeg)

some time ago you said that three of the mosfets were for power and three were for regen. I don't know but I thought two of the mosfets would have to fire at the same time for the motor to work. one to supply a positive voltage and one to supply a negative voltage in my diagram below H is high impedance. nether of the mosfets connected to this phase is conducting.    
Title: Re: Regenerative Braking System
Post by: Bikemad on May 28, 2010, 01:07:45 AM
Did you measure how much current go back to the battery ? I know its dependend what speed at that moment and how weighty is the biker etc. but just aproximetly if you know.

Jacek,

These are my highest recorded regen readings so far:


Alan
 
Title: Re: Regenerative Braking System
Post by: Jacek on May 29, 2010, 03:33:15 AM
Thanks guys , now I know a little bit more about the  Regenerative Braking System .
Title: Re: Regenerative Braking System
Post by: Leslie on May 29, 2010, 06:54:42 AM
(http://C:\Users\Gf3\Pictures\motor.jpeg)

some time ago you said that three of the mosfets were for power and three were for regen. I don't know but I thought two of the mosfets would have to fire at the same time for the motor to work. one to supply a positive voltage and one to supply a negative voltage in my diagram below H is high impedance. nether of the mosfets connected to this phase is conducting.    

Yes.

There are times two are active and one is ground and times that one is active and two are ground.

These are N channel and the ground is to motor and positive is to capacitors and then battery.

The fet has a barrier diode inside that allows a path to ground if switched off and needs not to be a H bridge to work.


(http://www.logosfoundation.org/kursus/2117-BS2-3phase.gif)

See this working circuit reqires no p channel for operation.
Title: Re: Regenerative Braking System
Post by: Leslie on May 29, 2010, 07:13:21 AM
The above picture has barrier diodes dioing the work.

The n channels going to the battery reversed must be charging the battery and not the the nchannles that make the motor turn.


These motor fets diodes block current from going into battery and motor charging and discharging battery in AC.

Thus all fets help regen.
Title: Re: Regenerative Braking System
Post by: Leslie on May 29, 2010, 07:47:35 AM
I am still learning this stuff.

I asked this question before and no one answered so I assumed I was correct.

I see other designs like the controllers we use and there is no mention about regen.  

(http://www.etotheipiplusone.net/pics/fvm_3ph.png)

I am wrong it seems.  I love it.

Can anyone priove me right?  Please.  ???
Title: Re: Regenerative Braking System
Post by: gf3 on May 29, 2010, 07:41:51 PM
I don't think I could learn all this stuff if I lived a million years. I like the first diagram with the diodes to the centre tap of the star. I would nether of thought of that but it would make the star delta switching impossible or not worth while I think? the idea behind star delta was instead of the current going through two windings (star) the current just went through one winding (delta ) I think the people that did that conversion just had to de solder the centre tapped position and fit relays. but then again what do I know   
Title: Re: Regenerative Braking System
Post by: gf3 on May 29, 2010, 08:06:26 PM


(http://www.etotheipiplusone.net/pics/fvm_3ph.png)




but this is more like I imagined it with h1 and L2 conducting at the same time then h2 and L3 lastly h3 and L1 then the cycle repeats its self.

one thing though this would mean that controllers would all have 6,12,18or 24 mosfets don't some have 9
Title: Re: Regenerative Braking System
Post by: gf3 on May 30, 2010, 08:17:10 AM
http://ww1.microchip.com/downloads/en/AppNotes/00885a.pdf

looks like I maybe wrong to  :D
edit Thanks Alan for your pm
I was thinking that the regen may work like this with the regen current going through the diodes, but that would mean that regen could not come under software control
Title: Re: Regenerative Braking System
Post by: Leslie on May 30, 2010, 09:34:51 AM
Hang in there I have a good little animation comming together.  Its coooool.
Title: Re: Regenerative Braking System
Post by: Leslie on May 30, 2010, 06:40:16 PM
I made this from a flash site on some web page that I had dig into to get the flicks.

It an animated gif so you need to wait to load all the frames.

(http://goldenmotor.com/SMF/index.php?action=dlattach;topic=2195.0;attach=2381;image)

Title: Re: Regenerative Braking System
Post by: gf3 on May 30, 2010, 07:35:54 PM
wow that's brilliant. That must have taken you ages
so my idea with three step was wrong there are six :)
any idea's how many times this cycles to make the Magic Pie turn once(http://)
I think it would be 28 because there are 56 magnets so 28 pairs of magnets
Title: Re: Regenerative Braking System
Post by: Leslie on May 30, 2010, 09:02:41 PM
Yes with the led lamp hall tester circuit the hall fires like this in the picture.  One on and two off, and two on and one off. 

From GM site.

Quote
Magic Pie has 56 Magnets, 63 slots and 56 poles. In other terms, it has 20% more strength and torque than typical motors. With it's large 320mm diameter, there's no hill too steep for it.

Three slots in the gif takes one cycle.

So 63 of the should take 21 3 phase cycles?


Would that be correct.

Its fire order is by the powercroco calcultor.

AaABbBCcCAaABbBCcCAaABbBCcCAaABbBCcCAaABbBCcCAaABbBCcCAaABbBCcC




Title: Re: Regenerative Braking System
Post by: gf3 on May 30, 2010, 09:34:07 PM
how I think it work is in the first three phases you have a rotating north pole and in the last three phases you have a rotating south pole so you go passed a pair of magnets in a full six phases so one full revolution in 28 complete cycles but I don't really know.
Title: Re: Regenerative Braking System
Post by: gf3 on May 31, 2010, 06:18:30 AM
I don't know if I am slow but I see now how the numbers add up. I couldn't see how 56 magnet lined up with 63 conductors. the answer must be that only half the magnets are being acted upon at any one time. so the important numbers are 14 pair of magnets and 21 conductors a third more conductor. that makes sense. ::)

edit: not sure now but it has to be some thing like that
Title: Re: Regenerative Braking System
Post by: gf3 on May 31, 2010, 09:07:59 AM
OK I think I've worked it out
all though there are only 56 magnets there are three types of alignment in line a third off two thirds off.
so 168 individual regions.

every time a switch state changes the wheel turns 1/168 of a turn it takes 28 cycles to turn the wheel one turn

                      6X28=168
Title: Re: Regenerative Braking System
Post by: Leslie on May 31, 2010, 09:21:52 AM
The reason for the odd number in the most efficient machines is IMO to reduce cogging to almost nothing.

I look inside my hub, pull it apart and clunk its sticks to the magnet rim yet it almost has a freewheel restance to roll.  In any symetrical slot pole configuration one magnet is over a slot and to move to the next slot there is cogging.

My HBS is 51 slots and 46 poles again totally odd number.  The phase angle is set to fire over the slot at 120 degrees or 120/360ths along the pole.

Much needs to be learned here.  The radius of both the stator and magnet rim, length of magnet, hall placement and magnet to pole count needs to work.

63 slots can also use 42 poles with a ABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABC winding config.

63 slots can also use 38 poles with a ABCbcabcBCABCAcabcaCABCAcabcaCABCABabcabABCABabcabABCABCbcabcBC winding config

63 slots can also use 30 poles AbaBAbaBcbCBcbCacACacAbaBAbaBcbCBcbCacACacAbaBAbaBcbCBcbCacACac

63 slots can use 28 poles AbaBcbCacAbaBcbCacAbaBcbCacAbaBcbCacAbaBcbCacAbaBcbCacAbaBcbCac

And by this point this can go all the way down by 2 poles to 2 poles only and the winding configs change .

63 slots by 2 poles. AAAAAAAAAAAbbbbbbbbbbCCCCCCCCCCCaaaaaaaaaaBBBBBBBBBBBcccccccccc  WHAT THE  ??? ???

Why?

If you cant tell me I would apreciate it.  I am converging a lot of information over the past two years I just need to climatise to the whole thing,,

I found a site called powercroco and it has a calculator and much information written up by a  Dr. Ralph Okon.

Google powercroco and hit the google translate link.  There is much more very awesome resources there than just this cool calculator.

Learn lots and enjoy.
Title: Re: Regenerative Braking System
Post by: Leslie on May 31, 2010, 09:50:06 AM
Three slots and two poles is ABC. 

The amount of slots can be less than poles too

Every config in the powercroco calculator do not have an odd number of slots either.

I almost got te algorithm going in my head how to do the math.  Its teasing me.  :-\
Title: Re: Regenerative Braking System
Post by: Leslie on May 31, 2010, 10:06:26 AM
The slot to poll count and their start and end points must be compatible with the phase angle at any part of the cycle.  And I think the magic number is 360 and its divisons by 120 deg and its relation to pole count.

Im trying to work this out myself and make my own theory up and rediscover the math.  If I cant do this without being told or looking it up then I don't have the right stuff to be the inventor I desire to be.  Even thiough someone has plunged their flag on this mountain I want to able to plunge it off my own steam.

Ignorant maybe.  But I'd rather climb mount everest than take the heli ride to the top.  I hope you see my metaphor and not think I am crazy.  LOL

I find this stuff a decent challenge.
Title: Re: Regenerative Braking System
Post by: gf3 on May 31, 2010, 10:16:36 AM
OK so I have 63 slots so 21 slots per phase. but two phases are always conducing at the same time. so there are 42 electro magnets on all the time.

think of it as 42 frogs in your motor grabbing the magnet in front and pulling that's 42 little forces but at the same time they are kicking the magnet behind which is another 42 little forces that's 84 forces in total. funny that 84 is half 168.

so when earlier I thought that only half my magnet were being used at one time in fact its only half the regions that are producing a force at any one time.
Title: Re: Regenerative Braking System
Post by: gf3 on May 31, 2010, 10:29:43 AM
so your motor has 46 magnets so that is 138 regions.
it has 51 slots so 17 slots per phase
34 magnets on all the time
68 little force
2x68=136

ah that didn't work out like I expected
Title: Re: Regenerative Braking System
Post by: gf3 on May 31, 2010, 11:26:52 AM
just went on to the German site and can see what you mean with the AAaBb ect that just confuses things even more.

I was sure I had worked some thing out with the pole to slot count. I will have to think about it some more. any way its bank holiday Monday here in good old blighty I think Ill pop down the pub on my pie. 
Title: Re: Regenerative Braking System
Post by: Leslie on May 31, 2010, 11:33:14 AM
We will crack the code.  ::)

Each magnet is NSNSNSNSNSNSNSNSNSN yada yada.

This must correspond to the A a B b C c which winding polarity. A is N and a is S.

63 slots can also use 42 poles with a ABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABCABC winding config.

The above slots are all wound in one direction regardless of NS magnet placement.  You need to consider phase angle too.  Its just to big to focus on the slot and pole count.  somewhere in the above config the overlap allows for the winding to work wound in a single direction.

Am I making it any easier for you.
Title: Re: Regenerative Braking System
Post by: Leslie on May 31, 2010, 11:41:37 AM
(http://i29.photobucket.com/albums/c251/soulelectronique/HBSY-1.jpg)

I drew this up for my own reference.

I think I will draw the magnets and add some sensors around it very soon to make it like the motor.

This will make more sense as to how it works.

As you see the 46 poles must require a larger magnet than the slot.  Each extends.
Title: Re: Regenerative Braking System
Post by: gf3 on June 01, 2010, 06:40:03 PM
It's quite complicated but I've got a sort of understanding how it works. I understand how if there are 1.5 time as many slots as poles then it comes out ABCABCABC   I think it comes down to the in line a third off two thirds off.
Title: Re: Regenerative Braking System
Post by: gf3 on June 02, 2010, 02:39:35 AM
I think the pie is mathematically more pure than your motor with all the clusters of AaA and bBb all being three in length.

If the ratio of poles to slots is 2 to 3 then you get ABCABC
if the ratio of poles to slots is 5 to 6 then you get AaBbCc
the pie is a ratio of 8 to 9 so you get clusters of three
11 to 12 will give you clusters of four
14 to 15 will give you clusters of five. I would have to write a program to work out all the more less pure ratios
Title: Re: Regenerative Braking System
Post by: Leslie on June 02, 2010, 06:51:22 AM
I think the pie is mathematically more pure than your motor with all the clusters of AaA and bBb all being three in length.

If the ratio of poles to slots is 2 to 3 then you get ABCABC
if the ratio of poles to slots is 5 to 6 then you get AaBbCc
the pie is a ratio of 8 to 9 so you get clusters of three
11 to 12 will give you clusters of four
14 to 15 will give you clusters of five. I would have to write a program to work out all the more less pure ratios


Yes I agree to this.  Well sort of.

Away from this.  There is more reasons why the pie may have more slots.



I think its all about the division of 360 degrees or any circle, given that 360 degrees is just another division and a less than desirable system in real world applications, so lets call it 1.  1/63 has a 0.0027 Granularity compared 51/1 = 0.0196 Granularity.  

0.154698605 degrees accuracy compared to 1.088 degrees accuracy is the worst it can get at the closest radius in existence .  Do you know of the vernier scale measurement.

http://en.wikipedia.org/wiki/Vernier_scale

It hands some explaination as to why a long barrel riffle is more accurate than a hand gun in the hands of us mortals. And touches where the reistance of cogging goes to.  Higher divisablilty of radium of any object can achieve a very high engineering specification with a more standard measurement tool.

Higher divisablity of the resistance of each pole with off sets, so to reduce the cogging effect of pole passing each slot applied equally around the entire motor..

This is why I want the larger radius pie over any of the other competitors.  It has become apparent to me that the more increase the the radius of a motor the less accuracy is introduced.  this is why more slots are wise on a larger radius motor IMHO.

The more slots the easier higher accuracy of triggering is achieved.  And so too the less resistance cogging may be apparent with the higher slot count by this divisablity.

Title: Re: Regenerative Braking System
Post by: Leslie on June 02, 2010, 10:25:47 AM
OK magnetic resistance granularity theory has been completed.


And I think this explains why the more slots the better.  But it doesnt explian why they are wound AaA and AAA and stuff.  This is a different reason which I believe happens because of overlapping.  We can pull this apart next.  Its Important to know what and when and then we can understand why and how..

We divide the pole count by the slot count, then to achieve a constant we divide it by the pole count again to get Magnetic granularity resistance over one pole.

Then multiply the Magnetic Granularity Resistance (MGR) by the telsa of the magnet.  The result.

To get the total resistance over all poles we multiply the result by the pole count.  

Say a Gm magnet has 12 tesla (12t) over the one pole.

Magic Pie

56/63=.0888/56= 0.0158

12x.0158= 0.1896


The total magnetic resistance of the pie would = 0.1896 tesla x 56 poles.

Magic pie with 56x12t magnets has 10.666 tesla resistance over the whole hub

Well under 1 magnets force trying to slow a 26' wheel.


The GMHBS

46/51=0.901.

0.901/46 poles = 0.0196

12x 0.0196 = 10.823 x 46 poles = 10.8192

Gm HBS hub with 46x12t magnets = 10.823 tesla resistance over the whole hub



Magic Pie = 10.666 TMR (total magnetic resistance).

GM HBS= 10.823 tesla TMR

The Magic Pie wins.





The 10.66~10.82 tesla resistance is spaced over the entire circumference of the poles.

Then you need to consider the layered weight diiferentials of the different materials used to make a hub wheel the diameter of the outside wheel.  EG tire on the outside spokes on the inside and magnet ring further inside ETC, and the energy stored at a given RMP, use PI and the accrued newton meters force upon that 10.66~10.82 tesla and you will get what that 10.66~10.82 tesla means to the freewheeling of the Magic Pie.

I don't want to go this far but you get the point.


I am on the right track but I am missing an equasion when I consider the total MFD magnetic flux density of the magnet rim.

Needs fixing.   ::)