Skip to main content

Posts

Showing posts from 2011

Featured Post

Servo vs. Stepper Motors: The Engineer's Guide

Figure 1: Visual comparison . Steppers (Left) are dense and simple. Servos (Right) are longer and include a visible feedback encoder housing on the rear. The Million Dollar Question: "Which Motor Do I Need?" If you are designing a CNC machine, a packaging robot, or a conveyor system, you face the same dilemma every time: Stepper or Servo? Make the wrong choice, and you face two disasters: The Stepper Trap: Your machine "loses steps" (positional error) without knowing it, scrapping parts. The Servo Trap: You spend $5,000 on a system that could have been done for $500, blowing your budget. This guide bridges the gap between mechanical requirements and electrical reality. 1. The Stepper Motor: The "Digital Ratchet" Think of a Stepper Motor like a very strong, magnetic ratchet. It divides a full rotation into equal steps (typically 200 steps per revolution, or 1.8°). Pros: Incredible Holding Torque: Ste...
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Column Design: The J.B. Johnson Formula for Short Columns (Part 5)

The Danger of the Wrong Formula In Column Design (Part 4) , we introduced the Euler formula. However, Euler's equation assumes the column fails purely by elastic instability (buckling). If you try to apply Euler's formula to a Short Column (where the slenderness ratio KL/r is less than the transition value C c ), the results are dangerous. The formula will predict a critical load much higher than the column can actually support. In reality, the material will yield (crush) long before it buckles theoretically. Search for Structural Analysis Books The J.B. Johnson Formula To accurately predict failure in short or intermediate columns, we use the J.B. Johnson parabolic formula. This equation accounts for the fact that failure is a combination of buckling geometry and material yielding. Physical Interpretation Look closely at the structure of the formula above. It tells us an important story about how short columns fail: The Basel...

Column Design Guide: Euler's Formula for Buckling (Part 4)

Figure 1: Elastic buckling is a geometric instability. Long columns fail by sudden bowing, not by material yielding. Entering the Euler Domain In Column Design (Part 3) , we established the "Decision Rule." If your actual Slenderness Ratio (KL/r) is greater than the Column Constant (C c ), your column is classified as Long . For these slender members, failure occurs via Elastic Instability . We calculate the Critical Load (P cr ) using the famous formula derived by Swiss mathematician Leonhard Euler in the 18th century. Search for Mechanical Engineering Handbooks The Euler Formula The critical buckling load is defined as: P cr = π 2 E A (KL / r) 2 We can also express this in terms of the Moment of Inertia (I) by substituting r 2 = I/A. This is often the more convenient form for design: P cr = π 2 E I (KL) 2 Engineering Insight: Stiffness vs. Strength Look closely at t...

Column Design Guide: Euler vs. J.B. Johnson Formulas (Part 3)

Figure 1: The Column Constant (Cc) is the boundary between material failure (Yielding) and geometric failure (Buckling). The Great Divide: Long vs. Short Columns In Part 2 , we learned how to calculate the Slenderness Ratio (Le/r) . This ratio tells us the geometry of the column. However, geometry isn't enough. We also need to account for the material properties. A steel column behaves differently than an aluminum one. To decide whether to use the Euler Formula (for elastic instability) or the J.B. Johnson Formula (for material yielding), we must calculate a transition value known as the Column Constant (C c ) . Search for Mechanics of Materials Books Calculating the Column Constant (Cc) The Column Constant represents the specific slenderness ratio where the critical stress equals half of the material's yield strength. It is the borderline between "Short" and "Long." C c = √ 2 Ï€ 2 E S y ...

Column Design: Effective Length and Slenderness Ratio (Part 2)

The Critical Factors in Buckling In Column Design (Part 1) , we established that a column will buckle around its "weakest" axis—the one with the minimum radius of gyration ( r min ). However, the geometry of the cross-section is only half the story. The way the column is held at its ends (its boundary conditions) dramatically affects its strength. This introduces the concept of Effective Length . Search for Machine Elements Design Books 1. Effective Length (Le) The effective length is not always the actual length of the column. It is the length of an equivalent pinned-end column that would have the same buckling load. We calculate it using the formula: Le = K × L Where: L: The actual unsupported length of the column. K: The effective length factor (dependent on end fixity). Figure 1: The "K" factor adjusts the actual length based on how rigid the supports are. Fixed ends (rigid) make the column effec...

Column Design: Understanding Buckling and Radius of Gyration (Part 1)

Figure 1: Buckling always occurs about the "Weak Axis," which is determined by the minimum Radius of Gyration. What is a Column? In the definition of mechanical engineering, a column does not have to be a vertical pillar like in architecture. A column is defined as any structural member that carries an axial compressive load and tends to fail by elastic instability ( buckling ) rather than by crushing the material. This includes connecting rods in engines, hydraulic piston rods, and even truss members in a bridge. Search for Strength of Materials Books The Phenomenon of Buckling Buckling (or elastic instability) is a dangerous failure mode. It occurs when the shape of the column is not sufficient to hold itself straight under load. Unlike "crushing," where the material yields because the stress exceeds its limit, buckling is a geometric failure . At a specific "Critical Load," a sudden, radical deflection occurs. If ...

Chain Drives Design: Formulas for Pitch, Length, and Center Distance (Part 3)

Key Geometric Calculations In Part 2 , we analyzed the loads. Now, we must size the geometry. Designing a chain drive involves a specific sequence: determining the sprocket size, estimating the center distance, calculating the required chain length in "pitches," and then recalculating the exact center distance. Search for "Machine Elements in Mechanical Design" 1. Pitch Diameter The pitch diameter is the theoretical circle that passes through the centers of the chain pins. For a sprocket with N teeth and a chain pitch of p , the diameter D is: D = p / sin(180 / N) *Note: The sine function uses Degrees, not Radians. 2. Center Distance Guidelines The Center Distance (C) is the distance between the shafts. While chains are flexible, sticking to standard design ranges ensures long life. Minimum: The sprockets must not touch. Ideally, C should be at least 30 to 50 times the pitch (30p - 50p). Maximum: L...

Chain Drives Design: Load Analysis & Tension Factors (Part 2)

Understanding the Loads on a Chain In Part 1 , we looked at the types and advantages of chain drives. Now, we must tackle the math and physics behind them. Designing a chain drive isn't just about picking a chain that fits the sprocket. You must account for the Total Tensile Load . If you only calculate for the torque transmission, your chain will likely fail due to unseen forces like shock, inertia, or vibration. Search for "Standard Handbook of Chains" 1. Nominal Tensile Load The Nominal Tensile Load is the baseline force required to transmit power. However, this load is rarely static. It fluctuates in a cycle as the chain moves through the system: Tight Strand: As the chain engages the driven sprocket, tension is at its peak (transmitting the torque). Slack Strand: As it leaves the driver sprocket, tension drops significantly. This constant cycling between high and low tension creates Fatigue Loading . Over millions of cycles, ...

Chain Drives Design: Fundamentals, Advantages, and Standards (Part 1)

Introduction to Chain Drives Chain drives are the workhorses of industrial power transmission. They are used to transmit rotational motion and torque from one shaft to another with high efficiency and reliability. In the hierarchy of mechanical design, chain drives occupy a unique middle ground: they offer the flexibility of a belt drive (allowing for large center distances) combined with the positive engagement of a gear drive (no slippage). This makes them ideal for applications ranging from slow-speed, high-torque conveyors to high-speed automotive camshafts. Search for Best Books on Chain Drive Design Advantages of Chain Drives When compared to gears or belts, chain drives offer several distinct engineering advantages: Shaft Center Flexibility: Unlike gears, which require precise touching distances, chains can accommodate long shaft-center distances (typically up to 4 meters). Zero Slippage: Chains provide a positive drive ratio,...

Solving System of Equations: Gauss Elimination (Part 6 - Final Demo & Summary)

Putting It All Together We have reached the conclusion of our 6-part series on building a Linear Equation Solver in Excel. Over the course of this tutorial, we have moved from the raw mathematical theory of Gauss Elimination to writing efficient VBA Code , and finally designing a professional User Interface that handles dynamic matrix scaling. Search for Engineering Simulation Tools Video Demonstration Below is a video clip demonstrating the final result. You will see how the program takes user input, automatically resizes the matrix (as discussed in Part 5), and solves for the unknowns instantly. By following the code provided in Part 1 and Part 4 , you can build this exact tool yourself. Complete Series Recap If you missed any part of this tutorial, here is the complete roadmap to building your own solver: The Core Code: Part 1: Basic Theory & VBA Function Get the raw VBA code to solve [A]{x}={B}. T...

Solving System of Equations: Gauss Elimination (Part 5 - Dynamic Matrix Scaling)

Scaling Up: Handling N x N Systems In Part 4 , we looked at the basic user interface. But engineering problems aren't fixed at 3x3. A truss analysis might need 10 equations; a thermal grid might need 100. A professional Excel tool must be Dynamic . It should automatically resize the input table based on the user's needs, clearing old data and preparing fresh cells for input. Search for Excel Power Programming Books 1. User Input for Dimensions The process starts with a simple input request. In our design, clicking "Main Menu" > "New Equations" triggers a VBA InputBox or UserForm asking for the number of variables (N). For this example, let's input 10 to simulate a larger structural problem. 2. Managing Data Integrity When resizing a matrix, you must decide what to do with old data. Our reference design includes a safety check: "Existing equations will be deleted." This preve...

Solving System of Equations: Gauss Elimination (Part 4 - Building the User Interface)

Designing a Professional Engineering Tool In the previous parts of this series, we covered the theory and the core VBA code. Now, let's focus on the User Experience (UX) . A raw spreadsheet is fine for quick calculations, but if you want to distribute your tool to other engineers, it needs a clean interface. Below is a walkthrough of how a robust Gauss Elimination Solver should behave, using screenshots from our reference application. You can use this as a blueprint to design your own interface in Excel. Search for Excel Dashboard & UI Design Books 1. The Startup Screen When a user opens your engineering tool, they shouldn't be bombarded with raw data. A clean "Welcome Screen" sets the tone. Design Tip: Use a simple splash screen image and a "Start" button to guide the user. Ensure your VBA macros are enabled. 2. Disclaimer and Safety Professional engineering tools often include a disclaimer. This pro...

Solving System of Equations: Gauss Elimination (Part 3 - Partial Pivoting & Error Handling)

The "Fatal Flaw" in Basic Code In our previous post, Gauss Elimination (Part 2) , we derived the mathematical foundation of the algorithm. However, if you implement that raw math directly into code (VBA, MATLAB, or C++), your program will eventually crash. Why? Because the basic algorithm assumes the diagonal element (the pivot) is never zero. In the real world of engineering simulations, zeros happen frequently. Search for Numerical Analysis & Algorithm Design Books The Problem: Division by Zero Let's look at a standard solvable system of equations: The first step of the algorithm is to normalize the first row by dividing by the coefficient of x 1 (which is 5). Since 5 is not zero, this works perfectly. But what if the equations were rearranged? Mathematically, the order of equations doesn't matter. But computationally, it changes everything. Look at this arrangement: Here, the coefficient ...

Solving System of Equations: Gauss Elimination Method (Part 2 - Mathematical Derivation)

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 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 the coefficient of x 1 (which is a 11 ). This prepares it for the elimination step. Step 2: Elim...

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 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 side of the equal sign form the {B} V...

Perfect Straight-Line Mechanisms: Peaucellier-Lipkin vs. Sarrus Linkage

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 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 of a Circle The genius of this mechanism lies in pure geometry. It consists of seven links. The central "kite" shape ensures that the output point is the geometric...

Hoekens Linkage: Kinematics, Optimization, and Walking Robot Applications

🚀 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 the exact same coupler curve geometry. Search for "Design of Machinery" Books Kinematics and Optimization Unlike ...