Tuning Wiki

Knock control is the closed loop that lets a spark-ignition engine run its ignition timing at the knock limit instead of a fixed safety margin below it. The ECU measures structure-borne vibration in a crank-angle window after each firing, compares the result with a learned background level for that cylinder, retards that cylinder's ignition by a step when the ratio exceeds a threshold, and then returns the timing slowly while combustion stays quiet. A slower adaptation stores the learned retard by operating range. What knock is, and how it sounds, is covered in engine knock.

The most complete public description of a production system is Bosch's function documentation for an Audi 1.8T ME7.1. It shows that detection is relative, not absolute: every threshold is a multiple of an adaptive noise reference. That is why editing thresholds or windows does not reduce knock; it only reduces what the ECU can see. Values quoted below are examples from named systems, not universal settings.

Signal path

A piezoelectric accelerometer on the block converts vibration to a voltage. In the ME7.1 documentation a dedicated Bosch integrated circuit multiplexes the sensors, amplifies the signal, band-pass filters it, rectifies it and integrates it within a measuring window; the microcontroller selects the gain stage for each cylinder, starts and stops the integration and reads the integrator through an analogue-to-digital converter. One number per combustion event results. Commercial interface chips follow the same chain: the Texas Instruments TPIC8101 datasheet specifies a programmable band-pass centre frequency of 1.22–19.98 kHz, full-wave rectification and an integrator reset at the start of each knock window, with the window length set by the controller.

The filter isolates the frequencies characteristic of knock, which a 1995 electronics-press account of Bosch systems places generally between 2 and 12 kHz. Bosch's guidance is to choose the centre frequency that gives the best detection at high load and high speed, where engine noise is greatest.

Measuring window and cylinder assignment

The window is defined by a start angle and a length, both mapped against engine speed, and must fit within one firing interval (720° of crank angle divided by the number of cylinders). Bosch's calibration notes require the bulk of the knock event to lie inside the window, with the onset of light and medium knock captured and the ringing of heavy knock cut off. Steady mechanical noise may fall inside the window; pulsating noise must lie outside it. The work is done on the lowest octane fuel planned for the engine. A community cross-reference for Simos 18 describes the same structure, with the window required to end before 60° of crank angle after top dead centre and a second, earlier window for pre-ignition detection.

Because the window is tied to crank angle, each reading can be assigned to the cylinder that has just fired, provided the ECU knows the engine phase. In ME7.1 a loss of phase synchronisation on an engine with more than one knock sensor triggers the safety retard described below; with a single sensor, detection continues for all cylinders on the most sensitive threshold map.

Reference level and threshold

Knock is declared when the integrator value divided by that cylinder's reference level reaches the knock-detection factor. The reference level is a low-pass-filtered average of the same cylinder's previous integrator values, so it represents the background noise of knock-free running and follows it as speed and load change. Three details matter:

  • When a combustion is judged to knock, the value fed into the reference is the reading divided by the detection factor, so sustained knock cannot raise the reference and hide itself.
  • The reference is capped. The Bosch text gives the reason: detection must survive an unusual rise in engine noise, for example from incipient engine damage.
  • During rapid speed or load change the reference is tracked faster and the threshold is raised by a factor of about 1.1 in the Bosch example, because background noise changes faster than the normal filter can follow.

The detection factors are mapped per cylinder against speed and load. Bosch gives 2 to 3 as usual and states that 3.3 must never be exceeded in steady-state operation. They are set with cylinder-pressure sensors so that knock above a defined pressure amplitude is always detected (in the Bosch example ±0.5–1 bar at or below 1800 rpm and ±2–2.5 bar at 3000 rpm), then checked for a margin of at least 0.5 above the level at which false detections begin. At low speed the criterion is audibility in the car; at high speed, where knock cannot be heard, it is engine durability.

Retard and recovery

Each detected event retards the ignition of the cylinder concerned by a fixed step, accumulated in a per-cylinder correction. Bosch suggests 3° of crank angle as a typical step; community documentation of the Audi S4 calibration reports 1.5° below 2000 rpm and 3° from 2800 rpm (unverified, community source), and manufacturer service text for the Motronic 2.10.2 Saab 900 and the Motronic M1.5.4 Vauxhall Omega both gives 3° steps. ME7.1 uses a separate step value once the engine is in steady-state operation.

Recovery is deliberately slow. In ME7.1 a per-cylinder counter is loaded at each knock event and decremented by each non-knocking combustion in which knock control was actually limiting the timing; when it reaches zero the retard is reduced by one increment and the counter reloads. Bosch suggests about 4 seconds per degree and gives the reason: the control time constant should exceed the thermal time constant of the engine, to avoid thermal overload. The service texts quote return steps of 0.5° (Saab) and 0.75° (Vauxhall). Faster recovery is permitted only after specific events, such as a change to a lower load range.

Two limits bound the correction. Total retard is capped; Bosch calls 12° sufficient for most applications and requires the engine to be completely free of knock at that limit under worst-case temperatures and the lowest octane fuel, with exhaust temperature checked. Each cylinder is also held within a band, typically 3°, around the mean of all cylinders, to preserve smooth running and avoid false misfire detection. Knock control is inactive below a load threshold, an engine-temperature threshold (about 40 °C in the Bosch example) and a minimum speed.

Adaptation by operating range

The fast correction alone would have to rediscover the knock limit each time the operating point moved. The adaptation stores a retard value per cylinder for each of a small number of speed and load ranges (five by four in ME7.1, with hysteresis at the boundaries). A stored value is moved later when knock occurs in that range and stepped earlier when the live correction has stayed sufficiently more advanced; on entering a range the stored value replaces the live one, with any jump towards advance limited. Values survive switching the ignition off and are reset when the ECU loses its supply. Writing is blocked until the engine is warm (typically 80 °C) so that warm-up conditions are not learned. An earlier Bosch patent application describes the same idea as avoiding the ignition-angle and torque jumps that occur on re-entering a range.

Above an upper speed threshold, where valvetrain noise causes false detections, ME7.1 can stop reacting to the sensor and run on the adapted values plus an offset. The documentation attaches a warning to this option, because protection then depends entirely on what was learned earlier.

Sensor faults and safety retard

The ECU cannot distinguish a silent engine from a disconnected sensor by the knock decision alone, so it checks the hardware continuously. ME7.1 compares each cylinder's normalised reference level with speed-dependent upper and lower bounds and runs self-tests of the evaluation circuit. A confirmed sensor or circuit fault, loss of phase synchronisation or failure of the engine-speed sensor replaces the knock correction with a fixed safety retard on all cylinders, withdrawn only while knock control is inactive so that torque does not jump. The Bosch text states that the sensor diagnosis may be switched off for calibration work only, never in a production calibration, because undetected sensor faults can lead to knock damage. The Saab service text gives 13° of retard on all cylinders above 2000 rpm with the warning lamp lit. Fault-finding is covered in common knock sensor faults.

Fuel quality, boost and enrichment

Sustained retard is treated as information about the fuel. In ME7.1 the permitted maximum cylinder charge, and therefore boost, is reduced as a function of mean knock retard through two paths: a slow, non-volatile part that represents fuel octane number and a fast part for other disturbances. Knock retard also raises exhaust temperature, so the same system can request enrichment in proportion to the retard; see component protection and full-load lambda enrichment. Family-specific behaviour is described for ME7 (with logging and leading cylinders) and for Simos 18 (detection, ignition and knock control, octane adaptation). Octane itself is covered in fuel octane, and choosing the base angle in ignition tuning.

Why hiding retard is hazardous

Raising detection factors, shortening or moving windows, or reducing the retard step and maximum makes a log look cleaner without changing combustion. The documented calibration method explains the risk:

  • The factors are set so that knock of a defined cylinder-pressure amplitude is detected every time. A higher factor leaves stronger knock undetected, and because the reference is adaptive, undetected knock then raises the noise floor further.
  • The window is placed around the knock event of the standard engine. Hardware that changes the noise pattern, or timing that moves the event, calls for the window to be re-established by measurement, not shrunk until false detections stop.
  • Zero logged retard shows only that nothing exceeded the threshold. It is not evidence of margin, and it says nothing about pre-ignition, which begins before the spark.

Persistent retard is better treated as a finding about fuel, charge temperature, base timing or mechanical noise. Verification of knock margin on a modified engine needs an independent measurement such as cylinder pressure or dedicated knock-monitoring equipment.

Not established

  • Step sizes, limits and thresholds for ECU families other than those cited are not established here; the quoted values must not be transferred.
  • No manufacturer documentation stating the knock amplitude an engine tolerates indefinitely has been identified.

Sources