Diesel Engines

How Diesel Engines Work: Principle, Parts and the Four-Stroke Cycle

How a diesel engine works: compression ignition, the four-stroke cycle step by step, the main parts and their jobs, and the types of diesel engine governors.

On this page
  1. The diesel principle in one paragraph
  2. Why compressing air makes it hot enough to light fuel
  3. The four-stroke diesel cycle, step by step
  4. Diesel engine parts and their functions
  5. Diesel engine governors: types and how they work
  6. Two-stroke diesels and other variations
  7. Diesel fuel and what not to mix with it
  8. Where diesels go wrong
  9. Quick answers

The diesel principle in one paragraph

A diesel engine burns fuel without a spark. It draws in air, squeezes that air hard enough that it gets very hot, and then sprays fuel into it. The fuel ignites on its own from the heat of compression, the burning gas pushes the piston down, and the crankshaft turns that push into rotation. This is called compression ignition, and it is the one idea everything else about a diesel follows from: the high compression ratio, the heavy construction, the injection system, the glow plugs, and the strong low-speed torque.

Rudolf Diesel patented the concept in the 1890s with the goal of building a more efficient engine than the gas and steam engines of his day. Efficiency is still the diesel’s main selling point.

Why compressing air makes it hot enough to light fuel

When you compress a gas quickly, its temperature rises. You can feel a mild version of this when a bicycle pump gets warm. A diesel takes the effect much further. Typical diesel compression ratios run from about 14:1 to 25:1, meaning the air is squeezed into a space 14 to 25 times smaller than the cylinder’s full volume. Many modern turbocharged car and truck diesels sit around 15:1 to 18:1, because the turbo is already pushing in pressurised air.

At the end of the compression stroke the air is commonly several hundred degrees Celsius, comfortably above the temperature at which diesel fuel self-ignites. That is why a diesel doesn’t need a spark plug, and why a diesel with poor compression struggles to start. We go deeper into this in our article on how diesels start, compression and glow plugs.

A gasoline engine can’t use compression ratios this high, because it compresses fuel and air together. Squeeze that mixture too much and it ignites before the spark, which causes knock. A diesel compresses only air, so it has no such limit until fuel arrives. Our comparison of gas and diesel engines covers the full set of differences.

The four-stroke diesel cycle, step by step

Most diesels in cars, pickups, trucks, tractors and generators are four-stroke engines. A stroke is one full movement of the piston, either up or down. Four strokes take two full turns of the crankshaft, and the camshaft turns at half crankshaft speed to open each valve once per cycle.

The four strokes, in order, are intake, compression, power and exhaust.

1. Intake stroke

The intake valve opens and the piston moves down from top dead centre (TDC) toward bottom dead centre (BDC). This draws air into the cylinder, or, on a turbocharged engine, lets boosted air flow in. Only air comes in. There is no fuel in the charge yet, which is the first big difference from a typical gasoline engine.

2. Compression stroke

The intake valve closes and the piston moves back up. With both valves shut, the air is compressed into the small space above the piston, and its pressure and temperature climb steeply.

Shortly before the piston reaches TDC, the injector begins spraying finely atomised fuel into the hot air. The exact timing is set by the injection pump or, on modern engines, the engine computer.

3. Power stroke

The fuel ignites after a very short delay and burns, and the pressure in the cylinder rises sharply. That pressure drives the piston down, and the connecting rod turns the crankshaft. This is the only stroke that produces work; the other three are paid for by the momentum of the flywheel and the other cylinders.

In a diesel, combustion continues while fuel is still being injected, so the pressure is sustained into the stroke rather than arriving as one sudden spike. That characteristic is part of why diesels make strong torque, covered in our article on why diesel engines make more torque than gas engines.

4. Exhaust stroke

Near the bottom of the power stroke the exhaust valve opens. The piston rises again and pushes the burnt gases out through the exhaust port, through the turbocharger (if fitted) and into the exhaust system. Then the exhaust valve closes, the intake valve opens, and the cycle starts again.

In real engines the valve events overlap slightly and open or close before or after exact TDC and BDC to help gases flow, but the four-stroke sequence above is the core of how a diesel works.

Why there’s no throttle (and what controls power instead)

A gasoline engine controls power mainly by restricting airflow with a throttle plate and keeping the fuel-to-air ratio close to a fixed value. A diesel works the other way around. It generally takes in as much air as it can and controls power by changing how much fuel is injected. Light load means a small squirt of fuel in a lot of air; full load means much more fuel.

Running unthrottled and lean avoids the pumping losses a throttle creates, which is one reason diesels are efficient at part load. Some modern diesels do have an intake throttle valve, but it is used for emissions control, smooth shutdown and exhaust gas recirculation, not as the main way of controlling power.

Diesel engine parts and their functions

Many diesel parts look like their gasoline counterparts but are built stronger, because cylinder pressures are much higher. The parts that are genuinely different are mostly in the fuel system, the air system, the starting aids and the exhaust.

The core engine

  • Cylinder block: the main casting that holds the cylinders, crankshaft and coolant passages. Diesel blocks are typically heavy cast iron or compacted graphite iron, though some car diesels use aluminium.
  • Cylinder head: seals the top of the cylinders and carries the valves, injectors and, often, glow plugs. It’s clamped down with large head bolts to contain combustion pressure.
  • Pistons and rings: the piston takes the combustion force; the rings seal it against the cylinder wall and control oil. Many diesel pistons have a bowl shaped into the crown where the fuel spray burns. Worn rings let combustion gas leak into the crankcase, which is called blow-by; see how to tell if a diesel has blow-by.
  • Connecting rods and crankshaft: the rods link the pistons to the crankshaft, which converts up-and-down motion into rotation. Diesel cranks and rods are often forged and generously sized.
  • Camshaft and valves: the camshaft opens the intake and exhaust valves at the right moments. On older diesels it may also drive a mechanical injection pump or unit injectors.
  • Flywheel: stores rotational energy to carry the engine through the non-power strokes and smooths out pulses.

The fuel injection system

The injection system is the heart of a diesel, because it decides when combustion starts and how much fuel burns.

  • Fuel tank, lift pump and filters: a low-pressure pump moves fuel from the tank through filters and a water separator. Diesel fuel systems are very sensitive to dirt and water, so filtration matters.
  • High-pressure pump: raises fuel to injection pressure. On older engines this was an inline or rotary (distributor) injection pump that also set timing and quantity mechanically.
  • Injectors: spray fuel into the cylinder as a fine mist. Modern injectors are electronically controlled and can fire several times per cycle.
  • Common rail: most modern road diesels store fuel at very high pressure in a shared rail that feeds every injector. This is explained in detail in our guide to common rail (CRDi) diesel injection.

Air handling: turbocharger and intercooler

  • Air filter and intake: a diesel moves a lot of air, so a clean filter matters for power and smoke.
  • Turbocharger: uses exhaust energy to spin a compressor that pushes more air into the cylinders. More air allows more fuel to be burned cleanly, which is why nearly all modern road diesels are turbocharged.
  • Intercooler (charge air cooler): cools the compressed air from the turbo so it is denser and helps keep combustion temperatures in check.

Starting aids

  • Glow plugs: small electric heaters in each cylinder or pre-chamber that warm the air for cold starts. Common on car and light-truck diesels.
  • Intake grid heater: a heating element in the intake, used on some larger engines instead of glow plugs.
  • Block heater: an electric heater that keeps the coolant warm overnight in cold climates.

Exhaust and emissions components

A modern road diesel typically has several stages of exhaust treatment, which answers a common question about what makes up a diesel exhaust system:

  • EGR (exhaust gas recirculation): routes some exhaust back into the intake to lower combustion temperature and reduce nitrogen oxides (NOx).
  • DOC (diesel oxidation catalyst): oxidises carbon monoxide and unburned hydrocarbons, and helps heat the exhaust for filter cleaning.
  • DPF (diesel particulate filter): traps soot and periodically burns it off. See how DPF regeneration works and why it fails.
  • SCR (selective catalytic reduction) with DEF: sprays diesel exhaust fluid into the exhaust so a catalyst can convert NOx into nitrogen and water. DEF problems are covered in common diesel engine problems.
  • Sensors: temperature, pressure, NOx and sometimes particulate sensors that let the computer manage all of the above.

Lubrication, cooling and the ECU

  • Lubrication system: oil pump, oil cooler and filter. Diesel oil must handle soot, so diesel-rated oils are formulated differently from many gasoline oils.
  • Cooling system: water pump, thermostat, radiator and fan. Diesels reject a lot of heat into coolant, especially through EGR coolers.
  • Engine control unit (ECU or ECM): on electronic diesels, the computer that sets injection timing, quantity and pressure, controls the turbo and EGR, and runs the aftertreatment system.

Diesel engine governors: types and how they work

Because a diesel’s speed is controlled by fuel rather than airflow, it needs something to stop it over-speeding when load is removed and to hold a steady speed when load changes. That device is the governor. On a gasoline car, the throttle and engine computer largely do this job; on a diesel, especially in generators, tractors and industrial engines, the governor is a core component.

Governor types by construction

Sources group governors in slightly different ways, but the most common answer to “what are the three types of engine governors?” is mechanical, hydraulic and electronic, with pneumatic often added as a fourth.

  • Mechanical (centrifugal) governors: spinning flyweights move outward as speed rises and, through linkages and a spring, pull the fuel rack back. When speed drops, the spring wins and fuel increases. Simple and robust, widely used on older and smaller engines.
  • Hydraulic governors: still sense speed with flyweights, but use oil pressure and a servo piston to move the fuel control. This gives more force and finer control, so they suit larger engines and generator sets.
  • Pneumatic governors: sense intake vacuum (often via a venturi) and use a diaphragm to adjust fuel. They appeared on some older engines and are rare today.
  • Electronic governors: a speed sensor reads flywheel or crankshaft speed, a controller compares it with the target, and an actuator or the injection system adjusts fuel. On modern common rail engines, the ECU performs the governing function in software.

Governor types by what they control

  • Constant-speed governors hold one set speed regardless of load. Typical on generators and pumps, where frequency or flow must stay steady.
  • Variable-speed (all-speed) governors hold whatever speed the operator selects with the hand or foot control. Common on tractors and construction equipment.
  • Limiting-speed (min-max) governors control only idle speed and maximum speed; in between, the driver’s pedal sets fuel directly. Common on on-road vehicles.

Droop vs isochronous

A governor with droop lets speed fall slightly as load rises, for example a few percent from no load to full load. That sounds like a flaw, but it lets several generators share load stably. An isochronous governor holds exactly the same speed at every load, which suits a single generator that must keep a precise frequency. Many electronic governors can be set to either mode.

Two-stroke diesels and other variations

Not every diesel is a four-stroke. Large marine engines and some older truck and locomotive engines use the two-stroke cycle, where a power stroke happens every crankshaft revolution. Two-stroke diesels need a blower or turbocharger to push air through the cylinder, because there’s no separate intake stroke.

Diesels also differ in where fuel is injected:

  • Direct injection (DI): fuel sprays straight into the main combustion chamber, usually into a bowl in the piston. Nearly all modern diesels are DI because it is more efficient.
  • Indirect injection (IDI): fuel sprays into a small pre-chamber or swirl chamber connected to the cylinder. IDI engines were common in older cars and light trucks; they tend to be quieter but less efficient and usually rely more heavily on glow plugs.

Diesel fuel and what not to mix with it

Diesel fuel is heavier and oilier than gasoline and contains somewhat more energy per gallon. Its readiness to self-ignite is measured by the cetane number, which is roughly the diesel counterpart of gasoline’s octane rating, except that higher cetane means the fuel ignites more easily.

Diesel fuel also lubricates the high-pressure pump and injectors. That’s why the things you should never put in a diesel tank include:

  • Gasoline, which strips lubrication and ignites poorly; see what happens if you put gasoline in a diesel engine.
  • DEF (diesel exhaust fluid), which belongs in its own tank and can badly damage the fuel system.
  • Water, which causes corrosion and wear and can feed microbial growth in the tank.

Where diesels go wrong

The core of a diesel engine is usually tough. Most real-world trouble comes from the fuel system, the emissions equipment, the way the engine is used, and maintenance. For the details:

Quick answers

What are the four strokes of a diesel engine in order? Intake, compression, power (combustion) and exhaust. Air alone is drawn in, compressed until hot, fuel is injected near the top of the compression stroke, and the burning fuel drives the power stroke.

What do diesel engines use to ignite fuel? The heat of compressed air. There’s no spark plug. Glow plugs or intake heaters only help on cold starts.

Why are diesel engines built so heavily? Peak cylinder pressures are much higher than in a typical gasoline engine, so the block, head, crankshaft, rods and head bolts are made stronger.

What is the “holy grail” of diesel engines? It’s an enthusiast phrase rather than a technical term. People usually apply it to older, simple mechanical engines with a reputation for durability, such as the 12-valve 5.9-litre Cummins found in older Ram pickups. Opinions vary.

Keep exploring

Guides from other topics

All topics →