Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Fuel Flow Calc PID

  1. #1
    Lifetime Member
    Join Date
    Feb 2013
    Posts
    285

    Default Fuel Flow Calc PID

    Looking to make a calc pid for instantaneous fuel flow in g/s or lb/min to help with idle tuning. Would the following be correct?

    g/s:
    {GM.INJFLOW.gps}*(({GM.IBPW1}+{GM.IBPW2})/2000)*({SAE.RPM}*4/60)

    lb/min:
    {GM.INJFLOW.lbpm}*(({GM.IBPW1}+{GM.IBPW2})/2000)*({SAE.RPM}*4/60)


    Can I use double parentheses ((...)) ?

    What's the difference between GM.IBPW1 and GM.INJPWB1? Both are listed as "Injector Base Pulse Width Bank 1".

    And what's the difference between these as GM.INJXPW, "Injector Pulse Width Injector X", where X goes from 1 to 8.

    Thanks!
    Last edited by ferocity02; March 27th, 2013 at 04:13 PM.
    2001 Silverado 5.3L ECSB 2WD T56:
    T76 turbo, Meth injection, 72# injectors, 799 heads, 212/212 114LSA cam, Built 4L80E, 3.42's
    EFILive V1 Commercial, COS5 2-bar SOLSD, AEM wideband

  2. #2
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    GM.INJFLOW.gps and GM.INJFLOW.lbpm are instantaneous fuelmass flowrate.


    If, perhaps, you're looking for instantaneous fuelmass, then you would do something similar to what you did above (do units analysis to sanity check).



    Yes, you can next parenthese ( ) to change the arithmetic order of precedence.
    Last edited by joecar; March 27th, 2013 at 08:21 PM.

  3. #3
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    GM.IBPW1 : this is for LS1A/LS1B

    GM.INJPWB1 : this is for something else (maybe E38/E67).

    GM.INJXPW: these are for something else (diesel).



    Note that CALC.INJDC1 is calculated form GM.IBPW1.

  4. #4
    Lifetime Member
    Join Date
    Feb 2013
    Posts
    285

    Default

    Quote Originally Posted by joecar View Post
    GM.INJFLOW.gps and GM.INJFLOW.lbpm are instantaneous fuelmass flowrate.
    Aren't these just the injector flow rate as specified in the tune file? I logged GM.INJFLOW.lbpm as part of CALC.MPG and it was fixed at 0.42 lb/min, which correlates to my stock 25 lb/hr injectorsa which is constant with MAP due to the fuel pressure regulator.
    2001 Silverado 5.3L ECSB 2WD T56:
    T76 turbo, Meth injection, 72# injectors, 799 heads, 212/212 114LSA cam, Built 4L80E, 3.42's
    EFILive V1 Commercial, COS5 2-bar SOLSD, AEM wideband

  5. #5
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    Yes, they are flowrate in g/s and lb/min...

    oh, do you want g and lb...?

  6. #6
    Lifetime Member
    Join Date
    Feb 2013
    Posts
    285

    Default

    I want to calculate how much fuel the motor is instantaneously consuming in grams/second or pounds/minute.

    The equation I posted seems like it should work. I also have the Calc.MPG PID which seems to be working accurately.
    2001 Silverado 5.3L ECSB 2WD T56:
    T76 turbo, Meth injection, 72# injectors, 799 heads, 212/212 114LSA cam, Built 4L80E, 3.42's
    EFILive V1 Commercial, COS5 2-bar SOLSD, AEM wideband

  7. #7
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    After rethinking it, yes you are correct...


    fuelmass [g] per cylinder =
    {GM.INJFLOW.gps}*(({GM.IBPW1}+{GM.IBPW2})/2000)

    if IBPW1 and IBPW2 are the same, the that simply becomes:
    {GM.INJFLOW.gps}*{GM.IBPW1}/1000

    so then fuelmass [g] per cycle (8 cylinders, 4 strokes, 2 revolutions) =
    {GM.INJFLOW.gps}*{GM.IBPW1}/1000*8

    cycles (2 revolutions, 4 strokes) per second =
    {SAE.RPM}/60/2 = {SAE.RPM}/120

    so the instantaneous fuelmass rate [g/s] =
    {GM.INJFLOW.gps}*{GM.IBPW1}/1000*8*{SAE.RPM}/120 =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}*8/120000 =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/15000


    edit: corrected for 8 cylinders.
    Last edited by joecar; March 28th, 2013 at 01:08 PM.

  8. #8
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    covert IBPW1 to minutes...

    so then, instantaneous fuelmass rate [lb/min] =
    {GM.INJFLOW.lbpm}*{GM.IBPW1}/1000*8/60*{SAE.RPM}/120 =
    {GM.INJFLOW.lbpm}*{GM.IBPW1}*{SAE.RPM}*8/7200000 =
    {GM.INJFLOW.lbpm}*{GM.IBPW1}*{SAE.RPM}*/900000



    edit: corrected for 8 cylinders.
    Last edited by joecar; March 28th, 2013 at 01:09 PM.

  9. #9
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    The CALC.MPG pid should be using this:

    vehicle speed [mile/min] =
    {SAE.VSS.mph}/60

    fuel mass rate [lb/min] =
    {GM.INJFLOW.lbpm}*{GM.IBPW1}*{SAE.RPM}/900000

    gasoline has density 6.073 [lb/gal]

    so fuel volume rate [gal/min] =
    {GM.INJFLOW.lbpm}*{GM.IBPW1}*{SAE.RPM}/900000 / 6.073

    so MPG =
    [mile/min] / [gal/min] =
    {SAE.VSS.mph}/60 / ({GM.INJFLOW.lbpm}*{GM.IBPW1}*{SAE.RPM}/900000 / 6.073) =
    {SAE.VSS.mph}/{GM.INJFLOW.lbpm}/{GM.IBPW1}/{SAE.RPM}*900000/60*6.073 =
    {SAE.VSS.mph}/{GM.INJFLOW.lbpm}/{GM.IBPW1}/{SAE.RPM}*15000*6.073



    edit: corrected for 8 cylinders.
    Last edited by joecar; March 28th, 2013 at 01:09 PM.

  10. #10
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default LPHK = L/100km

    And [L/100km] should be using this:

    vehicle speed [km/s] =
    {GM.VSS.kph}/3600

    fuel mass rate [g/s] =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/15000

    gasoline density is 725 [g/L]

    so fuel volume rate [L/s] =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/15000 / 725

    so Litres per km [L/km] =
    [L/s] / [km/s] =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/15000 / 725 / ({GM.VSS.kph}/3600) =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/{GM.VSS.kph}*3600/15000/725 =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/{GM.VSS.kph}*12/50/725

    Litres per 100km [L/100km] =
    [L/km] * 100 =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/{GM.VSS.kph}*12/50/725*100 =
    {GM.INJFLOW.gps}*{GM.IBPW1}*{SAE.RPM}/{GM.VSS.kph}*24/725



    edit: corrected for 8 cylinders.
    Last edited by joecar; March 28th, 2013 at 01:12 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Can some help me with a calc pid please.
    By pavetim in forum Diesel
    Replies: 1
    Last Post: February 4th, 2011, 01:17 PM
  2. calc.pid help
    By mr.prick in forum General
    Replies: 11
    Last Post: June 1st, 2010, 02:28 AM
  3. e38 dma pid SCALEDCORVE_ doesnt work plus a bad calc pid
    By ringram in forum FlashScan V2 BB Logging
    Replies: 2
    Last Post: November 30th, 2008, 11:28 AM
  4. hp calc PID
    By pwilson22000 in forum General
    Replies: 3
    Last Post: July 25th, 2006, 12:58 AM
  5. editing a pid calc
    By johnv in forum General
    Replies: 6
    Last Post: March 23rd, 2006, 09:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •