Scangauge MPG formula - Fuelly Forums

Click here to see important news regarding the aCar App

Go Back   Fuelly Forums > Fuel Talk > Hypermiling
Today's Posts Search Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 12-18-2007, 05:50 PM   #1
Registered Member
 
Join Date: Dec 2007
Posts: 11
Country: United States
Scangauge MPG formula

Does anyone know how Scangauge computes its MPG? For most (if not all) cars it would have to be derived from some combo of OBDII sensor readings.
__________________

VNelson is offline   Reply With Quote
Old 12-18-2007, 06:02 PM   #2
Registered Member
 
Join Date: Apr 2006
Posts: 183
Country: United States
Distance from (VSS * time) / Sum(Injector pulse width) * adj factor

That would be my guess
__________________

cheapybob is offline   Reply With Quote
Old 12-18-2007, 06:09 PM   #3
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
We worked through a lot of this here. Depends what pids your car sends.
http://www.gassavers.org/showthread....highlight=trim
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 12-18-2007, 06:47 PM   #4
Registered Member
 
Join Date: Dec 2007
Posts: 11
Country: United States
Thanks, skewbe. I thought it would vary depending on available codes.
VNelson is offline   Reply With Quote
Old 12-18-2007, 09:43 PM   #5
Registered Member
 
Join Date: Dec 2007
Posts: 11
Country: United States
Well, I read the thread and it had no actual formulas. My OBDII does not report MAF so I needed an estimator. I did some Internet searching and found this thread:

http://www.mp3car.com/vbulletin/engi...-maf-obd2.html

Reading through it the catch is without an MAF you need an estimate of volumetric efficiency (VE). I read elsewhere that for a modern 4-cylinder most people use 80%. I suppose you could fiddle with that number a bit.


In the thread, Bruce Lightner had the clearest explanation and here are his formulas:

MPG = (14.7 * 6.17 * 454 * VSS * 0.621371) / (3600 * MAF / 100)
MPG = 710.7 * VSS / MAF

Note that OBD-II VSS reading is in kilometers/hour and MAF reading is grams/sec times 100.

This formula works very well in a modern automobile because the engine computer spends almost 100% of its time managing the fuel-air-ratio to 14.7, which it can do very well because of the "closed loop" feedback from the O2 sensor(s).

In fact, the accuracy of this method has been proven in literally tens of thousands of gasoline-powered vehicles. Accuracy within a few percent is typical, often limited by the accuracy of the vehicle speed reading (i.e., VSS).

As for other ways of doing this, especially if you don't have a MAF sensor, by knowing the displacement of the engine, and after a simple "calibration" using fuel tank "fill-up" data to find the only unknown, namely the "volumetric efficiency" (VE) of the engine, MAF can be calculated from RPM, MAP and IAT. With VE, one can use the following formulas to calculate a synthetic "mass air-flow" (MAF) in grams per second, all without a MAF sensor, using the "Ideal Gas Law", as follows:

IMAP = RPM * MAP / IAT
MAF = (IMAP/120)*(VE/100)*(ED)*(MM)/(R)

where manifold absolute pressure (MAP) is in kPa, intake air temp (IAT) is in degrees Kelvin, R is 8.314 J/°K/mole and the average molecular mass of air (MM) is 28.97 g/mole. Note that, in the above formula, the volumetric efficiency of the (4-cycle!) engine is measured in percent and the engine displacement (ED) is in liters.

The VE of my 1999 7.4L Chevy Suburban is about 65%. Smaller, higher performance engines can have VE's of 85% or higher.

Best regards,

Bruce D. Lightner
VNelson is offline   Reply With Quote
Old 12-21-2007, 07:33 AM   #6
Registered Member
 
Join Date: Apr 2006
Posts: 183
Country: United States
The lack of injector pulse input from the OBDII explains why the MPG ends up as an approximation, because it has to assume a 14.7 to 1 A/F ratio as a basis for the calculation. This means it is true that the scangage would miscalculate the MPG if the intake air temp sensor was faked until the fuel trims reflected it.

Learn something new every day...

PS: Yes, thanks for posting the info
__________________

cheapybob is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuelly API, Remote Update hufman Fuelly Web Support and Community News 6 11-26-2017 11:28 AM
Not very precise mpg calculation larjerr Fuelly Web Support and Community News 4 08-20-2012 02:03 AM
Keeping my distance in traffic khurt General Fuel Topics 8 09-07-2008 04:23 AM
Official crxMPG news/update/suggestion/idea Thread SVOboy General Discussion (Off-Topic) 47 09-19-2006 12:29 PM
Electrical power and cars. DracoFelis Automotive News, Articles and Products 2 09-16-2006 02:31 PM

» Fuelly iOS Apps
» Fuelly Android Apps
No Threads to Display.
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 07:22 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.