PDA

View Full Version : Question about hooking up AEM gauge output to V2



Mrbowtie26
October 14th, 2016, 01:20 PM
I recently purchased an AEM 30-4900 Gauge and it has an afr analog output to a data logger of a 5 v signal for monitoring af. Can I hook these to my V2 box and set it up to work or is it more complicated than that ?
Thanks for any info

joecar
October 14th, 2016, 02:37 PM
Yes, connect the analog signal to AD1+ and the return to AD1-

you will then have to look in the AEM user manual to see how they map AFR to 0-5V:

( see attached, is this the correct user manual...? )



AFR Output Transfer Function
AFR (Gas) = (2.375 * Volts) + 7.3125


There is not a CALC.AFR and CALC.BEN pids for this...

so we would create one...

in calc_pids.txt:

define these Units:



LAM None "LAM" "Lambda"
EQR None "EQR" "Equivalence Ratio (i.e. 1/Lambda)"
BEN None "BEN" "BEN factor"


and the slot definition would go like this:



*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2.375+7.3125"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.7"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM.LAM1}*{GM.EQIVRATIO}"


question: what does AEM assume gasoline stoich AFR to be (14.7)...?

and the PRN would go like this:



CALC.AEM1 F030 CLC-00-030 "AFR,LAM,EQR,BEN" Wideband "AEM 30-4900 AFR,LAM,EQR,BEN"


I have not tested it, but if there's any problems I'll help you.


You would log these pids:
- GM.EQIVRATIO
- EXT.AD1
- CALC.AEM1

the BEN pid would be CALC.AEM1.BEN

to view AFR, Lambda or EQR, you would chart CALC.AEM1.AFR, CALC.AEM1.LAM, CALC.AEM1.EQR.

Mrbowtie26
October 14th, 2016, 03:01 PM
Yes, connect the analog signal to AD1+ and the return to AD1-

you will then have to look in the AEM user manual to see how they map AFR to 0-5V:

( see attached, is this the correct user manual...? )



There is not a CALC.AFR and CALC.BEN pids for this...

so we would create one...

in calc_pids.txt:

define these Units:



LAM None "LAM" "Lambda"
EQR None "EQR" "Equivalence Ratio (i.e. 1/Lambda)"
BEN None "BEN" "BEN factor"


and the slot definition would go like this:



*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2.375+7.3125"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.7"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"


question: what does AEM assume gasoline stoich AFR to be (14.7)...?

and the PRN would go like this:



CALC.AEM1 F030 CLC-00-030 "AFR,LAM,EQR,BEN" Wideband "AEM 30-4900 AFR,LAM,EQR,BEN"


I have not tested it, but if there's any problems I'll help you.


You would log these pids:
- GM.EQIVRATIO
- EXT.AD1
- CALC.AEM1

the BEN pid would be CALC.AEM1.BEN

to view AFR, Lambda or EQR, you would chart CALC.AEM1.AFR, CALC.AEM1.LAM, CALC.AEM1.EQR.

I greatly appreciate any help thanks a bunch ! I'm very new to EFI live and have done very little with the software. I have work tomorrow but afterwards I'll start getting it setup. I'm sure I'll probably have questions because just reading what you wrote I'm not 100% sure on what to do but when I get in there maybe It will come to me :-)
Thanks again

joecar
October 14th, 2016, 06:17 PM
We need to find out this:

question: what does AEM assume gasoline stoich AFR to be (14.7)...?

Mrbowtie26
October 15th, 2016, 01:38 AM
We need to find out this:

question: what does AEM assume gasoline stoich AFR to be (14.7)...?
I'm at work now. I'll dbl check the manual when I get home

Mrbowtie26
October 15th, 2016, 09:22 AM
Joecar,
The manual doesn't specify and I called them but they are closed until Monday I guess. According to what an AEM person posted on their forums "14.65:1 is the stoichiometric air fuel ratio for gasoline" besides that I'll have to wait until Monday to get verification from them I guess.

joecar
October 15th, 2016, 11:43 AM
Ok, in the Lambda equation above, replace 14.7 with 14.65.

Mrbowtie26
October 16th, 2016, 06:31 AM
Joecar,
So a couple of things the output voltage of the gauge is 0-4.5v for af (you probably know this but I'm just correcting what I wrote in the first post. Second I have no idea how to enter CALC.AFR and CALC.BEN pids. I looked for calc_pids.txt: in my computer and found it. when I open it it opens in notepad and looking at the screen I am a bit unsure where to enter the information you gave me. I have to apologize as while I am far from computer illiterate I am not that good on it as I have no practical experience doing this. Ive been scanning using the latest version of EFI Live scan and tune. I'll have to lookup an easy way to create pid's.
Thanks for any help you can give I do appreciate it.

joecar
October 16th, 2016, 02:34 PM
I'll edit it for you...

Mrbowtie26
October 16th, 2016, 03:07 PM
I'll edit it for you...
Thanks appreciate it. I think it will take me a little bit to get the hang of working with Efi live.

joecar
October 16th, 2016, 05:02 PM
Copy the attached file to the User Configuration folder...

start the scantool, select the pids CALC.AEM1, EXT.AD1, GM.EQIVRATIO.

Mrbowtie26
October 17th, 2016, 12:25 AM
Copy the attached file to the User Configuration folder...

start the scantool, select the pids CALC.AEM1, EXT.AD1, GM.EQIVRATIO.
Thanks so much I appreciate it ! I'll try this later when I get home from work.

EspenT
October 19th, 2016, 03:20 AM
Hope it's ok if I ask another AEM related question in this thread.
I'l start with a short introduction about myself. Engineer in Digital Video Broadcast, but with a good understanding of electronics in general. Have recently bought my first EFI Live and are about connecting it to a 03 Silverado 1500 5.3 That I'm mounting a Edelbrock e-force supercharger to. Just finished welding a extra bunge in the kooks header for the AEM 30-4110. Can I use the calc_pids for my setup?
This is how voltage output correlates to AFR/Lambda.

http://uploads.tapatalk-cdn.com/20161019/7c528e98b272a41d3839b9616dd47557.png





Sent from my iPhone using Tapatalk

Slowrc
October 27th, 2016, 01:44 PM
I am hooking up to the same gauge. I sent my V2 off to socal diesel and it got updated and now I see the ad1 voltage showing on the V2, but I can't get it to display the W02 on the V2. :doh2:
Thanks so much for any and all help guys!!!

joecar
October 28th, 2016, 01:41 PM
I am hooking up to the same gauge. I sent my V2 off to socal diesel and it got updated and now I see the ad1 voltage showing on the V2, but I can't get it to display the W02 on the V2. :doh2:
Thanks so much for any and all help guys!!!To see WO2xxx pids you need serial comms connection to the wideband.

Slowrc
October 28th, 2016, 01:54 PM
Well , as per usual I wait so long in between sessions I am lost as a newbie. I was viewing the wide band on the V2 and logging it months ago before the upgrade to the new version. Help me get back on top of it please sir. I see the voltage on ad1 when I do the self test so the V2 is seeing the voltage variations.

Slowrc
October 28th, 2016, 02:08 PM
The fail safe gauge is analog only. I have a thread where I set it up originally and it worked fine for a good while.

joecar
October 28th, 2016, 02:10 PM
...
Can I use the calc_pids for my setup?
...


From the AEM data you posted:
AFR 10 --> 0V --> lambda 0.683
AFR 19.98 --> 4.99V --> lambda 1.365

Find AFR as a function of V:
(AFR-10)/(V-0) = (19.98-10)/(4.99-0) = 2
AFR = V*2+10

This is the same as CALC.AFR_PLX1, so you can use that pid... but the corresponding BEN pid CALC.BEN_PLX1 uses GM.AFR instead of GM.EQIVRATIO...

so if you wanted to use GM.EQIVRATIO (which I would recommend), follow along (you already know algebra):

0V --> lambda 0.683
4.99V --> lambda 1.365

Find lambda as function of V:
(lambda-0.683)/(V-0) = (1.365-0.683)/(4.99-0) = 0.1367
lambda = V*0.1367+0.683

We now want to find the assumed stoich AFR...

Solve V for lambda = 1:
1 = V*0.1367+0.683
V = (1-0.683)/0.1367 = 2.319V

Find AFR for lambda = 1 (i.e. for V = 2.319V):
AFR = 2.319*2+10 = 14.638

so AEM device assumes stoich to be 14.638.


So now modify CLC-00-030 from the above calc_pids.txt to read as follows:


*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"

joecar
October 28th, 2016, 02:18 PM
The fail safe gauge is analog only. I have a thread where I set it up originally and it worked fine for a good while.WO2 AFR based on AD1 is a calc pid...

V2 does not display calc pids;

calc pids are displayed by the scantool (they can be added in after a log has been captured (select the calc pid(s) and do Save As to overwrite the log file).

joecar
October 28th, 2016, 02:22 PM
Well , as per usual I wait so long in between sessions I am lost as a newbie. I was viewing the wide band on the V2 and logging it months ago before the upgrade to the new version. Help me get back on top of it please sir. I see the voltage on ad1 when I do the self test so the V2 is seeing the voltage variations.The only way to do this would be to go into V2 BBX and configure AD1 to have Custom Pid Properties:

20393


Then while V2 is doing BBL, you click the ENTER key to show the custom pid properties.

Slowrc
October 28th, 2016, 02:26 PM
Wow, I guess I remember seeing it on the V2 from my serial days when I was running a lc1 . I would have chased that forever. Thanks man!!! I will select those pids and do a log and see what happens. Appreciate you as always! !!

Slowrc
October 28th, 2016, 10:35 PM
Error report generated by EFILive at 05:34:22 on Oct 29, 2016

Error code: ERR_CONFIG/92
C:\Users\st0114\Documents\EFILive\V7.5\User Configuration\calc_pids.txt(14): Units LAM not found. .

EFILive Version: 7.5.8 (Build 311)

Platform: Windows NT
Version: 6.1 (build 7601)
Processor type: Pentium 1648MHz

Directories
Temporary Cache: C:\Users\st0114\Documents\EFILive\V7.5\Temporary cache
Logged Data: C:\Users\st0114\Documents\EFILive\V7.5\Logged data
Customers: C:\Users\st0114\Documents\EFILive\V7.5\Customers
Configuration: C:\Program Files (x86)\EFILive\V7.5\Configuration
Exported Data: C:\Users\st0114\Documents\EFILive\V7.5\Exported data
Images: C:\Users\st0114\Documents\EFILive\V7.5\Images
Sounds: C:\Users\st0114\Documents\EFILive\V7.5\Sounds
Maps: C:\Users\st0114\Documents\EFILive\V7.5\Maps
Pids: C:\Users\st0114\Documents\EFILive\V7.5\PIDs
Virtual Dash: C:\Users\st0114\Documents\EFILive\V7.5\VDash
Print Reports: C:\Users\st0114\Documents\EFILive\V7.5\Print reports
Bug Reports: C:\Users\st0114\Documents\EFILive\V7.5\Bug reports

Connected: No

Auto connect: No
Scan OBDII info: No

Error retries: 1
Retry delay: 10
Message throttle: 0

Most recently used VIN: 1GTEC14V5YZxxxxxx (Note: 1)

PCM information
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Unknown: Unknown
Stream-Slow scan mode: Unknown
Stream-Fast scan mode: Unknown
Maximum dynamic packets: Unknown

Most recent communication with vehicle:

Report ID: 138081 (Note: 2)

Notes:
(1) The VIN sequence number is not required for this report and for your privacy it is NOT included in this report.

(2)The report ID is a checksum of the report text and is used to verify the integrity of the report.

Slowrc
October 29th, 2016, 05:26 AM
I uninstalled and reinstalled the sept. beta release of 7.5 and 8 . I changed the user config calc_pids to

# ================================================== ============================
# 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


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

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------
None None "" "No units"
LAM None "LAM" "Lambda"
EQR None "EQR" "Equivalence Ratio (1/Lambda)"
BEN None "BEN" "BEN factor"

# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------

*CLC-00-030AF


8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"
# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------

CALC.AEM1 F030 CLC-00-030 "AFR,LAM,EQR,BEN" Wideband "AEM 30-4900 AFR,LAM,EQR,BEN"


# leave at least 2 blank lines below this one (i.e. before end of file)

Then I got this error code !


Error code: ERR_CONFIG/92

C:\Users\Owner\Documents\EFILive\V7.5\User Configuration\calc_pids.txt(40): Units 8.0 not found. .

joecar
October 29th, 2016, 03:24 PM
Error report generated by EFILive at 05:34:22 on Oct 29, 2016

Error code: ERR_CONFIG/92
C:\Users\st0114\Documents\EFILive\V7.5\User Configuration\calc_pids.txt(14): Units LAM not found. .

...

...

Then I got this error code !


Error code: ERR_CONFIG/92

C:\Users\Owner\Documents\EFILive\V7.5\User Configuration\calc_pids.txt(40): Units 8.0 not found. .


*CLC-00-030AF


8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"

Your CLC-00-030 ^ is misformed...

It should read like this:


*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"

joecar
October 29th, 2016, 03:31 PM
I edited the calc_pids.txt for the AEM 30-4900, see attached.

Slowrc
October 29th, 2016, 04:51 PM
Thanks!!!

Slowrc
October 31st, 2016, 05:57 AM
Yes, connect the analog signal to AD1+ and the return to AD1-

you will then have to look in the AEM user manual to see how they map AFR to 0-5V:

( see attached, is this the correct user manual...? )



There is not a CALC.AFR and CALC.BEN pids for this...

so we would create one...

in calc_pids.txt:

define these Units:



LAM None "LAM" "Lambda"
EQR None "EQR" "Equivalence Ratio (i.e. 1/Lambda)"
BEN None "BEN" "BEN factor"


and the slot definition would go like this:



*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2.375+7.3125"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.7"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM.LAM1}*{GM.EQIVRATIO}"


question: what does AEM assume gasoline stoich AFR to be (14.7)...?

and the PRN would go like this:



CALC.AEM1 F030 CLC-00-030 "AFR,LAM,EQR,BEN" Wideband "AEM 30-4900 AFR,LAM,EQR,BEN"


I have not tested it, but if there's any problems I'll help you.


You would log these pids:
- GM.EQIVRATIO
- EXT.AD1
- CALC.AEM1

the BEN pid would be CALC.AEM1.BEN

to view AFR, Lambda or EQR, you would chart CALC.AEM1.AFR, CALC.AEM1.LAM, CALC.AEM1.EQR.

But this is listed later in the thread...

*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"

Slowrc
October 31st, 2016, 05:58 AM
I mention the above because I used the latter one and my gauge and scan tool read almost a point off now.

joecar
October 31st, 2016, 08:49 AM
Which AEM do you have...?

Does your user manual show and equation relating V and AFR...?

Or a table of voltages and AFR...?

EspenT
October 31st, 2016, 09:01 AM
From the AEM data you posted:
AFR 10 --> 0V --> lambda 0.683
AFR 19.98 --> 4.99V --> lambda 1.365

Find AFR as a function of V:
(AFR-10)/(V-0) = (19.98-10)/(4.99-0) = 2
AFR = V*2+10

This is the same as CALC.AFR_PLX1, so you can use that pid... but the corresponding BEN pid CALC.BEN_PLX1 uses GM.AFR instead of GM.EQIVRATIO...

so if you wanted to use GM.EQIVRATIO (which I would recommend), follow along (you already know algebra):

0V --> lambda 0.683
4.99V --> lambda 1.365

Find lambda as function of V:
(lambda-0.683)/(V-0) = (1.365-0.683)/(4.99-0) = 0.1367
lambda = V*0.1367+0.683

We now want to find the assumed stoich AFR...

Solve V for lambda = 1:
1 = V*0.1367+0.683
V = (1-0.683)/0.1367 = 2.319V

Find AFR for lambda = 1 (i.e. for V = 2.319V):
AFR = 2.319*2+10 = 14.638

so AEM device assumes stoich to be 14.638.


So now modify CLC-00-030 from the above calc_pids.txt to read as follows:


*CLC-00-030
AFR 8.0 18.0 .2 "{EXT.AD1}*2+10"
LAM 0.5 1.5 .3 "{CALC.AEM1.AFR}/14.638"
EQR 0.5 1.5 .3 "1/{CALC.AEM1.LAM}"
BEN 0.5 1.5 .3 "{CALC.AEM1.LAM}*{GM.EQIVRATIO}"


Thank you Joe. Things have been busy lately, so haven't had time to test yet. I got an understanding of how the calculation's work after following https://forum.efilive.com/showthread.php?27036-Have-we-been-doing-autove-wrong

Hopefully I will be able to do some testing next weekend.


Sent from my iPhone using Tapatalk

Slowrc
October 31st, 2016, 09:23 PM
Which AEM do you have...?

Does your user manual show and equation relating V and AFR...?

Or a table of voltages and AFR...?

I have the aem failsafe gauge as well. That is why I piggy backed this thread instead of creating my own. Sorry for that now, it got long...

https://forum.efilive.com/showthread.php?24600-Ad1-help&p=210103#post210103

Here is a thread that lists the calc_pids I used to use...

Slowrc
November 1st, 2016, 01:02 PM
Got home looking at things and found ad1 is 4.40 volts on the V2 and ad4 is at 4.46 volts . My multimeter is reading e
4.47 volts across the orange connector.
Side note, I have a "required configuration not found" message that flashes momentary on my V2 when I first plug it in the vehicle.

joecar
November 1st, 2016, 01:47 PM
...

Side note, I have a "required configuration not found" message that flashes momentary on my V2 when I first plug it in the vehicle.Post a screenshot of this.


Also, post here the previous calc_pids.txt that produced the correct wideband AFR for you... I'll edit it to include the BEN calculation

( looks like the various AEM widebands/guages are configured differently )

Slowrc
November 1st, 2016, 02:07 PM
Post a screenshot of this.

It is a quick 2 second message that flashes on the led screen of the V2 when I first plug it to the DLC of the vehicle. Just don't remember that ever happening. Bot sure how to screen shot that.


Also, post here the previous calc_pids.txt that produced the correct wideband AFR for you... I'll edit it to include the BEN calculation

( looks like the various AEM widebands/guages are configured differently )

I am looking for the old data on the aem set up I have been using. Thanks again!

Slowrc
November 1st, 2016, 02:13 PM
Here is the file Blacky posted that I believe I was using. I can't verify because that laptop is long gone.

# ================================================== ============================
# 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
#-------- ---------- -------- -------------------------------------------------------------
None None "" "No units"
K Metric "K" "Degrees Kelvin"
R Imperial "R" "Degrees Rankine"
LAM None "LAM" "Lambda"
EQR None "EQR" "Equivalence Ratio"
E00 None "E00" "AFR based on E00"
E10 None "E10" "AFR based on E10"
E85 None "E85" "AFR based on E85"


# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------

*CLC-00-032
factor 0 4 .0 "{GM.EQIVRATIO}=1"

*CLC-00-100
LAM 0.5 1.5 .4 "{EXT.AD1}*0.1625+0.49875"
EQR 0.5 1.5 .4 "1/{CALC.WIDEBAND.LAM}"
E00 0.5 1.5 .4 "{CALC.WIDEBAND.LAM}*14.6"
E10 0.5 1.5 .4 "{CALC.WIDEBAND.LAM}*14.2"
E85 0.5 1.5 .4 "{CALC.WIDEBAND.LAM}*9.7"

*CLC-00-110
factor 0.5 1.5 .4 "{GM.EQIVRATIO}*{CALC.WIDEBAND.LAM}"

*CLC-00-120
factor 0.5 1.5 .4 "({SAE.LONGFT1}+{SAE.LONGFT2})/200+1"

*CLC-00-220
factor 0.5 1.5 .4 "iff({CALC.CL}, {CALC.LTFTBEN}, {CALC.WO2BEN})"

*CLC-00-273
C 0.0 100.0 .1 "{GM.DYNAIRTMP_DMA.C}"
F 40.0 220.0 .1 "{GM.DYNAIRTMP_DMA.F}"
K 280.0 380.0 .1 "{GM.DYNAIRTMP_DMA.C}+273.15"
R 500.0 680.0 .1 "{GM.DYNAIRTMP_DMA.F}+459.67"

*CLC-00-300
% 0.0 100.0 .2 "{SAE.MAF.gps}*{CALC.DAT.K}/{SAE.MAP.kPa}/{SAE.RPM}*3445.2/displacement()"
VE 0.0 2.468 .4 "{SAE.MAF.gps}*{CALC.DAT.K}/{SAE.MAP.kPa}/{SAE.RPM}*15"

*CLC-00-305
% 0.0 100.0 .2 "{CALC.SELBEN}*{CALC.VEN.%}"
VE 0.0 2.468 .4 "{CALC.SELBEN}*{CALC.VEN.VE}"

*CLC-00-310
gps 0.0 400.0 .1 "{GM.VETABLE_DMA.VE}/{CALC.DAT.K}*{SAE.MAP.kPa}*{SAE.RPM}/15"

*CLC-00-315
gps 0.0 400.0 .1 "{CALC.SELBEN}*{CALC.MAFN.gps}"

*CLC-00-430
VE 0.0 4.0 .4 "{GM.DYNCYLAIR_DMA}*{CALC.DAT.K}/{SAE.MAP.kPa}"

*CLC-00-435
gcyl 0.0 1.0 .4 "{GM.VETABLE_DMA.VE}/{CALC.DAT.K}*{SAE.MAP.kPa}"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------

CALC.CL F032 CLC-00-032 factor Tuning "Closed Loop (based on EQIVRATIO)"

CALC.WIDEBAND F100 CLC-00-100 "LAM,EQR,E00,E10,E85" Tuning "Wideband measured fueling"

CALC.WO2BEN F110 CLC-00-110 factor Tuning "BEN from WB"
CALC.LTFTBEN F120 CLC-00-120 factor Tuning "BEN from LTFT"
CALC.SELBEN F220 CLC-00-220 factor Tuning "BEN selected from LTFT or WB"

CALC.DAT F273 CLC-00-273 "C,F,K,R" Tuning "Dynamic Air Temperature"

CALC.VEN F300 CLC-00-300 "%,VE" Tuning "Calculated VE, not corrected"
CALC.VET F305 CLC-00-305 "%,VE" Tuning "Calculated VE, BEN corrected"

CALC.MAFN F310 CLC-00-310 gps Tuning "Calculated MAF, not corrected"
CALC.MAFT F315 CLC-00-315 gps Tuning "Calculated MAF, BEN corrected"

CALC.VEDCA F430 CLC-00-430 VE Tuning "Calculated VE (from DCA)"
CALC.DCAVE F435 CLC-00-435 gcyl Tuning "Calculated DCA (from VE)"

Slowrc
November 1st, 2016, 11:54 PM
I logged it on the way in this morning and it is further off than I thought . The gauge itself was reading about 14.3to1 AFR and the efilive reading was about 16to1 AFR. Also all the analog inputs read closer to what the meter said than ad1.
AD1 4.40
AD2 4.45
AD3 4.45
AD4 4.46
Looks like I should swap over to ad4 as it seems to be the most correct.
Thanks for all your efforts JOECAR . Thanks a lot man!

joecar
November 2nd, 2016, 07:29 AM
Ok, from looking at your calc_pids.txt, you can use CALC.WO2BEN as the BEN correction factor.



Question: when your gauge matches the EFILive reading, which calc_pids.txt is being used (post it here).

Slowrc
November 2nd, 2016, 09:29 AM
I don't currently have a set of calc_pids txt that is working to get the efilive reading to coordinate accurate to the aem gauge reading. The data I posted in post #35 is the old one I used a while back I believe. I haven't tried those with the new updates and new laptop.

Slowrc
November 2nd, 2016, 09:30 AM
Btw , I am OLSD tuning always.

joecar
November 2nd, 2016, 09:39 AM
ok, which exact AEM model do you have...?

Slowrc
November 2nd, 2016, 09:56 AM
https://forum.efilive.com/showthread.php?24490-Aem-failsafe-gauge-not-serial&highlight=

Here is the thread where I got help setting it up originally.

PN 30-4900

Slowrc
November 2nd, 2016, 11:03 AM
I just downloaded the efilive program to my wifes laptop and used that old calc_pids txt . after idling for a bit the volts went to 6.19volts and I verified with my meter its only getting 4.47. I think my AD1 and AD4 are on their way out. I sent it to socal diesel but they said it checks out fine.

Slowrc
November 2nd, 2016, 11:10 AM
http://i19.photobucket.com/albums/b184/Slowec/GMC/20161102_174201_zpsoxxwooog.jpg (http://s19.photobucket.com/user/Slowec/media/GMC/20161102_174201_zpsoxxwooog.jpg.html)

Slowrc
November 2nd, 2016, 11:21 AM
Joecar, what I am saying is if you build me a calc_pids txt for me, lets use AD2 or AD3 please.

joecar
November 2nd, 2016, 01:32 PM
Joecar, what I am saying is if you build me a calc_pids txt for me, lets use AD2 or AD3 please.Ok, I'll edit it to use AD2, see attached...

select the following pids:
- EXT.AD2
- GM.EQIVRATIO
- CALC.WIDEBAND

and then check that the pid CALC.WIDEBAND is completely valid (do rightclick->More Info on it, all the units for it should be valid)... post some logs with these pids.

and then in the charts/gauges use the following pids:
- CALC.WIDEBAND.BEN (use for correction maps)
- CALC.WIDEBAND.LAM
- CALC.WIDEBAND.EQR
- CALC.WIDEBAND.E00 (use for viewing gasoline E0-based AFR)
- CALC.WIDEBAND.E10 (use for viewing gasoline E10-based AFR)
- CALC.WIDEBAND.E85 (use for viewing gasoline E85-based AFR)



Also note that I left the pid CALC.WO2BEN intact... it is mathematically identical to CALC.WIDEBAND.BEN... you can use either.

Slowrc
November 2nd, 2016, 03:40 PM
Thanks!!! I will try these out tomorrow morning.

Slowrc
November 2nd, 2016, 11:49 PM
Ok, I'll edit it to use AD2, see attached...

select the following pids:
- EXT.AD2
- GM.EQIVRATIO
- CALC.WIDEBAND

and then check that the pid CALC.WIDEBAND is completely valid (do rightclick->More Info on it, all the units for it should be valid)... post some logs with these pids.

and then in the charts/gauges use the following pids:
- CALC.WIDEBAND.BEN (use for correction maps)
- CALC.WIDEBAND.LAM
- CALC.WIDEBAND.EQR
- CALC.WIDEBAND.E00 (use for viewing gasoline E0-based AFR)
- CALC.WIDEBAND.E10 (use for viewing gasoline E10-based AFR)
- CALC.WIDEBAND.E85 (use for viewing gasoline E85-based AFR)



Also note that I left the pid CALC.WO2BEN intact... it is mathematically identical to CALC.WIDEBAND.BEN... you can use either.


That worked beautifully!!! I will post some logs when I get back home to wifi. THANKS AGAIN JOE!!!

Slowrc
November 6th, 2016, 01:04 AM
Here is a short ride to work. The wideband is very close to the gauge now. I will work on it more when my new meth pump arrives. thanks again Joe!