<< Home
EFI Analytics MegaLogViewer MegaSquirt EFI Forum Index
Quick Links:     VE Table Tuning Instructions     Change Log     Download JRE     FAQ    Download

Buy MegaLogViewer Now!


Tuning with MegaLogViewer VE Analysis


Requirements:
How to use:

Advanced Controls


For the curious, How it works:
The formula used for correction is in the MSGraph.properties file:

AFR_recommendedCellValueFormula=(cellValue*[Gego]/100*[AFR(WBO2)+WBafrOffSet]/afrValue)+(cellInterpolated*[Gego]/100*[AFR(WBO2)+WBafrOffSet]/afrValue)/2

You can likely read through it an see what is happening, but a couple of key points:
- 4 VE table cells will be analyzed for every record not filtered.
- Each of the cells will be assigned a weight that is equal to it's contribution to the end interpolated VE value. This is the same weighting that is displayed as a tooltip when viewing a log file with your table displayed.



In the above screenshot the current record has
MAP=48
RPM=1325
This means the the actual VE value used will be interpolated from the 4 cells highlighed in yellow. The 45% in the tooltip above represents the weighting for the MAP=50, RPM=1500 cell. The total weighting for the involved cells will equal 100%



- Back to the formula, There are 2 primary approaches to calculating the optimal value being used and then averaged. By breaking the formula down, we can look at both components independently.
The Cell Value approach in the 1st section:

(cellValue*[Gego]/100*[AFR(WBO2)+WBafrOffSet]/afrValue)


Takes the specific value of each of the 4 cells and corrects it using Gego and AFR. In other words, if the record being analyzed appears 10% lean, a recommendation will be added to each of the individual 4 cells that is 10% higher, with the associated weighting.
For Example using the above 4 cell diagram, the top left cell value of 23 would have a recommendation of (23/0.9) 25.555 with a recommendation weighting of 0.35

--
The Interpolated value Approach for part 2 of the formula works a little different:

(cellInterpolated*[Gego]/100*[AFR(WBO2)+WBafrOffSet]/afrValue)


This uses the weighted interpolated value of the 4 cells as the seed value for all 4 cells. In the above picture, the weighted interpolated would be:

(23*.35)+(35*.45)+(30*.09)+(32*.11) = 30.02


So using this formula the correction for the record will be applied to the interpolated value (30.02) and that same recommendation will be added to all 4 cells with the cells contribution weighting. Using the same example of that record appearing 10% the top left cell would have an added recommendation of (30.02/0.9) 33.35 with a weighing of .35

--
Both of these methods were used alone in some earlier versions of MegaLogViewer and each method has strengths. The Cell value approach is maintains the cell relative value even when VE Analysis only views it from one side, meaning there are log entries where a cell is the top cell in the 4 cell interpolation, but no records where it is the bottom cell. However, the Cell interpolated approach aids in smoothing the table.
With the help of many in testing, I found a hybrid approach to work best. Thus the above full formula calculates each cell both ways and applies the average with the associated weight. This seems to give the benefits of both methods.

This formula is read from the MSGraph.properties file, so if you wish to experiment, you can edit it there. applies the interpolated value to all 4 cells with the impacted weight
©2006-2010 EFI Analytics