Battery Bottom Balancing and Siemens Spline Adapter

The final process of preparing the batteries before they are put into the car is to perform what is known as bottom balancing.   For this process each battery is first fully charged, then fully discharged, or nearly fully discharged.  The balancing part of this process is to discharge each battery to nearly exactly the same voltage, in this case 2.75V +/- 0.005V.  Bottom balancing is done to protect the battery pack, in case there is a catastrophic full discharge event.  See my blog "Battery Conditioning"  below on the initial phase of the bottom balancing process. Bottom balancing is a arduous task and time consuming  because when charge is removed from a battery, the battery needs to relax and establish an equilibrium before the open circuit voltage (OCV) is stable.   The relaxation period can be from several tens of minutes to many hours, depending on how fast charge is removed from the battery.  There are manual and semi-automatic ways of bottom balancing.  I decided I needed to balance as many cells as possible in the shortest time. To accomplish that I designed an automatic bottom balancing system.  Using a Arduino Due to control four power MOSFETS with pulse width modulation (PWM), I built a system that can balance four batteries at a time.  The MOSFETS control the amount of battery current that is dumped into a power resistor. I used a Due because it has a 12-bit ADC which I needed since I am trying to control millivolts.  I had originally planned to use MicroChip Pics for each discharge station because I was worried about connecting all the grounds together.  I found with the Due not to be an issue for that.  Rather I discovered with the Due that the ADC voltage would drop when the PWM would start.  The drop is consistent but varies for each ADC channel.  I have a 1Mohm resistor across the battery terminals to protect the inputs of the ADC.  I developed a program on the Due that logs the battery voltage and controls the PWM based on battery voltage.  I found that the 3.3V output of the Due PWM is not enough voltage to turn on the MOSFET fully.  In fact it only turns the MOSFET on about 2%.  But that is perfect because it gives a wider control over the current.  With a 50% DT the MOSFET only turns on 0.5Amps. The DT is reduced as the battery voltage approaches 2.7V.  Once the battery voltage drops below 2.7V the MOSFET is turned off and the battery is allowed to rest 30 min.  The PWM is turned on again and based on the voltage the battery rises to will run until the voltage drops to 2.7V again.  Some batteries do not need any more discharge. Usually I leave a set overnight to stabilize.  About a third of the batteries still require some touch up, either more charge removed or added to get the OCV to 2.75V.  In the last week I have been able to bottom balance 2/3 of my battery pack.

The most exciting news is that I finally received the spline adapter for the Siemens motor from my friends at EV West.  They tested the fit of the adapter and said it only needed heating by a heat gun.  I setup a cheap 1500W heat gun to heat the spline adapter.  After about 20 min the adapter was at 250F so I decided to put it on the Siemens.  I almost screwed up and put it on backward.  Fortunately there is a stop on the flywheel side that prevents the spline from engaging.  Once I had the adapter oriented correctly it slid right on the Siemens spline with just a couple whacks with my hand.   I had to get the RebirthAuto adapter machined since I will not be using the thrust bearings with this adapter because the spline adapter had to go on first. The RebirthAuto adapter will now be just a very expensive motor to bell housing adapter.

A video of the bottom balancing system and spline adapter mounting can be found here.

Add a comment

PTC Heater installation

The last system I had to engineer for the car was a heating system.  I had originally planned to use a HotStart water heater and use the original piping and controls in the car.  The HotStart is a 5kW unit and probably would provide great heating capacity.  Unfortunately there is just no room for the unit in the engine compartment. As part of completing the conversion I started placing all the components in the engine compartment to figure out where they would go and how the components would be mounted.  I found there is no room for the HotStart  because I need two cooling loops, one for the DMOC and one for the Siemens.  A cooling loop consists of a water reservoir and a pump that goes to the heat exchanger. The HotStart would also need a water reservoir and a pump to circulate the water through the heater core.  My only other option for heating is to use electrical resistance heating with a PTC heater.  PTC stands for positive temperature coefficient, which for a heater means that the resistance increases as the heat increases so the PTC heater is self limiting.  From doing some research I found that I probably would need at least 3kW of heating.  PTC heaters are great because the heat up fast, but have the downside of not have a great heat capacity.  Searching on EBay I found there are all shapes and sizes of PTC heaters.  The ones I chose are a 1kW unit rated for 120VAC.  Fortunately three of the units side by side is nearly exactly the same size as the old heater core. By using three wired in series I can get 3kW of heating and use the pack voltage to drive the current.  Testing the units I found they started drawing 9 Amps at 120VAC and as they heated up the current dropped to 5 Amps.  The units have a thermostat mounted on the side with a 160C cutoff temperature.  I found the using a thermocouple attached to the heating element the thermostats open around 170C.  Taking apart the old heater core was a bit of a challenge.  The whole unit, heater core, fans and air distribution box come out of the car as a single unit that is held together is clip rings.  Taking apart the unit I found all of the foam insulation and gasket material completely degraded and falling apart.  The inside of the air box was also very dirty.  Back in 1983 they did not use any air filters on the incoming air like they do now. The X1 BMW I have actually has a HEPA air filter for the cabin air.  I will probably look at adding some type of air filtration when I reassembly the unit.  Because it was so dirty I took all the electrical wiring and connections out and washed the whole unit.  During the disassembly I discovered how the fan speed was set.  They used a set of big wire wound series resistors to control the current to the fan.  Two resistors would give four speeds for the fan and that is how many selections there are on the dashboard switch.  I will replace those resistors with a MOSFET circuit to control the fan speed.  I reassembled the air box with the PTC heater inside and mounted a few thermocouples inside to measure the heat.  The PTCs were wired in parallel because I do not have the battery pack available to provide 360V.  Wired in parallel they units drew 25 Amps starting out - fortunately I have a 20Amp circuit in the shop that did not trip during the test.  I also had a limited power supply to power the fans, about 5 Amp at 6VDC.  I figure that probably corresponds to half speed for the fans.  Even at that setting a lot of air was being pumped through the distribution box.  The PTC heated up very quickly just like on the bench and after a minute 65C air was blowing out of the distribution box.  So that corresponds to a 45C heating of the air which should be enough to heat the cabin or defrost the windshield.  All I have left to do is attach the PTC assembly to the distribution box so it does not rattle around when driving the car. I will have to replace all the foam gasket material before the final assembly.  I also need to wire up a contactor and a high voltage fuse to connect the battery pack to the heater.  A video of this PTC testing can be found here.

Add a comment

Battery Box Work III

The fun continues with the battery boxes.  I completed the rubber insulation and installing the custom silicon heating pads in all the boxes.  I found because the size of the batteries were bigger than what I had planned for that the thickness of the rubber insulation had to be adjusted on all the boxes.  Unfortunately I could not adjust the size of the front box so only 17 batteries will be going in that box.  It was planned for 18.  That is not a huge loss in overall battery capacity and actually could not have been avoided, even if I had planned on batteries that were thicker.  That front battery box fits between the two front fenders so the width is fixed.  Now that all the boxes are finished they can be installed in the car and as batteries are bottom balanced they can be installed in the boxes.  I still don't have a solution for mounting the trunk box.  I was thinking I would like it to have it on some type of roller so it could be rolled out for maintenance.

I also did some testing of the silicon heating pads to see how much heat they would produce, inside the battery box, with batteries sitting on the pad.  I used a 120V 250W pad that I had purchased just for this testing.  The result of the testing is that the pad will generate at least 30 degrees C heating.  That should be enough to thaw out cold batteries, if that is ever needed.  I don't plan on leaving the car out in the cold and then try to charge it.  Usually what I do now with my Leaf is drive it into the garage and immediately attach the charging cable.

Still no spline adapter from EV West but I did get some other parts from them.  I got another  large contactor box, some fuses and fuse holders and a maintenance switch.  I got the Gigavac switch that is hermetically sealed.  That will be used in the engine compartment.  I plan to have another disconnect switch inside the passenger compartment.  That will go between the rear seat battery boxes.

A video of the battery box prepartion can be seen here.  There is a short section in this video that was repeated from my last video, because that vidoe was not shown on EVTV.

Add a comment

More Battery Box Work

I finished painting all the battery boxes with the bed liner material.  I had to touch up some of the sides of the rear seat boxes.   Once all the painting was done I could start on the next phase of battery box preparation - the lining of the insides of the box with rubber sheeting.  This is done to provide both a thermal as well as a electrical insulator layer.  The material I chose was a Buna-n rubber, medium strength, 1/4" thick.  The rubber comes in different hardness, I chose the 60A which is medium hard.  That seemed like the best compromise for stiffness and elasticity.   It is available in 12" wide sheets in many lengths, which is perfect because all my battery boxes are 12" tall.  The material can be found from many sources, I bought some from both McMaster Carr and Ebay.   The price on Ebay was 20 to 30% less than McMaster Carr, but there is a limited selection that had an adhesive back.  I am not sure how important that is, except for assembly purposes (it is possible to apply your own adhesive).  The battery boxes were designed to use this 1/4" rubber sheeting.  I first installed the rubber sheets in one of the rear seat boxes.  The material can be cut with a box cutter, but it is not easy - pretty tough material. After I got the material on both of the long sides I decided to test the fit of the batteries.  Until now I could not do that measurement. I could slide two batteries side-by-side very tightly in the middle of the box but, unfortunately, I found I could not slide two batteries at either end.  It looked like there was only as small offset that was preventing them from being inserted (less than a 1/16"!).  Probably the box has a very small dimension variation at the corners because of the fabrication technique.  This is one of the problems with battery boxes.  The batteries have a fixed size, so if the box is too small the batteries cannot be inserted. Also the thickness on the rubber sheet can vary +/- 0.031".  Fortunately with the rubber sheeting there is an easy solution.  The material is available in 3/16" thickness.  I ordered one sheet to test it out and it worked!  Batteries can be inserted at both ends of the box.  The still are very tight, but that is what is desired.  Another part of the battery box preparation is to install a silicon heating pad in the bottom of all the boxes.  The heating pad is designed to heat the batteries when their temperature drops below 0C because they will not take a charge at that temperature.  The pad does not get very hot and is just designed to warm the batteries.  I found a Chinese Ebay vendor that offers custom size heating pads.  They not only can customize the pad size, but also the wattage and voltage of the pad.  I chose 400W and 400V because I plan to power the pads with the battery pack voltage.  This seemed the most simple electrical solution, with the wattage of the pads they will only draw an amp of current.  I plan to use 22AGW wire so the wire will act as a fuse if there is a short.  I also plan to have a high voltage 5A fuse in circuit as a failsafe.  Each of the pads will have a thermistor - I don't plan to control the temperature but rather just have a upper limit for control.  All the pads will be wired in parallel so they see the same voltage.  The pads will sit on some of the rubber sheet material on the bottom of the box.  This is done to prevent the heat from the pad being conducted away by the battery box.  With all the sides of my boxes being insulated there is no reason to heat the box.  The heating will be directly into the battery cases.
Other work on the interior of the car has progressed.  I was able to remove all the underlayment material and install new underlayment.  The next step is to install the new carpeting.  That should happen soon, but first I need to finish running all the wiring to the engine compartment.  Now I have heaters in all the boxes there are another 4 cables to run.  I also want to get the rear seat boxes fully installed before the carpeting goes in.
No news on the Siemens spline adapter from EV West.  Should arrive any day.
video of all this fun can be found here.

Add a comment

Interior Blues and Painting Fun

In the last video before EVCCON I showed a new carpet that I received for the interior of the 320i.  I finally got around to ripping out the old carpeting.  From the first day I got the car over a year ago it always had a musty smell to the interior.  I assumed that was due to its age but when I was routing battery cables and had to pull up part of the carpeting and I found the padding underneath was wet.  I assumed the carpet was moldy so I ordered the new carpeting.  The old carpet was really in good shape, in fact I am sure it was replaced at least once and it had no worn spots on it.  It took a lot of work to get the old carpet out, the e-brake handle had to be removed, the whole console removed and gas pedal.  The carpet was also glued in some places so it hard to removed.  Once I got the carpet out I found that the carpet was not really that moldy, but all the padding on both the driver and passenger sides was totally soaked.  That really is amazing since the car has been in the garage since last January and at least in the winter the garage is very dry.  What is interesting is the padding was not the typical jute padding usually used with carpeting but rather an urethane foam padding.  From the shape of the it definitely was OEM, because it was cut to fit the floorboards and the holes for the gear shift and e-brake.  The padding really was not that moldy either.  Underneath the padding was what looked like a thermal insulation underlayment.  That was also totally soaked and when I tried to remove it , the layer just fell apart.  And what a terrible smell!  I guess the fibers used for the insulation must have rotted and that is what was producing the smell in the car.  The other fun part of this insulation is that it was really well glued to the floor board.  I had to use a paint scraper to scrape it off and for parts that would not scrape I used paint thinner to dissolve the glue.  The amazing part of all this is that the metal under all this wet crap was not even slightly rusted.  A tribute to the BMW undercoating.  I found on a website for company called TP Tools that they make a similar insulation underlayment so I ordered enough for the all the floorboards.  I also had received insulation and padding with the new carpet.  Comparing the old carpet to the new one shows there are a lot of holes to cut in the new carpet. I am sure that the old carpet was OEM because the holes were all die cut, at least for the gear shift and e-brake.  It is going to be quite a task to get all those holes cut in the correct places.

Other work I have been doing is getting the battery boxes prepared to use.  The fabrication was just the beginning.  All the boxes need to be painted. I am also installing rubber sheeting on the inside of the boxes for thermal and electrical isolation.  The best "paint" used by EVTV is this material used for lining pick-up truck beds.  It is very durable and is black. To use the bed-liner material the boxes have to be primed with a special primer that etches the aluminum for a stronger bond.  Fortunately I have a lot of experience painting and all the tools so it was not too difficult to get all the boxes primed with the special primer.  The bed liner material is like undercoating material. The kit I bought came with a spray gun that screwed right to the bottle of material.  The kit came with 4 quart bottles that have to be mixed individually with a catalyst material.  That is good and bad.  Good because the material does not have very long pot time once it is mixed.  But if you have a big job you have to stop and mix another bottle.  I only had to use two bottles to coat all three of the boxes.  The fourth box, the one that goes in the engine compartment I decided to paint the color of the car.  That way it will blend in.  The car came with some touch-up paint when I bought it.  The touch-up paint was premixed and in spray cans.  Unfortunately the cans did not spray well.  I got enough paint on the box so it look painted, but I ordered some more touch up paint that I could shoot with a real spray gun.  I also might coat the lid with some clear coat to give it the same luster as the car paint.

And lastly I removed the Siemens motor once again.  This time it was to remove the Rebirth spline adapter so I could send it to EV West. They have a solution for the Siemens spline and will be sending that to me shortly.

A video of all this fun can be found here.

Add a comment