# Fuel Injection

> Modern petrol engines meter fuel electronically: the ECU measures the air going in, works out how much fuel will burn cleanly with it, and opens the injectors for precisely timed pulses. Learn port and direct injection and closed-loop mixture control.

- Level: Intermediate · about 14 minutes · Fuel & Ignition
- Lesson page: https://maxrecursion.github.io/AutoVerse/topics/fuel-injection

## What you will learn

- Explain why the air-fuel ratio must be controlled and what λ = 1 means
- Name the main parts of an injection system and what each one measures or does
- Compare port fuel injection with direct injection
- Describe how the oxygen sensor closes the loop on mixture control

## The idea, in plain language

A petrol engine burns a mixture of air and fuel, and the proportions matter. Too much fuel wastes it, fouls spark plugs and makes smoke; too little makes the engine hesitate and run hot. For good economy and low emissions the mixture has to be just right, all the time, from a cold start on a winter morning to full throttle on a motorway.

Fuel injection does this job with electronics. A pump in the tank pushes fuel at pressure to the injectors: small electrically operated valves that spray a fine mist. The engine computer (ECU) reads sensors that tell it how much air the engine is drawing in, how warm it is and how hard the driver is pressing the accelerator. It then decides how long each injector stays open — typically a few thousandths of a second per cycle.

An oxygen sensor in the exhaust reports whether the last mixture was slightly rich or slightly lean, and the ECU nudges the next injection to correct it. This feedback happens many times a second, which is why an injected engine starts easily, idles smoothly and stays clean as it wears.

## The engineering explanation

Complete combustion of petrol needs about 14.7 kg of air per kilogram of fuel (the stoichiometric ratio). Engineers describe mixture with λ = actual AFR ÷ stoichiometric AFR: λ < 1 is rich, λ > 1 is lean. A three-way catalytic converter can only oxidise CO and HC while reducing NOx when λ is held in a narrow window around 1, so closed-loop control is fundamental to modern emissions compliance.

The ECU determines the air mass per cylinder per cycle either directly from a hot-film mass-air-flow (MAF) sensor or indirectly from manifold absolute pressure, intake air temperature and engine speed (speed-density). Dividing by the target AFR gives the fuel mass required. An injector at a fixed pressure difference flows at a nearly constant rate, so fuel delivered is roughly proportional to the pulse width minus a dead time (the opening delay, which grows as battery voltage falls and is compensated in software).

Port fuel injection (PFI) sprays at roughly 3–5 bar onto the back of the intake valve, giving time for the fuel to evaporate and mix. Gasoline direct injection (GDI) sprays straight into the cylinder at roughly 100–350 bar. Evaporating fuel inside the cylinder cools the charge, allowing a higher compression ratio before knock, and gives precise control of injection timing; the trade-offs are higher particulate emissions (hence gasoline particulate filters) and carbon build-up on intake valves that are no longer washed by fuel. Some engines combine both. The ECU runs open loop when the oxygen sensor cannot be trusted or a different target is needed: cold-start enrichment, full-load enrichment to protect the catalyst and exhaust valves, and fuel cut-off on the overrun.

## Step by step

1. **Measure the air.** Sensors tell the computer how much air is flowing into the engine right now. *In engineering terms:* Air mass per cycle comes from a MAF sensor, or is inferred from MAP, intake temperature, engine speed and a volumetric-efficiency map (speed-density).
2. **Calculate the fuel.** The computer works out how much fuel matches that air, adding a little extra when the engine is cold or working hard. *In engineering terms:* m_fuel = m_air ÷ (λ_target × 14.7), then corrected for coolant temperature, transient wall-wetting, and short- and long-term fuel trims.
3. **Pressurise the fuel.** A pump keeps fuel waiting in a rail at steady pressure so every injector sprays the same way. *In engineering terms:* An in-tank electric pump supplies the rail (PFI) or feeds a cam-driven high-pressure pump (GDI) whose output is regulated by a solenoid valve against a rail pressure sensor.
4. **Open the injector.** Each injector opens for a few milliseconds at exactly the right moment, spraying a fine mist. *In engineering terms:* Pulse width ≈ dead time + m_fuel ÷ static flow rate. PFI is usually timed sequentially on a closed intake valve; GDI may split the charge into several injections per cycle.
5. **Check the exhaust and correct.** An oxygen sensor in the exhaust tells the computer whether the mixture was rich or lean, and it adjusts the next squirt. *In engineering terms:* An upstream wideband or switching λ sensor drives short-term trim; persistent corrections are learned into long-term trim. A downstream sensor monitors catalyst oxygen storage.

## Key concepts

- **Stoichiometric ratio**: The air-fuel mass ratio at which all fuel and all oxygen can react; about 14.7:1 for petrol. (`AFR_stoich ≈ 14.7`)
- **Lambda (λ)**: Actual air-fuel ratio divided by the stoichiometric ratio. Below 1 is rich, above 1 is lean. (`λ = AFR_actual / AFR_stoich`)
- **Injector pulse width**: How long the injector is held open each cycle; fuel delivered is roughly proportional to it once the opening delay is subtracted. (`m_fuel ≈ q × (t_pulse − t_dead)`)
- **Fuel trim**: The ECU's percentage correction to its calculated fuel quantity, based on oxygen-sensor feedback. Short-term trim reacts quickly; long-term trim learns slowly.

## Common misconceptions

- **Myth:** Adding more fuel always makes more power. **Reality:** Power is limited by how much air the engine can burn. Best power occurs slightly rich of stoichiometric; beyond that, extra fuel only cools the charge and wastes fuel.
- **Myth:** The oxygen sensor measures how much fuel is in the exhaust. **Reality:** It measures leftover oxygen. Little oxygen means the mixture was rich; plenty of oxygen means it was lean.
- **Myth:** Direct injection is simply a better version of port injection. **Reality:** It enables higher efficiency and power, but brings higher particulate emissions and intake-valve deposits, which is why some engines use both systems.

## In the real world

- A trip computer showing zero consumption while coasting downhill in gear is the ECU's overrun fuel cut-off at work.
- A split intake hose after the airflow sensor lets in unmeasured air, so the engine runs lean and often logs a 'system too lean' fault code.
- Cold engines idle faster and use more fuel for the first minutes because the ECU enriches the mixture until fuel evaporates properly.

## Common questions

### How does fuel injection work?

Sensors measure how much air the engine is drawing in, and the engine control unit calculates how much fuel will burn cleanly with it. It then opens electrically operated injectors for precisely the right number of milliseconds, spraying finely atomised fuel into the intake or straight into the cylinder.

### What is the difference between port and direct injection?

Port injection sprays fuel into the intake port just behind the intake valve, where it mixes with the incoming air. Direct injection sprays it at high pressure straight into the combustion chamber, which cools the charge and allows finer control at the cost of a more complex high-pressure system.

### Why did fuel injection replace carburettors?

Electronic injection meters fuel far more precisely in every condition, making engines cleaner, more economical and easier to start. Exact fuel control is also essential for catalytic converters to work, which is why emissions rules made injection universal.

## The story behind it

### Wilhelm Maybach (1885–1893)

Taught the petrol engine to mix its own fuel and air. After both of Maybach's parents died in the mid-1850s, a philanthropic institution in Reutlingen took him in. He followed Gottlieb Daimler to Karlsruhe in 1869; they patented their petrol engine on 16 December 1883, and in November 1885 Maybach rode their engine-powered wooden Reitwagen. His float-fed carburettor dates from 1885 and his spray-nozzle carburettor was patented in 1893. Electronic fuel injection took until 1958 to reach cars: the Chrysler 300D, DeSoto Adventurer, Dodge D-500 and Plymouth Fury offered the Electrojector.

Sources: [Wikipedia: Wilhelm Maybach](https://en.wikipedia.org/wiki/Wilhelm_Maybach); [Wikipedia: Fuel injection](https://en.wikipedia.org/wiki/Fuel_injection)

## Related lessons

- [The Four-Stroke Cycle](https://maxrecursion.github.io/AutoVerse/topics/four-stroke-cycle)
- [Spark Ignition and Combustion Timing](https://maxrecursion.github.io/AutoVerse/topics/spark-ignition)
- [Diesel Engines](https://maxrecursion.github.io/AutoVerse/topics/diesel-engines)
- [Diagnosing Warning Signs](https://maxrecursion.github.io/AutoVerse/topics/diagnosing-warning-signs)

## Further reading

- [How a fuel pump works](https://www.howacarworks.com/basics/how-a-fuel-pump-works) — How a Car Works

---

Original AutoVerse lesson (AutoVerse original content). Simulation values in AutoVerse labs are illustrative. Source page: https://maxrecursion.github.io/AutoVerse/topics/fuel-injection
