PDA

View Full Version : LC-1 calc_pids file and sae_generic files



BowlingSS
July 25th, 2005, 08:18 AM
It looks like this setting for the LC-1 is in the calc_pids file and the sae_generic file. Do both file have to be the same? Which one does it use first? I can change the calc_pids file but will I need to do the AutoTune over?

sae_generic file:
# Inovative LC-1 WBO2
# ========================
*CLC-00-926
V 0.0 5.0 .1 "{EXT.AD1}"
AFR 10.0 20.0 .2 "({EXT.AD1}*3)+7.35"
*CLC-00-927
factor 0.0 2.0 .1 "{CALC.AFR_LC11.AFR}/{GM.AFR}"

*CLC-00-928
V 0.0 5.0 .1 "{EXT.AD2}"
AFR 10.0 20.0 .2 "({EXT.AD2}*3)+7.35"
*CLC-00-929
factor 0.0 2.0 .1 "{CALC.AFR_LC12.AFR}/{GM.AFR}"

# Calculate VE % by multiplying the VE value by molar mass of air (28.96) and the
# number of cylinders in the engine, then divide by engine displacement.
# - V8 is 28.96*8=321.68

===========================================
calc_pids file- this is my file
?????????????????????????????????????????????????? ????????????????
#
# File details
# ------------
#
# This section defines various details about the file format.

*FILE

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file

# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- --------------------------------------------------

# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- ---------------------------------
*CLC-00-001
V 0.0 5.00 .1 "{EXT.AD1}"
AFR 10.0 18.0 .2 "(({EXT.AD1}-0.5)*3.3418)+7.35"
*CLC-00-002
factor 0.0 2.0 .1 "{CALC.AFR_LC11}/{GM.AFR}"


*CLC-00-003
V 0.0 5.00 .1 "{EXT.AD2}"
AFR 10.0 18.0 .2 "(({EXT.AD2}-0.5)*3.3418)+7.35"
*CLC-00-004
factor 0.0 2.0 .1 "{CALC.AFR_LC12}/{GM.AFR}"

# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ---------------------------------
CALC.AFR_LC11 F001 CLC-00-001 "V,AFR" Fuel "Wide Band AFR 1 - LC-1"
CALC.BEN_Lc11 F002 CLC-00-002 factor Fuel "Base Efficiency Numerator 1 - LC-1"
CALC.AFR_LC12 F003 CLC-00-003 "V,AFR" Fuel "Wide Band AFR 2 - LC-1"
CALC.BEN_LC12 F004 CLC-00-004 factor Fuel "Base Efficiency Numerator 2 - LC-1"

Thanks,
Bill

Blacky
July 25th, 2005, 10:27 AM
Having two PIDs defined with the same name may produce unexpected results.
Both PIDs will be listed on the [PIDs (F8)] tab page, but either PID's value may be returned depending on internal progam conditions (i.e. The sort order of identical names).

You must delete the LC1 definitions from your calc_pids.txt file.

A change will be made to the EFILive software to prevent two PIDs with the same name from being defined.

Regards
Paul

BowlingSS
July 25th, 2005, 10:47 AM
Having two PIDs defined with the same name may produce unexpected results.
Both PIDs will be listed on the [PIDs (F8)] tab page, but either PID's value may be returned depending on internal progam conditions (i.e. The sort order of identical names).

You must delete the LC1 definitions from your calc_pids.txt file.

A change will be made to the EFILive software to prevent two PIDs with the same name from being defined.

Regards
Paul
Thanks Blacky. I removed the LC-1 def from the calc_pids file. I guess there is no way of telling which pid I used. I spend hours getting the VE table almost perfect. I guess I will start over again.
Bill
:shock:

Blacky
July 25th, 2005, 11:49 AM
The log files will still be correct, only the voltage is saved in the log file - which is correct. The calculated PIDs are recalculated each time the log file is loaded. So if you remove the PID definitions from calc_pids.txt then restart EFILive and load your log files, the correct AFR will be displayed.

There is no way easy to tell which PID EFILive used when two PIDs are defined with the same name. You could try changing the one in the calc_pids.txt file to something *very* wrong, like adding +100 to the AFR in the expression. Then see if EFILive displays AFR normally or wrong (i.e. 100 too high).

Note: each time you change the calc_pids.txt or sae_generic.txt files you must restart the EFILive Scan Tool to force EFILive to reload the data in those files.

Regards
Paul

Blacky
July 25th, 2005, 11:52 AM
You should also see 2 {CALC.AFR_LC11} PIDs - one will be selected, one will not be. Right click on them and select "More info..." and it will show you the expression being used for each one - obviously the selected one is the one EFILive is using.

However, because only the PID name is stored in the log file, you cannot be absolutely sure that EFILive will always select the same PID based merely on the PID name. It may select the sae_generic PID one time and the calc_pids PID another time. (i.e. indeterminate)

Regards
Paul

BowlingSS
July 25th, 2005, 12:06 PM
You should also see 2 {CALC.AFR_LC11} PIDs - one will be selected, one will not be. Right click on them and select "More info..." and it will show you the expression being used for each one - obviously the selected one is the one EFILive is using.

However, because only the PID name is stored in the log file, you cannot be absolutely sure that EFILive will always select the same PID based merely on the PID name. It may select the sae_generic PID one time and the calc_pids PID another time. (i.e. indeterminate)

Regards
Paul

Thanks Paul. I will just do some more logging. I should still be closer than before I started. Should the old numbers make you richer than normal? I already re-set to SD mode and will do some logging in the cooler mornings. It is going to be a 100 here tomorrow. What do you think the IAT should be below before I use the numbers?
Bill

BowlingSS
July 26th, 2005, 12:44 AM
I noticed the latest updates do not have the latest sae_generic file. I updated my system to patch 002 and then checked the file and the LC-1 defs were the old one.

Bill