What is the algoritm to calculate MPG?
#1
Drifting
Thread Starter
What is the algoritm to calculate MPG?
By the DIC I'm sure average MPG is the average of instant MPG readings summed together over N samples. How are they calculating instant MPG? What could the algorithm be. It appears the TPS is involved but after resetting the average MPG display it goes down at an idle. No TPS involved at an idle. By the DIC I've seen average MPG get better in 5th gear rather than 6th. Without raising the revs in 6th on an a slight grade I've seen the MPG decrease with out throttle increase.
Any insight?
Any insight?
#2
Velocity (distance/speed) / Rate of realtime fuel consumption calculated via realtime then extrapolated to miles per hour assuming continuous rates. That is why when you let off the gas and decelerate mpg decreases.
#3
Le Mans Master
By the DIC I'm sure average MPG is the average of instant MPG readings summed together over N samples. How are they calculating instant MPG? What could the algorithm be. It appears the TPS is involved but after resetting the average MPG display it goes down at an idle. No TPS involved at an idle. By the DIC I've seen average MPG get better in 5th gear rather than 6th. Without raising the revs in 6th on an a slight grade I've seen the MPG decrease with out throttle increase.
Any insight?
Any insight?
The instantaneous fuel consumption is proportional to the injector pulse width, fuel pressure and manifold pressure.
#4
Burning Brakes
Member Since: May 2007
Location: Columbia Maryland
Posts: 1,171
Likes: 0
Received 4 Likes
on
4 Posts
Velocity is a synonym for speed, which has nothing to do with calculating fuel economy. The reason the instanteous MPG goes up when you let up off the gas is because the engine is using less fuel, not because the car is going slower.
#7
MPG is Miles PER Gallon = Distance in Miles / Fuel in Gallons.
Velocity is a synonym for speed, which has nothing to do with calculating fuel economy. The reason the instanteous MPG goes up when you let up off the gas is because the engine is using less fuel, not because the car is going slower.
Velocity is a synonym for speed, which has nothing to do with calculating fuel economy. The reason the instanteous MPG goes up when you let up off the gas is because the engine is using less fuel, not because the car is going slower.
#9
Burning Brakes
You only need the basic math method or the DIC. Unless you are not revealing an ulterior motive
#11
Why are you trying to make this so hard? Reset trip when filling up next time. Drive car for a certain amount of miles. Refuel car. Divide miles driven by gallons used=mpg.
This is not rocket science. It is 4th grade math.
This is not rocket science. It is 4th grade math.
#12
Team Owner
Member Since: Apr 2008
Location: Coloring within the lines
Posts: 27,337
Received 1,919 Likes
on
1,332 Posts
You answered a different question than was asked, that's why you are confounded.
#13
Racer
Member Since: Dec 2010
Location: South Central Kansas
Posts: 418
Likes: 0
Received 0 Likes
on
0 Posts
I would use an abacus to calculate fuel mileage. Make sure it is not missing any *****.
Bob
http://en.wikipedia.org/wiki/Abacus
Bob
http://en.wikipedia.org/wiki/Abacus
#14
Safety Car
Member Since: Jun 1999
Location: Austin, Singapore, Kuala Lumpur, Houston, Dallas, Hong Kong, Elgin, etc.. Texas
Posts: 3,570
Likes: 0
Received 3 Likes
on
2 Posts
Both are are available in the PCM.
Throttle position won't be accurate in the calculation since the amount of fuel injected at low RPM is less than high RPM at full throttle.
#15
Melting Slicks
My daily driver is a 2009 Pontiac G5 XFE. I've monitored every drop of fuel put into this thing for the last 30,000 miles. I calculate my own fuel mileage at every fill-up, and then log what the DIC has calculated for the same period. The DIC mileage is consistently within 2.5% of the mpg I calculate. So whatever algorithm GM is using, it's pretty good!
I do notice that the DIC mpg is always slightly more than the actual fuel economy.
I do notice that the DIC mpg is always slightly more than the actual fuel economy.
#16
Drifting
Thread Starter
My daily driver is a 2009 Pontiac G5 XFE. I've monitored every drop of fuel put into this thing for the last 30,000 miles. I calculate my own fuel mileage at every fill-up, and then log what the DIC has calculated for the same period. The DIC mileage is consistently within 2.5% of the mpg I calculate. So whatever algorithm GM is using, it's pretty good!
I do notice that the DIC mpg is always slightly more than the actual fuel economy.
I do notice that the DIC mpg is always slightly more than the actual fuel economy.
#17
#18
Burning Brakes
I've noticed the same thing in both my GM vehicles. The computer's milage figures are always better than actual milage. I wonder if that's by design or just as close as they can get the numbers. With all the computer equipment on the car I would think it would know exactly how much fuel was consumed and how far the vehicle had traveled.
#19
Safety Car
Member Since: Jun 1999
Location: Austin, Singapore, Kuala Lumpur, Houston, Dallas, Hong Kong, Elgin, etc.. Texas
Posts: 3,570
Likes: 0
Received 3 Likes
on
2 Posts
2% should be within the margin of error.
Remember...there are a number of things that affect the fuel volume being injected. The PCM has tables for the lbs/minute rating for injectors, voltage offset to correct the fuel rate depending on system voltage and the fuel rate correction depending on the MAP (Manifold absolute pressure). Probably more corrections but you get the point. I am actually surprised its this close.
I wounder if the evap system is part of the calculation?
Remember...there are a number of things that affect the fuel volume being injected. The PCM has tables for the lbs/minute rating for injectors, voltage offset to correct the fuel rate depending on system voltage and the fuel rate correction depending on the MAP (Manifold absolute pressure). Probably more corrections but you get the point. I am actually surprised its this close.
I wounder if the evap system is part of the calculation?
#20
Melting Slicks
Member Since: Oct 2004
Location: Kernersville NC
Posts: 2,281
Likes: 0
Received 136 Likes
on
75 Posts
We have this same system in our Equinox Sport as well as our C6. I compare them to my estimates with a calculator a lot. I've noticed the Equinox is off by maybe a mile or two per gallon and the Vette always seems to be within a tenth. It's been very close all the time.