View Full Version : lambda instead of afr
Webbs
January 30th, 2014, 09:05 AM
So I want my logs to display lambda instead of the afr I am currently displaying. From what I have been reading I need to do the following:
Open the calc_pids.txt file
Edit the working CLC-00-002 0.0 2.0 .2 "{CALC.AFR_WBC1.AFR}/{GM.AFR}
To the new CLC-00-002 0.0 2.0 .2 "{CALC.AFR_WBC1.AFR}/{GM.AFR}/14.7
Is this correct?
W~
joecar
January 30th, 2014, 04:32 PM
No... if both numerator and denominator are AFR based, then the stoich AFR cancels out (if they assume the same stoich AFR).
If the wideband assumes a different AFR (say 15.2) than the PCM (say 14.6) then the correction factor becomes:
"({CALC.AFR_WBC1.AFR}/15.2) / ({GM.AFR}/14.6)"
which simplifies to:
"{CALC.AFR_WBC1.AFR}/{GM.AFR}/15.2*14.6)"
joecar
January 30th, 2014, 04:38 PM
There are two problems with GM.AFR:
- GM.AFR is based on table B3601 in the calibration file,
- I have seen GM.AFR not get updated (compare with GM.EQIVRATIO in a log);
so I like to use GM.EQIVRATIO instead of GM.AFR...
noting that GM.EQIVRATIO equals 14.7/GM.AFR (i.e. 1/lambda), then your correction factor becomes this:
"{GM.EQIVRATIO}*{CALC.AFR_WBC1.AFR/14.7"
assuming your Wideband Commander assumes stoich to be 14.7 (check your WBC user manual to see what default stoich AFR is).
Webbs
January 31st, 2014, 08:58 AM
Joecar,
I tried to build it and I got this :
Error report generated by EFILive at 12:45:22 on Jan 31, 2014
Error code: ERR_CONFIG/92
C:\Users\Documents\EFILive\V7.5\User Configuration\calc_pids.txt(54): List index out of bounds (4).
EFILive Version: 7.5.7 (Build 245)
Platform: Windows NT
Version: 6.1 (build 7601)
Processor type: Pentium 1397MHz
Directories
Temporary Cache: C:\Users\Documents\EFILive\V7.5\Temporary cache
Logged Data: C:\Users\Documents
Customers: C:\Users\Documents\EFILive\V7.5\Customers
Configuration: C:\Program Files (x86)\EFILive\V7.5\Configuration
Exported Data: C:\Users\Documents\EFILive\V7.5\Exported data
Images: C:\Users\Documents\EFILive\V7.5\Images
Sounds: C:\Users\Documents\EFILive\V7.5\Sounds
I have attached a copy of my calc.pids.txt
W~
joecar
January 31st, 2014, 09:26 AM
Try this (I corrected your file).
joecar
January 31st, 2014, 09:27 AM
I replaced this:
*CLC-00-006 0.5 1.5 .4 "{GM.EQIVRATIO}*{CALC.AFR_WBC1.AFR}/14.7"
factor
with this:
*CLC-00-006
factor 0.5 1.5 .4 "{GM.EQIVRATIO}*{CALC.AFR_WBC1.AFR}/14.7"
Webbs
January 31st, 2014, 09:55 AM
Thank you!!! :jump:
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.