Jump to content
exextatic

E39 N54 "535i" Project

Recommended Posts

It has been a few years since my last project (E46 M3 Sedan), and while I'd initially purchased my E39 as a reliable daily driver (specifically not to be modified), I needed something to do a bit of a resto-mod on. An N54 is pretty similar to an M54 though, right? 😁


The subject in question is a 2002 E39 530i touring, purchased in 2018 from a fellow Bimmersport member.
Since purchase, I've put around 30,000km on the clock, performed a full suspension refresh (all bushes, bearing, shocks, struts, air springs) and manual conversion.
Unfortunately the vehicle was purchased with some clearcoat issues, which have only gotten worse.

20180707_154852sml.jpg.49048feb56cb8d90906271976577ebbb.jpg

20180707_154825sml.jpg.8d38d8134973503fafd40e359d3a6bc1.jpg

As this vehicle is still a daily driver, I've also picked up a 2003 520i insurance write-off to use for development / mockup - the pictures below will be of this car.

For a donor, a 2008 E82 135i insurance write-off was used.
Unfortunately, this vehicle was fitted with an automatic transmission, something I'm not interested in for this project so a GS6-53BZ was sourced from the UK and imported.

The underlying theme for this project is "if BMW were to have made it" - I'll be trying to keep everything looking as factory as possible, so no aftermarket BOVs or pod filters. 😀
This theme also flows through to the electrical architecture of the vehicle, I'll be keeping the factory E8x modules (thankfully the donor vehicle came with an MSD81) and aiming for full integration with the E39 instrument cluster via a custom CAN translator of my own design.
The vehicle will have fully-functional A/C, DSC and cruise control. The translator I've developed has been proven in the manual HellBM 135d.

The first step with the mockup car was stripping out everything not needed:
image.png.11bce8545d807074df2e98cf65f817ca.png

Initial test fitting was performed with a spare N52 parts motor with a GS6-53BZ bolted up:
image.png.c6066613d5c70ec3886ba99d0be0c3b3.png

image.png.ec4c2cbea2d464e4c37d3dbd49a30952.png
 

With it generally looking good, an N54 parts motor was made available and put in instead, allowing test fitting of turbos, etc.
Looking doable on the exhaust side:
image.png.41658413225eeb6dcf8862c480d519e3.png

Going to need to do something about the rear turbo's coolant line:
image.png.67f5d080912da551b13f6bb59867ea89.png

Enough sump clearance:
image.png.f3477f1972afe45416f11ba4e3c32c79.png

image.png.5a9f1011839ea8437ee25ec698b6ab58.png
 

Tons of room on the intake side:
image.png.d9b80fa88eb565a24ca2d1db718b065e.png

Some shims underneath to get it all lined up:
image.png.61092fbca14b63e4608e38fc36f6e4ba.png 

Sway bar at full droop, clears ok:
image.png.12caf923e4efff41dbdf7c402bbbdd37.png

Just need to get an engine mount to join A to B and we'll be done in no time 😉image.png.4e22ebcd9d6b50b0ff68438e7671c980.png

Bolted up a few more parts, still clearing ok:
image.png.7ec72eae2028622c5b1d1cb7dd95bc95.png

image.png.d2d1f24b09da0f1d1b8a2e10c78be5a9.png

image.png.87ed62a2976ddf7501adcb8423657427.png

Starting to work on some mockup engine mount arms so that we can remove the shims, these will only be temporary:
image.png.e06d96c6e866df87ceec369641764991.png

image.png.81b185d779188e152571b29829ba409d.png

Looking pretty tight on the exhaust side:
image.png.d1fe50502499fc3cb633a87a0129242b.png

Onto some temporary gearbox mounts:
image.png.376ba113f8b594c0ba105b558211c5d0.png

image.png.da9ec007671ebea86daf07167bc4ed99.png

image.png.3965786ceb65d6cd2fa37cb437c3a718.png

With the temporary mounts made I could then start designing some more final mounts.
A 3D print of the design for testing fitment:
image.png.0478b004b93285496551e808d5121118.png


image.png.57827cda51e8fe8adc39f07c18ca2e28.png

image.png.e870797e52946b6d1367afc992b3530f.png

Same again for the gearbox:
image.png.7557d2976c0df8f45eddfc0e59f4d4fd.png

image.png.5fe5420c56700bc0537ebfcb7d5e4def.png

image.png.f55d986f3a9230a66dfa2d3196a33548.png
 

The exhaust-side mount ended up being rather tricky, requiring many iterations:
image.png.a525752f5ba6952c345d1783673499d8.png

image.png.b3322dc755a0e135067d3e1397a1281a.png

image.png.63d1a86485a41c42a310b35d3d99337e.png

image.png.4b5d7b78c917ee0312239bf13bd334fb.png

image.png.e257e62f0d1c046ab063175e70b73cd0.png
 

Final design of the exhaust-side mount:
image.png.4dfd19eca1efe5ff58f53a785e475dbe.png


image.png.a541de40ceaf617eab951f7cac8f77f0.png

image.png.ea25c40360582d8aa939660c73913247.png

image.png.7756fa6414c8dca41d00709486d75793.png

image.png.61eb98dfa9aa0d2ec44e70967c1ab2c6.png

While that was going on, I took a look at fitting the oil cooler - a factory item on E39 540i's built for the Gulf region:
image.png.145ee2ce82959171df593825a42f39a5.png

image.png.8bb3a09e22b792ebff579588c892dc4a.png

image.png.d32ab0e57cff979e6016c19fcd1b1f90.png
 

For fueling, I'm wanting to use an E82 135i pump in the E39 holder.
The fuel lines will be the factory-fitted E39 M5 lines, filter and 5 bar fuel pressure regulator.
Unfortunately, the E82 fuel filter sock won't suit in an E39, so a mockup adapter was 3D printed (in PLA, this will be printed properly in carbon fiber reinforced nylon).
image.png.63e59866abef85aa901ca1fcb5cb77ed.png
image.png.39d91a3e08e0b789d81a3a9e5c9555a2.png

image.png.42e838641645d335344555fd9a0bb5b8.png

image.png.7370f11e38c5ab5c7eb1524725630c6d.png

Another item to tackle is the coolant radiator, condenser, intercooler and power steering radiator pack.
Initially I'd planned on using an E60 535i radiator but found the dimensions won't work in an E39.
The E82 pack seemed like the best choice, here attached with some temporary mounts (again, will be 3d printed properly in carbon fiber reinforced nylon):
image.png.817a1e3646bf3adaefae6f9e4bef513e.png
image.png.4fa0f7321601d4b54c6c5c8f9ec5f0fd.png

image.png.dce25af74ae9c2834201c3abd23036cc.png

image.png.aeabc584e224fbdbb42cb4cf125870fd.png

image.png.ec9938a8b55f8c08fed08286bc43c38c.png

image.png.1d195617bd0a7a867322227a4b50d37b.png4

image.png.72ecf678b98bf4cde1afc364e9da7940.png

image.png.2aed7687ded2532c6e6ce8e98b3ec2f3.png

Picked up a 540i rear diff and half shafts, it should handle things a little better than the 530i items:
image.png.5d3702b85edefae50d3eb65c3b8ad3c7.png

image.png.09144aa897341f459a2a030ad5ec49a1.png

Started mocking up a top cover panel for the radiator:
image.png.2a55e3aa7451717452d57d0397427478.png

The intake-side engine mount arm machined in T6061-T6 arrived:
image.png.907c50fa0313224bacb1d575ce4763af.png

image.png.b992e82c511fd05e754a405b5493b661.png
 

Fits perfectly:
image.png.5343972b3d9eb700df3b1ad33a0c2801.png

image.png.0d2eb01ce2e80848653deeacb0989996.png

image.png.7aa6c670ef7297c07b4b32d836add04b.png

image.png.bdf70e7b11d6ee52406ce1578fbba593.png
 

With the N54 having the A/C compressor on the opposite side of the motor (compared to M54), we started working on custom A/C hardlines.
This one will run from the E39 bulkhead, around the back of the motor to the intake side, and will have a flexible section running under the manifold area to the compressor:
image.png.5005c42edd76458efc02cd767e33f667.png

I'm also working on some mounting brackets for it:

image.png.5e9a289044cb247730b7f82e721d9f1c.png
 

The next items are sorting out the coolant / power steering / oil line situation which is underway currently.
Unfortunately, the supplier sent the wrong size hardline which has caused a bit of a delay on this aspect.

Another item we're working on is relocating the DSC module to behind the headlight - the E39 units often get baked in the factory location, leading to failure and other weird issues.
The DSC module to be used is a DSC8+ module from a facelift E60 rather than the (unreliable, relatively expensive) DSC5.7 factory-fitted in the E39.

 

 

Edited by exextatic
  • Like 17

Share this post


Link to post
Share on other sites

Absolutely insane attention to detail. Following closely!

Share this post


Link to post
Share on other sites

Time for another update 😊

Some progress has been made on fabricating coolant lines.
The current intention is to use an E39 diesel coolant reservoir mounted on the intake side of the engine bay, freeing up room on the exhaust side for the DSC module and vacuum reservoirs.

20240426_170409.png

Two aluminium pipes run atop the intake side chassis rail, one for the coolant reservoir to the heater core and thermostat, and another from the radiator to the heater control valve.

20240511_162241.png

20240428_122446.png

The next step is to fabricate a hard line to connect these up to the thermostat.

 

In other news, the final exhaust-side engine mount arm has arrived from manufacturing.
Test fitting looks good, with only a small shim required on top of the engine mount to raise the mount up slightly, due to there being more compression in the engine mount than anticipated.

20240507_135600.png

 

20240507_135702.png
 

20240511_140853.png
 

20240511_140906.png

 

With that in place, the gearbox mount design was finalised, propshaft angles were checked and the design sent off to be manufactured.

20240511_142002.png
 

20240511_142013.png

image.png

  • Like 6

Share this post


Link to post
Share on other sites

Missed the original posting of this project, some nice work going in there 👍 Looking forward to seeing more progress on it.

I've done some work with the CAN integration side of things on my E46 project, sounds like you already have a solution in mind but let me know or take a look at my thread if I can be of any help. There are bits and pieces scattered about my thread, bit of a starting point here: https://bimmersport.co.nz/topic/64728-blue-chunder-e46-318ci-vq37vhr-swap-other-stuff/page/6/ and Arduino code here if thats where you're heading https://github.com/david-morton/BMW_E46_Gauge_Cluster_Control ... hopefully it's a bit easier sticking with the BMW ecosystem.

 

Share this post


Link to post
Share on other sites
On 5/19/2024 at 8:26 PM, Cement said:

Missed the original posting of this project, some nice work going in there 👍 Looking forward to seeing more progress on it.

I've done some work with the CAN integration side of things on my E46 project, sounds like you already have a solution in mind but let me know or take a look at my thread if I can be of any help. There are bits and pieces scattered about my thread, bit of a starting point here: https://bimmersport.co.nz/topic/64728-blue-chunder-e46-318ci-vq37vhr-swap-other-stuff/page/6/ and Arduino code here if thats where you're heading https://github.com/david-morton/BMW_E46_Gauge_Cluster_Control ... hopefully it's a bit easier sticking with the BMW ecosystem.

 

Thanks David, yeah I've got a homegrown four channel CAN bus translator based on a PIC32MK that I'll be using at the core of this project.

I've been extremely slack with keeping this thread up to date, so time for another update.
Since the last post, the gearbox crossmember has been finished.

1.png

2.png
 

3.png

And fitted to the test chassis, alongside the modified propshaft (135i gearbox flange, retubed, E39 540i from CSB backwards):
4.jpg

5.png

6.png

7.png

 

Onto the next job, creating a custom coolant hardline between the coolant reservoir and electronic thermostat (still needs some brackets):
8.png

9.png
 

10.png

 

While on a roll with bending up hardlines, an oil supply hardline was fabricated as I didn't want to have -AN fittings visible off of the oil thermostat.
For this I also machined an adapter fitting for the oil thermostat.
12.png

13.png

14.png

14.jpeg


15.jpeg

16.jpeg

 

The coolant and air conditioning hardlines I had been working on previously were also finish welded:
17.png

18.png

19.png

20.png
 

21.png

 

Next up was making the N54 engine loom use the E39 e-box grommet:
11.jpg

 

And the shift linkages were modified:
22.png
(Not quite sure where the selector rod photos went unfortunately)

 

Propshaft had a fresh CSB and CV joint installed:
23.jpg

24.png

 

I'd also performed the typical maintenance on the N54 I'm going to be using, namely replacing all of the gaskets I can easily access (valve cover, sump, VANOS solenoids, etc) and injector decoupling elements.
New spark plugs and coil packs (standard N54 items for now) will also be used.
25.jpg
 

26.jpg

Looking nice and clean in there.
27.jpg

Nice and clean down under too.
28.jpg

29.jpg
 

30.jpg

 

The next major hurdle was fabricating exhaust downpipes; there's not a lot of room to work with unfortunately.
31.png

The vehicle will need to keep the catalytic converters for passing emmissions testing during LVVTA certification, so those were extracted from a factory downpipe set.
32.png

33.png

34.jpg
 

35.jpg

To complete the factory-like look, some small brackets were designed and 3d printed:
36.png

37.png
 

38.png

And laser-cut and machine folded:
39.png
 

40.png

Welded on and oxygen sensors added:
41.png


42.png

43.png

44.png


45.png

I'm extremely happy with how these downpipes turned out; they're currently off being ceramic coated (in an effort to keep under-bonnet temperatures down).

 

A few months have also been spent working on electrical and electronics, starting off with a jump-start terminal.
The E39s all use engine-mounted jump-start terminals, while the N54 never came with an engine-mounted jump-start terminal - all usages of the N54 have them mounted on the chassis.
For this, I designed and 3d-printed a jump-start terminal that will attach to the intake manifold:
46.png


47.png
 

48.png

And finally printed out of PA-CF:
53.jpg

 

Mounted and wired in the fuel pump (EPKM) module:
49.png

 

Designed a replacement case for the Comfort Access module, allowing it to attach to the same bracket as the factory E39 PDC module:
50.png

 

51.png

 

Created an adapter loom for between the E39 X6001 and E9x X6011 / X6021 engine connectors:
52.png

The wiring is still ongoing at this stage - chipping away at it slowly.

  • Like 5

Share this post


Link to post
Share on other sites

Another problem needing solving with this conversion is oil level measurement - the N54 never came with a physical dipstick, relying instead on checking the oil level via the oil level sensor. While it is possible to use a scan tool to measure the oil level, I'd prefer to have a quick and easy way of doing this on the go, leading me down the next rabbit hole - designing an in-cluster display to show the oil level (and any other interesting information, such as exact vehicle speed, oil/coolant temperature, etc).

The design is based on an off-the-shelf SPI display, paired with a custom (own design) circuit board using a PIC32MK with a single CAN channel:

1.png

2.png

3.png

3D print a housing for the screen out of ABS (don't worry, this cluster isn't the actual cluster I'll be using in the vehicle, just a testing one):

4.png

Test fitting and adjusting positioning with the cluster face loosely fitted:

5.png

  • Like 10

Share this post


Link to post
Share on other sites

Very f**ken impressive! 

  • Like 1

Share this post


Link to post
Share on other sites
10 hours ago, exextatic said:

the N54 never came with a physical dipstick, relying instead on checking the oil level via the oil level sensor.

I thought the sentence is was going to be you adding one. I give credit to Japanese for not following this stupid euro trend.

Does the BMW DME contain the actual litre reading in its data?

Share this post


Link to post
Share on other sites
14 hours ago, Eagle said:

I thought the sentence is was going to be you adding one. I give credit to Japanese for not following this stupid euro trend.

Does the BMW DME contain the actual litre reading in its data?

It was contemplated but would be less "oe-like" - either having to modify the sump, or using parts from the BMW Motorsport catalogue that replace the oil level sensor, which then has a flow-on effect on the DME. Adding the screen was more in line with modern BMW and opens up additional opportunities.

The DME does have the oil height in millimetres, which can be correlated to the oil level in litres. This isn't sent out over CAN, however - a simplified oil level overview is sent (and typically consumed by the instrument cluster in a factory vehicle).

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...