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 Design: Die-Press Simulation (Part 4)

In the post [Polynomial Cam Function (Part 3)], we explored the characteristics of the 5th-degree profile. Now, we put it to work.

Advertisement

We will revisit the same die-press example from [Timing Diagram (Part 4)]. Originally, without overlap, the acceleration was a massive 4.154 m/s2. Using a Cycloid profile with overlap, we reduced it to 0.804 m/s2.

This time, we will use a Fifth-Degree (3-4-5) Polynomial combined with a Linear Cam Function. While the peak acceleration reduction might be similar to the Cycloid, the real advantage here is control—specifically, the ability to blend different motion segments seamlessly without stopping.

The Motion Strategy

Our constraints remain the same: Total displacement is 50 mm, and the die must dwell inside the hole for 30 mm.

Unit Conversion Note:
The equations we derived calculate velocity in mm/rad. To convert to real-world time domain:
Velocity (mm/s) = Velocity (mm/rad) × ω (rad/s)
Acceleration (mm/s2) = Acceleration (mm/rad2) × ω2

The Displacement Profile

Displacement diagram showing linear approach blended with polynomial sectors for a cam profile
Figure 1: The displacement profile divided into Linear (A-B) and Polynomial (B-C) sectors to optimize flow.

We have divided the motion into specific sectors to optimize the flow. Notice how we use a Linear segment (A-B) to handle the approach, connected to Polynomial segments for the heavy lifting.

Sector Function Start Angle (°) End Angle (°) Start Height (mm) End Height (mm)
A-B Linear 62 77 1.43 0.43
B-C Fifth-Degree 77 206 0.43 50.00
C-D Dwell 206 306 50.00 50.00
D-A Fifth-Degree 306 62 50.00 1.43
Physical cam profile diagram generated from displacement data showing the 360 degree lobe shape
Figure 2: The physical cam profile generated from the calculated displacement values.

Velocity Matching: The Secret to Smoothness

Velocity diagram showing smooth continuity between linear and polynomial cam sectors
Figure 3: Velocity graph showing perfect continuity. The linear slope matches the polynomial start velocity exactly.

This is where the polynomial shines. To connect the Linear segment (A-B) to the Polynomial segment (B-C) without a shock, the velocities must match perfectly.

Calculating the Slope:
Slope (Velocity) = (0.43 - 1.43) / (77 - 62) = -0.0667 mm/deg

We input this value (-0.0667) as the Start Velocity (v0) for our polynomial calculation in sector B-C. This ensures a perfectly continuous transition with zero jerk spike.

Acceleration Analysis

Acceleration diagram confirming finite jerk and no vertical spikes at transition points
Figure 4: Acceleration graph. We confirm there are no vertical spikes (Infinite Jerk) at the transition points.

Using motion simulation in Excel, we can visualize the result. We verify that there are no infinite spikes (Jerk) at the connecting points.

Advertisement
Excel spreadsheet calculation for cam kinematics including displacement velocity and acceleration
Figure 5: Using Excel to calculate and verify the kinematic values before cutting metal.

Modern Application: Electronic Camming (E-Cam)

Today, physical cams are being replaced by Electronic Camming (E-Cam) profiles inside servo drives. However, the math remains identical.

3D motion simulation of a die-press mechanism driven by a polynomial cam
Figure 6: Simulation of the die-press mechanism driven by the optimized polynomial profile.

By programming these 5th-degree polynomials into your servo controller, you can achieve smoother motion, higher speeds, and longer machine life—all without changing a single mechanical part.

📐 Engineering Design Standards

Master the fundamental components of precision machine design:

Comments

Popular posts from this blog

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...

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...

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...