Configuration Space for Four-Bar Linkage

A planar four-bar linkage has four joints, so its configuration is described by four numbers. However, because the linkage is a closed chain, the resulting constraints make most configurations unattainable. The linkage's configuration space is a one-dimensional curve embedded in a four-dimensional space. The plot at left projects the configuration space onto the joint angles of the first and third links. You can drag the locator to explore the set of reachable configurations. Because and are angles, this configuration space wraps around from to . If any link is greater than the sum of the other three links, no valid configurations exist.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


In this Demonstration, links 1 and 3 are connected to the ground plane and are separated by a distance that can be adjusted by the slider "separation ()". The other three link lengths are set by the interval slider.
The four-bar linkage has four links, which are connected in a closed chain. The four-bar linkage is therefore a parallel mechanism. Grübler's formula states that the number of degrees of freedom of a planar mechanism is given by
In this Demonstration, is the number of degrees of freedom, is the number of links, is the number of joints, and is the number of degrees of freedom provided by joint . The of the four-bar linkage is therefore .
The kinematic loop constraint equations for the four-bar linkage are given in [1] as:
, and
Here , and are the lengths of the three links and is the separation distance of links 1 and 3. These equations can be found using the law of cosines. The sign in the expression for gives two solutions. The more positive solution of is drawn with an orange line, and the more negative solution with a blue line.
Depending on the link lengths chosen, the configuration space curve may have bifurcation points where branches of the curve meet. Snapshot 1 with link lengths has bifurcations at , , and . Snapshot 2 has no bifurcations, and Snapshot 3 with link lengths has a bifurcation at .
Vertical lines in the configuration space plot are spurious.
[1] K. M. Lynch and F. C. Park, Modern Robotics: Mechanics, Planning, and Control, New York: Cambridge University Press, 2017.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+