PDA

View Full Version : How to Modify calc_pid for 14.12 Stoich using PLX WB?



Chalky
April 24th, 2010, 05:55 PM
Starting to play with EFILive again after about 18 month of inactivity.

I was wondering if someone could modify my Calc_pid.txt file to incorporate the changes needed to allow my PLX WB use 14.12 Stoich for tuning?

PLX WB using 0-5v, afr range 10-20, lambda .68 - 1.36

TIA.

joecar
April 24th, 2010, 08:14 PM
Try this (attached).

CALC.FUEL.AFR and CALC.BEN.

If you want to log GM.EQIVRATIO instead of GM.AFR, then change CLC-00-110 to either of these:

"{GM.EQIVRATIO} / {CALC.FUEL.EQR}"
"{GM.EQIVRATIO} * {CALC.FUEL.LAM}"

Chalky
April 25th, 2010, 02:18 AM
Thanks for the assistance. Really appreciated.

What would be the advantage/difference of logging afr using GM.eqivratio vs gm.afr?

mr.prick
April 25th, 2010, 03:15 AM
What would be the advantage/difference of logging afr using GM.eqivratio vs gm.afr?

Commanded AFR ≠ {B3601} (http://forum.efilive.com/showthread.php?t=13124&highlight=GM.AFR)

Based off the numbers given:


*CLC-00-001
lambda 0.68 1.36 .3 "({EXT.AD1}*0.136)+0.68"

*CLC-00-002
AFR 9.6 19.2 .2 "({EXT.AD1}*1.9203)+9.602"

*CLC-00-003
AFR 0.00 14.12 .2 "(14.12/{GM.EQIVRATIO})"

*CLC-00-004
lambda 0.00 1.00 .2 "(1/{GM.EQIVRATIO})"

*CLC-00-005
factor 0.00 2.00 .2 "({CALC.LAM_PLX}/{CALC.LAMBDA})"

*CLC-00-006
factor 0.00 2.00 .2 "({CALC.AFR_PLX1}/{GM.AFR})"

----------------------------------------------------------------------------------------------

CALC.LAM_PLX1 F001 CLC-00-001 lambda WO2-Analog "Wide Band Lambda 1 - PLX1"

CALC.AFR_PLX1 F002 CLC-00-002 AFR WO2-Analog "Wide Band AFR 1 - PLX1"

CALC.AFR F003 CLC-00-003 AFR Fuel "Commanded AFR"

CALC.LAMBDA F004 CLC-00-004 lambda Fuel "Commanded Lambda"

CALC.LAM_BEN_PLX1 F005 CLC-00-005 factor Fuel "Lambda BEN PLX"

CALC.BEN_PLX1 F006 CLC-00-006 factor Fuel "AFR BEN PLX"

Chalky
April 25th, 2010, 03:37 AM
Thanks. I see the difference now.
I modified the calc pid to use EQ for AFR. Is a space between expressions and divisor OK or needed?

mr.prick
April 25th, 2010, 04:48 AM
I like to clean it up myself, no spaces and use brackets.

Chalky
April 25th, 2010, 06:03 AM
Appreciate the reply.