Yeah, I screwed that one up.Originally Posted by Blacky
Yeah, I screwed that one up.Originally Posted by Blacky
Jeez, this was an old request I made way back in the V6 days... Easier way would be VSS and inverted MAP. Vacuum in In/Hg is an easy and close "instant" MPG figure, and when VSS gets to zero MPG also goes to "0"...
What about it, programmers?
Early EFILive V5 user - Upgraded from AutoTap for DOS!
2000 Chevrolet Camaro Z28, A4 - For occasional day trips...
1984 Chevrolet Caprice Classic - For the family...
1989 Honda VTR250 - For me and me only...
Welp, Calculated Injector Flow Rate doesn't work properly. My whole 30 minute drive home it stayed in the narrow range of 0.48lb/min to 0.52lb/min. Time for another idea.
That value is the value looked up by the PCM from {B4001}*{B4002}.
You would need to multiply that by injector base pulse width and then by RPM and some constants thrown in as well.
Maybe something like this:
{GM.INJFLOW.gps}*({GM.INJBPW}/1000)*({SAE.RPM}*4/60)
Notes:That's just off the top of my head, I have not checked it for accuracy.
- divide INJBPW by 1000 to convert from ms to seconds.
- divide RPM by 60 to convert RPM to RPS (revs per second).
- multiply by 4 to convert RPS to injector openings per second (8 injectors, each one opens every 2 revolutions)
Regards
Paul
Before asking for help, please read this.
I thought of your original request... I was about to send you an email.Originally Posted by emarkay
Paul
Before asking for help, please read this.
Thanks, I'll play with that some more. I couldn't find any documentation or anything that was able to help me with determining just how to use that calculated injector flow rate.Originally Posted by Blacky
OKAY, I worked this one all out on paper first to make sure all units cancel out properly and whatnot, and it looks like you nailed it there Paul.
I've got this expression set up:
{SAE.VSS.mph}/({GM.INJFLOW.lbpm} *{GM.IBPW1}* {SAE.RPM} * 4 / 6250 )
and it looks to be pretty close.
Both equations have mismatched units...!Originally Posted by Blacky
Edit: Oh, I didn't see page 2.
Last edited by joecar; January 4th, 2006 at 07:07 PM.
The units don't match up (fails to convert lb->gal and min->hr or sec->hr)...!Originally Posted by dc_justin
What are the units of 4 and 6250...?
Last edited by joecar; January 4th, 2006 at 07:21 PM.
4 and 6250 accomplish that.Originally Posted by joecar
I don't have my notepad in front of my that accomplished all of this, but the only constant you need (I think) is the weight of gasoline at 6.25lb/gal (thanks google).