Motor placement for measurement

The adapter from RebirthAuto finally arrived late last week, photos of the adapter and the spline connection on the Siemens motor are here.  I was planning to build up the whole drivedrain and assemble the flywheel and clutch, but the flywheel bolts were backordered.  They should arrive this week.  But the clutch is not needed to bolt the motor and transmission to the adapter.  I first bolted the adapter to the transmission.  All of the top bolt holes and the two alignment pins lined up but to my surprise two of the bottom bolts were not even close to being in the correct place (photo).  I checked the paper work and it seems RebirthAuto sent me an adapter for a 2002 BMW transmission even though I had ordered an adapter for a 320i.  The transmission bolt patters are close but obviously somewhat different.  I don't know if missing these bolts would compromise the integrity of the drivetrain. The bolts are 7mm bolts and are not part of the load bearing area of the transmission. I emailed RebirthAuto about this issue - see what their response it.  Even without those two bolts I bolted the Siemens motor to the adapter - that was perfect.  I need the whole drive train assembled and placed in the car so I can measure where the motor mounts need to be to support the electric motor.  My plan is to use the same mounts that were used with the ICE if possible.  Using an engine lift (cherry picker) I was able to get the whole assembly in the engine bay.  However, once I got the motor assembly in I found that the engine lift arm was not long enough to position the assembly so I could attach the transmission to its mounting points.  I had to remove the front bumper and part of the air damn to get the lift in far enough.  I also had to jack up the front of the car so that I could work under it to mount the transmission.  I realized to get an accurate position I also needed to have the driveshaft mounted.  Pictures of the motor assembly in the engine bay are here.  One problem I found with the motor assembly is that there is not enough room in front of the motor for a double row battery box that I had planned on using.  I might have to make a smaller width  box or possibly a box that fits between the frame, where the ICE radiator was.  A battery box that size would hold less cells, but more than a single width box that spans between the wheel wells.  Another part of this motor assembly placement is to determine where the DMOC can be mounted.  The DMOC is much longer than the motor, almost 6" longer so it might be difficult to mount it in the same orientation that was used in the eTransit Connect.  Once the motor assembly was in it appears the DMOC is too long so in needs to be rotated 90 degrees and mount between the wheel wells, parallel to the firewall.  That orientation would require the motor to be rotated 90 degrees so the electrical connections would be on the top, instead of the side as they are now shown.

Add a comment

Drive train coming soon

I have not been doing much work on the conversion for the past month.  For a couple of weeks I was building and testing GEVCU 4.2 boards that I built for my friends Collin, Charles and Michael.  They now have updated hardware to work in their conversions.  Then I was travelling to Japan for my day job and last week I was on vacation for a few days.  This week I will be travelling to San Diego.  I hope to have time to meet with the guys at EV West while I am in San Diego.  For my conversion all the drivetrain components are ready.  A new racing clutch was received from Summit Racing. The flywheel clutch face was resurfaced and the flywheel and clutch plate were spin balanced by Lindskog Balancing.  The 5-speed transmission had all new seals installed. The motor adapter for the Siemens motor is being shipped by RebirthAuto sometime this week. The adapter will make it possible to assemble the drivetrain and place it in the 320i to design the motor mounts.  Photos of the adapter plate can be seen here.

Add a comment

Cutting the first metal

To prepare the engine compartment for the front battery box, the battery mount for the ICE lead acid battery had to be removed.  The mount was actually welded to the frame, probably to get a good electrical connection to the frame, as the frame ground connection was part of the battery mount.  Because it was welded, I had to use a cut-off wheel saw to cut the welds. This was the first cutting of metal on the 320i. Pictures of the process can be seen in the photogallery. The new battery box for the Li-ion batteries will take up an area between the two wheel wells at the very front of the engine compartment, in a place where the ICE radiator was once mounted. The front battery box will hold 36 of the CALB 60 cells. I used cardboard to make a model of the battery box to verify how it will sit and will be mounted. Fortunately the way the hood is mounted allows room for several inches above the box, which will be needed to bring the cables in to connect to the batteries.

Add a comment

Testing the GEVCU

Now the most involved part of building a complex electronic board begins - testing its functionality.  As described elsewhere on this site the GEVCU has many functions and input/outputs.  Testing the board first involves  loading the GEVCU firmware. Using an Arduino IDE (integrated development environment) the latest version of code from Collin's github repository was loaded. I found that version of code would not compile.  Collin sent me a new version that would compile. Once the code is loaded a Serial Console can be run in the IDE and connect to the GEVCU.  It is possible to control the GEVCU though a USB connection - the same one that is used to program the ARM processor.  The test begins with checking that all the inputs and outputs are functional.  The Serial Console can read the raw input values from the analog ports or the logic value of the digital inputs. The first test of the analog inputs found that one channel was not working.  That was traced to a resistor that was not soldered completely.  The first test of the digital input channels found all to be working. The next test was of the MOSFET digital output channels. I don't actually test the full current capacity of the output- if the MOSFET is working it should just be capable of delivering the current.  Using a LED for a current sensor all eight channels of the MOSFET digital output were found to be functional.  The analog inputs have to be calibrated for the throttle and brake transducer.  That is done through the embedded web server on the WiFi module.  Screen shots of the GEVCU web site are shown here.  Accessing the web site also demonstrates the WiFi unit is functional.
The most involved testing is for the functionality of the CAN bus.  That is done by communicating to the DMOC 645.  Since the GEVCU main function is to control the DMOC this is the best test. For bench testing I use a program called ccShell3 that can connect to the DMOC via a serial port.  ccShell3 will show all the DMOC parameters and can be used to determine if the CAN bus communication from the GEVCU is working.  The commands available in the Serial Console allow control of many aspects of the DMOC.  To enable the DMOC the first digital input is used.  Setting the bit high enables the DMOC and then the Siemens motor can be controlled to spin through the throttle input. Although all of the commands are available though the Serial Console most of the setup is done through the GEVCU website.

Add a comment

Building a GEVCU

I built up a GEVCU 4.2 controller board that will be used to control the DMOC (pictures). The main processor on the GEVCU is an ARM Cortex M3 84MHz processor.  It is packaged in a 144 pin LQFP device. This is the first time I have soldered a LQFP surface mounted device (SMD), but I found it was not much more difficult than soldering any other SMD.  However,  I have not done any SMD soldering for a few months and I did have some initial problems with configuring the ARM processor because of a soldering error. Paulo Almeida helped me out, via email.  Many improvements have been made in the code over the past 6 months by Paulo, Collin Kidder, Charles Galpin and Michael Neuweiler.  Once I have the drivetrain together I need to test the GEVCU 4.2 with my throttle and brake setup. The throttle is easy to test because it is used to spin the motor.  The throttle is a duel potentiometer and will be connected directly to the throttle cable on the 320i.  Two potentiometers are used as a safely measure. A hydraulic pressure transducer is use for the brake transducer and the signal is used to control regeneration or regen in the motor.  Regen is a process where the motor is turned into a generator and the output is used to charge the batteries.  Even with a lot of braking regen only leads to a 5 to 10% recovery of energy.  The actual regen and throttle setup will have to wait until car is on the road for it to be fine tuned. The throttle and brake are 0 to 5V analog signals that have to be calibrated in the GEVCU code. These settings are accessed through a web page that is hosted by an embedded server in the ConnectOne WiFi device (pictures)
Once the throttle and brake are configured I then need to design all the circuits that will use the digital I/O on the GEVCU. One circuit will use one of the MOSFET outputs to control a precharge circuit for the DMOC.  Because it has a huge capacitance it is necessary to precharge the DMOC with a low voltage, controlled current before applying the full battery pack voltage otherwise the high current inrush can fuse the contactor. Another one of the MOSEFT outputs will be setup to output a pulse width modulated (PWM) signal that will drive the tachometer in the instrument panel. One of the digital inputs will be for an enable switch for the whole system.

Add a comment