Mechanisms lab
Turn the crank on a four-bar linkage, a slider-crank and a cam: Grashof type, transmission angle, coupler curves, piston speed and cam motion laws.
How to use
- Pick a mechanism from the tabs and type its lengths (any unit, the same for all).
- Move the crank angle slider, or press "Turn the crank" to watch it move (press Stop to hold).
- Four-bar: the text names the Grashof type, the transmission angle now and which crank angles can be reached; the dashed curve is the path of the orange point on the coupler.
- Slider-crank: stroke, quick-return ratio (with an offset) and the slider's position, speed and acceleration at your crank speed.
- Cam: choose a motion law and the rise, dwell and return angles; you see the cam outline, the lift diagram and the largest velocity and acceleration.
Keyboard and touch
| Arrow keys on the tabs | Change mechanism |
| Arrow keys on the slider | Turn the crank one degree at a time |
Tips
- Grashof's rule: if the shortest plus the longest link is less than the other two together, at least one link can turn all the way round.
- Keep the transmission angle between about 40° and 140°: near 0° or 180° the linkage locks or pushes very badly.
- A longer connecting rod makes the slider's motion closer to simple harmonic and lowers the side force.
- Cycloidal and 3-4-5 polynomial cams start and stop smoothly (no sudden jump in acceleration), so they run quieter at speed.
- The drawings are kinematics only: no forces, masses, friction or strength. Do not use them to size real machine parts.
About this lab
Positions are worked out exactly from the link lengths (circle intersections for the four-bar, the closed-form slider position), and speeds and accelerations by small exact steps of the crank angle. The Grashof classification and transmission angle follow standard mechanism-design textbooks. Cam laws are the classic uniform velocity, simple harmonic, cycloidal and 3-4-5 polynomial, shown for a knife-edge follower in line with the cam centre. This is a teaching tool for motion, not a design tool for loads or strength. Nothing is sent anywhere.