After spending some time with the battery pack and BMS it appeared that I might have three (out of the 40) bad boards.  The weird thing was that all three were failing in the same way.  I took the boards back to the bench, plugged them in to my bench supply and they worked.  After a bunch of messing around I realized I could make them fail if I adjusted the supply lower than 3v.  Hey wait a minute, I thought I already fixed this problem.   Turns out I have a bug in my “fix”.  I had added a transistor and resistor to bump up the voltage on the LED side of the opto-isolator.  However, I chose too high a value for the current limiting resistor.  I didn’t do the math when I originally tested the “fix”.  I just tried a resistor I had laying on the bench and it worked.  However, it really shouldn’t have.  Now I need to take all the BMS boards off and replace that one resistor on each.  What a pain!

I installed 40 of my 50 batteries this weekend. The last 10 are already charged from my bench testing, so they will go in after I get these 40 charged.

img_2589.jpg

I finished assembling the battery monitoring boards (including the fix for low voltage).

img_2586.jpg

Now I just need to program them and find all the bad solder joints and those darn little threads of metal that seem to plague this board run.

I made some battery connectors similar to the ones Thunder Sky provided with the batteries, but just a little longer. These will connect each string of 9 batteries.

img_2582.jpg

img_2583.jpg

I also started making the 2/0 cables to connect the pack to the motor controller. I hope this weekend to get the pack installed and wired.

Most of the time I really enjoy working on my car.  However, sometimes those not-so-exciting jobs need to get done.  Cutting and punching all the battery straps is exactly that kind of job…

img_2580.jpg

On a more exciting front, I figured out a good fix for my low-voltage battery monitor problem.  If you’re interested, scroll down two posts or just click here.

High power battery chargers and motor controllers are electrically noisy. I found this out first hand when I turned on my battery charger for the first time. All my battery monitor boards went crazy. I put an oscilloscope across one of the batteries and saw huge amounts of high frequency noise.

img_2573.jpg

This was a problem. Fortunately, there were some toroids laying around my office.

img_2574.jpg

After some experimenting it turned out that a combination of three chokes (one wired to block common mode) brought the noise down to a tolerable level.

While the batteries were charging, I took a few minutes to figure out the whole strapping issue. I ended up using some stainless steel strapping.

img_2575.jpg

Having long unwieldy strips of metal flopping around exposed battery terminals is a recipe for disaster. So, I wrapped them in electrical tape. I drilled some holes in the strap and tensioned it using a 1/4″-20 nut/bolt . Super easy and clean.

I spent tonight writing software for the battery monitors.

Warning! Warning! Super technical discussion ahead. If you are put off by such talk, turn back now!!!

For the most part everything seems to be working well. There is only one outstanding issue. I designed the circuit with a Schottky diode on the positive battery rail. This diode serves a couple purposes. First, it protects the circuit if its polarity is reversed. Second, it helps with noise immunity by allowing the 100uf filter capacitor to power the circuit during brief power glitches on the battery rails (I am not sure this will be needed, only driving will tell). The problem with the diode, is the fact that it is a diode. And like all diodes, it has a voltage drop. In this case .4v. The batteries are basically dead at 2.5v and the processor is good to 2v. So, it is not a problem for the processor. However, the output pins on the micro seem to output at a voltage roughly 1.1v less then the supply. The problem shows itself when I send data out of the processor through the opto-isolator (connected to the UART for communication). The opto wants a minimum of 1.5v. This means that with .4v+1.1v worth of voltage drop, my comms start dropping out if the battery voltage is below 3v. I am trying to think of options. I could ditch the diode, but that might come back to haunt me. What to do?

Update: I should have done a little more upfront testing… If so, I might have caught the fact that my PIC was sourcing current to the opto-isolator instead of sinking current. (Thanks to Fran for pointing this out). Unfortunatly, there isn’t a clean way to implement this fix without major board modifications  (and I sure as heck don’t want to re-make all 50 pcbs). So, instead I decided to add a 6 cent transistor to boost the voltage between the output pin of the chip and the opto-isolator. There is a very convenient place to solder it that only requires a couple scratched traces. Now I just need to wait for that order of 50 transistors to arrive.

The mail man dropped off my BMS printed circuit boards yesterday.

I did a quick test fit to make sure they fit on my batteries:

img_2563.jpg

I first built one, and tested it:

img_2568.jpg

It worked perfectly. Here are the features it has:

  1. Measures battery voltage
  2. Measures temperature
  3. Has a 3W 10 ohm resistor that can be programmed to shunt excess current during a charge cycle (balances the cells)
  4. Talks over an opto-isolated serial bus.
  5. Has a programmable RGB LED (used as a diagnostic tool and for adding some “coolness” to an otherwise boring battery pack)

Then I built 10. (This took about two hours)

img_2571.jpg

Only 40 more to go…

img_2569.jpg

Today, I sent off my Battery Monitoring System (BMS) circuit to the fabricators. If all goes well, I should have 50 of these boards in my hands by Friday.

bms.jpg

I also mounted the battery box (which is now powder coated) to the chassis and bolted on the power electronics (the charger, controller, main fuse, and both contactors):

img_2558.jpg

The next step is to install the batteries and start wiring everything up.  I want to make everything really neat and clean, so I will be taking my time.

Today is battery box day!

I used the waterjet to cut the pieces of the battery box out of 1/8″ 6061 aluminum.
img_2548.jpg

img_2551.jpg

Next, I TIG welded all the corners (don’t look too close, it’s been a long time since I have welded aluminum).
img_2556.jpg

A quick test fit in the chassis
img_2553.jpg

Now to make sure the batteries will fit.
img_2555.jpg

Perfect! I’ll drop it off at the powder coaters tomorrow.

I am a little ashamed to admit it, but I decided to use a couple pieces of 80/20 to support my battery box. I thought about welding up a fancy aluminum support system, but this seemed so much easier. Plus, if I ever have to take it out, it is very simple to unbolt.

img_2542.jpg

A sheet of aluminum will go over these supports to form the bottom of the battery box.

I can’t wait to install the new batteries and take it out for a REAL test drive, but I should probably install the seatbelts first…

Next Page »