Design and Implementation of an Intelligent Control System for 3D Printers Based on Unity3D
DOI:
https://doi.org/10.54097/m2zyx614Keywords:
Unity3D, Digital Twin, PID Closed-loop Control, 3D Printing System, Real-time MonitoringAbstract
With the rapid development of additive manufacturing technology, the demand for high-precision control and real-time monitoring of 3D printing systems has become increasingly urgent. To address issues such as step loss errors, insufficient real-time performance, and weak remote monitoring capabilities in traditional 3D printers, this paper proposes an intelligent 3D printing system that integrates digital twin technology with incremental PID closed-loop control. By constructing a virtual-physical synchronized digital twin model and combining it with Unity3D for high-precision virtual simulation, the system achieves real-time mapping of the motion trajectory and state parameters of the physical printer. A Raspberry Pi is employed as the core controller, integrating the MKS SERVO42C closed-loop driver board and an incremental PID algorithm to resolve step loss issues during high-speed operation of stepper motors, thereby improving printing accuracy. A network communication architecture based on the HTTP protocol is designed to enable real-time data interaction among the Raspberry Pi, the main control board, and the virtual twin. Additionally, a MySQL database is utilized for storing and analyzing printing process data. The system significantly optimizes printing efficiency and quality.
Downloads
References
[1] Zhang Jian. Research and Implementation of a Control System for Desktop FDM 3D Printers [D]. Jiangsu University of Science and Technology, 2019.
[2] Liu Lugang, Wang Kun, Guo Haidong. Design and Fabrication of 3D Printers [M]. 2023.
[3] Bai Yuhui. Mechanical Structure Design of 3D Printers. Electronics Technology, 2023.
[4] Liu Yonggang, Yao Liquan. Application of Digital Twin–Based Virtual Simulation in Remote Training for Intelligent Manufacturing. Journal of Hubei Open Vocational College, 2023.
[5] Liu Dawei, Zhang Guoquan, Li Zeshan, et al. Design and Application of a Unity3D-Based Virtual Simulation Platform for Engineering Graphics. Electromechanical Engineering Technology, 2022.
[6] Tan Renming, Zhang Renjie, Jiang Tao. Design of a Stepper Motor Position Closed-Loop Control System Based on STM32. Journal of Heilongjiang Institute of Technology, 2023.
[7] Lu Jianhua, Long Chaoping. Exploration of Raspberry Pi–Based Embedded Course Teaching. Education Forum, 2019.
[8] Lin Rui. Research and Design of an IoT-Based Industrial Monitoring Platform [D]. Yangtze University, 2021.
[9] Wang Yichen. Comparison and Study of Incremental and Positional PID Algorithms. Industrial Control Computer, 2018.
[10] Jin Tao, Ma Jie, Yang Lichuang. Design of a WiFi-Based Remote Control System for 3D Printers. Sensors and Microsystems, 2018.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

