Home Page

Facebook

@Contact

Also read these tuning pages:
Map or TPS Based
Checks and Settings
Starting and Tuning

MS2-Extra Settings Manual

MS1-Extra Settings Manual

MS3 Settings Manual

Images shown are from Tuner Studio and MegaTune, users will find they are very similar and have the same functions, but Tuner Studio has more features for helping you tune.


Engine Constants:

 

Required Fuel – (Req_Fuel) this is top field of the Constants window. It has a calculation dialog to help you find an appropriate value. It should contain the injector pulse width, in milliseconds, required to supply the fuel for a single injection event at stoichiometric combustion and 100% volumetric efficiency.

Control Algorithm - Please see HERE for more on this.

Change the selection at the top (highlighted RED) to Alpah_N, then save and close the program. The next time MegaTune is opened it will be in Alpha_N mode.

Ensure that the NUMBER of CYLINDERS has been set before using the wizard!

In order to come up with this value, MegaTune provides a calculator that will suffice for 99% of applications (those for which it will not work generally require changes to the MegaSquirt controller code itself, and that is beyond the scope of this manual). To use the wizard, click on the Required Fuel button, and fill in the fields (Engine Displacement, Number of cylinders, Injector flow, and Air:Fuel ratio(14.7), then click 'Okay').

For a 4-stroke, a complete stroke cycle is 720 degrees of crankshaft rotation (i.e. two revolutions); for a 2-stroke, it is 360 degrees (this is also factored in the REQ_FUEL value down loaded to MegaSquirt).

In the tuning software, the upper REQ_FUEL box is the amount per cylinder, as noted above. The lower REQ_FUEL box is the value down loaded to MegaSquirt. It is the REQ_FUEL number on top, but scaled by your selected injection mode (number of squirts and alternate/simultaneous), this can be ignored as it is the upper number thats the important value.

For example, if you inject simultaneous and one injection, and have the same number of injectors as cylinders [i.e. port injection], then REQ_FUEL on the bottom is the same as REQ_FUEL on top. Same with alternate and two squirts. If you put in simultaneous and two squirts, then REQ_FUEL is divided in half - because you squirt twice, you need to inject 1/2 the fuel on each shot.

Note: if you choose alternating for port injection, make sure your number of squirts is an even number (2,4,...) and evenly divisible into the number of cylinders. For example, with an eight cylinder engine, you could use alternating and 2, 4, or 8 squirts/cycle. With a six cylinder, if you choose alternating, you MUST use 2 or 6 squirts/cycle. Also, the only possible combinations for an odd-cylinder count engine are either 1 squirt/simultaneous or N squirt/simultaneous combination, where N is the number of cylinders."

Permissable Combinations:

Number of Cylinders

 

 

1

2

3

4

5

6

8

10

12

 

1

OK

Simultaneous only

Simultaneous only

Simultaneous only

simultaneous only

simultaneous only

simultaneous only

simultaneous only

simultaneous only

 

2

no

OK

no

OK

no

OK

OK

OK

OK

 

3

no

no

simultaneous only

no

no

simultaneous only

no

no

simultaneous only

 

4

no

no

no

OK

no

no

OK

no

OK

 

5

no

no

no

no

simultaneous only

no

no

simultaneous only

no

Number

6

no

no

no

no

no

OK

no

no

OK

of

7

no

no

no

no

no

no

no

no

no

squirts

8

no

no

no

no

no

no

OK

no

no

 

9

no

no

no

no

no

no

no

no

no

 

10

no

no

no

no

no

no

no

OK

no

 

11

no

no

no

no

no

no

no

no

no

 

12

no

no

no

no

no

no

no

no

OK

"OK" means the combination will work with either simultaneous or alternating. "no" means it will not work with either, i.e., not at all. Vertually all installs will use 2 (4 is ok for lower RPM engines like V8's) Values of 7 and above would most certainly not be used.

Squirts per Engine Cycle is set the number of squirts you want per engine cycle. You want this to be set so that your idle pulse width is no less than 2.0 ms, if possible, and your Req_Fuel is less than 12-15 milliseconds, but more than 8 milliseconds. These values allow proper tuning of the idle mixture while maintaining the ability to apply enrichments (acceleration, warm-up, etc.) under full throttle. This is the total injector events that you wish to occur for every engine cycle (360 degrees for two stroke engines and 720° for four strokes).

Injector Staging values for injector staging are simultaneous or alternating. If you want all your injectors to fire at once, select simultaneous. If you want half your injectors to fire at each injection event, and the other half on the next event, select alternating.

There is some benefit to choosing 2 squirts/alternating for port injection, since only half of the injectors fire at once, the pressure drop in the fuel rails is reduced and the fuelling is more consistent.

With throttle body injection, the number of injection/cycle you can will depend on your number of cylinders, plenum size, Req_Fuel, etc. You have to experiment to see what works best for your combination.

Engine Stroke values for engine stroke type are two-stroke or four-stroke. MegaSquirt uses engine stroke to determine how many degrees are in an engine cycle.

Number of Cylinders is the count of the cylinders on your engine. If you are unsure how many cylinders your engine has, you should not be installing MegaSquirt on it.

Injector Port Type This is not used in MS-Extra, so no settings needed for this, it should be greyed out.

Number of Injectors is the total number of injectors MegaSquirt is controlling, whether port or throttle body injection. (this is used in the Required Fuel calculation)

Engine Type: This has the options of Odd fire or even fire. Odd-fire or even fire does not refer to the firing order, but rather the interval between successive firings.

So if you have a 4 cylinder, and a spark every 180 degrees, you have an even fire. Almost all 4 cylinder engines are even fire. However some 90 degree V6s, some V4s, and most V-Twins (usually motorcycle engines), as well as a few others, have 'odd-fire' arrangements.

More Engine Constants

Secondary Fuel Load: Secondary fuel load allows a second fuel table to be used for those who feel the need for 31x16 or 16x31 tables for example or blended alpha-n and speed-density. So if you decided to use the second fuel map you could do 20KPa to 100KPa (this would be out of boost) then on the second VE table have 100KPa to your boost limit (e.g. 200KPa).
(Dont get this confused with switchable maps, its not the same thing!)

Secondary Fuel: The secondary map values can either be multiplied as percentages to the main map or added to the main map where they cross over. (Multiply is the normal route here)
So when you come to tuning the second table you must remember that the VE will be the top line of the first VE table (100KPa for example using a boosted engine) multiplied by the relevant VE value in the second table. So say you were at 4000RPM and 150KPa (7PSI of boost), your VE would be the 100KPa line at 4000rpm (from the first table) x VE at 4000rpm and 150KPa point of the second table / 100. This doesn't really mean anything apart from the VE value may look odd, and MUST be 100 or above. So if set for Multiply: VE value of 80% in the main and 105% in the secondary you'd get 80% x 105% = 84% or if you had 100% and 120% youd get 120% (i.e. Main x Secondary / 100 = VE%)

Multiply MAP: This changes the way the VE table values function. The usual equation is to multiply the MAP value (along with other corrections, req_fuel, etc) to find the final Pulse Width. For some engines with very jumpy MAP signals it may be necassery to turn this off to get a smoother tune.

Incorporate AFR Targets: This includes the AFR table in the fueling equation. So once the VE has be dialled in to match the AFR table, future changes can be made using the AFR table alone. I'd advise to leave it off.
Note: If you switch this on your fueling will completly change, so if you want to use this you will need to tune your map either from the start with it on or tune it all again when you turn it on.

Primary Ignition Load: This allows the ignition map to follow either Speed Density or Alph_N. See the MAP or TPS page HERE or the PDF file.

Secondary Ignition Load: This enables a second spark table that allows blending between Speed Density and Alpha_N.
Note: The two tables are added together! Dont get this confused with switchable maps, its not the same thing!

 

Injector Characteristics

Injector Opening Time (ms) is the amount of time required for the injector to go from a fully closed state to a fully opened state when a 13.2 volt signal is applied. Since fuel injectors are electro-mechanical devices with mass, they have latency between the time a signal is applied and the time they are in steady-state spraying mode. Typically, this value is very close to 1.0 milliseconds.

The MegaSquirt code assumes that NO fuel is injected during the opening (and closing) phases. However, it is very likely that a small amount actually is injected. Thus making this value larger will enrich the mix and will have a much greater effect at low pulse widths. MegaSquirt also uses this value as an additive constant in pulse width calculation, thus making this the lower limit for pulse width.

If you are running high-impedance injectors (greater than 10 Ohms), then set the:

If you have low impedance injectors (less than 4 Ohms), set the:

For more information on these settings please see HERE.

Specific Bank 2 Setting: If all you're injectors are the same, most engines will use the same spec injectors for all cylinders, then keep this set to OFF. If you have staged injection or different injectors connected to each bank then you can specify those for Bnak 2 seperately by setting this ON.
Note: This must be set as ON for setting Injection Banks 3 + 4 with different characteristics if using sequential injection with additional drivers fitted.

Injector PWM Period: This is the time taken for each pulse to turn On-Off when the injector goes into PWM mode. Keep this around 100 - 40uS (66uS is typical)

 

Tacho input/Ignition Settings

Spark Mode: This is where you select the type of trigger pattern or setup you have. Toothed wheel is for Ford, Vauxhall, etc, crank wheels, like a 36-1, 60-2, etc, etc. Basic Trigger and Trigger Return are for distributor based setups, EDIS, RENIX, etc, are selections specific for your setup if you have that style of trigger input.

Trigger Angle Offset: This is used for Distributor based setups, see the distributor setup pdf file HERE. Leave at ZERO for all other setups.

Skip Pulses: This is the amount of trigger inputs the ECU waits for before trying to start (enabeling the spark outputs), this is to allow the cranking speed to stabilize. 3 is usual here.

Ignition Capture: This will be setup for your setup, basically if you have a VR input (multiteethed wheels) then this should be Rising Edge. If you have an EDIS or hall sensor input then it will be Falling Edge.

Spark Output: This is very important and will have been setup for you. If your driving coils directly from the MS ECU then this must be Going High (Inverted) if you have 5V triggers to coils with built in ignitors then its likely to be Going Low (Normal)

Number of Coils: Single Coil is for distributor based setups with a single coil. Wasted Spark is for coil pack engines which have one coil for two cylinders. COP is for single coils for each cylinder.

Spark A Output Pin: This should be set to D14 for ALL of my ECU's except EDIS ECU's which is JS10!

 

More Ignition Options

Fixed Advance: This is used to test your timing is correct using a strobe light. Select Use Table for normal use.

Use Prediction: This is the algorithm that the MS ECU uses to judge what time to fire the spark based on previous timings from the crank sensor. Every time the ignition fires the crank will accelerate a little. First Deriv Prediction is the usual method.

Cranking Dwell: Please see the dwell page for more on this HERE

 

Noise Filtering

There is an EDIS based noise filter and a trigger wheel based filter. These can help eliminate trigger noise by masking or ignoring trigger inputs using the software, that come in at the wrong time due to stray noise. Usually hardware issues are the cause of noise and should be eliminated as the problem before going down the masking route. See HERE for more on noise.

 

General Lags

Dual Table Use: The ECU can run each bank of injectors from a different VE table (2 in total) so you can have different fuels, etc. The idea for this was based on water injection, it is really for speciallist applications so leave it as Single Table unless you know what your doing.

Barometric Correction: NONE is no correction, it assumes 100%. Initial MAP Reading (this is the normal setting) is taken when the ECU is first powered up, before the engine starts. This value is then remembered and used for the correction. If you have another sensor wired in then you can select Two Independant Sensors and then select the input pin that is used for the second sensor below, The ECU will constantly read the current baro pressure and correct fueling using that value.

Upper /lower Limit: If the ECU resets during running, the MAP sensor will see a lower (or higher if in boost) reading when it re-starts due to it being connected to the engine manifold. So here we can select the limits it should operate within. Usually 100KPa is upper and 90-95 is the lower, depending on where you live with respects to the sea level.

Default Baro: This is for use with Boost Control to tell it when you go above atmosphere and into boost. This should be set to your normal barometric reading. To find this value out, turn the ignition on and dont start the engine. Start the tuning software up and go to Extended - Barometric Correction. Youll see a gauge in the top corner, make a note of that value. Then go back to this setting and enter the value in here.

Input Smoothing Lag Factors: Decreasing the lags makes the values of the variables change slower than the input is changing. 100% is no lag. Generally 50% is fine in these.

New Variable Value = Previous Value + (New Value - Previous Value) * ( LagFactor/100*)

MAP Sample: This has been designed for ITB's or setups where the MAP fluctuates a lot during the compression stroke. The MAP can be taken from 0 - 100%, where 50% is half way between the fueling pulses. Generally 50% is fine, try altering it a little and see if the MAP decreases, basically you are looking for the lowest map at idle.

Fuel Table Size: Usually a 12x12 fuel table is big enough, but like most things we want it bigger, so now you can select 16x16 :o) ensure you re-tune your VE table if you change this as the fueling will look very odd at the top if you change from 12x12 to 16x16

 

Rev Limiter

This system can cut fuel, and or cut sparks in a round robin fashion and or retard the ignition.
Maximum Retard is the angle we back off to when we hit the Soft Limit RPM value. This pulls power out of the engine and helps to slow it down. Different engines react differently to this, some just drive through it, others you can feel slow down.

Hard Limit is the RPM that we either cut fuel or Sarks, or both (Note an EDIS based setup will not cut sparks as it has a limp home feature that will cut in) If you have Spark Cut set in the Algorithm then you can cut every X from Y spark events: e.g. Cut 4 out of 5 = - - - -* , - - - -* , - - - -*

Rev Limiter CLT based: The limit can be altered with coolant temperature, as a cold engine will need a lower limit than a hot engine. Usually the driver would know not to push the car untill it's up to temperature, etc, but you can adjust the rev limit depending on the coolant value.

 

Output Port Settings:

This has to be set carefully as if you select IAC1 or IAC2, for example, as outputs (Enable them) and you have the IAC stepper motor function enabled (these are the same pin on the processor) the code will find a Config Error and stop working until the selection is fixed. Items like PM3 (LH LED), PM4 (RH LED) and PM5 (Middle LED) (LED 14, 16 and 15 respectively) are likely to be used as spark outputs. See the bottom of your ECU to find out what pins outputs are setup for. E.g. IAC2A - Cooling Fan as the above example from my cobra.

You can soon tell which outputs are enabled by the green highlight beside the output pins name. Set the Power on value and Trigger Value as above for normal use. Once the threshold is made the output will come on. It will stay on untill the condition drops below the threshold by the hysterisis value, so abobve the output will come on at 86C and off at 81C. You can also select a second condition, for example TPS above 80% and coolant above 70% for a valve in the intake to change over, etc, etc.

Barometric Correction

The MS ECUs have a table within the fueling calculation algorithm that changes the fueling depending on the barometric correction. To use this table, 99% of users, keep this graph at 100%. If you feel your fueling has altered during the climb up a mountain then this may be an area to look at, but it really should be the last resort.

 

Cold Advance

This allows for some advance to be added to the base ignition map when the engine is cold, this aids warmup time and helps to increase the idle speed during the cold period of warmup. Ensure the last bin is just below the operating temp (71C) and is set to ZERO so it follows the ignition map above that temperature.

 

MAT (Manifold Air Temp) Based Ignition Retard

As air warms up it looses density, this increases the likely hood of detonation, especially in boosted engines. This function can remove advance from the base map when air temps reach the limit to help reduce the likely hood of knock. Ensure the first bin is the usual air temperature you experience, 60-90C and is set to ZERO like the above.

 

MAT (Manifold Air Temp) Correction

This is to correct for heat soak on the temperature sensor, in some cases the sensor can become heated by external influences, e.g. the manifold if its bolted to it. This tends to happen if its sat in traffic for a while, etc. If this happens then you can trim the correction down, so the engine doesn't go lean due to heat sink. Usually this should be left at 0% correction as above, in some cases an increase around 80C and onwards by 5% or so can help.

 

Over Run Fuel Cut

This is to help cut fuel bills. Basically when your in gear and the engine is on overrun (no throttle, slowing down with the engine) there is no point in fueling it. So we can cut fuel during that period, to do this look through datalogs and see where your MAP drops to during over run, ensure that the MAP doesn't wander that low when your cruising or driving normally! Set the KPA Lower value to just above the minimum it goes on overrun, this is best to ensure it is at least 10KPa lower than your crusing KPa. Delay is usually fine at 2S. Ensure the RPM is greater than 1200ish to allow the fuel to cut back in as the engine slows.

 

Idle Advance

     

To help the engine idle smoothly an Idle Advance function has been added. This allows you to fix the advance when the engine needs to be stable. The table is to allow for the advance to increase if the engine starts to stumble (this usually happens with an increase in MAP) so as the map increases it can help to add some advance to allow it to stabalize again.

 

Dwell Battery Correction

The MS ECUs correct for dwell (Charge time) times using the standard correction table, as above. This should only be altered from the above if you have specific data about your coils!

 

PDF File

Content © ExtraEFI. All rights reserved
Terms of Use
Founded, built and maintained by P.Ringwood