Skip to main content

Computer Vision Based Analysis for Fused Filament Fabrication Using a G-Code Visualization Comparison

  • Conference paper
  • First Online:
Cyber-Physical Systems and Control II (CPS&C 2021)

Abstract

The first open-source and low-cost fused filament fabrication 3D printer of 2004 represented a new opportunity to manufacture mechanical components easily and affordably. 3D printers have been continuously developed since the first one entered the market and are equipped with various sensors that can monitor the printing process. Despite these improvements, a probability of 41.1% remains that the printed part will have errors. This can lead to an irreparable print that has to be canceled, but is often not noticed by common sensors, while costly time, electricity and filament continue to be consumed. This investigation provides an account of a camera based monitoring system developed to detect complex problems that are not easily recognizable with sensors commonly used for fused filament fabrication. Image segmentation was used to remove the background of the printed part and the result was compared to a visualization of the G-Code. By using an exclusive-or method it was possible to determine differences, which can indicate defects. Depending on the similarity, the printing process can be canceled promptly. Tests have demonstrated that this method works reliably even under changing lighting conditions in most cases but can lead to poor segmentation due to shadows being cast in the infill. The application is also able to recognize differences when printed parts detach or layers have shifted if they are not covered by lower layers. The use of a light source on top of the 3D printer and additional cameras, beside the build plate, could solve both problems in the future.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Jani, M.: Never Forget Your Roots: A Brief History of RepRap, https://e3d-online.com/blogs/news/history-of-reprap. Last accessed 07 May 2021

  2. Hanaphy, P., Sertoglu, K., Everett, H.: Stratasys heated build chamber for 3D printer patent US6722872B1 set to expire this week, https://3dprintingindustry.com/news/stratasys-heated-build-chamber-for-3d-printer-patent-us6722872b1-set-to-expire-this-week-185012/. Last accessed 07 May 2021

  3. Kumar, L.J., Pandey, P.M., Wimpenny, D.I. (eds.): 3D Printing and Additive Manufacturing Technologies. Springer, Singapore (2019). https://doi.org/10.1007/978-981-13-0305-0

    Book  Google Scholar 

  4. Song, R., Telenko, C.: Causes of desktop FDM fabrication failures in an open studio environment. Procedia CIRP. 80, 494–499 (2019). https://doi.org/10.1016/j.procir.2018.12.007

    Article  Google Scholar 

  5. Petsiuk, A.L., Pearce, J.M.: Open source computer vision-based layer-wise 3D printing analysis. Addit. Manuf. 1–29 (2020)

    Google Scholar 

  6. Original Prusa i3 MK3S—Prusa3D—3D Printers from Josef Průša, https://www.prusa3d.com/original-prusa-i3-mk3/. Last accessed 07 May 2021

  7. Ultimaker S5: Reliability at scale, https://ultimaker.com/3d-printers/ultimaker-s5. Last accessed 07 May 2021

  8. Zortrax Endureal—Industrial 3rd Gen LPD Plus 3D Printer, https://zortrax.com/3d-printers/endureal/. Last accessed 07 May 2021

  9. Craeghs, T., Bechmann, F., Berumen, S., Kruth, J.P.: Feedback control of Layerwise Laser Melting using optical sensors. Phys. Procedia. 5, 505–514 (2010). https://doi.org/10.1016/j.phpro.2010.08.078

    Article  Google Scholar 

  10. Krauss, H., Zeugner, T., Zaeh, M.F.: Layerwise monitoring of the Selective Laser Melting process by thermography. Phys. Procedia. 56, 64–71 (2014). https://doi.org/10.1016/j.phpro.2014.08.097

    Article  Google Scholar 

  11. Kim, C., Espalin, D., Cuaron, A., Perez, M.A., Macdonald, E., Wicker, R.B.: A study to detect a material deposition status in fused deposition modeling technology. Mechatron. AIM. 779–783 (2015). https://doi.org/10.1109/AIM.2015.7222632

  12. Wu, H., Wang, Y., Yu, Z.: In situ monitoring of FDM machine condition via acoustic emission. Int. J. Adv. Manuf. Technol. 84(5–8), 1483–1495 (2015). https://doi.org/10.1007/s00170-015-7809-4

    Article  Google Scholar 

  13. Faes, M., Abbeloos, W., Vogeler, F., Valkenaers, H., Coppens, K., Goedemé, T., Ferraris, E.: Process Monitoring of Extrusion Based 3D Printing via Laser Scanning (2016). https://doi.org/10.13140/2.1.5175.0081

  14. Nuchitprasitchai, S., Roggemann, M., Pearce, J.M.: Factors effecting real-time optical monitoring of fused filament 3D printing. Prog. Addit. Manuf. 2(3), 133–149 (2017). https://doi.org/10.1007/s40964-017-0027-x

    Article  Google Scholar 

  15. Langeland, S.A.: Automatic Error Detection in 3D Pritning Using Computer Vision. Master’s thesis in Software Engineering. Western Norway University of Applied Sciences, Department of Computing, Mathematics and Physics; University of Bergen, Department of Informatics, 108 p. (2020). https://bora.uib.no/bora-xmlui/bitstream/handle/1956/21450/Master_Thesis_Stig.pdf. Last accessed 07 May 2021

  16. Baumann, F., Roller, D.: Vision based error detection for 3D printing processes. MATEC Web Conf. 59, 3–9 (2016). https://doi.org/10.1051/matecconf/20165906003

    Article  Google Scholar 

  17. Thomas, L.S.V., Gehrig, J.: Multi-template matching: a versatile tool for object-localization in microscopy images. Biorxiv. 7, 1–8 (2019). https://doi.org/10.1101/619338

  18. Chen, Y., Medioni, G.: Object modeling by registration of multiple range images. https://graphics.stanford.edu/~smr/ICP/comparison/chen-medioni-align-rob91.pdf (1991)

  19. Besl, P.J., McKay, N.D.: A Method for Registration of 3-D Shapes (1992). https://doi.org/10.1109/34.121791

  20. Leung, T., Malik, J.: Representing and recognizing the visual appearance of materials using three-dimensional textons. Int. J. Comput. Vis. 43, 29–44 (2001). https://doi.org/10.1023/A:1011126920638

    Article  MATH  Google Scholar 

  21. Nielsen, F.: Hierarchical Clustering. In: Introduction to HPC with MPI for Data Science. pp. 195–211. Springer International Publishing, Cham (2016). https://doi.org/10.1007/978-3-319-21903-5_8

  22. Lyngby, R.A.J.W., Eiriksson, E.R., Nielsen, J.B., Jensen, J.N., Aanæs, H., Pedersen, D.B.: Dimensional accuracy and surface finish in additive manufacturing. Ameriacn Soc. Precis. Eng. 0826, 2–5 (2014)

    Google Scholar 

  23. 3D Printer Remote Monitoring & Control The Spaghetti Detective, https://www.thespaghettidetective.com/. Last accessed 07 May 2021

  24. Creasey, J.: Raspberry Pi Essentials. Packt Publishing, Birmingham (2015)

    Google Scholar 

  25. Petsiuk, A., Pearce, J.M.: Open Source Computer Vision-based Layer-wise 3D Printing Analysis. https://osf.io/8ubgn/ Last accessed 07 May 2021

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fabian Schindler .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Schindler, F., Aburaia, M., Katalinic, B., Lackner, M., Stuja, K. (2023). Computer Vision Based Analysis for Fused Filament Fabrication Using a G-Code Visualization Comparison. In: Arseniev, D.G., Aouf, N. (eds) Cyber-Physical Systems and Control II. CPS&C 2021. Lecture Notes in Networks and Systems, vol 460. Springer, Cham. https://doi.org/10.1007/978-3-031-20875-1_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-20875-1_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-20874-4

  • Online ISBN: 978-3-031-20875-1

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics