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.

Ghosting vs Input Shaping: Fixing 3D Printer Ringing

The Failure Scenario: You upgraded to linear rails. You tightened your belts. But when you print a calibration cube at 100mm/s, you see "echoes" (ripples) next to the letter X. This is Ghosting (or Ringing).

The Cause: This is a Resonance problem. Every machine has a "Natural Frequency" (fn)—like a guitar string. When your print head changes direction sharply, it "plucks" the frame. If the frequency of that pluck matches the frame's natural frequency, the machine vibrates uncontrollably.

The solution is not hardware—it is math. This guide explains how Input Shaping cancels these vibrations before they even start.

Advertisement

1. The Physics: Acceleration vs Jerk

To understand ghosting, you must understand the derivatives of position.

  • Velocity: How fast you move (mm/s).
  • Acceleration: How fast you change velocity (mm/s²).
  • Jerk: How fast you change acceleration (mm/s³).

The Problem: When a printer reaches a corner, it must stop X and start Y. If it does this instantly (Infinite Jerk), the frame shudders.

Engineering Nuance: In classic Marlin firmware, "Jerk" is technically a velocity threshold (instant speed change), not true mathematical Jerk. However, the physical result is the same: instant direction changes excite vibration modes.
Macro photo comparing a print with heavy ghosting vs a print with Input Shaping enabled
Figure 1: Ghosting (Left) looks like ripples in a pond. It happens after sharp corners. Input Shaping (Right) actively cancels these ripples.

2. The Magic: How Input Shaping Works

Input Shaping (in Klipper or Marlin) is basically Noise Canceling Headphones for your printer.

It doesn't make the frame stiffer. Instead, it sends a "counter-signal." If the firmware knows that a sharp corner will make the frame vibrate to the right, it commands a tiny jerk to the left milloseconds before the corner to cancel the wave.

Industrial Context: In professional CNC machines ($100k+ Datrons), this is called "Command Pre-Filtering" or S-Curve profiling. Your 3D printer is now using the same advanced control theory as high-end aerospace mills.
Engineering graph showing Resonance Frequency peaks measured by an accelerometer
Figure 2: An ADXL345 Accelerometer measures the "Natural Frequency" of your X and Y axes (usually 40Hz - 60Hz). Input Shaping targets these specific peaks to kill vibration.

3. Tuning Guide: Accelerometer vs Manual

You have two ways to fix this:

Method A: The "ADXL345" (Scientific)

You mount a $5 accelerometer chip to your print head. The printer shakes itself at different frequencies (10Hz to 100Hz) and measures exactly where it resonates. Klipper then automatically generates the shaping graph.

Method B: The "Ringing Tower" (Manual)

You print a test tower where the acceleration increases every 5mm. You measure the distance between the ripples on the print with calipers.
Formula: Frequency = (Print Speed) / (Ripple Distance)

Advertisement

4. Engineering Summary

The Fix Checklist:
1. Tighten belts to 110Hz (Use a phone app).
2. Switch firmware to Klipper if possible.
3. Install an ADXL345 Accelerometer to map resonance.
4. Enable Input Shaping to double your acceleration without ghosting.

Recommended Components


5. Common Questions (FAQ)

Q: Can I use Input Shaping on Marlin?
A: Yes, modern Marlin (2.1.2+) supports Input Shaping. However, it usually requires manual tuning (Ringing Tower) because it cannot easily read an USB accelerometer data like Klipper can.

Q: Does tightening belts fix ghosting?
A: It helps shift the frequency higher (making ripples smaller), but it cannot eliminate it. All belts act like springs. You need Input Shaping to mathematically cancel the spring effect.

Q: What is a good acceleration setting?
A: For a standard Ender 3 (Bed Slinger), 500mm/s² is safe, 1500mm/s² is the limit. With Input Shaping, you can push this to 3000mm/s². For CoreXY, 5000mm/s² to 10,000mm/s² is common.


🔧 The Complete Motion Control Series

This article concludes our deep dive into machine design. Review the full system:


You tuned the firmware. Now tune the project plan.

The Sheet Mechanic is the guide to the political, financial, and chaotic side of engineering that they didn't teach you in school.

About the Author:
This article is written by a mechanical design engineer specializing in industrial automation, sensor selection, and closed-loop control systems.

As an Amazon Associate, I earn from qualifying purchases.

Comments

Popular posts from this blog

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

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

Ball Detent Torque Limiter – Working Principle & Selection

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