Researchers Create Fuzzy Like PI Controller to Control FFF 3D Printer Extruder and Bed Heaters
A trio of researchers from the Arab Academy for Science, Technology and Maritime Transport and the Electronics Research Institute in Egypt used fuzzy logic for a new study, titled “Fuzzy Controller Algorithm for 3D Printer Heaters,” about creating an easily tunable, closed-loop controller to run the heaters in an FFF 3D printer, which require its heaters to operate within temperature ranges that are well-suited for the specific material being printed.
The abstract of the study reads, “PID controllers are the most widely used. To efficiently design this controller, parameter-tuning must be done which is a time-consuming process. To save time, tuning could be performed by simulation, but this requires the system’s model. Some system models are difficult to deduce, thus other controllers that are independent of the system model and do not require multiple tuning iterations are used. An example of such controllers is the fuzzy like PI controller. This paper presents the design and implementation of a fuzzy like PI controller. The results for testing the controller are presented.”
Heated beds can prevent warping and increase print quality, so it’s important to be able to control them properly. The team designed and implemented a model-free fuzzy like PI controller for the study, as it can capably control a non-LTI system with an unknown model. An FFF 3D printer with a heated bed and an extruder that can feed 1.75 mm filament was used, so the researchers could try to control the temperatures of both the bed and the extruder heater with the controller.
“To conduct this study, a 40-watt cartridge heater was used for the extruder and a 90-watt heater for the heat bed,” the researchers wrote. “Both heaters’ parameters were unavailable which made building their models difficult. The heat bed’s heater takes about 10 minutes to reach 100°C. Thus, system identification techniques are time consuming. Without the system model and with the time taken for the heat bed’s heater to reach the set point temperature, tuning a PID controller can be time-consuming. The heaters’ parameters could also be time-variant or have a dependency on other variables.”
They implemented the fuzzy like PI controller on an Arduino Nano board with a microcontroller that runs at 16 MHZ clock speed and has 32 KB of flash memory. A 12V 40W cartridge heater inserted in the heating block of the extruder assembly serves as the extruder heater, and the MK3 aluminum heat bed operates at 19 V; both can be seen in the figures below and are controlled by, as the researchers wrote, “varying the duty cycle of a PWM control signal produced by the microcontroller.”
The team tested the controller with both the heat bed and extruder heater, then used an Arduino serial monitor to send the data from the microcontroller to the computer. They determined that their fuzzy like controller displayed “adequate performance” while controlling the two heaters. With only minimal tuning and no need to perform system identification, steady state errors in the heat bed were as low as 0.95%, and 12.15% (due to lack of sensor sensitivity) in the extruder heater.
“The controller was suitable to be used on small microcontrollers as it occupied 7.5 Kb of Flash memory and 0.3 Kb of RAM, which leaves room to use other complex applications on the microcontroller,” the team concluded. “Therefore, the use of fuzzy like PI controller is highly justified.”
To learn more about the mathematics and logic behind the team’s fuzzy like PI controller, because I can absolutely not explain them to you, check out the research paper. Co-authors are A. E. El-Fakharany, M. R. Atia, and Mohamed I. Abu El-Sebah.
Discuss this research and other 3D printing topics at 3DPrintBoard.com or share your thoughts in the Facebook comments below.
You May Also Like
Modular, Digital Construction System for 3D Printing Lightweight Reinforced Concrete Spatial Structures
Spatial structure systems, like lattices, are efficient load-bearing structures that are easy to adapt geometrically and well-suited for column-free, long-spanning constructions, such as hangars and terminals, and in creating free-form...
TU Delft: 3D Printing Soft Mechanical Materials for Ultra-Programmable Robotics
TU Delft scientists continue to delve into 3D printing research, recently developing advanced robotics in the form of highly programmable—and soft—actuators. Fabricated with both hard and soft materials, the actuators...
Researchers Compare Microstructure of As-Cast, Hot-Extruded, and 3D Printed Magnesium Alloy Samples
Alloys of the shiny gray chemical element magnesium (Mg) feature a high strength-to-weight ratio and a low density of about 1700 kg/m3, making them good options for technical applications in...
Using Casting, Graphene, and SLM 3D Printing to Create Bioinspired Cilia Sensors
What Mother Nature has already created, we humans are bound to try and recreate; case in point: biological sensors. Thanks to good old biomimicry, researchers have made their own...
View our broad assortment of in house and third party products.