How diesel engines work

The diesel internal combustion engine differs from the gasoline powered Otto cycle by using a higher compression of the air to ignite the fuel rather than using a spark plug (compression ignition rather than spark ignition).
In the diesel engine, only air is introduced into the combustion chamber. The air is then compressed with a compression ratio typically between 15 and 22 resulting into a 40-bar (4.0 MPa; 580 psi) pressure compared to 8 to 14 bars (0.80 to 1.4 MPa) (about 200 psi) in the petrol engine. This high compression heats the air to 550 °C (1,022 °F). At about this moment (the exact moment is determined by the fuel injection timing of the fuel system), fuel is injected directly into the compressed air in the combustion chamber. This may be into a (typically toroidal) void in the top of the piston or a pre-chamber depending upon the design of the engine. The fuel injector ensures that the fuel is broken down into small droplets, and that the fuel is distributed evenly. The more modern the engine, the smaller, more numerous and better distributed are the droplets. The heat of the compressed air vaporizes fuel from the surface of the droplets. The vapour is then ignited by the heat from the compressed air in the combustion chamber, the droplets continue to vaporise from their surfaces and burn, getting smaller, until all the fuel in the droplets has been burnt. The start of vaporization causes a delay period during ignition, and the characteristic diesel knocking sound as the vapor reaches ignition temperature and causes an abrupt increase in pressure above the piston. The rapid expansion of combustion gases then drives the piston downward, supplying power to the crankshaft.
As well as the high level of compression allowing combustion to take place without a separate ignition system, a high compression ratio greatly increases the engine's efficiency. Increasing the compression ratio in a spark-ignition engine where fuel and air are mixed before entry to the cylinder is limited by the need to prevent damaging pre-ignition. Since only air is compressed in a diesel engine, and fuel is not introduced into the cylinder until shortly before top dead center (TDC), premature detonation is not an issue and compression ratios are much higher.

Early fuel injection systems
Diesel's original engine injected fuel with the assistance of compressed air, which atomized the fuel and forced it into the engine through a nozzle (a similar principle to an aerosol spray). The nozzle opening was closed by a pin valve lifted by the camshaft to initiate the fuel injection before top dead center (TDC). This is called an air-blast injection. Driving the three stage compressor used some power but the efficiency and net power output was more than any other combustion engine at that time.
Diesel engines in service today raise the fuel to extreme pressures by mechanical pumps and deliver it to the combustion chamber by pressure-activated injectors without compressed air. With direct injected diesels, injectors spray fuel through 4 to 12 small orifices in its nozzle. The early air injection diesels always had a superior combustion without the sharp increase in pressure during combustion. Research is now being performed and patents are being taken out to again use some form of air injection to reduce the nitrogen oxides and pollution, reverting to Diesel's original implementation with its superior combustion and possibly quieter operation. In all major aspects, the modern diesel engine holds true to Rudolf Diesel's original design, that of igniting fuel by compression at an extremely high pressure within the cylinder. With much higher pressures and high technology injectors present-day diesel engines use the so-called solid injection system applied by Herbert Akroyd Stuart for his hot bulb engine. The indirect injection engine could be considered the latest development of these low speed hot bulb ignition engines.

Cold weather
Starting:
In cold weather, high speed diesel engines that are pre-chambered, can be difficult to start because the mass of the cylinder block and cylinder head absorb the heat of compression, preventing ignition due to the higher surface-to-volume ratio. Pre-chambered engines therefore make use of small electric heaters inside the pre-chambers called glowplugs. These engines also generally have a higher compression ratio of 19:1 to 21:1. Low speed and compressed air started larger and intermediate speed diesels do not have glowplugs and compression ratios are around 16:1. Some engines use resistive grid heaters in the intake manifold to warm the inlet air until the engine reaches operating temperature. Engine block heaters (electric resistive heaters in the engine block) connected to the utility grid are often used when an engine is turned off for extended periods (more than an hour) in cold weather to reduce startup time and engine wear. In the past, a wider variety of cold-start methods were used. Some engines, such as Detroit Diesel engines and Lister-Petter engines, used a system to introduce small amounts of ether into the inlet manifold to start combustion. Saab marine engines, Field Marshall tractors (among others) used slow-burning solid-fuel 'cigarettes' which were fitted into the cylinder head as a primitive glow plug. Lucas developed the Thermostart, where an electrical heating element was combined with a small fuel valve in the inlet manifold. Diesel fuel slowly dripped from the valve onto the hot element and ignited. The flame heated the inlet manifold and when the engine was cranked, the flame was drawn into the cylinders to start combustion. International Harvester developed a tractor in the 1930s that had a 7-liter 4-cylinder engine which started as a gasoline engine then ran on diesel after warming up. The cylinder head had valves which opened for a portion of the compression stroke to reduce the effective compression ratio, and a magneto produced the spark. An automatic ratchet system automatically disengaged the ignition system and closed the valves once the engine had run for 30 seconds. The operator then switched off the petrol fuel system and opened the throttle on the diesel injection system. Recently direct-injection systems advanced to the extent that pre-chambers systems were not needed using a common rail fuel system with electronic fuel injection.

Gelling
Diesel fuel is also prone to waxing or gelling in cold weather; both are terms for the solidification of diesel oil into a partially crystalline state. The crystals build up in the fuel line (especially in fuel filters), eventually starving the engine of fuel and causing it to stop running. Low-output electric heaters in fuel tanks and around fuel lines are used to solve this problem. Also, most engines have a spill return system, by which any excess fuel from the injector pump and injectors is returned to the fuel tank. Once the engine has warmed, returning warm fuel prevents waxing in the tank. Due to improvements in fuel technology, with additives waxing rarely occurs in all but the coldest weather when a mix of diesel and kerosene should be used to run a vehicle.

Fuel delivery
A vital component of all diesel engines is a mechanical or electronic governor which regulates the idling speed and maximum speed of the engine by controlling the rate of fuel delivery. Unlike Otto-cycle engines, incoming air is not throttled and a diesel engine without a governor cannot have a stable idling speed and can easily overspeed, resulting in its destruction. Mechanically governed fuel injection systems are driven by the engine's gear train. These systems use a combination of springs and weights to control fuel delivery relative to both load and speed. Modern, electronically controlled diesel engines control fuel delivery by use of an electronic control module (ECM) or electronic control unit (ECU). The ECM/ECU receives an engine speed signal, as well as other operating parameters such as intake manifold pressure and fuel temperature, from a sensor and controls the amount of fuel and start of injection timing through actuators to maximize power and efficiency and minimize emissions. Controlling the timing of the start of injection of fuel into the cylinder is a key to minimizing emissions, and maximizing fuel economy (efficiency), of the engine. The timing is measured in degrees of crank angle of the piston before top dead center. For example, if the ECM/ECU initiates fuel injection when the piston is 10 degrees before TDC, the start of injection, or timing, is said to be 10° BTDC. Optimal timing will depend on the engine design as well as its speed and load.
Advancing the start of injection (injecting before the piston reaches TDC) results in higher in-cylinder pressure and temperature, and higher efficiency, but also results in elevated engine noise and increased oxides of nitrogen (NOx) emissions due to higher combustion temperatures. Delaying start of injection causes incomplete combustion, reduced fuel efficiency and an increase in exhaust smoke, containing a considerable amount of particulate matter and unburned hydrocarbons.

Major advantages
- Diesel engines have several advantages over other internal combustion engines:
- They burn less fuel than a petrol engine performing the same work, due to the engine's higher temperature of combustion and greater expansion ratio. Gasoline engines are typically 25% efficient while diesel engines can convert over 30% of the fuel energy into mechanical energy.
- They have no high-tension electrical ignition system to attend to, resulting in high reliability and easy adaptation to damp environments. The absence of coils, spark plug wires, etc., also eliminates a source of radio frequency emissions which can interfere with navigation and communication equipment, which is especially important in marine and aircraft applications.
- They can deliver much more of their rated power on a continuous basis than a petrol engine.
- The life of a diesel engine is generally about twice as long as that of a petrol engine due to the increased strength of parts used, also because diesel fuel has better lubrication properties than petrol.
- Diesel fuel is considered safer than petrol in many applications. Although diesel fuel will burn in open air using a wick, it will not explode and does not release a large amount of flammable vapor. - The low vapor pressure of diesel is especially advantageous in marine applications, where the accumulation of explosive fuel-air mixtures is a particular hazard.
- For any given partial load the fuel efficiency (mass burned per energy produced) of a diesel engine remains nearly constant, as opposed to petrol and turbine engines which use proportionally more fuel with partial power outputs.
- They generate less waste heat in cooling and exhaust.
- With a diesel, boost pressure is limited only by the strength of the engine components, not predetonation of the fuel charge as in petrol engines.
- The carbon monoxide content of the exhaust is minimal, therefore diesel engines are used in underground mines.
- Biodiesel is an easily synthesized, non-petroleum-based fuel (through the Fischer–Tropsch process) which can run directly in diesel engines, while gasoline engines either need adaptation to run synthetic fuels or else use them as an additive to gasoline (e.g., ethanol added to gasohol), making diesel engines the clearly preferred choice for sustainability.