Maps

This page last updated Jan 15, 2009

The Map is very important to MyECU as most of its parameters are from the map. The format has changed quite a bit as MyECU has improved but the important parts like the spark advance and injector duration haven't and these can be transferred between new formats and old without issue. Much documentation has been added to the map but below we'll walk through the map and some further details.

# TDC is the pulse count for TDC power stroke of cylinder 1 ( i.e. When the spark fires
# CylOffs is the number of degrees between success cylinders ( 0-720)
# PulsesPer is the number of pulses for the 720 degree 4 stroke cycle

MyECU Cfg TDC=0x1600, CylOffs=270, PulsesPer=48, MissingPulses=3

The above is not specific to the bike. It defines the type of MyECU ( MyP8, My15M, My16M ). This should not be changed.

# CoilCharge is the period in us for charging the coils. 0 for cranking, 1 for running
# Warning, Setting coil charge too high can  cook the output transistors and coils

MyECU Cfg CoilCharge0=6000,CoilCharge1=2700

The cranking value is higher because of the lower voltage. This should not normally be changed.

# Pressure - mV and mB values defines a line representing the air pressure conversion

MyECU Cfg Pressure=250mV,120mB,4750mV,1060mB

Most pressure sensors are linear in nature and a line can define their characteristic. This map line gives 2 points that define that line. This should not normally be changed.

# There are 8 possible voltage targets available 0-7
# The first number for 0 should be 0.0 and means open loop
# For simple sensors where richer is more voltage, all numbers should be positive
# For later sensors where leaner is more voltage, all numbers should be negative

MyECU Cfg O2=0.00V,-3.00V,-2.75V,-2.50V,-2.25V,-2.00V,-1.75V,-1.50V,
MyECU Cfg 2ndO2Sensor=no

The voltages above are good for an LC1 in default mode.

# RPM specifies the maximum RPM.
# TPS specifies the throttle value at idle (no fast idle).

MyECU Cfg RPM=8620, TPS=66

RPM defines the redline speed for the engine Above. this speed the injectors don't fire. This should not normally be changed. The TPS is an important value to set right as the off idle throttle response is affected by this. Expect a value of 100 +/-50.

# TDCWhileCranking=1 will fire the spark at TDC
# TDCWhileCranking=0 will fire with advance from the map

MyECU Cfg TDCWhileCranking=1

If you find that the engine kicks back while trying to start use 1. See "Sorting the starts" on First Steps page.

# This table relates to the injector open/close times as a function of voltage
# The value here is roughly the time ( in us )
#         16V   15V   14V   13V   12V   11V   10V    9V

InjVOn   1000  1000  1100  1200  1500  1700  2000  2500

The value from this table is added to the InjDur value or the prime value.

# TempR gives the value in ohms of the NTC temperature sensor

#Temp C   -30   -20   -10     0    10    20    25    30    40    50    60    70    80    90   100   110   125
TempR   51466 28618 16571  9712  5956  3742  2991  2408  1597  1077   746   524   375   274   203   152   102

Both the coolant/oil and air temperature sensor must be of same type.

# Prime gives the fuel injection time in ms while cranking

#Temp C   -30   -20   -10     0    10    20    25    30    40    50    60    70    80    90   100   110   125
Prime      30    30    25    20    17    12    11     9     8     7     6     5

The prime value is picked against the coolant/oil temperature. Throttle is ignored in the first stage of starting. See "Sorting the starts" on First Steps page.

# Crank is the % boost of the map injection times right after start
# this boost decays to 0 over about 20s

#Temp C   -30   -20   -10     0    10    20    25    30    40    50    60    70    80    90   100   110   125
Crank      80    70    65    60    60    60    55    50    35    25    20    15    15    15    15     0

See "Sorting the starts" on First Steps page.

# OilT is the permanent choking boost

#Temp C   -30   -20   -10     0    10    20    25    30    40    50    60    70    80    90   100   110   125
OilT%   +64.1 +53.1 +43.8 +35.2 +29.7 +18.8 +10.2  +9.4  +5.5  +0.0

# AirT is the barometric adjustment for air temp(based on ideal gas law)

#Temp C   -30   -20   -10     0    10    20    25    30    40    50    60    70    80    90   100   110   125
AirT%   +24.7 +19.8 +15.2 +11.0  +7.1  +3.4  +1.7  +0.0  -3.2  -6.2
# This defines the throttle breakpoints. This on top of TPS base above

THR         960   896   832   704   640   576   512   448   384   320   256   192   128    64     0

The following tables are all 2 dimensional tables of throttle versus RPM. The are 15 throttle points ( vertical ) and 16 RPM points.


RPM         500  1100  1500  1801  2000  2302  2601  2900  3360  3654  4045  4655  5353  6157  7082  8143
SpkAdv 14 11.02 12.42 13.36 19.45 22.03 23.44 25.31 27.19 27.42 32.81 34.45 36.56 36.56 36.56 35.16 35.16
SpkAdv 13 11.02 12.42 13.36 19.45 22.50 23.67 25.55 27.42 27.89 29.06 34.45 36.56 36.56 36.56 35.16 35.16
SpkAdv 12 11.02 12.42 13.36 19.45 23.44 24.38 25.78 27.66 29.06 29.06 34.45 36.56 36.56 36.56 35.16 35.16
SpkAdv 11 11.02 12.42 13.36 19.45 23.44 24.61 26.25 28.13 30.00 30.47 34.45 36.56 36.56 36.56 35.16 35.16
SpkAdv 10 11.02 12.42 13.36 19.45 23.44 24.38 26.48 28.59 30.47 30.70 34.45 36.56 36.56 36.56 36.56 35.16
SpkAdv 09 11.02 12.42 13.36 19.45 23.44 25.31 27.42 29.06 31.64 32.81 34.45 36.56 37.27 37.50 37.50 37.50
SpkAdv 08 11.02 12.42 13.36 19.45 23.44 25.31 27.42 29.06 32.58 34.45 35.86 37.73 39.61 39.84 39.84 39.84
SpkAdv 07 11.02 11.02 13.36 19.45 23.44 25.31 28.83 29.06 32.81 34.69 36.33 39.14 40.31 41.02 41.02 41.02
SpkAdv 06 11.02  9.84 13.36 19.45 23.44 25.31 28.83 31.64 33.28 35.86 38.91 40.78 41.72 42.66 42.66 42.66
SpkAdv 05 11.02  9.61 13.36 19.45 23.44 25.31 28.83 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06
SpkAdv 04 11.02  9.38 13.36 19.45 23.44 25.31 28.83 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06
SpkAdv 03 11.02  9.38 13.13 19.45 24.14 25.31 28.83 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06
SpkAdv 02 11.02  9.38 13.13 19.45 24.14 26.95 29.30 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06
SpkAdv 01 13.13  9.38 13.13 19.45 25.08 29.30 29.77 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06
SpkAdv 00 13.13  8.20  4.92 14.30 25.08 29.30 29.77 31.64 34.22 37.73 40.78 42.42 43.59 44.06 44.06 44.06

RPM         500  1100  1500  1801  2000  2302  2601  2900  3360  3654  4045  4655  5353  6157  7082  8143
InjAdv 14   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 13   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 12   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 11   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 10   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 09   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 08   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 07   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 06   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 05   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 04   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 03   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 02   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 01   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600
InjAdv 00   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600   600

RPM         500  1100  1500  1801  2000  2302  2601  2900  3360  3654  4045  4655  5353  6157  7082  8143
InjDur 14  3984 10837 10731 10457 10305 10138  9940  9773  9880  9849  9560  9424 10123 11415 11126 10807
InjDur 13  3984 10792 10685 10412 10260 10108  9895  9712  9804  9788  9530  9363  9971 11111 10822 10579
InjDur 12  3984 10716 10579 10305 10153 10016  9804  9591  9636  9621  9439  9226  9621 10396 10108 10077
InjDur 11  3984 10412 10275 10092  9986  9788  9545  9332  9211  9074  8740  8116  8192  8512  8162  8056
InjDur 10  3984 10199 10062  9986  9940  9636  9393  9180  8952  8664  8101  7554  7706  7843  6916  6520
InjDur 09  3984  8892  8785  8664  8603  8375  8162  7964  7858  7691  7296  5335  5684  5943  5593  5244
InjDur 08  3984  7569  7478  7326  7250  7083  6916  6748  6429  6095  5563  5046  4712  4544  4499  3952
InjDur 07  3984  7493  7235  7113  7052  6840  6672  6551  6186  5745  4985  4347  4347  4271  4210  3815
InjDur 06  3984  7448  6840  6703  6627  6080  5806  5624  5441  4879  4727  4347  3845  3724  3435  3678
InjDur 05  5184  6718  6277  5928  5730  4909  4848  4848  4666  4408  3967  3815  3344  3450  3024  2705
InjDur 04  4880  4909  5168  4727  4575  3678  3876  4028  3800  3678  3511  2994  2751  2888  2766  2356
InjDur 03  4688  3815  3921  3921  3921  3283  3283  3176  3085  2872  2720  2690  2340  2097  2006  1976
InjDur 02  4640  3283  3146  3146  3146  2736  2660  2568  2462  2462  2143  1839  1520  1428  1428  1428
InjDur 01  4544  2736  2736  2340  2280  2082  1915  1778  1687  1368  1398  1124   988   988   866   714
InjDur 00  4032  2021  1565  1596  1322  1109  1140  1140  1079   988   988   942   942   942   714   577

RPM         500  1100  1500  1801  2000  2302  2601  2900  3360  3654  4045  4655  5353  6157  7082  8143
CylOfs 14    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 13    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 12    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 11    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 10    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 09    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 08    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 07    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 06    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 05    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 04    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 03    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 02    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 01    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0
CylOfs 00    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0    +0

The CylOfs table allows the 2nd cylinder to be richer or leaner than the first. Values can be + or - 7 percent.


RPM         500  1100  1500  1801  2000  2302  2601  2900  3360  3654  4045  4655  5353  6157  7082  8143
Flags  14  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  13  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  12  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  11  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  10  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  09  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  08  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  07  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  06  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  05  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  04  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  03  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  02  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  01  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)
Flags  00  (O0)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)  (O1)

The flags tables has various flags

  1. The O parameter is for closed loop. The following digit ( 0-7 ) picks an entry from the 8 values in the O2 table above.