Elliptic curve drawing

Mechanical computation and algebraic curves

A mechanical computer that draws an algebraic curve is a useful device, and  Mathematicians Michael Kapovich and John Millson have shown that a design always exists.

This is Yang Liu’s design of a mechanical system that draws an elliptic cubic curve.

Here is how it is done.

Algebraic curve. An algebraic curve is the set of points P=(x, y) with coordinates that satisfy an algebraic equation,

Algebraic curve

 Algebraic curve

where ui and vi are integer exponents, and ci are real coefficients.

Forward kinematics. In order to draw this curve, we use an RR serial chain shown in Figure 1.  All that is needed is to coordinate the angles of this chain so its end-point P traces the curve.

RR serial chain

 Figure 1. The joints of an RR serial chain are coordinated to guide the point P along a specified curve.

The relationship between the joint angles and the coordinates P=(x, y) is given by the forward kinematics equations of this RR chain,

RR forward kinematics

 RR forward kinematics

Kempe’s formula. In his 1876 paper, “On a general method of describing plane curvesof nth degree by linkwork,” A. B. Kempe substituted this into the equation of the curve and simplified the result to obtain,

Kempe formula

 Kempe formula

Kempe interpreted this formula to be the x-coordinate of an N link serial chain, where each link has the length Aj and is positioned at the angle,

Kempe link angles

 Kempe link angles

The end-point of Kempe’s serial chain maintains the value x=C, which means it only moves along the y-direction.

Mechanical computation. Now connect cable drives to the two joints of the RR chain so they can be used as inputs to N mechanical computers that calculate the Psij angular values.  The output of the mechanical computers are connected by cable drives to the joints of Kempe’s serial chain.

The operations needed in the mechanical computers are simply multiplication and addition.  Multiplication of an angle by a given factor is achieved by using a cable drive with the ratio of the pulley sizes set to the specified factor.  The sum of two angular values is achieved using a bevel gear differential.

The result is a mechanical system that constrains the angles of an RR chain so it draws the specified algebraic curve within the workspace of RR serial chain.

Elliptic cubic curve. As an example, consider the elliptic cubic curve,

Elliptic cubic curve

 Elliptic cubic curve

Let the RR chain have link lengths L1=L2=1, and obtain Kempe’s formula for this curve,

Elliptic cubic formula

 Elliptic cubic formula

This equation has 12 terms, so Kempe’s serial chain has 12 links. The 12 mechanical computers connecting the angles of Kempes serial chain to the driving joints for the RR chain, include six additions and eight multiplications, Figure 2.

Elliptic curve drawing

 Figure 2. The Kempe’s serial chain and the mechanical computations that constrain the RR serial chain to draw an elliptic cubic curve.

Rather than use differentials and cable drives, Kempe used linkages to perform the mechanical computations and couple the results. The outcome is a lot of links as can be seen in this animation provided by Alex Kobel.

Linkage Patents

Want a patent? Try a Six-bar linkage

Patents including six-bar linkages are rare. Thousands of U.S. Patents have been awarded over the past forty years that involve four-bar linkages, but less than a hundred involve six-bar linkages, Figure 1.

Linkage Patents

Figure 1.  Since 1976, 3619 patents have been awarded that involve four-bar linkages and only 84 that involve six-bar linkages.

Add two bars to a four-bar to get a six-bar. A four-bar linkage, familiar to all mechanical designers, has an input lever connected by a rod to an output lever, Figure 2 (top). Add two more bars and you have a six-bar linkage. Unfortunately, the standard way to add those bars yields sequence of two four-bar linkages, Figure 2 (bottom), which is not really new. There are other ways to add these two bars but they are beyond the state-of-the-art.

Six-bar Watt 2

Figure 2. Add two bars to a four-bar linkage (top) to obtain a sequence of two four-bar linkages (bottom). This is the best designers can currently do for a six-bar linkage.

Other ways to add two bars. The two additional bars can be added to a four-bar linkage by attaching one end to the connecting rod and the other end to the output link. The result is a stack of two four-bar linkages, known as the Watt I six-bar linkage, Figure 3(a).

Another way is to connect one end of the two bars to the input lever and the other to output lever. This can be done in two ways, either on top of or beneath the four-bar linkage. When added on top, the result is a five-bar loop stacked on the four-bar linkage, known as the Stephenson I six-bar, Figure 3(b). When added beneath, the four-bar linkage is stacked on a five-bar loop, which is a Stephenson II sixbar, Figure 3 (c).

A systematic procedure for design of these alternative six-bar linkages is simply not available to mechanical designers.

Six-bar Chains

Figure 3. Three ways to add two bars to a four-bar linkage to obtain a six-bar linkage, each of which is beyond the state-of-the-art.

Solving the loop equations for four-bar and six-bar linkages. There is a simple, though mathematical, reason why four-bar linkages are easy to design and six-bar linkages that are more than a sequence of two four-bar linkages are very hard to design.

Almost sixty years ago in 1954, Ferdinand Freudenstein showed that if we define the movement required of a four-bar linkage, then its dimensions can be computed from its loop equations, which in modern form are give by,

Four-bar Loop Equations

Four-bar Loop Equations

He also showed that the solution of these equations is equivalent to finding the roots of a fourth degree polynomial, which is easy to do.

Soon afterward researchers obtained two sets of loop equations for six-bar linkages and showed that for a required movement, the solution of its loop equations,

Six-bar Loop Equations

Six-bar Loop Equations

is equivalent to finding the roots of a polynomial system of degree, d=264×10^6. A complete solution was only recently achieved after 300 hours of computation on a high performance computer cluster.

This stunning increase in complexity gets worse for eight-bar linkages obtained by adding two bars to a six-bar linkage, which yields three sets of loop equations. In this case calculating the dimensions of the linkage involves the solution of a polynomial system estimated to be of degree, d=10^15, which is massively beyond capabilities of even theoretical polynomial solvers.

A four-bar with additional design parameters. Once we understand the structure of the design equations for four-bar, six-bar and even eight-bar linkages, it is possible to take a different approach to the problem of calculating a design from a movement requirement.

A four-bar linkage has eight design variables, which are the four pairs of coordinates that define its hinged joints. Similarly, a six-bar linkage has seven hinged joints or 14 design parameters, and an eight-bar linkage has 10 joints or 20 design parameters. It is possible to consider a six-bar and even an eight-bar linkage as a four-bar linkage with extra design variables. The question then becomes how to use these extra design variables to improve the performance of the linkage system.

Six-bar linkages provide simple and effective movement. But is there ever a situation where the complexity of a six-bar linkage is preferred over a four-bar linkage that provides the same movement? Of course there is, but let’s let design engineers describe their experience.

Søren Matthesen, design engineer for Vendlet Aps, which makes automated equipment for beds, studied the use of gears, guide rails and four-bar linkages and wound up using a six-bar linkage for his application. He states,

“What really mattered to me was the fact that the six-bar linkage enabled me to solve my design task unlike the four-bar linkage. This is a huge advantage in functionality. Compared to my initial solutions, the six-bar linkage system ends up being more simple and stable to produce, use and maintain.”

Mike Sutherland, design engineer, Zennen Engineering, designed a six-bar linkage to fold the rear wheel of a new full-scale folding bicycle, Figure 4. He states,

“The six-bar rearstay folding linkage provided very tight package; that besides being convenient for transportation, also has something of a ‘Transformer’ attraction about it…”

Zennen Folding Bike

Figure 4. The Zennen folding bicycle concept uses a six-bar linkage to fold the full-sized rear wheel against the folded front forks, downtube and seat tube.

The simple answer is that a six-bar linkage designed to achieve the same movement as a four-bar linkage will have free design parameters that allow optimization of other features important to the designer, and this definitely justifies the increase in complexity. And it may be an invention ready for a U. S. Patent.

SIAM News

SIAM News: Biologically inspired linkage design

SIAM News

SIAM News

This article by Jon Hauenstein with me for SIAM News (Society for Industrial and Applied Mathematics) describes research by Mark Plecnik in the computer-aided design of linkages to provide mechanical movement of a bird’s wing. Here is Mark’s video of the his wing flapping mechanism.

Folding Bicycle

Full Size Folding Bicycle

Folding Bicycle

Folding Bicycle

Michael Sutherland and his team at Zennen Engineering designed this full-size folding bicycle that has a dramatically different folding action from current designs.

Zennen Engineering has a new concept that they are kind enough to say was inspired by our UCI Folding Structure. This new design rotates the rear wheel support around the bottom bracket, and folds the front forks against the down tube and seat tube to form a compact package. It is a unique movement.

Jon Stokes, in our Robotics and Automation Lab, helped by adding the four-bar function generator to combine the two folding actions. It is a great concept, and it will be interesting to see if it achieves commercial success.

Montague Bikes provides a popular line folding full sized bicycles, which fold sideways around the seat tube.

Micro-Linkages for a Compliant Material

Micro-Linkages for a Compliant Material

Lucas Shaw and Prof. Jonathan Hopkins show the micro-architecture of an actively compliant material. Micro-actuators within the unit cells of an assembly are coordinated to reshape the assembly as desired. This was presented as part of the 2015 ASME Design Engineering Technical Conferences in Boston, MA, August 2-5. The video below shows what this assembly can do.

Target Profiles for Morphing Linkage

Actuating Morphing Linkages

Target Profiles for Morphing Linkage

Target Profiles for Morphing Linkage

Lawrence Funke and Prof. James Schmiedeler of the University of Notre Dame Locomotion and Biomechanics Lab show that the movement of a morphing linkage through its target profiles can be improved by coordinating actuation of the sub-chains. This was presented at the Mechanisms and Robotics Conference which was part of the 2015 ASME Design Engineering Technical Conferences, August 2-5, in Boston, MA. The video below shows the improvement obtained by moving from 1 to 3 coordinated actuators.

Virgo 2 SUTD

Rolling Robot at SUTD

Virgo 2 SUTD
Virgo 2 SUTD


A research team including Profs. GimSong Soh, Kristin Wood and Kevin Otto at Robotics Innovation Lab at the Singapore University of Technology and Design has developed a rolling robot about the size of a baseball. The design and motion planning of this robot, Virgo 2.0, was presented at the Mechanisms and Robotics Conference which was part of the 2015 ASME Design Engineering Technical Conferences, August 2-5, in Boston, MA. A demonstration of the Virgo 2.0 moving through a figure eight path around obstacles is shown in the video below.

Tensegrity Robotics at UC Berkeley

Tensegrity Robotics at UC Berkeley

Students in Professor Alice Agogino’s Berkeley Emergent Space Technologies Laboratory, the BEST Lab, working on motion planning for their tensegrity robot.

Origami Art at BYU

Origami Art at BYU

Mechanical engineering students in Prof. Larry Howell’s Compliant Mechanisms Research Group designed and constructed this kinetic structure for the BYU Museum of Art. It illustrates paper folding known as origami.

Fourbar Extrusion

A four-bar linkage provides a shape changing extrusion die

Fourbar Extrusion
Fourbar Extrusion

Prof. Andrew Murray and his team at the Design of Innovative Machines Laboratory have developed a dynamic extrusion die that changes shape while in operation. This provides a new capability for rapid manufacture of innovative geometry for metal and plastic bars, channels, hoses, and more. For more information see his laboratory website, University of Dayton DIMLab.

This video provides an extreme introduction to the DIM Lab at the University of Dayton.