Skip to main content

Featured Post

Why I Wrote The Sheet Mechanic (And Why Calculations Aren’t Enough)

For engineers who already know the math—but still lose projects. For the last few years, I’ve been sharing technical guides here on Mechanical Design Handbook —how to size a motor, how to calculate fits, and (as you recently read) how to choose between timing belts and ball screws. But after 25 years in industrial automation, I realized something uncomfortable: Projects rarely fail because the math was wrong. They fail because: The client changed the scope three times in one week. A critical vendor lied about a shipping date (and no one verified it). The installation technician couldn’t fit a wrench into the gap we designed. University taught us the physics. It didn’t teach us the reality. That gap is why I wrote my new book, The Sheet Mechanic . This is not a textbook. It is a field manual for the messy, political, and chaotic space between the CAD model and the factory floor. It captures the systems I’ve used to survive industrial projec...
NEW RELEASE: Stop trying to be a Hero. Start being a Mechanic. Get "The Sheet Mechanic" on Amazon »
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Design Hoeken’s Linkage in Excel (with Free VBA Simulator)


Figure 1: Geometry of the Hoeken’s straight-line linkage and resulting coupler-point trajectory. The lower portion of the curve approximates straight-line motion over ~180° of crank rotation.

The Hoeken’s Linkage is a mechanical engineer's favorite magic trick. It is a four-bar mechanism that converts simple rotational input into a near-perfect straight-line output.

Unlike the Watt Linkage (which traces a figure-8), the Hoeken’s Linkage creates a "tear-drop" shape with a long, flat bottom (see Figure 1). This makes it the standard choice for walking robots and intermittent linear actuators.

But how do you find the link lengths? If you guess, you get a wobble. This guide provides practical "Golden Ratios" and an Excel VBA tool to simulate the motion path.

Advertisement

1. The Geometry: Practical Design Ratios

To achieve a usable straight line, link lengths must follow specific proportions relative to the Crank Radius (R). While optimal ratios vary depending on stroke requirements, a widely used set for general-purpose design is shown below.

Component Variable Practical Ratio Formula
Input Crank L1 1.0 (Reference)
Ground Distance L4 2.0 × L1
Coupler Arm L2 2.5 × L1
Follower L3 2.5 × L1
Coupler Extension L2_ext 5.0 × L1 (Total length to tip)

Engineering Note: These ratios are a widely used practical approximation that produces a very good straight-line segment. Exact Hoeken dimensions depend on optimization criteria such as flatness length, deviation tolerance, and usable crank angle.

Design Example:
If you have a motor with a 10mm crank arm:
  • Ground Pins spacing = 20mm
  • Coupler & Follower length = 25mm
  • Total Coupler Length (to the tip) = 50mm

2. Simulating the Path in Excel (VBA)

Before you 3D print your parts, you should visualize the "Teardrop" curve to ensure the straight-line portion meets your stroke requirements.

This VBA script calculates the X,Y coordinates of the linkage tip for a full 360° rotation.

The VBA Code

Function HoekenPath(CrankLen As Double, AngleDeg As Double, OutputType As String) As Variant
    ' Hoeken Linkage Kinematics Solver
    ' Uses standard optimization ratios: Ground=2*Crank, Coupler=2.5*Crank
    
    Dim rad As Double
    Dim L1 As Double, L4 As Double, L2 As Double, L3 As Double, L2_total As Double
    Dim Ax As Double, Ay As Double
    Dim dist As Double
    Dim Px As Double, Py As Double
    
    ' 1. Define Geometry
    L1 = CrankLen
    L4 = 2 * CrankLen       ' Ground
    L2 = 2.5 * CrankLen     ' Coupler (Pivot to Pivot)
    L3 = 2.5 * CrankLen     ' Follower
    L2_total = 5 * CrankLen ' Full Coupler Length
    
    ' 2. Convert Input Angle to Radians
    rad = AngleDeg * 3.14159 / 180
    
    ' 3. Calculate Crank Position (Point A)
    Ax = L1 * Cos(rad)
    Ay = L1 * Sin(rad)
    
    ' 4. Calculate Ground Pivot for Follower (Point D is at x=L4, y=0)
    ' We need intersection of circle from A (radius L2) and D (radius L3)
    
    ' Distance between A and D (Ground Pivot)
    dist = Sqr((L4 - Ax) ^ 2 + (0 - Ay) ^ 2)
    
    ' ---> GEOMETRY VALIDITY CHECK
    ' This check ensures the two circles can actually intersect.
    If dist > (L2 + L3) Or dist < Abs(L2 - L3) Then
        HoekenPath = CVErr(xlErrNum)
        Exit Function
    End If
    
    ' Circle Intersection Math
    Dim a As Double, h As Double
    Dim x0 As Double, y0 As Double
    Dim Bx_sol As Double, By_sol As Double
    
    ' 'a' is the distance from Point A to the midpoint between the intersection points
    a = (L2 ^ 2 - L3 ^ 2 + dist ^ 2) / (2 * dist)
    
    ' 'h' is the distance from that midpoint to the intersection points
    h = Sqr(L2 ^ 2 - a ^ 2)
    
    ' (x0, y0) is the midpoint
    x0 = Ax + a * (L4 - Ax) / dist
    y0 = Ay + a * (0 - Ay) / dist
    
    ' Calculate Intersection Point B (Connecting Pivot)
    ' Hoeken uses the "lower" intersection in standard orientation
    Bx_sol = x0 - h * (0 - Ay) / dist
    By_sol = y0 + h * (L4 - Ax) / dist
    
    ' 5. Calculate Tip Position (Point P)
    ' P is extending along the line defined by A and B
    Dim dx As Double, dy As Double
    Dim lenAB As Double
    
    dx = Bx_sol - Ax
    dy = By_sol - Ay
    lenAB = Sqr(dx * dx + dy * dy)
    
    ' Project Point P by the total coupler length
    Px = Ax + (dx / lenAB) * L2_total
    Py = Ay + (dy / lenAB) * L2_total
    
    ' Return X or Y coordinate
    If UCase(OutputType) = "X" Then
        HoekenPath = Px
    Else
        HoekenPath = Py
    End If

End Function

Usage in Excel:

  1. Open the VBA Editor (ALT + F11) and Insert a Module.
  2. Paste the code above.
  3. In Cell A1, type your Crank Length (e.g., 10).
  4. In Column B, list angles 0 to 360.
  5. In Column C, use =HoekenPath($A$1, B2, "X").
  6. In Column D, use =HoekenPath($A$1, B2, "Y").
  7. Highlight Columns C and D and Insert > Scatter Chart (with smooth lines).
Engineering Note:
This VBA solver intentionally selects the open Hoeken configuration. Advanced users may modify the circle-intersection sign to explore other configurations. If Excel returns a #NUM! error, the linkage has likely reached an impossible or toggle position due to invalid input lengths.

This model assumes ideal planar motion and neglects joint clearance, elastic deformation, and manufacturing tolerances.

Figure 2: The plotted output. Note the perfectly flat bottom section of the curve.

Advertisement
Video: A simulation I created using "Linkage" software. Note the link lengths displayed and the resulting motion.

3. Practical Applications

Why go through this trouble? The Hoeken’s Linkage is favored because it creates a long, straight path while maintaining low velocity variation during the straight-line phase. This is critical for:

  • Walking Robots: The "flat" part of the curve becomes the foot's contact with the ground, providing stable traction. The curve part lifts the leg up and forward.
  • Pick and Place Units: Creating linear insertion motion using a cheap rotary motor.
  • Film Advancers: (In legacy projectors) pulling film down frame-by-frame.

Ready to build? All you need is a 3D printer and some basic rod ends.

FAQ: Is Hoeken’s Linkage Better Than a Slider-Crank?

It depends on the application. A slider-crank creates perfectly straight motion but requires a sliding prismatic joint, which introduces friction and requires lubrication. A Hoeken’s Linkage creates *approximate* straight motion using only revolute (pin) joints, which are lower friction, easier to seal, and require less maintenance, making them ideal for dusty or harsh environments.

Conclusion

The Hoeken’s Linkage proves that complex motion doesn't require complex control systems. With simple geometry (Ratio 1 : 2 : 2.5 : 2.5), you can achieve precise linear motion.

Related Guides:

Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Comments

Popular posts from this blog

Dowel Pins & Locating Pins: The Basics of Fixture Design

Figure 1: A typical fixture setup. Notice how dowel pins (silver) provide precise location, while bolts (not shown here) provide the clamping force. In the world of Precision Engineering , the difference between a high-quality product and a scrap part often comes down to microns. While bolts hold parts together, they are terrible at positioning them. This is where Dowel Pins and Locating Pins become essential components in industrial tooling . Advertisement What is a Dowel Pin? Dowel pins are precision-ground fasteners used to secure the relative position of two parts. They are typically machined to extremely tight tolerances (often within 0.0001 inches) and are available in materials like: Hardened Steel: For high-wear applications in CNC fixtures . Stainless Steel: For corrosion resistance in medical or food processing machinery. Plastic (Thermoplastic): For lightweight, non-conductive, low-load alignment. The ...

Engineer's Guide to Ball Detent Torque Limiters

Figure 1: The ball detent mechanism provides precise overload protection by disengaging instantly when the torque limit is exceeded. The First Line of Defense: Overload Clutches In high-speed automation and heavy industrial machinery, a "jam" is not a matter of if , but when . Whether it is a cardboard box getting stuck in a packaging machine or a tool crashing in a CNC lathe, the resulting torque spike can destroy gearboxes, twist shafts, and burn out expensive servo motors in milliseconds. A torque limiter (or overload clutch) is the mechanical fuse of the drive system. While electronic monitoring (current limiting) is common, it is often too slow to prevent physical damage from the massive kinetic energy stored in the system inertia. A mechanical torque limiter provides a physical disconnect that operates in a fraction of a second. Search for Torque Limiters & Safety Couplings Advertisement Why Choose ...

Conveyor Belt Tension Calculation: T1, T2 & Take-Up Design

In any friction-driven conveyor system, the most fundamental concept is the relationship between the Tight Side Tension (T 1 ) and the Slack Side Tension (T 2 ) . If you get this ratio wrong, your drive pulley will slip, your belt will wear out prematurely, or your take-up counterweight will be too light to maintain traction. In this guide, we will use CEMA standard calculations to determine the correct tensions and take-up weight. Table of Contents 1. The Basics: T1 vs T2 2. Euler’s Equation (The Grip Formula) 3. Worked Example: Calculating Tensions 4. Take-Up Units: Gravity vs Screw 5. Common Failure Modes Advertisement 1. The Basics: T1 vs T2 Imagine a conveyor belt running over a drive pulley. The motor pulls the belt, creating a tension differential: T 1 (Tight Side): The tension pulling the loaded belt toward the drive pulley. This is the highest tension point in the system. ...