Open the 3D lab
Engine 03 · DIESEL

Diesel
engine

No spark plug at all. Squeeze air hard enough and it gets hot enough to light diesel by itself. The idea behind trucks, tractors, gensets and SUVs.

TitleHow a diesel engine worksDwg no.FIG. 03
DrawnTestIt3DUpdatedRevC
ScaleNTSReading8 minModelLive 3D
FIG. 03 · live model · drag to turn Diesel engine 3D model, paused
0spark plugs
16.5:1compression
1,800bar in the fuel rail
150,000rpm turbo, top
~150bar peak pressure
The short answer

How does a diesel engine work?

A diesel engine squeezes plain air about 16 times, until it is hotter than 500 °C (930 °F). Diesel sprayed into that hot air lights by itself, so there is no spark plug. The burning fuel pushes the pistons down through the usual four strokes, and the exhaust spins a turbo that forces in more air.

One cycle

Suck. Squeeze. Bang. Blow.

Two turns of the crank, four strokes of the piston.

01

Intake

suck

Only air comes in, pushed by the turbo and cooled by the intercooler. There is no throttle plate.

02

Compression

squeeze

The piston squeezes the air to about one sixteenth. It gets hotter than 500 °C (930 °F).

03

Power

bang

The injector sprays diesel into the hot air. It lights by itself and pushes the piston down hard.

04

Exhaust

blow

Hot exhaust rushes out and spins the turbo on its way to the pipe.

Side by side

Gasoline vs diesel, from our two models

The same four-cylinder layout with two ways of lighting the fuel.

Gasoline (petrol) car engine

Fuel is lit bya spark plug
Comes in on intakeair, with gasoline sprayed in the port
Compressionabout 11:1
The pedal controlshow much air gets in
Intake air at idleabout 0.32 bar abs
Fuel pressurea few bar at the port
Peak cylinder pressure, full loadabout 60 bar
Engine speed800-6,200 rpm
Cold start helpnone needed

Turbo diesel engine

Fuel is lit bythe heat of squeezed air
Comes in on intakeair only
Compression16.5:1
The pedal controlshow much diesel is injected
Intake air at idleabout 1.02 bar abs, up to 2.25 with boost
Fuel pressure300-1,800 bar in the rail
Peak cylinder pressure, full loadabout 150 bar
Engine speed750-4,500 rpm
Cold start helpglow plugs

Rounded values from our models. Plenty of petrol engines now have turbos and direct injection too; spark against compression is the difference that always holds.

Back of the envelope

How hot does the squeezed air get?

The rule for air squeezed too fast to lose much heat, applied to the numbers in our model at idle.

Air temperature when the intake valves shutabout 52 °C (126 °F)
Same in kelvin (add 273)about 325 K
Squeeze from valve shut to the top (16.5:1 counts from the very bottom)about 15 times
Heating rule: end temperature = start × squeeze^0.36325 × 15^0.36
15^0.36about 2.65
325 K × 2.65about 860 K
Back to Celsius (subtract 273)about 590 °C (1,090 °F)
Self-ignition point of diesel, as listed on fuel safety sheetsabout 210 °C (410 °F)

Air that lost no heat at all would use a power of 0.4; the smaller 0.36 allows for heat lost to the walls. That loss is much bigger in a cold engine turning slowly on the starter, which is the problem glow plugs exist to fix.

Compression ignition

Why heat alone is enough

About 8 minutes of reading.

Why does a diesel engine have no spark plug?

Pump up a bicycle tyre fast, then touch the pump's barrel. It's warm. Some of that is friction, but most of it is the air itself, heated because you squeezed it faster than the heat could leak away. A diesel engine does the same thing, only much harder. It squeezes plain air to about a sixteenth of its volume (16.5:1 in our model) in well under a tenth of a second.

So by the time the piston nears the top, the air is above 500 °C (930 °F). In our 3D lab the Air before fuel readout passes 350 °C (660 °F) about 30° before the top, and our sums put it near 590 °C (1,090 °F) at the very top. Diesel sprayed into air that hot catches fire on its own. No spark is needed, so there's no spark plug, no ignition coil and no spark timing. The moment of injection decides when burning starts.

There's a short wait between spray and flame, called ignition delay, about 3 to 4 degrees of crank in our model. Fuel that piles up during the delay burns all at once with a sharp jump in pressure, and that's the clatter you hear from an old diesel at idle. Modern engines send a tiny pilot spray first (ours at 15° before the top), so the chamber is already burning when the main spray starts at 2° before the top. The clatter drops a lot.

What is common rail diesel injection (CRDi)?

To burn in a few thousandths of a second, diesel has to be broken into a fog of tiny droplets, and that takes pressure. In a common-rail engine (badged CRDi on many cars in India) a high-pressure pump, driven in our model off the intake camshaft at half engine speed, forces fuel into one thick steel pipe shared by all four injectors. That pipe is the rail. At idle ours holds 300 bar (about 4,400 psi). Flat out it holds 1,800 bar, about 26,000 psi, which is close to two tonnes pressing on every square centimetre.

Fuel leaves each injector through six tiny holes as fine cones that mix into the hot air almost at once. An electrically controlled valve inside the injector opens and shuts in a fraction of a millisecond, so the ECU can split one cycle's fuel into a pilot and a main spray (real engines often add more). That pressure is also why nobody should loosen a fuel pipe on a running diesel. A jet at 1,800 bar can pierce skin. Fuel-system work belongs with a trained mechanic.

Why does a diesel engine have more torque?

Watch a tractor drag a trolley of sugarcane out of a muddy field at walking pace, or a diesel pickup tow a camper up a long mountain grade. The engine is turning slowly, and it still doesn't stall. That twisting force at low speed is torque, and diesels are built around it.

Three things add up. The pressure on the piston is higher, about 150 bar (2,200 psi) at the peak at full load in our model against roughly 60 bar in our gasoline car engine. The burn lasts longer, because diesel is still being injected after the piston passes the top (until 22° after it at full accelerator), so the push carries further down the stroke. And the parts are heavier and stiffer to take that load, which suits slow running. Ours redlines at 4,500 rpm, well short of the petrol engine's 6,200. The turbo then lets each cylinder hold more air, and more air means more diesel can be burned cleanly every cycle.

Why do diesels get better mileage?

Partly the fuel. A litre (or a gallon) of diesel is denser than the same amount of gasoline and carries roughly a tenth more energy.

Mostly the engine. A gasoline engine controls its power by choking the air with a throttle plate, so at light load its pistons suck against a partial vacuum, about a third of outside air pressure in our car model. That's wasted effort. A diesel has no throttle plate at all. The accelerator only changes how much fuel is injected, and the Intake air readout sits at about 1.02 bar at idle, just above outside air. Add the higher compression, which turns more of the fuel's heat into push, and a diesel does the same work on less fuel, most of all at part load.

What does a turbocharger do in a diesel engine?

Exhaust leaves the cylinders still hot and fast, carrying energy that would otherwise go out of the pipe. The turbo uses some of it. The exhaust spins a small turbine wheel, and a compressor wheel at the other end of the same shaft pumps fresh air into the engine. In our model the shaft turns at about 18,000 rpm at idle and about 150,000 rpm flat out, while the Intake air readout climbs from 1.02 to about 2.25 bar absolute. That's more than twice the air in every cylinder (a boost gauge would read about 18 psi).

Squeezing air heats it, which is the wrong direction on the way in, because hot air is thin. So the boosted air passes through an intercooler, a small radiator in the air path, before it reaches the cylinders. Cooler air is denser and brings more oxygen with every breath.

It isn't free power. The turbine makes the pistons push a little harder to get the exhaust out, and at low rpm there's too little exhaust to spin it fast. You feel that as turbo lag when you floor it in a high gear. Our model leaves lag out and slows the turbo right down on screen so you can follow the red marks on its wheels.

What are glow plugs, and why is a diesel hard to start in winter?

On a foggy January morning in Punjab, or a below-freezing one in Minnesota, an old diesel jeep or pickup often needs a few tries before it catches. With the engine cold and turning slowly on the starter, the cold metal walls soak up heat from the squeezed air before it can get hot enough to light the fuel.

Glow plugs solve this. Each cylinder has one, a pencil-thin electric heater whose tip pokes into the chamber and glows red hot for a few seconds around starting. Switch on the Cold start layer in the 3D lab and the four tips light up. That coil-shaped lamp on a diesel dashboard is the glow plug light. Wait for it to go out, then crank. Once the engine runs, compression does all the lighting.

Thirteen parts

Rail, injectors and turbo

Every one is labelled in the 3D lab. Turn the model to find them.

Exploded view of the parts of a diesel engine
Illustration of the main parts. Find each one moving in the 3D lab.
  1. Fuel injectors
  2. Common rail
  3. High-pressure pump
  4. Glow plugs
  5. Turbocharger
  6. Intercooler
  7. Camshafts
  8. Valves
  9. Pistons
  10. Connecting rods
  11. Crankshaft
  12. Flywheel
  13. Exhaust manifold
Try it

Five things to try in the diesel 3D lab

Open the full 3D lab and use the real controls.

  1. Leave the Accelerator at zero and press pause. Intake air reads about 1.02 bar abs, barely above outside air, because there's no throttle plate.
  2. Drag along the cycle chart into the compression stroke and watch Air before fuel climb past 350 °C about 30° before the top.
  3. Choose the 1/200 speed and press play. A tiny yellow pilot spray comes first, then the main spray, and each turns orange-red a moment later with no spark anywhere.
  4. Slide the Accelerator to full. Fuel / rail climbs from 300 to 1,800 bar, Turbo speed from 18k to 150k rpm and Intake air to about 2.25 bar abs.
  5. Switch on the Cold start layer to light the four glow-plug tips, then switch off Casing to see the bowl in each piston crown.
Questions

What people ask about diesels

Short, straight answers. Open one to read it.

Diesel vs gas engine: what's the difference?

A gasoline (petrol) engine takes in air and fuel together, squeezes them about 11 times and lights them with a spark. A diesel takes in air only, squeezes it about 16 times until it's hot enough to light diesel sprayed in near the top. The gasoline engine controls power by limiting the air; the diesel controls it by the amount of fuel injected.

Why are diesel engines used in trucks, tractors and generators?

They give strong pulling force at low rpm, use less fuel for each unit of work and are built heavy enough to run for hours under load. A generator or tractor runs at a steady speed for long periods, which is where a diesel is most efficient. It's also why heavy-duty pickups in the US are so often sold with a diesel for towing. Diesel is also much harder than petrol to set alight with a flame, which makes storing large amounts safer.

What is an intercooler?

It's a radiator for the intake air. The turbo's compressor heats the air as it squeezes it, and the intercooler cools it again before it enters the cylinders. Cooler air is denser, so more oxygen fits in each cylinder and the engine runs cooler.

Why is a diesel engine noisier than a petrol engine?

Diesel burns after a short ignition delay, and the fuel that collects during that delay lights all at once, giving a sharp rise in pressure that you hear as clatter. Peak pressures are also much higher, about 150 bar at full load in our model. Pilot injection and thicker engine walls make modern diesels far quieter than old ones.

What happens if you put gasoline (petrol) in a diesel car?

Don't start the engine, or switch it off at once if you already have. The high-pressure pump relies on diesel to lubricate it, and petrol doesn't do that job, so running on it can cause costly damage. Have the car towed to a workshop to drain the tank and fuel lines.

Why does black smoke come out of a diesel?

Black smoke is soot, unburnt carbon. It means there was more fuel than the air could burn, for example from overloading, a choked air filter, a faulty injector or a turbo that isn't giving enough boost. Steady black smoke is a sign to get the engine checked by a mechanic.

What is DEF in a diesel?

DEF, diesel exhaust fluid, is about one third urea and two thirds purified water, carried in its own small tank, usually with a blue filler cap. It's sprayed into the hot exhaust ahead of a special catalyst, where it helps turn nitrogen oxides into nitrogen and water. Most new diesel trucks use it, in the US and in India. It never goes in the fuel tank, and our model leaves exhaust cleaning out.

Why does a diesel engine rev lower than a petrol engine?

Diesel needs a little time to mix and burn after it's injected, and the parts are heavier to take the higher pressures, so high rpm brings little benefit. Our model redlines at 4,500 rpm against 6,200 for the gasoline car engine. Diesels make their pull low down instead.

Diesel myths

Things diesel owners hear that aren't true

Diesel isn't easier to set alight than gasoline. Gasoline gives off flammable vapour even at room temperature, so a match lights it easily, while diesel barely catches from a flame. Yet diesel lights itself from heat at a lower temperature than petrol, and that's exactly what the engine uses.

In a diesel the accelerator doesn't let in more air. There's no throttle plate; the pedal sets how much diesel is injected.

Glow plugs aren't a diesel's spark plugs. They only help a cold start, and once the engine is running the squeezed air does all the lighting.

A turbo isn't free power. It recovers energy from the exhaust, but it also makes the engine push a little harder to get its exhaust out.

Worth knowing

Three notes on the model

  • The accelerator controls how much diesel is injected, not how much air gets in.
  • Glow plugs only help on a cold start; once running, compression does all the lighting.
  • Pressures and speeds are typical values, rounded.
Diesel vocabulary

Words from a diesel spec sheet

Compression ignition
Lighting the fuel with the heat of squeezed air instead of a spark.
Ignition delay
The short gap between diesel being sprayed in and it catching fire.
Pilot injection
A tiny early spray of diesel that starts the burn gently before the main spray.
Common rail
A shared high-pressure fuel pipe that feeds every injector at the same pressure.
Bar
A unit of pressure; 1 bar is roughly the pressure of the air around you.
Boost
Extra intake air pressure supplied by the turbocharger.
Intercooler
A radiator that cools the air after the turbo has squeezed it.
Glow plug
A small electric heater in each cylinder that helps a cold diesel start.
Turbo lag
The short delay before a turbo spins up and delivers boost.
Your turn

Tell us what to build next

Name a machine you have always wondered about. We build the most requested ones first.

We read every idea. The most asked-for machines get built first. See our privacy policy.