how-to: control closed loop AFR with your wideband O2 system
#452
Evolved Member
iTrader: (3)
I assumed I was still getting the code fur slow response because the CEL was lit again....turns out is now a 00031 code because the original o2 sensor is not plugged into the harness.
Since I'm using this modification, how do I prevent the 00031 code for the front o2 sensor?
#453
Evolved Member
iTrader: (3)
So a quick update for me...
I assumed I was still getting the code fur slow response because the CEL was lit again....turns out is now a 00031 code because the original o2 sensor is not plugged into the harness.
Since I'm using this modification, how do I prevent the 00031 code for the front o2 sensor?
I assumed I was still getting the code fur slow response because the CEL was lit again....turns out is now a 00031 code because the original o2 sensor is not plugged into the harness.
Since I'm using this modification, how do I prevent the 00031 code for the front o2 sensor?
#455
Newbie
iTrader: (3)
Tephra v7?
Anyone used this on Tephra v7 88590715? The source ROM link is broken but not the source XLS so I can make it happen...
EDIT: Compared my original ROM and all the values matched my Tephral v7 except "min coolant temp to use afr table": original 88590015 = 65495 and tephra = 117923. Endianness? or does Tephra have code/value here?
EDIT 2: Yea 117923 doesn't make any sense as just a byte swap issue. I guess there is something there from V7.
EDIT: Compared my original ROM and all the values matched my Tephral v7 except "min coolant temp to use afr table": original 88590015 = 65495 and tephra = 117923. Endianness? or does Tephra have code/value here?
EDIT 2: Yea 117923 doesn't make any sense as just a byte swap issue. I guess there is something there from V7.
Last edited by dingus; Aug 29, 2020 at 06:04 PM. Reason: more digging...
#456
Newbie
iTrader: (3)
I think this has to be a scaling "problem" with the XMLs I am using for 88590715. I poked around looking for the Tephra v5.10 bin/xml for the 88590015 and it showed the same 65495 for the "Min coolant temp to use AFR table" as my original ROM. If you look at the raw ROM in HxD for both my original 88590015 I have 0hFFFF at address 0h8738-0h8739 and the same in the TephraV7.
Aaaaand...duh.
(117923-32)/1.8 = 65495 I am using the recompile XMLs for my tephra v7 and using the ELM patched DMA...and set it all up just about a decade ago so I am having some mental catchup on how I had it all setup. Hard to find all my old notes and old lack of notes.
I know I am a bit late to the Evo IX ECU/ROM modding party but I will report back any results as I get them just in case it helps anyone else.
Aaaaand...duh.
(117923-32)/1.8 = 65495 I am using the recompile XMLs for my tephra v7 and using the ELM patched DMA...and set it all up just about a decade ago so I am having some mental catchup on how I had it all setup. Hard to find all my old notes and old lack of notes.
I know I am a bit late to the Evo IX ECU/ROM modding party but I will report back any results as I get them just in case it helps anyone else.
The following users liked this post:
211Ratsbud (Oct 1, 2020)
#458
Newbie
iTrader: (3)
I haven't had time to look at it any further but hope to this coming long weekend. I'll post the code and any notes when I get it working...I'm persistent. 😁
#460
Newbie
Looked in the code and it seemed that the old adress was still unused so no reason to change it.
So I edited the patch like this:
Changed ADC0A/Pin75 variable to 8408
Changed 36A36 from 890A to 8408 for the main sub WB RAM adress
And logged the Wideband at MUT12: 8409.
AFR safety now works. Wideband is logging.
So I edited the patch like this:
Changed ADC0A/Pin75 variable to 8408
Changed 36A36 from 890A to 8408 for the main sub WB RAM adress
And logged the Wideband at MUT12: 8409.
AFR safety now works. Wideband is logging.
#461
Evolved Member
iTrader: (25)
I've read through this thread 3 times and I can't determine why the patch won't turn on, which is something I have seen a few other also describing. I am running 88590715v7 with a working wideband input from the Rear O2 sensor input to the ECU. I installed the code per the directions, but when I turn on the function it changes nothing. Below is a screen shot of all the values used so if you see something out of line please let me know.
Below is what the log looks like so you can see the Wideband is working and the stock O2 Signal is still also working, but the simulated Front O2 just holds a constant number and the Wideband Analog signal just barely moves. I also know it doesn't work because I am targeting 15.5:1 and the log shows 14.7:1 per the wideband data.
Below is what the log looks like so you can see the Wideband is working and the stock O2 Signal is still also working, but the simulated Front O2 just holds a constant number and the Wideband Analog signal just barely moves. I also know it doesn't work because I am targeting 15.5:1 and the log shows 14.7:1 per the wideband data.
#462
slightly simplify patch
short instruction
change - "Front O2 (ADC 04) RAM variable" to 6A6E
change - "Rear O2 (ADC 0A) RAM variable" to 6A6C
change - "MUT12 Value (To Read Wideband)"to 6A6D ( if you want log wb by MUT12)
set:
Closed Loop Wideband On/Off to 1
Cold Engine Closed Loop AFR to 14.7
Min Coolant Temp To Use AFR Table to 70
calc and set:
"Wideband AFR Correlation 1/mL Value", for LC-1 1/mL = 31.9
"Wideband AFR Correlation bL/mL Value", for LC-1 bL/mL = 289
"AFR Table Multiplier High Word" (try set 3) and "AFR Table Multiplier Low Word" (try set 0xACCD) or set "modern AFR Table Multiplier" to 1
short instruction
change - "Front O2 (ADC 04) RAM variable" to 6A6E
change - "Rear O2 (ADC 0A) RAM variable" to 6A6C
change - "MUT12 Value (To Read Wideband)"to 6A6D ( if you want log wb by MUT12)
set:
Closed Loop Wideband On/Off to 1
Cold Engine Closed Loop AFR to 14.7
Min Coolant Temp To Use AFR Table to 70
calc and set:
"Wideband AFR Correlation 1/mL Value", for LC-1 1/mL = 31.9
"Wideband AFR Correlation bL/mL Value", for LC-1 bL/mL = 289
"AFR Table Multiplier High Word" (try set 3) and "AFR Table Multiplier Low Word" (try set 0xACCD) or set "modern AFR Table Multiplier" to 1
Last edited by Dow Jhob; Dec 20, 2021 at 09:39 AM. Reason: add "modern AFR Table Multiplier" and short instruction
The following users liked this post:
dingus (Mar 10, 2022)
#464
refactor - move subroutine patches into Front/Rear_02 category
Last edited by Dow Jhob; Dec 14, 2021 at 07:25 AM.
#465
Evolved Member
iTrader: (25)
I suspect the problem resides in how Tephra 88590715_v7 applies the rear O2 patch for running the wideband, which perhaps uses a different address. Can you provide your XML code for the Rear 02 patch that allows you to run the wideband. I probably need to go through the original thread for Logging AFR through the rear O2 sensor and verify mine is setup that way since that was the basis for MrFred's mod to work correctly.
https://www.evolutionm.net/forums/ec...ial-cable.html