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.

Polynomial Cam Function (Introduction) - Part 1

In the field of High-Speed Industrial Automation, simple geometric curves often fail. To achieve the smooth, vibration-free motion required by modern CNC machines and textile equipment, engineers must turn to advanced mathematics: Polynomial Cam Functions.

High-speed precision cam with polynomial motion curve overlay
Figure 1: High-speed automation requires mathematical precision that simple geometric curves cannot provide.
Advertisement

The Fundamental Law of Cam Design

According to the "Bible" of mechanism design (Fundamentals of Machine Design, Robert L. Norton), any high-speed cam must obey two critical rules to avoid catastrophic machine failure:

CRITICAL DESIGN RULES:

1. Continuity: The cam function must be continuous through the first (Velocity) and second (Acceleration) derivatives across the entire 360-degree interval.

2. Finite Jerk: The jerk function (the derivative of acceleration) must remain finite across the entire interval.

Why "Jerk" Matters in Automation

Normally, cam motion isn't defined by a single equation. It is a sequence of segments:
(Rise → Dwell → Return → Dwell)

We cannot simply stitch these segments together without math. If there is a discontinuity in the acceleration graph (e.g., jumping from 0 to 10 m/s2 instantly), the derivative becomes infinite.

Graph showing the difference between finite and infinite jerk in cam design
Figure 2: An "Infinite Jerk" (right) acts like a hammer blow to your machine, causing rapid failure.

This derivative is called Jerk. An infinite jerk theoretically requires infinite force, which in reality manifests as:

  • Extreme Vibration and noise.
  • Rapid wear of cam followers and linkages.
  • Immediate need for expensive predictive maintenance.

Cycloid vs. Polynomial: The Flexibility Problem

The Cycloidal Motion we discussed in previous posts is excellent because it guarantees finite jerk. However, it has a major limitation: It typically must start and end at zero velocity.

Enter the Polynomial Cam Function.

Polynomials give the designer total freedom. With a polynomial, you can define specific non-zero velocities at the start or end of a segment.

3D Diagram of a robot arm using polynomial motion to match conveyor speed
Figure 3: Polynomials allow for "Flying Transfers" where the cam accelerates to match a conveyor's speed perfectly.
Advertisement

The Fifth-Degree Polynomial

For most industrial applications, the Fifth-Degree Polynomial is the gold standard. It provides exactly enough coefficients to control 6 boundary conditions:

  1. Start Displacement
  2. End Displacement
  3. Start Velocity
  4. End Velocity
  5. Start Acceleration
  6. End Acceleration

The General Equation:

s = C0 + C1x + C2x2 + C3x3 + C4x4 + C5x5

Where:
s = Displacement
x = The ratio of current angle to total angle (θ / β)
C0...C5 = Constants to be solved based on boundary conditions

In the next post, we will apply the boundary conditions to solve for these constants and generate the final design equation.

Continue to Part 2:
Polynomial Cam Function (Derivation of Fifth-degree function) - Part 2

⚡ Industrial Automation Guide

Designing heavy-duty machinery? Ensure your calculations match the real-world load:

Comments

Popular posts from this blog

Dowel Pins & Locating Pins: The Basics of Fixture Design

Dowel pins are precision cylindrical pins used for accurate part alignment in assemblies. They control position, not clamping force. This guide explains tolerances, fits, sizing rules, and design best practices. 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-wea...

NEMA 17 vs NEMA 23: Torque, Speed, and When to Upgrade

When building a CNC router or upgrading a 3D printer, the first question is usually: "Is NEMA 17 enough, or do I need NEMA 23?" Most beginners look at the Holding Torque and stop there. This is a mistake. A NEMA 23 motor isn't just "stronger"—it is physically different in ways that affect your speed, your driver choice, and your machine's ability to avoid missed steps. If you choose a NEMA 17 for a heavy gantry, it is far more likely to overheat or lose steps under cutting load. If you choose NEMA 23 for a fast 3D printer, it might actually run slower than the smaller motor. This guide explains the engineering limits of each frame size. Table of Contents 1. Physical Difference (The Frame Size) 2. Torque & Speed (The Inductance Trap) 3. Driver Compatibility 4. Selection Summary Advertisement 1. Physical Difference (The Frame Size) "NEMA" is just a standard for ...

Flywheel Construction and Design: A Guide to Energy Storage Wheels

A flywheel is a mechanical device with a significant moment of inertia used as a kinetic energy storage reservoir. Flywheels are designed to resist changes in rotational speed, helping to steady a shaft's rotation when a fluctuating torque is applied (as seen in reciprocating engines) or when the load itself is intermittent (such as in piston pumps or punching presses). Advertisement Beyond smoothing rotation, flywheels are increasingly used to produce high-power pulses for industrial experiments. In these cases, drawing the required instantaneous power from an electrical network would create unacceptable spikes. Instead, a small motor slowly accelerates the flywheel between pulses, storing energy to be released in a single high-torque event. Figure 1: Modern flywheels are sophisticated energy storage systems for steadying rotation and delivering power pulses. 1. Classification: Balance Wheels vs. Flywheel Pulleys Flywheels are gene...