Thanks, this is pretty interesting.
It's the first non-bullshit explanation I've seen for why cars tend to display inaccurate average MPG on the dash. I always assumed there was a fully accurate measure of fuel flow into the engine and there was something else broken (or dishonest) about that calculation.
This has come up in the press occasionally and the manufacturers never admit that they don't have a totally accurate measure of flow: https://www.edmunds.com/fuel-economy/your-fuel-economy-gauge...
That doesn't seem right. Flow sensors exist and could be fitted to the fuel line to the engine for a precise measurement of how much fuel is consumed.
So I'm assuming manufacturers just estimate fuel flow in the ECU because a flow sensor would be additional cost for negligible benefit?
Exactly. It's basically unnecessary given the other sources of information that the ECU has at its disposal.
It knows the target fuel pressure (some cars even have fuel pressure sensors) and it knows the flow characteristics of the injectors with respect to pressure and pulse width. That alone is enough for a decent calculation of fuel mass flow.
In addition to this, the ECU is also calculating the mass air flow into the engine, either directly via a MAF sensor or indirectly via manifold pressure, VE, and RPM (known speed density).
When it goes to target a specific air/fuel ratio, this is all the information that is really required. However, since injectors tend to deteriorate (clog, stick, etc.) over time, this initial calculation is usually “trimmed” by means of feedback from the oxygen sensor(s).
At the end of the day, there’s a fair amount of information available to the ECU which can be used to refine the fuel flow calculation.
The fuel consumption calculation on my 335i is usually within 0.5 MPG. However, my 2002 Maxima was about 3 MPG off.