b2KIT

Four-Bar Linkage Simulator

Simulate four-bar linkage mechanisms with adjustable link lengths. Trace coupler curves and classify Grashof type.

Tested tool guide Tested browser tools Checked August 16, 2026

What Four-Bar Linkage Simulator does, with a checked example

Enter the ground, input, coupler, and output lengths to inspect a planar four-bar linkage as its input angle changes. The simulator shows the linkage pose, traces the path of a point attached to the coupler, and classifies the length combination by its Grashof family and inversion. The main trap is reading "Grashof" as "all moving links rotate fully." It only guarantees a full relative rotation somewhere in the chain. With one link grounded, the shortest link's location determines which ground-connected link can act as a crank.

Worked example

A concrete input and expected output from the current implementation.

Input

Ground link: 6
Input link: 2
Coupler link: 5
Output link: 4

Expected output

Classification: Grashof crank-rocker. The 2-unit input link can rotate continuously, while the 4-unit output link rocks.

The ordered lengths are 2, 4, 5, and 6. The shortest plus longest is 2 + 6 = 8, which is less than 4 + 5 = 9; because the shortest link is adjacent to the fixed ground and is the input, this inversion is a crank-rocker.

How the result is produced

1

Length classification

Order the four lengths as shortest s, longest l, and intermediate p and q. A strict s + l < p + q gives an ordinary Grashof linkage; equality is the change-point boundary; and s + l > p + q is non-Grashof. The inversion name then depends on the fixed link: grounding the shortest, an adjacent link, or the opposite link produces different motion classes.

2

Pose and coupler curve

For each input angle, the coupler-output joint must be one coupler length from the input joint and one output-link length from the fixed output pivot. Those constraints can have two assembly solutions, one tangent solution, or no real solution. Following one valid assembly branch over changing input angles produces the coupler-point curve. The curve records position only, not speed, force, or elapsed time.

Good uses

  • Check whether proposed link lengths permit a continuously rotating input crank before developing a detailed mechanism design.
  • Compare crank-rocker, double-crank, and double-rocker arrangements obtained by changing lengths or selecting a different grounded link.
  • Study the coupler path for a tracing point used to approximate a desired pickup, transfer, or guiding motion.

Limits and checks

  • The model treats the links as ideal planar rigid bodies with pin joints. It does not account for link thickness, clearance, elasticity, friction, motor torque, or collisions.
  • A coupler curve belongs to one specific point fixed on the coupler and one assembly branch. It is not the swept outline of the entire coupler link.
  • The links must also close geometrically. If the longest length exceeds the sum of the other three, no assembled four-bar position exists, regardless of any displayed length category.

Common questions

Does a Grashof result mean my selected input link can turn through 360 degrees?

No. The Grashof comparison establishes that continuous relative rotation is possible, but the grounded-link inversion decides which link has that motion. If the shortest link is adjacent to ground and used as the input, it is the crank. If the shortest link is opposite ground, both links connected directly to ground are rockers.

What does equality in the Grashof comparison mean?

When the shortest plus longest length equals the sum of the other two, the linkage is at the change-point boundary. It can reach a collinear toggle configuration where the two assembly branches meet. Small length changes can move the design to either side of the Grashof boundary, so equality should not be treated as a mechanically robust continuous-rotation design.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools