Today I Learned

What is Input Shaping in 3D Printing?

I recently learned about Input Shaping, a technique used in 3D printers to reduce vibrations and improve print quality.

When a 3D printer moves its print head rapidly, the mechanical structure can start vibrating. These vibrations often leave visible patterns on printed objects, commonly known as ringing or ghosting.

Input shaping solves this by using carefully timed corrections to the printer's motion commands.

Instead of simply telling the motors to stop or change direction, the firmware anticipates the mechanical vibrations and adjusts movement to cancel them out.

A few things I found interesting:

  • It works by compensating for the printer's natural resonance frequencies.
  • It can significantly reduce ringing at higher print speeds.
  • Klipper supports input shaping and can use an accelerometer to measure resonance.
  • It allows printers to achieve higher acceleration without sacrificing as much print quality.

The interesting part: You aren't necessarily making the printer mechanically more rigid. You're using software and a little physics to compensate for its mechanical limitations.

A great example of how software, electronics, and mechanical engineering come together.