Knock (detonation) happens when the last part of the mixture in the cylinder ignites by itself before the flame front reaches it. The pressure spikes, the cylinder rings like a bell, and in a few seconds of heavy knock a piston can crack, a ring land break or a head gasket fail. Too much ignition advance, too little octane, too much heat or a lean cylinder can all cause it.
Knock control listens to the engine through one or two knock sensors and, the moment a cylinder knocks, pulls ignition timing until it stops. The RM-Primis listens to each cylinder separately, judges each one against a threshold you set by speed and load, and can learn that threshold from your engine by itself with Auto Learn.
Knock control is a safety net, not a substitute for a safe ignition map. Tune the ignition table so the engine does not knock, and let knock control catch the occasional knock from poor fuel, heat or a lean cylinder.
Listening to each cylinder. Knock happens in the first part of the power stroke, just after peak cylinder pressure. For each cylinder the ECU opens a short window after that cylinder's top dead centre, listens to the knock sensor nearest it, filters the signal around the engine's knock frequency (set from the bore) and adds it up while the window is open. The total is that cylinder's reading, on a scale of 0 to 300.
Judging it. Each reading is compared with the knock threshold table at the current engine speed and load, multiplied by that cylinder's Threshold factor. A reading at or above it is knock. The threshold sits in the gap between the engine's normal mechanical noise (valves, pistons, injectors) and the louder ringing of a real knock.
Pulling timing. Each knock pulls Timing remove per knock from every cylinder at once, up to Ignition timing limit. Reaching the limit logs a knock fault code for the cylinder that knocked.
Giving it back. For every engine cycle in which no cylinder knocked, the ECU gives back Timing recovery/cycle, until no timing is pulled.
A worked example. Timing remove per knock 3°, limit 8°, recovery 0.2° per cycle. Cylinder 4 knocks twice in quick succession at 4500 rpm: 6° comes out of every cylinder. With no more knock, the ECU gives back 0.2° per cycle, and at 4500 rpm (about 37 cycles a second) the 6° is back in under a second.
While launch control, flat shift or anti-lag (with absolute timing) set the timing themselves, knock retard is not applied.
Open Safety → Limits & protections → Knock control:
| Page | What it holds |
|---|---|
| Knock control | Enable, the sensors, how timing is pulled and given back, the filter, the knock frequency, each cylinder's live reading and threshold factor, and the knock test |
| Measuring window | Where each cylinder's window opens and how long it stays open, by engine speed |
| Knock Threshold | The threshold table, by engine speed and load |
| Auto Learn | Learns the threshold table and the threshold factors from your engine |
| Setting | What it does |
|---|---|
| Enable Knock Control | Switches knock control on. Off, nothing is measured and no timing is pulled |
| Every knock event triggers DTC | Logs a fault code for every knock, not only when the limit is reached. Useful while setting up, too noisy for everyday use |
| Sensor bank: Cyl 1 … Cyl 8 | Which sensor (column 1 or 2) hears each cylinder: the one nearest it. An inline engine with one sensor has every cylinder on 1; a V engine usually has one sensor per bank; an inline six with two sensors, cylinders 1–3 on one and 4–6 on the other |
| Timing remove per knock | The timing pulled from every cylinder each time any cylinder knocks. 2–3° is typical |
| Ignition timing limit | The most timing knock control can pull. 8–15° is typical |
| Timing recovery/cycle | The timing given back per engine cycle without knock. 0.1–0.3° is typical |
| Sensitivity | The knock sensor's signal during knock at 3000 rpm, in volts peak to peak. With the automatic filter it sets how strongly the signal is amplified: a higher value lowers every reading. If readings reach 300 at full load, raise it |
With Automatic based on table on (recommended), the ECU sets the filter's Gain and Integrator itself from Sensitivity, the engine speed and the window length, and the two sliders show what it chose.
Under Knock Frequency, type the engine's bore into Piston Diameter (in millimetres, or in inches below 20). RM-Tuner sets the frequency that bore resonates at, about 1800 ÷ (π × bore in mm) kHz: an 86 mm bore gives about 6.7 kHz, a 92 mm bore about 6.2 kHz.
Each cylinder's latest reading, divided by its Threshold factor, with Threshold from table at the current speed and load. A bar reaching Threshold from table is a knock.
Threshold factor multiplies that cylinder's threshold: at 120 % its reading has to be 20 % higher to count as knock. Cylinders nearest a sensor, or noisier for mechanical reasons, read higher and need a higher factor. Auto Learn sets them for you.
Set Ignition timing to the timing to test and Time to how long, in seconds, then press Induce knock. Every cylinder runs at that timing (less any timing knock control pulls) for that time, and the button reads Abort while the test runs.
Induce knock makes the engine knock on purpose. Use it at moderate load and speed, a degree or two more each time, for a second or two at a time, and stop as soon as the readings cross their threshold.
The window's Start angle (degrees after TDC) and its length (Window, in degrees), by engine speed. Knock happens a little after TDC, so the window normally opens near TDC and covers the first part of the power stroke. In the example it opens 10° after TDC and stays open 25° at low speed, growing to 70° at 8000 rpm, where the same number of degrees lasts a much shorter time.
Use ignition as reference counts the start angle from the spark instead of from TDC, so the window moves with the ignition timing.
Keep the window short and early. A long window adds valve and piston noise to every reading and narrows the gap between noise and knock.
The threshold by engine speed and load, on the same 0–300 scale as the readings. Engine noise grows with speed and load, so the threshold does too: in the example from about 20 at idle to about 200 at full load and high speed.
Average knock read shows the cylinders' readings (each divided by its threshold factor), averaged: compare it with the table at the cell the engine is using.
Building a threshold table by hand means logging the background noise of every cylinder in every cell. Auto Learn does it for you while you drive:
The band at the foot of the page sums the result up: Ready to apply with how many regions were learned, or No thresholds proposed with the reason, such as a cylinder whose sensor gave no usable signal. The Notes card lists what to check before applying, region by region, and pointing at a cell of the threshold table shows where its value comes from.
| Setup option | What it does |
|---|---|
| Auto Balance Cylinder Gains | Sets each cylinder's threshold factor from its own noise |
| Use earlier sessions' measurements | Keeps what earlier drives with this ECU measured, so each drive adds to the last |
| Noise margin | How far above the background noise the threshold sits. Higher is safer against false knock, lower is more sensitive |
| Apply | Factors and thresholds, or Thresholds only (keep the factors you have) |
| Pause conditions | Coolant and air temperatures outside which learning pauses |
The page also lists the windows it did not use and why, and under Possible knock the windows the present thresholds flagged, for you to review.
Log the knock retard with the engine speed, the load, the ignition advance and each cylinder's reading.
| What you see | What to check or change |
|---|---|
| Timing pulled in one area, nothing audible | The threshold is too close to the noise there, or the window catches mechanical noise: raise those threshold cells or shorten the window. Run Auto Learn again |
| One cylinder sets it off every time | That cylinder is noisier or nearest a sensor: raise its Threshold factor. If it still knocks, look at that cylinder's fuel and temperature |
| Readings reach 300 | Too much amplification: raise Sensitivity |
| Readings stay at 0 | Enable Knock Control, the sensor wiring, Sensor bank |
| Timing never comes back | Something keeps reading above the threshold, or Timing recovery/cycle is very small |
| Knock retard where the engine really knocks | The ignition table is too advanced there, or the fuel's octane is too low: take timing out of those cells |
No. Knock control reacts after a cylinder has knocked. Tune the ignition table to be safe on your fuel and let knock control catch what you cannot foresee: a tank of poor fuel, a hot day, a blocked injector.
The readings should sit clearly below the threshold everywhere the engine does not knock, and cross it when it does. Auto Learn builds the table from your engine's own noise; Induce knock proves it catches real knock.
A knock in one cylinder usually means the others are close to it too: the same fuel, the same heat, the same timing. Pulling timing from all of them is the safe response.
Knock pulled timing all the way to Ignition timing limit. The code names the cylinder whose knock took it there. Look at the ignition timing, the fuel and the temperatures where it happened.
Contact customer support at [email protected].
Related pages: Ignition table · Coolant and air temperature ignition corrections · Engine protection · Rev limiter