Piston motion equations

Piston motion equations
The reciprocating motion of a non-offset piston connected to a rotating crank through a connecting rod (as would be found in internal combustion engines) can be expressed by equations of motion. This article shows how these equations of motion can be derived using calculus as functions of angle (angle domain) and of time (time domain).
Crankshaft geometry
The geometry of the system consisting of the piston, rod and crank is represented as shown in the following diagram:
Definitions
From the geometry shown in the diagram above, the following variables are defined:
rod length (distance between piston pin and crank pin)
crank radius (distance between crank center and crank pin, i.e. half stroke)
crank angle (from cylinder bore centerline at TDC)
piston pin position (distance upward from crank center along cylinder bore centerline)
The following variables are also defined:
piston pin velocity (upward from crank center along cylinder bore centerline)
piston pin acceleration (upward from crank center along cylinder bore centerline)
crank angular velocity (in the same direction/sense as crank angle )
Angular velocity
The frequency (Hz) of the crankshaft's rotation is related to the engine's speed (revolutions per minute) as follows:
So the angular velocity (radians/s) of the crankshaft is:
Triangle relation
As shown in the diagram, the crank pin, crank center and piston pin form triangle NOP.
By the cosine law it is seen that:
where and are constant and varies as changes.
Equations with respect to angular position (Angle Domain)
Angle domain equations are expressed as functions of angle.
Deriving angle domain equations
The angle domain equations of the piston's reciprocating motion are derived from the system's geometry equations as follows.
Position
Position with respect to crank angle (from the triangle relation, completing the square, utilizing the Pythagorean identity, and rearranging):
Velocity
Velocity with respect to crank angle (take first derivative, using the chain rule):
Acceleration
Acceleration with respect to crank angle (take second derivative, using the chain rule and the quotient rule):
Non Simple Harmonic Motion
The angle domain equations above show that the motion of the piston (connected to rod and crank) is not simple harmonic motion, but is modified by the motion of the rod as it swings with the rotation of the crank. This is in contrast to the Scotch Yoke which directly produces simple harmonic motion.
Example graphs
Example graphs of the angle domain equations are shown below.
Equations with respect to time (time domain)
Time domain equations are expressed as functions of time.
Angular velocity derivatives
Angle is related to time by angular velocity as follows:
If angular velocity is constant, then:
and:
Deriving time domain equations
The time domain equations of the piston's reciprocating motion are derived from the angle domain equations as follows.
Position
Position with respect to time is simply:
Velocity
Velocity with respect to time (using the chain rule):
Acceleration
Acceleration with respect to time (using the chain rule and product rule, and the angular velocity derivatives):
Scaling for angular velocity
From the foregoing, you can see that the time domain equations are simply scaled forms of the angle domain equations: is unscaled, is scaled by ω, and is scaled by ω².
To convert the angle domain equations to time domain, first replace A with ωt, and then scale for angular velocity as follows: multiply by ω, and multiply by ω².
Velocity maxima and minima
By definition, the velocity maxima and minima
occur at the acceleration zeros (crossings of the horizontal axis).
Crank angle not right-angled
The velocity maxima and minima (see the acceleration zero crossings in the graphs below) depend on rod length and half stroke and do not occur when the crank angle is right angled.
Crank-rod angle not right angled
The velocity maxima and minima do not necessarily occur when the crank makes a right angle with the rod. Counter-examples exist to disprove the statement "velocity maxima and minima only occur when the crank-rod angle is right angled".
Example
For rod length 6" and crank radius 2" (as shown in the example graph below), numerically solving the acceleration zero-crossings finds the velocity maxima/minima to be at crank angles of ±73.17615°. Then, using the triangle law of sines, it is found that the rod-vertical angle is 18.60647° and the crank-rod angle is 88.21738°. Clearly, in this example, the angle between the crank and the rod is not a right angle. Summing the angles of the triangle 88.21738° + 18.60647° + 73.17615° gives 180.00000°. A single counter-example is sufficient to disprove the statement "velocity maxima/minima occur when crank makes a right angle with rod".
Example graphs of piston motion
Angle Domain Graphs
The graphs below show the angle domain equations for a constant rod length (6.0") and various values of half stroke (1.8", 2.0", 2.2").
Note in the graphs that L is rod length and R is half stroke..
Animation
Below is an animation of the piston motion equations with the same values of rod length and crank radius as in the graphs above
Units of Convenience
Note that for the automotive/hotrod use-case the most convenient (used by enthusiasts) unit of length for the piston-rod-crank geometry is the inch, with typical dimensions being 6" (inch) rod length and 2" (inch) crank radius. This article uses units of inch (") for position, velocity and acceleration, as shown in the graphs above.
See also
Connecting rod
Crankshaft
Internal combustion engine
Piston
Reciprocating engine
Scotch yoke
Simple Harmonic Motion
Slider-crank linkage
References
External links
animated engines Animated Otto Engine
desmos Interactive Stroke vs Rod Piston Position and Derivatives
desmos Interactive Crank Animation
codecogs Piston Velocity and Acceleration
youtube Rotating SBC 350 Engine
youtube 3D Animation of V8 Engine
youtube Inside V8 Engine
Motion equations
Engine technology
Mechanical engineering
Equations