Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.


Reply
 
Share Thread Tools Display Modes
Old 08-29-2008, 04:20 AM   #31
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,036
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
I'd say probably, as a diesel engine pushes more fuel for more power, rather than more air, and dosent try to obtain a stoimetric air/fuel ratio of 14.7:1.


However, because your fuel usage is directly affected by your throttle position, perhaps there is a way to figure it out that way?
malcom2073 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 08-29-2008, 07:34 AM   #32
pwb
Newbie
 
Join Date: Aug 2008
Posts: 22
pwb is an unknown quantity at this point
I think Scangauge is reading this values

0C - RPM
04 - Load
05 - Engine coolant temp
0B - MAP
0F - Intake air temp

But how to calculate this to get MPG etc. ?

/pwb
pwb is offline   Reply With Quote
Old 09-27-2008, 12:34 AM   #33
Newbie
 
Join Date: Aug 2006
Posts: 27
Skidd is an unknown quantity at this point
Quote: Originally Posted by dreadknought View Post
as many have posted already, the formulas given here are for stoichiometric fuel ratios. Unfortunately, modern cars don't run at stoichiometric fuel ratios. They run as lean as possible, just on the cusp of lean missing when cruising. They run rich anywhere from half-throttle to WOT. They automatically compensate for sub-standard fuels and fuel additives that affect octane.

My suggestion is, use the formula for calculating stoichiometric fuel consumption, but use the LTFT (Long Term Fuel Trim) to find what the vehicle is actually using. LTFT is given in +/- % (percentage). An example of the formula to use is

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

This formula uses the car's fuel trim value to compensate for the difference in actual AFR and stoichiometric AFR, however I'm not 100% sure that the LTFT value is % difference from stoichiometric. If anybody has any ideas as to how correct my thoughts are, please respond.


I just wanted to chime in and let you know that LTFT can't be used to adjust for the ECU changing it's target AF ratio. The LTFT is not an indication of a different AF ratio, it's an adjustment made because the ECU learned through the STFT that more or less fuel is needed for a given rpm/load point. The LTFT is a percentage of fuel removed from the expected amount required.

For example, I have a 2000 subaru impreza 2.5RS. I've put in a mild set of aftermarket cams. As a result, vacuum at idle is much lower than what the ECU was pre-programmed to expect. The STFT was pulling -25% fuel at idle while the LTFT was still at 0. Over time, the LTFT adjusted from 0%, to -25% and now the STFT hovers betwen +- 5%.

so.. the LTFT helps the ECU achieve it's target AF ratio by remembering and learning wha the STFT has found while driving. But, at no point was the target AF ratio ever known. The idle target AF could have been as lean as 18:1 in my car. No way to know from the LTFT calculation.


P.S. On a side note, your MPG formula has helped me out tremendously! I've implemented it in a program that I'm writing for OBD2 (and other protocols) display.
http://jdash.ludicrous-speed.com/for....php?f=11&t=63

Shane.
Skidd is offline   Reply With Quote
Old 11-02-2008, 09:32 PM   #34
Newbie
 
Join Date: Feb 2008
Posts: 1
Takiyon is an unknown quantity at this point
MPG Calculations

What if you do not have MAF sensor to calc from? I have a honda Civic 1999 with no MAF sensor readout but it has Air Pressure. Would I be SOL?
Takiyon is offline   Reply With Quote
Old 11-03-2008, 08:34 AM   #35
Newbie
 
Join Date: Aug 2006
Posts: 27
Skidd is an unknown quantity at this point
Quote: Originally Posted by Takiyon View Post
What if you do not have MAF sensor to calc from? I have a honda Civic 1999 with no MAF sensor readout but it has Air Pressure. Would I be SOL?

Perhaps not.. My 2000 Subaru Impreza also does not have a MAF sensor, but the ECU returns an accurate MAF value. I guess it calculates it based on the other parameters, and generates a virtual MAF signal. So, if your car does the same, you'll be good to go.
Skidd is offline   Reply With Quote
Old 11-03-2008, 08:42 AM   #36
Low Bitrate
 
Join Date: Mar 2006
Posts: 77
jiggersplat is on a distinguished road
unless you car is carbureted there's a measurement of airflow somewhere. some systems calculate the airflow based on air intake velocity/density/temperature, etc.

here's a good read...

http://www.ktarry.com/pub/techhtm/air_metering.htm
__________________
2006 Corolla S • Ex-Audio 7" • Epia MII • ATI AIW VE • 512MB • Mini-Box.com M300 Case • 100GB 2.5" HDD • Z-COM XI-325HP+ • Linksys WSB24/WRT54G w DD-WRT • Treo 755p BT Modem • Lite-On Slotload DVD • GPS • JVC AVX2 • 2x JL Audio 8" • Alpine Type-S F/R
jiggersplat is offline   Reply With Quote
Old 11-24-2008, 12:29 PM   #37
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Quote: Originally Posted by Takiyon View Post
What if you do not have MAF sensor to calc from? I have a honda Civic 1999 with no MAF sensor readout but it has Air Pressure. Would I be SOL?

I know many Chryslers use MAP sensors and do not supply a MAF reading for OBD requests. There are corporate PIDs for Chrysler MAF, but here is a method for doing MPG without a MAF sensor. It is not as accurate, but it is OK. You will need to calculate a Pseudo MAF.

MAP:
MPG=((AirFuel*FuelDensityPounds*GramsPerPound*Spee dMPH))/((3600*MAF/100)))
AirFuel=14.7
Fuel Density=6
GramsPerPound=454
SpeedMPH=VSS(KPH)*.621371
3600=seconds to hours conversion

MAF=(MAP/IAT)*(MM/R)*(RPM/60)*(EngDisp/2)*VE
MAP=Manifold Absolute Pressure from vehicle per J1979
IAT(K)=IAT(C) from vehicle per J1979 +273
MM=Molecular mass of air 28.97 g/mol
R=Universal air constant 8.314 J/K/mol
RPM= Revolutions per minute from vehicle per J1979
EngDisp=Engine displacement in liters
VE=Volumetric efficiency


It's up to you to determine your VE as it varies across the powerband, but you can assume it is one value.
Aberk is offline   Reply With Quote
Old 02-02-2009, 07:23 PM   #38
Newbie
 
split63's Avatar
 
Join Date: Feb 2009
Posts: 20
split63 is an unknown quantity at this point
disregard

Last edited by split63; 03-03-2009 at 09:58 PM.
split63 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 02-03-2009, 09:47 AM   #39
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Quote: Originally Posted by split63 View Post
With regard to working with a MAP sensor and having no MAF sensor. One post had a rough conversion between MAP and MAF as:
Engine Mass Airflow= RPM * ( MAP/Temp)
Fuel Mass = Engine Mass Airflow / Stoichiometric Ratio

Another post had this:

IMAP = RPM * MAP / IAT (Same as above)
MAF = (IMAP/120)*(VE/100)*(ED)*(MM)/(R)
Where,
R is 8.314 J/°K/mole = universal gas constant
MM is molecular mass or 28.97 g/mole
ED = engine displacement in liters
VE = Volumetric displacement

Equating the two approaches, MAF= (IMAP/120)*(VE/100)*(ED)*(MM)/(R) = Engine Mass Airflow / Stoichiometric Ratio
where IMAP = Engine Mass Airflow

Reducing:
1/Stoichiometric Ratio = (1/120)*(VE/100)*(ED)*(MM)/(R)

or Stoichiometric Ratio =(120 * 100* R) / (VE * ED * MM)


I'm at a lost to understand how the terms on the right equate to the Stoichiometric ratio, even roughly.


Assuming the more complex equation is correct/accurate, it can be reduced to MAF = RPM * (MAP/TEMP) * X

Where X is a contant comprised of the constants R, MM, ED, and VE
If this is the case, then X can be approximated and then scaled by actual mileage results. In which case, the value of VE and displacement are not important. However, I believe VE is reduced with RPM, so it would seem that a scaling factor is needed based on RPM and I'm not sure there is an easy way to generate this scale factor.

The two equations should not be equated. You use MAP to generate a pseudo MAF. That pseudo MAF is then used in the "generic" MPG equation.

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

MPG= Engine Mass Airflow / Stoichiometric Ratio

Note: I just corrected your approach. I did not check you numbers.
Aberk is offline   Reply With Quote
Old 02-18-2009, 12:04 AM   #40
Low Bitrate
 
Join Date: Mar 2006
Posts: 77
jiggersplat is on a distinguished road
does anyone have and code or binaries they want to post that will work with an elm on windows?
__________________
2006 Corolla S • Ex-Audio 7" • Epia MII • ATI AIW VE • 512MB • Mini-Box.com M300 Case • 100GB 2.5" HDD • Z-COM XI-325HP+ • Linksys WSB24/WRT54G w DD-WRT • Treo 755p BT Modem • Lite-On Slotload DVD • GPS • JVC AVX2 • 2x JL Audio 8" • Alpine Type-S F/R
jiggersplat is offline   Reply With Quote
Old 02-18-2009, 06:37 AM   #41
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Quote: Originally Posted by jiggersplat View Post
does anyone have and code or binaries they want to post that will work with an elm on windows?

I can email you a zip of a cheesy 2005 VB.net program I wrote that will work for an ELM327 and read basic OBD PIDs. It doesnt do MPG though.
Aberk is offline   Reply With Quote
Old 03-03-2009, 09:57 PM   #42
Newbie
 
split63's Avatar
 
Join Date: Feb 2009
Posts: 20
split63 is an unknown quantity at this point
Volumetric efficiency varies with RPM, as noted by an earlier post. Its not just a inversely proportional relationship, as there are sympathetic harmonic effects in the intake and exhaust which can and do apply.

I have gotten the impression that the PCM contains a table which has the VE as function of RPM. But I have never come across a means for accessing it.

Regardless, I'm wondering if the instantaneous VE is reflected in the intake Manifold pressure (MAP). For example, let say @ 1000 RPM, the VE is 70% but drops to 65% at 2000 RPM. Is the MAP value different than it would be if the VE was a constant?
.
Given that the previously defined equation for calculating MPG based on MAP, is it enough to make the VE a constant at, in this case, 70% and then rely on the MAP to factor in VE changes with RPM ?

Last edited by split63; 03-03-2009 at 10:33 PM.
split63 is offline   Reply With Quote
Old 03-12-2009, 10:26 PM   #43
Newbie
 
jyaron's Avatar
 
Join Date: Aug 2004
Posts: 26
jyaron is on a distinguished road
So in a MAP based calculation:

pseudoMAF= (IMAP/120)*(VE/100)*(ED)*(MM)/(R)

Therefore, if VE increases,.. pseudoMAF increases?

I thought the engine sucks less fuel if it has higher volumetric efficiency?
jyaron is offline   Reply With Quote
Old 03-13-2009, 06:42 AM   #44
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Not quite.

I think you are thinking another type of efficiency, perhaps thermal. VE is the engine's ability to move air through the engine i.e. a ratio of displacement to air coming in. If it can move more air, it can move more fuel.
Aberk is offline   Reply With Quote
Old 03-13-2009, 10:47 PM   #45
CwF
Newbie
 
Join Date: Jun 2008
Location: Denver(ish)
Posts: 30
CwF is an unknown quantity at this point
Quote: Originally Posted by malcom2073 View Post
I'd say probably, as a diesel engine pushes more fuel for more power, rather than more air, and dosent try to obtain a stoimetric air/fuel ratio of 14.7:1.


However, because your fuel usage is directly affected by your throttle position, perhaps there is a way to figure it out that way?

I think the diesels simply sum the commanded fuel shots, or sum from a mapped table of cc's @ rpm @ tps.
__________________
06 Silverado LBZ wants onboard everything...
CwF is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off




All times are GMT -5. The time now is 05:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics