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 »

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.

Comments

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

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

Cam Design Essentials: Kinematics, Pressure Angles, and CNC

Mechanical cams remain the "heart of automation," providing precise timing and motion control in high-speed machinery. Understanding the geometry and dynamics of these systems is essential for modern machine design. Advertisement Classes of Cams Cams may, in general, be divided into two classes: uniform motion cams and accelerated motion cams. The uniform motion cam moves the follower at the same rate of speed from the beginning to the end of the stroke. However, as the movement starts from zero to full speed instantly and stops in the same abrupt way, there is a distinct shock at the beginning and end of the stroke if the movement is at all rapid. In machinery working at a high rate of speed, therefore, it is important that cams are so constructed that sudden shocks are avoided when starting the motion or when reversing the direction of motion of the follower. The uniformly accelerated motion cam is suitable for moderate speeds, but it ha...