Each cylinder needs an exact fuel mixture for the engine to perform properly. Only when the mixture matches the required one does the engine run evenly, with exhaust gases within the applicable Euro norms and minimal fuel consumption. This article explains how the DME determines and corrects the amount of fuel injected.
How the DME calculates the fuel quantity
Modern DME units calculate fuel quantity from an energetic model of the engine. Several parameters are analyzed:
- requested torque (accelerator pedal position);
- air mass meter measurements (intake air);
- intake manifold depression (pressure sensor readings);
- engine RPM and its changes, EGR and tank ventilation system data, and so on.
From these data the DME builds a virtual engine and uses complex formulas to calculate the theoretically correct amount of fuel. If the rail pressure and the injector flow rate are known, this amount can be converted into injector opening times.
Tolerances and adaptation maps
Every mechanical and electrical component has a technological tolerance, meaning its parameters deviate from the ideal. For some parts this is small, for example ±5%. For others it is much larger, and in specific conditions it can reach several tens of percent or more.
To compensate for these deviations, the DME builds multi-dimensional adaptation maps. They store the difference between each component’s actual parameters and the ideal ones. The maps are updated continuously to match the real situation, including the aging of components and the changes it causes.
To check the result, the DME measures the exhaust gas content with Lambda probes (oxygen sensors). Ideally each cylinder would have its own probe, but that is very expensive, so one probe usually serves several cylinders. BMW uses the following layout:
- N53 engines: one wideband probe per 3 cylinders;
- N43 engines: one wideband probe per 2 cylinders, or one for all 4 cylinders in the “cheapest” N43 version.
Cylinders that share a Lambda probe are called a bank.
What the wideband probe does in each operating mode
1. Normal operation (changing driving conditions, no cylinder or component tests running)
In this mode the probe works through three steps:
- From the probe signal, the DME calculates the difference between the ideal mixture and the real one. This difference is the “Correction”: the mixture correction required for the bank as a whole (average value) to reach the ideal.
- From the Correction, the DME forms the “Integrator”, which is a slowed-down Correction. The slowing prevents very fast mixture changes that would cause short-term unevenness in engine operation. The Integrator inertia is fractions of a second to seconds. Its values are applied immediately to the injector opening of all cylinders in the bank.
- At the same time, the Integrators are used to build and correct the LTFT (Long Term Fuel Trim) adaptation maps. These change very slowly, taking several tens of seconds. The maps cover all cylinders of the bank, so the mixture is corrected equally in all of them.
Example
Initial situation (correct; Lambda = 1.00; Correction/Integrator = 0%). Calculated injection quantities:
- cylinder 1: 5.00 ml;
- cylinder 2: 5.20 ml;
- cylinder 3: 4.70 ml.
The DME suddenly detects 15% excess fuel. The Lambda probe reports 0.85, so the calculated Correction is -15%. The Integrator starts to move away from 0% and becomes negative.
After 2 seconds the Integrator is -10%, approaching -15%. The quantities applied are:
- 5.00 ml – 10% = 4.50 ml;
- 5.20 ml – 10% = 4.68 ml;
- 4.70 ml – 10% = 4.23 ml.
A second later the probe reports Lambda = 0.95, and the DME detects 5% excess fuel.
After 3 seconds the Integrator reaches -15%, and the quantities applied to the injectors are:
- 5.00 ml – 15% = 4.25 ml;
- 5.20 ml – 15% = 4.42 ml;
- 4.70 ml – 15% = 3.995 ml.
The probe now reports Lambda = 1.00 (ideal, as required). The DME detects 0% excess fuel, and the Integrator stays at -15%.
If this situation remains stable for several tens of seconds, the LTFT maps of the bank are modified and each injector’s opening is reduced by 15%. After the update, Correction and Integrator return close to 0, provided the required 15% change has been included in the LTFT map.
More about STFT and LTFT: here.
2. Cylinder chemical efficiency tests (steady driving, low/average/large load)
In this mode:
- The wideband probe measures how the mixture changes when the DME changes the injector opening times of one bank. This tells the DME the chemical efficiency of each cylinder.
- From these data the DME evaluates each cylinder and, in the exact driving conditions, changes the opening times of the measured cylinders’ injectors so that all cylinders work with more or less similar efficiency.
- As a result, updated adaptation maps are created for each injector. Their data are changed for the exact operating mode (torque, RPM).
Example
Initial opening coefficients applied to the injectors in the given conditions:
- cylinder 1: +3.2%;
- cylinder 2: +1.2%;
- cylinder 3: +4.7%.
During the tests the DME detects these differences:
- cylinder 1: +0.3%;
- cylinder 2: +0.6%;
- cylinder 3: -1.1%.
The injector adaptation maps are updated as follows:
- cylinder 1: 3.2 + 0.3 = 3.5%;
- cylinder 2: 1.2 + 0.6 = 1.8%;
- cylinder 3: 4.7 – 1.2 = 3.5%.
The new coefficients are stored in the injector adaptation maps and applied in future operation.
More about chemical efficiency tests: here and here.
3. Component tests (steady driving, low/average/large load)
In this mode:
- The wideband probe measures mixture changes in the exhaust.
- The DME keeps the mixture correct across the whole bank using Correction/Integrator.
- Depending on the test results, the DME updates the adaptation maps of the tested component, not the LTFT maps.
Example: tank ventilation valve (TEV)
Before the test, the expected fuel correction was:
- TEV opening 5%: +3.2%;
- TEV opening 10%: +4.3%;
- TEV opening 15%: +6.7%.
The fuel correction actually required, as detected in the test:
- TEV opening 5%: +3.7%;
- TEV opening 10%: +4.8%;
- TEV opening 15%: +7.7%.
The new coefficients are stored in the TEV adaptation map and used in future operation.
4. Idle: mechanical efficiency tests
In this mode:
- The wideband probe maintains a stable mixture while the DME measures the mechanical efficiency of each cylinder from the flywheel sensor data.
- The DME corrects each cylinder’s injector opening so that all cylinders work with more or less the same efficiency.
- If differences in mechanical efficiency persist over the long term, each cylinder’s adaptation map is modified gradually to give the smoothest possible idle.
Example
Initial injected quantities:
- cylinder 1: 5.04 ml;
- cylinder 2: 5.37 ml;
- cylinder 3: 4.27 ml.
Mechanical efficiency of the cylinders (measured from crankshaft data):
- cylinder 1: +3.6%;
- cylinder 2: -1.4%;
- cylinder 3: -2.2% (the average difference across the cylinders is 0.0%).
The ideal 0.0% efficiency is reached if the injectors inject:
- cylinder 1: 4.87 ml;
- cylinder 2: 5.44 ml;
- cylinder 3: 4.99 ml.
After some time (several tens of seconds to minutes, or when the idle session ends), the new opening corrections are stored in each injector’s adaptation map and applied in future operation.
More about mechanical efficiency tests: here.
5. Self-calibration (trimming) of the wideband probe
This happens in steady driving, with the mechanical and chemical efficiency of the cylinders already evened out, in Homogeneous mode with a target Lambda of 1.00:
- The DME changes the mixture so that the control probes indicate an average voltage of 0.75 V.
- Once this voltage is reached, the DME changes the wideband probe’s adaptation map so that its reading corresponds to Lambda 1.00.
More about Lambda probe management: here.
Summary
- In normal operation and under changing conditions (load, RPM), the DME takes the planned fuel quantity for each bank from its adaptation map. It regulates the mixture of each bank using the Integrator data, changing the mixture of all cylinders in the bank proportionally. The performance differences between individual cylinders (their injectors) come from each cylinder’s adaptation map.
- At low, average or large load, provided the mixture of the whole bank is correct and the engine has no system performance problems, the DME can switch off normal operation for a while and run the chemical efficiency tests of the cylinders. During these tests the injector adaptation maps are updated to even out the cylinders’ chemical efficiency. The tests usually last several minutes. After that, the DME returns to normal operation and controls the bank mixture using the probes.
- Under the same conditions (bank mixture correct, no system problems), the DME can also switch off normal operation for a while and test other engine systems (EGR, TEV and so on). The wideband probe still maintains the required mixture across the bank, but what gets modified is not the fuel adaptation maps but the maps of the system element under test.
- At idle, if the DME has stabilized the mixture of the banks and the engine has no other system problems, it measures the mechanical efficiency of each cylinder from the flywheel sensor data. It then adjusts each injector’s opening so that all cylinders work with similar efficiency. The principle is similar to bank mixture control: each injector’s opening is changed relatively quickly as “live” data, and the idle adaptation maps of each injector are modified more slowly.
- Finally, the wideband probes themselves are trimmed regularly to ensure the most exact fuel regulation possible in every condition.