journal article·2025-05-04Open access

Research on Quality Prediction for Thermal Printing Using a Particle Swarm Optimization with Back Propagation (PSO-BP) Neural Network

Chun-Ling Ho, Zhiyun Wu, Tung-Chiung Chang, Shenjun Qi

Applied Sciences· Volume 15· Issue 9

Abstract

Thermal printing is a prevalent method due to its advantages of rapid output, cost effectiveness, and ease of use. However, the quality of thermal printing is influenced by the printing speed, the temperature, and the concentration and characteristics of the materials. This research employs a BP neural network to forecast print quality, utilizing two activation functions. The findings indicate that a dual-layer hidden configuration utilizing the GeLU activation function yields a lower root-mean-square error (RMSE). The optimal configuration identified consists of six neurons in the first hidden layer and three neurons in the second hidden layer. To enhance the predictive performance, a PSO algorithm was integrated with the PSO-BP model to refine the parameter selection, which included ambient temperature, printing speed, and printing concentration, with iterative training and validation conducted via the gradient descent algorithm. The PSO-BP network achieved an MAE of 0.1108, an RMSE of 0.145, an MSE of 0.021, and an R2 value of 0.9916 in predicting print quality. These results substantiate the stability and reliability of the neural network model developed with the PSO algorithm. Further validation with ten sets of test samples demonstrated that the model attained an average absolute error of 2.77% in print quality predictions, indicating robust generalization capabilities and precise forecasting.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Color Science and Applications · Surface Roughness and Optical Measurements

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Key Laboratory for Intelligent Infrastructure and Monitoring of Fujian Province (Huaqiao University), College of Civil Engineering, Huaqiao University, Xiamen 361021, China

College of Civil Engineering, Huaqiao University, Xiamen 361021, China

Department of Civil Engineering and Geomatics, Cheng Shiu University, Kaohsiung 833301, Taiwan

References (31)

Show source-provided references
1. Thermal design of printed circuit heat exchanger used for lead-bismuth fast reactor10.1016/j.applthermaleng.2023.120343 ↗
2. Jiao, X., Ren, G., Law, C.L., Li, L., Cao, W., Luo, Z., Pan, L., Duan, X., Chen, J., and Liu, W. (2024). Novel strategy for optimizing of corn starch-based ink food 3D printing process: Printability prediction based on BP-ANN model. Int. J. Biol. Macromol., 276.10.1016/j.ijbiomac.2024.133921 ↗
3. Research of on-line printing quality detection based on mathematical morphology
4. Sun, H.W., Huang, Y.C., Tang, T.H., Shen, J., Gu, L.J., and Wang, J.S. (2025). A prediction model for the replication quality of nanoimprinting patterns based on BP neural network. Microsyst. Technol.10.1007/s00542-025-05861-w ↗
5. PolyJet 3D printing: Predicting color by multilayer perceptron neural network10.1016/j.stlm.2022.100049 ↗
6. Prediction of 3D printability and rheological properties of different pineapple gel formulations based on LF-NMR10.1016/j.fochx.2024.101906 ↗
7. A train F-TR lock anti-lifting detection method based on improved BP neural network Journal of Measurements in Engineering10.21595/jme.2023.23638 ↗
8. The color characteristic model based on optimized BP neural network10.1007/978-981-10-0072-0_8 ↗
9. Prediction of ink flow for 3D bioprinting of tubular tissue based on a back propagation neural network
10. Li, Y., Ding, F., and Tian, W. (2022). Optimization of 3D printing parameters on deformation by BP neural network algorithm. Metals, 12.10.3390/met12101559 ↗
11. Lin, Z., Fan, Y., Tan, J., Li, Z., Yang, P., Wang, H., and Duan, W. (2025). Tool wear prediction based on XGBoost feature selection combined with PSO-BP network. Sci. Rep., 15.10.1038/s41598-025-85694-9 ↗
12. Liu, Y., Fan, L., and Wang, L. (2024). Urban virtual environment landscape design and system based on PSO-BP neural network. Sci. Rep., 14.10.1038/s41598-024-64296-x ↗
13. Research on quality prediction of POI based on KPCA-GA-BP neural network
14. Optimizing FDM 3D printing parameters for improved tensile strength using the Takagi–Sugeno fuzzy neural network10.1016/j.mtcomm.2024.108268 ↗
15. Mahmood, M.A., Visan, A.I., Ristoscu, C., and Mihailescu, I.N. (2020). Artificial neural network algorithms for 3D printing. Materials, 14.10.3390/ma14010163 ↗
16. Comparison of artificial neural network and response surface methodology in predicting the tensile strength and optimization of 3D printed objects
17. Djurović, S., Lazarević, D., Ćirković, B., Mišić, M., Ivković, M., Stojčetović, B., Petković, M., and Ašonja, A. (2024). Modeling and prediction of surface roughness in hybrid manufacturing–milling after FDM using artificial neural networks. Appl. Sci., 14.10.3390/app14145980 ↗
18. Artificial Intelligence in Laser Powder Bed Fusion Procedures–Neural Networks for Live-Detection and Forecasting of Printing Failures10.1016/j.procir.2022.05.159 ↗
19. Phillip, L. (2019). Predicting the Failure of a Thermal Print-Head Resistor. [Ph.D. Thesis, University of Portsmouth].
20. Rafieyan, S., Ansari, E., and Vasheghani-Farahani, E. (2024). A practical machine learning approach for predicting the quality of 3D (bio)printed scaffolds. Biofabrication, 16.10.1088/1758-5090/ad6374 ↗
21. Olowe, M., Ogunsanya, M., Hanif, Y., Bajaj, S., Vakkalagadda, V., Fatoki, O., and Desai, S. (2024). Spectral features analysis for print quality prediction in additive manufacturing: An acoustics-based approach. Sensors, 24.10.3390/s24154864 ↗
22. Industrial printing image defect detection using multi-edge feature fusion algorithm10.1155/2021/2036466 ↗
23. Research on evaluation and detection method of print quality based on the CCD information10.4028/www.scientific.net/AMM.303-306.543 ↗
24. Schubert, Inkjet printing and 3D printing strategies for biosensing, analytical, and diagnostic applications10.1002/adma.202105015 ↗
25. Microscopic printing analysis and application for classification of source printer10.1016/j.cose.2021.102320 ↗
26. Ratnavel, R., Viswanath, S., Subramanian, J., Selvaraj, V.K., Prahasam, V., and Siddharth, S. (2022). Predicting the optimal input parameters for the desired print quality using machine learning. Micromachines, 13.10.3390/mi13122231 ↗
27. A fast self-calibration method of line laser sensors for on-machine measurement of honeycomb cores10.1016/j.optlaseng.2022.106981 ↗
28. Error compensation and accuracy analysis of laser measurement system based on laser-beam calibration10.1016/j.ijleo.2019.163272 ↗
29. Study on precision of PS/ABS composite powders formed parts based on selective laser sintering
30. Experimental study on selective laser sintering of coated sand
31. Quantitative and real-time control of 3D printing material flow through deep learning10.1002/aisy.202200153 ↗