Page 1 of 72 1231151 ... LastLast
Results 1 to 10 of 716

Thread: Calc.VET: correcting MAF and calculating VE (in single log)

  1. #1
    R.I.P Shawn, 1956-2011 WeathermanShawn's Avatar
    Join Date
    Jul 2008
    Posts
    1,807

    Default Calc.VET: correcting MAF and calculating VE (in single log)

    In-Memory-of-Shawn-Sankey


    AIMS:

    Calculate the VE Table in a Single Log Session (whole RPM range, whole MAP range)


    0. That you make an effort to understand what is going on here (and not blindly follow along without understanding).
    1. Tune both CL and PE/WOT,
    2. Correct MAF,
    3. Calculated new VE from corrected MAF,
    4. Reduce Trims (closer to zero %).

    The Calc.VET tutorial is this post (post #1 of this thread) and any links it points you to.



    PRELIMINARY:

    1. Read thru this entire post (post #1).
    2. Goto section III. Appendix, see point 6, is your OS listed...? if not, you have to create the pid CALC.B4901.
    3. If you have a V1, goto section II and then return to section I.
    4. If you have an analog wideband, goto section II and then return to section I.
    5. If you have V2 and a serial comms wideband, goto section I.
    6. Make sure all the pids mentioned are valid (no red X thru any pids).
    7. Goto section III. Appendix, see point 1, have a read of CALC-VET-Summary-Notes.

    How do you know if your V2 is using serial comms to read from the wideband...?
    You would know because you would have had to rig up a null modem serial comms cable.

    If you have a V1 then you cannot use serial comms (see point 3 above).


    I. PROCEDURE for SERIAL WIDEBAND and V2

    1.
    Setup Calculated PIDS
    :

    calc_pids.txt <--- updated calc_pids.txt file

    Copy this ^ calc_pids.txt file to this location: My Documents\EFILive\V7.5\User Configuration\calc_pids.txt

    (or using a suitable non-formatting editor, copy/paste its contents into the file at this ^ location on your PC).


    This calc_pids.txt calculates the correction factor as follows (see CLC-00-110): "{GM.EQIVRATIO}*{EXT.WO2LAM1}"

    EXT.WO2LAM1 is the wideband measured lambda which V2 reads from the wideband over the serial comms (null modem cable);
    so to use this you have get your V2 reading serial comms data from the wideband.


    1(a). Set Displacement (only if you really must use [%] VE units):
    Open a Log File,
    go Edit->Log File Information->Vehicle Options, next to Engine enter the displacement in cc, click Ok, save the log file.
    This matters only if you're using [%]
    VE units; if you're using [g*K/kPa] VE units then you do not need displacement.

    It is highly recommended to use [g*K/kPa] units (in tunetool go Edit->Properties and set VE units to g*K/kPa).


    2. Select the following CALC.VET pids and record a suitable log:

    Before logging, use the scantool to clear trims
    ( goto DVT tab, select PCM, goto Learning subtab, click Activate, click Fuel Reset, wait a few moments, click De-activate )

    Calc-VET-0000.pid <-- copy this file to \Documents\EFILive\V7.5\PIDs, and in the scantool on the PIDs tab open it.




    Those are the absolute minimum (mandatory) pids you must log.

    If any pid is invalid (has a red X thru it), do this:
    - place the cursor on it and do rightclick->More Info to see which other pids need to be selected,
    - go ahead and select those other pids,
    - repeat until there are no pids with a
    red X thru them.

    In Addition, the Following Pids Are Highly Recommended:



    Note: Keep Channel Count at 24 or less for Fastest Scanning (channel count is displayed at bottom of PIDs tab).

    Remember to save your pid selection (give it a meaningful filename, e.g. "calc.vet.pid").

    AFTER YOU HAVE CAPTURED A LOG (see scantool user manual pdf), THEN PROCEED TO STEP 3.

    3. Setup MAF (CALC.SELBEN) and VE (CALC.VET) maps:

    In the scantool, on the Maps tab, use tab A for MAF ("map A"), and tab B for VE ("map B");

    for map A:
    - in tunetool: goto B5001 MAF table, on the tile in upper left go rightclick->Copy With Labels;
    - in scantool: edit map properties for map A, on each of Row and Col tabs click Paste Labels;
    - on Data tab click Show Names and select CALC.SELBEN, checkmark Show Units, set Precision to 3;
    - on Row tab click Show Names and select GM.MAFFREQ checkmark Show Units;
    - on Col tab click Show Names and select any pid you logged (e.g. GM.MAFFREQ);
    - on Cells tab constrain the cell width;
    - click Save As and give it a meaningful filename.
    Click image for larger version. 

Name:	Map for MAF (CALC.SELBEN).png 
Views:	199 
Size:	26.9 KB 
ID:	21443


    for map B:
    - in tunetool: goto B0101 VE table, on the tile in upper left go rightclick->Copy With Labels;
    - in scantool: edit map properties for map B, on each of Row and Col tabs click Paste Labels;
    - on Data tab click Show Names and select CALC.VET, checkmark Show Units, set Precision to 3;
    - on Row tab click Show Names and select SAE.RPM;
    - on Col tab click Show Names and select SAE.MAP checkmark Show Units;
    - click Save As and give it a meaningful filename.
    Click image for larger version. 

Name:	Map for VE (CALC.VET).png 
Views:	191 
Size:	73.4 KB 
ID:	21442


    See attached zip contains those 2 maps already made (unzip and copy to \Documents\EFILive\V7.5\Maps): Maps.zip


    4. Apply CALC.VET Filter:

    (Filters out ECT, IAT, All Throttle Transients, DFCO, Stalls, etc)




    Also include terms to exclude:
    - decel MAP (e.g. exclude MAP < 50 kPa)
    - closed throttle (e.g. TP < 1%).


    If you don't see a filter named CALC.VET, then create a new one (click New, name it CALC.VET,
    set the Filter control to
    Exclude data frames) and fill it in with the same conditions as shown.

    4(a). Hide low count cells:
    click the hide-low-count-cells button [ need image ].

    4(b). Apply the tansient filter:
    click the apply filter button (see scantool user manual) [ need image ].


    5. Paste the CALC.VET map into your B0101 VE table:

    Copy-with-labels the new CALC.VET map and paste-with-labels into table B0101 in your tune file.

    Note that the CALC.VET map replaces your B0101.



    NOTE:
    for map Data, use the CALC.VET pid units that match your B0101 table, i.e. either [%] or [g*K/kPa].

    To display units on a map (highly recommended): go to map properties, on each of the
    Data, Row, Col tabs, checkmark Show Units.

    When viewing a map, click the n button to see cell counts (hits), click the x-bar button to see the pid average values.


    6. Multiply the CALC.SELBEN map into your B5001 MAF table:

    Copy-with-labels
    the new CALC.SELBEN map and paste-multiply-with-labels into Table B5001 in your tune file.

    Note that the CALC.SELBEN map corrects (by multiplication) your B5001.




    When viewing a map, click the n button to see cell counts (hits), click the x-bar button to see the pid average values.


    II. PROCEDURE for ANALOG WIDEBAND or V1

    To obtain LAMBDA from an analog wideband: divide wideband AFR by the wideband's assumed stoich AFR.

    Using NGK AFX as example (NGK assumes stoich to be 14.57):
    edit CALC.WO2BEN1 (CLC-00-110) to say this "{GM.EQIVRATIO}*{CALC.AFR_NGK1.AFR}/14.57"

    Note: use the CALC.AFR_xxx pid that is relevant to your actual wideband.

    Modify the calc_pids.txt file from section I above.

    And then proceed to perform the same procedure in section I.


    III. APPENDIX:

    Additional Links & Resources


    1. Advanced CALC.VET Summary Notes:
    CALC-VET-Summary-Notes

    2. Calculating MAF Airflow From VE Table (CALC.VET In Reverse): Calculating-MAF-Airflow-From-VE-Table..CALC-VET-In-Reverse

    3. CALC.VET utilizes EQIVRATIO which is superior to AFR (avoids different stoich AFR's of different fuels).


    4.
    How-to-match-wideband-output-to-B3601

    5. Two Methods for Calculating Analog Wideband Lambda


    6. The pid GM.DYNAIRTMP_DMA is not defined for OS's 19980100, 1998020, 19980400, and some others...
    but you can create a CALC.B4901 lookup pid instead, see the following alternate calc_pids.txt
    :
    calc_pids.txt <-- check that this contains the same B4901 data as your tune file.

    The pid GM.DYNAIRTMP_DMA is defined only for these LS1 OS's:
    12202088 92111922 12208322 12225074 12212156 12221588 12216125 12577216 12579405 12580055 12585318 12593058 12509967 12587604
    12588804 12592433 12585950 12587603 12592425 12606960 12592618 12593555 12606961 12612115 12587811 12606807 12608669 12597120

    For the OS's listed ^ here you do not need to create the pid CALC.B4901.
    For any OS not listed here you have to create the pid CALC.B4901 using your own B4901 data (see the calc_pids.txt immediately above).

    1997 Corvette & 1998 Corvette/Camaro/Firebird Pids:
    ( include all the same pids as in section I.2 above, and include CALC.B4901, and exclude GM.DYNAIRTMP_DMA )


    Credits: (in no particular order):
    Weathermanshawn for inventing/exploring the idea of correcting VE and MAF simultaneously from a single log.
    mr.prick
    for his assistance in calculating Analog Wideband Lambda.
    joecar (forum moderator) for analyzing/deriving the CALC.VET equation(s) in terms of a log-able pids.
    Attachment 21439
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Map for MAF (CALC.SELBEN).png 
Views:	151 
Size:	26.8 KB 
ID:	21441  
    Last edited by joecar; September 20th, 2017 at 04:10 AM. Reason: Added how to create maps

  2. #2
    Lifetime Member
    Join Date
    Jul 2005
    Posts
    702

    Default

    how are you using trims (aka the resulting BEN) from narrowbands to do WOT which needs enriched fueling?

  3. #3
    R.I.P Shawn, 1956-2011 WeathermanShawn's Avatar
    Join Date
    Jul 2008
    Posts
    1,807

    Default

    Marcin the second PID is using Commanded Fuel vs Actual. So in open-loop it is functioning as any normal 'AFRBEN'. The point of the method is that an AFRBEN correction functions in the same manner as a LTFTBEN in closed-loop. The formula just changes the methodology of the Airflow/fueling correction..
    Last edited by WeathermanShawn; January 28th, 2011 at 01:36 AM. Reason: Revised..
    2002 Black Camaro Z-28 M6 Hardtop 11.0:1CR 425HP/410TQ SAE (400TQ@3500RPM)
    200cc Heads, 228/232 110+2 Cam, 1 3/4" LT's w/catts, GMMG, Koni Shocks, Hotchkis Springs, 35/21 Sways, 17" ZR1's, 3.90 Gears Roadrunner PCM LM-2 Serial Wideband
    EFILive Closed-Loop MAF/SD Hybrid Tune..


  4. #4
    Lifetime Member
    Join Date
    Oct 2010
    Posts
    281

    Default

    So pretty much you log like you would on the CalcVE tutorial but when you want to tune for PE/WOT you would setup a map for BEN1 vs MAP vs RPM and filter out including PE mode? And copy then paste/multiply just like the CalcVE using the NB?st use your WB for the entire process?

  5. #5
    Lifetime Member
    Join Date
    Oct 2010
    Posts
    281

    Default

    Wow so you dont even have to filter out between non-pe mode and pe mode? You just do the Calc VE table PID you have set up and copy/paste? how does the formula know when to swap over between NB and WB?

  6. #6
    R.I.P Shawn, 1956-2011 WeathermanShawn's Avatar
    Join Date
    Jul 2008
    Posts
    1,807

    Default

    Thats right Tim.

    The 'secret' is in this Calculated Pid along with re-defining the 'Airflow Correction' Term(s).

    "iff({CALC.PE},{CALC.WO2BEN1}, {CALC.LTFTBEN})"

    {
    SAE.MAF.gps}*({GM.DYNAIRTMP_DMA.C}+273.15)*3445.2/(5.669*{SAE.RPM}*{SAE.MAP.kPa})*{CALC.SELBEN}"

    The first few terms defines PE Mode, the last two say use WO2BEN if it is in PE Mode or LTFTBEN if is not in PE Mode. Kudos to Joecar who took everybody's ideas and got it to work.
    Last edited by joecar; February 7th, 2011 at 03:08 PM. Reason: Added missing }
    2002 Black Camaro Z-28 M6 Hardtop 11.0:1CR 425HP/410TQ SAE (400TQ@3500RPM)
    200cc Heads, 228/232 110+2 Cam, 1 3/4" LT's w/catts, GMMG, Koni Shocks, Hotchkis Springs, 35/21 Sways, 17" ZR1's, 3.90 Gears Roadrunner PCM LM-2 Serial Wideband
    EFILive Closed-Loop MAF/SD Hybrid Tune..


  7. #7
    Lifetime Member
    Join Date
    Oct 2010
    Posts
    281

    Default

    Well whenever this guy gets that damn bung welded in i'm gonna give it a shot and see how it goes. Great work that would save alot of time and confusion.

  8. #8
    R.I.P Shawn, 1956-2011 WeathermanShawn's Avatar
    Join Date
    Jul 2008
    Posts
    1,807

    Default

    Thanks.

    When you get ready to do it, let me know. There will be a few slight changes in one of two PIDS, and one of the BEN terms.

    All in all, hopefully easier. My goal would be to never have to do any cutting, copying, pasting, or filtering. You just log and all the data would be there..I guess you would still have to at least one paste...
    2002 Black Camaro Z-28 M6 Hardtop 11.0:1CR 425HP/410TQ SAE (400TQ@3500RPM)
    200cc Heads, 228/232 110+2 Cam, 1 3/4" LT's w/catts, GMMG, Koni Shocks, Hotchkis Springs, 35/21 Sways, 17" ZR1's, 3.90 Gears Roadrunner PCM LM-2 Serial Wideband
    EFILive Closed-Loop MAF/SD Hybrid Tune..


  9. #9
    Member
    Join Date
    Feb 2009
    Posts
    73

    Default

    Shawn,

    Are you basing this calc on E10?

    14.124?

    Thanks

    Brad
    99 Firebird Formula, M6, LS6 intake, headers, catback, lid, BRE cam.

    EFI V2, V7.5.5 (Build 149)
    V8.1.2 (Build 142)
    Boot Block 2.07.01 Oct 14, 2010
    Firmware 2.07.05 Jan 29, 2011
    LC-1 with serial cable
    COS 5

  10. #10
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,709

    Default

    Quote Originally Posted by bmax View Post
    Shawn,

    Are you basing this calc on E10?

    14.124?

    Thanks

    Brad
    That AFR would be E10.

Page 1 of 72 1231151 ... LastLast

Similar Threads

  1. Please explain table A0007 TPS VE TABLE cos5
    By WHYTRYZ06 in forum General (Petrol, Gas, Ethanol)
    Replies: 1
    Last Post: March 18th, 2008, 06:26 PM
  2. OLFA table vs. Custom OS A0008 table
    By 1bar in forum General (Petrol, Gas, Ethanol)
    Replies: 15
    Last Post: January 6th, 2007, 06:25 AM
  3. Table Names vs Table Number
    By lplott in forum Custom Operating Systems
    Replies: 0
    Last Post: May 17th, 2006, 05:14 AM
  4. Main VE Table ?, Logged data vs VE Table
    By dbaxter_ss in forum Tips and tricks
    Replies: 1
    Last Post: December 26th, 2004, 03:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •