Notices
993 Forum 1995-1998

Miles Per Gallon - via OBDii code reader

Thread Tools
 
Search this Thread
 
Old 11-28-2005, 02:22 PM
  #1  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default Miles Per Gallon - via OBDii code reader

Hi guyz n galz,

What with the recent spike in fuel prices and, yes, being a computer geek, I was 'mulling' about how to 'know' your mpg as you drive.

Figured it out! -- based on the MAF (Mass Air Flow).

EXPLANATION
----------------
Since I now know the *weight* of the air going in per min. (based on the reading from the OBDii scanner) am thus able to calculate the *weight* of the fuel that’s being mixed with it (based on the stoichometric value of 14.6:1) per min. That then gives me the amount of GALLONS per min being ‘used’. (Mult. by 60 and I get the gallons per hour)

If I know the speed of the car – which I do – via the speedo – or OBD ii readout – I can know *instantly* the MPG.
Why? because -- miles being driven over time (per hour) compared to gallons of fuel being used over time (per hour).

For instance -- on the LIE – doing 60-70mph – in 6th gear and 2,600rpm -- am seeing MAF values of 3.8 to 4.1 (lbs. of air per minute) – which translates into a healthy 24-26 mpg !!!

Have uploaded a screen-pic (jpg) of the Excel worksheet so you can print out and see for yourself what you're 'getting' inasfar as MPG is concened!
(Those of u who have a code scanner that is.)

Have fun.

G.
Attached Images  
Old 11-28-2005, 02:26 PM
  #2  
C4S_fan
Burning Brakes
 
C4S_fan's Avatar
 
Join Date: Jul 2004
Location: Vancouver, BC
Posts: 872
Received 7 Likes on 2 Posts
Default

That is so nerdy... I love it.
Old 11-28-2005, 02:34 PM
  #3  
epj993
Rennlist Member
 
epj993's Avatar
 
Join Date: Aug 2005
Location: Huntington Beach, CA
Posts: 1,353
Likes: 0
Received 2 Likes on 2 Posts
Default

Is this a standard OBDII scanner or the Bosch Hammer? My $100 Innova scanner doesn't have MAFS or any other stats, just error codes. BTW, very cool logic in figuring this out.
Old 11-28-2005, 02:41 PM
  #4  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by epj993
Is this a standard OBDII scanner or the Bosch Hammer? My $100 Innova scanner doesn't have MAFS or any other stats, just error codes. BTW, very cool logic in figuring this out.
Hi,
I'm surprised your scanner doesn't give u these values. (Are you sure?)
There might be a sub-menu whereby you're able to "View Data" or some such - then it'll ask you to 'view all data?' (or just a subset). It should then 'poll' all the "values" -- (it might take a minute or two) -- that the car's computer is 'sensing/seeing' and _then_ display those values to you.
My scanner is a Matco 9620 -- got it on ebay for $70.
G.

BTW, the 'values' that you should be seeing are e.g. Engine Calc. Load, MAF, Engine RPM, Speed, Oxygen sensor voltages (pre and post cat), Fuel trim, etc. etc. etc.
Old 11-28-2005, 04:10 PM
  #5  
Rob 97 993c2
Three Wheelin'
 
Rob 97 993c2's Avatar
 
Join Date: Oct 2001
Location: new york, new york
Posts: 1,718
Likes: 0
Received 0 Likes on 0 Posts
Default

does this agree with the milage shown on the OBC display?
Old 11-28-2005, 04:22 PM
  #6  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by Rob 97 993c2
does this agree with the milage shown on the OBC display?

Hi,
My car DOESN'T have an OBC.
G.
Old 11-28-2005, 07:02 PM
  #7  
Ray Calvo
Passed On
Rennlist Member

 
Ray Calvo's Avatar
 
Join Date: May 2001
Location: Pittsburgh, PA
Posts: 3,031
Likes: 0
Received 3 Likes on 3 Posts
Talking

This HAS to be total BS - NOBODY is able to do 60 - 70 MPH on the LIE - ANYTIME!
Old 11-29-2005, 02:38 PM
  #8  
SJB993
Pro
 
SJB993's Avatar
 
Join Date: Mar 2004
Location: Reading UK
Posts: 507
Likes: 0
Received 0 Likes on 0 Posts
Default

Nice bit of maths!

The only flaw is the 993's hopelessly inaccurate speedometer!
Old 11-29-2005, 02:49 PM
  #9  
InTheAir
Nordschleife Master
 
InTheAir's Avatar
 
Join Date: Jun 2005
Location: Neither Here Nor There
Posts: 5,351
Likes: 0
Received 5 Likes on 4 Posts
Default

The 993 has a speedometer??? I just keep it between 4000 and 5000 RPM in every gear.
Old 11-29-2005, 04:22 PM
  #10  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by a17sbn
Nice bit of maths!

The only flaw is the 993's hopelessly inaccurate speedometer!
True -- however my own 993's spedometer is actually very accurate.
How do I know?

I own a Garmin 296GPSMAP (aviation, auto and marine) unit and routinely have it ON in the car (when I'm heading out to the airport to go flying).

If the car's speedo says 70 ....a flick of my eye to the Garmin display and... yup ...the speed is usually 'seventy something' -- e.g. 70.1 or 70.4 mph or somesuch. I initially put such 'decimal discrepancies' down to slight variations in the amount of foot 'pressure' that I was applying to the accelerator as I moved my eye from the road to the speedo to the unit.

THEN I decided to use CRUISE CONTROL !!!

I gotta say, the speedo on my car is friggin' bang on (up to 90 mph anyways) -- (it's kinda hard to go any faster than 90 on the LIE !!!)

As one of our fellow Rennlisters mentioned -- it would be 'nice' if we could attach an obdii code reader to a car which HAS an 'OBC' so we could 'verify' what I've deduced from the MAF readings.

G.

Oh yeah ...in case anyone thinks I'm BS'g about the airport -- here's the pix that I took (whilst flying) last weekend.

http://i-fly.freeyellow.com/miscell/fulton-co/index.htm
Old 11-29-2005, 04:37 PM
  #11  
SJB993
Pro
 
SJB993's Avatar
 
Join Date: Mar 2004
Location: Reading UK
Posts: 507
Likes: 0
Received 0 Likes on 0 Posts
Default

To be fair, my dissing of 993 speedos was based on my Targa Tiptronic - its speedo was reading ~8% fast when compared with my GPS. I have to say that I never felt like I was travelling as fast the speedo suggested - I don't get that feeling so much with the manual coupe. I need to check how accurate this speedo is.
Old 11-29-2005, 05:07 PM
  #12  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by a17sbn
To be fair, my dissing of 993 speedos was based on my Targa Tiptronic - its speedo was reading ~8% fast when compared with my GPS. I have to say that I never felt like I was travelling as fast the speedo suggested - I don't get that feeling so much with the manual coupe. I need to check how accurate this speedo is.
Don't be so quick to diss the Targa's speedo! The fact that it OVERread may, actually, have prevented you from getting a couple o' speeding tickets!

G.
Old 11-29-2005, 06:01 PM
  #13  
g_murray
Three Wheelin'
Thread Starter
 
g_murray's Avatar
 
Join Date: Aug 2005
Location: Long Island, NY
Posts: 1,305
Likes: 0
Received 2 Likes on 2 Posts
Default

I created a COLOR chart (as a PDF file) if anyone wants to print it out.

Latah,

G.
Attached Images
File Type: pdf
Gerry-MAF-MPG-v2.pdf (9.6 KB, 636 views)



Quick Reply: Miles Per Gallon - via OBDii code reader



All times are GMT -3. The time now is 06:22 AM.