Monday, April 30, 2012

Brake Problems Finally Solved!

I've been having a battle with the brakes ever since I bought the Porsche.  I knew they didn't work well before buying it, but figured all it would take is bleeding some trapped air out.  Well, when I got her home, I find out one of the bleeder screws is broken off.  So that explains why the spongy brakes hadn't been fixed.  The next problem was finding the correct bleeder screw replacement.  Then to get the broken one out I had to heat it with a torch, which required rebuilding the wheel cylinder. 

Okay so I had that all done a while ago and never had a chance to finally bleed the brakes.  Well I finally got to it a week or so ago and can't get it to work.  The way it normally works is you push down the brake pedal to build pressure in the brake lines, then crack open the bleeder screw and let the air bubbles flow out.  You keep doing that until it's all fluid and no air coming through the lines.  I had my wife pumping the pedal while I worked the screw open and closed, and to my dismay there are only spurts of air coming out and no fluid.  I finally get the idea that maybe the cylinder is dry and leaking and needs to be primed, so I take it out again, fill it up with brake fluid and get it all lubricated and put it all together.  Still nothing but puffs of air even after pumping 50 times or so. 

A week later I've tried a few other methods of pumping the brake with the same results, but now a friend has lent me his vacuum bleeder.  Basically, this thing works backwards of how it works when you pump the pedal.  You draw a vacuum on the outside of the system, crack open the bleeder screw, and that's supposed to pull fluid down from the master cylinder into the brake lines.  Still no luck.  Just air! 

Then I get a brilliant idea.  The only other way I've heard of bleeding a system is to use a power bleeder.  This works by using air pressure to force brake fluid into the lines and gurgle out the master cylinder.  Too bad these cost $90 at Auto Zone.  But I've got a plan.  I take the tank from the vacuum bleed kit and fill it with fluid.  Then I hooked one hose up to the bleeder screw and the other end I plugged with a nozzle from my air compressor.  I set the regulation to 20 psi and let her rip!  I got my wife to keep an eye on the master cylinder reservoir so she could warn me if I created a geyser.  She looked a little worried when I put on safety glasses. (shouldn't she just be glad I was wearing them and not upset that I felt I needed to wear them?) 

Operation was a little slow, but soon we could hear bubbles hissing through the master cylinder and you could see fluid going in on my end.  I had to squeeze the tank from the vacuum kit to keep it from misting all over the place.  I also briefly tried 30 psi and that just turned into a mess and I quickly went back to 20.  After 5-10 minutes, the master cylinder tank level had risen a little bit, but a check of the brake pedal proved to be nice and solid!  I couple more pumps and we were able to get the last remaining bubbles out of the system and I think I'm good to go!


Wednesday, April 25, 2012

Compare and Save!

There are quite a few online stores that sell electric vehicle stuff.  It's not a surprise that a lot of it is just stuff they found somewhere else and marked up on their site.  A lot of the time they shrink, blur, or orient the images so you can't see the part number on the label so it's harder to find it online, but if you're clever enough you can usually find it.  I've been looking at a lot of stuff lately that falls into this category and was thinking about my wife's favorite blog site called Regretsy.  One of the things the writer does is compare supposed hand crafted items to mass produced items sold somewhere else online to show you how bold some people can be in their markup attempts.  So here's my EV variant of Compare and Save!

You need one of these contacters to safely turn on and off the power to the motor.  You could buy it here:



OR





You save $87.88 !!!




To keep your motor running cool, add forced cooling with a blower fan.  You can buy it here:


OR




You save $408.89 !!!





You can't power all the original gauges and lights in your car with the 150v battery pack, so you need one of these DC-DC converters to get 12 volts.  This one's actually a lot cheaper than other version even at this EV store, but you could buy it here:



OR






You save $63.31 !!!



Your braking power is normally "boosted" off of vacuum produced by your engine.  In order to maintain your braking power you need a vacuum system that you could buy here:


OR





You save $323.88 !!!

Edit: This pump didn't actually work!  You saved too much by buying it.  See this post for a better option (that actually costs less in parts but requires a little fabrication).
http://electricporsche924.blogspot.com/2013/01/exciting-day-and-new-challenge.html



So in just 4 items I've already saved around $900 by shopping around!  But can you put a price on convenience?  Granted not all of these are direct comparison.  Some of these are kits with a few bolts and hoses and I'm just comparing with the most expensive part of the system, but you get the idea.

But seriously, check out www.Regretsy.com because it's pretty awesome!

Wednesday, April 11, 2012

WarP 9 Motor Performance Predictions


Before I start, I want to make it clear that any use of this information to design your own car is done at your own risk.  I take no responsibility for anything you choose to do with this data.  If your car doesn’t work the way you want it to, that’s not my fault!  Okay, with that behind me let’s get into it.

I am still waiting on my motor adapter plate to get finished, so progress is still slow.  In the meantime, here’s some info on motor performance that might be interesting to you.  Before I jumped into this project, I wanted to have a good prediction of the performance I would be getting.  I didn’t want to start driving and realize I should have started with a different car, motor, battery pack, controller, or anything else.  One very important piece to that puzzle is knowing how much torque you can get out of your motor.  More importantly, I needed a torque-speed curve.  I’m only going to discuss the WarP 9 here, but I looked at a few other motors as well (mentioned in my last post). 

Netgain’s website has a lot of these charts and tables available for you to use.  Here are the links for the WarP 9 data for motors manufactured after 7/1/10.

Unfortunately, the data only goes up to 500 amps.  For a lot of people, this is entirely adequate since they have a controller rated for 500 amps output to the motor.  If you intend to drag race, that’s not going to cut it.  Electric drag racers commonly run 1000-2000 amps through their motors to get more torque.  So how do you figure out how much torque you’re going to get beyond 500 amps?  There is a common rule for series wound motors that says the torque is proportional to the current squared.  The equation looks like this:

Torque = Constant x Current^2

From Netain’s data, at 500 amps you get 100 ft-lb of torque.  Using that data point, the constant can be calculated to be 0.0004, so now you get this equation:

Torque = 0.0004 x Current^2

Let’s say you want to know the torque output at 1000 amps.  With that equation, you would predict 400 ft-lbf…sweet!  Too bad that’s not what really happens.

Okay, if you plot out the data, it looks like a fairly straight line, so let’s just use the slope of the last two data points and see what happens.  You get a linear relationship that looks like this:

Torque = 0.2486 x Current – 24.3

Using this relationship, at 1000 amps you would predict 224 ft-lbf.  Unfortunately, you can’t count on that either.  So why can’t we use either of these methods?  Well you can if you aren’t extrapolating the data too far from the actual data, but doubling the range is out of the question.  The problem is called saturation.  First let’s discuss how a motor works.

Inside the motor you essentially have electromagnets.  When you were a kid, did you ever wrap wire around a nail and hook it to a 9v battery to pick up paper clips?  The force coming from an electromagnet is proportional to the number of turns (windings around the nail) multiplied by the current going through the wire.  Since a series wound motor uses electromagnets for the stator and the rotor, you get a force proportional to the current squared.  But you can’t just keep increasing the current and expect the square relationship to continue indefinitely. 

When you apply current, you create a magnetic field.  Anything made of iron has low permeability, meaning the field flows easily through it…sounds like something from Star Wars.  But it can only flow so much.  Similar to a garden hose, at some point, opening the valve more doesn’t produce any more water flow.  This phenomenon in the electromagnetic world is called saturation.  Certain areas of the iron core used in the motor’s rotor and stator will start to saturate as the field is increased.  At this point, the magnetic field (or flux) will have to find another path, which is probably through air.  If it doesn’t pass through the iron, you don’t get usable force out of it.  Eventually the entire part will become saturated and no matter how much current you apply, the force will not go up any more.  Okay, enough with the physics lesson.  This is what I did to solve the problem.

I decided that the saturation could be accounted for by making the exponent in my first equation a variable instead of a constant.  That variable should be a function of current and inversely proportional to it (i.e. it decays with higher current).  I found a few bits of data on the internet for current above 500 amps and fit it in with the Netgain data.  The result looks like this:

Torque = Flux Constant x Current^Exp
Exp = 2.0615 – 0.0002 x Current
Flux Constant = 0.00051

This is the result.  You can see that the equation fits the Netgain data fairly well, and as would be expected, the slope gets lower as the current gets higher.  If anyone out there has good data on the current WarP 9 motor, please let me know and I can use it to enhance this graph.  You can also see from this graph that using the squared rule does not fit the data well at all.

The next piece of the puzzle is the torque speed curve.  Why do I need to know this you ask?  Well this tells us how fast the motor will spin with a given voltage and current.  You can use it in a variety of ways.  Let’s say you know you need 50 ft-lbf of torque to climb a hill in a certain gear and you want to do it at 50 mph.  You could look at this graph and determine how much voltage you need to supply to the motor to achieve this.  From a different angle, if you want to know how long you will have your maximum torque in a certain gear, you can use this chart to determine that as well.  Again, we want to extrapolate this data beyond the range of what’s provided by Netgain. 

We’ll start with the governing equation.  It is commonly accepted that RPM, Voltage, and Current are related with this equation:

RPM = K x Voltage / Current

where K is the motor constant.  If you use this equation to calculate K for the Netgain data, you will find out that K is, in fact, not a constant.  If you plot K versus Current, you will find that the relationship is fairly linear.  That means we can easily calculate K as a function of current.  I found that the data matches a little better if you split it in two sections and use a linear relationship for K above 300 amps and a polynomial relationship less than 300 amps.  You can see the curve fits in the following chart.

From this, we can get the following equation for K:

K = -0.00006 x I^3 + 0.0809 x I^2 – 9.3578 x I + 8982.3                 For I < 300 Amps
K = 17.69 x I + 6404.8                                                                       For I > 300 Amps

In the next chart I’m comparing the actual data with the calculated data and you can see it fits quite well.


From here you can extrapolate even further and create curves for various voltages.


And now I'm ready to make my performance predictions.