RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

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

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sun Apr 25, 2010 3:53 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
I forgot about this thread... don't remember if he moved the sensor or sent me a log, but I'll check my email...

_________________
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: Wed Apr 28, 2010 6:19 pm 
Offline
Experienced

Joined: Mon May 01, 2006 6:15 pm
Posts: 126
Wow. What a great time for you to bump this thread. I recently did some mods that required me to move my O2 sensor to the downpipe. I now have a slightly oscillating idle that I completely attributed to a vacuum leak - which I have been unable to find (hooked up my pressure testers and tested everything that I could).

I have a new O2 sensor on the way. I'll report back if that affects it. It's a shot in the dark but, at the same time, I am overdue to replace this sensor. It was time for a new one anyhow. Mine is coated with MMT from when I use to run Torco a couple years ago.

Another thought is that maybe mine is due to unplugging the rear O2 and running the LC1 in it's place (with the narrowband output routed to the ECU). If the new front O2 doesn't help ... and if this thread doesn't get updated with more advice, then I will try reinstalling my rear O2 just to see if that helps.

I'm also going to do a quick test later this week whereby I cap off every single item except the FPR on the manifold and see if by chance that helps. But, this still makes no sense because I didn't have this issue before I swapped header, turbo, and O2 sensor to the downpipe. No modifications were made to the intake stream.

t


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Wed Apr 28, 2010 8:35 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
In order to damp AFR oscillations at idle you need to decrease integrating and probably proportional gain in CL control. This is needed due to additional delay for exhaust gases propagation.

The question is how this may be provided for your particular ECU.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Thu Apr 29, 2010 1:44 am 
Offline
Experienced

Joined: Mon May 01, 2006 6:15 pm
Posts: 126
Here is a hack that works (not saying this is a great thing to do).

In the open loop fueling table, change the left topmost cell (lowest load and lowest RPM) to a slightly richer value. I used 14.39 and blended the adjacent cells.

I don't understand why this works but it does work for smoothing out the idle. I don't understand how the open loop table can affect closed loop operation

t.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Thu Apr 29, 2010 4:11 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
If the open loop enrichment puts your AFR below the open loop threshold, the car stays in open loop.

The open loop threshold is adjustable - I have mine set to 14.65. While I was doing MAF scaling I set the top-left corner of the fuel table to 14.60 to keep the car in open loop.

I can't find an email from that guy I was talking to. If anyone has the O2 sensor in the stock location, please log a minute of idle and a minute of cruise, after the sensor warms up and the ECU goes into closed loop. :)

_________________
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: Thu Apr 29, 2010 11:51 am 
Offline
Experienced

Joined: Mon May 01, 2006 6:15 pm
Posts: 126
Thanks for the input! Its the little things like this that correct my understanding of something .... that makes all the difference in the world.

t


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Fri Apr 30, 2010 2:04 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
NSFW wrote:
I can't find an email from that guy I was talking to. If anyone has the O2 sensor in the stock location, please log a minute of idle and a minute of cruise, after the sensor warms up and the ECU goes into closed loop. :)

What parameters would you like logged exactly?


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Fri Apr 30, 2010 5:06 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
Just these two:

AF Sensor #1
Closed loop fueling target

And check learning view before and after each log. Just in case the fuel trims change (I doubt they will).

_________________
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: Fri Apr 30, 2010 9:51 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
I think I did this wrong. I logged correction #1 instead, sorry.
But looking at these logs leads me to believe I have a air leak.
This must be as a result of my recent clutch work, I had the intake pre-turbo apart while the car was down.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat May 01, 2010 2:47 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
The 'cruise' log shows what I was looking for: the ECU varies the target AFR from about 14.1 to 14.85 continuously, about one cycle per second. On two or three occasions now I've heard from people who moved their sensor back, saw those oscillations, and decided that moving the sensor to the DP was a mistake. I was pretty sure it happened in the stock location too, thanks for providing proof. :)

The CL target parameter remains constant during idle, but I suspect that the same thing happens at idle as well. It's just controlled by a difference piece of code, so it isn't visible with the same CL target logging parameter.

_________________
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 May 01, 2010 12:28 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
"the ECU varies the target AFR from about 14.1 to 14.85 continuously"

This is needed for ecology - this is the way ThreeWayCatalist lives.
TWC periodically stores oxygen and burn CO&CH when mixture is lean and restores NOx when mixture is rich.

BUT. Moving AFR sensor far from exhaust you may get those oscillation at idle due to improper CL calibrations - lesser CL gain(s) are required badly due to AFR sensor signal delayed.


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat May 01, 2010 2:22 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
So you are saying we have not yet defined the code that allows us to change the CL operating parameters?
Or, we haven't tuned the parameters we already know of?


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat May 01, 2010 5:41 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
Sasha has an interesting point. Dschultz, if you could do some logging of idle (just sit for 30 seconds, after driving for a few minutes to get the engine warm), that would be great. I'm very curious if it fluctuates as much. My car behaves similarly at both idle and cruise, but I've moved my O2 sensor to the downpipe.

I got one of the parameter names wrong last time, try to log these two parameters:
* AF Sensor #1
* CL Fueling Target (2-byte)
If "CL Fueling Target" isn't supported for your car, then just log the first one.

Thanks!

_________________
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 May 01, 2010 6:51 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
dschultz wrote:
So you are saying we have not yet defined the code that allows us to change the CL operating parameters?
Or, we haven't tuned the parameters we already know of?


I know exactly that it impossible to create any CL system without loopback gain(s) defined.
Fuel CL uses at least proportional and integrating factors (probably load\RPM dependent). They may exist as factors not defined currently or "hard coded".


Top
 Profile  
 
 Post subject: Re: STFT correction logic - definition request
PostPosted: Sat May 01, 2010 7:04 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
dschultz wrote:
So you are saying we have not yet defined the code that allows us to change the CL operating parameters?
Or, we haven't tuned the parameters we already know of?


Dunno about your ROM, but the definition for mine does not include parameters that would affect the CL fueling feedback loop, or the frequency or amplitude of the target AFR fluctuations. Most people using RomRaider are primarily interested in power, which happens in open loop, so none of that stuff matters to most of us.

But, you can disable it completely if you set the OL threshold to 14.65, and make the highest target AFR in your fuel table 14.60. Getting rid of the feedback loop makes MAF and injector scaling a little easier, but my car drives the same either way, so I went back to normal when I was done.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl