🎁 New account: buy your first 10 credits, get 10 more free.Avg. 25–45 min turnaround · Files written on your original readCreate free account

Every fuel quantity, ignition angle and torque estimate in a modern petrol ECU starts with one number: how much air is trapped in the cylinder on each intake stroke. The ECU cannot weigh that air directly, so it estimates it from sensors and a calibrated model built around volumetric efficiency (VE). Understanding this model explains why vacuum leaks cause lean codes, why a dirty MAF upsets the whole calibration, and why hardware changes need calibration work.

Diagram of how an engine ECU estimates cylinder air charge from MAF, MAP, intake air temperature, rpm and cam timing using a MAF path and a speed-density path, then uses load for fuelling, ignition timing and the torque model
How the ECU estimates cylinder air charge (original diagram)

What volumetric efficiency means

Volumetric efficiency compares the air mass actually trapped in a cylinder with the air mass that would fill its swept volume at a reference pressure and temperature. An engine at 90 % VE traps 90 % of that theoretical charge.

VE is never constant. It depends on:

On a turbocharged engine, VE referenced to manifold pressure and temperature stays in a similar range to a naturally aspirated engine. Referenced to ambient air, the trapped charge can be far above 100 %, which is the whole point of boost.

Two ways the ECU estimates air charge

MAF-based (air mass metering)

A hot-film MAF sensor measures air mass flow into the intake in grams per second. Dividing that flow by the number of intake strokes per second (rpm ÷ 60 × cylinders ÷ 2 for a four-stroke) gives air per stroke. During fast throttle changes the manifold fills or empties, so the air passing the MAF is not yet the air entering the cylinders. ECUs therefore add a manifold filling model to predict cylinder charge during transients.

Speed-density (MAP-based)

With a MAP sensor the ECU uses the ideal gas law. Air density is pressure divided by (gas constant × absolute temperature), with R ≈ 287 J/(kg·K) for air. Multiply density by the cylinder volume and by VE from a calibrated table and you have the trapped air mass:

Air per cylinder = VE × cylinder volume × MAP ÷ (R × T)

Volumetric efficiency definition, air density formula, worked example for a 2.0 litre four-cylinder engine and illustrative VE curves versus engine speed
Volumetric efficiency definition and worked example (original diagram)

A worked example with rounded numbers: a 2.0 L four-cylinder has 0.5 L per cylinder. At 100 kPa and 27 °C (300 K), density is 100,000 ÷ (287 × 300) ≈ 1.16 kg/m³, so a full cylinder holds about 0.58 g of air. At 90 % VE that is about 0.52 g per stroke. For a stoichiometric petrol mixture (air-fuel ratio about 14.7:1) the injector must deliver roughly 0.52 ÷ 14.7 ≈ 35 mg.

Many current ECUs use both paths: the MAF provides the measured flow, the pressure model provides a second estimate, and the two are cross-checked. That is where plausibility codes such as P0068 or P0101 come from. Temperature input comes from the intake air temperature sensor.

Load: how the air charge is used

The estimated charge is usually expressed as load, either milligrams of air per stroke or a percentage of a reference charge. Load then becomes an axis on many calibration tables:

Generic OBD also reports load. Mode 01 PID 04 is calculated engine load and PID 43 is absolute load value, a normalised air mass per stroke that can rise well above 100 % on boosted engines. Comparing these with MAF flow and MAP on a scan tool is a quick way to see what the ECU believes.

Why VE matters for tuning

When intake, camshafts, exhaust, turbo or intercooler change, the engine’s real VE changes but the calibrated tables do not. A speed-density engine then fuels wrongly until VE is re-mapped. A MAF engine with a larger housing reads incorrectly until the MAF scaling is corrected. Even a pure software remap often raises the requested load or boost, so the load axes of fuel and ignition maps must cover the new operating range. This is why a professional file is built for the exact hardware and software, and validated with logged lambda, trims and load. Our guide to ECU maps, axes and factors covers how these tables are structured.

Symptoms of a wrong air estimate

Typical causes of a wrong engine air estimate (unmetered air, sensor error, changed VE, calibration mismatch) and a six-step diagnosis order
Air model faults and diagnosis order (original diagram)

Diagnosis in six steps

  1. Read codes, freeze frame and fuel trims at idle, 2,500 rpm and under load. Trims that improve with load usually point to a vacuum leak; trims wrong everywhere point to a sensor or fuel supply.
  2. Compare MAF flow with expected airflow. Swept volume × (rpm ÷ 120) × air density × VE gives a sanity figure. For the 2.0 L above at 3,000 rpm full throttle: 0.002 m³ × 25 per second × 1.16 kg/m³ × 0.9 ≈ 52 g/s. A reading far below the expected value under full load suggests a contaminated MAF or a restriction.
  3. Check MAP against BARO with the key on and engine off. Both should read close to local atmospheric pressure.
  4. Smoke test the intake, charge pipes, PCV system and brake booster line for unmetered air.
  5. Check cam timing actual versus target in live data (see how VVT works) and look for exhaust restriction.
  6. Clear adaptations after the repair, then road test and confirm trims and load return to normal.

Related fault codes (DTCs)

Standard OBD-II codes linked to the air model. Manufacturer codes and exact wording vary, so confirm with service data.

CodeMeaningTypical causes
P0068MAP/MAF – throttle position correlationIntake leak after the throttle, MAF or MAP sensor error, throttle body or TPS fault, sensor wiring or reference voltage problem
P0101Mass or volume air flow sensor “A” circuit range/performanceContaminated or drifting MAF, unmetered air leak, restricted air filter or intake, wiring or ground fault, wrong MAF scaling after hardware changes
P0106Manifold absolute pressure / barometric pressure sensor circuit range/performanceMAP sensor drift, leaking or blocked sensor hose/port, vacuum or boost leak, wiring or 5 V reference fault
P0171System too lean (bank 1)Vacuum or intake leak, MAF reading low, low fuel pressure or restricted injectors, exhaust leak before the oxygen sensor
P0172System too rich (bank 1)MAF reading high, leaking injectors, high fuel pressure, purge valve stuck open, sensor or air-model error
P0011“A” camshaft position – timing over-advanced or system performance (bank 1)Low or dirty oil, sticking oil control valve, faulty phaser, timing chain stretch or incorrect timing, wiring fault
P0299Turbocharger/supercharger “A” underboostBoost leak, wastegate or VGT actuator fault, faulty boost control valve, restricted intake or exhaust, worn turbo

Changed intake, turbo or cam hardware and need a matching calibration? Upload your original ECU read to the tuning file service at ECUFileMarket for a file built for your exact hardware and software.

Leave a Reply

Your email address will not be published. Required fields are marked *

⚡ New Free Workshop Resource: Hybrid & EV Powertrain Engineering & ECU Diagnostics Training (8 Free PDF Manuals) →