Ignition timing advance in one minute
Ignition timing advance is how early, in crank degrees before top dead centre, the spark fires.
The flame needs time to burn, so the spark leads the piston to put peak cylinder pressure a little after top dead centre, where it does the most work.137
Every cell in a spark table is capped by one of two limits. Either you reach best torque (MBT) and more advance adds nothing, or the engine knocks first and the knock limit, minus a safety margin, sets the number. Tuning timing means finding which limit applies, cell by cell.1314
This guide stays qualitative on spark numbers, deliberately. The right advance depends on the engine, fuel, charge temperature and boost, and copying someone else's figures is how pistons get damaged.Medium138
What moves the right amount of advance
Burn time in milliseconds changes far less than the time per crank degree, so as rpm rises the burn spans more degrees and needs more advance. Turbulence speeds the burn at high rpm, which is why the advance curve flattens rather than climbing forever.1314
Load works the other way. A light-load charge is thin, diluted with residual exhaust and slow to burn, so it wants more advance and resists knock. A dense full-load or boosted charge burns faster and is closer to knock, so it wants less.1314
| Change | Burn speed | Knock tendency | Advance usually |
|---|---|---|---|
| Higher rpm | Same ms, more degrees | Often lower (less time) | More |
| Higher load or boost | Faster | Higher | Less |
| Higher intake air temperature | Faster | Higher | Less |
| Higher coolant temperature | Slightly faster | Higher | Less |
| Higher octane or ethanol | Similar | Lower | Knock limit moves later |
| More EGR or residual gas | Slower | Lower | More |
MBT: minimum advance for best torque
If you hold speed and load and sweep advance, torque rises, flattens and then falls.
MBT is the least advance that reaches the flat top. Going further adds cylinder pressure, heat and knock risk for no torque.1314
Research describes MBT by where combustion happens, not by spark angle. Honda engineers reported that at MBT the crank angle of peak cylinder pressure usually falls 12-14 degrees after TDC; MAHLE engineers found the 50% burn point near 8 degrees after TDC gave best efficiency in most conditions.12
Those are combustion-phasing targets for engines with cylinder-pressure measurement, not spark settings. The spark angle that produces them varies with engine, speed, load and fuel, so on a normal build MBT is found by measuring torque.Medium113
Knock-limited and MBT-limited cells
Knock is end gas auto-igniting ahead of the flame, sending pressure waves ringing through the cylinder.
Light knock wastes nothing obvious; heavy or sustained knock damages ring lands, pistons and head gaskets.81314
On pump fuel, light and part-load cells usually reach MBT before knock. High-load cells, and most boosted cells, usually knock first, so their timing is set by the knock limit minus margin. Knowing which cells are which tells you where adding timing can pay and where it can only hurt.Medium1314
| Cell type | Limit | Tuning action |
|---|---|---|
| Light load, any rpm | Usually MBT | Step advance toward the torque plateau; stop where torque stops rising |
| Mid load | Either | Measure: plateau first means MBT; knock first means knock limit |
| Full load, naturally aspirated | Often near both | Approach in small steps with knock monitoring |
| Boosted load | Usually knock | Hold margin below the knock limit; retune if boost, IAT or fuel changes |
Before any table: confirm base timing
Every number in the spark table assumes the ECU knows where top dead centre is.
Lock the commanded advance to a fixed value, check the actual timing with a timing light against a known TDC mark, and correct the trigger offset until they agree.107
A wrong offset shifts every spark event by the same amount and no sensor reliably detects it. Recheck at higher rpm too: trigger and filter delays can make timing drift with speed.Medium105
How to tune ignition timing safely: the order of work
Tune spark on a load-holding dyno, where speed and load can be held steady and torque measured.
Road testing cannot measure torque precisely enough, and full-load road pulls put you and others at risk.Medium1314
Start conservative, change one region at a time in small steps, and record torque, knock activity, lambda and intake temperature at each step. Stop when torque stops rising or at the first sign of knock, then back off to keep a margin for hot days and poor fuel.Medium13148
| # | Step | Stop or check |
|---|---|---|
| ☐ 1 | Confirm base timing and trigger offset | Timing light agrees with the ECU |
| ☐ 2 | Verify knock sensing works (window, filter, gain) | Clear knock signal on a known event; quiet background |
| ☐ 3 | Fuel correct first: lambda on target in the cells you will tune | Wideband log |
| ☐ 4 | Start from a conservative table | No knock anywhere |
| ☐ 5 | Hold one speed and load; step advance in small increments | Torque plateau or first knock |
| ☐ 6 | Back off for margin; smooth into neighbouring cells | No steps in the table |
| ☐ 7 | Repeat hot (high IAT and coolant) and on the worst fuel | Knock margin holds |
| ☐ 8 | Add temperature and ethanol corrections | Logged on the road at part load |
How an ECU detects knock
A knock sensor is a piezoelectric accelerometer bolted to the block.
Bosch's KS4-P covers 3 to 25 kHz with a sensitivity of 26 ± 8 mV per g at 5 kHz, and must be torqued to 20 ± 5 N·m (15 ± 4 lb·ft) on a clean, machined face.3
The ECU does not judge the raw signal. A typical interface amplifies it, passes it through a band-pass filter tuned to the engine's knock frequency, rectifies it and integrates it only inside a crank-angle window for each cylinder. TI's TPIC8101 resets its integrator at the start of every knock window.414
The integrated value is compared with a running background level for that cylinder. Knock is declared when the window energy exceeds the background by a threshold ratio, so the method is relative, and every engine needs its own calibration.Medium145
Illustration in production.
Knock frequency: why bore size matters
Knock pressure waves ring at the cylinder's acoustic resonances.
Denso and Toyota's knock patent describes calculating these frequencies from the resonance mode, the bore diameter and the speed of sound in the burned gas; higher modes ring at higher frequencies.513
Two practical rules follow. A larger bore resonates at a lower frequency, and hotter gas, with its higher speed of sound, raises it. For passenger-car bores the first mode usually sits in the mid single-digit kilohertz, with higher modes above it.Medium5138
Set the band-pass filter from measurement where you can: record the sensor during known light knock on a dyno and look for the peak, rather than copying a frequency from a different engine. A broadband sensor such as the KS4 range passes all of them; the filter picks one.Medium3414
Knock windows, gain and false knock
The window opens after top dead centre on each cylinder's power stroke, when knock can occur, and closes before other loud mechanical events. Valve closing, injector clatter and piston slap all produce vibration the sensor will hear if the window is too wide.Medium144
Calibrate gain per cylinder, because cylinders sit at different distances from the sensor. Then set the threshold so background noise never triggers at high rpm, where mechanical noise rises fastest.Medium414
| Symptom | Likely cause | Fix |
|---|---|---|
| Knock counts rise with rpm, no audible knock | Threshold too low for rising mechanical noise | Raise threshold with rpm; narrow the window |
| Knock on one cylinder only, every cycle | Window catches a valve or injector event | Move or shorten that cylinder's window |
| Random knock at all loads | Loose or wrongly torqued sensor; damaged cable | Torque to spec; shielded cable, drain at ECU end only |
| No knock signal even when knock is audible | Filter at the wrong frequency, gain too low | Measure the knock frequency; raise gain |
What the ECU does when it detects knock
Knock control retards spark on the cylinder that knocked, by a set step, then restores advance slowly while the engine stays quiet. Fast retard and slow recovery stop the controller from oscillating in and out of knock.Medium148
Limit the total retard, and treat hitting that limit as a fault: richen the mixture or cut boost, and log it. Knock control is a safety net for fuel and weather variation, not a substitute for a spark table with margin.Medium1413
Dwell: the other half of the ignition table
Dwell is how long the coil charges before each spark.
Lower battery voltage needs longer dwell for the same current, which is why dwell tables are indexed by voltage. Bosch lists 3.94 ms at 12 V and 3.07 ms at 14 V for its P65-TWG coil at 7 A.6
Use the coil maker's table where it exists. Where it does not, a modelled curve from resistance and inductance gives a starting point to verify with a current clamp: with illustrative values, 2.95 ms at 10 V, 2.30 ms at 12 V and 1.88 ms at 14 V.96
Result
Modelled from an ideal RL circuit, not from a coil's measured data. Coil makers' dwell tables take priority; too much dwell overheats coils and drivers.
Planning estimate from the formula below, not a measurement.
Common ignition tuning mistakes
Most spark-tuning damage comes from a handful of repeat mistakes.
Each has a simple guard.Medium131410
| Mistake | Why it hurts | Guard |
|---|---|---|
| ☐ Copying another engine's spark table | Different chamber, fuel and charge temperature | Start conservative and measure |
| ☐ Skipping the timing-light check | Every cell is off by the offset | Confirm base timing first |
| ☐ Trusting knock control to find the limit | Damage can happen before the retard acts | Hold margin below the measured limit |
| ☐ Adding timing past the torque plateau | More pressure and heat for nothing | Stop at MBT |
| ☐ Tuning only on a cool day | Hot intake air moves the knock limit | Retest hot; add IAT correction |
| ☐ Raising boost without retarding spark | Boosted cells move toward knock | Retune the cells boost reaches |
Do it with GAINS (separate product module, pre-release)
GAINS: in the GAINS design, the on-ECU ignition learner is retard-only, with per-cell knock memory, and its advance authority is zero. Raising advance is a dyno-only change for an expert role in the reference profile. Status: pre-release; knock learning exists only in simulation.151112
Torque-seeking spark is a research item, gated on validated knock detection per engine family. The ECU2 concept has one knock input and the ECU2 concept two; neither has been validated on an engine.161718
Frequently asked
How much timing advance is safe?
There is no universal number. Safe advance depends on the engine's chamber, compression, fuel, intake temperature and boost. Find it per cell on a load-holding dyno: step advance in small increments with knock monitoring, stop at the torque plateau or the first sign of knock, and keep a margin below the knock limit.Medium1314
What is MBT timing?
MBT is the minimum spark advance that gives best torque at a given speed and load. Beyond it, torque stays flat or falls while pressure, heat and knock risk rise. Research describes MBT combustion as peak pressure roughly 12-14 degrees after top dead centre, but the spark angle that achieves it varies by engine.131
How does an ECU detect knock?
It amplifies the knock sensor signal, band-pass filters it at the engine's knock frequency, rectifies it and integrates it inside a crank-angle window for each cylinder. The result is compared with that cylinder's background level; when it exceeds the background by a threshold, the ECU retards spark on that cylinder.414
What frequency is engine knock?
It depends on the engine. Knock rings at the cylinder's acoustic resonances, set by bore diameter, the resonance mode and the speed of sound in the hot gas. Larger bores ring lower. For car engines the first mode is usually a few kilohertz, so measure the real peak on a dyno.Medium513
What is a knock window?
A knock window is the crank-angle range after top dead centre on each cylinder's power stroke when the ECU listens for knock. Outside it the signal is ignored, which keeps valve closing, injector noise and other mechanical events from being counted as knock.Medium414
Why does more timing make more power, up to a point?
Firing earlier gives the flame time to build pressure while the piston is near the top, so more of the pressure pushes the piston down. Past MBT the pressure peaks too early and fights the rising piston, so torque stops rising and knock risk climbs.137
Related
Sources
Numbered as cited above. Hover or tap a citation chip to preview it.
18 sources
- MBT Control Utilizing Crank Angle of Maximum Combustion Pressure (SAE 890759) · I. Fujii, S. Yagi, M. Kawai, H. Yoshikawa (Honda R&D), SAE International, 1989 · sae-paper · retrieved 2026-10-27
- Improving Speed and Accuracy of Gasoline and Diesel Engine Testing via Closed-Loop Combustion Control (SAE 2012-01-0902) · T. Cains, D. Pates, M. Warth (MAHLE Powertrain), SAE International, 2012 · sae-paper · retrieved 2026-10-27
- Knock Sensor KS4-P data sheet 69010059 (frequency range, sensitivity, mounting torque) · Bosch Motorsport (Bosch Engineering GmbH) · vendor-doc · retrieved 2026-10-27
- TPIC8101 Knock Sensor Interface data sheet (SLIS110C, rev. March 2015) · Texas Instruments · vendor-doc · retrieved 2026-10-27
- US 7,412,874 B2: Internal combustion engine knock determination device (Denso, Toyota, Nippon Soken) · US Patent and Trademark Office (via Google Patents) · reference · retrieved 2026-10-27
- Ignition Coil P65-TWG data sheet (dwell vs battery voltage) · Bosch Motorsport · vendor-doc · retrieved 2026-10-25
- Ignition timing · Wikipedia · reference · retrieved 2026-10-25
- Engine knocking · Wikipedia · reference · retrieved 2026-10-27
- internal GAINS internal: Ignition coil dwell calculator (@aitune/calc ignition-dwell-voltage), modelled RL curve with illustrative defaults; computed 2026-10-27
- internal GAINS architecture decision record: ADR-0009: First-start self-commissioning (base timing confirmation)
- internal GAINS source code: @aitune/autotune knock-learner.ts (retard-only, per-cell memory)
- internal GAINS simulation: Reference demo profile demo-v8-6.0-turbo (ign.advance change class and roles), synthetic
- Internal Combustion Engine Fundamentals, 2nd ed. (combustion, knock, spark timing) · J. B. Heywood, McGraw-Hill, 2018 · book · retrieved 2026-10-27
- Automotive Handbook, 10th ed. · Robert Bosch GmbH / Wiley, 2018 · book · retrieved 2026-10-27
- internal GAINS architecture decision record: ADR-0004: Layered real-time adaptation under a signed authority envelope
- internal GAINS internal: Architecture Review #1 (docs/architecture/ARCHITECTURE_REVIEW.md): strategy status table
- internal GAINS internal: ECU2 v0 concept (hardware/mini-ecu/CONCEPT.md): pin map v0.3, logging, assignment rules
- internal GAINS internal: ECU2 v0 concept (hardware/mini-duo/CONCEPT.md)

