Researchers at ETH Zürich and inspire AG have developed a novel control strategy to address inconsistent extrusion in Fused Filament Fabrication (FFF) 3D printing. By combining a force-feedback Linear Quadratic Regulator (LQR) with a preemptive reference optimizer, the system achieves significant improvements in tracking accuracy and response speed.
The Extrusion Lag Problem
In FFF 3D printing, material is extruded through a heated nozzle at rates defined by G-code. However, the physical processes of melting and pushing viscous polymers are not instantaneous. This results in a lag between the commanded motor speed and the actual extrusion rate. When the print head changes speed—for instance, when navigating corners—this lag causes over-extrusion ("blobs") or under-extrusion ("thin spots").
Traditional feedforward systems attempt to predict these dynamics but are blind to real-time disturbances like nozzle clogs. Conversely, standard feedback systems often react too slowly to keep pace with modern high-speed printing.
Proposed Dual-Layer Architecture
The authors propose a two-stage control architecture designed to mitigate these dynamics:
- Lower-Level LQR Control: A Linear Quadratic Regulator (LQR) provides real-time feedback. It monitors the reactive force on the filament rollers—a reliable linear proxy for printed line width—and adjusts motor RPM accordingly.
- Upper-Level Reference Optimization: This stage uses a Quadratic Programming (QP) optimizer to "look ahead" at the desired print path. By understanding the LQR's model and physical constraints, it "pre-distorts" the reference signal. For example, it may command a brief spike in force just before a planned increase to "pre-charge" the nozzle pressure and cancel out expected lag.
The system's dynamics were modeled using the N4SID subspace identification method, resulting in a 3rd-order state-space model that accurately captures the printer's extrusion behavior.
Experimental Validation and Results
The system was tested on a custom 5-axis gantry FFF printer. Experiments focused on step-response profiles, switching between 3N and 5N of force to simulate the rapid extrusion changes required in complex geometries.
The dual-layer approach yielded substantial performance gains:
- Tracking Accuracy: Hardware experiments showed a 39.57% improvement in Root Mean Square Error (RMSE) compared to standard LQR control.
- Response Speed: The "settling time" was reduced by 83.7%, falling from 0.135 seconds to just 0.022 seconds.
- Visual Quality: Microscopic analysis confirmed that the optimized system achieved nearly instantaneous transitions in line width, whereas standard controllers produced long, tapered transitions.
Conclusion and Future Work
This research demonstrates that "preemptive" reference optimization can effectively overcome the inherent sluggishness of polymer extrusion. While the current implementation relies on a linear model and offline optimization, it provides a robust foundation for future work. Moving toward online optimization and non-linear models could further enhance the system's ability to handle diverse materials and unpredictable disturbances during the printing process.
Summary updated