Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Learning EV v0.1

  1. #1
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Learning EV v0.1

    I promised I would put these projects up here, so here we go.

    As I mentioned in another thread, I've been away from the boards for a while partly because of my new job (well, not so new anymore...been there almost 5 months now) but also because my interests have been shifting. I've become quite interested in EV tech and EVs recently, and in the near future will be starting on (and finishing...I promise.. ) a few different EV projects of various types. I figure there may be some on here that might be interested in that so I'll be posting build-logs of all these projects on here.

    So, on to the first one.

    Quite a while ago, back in late 2010 when I first started getting into this stuff, I picked up a couple cheap Chinese electric scooters with dead batteries. I could have sworn I had a picture of the two of them, but it looks like I don't...and it's cold outside, so I don't feel like going out there and getting a new picture.. So here's a picture from the company's website instead.


    They're made by a company called 'X-Treme Scooters'; their "X-360" model. Now, I'll say right now, I would never pay the $350 pricetag they were asking for these things last I looked. At $50/each though, yeah, sure, I'll see what I can do with them.

    Now, for technical bits.

    These scooters were originally fitted out with three 12V 10Ah SLA batteries, a brushed DC motor that they rate at 360W, and a 36V 20A brushed DC motor controller.

    The batteries, of course, had to go. Them being dead aside, SLA is just a waste of space and weight in my opinion. So, those came out:

    ....actually had some bulging on those...I need to get them out of my house...

    Now, in the process of pulling those out I had to take the cheap, plastic cover off. I had been planning on doing this anyway because it looks like **** imo, but this gave me an excuse.

    And here we go with that:


    I have to say, I have been quite impressed with the quality of both the physical and electrical components. Once I got past the flimsy plastic cover, it's actually quite solidly built and the components actually are pretty decent as well.

    I took it out for a quick spin the other night after stripping it down, just dropping a 48V li-po battery pack I had lying around from another project, and it was quite fun.

    Definitely felt that controller though... The motor has a lot more to give, as I expected...runs just fine if I hook up the battery pack directly... That controller needs to go though. I'm tripping both the 36V and 20A limits, and if I give it too much throttle it just shuts off, so that needs some help.

    ...and this brings me to a motor rant...feel free to skip unless you feel like hearing me rant about technical details of electric motors.


    [RANT]
    This is not actually my first attempt at a small EV. I tried to get a rear hub-motor-powered ebike working back in early 2010; bought the motor, controller, throttle, and batteries, and worked at getting it all put together. ....and so we come to my issue...position sensors...

    ...ok, take a step back, wtf am I talking about..
    There are three basic types of electric motors:
    1) Brushed DC (BDC)
    2) Brushless permanent magnet DC (BLDC)
    3) AC Induction

    1) Most of the small motors you see in consumer products are brushed DC motors. Basically, they have coils or loops of copper in the armature (the part around the rotor that spins) that have current passed through them by way of graphite brushes in order to generate the armature's magnetic field. Sometimes the stator (stationary part around the edge of the motor) is a permanent magnet, sometimes it is electromagnetic coils, but either way the armature is always powered directly through brushes. This means that they have a wear point (the brushes), are not the simplest design, and are usually not quite as high efficiency as brushless designs, but in exchange they are cheaper and much, much easier to control. To control a BDC motor, all you need is a PWM square-wave signal, with the width of the square-wave determining the power fed to the motor.

    2) BLDC motors use high-power permanent magnets (neodymium/etc) to generate the magnetic field on either the armature or the stator, while the other part uses electromagnetic windings to generate the field but stays stationary, so does not require brushes. BLDC motors come in two forms; outrunners and inrunners. Inrunners have a rotating armature and stationary stator, while outrunners have a stationary armature and a rotating stator. The benefit of BLDC motors is that because half of the magnetic work was done when the high-power magnets were created, and the magnets are quite small, you can get a higher power motor in the same physical size and weight. Or, as is more commonly done, the same power in a smaller physical size and weight. The downside is that they use rare-earth metals, which, while not actually all that rare, despite the name, are rarer, harder to mine, and thus more expensive in an end product than, say, copper and graphite. The other downside is that they are very complicated to control. Because the controllable field will always be stationary, and the field that is moving is uncontrollable, the controllable field has to be modulated in such a way as to exert force on the set field. For most of the BLDC motors I have seen, the manifests itself in the wound part of the motor (the armature in outrunners; the stator in unrunners) being wound as three different electrically-discreet coils (for more details, see the wiki article I linked). These are called 3-phase BLDC motors because of the three coils. What then has to be done is that three different sinusoidal (ideally...frequently they are triangular waveforms instead because sinusoidal are harder to make with digital electronics) signals offset 120 degrees from each other, that essentially makes a set magnetic field that rotates around the the axle.

    3) AC Induction motors are frakking AWESOME, and one of Nikolai Tesla's brainchildren. Basically what happens is you have windings on the stator, that you pass current through to generate their magnetic field. The armature then has coils on it, but these coils are just loops, and are not connected to anything but themselves (ie, no brushes). Now, as anyone who has studied electromagnetic physics knows (ok, that sounded better and more universal in my head...shut up...), when you pass a conductor through a magnetic field, a current is generated in that conductor. This is what we call an 'induced' current. What happens on the armature of an AC Induction motor is that the field in the stator windings is varied in much the same way as the field in the stator of a BLDC inrunner, and as the magnetic field moves around the armature, a current is generated in the armature. Fun thing about that...any current travelling through a conductor generates a magnetic field. So, as the induced current travels through the coils in the armature, it generates a magnetic field that then interacts with the magnetic field generated by the current you originally passed through the windings in the stator. I'm still not entirely certain how, but this actually ends up being one of the most efficient types of electric motor. It doesn't seem like it should be, but it is. One of those quirks of physics. Now, as a result of all this, you have a motor where the only wear points are the bearings and the most exotic material used in the construction is the copper in the windings. Unfortunately, they are also quite complicated to control, as I mentioned earlier. They require basically the same waveform as a BLDC motor, with the one difference in that AC motors in configurations other than 3-phase are much more common than non-3-phase BLDC motors.


    ....now, what was my point? Oh, and if I got anything wrong, please feel free to correct me. ..oh yes, my point...sensors...

    Some BLDC motors have hall effect sensors (output a varying signal depending on the strength of the magnetic field they are in) on them that will tell the controller what position the motor is in, and thus what signal it should send to the windings so that it will not interfere with the field generated by the magnets. This is the only motor type where this is even an issue as with BDC the brushes only convey current to the properly placed armature windings, and with AC Induction, there are never any magnets to interfere with.

    The problem with this is that these sensors are usually quite fragile, and in everything I have read, as well as my own limited experience, are thus the most common thing to fail...which causes problems since controllers expecting input from these sensors will, in the absence of sensor input, at best function sub-optimally, at worst cease to function at all.

    Now, the idea of sensored BLDC motors is nice in concept and I know a lot of people have had great experiences with them, but in my opinion they're just not worth the trouble.

    ...of course, that is largely because my experience with BLDC motors followed this:
    1) Bought motor
    2) At least one sensor was shot out of the box
    3) Replaced sensors
    4) At least one doesn't work

    Now, 4 is quite possibly my fault, but tbh I am beyond caring. They're just not worth the trouble to me. I may still use BLDC motors at some point in the future, but probably only in places where the power-to-weight benefit is enough to justify it...but I refuse to touch sensors again. And as the power and efficiency of vehicle-class BDC motors continues to increase and the brushes get more and more long-lived, I see no reason for BLDC.

    If I want cheap(er), easy to control, and high low-end torque, I'll go with BDC. If I want elegant, maintenance-free, and higher top-end RPM I'll go with AC Induction.

    Also, BDC has the most torque available at start of all the motor types, since it is the only type that has direct power transferred to both sets of windings.
    [/RANT]

    Ok, enough of my ranting...

    Anyways, point of all that being; yes, I know about BLDC; no, I'm not interested.

    Also that BDC motors are pretty simple to control...so I'm gonna take a shot at building my own controller.

    I have some parts on order from Mouser, including some 100V 52A mosfets that will make a nice power stage for this little scooter.
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  2. #2
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Forgot to put this in the above..

    These are the new batteries that I'm testing with now:



    These are two 6S 5Ah li-po packs, each with a nominal voltage of 22.2V, for a total of 44.4V nominal...so you can see why the controller wasn't happy.

    For context, the original battery pack was 36V 12Ah SLA (Sealed Lead Acid) and took up that whole tray under where your feet would sit. Now, due to what is called the peukert effect, the usable capacity of lead acid battery packs in EVs is usually ~50% of the 20-hour capacity (ie, the capacity if discharged over a period of 20 hours; the value that is normally stated for lead acid batteries). Those two little packs in there, even with only using 80% of the charge (extends the life by a huge amount, rather than using 100% of the charge), is a 44.4V 4Ah pack. So, about 82% of the capacity of the original in about 1/3 the volume and idk how much less weight (a lot).
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  3. #3
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Learning EV v0.1

    Is there a drop-in replacement for LA batteries?
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  4. #4
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Sort of. You can get pretty close to 12V with lithium cells, and controllers will usually have a bit of leeway. Common lithium chemistries generally produce a nominal voltage of either 3.2V or 3.7V per cell. There are a few that are ~2-2.5V, but they're much rarer at the moment. So, using either 3 of the 3.7V or 4 of the 3.2V in series, you could get close enough to 12V that it should work fine. For multiples of 12V you would want to adjust it a bit though. For example, this scooter originally had a 36V SLA pack. The lithium cells I am using have a nominal voltage of 3.7V, so if I were to put 9-10 in series, that would get close enough that it probably wouldn't keep shutting off the controller. I just happened to have them in packs of 6, so I am running it on 12 in series. The replacement controller I'll be making should be good up to 100V, so I'll be trying it with a third pack I have in series with the other two for a nominal 66.6V...should get a good bit more speed out of it then.

    If you have something like this that you want to convert to lithium power, I would recommend checking out the link below. They are not the best lithium batteries in the world (far from it), and don't have that high discharge levels, but they are the cheapest formed packs I've seen and I've heard lots of good things about the build quality and customer support. They are also LiFePO4 chemistry, so have much longer charge cycle lives. They're an older LiFePO4 design, so don't have the life of newer ones, but they're also a lot cheaper than the newer ones.
    http://www.pingbattery.com/servlet/StoreFront

    In addition to the decreased weight and volume, you will also get improved acceleration with lithium cells because the voltage will sag less under load than with lead acid. This is another place that the Ping batteries I linked will not stack up as well as other, newer, better, more expensive, lithium batteries, but they should still be better than SLA.

    These batteries will give you longer life, more current, and thus less voltage sag, than the Ping batteries, but will also cost a bit more.
    http://stores.headway-headquarters.c...Categories.bok

    For a bit of context on the size/weight issue:
    36V Stock SLA pack (6Ah usable): 150x105x315mm (4,961,250 mm^3), 25.14lb: $110.85
    36V Ping LiFePO4 (10Ah usable): 150x105x105mm (1,653,750 mm^3), 8.2lb: $289
    36V Headway LiFePO4 (10Ah usable): 243x151x98mm (3,595,914 mm^3), 10lb: $474
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  5. #5
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Thought I'd drop in a bit of an update on this since I have been rather lax in that..holy crap, has it seriously been 25 days since I posted this?

    When I said the parts were 'on order', that was...a bit of a fib...actually only finally placed the order on this past Sunday. Anyways, parts got in today and spent some down-time at work going through them.

    I won't have a chance to work on the controller until Saturday, but I hope to have a working prototype by Sunday so I can start putting it through its paces.

    I did have one pleasant surprise with the parts! For testing the controller on the bench I picked up a nice 10-turn 10k pot for the throttle. It was pretty expensive ($15), but I figured that was just par for the course for a high-quality high-precision pot. ...turns out that $15 was for a pack of 10! Looking over the product page, the only hint I can find of that is the 'bulk' packaging, the plural grammar in the description: "Potentiometers 7/8 WW 10Kohms 10 Turns", and in the datasheet, where they are describing the SAP part numbering guidelines, there is a reference to 'B10' meaning a box of 10...but I see no reference to 'B10' in the Mouser catalog...ah well, I'm sure they'll get put to use eventually and they are extremely nice pots for $1.50/each. Link below, if anyone's interested.
    http://www.mouser.com/ProductDetail/...H4FvBTfQ%3d%3d
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  6. #6
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Oh, forgot to mention; a couple weeks ago I succumbed to temptation and tried hooking up the third pack in series with the first two on the original controller....and promptly blew it up.. I did confirm my suspicions that the motor can easily take 72V though.
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  7. #7
    Custom Title Honors
    Join Date
    Feb 2011
    Posts
    1,078

    Default Re: Learning EV v0.1

    i missed this before, but i am completely intrigued. my mechanic buddy has been playing with scooters for the past year or so and got me interested, but this puts a whole new spin on it and makes me want to build an old scooter into an electric one. i need to look more into this now. probably end up shooting you some pm's with questions and stuff.

  8. #8
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Absolutely; feel free.
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

  9. #9
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Learning EV v0.1

    Make it go 70
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  10. #10
    Will YOU be ready when the zombies rise? x88x's Avatar
    Join Date
    Oct 2008
    Location
    MD, USA
    Posts
    6,334

    Default Re: Learning EV v0.1

    Quote Originally Posted by AmEv View Post
    Make it go 70
    Heheh, I'll see what I can do about that.
    That we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously.
    --Benjamin Franklin
    TBCS 5TB Club :: coilgun :: bench PSU :: mightyMite :: Zeus :: E15 Magna EV

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •