BMW E46 320d Japanization

Tell us about the project you do with the open inverter
Post Reply
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

BMW E46 320d Japanization

Post by Clanarn »

Hello! I want to introduce my project which I started a couple months ago. The donor car is a 2001 BMW e46 320d with 110k km.
192803A5-BEAD-4117-8235-3DD67278BD7A.jpeg
EDIT:

Parts that are going in

Motor: Leaf gen2
Inverter: Leaf gen2
Battery: 52Kwh ZOE. 10 of 12 modules = 43kwh
BMS: MAX17823B or BMW X5 slaves.
Brake booster: Tesla model 3 ibooster
Steering: Original rack with TRW hydraulic pump
Veichle Control board: DIY
Charger: Mitsubishi Outlander OBD/DCDC
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Here is a picture of the car before hauling it to my garage.
FCFCAE4A-EF02-4C1B-928B-CC299E01A0AB.jpeg
Picked up a 2015 Nissan Leaf motor, gearbox, inverter, charger/dcdc and AC compressor on a junk yard close to Oslo, Norway. Used EV parts in Norway is much cheaper than in Sweden ;). I managed to split the leaf stack into motor+gearbox and inverter+dcdc so we could lift it by hand into the trunk.
9D352C57-E9B6-400B-A8E9-8845B01D019C.jpeg
Removing the engine and transmission.
F157B4E7-B41D-4916-9531-C9A7FB6C5BC0.jpeg
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Test fitting the em57 to see if it clears the steering rack. I made an adapter plate out of plywood and attached it to the original 5 speed manual gearbox :twisted:. The inverter fits great also leaving room for the rear facing cooling line. The dc/dc&charger does not fit on top.
F06D6905-FA25-44B2-8CE1-23AC26FA4A5F.jpeg
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Moving on to building the actual adapter plate. I ended up using half of the gearbox/differential casting. This enabled a thinner adapter plate (12mm aluminum) and not having to cut away the inverter mount above the phase connectors. Other than that the process was sort of similar to Damiens way of doing on his Grey Goose.

Marking up the plate with the outer gearbox casting.
8367955E-96ED-4BEB-941F-41EF3D5E8D8A.jpeg
1E8632FC-43B4-4AC4-B1DA-9BA6EE43B547.jpeg
Left is leaf side and right is from the bmw clutch. Welded together.
7284DC33-AFA8-4D13-AAEC-EF6AE5C0DCFF.jpeg
Finding a "silent spot" while spinning the motor with Arduino and can interface.
6CB89050-92A8-4A14-AB77-1BF04F64957D.png
5BB94BEF-9C7E-4C23-A961-78B06683A72E.jpeg
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Time for an update=). Starting with battery.

I live in Sweden. EV batteries are 50-100% more expensive here than in Norway. However due to covid restrictions I couldn't travel there for like 6 months. So that sucked. Anyway I ended up purchasing a 2021 Renault Zoe battery for a good price. 52kwh.
IMG_9691.JPG
Consisting of 12 8s modules. 4450wh each. I will be using 6 in the front 4 in the rear. 80s will be sufficient for the leaf inverter.
IMG_9165.JPG
IMG_9195.JPG
reusing the battery tray.
IMG_9692.PNG
Going in something like this. Fits just barely. More on the battery box later.
IMG_9175.JPG
BMS is based on MAX17823B. I am maybe going to try to make a master board. Bexander here on the forum has already made it work. Awesome! viewtopic.php?f=26&t=1179
User avatar
johu
Site Admin
Posts: 2918
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: BMW E46 320d Japanization

Post by johu »

Neat idea using half the gear box because you reuse even more material. My version looks more home made and costs a little extra :) viewtopic.php?p=1105#p1105
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Yea im pretty happy with that solution. Not sure if the spline adapter will work however. I have a lathe now so I can make it a bit more balanced atleast. Shouldn't hurt=). If the transmission breaks Ill go with a coupler instead.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9067.JPG
IMG_9061.JPG
Shielded 35mm2 ÖLFLEX running from the trunk to the front. I am a bit concerned however that it will interfere with CAN bus wires that runs along for like 3 metres. Does anyone have any experience with this?
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9432.JPG
IMG_9344.JPG
Amphenol SurLok Plus™ EMI connector in the making. This connects to the contactor assembly and I think it will be going in and out a couple of times. I like to build stuff that is easy to disassemble.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9495.JPG
IMG_9499.png
Charge port assembly. J1772. Two 3d printed parts that presses the assembly, holding it together with 4 bolts. Thus no need to weld or drill into the car.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9718.PNG
Contactors and precharge built on to a 12mm plastic board. Drops right onto the leaf inverter. By placing connectors and wires on the bottom of this I can make a very simple lid and keep it waterproof. Think I will make it in fiberglass or carbon.
User avatar
johu
Site Admin
Posts: 2918
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: BMW E46 320d Japanization

Post by johu »

Clanarn wrote: Tue Sep 28, 2021 8:09 am Shielded 35mm2 ÖLFLEX running from the trunk to the front. I am a bit concerned however that it will interfere with CAN bus wires that runs along for like 3 metres. Does anyone have any experience with this?
Having CAN and HV close to each other in the exhaust tunnel didn't work for me. CAN was shielded, HV was not though.
I relocated the CAN bus about 30 cm away, then all was well.

Will you have any fast charge port?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Interesting. Have to think of a way to test drive and put some load on the cables to see if it works before cutting them into lengths then. Hopefully the fact that they are shielded makes a difference. I could probably ground them in a shorter intervals with P-clips or even wrap them into copper mesh if its not sufficient.

Yes. The outer contactors as seen in my previous post is for chademo. I have an outlet that I got with the leaf inverter/motor I will try to integrate behind the kidneys.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9996.JPG
Made a fiberglass lid for the contactors. Should look nice after gelcoat and paint.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_9406.JPG
First time ordering from JLC-pcb and it actually works yeyyy. Nothing fancy but it will do the job. It consist of
- Teensy 4.0
- ULN2003 for driving relays and to pwm stuff.
- Charge interlock. Inverter doesn't get power if charger is plugged in.
- Relays for main contactors and water pump.
- fuses
- digital inputs.
- Analog in for the throttle.
- 2x CAN

Its purpose is to control the leaf inverter with CAN, switch the contactors, control cooling pump, communicate with the cars dash and communicate with a charge/bms board I'm working with right now.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_0086.JPG
Watercut.
IMG_0085.JPG
IMG_0087.JPG
Welding battery mount.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_0069.JPG
IMG_0065.JPG
IMG_0063.JPG
IMG_0068.JPG
2 layers here. 3 batteries in each layer.
6*4.5kwh=27kwh
Yes, that's only in the front.
Pretty tight however. The modules wouldn't fit in this config if they were 1cm longer.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_0084.JPG
Building busbars. Zoe service disconnect and radsok connectors. All mounted on an alu plate so that the box can be dropped down onto it.
IMG_0083.JPG
Busbars from the bottom row. I will add a bit more isolating protection here.

Next step is also to build a box around this with 0.8mm stainless sheet. It will be welded together and then dropped down on the pack. Plan b is to use rivets.
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

IMG_0025.JPG
IMG_0026.JPG
Here I'm TIG welding the box. Was just as hard as I expected to be. Should be strong enough but not waterproof. Therefore I'm thinking of adding something along the weld to seal it. JB weld or butyl seal tape.
IMG_0009.JPG
User avatar
bexander
Posts: 528
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden

Re: BMW E46 320d Japanization

Post by bexander »

I have used what's called "karosserikitt" in my battery box. I think it is called automotive seam sealer in English?
https://www.jula.se/catalog/bil-och-gar ... cm-623110/
User avatar
Clanarn
Posts: 32
Joined: Sun Oct 18, 2020 6:42 pm
Location: Göteborg Sweden

Re: BMW E46 320d Japanization

Post by Clanarn »

Just what I was looking for! Will try this. Is it possible to sand it?
User avatar
bexander
Posts: 528
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden

Re: BMW E46 320d Japanization

Post by bexander »

I have not tried sanding it but it might be difficult as it retains some flexibility even after it is cured. You can shape it quite well with your fingers or other tools when you apply it.
Post Reply