Skip to main content

Posts

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.

Gauss Elimination: Mathematical Derivation (Part 2)

Figure 1: Visualizing the matrix transformation process. Deep Dive into the Algorithm In the previous post (Part 1) , we introduced the basic concept and Excel VBA code for the Gauss Elimination Method . In this post, we will look under the hood at the mathematical derivation that makes this algorithm work. Understanding these steps is critical for engineers who want to write their own solvers or understand why simulation software sometimes fails (e.g., division by zero errors). Search for Numerical Methods with MATLAB Advertisement Phase 1: Forward Elimination Why do we call it "Elimination"? Because our goal is to systematically remove variables from equations until we are left with a solvable state. Let's consider the general form of a system of linear equations: Step 1: Normalization The algorithm starts by normalizing the first equation. We divide the entire Equation (1) by...

Solving System of Equations using Gauss Elimination Method (Part 1)

The Backbone of Engineering Simulation In mechanical engineering, solving a system of linear equations is perhaps the most fundamental calculation we perform. Whether you are running a Finite Element Analysis (FEA) to check stress concentrations or a Computational Fluid Dynamics (CFD) simulation, the computer is ultimately solving a massive system of equations in the form of [A]{x} = {B} . The Gauss Elimination Method is a classic algorithm used to solve these systems. Unlike Cramer's Rule, which is inefficient for large matrices, Gauss Elimination scales well for complex engineering problems. Search for Numerical Methods for Engineers Books Advertisement Step 1: Setting up the Matrix To solve a system of equations in Excel, we first organize our coefficients into a matrix format. As shown in the figure below, the coefficients of the variables (x, y, z) form the [A] Matrix , while the constants on the right ...

Perfect Straight-Line Mechanisms: Peaucellier-Lipkin & Sarrus

Figure 1: A modern interpretation of the Peaucellier-Lipkin linkage, showing the generation of a perfect straight line from rotary input. The Quest for Perfection In the world of kinematics, most straight-line generators (like the Hoekens Linkage or Watt's Linkage) produce only an approximate straight line. For general machinery, this is sufficient. However, for precision instrumentation and high-seal applications, engineers require exact straight-line motion . This post explores the two most famous solutions to this problem: the planar Peaucellier–Lipkin linkage and the spatial Sarrus linkage . Search for Precision Machine Design Books Advertisement 1. The Peaucellier–Lipkin Linkage (Planar) Invented in 1864, the Peaucellier–Lipkin cell was the first planar linkage capable of transforming rotary motion into a perfect straight line without using any reference guideways or sliders. The Mathematics: Inversion...

Hoeken's Linkage: Kinematics and Walking Robot Design

Figure 1: Animated simulation of the Hoeken’s Linkage showing the characteristic "tear-drop" coupler curve. 🚀 New Design Guide Available Don't just read about it—build it. Check out our new tutorial: How to Design a Hoeken’s Linkage in Excel (with Free VBA Simulator) » Introduction to the Hoekens Linkage The Hoekens linkage is a specialized four-bar mechanism designed to convert rotational motion into an approximate straight-line motion. While it serves a similar purpose to other straight-line generators, its unique coupler curve—a "tear-drop" shape—makes it exceptionally useful for intermittent motion and walking machines. One of the most fascinating aspects of kinematic theory is the concept of "Cognates." The Hoekens linkage is actually a cognate linkage of the Chebyshev Straight-line Mechanism . This means that while the physical structure and link lengths differ, they can generate...

Chebyshev Linkage Design: Ratios & Straight-Line Motion

Figure 1: The Chebyshev linkage converts rotary input into approximate straight-line output. Introduction to the Chebyshev Linkage The Chebyshev linkage is a four-bar mechanical linkage that converts rotational motion into approximate straight-line motion . It was invented by the 19th-century Russian mathematician Pafnuty Chebyshev , who was deeply involved in the theoretical problems of kinematic mechanisms. His goal was to improve upon existing designs, such as the Watt Straight-line Mechanism , which James Watt had used to revolutionize the steam engine. While Watt's design produces a lemniscate (figure-eight) curve with a straight section, the Chebyshev linkage is often preferred in specific machinery because the straight-line portion of the path is parallel to the line connecting the two fixed ground pivots. Search for Mechanism Design & Robotics Books Advertisement Design Ratios and Geometry The gen...

Watt Straight-Line Linkage: Analysis and Automotive Uses

Figure 1: Watt's linkage example geometry and path generation. Introduction to Watt's Linkage The Watt's linkage (also known as the parallel motion linkage) is a cornerstone in the history of mechanical engineering. It is a type of four-bar linkage originally invented by James Watt in the late 18th century to solve a critical problem in steam engine design: constraining the piston rod to move in a straight line without using high-friction guideways. Before this invention, engines used chains to connect the piston to the beam, which meant they could only pull, not push. Watt's rigid linkage allowed for double-acting engines (pushing and pulling), doubling the power output. He was immensely proud of this kinematic solution, describing it in a 1784 letter to his partner Matthew Boulton: "I have got a glimpse of a method of causing a piston rod to move up and down perpendicularly by only fixing it to a piece of iron u...

Roberts straight-line mechanism

Figure 1: A modern linear ball slide (like this THK model) is the contemporary solution for precise straight-line motion. Many modern engineering applications require components to move in a precise linear fashion, known as " straight-line motion ". Today, we take this for granted. We can simply purchase an off-the-shelf Linear Motion Guide that moves a device accurately along a rail with low friction. The Historical Challenge: Making a Straight Line However, in the late 17th and early 18th centuries—before the development of high-precision milling machines—it was extremely difficult to manufacture long, perfectly flat surfaces. Creating a sliding joint without significant backlash was nearly impossible. During that era, engineers had to rely on Linkages . Much thought was given to the problem of attaining a straight-line motion using only revolute (hinge) connections, which were much easier to manufacture. The most famous early result was...

3-Position Synthesis with Inversion Method (Part 3)

In [ 3-Position Synthesis with Inversion Method - Part 2 ], we successfully determined the locations of the moving pivots (G and H) relative to our fixed ground pivots (O 2 and O 4 ). However, finding the points is only half the battle. Before we commit to manufacturing or detailed 3D modeling, we must verify that the mechanism actually moves smoothly between all three positions without locking up (toggle positions) or deviating from the path. Advertisement Constructing the Kinematic Chain Now that we have our four critical points (O 2 , O 4 , G, H), we need to "build" the mechanism links within the CAD Sketcher environment: Input Link (Link 2): Draw a solid line connecting the fixed ground O 2 to the moving pivot G. Output Link (Link 4): Draw a solid line connecting the fixed ground O 4 to the moving pivot H. Coupler Link (Link 3): This is the most important part. You must draw a rigid triangle connecting G, H, and the ...

3-Position Synthesis with Inversion Method (Part 2)

In the previous introduction , we established the problem: We have fixed mounting points (O 2 and O 4 ) on our machine base, and we need to design a linkage to hit 3 specific positions. Standard synthesis moves the pivots to fit the motion. In Kinematic Inversion , we do the opposite: we virtually move the ground to fit the coupler. By "freezing" the coupler in Position 1 and moving the ground relative to it, we can geometrically find the required link lengths. Advertisement Step 1: Setup the Constraints Start by drawing your known constraints in the CAD Sketcher (NX, SolidWorks, etc.): 1. The Fixed Ground Pivots (O 2 and O 4 ). 2. The 3 Desired Coupler Positions (A 1 B 1 , A 2 B 2 , A 3 B 3 ). Figure 1: The setup showing fixed grounds (bottom circles) and the target motion path (red lines). Step 2: Inverting Ground Pivot O 2 Now we perform the "Inversion." We need to find where the ground pivot...

3-Position Synthesis with Inversion Method (Introduction)

In our previous tutorials, such as [ 3-Position Motion Generation Synthesis with Alternate Moving Pivots ], we used a "standard" synthesis approach. We defined the moving coupler first, and the geometric construction dictated where the ground pivots (O 2 and O 4 ) had to be. But what if you don't have that freedom? Advertisement In real-world machine design, you often have a pre-existing frame or base. You cannot drill holes just anywhere; the ground pivots must be located at specific, available points. In this scenario, the standard method fails because it gives you valid kinematic solutions that might require mounting a pivot in thin air or inside a motor. The Solution: Kinematic Inversion To solve this, we use the Inversion Method . The Core Concept Instead of looking at the mechanism from the perspective of a stationary ground and a moving coupler, we invert our perspective. We pretend the Coupler is stationary...