RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Fri May 24, 2013 8:37 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 209 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13, 14  Next
Author Message
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Dec 07, 2011 4:21 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
I had an issue with stumbling when I touched the throttle after idling for a while, so I put all of these tables back to stock, and took another shot at modifying them. My main goal was to minimize the effect of this stuff at high load (fix the rich dip), without screwing up anything else (no more stumbles) so the key changes are in the tables that have a load axis.

I left things stock at low loads and low coolant temperatures where I possible, since I don't drive hard when the engine is cold, and I don't fully understand the intent behind all of this stuff. It seems to me that Subaru's tuners did a good job with these tables at low loads, they just didn't know about or care about what happens during spoolup (even with the stock turbo, intercooler, etc).

So:

The A term has a "rising load activation" table with load and ECT axes, and I zero'd it at 1.2 g/rev when the engine is warm. So at low load, and/or when code, it behaves like stock.

The "falling load activation" for input A only has an ECT axis, so unfortunately it can't be left stock a low loads. So, I zero'd it when the engine is warm. I have a hunch that this aspect of the stock tune (reducing fuel when you lift off the throttle) might contribute to the intermittent FBKC that I sometimes see at the end of a WOT pull, or when I lift to shift, but I haven't yet verified that changing this table makes a measurable difference in that behavior.

The B term has an activation table with a load axis, which is active for both rising and falling load. I just made it taper linearly to 0% at 0.8 g/rev. There's no science behind that change, it just made a nice straight line in the graph. I've included the stock version in the screenshot just for comparison.

I still need to do some more data logging to confirm these, but if the logs confirm what my butt-dyno is telling me, then I'm probably done tinkering with these tables.

And when I define these tables for other ROMs I'll likely just define these three, since they seem to be sufficient to fix the rich dip, without adversely affecting driveability. They're also relatively easy to explain and understand.


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

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Dec 07, 2011 12:37 pm 
Offline
Newbie

Joined: Tue Nov 14, 2006 2:05 pm
Posts: 49
NSFW,

I made those same changes on my ROM, I will flash and let you know how it goes.
here's a screenshot for those using RR.


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


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Dec 07, 2011 5:42 pm 
Offline
Newbie

Joined: Tue Nov 14, 2006 2:05 pm
Posts: 49
Those changes made my Final Fueling Base stay within 1-2% of the OL Fueling table.
Much smoother power delivery, awesome work!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Thu Dec 08, 2011 1:24 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
Cool! I need to go find these tables in some more ROMs.

06 STI is next on the list, and someone with a spec B was also interested but I forgot who, and which year.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Thu Dec 08, 2011 9:57 am 
Offline
RomRaider Donator

Joined: Thu May 20, 2010 4:01 am
Posts: 1430
Location: Johannesburg, South Africa
If you're feeling generous NSFW ;) the 08's would be great (AZ1G201G)

I do think I've found the routines, by the way - it's just that they look quite fundamentally different from your rom, and it definitely looks like the right tables are in there, these are also slightly different (with different size axes for some - e.g. the JDM 3d table posted earlier in this thread, and different axes in some cases). I just don't trust my disassembly skills enough to call it.

If you've got a chance, here's my IDC file: http://dl.dropbox.com/u/3099895/2%20oct ... MPLETE.idc

The areas I've been exploring start at 0x2B960 - if you do a graph view, it's clearer. One of the branches seems to be the TauB routine (with the sigmoid tables in it) Start: 0x2BBC0
End: 0x2BDCE. The big pain is that there's a ton of indirect addressing (which I've mostly resolved), but also a whole lot of pushing stuff onto the stack and off the stack...

_________________
___________________________________
He who dies with the most gadgets wins.


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Tue Dec 13, 2011 6:32 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
Anybody want to try tuning this for the USDM 06 STI?

Code:
   <scaling name="Multiplier" units="Multiplier" toexpr="x*0.0004882813" frexpr="x/0.0004882813" format="%.3f" min="0" max="31.9995" inc="0.1" storagetype="uint16" endian="big"/>

   <table name="Input A Falling Load Activation (ECT)" category="Fueling - Load Change Compensation" address="c66f2" type="2D" scaling="Multiplier">
      <table name="ECT" address="c60e0" type="Y Axis" elements="16" scaling="CoolantTemp(DegreesF)"/>
   </table>

   <table name="Input B Activation (Load)" category="Fueling - Load Change Compensation" address="c67d4" type="2D" scaling="Multiplier">
      <table name="Load" address="c67a8" type="Y Axis" elements="11" scaling="EngineLoad(g/rev)1"/>
   </table>

   <table name="Input A Rising Load Activation (ECT, Load)" category="Fueling - Load Change Compensation" address="c7da4" type="3D" scaling="Multiplier">
      <table name="ECT" address="c60e0" type="X Axis" elements="16" scaling="CoolantTemp(DegreesF)"/>
      <table name="Load" address="c7d98" type="Y Axis" elements="3" scaling="g/rev"/>
   </table>



Make a backup of your current ROM definition file first. You'll find it at:
Code:
\Program Files (x86)\OpenECU\EcuFlash\rommetadata\subaru\Impreza STi\A2ZJE11J.xml


Either copy the attached definition file to that location, or insert the XML above right below the "<include>32BITBASE</include>" line in the existing file. The start EcuFlash and open your ROM. You should see three new tables, like the bottom screenshot.

The first screenshot contains my suggested setup for these tables:

* Input A Falling Load Activation - I just subtracted 1.0 from every cell.

* Input A Rising Load Activation - At 1.0 load, with a warm engine, the multiplier is 50% of the stock value. At 1.2 load, with a warm engine, the multiplier is zero.

* Input B Activation - At 0.6 g/rev the multiplier is 0.5, and at 0.8 and higher, the multiplier is zero.

I'm not saying these settings are perfect but I think you'll find that the rich dip is about half what is with the stock settings. However I'd appreciate confirmation of that. I'd really like to see some logs from someone to confirm the results we've had so far with the LGTs.

First, log a couple of with your current tune, starting at around 5000 RPM and just stomping on the throttle until you reach redline. Log both "Primary Open Loop Enrichment" and "Final Fueling Base," and you should see FFB dipping rich while your turbo is spooling. Then make these changes and log a couple more pulls, and you should see FFB tracking your fuel table pretty closely. Hopefully the rich dip will be down to tolerable levels.

I'd really like to see results from both TMIC and FMIC cars, too.

Thanks!


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

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Dec 14, 2011 4:35 pm 
Offline
Experienced

Joined: Sat Jun 30, 2007 12:09 am
Posts: 102
NSFW, just wanted to thank you for your hard work on this issue. Its much appreciated.


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Thu Dec 15, 2011 2:54 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
You're welcome. :)

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Jan 04, 2012 2:39 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
I just stumbled on Megasquirt's page about what they call "x-Tau," which I suspect it what these tables are all about. However I have to admit that I don't understand the way these tables interact anywhere well enough to relate them to the stuff discussed on this page:

http://www.megamanual.com/ms2/xtau.htm

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Jan 04, 2012 4:14 am 
Offline
Experienced

Joined: Mon Jan 19, 2009 2:31 pm
Posts: 974
Location: Saratov, Russia
There are many ways to implement wall-wetting corrections.
X-Tau algo with simple RPM/Temp decoupled corrections is not the best but it is much better then nothing.

You should also take into account that those corrections are intake air\intake wall (cylinder head) temperature dependent that is not the same as coolant temp used usually.


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Wed Jan 04, 2012 5:30 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
Very interesting. I assumed very early in this investigation that the axes on many of those tables were coolant temp because they share the same column values as tables that are definitely coolant temp, but at some point I found code that wrote to the RAM address that I thought was coolant temp, and it was doing more than simply coolant temp. RPM was a factor, if I remember correctly. I didn't figure it out, since it seemed to act a lot like coolant temp I did not spend much time on it... Wall temperature sounds very likely, I had not thought of that, but it makes sense.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Thu Jan 05, 2012 8:41 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 3667
Location: Canada eh!
Or could it be a fuel temperature compensation?


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Fri Jan 06, 2012 2:50 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2273
Also a good theory. I'll look for xrefs between fuel temp and the temperature variable used for this stuff.

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, LC, FFS, OMG
Please don't send me tuning questions via PM - use the forums instead. Thanks!


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Mon Jan 16, 2012 10:25 am 
Offline
RomRaider Donator

Joined: Thu May 20, 2010 4:01 am
Posts: 1430
Location: Johannesburg, South Africa
NSFW wrote:
I just stumbled on Megasquirt's page about what they call "x-Tau," which I suspect it what these tables are all about. However I have to admit that I don't understand the way these tables interact anywhere well enough to relate them to the stuff discussed on this page:

http://www.megamanual.com/ms2/xtau.htm


Very interesting read this, thanks for the link. I'm very keen to try this out, not 100% confident that the tables I've discovered are these, as the logic is markedly different in the '08 STI's.

_________________
___________________________________
He who dies with the most gadgets wins.


Top
 Profile  
 
 Post subject: Re: "FMIC Rich Dip" partially caused by the ECU
PostPosted: Thu Feb 02, 2012 3:53 pm 
Offline
RomRaider Donator

Joined: Thu May 20, 2010 4:01 am
Posts: 1430
Location: Johannesburg, South Africa
Thought I'd put this in here, since I referenced it incidentally in the SD thread:

Quote:
By the way, I took a leap of faith and adjusted what I think are the x-Tau tables on my ROM - seems that I have found them. Might be in my head, but throttle seems much more responsive when I punch it at medium to higher RPMs. Need to look at the data. What I have seen is that tip-in figures need a revamp now. Initially I halved my tip-in enrichment table (running 1200cc's), but that created horrible lean spikes. Then again, I'm running an 83mm CAI... With these adjustments now, other than increasing the value, I'm going to also up the duration tables.


So I've had a look at the data, I'm pretty confident I've found these for the '08 EDM Sti. I basically made the same changes as you did NSFW, and did some test runs by punching the throttle at RPMs above 4000 or so. What I'm seeing is that open loop fueling target and final fueling base are now basically identical at the point of rapid load change / rapid throttle change. I gather this is the desired effect? I'm running a (whopping large) TMIC, so I never noticed the rich dip until this discussion - but the car certainly feel like it responds to the throttle input much more readily now (which would make sense if the AFRs are not dipping). Hmmm... just noticed that on letting off the throttle, the OL target and final target are also identical now - I gather that's the declining load tables at work.

_________________
___________________________________
He who dies with the most gadgets wins.


Last edited by td-d on Thu Feb 02, 2012 4:21 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 209 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13, 14  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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