Quick answer A four-bar linkage becomes a Grashof mechanism (one link makes a full rotation) when s+l≤p+q (s=shortest, l=longest). The displacement of a slider-crank is x=r·cosθ+l·√(1−(r/l)²·sin²θ), and the transmission angle μ indicates how effectively power is transmitted.
Analyze four-bar and crank-slider mechanisms with real-time animation. Evaluate Grashof condition, transmission angle, output angle, stroke, and velocity ratio.
Mechanism settings
Mechanism type
L1 fixed link
m
L2 Crank
m
L3 coupler
m
L4 Rocker
m
Crank length r
Connecting Rod Length l
RotationVelocity ω
rad/s
0.00 s
0 / 5
Grashof condition(4-barLink):
$$s + l \leq p + q \quad \text{(s: shortest, l: longest, p,q: intermediate links)}$$
Velocity analysis (differentiation): fundamental relation of angular-velocity transmission
$$s + l \leq p + q \quad \text{(Grashof condition)}$$
Grashof condition: \(s\) shortest link, \(l\) longest link, \(p,q\) the remaining two links
What is a Crank-Slider Mechanism?
🙋
What exactly is a crank-slider mechanism? I see it in the simulator's "Mechanism type" dropdown.
🎓
Basically, it's a classic machine that converts rotary motion into back-and-forth sliding motion, or vice-versa. In this simulator, when you select "Crank-slider" from the dropdown, you'll see a rotating crank connected to a piston-like slider. A common case is the piston inside a car engine.
🙋
Wait, really? So the "Crank length r" and "Connecting Rod Length l" sliders control the parts of that engine? What happens if I make the connecting rod really short?
🎓
Exactly! Try moving the "Connecting Rod Length l" slider way down while keeping the crank length moderate. You'll see the slider's motion become uneven—it will shoot forward quickly and return slowly. This is bad for engine smoothness. In practice, a typical ratio is $l/r \approx 3$ to $4$ for internal combustion engines.
🙋
That makes sense. And for the 4-bar linkage option, what's that "Grashof condition" check for?
🎓
Great question. The Grashof condition tells you if at least one link in your 4-bar design can rotate fully—a crucial feature for a driving crank. In the simulator, adjust the four link lengths (L1 to L4). If the condition is met, you'll get continuous rotation. If not, the mechanism might just rock back and forth. For instance, a car's windshield wiper needs a fully rotating input crank, so it must satisfy Grashof.
Physical Model & Key Equations
The core kinematics of the crank-slider mechanism is defined by the slider's horizontal position, x. It's derived from the geometry of the rotating crank and the connecting rod.
Where: $x$ = Slider displacement from the crank center. $r$ = Crank length (adjust via "Crank length r"). $l$ = Connecting rod length (adjust via "Connecting Rod Length l"). $\theta$ = Crank angle ($\theta = \omega t$, where $\omega$ is "RotationVelocity").
For a 4-bar linkage, the fundamental design rule is the Grashof Condition. It determines the possible motion types based on link lengths.
$$s + l \leq p + q$$
Where: $s$ = Length of the shortest link. $l$ = Length of the longest link. $p, q$ = Lengths of the two intermediate links.
If true, at least one link can rotate fully (e.g., a crank). The transmission angle, critical for force efficiency, is calculated from the instant geometry of the links.
Frequently Asked Questions
If the Grashof condition (s + l ≤ p + q) is not satisfied, the input link cannot rotate continuously and will lock (deadlock) at a certain angle. In the simulation, this can be observed as the link reversing within that angular range or the animation stopping. When designing mechanisms, please adjust the link lengths to satisfy this condition.
If the transmission angle falls below 40°, excessive force is applied to the links, causing unstable motion, mechanical locking, or vibration. Ideally, maintain a transmission angle of 50° or more, and at least 40° or more when designing link lengths. This tool displays the transmission angle in real time.
This tool shows slider displacement, stroke, and velocity ratio for the crank angle. It does not display time-history velocity or acceleration graphs, so detailed inertial-force evaluation should be done with a separate kinematic analysis.
First, check whether the Grashof condition is satisfied. If it is not, the input link will lock and the animation will stop. Also, check that you have not entered extreme values (negative numbers or zero) for link lengths, and that the crank length is not longer than the connecting rod length. Results update automatically when values change.
Real-World Applications
Internal Combustion Engines: The piston-cylinder assembly is a direct application of the crank-slider. The simulator's parameters r and l directly model the crankshaft throw and connecting rod. Engineers analyze the slider's velocity and acceleration to balance the engine and minimize vibration.
Automotive Wiper Systems: Many windshield wipers use a 4-bar linkage of the "crank-rocker" type. The input motor is a crank, and the wiper arm is the rocker. The transmission angle must be kept optimal (usually >40°) to prevent jamming, which you can check in the simulator.
Press and Stamping Machines: These industrial machines often use a "double-crank" 4-bar linkage to transform constant rotary input into a precise, powerful pressing motion with a slow, forceful stroke and a quick return—exactly the kind of motion you can visualize by playing with the link lengths.
Robotic Grippers and Leg Mechanisms: 4-bar linkages provide constrained, predictable motion paths essential for robotics. By synthesizing link lengths in tools like this simulator, designers can create a gripper that closes parallel or a walking robot leg with a specific foot trajectory.
Common Misconceptions and Points to Note
First, there is a common tendency to think "if the Grashof condition is satisfied, everything is fine," but this is a major misunderstanding. Even if the condition is met, the actual motion may not be practical. For example, if the shortest link is made the crank, it can become a "non-Grashof mechanism" where the transmission angle becomes extremely small. Specifically, a combination like L1=10, L2=50, L3=10, L4=40 satisfies the Grashof condition, but if you simulate its motion, you'll find the output link moves very sluggishly, transmitting almost no force. In practice, you must remember that "moving" and "being usable" are two different things.
Next, do not ignore the units of link lengths. This tool only requires numerical input, but in actual design, you must decide on units like mm or inches. If you don't keep the units consistent across all length parameters, the calculation results are meaningless. A common beginner mistake is intending to input a crank length of 10 (mm) and a connecting rod length of 200 (mm), but actually mixing 10 (cm) and 200 (mm).
Finally, about crank-slider acceleration checks. Rapid changes in angular acceleration indicate large inertial forces in the mechanism. For instance, if the connecting rod length l is set extremely short relative to crank length r (for example l/r=1.2), piston acceleration near top and bottom dead center becomes very large and can cause vibration and noise. This tool does not plot acceleration directly, so use a separate kinematic analysis for detailed inertial-force evaluation.
Enter all link lengths in the same unit: L1 is the fixed link, L2 the crank, L3 the coupler, and L4 the rocker.
Changing a value automatically updates the Grashof condition and mechanism type.
For a four-bar linkage, review output angle, output stroke, minimum transmission angle, and velocity ratio.
For a crank-slider, review slider displacement, stroke, and transmission-angle variation.
Worked Example
With the default values L1=100 mm, L2=40 mm, L3=120 mm, and L4=80 mm, the Grashof condition is satisfied and the mechanism type is crank-rocker. The rocker output stroke is 73.8°, and the minimum transmission angle μ_min is 26.4°, below 40°, so force transmission efficiency needs attention.
Practical Notes
Grashof condition determines mechanism type: l_min + l_max ≤ l_other1 + l_other2 for continuous rotation; violating this produces toggle positions limiting crank motion to 270° or less.
Transmission angle below 45° causes high joint reaction forces and friction losses; automotive cam followers and robotic arms typically maintain 50–80° range.
Non-Grashof mechanisms exhibit dead centers where crank force cannot move follower; industrial machinery requires linkage adjustment or motor bypass systems.
Coupler curves trace complex paths useful for dwell mechanisms in packaging machinery and intermittent motion applications.