Tuning Wiki

This is a historical revision. Read the current page or return to its history.

Page organisation in this revision
Page type
Technical article
Subject
Performance
Parent
Section level
Applies to
No ECU-specific applicability
Tool groups
None
Manufacturers
None

Changes from revision 4 to revision 5

Removed text is struck through; added text is highlighted.

On a performance petrol engine, spark advance has two ceilings. One is the advance that gives the most torque from the mixture (MBT). The other is the earliest advance the engine can run without knock. At high load, and on almost any turbocharged or supercharged engine, the knock limit usually comes first. Most of the gains and risks of ignition calibration come from the margin between those two limits and from what erodes it: intake temperature, compression and boost, mixture, fuel octane and combustion-chamber hot spots. Retarding the spark to stay clear of knock costs torque and raises exhaust temperature, so ignition, boost and fuelling are calibrated together rather than separately.The full treatment is Ignition tuning. It covers how MBT and knock-limited advance are defined, why the angle changes with speed and load, what consumes the knock margin, how commanded timing is checked against a timing light, the spark sweep on a load-holding dyno, exhaust temperature, per-cylinder trims, and the diesel equivalent.Related pagesEngine knock: what knock is and how it is detected. Fuel octane: the fuel rating that resists knock. Ignition systems and spark plugs: the coil, plug and dwell hardware. ME7 ignition and knock reference: one controller's split of base timing, corrections and knock retard. Diesel injection timing and combustion noise: the diesel equivalent of spark timing.Two timingsThere is a spark timing that would make the most torque from a given mixture, often called minimum advance for best torque, and there is the earliest timing the engine can run without knock. On many production engines the second limit arrives first, especially once boost or inlet temperature has risen. Advancing the spark toward the best-torque value helps only while the engine is not knocking and the exhaust temperature stays acceptable. Advancing it past knock costs power and can damage a piston.What that knock sounds like, how to hear it, and the fuel rating that resists it, are covered in engine knock and fuel octane.The ME7 family keeps those pieces separate in the calibration: a base timing, a faster timing that would be preferred, temperature corrections, and knock control that retards the spark when the sensor detects it. That layout is described in ME7 ignition and knock. Other ECUs split the same job differently. A single "ignition map" on a printout is not evidence that knock control is absent.Confirm commanded and actual timingBefore tuning an aftermarket ECU, verify that its timing command corresponds to the engine's actual crankshaft position. Use a reliable timing reference, a compatible timing light and the ECU manufacturer's procedure; cylinder numbering, trigger pattern, sensor polarity and offset are specific to the installation.For example, Haltech describes locking ignition timing, checking it with a timing light while cranking with injectors disabled, and adjusting its TDC offset until the observed mark agrees. Its instructions require the timing lock to be disabled afterwards. Other systems may use different terms or procedures. Do not assume a displayed value proves the physical spark occurred there.A distributor also needs correct rotor phasing; timing synchronisation and rotor alignment are separate checks. A timing light alone may not confirm full engine-cycle synchronisation or injector phase on every arrangement. Haltech's dual-pickup example illustrates that distinction.What uses up the knock marginInlet temperature. A hotter charge raises the temperature at the end of compression. BMW's account of water injection is built on this: cooling the plenum air is what lets them advance the spark and raise boost. See charge cooling.Compression and boost. Geometric compression ratio and compressor pressure both raise the starting point for that temperature. A timing table from a low-compression naturally aspirated engine is not a starting point for a boosted one.Mixture. A mixture that is lean of the full-load target, or a fuel of lower knock resistance than the table assumes, removes margin. The fuel hardware is in fuel system upgrades, and the measurement is in air-fuel ratio and wideband lambda sensors.Hot spots. A glowing plug range that is too hot, a sharp edge in the chamber, or carbon, can ignite the mixture without the spark. That is not cured by adding more advance. Heat range, gap and reading plugs are on spark plugs for performance.Exhaust temperatureRetarding the spark to avoid knock moves more of the combustion into the exhaust stroke. Exhaust temperature rises, which loads the exhaust valve, the turbine and the catalyst. A calibration that shows no knock and a climbing exhaust temperature is not finished. On a turbocharged engine that heat is also energy the turbine can use, so the boost, the wastegate and the spark are one system. ME7 torque, load and boost is the family-specific version of that link.DieselA diesel does not have a spark. The equivalent timing is the start of injection or the start of delivery, and it affects noise, efficiency, cylinder pressure and emissions together. Bosch describes start-of-injection targets that depend on speed and fuel quantity, with temperature corrections. The EDC15 page summarises that and warns that pump, unit-injector and common-rail systems do not time the fuel in the same way: EDC15 fuel control. Do not transfer a petrol spark correction into a diesel injection map.

Sources

See the sources listed on Ignition tuning, which this summary condenses.ME7 ignition and knock reference. This wiki. Base timing, temperature correction and knock retard as separate contributions.Water injection. BMW M. Charge temperature, knock threshold, spark advance and boost as one limit. Accessed 2026-11-11.Bosch Electronic Diesel Control (EDC). Robert Bosch GmbH; independent PDF mirror. Start-of-injection targets. Accessed 2026-11-11.

Rendered revisions

Open each version to inspect formatting, tables and photographs.

Revision 4: Ignition timing for performance

Two timings

There is a spark timing that would make the most torque from a given mixture, often called minimum advance for best torque, and there is the earliest timing the engine can run without knock. On many production engines the second limit arrives first, especially once boost or inlet temperature has risen. Advancing the spark toward the best-torque value helps only while the engine is not knocking and the exhaust temperature stays acceptable. Advancing it past knock costs power and can damage a piston.

What that knock sounds like, how to hear it, and the fuel rating that resists it, are covered in engine knock and fuel octane.

The ME7 family keeps those pieces separate in the calibration: a base timing, a faster timing that would be preferred, temperature corrections, and knock control that retards the spark when the sensor detects it. That layout is described in ME7 ignition and knock. Other ECUs split the same job differently. A single "ignition map" on a printout is not evidence that knock control is absent.

Confirm commanded and actual timing

Before tuning an aftermarket ECU, verify that its timing command corresponds to the engine's actual crankshaft position. Use a reliable timing reference, a compatible timing light and the ECU manufacturer's procedure; cylinder numbering, trigger pattern, sensor polarity and offset are specific to the installation.

For example, Haltech describes locking ignition timing, checking it with a timing light while cranking with injectors disabled, and adjusting its TDC offset until the observed mark agrees. Its instructions require the timing lock to be disabled afterwards. Other systems may use different terms or procedures. Do not assume a displayed value proves the physical spark occurred there.

A distributor also needs correct rotor phasing; timing synchronisation and rotor alignment are separate checks. A timing light alone may not confirm full engine-cycle synchronisation or injector phase on every arrangement. Haltech's dual-pickup example illustrates that distinction.

What uses up the knock margin

  • Inlet temperature. A hotter charge raises the temperature at the end of compression. BMW's account of water injection is built on this: cooling the plenum air is what lets them advance the spark and raise boost. See charge cooling.
  • Compression and boost. Geometric compression ratio and compressor pressure both raise the starting point for that temperature. A timing table from a low-compression naturally aspirated engine is not a starting point for a boosted one.
  • Mixture. A mixture that is lean of the full-load target, or a fuel of lower knock resistance than the table assumes, removes margin. The fuel hardware is in fuel system upgrades, and the measurement is in air-fuel ratio and wideband lambda sensors.
  • Hot spots. A glowing plug range that is too hot, a sharp edge in the chamber, or carbon, can ignite the mixture without the spark. That is not cured by adding more advance. Heat range, gap and reading plugs are on spark plugs for performance.

Exhaust temperature

Retarding the spark to avoid knock moves more of the combustion into the exhaust stroke. Exhaust temperature rises, which loads the exhaust valve, the turbine and the catalyst. A calibration that shows no knock and a climbing exhaust temperature is not finished. On a turbocharged engine that heat is also energy the turbine can use, so the boost, the wastegate and the spark are one system. ME7 torque, load and boost is the family-specific version of that link.

Diesel

A diesel does not have a spark. The equivalent timing is the start of injection or the start of delivery, and it affects noise, efficiency, cylinder pressure and emissions together. Bosch describes start-of-injection targets that depend on speed and fuel quantity, with temperature corrections. The EDC15 page summarises that and warns that pump, unit-injector and common-rail systems do not time the fuel in the same way: EDC15 fuel control. Do not transfer a petrol spark correction into a diesel injection map.

Sources

Revision 5: Ignition timing for performance

On a performance petrol engine, spark advance has two ceilings. One is the advance that gives the most torque from the mixture (MBT). The other is the earliest advance the engine can run without knock. At high load, and on almost any turbocharged or supercharged engine, the knock limit usually comes first. Most of the gains and risks of ignition calibration come from the margin between those two limits and from what erodes it: intake temperature, compression and boost, mixture, fuel octane and combustion-chamber hot spots. Retarding the spark to stay clear of knock costs torque and raises exhaust temperature, so ignition, boost and fuelling are calibrated together rather than separately.

The full treatment is Ignition tuning. It covers how MBT and knock-limited advance are defined, why the angle changes with speed and load, what consumes the knock margin, how commanded timing is checked against a timing light, the spark sweep on a load-holding dyno, exhaust temperature, per-cylinder trims, and the diesel equivalent.

Related pages

Sources

See the sources listed on Ignition tuning, which this summary condenses.