RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 5:15 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: STFT correction logic - definition request
PostPosted: Fri Dec 18, 2009 5:00 pm 
Offline
Experienced
User avatar

Joined: Tue May 01, 2007 12:02 am
Posts: 521
I have changed the location of my front O2 to the DP. I get AFR fluctuations that indicates the STFT are adjusting too fast for the amount of time it takes for the exhaust gasses to reach the sensor.

I imagine there is some sort of PID logic that controls the STFT.

Any chance of them getting defined?

I assume they are different in the OEM TS cars.

This would be very helpful for anyone that wants to run OEM O2 in the PD, or anyone with a TS set-up.

_________________
05 LGT (ST and OS tuning) AVO380/TMIC/header/TBE/alky/AEM CAI


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Fri Dec 18, 2009 6:17 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
I've see the fluctuations as well, like low-14s to low-15s every second or two. I'm pretty sure I saw them back when I had the sensor in the headers too though. I think it's by design. Someone posted something a while back the described deliberate AFR changes to improve catalyst efficiency.

It would be great to have someone log several seconds of idle, with a 32-bit ECU, warm engine and stock O2 sensor setup, just to confirm / dispute my "not related to the O2 relocation" theory. Interesting parameters would be just AFR (ideally wideband, but stock may be OK) and time. Nothing else. Faster logging of AFR would be better than slower logging of AFR and anything else. :)

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat Dec 19, 2009 1:26 pm 
Offline
Experienced
User avatar

Joined: Tue May 01, 2007 12:02 am
Posts: 521
NSFW wrote:
I've see the fluctuations as well, like low-14s to low-15s every second or two. I'm pretty sure I saw them back when I had the sensor in the headers too though. I think it's by design. Someone posted something a while back the described deliberate AFR changes to improve catalyst efficiency.

It would be great to have someone log several seconds of idle, with a 32-bit ECU, warm engine and stock O2 sensor setup, just to confirm / dispute my "not related to the O2 relocation" theory. Interesting parameters would be just AFR (ideally wideband, but stock may be OK) and time. Nothing else. Faster logging of AFR would be better than slower logging of AFR and anything else. :)


Maybe, but with the front O2 in the DP there is a definite drive-ability problem. The swings are too big, and affect consistent vehicle performance. Something that was not there when the O2 sensor was in the header.

I do not have logs showing AFR swing when it was in the header, but I have lots with it in the DP. There is no mistaking the feel of the car now in CL.

_________________
05 LGT (ST and OS tuning) AVO380/TMIC/header/TBE/alky/AEM CAI


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat Dec 19, 2009 9:38 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
That's odd, I didn't notice any difference when I moved the sensor to the bellmouth. I've asked a local guy to log his stock-location O2 sensor, so hopefully we'll have something to compare against in the next few days or so.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sun Dec 20, 2009 5:39 am 
Offline
RomRaider Donator

Joined: Sat Mar 01, 2008 10:31 pm
Posts: 696
STFT logic is very complex - basically taking current target afr and comparing it to current sensor reading and adding/subtracting fuel (jist of it)

there are a bunch of bits that its based off of and a few other compensations additions that complete it. Its not simple like long term fuel trims, there is no store maximum (persay) - I mean there is, but its not stored in the same fashion.

Given we are talking 16bit, its not something that is extremely easy to manipulate.

_________________
2002 WRX
12.07@115.9 1/4 (Best)
7.54@93 1/8th (Best - Not same run :|)
Greddy 18g
Corn Fed
ID1000's
Sleeper


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sun Dec 20, 2009 6:03 am 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
Do you have those AFR swings at idle or steady state low RPM\TPS\LOAD?

Or do you have drivability problems under changing TPS position (at low\middle RPM)?

In the last case you probably need to run open loop for 300-500 ms just after throttle movement. And adjust tip-in enrichment more closely. I believe it is possible to control.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sun Dec 20, 2009 7:57 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
I see the swings at idle.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sun Dec 20, 2009 8:20 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
NSFW wrote:
I see the swings at idle.


Fortunately this could not limit the maximum velocity.. :lol:


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Mon Dec 21, 2009 5:29 am 
Offline
Experienced
User avatar

Joined: Tue May 01, 2007 12:02 am
Posts: 521
JSarv wrote:
STFT logic is very complex - basically taking current target afr and comparing it to current sensor reading and adding/subtracting fuel (jist of it)

there are a bunch of bits that its based off of and a few other compensations additions that complete it. Its not simple like long term fuel trims, there is no store maximum (persay) - I mean there is, but its not stored in the same fashion.

Given we are talking 16bit, its not something that is extremely easy to manipulate.


My car has a 32 bit ECU.

:?:

_________________
05 LGT (ST and OS tuning) AVO380/TMIC/header/TBE/alky/AEM CAI


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Mon Dec 21, 2009 5:36 am 
Offline
Experienced
User avatar

Joined: Tue May 01, 2007 12:02 am
Posts: 521
Sasha_A80 wrote:
Do you have those AFR swings at idle or steady state low RPM\TPS\LOAD?

Or do you have drivability problems under changing TPS position (at low\middle RPM)?

In the last case you probably need to run open loop for 300-500 ms just after throttle movement. And adjust tip-in enrichment more closely. I believe it is possible to control.


Idle is good, 50% of steady state driving sees the swings, the 50% doesn't.

There is the odd driveability problem at low throttle positions. I skewed the O2 sensor's calibrations, so the corrections wouldn't be soo bad, it worked, but not 100%.

Obviously tip-in has no affect on this issue, but I am sure I could adjust it a bit better.

Not sure exactly what you mean by, "In the last case you probably need to run open loop for 300-500 ms just after throttle movement."

Thanks

_________________
05 LGT (ST and OS tuning) AVO380/TMIC/header/TBE/alky/AEM CAI


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Mon Dec 21, 2009 8:27 am 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
After throttle position is changed it is useful to stop AFR corrections to be done. For about a part of a second. Run openloop this period.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Tue Dec 22, 2009 4:39 pm 
Offline
Newbie

Joined: Wed Apr 04, 2007 5:51 pm
Posts: 9
has any one done testing to see just how accurate the front o2 sensor is when moved from pre turbo to post turbo? I know pre turbo can cause issues do to back pressure. I'm wondering if the stock front o2 becomes more accurate/reliable for higher load situations when placed post turbo?

Thanks for the link, it would appear as though my searching skills could use some work ;)


Last edited by tunermt on Tue Dec 22, 2009 10:04 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Tue Dec 22, 2009 7:22 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
We already did that thread. :)
http://www.google.com/search?q=relocate ... raider.com

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat Dec 26, 2009 9:26 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
This is from a log of the "AF Sensor #1 (2-byte)" parameter from an 05 Legacy GT with the OEM O2 sensor in the stock location. The engine was warmed up with some driving, then this log was taken while it just idled. The Time column in this log was in a weird format (35:41.4 ???) so the X-axis is just the samples number. There were about 10 per second.

Image

The owner is going to move the sensor to the downpipe in the next few days, so we'll get a comparison.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat Apr 24, 2010 5:41 pm 
Offline
Experienced

Joined: Thu Jun 18, 2009 4:23 am
Posts: 102
Might have missed it somewhere else, but was there ever an update to this? How'd this owner fair with the sensor in the dp?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl