journal article·2022-04

Towards smart monitored AM: Open source in-situ layer-wise 3D printing image anomaly detection using histograms of oriented gradients and a physics-based rendering engine

Aliaksei Petsiuk, Joshua M. Pearce

Publisher page

Abstract

This study presents an open source method for detecting 3D printing anomalies by comparing images of printed layers from a stationary monocular camera with G-code-based reference images of an ideal process generated with Blender, a physics rendering engine. Recognition of visual deviations was accomplished by analyzing the similarity of histograms of oriented gradients (HOG) of local image areas. The developed technique requires preliminary modeling of the working environment to achieve the best match for orientation, color rendering, lighting, and other parameters of the printed part. The output of the algorithm is a level of mismatch between printed and synthetic reference layers. Twelve similarity and distance measures were implemented and compared for their effectiveness at detecting 3D printing errors on six different representative failure types and their control error-free print images. The results show that although Kendall tau, Jaccard, and Sorensen similarities are the most sensitive, Pearson r, Spearman rho, cosine, and Dice similarities produce the more reliable results. This open source method allows the program to notice critical errors in the early stages of their occurrence and either pause manufacturing processes for further investigation by an operator or in the future AI-controlled automatic error correction. The implementation of this novel method does not require preliminary data for training, and the greatest efficiency can be achieved with the mass production of parts by either additive or subtractive manufacturing of the same geometric shape. It can be concluded this open source method is a promising means of enabling smart distributed recycling for additive manufacturing using complex feedstocks as well as other challenging manufacturing environments.
Source: openaire · Quality: candidate unverified · Source record ↗

Research context

OpenAlex topics: Additive Manufacturing and 3D Printing Technologies · Industrial Vision Systems and Defect Detection · Additive Manufacturing Materials and Processes

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

References (94)

Show source-provided references
1. RepRap: the replicating rapid prototype – maximizing customizability by breeding the means of production
2. RepRap – the replicating rapid prototype10.1017/S026357471000069X ↗
3. 3D printing and humanity’s first imperfect replicator10.1089/3dp.2013.0003 ↗
4. Additive manufacturing (3D printing): a review of materials, methods, applications and challenges10.1016/j.compositesb.2018.02.012 ↗
5. A review on composite materials and process parameters optimisation for the fused deposition modelling process10.1080/17452759.2016.1274490 ↗
6. FDM filaments with unique segmentation since evolution: a critical review10.1007/s40964-018-0069-8 ↗
7. Distributed recycling of waste polymer into RepRap feedstock10.1108/13552541311302978 ↗
8. Plastic recycling in additive manufacturing: a systematic literature review and opportunities for the circular economy
9. Polymer recycling in an open-source additive manufacturing context: mechanical issues
10. Technical pathways for distributed recycling of polymer composites for distributed manufacturing: Windshield wiper blades10.1016/j.resconrec.2020.104810 ↗
11. Life-cycle economic analysis of distributed manufacturing with open-source 3-D printers10.1016/j.mechatronics.2013.06.002 ↗
12. Emergence of home manufacturing in the developed world: return on investment for open-source 3-D printers10.3390/technologies5010007 ↗
13. Environmental life cycle analysis of distributed three-dimensional printing and conventional manufacturing of polymer products10.1021/sc400093k ↗
14. Rate limits of additive manufacturing by fused filament fabrication and guidelines for high-throughput system design
15. Experimental study of the process failure diagnosis in additive manufacturing based on acoustic emission10.1016/j.measurement.2018.12.067 ↗
16. Process monitoring for material extrusion additive manufacturing: a state-of-the-art review10.1007/s40964-021-00192-4 ↗
17. Wohlers · 2018
18. In-situ thermal imaging for single layer build time alteration in large-scale polymer additive manufacturing10.1016/j.promfg.2019.06.202 ↗
19. Thermography based in-process monitoring of Fused Filament Fabrication of polymeric parts10.1016/j.cirp.2019.04.123 ↗
20. Nozzle condition monitoring in 3D printing10.1016/j.rcim.2018.05.010 ↗
21. In-situ monitoring and diagnosing for fused filament fabrication process based on vibration sensors
22. Acoustic anomaly detection in additive manufacturing with long short-term memory neural networks
23. Real-time distortion monitoring during fused deposition modeling via acoustic emission10.1177/1475921719849700 ↗
24. Laboratory simulation of capacitance-based layer-by-layer monitoring of three-dimensional printing10.1016/j.sna.2017.10.061 ↗
25. A dynamic model for current-based nozzle condition monitoring in fused deposition modelling10.1007/s40964-019-00089-3 ↗
26. Online real-time quality monitoring in additive manufacturing processes using heterogeneous sensors10.1115/1.4029823 ↗
27. E.C. Koskelo, E.B. Flynn, P.J. Shull, A.L. Gyekenyesi, T. Yu, H.F. Wu, Scanning laser ultrasound and wavenumber spectroscopy for in-process inspection of additively manufactured parts. Proc SPIE Nondestruct Charact Monit Adv Mater Aerosp Civ Infrastruct (2016). https://doi.org/10.1117/12.2222130.10.1117/12.2222130 ↗
28. In-line rheological monitoring of fused deposition modeling10.1122/1.5054648 ↗
29. In-situ monitoring of the deformation during Fused Deposition Modeling process using CGS method10.1016/j.polymertesting.2019.03.030 ↗
30. Factors effecting real-time optical monitoring of fused filament 3D printing10.1007/s40964-017-0027-x ↗
31. A. Johnson, H. Zarezadeh, X. Han, R. Bibb, R. Harris, Establishing in-process inspection requirements for material extrusion additive manufacturing. Loughborough University. Conference contribution, 2016. 〈https://hdl.handle.net/2134/20696〉.
32. Quality assurance in additive manufacturing through mobile computing
33. H. Jeong, M. Kim, B. Park et al., Vision-Based Real-Time Layer Error Quantification for Additive Manufacturing. Proc ASME 2017 12th Int Manuf Sci Eng Conf. (2017). https://doi.org/10.1115/MSEC2017–2991.10.1115/MSEC2017-2991 ↗
34. F. Wasserfall, D. Ahlers, N. Hendrich, Optical in-situ verification of 3D-printed electronic circuits. IEEE 15th Int Conf Autom Sci and Eng (CASE) (2019). https://doi.org/10.1109/COASE.2019.8842835.10.1109/COASE.2019.8842835 ↗
35. Augmented vision and interactive monitoring in 3D printing process10.1007/s12008-016-0347-y ↗
36. J. Straub, 3D printing cybersecurity: Detecting and preventing attacks that seek to weaken a printed object by changing fill level. Proc SPIE Dimens Opt Metrol Insp Pract Appl VI (2017). https://doi.org/10.1117/12.2264575.10.1117/12.2264575 ↗
37. Part monitoring and quality assessment of conformal additive manufacturing using image reconstruction
38. Z. Chen, R. Horowitz, Vision-assisted arm motion planning for freeform 3D Printing. 2019 Am Control Conf (ACC) (2019) 4204–4209. https://doi.org/10.23919/ACC.2019.8814699.10.23919/ACC.2019.8814699 ↗
39. Visual detection of surface defects based on self-feature comparison in robot 3-D printing
40. An application of 3D model reconstruction and augmented reality for real-time monitoring of additive manufacturing10.1016/j.procir.2019.03.060 ↗
41. Open source computer vision-based layer-wise 3D printing analysis
42. Multi-material additive and subtractive prosumer digital fabrication with a free and open-source convertible delta RepRap 3-D printer10.1108/RPJ-09-2014-0113 ↗
43. RAMPS 1.4. 〈https://reprap.org/wiki/RAMPS_1.4〉, 2021 (Accessed 03 November 2021).
44. SONY IMX322 Datasheet. 〈https://dashcamtalk.com/cams/lk-7950-wd/Sony_IMX322.pdf〉, 2021 (Accessed 03 November 2021).
45. Blender, free and open source 3D creation suite. 〈https://www.blender.org/〉, 2021 (Accessed 03 November 2021).
46. B.R. Kent. Visualizing Astronomical Data with Blender. PASP 125:928 (2013) 731. https://iopscience.iop.org/article/10.1086/671412/meta.10.1086/671412 ↗
47. BlenSor: blender sensor simulation toolbox
48. R.F. da Costa, D.S. de Medeiros, R. Andrade, O. Saotome, and R. Machado. General Purpose Radar Simulator based on Blender Cycles Path Tracer. (2020). DOI:10.14209/SBRT.2020.1570649487.10.14209/SBRT.2020.1570649487 ↗
49. Synthetic packed-bed generation for CFD simulations: blender vs. STAR-CCM+10.3390/chemengineering3020052 ↗
50. Estimating the daily solar irradiation on building roofs and facades using Blender Cycles path tracing algorithm10.1051/e3sconf/20161000027 ↗
51. D.P. Rohe, An Optical Test Simulator Based on the Open-Source Blender Software. United States: N. p., 2019. Web. https://www.osti.gov/biblio/1642949.
52. BLAINDER—a blender ai add-on for generation of semantically labeled depth-sensing data10.3390/s21062144 ↗
53. Blender: Procedural Textures. 〈https://docs.blender.org/manual/en/2.79/render/blender_render/textures/types/procedural/index.html〉, 2021 (Accessed 03 November 2021).
54. Chris Bailey. Top 6 Blender Nodes To Make Any Material in Blender 2021. 〈https://www.youtube.com/watch?v=yffWd4kI51Q〉, 2021 (Accessed 03 November 2021).
55. Blender Shader Nodes. 〈https://docs.blender.org/manual/en/2.79/render/cycles/nodes/types/shaders/index.html〉, 2021 (Accessed 03 November 2021).
56. Heinz Löpmeier, Blender-Gcode-Importer. 〈https://github.com/Heinz-Loepmeier/Blender-Gcode-Import〉, 2021 (Accessed 03 November 2021).
57. Jonathan Winterflood, YAGV - Yet Another Gcode Viewer, v0.4. 〈https://github.com/jonathanwin/yagv〉, 2021 (Accessed 03 November 2021).
58. Alessandro Zomparelli, Gcode Exporter. 〈https://github.com/alessandro-zomparelli/gcode-exporter〉, 2021 (Accessed 03 November 2021).
59. Blender for Science, Gcode Exporter. 〈https://github.com/blender-for-science/import-G-code〉, 2021 (Accessed 03 November 2021).
60. Petsiuk, A., Pearce, J.M., 2021. October 25). Layer-wise HOG-based anomaly detection in plastic FFF 3D printing. Retrieved from 〈https://osf.io/q8ebj/〉, 2021 (Accessed 03 November 2021).
61. Blender Cycles, 〈https://docs.blender.org/manual/en/latest/render/cycles/index.html〉, 2021 (Accessed 03 November 2021).
62. OpenCV: Camera Calibration and 3D Reconstruction. 〈https://docs.opencv.org/3.4/d9/d0c/group__calib3d.html〉, 2021 (accessed 03 November 2021).
63. OpenCV: Geometric Image Transformations. 〈https://docs.opencv.org/4.5.2/da/d54/group__imgproc__transform.html〉, 2021 (accessed 03 November 2021).
64. N. Dalal and B. Triggs, Histograms of oriented gradients for human detection, 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05), 2005, pp. 886–893 vol. 1, doi:10.1109/CVPR.2005.177.10.1109/CVPR.2005.177 ↗
65. Firuzi, M. Vakilian, B.T. Phung and T.R. Blackburn, Partial Discharges Pattern Recognition of Transformer Defect Model by LBP & HOG Features, in IEEE Transactions on Power Delivery, vol. 34, no. 2, pp. 542–550, April 2019, doi:10.1109/TPWRD.2018.2872820.10.1109/TPWRD.2018.2872820 ↗
66. Landscape similarity analysis using texture encoded deep-learning features on unclassified remote sensing imagery10.3390/rs13030492 ↗
67. Finding better matches: improving image retrieval with EFM-HOG
68. Optimized scale invariant HOG descriptors for object and human detection10.1088/1757-899X/1119/1/012002 ↗
69. Taguchi-TOPSIS based HOG parameter selection for complex background sign language recognition10.1016/j.jvcir.2020.102834 ↗
70. J. Supeng, X. Wei, Y. Liu, Robust template matching algorithm with multi-feature using best-buddies similarity. Proceedings, v.11427 (2020), Second Target Recognition and Artificial Intelligence Summit Forum10.1117/12.2552038 ↗
71. 114271Y (2020). https://doi.org/10.1117/12.2552038.10.1117/12.2552038 ↗
72. Comprehensive survey on distance/similarity measures between probability density functions
73. Using similarity metrics to quantify differences in high-throughput datasets: application to X-ray diffraction patterns10.1021/acscombsci.6b00142 ↗
74. Similarity and dissimilarity measures
75. Genuinity detection of people: a comparative analysis on HOG and one shot learning10.1109/ICSC48311.2020.9182738 ↗
76. Ring-regularized cosine similarity learning for fine-grained face verification10.1016/j.patrec.2021.04.029 ↗
77. Theodoridis · 2009 · 602
78. R.A. Lyngby, J. Wilm, E.R. Eiríksson et al., In-line 3D print failure detection using computer vision. Joint Special Interest Group meeting between euspen and ASPE: Dimensional Accuracy and Surface Finish in Additive Manufacturing (2017). https://www.euspen.eu/knowledge-base/AM17133.pdf.
79. Automated processes monitoring in 3D printing using supervised machine learning10.1016/j.promfg.2018.07.111 ↗
80. The impact of 3D printing on the humanitarian supply chain
81. The potential of emergent disruptive technologies for humanitarian supply chains: the integration of blockchain, Artificial Intelligence and 3D printing10.1080/00207543.2020.1761565 ↗
82. Development of a resilient 3-D printer for humanitarian crisis response10.3390/technologies6010030 ↗
83. 3D printing meets humanitarian design research: creative technologies in remote regions
84. 3D printing for humanitarian relief: the printer problem
85. Design and development of an extrusion system for 3D printing biopolymer pellets10.1007/s00170-018-1843-y ↗
86. Extrusion 3D printing of polybutyrate-adipate-terephthalate-polymer composites in the pellet form10.3390/polym10080922 ↗
87. 3D printed shape memory polymers produced via direct pellet extrusion10.3390/mi12010087 ↗
88. Biopolymer alternatives in pellet form for 3D printing by extrusion10.1089/3dp.2018.0152 ↗
89. Large-format polymeric pellet-based additive manufacturing for the naval industry
90. Fused particle fabrication 3-D printing: recycled materials’ optimization and mechanical properties10.3390/ma11081413 ↗
91. Mechanical properties and applications of recycled polycarbonate particle material extrusion-based additive manufacturing10.3390/ma12101642 ↗
92. Mechanical properties of direct waste printing of polylactic acid with universal pellets extruder: comparison to fused filament fabrication on open-source desktop three-dimensional printers10.1089/3dp.2019.0195 ↗
93. Green fab lab applications of large-area waste polymer-based additive manufacturing
94. Towards distributed recycling with additive manufacturing of PET flake feedstocks10.3390/ma13194273 ↗