Hubbry Logo
Input shapingInput shapingMain
Open search
Input shaping
Community hub
Input shaping
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Input shaping
Input shaping
from Wikipedia
Input shaping is used in modern 3D printers with stepper motors configured in open loop, such as this Voron 2.4 where the shaping is done in Klipper

In control theory, input shaping is an open-loop control technique for reducing vibrations in computer-controlled machines. The method works by creating a command signal that cancels its own vibration. That is, a vibration excited by previous parts of the command signal is cancelled by vibration excited by latter parts of the command.

Input shaping is implemented by convolving a sequence of impulses, known as an input shaper, with any arbitrary command. The shaped command that results from the convolution is then used to drive the system.

If the impulses in the shaper are chosen correctly, then the shaped command will excite less residual vibration than the unshaped command. The amplitudes and time locations of the impulses are obtained from the system's natural frequencies and damping ratios. Shaping can be made very robust to errors in the system parameters.[1]

Example

[edit]

As an example, consider a linear system with a resonant frequency of 1Hz. If a step input is applied, the system will oscillate at 1 hertz for a length of time determined by the damping associated with the resonant mode. For some systems, such as cranes, the oscillation can last for minutes, while a comparable rigid system could be maneuvered in seconds.

However, if the original step input is applied at half magnitude, and again at half magnitude 0.5 seconds later (which for 1 Hz is half the period of the resonant frequency), the resulting oscillations in the system are out of phase and cancel entirely. This applies to both acceleration and deceleration of the system.

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Input shaping is a control technique in that modifies command inputs to flexible mechanical systems in order to minimize or eliminate residual caused by motion-induced oscillations. By convolving the desired input signal with a sequence of impulses—each with specific amplitudes and time delays calculated based on the system's natural frequencies and ratios—the shaped command ensures that the vector sum of vibration contributions cancels out, resulting in smoother and faster times without exciting the system's resonant modes. The origins of input shaping trace back to posicast control, introduced by O.J.M. Smith in 1957 as a method to achieve deadbeat response in lightly damped oscillatory systems by splitting the input into phased segments that counteract ringing. This approach was significantly advanced in 1990 by N.C. Singer and W.P. Seering, who developed the modern framework of input shaping, demonstrating its effectiveness in preshaping commands to reduce endpoint vibrations in flexible structures while maintaining simplicity in implementation. Subsequent refinements, including robustness enhancements to handle modeling errors and parameter uncertainties, have made the technique widely applicable across various domains. Key variants of input shaping include the zero-vibration (ZV) shaper, which uses a minimal two-impulse sequence to theoretically eliminate for precisely known parameters, and the zero-vibration (ZVD) shaper, which adds a third impulse to improve insensitivity to errors in estimates by constraining the first of the residual curve. More advanced forms, such as specified-insensitivity (SI) shapers, limit residual to a tolerable level (e.g., under 5%) across a range of uncertain frequencies through iterative optimization or frequency sampling methods. These techniques can be combined with feedback control or time-optimal bang-bang profiles to further enhance performance in dynamic environments. Input shaping finds extensive use in applications requiring precise and vibration-free motion, such as overhead cranes to prevent payload swinging, spacecraft attitude maneuvers to avoid structural flexing, industrial robots for faster point-to-point positioning, and precision manufacturing equipment like wafer steppers and coordinate measuring machines to reduce settling times and improve accuracy. Its advantages include low computational overhead, ease of integration into existing controllers, and effectiveness even in underactuated systems, making it a staple in modern vibration suppression strategies.

Overview

Definition and Principles

Input shaping is a control method designed to suppress residual vibrations in dynamically flexible systems by modifying the input command signals prior to their application to the system. Unlike feedback control approaches that react to detected vibrations, input shaping proactively alters the to prevent oscillatory responses, making it suitable for systems where precise positioning and minimal are critical, such as and precision machinery. The core principle involves convolving the desired reference —such as a position or command—with a discrete sequence of impulses, collectively termed the input shaper. These impulses are carefully timed and scaled in amplitude so that the vibrations they induce in the flexible modes of the system interfere destructively, resulting in a net response that is free of oscillations at the end of the commanded motion. This cancellation ensures that the system's output settles quickly to the target without ringing, enhancing overall performance while maintaining robustness to minor modeling uncertainties in parameters like or . A representative example illustrates this mechanism in a second-order underdamped system, which models many flexible structures with inherent oscillatory behavior due to low damping ratios (typically ζ < 1). For a step input, the unshaped command produces overshoot followed by decaying ringing as the system oscillates around the setpoint. Applying input shaping convolves the step with impulses positioned at intervals related to the system's natural period (e.g., at 0, half-period, and full period), causing the induced vibrations to cancel each other out and yielding a critically damped-like response that reaches the final position smoothly without overshoot or subsequent oscillations. This approach originated within applications for computer-numerical-control (CNC) machines and similar precision equipment, where achieving zero residual at motion completion is essential for accuracy and throughput. By focusing on open-loop modification of commands, input shaping provides a computationally efficient means to handle flexible dynamics without requiring real-time sensors or complex feedback loops.

Historical Context

The origins of input shaping trace back to the late with the development of posicast control, a technique introduced by Otto J. M. Smith to suppress oscillations in lightly damped systems. Smith's method, detailed in his 1957 paper, involved splitting and delaying command inputs to cancel vibratory responses, achieving deadbeat settling in oscillatory feedback loops without requiring feedback modifications. This approach laid foundational principles for later vibration reduction strategies, though it was initially limited to single-mode systems with precise damping knowledge. A significant milestone occurred in the 1980s when researchers at MIT, including Neil C. Singer and Warren P. Seering, advanced the concept into modern input shaping by introducing zero-vibration shapers for flexible structures. Their work, building on posicast ideas, used convolved impulses to generate commands that minimized residual vibrations in multi-degree-of-freedom systems, with early publications appearing in the late 1980s and early 1990s. This innovation shifted focus from simple delay-based methods to more versatile, open-loop techniques applicable to precision motion control. In the , input shaping evolved to address multi-mode systems and robustness against modeling uncertainties, with extensions like specified-insensitivity shapers ensuring vibration suppression despite parameter variations. These developments enabled practical implementations. By the , the technique integrated into real-time applications, enhancing trajectory planning for industrial arms and coordinate measuring machines to achieve faster, vibration-free operations. Post-2010, input shaping saw adoption in consumer technologies, notably through resonance compensation features in open-source 3D printer firmware like Klipper, which implemented shaper algorithms in 2020 to mitigate print artifacts from mechanical resonances. This marked a broader democratization of the method beyond and industrial domains.

Theoretical Foundations

Modeling Vibrations in Flexible Systems

Flexible structures in dynamic systems, such as those encountered in and precision machinery, are typically modeled as multi-degree-of-freedom (MDOF) systems. These systems feature multiple natural frequencies, each corresponding to a vibrational mode, along with associated ratios that dictate the decay rate of oscillations. The flexibility introduces underdamped behavior in many practical cases, where energy dissipation is insufficient to prevent prolonged , necessitating control strategies to mitigate unwanted motion. The foundational mathematical model for vibrations in these systems focuses on individual modes, approximated as second-order linear oscillators. For a single mode, the governing equation is mx¨+cx˙+kx=f(t),m \ddot{x} + c \dot{x} + k x = f(t), where mm represents the effective modal mass, cc the modal damping coefficient, kk the modal stiffness, xx the modal displacement, and f(t)f(t) the applied input force. This differential equation captures the essential dynamics, with the natural frequency given by ωn=k/m\omega_n = \sqrt{k/m}
Add your contribution
Related Hubs
User Avatar
No comments yet.