Z3(00S) - EV project

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
So, things ended on a bit of a low just before I went on holiday a few weeks ago. The second run at an MOT ended in disaster. But my optimism was quickly restored and before I left, I posted some parts off to people for help.

One of those parts has come back sorted, albeit in need of reassembly. That’s the Battery Management System, now speaking CAN on all four possible interfaces (though I only need 2). This should allow me to charge automatically, rather than sitting plugged into the car controlling things manually. Bonus.

Recoupling
The other part was the coupler, with which my friend couldn’t help. But in some ways I was quite pleased by this. I like the idea of doing it all myself. So, I did what any normal person would do: built a machine shop in the back yard.
workbench under construction.jpeg


I bought a workbench and boxed it in with waterproof OSB and a felted roof into a sort of mini shed. Well, I say ‘mini’. You may not be able to get inside it but it is 2.4m long and now contains a pillar drill, lathe, chop saw, bench grinder, vice and welding station.
20210908_120009.jpg


The lathe is nothing special: the most expensive, cheap Chinese beastie I could justify. First experiments have been reasonably promising and with some practice (it’s about 25 years since I used a lathe - we had a good machine shop at school) and some additional kit, I reckon I can make up a straight coupler.

lathe.jpeg


The process is much like last time, just with a little more precision:

  • Cut and square a section of tube. Clean it up inside and out on the lathe
  • Machine a spindle that fits tightly through the Ford clutch centre (that fits the motor splines) and BMW clutch centre (that fits on to the gearbox)
  • Machine the outer diameters of the clutch centres so that they fit inside the tube
  • Assemble the tube, splines and centres to ensure that everything aligns
  • Weld it all together
I’m just waiting on a new profiling tool and some bar stock to make the spindle/alignment tool, then I can get this done. In the meantime I’ve already done a practice run. Even without the alignment tool, this is already much straighter than my first one. And thanks to the practice at welding and fabricating, much tidier.

new coupler.jpeg


Using my new dial gauge (it has been an expensive few weeks), this one is out by roughly +/- 0.4mm at the end of the tube. This is about the same as the amount of slop created by the splined connector at this range. If I can halve this I’ll be reasonably happy.

Moar POWAH!
In the meantime I’ve been working on some other upgrades, starting with the inverter.

To date I have only been using half of its outputs – so called ‘MG2’. But my control board supports me driving MG1 as well and bridging the outputs. This requires some simple soldering of jumpers on the control board (done) and then bridging the phase outputs on the inverter itself (half done).

20210910_150848.jpg


I’m using short lengths of 20mm2 wire for this, and fabricating copper connectors on each end. This is a bit of a pain of a job, but I’m getting there. Five connectors down and one to go. And some tidying. I want to clean up all the connectors and maybe add some more insulation, assuming it will fit inside the case.

Improving communication
Perhaps it won’t surprise anyone that the range of the Wi-Fi connection from the inverter control board is a little bit limited, what with it being encased in an aluminium box. There has also been shown to be an issue with the current draw from the Wi-Fi module causing instability in the current sensor readings – one of many possible reasons for my inverter tripping out.

To fix both of these issues I decided to follow some other forum members and relocate the Wi-Fi module outside of the inverter housing and at the same time add a dedicated power supply to take the load off the control board. I had a cheap buck converter lying around so just wired this into the 12V supply from the AMPSeal connector. And there was plenty of space in my AMPSeal housing to site both the Wi-Fi module and the power supply. Some cloth tape added to the IDC cable should prevent any damage from friction.

wifi module.jpeg


Keeping it cool
Per my last update, I’m also working on keeping the inverter cool. This has multiple components:

  • relocating the radiator a bit higher to reduce the chance of air in the system
  • Upgrading the pump to increase the flow rate
  • Adding fans to maximise air flow
I haven’t started the first part yet as the inverter is in pieces. But my new workbench should make that easier (did I mention I also have a metal bending tool out there?).

Pumps
The second bit has been a bit of trial and error. The Pierburg pump I was recommended is upwards of £300 new and over £100 used in any decent condition. They are also, I learned from a lot of reading, prone to failure, which means I didn’t want an older one.

20210911_080014.jpg

I gambled on another BMW pump (a Bosch PAD unit) on eBay but I think it’s probably too puny to be an upgrade. So now I’m waiting on a Bosch PCE unit out of a VW that should fit the bill. These look nice and meaty and others have reported good results.

Fans
Being a hoarder with a history of PC-building, I have a lot of fans. I selected a couple of powerful 12V 90mm server units from my collection to keep the radiator cool. These are PWM controlled, though for now I’ll just run them at default speed. Down the line they can be made responsive to thermostat temperature, when I have a proper vehicle control unit (VCU) doing big brain stuff like that.

To mount them to the radiator I designed and printed a simple flat panel that bolts to the existing radiator.
fans and radiator.jpeg



The ‘To Do’ list
I took our two other cars (soon to be one) into the garage for MOTs the other day and the owner Jimmy told me I left another puddle of ATF behind at the last attempt. I think the motor itself is leaking, so that needs addressing before the next attempt. As well as redoing the layout of the motor cooling system to make it more accessible.

If I can get away with not modifying the adaptor plate this time, I will. I had planned to trim it down a bit and clean it up. If I have to take the gearbox out then I might still do this. But actually I think I might be better just making a new one and swapping them out once the car is running. With everything I know now I could make it much lighter and neater.

But the main thing now is to get this car on the road. Some changes in the kids’ weekend activities means that now we unexpectedly need two cars again, just as I have found a buyer for my Alfa. This means it might be challenging to do the body swap as planned this winter, unless I can take a week off and get the car stripped and road legal again in that time.

There is also the challenge of the garage. I got so close to getting one I thought, but the owner just stopped responding to my calls and messages. So I need to re-open that hunt. Certainly before I launch into…

The next project
Yes, I know, this one isn’t finished yet (and will likely never be truly ‘finished’). But somehow over the last year and a bit, I have accumulated pretty much all the parts to build a second EV. And I’m really keen to put everything I have learned to use. So at some point, I want a second donor car.

This will obviously need somewhere to live (a garage), so I won’t be buying anything until I have that. But I do have pretty much everything else. I picked up a rear motor from an Outlander for a good price over summer. I already had the matching inverter, a second battery pack, and most of the ancillaries, including everything for a high voltage junction box (which I built for the original car but ended up not using).

Alongside getting the current project running, I’ve started prepping these for assembly as well. This includes things like replacing the knackered connectors on the inverter, which looks like it might have been in a fire (though it seems to work fine – I tested it last year).

20210911_090401.jpg


To this end I’ve designed up an adaptor plate to mount some cheap AliExpress-sourced waterproof connectors I’ve come to quite like.

20210911_090532.jpg


This is just the beginning though. The plan is to get the second set up fully running in my workshop – with charging, cooling and everything – so that it can be transplanted straight into either the existing car as an upgrade (the new motor has perhaps better torque characteristics), or into the second car if/when I have space for that. This will also give me something to work on (because I’m so short of projects to consume my time) in the wet winter months when it’s hard to get out and work on the car itself.

Unless I can finally get a garage…
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
Just wanted to share the good news. Today, the car passed its MOT!

Thank you all so much for your support - has been hugely appreciated. Full story of the rollercoaster of the last two weeks to come when I get a chance. But I am now the grin-wearing owner of a road legal DIY EV.

Just two advisories, though they're basically for the same thing. Needs new rear subframe bushes. But as Edd China says, that's a job for another day.
 

MikeK

Dedicated Member
Supporter
British Zeds
Joined
Apr 29, 2021
Points
39
Location
UK
Model of Z
Z3 1998 1.9
Amazing project! How is the cooling with your radiator and pump?
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
Amazing project! How is the cooling with your radiator and pump?
Much improved thanks. The Bosch PCE pump is a beast. Not massive. Very quiet. And very powerful. So powerful it was draining one side of the radiator and then sucking air through the steam line before more water could get through the matrix. So I had to cut and seal that. The result though is that - at a fairly mild tune admittedly - the stalling has stopped. When I get time I'm going to crank up the current and see how it does.

I think if I did this again I would go for a slightly larger rad and/or a larger header tank to keep the pump well fed. But it's fine for now.

BTW I don't think cooling is the only issue with regards to tuning but it was certainly important.
 

t-tony

Zorg Expert (II)
Supporter
British Zeds
#ZedShed
Joined
Dec 31, 2013
Points
226
Location
Torksey Lock,Lincoln, England
Model of Z
E89 Z4 23i Auto
Just wanted to share the good news. Today, the car passed its MOT!

Thank you all so much for your support - has been hugely appreciated. Full story of the rollercoaster of the last two weeks to come when I get a chance. But I am now the grin-wearing owner of a road legal DIY EV.

Just two advisories, though they're basically for the same thing. Needs new rear subframe bushes. But as Edd China says, that's a job for another day.
Great news Tom and congratulations.

Tony.
 

MisterP007

German-Italian-British Mix - What could go wrong?
Supporter
British Zeds
Joined
Jul 24, 2020
Points
144
Location
Tunbridge Wells
Model of Z
Z3 2.8

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
Through a weird series of connections, I got a phone call from a journalist on Thursday. She was looking for an EV owner to speak to about the fuel crisis. And...

 

t-tony

Zorg Expert (II)
Supporter
British Zeds
#ZedShed
Joined
Dec 31, 2013
Points
226
Location
Torksey Lock,Lincoln, England
Model of Z
E89 Z4 23i Auto
Careful Tom, this could become a habit you know.;)=))

Tony.
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
I can't afford any more Tony! Don't even have a garage to put this one in yet. It's in storage for a month while I work out where to put it (and earn some money). But couldn't resist. Full cream leather and wood interior. 2.0 engine (running but with issues). Broken front spring and needs welding (MOT says subframe mounts but I'm not sure yet).

So, if anyone's in the market for an engine, exhaust, or ancillaries... (Though this time I'm keeping the rad, for reasons that will become clear on my next update).
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
My first full week as the driver of a DIY EV was…eventful.

Let’s start with the bad. On Tuesday, I did what you might call an ‘accidental full range test’. As in, I ran out of juice on the way to collect my daughter from a class and had to dump the car and jump in a taxi to get her. Because I haven’t really worked out the range yet, and nor do I have a real gauge in the car for how much juice is left in the batteries, this was perhaps predictable. Hope is no substitute for electrons.

In order to recover the car I had to swap the modules for spares on the side of the road. This attracted a few comments and interesting conversations. Big thanks to my friends and neighbours Brook and later Owen (who has a very cool YouTube channel) for helping me to push the car to safety.

I was worried I hadn’t done the batteries much good, running them down to about 2.8V. But actually with some gentle charging on the bench, hooked up to a variable power supply and a bodged version of the battery management system, they came back up to voltage with very little persuasion.

20211020_071712.jpg

Turns out 2.8 is about the minimum specified for the pack so I hope there’s no lasting damage. Unfortunately, I killed yet another Teensy – the microcontroller running the BMS – in the process. These are parts that should not be consumables.

Gauges and charging
So, a ‘fuel’ gauge is something of a priority. This is a work in progress, using a CANbus-controlled variable resistor hooked up to the original sender lines (thank you Jamie). I could put this behind the dash but I’m trying to avoid taking that out for now.

20211020_071751.jpg

FuelCan by Jamie Jones – CANbus controlled variable resistor

Also a priority is automating the charging process. For two reasons. First, I can’t really afford to spend hours sat outside in the car with my laptop while it charges. And second, I keep screwing up the charging sequence and blowing pre-charge resistors.

Typically I’m very careful the first time, and get the car mostly charged. Then I have to go in for some reason, so have to turn everything off, disconnect my laptop and take it inside. When I come back out, I do things in a slightly more distracted fashion. e.g. forgetting to stop SavvyCan from spamming out the messages that control the charger before I connect it up and turn the car on. As soon as the car gets to pre-charge, the charger kicks in and the pre-charge resistor is toast. Again, these are parts that should not be consumables.

Automating charging
Automating charging isn’t quite as easy as it sounds. Right now my car has three modes:
  • Off
  • On (pre-charge)
  • Run
‘Run’ means that everything is on: dc-dc converter, cooling pumps, vacuum pump, power steering. But it is also the only mode in which the contactors are closed – i.e. the batteries are connected directly to the charger and inverter and not through the pre-charge system. For charging, I want the contactors closed but only the water cooling system enabled. And I want drive to be disabled.

Originally I did this with a switch and a button in the cabin.
  • The switch turns on the ‘on’ mode relay. This has the water cooling pumps and fans on it.
  • The button tells the inverter to close the contactors, but it doesn’t turn on the ‘run’ relay. This locks out the direction switch, ensuring the car stays in neutral.
The problem with this right now is that the switch is also connected to the ‘charge mode enable’ line on the BMS. If this were working properly, it would start the BMS communicating with the charger to tell it to pull in current BEFORE the contactors are closed, blowing the pre-charge resistor (and possibly more). And, because the dc-dc converter enable line is connected to the ‘run’ relay, the 12V system wouldn’t charge while the high voltage system does. This could see the 12V battery go flat due to the drain of the cooling pump.

So, what’s the answer?

Three options.
  1. I add an extra relay that is latched when the ‘charge’ button is pressed. I move the ‘charge mode enable’ line to this relay, and add a connection for the DC-DC converter enable line here. This will need a diode on it to stop current feeding back to the rest of the distribution from the ‘run’ relay. This is the simple option
  2. I finally get around to adding a proper VCU – vehicle control unit – an extra brain that does a lot of the smart stuff. Like turning things on and off at the right time.
  3. I add a sensor to detect when the charging plug is inserted (another Jamie innovation). This triggers the ‘on’ relay and the charge mode line to the BMS. The BMS code is tweaked to send a ‘run’ signal over CANbus to the inverter and ONLY starts sending out the commands to the charger once this is confirmed. I move control of the DC-DC converter over to the BMS as well, having it trigger a relay whenever the inverter is in run mode, ensuring the 12V battery remains charged.
3 is my preferred option right now. It avoids me redoing all the wiring on the project at this stage and keeps things very neat. To that end I have printed a case for Jamie’s PP detector (snigger) and installed that under the front bumper next to the charging port (which I had forgotten also needs redesigning/mounting, and is broken anyway as I tripped over the open flap cover). I am building up a second BMS to modify and test code on and hoping to get that installed at some point in the next week, along with the additional wiring to the ‘run’ relay.

Right now, CANbus communication between the BMS and the inverter isn’t working and I don’t exactly know why, so that might be the stumbling block. Investigation needed.

Cooling & heating
The one fix I have made to the car is on cooling, albeit only a temporary measure. On my first days driving the car, the temperature sensor on my inverter was frequently hitting 100 degrees and the coolant temperature was settling out after a long journey (~5 miles is long at this stage) at about 70 degrees. My radiator is too small and there just wasn’t enough water in the system to give it a chance to chill.

At the same time, it is getting bloody cold and I needed some heating. So I figured why not plumb the cooling loop into the heater matrix and kill two birds with one hose?

It half worked. Cooling is sorted. The inverter rarely spikes over 70 now and the coolant settles down at more like 30 degrees, especially if you put the heater fan on low.

But because the cooling has been so effective, I don’t really get any heat into the cabin from the blowers. Ultimately, I need to pull the whole lot out, fit a bigger radiator, and a proper heater and pump to the heater matrix, as well as a header tank to fill it. I’m assembling parts for this but not there yet.

Speed and range
Let’s finish up the bad stuff before I get onto the good. Simply put, range is a fraction of what I was hoping for. And the performance is a bit pathetic.

At the moment, maximum range seems to be about 15 miles. I was expecting over 20 and hoping for more like 30-40. I’m not sure why it is so poor but it may be connected to the issues with performance.

The car still trips out if you try to increase the current to the motor beyond certain levels. When it works at these higher levels, performance is more respectable. But the frequency of the cutouts and their unpredictability makes it undriveable.

There are various things that could be causing this and I will try to address them. But I have come to the conclusion that fundamentally this motor is too small to deliver the sort of performance that I want. So I will definitely be upgrading that before too long. In fact, not sure if I have already mentioned it, but I already have the upgrade…

The good things
OK, that’s all the negatives out of the way. What about the good stuff?

The car drives brilliantly. Despite all the changes to the weight distribution, handling remains confidence-inspiring and I’m now quite happy chucking it around roundabouts. There are a few knocks and rattles to sort but otherwise, I’m very happy to just get in it and go (assuming it is charged).

It puts a massive smile on my face every time I get in it.

So, lots to do but still very happy with where I’m at. So happy, I have started project 2…
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
Since I've ripped most of this car apart, and I plan to keep it a long time, I figure I might as well make the interior completely custom as well. One of the first things I needed to add was a wireless phone charger.

The plan ultimately is to customise the centre console to accept an integrated double-din head unit with a touchscreen that will allow me to access the web interfaces for the inverter and battery management system and make tweaks on the fly. This customisation process is quite involved and requires lengthening the heater cables.

Communicating with all the different bits of the car means everything needs to be on a shared Wi-Fi network. I thought about installing a 5G wireless modem/router with its own SIM card, but this adds cost and complexity that I don't - yet - need. Long run I might want to be able to remote control aspects of the car from my phone but my phone will do as a a hotspot for now.

So I don't need the phone to be visible from the driving position, but I do need to make sure it stays charged. And ideally I want it to turn on the hotspot automatically when I get in the car. That sounds like a design brief.

Wireless Charging

Turns out I actually had a cheap wireless charging module from a previous project that never got finished. This takes a 5V USB input and pumps out juice through a flat coil to be picked up by the phone - in this case a Samsung Galaxy S21.

wireless_charger.jpg

Since the phone doesn't need to be visible from the driving position, I figured I'd drop it down to the driver's left into the centre console near the handbrake. In fact, since I don't need an ash tray, it can replace that. For now it will sit proud of the existing plastic but long run it will be integrated, when I take the console out to adapt it for the double din stereo.

Design

I jumped into Fusion360 and after a few iterations I had a cradle I could print that would hold the phone through corners.

charger_base.jpg

The charging coil sits in the centre and the electronics go below. The holes allow the cradle to be screwed to a mounting bracket beneath - also printed. A thin sheet sits over the coil, protecting and hiding the electronics.

charger_complete.jpg

Long run, the mounting block will sit flush with the end of the coin tray. This is just a temporary version. The design also needs tweaking to separate the electronics from the cradle so that I can update it easily to fit a different phone if required. But this will be fine for a couple of years.

IMG_20211020_084427.jpg

The cradle is now installed in the car and working, though the wiring is yet to be fully integrated - that's a job for when the centre console comes out. The white dot in the middle is an NFC tag that enables the mobile hotspot via a Bixby routine.

IMG_20211020_084446.jpg
 

Tom Cheesewright

Zorg Guru (I)
Supporter
British Zeds
Joined
May 6, 2020
Points
90
Location
Manchester, UK
Model of Z
Z3
Another little fix I needed to make was to the aerial. I don’t want to shell out for a new stereo until I’m putting the final double-din unit in, so I’m stuck with FM radio and CDs at the moment. And there was no radio since the car came with the aerial snapped off. Time for a fix.

I took the broken aerial out and headed to the local motor factors and car audio specialists to see if they had anything that would fit. There’s not a lot of space below where the aerial fits, so most of the off-the-shelf options they had just wouldn’t work. I ended up buying just a stubby little aluminium aerial and heading home to do a fix.

Unfortunately I didn’t take any ‘before’ photos, but you can see roughly what I’ve done here:

20211009_113326.jpg

The aerial was snapped off above the black plastic piece just on top of the large nut. I unscrewed the nut and took the plastic out to get to the wire inside. Then I stripped this short wire to get some clean metal and wrapped this around a piece of M6 threaded rod and secured it with tape. I tidied up the broken plastic and then more tape was used to centre the threaded rod inside it. Then the whole lot was screwed back together and a load of glue dropped in there for good measure. I would have used epoxy but I didn’t have a fast setting one to hand so superglue had to suffice.

I checked that there was a good connection back to the connector on the base and then test fitted it back in the car, before marking off how much of the threaded rod needed to be removed. With that hacksawed off and tidied up with a file, I could put it all back together and add the stubby aerial on top.

20211020_084640.jpg

I now have radio and I think it looks pretty cool. Though I’m waiting for some toerag to rip it off or unscrew it and nick it. Long run I’d like to hide the aerial completely. Will look into options for that when I do the body conversion.
 

IainP

Zorg Guru (II)
British Zeds
Joined
Feb 20, 2019
Points
119
Location
Out of my Tree, North of Perth, Scotland
Model of Z
1.9
Not been on in ages, so masses of catching up to do, but Really Well done.

Not sure if it's relevant Tom, when I ran LPG cars I replumbed them so the water went to the heater first, rather than the vapouriser first, made the cabin much more toasty. Told by 'Experts' it was stupid, the car wouldn't warm up and the gas would cut out. It didn't, well it did, once, when i went straight from cold onto a dual carriageway at -12C.

Also, I'm planning on the double Din thing too.
Top Tip.
When bending wire, hold it with the pliers and bend with your thumb, gives a much tighter bend. If you hold the wire and bend with the pliers, you get a sloppy bend that can slip out of the locating bracket.
I'll take some pics and show the difference. I should also be able to lend you a pair of proper wire bending pliers if I can find my spare set.
 
Top