Z4 LPFP Sensor Retrofit

fmorelli

Lieutenant General
Staff member
Aug 11, 2017
3,748
3,593
0
57
Virginia
Ride
E89 Z4 35i, F10 535d
For a moment there, reading this thread, I was very confused lol
 

carabuser

Lieutenant
Oct 2, 2019
884
1
783
0
UK
Ride
Z4 35i & 335i
I took a more detailed look into the LPFP control in the week and just wanted to put notes down on the forum as it might be useful.

There's 2 modes the DME can control the low pressure fuel pump in. The selection of which mode needs to be matched up with the EKP module as the CAN interchange is different depending on this.

Closed loop:
This is how the x35i cars control it. The DME has a fixed target of 72.5PSI, low pressure fuel sensor tells the DME the pressure in the fuel line and it modulates a PWM signal to control the speed of the pump to try and maintain that fixed pressure target. I think the control is done using a base value depending on load then using a PID controller after to add or remove PWM as needed.
The output to the EKP is just 0-100%.

Open loop:
The Z4 uses this mode. There is no low pressure fuel sensor, the DME just sends a fuel flow request to the EKP which is based off the calculated fuel injection values for the injectors. This output value to the EKP is 0-255 l/h.

For anyone that's retrofitted the sensor to their Z4 i'd be interested to see what sort of pressure they are seeing and how it varies at WOT. I can also assist is modifying their tune to allow the sensor if they are having a problem.

Also I noticed there is quite a lot of configuration available for the 335i style of control, the PID and base value can be adjusted which should stop those wild low pressure swings that people with bigger fuel pumps are seeing in logs.

I have a few extra logging parameters that can be used for logging the respective output to the EKP and also I think it should be possible to read the EKP voltage and current using MHD. I monitored the PWM value on my 335i before and after replacing the OE pump and it's obvious the new pump takes way less power to provide the same flow. It was pegged at 100% at WOT previously and was dropping to 40PSI, the new pump sits around 80% at most and gives a nice flat 72.5PSI.
 

SLOWESTN54

Captain
Feb 9, 2021
1,246
978
0
23
B.C. Canada
Ride
2007 E92 335i
Also I noticed there is quite a lot of configuration available for the 335i style of control, the PID and base value can be adjusted which should stop those wild low pressure swings that people with bigger fuel pumps are seeing in logs.
If this is possible, that's a massive game changer. I'd love a flat line for my lpfp. I find it interesting that even though a E60 comes with a bigger pump from factory it still suffers from fluctuations once fuel demands increase.
 

Neg89

Specialist
Jul 4, 2021
67
6
0
So no easy way to install the sensor?,"Does the conversion to make lpfp work on e89 like on 335 is going to be advantage or not.Can someone understand why factory make it this way on e89?
 

fmorelli

Lieutenant General
Staff member
Aug 11, 2017
3,748
3,593
0
57
Virginia
Ride
E89 Z4 35i, F10 535d
So no easy way to install the sensor?,"Does the conversion to make lpfp work on e89 like on 335 is going to be advantage or not.Can someone understand why factory make it this way on e89?
No one knows why. The E89 is significantly different vehicle, even in its variants of other parts (like the E46-based rear suspension parts ... that are not actually the same as the last E46's).

We like to kid around and say that the Z4 was designed by interns.

But ironically (and I don't understand this to this day), people say that a stock Z4 is like a stage 2 LPFP on a 335i. ..........

As for your question on the LPFP sensor addition, there is information on the this thread. At the end of the day you have to know how to pin/depin the connectors. Ken did it with an E90 harness next to him so it was color by numbers - just chased the wires/sensor to the DME connector, noted the pin out, pulled the sensor/wires, installed on the pins in the corresponding location on the Z4 DME connector.
 
  • Like
Reactions: Torgus

Neg89

Specialist
Jul 4, 2021
67
6
0
The 335 harness would be hard to acess.Just putting in pins would be easy,at least getting servotronic working was no problem(yes converted to hidro).

But need info,which pin where.
 

carabuser

Lieutenant
Oct 2, 2019
884
1
783
0
UK
Ride
Z4 35i & 335i
If this is possible, that's a massive game changer. I'd love a flat line for my lpfp. I find it interesting that even though a E60 comes with a bigger pump from factory it still suffers from fluctuations once fuel demands increase.
I'm not going to be at my PC for another week or so but if you let me know what ROM version you are on I'll make a custom MHD logging file up that will let you monitor the signals needed to tune to lpfp.

Once we know what part of the controller causes the overshoot we can tune it better.
 

SLOWESTN54

Captain
Feb 9, 2021
1,246
978
0
23
B.C. Canada
Ride
2007 E92 335i
I'm not going to be at my PC for another week or so but if you let me know what ROM version you are on I'll make a custom MHD logging file up that will let you monitor the signals needed to tune to lpfp.

Once we know what part of the controller causes the overshoot we can tune it better.
My E60's I8A0S
 

carabuser

Lieutenant
Oct 2, 2019
884
1
783
0
UK
Ride
Z4 35i & 335i
My E60's I8A0S
Unzip this file and put it in the root of the android MHD folder. You can can then select some extra channels that should let us see what part of the LPFP calc is off.

Just make sure you log all the extra channels. They all start with 0 so are at the top of the param list. Also make sure you have the low fuel pressure sensor logged too.
 

Attachments

  • I8A0S_UserChannels.zip
    447 bytes · Views: 10
Last edited:

SLOWESTN54

Captain
Feb 9, 2021
1,246
978
0
23
B.C. Canada
Ride
2007 E92 335i
Unzip this file and put it in the root of the android MHD folder. You can can then select some extra channels that should let us see what part of the LPFP calc is off.

Just make sure you log all the extra channels. They all start with 0 so are at the top of the param list. Also make sure you have the low fuel pressure sensor logged too.
I'll do my best to get a log as soon as possible, just need the weather to collaborate.
 

Neg89

Specialist
Jul 4, 2021
67
6
0
Hello so what's up with lpfp sensor retro fitting I have both the fuel line and sensor but I want to know how do I wire it in the dmE? Anyone can tell me which pins and will I be able to login in mhd or I need car abuser mention it mHD changes?
 

carabuser

Lieutenant
Oct 2, 2019
884
1
783
0
UK
Ride
Z4 35i & 335i
It's pin 7 and 8 of A60005. That's the long double row in the image below. I've never checked if that's wired on the Z4 harness. It's probably already in the harness. I think Wedge did the retrofit so will know where it needs connecting.

I don't know what code changes are required to get it to read. I only know what code changes are required for a complete conversion to closed loop LPFP control. I remember that the input scaling needed to be added into the ROM but you can always just plug it in and see what the logs look like.

Pin assignments at plug connector A60005
PinTypeDescription /Signal typeConnection /Measuring notes
1--Not used
2--Not used
3AActivationVolume control valve
4--Not used
5--Not used
6--Not used
7MGround Low pressure fuel sensorLow pressure fuel sensor
8ASupply Low pressure fuel sensorLow pressure fuel sensor
9MNegative supplyIntake temperature - boost pressure sensor
10ESignal Boost pressure sensorIntake temperature - boost pressure sensor
11APositive supplyIntake temperature - boost pressure sensor
12--Not used

1659007829151.png
 

Neg89

Specialist
Jul 4, 2021
67
6
0
Big thank you for info maybe someone can tell me the female part pin part number?
 

carabuser

Lieutenant
Oct 2, 2019
884
1
783
0
UK
Ride
Z4 35i & 335i
Big thank you for info maybe someone can tell me the female part pin part number?
The pins on A60001/2/5/6/7 all require "TE 175062-1".

I don't think BMW sell them but you can buy from them RS or Farnell. I ordered a load of pins so got them as part of a bulk order from TE directly.

You might need a crimp tool for them. I did all mine by hand since I am using them purely for a bench setup but for use in your car you want to do a proper job.

You should check if all this is required though. I'd be shocked if those wires aren't already in the Z4 harness.
 

Neg89

Specialist
Jul 4, 2021
67
6
0
The pins on A60001/2/5/6/7 all require "TE 175062-1".

I don't think BMW sell them but you can buy from them RS or Farnell. I ordered a load of pins so got them as part of a bulk order from TE directly.

You might need a crimp tool for them. I did all mine by hand since I am using them purely for a bench setup but for use in your car you want to do a proper job.

You should check if all this is required though. I'd be shocked if those wires aren't already in the Z4 harness.

The pins on A60001/2/5/6/7 all require "TE 175062-1".

I don't think BMW sell them but you can buy from them RS or Farnell. I ordered a load of pins so got them as part of a bulk order from TE directly.

You might need a crimp tool for them. I did all mine by hand since I am using them purely for a bench setup but for use in your car you want to do a proper job.

You should check if all this is required though. I'd be shocked if those wires aren't already in the Z4 harness.
Hello.So i need to connect LPFP sensor to 6005 or 6001 i am a hit confused.?
 

Darke Peak

Specialist
Aug 23, 2022
56
45
0
Hi all, I’ve been lurking in the back for a few months. I am from South Australia and have a 2009 Z4 35i with MHD stage 2+ and I recently upgraded the LPFP to a Walbro 535. My HPFP crapped itself a few hundred kilometres later and I’d like to add a low pressure fuel sensor to monitor what is happening in that side of the system. I also wonder if the lack of a low pressure sensor and closed loop LPFP control on the Z4 is a reason why I consistently miss boost target by 2.5-3psi? If I manually limit the boost target to 15psi (or less) then I generally come within 1psi of it. I’ve found an engine wiring loom and sensor line from a 3 series - going to attempt to at least set it up for monitoring.
 

Attachments

  • 22558E72-5177-4536-B48A-483097584FEA.jpeg
    22558E72-5177-4536-B48A-483097584FEA.jpeg
    293.2 KB · Views: 12

Neg89

Specialist
Jul 4, 2021
67
6
0
Hi guys so I finally take a look on 335i metal fuel line with sensor the sensor has three pins not two like I originally thought what can you say about this I was thinking that there is only two pins but there is three?