MPG calculations from datalogger
I now have the ability to data log while I drive. There are a few parameters I can log like RPM, speed, injector PW and TPS voltage.
I tried to figure out if there is a way to calculate MPG from those pieces of data... I know the injectors are rated to flow 172ml of fuel per minute at 35PSI. There is a FPR on the vehicle that raises and lowers the pressure but I don't know if that will affect the calculation a lot or not?
For example here is an entry.
Elapsed Time (ms) = 202800
VSS = 25
RPM = 2263
INJ PW B1 (ms) = 7
TPS(Volts) = 1.2
Calculations are as follow...
injector flow rate (ml or cc per min) = 172 (given)
fuel injected per minute (us gallon) = ((172*0.000264172)*(7/100))*4 = 0.012722524
Fuel injected per hour (us gallon) = 0.012722524*60 = 0.763351411
calculated Instant MPG = 25/0.763351411 = 32.75 MPG
Is there anything I missed? The final number isn't some crazy high or low number so it seems like I could be close?
|