2009-03-24

Electric vehicle brake arrived!

It's been a while since my last post about HR-V conversion and have you been questioning why? It is because the "Electric vehicle brake" has arrived on Feb 21st. The brake is 53cm long and 3.56kg heavy :)

That's right- I have a firstborn child, a boy whose name is Herkus!

Here is my son Herkus first days of his life in this world.

Here is Herkus and me. No, I'm not Chinese - it is less sleep that I got during these days.

He is an EV brake but he is not an EV stopper and I believe the day will come when he will be an EV accelerator. I continue working on EV although naturally the speed is less with the brake on :)
I've done good progress on several things, which I will post more pictures and detail in new posts shortly:
- Battery Voltage and Current measurement circuit is made and programmed which is communicating to BCMS master module to report measured voltages and currents. Voltage measurement step is 0.2V up to 204V. Current is measured up to 512A with 0.5A steps.
- Made measurements and brainstorming about battery placement in the car. Decided to put all batteries in 5 trays with 9 cells each where the fuel tank used to be - plenty of space there in HR-V. The trays will be fit from below so car lift would be needed. Made one battery tray frame from stainless steel angles to verify the concept.
- Designed the box where controller, contactor, accessory charger, shunt, accelerator pot and other electronics components will be placed securely and safely without any potential of high and low voltages to be touched by water or uncareful hands. Already built the main parts of the box and ready to place the components in. Now working to finish the controller box and start fitting the components inside.
- As Gytis has moved from his garage I now continue working in my small garage below my apartment block. It is small, much less equiped but is much easier to come down to work in the evenings.

Will put more info and pictures in upcomming posts. Stay tuned!

2009-01-23

Batteries are home!

Long waiting is over - batteries arrived to where they belong :) I've received 45 TS-LFP90AHA batteries for my HR-EV after more than two months waiting. They've been sailing from Shenzhen in China to Hamburg in Germany and then to Klaipeda in Lithuania - a long trip.
I've taken them from warehouse after customs clearance in my trusty Subaru.

Shortly after I've opened the boxes to see what's inside. I found nicely printed manual and quality certificate. Quality certificate has lots of useful information in Chinese :) User nice manual was the same as pdf available from ThunderSky site. Beneath white cover I found a surprise - batteries :).

Here's a video shot from breathtaking moment :-D


The look at the battery itself.

All the batteries read voltage of 3.30V or 3.31V - GOOD!

The road to the future :)

While I was waiting for the batteries I've been working a lot on BCMS prototype electronics and programming. Here's a brief update about the progress:
- RealTime OS launched on ATmega640
- Serial communications programming wired and programmed - talking to PC now
- Connected to battery modules (at bottom) via opto-coupled serial port and launched battery voltages reading for BMS operation. It ballances Lithium Polymer cells within 0.02V of each other.
- Wired and programmed MLX90215 sensor (small board assembled on the left) so I can measure current of up to 10 Amps to test the concept. The finished sensor will be able to measure up to 700A from batteries and to the motor.
- Wired a contactor control circuit (simple IRL3705 MOSFET switch) and programmed its control
- Wired and programmed 12V line voltage measurement using mega's ADC
- Wired and programmed DS18B20 sensors for BCMS, Controller, Motor, Outside, Inside and Batteries temperature sensing.
- Started wiring a slot for SD/MMC card where the HR-EV's parameters log would be stored
- Some small stuff...


There are many things left to do on electronics until I start the first test of the car:
- Finalize battery module schematics, programming and PCB design, try final prototype on real battery and then order parts and PCBs
- Make schematics/wiring and programming of opto-isolated battery voltage measurement
- Make motor RPM sensor using MLX90217, wire it and program RPM calculation
- Wire gearbox speed sensor and program the speed calculation
- Make throttle sensing and control schematic and programming
- Wire digital inputs like key switch, charger on, throttle idle, gearbox neutral etc.
- Program the safety and control. Basically it should shut off main contactor if any important parameter goes critically off.

Well, there is much much more. One thing - I still haven't got the charger. In the beginning I thought about Zivan NG3 but now I'm not so sure. Still have to decide... and order it.

Of course there are lots of mechanics works to do as well. I'll update as I progress.

2009-01-06

Motor holder made and installed

Last couple days I've spent manufacturing the motor holder from accessory end to remove any temporary hanging arrangements. The part is quite simple but to make it right took some time. As I am using native rubber pads to attach the gearbox and motor to the car body frame. I've seen some builders attach the motor with hard parts but I don't like such approach. Even if there is virtually no vibration from electric motor the rubber pads help to remove the stress from holding parts and dampen torque shocks which should give even smoother operation.
This decision complicated the task of deciding on holder's measurements. The rubber parts stretch and you cannot be sure what measurement of the holder would be the best. Even if this is not critical I want to build things as right as possible from engineering point of view for this conversion without cheap shortcuts.
I decided that I would trust Honda engineers to determine electric motor fitting position. The removed 1.6l Honda IC engine weighted over 90kg. The electric Warp 9 is around 80kg which is quite similar. So I took measurements from ICE native holder part picking crankshaft center at the front as position reference. Then I used Warp9's CE shaft center to calculate the required part dimensions which would hold the electric motor in the same attitude as original petrol one. This measuring and design drawing alone took few hours. After that there were series of operations of metal measuring, cutting, grinding, drilling, sanding, welding, trial-fitting, grinding, sanding, painting and assembling (this is simplified procedure :).

The part turned out ok - approved by sleepy Baja below.

And here ar some photos of it installed - no more temporary attachments. View from car front.

From below

And from top.

Looks alright. We had some debate about thickness of the flat steel plate. But after trying to mentally model the forces applied to this part we came to conclusion that this thickness is definitely enough as the load is distributed through bigger area of it.

That's it for now - motor is installed safely. It gets to -20 Celcius at nights and its no fun working the garage. I'll focus on BCMS electronics now until it gets warmer or I need to remove the dashboard for instruments connection to BCMS.

2009-01-01

Motor installed, HR-EV has made her first run!

The end of 2008 was really busy working on my HR-EV. I've reached one major milestone of the project! But let's go in sequence.
I picked up the shaft coupler disk and spacers from workshop where they've been thermally hardened.
I've marked the spots for two fixing nuts on motor's shaft and drilled two dimples on both sides where the coupler disk's fixing bolts would sit in.
Next we put adapter plate spacer disk on the motor and pressed on the shaft adapter disk onto Warp9's motor shaft. We used 20-ton garage press to press it on. It was going stiffly but smoothly - it wouldn't go anywhere. Below Gytis is happy with the result :)

Here is the closer view

Then I assembled the shaft coupler on it and locked the coupler disk on motor's shaft with two hex fixing bolts. I used thread locking glue to make fixings bear the vibration.

And then I bolted on the gearbox adapter plate using the imperial/metric threaded studs and secured everything with thread locking glue.

A closer view

Then I've put the gearbox on and secured it with the bolts. The shafts and alignment rings fit like a glove without a fight. Phew, what a relief ... :)

Then my photo camera battery died and I used the video camera to shoot the further process. On this occasion I've compiled a small video from latest material together with some old video footage from the progress on HR-EV. If they say a picture is worth a thousand words then video should be worth a million. This is my first published video for this project. Have fun :)


In short later that night I've installed motor and gearbox in Honda and did the trial again using battery charger.
Then next day I took 100Ah 12V lead acid deep cycle battery and put it in HR-EV. I've wired it to motor via contactor relay. The relay is activated with simple pushbutton switch pressed by the driver :) No controller yet. This allowed to make the first ride in HR-EV and it will be used to drive the car into garage on its own power when needed. This is because Gytis' garage has to earn money working on other customers cars while HR-EV is an after-work hobby activity slotting in when car lift is free, etc.
And of course this allowed to have some taste of EV grin :)
This is quite symbolic as it was done on the last day of 2008 and I have had really nice feeling meeting the new year.

Happy New 2009 Year to All!

2008-12-28

Motor and gearbox mated, shafts not yet

I've done some good progress on motor and gearbox works. There was a great deal of help from my friend Gytis who runs the garage I'm working in on my HR-EV!
I've got the manufactured parts from workshop: gearbox adapter plate spacer disk, shaft coupler flange disk, 8 spacer rings for clutch parts assembly and 4 studs for motor which have 3/8 abnormal thread on one end and normal M10 on the other :) Manufacturing cost me around $250 which was not cheap but much less than original quote I've received. Although I couldn't avoid quirks which I'll have to sort with the workshop guys tomorrow.
The quirk was manufactured shaft coupler disk. It looked alright at first glance.
But when trying to bolt it to clutch parts the holes were not aligning by some 2mm! Initially I thought I've made an error making measurements or the drawing which was given to the workshop. I've measured clutch holes positions again and got 47mm from the center. I took my drawing and it said 47mm too.
The holes on actual part were 45mm from the center. So I'll have to bring it workshop for re-drilling the holes in correct places offsetting them by 45 degrees. I could have done this myself but I paid healthy money for it so I should expect the work to be done for it. That is not counting the semi-damaged part. This stopped the works on it for the weekend but we could still progress with gearbox adapter plate.

We finished the thick motor spacer disk holes and studs for them so they fit tight in their places. For now just placed them on copper grease for easier work while working on center alignment. Later we'll put them on bolt glue in the motor so they stay firmly in their places in motor.

Next we drilled the holes in thinner gearbox adapter plate and mated it to gearbox.

After this we attached a circular our own assembled drawing device to gearbox shaft and drew the circle rotating the gearbox shaft by clutch part.

Then according to drawn outer line placed the thick motor spacer disk and aligned to match the center position. Our estimated centering error with this method should be something like 0.1-0.3mm which should be fine for this assembly using clutch spring damper. The thick spacer holes were used as drill guides for drilling the holes in exact locations for thinner one.

After that we put motor vertically and put gearbox on it.

You can see that gearbox shaft goes inside motor's shaft end hole as was designed leaving 2mm space. Shafts centers alignment looks ok. We'll have to check it once we have the shaft adapter disk corrected tomorrow.

And from a bit different angle
Next we'll finish shaft parts and mate the shafts together. Then it should be fairly easy to put the gearbox and motor into the HR-EV. I hope we can do this before the New Year to have a stronger reason to celebrate :)

2008-12-23

Adapter and BCMS works ongoing

The gearbox adapter production is in progress although not as fast as I would have liked. The gearbox plate was cut to gearbox contour with UHP water cutter. Spacer produced on lathe. Adapter disk production is on final. The gearbox was brought to workshop for all parts mating. Sorry - no pictures yet. I hope I'll collect it before Christmas and install motor straight after Christmas.
I was fighting with BCMS Atmega640 over the weekend and could not get it running stable - it was driving me nuts. And yesterday night I just came with fresh view and approached the problem from different angle. I found the root cause which was quite silly that I don't want to talk about. I should get it running OS performing basic comm tasks in few days now. I'd like to get it talking to my battery modules prototypes and to PC. Then I'll focus on building the main contactor control, temperature, voltage and current measurement circuits as these would be required soonest to measure main parameters for safe testing.

2008-12-18

Motor adapter and BMS works ongoing

Last few days been involved in other activities and little time was left for the EV project. Anyway I had time to arrange all activities for gearbox adapter and shaft coupler. I've purchased the materials and brought them to workshops. Realistic timing is to have the parts made for the beginning of next week.
There was some progress on Battery Module PCB design. I've made it to the point where it is nearly finished and I could finalize it and send the design files to PCB manufacturers. But I've decided to wait until my batteries arrive and make a final fit check on actual cell before ordering PCBs production. My batteries are still sailing to me and according to the documents I should expect them around December 26th.
So far my nearly finished design is shown below. Just top copper is shown for clarity.

For now I'll put it asside and will resume work on master module on recently received ATmega640 MCU and various sensors. I've decided that I won't produce any PCB for master until I have fully functioning prototype working in the car. Only then I'll produce the PCB mostly with SMD components for the car computer.
Below is the initial board with MCU on adapter board. It will start growing with various components around it quickly and and I'll adapt the Real-Time Operating Systerm (RTOS) for it as I did for ATmega16.