RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 9:13 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 112 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: Driver Information Panel Fuel Consumption Correction
PostPosted: Sun Apr 28, 2013 11:34 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
While scratching around in the ROM sorting out the RomRaider CAN bus logging update I came across the fuel efficiency calculation routine. This routine calculates a uint16 value which is then sent out on the CAN bus to the Combination Meter. The Combination Meter uses this info plus Vehicle Speed from the ABS/VDC and remaining fuel from the BIU to calculate Instant fuel efficiency, Average fuel efficiency and Remaining travel distance to be displayed in the Driver Information Panel.

This definition will be important to people who have changed their fuel injectors to a non-stock size as the injector pulse width is a key component in the fuel efficiency calculation.

When the injectors are changed out for large capacity injectors the pulse width shortens for the same fuel quantity delivered. The shorter pulse width is erroneously translated into better fuel efficiency by the ECU. To use this correction definition you will most likely be increasing the value from stock. There's two approaches which can be used to determine a starting correction, which can be fine tuned later.
  1. You can use the change in injector size to determine a correction to apply.
    First, obtain the Injector Flow Scaling for your stock ROM as displayed by RomRaider. Then obtain the Injector Flow Scaling for your modified ROM as displayed by RomRaider. Calculate the correction as follows:
    Injector Flow Scaling Modified / Injector Flow Scaling Stock = correction
  2. An alternate method to determine the correction which may work better for people using high Ethanol fuel blends is to calculate your fuel consumption in the traditional manner. Which is to reset the trip meter, fill the tank and drive until at least half a tank of fuel is consumed, refill the tank and calculate your consumption over that distance. Then compare this to the Driver Information Panel Average Fuel Efficiency value. Calculate the correction as follows:
    Fuel Efficiency Calculated / Info Panel Average Fuel Efficiency = correction
With this correction value in hand you can apply it to the 'EXPERIMENTAL Info Panel Fuel Efficiency Correction' in the 'Fueling - Injectors' category as defined by the following definition update.

To apply this update to your ROM, search for your CAL ID in the RomRaider ECU definition XML file using a text editor. If you find your CAL ID inherits from a previous CAL ID then apply this update to the inherited CAL ID. Once you locate the CAL ID, scan down the definition until you locate the table entry for name="Injector Flow Scaling". After this line insert the following code:
Code:
  <table type="2D" name="EXPERIMENTAL Info Panel Fuel Consumption Correction" category="Fueling - Injectors" storagetype="float" endian="big" sizey="1" userlevel="2" storageaddress="0x#####">
   <scaling units="ESTIMATED Fuel Efficiency Correction" expression="x" to_byte="x" format="0.000" fineincrement=".1" coarseincrement="1" />
   <table type="Static Y Axis" name="" sizey="1">
    <data>Fuel Efficiency Correction</data>
   </table>
   <description>This is the correction applied to the fuel efficiency calculation to account for injector size change. Adjust this value by the same percentage as used for injector scaling. NewCorrection = CurrentCorrection * (NewInjectorScale / OldInjectorScale)</description>
  </table>
Once you have inserted the code change the value of the parameter storageaddress="0x#####" and replace the ##### with the address value defined for your CAL ID. Save the XML file.

Open your modified ROM and open the table 'EXPERIMENTAL Info Panel Fuel Efficiency Correction' in the 'Fueling - Injectors' category. Select the current value and enter the correction you calculated in the table modify field. Click the 'Mul' button.
Attachment:
correction_applied.png
correction_applied.png [ 7.71 KiB | Viewed 27841 times ]
Save the ROM and flash the update to the ECU.
This initial correction should get the readings closer to reality. Adjust the 'EXPERIMENTAL Info Panel Fuel Efficiency Correction' as required to obtain the best realistic result after a few tanks of fuel.

storageaddress="0x#####" by CAL ID:
A2TB001L: C17AC
A2UG000L: C17AC
A2UG001G: C1850
A2UG002T: C1850
A2UI000Y: C1854
A2UI000Z: C1854
A2WC510N: C141C
A2WC521N: C1428
A2WC521S: C1428
A2WC522N: C1428
A2WC522S: C1428
A2WD002T: 62838
A2WF200C: C1428
A2ZJD02G: 5EF84
AE5I910L: C14BC
AE5I910V: C1200
AE5IB00L: C14BC
AE5IB00V: C1200
AE5K500V: C1214
AE5K611L: C14D0
AE5K611V: C1214
AZ1E400C: C10C8
AZ1G101M: C10CC
AZ1G101N: C10CC
AZ1G201G: C0E14
AZ1G202G: C0E14
AZ1G202I: C0C54
AZ1G300F: C10EC
AZ1G400W: C10CC
AZ1G700J: C0E18
AZ1G800D: C10D0
AZ1G800F: C0ED8
AZ1G800S: C10F0
AZ1G800T: C1188
AZ1G800V: C1170
AZ1G900C: C10D0
AZ1G900O: C10D0
AZ1G900P: C10D0
AZ1J500G: C0E1C
AZ1J500J: C0EE0
AZ1J500V: C10D8
D0XJ001M: C07F8
D0XJ001T: C07F8
D2UH001M: C0808
D2UH001T: C0808
D2UJ001M: C0808
D2UJ001T: C0808
D2WD603H: 72D48


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Sun Apr 28, 2013 9:47 pm 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
I have been using this since April 17 and my fuel consumption gauge is now spot on. :D I had to calibrate mine twice as I was on e85. First was for the computed multiplier (new injector/old injector). 2nd time, I ensured I had it stop at automatic at full tank. When I was almost at empty, refilled again at the same pump up to automatic stop only. Computed for actual FC 100/(kilometers driven/liters of fuel). I divided this with what my fc gauge displayed and multiplied it with the fuel efficiency correction value.

Im using ID 1000cc on e85 using a scalar of 662.46. My fuel correction efficiency value is 13.810
My friend Raymond is on ID 1000cc and using Petrol, scalar of 890. His actual fuel correction is 14.756

Thanks Dale for finding this table, been searching for this a long time now :D
http://legacygt.com/forums/showthread.php/fuel-economy-meter-now-inaccurate-116657.html
viewtopic.php?f=15&t=6033


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Mon Apr 29, 2013 5:29 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 1:46 pm
Posts: 863
AE5IB00V and all above posted to github: https://github.com/Merp/SubaruDefs/commits/Alpha

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Fri May 03, 2013 8:14 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 1:46 pm
Posts: 863
AZ1G101M, AZ1G900P,AZ1G900C,AZ1J500J, and AE5I910V all pushed to git.

Throttlehappy, if you upload the AZ1J500V ECUFlash def to the thread I'll add this table and push it.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: 08 STI, computer MPG way off
PostPosted: Tue May 07, 2013 9:18 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 1:46 pm
Posts: 863
throttlehappy wrote:

Is this a suitable EcuFlash definition script?


https://github.com/Merp/SubaruDefs/comm ... 102a4eac96

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Sat May 18, 2013 11:41 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
First post updated with recent requests.


Top
 Profile  
 
 Post subject: Re: 08 STI, computer MPG way off
PostPosted: Sun May 19, 2013 6:14 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
Merp wrote:
throttlehappy wrote:

Is this a suitable EcuFlash definition script?


https://github.com/Merp/SubaruDefs/comm ... 102a4eac96


Thanks for ecuflash conversion ;-)


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Thu May 30, 2013 1:15 am 
Offline
Senior Member

Joined: Sat Feb 12, 2011 7:27 pm
Posts: 2031
Location: Northern NSW
Can confirm that E85 uses the normal injector size change, so ID1000's upgraded from 550's is around a 1.84 multiplier. Injector size change for E85 obviously alters the pulsewidth anyway :)


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Sat Jun 08, 2013 1:29 am 
Offline
Newbie

Joined: Mon Nov 08, 2010 2:22 am
Posts: 16
I would love to use this for a 2008 STi, CAL ID AZ1G202I. I tried the 202G and a zero is at that location so I'm pretty sure it's wrong. Can anyone give me pointers on how to find it? Reference the same difference from another table?


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Sat Jun 08, 2013 2:22 am 
Offline
Moderator

Joined: Thu May 20, 2010 4:01 am
Posts: 3117
Location: Johannesburg, South Africa
brokenboy wrote:
I would love to use this for a 2008 STi, CAL ID AZ1G202I. I tried the 202G and a zero is at that location so I'm pretty sure it's wrong. Can anyone give me pointers on how to find it? Reference the same difference from another table?

C0C54

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Sat Jun 08, 2013 11:43 am 
Offline
Newbie

Joined: Mon Nov 08, 2010 2:22 am
Posts: 16
Thanks so much!


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Mon Jun 10, 2013 3:05 pm 
Offline
Newbie

Joined: Mon Sep 25, 2006 6:40 pm
Posts: 25
I think AE5I910L is C14BC. That's the only address I can find with 9.0249996 in it.


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Mon Jun 10, 2013 6:39 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
bluescoobywagon wrote:
I think AE5I910L is C14BC. That's the only address I can find with 9.0249996 in it.
Yes it is.


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Tue Sep 03, 2013 11:15 am 
Offline
Senior Member

Joined: Sat Feb 12, 2011 7:27 pm
Posts: 2031
Location: Northern NSW
A2WD002T

<table name="Info Panel Fuel Consumption Correction" category="Fuel" address="62838" type="2D" level="1" scaling="rawecuvalue">
<description>This is the correction applied to the fuel efficiency calculation to account for injector size change. Adjust this value by the same percentage as used for injector scaling. NewCorrection = CurrentCorrection * (NewInjectorScale / OldInjectorScale)</description>
<table name="Fuel Efficiency Correction" type="Static Y Axis" elements="1">
<data>Value</data>
</table>
</table>


Top
 Profile  
 
 Post subject: Re: Driver Information Panel Fuel Consumption Correction
PostPosted: Fri Nov 08, 2013 6:24 pm 
Offline
Newbie

Joined: Fri Jun 04, 2010 2:32 pm
Posts: 17
I'm not really sure what I did wrong, but as of right now I am seeing ZERO change in my mpg average on the display. I tried using the calculations multiple times, and when they didn't work, I plugged in huge numbers just to see of they would make a difference. I currently have 56.00 in there and am still getting 27mpg on e85 according to the gauge but an actual calculation of closer to 17mpg. Maybe I am just not waiting long enough for it to correct...how long does it take to actually start showing the effect? I assumed it would be pretty instant since it is reading raw ecu data...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 112 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  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