03 MapCorrector HANDBOOK
03 MapCorrector HANDBOOK
User’s Guide
High Version 0.1
English version
1 INTRODUCTION ................................................................................3
5.2 Tools........................................................................................................ 17
5.2.A Edit Configuration Setting ................................................................................... 18
5.2.B Lambda reference type: Edit map ....................................................................... 19
5.2.C Edit the lambda delay throw the lookup table ..................................................... 20
5.2.D Channels translation ........................................................................................... 21
5.2.E Options ................................................................................................................ 22
6 APPENDIX ....................................................................................... 23
6.3 Import and export map files to and from DoPe .................................... 26
The Map Corrector software was designed to work together with a tool that is capable to read and
write injection maps from and to an ECU.
When used with a Dell’Orto DoPe ECU, you can use the Dell’Orto DoPe software, since Map
Corrector can read and create injection maps in the format these softwares internally use. Moreover,
Dell’Orto DOP or DTD data files can be read from Map Corrector.
If you are not using a DoPe ECU, you can still use Map Corrector, since it can load text formatted
data files and read and produce text formatted injection map files; refer to Text data files format and
Text map files format for a quick explanation of text formatted map and map files.
• Data file loading, to use them as the source of correction information: Moto3
DOP or DTD files or text files for Moto3 version.
• Original injection maps loading.
• Corrected values showing.
• Updated maps saving.
Figure 2-1
Figure 2-2
Click “Next” to choose the installation directory, as you can see in Figure 2-3:
Figure 2-3
Click on “Install” to start Map Corrector installation on your pc. You can see the installation progress
during the process; if a prompt saying “Do you want to allow the following program from an unknown
publisher to make changes to your computer?” will appear, answer Yes.
Figure 2-5
Click on ‘Finish’ to exit the installation program. A “Map Corrector” program folder has been created
in your Start menu, under “Racing Applications” parent folder.
Figure 3-1
When opening Map Corrector an empty window will appear. The first action to do is to open these
informations. From now on this group will be called ‘Configuration’.
Engine Configuration (3.1.A)
Original Lambda Signal from your Acquisition file (3.1.B)
Original Injection Correction Map (3.1.C)
N.B.: since signals in your acquisition files have names associated that can vary from user to
user, a way to convert these names into the ones Map Corrector internally uses is necessary: this is
done with a so called names mapping (see 3.2.A section for details).
Figure 3-2
then select the configuration file you want to load (the configuration file has ‘.engcfg extension’).
To create a new configuration, just choose ‘New…’ and the window in Figure 3-3 will be shown. Here
you can build your own configuration.
Then, once you have opened the engine configuration the program will appear like in Figure 3-4.
N.B.: it is also possible to open more than one configuration contemporaneously in order
to apply a correction at the same moment to the same data with different rules. You can also
perform a correction using the output map of an engine configuration as the input map for
one other configuration, for further details see 5.2.E.
Figure 3-4
Click on button for starting the process and the window in Figure 3-5 will be shown.
Clink on the ‘Browse’ button in order to select the files. The data files format available to the user are
Dell’Orto DOP or DTD files and TXT files. After selecting the files that you want to use click on ‘Next’.
Figure 3-5
Once one or more files are loaded click on ‘Laps preview’ in order to have information about the
laps contained in the files (Figure 3-6).
This window lists all the laps of the file(s) selected in increasing order and the lap time. It is also
showed a brief information about each file session.
Figure 3-7
Choose the original map file (the one that has to be corrected), and click ‘Open’. This map is the one
in your configuration, for further details see 6.3 section. After selecting the original map the program
will automatically ask you for the output corrected map (Figure 3-8). Choose a destination file to save
the output map. This map can finally be opened in DoPe (see 6.3 section).
Figure 3-8
After explaining how to correct the maps, now it is important to understand how the algorithm works.
The correction algorithm analyzes the acquisition lambda values as a function of the rpm and throttle
to elaborate the Original Lambda map f(throttle, rpm).
Elaborate the Original Lambda map as a function of the throttle and rpm.
The breakpoints of this map (rpm and throttle) are the same of the Reference Lambda map and
Original Injection Correction map; an example of a portion of the map is reported in Figure 3-9.
Figure 3-9
The correction algorithm collects the lambda values (f(throttle, rpm)) and fills in this map.
To avoid problems when the lambda value is function of an rpm value or throttle value that are not
defined breakpoints, a strategy which expands the breakpoint value to a parametrized neighborhood
has been implemented. The parameter which regulates the neighborhood is the ‘Weight coefficient’
(see 5.2.A section for settings details).
In the same cell/area there could be more than one lambda value depending on the conditions of the
engine during the data acquisition. The algorithm will use the average of these values only if the
number of these values is greater or equal than a value named ‘Samples threshold’ (see 5.2.A
section for settings details). Otherwise, all these values will be discarded.
After doing so, the algorithm compares this Original Lambda map with the lambda reference map
cell by cell. The difference between these two values determines the Correction Lambda map
before filtering.
In order to avoid big discontinuity between the corrected cells and the not corrected cells a filter is
applied to this Correction Lambda map. This filter allows to “spreading” each cell value over its
neighborhood; the size of the neighborhood is specified by the ‘Smoothing level’. The result is the
Filtered Percentage Map.
N.B.: the math library (.matlib file) must be placed inside the ‘MathLibraries’ folder in the
Map Corrector installation folder for the correct working of the program.
Figure 4-1
The layout of the program is organized in ‘tabs’ (Figure 4-1) which will give to the user information
about the correction procedure:
Input map tab: shows the original input map.
Lambda sample count: shows the normalized values of the samples count of the map, each
values represent a “trust” indicator which tell to the user the importance of the value assumed
at the specific breakpoint. If the value is less than the ‘Samples threshold’ it won’t be used
for the correction procedure as explained in section 3.2.
Lambda average values: shows the average values assumed by the lambda signal.
Lambda target: shows the lambda target map.
Correction map: shows the correction applied to the input map.
Output map: shoes the final corrected map which will be saved in the file selected by the
user.
Graphs: in this tab are represented the graphs of the shifted lambda channel, the throttle and
the rpm.
In all those maps the cells associated with the breakpoints that are interested in the correction
process would assume different colors in respect of the conditions of the algorithm that is applied to
the original map:
RED if the correction is saturated to the maximum negative value.
ORANGE if a negative correction is applied to the value.
GREEN if a positive correction is applied to the value.
DARK GREEN if the correction is saturated to the maximum positive value.
GRAY if the value won’t be considered because the sample count is less than the ‘Samples
threshold’.
5.1 File
Figure 5-1
New: create a new engine configuration.
Open: open an engine configuration.
Save as: save the current engine configuration.
5.2 Tools
Figure 5-2
Edit configuration settings: clears the list of last opened engine configurations.
Apply user changes: TODO
Options: opens the Map Corrector option window.
Figure 5-3
If you want to edit the map you can clickon each cell and write the desired value at the related
breakpoint. There are also different functionalities that helps the user to fill easily the map, for details
see 6.4.
To load an existing map click on ‘File/Open’ and select the map you want to load. You can import the
lambdaSP map from a DoPe configuration, for details see 6.3.
which represent respectively the delay of the lambda signal at the corresponding value of rpm.
An example is reported in Figure 5-5. You can edit the file adding or removing lines with the
breakpoints values you want.
Figure 5-6
The Internal name is the name used by the software, while User name is the name stored within
acquisition data files; to find out the meaning of each internal program channel, look at that channel
Description.
Figure 5-7
From the ‘Options’ window (Figure 5-8) you can change setup preferences on the working of
program. The ‘Input’ group enable to choose between three configuration settings:
Ask the input for every configuration: the program ask the user for the input injection map for
each opened configuration.
Share the same input for all configurations: the program use the first injection map selected
to perform the correction for each opened configuration.
Chain input: the program use the output map of the previous opened configuration as the
input map for the following configuration.
Figure 5-8
The ‘Configuration’ group enable to check folder preferences for the input and output files.
The following figure shows an example of text formatted data file Map Corrector can read:
Acquired signals
Figure 6-1
The first row has to contain the acquired signals names; the first signal must be the time, and its
name has to be CLOCK. Starting from the second row, signals data have to be listed, separated by
the tabulation character, following the rules below:
CLOCK samples have to be the first ones in the rows; they represent the acquisition time (in
seconds)
Figure 6-2 shows an example of a text map file Map Corrector can read (and produce).
The first row contains the map name; following 7 rows are needed by the software and must remain
as shown in the example.
Starting from the 9th row, there are the data regarding the first gear map.
N.B.: all values (both axes and map ones) are represented in fixed point notation; it means that
if, for example, map values are represented with 2 decimal digits, a value of 2.34 has to be written as
234, and a value of 5.6 has to be written as 560.
The first row represents X axis breakpoints: first value must be 0, while other values are the actual X
axis breakpoints.
The following rows start with an Y axis breakpoint, followed by map values referring to that particular
Y breakpoint.
If more than one map is needed (for example, to have different target maps, one for each gear), just
add more data, following the schema below for each additional map:
<blank line>
Dynamic matrix “gear number – 1”
“gear number – 1”;
<blank line>
map data
(see last highlighted section in Figure 6-2).
Map values
Y axis breakpoints
(excepting the
first 0 value)
Other gears
maps
(where
necessary)
Figure 6-2
Within Dell’Orto DoPe program, open the engine configuration injection map that have to be
corrected. Once the configuration is opened, expand the node that represents the curve containing
the map you want, i.e. the injection map, then locate InjectionCorrection node and right click on it
(Figure 6-3).
Figure 6-3
Click on ‘Export to file…’ to save the injection map, in order to use it within Map Corrector. Once the
new corrected maps will be created, come back to DoPe and choose ‘Import from file…’: the engine
configuration is now using the newly corrected maps. The same operation can be performed also
with the lambdaSP map selecting the LambdaSP node and performing the same operation
described above for the injection map.
Select the cell or cells to modify in the table. The selected cells become highlighted blue. By
clicking the right mouse button these options are available.
Copy: copy the selected cells of the table.
Paste: paste the copied cells in the table.
Paste SPECIAL: advanced paste features (sum or
percentage).
Offset: adds the written value to the original one.
Percentage: adds this percentage of the original value.
Replace value: just replaces the original value with the
new one.
Interpolation: interpolate between values (by row, by
column or by area).