A reciprocating engine, also often known as a piston engine, is typically a heat engine that uses one or more reciprocating pistons to convert high temperature and high pressure into a rotating motion. This article describes the common features of all types. The main types are: the internal combustion engine, used extensively in motor vehicles; the steam engine, the mainstay of the Industrial Revolution; and the Stirling engine for niche applications. Internal combustion engines are further classified in two ways: either a spark-ignition (SI) engine, where the spark plug initiates the combustion; or a compression-ignition (CI) engine, where the air within the cylinder is compressed, thus heating it, so that the heated air ignites fuel that is injected then or earlier.
Common features in all types
There may be one or more pistons. Each piston is inside a cylinder, into which a gas is introduced, either already under pressure (e.g. steam engine), or heated inside the cylinder either by ignition of a fuel air mixture (internal combustion engine) or by contact with a hot heat exchanger in the cylinder (Stirling engine). The hot gases expand, pushing the piston to the bottom of the cylinder. This position is also known as the Bottom Dead Center (BDC), or where the piston forms the largest volume in the cylinder. The piston is returned to the cylinder top (Top Dead Center) (TDC) by a flywheel, the power from other pistons connected to the same shaft or (in a double acting cylinder) by the same process acting on the other side of the piston. This is where the piston forms the smallest volume in the cylinder. In most types the expanded or "exhausted" gases are removed from the cylinder by this stroke. The exception is the Stirling engine, which repeatedly heats and cools the same sealed quantity of gas. The stroke is simply the distance between the TDC and the BDC, or the greatest distance that the piston can travel in one direction.
In some designs the piston may be powered in both directions in the cylinder, in which case it is said to be double-acting.
In most types, the linear movement of the piston is converted to a rotating movement via a connecting rod and a crankshaft or by a swashplate or other suitable mechanism. A flywheel is often used to ensure smooth rotation or to store energy to carry the engine through an un-powered part of the cycle. The more cylinders a reciprocating engine has, generally, the more vibration-free (smoothly) it can operate. The power of a reciprocating engine is proportional to the volume of the combined pistons' displacement.
A seal must be made between the sliding piston and the walls of the cylinder so that the high pressure gas above the piston does not leak past it and reduce the efficiency of the engine. This seal is usually provided by one or more piston rings. These are rings made of a hard metal, and are sprung into a circular groove in the piston head. The rings fit closely in the groove and press lightly against the cylinder wall to form a seal, and more heavily when higher combustion pressure moves around to their inner surfaces.
It is common to classify such engines by the number and alignment of cylinders and total volume of displacement of gas by the pistons moving in the cylinders usually measured in cubic centimetres (cm3 or cc) or litres (l) or (L) (US: liter). For example, for internal combustion engines, single and two-cylinder designs are common in smaller vehicles such as motorcycles, while automobiles typically have between four and eight, and locomotives and ships may have a dozen cylinders or more. Cylinder capacities may range from 10 cm3 or less in model engines up to thousands of liters in ships' engines.
The compression ratio affects the performance in most types of reciprocating engine. It is the ratio between the volume of the cylinder, when the piston is at the bottom of its stroke, and the volume when the piston is at the top of its stroke.
The bore/stroke ratio is the ratio of the diameter of the piston, or "bore", to the length of travel within the cylinder, or "stroke". If this is around 1 the engine is said to be "square". If it is greater than 1, i.e. the bore is larger than the stroke, it is "oversquare". If it is less than 1, i.e. the stroke is larger than the bore, it is "undersquare".
Cylinders may be aligned in line, in a V configuration, horizontally opposite each other, or radially around the crankshaft. Opposed-piston engines put two pistons working at opposite ends of the same cylinder and this has been extended into triangular arrangements such as the Napier Deltic. Some designs have set the cylinders in motion around the shaft, such as the rotary engine.
In some steam engines, the cylinders may be of varying size with the smallest bore cylinder working the highest pressure steam. This is then fed through one or more, increasingly larger bore cylinders successively, to extract power from the steam at increasingly lower pressures. These engines are called compound engines.
Aside from looking at the power that the engine can produce, the mean effective pressure (MEP), can also be used in comparing the power output and performance of reciprocating engines of the same size. The mean effective pressure is the fictitious pressure which would produce the same amount of net work that was produced during the power stroke cycle. This is shown by:
where is the total piston area of the engine, is the stroke length of the pistons, and is the total displacement volume of the engine. Therefore:
Whichever engine with the larger value of MEP produces more net work per cycle and performs more efficiently.
In steam engines and internal combustion engines, valves are required to allow the entry and exit of gases at the correct times in the piston's cycle. These are worked by cams, eccentrics or cranks driven by the shaft of the engine. Early designs used the D slide valve but this has been largely superseded by piston valve or poppet valve designs. In steam engines the point in the piston cycle at which the steam inlet valve closes is called the cutoff and this can often be controlled to adjust the torque supplied by the engine and improve efficiency. In some steam engines, the action of the valves can be replaced by an oscillating cylinder.
Internal combustion engines operate through a sequence of strokes that admit and remove gases to and from the cylinder. These operations are repeated cyclically and an engine is said to be 2-stroke, 4-stroke or 6-stroke depending on the number of strokes it takes to complete a cycle.
The most common type is 4-stroke, which has following cycles.
- Intake: Also known as induction or suction. This stroke of the piston begins at top dead center (T.D.C.) and ends at bottom dead center (B.D.C.). In this stroke the intake valve must be in the open position while the piston pulls an air-fuel mixture into the cylinder by producing vacuum pressure into the cylinder through its downward motion. The piston is moving down as air is being sucked in by the downward motion against the piston.
- Compression: This stroke begins at B.D.C, or just at the end of the suction stroke, and ends at T.D.C. In this stroke the piston compresses the air-fuel mixture in preparation for ignition during the power stroke (below). Both the intake and exhaust valves are closed during this stage.
- Combustion: Also known as power or ignition. This is the start of the second revolution of the four stroke cycle. At this point the crankshaft has completed a full 360 degree revolution. While the piston is at T.D.C. (the end of the compression stroke) the compressed air-fuel mixture is ignited by a spark plug (in a gasoline engine) or by heat generated by high compression (diesel engines), forcefully returning the piston to B.D.C. This stroke produces mechanical work from the engine to turn the crankshaft.
- Exhaust: Also known as outlet. During the exhaust stroke, the piston, once again, returns from B.D.C. to T.D.C. while the exhaust valve is open. This action expels the spent air-fuel mixture through the exhaust valve.
An early known example of rotary to reciprocating motion is the crank mechanism. The earlier hand-operated cranks appeared in China during the Han Dynasty (202 BC–220 AD). The Chinese used the crank-and-connecting rod for operating querns as far back as the Western Han dynasty (202 BC–9 AD). Eventually crank-and-connecting rods were used in the inter-conversion of rotary and reciprocating motion for other applications such as flour-sifting, silk-reeling machines, treadle spinning wheels, and furnace bellows driven either by horses or waterwheels.  Several saw mills in Roman Asia and Byzantine Syria during the 3rd–6th centuries AD had a crank and connecting rod mechanism which converted the rotary motion of a water wheel into the linear movement of saw blades. In 1206, Arab engineer Al-Jazari invented a crankshaft.
The reciprocating engine developed in Europe during the 18th century, first as the atmospheric engine then later as the steam engine. These were followed by the Stirling engine and internal combustion engine in the 19th century. Today the most common form of reciprocating engine is the internal combustion engine running on the combustion of petrol, diesel, liquefied petroleum gas (LPG) or compressed natural gas (CNG) and used to power motor vehicles and engine power plants.
One notable reciprocating engine from the World War II era was the 28-cylinder, 3,500 hp (2,600 kW) Pratt & Whitney R-4360 Wasp Major radial engine. It powered the last generation of large piston-engined planes before jet engines and turboprops took over from 1944 onward. It had a total engine capacity of 71.5 L (4,360 cu in), and a high power-to-weight ratio.
The largest reciprocating engine in production at present, but not the largest ever built, is the Wärtsilä-Sulzer RTA96-C turbocharged two-stroke diesel engine of 2006 built by Wärtsilä. It is used to power the largest modern container ships such as the Emma Mærsk. It is five stories high (13.5 m or 44 ft), 27 m (89 ft) long, and weighs over 2,300 metric tons (2,500 short tons) in its largest 14 cylinders version producing more than 84.42 MW (114,800 bhp). Each cylinder has a capacity of 1,820 L (64 cu ft), making a total capacity of 25,480 L (900 cu ft) for the largest versions.
For piston engines, an engine's capacity is the engine displacement, in other words the volume swept by all the pistons of an engine in a single movement. It is generally measured in litres (l) or cubic inches (c.i.d., cu in, or in3) for larger engines, and cubic centimetres (abbreviated cc) for smaller engines. All else being equal, engines with greater capacities are more powerful and consumption of fuel increases accordingly (although this is not true of every reciprocating engine), although power and fuel consumption are affected by many factors outside of engine displacement.
Reciprocating engines can be characterized by their specific power, which is typically given in kilowatts per litre of engine displacement (in the U.S. also horsepower per cubic inch). The result offers an approximation of the peak power output of an engine. This is not to be confused with fuel efficiency, since high efficiency often requires a lean fuel-air ratio, and thus lower power density. A modern high-performance car engine makes in excess of 75 kW/L (1.65 hp/in3).
Other modern non-internal combustion types
Reciprocating engines that are powered by compressed air, steam or other hot gases are still used in some applications such as to drive many modern torpedoes or as pollution-free motive power. Most steam-driven applications use steam turbines, which are more efficient than piston engines.
The French-designed FlowAIR vehicles use compressed air stored in a cylinder to drive a reciprocating engine in a local-pollution-free urban vehicle.
Torpedoes may use a working gas produced by high test peroxide or Otto fuel II, which pressurize without combustion. The 230 kg (510 lb) Mark 46 torpedo, for example, can travel 11 km (6.8 mi) underwater at 74 km/h (46 mph) fuelled by Otto fuel without oxidant.
Reciprocating quantum heat engine
Quantum heat engines are devices that generate power from heat that flows from a hot to a cold reservoir. The mechanism of operation of the engine can be described by the laws of quantum mechanics. Quantum refrigerators are devices that consume power with the purpose to pump heat from a cold to a hot reservoir.
In a reciprocating quantum heat engine, the working medium is a quantum system such as spin systems or a harmonic oscillator. The Carnot cycle and Otto cycle are the ones most studied. The quantum versions obey the laws of thermodynamics. In addition, these models can justify the assumptions of endoreversible thermodynamics. A theoretical study has shown that it is possible and practical to build a reciprocating engine that is composed of a single oscillating atom. This is an area for future research and could have applications in nanotechnology.
There are a large number of unusual varieties of piston engines that have various claimed advantages, many of which see little if any current use:
- Free-piston engine
- Opposed-piston engine
- Swing-piston engine
- IRIS engine
- Bourke engine
- Thermo-magnetic motor
- Heat engine for a view of the thermodynamics involved in these engines.
- For a contrasting approach using no pistons, see the pistonless rotary engine.
- For an historical perspective see Timeline of heat engine technology.
- Steam engine
- Stirling engine
- Internal combustion engine
- Otto cycle
- Diesel cycle
- Engine configuration for a discussion of the layout of the major components of a reciprocating piston internal combustion engine.
- Diesel engine
- Gasoline engine
- ^ a b Thermodynamics: An Engineering Approach by Yunus A. Cengal and Michael A. Boles
- ^ "Piston Engine Basics". 4 February 2016.
- ^ "What is a Piston Engine? (With pictures)".
- ^ "Beginner's Guide: What is a Piston (And What Does It Do)?". 16 March 2018.
- ^ "The Basics of How a Piston-Driven Engine Works".
- ^ Hanlon, Mike. Most powerful diesel engine in the world GizMag. Accessed: 14 April 2017.
- ^ a b Needham, Joseph. (1986). Science and Civilization in China: Volume 4, Part 2, Mechanical Engineering. Taipei: Caves Books, Ltd. Pages 118–119.
- ^ Hong-Sen Yan, Marco Ceccarelli (2009). International Symposium on History of Machines and Mechanisms. Springer Science and Business Media. pp. 235–249. ISBN 978-1-4020-9484-2.
- ^ Ritti, Tullia; Grewe, Klaus; Kessener, Paul (2007), "A Relief of a Water-powered Stone Saw Mill on a Sarcophagus at Hierapolis and its Implications", Journal of Roman Archaeology, 20: 138–163, doi:10.1017/S1047759400005341, S2CID 161937987
- ^ Sally Ganchy, Sarah Gancher (2009), Islam and Science, Medicine, and Technology, The Rosen Publishing Group, p. 41, ISBN 978-1-4358-5066-8
- ^ AIRPod manufactured by MDI SA. Accessed February 19, 2015
- ^  Irreversible performance of a quantum harmonic heat engine, Rezek and Kosloff, New J. Phys. 8 (2006) 83
- ^ Can a car engine be built out of a single particle? Physorg, November 30, 2012 by Lisa Zyga. Accessed 01-12-12
- Combustion video – in-cylinder combustion in an optically accessible, two-stroke engine
- HowStuffWorks: How Car Engines Work
- Reciprocating Engines at Infoplease.
- Piston Engines at the US Centennial of Flight Commission.