🎁 New account: buy your first 10 credits, get 10 more free.Avg. 25–45 min turnaround · Files written on your original readCreate free account

Ignition timing is one of the most powerful levers in a petrol engine calibration. Fire the spark a little too late and the engine feels flat, runs hot and burns more fuel. Fire it too early and you risk knock, high cylinder pressure and damaged pistons. Modern ECUs do not use a single timing value: they calculate a new angle for every cylinder and every combustion event, starting from base maps and adding a long list of corrections. This article explains how that calculation works, what MBT and knock-limited timing mean, and what tuners and technicians should keep in mind.

Flow diagram of how a petrol ECU calculates the final ignition angle: base map by engine speed and load, temperature and cam corrections, knock retard per cylinder, torque interventions, limits and final angle with dwell
How the ECU builds the final ignition angle (original diagram)

What ignition timing actually controls

Ignition timing is the crank angle at which the spark plug fires, usually expressed in degrees before top dead centre (BTDC). Combustion is not instant: after the spark, a flame kernel forms and the flame front needs time to travel through the chamber. The goal is to place the main pressure rise so that peak cylinder pressure arrives a little after top dead centre, when the piston can turn that pressure into useful work.

Because the burn takes a roughly fixed amount of time rather than a fixed number of crank degrees, the ECU must fire earlier as engine speed rises. Load matters too: at light load the cylinder holds a thin, slow-burning charge and needs more advance, while at high load the dense charge burns faster and is more prone to knock, so it needs less.

MBT: the timing for best torque

If you sweep the spark advance at a fixed speed and load and measure torque, you get a curve with a rounded peak. The smallest advance that gives the best torque is called MBT (minimum advance for best torque). Around MBT the curve is quite flat, so a few degrees either side change torque only slightly, but they change other things a lot:

Qualitative curve of engine torque against spark advance showing the MBT point, a knock limit before it at high load, and the effects of too much or too little advance
Torque vs spark advance: MBT and the knock limit (original diagram)

Knock-limited timing

At light and medium load most engines can run at or close to MBT. At high load, especially on turbocharged engines, knock usually appears before MBT is reached. In that region the calibrated angle is set by the knock limit with a safety margin, not by MBT. This is why fuel quality, intake air temperature and boost have such a big effect on power: they move the knock limit, and the timing has to follow. Our article on knock sensors and knock control explains how the ECU detects knock and retards individual cylinders.

How the timing maps are organised

A typical petrol ECU stores several timing tables, each indexed by engine speed and load. Load can be relative air charge, manifold pressure or, on many motorcycles and race systems, throttle angle (alpha-N). Common table types include:

The ECU interpolates between breakpoints, as described in ECU maps explained, and often blends between tables depending on conditions such as VVT position.

Corrections the ECU adds

Timing as a fast torque actuator

Air in the intake manifold cannot change instantly, but spark timing can change from one combustion to the next. That makes ignition retard the ECU’s fastest way to reduce torque. It is used for gear-shift torque reduction, traction control, anti-jerk damping, idle speed control and soft rev limiting. In a torque-based ECU, the system requests a torque reduction and the ignition path works out how far to retard using the efficiency it reads from the optimum tables. When you log timing on a running car, these interventions explain many of the sudden dips you see.

After the calculation: dwell and firing

The final angle is clipped to minimum and maximum limits, converted into a firing moment using the crank and cam signals, and the coil is charged for the required dwell time before that moment. Faults in the crank and cam sensors or the timing drive therefore affect timing directly. Coil and dwell control are covered in our ignition coils and dwell article.

Cars, bikes and gas engines

The same principles apply across petrol cars, vans and motorcycles. Bikes often use throttle-angle-based tables and may have separate timing per gear or per cylinder. Spark-ignited gas engines, such as natural-gas trucks and some stationary or agricultural units, also use timing maps with knock control. Diesel engines have no spark: their equivalent is start of injection, controlled through injection timing maps.

Calibration notes for tuners

Seven-step check order for low power or pinging on a petrol engine, from fault codes and logging timing per cylinder to knock sensor, cam timing and relearn checks
Ignition timing check order (original diagram)

Related fault codes (DTCs)

There is no single generic code for “wrong timing”. These are the codes most often connected with ignition timing problems or with the inputs the ECU uses to calculate it.

CodeMeaningTypical causes
P0324Knock control system errorKnock control at its retard limit or not plausible, knock sensor or wiring fault, persistent real knock from poor fuel or overheating
P0325Knock sensor 1 circuit (bank 1 or single sensor)Open or shorted wiring, damaged connector, loose sensor or wrong tightening torque
P0326Knock sensor 1 circuit range/performance (bank 1 or single sensor)Sensor not bolted correctly, mechanical noise, signal outside the expected range, sensor fault
P0327Knock sensor 1 circuit low (bank 1 or single sensor)Signal shorted to ground or open, sensor fault, connector corrosion
P0328Knock sensor 1 circuit high (bank 1 or single sensor)Signal shorted to voltage, sensor fault, wiring interference
P0330Knock sensor 2 circuit (bank 2)Wiring or connector fault, loose or failed sensor on the second bank
P0335Crankshaft position sensor “A” circuitSensor, wiring or connector fault, damaged trigger wheel, large air gap
P0340Camshaft position sensor “A” circuit (bank 1 or single sensor)Sensor, wiring or connector fault, damaged target wheel
P0016Crankshaft/camshaft position correlation (bank 1 sensor A)Stretched timing chain or belt, wrong timing after repair, cam phaser fault, sensor or target wheel fault
P0011“A” camshaft position timing over-advanced or system performance (bank 1)Oil supply or oil-control valve problem, sticking cam phaser, wrong oil, timing drive wear
P0113Intake air temperature sensor 1 circuit highOpen sensor or wiring, connector fault; the ECU may fall back to a substitute temperature and change timing corrections
P0300Random/multiple cylinder misfire detectedIgnition, fuel or air faults on several cylinders, very late timing, heavy knock, mechanical problems
P0301Cylinder 1 misfire detected (P0302, P0303 and so on for other cylinders)Coil, plug or injector fault on that cylinder, low compression, wiring fault

Generic OBD-II meanings shown. Manufacturer wording and extra codes vary, so check the service data for your vehicle.

Planning a calibration change on a petrol engine? Upload your original ECU read to the tuning file service at ECUFileMarket and get a file built for your exact hardware and software.

Leave a Reply

Your email address will not be published. Required fields are marked *

⚡ New Free Workshop Resource: Hybrid & EV Powertrain Engineering & ECU Diagnostics Training (8 Free PDF Manuals) →