DIY Walkers
  • Home
  • Walker ABC's
  • Build Instructions
    • TrotBot Builds >
      • TrotBot Linkage Plans
      • TrotBot's Legs Simplified
      • Quadruped TrotBot
      • Hexapod TrotBot
      • TrotBot
      • TrotBot, Ver 3
      • Mindstorms TrotBot, Ver 3
      • Wooden TrotBots by Automata Korea Design
      • 3D Printed TrotBot by Scott Anderson
      • Mindstorms TrotBot, Ver 2
      • Mindstorms TrotBot
      • Large-Scale TrotBot
    • Strider Builds >
      • Strider Linkage Plans
      • Strider Ver 3's Legs
      • Strider Ver 3's Frame
      • Mindstorms Strider Ver 3 Mod
      • Strider
      • Strider's Legs Simplified (ver 2's)
      • RC Strider
    • Mechanical Spider >
      • Klann Mechanical Spider - Climbing Mod
      • Klann's Spider, EV3 Long Legs
      • Klann High-Step Mod
      • Klann's Spider, Ver 2
      • Mindstorms Klann
      • Klann's Spider, Ver 1
      • Klann's Linkage Plans
    • Strandbeest
    • LEGO Spot Micro
    • Linkage Warm Ups >
      • Lever Paradox
      • LEGO Biters
      • LEGO Punchers (4 bar linkage warm-up)
      • LEGO Hopping Robot
    • Hiro Labo
  • Customize
    • Strider Linkage Optimizer
    • Klann Linkage Optimizer
    • Strandbeest Optimizer for LEGO
    • TrotBot Optimizer
    • 4 Bar Linkage Optimizer
    • 4 Bar Walking Linkage
    • 6 Bar Walking Linkage
  • Linkage Simulation
    • Python Linkage Simulator
    • Scratch Linkage Simulator
  • Blog

4-Bar Walking Linkage Optimizer 

Posted by Wade
​
​​​​This interactive simulator allows you to quickly check how changing the linkage's bar lengths affect the path it draws as the crank is rotated.

Picture
Picture
A Basic 4-Bar Walking Linkage with a Crank and Rocker

Here is the a video of the simulator in action, and the actual simulator can be found at the bottom of this page

Jeep2003's awesome mechanical ostrich uses a similar 4-bar linkage: 

​And the below "Spot Micro" uses the linkage dimensions shown in the image to the right, scaled by 1/20th of the simulator's bar lengths so that the crank length (bar b1) equals 3 LEGO holes. 
​
A building tutorial is on our LEGO Spot Micro page.
Picture

Version 2 below is a bit bigger to better accommodate a motor with RC control:

Below are the linkage dimensions we used for Spot Micro Ver 2, scaled up by 20x the LEGO version to allow the linkage to be more finely tuned. Its dimensions are the same as the GIF at the top of this page except for shorter legs so that the front/rear feet don't collide when the crank is in the 12 o'clock position.    (NOTE: we used our  6-bar linkage optimizer and set bar B5 to 0, and bar B7 to 20)
Picture
Linkage dimensions of Spot Micro Ver 2, using our 6-bar optimizer which doesn't use an input angle for B4 and instead uses bars B6 and B7 to make a lower triangle
​​
Below is the interactive simulator. It allows you to simulate between 1 and 4 legs to make it easier to gauge the amount of foot contact at each corner of the robot.   The sim is started by clicking the green flag.  You can also run it on MIT's site where you can modify the Scratch code.

After changing a bar's length, click somewhere other than a slider bar and then press the space bar to see the new linkage, and use your keyboard's left/right arrows to rotate the crank.
 
​Standard caveat:  just because something looks good in a simulation does not necessarily mean it work well when built, at least not without some tinkering such as mitigating the tendency of this linkage's knee joint to hyperextend inward.

Picture

​​A description of the algorithms, and how we used them to simulate linkages, is here.
​
​When building a simulated linkage in LEGO, remember to use beams with one more hole than the bar's length.  For example, a bar of length 8 requires a LEGO beam with 9 holes, because when determining the length of LEGO beams, the first hole is always counted as zero.

  • Home
  • Walker ABC's
  • Build Instructions
    • TrotBot Builds >
      • TrotBot Linkage Plans
      • TrotBot's Legs Simplified
      • Quadruped TrotBot
      • Hexapod TrotBot
      • TrotBot
      • TrotBot, Ver 3
      • Mindstorms TrotBot, Ver 3
      • Wooden TrotBots by Automata Korea Design
      • 3D Printed TrotBot by Scott Anderson
      • Mindstorms TrotBot, Ver 2
      • Mindstorms TrotBot
      • Large-Scale TrotBot
    • Strider Builds >
      • Strider Linkage Plans
      • Strider Ver 3's Legs
      • Strider Ver 3's Frame
      • Mindstorms Strider Ver 3 Mod
      • Strider
      • Strider's Legs Simplified (ver 2's)
      • RC Strider
    • Mechanical Spider >
      • Klann Mechanical Spider - Climbing Mod
      • Klann's Spider, EV3 Long Legs
      • Klann High-Step Mod
      • Klann's Spider, Ver 2
      • Mindstorms Klann
      • Klann's Spider, Ver 1
      • Klann's Linkage Plans
    • Strandbeest
    • LEGO Spot Micro
    • Linkage Warm Ups >
      • Lever Paradox
      • LEGO Biters
      • LEGO Punchers (4 bar linkage warm-up)
      • LEGO Hopping Robot
    • Hiro Labo
  • Customize
    • Strider Linkage Optimizer
    • Klann Linkage Optimizer
    • Strandbeest Optimizer for LEGO
    • TrotBot Optimizer
    • 4 Bar Linkage Optimizer
    • 4 Bar Walking Linkage
    • 6 Bar Walking Linkage
  • Linkage Simulation
    • Python Linkage Simulator
    • Scratch Linkage Simulator
  • Blog