BMW e39 "i5"

Tell us about the project you do with the open inverter
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Finnaly battery charging and setting up the charger .
This BMS is awesome
And here is one quick video rambling
sorry for bad quality , I didn't mean to publish it, but the content is more important. :)
Attachments
IMG_20200610_212340.jpg
IMG_20200610_203930.jpg
IMG_20200610_203920.jpg
IMG_20200610_122915.jpg
IMG_20200610_083116.jpg
IMG_20200610_082931.jpg
IMG_20200609_205711.jpg
IMG_20200609_201656.jpg
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

First real wheel spinning 😁
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Car is now finished . :D :D
I didn't do proper test drive , only 2 meters in front of garage, because of yard renovation I can't go out until the end of the week.
The car is literally like new. Im very happy and excited. Now I have to do the paper work and technical inspection to make it street legal .
Thanks to everyone who helped in some way with tips and comments (as well as the existance such forums like this one ). Especially to Damien for arduino cranckshaft sensor signal code. It is working perfect. :)
Attachments
IMG_20200628_120943.jpg
IMG_20200630_202537.jpg
IMG_20200630_202525.jpg
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: BMW e39 "i5"

Post by Boxster EV »

looks stunning. Congratulations.
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: BMW e39 "i5"

Post by Jack Bauer »

Looks great. Even the same colour as mine:)
I'm going to need a hacksaw
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Tnx :D
User avatar
Bigpie
Posts: 1585
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 299 times

Re: BMW e39 "i5"

Post by Bigpie »

Is that a 3d printed inlet for the charger?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Yes. I didn't get this one .
DaveH
Posts: 91
Joined: Sat Jun 13, 2020 9:04 am
Location: Hull, UK
Has thanked: 1 time
Been thanked: 8 times

Re: BMW e39 "i5"

Post by DaveH »

Absolutely beautiful car. I hope it drives as good as it looks.
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Today it was the first drive.
Is not a big thing about high speed, i was on the short way without licence plate.
Relese only 20% (40 kw) power, but with 20kw it is speeding up :)
Video is not high quality , but you can se corelation speed/Kw
everything was working fine, with no glitches, but only tacho signal when I pressed throttle pedal went down, as you can see on the video .
Need to check if is signal from sensor to controller, or from controller to arduino , or from arduino to ECU .
Maybe Damien can give some advice :D , did you have such a problem ? :)

Attachments
IMG_20200708_200630.jpg
IMG_20200708_201541.jpg
IMG_20200708_200753.jpg
IMG_20200708_200704.jpg
IMG_20200708_201348.jpg
IMG_20200708_200607.jpg
IMG_20200708_203903.jpg
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: BMW e39 "i5"

Post by mdrobnak »

RPM should be via CAN I'm 99% certain on that car. Looks like you've got a math error going on.

Do you have the stock ECU in place still?

-Matt
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: BMW e39 "i5"

Post by arber333 »

I also had EMI inside my signal and when i touched throttle signal went out. Do you use actual CAN or do you simulate 58/60pulses on a wheel?
My solution was to amplify with a transistor to 12V and i connected GND lines from tacho and speedo together with chassis. Also to get tacho signal at all i needed to use 106 ceramic cap "inline" with signal. Then signal actually dipped under GND and tacho counted when it passed 0V.
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

I simulate 58 pulses with arduino. My car doesn't have can bus. It has OBD1. By schematic, one pin from CAN bus is missing. So my conclusion is, there is no CAN. This is an first model 97.y. , not facelift.

Controller has 4 pulses sensor with magnet attached on front axis, and has also one pin output to simulate 12v 4 pulses per revolution .
I brought this 12V signal to arduino wich is underneath passanger side cabin air filter, divided with optocupler from arduino.
Arduino was set to catch 2 pulses per revolution, but on tacho he was showing only 20% less RPM compare with zilla aplcation . That is great , so I was only change some parameter to get correct RPM.

Now I checked controler with aplication. It also show decreasing RPM when I press the throttle pedal.. It looks like some pulses are missing from sensor to zilla hairbal. Only I can do is change diferent wire path away from motor as much as possible.
MX5EV
Posts: 7
Joined: Mon Jun 08, 2020 4:52 pm
Location: New Hampshire, USA

Re: BMW e39 "i5"

Post by MX5EV »

That should now be one of the most reliable E39s on the road.
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: BMW e39 "i5"

Post by arber333 »

mfox wrote: Thu Jul 09, 2020 2:39 pm I simulate 58 pulses with arduino. My car doesn't have can bus. It has OBD1. By schematic, one pin from CAN bus is missing. So my conclusion is, there is no CAN. This is an first model 97.y. , not facelift.
Do you use an actual joint hole ring or do you simulate it? It would maybe be easier to use just a collar with 2 magnets on the motor shaft. Then Arduino would translate that into RPM pulses.

See here what i used: https://leafdriveblog.wordpress.com/202 ... r-working/
I recommend you try the code and first use a function generator to simulate driveshaft magnet turns. Maybe you also want to use 106 cap to make signal pass below GND level.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: BMW e39 "i5"

Post by mdrobnak »

If it's a petrol engine, (M54) that was the original, it will be a hall sensor for the crankshaft, not magnetic, so no zero crossing needed.
mario
Posts: 23
Joined: Fri Dec 14, 2018 10:20 pm
Has thanked: 67 times
Been thanked: 10 times

Re: BMW e39 "i5"

Post by mario »

It was m52b20 engine.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: BMW e39 "i5"

Post by mdrobnak »

According to: https://www.hpacademy.com/forum/general ... sors-types
Hall, indeed.
Where are you wiring this speed sensor to?
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: BMW e39 "i5"

Post by arber333 »

Maybe you only need to beef up the GND connection or use a LiYcy cable with a shield. It actually works really well.
Also if you need to go across power cables make sure you cross them at a true 90deg angle. That way EMI are less.
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Rpm sensor wire is shilded, But i didnt connect shild to GND. Everything is mounted, and it is useful to read rpm with zilla hairbal because you can put reverse rpm limit and max limit
johnspark
Posts: 264
Joined: Fri Apr 12, 2019 10:42 pm
Location: Adelaide, South Australia
Has thanked: 59 times
Been thanked: 48 times

Re: BMW e39 "i5"

Post by johnspark »

My e39 is OBD1 as well. I recorded signals going to X11175 26 pin plug for the following 2 wires:

6: TD engine speed: DME control module: SW(black):
7: TI signal: injection signal: DME control module: WS/SW(white with black stripe):

I recorded both signals because i wanted to not only get the tacho going but the economy meter going too.

Below, please see oscillograms for car motion with economy meter approximately on 0l/100km , 10l / 100km and 20l / 100km. All 3 sets of signals look the same to me. Repetition rate varies because car speed was varying ~20km/hr to 60km/hr.

Car is e39 528i BV84735.

please note the TI signal is once every 3 TD signals. Signals vary between 12 and 0 volts.

i also have temperature working and fuel working. I have a console with wires from both X1175 and X11176 connected to terminals for testing. i have switches for warning lights and resistors for temp and fuel.
Attachments
DME tacho and injection signals E39 signals measured.pdf
(393.25 KiB) Downloaded 147 times
User avatar
bobby_come_lately
Posts: 465
Joined: Sun May 03, 2020 5:39 am
Location: Manchester, UK
Has thanked: 33 times
Been thanked: 36 times
Contact:

Re: BMW e39 "i5"

Post by bobby_come_lately »

johnspark wrote: Mon Jul 13, 2020 7:18 am My e39 is OBD1 as well. I recorded signals going to X11175 26 pin plug for the following 2 wires:

6: TD engine speed: DME control module: SW(black):
7: TI signal: injection signal: DME control module: WS/SW(white with black stripe):

I recorded both signals because i wanted to not only get the tacho going but the economy meter going too.

Below, please see oscillograms for car motion with economy meter approximately on 0l/100km , 10l / 100km and 20l / 100km. All 3 sets of signals look the same to me. Repetition rate varies because car speed was varying ~20km/hr to 60km/hr.

Car is e39 528i BV84735.

please note the TI signal is once every 3 TD signals. Signals vary between 12 and 0 volts.

i also have temperature working and fuel working. I have a console with wires from both X1175 and X11176 connected to terminals for testing. i have switches for warning lights and resistors for temp and fuel.
Thanks for sharing all this. Could be really valuable for me.
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Hello ,

Today is a big day. Car is officially approved by the croatian association for technical inspection. Yust need to finish the paper work and I can get licence plate .
Here is video driving hot at hte highway. Speed is not something, i was afraid to go faster . Today limit is 60 kw and it accelarate nice.
It is 1740 kg heavy , front axis is 880kg and rear 860 . Perfect balance

User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

And now with custom officialy licence plate :)
Attachments
IMG_20200722_174128.jpg
IMG_20200722_190258.jpg
User avatar
mfox
Posts: 146
Joined: Fri Apr 05, 2019 9:56 pm
Location: Croatia
Been thanked: 2 times

Re: BMW e39 "i5"

Post by mfox »

Since I get the licence plate , I passed about 1600 km and car is driving nice :) with no problems .
I made range test , I drove 190 km with one charging, discharged from 4.08V - 3.51 per cell . And the battery are not totaly discharged.
I also inbuilt second charger made from 4 30A power supplies. Now the total charge power is 8.5 kw on 3 phase. I also connect wires for SOC fuel LEDs indicator . It goes from 190-220 V . Video is about 210V and this is about 2/3 green round. When is full , it flashes only one or two red LED-s. But Im not charging it more then 4.08V.

Controler is set on 1000A towards motor and 750A from the battery. This is about 150 KW . Nice for daily driving.
video
https://i.imgur.com/itM1pWX.mp4
Attachments
IMG_20200913_233002.jpg
IMG_20200731_155852.jpg
IMG_20200909_164611.jpg
IMG_20200909_161904.jpg
IMG_20200913_162612.jpg
IMG_20200913_163133.jpg
IMG_20200911_181600.jpg
IMG_20200907_221017.jpg
IMG_20200907_221002.jpg
IMG_20200907_220947.jpg
Post Reply