Engine Mechanism Analysis
Back
Engine Kinematics

Engine Mechanism Analysis(Crank-Slider Kinematics)

Calculate displacement, velocity, and acceleration of crank-slider mechanisms using analytical solutions. Intuitively understand mechanism kinematics through animation and motion graphs.

Parameters
Presets
Crank radius r
mm
Connecting Rod Length l
mm
Crank ratio λ = r/l
Rotation speed n
rpm
Elapsed: 0.000 s  |  0.00 rev
Results
Max Piston Velocity (m/s)
Max Acceleration (m/s²)
Stroke (mm)
Mean Piston Velocity (m/s)
Crank Angle at Max Velocity (°)
λ = r/l
Engine
Theory & Key Formulas
$$x = r\cos\theta + \sqrt{l^2 - r^2\sin^2\theta}$$ $$\dot{x}= -r\omega\left(\sin\theta + \frac{\lambda\sin 2\theta}{2\sqrt{1-\lambda^2\sin^2\theta}}\right)$$

$\lambda = r/l$(Crank ratio)

What is Crank-Slider Kinematics?

🙋
What exactly is a crank-slider mechanism? I see it mentioned in engines all the time.
🎓
Basically, it's the core mechanical system that converts the spinning motion of a crankshaft into the back-and-forth motion of a piston, or vice-versa. In practice, it's the heart of your car's engine. In this simulator, the "Crank Radius (r)" is the length of the spinning arm, and the "Connecting Rod Length (l)" is the link to the piston.
🙋
Wait, really? So the piston's speed isn't constant? How do we figure out where it is and how fast it's moving?
🎓
Exactly! The piston's motion is surprisingly complex. Its position depends entirely on the crank's rotation angle $\theta$. For instance, at top dead center ($\theta=0$), the piston is at its highest point. Try moving the "Rotation Speed (n)" slider in the simulator—you'll see the animation speed up and the velocity graph values change dramatically.
🙋
That makes sense. But what's the "Crank Ratio λ" for? And why does the piston's acceleration matter so much?
🎓
Great question! The ratio $\lambda = r/l$ determines how "jerky" the piston's motion is. A common case is a high-performance engine with a short rod (high λ), leading to very high piston acceleration near top dead center. This creates massive inertial forces. When you change the λ parameter above, watch the acceleration graph spike—that's the force the connecting rod and bearings must withstand!

Physical Model & Key Equations

The fundamental geometry relates the crank angle to the piston's horizontal position (x). Using the Pythagorean theorem on the right triangle formed by the crank and rod, we get the displacement equation.

$$x = r\cos\theta + \sqrt{l^2 - r^2\sin^2\theta}$$

Here, $x$ is the piston position from the crankshaft center, $r$ is the crank radius, $l$ is the connecting rod length, and $\theta$ is the crank angle. The term under the square root ensures the rod's length stays constant.

By taking the derivative of displacement with respect to time, we find the piston velocity. This equation shows velocity depends on both $\sin\theta$ and a more complex term due to the connecting rod's angularity.

$$\dot{x}= -r\omega\left(\sin\theta + \frac{\lambda\sin 2\theta}{2\sqrt{1-\lambda^2\sin^2\theta}}\right)$$

Here, $\dot{x}$ is the piston velocity, $\omega$ is the crank's angular velocity ($\omega = 2\pi n / 60$ for rotation speed $n$ in RPM), and $\lambda = r/l$ is the crank ratio. The $\sin 2\theta$ term is key—it's why piston velocity peaks before 90° of crank rotation.

Frequently Asked Questions

Yes, when you change the parameters, the animation and motion graphs are immediately recalculated and updated. This allows you to see the impact of design changes on the mechanism's behavior in real time, enabling intuitive exploration of optimal dimensional ratios.
Due to the inclination of the connecting rod, the piston motion is not a simple harmonic motion (sine wave). The nonlinearity becomes more pronounced, especially when the connecting rod is shorter, causing distortion in the velocity waveform. This analysis tool uses a geometrically exact solution to accurately calculate this effect.
At top dead center and bottom dead center, the piston is at the moment of reversing its direction of motion. At these points, the crank and connecting rod are aligned in a straight line, and sinθ=0 in the piston velocity equation, so the velocity becomes zero. The acceleration reaches its maximum or minimum, making these important points for inertia force design.
This tool is based on kinematic analysis of an ideal rigid link mechanism and does not account for friction, elastic deformation, or dynamic effects due to inertia forces. While it is suitable for initial design studies and educational purposes, actual engine design requires separate dynamic analysis and strength calculations.

Real-World Applications

Internal Combustion Engine Design: This is the primary application. Engineers use these exact kinematics to balance engines, design crankshaft counterweights, and calculate the inertial forces that determine bearing loads and engine durability. The simulator's acceleration graph directly relates to these forces.

Pump and Compressor Design: In piston pumps and compressors, the crank-slider mechanism controls fluid displacement. Accurate velocity profiles are needed to design valve timing and minimize pressure pulsations in the system.

Press and Manufacturing Machinery: Mechanical presses use massive crank-slider systems to shape metal. The motion analysis ensures the tool hits the workpiece at the correct speed and position, and the force calculations determine the required motor torque and frame strength.

Reciprocating Actuators: From simple hobbyist projects to complex robotic systems, converting rotary motion to linear motion is ubiquitous. Understanding the non-linear relationship between input crank speed and output slider speed is crucial for precise control.

Common Misconceptions and Points to Note

When you start using this simulator, there are a few points that are easy to misunderstand. First, you might think "the longer the connecting rod length l, the better," but it's not that simple. It's true that increasing l (decreasing λ) makes the piston velocity waveform closer to a sine wave, resulting in smoother vibration. However, the downsides are an increase in overall engine height and weight, as well as increased frictional losses. In practice, due to trade-offs with cost and packaging, λ is almost always kept within the range of 0.25 to 0.33.

Next, keep in mind that when you select a preset like "V6" or "Inline 4-cylinder," what's displayed is purely the "kinematic" motion. In a real engine, a massive force from combustion pressure acts on the piston. This force is incomparably larger than the reciprocating inertia forces you're observing in this simulator, and it's the main player when considering component strength. Think of this tool as just the first step for understanding the "geometry of motion."

Finally, pay attention to the scale of the graph values. Piston acceleration is larger than you might imagine. For example, in an engine with a crank radius of 50mm, a connecting rod length of 150mm (λ=0.33), and a rotational speed of 6000 rpm, the piston acceleration at top dead center reaches a staggering ~15,000 m/s² (about 1500 G!). This enormous reciprocating inertia force is the fundamental reason behind balance weight and engine mount design.

How to Use

  1. Enter crank radius (r) in mm—typical values range 20–50 mm for automotive engines
  2. Input connecting rod length (l) in mm—usually 80–160 mm depending on engine type
  3. Set engine speed in RPM (800–7000 for gasoline engines)
  4. The simulator calculates stroke (2r), velocity, and acceleration profiles automatically
  5. Observe the animated piston motion and velocity/acceleration graphs to verify kinematic behavior

Worked Example

A four-cylinder automotive engine: crank radius r = 35 mm, connecting rod length l = 140 mm, engine speed = 5000 RPM. Lambda ratio λ = 35/140 = 0.25. Stroke = 70 mm. At maximum piston velocity (occurring near 75° crank angle), v_max ≈ 15.8 m/s. Peak acceleration occurs near TDC/BDC, reaching approximately 6200 m/s². Mean piston velocity = 2 × 0.070 m × (5000/60) / 1 = 11.67 m/s. Higher RPM or larger crank radius increases acceleration stress on bearings and piston rings.

Practical Notes

  1. Lambda ratio λ (r/l) below 0.3 reduces harmonic distortion and bearing loads; racing engines use λ ≈ 0.25–0.28 for high RPM reliability
  2. Maximum piston acceleration occurs at top and bottom dead centers; this inertial force drives bearing design and oil film requirements
  3. Connecting rod length affects dwell time near TDC—longer rods increase dwell, improving combustion but reducing mechanical advantage
  4. For marine diesel engines with lower RPM (600–1200), acceleration peaks are lower despite larger stroke dimensions

🎬 Watch it in motion

Heat Becomes Motion | How a 4-Stroke Engine Works
Heat Becomes Motion | How a 4-Stroke Engine Works
Heat Becomes Motion | How a 4-Stroke Engine Works
Heat Becomes Motion | How a 4-Stroke Engine Works
Heat Becomes Motion | How a 4-Stroke Engine Works
Heat Becomes Motion | How a 4-Stroke Engine Works
How a 4-Stroke Engine Works | Compression, Efficiency and Torque, Visualized
How a 4-Stroke Engine Works | Compression, Efficiency and Torque, Visualized