need to save money, writing patch to control closed loop with WB
Thread Starter
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
need to save money, writing patch to control closed loop with WB
E85 fuel price is not making up for the worse mileage, so I need to mitigate by running leaner at cruise. I could run in loop during cruise, but I prefer to be in closed loop for cruise, so I'm starting a patch to convert a WB signal into a simulated NB signal. Basic framework is written down. Now working out the math. Hoping to have it ready in a few days.
or just use your wideband to set up a higher trigger point for closed loop control.
my LC-1 does that...
why the hassle?
well on the other hand, it does allow you to log your wb02 directly from the ecu without having that and the nb02 connected...
my LC-1 does that...
why the hassle?
well on the other hand, it does allow you to log your wb02 directly from the ecu without having that and the nb02 connected...
I'm totally on board with this. Ask DanL since he has the info on how the 1G DSM guys already do their coding. After that, you aren't far from setting up 100% closed loop targeting maps which a few new cars use like the new VW GTi's do.
The subarus have a parameter that allows you to change the closed loop target. There HAS to be one for us too. Might be worth finding that instead?? I don't really know how to do all the disassembly magic so i could be talking out my ***.
Thread Starter
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Interesting range of responses, all reasonable.
- ATM, I prefer the idea of closed loop because my open loop map starts to run fairly rich even at loads where I'd still like to be lean loop during cruise.
- I've been through most of the closed loop AFR routines in the Evo ROM. There are some 1D tables that control the closed loop AFR target, but I don't think a NB O2 sensor can provide the necessary response characteristics to work with a 15.5:1 AFR target.
- Using the WB output on my LC-1 for both WB logging via the ECU and closed loop AFR control allows me to control the AFR target with ECUFlash (instead of using the LC-1), and frees up another ADC input for other things.
- ATM, I prefer the idea of closed loop because my open loop map starts to run fairly rich even at loads where I'd still like to be lean loop during cruise.
- I've been through most of the closed loop AFR routines in the Evo ROM. There are some 1D tables that control the closed loop AFR target, but I don't think a NB O2 sensor can provide the necessary response characteristics to work with a 15.5:1 AFR target.
- Using the WB output on my LC-1 for both WB logging via the ECU and closed loop AFR control allows me to control the AFR target with ECUFlash (instead of using the LC-1), and frees up another ADC input for other things.
Could we try? Like i said, this is how the suby guys do it. My roommate had lean burn set to like 15.7 and was very stable.
Trending Topics
A subaru O2 sensor is not a narrowband sensor like ours is. Our sensor is used like a switch with the switching point @ 14.7:1. It's much easier to use a wideband sensor and controller programmed to simulate narrowband switching at a leaner AFR. Anyone with a ZT-2 or LC-1 can do this with no need to patch their ROM.
I wondered about running closed loop periodically during cruise to allow the narrowband to find stoich, but the rest of the time producing a gradual enleanment of 10%. Coding would be a nightmare though!
The only reason I even ask is because I tend to idle around 15.0:1, yet cruise is stoich or slight richer, like 14.6 or so. I originally thought that I had a leak at my DP to O2 housing, which I very well may with the cheap RNR gasket, but even replacing a spring bolt with a stud and nut, idle is still in the range of 14.8-15.2 for my car (an 05). I will be switching my DP and gasket soon to be sure.
I was just curious if anything you saw had any targets that differed under different conditions. I always wondered if some Evo Roms actually tried to target slightly above or below stoich, even with the NB O2.
Just out of curiosity, where all of the 1D references the same value?
The only reason I even ask is because I tend to idle around 15.0:1, yet cruise is stoich or slight richer, like 14.6 or so. I originally thought that I had a leak at my DP to O2 housing, which I very well may with the cheap RNR gasket, but even replacing a spring bolt with a stud and nut, idle is still in the range of 14.8-15.2 for my car (an 05). I will be switching my DP and gasket soon to be sure.
I was just curious if anything you saw had any targets that differed under different conditions. I always wondered if some Evo Roms actually tried to target slightly above or below stoich, even with the NB O2.
The only reason I even ask is because I tend to idle around 15.0:1, yet cruise is stoich or slight richer, like 14.6 or so. I originally thought that I had a leak at my DP to O2 housing, which I very well may with the cheap RNR gasket, but even replacing a spring bolt with a stud and nut, idle is still in the range of 14.8-15.2 for my car (an 05). I will be switching my DP and gasket soon to be sure.
I was just curious if anything you saw had any targets that differed under different conditions. I always wondered if some Evo Roms actually tried to target slightly above or below stoich, even with the NB O2.
Thread Starter
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Just out of curiosity, where all of the 1D references the same value?
The only reason I even ask is because I tend to idle around 15.0:1, yet cruise is stoich or slight richer, like 14.6 or so. I originally thought that I had a leak at my DP to O2 housing, which I very well may with the cheap RNR gasket, but even replacing a spring bolt with a stud and nut, idle is still in the range of 14.8-15.2 for my car (an 05). I will be switching my DP and gasket soon to be sure.
I was just curious if anything you saw had any targets that differed under different conditions. I always wondered if some Evo Roms actually tried to target slightly above or below stoich, even with the NB O2.
The only reason I even ask is because I tend to idle around 15.0:1, yet cruise is stoich or slight richer, like 14.6 or so. I originally thought that I had a leak at my DP to O2 housing, which I very well may with the cheap RNR gasket, but even replacing a spring bolt with a stud and nut, idle is still in the range of 14.8-15.2 for my car (an 05). I will be switching my DP and gasket soon to be sure.
I was just curious if anything you saw had any targets that differed under different conditions. I always wondered if some Evo Roms actually tried to target slightly above or below stoich, even with the NB O2.
I also see about 14.4-14.5:1 during closed loop cruise. I figured I had not correctly calibrated my LC-1, but after about 10 attempts to calibrate it in different ways with each giving the same result, I decided that 14.4-14.5 is the target value for the stock coding.
Thread Starter
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Its not a pure step function though. The corners are pretty well rounded and not symmetric across the stoich value. I think it is possible to target either the upper or lower part of the response curve very near the crossover voltage, e.g. within abou 0.2 afr. Check out the subroutine I mentioned. You'll see some interesting stuff in it.



