Pages: [1] 2
Author Topic: Wideband modification for 551M?  (Read 5220 times)
tightmopedman9
Jr. Member
**

Karma: +0/-2
Offline Offline

Posts: 45


« on: November 07, 2022, 03:49:51 PM »

Sorry if this isn't the correct sub-forum for this, but I'm not asking for a tune per-se.

I'm wondering if anyone has written code to enable wideband O2 closed loop control for the 551M, and if so, if they'd be willing to sell a tune with the code for personal use.
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #1 on: November 07, 2022, 05:33:04 PM »

Sorry if this isn't the correct sub-forum for this, but I'm not asking for a tune per-se.

I'm wondering if anyone has written code to enable wideband O2 closed loop control for the 551M, and if so, if they'd be willing to sell a tune with the code for personal use.

I don't think anyone has done this, definitely not in public file; the narrow band set up works well enough, unless you're looking to do speed/density or flex fuel
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
BlackT
Hero Member
*****

Karma: +79/-40
Offline Offline

Posts: 1425



« Reply #2 on: November 08, 2022, 01:51:43 AM »

I am planing to do something similar over winter, but something real simple. Maybe only PI controler
Also I consider option to convert ASN 3.0 ECU to turbo beacuse it already have wideband control. I will take eqsyer option
Logged
tightmopedman9
Jr. Member
**

Karma: +0/-2
Offline Offline

Posts: 45


« Reply #3 on: November 08, 2022, 11:13:51 AM »

I don't think anyone has done this, definitely not in public file; the narrow band set up works well enough, unless you're looking to do speed/density or flex fuel

That's what I figured, but I thought I would ask. I implemented wideband O2 control in M4.4 by running a wideband's analog output to the rear O2 channel input. This signal emulated the narrowband, placing either .11V or .86V directly into the relevant RAM address right after the original rear O2 ADC. The decision to use .11V or .86V was based on a 16x16 lookup table with axes of RPM and load. The factory PI (no D factor in factory tune) maps were changed to work based on deviation of actual vs measured AFR, so that the speed of regulation was directly related to absolute deviation of AFR vs the target.

I haven't spent much time with disassembly in regards to ME7, but it looks like I'll have to get cracking! The target lambda lookup will be easier than on M4.4, as I can just use lamsbg_w.
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #4 on: November 08, 2022, 11:43:01 AM »

That's what I figured, but I thought I would ask. I implemented wideband O2 control in M4.4 by running a wideband's analog output to the rear O2 channel input. This signal emulated the narrowband, placing either .11V or .86V directly into the relevant RAM address right after the original rear O2 ADC. The decision to use .11V or .86V was based on a 16x16 lookup table with axes of RPM and load. The factory PI (no D factor in factory tune) maps were changed to work based on deviation of actual vs measured AFR, so that the speed of regulation was directly related to absolute deviation of AFR vs the target.

I haven't spent much time with disassembly in regards to ME7, but it looks like I'll have to get cracking! The target lambda lookup will be easier than on M4.4, as I can just use lamsbg_w.

If you've already done this once, including PI, you can definitely do it in ME7, but there is no existing lambda control PI code that i think is vaguely reusable in ME7.1.  Maybe you can steal code from ME7.5

Bets of luck. Bonus points if you publish Smiley
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
BlackT
Hero Member
*****

Karma: +79/-40
Offline Offline

Posts: 1425



« Reply #5 on: November 09, 2022, 12:48:57 AM »

If you want we can do it together(here). On ME7 is not that hard
If my plan is right, only playing with fr_w will do all yob for fuel.
We only need to make PI that will add or subbstract to fr_w based on how far is actual lambda from desired

Actual lambda is easy part, on rear 02 there is a 0-5V input.
And controler have linear output 0-5V, it is easy to convert in ECU voltage to actual lambda
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #6 on: November 09, 2022, 03:14:34 AM »

Force fuel trim on even if lamsbg_w != 1.
Then create a mapping of wideband to narrowband based on current request.
Disable the protection that cuts load if narrowband shows lean on boost.

I think that's all that is needed, ECU should do the rest.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #7 on: November 09, 2022, 11:46:23 AM »

Force fuel trim on even if lamsbg_w != 1.
Then create a mapping of wideband to narrowband based on current request.
Disable the protection that cuts load if narrowband shows lean on boost.

I think that's all that is needed, ECU should do the rest.

whoa fantastic. Thanks prj.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #8 on: November 10, 2022, 03:27:26 AM »

Well obviously you will need to handle the diags and heater diags.
And if you're using external controller, and it goes tits up and sends a fixed signal all the time, then that might not end so well.
Sensor degradation is also a problem.

So in the end IDK if that's such a good idea.
If you look at most aftermarket ECU's with wideband, none of them run closed loop on WOT, because the diagnostics just aren't there to deal with sensor shenanigans.
I certainly would not run it like that on my setup, too dangerous IMO.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #9 on: November 10, 2022, 10:43:45 AM »

Well obviously you will need to handle the diags and heater diags.
And if you're using external controller, and it goes tits up and sends a fixed signal all the time, then that might not end so well.
Sensor degradation is also a problem.

So in the end IDK if that's such a good idea.
If you look at most aftermarket ECU's with wideband, none of them run closed loop on WOT, because the diagnostics just aren't there to deal with sensor shenanigans.
I certainly would not run it like that on my setup, too dangerous IMO.

Thanks prj. Again food for thought.

You could also severely restrict the correction range while WOT (or other "dangerous" load regions) but at that point I guess why bother.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Blazius
Hero Member
*****

Karma: +89/-40
Offline Offline

Posts: 1282



« Reply #10 on: November 10, 2022, 11:24:25 AM »

Every wideband Bosch 1.8T or etc file does this. Wideband controller is disabled when certain conditions are met, too hot, BTS on etc because you dont want a faulty sensor to burn down your engine I guess.

Could put the same conditions or some of them, say if bts=1 , disable correction.
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #11 on: November 11, 2022, 06:48:51 AM »

BTS on does not always disable correction. But it depends on how it is configured.
Correction is always disabled when setpoint goes below LALIUSMN.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
tightmopedman9
Jr. Member
**

Karma: +0/-2
Offline Offline

Posts: 45


« Reply #12 on: November 11, 2022, 05:52:29 PM »

I have set up wideband lambda regulation for all engine loads, including WOT, for over 200 customers. I know for a fact that it has saved numerous engines from running lean at WOT. I do not know of a single engine that has been hurt by a faulty sensor. I have an error handling routine that will put the ECU into limp mode and  trigger a P0130 DTC when a constant signal is detected for more than 45 seconds. I have seen a few sensors fail and give an erratic reading, but most of the time their failure results in a constant output. I have found that leaning cruise and idle AFRs to around 15.3 increases fuel economy by a few %, not huge, but a nice bonus.

You guys are funny, it seems like the majority of you think that baboons are driving these cars - that a driver has no ability to detect if their is a problem with their engine. I understand advanced engine management systems have the error handling ability to decrease the possibility of engine damage to almost nill, and that you like to keep that functionality at whatever cost. However, from an automotive enthusiasts perspective, being in tune with a vehicle and knowing when something is wrong is part of the experience. For wideband control I consider it mandatory to have a wideband gauge that is easily visible, and to look at it from time to time - it is quite easy to figure out when the sensor is reading incorrectly.

With all that said, I'm not even sure how necessary wideband control is and how good ME7.1's AFR control is at WOT. I have barely started to scratch the surface with ME7. In M4.4 every lambda and VE map, including FKKVS is all in one single map, KFLF. Getting a repeatable and stable AFR at WOT open loop is an exercise in frustration, so wideband lambda control at WOT is very useful.

I am installing dual widebands on my 2.7t this week and will start logging their output through the rear O2 inputs. If I find that a closed loop wideband control routine would be helpful, then I will post my progress towards that goal here.
Logged
_nameless
Hero Member
*****

Karma: +342/-466
Offline Offline

Posts: 2800



« Reply #13 on: November 11, 2022, 10:46:29 PM »

I have set up wideband lambda regulation for all engine loads, including WOT, for over 200 customers. I know for a fact that it has saved numerous engines from running lean at WOT. I do not know of a single engine that has been hurt by a faulty sensor. I have an error handling routine that will put the ECU into limp mode and  trigger a P0130 DTC when a constant signal is detected for more than 45 seconds. I have seen a few sensors fail and give an erratic reading, but most of the time their failure results in a constant output. I have found that leaning cruise and idle AFRs to around 15.3 increases fuel economy by a few %, not huge, but a nice bonus.

You guys are funny, it seems like the majority of you think that baboons are driving these cars - that a driver has no ability to detect if their is a problem with their engine. I understand advanced engine management systems have the error handling ability to decrease the possibility of engine damage to almost nill, and that you like to keep that functionality at whatever cost. However, from an automotive enthusiasts perspective, being in tune with a vehicle and knowing when something is wrong is part of the experience. For wideband control I consider it mandatory to have a wideband gauge that is easily visible, and to look at it from time to time - it is quite easy to figure out when the sensor is reading incorrectly.

With all that said, I'm not even sure how necessary wideband control is and how good ME7.1's AFR control is at WOT. I have barely started to scratch the surface with ME7. In M4.4 every lambda and VE map, including FKKVS is all in one single map, KFLF. Getting a repeatable and stable AFR at WOT open loop is an exercise in frustration, so wideband lambda control at WOT is very useful.

I am installing dual widebands on my 2.7t this week and will start logging their output through the rear O2 inputs. If I find that a closed loop wideband control routine would be helpful, then I will post my progress towards that goal here.
cool story bro Cheesy
Logged

Giving your mom a tuneup
IamwhoIam
Hero Member
*****

Karma: +52/-114
Offline Offline

Posts: 1070


« Reply #14 on: November 12, 2022, 12:40:45 AM »

Cool story bro, should have started with M2.3 LOL
Logged

I have no logs because I have a boost gauge (makes things easier)
Pages: [1] 2
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.025 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)