← Laboratorium Technology · Heat engines

The four-stroke engine — how it works

Four strokes of the piston, two turns of the crankshaft and a single spark. Stop time, turn the crankshaft with your finger and see how a drop of fuel becomes the motion that has powered cars, motorcycles and lawn mowers for almost 150 years.

GASOLINE · ε = 10.0
24 rpm Slow motion
Fresh mixture Compressed charge Combustion Exhaust gas Drag the crankshaft to turn the engine by hand

Vs = 443 cm³ · Vc = 49 cm³

Less open = less mixture = less power

Theoretical efficiency 60.2% η = 1 − 1/ε^(κ−1)

Shortcuts: Space start/pause · ←→ ±15° (Shift ±1°) · +− speed · L labels · D Diesel/Otto · G gases · O outline

The p–V diagram: work captured in a loop

Every point on the diagram is a state of the gas in the cylinder: its volume V and pressure p. In one cycle (two turns of the crankshaft) the point travels around a closed loop — and the area inside it is the work the gas has done on the piston.

p–V diagram (pressure–volume)
Pressure vs. crank angle p(θ)θ = 0°

Loop area = work

When the gas expands at high pressure, it pushes the piston harder than the piston had to squeeze it before. The difference is the gain — the shaded area of the loop:

W = ∮ p dV
Work per cycle
— J
Indicated mean effective pressure
— bar
Power at —
— kW
Peak pressure
— bar

Why ε matters

The efficiency of the ideal Otto cycle depends only on the compression ratio ε = (Vs + Vc) / Vc and the adiabatic index κ ≈ 1.4:

η = 1 − 1 / ε^(κ−1)

In a diesel, heat is added at constant pressure, so the cutoff ratio φ = V3/Vc comes in as well:

η = 1 − (φ^κ − 1) / (κ·(φ − 1)·ε^(κ−1))

Gasoline can't be compressed without limit — at too high an ε it ignites by itself before the spark (so-called engine knock). A diesel relies on exactly this self-ignition, so its ε can be 14–22.

Theory vs. reality

The dashed line is the textbook ideal cycle: compression and expansion with no losses, combustion in the blink of an eye.

The solid line is an approximation of a real engine: ignition before TDC, combustion lasting tens of degrees, valves opening early.

The small lower loop is the pumping work — the loss from moving gases in and out. Close the throttle a bit and switch on the log scale to see it. Real engines reach about 30–45% efficiency.

Inline four-cylinder engine

Four such cylinders on a common crankshaft. The crank throws of cylinders 1 and 4 point the same way, while 2 and 3 are offset by 180°. Cylinder 1 moves exactly like the engine above.

Firing order

1– 3– 4– 2

In a single-cylinder engine only one stroke in four drives the crankshaft — the rest of the time it keeps turning on the flywheel's momentum, and the engine shakes and jerks.

With four cylinders a power stroke comes every 180°, so some piston is always pushing the crankshaft. The pulses are four times as frequent and smaller relative to the average — the engine runs more smoothly and the flywheel can be lighter.

Power strokes per 2 turns
1 → 4
Angle without a power stroke
540° → 0°
Average torque
—
Displacement
443 → 1,773 cm³

Did you know…?

  • At 6,000 rpm the piston stops and reverses 200 times a second, and each valve opens 50 times a second. The average piston speed in this engine is then 16 m/s — almost 58 km/h.
  • The four-stroke principle was described by the Frenchman Alphonse Beau de Rochas as early as 1862 — 14 years before Otto's engine. When this came to light, Otto's key patent was invalidated in 1886.
  • At the 1900 World's Fair in Paris, a Diesel engine ran on peanut oil. Diesel himself believed that plant-based fuels might one day become as important as petroleum.

Challenge

  1. Spark on the dot

    Stop the engine exactly at the moment of ignition — about 12° before TDC, within ±3°. In a diesel, the start of injection counts (10° before TDC). Shift+←/→ will help.

    Not done yet

  2. Valve overlap

    Find and freeze the moment when both valves are open at the same time. Hint: look on the cycle dial for where the blue and brown arcs overlap.

    Not done yet

  3. Two turns, one cycle

    Drag the crankshaft by hand through two full turns (720°). How many turns does the camshaft make in that time?

    Turned: 0° of 720°

Completed: 0 of 3

From history

1876

Nikolaus August Otto

A former traveling salesman and self-taught engineer builds the first practical four-stroke engine with mixture compression at the Deutz works near Cologne. Gottlieb Daimler and Wilhelm Maybach — later pioneers of the automobile — also worked there at the time. That is why the intake–compression–power–exhaust cycle is called the Otto cycle.

1893

Rudolf Diesel

Diesel receives a patent for a compression-ignition engine and builds the first prototype in Augsburg. It needs no spark: air compressed more than ten times over gets so hot that the injected fuel ignites by itself. In 1897 his engine reaches about 26% efficiency — far more than the steam engines of the day.