Linkage position, velocity, and acceleration: compare slider-crank graphs and equations
Even when the crank rotates at a constant speed, the slider's velocity and acceleration are not constant. Velocity is the rate of change of position, and acceleration is the rate of change of velocity, so they can be found by differentiating the position equation.
The initial values are crank 20 mm and connecting rod 80 mm. In the experiment below, compare three accurately calculated graphs with the approximation commonly used in textbooks to see where and by how much they differ.
Slider position, velocity, and acceleration (exact values and approximation)
Graphs with initial values (r 20, l 80 mm). Enable JavaScript to change the lengths and see the mechanism move.
mm/rad is the distance moved while the crank turns one radian (57.3°), not a speed in time. Multiply by the crank speed in rad/s to get mm/s (rad/s = rpm × 2π / 60).
- Exact values (calculated)
- Approximation (sum of two waves)
Position x (mm)
Velocity dx/dθ (mm/rad)
Acceleration d²x/dθ² (mm/rad²)
Try these 3 things
- View the acceleration graph with the initial values The acceleration magnitudes differ at crank angles 0° (slider at the far end) and 180° (near end). The maximum deviation from the approximation is 0.16 mm/rad² for acceleration.
- Set connecting rod l to 40 r / l increases, and the acceleration at the two ends differs more. The angle of maximum velocity decreases, and the deviation from the approximation also increases.
- Set connecting rod l to 400 The acceleration at the two ends becomes nearly equal, and the angle of maximum velocity approaches 90°. The slider's motion becomes nearly sinusoidal (simple harmonic motion).
| Connecting rod l (mm) | Acceleration at 0° (mm/rad²) | Acceleration at 180° (mm/rad²) | Angle of maximum velocity | Deviation from the approximation (acceleration) |
|---|---|---|---|---|
| 40 | -30.00 | 10.00 | about 68° | 1.55 |
| 80 (initial value) | -25.00 | 15.00 | about 77° | 0.16 |
| 400 | -21.00 | 19.00 | about 87° | 0.00 |
Equations
Exact equations
Let θ be the crank angle, r the crank length, and l the connecting rod length. For a slider-crank with the slide line passing through the crank center, the slider position x is given by:
Differentiating this once and twice with respect to θ gives velocity and acceleration per 1 rad of crank rotation. The solid lines in the experiment's graphs show values calculated exactly by the computation engine, not by taking differences.
Approximation
Expanding the square root and dropping terms of order (r / l) squared and higher gives the sum of two sine waves.
The second term (the wave with twice the angle) shifts the maximum velocity to before 90° and creates a difference between the acceleration at the two ends. The larger r / l is, the more the dropped terms matter, so the approximation becomes less accurate.
Converting to values per unit time
When the crank rotates at a constant angular velocity ω (rad/s), velocity and acceleration per unit time are as follows. Doubling the rotational speed doubles velocity and quadruples acceleration.
An experiment where you enter the rotational speed and check the results in actual units is available at Input speed and output motion.
What this page does not show
- This is a kinematics calculation. It does not calculate forces obtained by multiplying acceleration by mass (inertial forces) or the resulting vibrations.
- The crank's rotational speed is assumed to be constant. In a real mechanism, the crank's speed itself can vary with the load.
- The equations above change for a slider-crank with an offset slide line. See the slider-crank page.
How the values are obtained
Position, velocity, and acceleration are calculated at 360 crank angles using the closed-form equations for a slider-crank and their exact derivatives. The approximation is calculated from its equations at the same angles, and the maximum difference is displayed.
The angle of maximum velocity is given in 1° increments. The values and claims in the text are recalculated and checked when the page is built. The computation engine version is 0.1.0.
References: R. L. Norton, “Design of Machinery” (slider-crank analysis and approximation equations); J. J. Uicker, G. R. Pennock, and J. E. Shigley, “Theory of Machines and Mechanisms.”