Every time an injector opens, the RM-Primis ECU has worked out, in a fraction of a millisecond, how long to hold it open. The Fuelling settings page sets the foundations of that calculation: how the ECU measures how much air the engine is breathing, how much fuel a full cylinder needs with your injectors, and how the ECU uses the wideband sensor to correct itself as it runs. Get these right first and the fuel table becomes simple to tune; get them wrong and no amount of tuning the table will make the engine run well.
This page explains how the ECU calculates the fuel, then walks through each part of the page: what it does, how to set it up and how to tune it.
The ECU builds every injection from a few pieces, one after the other:
A worked example. A 3.0 litre six-cylinder engine with 630 cc/min injectors on gasoline needs a required fuel of about 5.25 ms. At idle, with 35 kPa in the manifold and a fuel table cell of 50 %, the ECU starts from 5.25 × 0.50 × 0.35 ≈ 0.92 ms. At full throttle, 100 kPa and 95 %, it is 5.25 × 0.95 × 1.00 ≈ 5.0 ms. With a turbo at 200 kPa it doubles to about 10 ms. The injector dead time is then added to each.
So the fuel table only has to describe how well the engine breathes; the engine size, injector size, pressure and corrections are taken care of by everything else. That is why this page comes first.
In RM-Tuner, open Tune → Fuel → Fuelling settings. The page is split into cards; each setting has a ? beside it that explains it in RM-Tuner itself.
The first decision is how the ECU judges the engine's load: how much air it is taking in.
Speed density measures the manifold pressure with the MAP sensor. The pressure in the manifold, the engine speed and the air temperature tell the ECU how much air fills the cylinders, and it follows changes in load, boost and altitude by itself. It is the right choice for most engines, naturally aspirated or turbocharged.
Alpha-N uses the throttle position instead. Engines with individual throttle bodies or very long-duration cams have a manifold pressure that jumps about at low speed, or barely changes between idle and full throttle, so it says little about the load. There the throttle position is a steadier guide.
| Mode | How the ECU judges the load | Use it for |
|---|---|---|
| Speed density mode | Manifold pressure (MAP), intake air temperature and the fuel table | Most engines, with a steady manifold vacuum, and every turbocharged engine |
| Alpha N mode | Throttle position and engine speed | Individual throttle bodies, big cams, engines whose manifold vacuum is too unsteady to read |
Only one can be on: switching one on switches the other off.
If you are not sure, start with speed density. Watch the MAP reading at idle: if it is steady (for example 30–45 kPa, moving by a few kPa), speed density will work well.
Enter your engine and injectors, and RM-Tuner works out the Required Fuel for you. It recalculates it as soon as you change any of these values, so it always matches your hardware; Calculate does the same on demand.
| Setting | What to enter |
|---|---|
| Engine displacement | The engine's total capacity in cc, for example 3000 for a 3.0 litre engine |
| Injector flow rate | The flow of one injector in cc/min, at the fuel pressure your system runs |
| Number of injectors | Counted by RM-Tuner from your engine configuration |
| Max duty cycle | The most of each engine cycle the injectors may stay open |
| Fuel type | Gasoline, E85, Ethanol or Methanol: the fuel's stoichiometric ratio and density |
| Staged injection | Switch on for a second set of injectors; the Staging pages then appear in the Fuel menu |
Why the injector flow must be right. The required fuel is only as good as the flow figure. Injector flow is quoted at a test pressure, usually 3 bar; if your fuel pressure is higher, the injector flows more, and the whole fuel table will look lean or rich by the same amount. Use the flow at your real fuel pressure, from the injector maker's data.
Max duty cycle, and knowing when your injectors are too small. At 7000 rpm a four-stroke engine completes a cycle every 17 ms, so a 95 % limit allows about 16 ms of injection. If your full-load injection time gets close to that, the injectors are at their limit: without staged injection, the ECU cuts fuel when the limit is reached rather than let the engine run lean. Bigger injectors, or a second set with staging, are the cure.
Injection mode shows how the ECU is injecting right now: Sequential, each injector opened once per engine cycle at its own cylinder's timing, once the ECU has found the engine's position from the cam signal; Semi-Sequential until then.
When you change injectors, enter the new flow rate and the new injector dead times (see Injector dead time) before you start the engine. Your fuel table then stays valid: the required fuel absorbs the change.
The fuel table is a prediction; the wideband sensor tells the ECU what actually happened. With closed loop on, the ECU compares the mixture the wideband measures with your target in the Lambda table and nudges the fuel up or down to close the gap. It needs a warm wideband sensor that is ready (see Wideband sensor).
It works on two time scales:
The long term trim corrects in two ways, because errors come in two kinds:
| Setting | What it does |
|---|---|
| Short term fuel trim | Switches the real-time correction on |
| Upper limit / Lower limit | The most fuel the short term trim may add or take away, in % |
| Fueltrim factor | How hard the trim corrects, from Slow to Fast |
| Long term fuel trim | Switches the long-term learning on |
| Additive max / Additive min | The most injection time the long term trim may add or remove, in ms |
| Multiplicant max / Multiplicant min | The largest and smallest percentage correction; beyond them the ECU sets a fault code instead of trimming further |
How to tune the closed loop
Closed loop is a safety net and a fine-tuner. If the trims sit at their limits, something is wrong: fix the fuel table or the hardware, do not widen the limits.
The exhaust takes time to travel from the cylinder to the wideband sensor, so the reading the ECU sees now belongs to fuel it injected a little while ago. If the closed loop does not allow for that, it corrects the wrong moment: it keeps adding fuel after the mixture is already right, then takes too much away, and the mixture swings.
AFR sensor distance from cylinder head tells the ECU how long that delay is, counted in cylinder firings, so the closed loop and the adaptation match each reading with what the engine was doing when that exhaust was made. A sensor far down the exhaust needs a larger value than one close to the manifold.
Learn measures it for you:
Without an electronic throttle, hold the engine above 1500 rpm yourself while it learns. Run it two or three times and keep the value it settles on. Run it again whenever you move the sensor or change the exhaust.
The closed loop only corrects while the measured mixture is inside this window. Max. Value is the leanest and Min. Value the richest reading it will act on. Outside the window the closed loop does not correct, so a reading that is far off cannot drive the fuelling with it: an air leak in the exhaust, a misfire or a sensor fault would otherwise make the ECU pour fuel in.
Set it a little wider than any mixture you will ask for: for example 10.0 to 18.0 AFR on gasoline. The same range is on the Wideband sensor page.
The long term trim learns one correction for the whole engine. The adaptation learns a correction for every cell of the fuel table. While you drive, the ECU notes the closed loop's correction in the cell the engine is running in, and builds an Adaptation table of what each area of the fuel table needs. You then apply those corrections to the fuel table with one button, and the engine runs on target without them.
| Setting | What it does |
|---|---|
| Adaptation | Switches the learning on |
| Upper limit / Lower limit | The most the adaptation may add or remove in each cell, up to ±40.95 % |
| Const. load time | How long the load must stay steady before a cell is learned, so it learns at steady running and not while the throttle moves |
Start with a short Const. load time to learn quickly, and lengthen it as the table gets closer. The full procedure is on the Adaptation table page.
Barometric compensation takes the atmospheric pressure into account. Air is thinner at altitude: at 1500 m the pressure is about 85 kPa, so the engine takes in about 15 % less air. With speed density the MAP sensor already sees this, so the compensation is only a small trim. With Alpha-N it matters a lot: without it, the ECU would give the same fuel for less air, and run about 15 % rich in the mountains. The ECU uses its barometric sensor, or reads the MAP sensor at key-on with the engine stopped. Switch it on if the car is driven at different altitudes.
Flood clear rescues a flooded engine. If the plugs are wet with fuel after a failed cold start, hold the accelerator pedal down past this position while cranking: the ECU stops injecting, the air dries the cylinders out, and when you release the pedal the engine starts. 75 % is a good value: far enough down that you never reach it by accident during a normal start.
Each switch turns one fuel compensation off. When you tune the fuel table, you want to see what the table alone does, without a temperature correction or an acceleration enrichment changing the result underneath you:
| Switch | Turns off |
|---|---|
| Coolant | The coolant temperature correction (Coolant and IAT fuel trims) |
| Air temperature | The intake air temperature correction |
| After start enrichment | The extra fuel just after the engine starts (Start enrichment) |
| Acceleration | The extra fuel when the throttle opens quickly (Acceleration enrichment) |
These are for testing and tuning. Switch them all back off before the car is driven normally.
The injector opening time, in milliseconds, that fills one cylinder with a stoichiometric mixture at 100 % volumetric efficiency. RM-Tuner calculates it from the engine displacement, injector flow, number of injectors and fuel type, and every fuel table value is a percentage of it.
Speed density for most engines, including every turbocharged one. Alpha-N for engines whose manifold vacuum is too unsteady to read load from, such as individual throttle bodies or very big cams.
The short term trim corrects the mixture right now, from the wideband reading. The long term trim learns the average of what the short term trim keeps doing, so the engine starts each correction closer to the target.
The wideband sensor must be warm and ready, the mixture must be inside the Correction range, and Short term fuel trim must be on. If the trim sits at its Upper limit or Lower limit, the fuel table is too far off: tune it closer first.
The closed loop is correcting too hard or reading the sensor at the wrong moment. Move Fueltrim factor towards Slow, and run Learn for the sensor distance.
Contact customer support at [email protected].
Related pages: Fuel table (VE) · Lambda / AFR target table · Adaptation table · Injector dead time · Wideband sensor