Tuning, Diagnostics, Electronics, and Wiring HP Tuners | EFILive | Hand Held Programmers | Stand Alone PCM's | Electronics | Wiring Diagrams

Logging Calculated MPG PID..... 12-City/23-Highway

Thread Tools
 
Search this Thread
 
Old 10-30-2009 | 09:16 PM
  #1  
BlackGMC's Avatar
Thread Starter
Resident Retard
iTrader: (31)
 
Joined: Jan 2006
Posts: 17,216
Likes: 20
From: Fort Worth - TX
Default Logging Calculated MPG PID..... 12-City/23-Highway

I ran across a thread on EFI live that had a MPG PID so i decided to log it.. Well the results are rather interesting... 12MPG avg less than 45MPH and 23MPG avg greater than 45mph... From the thread the PID is supposed to be pretty accurate, DC_Justin said it matched his Instant MPG display on his SSS... Btw my truck normally gets < 10MPG because i live less than 1 mile from work and all i ever drive is < 35MPH. I adjusted the filter to display only MPH less than 35 and it was 9.3 MPG... You gotta love big loose Torque Converters....


Here is the log of less than 45 MPH




Here is the log of Greater than 45 MPH




As you can see i created a MAP that resembles the Main Spark table, that way i could see how the load was affecting the MPH...


Attached is my calc_pids.txt file so you can use the PID yourself. HPTuner guys here is the equation, I am not sure how user calculated PIDs work on HPTuners...

MPG = {SAE.VSS.mph}/({GM.INJFLOW.lbpm} * {GM.IBPW1} * {SAE.RPM} * 4 / 6250 )

Make sure to log Injector base pulse width - bank 1 {GM.INJPW1} and Calculated Injector Flow Rate {GM.INJFLOW}
Attached Files
File Type: txt
calc_pids.txt (2.3 KB, 207 views)

Last edited by BlackGMC; 10-30-2009 at 10:25 PM.
Old 10-30-2009 | 10:51 PM
  #2  
fastnblu's Avatar
TECH Senior Member
iTrader: (2)
 
Joined: Mar 2008
Posts: 5,718
Likes: 1
Default

Corey, interesting. That 12 mpg isn't so great, but I'm diggin the 23. Thanks for helpin those of us w/. HPT w/. a way to get the info ourselves. I'm not that advanced yet w/. my HPT, but hope to later implement this.

Last edited by fastnblu; 11-01-2009 at 07:45 AM. Reason: I'm not advance w/. tuning, but wanna add later after I get better.
Old 10-30-2009 | 11:33 PM
  #3  
xlcooplx's Avatar
TECH Resident
iTrader: (26)
 
Joined: Feb 2006
Posts: 771
Likes: 0
From: Conway, SC
Default

Wish EFILive would integrate an "Add Function" similar to HPT.
Old 10-31-2009 | 12:40 AM
  #4  
53RUSSELL's Avatar
TECH Fanatic
iTrader: (9)
 
Joined: May 2007
Posts: 1,070
Likes: 0
From: AJ, AZ
Default

I will have to try this out. Thanks Corey
Old 10-31-2009 | 12:04 PM
  #5  
GMCtrk's Avatar
TECH Senior Member
iTrader: (27)
 
Joined: Jul 2004
Posts: 12,275
Likes: 17
From: Dallas
Default

How do I go about adding this PID into my V1? Thanks
Old 10-31-2009 | 12:54 PM
  #6  
kbracing96's Avatar
TECH Senior Member
iTrader: (26)
 
Joined: Jul 2004
Posts: 9,485
Likes: 30
From: Oakland, OR
Default

This works pretty good, as long as your moving. It doesn't take into account the losses in MPG when your stopped and fuel is being burned and your not going anywhere. I tried to get some one to help me come up with a calculated PID that adds fuel consumed and miles traveled then divides the two to get TRUE average MPG, but nobody could do it. You probable saw my post in the EFILIVE forum about this.

Last edited by kbracing96; 10-31-2009 at 10:52 PM.
Old 10-31-2009 | 08:48 PM
  #7  
viciousknid's Avatar
Where's the Beef?
iTrader: (8)
 
Joined: Jan 2007
Posts: 9,382
Likes: 1
From: Dover, Oklahoma
Default

Tyler told me about this today and I can't wait to try it!

Thanks for sharing.
Old 10-31-2009 | 08:53 PM
  #8  
viciousknid's Avatar
Where's the Beef?
iTrader: (8)
 
Joined: Jan 2007
Posts: 9,382
Likes: 1
From: Dover, Oklahoma
Default

Originally Posted by GMCtrk
How do I go about adding this PID into my V1? Thanks
go to your EFI Live folder and open User Configuration folder then file Calc Pids. At the very bottom add this line:
MPG = {SAE.VSS.mph}/({GM.INJFLOW.lbpm} * {GM.IBPW1} * {SAE.RPM} * 4 / 6250 )
then save it.

You can see it on Corey's file above. If you've never changed yours before then you can just save his. His also has pids set up so you can tune with your trims. which i've done and works like a charm. Great for when you don't have a wideband.
Old 11-02-2009 | 08:41 AM
  #9  
BlackGMC's Avatar
Thread Starter
Resident Retard
iTrader: (31)
 
Joined: Jan 2006
Posts: 17,216
Likes: 20
From: Fort Worth - TX
Default

We took a 260 mile road trip this last weekend and I pulled off 22MPG!!!! This was without the PID, this was doing it the old fashion way of mileage divided by gallons... This was cruising between 65-75MPH... I was really really surprised!
Old 11-04-2009 | 12:19 PM
  #10  
8 Second Club
iTrader: (9)
 
Joined: Dec 2003
Posts: 503
Likes: 0
From: vancouver, WA
Default

Can anyone explain how to put this into hptuners as a custom pid?



All times are GMT -5. The time now is 01:48 AM.