PDA

View Full Version : Can milligrams per cyl. be logged?



Redline Motorsports
August 27th, 2006, 01:55 AM
I don't see any PIDS for milligrams per cylinder as I wanted to play with a map that looks like C6101 Predicted Air Flow. Maybe it could be done by calc PID, which I still don't know how to do!:bawl:

Howard

joecar
August 27th, 2006, 06:07 AM
Howard,

If running MAF: log GM.CYLAIR_DMA
If running SD: log GM.DYNCYLAIR_DMA

The units of these PIDs are g/cyl

If you want mg/cyl, you have to create calc pids which multiply by 1000.

For example:
CALC.CYLAIR_MG would be defined as {GM.CYLAIR_DMA} * 1000
CALC.DYNCYLAIR_DMA would be defined as {GM.DYNCYLAIR_DMA} * 1000

Define these in the calc_pids.txt file.

Tutorial for calc pids: showthread.php?t=132 (http://forum.efilive.com/showthread.php?t=132)

joecar
August 27th, 2006, 06:30 AM
Howard,

As an example, I added those calc pids to my file, see the red parts below...

File: calc_pids.txt
Folder: C:\Documents and Settings\Joe\My Documents\EFILive\V7\User Configuration

Scroll down to see it all (there are 3 red parts)...


# ================================================== ============================
# 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
#-------- ---------- ----------- -------------------------------------------------------------
mgcyl None "mg/cyl" "Milligrams/Cylinder"
mpg None "mile/gal" "Miles per gallon"
None None "" "No units"


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

*CLC-00-010
factor 0.5 1.5 0.3 "14.63 / {GM.AFR}"

*CLC-00-011
factor 0.5 1.5 0.3 "14.63 / {CALC.AFR_WBOS1}"

*CLC-00-012
factor 0.5 1.5 0.3 "14.63 / {CALC.AFR_WBOS2}"

*CLC-00-021
V 0.0 5.0 0.2 "{EXT.AD1}"
AFR 10.0 20.0 0.2 "({EXT.AD1} - 0.8) * 1.995 + 10.0"

*CLC-00-022
V 0.0 5.0 0.2 "{EXT.AD2}"
AFR 10.0 20.0 0.2 "({EXT.AD2} - 0.8) * 1.995 + 10.0"

*CLC-00-031
factor 0.5 1.5 0.2 "{CALC.AFR_WBOS1.AFR} / {GM.AFR}"

*CLC-00-032
factor 0.5 1.5 0.2 "{CALC.AFR_WBOS2.AFR} / {GM.AFR}"

*CLC-00-041
factor 0.5 1.5 0.2 "1 + {SAE.LONGFT1} / 100"

*CLC-00-042
factor 0.5 1.5 0.2 "1 + {SAE.LONGFT2} / 100"

*CLC-00-051
mgcyl 0.0 1000.0 0.1 "{GM.CYLAIR_DMA} * 1000"

*CLC-00-052
mgcyl 0.0 1000.0 0.1 "{GM.DYNCYLAIR_DMA} * 1000"

*CLC-00-090
mpg 0.0 50.0 0.2 "{SAE.VSS.mph} / ({GM.INJFLOW.lbpm} * {GM.IBPW1} * {SAE.RPM} * 4 / 6250)"


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

CALC.EQ F010 CLC-00-010 factor Fuel "Commanded EQ"

CALC.EQ_WBOS1 F011 CLC-00-011 factor Fuel "Wideband EQ"
CALC.EQ_WBOS2 F012 CLC-00-012 factor Fuel "Wideband EQ"

CALC.AFR_WBOS1 F021 CLC-00-021 "AFR,V" Fuel "Wideband AFR 1"
CALC.AFR_WBOS2 F022 CLC-00-022 "AFR,V" Fuel "Wideband AFR 2"

CALC.BEN_WBOS1 F031 CLC-00-031 factor Fuel "Wideband BEN 1"
CALC.BEN_WBOS2 F032 CLC-00-032 factor Fuel "Wideband BEN 2"

CALC.BEN_LONGFT1 F041 CLC-00-041 factor Fuel "LTFT BEN 1"
CALC.BEN_LONGFT2 F042 CLC-00-042 factor Fuel "LTFT BEN 2"

CALC.CYLAIR_MG F051 CLC-00-051 mgcyl Air "CYLAIR (MAF) milligrams/cyl"
CALC.DYNCYLAIR_MG F052 CLC-00-052 mgcyl Air "CYLAIR (SD) milligrams/cyl"

CALC.MPG F090 CLC-00-090 mpg Fuel "Calculated miles per gallon"


So copy the red parts to your calc_pid.txt file in the same exact sections within the file.

:cheers:

Redline Motorsports
August 27th, 2006, 09:16 AM
Joe, thanks alot for the clear answer!:master:

Once the calc PID is saved in that folder, I assume it will show up on the pid selection and can be used like any other pid.

This lesson will finally get me to take better advantage of this feature!:cheers:
Thanks

Howard

redhardsupra
August 27th, 2006, 01:38 PM
i'm not trying to hijack, but is it possible to get a better resolution on cylinder airmass resolution? i found on my car 0.01g/cyl is worth about 4.5lb/ft of torque, so i'd like monitor it in more detail, to observe results from minor changes like adjusting timing.

Redline Motorsports
August 27th, 2006, 02:16 PM
I made the changes to the pid folder. If I open up FS shouldn't it show up under the "AIR" listing of pids?

No problem jumping in on the thread! More is better!

joecar
August 27th, 2006, 03:34 PM
I made the changes to the pid folder. If I open up FS shouldn't it show up under the "AIR" listing of pids?

No problem jumping in on the thread! More is better!Click on the Parameter column (the last one on the right) and look down till you see CALC.xxxxxxx and you'll see it there.

joecar
August 27th, 2006, 03:37 PM
i'm not trying to hijack, but is it possible to get a better resolution on cylinder airmass resolution? i found on my car 0.01g/cyl is worth about 4.5lb/ft of torque, so i'd like monitor it in more detail, to observe results from minor changes like adjusting timing.RHS,

I agree the resolution would not be better than 0.01 g/cyl (jump in, comments are welcome :cheers:).
I think Howard is trying to construct a C6101 table from a map, so he needs the same units, mg/cyl.

Cheers
Joe
:cheers:

redhardsupra
August 27th, 2006, 06:24 PM
what map exactly? are you calculating dyncylair from ve table?

joecar
August 27th, 2006, 08:43 PM
I don't know what map exactly, but I'll guess that he's trying to create a map of dyncylair (he would have already dialed in the ve table), paste it into his tune, and then add 20% thru-out to arrive at a suitable C6101...

Redline Motorsports
August 28th, 2006, 04:27 AM
Exactly!

I do a lot of C5 (ETC) cars in which that table when becomes a factor when using the 90mm and moving a lot of air. I typically would add 200 % to the whole table to keep the car from Reduced Engine Power. The proper way would be to determine the real airflow and keep that table maybe 5-10% large so the ETC system is still within a reasonable range for a failsafe.

I am interested to see with different combinations how much these value increase.

I'll double check the FS for that new pid I made. Seemed pretty cut and dry....

Howard