원시데이터 수집 시스템
선정목록으로

Machine learning approaches for process monitoring in powder bed fusion of polymers

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Klamert, Victor — TU Wien
DOI
10.34726/hss.2025.99526
저널
reposiTUm (TU Wien)
발행년도
2025
발행기관
TU Wien
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.34726/hss.2025.99526
토픽
Injection Molding Process and Properties
OpenAlex ID
W6908786247

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In recent years, laser-based powder bed fusion technology has become an integral part of the manufacturing industry, enabling the production of highly complex component structures with strength comparable to that of conventionally manufactured components. In particular, the reduction in component volume makes a significant contribution to resource-efficient production and use. This opens up new design possibilities that are simply not possible with conventional manufacturing processes. For example, functions can be integrated into components. For industrial applications, highly customized products can be produced that are only used once because it is not worthwhile to use conventional manufacturing processes for them. However, as advanced as this technology is, the nature of the process itself means that uncontrollable phenomena can occur during the process which can cause defects in the powder bed and consequently affect the quality of the component. This thesis deals with approaches to monitor the process of laser-based powder bed fusion of polymers (PBF-LB/P) using appropriate sensor technology and machine learning. The experimental investigations were carried out on an EOS powder bed fusion machine (FORMIGA P 110), which sinters PA12 polyamide powder layer by layer into component structures using a 30 W CO2 laser with a wavelength of 10.6 μm. As defects can occur unpredictably and at irregular intervals during this process, this work has developed a method to artificially induce different types of defects at different stages of the process. Curling, part shifting and particle drag could be simulated in a sustainable way during the running process without interrupting it. The next step was to evaluate different sensor technologies and integrate them into the machine to measure and record these defects. In this case, infrared thermal imaging, laser triangulation and an RGB camera, mounted both outside and even inside the machine, proved to be suitable methods. This has shown that it is possible to detect the defects at least once using these sensor concepts, which leads to the final step of this thesis, automated process monitoring using machine learning. The extensive datasets were then used to train convolutional neural networks based on deep learning, demonstrating that automated and intelligent defect detection is possible in the PBF-LB/P process. Different networks were applied, compared and tuned by adding features and tuning hyperparameters to make a statement about the performance of the networks in combination with the available data. Simulated defects in the process were predicted with over 99% accuracy using different CNNs and different data formats. In summary, this work combines comprehensive investigations into the potential of integrating different sensor technologies for targeted defect detection in the powder bed with extensive experiments on the sustained simulation of different defects and their prediction using deep learning-based computer vision. In the future, the empirically collected data could be used to determine what type of defect it is, which parameters in the software need to be adjusted during the process when predicting a defect, in order to take countermeasures in real time.

본문 233,000자

본문 펼치기
### Dissertation ## Machine learning approaches for process monitoring in powder bed fusion of polymers carried out for the purpose of obtaining the degree of Doctor technicae (Dr. techn.), submitted at TU Wien ##### Faculty of Mechanical and Industrial Engineering by ### Victor Klamert Mat. No.: 00927412 Under the supervision of DI Dr. Mugdim Bublin Co-supervision by Univ.Prof. Dipl.-Phys. Dr.-Ing. Andreas Otto Reviewed by Univ.Prof. Dipl.-Ing. Dr. mont. Jürgen Stampfl and Prof. Dr.-Ing. Andreas Michalowski Chairman of the Examination Board Univ.Prof. Dipl.-Ing. Dr.mont. Paul Heinz Mayrhofer Vienna, 26.03.2025 ________________________ ________________________ _Victor Klamert_ _Mugdim Bublin_ The research leading to these results was funded under the cooperative doctoral program “Digiphot” between FH Campus Wien and TU Wien. This work was also supported by the City of Vienna: MA23—Projekt 29-22, “Artificial Intelligence”, and MA23—Projekt 30-25, “AI & VR Lab”. I confirm, that the printing of this dissertation requires the approval of the examination board. ##### _Statutory declaration_ I further declare on oath that this work has been independently prepared by me in accordance with the accepted principles of scientific work. All tools used, in particular the literature on which it is based, are named and listed in this work. The passages taken verbatim from the sources are marked as such. The subject matter of this thesis has not been submitted by me to an assessor for assessment in any form as an examination paper, either at home or abroad. This work corresponds to the work assessed by the examiners. Vienna, 26.03.2025 _Victor Klamert_ # Acknowledgements This work would not have been possible without the support of the cooperative doctoral program "Digiphot" between the FH Campus Wien and the TU Wien and the MA23 project 29-22, "Artificial Intelligence" and the MA23 project 30-25, "AI & VR Lab". The research was carried out at the High Tech Campus, an external site of the FH Campus Wien, operated by the Institute of High Tech Manufacturing. First of all, I would like to thank my supervisor Dr. Mugdim Bublin (FH Campus Wien) for his guidance, help and constant support throughout the research. I am very grateful for the numerous discussions and the time he spent patiently answering all my questions. I would also like to thank Professor Dr. Andreas Otto (TU Wien) for co-supervising the thesis. He always provided productive input and integrated me into his research group at the TU Vienna in the best possible way, so that I could also exchange ideas with his colleagues on specific topics. Many thanks also to Professor Dr. Jürgen Stampfl (TU Wien) and Prof. Dr.-Ing. Andreas Michalowski (Universität Stuttgart) for reviewing this dissertation, and Professor Dr. Paul Heinz Mayrhofer (TU Wien) for chairing the examination board. I would also like to thank FH-Prof. Dr. Heimo Sandtner (FH Campus Wien) for the motivation to start this project. My sincere thanks also go to all my colleagues for their continuous support and in particular to David Nechi, BSc MSc, whose expertise in handling and operating the PBFLB/P system has made a particularly important contribution to the results of this work. I would like to express my deepest gratitude to my family for their lifelong support and for always believing in me. ## Table of contents <u>Table of contents</u> Page Table of contents…………………………………………………………………………… I Publication citations………………………………………………………………………. II Abstract…………………………………………………………………………………... III List of figures…………………………………………………………………………….. IV List of tables………………………………………………………………………………. V List of abbreviations and symbols……………………………………………………….. VI 1 Introduction………………………………………………………………………………... 1 1.1 Problem…………………………………………………………………………….... 3 1.2 Objectives……………………………………………………………………………. 7 1.3 Methodology………………………………………………………………………… 9 1.4 Summary of the scientific essays…………………………………………………... 13 1.5 Scientific contribution……………………………………………………………… 16 1.6 Conclusions and outlook…………………………………………………………… 18 List of references………………………………………………………………………........... 19 2 Publications………………………………………………………………………………. 25 2.1 A deep learning approach for real time process monitoring and curling defect detection in Selective Laser Sintering by infrared thermography and convolutional neural networks…………………………………………………………………... 25 2.2 In Situ Analysis of Curling Defects in Powder Bed Fusion of Polyamide by Simultaneous Application of Laser Profilometry and Thermal Imaging………… 35 2.3 Real-Time Optical Detection of Artificial Coating Defects in PBF-LB/P Using a Low-Cost Camera Solution and Convolutional Neural Networks……………….. 63 I <u>Publication citations</u> ## Publication citations Paper Citation DOI 1 Klamert, V., Schmid-Kietreiber, M., & Bublin, M. (2022). A deep learning approach for real time process monitoring and curling defect detection in Selective Laser Sintering by infrared thermography and convolutional neural networks. Procedia CIRP, 111, 317320. 2 Klamert, V., Schiefermair, L., Bublin, M., & Otto, A. (2023). In Situ Analysis of Curling Defects in Powder Bed Fusion of Polyamide by Simultaneous Application of Laser Profilometry and Thermal Imaging. Applied Sciences, 13(12), 7179. 3 Klamert, V., Achsel, T., Toker, E., Bublin, M., & Otto, A. (2023). Real-Time Optical Detection of Artificial Coating Defects in PBF-LB/P Using a Low-Cost Camera Solution and Convolutional Neural Networks. Applied Sciences, 13(20), 11273. [https://doi.org/](https://doi/) 10.1016/j.pro cir.2022.08.0 30 [https://doi.org/](https://doi/) 10.3390/app1 3127179 https://doi.or g/10.3390/ap p132011273 II <u>Abstract</u> ## Abstract In recent years, laser-based powder bed fusion technology has become an integral part of the manufacturing industry, enabling the production of highly complex component structures with strength comparable to that of conventionally manufactured components. In particular, the reduction in component volume makes a significant contribution to resource-efficient production and use. This opens up new design possibilities that are simply not possible with conventional manufacturing processes. For example, functions can be integrated into components. For industrial applications, highly customized products can be produced that are only used once because it is not worthwhile to use conventional manufacturing processes for them. However, as advanced as this technology is, the nature of the process itself means that uncontrollable phenomena can occur during the process which can cause defects in the powder bed and consequently affect the quality of the component. This thesis deals with approaches to monitor the process of laser-based powder bed fusion of polymers (PBF-LB/P) using appropriate sensor technology and machine learning. The experimental investigations were carried out on an EOS powder bed fusion machine (FORMIGA P 110), which sinters PA12 polyamide powder layer by layer into component structures using a 30 W CO2 laser with a wavelength of 10.6 µm. As defects can occur unpredictably and at irregular intervals during this process, this work has developed a method to artificially induce different types of defects at different stages of the process. Curling, part shifting and particle drag could be simulated in a sustainable way during the running process without interrupting it. The next step was to evaluate different sensor technologies and integrate them into the machine to measure and record these defects. In this case, infrared thermal imaging, laser triangulation and an RGB camera, mounted both outside and even inside the machine, proved to be suitable methods. This has shown that it is possible to detect the defects at least once using these sensor concepts, which leads to the final step of this thesis, automated process monitoring using machine learning. The extensive datasets were then used to train convolutional neural networks based on deep learning, demonstrating that automated and intelligent defect detection is possible in the PBF-LB/P process. Different networks were applied, compared and tuned by adding features and tuning hyperparameters to make a statement about the performance of the networks in combination with the available data. Simulated defects in the process were predicted with over 99% accuracy using different CNNs and different data formats. In summary, this work combines comprehensive investigations into the potential of integrating different sensor technologies for targeted defect detection in the powder bed with extensive experiments on the sustained simulation of different defects and their prediction using deep learning-based computer vision. In the future, the empirically collected data could be used to determine what type of defect it is, which parameters in the software need to be adjusted during the process when predicting a defect, in order to take countermeasures in real time. III ## List of figures <u>List of figures</u> Page Fig. 1: Concept for in-situ defect or fault detection 2 Fig. 2: Temperature distribution on an EOS P390 machine using PA12 powder [19] 3 Fig. 3: DSC of Tm of a) used and b) refreshed PA12 powder [1] 4 Fig. 4: Curling phenomenon after applying a new layer of powder, the lift-off 4 from the powder bed in the edge areas is clearly recognizable Fig. 5: Visible curling effects (a), (b) at the edges of the components at the thermal 13 recordings IV ## List of tables <u>List of tables</u> Page Table 1: Parameters of Keyence LJ-X8400 laser profilometer 11 V <u>List of abbreviations and symbols</u> ## List of abbreviations and symbols AM Additive manufacturing ANN Artificial neural network CAE Convolutional autoencoder CaF2 Calcium fluoride CIS Contact image sensor CNN Convolutional neural network CPH Cox proportional hazards CV Computer vision DL Deep learning DSC Differential scanning calorimetry D-SVDD Deep support vector description ECH Effective curling height ELT Effective layer thickness EPMP Enhanced phase measuring profilometry FCAE Fully convolutional autoencoder FVM Focus variation microscopy GAN Generative adversarial networks Grad-CAM Gradient-weighted class activation mapping LAMPS Laser Additive Manufacturing Pilot System ML Machine learning MLP Multi-layer perceptron N2 Nitrogen NDT Non-destructive testing OCT Optical coherence tomography OSC-TL Online sequential classifier and transfer learning PBF-LB/M Laser based powder bed fusion of metals PBF-LB/P Laser based powder bed fusion of polymers PhS-OCT Spectral domain phase-sensitive OCT system ReLU Rectified linear unit SCE Standard cross-entropy SDGAN Surface defect-generation adversarial network TL Transfer learning Tm Melting temperature VGG Visual geometry group WCE Weighted cross-entropy VI <u>Introduction</u> ## 1 Introduction Additive manufacturing (AM), in particular laser based powder bed fusion of polymers (PBF-LB/P) and metals (PBF-LB/M), has become one of the most established manufacturing methods in industry for the production of complex components due to the selective layer-bylayer application of materials [2–4]. Compared to conventional manufacturing processes, AM offers far greater flexibility and the ability to exploit the full potential of material structures. Due to the principle of the process itself, AM is one of the most suitable manufacturing technologies for the production of highly resilient lightweight structures for the aerospace and automotive sectors [5–8], as well as a wide range of other sectors such as medical applications [9, 10] in both plastic and metal parts. From an economic point of view, this manufacturing process, which is based on either a solid, powder or liquid raw material, helps to reduce the production cost of individual components by up to 50%, reduce waste to 10% and reduce component weight by 40%, without compromising the mechanical properties of these components. As a result, time to market can be significantly reduced, in part by speeding up the prototyping process [11]. While the individual AM processes are already controllable and deliver a sustainable and reproducible output, it is important to remember that there are a large number of defects that can occur during the process and significantly affect the quality of the component [12–14]. The failures and defects that can occur in both polyamide and metal powder processing are both synergistic and independent. In addition to similar defects such as curling, shrinkage, coating failure, part shifting, particle drag, powder contamination and powder short feed, the manufacture of metal powders can lead to additional defects such as cracking, spattering and porosity [13, 15]. Depending on the size of the component and the layer thickness applied, several thousand layers can easily be produced, making it absolutely impossible to determine afterwards whether a defect occurred during the process, what type of defect it was and in which layer it occurred [16, 17]. This is exactly where an interface to computer vision based on deep learning (DL) should come in to create an automated and sustainable system for monitoring the PBF-LB/P process and detecting various defects in real-time during the process. DL methods have been shown to perform different types of state-of-the-art machine learning (ML) techniques in different use cases, with computer vision being one of the pioneering examples, allowing computational models with multiple interconnected layers to learn and represent data at different levels of abstraction while capturing intricate large amounts of data. DL is a combination and juxtaposition of methods including neural networks, hierarchical probabilistic models, and a variety of unsupervised and supervised feature learning algorithms [18, 19]. Based on the current state of research in the field of defect detection in various additive manufacturing processes, a concept for real-time process monitoring in PBF-LB/P has been developed which is shown in Fig. 1. On the one hand, this concept includes in-situ defect or fault detection, which is the core topic of this thesis, where all suitable sensor concepts discussed in scientific studies as well as possible faults are defined. On the other hand, this concept also includes the interfaces and constant interaction with the parameters responsible 1 <u>Introduction</u> for the defect and the derivation of appropriate countermeasures, as well as continuous in-situ control to modulate process inputs based on measurements, but these two areas were only presented as a possible concept to obtain an overall view but were not further developed in the context of this study. Fig. 1 Concept for in-situ defect or fault detection. The core topic of this thesis is the development and implementation of different sensor concepts in an EOS PBF-LB/P system to detect different artificially induced defects in the process and consequently generate data sets to train convolutional neural networks (CNN). The CNN can then independently identify these defects in real time during the process, defining exactly when which defect occurred in which layer and deriving follow-up actions. The predictions made by the CNN were again confirmed using both additional sensor technology and gradient-weighted class activation mapping (Grad-CAM). 2 <u>Introduction - Problem</u> #### 1.1 Problem The problem addressed in this thesis is made up of several sub-areas and can be structured as follows: 1. The defects themselves, which can occur both on components and in the powder bed during the polyamide sintering process, are partly related to complex, uncontrollable processes within the build chamber and remain an intractable problem. Thermal inconsistencies in the build chamber of the laser-sintering system lead to differences in the mechanical properties of parts depending on where they are located in the powder bed. This variation in powder bed temperature is still one of the main system issues to be discussed in AM, as can be seen in Fig. 2 [20]. Fig. 2 Temperature distribution on an EOS P390 machine using PA12 powder [20]. The uneven distribution shows that it is not only the position and orientation that affect the quality of the component, but also, of course, the size of the component. Although scientific studies have shown that anisotropy is virtually negligible in the quasi-static load range of additively manufactured PA12 components, it is still an issue at high strain rates due to the low shear strength between the layers [21, 22]. Another critical factor in the development of defects is the nature of the polyamide powder in combination and interaction with the energy input from the laser. Looking at the change in melting behaviour of used and refreshed powder with successive build cycles using differential scanning calorimetry (DSC) measurements, it quickly becomes apparent that the powder refreshed with old powder helps to increase the melting temperature (Tm) and reduce the powder flow [1] as can be seen in Fig. 3. 3 <u>Introduction - Problem</u> Fig. 3 DSC of Tm of a) used and b) refreshed PA12 powder [1]. All these and other factors such as laser power, hatching strategy, preheating temperature, scan spacing, scan speed and layer thickness [23–25] should remain unchanged for a fully reproducible result with consistent part quality, which is simply impossible. In order to be able to investigate this, the most common defects in the powder bed, known as curling and part shifting, have been defined and further investigated for the purposes of this thesis. Curling, an in-process phenomenon that mainly affects the first few layers of the part, is caused by stress due to temperature gradients, resulting in lifting of the part from the powder bed [13] as can be seen in Fig. 4. Fig. 4 Curling phenomenon after applying a new layer of powder, the lift-off from the powder bed in the edge areas is clearly recognizable. If this happens at an early stage, when a new layer of powder is being applied by the coating blade, it can cause part shifting', where small parts are torn out of the powder bed and damage the surface of the powder bed or other parts. If this happens at a later stage and larger components that are further along in the production process are torn out of the powder bed, this will result in a total process failure, with all components having to be discarded and the entire production process restarted. This is a huge loss of time as the machine has to be completely cleaned and brought back to operating temperature. 4 <u>Introduction - Problem</u> 2. To detect these defects during the process with suitable sensor technology requires both mechanical intervention in the machine and in the process itself, which leads to the next problem. All commercially available PBF systems form a completely closed system that does not allow access to the machine and relevant process parameters. To be precise, the software is the biggest obstacle here, because all the parameters listed in the previous section that influence both the process and the final part quality are not visible and cannot be changed in the software. It is possible to select different hatching strategies in the software to adapt to certain part geometries, for example to create thicker outer contours or to adjust the order of outer and inner exposure, but it is not clear exactly which detail parameters are adjusted and how. The PBF-LB/P system FORMIGA P 110 from EOS is a commercially available laser sintering system for polyamides and is used for the investigations in this thesis. The build chamber has a continuous operating temperature of around 170°C to minimize the energy input of the laser and to avoid distortion of the parts due to temperature differences. The build chamber is also completely flushed with N2 to prevent oxidation and to remove process by-products to limit any further interaction between them and the laser beam [26]. In addition to these limiting factors, there is no possibility provided by the manufacturer to penetrate the machine housing optically or mechanically as this forms a closed protective atmosphere inside, except for a small inspection hatch in the area of the laser and the normal viewing window to be able to observe and assess the process progress [27]. These specifications are the key requirements for the selection of suitable sensor systems, which must be able to detect the artificially generated defects, be permanently integrated into the machine and also provide suitable data to be processed using deep learning. All of this is required to achieve targeted and sustainable process monitoring in PBF-LB/P. 3. Having defined the defects that can be studied in more detail in this thesis and reproducibly simulated by intervening in the PBF-LB/P system, the selection and integration of suitable sensors to detect the defects remains a major question mark. This leads to many unresolved issues such as the following: - What sensor technology is actually capable of detecting the defects? - Is this technology even available or can it be accessed as part of this thesis? - Are there studies and empirical values available? - Can the entire powder bed be covered to achieve maximum efficiency? - Is it possible to install the sensor outside or even inside the installation space? - Can it remain there for the entire duration of the process over several hours without being damaged by the process environment? - What output data does the sensor provide? - How is the data processed? - What CNN is used and can it process the sensor data at all? - How is the whole interface set up so that, once the CNN has been trained, it can continue to detect failures in real time? 5 <u>Introduction - Problem</u> - How can CNN's predictions be evaluated and their accuracy confirmed? Many studies in this area of research have been reviewed to provide an information base on which to build further. Thermal imaging technology has been used in a number of studies to investigate and monitor the PBF-LB/P process in general [28, 29], but in particular to describe laserinduced temperature fields [30] and hatching strategies [31], to improve temperature uniformity [32] and to establish correlations with mechanical properties [33]. But no further information was given about the actual detection of curling in PBF-LB/P using a thermal imaging camera and CNN. The laser profilometry described in this thesis has already been used in a study to measure the powder bed in PBF-LB/P [13], but after consultation with the author it became clear that it was only possible to measure small sections and not the entire powder bed, and that the assembly of the system in the installation space was not practical in the long term due to the complex cooled housing. There have been previous attempts to use camera systems in combination with deep learning to detect defects in the PBF-LB/P, but these camera systems have always been placed outside the machine [34, 35] and/or have only been able to capture partial areas of the powder bed [36, 37], which makes permanent use for process monitoring not particularly practical. In addition, they did not provide relevant information for sustained and reproducible defect simulation. Other sensor concepts that have been discussed in studies to investigate or monitor the additive manufacturing process in general [38–41] were analyzed but discarded as not specifically suitable for this process [42–44]. Concepts for process monitoring using deep learning in the field of metal powder bed fusion were also considered and correlated [45–47]. 6 <u>Introduction - Objectives</u> #### 1.2 Objectives The aim of this work was to research and develop machine learning based approaches for monitoring the process of laser based powder bed fusion of polymers. Specifically, the realtime in-situ detection of defects that can significantly affect or even stop the manufacturing process, as well as degrade component quality. One of the key requirements for achieving the highest possible efficiency was to cover the entire surface of the powder bed. The objectives were regularly adjusted according to the interim results achieved, resulting in the following chronology: - In order to be able to measure defects in the powder bed, they first have to occur, and since this occurs only sporadically and at unpredictable intervals during a regular process, this is already the first obstacle. In principle, defects in the PBF-LB process of both polymeric and metallic materials can be categorized into powder-related defects, process-related defects and anomalies, and post-processing related defects [48–50], with the focus and objective of this work being on the process-related defects. As described in the introduction, both curling and part displacement were defined as the main areas of investigation, and these two phenomena are directly related, as part displacement is largely caused by curled parts being displaced on the surface of the powder bed as the coater blade applies a new layer of powder [51]. Methods had to be developed to simulate these defects in a reproducible and, above all, sustainable way, without interrupting the process or damaging the machine. - Once it was possible to simulate the defined defects, the next step was to evaluate an initial sensor concept to see if it was possible to detect these defects and then use deep learning to highlight them in real time. As mentioned above, various sensors for monitoring this process have been discussed in previous scientific studies. The most accessible approach in this case was the use of a thermal imaging camera [52–55]. This technology allows the visual representation and evaluation of temperature distributions. However, in the use cases described, the primary aim was to illustrate and analyze various sequences and interrelationships within the process, rather than to identify specific curling defects. Based on the results of this first sensor iteration, further concepts were to be evaluated and integrated in order to confirm the visual results of the thermal imaging with laser profilometry and to test other, more affordable sensors to enable wider accessibility in continuous process monitoring. It was important to confirm all the results using an iterative approach and to simplify the whole system step by step to show that permanent process control is possible. - However, sensor data alone is not sufficient to monitor the process automatically, as it would require real-time evaluation with human supervision. This is where deep learning technology comes in, learning from the large amounts of sensor data generated to predict anomalies in the powder bed of the laser-sintering system. DL has gradually become the most widely used computational approach in ML, achieving excellent results on various complex cognitive tasks [56–58], with its most commonly used algorithm, the convolutional neural network, that is able to automatically identify and analyze features. [59]. The powder bed fusion process provides a unique basis for process monitoring using CNN, as each layer of the component can be effectively monitored during 7 <u>Introduction - Objectives</u> production [60, 61]. The objectives for the use of CNN were gradually adapted during the progress of the thesis, as it was initially important to investigate which algorithm was suitable for this task, what data was required to train the CNN, and how the frames were labelled as defect and defect-free to enable supervised learning of the network. This then evolved into a fully automated system, in which it was possible to automatically label frames with defects in the powder bed using input signals from the artificial defect generation via appropriate interfaces. Other scientific studies have already shown that it is possible to detect defects in PBFLB/P with an accuracy of up to 95.8% [36]. However, it was not only important to achieve the highest possible accuracy in predicting errors, but also to understand the whole system and be able to use Grad-CAM to show the facts on which the CNN based its decision. Grad-CAM is a class-discriminative localization technique that makes any convolutional neural network model more transparent by providing visual explanations [62]. 8 <u>Introduction - Methodology</u> #### 1.3 Methodology The present work was carried out using a range of empirical research methods to shed light on the underlying scientific question. These ranged from basic research to applied experiments in the field. As a starting point, an extensive literature review was carried out to determine the current state of research in both powder bed fusion of polymers and metallic materials, in order to identify possible synergies between the processing of the two powders, as the manufacturing process has many similarities. Overlaps between the sensors used and the DL algorithms were also identified in the area of process monitoring. The literature has been kept up to date throughout the duration of this work, as this is a very dynamic field of research with a high demand and new results and findings being presented regularly. In this thesis, several different sensors were investigated for their suitability for use in the given environmental conditions and the data was processed using different CNN structures. PBF-LB/P system An EOS FORMIGA P 110 selective laser sintering system was used for all the experimental trials in this thesis. The PBF-LB/P system uses a 30 W CO2 laser with a wavelength of 10.6 µm to fuse the powder particles on the powder bed. PA12 (PA 2200) was used as the high performance nylon throughout this study. The system is capable of scanning at speeds of up to 5 m/s within an exposed area (xy) of 200 mm x 250 mm, fusing a minimum of 50 µm and a maximum of 200 µm. The maximum part height (z) is 330 mm. The parameter setup included a layer thickness of 100 µm and a standard, non-adjusted laser scan speed and hatch spacing according to the EOS standard exposure strategy. In order to maintain a constant process temperature according to the DSC curve, the process chambers in the upper mounting space and the lower unloading chamber are both heated by separate built-in process heaters. Methods for artificial defect generation To create artificial curling defects, the default process temperature of 167°C was manually reduced. A 3% reduction to 162°C showed the first warping effects. The intensity was then slightly increased by manually stopping the process and extending the cooling time of the layer. Further parameter adjustments during the sintering process are prevented by restricted access to the operating software. Standard calibration parts were used, consisting of five stacked cross sections of 50 mm x 50 mm. The cross sections are connected by conical structures with a total height of 14.5 mm. The parts are normally used to check the standard parameters of the sintering process. To effectively simulate part displacement on the powder bed surface, a mechanical assembly was developed that was mounted on the coater blade and could be activated externally outside the machine. In order to avoid damaging the machine, the activation of this defect simulation could only take place when the coater blade was in a certain area of the powder bed. To define the end positions of the blade, two limit switches were fitted to the actuator cylinder inside the machine, which in turn provided an input signal to the Rasberry Pi. Within this time window, the coating defect can then be randomly simulated, controlled by a Raspberry Pi. The number of new layers after which the defect occurs can also be randomized. The mechanical actuation of the defect on the powder bed surface was achieved using components made from 9 <u>Introduction - Methodology</u> stereolithography-produced high temperature material mounted on the coating blade to withstand temperatures of up to 170 °C during the ongoing sintering process. This mechanical design includes a lever structure that can be operated from outside the machine via mechanical Bowden cables driven by stepper motors. When the system is then activated during the application of a new layer of powder, contact is made with the powder bed surface and an artificially induced coating defect is created. In this study, a needle was used to simulate particle drag and part displacement of small components. The intensity of the defect can then be individually adjusted depending on the depth of penetration into the powder. Sensor concepts for defect detection A FLIR T420 infrared camera was used to capture the temperature distribution on the powder bed surface of the PBF-LB/P system. The camera provides real-time thermal imaging with a resolution of 320 x 240 pixels, 30 frames per second and a 25° field of view. Installation outside the process chamber was unavoidable for a number of reasons including camera dimensions, a minimum focus distance of 400mm and process temperature. In order to capture the entire surface of the powder bed in the installation space, to avoid geometric distortion and to take into account the above parameters, the camera was mounted centrally in the upper inspection window of the PBF-LB/P system. A calcium fluoride (CaF2) optical window was installed to separate the camera from the actual inspection area. In the actual spectral range, the transmittance of CaF2 is more than 90%. To prevent coating effects on the optical window caused by vaporization of powder particles during laser exposure, a nitrogen (N2) flush was implemented by branching a separate line at the integrated nitrogen generator. In addition, a PT100 thermocouple was fitted to the thermal imaging camera to monitor the temperature during the process to ensure that the camera was not damaged by overheating. The emissivity of the PA12 powder was calibrated by matching the temperature reading from the built-in pyrometer with the thermal imaging reading. According to [63] an emissivity of 0.85 was defined for PA12, which confirmed the correct temperature values. The temperature values cannot be quantitatively determined during the phase transition between powder, solid and melt due to a significant change in emissivity [64]. In order to measure the powder bed in three dimensions, a Keyence LJ-X8400 industrial laser profilometry system (Osaka, Japan), including an LJ-X8000E controller, was mounted outside the installation space and moved linearly along the process window by means of a linear unit. To avoid image distortion, the EOS machine's curved protective plastic window was removed. The remaining planar laser protection glass is dimensioned for wavelengths of 10.20 µm - 10.80 µm and therefore does not interfere with the linear profiling laser operating at a wavelength of 405 nm. Preliminary tests have shown that the laser protection glass does not affect the profilometry results. Mounting the profilometry sensor at a distance from the powder bed has two main advantages: no cooling is required and the entire powder bed surface can be covered in the x and y directions. The increased distance from the powder bed surface results in a reduction in resolution in the y-direction, but was considered negligible due to the focus on vertical absolute data. Encoding was performed by the linear unit, resulting in 25,000 profile steps with a powder bed width of 250 mm and an encoder resolution of 10 µm (x). The laser profilometer system provides a vertical resolution of 5 µm. Further parameters of the laser profilometer are summarized in Table 1. 10 <u>Introduction - Methodology</u> <u>Table 1</u> <u>: Parameters of Keyence LJ-X8400 laser profilometer</u> Reference distance 380 mm Measuring range in z-direction +96 to -220 mm Measuring range in x-direction 320 mm at far side Laser wavelength 405 nm Spot size 275 mm × 249 µm Linearity ±0.035% <u>Profile data interval</u> <u>50 µm</u> Based on the comparison of different camera systems, it was decided to use the Raspberry Pi Camera Module 2 for further investigation in this study. This HD camera module uses a Sony IMX219 sensor with 3280 × 2464 pixels and a maximum frame rate of 30 fps. However, this inexpensive and readily available model has an operating temperature range of -20°C to only 60°C, which in turn raises initial considerations for a cooling option within the device, as the temperature during the ongoing production process is consistently above 170°C. The components for the cooled camera housing were produced on a stereolithography system using a high-temperature polymer. When cured, the resin can withstand sustained temperatures of just over 200°C. The camera window is a 20 × 20 × 0.13 mm piece of glass bonded with hightemperature silicone. An additional line was installed on the N2 generator and routed into the machine's build chamber. This leads into the body of the camera housing so that the camera is cooled throughout. The N2 then exits the other side of the housing and is returned to the housing via an additional line to flush the glass with an air knife. Deep computer vision using Convolutional Neural Networks The extracted frames of the thermal recordings were manually classified into correct and incorrect parts to train the algorithm. After correcting for some imbalance in the amount of data, both classes were divided into a ratio of 80% training, 10% evaluation and 10% test data. A total of 100,000 frames were processed. A VGG-16 (Visual Geometry Group) Convolutional Neural Network (CNN) architecture was implemented to predict failures in the thermal images. VGG-16 CNN enables state-of-the-art large-scale image recognition for deep visual representations in computer vision [65]. Different datasets including single cross geometry, multi-geometry and patches of multi-geometry were used for training and evaluation. Data preparation was done by down-sampling to avoid imbalance of the datasets, removing unidentifiable frames and removing duplicates. The input frames were converted to 224 x 224 pixels with (RGB) channels. A series of convolutional layers are then applied. These convolutions have a kernel size of 3x3 and 1x1 to apply a linear transformation to the output channels. After the convolutions, max pooling and padding are used to preserve spatial resolution. The last three layers are fully connected and the output layer contains a single unit (binary classification) including a sigmoid activation function [65]. The following hyperparameters were used: binary cross-entropy cost function, 10-3 learning rate, Adam optimizer (ß1=0.9, ß2=0.999), 100 epochs and early termination with patience=20. Mini-batch learning was used (batch size: 64). To evaluate the predictions made by the VGG-16, the GradCAM heat map was rendered from every frame. 11 <u>Introduction - Methodology</u> The input signal from the artificial defect generation allowed the labelling of the frames to be automated and thus the training data sets to be generated. The basic model architecture of the CNN starts with a Conv2D convolutional layer using 32 filters and the ReLu activation function, followed by a MaxPooling2D layer for non-linear down-sampling. This is followed by two more such layer pairs and a flattening layer to transform the pooled feature map. The single column output from the transformation is then transferred to the final fully connected layers for high-level inference on the extracted features using ReLu activation. A softmax activation function is used by the final dense layer of the base model to generate a two-class probability distribution. The basic architecture was then gradually adapted and extended to achieve continuous performance improvements. To avoid class imbalance, the weighted crossentropy loss function was added. In a first step, the standard cross-entropy values were calculated, followed by the extraction of each class label, resulting in the output of the highest value on the tensor axis. The (predefined) weights are then determined according to the class labels. The predefined weights provide the ability to highlight classes during training. The next step was to add learning rate scheduling to the model architecture. The final adjustment to the model architecture was the introduction of a Sobel filter. In order to assess the actual usability of the custom CNN used, a random comparison of the original frames with the Grad-CAM heat maps was again performed. Software Sensor data was recorded and analyzed using sensor-specific software tools. The FLIR Tools+ program was used for the thermal images. Laser triangulation was analyzed using the Keyence software tool suitable for the LJ-X8000 series. The implementation and evaluation of deep learning was carried out using Python with the help of various tools and libraries such as Sciki-Learn, Keras and Tensorflow, which were also used to prepare the data for further processing by CNN. 12 <u>Introduction - Summary of the scientific essays</u> #### 1.4 Summary of the scientific essays The following publications can essentially be described as chronologically and scientifically building on one another. These include numerous experiments to investigate the simulation of artificially generated defects in the PBF-LB/P process, the ability to use various sensors to detect these defects, and the automation of process monitoring using convolutional neural networks. As neural networks are highly complex and often difficult to understand algorithmic constructs, one of the main aims of this thesis was to present the decisions of these artificial networks in the best possible and, above all, comprehensible way. A deep learning approach for real time process monitoring and curling defect detection in selective laser sintering by infrared thermography and convolutional neural networks The focus of the first publication was to evaluate which sensor technology is suitable for monitoring the process and which CNN can best process this data, as there are significant differences in the number of parameters of such a neural network [36, 66]. By adapting the machine and installing the FLIR thermal imaging camera outside the installation space, it was possible to visualize temperature fields and curves during the sintering process over the entire powder bed surface. Targeted manipulation of the process resulted in clear curling effects at the edges of the components, which were also visible to the human eye. At the same time, the temperature curves from the thermal camera were analyzed and also showed a clear match when the temperature range was narrowed down, demonstrating that this defect can be detected by thermal imaging, as shown in Fig. 5. (a) (b) Fig. 5 Visible curling effects (a), (b) at the edges of the components at the thermal recordings. Frames were then extracted from the video sequences of the thermal images and manually labelled as defect and non-defect, and the datasets were used as the basis for training the CNN. The correct processing of the training data is one of the key elements in the accuracy of the 13 <u>Introduction - Summary of the scientific essays</u> CNN's predictions [67]. However, due to the manual effort involved in labelling the data, it was determined that this process would need to be automated for later iterations. Several neural networks have been trained and the results compared to see which network can best handle this type of data and make the most accurate predictions. The VGG-16 network showed the best performance and accuracy behavior during the training epochs on training and validation data, achieving an average failure detecting accuracy of 98,54%. To evaluate the predictions made by the VGG-16, the Grad-CAM heat map was rendered from each frame, showing that the curled areas are clearly highlighted in the Grad-CAM heat map and the activation is limited to the curled edges. The results were ready for publication after a year, and at the same time, initial considerations were made as to how the predictions of the neural network could be verified geometrically, to prove their correctness and bring together thermal imaging and 3D topological data. In-situ analysis of curling defects in powder bed fusion of polyamide by simultaneous application of laser profilometry and thermal imaging Based on the results of the first publication, a further powder bed measurement and analysis concept was evaluated and implemented. However, due to the high temperatures of the process environment, it is very difficult to fit suitable sensors into the installation space as a linear transformation is required to scan the powder bed surface. Targeted manipulation of the process resulted in clear curling effects at the edges of the components, which in turn were demonstrably visible again in the thermal image. At the same time, a laser profilometer was moved outside the machine along the laser safety glass using a linear unit. The surface data of the powder bed surface was then generated using 3D topology, contrast shape detection and greyscale visualization. The 3D topology provides structural data of the current process quality by aligning two-dimensional profile sections to create a height map of the powder bed surface. In addition, maximum height values in the positive z-direction are automatically marked by the system. The powder bed surface was measured simultaneously by laser triangulation and thermal imaging 12 seconds after recoating in an ongoing process when curling was visible to the human eye. In addition to the post-coating measurements, further height maps and associated thermal images were evaluated after laser exposure to confirm that curling can occur at any stage of the process, even in addition to the visible melt depth in the pre-coating state after laser exposure. The results measured using different powder bed conditions were compared with corresponding thermographic data to demonstrate the thermal visibility of curling and the influence of inhomogeneous temperature distribution on geometric powder surface defects. The actual curling process could be displayed and analyzed using the profile sections from the topology. Looking at the overall project environment and comparing the results with those of the previous publication, it was also possible to show that thermography is suitable for detecting this type of defect in the powder bed melting of polymers and that the CNN predictions were clearly correct. In this case, another year passed between conception and publication. 14 <u>Introduction - Summary of the scientific essays</u> Real-Time Optical Detection of Artificial Coating Defects in PBF-LB/P Using a Low- Cost Camera Solution and Convolutional Neural Networks In the final section, the results of the previous studies on defect detection and simulation were summarized in order to develop a further system for process monitoring using sensors in combination with CNC. In summary, while these sensor technologies can be used for this purpose, they are not an economical solution due to their high complexity, high cost and the time consuming and complex calibration and assembly processes. In order to avoid these disadvantages, a concept has been developed that is both compact and able to remain permanently in the machine, and that is able to detect various defects in the powder bed in real time using CNN. As previous studies have shown, the artificial creation of defects in powder bed fusion is severely limited by the ability to manipulate process parameters, so new ways have been found to simulate these defects and further investigate their effects on the process. This new method would allow the process to be influenced in an independent mechanical way without causing a process stoppage. A mechanical assembly was developed and mounted on the coater blade, which penetrates the powder bed to a defined depth in a reproducible manner via an external actuator system. The use of a CNN allows automated detection and segmentation of objects by learning spatial hierarchies of features from low to high level patterns. In this case, an internally cooled RGB camera solution based on a Raspberry Pi Camera Module 2 was used to generate the data for training a CNN. The results of this study show that with the implemented method of artificially generating coating defects, a large dataset of defect-free and defective frames could be generated to successfully train a custom CNN for classification with very high accuracy. It took about a year of research work from the conception to the actual publication of the results. In summary, this thesis has implemented several concepts for process monitoring on the PBF-LB/P and evaluated their suitability for use in iterative test series. Deep learning computer vision technology has demonstrated its ability to monitor industrial processes without human intervention. However, it should be emphasized that this approach has been adapted to the current PBF-LB/P system and that, from today's perspective, it is not possible to say how the CNN would react if a different additive manufacturing technology were used and whether the high defect detection rate could then be maintained. 15 <u>Introduction – Scientific contribution</u> #### 1.5 Scientific contribution All experiments were performed on a stationary PBF-LB/P system from EOS (FORMIGA P 110). In the course of this dissertation, different approaches for real-time and insitu defect detection during the running process were carried out, where different sensor concepts and data evaluation with deep learning were investigated in more detail. The scientific results can be summarized as follows: Understanding and simulating the formation of defects in the powder bed: - Adapting the process by reducing the temperature by 3% from 167°C to 162°C and iteratively extending the cooling time of the layer, which is usually related to the internal exposure strategy, allowed the simulation of curling at different intensity levels and at different process stages. Curling phenomenon occurs not only after the application of a new layer of polymer powder, but also after laser exposure, including the visible melt depth. - A transition area between merged build parts and the surrounding powder is proven according to the results. Within this transition area, non-related powder particles are partially molten and stick to the components due to heat conduction. - It has been demonstrated that the method proposed in the third publication can be used to simulate further defects in the powder bed by mechanical intrusion, such as part shifting and particle drag, without affecting the process parameters or the ongoing process itself. Implementation of various sensor technologies to detect defects and measure the surface of the powder bed: - It has been demonstrated that curling defects in PBF-LB/P can be visualized in real time using thermal imaging technology. The defects were visible on the thermal image both after coating and after laser exposure due to the extended cooling time of the layer. Uneven temperature distribution across the surface of the powder bed, visible in the thermal image, results in different degrees of curling depending on the position. Visibility of the curling defect and associated temperature fields at coated and uncoated areas of the parts demonstrated that thermal conductivity changes during the powderto-solid phase transition. - It has been shown that it is possible to produce 3D height maps highlighting structural defects by measuring the entire powder bed surface within the installation space by linear translation of a laser profilometer outside the machine. Correlations between thermal distributions and the influence on metrics such as powder layer quality, curling height and associated melt depth were revealed by collecting data on structure height maps. By considering both sets of data, an exact match between the curling locations on the thermal images and on the 3D topology maps was confirmed, further establishing the verifiable detection of curl defects by thermal imaging. 16 <u>Introduction – Scientific contribution</u> - Evaluation of the profile sections in the xz-plane revealed the exact progression of the curling height in relation to the powder bed surface. The effective curling height (ECH) after laser exposure was verified as the sum of the actual height of part lifting and the additional height of adherent partly molten powder particles at the transition area. Other effects have been proven by laser profilometry, such as measured distortion of the part center in the negative z direction. - It has been shown that an RGB camera can be permanently positioned in the process chamber to monitor the process in real time, with a suitable cooling concept and lens flushing. Real-time defect detection through the implementation of CNN: - Using extracted thermal images as input data, CNN proved to be a useful and effective method for detecting visible defects in the PBF-LB/P process without human intervention. The VGG-10 network performed best on the thermal image datasets, achieving an average defect detection accuracy of 98.54%. Other CNNs compared, such as Xception and ResNet50, also performed very well on the thermal training data, but poorly on the test set with an accuracy of only 16.6%. Comparison of the generalization performance of different networks on thermal image datasets showed a clear double descent effect due to the different number of parameters. - Rendering the Grad-CAM heat map from each frame confirmed the predictions made by the CNN on the thermal data and confirmed that the VGG-16 CNN is indeed able to detect the defects and not just temperature differences on the powder bed surface. GradCAM was also confirmed as an effective method of visualizing the predictions made by the CNN on the data provided by the RGB camera. - The custom CNN can even detect the artificially generated defects with over 99% accuracy using extracted frames from the RGB camera as input. A continuous increase in accuracy was observed by tuning the hyperparameters and by adding and combining previously presented functions. Automatic labelling of data can significantly improve efficiency. - It was clearly shown that it is not necessary to use a particularly high-resolution industrial camera system for monitoring, as long as the camera is positioned in the right place, the interfaces for data transfer are correctly defined and the CNN architecture is properly designed. 17 <u>Introduction – Conclusions and outlook</u> #### 1.6 Conclusions and outlook This study demonstrated the successful implementation of process monitoring in the powder bed fusion of polymers, while still exhibiting limitations by restricted real-time intrusion into process parameters. It has once again demonstrated and confirmed that the application of deep learning is suitable for monitoring industrial processes and providing data that can then be used in further steps to actively intervene in the process. Once again, deep learning computer vision technology has demonstrated its ability to monitor industrial processes without human intervention. However, it should be emphasized that these approaches have been adapted to the current PBF-LB/P system and that, from today’s perspective, it is not possible to say how the CNN iterations would react if a different additive manufacturing technology were used and whether the high error detection rate could then be maintained. It would be useful to further investigate the use of deep learning to monitor the ongoing process, including additional data such as physical influences or recordings of other AM processes, to compare defect detection results, or possibly to implement online parameter optimization. The next step would be to implement a complete process monitoring system to define the parameters responsible for the failure and derive appropriate countermeasures, and to continuously interact with the in-situ process control to modify the process inputs based on the measurements. However, this would require intervention in the machine parameters, such as active control of temperature or exposure strategies, which was not part of this study. The results can also be used for future profound investigations of sub-processes regarding crystallization behavior, the influence of hatching strategies, and cooling rates of the powder cake. Recent studies [68] show that additive manufacturing is the largest area of research in machine learning applications after general manufacturing, highlighting the growing importance of predictive process control, which is essential for quality assurance and the dynamic adaptability of production lines to meet stringent quality standards and evolving consumer demands. In particular, it highlights the critical role of predictive algorithms in navigating the complexities of process variability to ensure consistent part quality. The ability to predict process quality degradation before it occurs, optimize resource allocation and identify production bottlenecks before they affect production will be critical. These developments in predictive process control are essential to lead the manufacturing industry into a more agile, sustainable and customer-centric future. 18 <u>List of references</u> ## List of references [1] B. Sanders, E. Cant, and M. Jenkins, “Re-use of polyamide-12 in powder bed fusion and its effect on process-relevant powder characteristics and final part properties,” _Additive Manufacturing_, vol. 80, p. 103961, 2024. doi: 10.1016/j.addma.2024.103961. [2] O. Abdulhameed, A. Al-Ahmari, W. Ameen, and S. H. Mian, “Additive manufacturing: Challenges, trends, and applications,” _Advances in Mechanical Engineering_, vol. 11, no. 2, 168781401882288, 2019, doi: 10.1177/1687814018822880. [3] D. R. Eyers and A. T. Potter, “[Duplikat] Industrial Additive Manufacturing: A manufacturing systems perspective,” _Computers in Industry_, vol. 92-93, pp. 208–218, 2017. doi: 10.1016/j.compind.2017.08.002. [4] I. M. Kusoglu, C. Doñate-Buendía, S. Barcikowski, and B. Gökce, “Laser Powder Bed Fusion of Polymers: Quantitative Research Direction Indices,” _Materials (Basel, Switzerland)_, early access. doi: 10.3390/ma14051169. [5] J. Breuninger, R. Becker, A. Wolf, S. Rommel, and A. Verl, Eds. _Generative Fertigung mit_ _Kunststoffen_ . Berlin, Heidelberg: Springer Berlin Heidelberg, 2013. [6] A. Gebhardt, _Generative Fertigungsverfahren: Additive Manufacturing und 3D Drucken für_ _Prototyping - Tooling - Produktion,_ 4th ed. München: Hanser; Ciando, 2013. [7] M. Schmid, Ed. _Laser sintering with plastics: Technology, processes, and materials_ . München, Hanser, Cincinnati, Ohio: Hanser Publications, 2018. [8] S. A. Tofail, E. P. Koumoulos, A. Bandyopadhyay, S. Bose, L. O’Donoghue, and C. Charitidis, “Additive manufacturing: scientific and technological challenges, market uptake and opportunities,” _Materials Today_, vol. 21, no. 1, pp. 22–37, 2018. doi: 10.1016/j.mattod.2017.07.001. [9] K. Kardos _et al.,_ “Surface disinfection change the mechanical, structural and biological properties of flexible materials used for additive manufacturing of medical devices,” _Materials &_ _Design_, vol. 237, p. 112616, 2024. doi: 10.1016/j.matdes.2023.112616. [10] S. B. Khan, S. Chen, and X. Sun, “Advancements in polymer nanocomposite manufacturing: revolutionizing medical breakthroughs via additive manufacturing,” _Polym. Bull._, vol. 81, no. 11, pp. 9465–9517, 2024. doi: 10.1007/s00289-024-05154-8. [11] S. C. Altıparmak and B. Xiao, “A market assessment of additive manufacturing potential for the aerospace industry,” _Journal of Manufacturing Processes_, vol. 68, pp. 728–738, 2021. doi: 10.1016/j.jmapro.2021.05.072. [12] L. P. Mocanu, C. Bellini, F. Berto, V. Di Cocco, F. Iacoviello, and N. Razavi, “8 - Defects in additive manufacturing and their influence on structural integrity,” in _Fatigue in Additive Manufactured_ _Metals_ (Additive Manufacturing Materials and Technologies Series), F. Berto, Ed., 1 <sup>st</sup> ed. San Diego: Elsevier, 2024, pp. 181–213. [13] F. Sillani, E. MacDonald, J. Villela, M. Schmid, and K. Wegener, “[Duplikat] In-situ monitoring of powder bed fusion of polymers using laser profilometry,” _Additive Manufacturing_, vol. 59, p. 103074, 2022. doi: 10.1016/j.addma.2022.103074. [14] L. Xiao, M. Lu, and H. Huang, “[Duplikat] Detection of powder bed defects in selective laser sintering using convolutional neural network,” _Int J Adv Manuf Technol_, vol. 107, 5-6, pp. 2485– 2496, 2020. doi: 10.1007/s00170-020-05205-0. [15] B. Zhang, Y. Li, and Q. Bai, “Defect Formation Mechanisms in Selective Laser Melting: A Review,” _Chin. J. Mech. Eng._, vol. 30, no. 3, pp. 515–527, 2017, doi: 10.1007/s10033-017-0121-5. [16] Q. Y. Lu and C. H. Wong, “Applications of non-destructive testing techniques for post-process control of additively manufactured parts,” _Virtual and Physical Prototyping_, vol. 12, no. 4, pp. 301–321, 2017, doi: 10.1080/17452759.2017.1357319. [17] V. Shanmugam _et al.,_ “The mechanical testing and performance analysis of polymer-fibre 19 <u>List of references</u> composites prepared through the additive manufacturing,” _Polymer Testing_, vol. 93, p. 106925, 2021. doi: 10.1016/j.polymertesting.2020.106925. [18] A. Voulodimos, N. Doulamis, A. Doulamis, and E. Protopapadakis, “Deep Learning for Computer Vision: A Brief Review,” _Computational Intelligence and Neuroscience_, early access. doi: 10.1155/2018/7068349. [19] J. Yang, S. Li, Z. Wang, H. Dong, J. Wang, and S. Tang, “Using Deep Learning to Detect Defects in Manufacturing: A Comprehensive Survey and Current Challenges,” _Materials_, early access. doi: 10.3390/ma13245755. [20] R. D. Goodridge, C. J. Tuck, and R. Hague, “Laser sintering of polyamides and other polymers,” _Progress in Materials Science_, vol. 57, no. 2, pp. 229–267, 2012. doi: 10.1016/j.pmatsci.2011.04.001. [21] M.-A. de Pastre, Y. Quinsat, and C. Lartigue, “Effects of additive manufacturing processes on part defects and properties: a classification review,” _Int J Interact Des Manuf_, vol. 16, no. 4, pp. 1471–1496, 2022. doi: 10.1007/s12008-022-00839-8. [22] J. J. Slager, B. C. Earp, and A. M. Ibrahim, “Influence of Build Orientation and Part Thickness on Tensile Properties of Polyamide 12 Parts Manufactured by Selective Laser Sintering,” _Polymers_, early access. doi: 10.3390/polym16162241. [23] A. El Magri, S. E. Bencaid, H. R. Vanaei, and S. Vaudreuil, “Effects of Laser Power and Hatch Orientation on Final Properties of PA12 Parts Produced by Selective Laser Sintering,” _Polymers_, early access. doi: 10.3390/polym14173674. [24] E. C. Hofland, I. Baran, and D. A. Wismeijer, “Correlation of Process Parameters with Mechanical Properties of Laser Sintered PA12 Parts,” _Advances in Materials Science and Engineering_, vol. 2017, no. 1, pp. 1–11, 2017. doi: 10.1155/2017/4953173. [25] R. Rodríguez-Aparicio, J. M. Alegre, W. Verbeeten, M. Lorenzo-Bañuelos, and I. I. Cuesta, “Methodology to predict mechanical properties of PA-12 lattice structures manufactured by powder bed fusion,” _Additive Manufacturing_, vol. 78, p. 103864, 2023. doi: 10.1016/j.addma.2023.103864. [26] C. Pauzon, E. Hryha, P. Forêt, and L. Nyborg, “Effect of argon and nitrogen atmospheres on the properties of stainless steel 316 L parts produced by laser-powder bed fusion,” _Materials &_ _Design_, vol. 179, p. 107873, 2019. doi: 10.1016/j.matdes.2019.107873. [27] _EOS Formiga P 110 Technical Description, EOS: Krailling, Germany, 2023_ . [28] J. Hofman and K. Wudy, “In situ process monitoring in laser-based powder bed fusion of polyamide 12 using thermal imaging,” _Int J Adv Manuf Technol_, vol. 122, 9-10, pp. 4127–4138, 2022. doi: 10.1007/s00170-022-10169-4. [29] A. Wegner and G. Witt, _Process monitoring in laser sintering using thermal imaging_, 2011. [30] S. Greiner, K. Wudy, A. Wörz, and D. Drummer, “Thermographic investigation of laser-induced temperature fields in selective laser beam melting of polymers,” _Optics & Laser Technology_, vol. 109, pp. 569–576, 2019, doi: 10.1016/j.optlastec.2018.08.010. [31] S. Greiner and D. Drummer, “Infrared monitoring of modified hatching strategies for laser sintering of polymers,” _Procedia CIRP_, vol. 94, pp. 89–94, 2020. doi: 10.1016/j.procir.2020.09.018. [32] T. Phillips, S. Fish, and J. Beaman, “Development of an automated laser control system for improving temperature uniformity and controlling component strength in selective laser sintering,” _Additive Manufacturing_, vol. 24, pp. 316–322, 2018. doi: 10.1016/j.addma.2018.10.016. [33] W. Walker Wroe, J. N. Gladstone, T. Phillips, S. Fish, J. J. Beaman, and A. B. McElroy, “In-situ thermal image correlation with mechanical properties of nylon-12 in SLS,” Mechanical Engineering Department, Cockrell School of Engineering, The University of Texas at Austin, Austin, TX. [34] S. Schlicht, A. Jaksch, and D. Drummer, “Inline Quality Control through Optical Deep Learning Based Porosity Determination for Powder Bed Fusion of Polymers,” _Polymers_, early access. doi: 10.3390/polym14050885. 20 <u>List of references</u> [35] E. Arslan, D. Unal, and O. Akgün, Eds., _Defect detection with image processing and deep learning_ _in polymer powder bed additive manufacturing systems_ (684 Pages / Journal of Additive Manufacturing Technologies, Vol. 2 No. 1 (2022): J AM Tech). Journal of Additive Manufacturing Technologies, 2023, doi: 10.18416/JAMTECH.2212684. [36] E. Westphal and H. Seitz, “A machine learning method for defect detection and visualization in selective laser sintering based on convolutional neural networks,” _Additive Manufacturing_, vol. 41, p. 101965, 2021, doi: 10.1016/j.addma.2021.101965. [37] L. Xiao, M. Lu, and H. Huang, “Detection of powder bed defects in selective laser sintering using convolutional neural network,” _Int J Adv Manuf Technol_, vol. 107, 5-6, pp. 2485–2496, 2020. doi: 10.1007/s00170-020-05205-0. [38] D. M. Sassaman, M. S. Ide, D. Kovar, and J. J. Beaman, “Design of an In-situ microscope for selective laser sintering,” _Additive Manufacturing Letters_, vol. 2, p. 100033, 2022. doi: 10.1016/j.addlet.2022.100033. [39] Le Tan Phuc and M. Seita, “A high-resolution and large field-of-view scanner for in-line characterization of powder bed defects during additive manufacturing,” _Materials & Design_, vol. 164, p. 107562, 2019. doi: 10.1016/j.matdes.2018.107562. [40] N. Southon, P. Stavroulakis, R. Goodridge, and R. Leach, “In-process measurement and monitoring of a polymer laser sintering powder bed with fringe projection,” _Materials & Design_, no. 157, 2018. [41] V. Pandiyan, R. Wróbel, R. A. Richter, M. Leparoux, C. Leinenbach, and S. Shevchik, “Monitoring of Laser Powder Bed Fusion process by bridging dissimilar process maps using deep learningbased domain adaptation on acoustic emissions,” _Additive Manufacturing_, vol. 80, p. 103974, 2024. doi: 10.1016/j.addma.2024.103974. [42] T. Baldacchini and R. Zadoyan, “In situ and real time monitoring of two-photon polymerization using broadband coherent anti-Stokes Raman scattering microscopy,” _Opt. Express, OE_, vol. 18, no. 18, pp. 19219–19231, 2010. doi: 10.1364/OE.18.019219. [43] L. Zhang, T. Phillips, A. Mok, D. Moser, and J. Beaman, “Automatic Laser Control System for Selective Laser Sintering,” _IEEE Trans. Ind. Inf._, vol. 15, no. 4, pp. 2177–2185, 2019, doi: 10.1109/TII.2018.2867007. [44] M. R. Gardner _et al.,_ “In situ process monitoring in selective laser sintering using optical coherence tomography,” _Optical engineering (Redondo Beach, Calif.)_, early access. doi: 10.1117/1.OE.57.4.041407. [45] H. Zhang, C. K. P. Vallabh, Y. Xiong, and X. Zhao, “A systematic study and framework of fringe projection profilometry with improved measurement performance for in-situ LPBF process monitoring,” _Measurement_, vol. 191, p. 110796, 2022. doi: 10.1016/j.measurement.2022.110796. [46] Y. Liu, L. Blunt, Z. Zhang, H. A. Rahman, F. Gao, and X. Jiang, “In-situ areal inspection of powder bed for electron beam fusion system based on fringe projection profilometry,” _Additive_ _Manufacturing_, vol. 31, p. 100940, 2020. doi: 10.1016/j.addma.2019.100940. [47] I. Zhirnov, N. Panahi, M. Åsberg, and P. Krakhmalev, “Process quality assessment with imaging and acoustic monitoring during Laser Powder Bed Fusion,” _Procedia CIRP_, vol. 111, pp. 363–367, 2022. doi: 10.1016/j.procir.2022.08.167. [48] A. Mostafaei _et al.,_ “Defects and anomalies in powder bed fusion metal additive manufacturing,” _Current Opinion in Solid State and Materials Science_, vol. 26, no. 2, p. 100974, 2022. doi: 10.1016/j.cossms.2021.100974. [49] Y. Xu, G. Quino, K. R. Ramakrishnan, and A. Pellegrino, “Effects of build orientation and strain rate on the tensile-shear behaviour of polyamide-12 manufactured via laser powder bed fusion,” _Materials & Design_, vol. 232, p. 112162, 2023. doi: 10.1016/j.matdes.2023.112162. [50] M. C. Brennan, J. S. Keist, and T. A. Palmer, “Defects in Metal Additive Manufacturing Processes,” _J. of Materi Eng and Perform_, vol. 30, no. 7, pp. 4808–4818, 2021. doi: 10.1007/s11665-021-05919-6. [51] N. Khan and A. Riccio, “A systematic review of design for additive manufacturing of aerospace 21 <u>List of references</u> lattice structures: Current trends and future directions,” _Progress in Aerospace Sciences_, vol. 149, p. 101021, 2024. doi: 10.1016/j.paerosci.2024.101021. [52] K. Zeng, D. Pal, and B. Stucker, _A Review of Thermal Analysis Methods in Laser Sintering and_ _Selective Laser Melting_ . University of Texas at Austin, 2012. [53] E. Tikhomirov, M. Åhlén, M. Strømme, and J. Lindh, “In situ thermal image analysis of selective laser sintering for oral dosage form manufacturing,” _Journal of Pharmaceutical and Biomedical_ _Analysis_, early access. doi: 10.1016/j.jpba.2023.115396. [54] F. Mulinge Mwania, M. Maringa, and J. van der Walt, “Analytical and numerical modelling of laser powder bed fusion (L-PBF) of polymers – a review of the key areas of focus of the process,” _MATEC Web of Conferences_, vol. 370, p. 6001, 2022, doi: 10.1051/matecconf/202237006001. [55] M. Grasso, A. G. Demir, B. Previtali, and B. M. Colosimo, “In situ monitoring of selective laser melting of zinc powder via infrared imaging of the process plume,” _Robotics and Computer-_ _Integrated Manufacturing_, vol. 49, pp. 229–239, 2018. doi: 10.1016/j.rcim.2017.07.001. [56] L. Alzubaidi _et al.,_ “Review of deep learning: concepts, CNN architectures, challenges, applications, future directions,” _J Big Data_, early access. doi: 10.1186/s40537-021-00444-8. [57] D.-X. Zhou, “Theory of deep convolutional neural networks: Downsampling,” _Neural networks :_ _the official journal of the International Neural Network Society_, early access. doi: 10.1016/j.neunet.2020.01.018. [58] G. Li, M. Zhang, J. Li, F. Lv, and G. Tong, “Efficient densely connected convolutional neural networks,” _Pattern Recognition_, vol. 109, p. 107610, 2021, doi: 10.1016/j.patcog.2020.107610. [59] J. Gu _et al.,_ “Recent advances in convolutional neural networks,” _Pattern Recognition_, vol. 77, pp. 354–377, 2018. doi: 10.1016/j.patcog.2017.10.013. [60] M. Prunella _et al.,_ “Deep Learning for Automatic Vision-Based Recognition of Industrial Surface Defects: A Survey,” _IEEE Access_, vol. 11, no. 99, pp. 43370–43423, 2023. doi: 10.1109/ACCESS.2023.3271748. [61] S. B. Jha and R. F. Babiceanu, “Deep CNN-based visual defect detection: Survey of current literature,” _Computers in Industry_, vol. 148, p. 103911, 2023. doi: 10.1016/j.compind.2023.103911. [62] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization,” _Int J Comput Vis_, vol. 128, no. 2, pp. 336–359, 2020. doi: 10.1007/s11263-019-01228-7. [63] P. Hejmady, L. C. van Breemen, D. Hermida-Merino, P. D. Anderson, and R. Cardinaels, “Laser sintering of PA12 particles studied by in-situ optical, thermal and X-ray characterization,” _Additive Manufacturing_, vol. 52, p. 102624, 2022. doi: 10.1016/j.addma.2022.102624. [64] T. Laumer, T. Stichel, P. Amend, and M. Schmidt, “Simultaneous laser beam melting of multimaterial polymer parts,” _Journal of Laser Applications_, vol. 27, S2, S29204, 2015. doi: 10.2351/1.4906303. [65] K. Simonyan and A. Zisserman, “Very Deep Convolutional Networks for Large-Scale Image Recognition,” _ICLR conference paper_, 2015. [66] Q. Ji, J. Huang, W. He, and Y. Sun, “Optimized Deep Convolutional Neural Networks for Identification of Macular Diseases from Optical Coherence Tomography Images,” _Algorithms_, vol. 12, no. 3, p. 51, 2019. doi: 10.3390/a12030051. [67] R. H. K. Emanuel, P. D. Docherty, H. Lunt, and K. Möller, “The effect of activation functions on accuracy, convergence speed, and misclassification confidence in CNN text classification: a comprehensive exploration,” _J Supercomput_, vol. 80, no. 1, pp. 292–312, 2024. doi: 10.1007/s11227-023-05441-7. [68] J. Mayer and R. Jochem, “Capability Indices for Digitized Industries: A Review and Outlook of Machine Learning Applications for Predictive Process Control,” _Processes_, vol. 12, no. 8, p. 1730, 2024. doi: 10.3390/pr12081730. 22 <u>Publication 1</u> ## 2 Publications #### 2.1 A deep learning approach for real time process monitoring and curling defect detection in Selective Laser Sintering by infrared thermography and convolutional neural networks Presented at: LANE 2022, Fürth, Germany Published by: Elsevier Journal: Procedia CIRP, 12th CIRP Conference on Photonic Technologies [DOI: https://doi.org/10.1016/j.procir.2022.08.030](https://doi.org/10.1016/j.procir.2022.08.030) Victor Klamert <sup>a</sup> , Matthias Schmid-Kietreiber <sup>a</sup> , Mugdim Bublin <sup>a</sup> aFH Campus Wien, Favoritenstrasse 226, Wien 1100, Östereich *Corresponding author. Tel.: +43 1 606 68 77-2133. E-mail address: mugdim.bublin@fh-campuswien.ac.at Abstract: Selective Laser Sintering (SLS) of polyamide powders is one of the most prevalent additive manufacturing (AM) processes. Failures induced by curling and other process irregularities affect mechanical properties and part quality. In order to improve cost- and resource-efficiency, flexibility and sustainability of SLS, a real time and insitu quality control of the whole SLS process chain is needed. Machine learning (ML) and especially deep learning (DL) is increasingly used for SLS quality control in recent time. In this approach, we investigated applications of DL to implement an in-situ quality control of the SLS process. Especially convolutional neural networks (CNN) have been used to classify infrared thermography recordings containing artificially induced defects. Using VGG16 CNN with the thermal recordings as the input data, an average curling failure detecting accuracy of 98,54% was achieved. These results encourage the deployment of DL for non-destructive, in-situ quality control of SLS processes. Keywords: Additive Manufacturing; Deep Learning; Quality control; Selective Laser Sintering 25 <u>Publication 1</u> 1. Introduction The technology of additive manufacturing (PBF-LB/P/PA12) has increasing importance in advanced production [1]. Using AM large numbers of deployable end parts are manufactured in significant production areas like automotive, aviation, aerospace and medical engineering. New challenges appear to utilize the full potential of AM, especially the sustainable exploitation of resources. Selective Laser Sintering (SLS) of polyamide powders is one of the most popular AM processes well suited for the production of individual, complex and topology-optimized parts for various industrial sectors [1]. This paper aims to investigate detection of curling failures of SLS process by modern deep learning (DL) networks using thermal infrared imaging as input data. Deep neural network architectures, with more hidden layers and automatic feature extraction, have enormously expanded the ability of image, speech and language recognition by computers [2]. Especially in computer vision, revolutionary results have been achieved by using convolutional neural networks (CNN) [2]. The deployment of DL enables also an efficient and sustainable real time process monitoring to predict failures [3,4]. Previous approaches from Baumgartl et al. [3] confirmed the effective deployment of thermal imaging and CNN to detect delamination and splatters in selective laser melting images with an average balanced accuracy of 96.80 %. Westphal and Seitz [4] revealed a method to caption anomalies and powder bed defects using a HD webcam and a VGG-16 achieving 95,8% accuracy. The VGG-16 model was initially introduced by Karen Simonyan and Andrew Zisserman in 2014 to investigate the effect on the convolutional network by increasing depth using an architecture with very small (3x3) convolution filters [7]. 2. Methods The experimental setup was applied on the EOS FORMIGA P 110 SLS machine, using polyamide powder PA12. A FLIR T420 thermal infrared camera was installed at the top window of the machine to record the temperature distribution at the surface of the powder bed. The camera system has 320 x 240 pixels and 30 frames per second. As seen on Fig. 1 and 2, a calcium fluoride optical window was used to separate the camera system from the actual installation space. Calcium fluoride has a very low refraction index of 1,434 (no anti reflection is necessary) and a transmittance of more than 90% at the spectral range. First test runs revealed a slightly coating at the optical window, caused by vaporization during the sinter process. This indicates that installed nitrogen flushing had to be revised in further iterations [5]. 26 <u>Publication 1</u> Fig. 1. Visible curling Fig. 2. Calcium fluoride window A test run was implemented to set all necessary parameters (as the emissivity had to be calibrated) and get the first data set visualizing an accurate SLS process. To get the data set of a defective process caused by artificially created curling, the process temperature was manually lowered from 167° C to 162° C. A few iterations had to be implemented to get suitable results without any termination. Videos of defect-free and failure cases (each one with 80 minutes duration) and with different geometries were recorded. Curling as seen on Fig. 3 is caused by initial stress due to temperature gradient at the top and bottom side of the part. Additional factors like laser power, laser scanning strategy, hatch pattern, layer cooling time, part location/orientation, part dimensions and the number of layers will also affect the phenomenon of curling [6]. Fig. 3. Curling at powder bed Fig. 4. Calibration part cross geometry Standard calibration parts were used, containing five stacked cross sections by the dimensions of 50 mm x 50 mm as seen on Fig. 4. The cross-shaped sections are connected by conical structures with a total height of 14,5 mm. The components are usually used to verify default parameters of the sintering process. The temperature settings of each of the four powder bed sections are calibrated manually. Therefore, the distance between the cross sections of the calibration parts are evaluated to detect any deviations like curling. Further shapes as triangles and circles were added later on to provide geometry-and part position independency as shown 27 <u>Publication 1</u> at section 3 on Fig. 8. Fig. 5 shows the outline laser exposure of the test parts. As seen on Fig. 6, there is a significant temperature difference between the powder bed and the literal part after laser exposure. Towards the next applied layer and cooling time, the temperature distribution at the powder bed surface was nearly homogenously. Due to very high temperature differences during laser exposure, a variable scale had to be used at the thermal recordings. Fig. 5. Outline laser exposure of cross Fig. 6. Layer cooling down of cross shaped parts shaped parts, no visible curling The experimental trials were continued until total process abortion to show maximum possible impact of failures. By increasing curling effect and applying a new layer of powder, the coater ripped out some parts of the powder bed and got stuck as seen on Fig. 7. In cases like this, a complete restart of the process is required. All parts at the surface are defective and have to be removed including non-used polyamide powder. Beside increasing cost factor, a massive delay will result due to cleaning and pre-heating the machine. Fig. 7. Increasing curling and movement of the coater led to total process abortion 28 <u>Publication 1</u> 3. Thermal imaging of artificially created curling Beside the main purpose of this paper, to reveal an innovative and sustainable possibility of monitoring and evaluating the SLS process, one of the most important issues to be discussed and examined was the visibility of curling at the thermal recordings. Curling could be detected by neural networks if effects are visible at the thermal imaging [3]. Fig. 8. Visible curling after coating Fig. 9. Visible curling at multiple at multiple geometry process parts geometry process parts and variable temperature scale The frames of the thermal recordings were extracted, compared and evaluated to get first impressions about the depiction of curling. First results revealed the instant appearance of curling as shown on Fig. 8. After laser exposure, the effects were less verifiable at process parts due to a change of emissivity caused by transition from powder to solid state. Adjusting the variable temperature scale at thermal recordings enabled the prevention of visible temperature differences at powder bed as shown on Fig. 9. 4. Processing the data with convolutional neural networks The extracted frames were manually classified in accurate and defective parts to train the algorithm. After correcting some imbalance in the amount of data, both classes were split into a ratio of 80% training, 10% evaluation and 10% test data. A total amount of 100.000 frames was processed. A VGG-16 (Visual Geometry Group) Convolutional Neural Network (CNN) architecture was implemented to predict failures at the thermal recordings [8]. VGG-16 CNN enables state-of-the-art large-scale image recognition for deep visual representations in computer vision [7]. Different data sets including single cross geometry, multi geometries and patches of multi geometries were used for training and evaluation. Data preparation was done by down sampling to avoid imbalance of data sets, removing unidentifiable frames and removing duplicates. The input frames are converted into 224 x 224 pixels with (RGB) channels. Subsequently a variety of convolutional layers is deployed. These convolutions have a kernel size of 3x3 and 1x1 to apply a linear transformation of the output channels. After the convolutions max pooling and padding are used to preserve spatial resolution. The last three 29 <u>Publication 1</u> layers are fully connected and the output layer contains one single unit (binary classification) including sigmoid activation function [7]. 5. Results and discussion VGG-16 network was iterative trained using the following hyperparameters: binary crossentropy cost function, 10-3 learning rate, Adam optimizer (ß1=0.9, ß2=0.999), 100 epochs and early stopping with patience=20. Mini-batch-learning was applied (batch size: 64). The performance and accuracy behavior during the training epochs on train and validation data of the single cross shaped data set is shown on Fig. 10. The training stopped after 59 epochs revealing an accuracy of 99,1% and F1 score of 97,2% as seen in Table 1 [8]. Fig. 10. VGG-16 accuracy behavior during the training epochs on train and validation data at cross geometry data set [8] As can be seen in Table 1 other CNN networks like Xception and ResNet50 also performed very well on the training data but poorly on the test set with accuracy of 16,6% and F1 score of 28,5%. VGG-16 performed very well on different data sets. Table 1. Results of different CNN [8] and VGG-16 at different data sets Top: Results of different CNN at single cross data set Below: VGG-16 accuracy results at different data sets VGG-16 Xception ResNet50 Accuracy 0.9909 0.1658 0.1658 F1 0.9720 0.2845 0.2845 Multi geometry Patches Patches at diff. temp. scale VGG-16 accuracy 0.9861 0.9891 0.9757 Although Xception and ResNet50 are in certain way advanced architecture, VGG-16 has much more parameters. Where VGG-16 has 138 million parameters, ResNet50 has 23,5 million and Xception 23 million parameters [4,10]. A network with more parameters is able to generalize better due to so called “double descent effect” [11]. Also in [4], a similar effect is observed for VGG-16 and Xception network. VGG-16 is able to learn more details from the images due to 30 <u>Publication 1</u> higher number of parameters in each layer. To evaluate the predictions made by the VGG-16, the Grad-CAM heat map was rendered from every frame. The gradient-weighted class activation mapping uses the gradients as weights during backpropagation and highlights important areas related to the predictions made by the network [9], which helps interpreting and explaining deep neural networks results. Fig. 11. Comparison of thermographic view and Grad-CAM heat map, Top: Visible curling on thermographic multi geometry data set and patch of multi geometry data set, Below: Related Grad-CAM heatmap of VGG-16, red circles indicate areas of high importance As shown on Fig. 11, curled areas are clearly highlighted at the Grad-CAM heat map and the activation is limited to curled edges. This approves that the VGG-16 CNN is able to detect curling failures with high accuracy and not lowered powder bed temperature. 6. Conclusion This work investigated an approach for real time monitoring the SLS process and in situ curling failure detection. CNN networks were used as cost-effective and sustainable SLS quality monitoring method to prevent defective parts and process terminations. Using extracted thermal images as input data, CNN proved to be an expedient and effective way for detecting visible failures during SLS processes. As a result, the VGG-16 network achieved an average failure detecting accuracy of 98,54%. In addition, evaluating the Grad-CAM heat maps approved and explained the predictions made by the DL. These results encourage usage of DL for non-destructive, in-situ quality control of the SLS processes. In future, more data including further geometries, additional defects, online SLS process parameter optimization and hyperparameter tuning will be investigated to improve the network generalisation performance. Furthermore, a concept for data-fusion based on combining thermal imaging data, deep learning 31 <u>Publication 1</u> and additional sensor achieved 2D imaging to 3D structural data. Previous approaches confirmed the effective deployment of fringe projection and enhanced phase measuring profilometry (EPMP) to monitor the 3D surface topography of the powder bed surface [12-14]. The subsequent approach will feature laser triangulation to scan the powder bed and compile 3D data. Bringing thermal imaging and 3D topological data together will reveal scientific conclusions about effects and formation of curling. Acknowledgement The research leading to these results have been funded under the cooperative doctoral program “Digiphot” between FH Campus Wien and TU Wien. This work was also supported by the City of Vienna: MA23 - Projekt 29-22, “Artificial Intelligence” and MA23 - Projekt 30-25, “AI & VR Lab”. References 1. M. Srivastava, S. Rathee, “Additive manufacturing: recent trends, applications and future outlooks”, Springer Online, 25. Oktober 2021, https://doi.org/10.1007/s40964-021-002298 2. A. Geron, „Hands-On Machine Learning with Scikit Learn and Tensorflow”, O'Reilly UK Ltd.; 2nd ed Edition, 11. Oktober 2019, ISBN-10: 1492032646 3. H. Baumgartl, J. Tomas, R. Buettner, M. Merkel, “A deep learning-based model for defect detection in laser-powder bed fusion using in-situ thermographic monitoring,”, Progress in Additive Manufacturing 5, pp. 277–285, 2020, https://doi.org/10.1007/s40964-019-001083 4. E. Westphal, H. Seitz, “A machine learning method for defect detection and visualization in selective laser sintering based on convolutional neural networks”, Additive Manufacturing, vol. 41, 2021, https://doi.org/10.1016/j.addma.2021.101965 5. J. Picker, „Aufnehmen und Auswerten der Temperaturverteilung im Bauraum einer SLSAnlage “, FH Campus Wien, High Tech Manufacturing, 22.08.2021 6. A. Almabrouk Mousa, “Experimental investigations of curling phenomenon in selective laser sintering process”, Rapid Prototyping Journal, Vol. 22 No. 2, https://doi.org/10.1108/RPJ-12-2013-0132 7. K. Simonyan, A. Zisserman, “Very deep convolutional networks for large-scale image Recognition”, Visual Geometry Group, Department of Engineering Science, University of Oxford, ICLR 2015, https://arxiv.org/pdf/1409.1556.pdf 8. M. Schmid-Kietreiber, „In-situ detection of printing defects during SLS using Convolutional Neural Networks”, FH Campus Wien, Computer Science and Digital Communications, 01.01.2022 9. R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, D. Batra, “Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization”, In Proceedings of the IEEE international conference on computer vision, pp. 618-626. 2017 32 <u>Publication 1</u> 10. Q. Ji, J. Huang, W. He, Y. Sun, “Optimized Deep Convolutional Neural Networks for Identification of Macular Diseases from Optical Coherence Tomography Images”, Algorithms, 2019, doi:10.3390/a12030051 11. M. Belkin, D. Hsu, S. Ma,S. Mandal, “Reconciling modern machine earning practice and the classical bias-variance trade-off”, Proceedings of the National Academy of Sciences, 2019, https://doi.org/10.1073/pnas.1903070116 12. Z. Li, X. Liu 1, S. Wen, P. He, K Zhong, Q. Wei, Y. Shi, S. Liu, “In Situ 3D Monitoring of Geometric Signatures in the Powder-Bed-Fusion Additive Manufacturing Process via Vision Sensing Methods”, MDPI Journal Sensors, 2018, doi:10.3390/s18041180 13. B. Zhang, J. Ziegert, F. Farahi, A. Davies, „In situ surface topography of laser powder bed fusion using fringe projection”, Additive Manufacturing, vol. 12, 2016, https://doi.org/10.1016/j.addma.2016.08.001 14. N. Southon, P. Stavroulakis, R. Goodridge, R. Leach, „In process measurement and monitoring of a polymer laser sintering powder bed with fringe projection”, Materials and [Design, vol. 157, 2018, https://doi.org/10.1016/j.matdes.2018.07.053](https://doi.org/10.1016/j.matdes.2018.07.053) 33 34 <u>Publication 2</u> #### 2.2 In Situ Analysis of Curling Defects in Powder Bed Fusion of Polyamide by Simultaneous Application of Laser Profilometry and Thermal Imaging Published by: MDPI Journal: Applied Sciences Topic: Additive Manufacturing: Design, Opportunities, and Applications DOI: https://doi.org/10.3390/app13127179 Victor Klamert <sup>1</sup> ,*, Lukas Schiefermair <sup>1</sup> , Mugdim Bublin <sup>2,</sup> * and Andreas Otto <sup>3</sup> 1 High Tech Manufacturing, University of Applied Sciences Vienna FH Campus Wien, Favoritenstrasse 226, Wien 1100, Austria 2 Computer Science and Digital Communications, University of Applied Sciences Vienna FH Campus Wien, Favoritenstrasse 226, Wien 1100, Austria 3 Institute for Manufacturing and Photonic Technologies, Technische Universität Wien, Getreidemarkt 9, Wien 1060, Austria - Correspondence: victor.klamert@fh-campuswien.ac.at (V.K.); mugdim.bublin@fh-campuswien.ac.at (M.B.) Abstract: Additive manufacturing (AM) is one of the key technologies in the global manufacturing market within various application sectors. The unique capabilities of AM enable high structural and part complexity, low material waste, and benefits in productivity by reducing design cycles and time to market. Efficient real-time quality control is still an important challenge in AM. In this paper, a re-al-time and in situ approach for monitoring the process in powder bed fusion of polyamide (PBFLB/P/PA12) is proposed using the simultaneous application of two individual sensors, ena-bling the overlay and direct comparison of independent output data. An industrial grade laser profilometer and a thermal infrared (IR) camera were successfully integrated into a commercial system for PBF-LB/P. Artificially created curling defects were induced in a reproducible way by the manipulation of process parameters. The radiometric data was evaluated and processed into 3D topology and profile measurements to highlight peaks and curling progression. The results meas-ured using different powder bed conditions were contrasted with corresponding thermographic data to prove the thermal visibility of curling and the influence of inhomogeneous temperature distribution on geometrical powder surface defects. The experimental setup enables the measuring of the entire powder bed surface inside the machine, with no limitations to sub-areas. Results in-dicate the measurable presence of curling and related temperature influences. When curling reached maximum values, inverted warpage into 35 <u>Publication 2</u> the negative z-direction was detected at part center as a further effect. These results can be used for improving real-time quality control in AM. Keywords: additive manufacturing; powder bed fusion of polymers; laser profilometry; thermal imaging; process control 1. Introduction In order to meet industrial requirements, additive manufacturing can be seen as a technology for various applications and a production alternative to common manufacturing processes [1,2]. Following on from initial applications, such as functional prototyping, this technology is now capable of producing high quality parts at low costs, in fast delivery times, in a highly repeatable way, and in different materials, from plastics to high strength titanium alloys [3]. Recent trends in additive manufacturing feature a wide range of research fields [4], such as microstructural applications [5], electronic devices [6], and feedstock material [7], for automotive, aerospace, and medical use cases [8]. In [9], Colorado et al. discuss a wide range of use cases and the main contributions of this technology to overcoming the worldwide COVID-19 pandemic from the perspective of the adaptability of materials and applications. Supply shortages of personal protective equipment such as face shields and mask straps were overcome, and previously unavailable ventilator connectors were manufactured within a short period of time. In terms of research and development, laser-based powder bed fusion of polymers (PBFLB/P) has experienced significant growth over the last decade. In this selective laser sintering (SLS) process, a high energy laser merges material at selected areas on the powder bed surface. Heat treatment below the melting point leads to the formation and growth of sintering bridges between powder particles and densification of the material without liquefaction. After laser exposure and a period of cooling, a new layer of powder is applied by the coater and the build platform is lowered by the thickness of one layer. Constant continuation of these process segments enables the formation of solid and three-dimensional structures, enclosed by nonmelted powder [10,11]. The schematic of the PBF-LB/P process is depicted in Figure 1. Figure 1. The schematic of selective laser sintering [12]. 36 <u>Publication 2</u> As described in [13,14], the processing temperature of semi-crystalline thermoplastics in PBF-LB/P is based on the model of isothermal laser sintering by differential scanning calorimetry (DSC) measurements. The DSC curve depicted in Figure 2 shows the heat flux contrasted with process temperature and thermal transitions of PA12 (PA2200, EOS GmbH). Figure 2. DSC (differential scanning calorimetry) curve of melting and recrystallization process in selective laser sintering of PA12 [13]. As can be seen in Figure 2, the inside temperature of the building chamber has to exceed the recrystallization temperature ??? ? and be lower than the temperature of melting ??? ? . The simultaneous existence of a solid and molten state allows solidification without thermal distortion and thermal stress, due to the characteristics of an isothermal process. The molten state lasts until the building step’s completion and the subsequent recrystallization happens homogeneously due to the low cooling rate. Many factors, such as complex thermal interactions during the building step, the involvement of the continuously repeating sub-processes of powder coating, laser exposure, and consolidation affect the process of selective laser sintering [15]. Uncontrolled thermal interactions are especially likely to affect the workpiece’s properties, such as its dimensional accuracy, mechanical properties, and part density. Further investigations of temperature fields are required as part of process monitoring to understand thermal interactions, ensure part quality, and decrease the number of defects [16]. By meeting industrial requirements, the process of laser-based powder bed fusion of polymers (PBF-LB/P) has already broken through in certain fields. However, successful integration into the industrial process flow and into the supply chain is still challenged by the lack of sustainable process control [17]. Consistent process performance would require suitable in-process quality assurance measurements. Apart from the closed-loop control of the powder bed temperature monitoring, variable laser parameters, and the implementation of standard camera systems to detect major defects, such as part displacement, there are only scientific approaches for real-time and in situ process monitoring and no suitable solutions for industrial applications. The process flow by itself allows for remarkable possibilities in layer-by-layer monitoring for preventing defect transfer into final components and ensuring material properties and part quality [18]. The implementation of suitable online quality control is 37 <u>Publication 2</u> difficult to realize due to largely enclosed soft- and hardware solutions and the fact that almost no intrusion into parameters is possible during ongoing processes. In this paper, a new approach of curling defect detection and analysis of powder bed structure in PBF-LB/P is proposed by the simultaneous application of industrial grade laser profilometry and thermal imaging. Curling, as an in-process phenomenon where mainly only the first layers of the part are affected, is caused by stress due to temperature gradients, resulting in lifting of the part from the powder bed. According to [18], “warpage” is defined as a “postprocess” process that results in deformation of the entire part. If non-tempered powder is introduced after the laser exposure, uneven shrinkage between the top and bottom of the part induces a curved profile close to the free edges of build parts, as can be seen in Figure 3. The effect can occur on the surface after coating, after the laser exposure (as depicted in Figure 4), in-build during processing, or even when the process is finished, and the components are cooling down to room temperature [17]. Figure 3. Curling defect after coating a new layer of powder. Visible lifting of part segments from the powder bed. Figure 4. Curling defect after laser exposure. Visible melting depth and curled peaks at free edges of cross part. Previous scientific and experimental approaches for process control and defect detection in PBF-LB have revealed a wide range of relevant concepts addressing both polymer and metal powder-based fusion. Beside similar powder bed defects concerning both processes, such as coating failures, curling, shrinkage, part shifting, and powder short feed, PBF of metals (PBFLB/M) might lead to additional defects such as spatters, porosity, and cracks due to process 38 <u>Publication 2</u> parameters such as temperature, laser power, and material properties [17,19–22]. As part of the literature research, previous works have been delineated into different research fields as sensoronly concepts applying a variety of measuring methods such as thermography, profilometry, and fringe projection to analyze powder bed quality, and additionally machine/deep learning approaches to defect detection and prediction. To the best of our knowledge, the simultaneous application of laser profilometry and thermal imaging has not yet been discussed in powder bed fusion of polymers. Standalone laser profilometry solutions that have already been presented had limitations due to the mounting position within the installation space and the resulting detection range on the powder bed. The mounting position of both sensor concepts outside the installation space enables the sensing of the complete powder bed surface, providing real-time height data of curling failures and associated temperature fields at different stages of the ongoing manufacturing process. This new approach to monitoring the process in PBF-LB/P primarily focuses on revealing relationships between the spatial location of defects and the actual thermal distribution that leads to failures in these areas. This current work demonstrates a novel approach to real-time process monitoring and in situ defect detection in selective laser sintering of polymers by combining external laser profilometry to compile structural 3D data and thermal imaging to highlight the related thermal fields and temperature distributions. For the first time, these two sensor concepts have been successfully deployed in powder bed fusion of polymers to solve both the challenge of capturing the whole powder bed surface inside the installation space and of providing real-time data. The aim of this work was not the optimization of the process or part quality, but rather to demonstrate the functionality and fusion of different inspection methods to reconstruct the powder bed surface and monitor the process temperature in real time. 1.1. Previous Approaches of Process Monitoring by Thermal Imaging In [23], Greiner et al. investigated the interaction of the material and laser beam in PBFLB/P to enhance the reproducibility of part properties. Thermographic infrared measurements were made of the resulting temperature fields and the local temperature evolution in the xyplane. In [24], Greiner and Drummer also analyzed the final and geometry-dependent part properties by investigating the exposure strategy, the consistence of the hatching strategy, the influence of laser power, and the scan speed. Various parameter strategies originating from laser beam melting of metals were evaluated to overcome the limitations of laser sintering of polymers by applying thermal infrared visualization. A direct correlation between the resulting temperature fields and part properties could be detected. Hofman and Wudy [25] investigated the influence of process parameters on melt pool temperatures in PBF-LB/P by evaluating temperatures during ongoing process steps. A continuous data stream containing thermal imaging was introduced to enable automated calculation of characteristic processing times and temperature fields. Decay values at different cooling rates were combined with process knowledge to differentiate process regimes. A further publication by Phillips et al. [26] also revealed the efficacy of using thermal imaging in process monitoring the PBF-LB/P process by investigating a complementary approach of actively controlling the parameters of the laser to reduce thermal fluctuations on the powder bed surface. A high level of control over final part properties was achieved by controlling the level of energy input at the laser exposure. Another approach of actively controlling the input of laser power in PBF-LB/P by using a high-speed 39 <u>Publication 2</u> mid-wave infrared (MWIR) camera was presented by Zhang et al. [27]. An automated laser control system was proposed in the paper to eliminate thermal gradients in the post-sintering temperature by adjusting the laser power according to pre-sintering temperatures. In their study [28], Walker Wroe et al. established an approach of verifying part quality in real time by recording thermal histories of manufactured layers and comparing them to the ultimate tensile strength (UTS) of tested parts in the shape of bars. A further attempt was made by identifying the position of fracture based on the thermal imaging history. An early approach by Wegner and Witt [29] examined the effective integration of a thermal imaging system into a laser sintering machine to measure irregularities of radiant heater temperatures and the effects on temperature distribution on the powder bed surface. Further influence factors on the homogeneity of the surface temperature were analyzed. 1.2. Previous Approaches of Defect Detection by Measuring the Powder Bed Surface Several scientific approaches address sensor-only concepts of measuring the powder bed surface in PBF-LB/P by generating 3D data as part of laser profilometry and fringe projection, as well as optical coherence tomography (OCT), contact image sensor (CIS) application, and microscopy. In [17], Sillani et al. managed to successfully integrate a laser profilometry system by Keyence (Osaka, Japan) into a DTM Sinterstation 2000 using Duraform P12 powder material. The profilometer was mounted at the coating system and required N2 cooling due to temperatures of up to 170 °C. Within the paper, several issues were investigated, such as measuring the powder layer quality in different conditions, highlighting the impacts of adapting the recoating speed, preheating temperature, and particle shape. This approach enabled the calculation of the effective layer thickness (ELT), the evaluation of layer density, and the measurement of curling from 70 µm to 350 µm. Although the work showed an effective way of in situ process monitoring in PBF-LB/P by detecting geometrical variations with submicrometer vertical resolution, only sub-areas of the powder bed could be observed due to the scanning range of the profilometer and the mounting position. Further, no coherences were investigated in terms of thermal fields and temperature distributions on the powder bed surface, leading to defects such as curling. Considering the results presented in [30] by Borish et al., a laser profilometry sensor and a thermal camera were installed at a fused deposition modelling (FDM) system. By automated adjustment of material flow and build speed, three types of defects were mitigated: low layer times, underfill, and overfill. The control system handled the build parameters to compensate for height deviations from −100% underfill to 50% overfill and low layer times of 15 s. No detailed information about the profilometer or thermal camera system was given. Southon et al. [31] introduced a further approach for curling defect analysis in PBF-LB/P by investigating the feasibility of deploying a fringe projection system to measure the powder bed surface of an EOS P100 PBF-LB/P machine. The sensor was mounted outside the machine. This enabled large areas of the powder bed to be covered with an xyz resolution of 75 µm. In this approach, an effective method was presented of controlling curling defects by tuning process parameters. A lack of information on data acquisition time and surface data analysis raised questions regarding implementation as a real-time process monitoring system. In [32], Gardner et al. investigated the influence of varying laser power on the penetration depth in selective laser sintering by applying optical coherence tomography (OCT). OCT enables subsurface imaging and defect detection based on low coherence interferometry by encoding 40 <u>Publication 2</u> wavelength depth information with an axial resolution of between 1 µm and 20 µm. The aim of this paper was not the implementation of a real-time monitoring system, but rather on observing subsurface melt pool changes and defects such as increasing melt pool depth due to excessive laser power. A further approach to surface texture analysis and subsurface defect detection in PBF-LB/P by using OCT was presented by Guan et al. in [33]. A spectral domain phasesensitive OCT system (PhS-OCT) was used to quantify simulated defective regions with graduated porosity embedded in fully dense regions. Loose powder detection and differentiation between densities of +−5% at a sub-surface depth of 350 µm was achieved. Further optical measurements by focus variation microscopy (FVM) were implemented to compare the ability of OCT to detect surface profile and areal texture with that of FVM. A simple and cost-efficient solution of scanning the powder bed surface in PBF-LB/P was presented by Phuc and Seita [34]. Within this approach, a contact image sensor (CIS) taken from a flatbed document scanner was mounted on the powder re-coater to assess powder bed defects in high-resolution and with a large field-of-view. Non-uniformities were detected by quantifying the out-of-focus regions using numerical image analysis techniques, achieving a spatial resolution of ~5 µm. Sassaman et al. [35] proposed an approach of studying the characteristics of the melt pool during and after laser exposure in PBF-LB/P. A sensor system was designed and successfully implemented into a custom PBF-LB/P machine, known as the Laser Additive Manufacturing Pilot System (LAMPS) [36], which is located at The University of Texas, Austin. The system was designed to operate under manufacturing process conditions, performing in situ microscopy to highlight particle-scale dynamics at realistic scan speeds and temperatures. The experimental setup included different sub-units, including a high-speed camera for the requisite scale imaging, an adjustable zoom lens to capture the required spatial resolution, and the illumination. The results revealed a particle rearrangement occurring over an extended time of ∼10 ms after laser exposure at a particular location. Although the studies summarized here demonstrate effective sensing of the powder bed surface, the methods presented still reveal limitations due to limited coverage, the complexity of system implementation, or the lack of additional data such as temperature fields to assess the formation of defects, such as curling on the powder bed. 1.3. Defect Detection and Prediction by the Application of Deep Learning The use of artificial intelligence, particularly deep-learning algorithms, to detect or predict processing errors has already been scientifically investigated in several places. Deep Learning (DL) has become one of the most widely used computational approaches in machine learning (ML) and achieves excellent results at a variety of complex computer vision tasks [37]. The following approaches address the ability of implementing DL into data analysis to detect and even predict failures in powder bed fusion of polymers. A previously published work revealed reproducible results in curling defect detection by thermal imaging and convolutional neural networks (CNN) [38]. Curling defects were manually induced by adjusting certain process parameters, and thermography was used to highlight related temperature distributions. The extracted frames of accurate and defective processes served as a basis to train a number of CNNs. The CNN achieved an average curling defect detection accuracy of 98.54%. According to [18], Westphal and Seitz attained similar accuracy results of 95.8% using the VGG16 CNN and recordings by a simple high-definition camera system. Various powder bed defects were 41 <u>Publication 2</u> analyzed and predicted by the CNN. A further approach of detecting powder bed defects in PBF-LB/P by applying a digital camera system and deep residual neural networks was suggested by Xiao et al. [39]. Three different powder bed defects, curling, part shifting, and powder short feed, were artificially generated by varying the process conditions, using two different PBF-LB/P powder types. This method exhibited high accuracy rates of up to 96% in defect detection and was able to cope with image blurring and geometrical distortion. In [40], an AI-driven approach of using automated build part characterization to detect and forecast printing errors in PBF-LB/P was presented by Bauer et al. To investigate the problem of error prediction, a combined method of unsupervised pseudo-labelling (autoencoder-based clustering) and supervised deep learning (ResNet50) was applied. Based on grayscale-camera pictures, an error detection accuracy of more than 93% was achieved. Using the cox proportional hazards (CPH) model to predict the remaining time until error, statistically significant forecasts (p < 0.005) of the remaining build time without failure were achieved. Beside the practical approaches of process monitoring and defect detection in powder bed fusion of polymers summarized here, further sensor concepts such as inline coherent imaging [41], enhanced phase measuring profilometry [42], multi sensor fusion [43,44], and acoustic approaches [45] were investigated for selective laser melting of metals (PBF-LB/M). The application of DL provides an effective method of monitoring the process of powder bed fusion of polymers. However, the images used to train and evaluate a CNN require a very large amount of data and preparation is necessary to achieve the above results. Alternative data as provided by laser profilometry has not yet been processed by DL. The approaches outlined here clearly demonstrate the effective use of thermal imaging in PBF-LB/P in terms of part properties, in situ process control, and further analysis of process steps, but the data acquired does not allow direct correlation with geometric height values. The actual detection of curling errors using thermal imaging technology was not part of the investigations presented and has not been able to be realized so far due to a lack of 3D information. Additional measurement methods, such as laser profilometry, are required to verify the suspected failures at the powder bed. 2. Materials and Methods 2.1. PBF-LB/P System and Build Part Setup An EOS FORMIGA P 110 selective laser sintering machine was used to perform the experimental trials during this work. The PBF-LB/P system uses a CO2 laser with 30 W of output power and a wavelength of 10.6 µm to merge powder particles at the powder bed. PA12 (PA 2200) was used as high-performance nylon throughout this study. The system is capable of scanning speeds of up to 5 m/s within an exposed area (xy) of 200 mm × 250 mm, merging a minimum of 50 µm and a maximum of 200 µm layer thickness. The maximum build part height (z) is 330 mm. The parameter setup included a layer thickness of 100 µm and standardized non-adapted laser scan speed and hatch spacing by the EOS default exposure strategy. To ensure a constant process temperature according to the DSC curve, the process chambers at the upper installation space and lower unloading chamber are both heated by separate built-in process heaters. To create artificial curling defects, the default process temperature of 167 °C was manually reduced. A reduction of 3% to 162 °C revealed the first distortion effects. In addition, the intensity could then be slightly increased by manually interrupting the process and thus 42 <u>Publication 2</u> extending the layer cooling time. Further parameter adjustments during the ongoing sintering process are prevented by limited access to the operating software. As can be seen in Figure 5, a series of calibration parts were manufactured to define parameter settings as a basis for subsequent analysis. Figure 5 illustrates the visible appearance of distortion of the whole component (b) at the test geometry (a) compared to an accurate test part without visible warpage (c). Figure 5. Comparison of a defective test part (a) and an accurate test part (c). Clear appearance of distortion caused by continuous curling during the process (b) at the free edges after systematic reduction of the process temperature to 162 °C. After the definition of parameters, several test part geometries were defined as depicted in Figure 6a. The build parts taken as bases for further triangulation and thermal analysis contained cross-, triangular-, and circular-shaped geometries with outline measurements of 50 mm. The parts contained 6 identical stacked layers measuring 2 mm of material thickness for each layer, separated by a gap of 0.4 mm and connected by a central cylindrical pin of 8 mm in diameter as shown in Figure 6b. The total height of each part measured 14 mm. Stacking identical layers enabled systematic iterations of curling analysis without the in-between waiting time of process restart and heating phases. Figure 6. Different test parts in (a) as bases for further triangulation and thermal analysis: cross-, triangular-, and circular-shaped geometries and in (b) 6 identical stacked layers of 2 mm material thickness and a total height of 14 mm. 43 <u>Publication 2</u> 2.2. Evaluation of Powder Bed Temperature by Thermal Imaging To capture the temperature distribution on the powder bed surface of the PBF-LB/P system, a FLIR T420 infrared camera was employed. The camera provides real-time thermal imaging with a resolution of 320 × 240 pixels, 30 frames per second, and a 25° field of view. The installation outside the process chamber was inevitable due to a variety of reasons such as camera dimensions, a minimum focus distance of 400 mm, and process temperature. To capture the whole powder bed surface at the installation space, to prevent geometrical distortions, and in consideration of the parameters mentioned above, the camera was centrally mounted at the top inspection window of the PBF-LB/P system. Separation of the camera and the actual installation space was realized by installing a calcium fluoride (CaF2) optical window. In the actual spectral range, the transmittance of CaF2 is more than 90%. To prevent coating effects at the optical window caused by vaporizing powder particles during laser exposure, a nitrogen (N2) flushing was implemented by branching a separate conduction at the integrated nitrogen generator. The calibration of the emissivity of PA12 powder was performed by aligning the temperature value at the inbuilt pyrometer and the value at thermal imaging. According to [8], an emissivity of 0.85 was defined for PA12, confirming correct temperature values. The temperature values are not quantitatively determinable during phase transition between powder, solid, and molten material due to a significant change of emissivity [46]. Figure 7 shows the thermal grayscale imaging and the related color map of the test geometries on the powder bed after coating (a), surface heating time (b), and after laser exposure (c), leading to no induced curling at the current process stages. As can be seen in Figure 7, only small areas have been cut off the edges of thermal recordings, referable to the field of view and shadowing by the inspection window of the PBF-LB/P system (shading at left bottom part of images). Figure 7. Thermal grayscale imaging (top) and related color map (bottom) of the powder bed surface temperature distribution at certain process steps: (a) after coating a new layer of 44 <u>Publication 2</u> powder, (b) after surface heating time, and (c) after laser exposure. Clear visibility of presintered areas through new-coated layer of powder (a,b), no visible defects on powder bed surface. Within this work, different color maps have been studied on thermal recordings to convert single value grayscale images, since the human eye is not very sensitive to small changes in grayscale intensities. According to related temperature fields, different color maps and temperature ranges showed clear differences in the visualization of details on the powder bed surface. The color map shown in Figure 7 was used from then on for further analysis. 2.3. Implementation of Laser Profilometry and Sensor Movement In this current study, a Keyence LJ-X8400 (Osaka, Japan) industrial grade laser profilometry system, including a LJ-X8000E control unit, was mounted outside the installation space, linearly translated alongside the process window by a linear unit. To avoid image distortions, the curved protective plastic window of the EOS machine was removed. The remaining planar laser protection glass was dimensioned for wavelengths of 10.20–10.80 µm, leading to no interferences in the linear profilometry laser that operates at a wavelength of 405 nm. Pre-investigations revealed no influence on the profilometry results by the laser protection glass. Mounting the profilometry sensor outside the installation space at a certain distance led to two main advantages: no cooling is required, and the complete powder bed surface can be captured in the x- and y-directions. The extended distance to the powder bed surface leads to a reduction in resolution in the y-direction, but this was regarded as negligible due to the focus on vertical absolute data. Encoding was realized by the linear unit, resulting in 25,000 profile steps due to a powder bed width of 250 mm and an encoder resolution of 10 µm (x). The laser profilometry system provides a vertical resolution of 5 µm according to data sheet [47]. Further parameters of the laser profilometer are summarized in Table 1. Table 1. Parameters of Keyence LJ-X8400 laser profilometer. Reference distance 380 mm Measuring range in z-direction +96 to −220 mm Measuring range in x-direction 320 mm at far side Laser wavelength 405 nm Spot size 275 mm × 249 µm Linearity ±0.035% <u>Profile data interval</u> <u>50 µm</u> Since no CAD data is available, a specific reconstruction of the outer shell of the PBFLB/P machine and proper fittings were necessary to mount the laser triangulation system, as can be seen in Figure 8. Further adaptations of the EOS system were made by implementing mechanical end-switches at the coater to synchronize sensor movement of the linear unit at the deployed SPS. 45 <u>Publication 2</u> Figure 8. Mounting of the laser triangulation system at the EOS FORMIGA P 110. The triangulation system was mounted on the linear unit to enable linear translation alongside the laser protection glass and to capture the complete powder bed surface inside the installation space. 2.4. Calibration of the Laser Profilometer The proper mounting and calibration of the profilometry system forms the basis for metrological properties and reproducible measurements. The calibration was done by defining and implementing a constant horizontal zero plane using reference measurements inside the installation space. To capture the complete installation space, the sensor had to be inclined by 67° in relation to the normal vector of the powder bed surface. The inclination of the sensor had to be corrected manually via the Keyence’s evaluation software since automatic inclination correction is only provided up to an angle of 45°. This was done by manually defining the zerolevel in relation to the sensor inclination. In order to ensure process conditions during the calibration, a powder coating of Nx layers was applied inside the process chamber to achieve an identical level of production. The surface of the powder bed surface was defined as the zero level for all subsequent measurements. Sintered components were excluded from the calibration by manually masking exposed areas to avoid zero level shift due to the melting depth. The measured value correction is based on a two-point principle by multiplying the resulting height values by a coefficient. Two measuring points are considered as a reference, and associated height values are given before and after the correction. The evaluation software calculates the correction for the entire range of measuring by interpolation. At the beginning of each iteration, the melting depth was defined as the reference and calibration point, which according to EOS GmbH is on average 50% of the layer thickness, in order to obtain reproducible measurements and to ensure error-free calibration of the laser profilometer. As can be seen in Figure 9, an average value of 54 µm was detected at the melting depth during calibration after laser exposure, which confirms correct calibration. Figure 9a shows the complete topology of the surface in powder bed fusion of polymers for the first time. 46 <u>Publication 2</u> Figure 9. Topology of the complete powder bed surface after laser exposure (a). The profile section of the melting depth (b) results in a height difference of 54 µm between an average value of the powder bed (c) and an average value of the melting depth at the triangular shaped build part (d). In addition to the correct positioning and calibration of the profilometry system, the compensation of performance errors is crucial. When capturing 3D images from individual 2D profiles, even minimal vibrations of the linear unit lead to distorted measurement results due to the high resolution of the sensor. To compensate for deviations and guarantee the quality of the output results, a noise filter was applied to remove irregularities from topological data and provide an additional correction function for profile orientation. The noise filter detects peak values and replaces them with values of neighboring measurement points when there is a sudden increase of more than 100 µm compared to the neighboring point. The correction function for profile orientation levels deviates of the 2D profile in the x-, y- and z-directions. 3. Results 3.1. Thermal Visibility of Curling Defects on the Powder Bed Surface Revealing the relationship between the thermal distribution and curling defects on the surface of the powder bed was one of the main research aims of this study. Curling, as the thermally induced in-process distortion of the free edges of build parts, is still one of the challenges in the additive manufacturing of polymers. Considering that productivity and efficiency are key aspects in AM, the reduction of single-layer build time by optimizing process 47 <u>Publication 2</u> parameters enhances the further potential prospects of this technology. Nominal layer build time correlates directly to the processing steps such as heating, laser exposure, layer cooling, and recoating. According to the scan strategy, the laser exposure time is primarily influenced by the part bed size and varies with the complexity of the part. The duration of heating is related to the powder’s properties and mainly influenced by the thermal conductivity of the powder deployed, while recoating time depends on spreader speed and geometry [17]. Utilizing the above-mentioned process parameters, a reproducible approach of artificially generated curling was employed as part of this study. Curling, as described by Mercelis and Kruth in [48] and Soe in [20], is generally defined as the in-process lifting of the free edges of a component due to divergent shrinkage and associated residual stresses between the top and bottom of the component. This phenomenon is suspected to develop when the surface of a sintered layer is exposed to a new layer of coated powder due to heat transferring by conduction, or by heat transfer to the surrounding circulating gas by convection and radiation [49]. The temperature drop at the surface induces shrinkage at the top, while the bottom surface is kept below the higher temperature powder bed surface. In addition to other related process factors for curling, such as scanning strategy, laser power, part dimensions, and location/orientation, the curling effect is highly related to time and temperature during process, according to the elementary principles of heat transfer. As described in Section 2.1, both process parameters, time and temperature, were iteratively adjusted until constant and reproducible process conditions prevailed. Under set conditions, the visible appearance of curling was investigated within two different process stages, after recoating and after laser exposure during layer cooling time, revealing interesting new effects. As can be seen in Figure 10, the curling effect gets clearly visible at the thermal image after recoating with a new layer of powder. Sections close to the free edges of all depicted build part geometries (a–c) occurred in distinct highlighted temperature changes compared to the rest of the geometry. The visibility arose because the temperature of the curled edges very quickly took on the manually pre-lowered temperature of the circulating surrounding gas, due to the combination of the effects related in the section above: heat transfer by conduction into a new layer of powder and by convection and radiation into the surrounding gas. In addition to lowering the process temperature, the layer cooling time was extended (>100%) to provoke the appearance of curling. 48 <u>Publication 2</u> Figure 10. Thermal visibility of curling phenomenon during process after coating. Distinct lifting of the free edges of (a) circular, (b) cross, and (c) triangular-shaped build parts and lower intensity of curling at the top of the powder bed due to less temperature variation. 3.2. Visible Effects of Solidification on the Thermal Conductivity of PA12 A further effect has been ascertained by considering the visibility of curling of non-coated areas on the powder bed. After laser exposure, the lifting was clearly visible to the human eye and is further demonstrated in Section 3.3 by laser triangulation, but the thermal images showed no visible curling compared to the images after powder recoating, as depicted in Figure 11a. Figure 11. The progression of the temperature distribution on the powder bed surface (a) after laser exposure and extended layer cooling time (no visible curling, faded transitions of the build part and powder bed due to temperature alignment), and (b–e) after recoating at a time step of 8 s (clear, visible appearance of curling). The differences in visibility may be caused by the insulating effect of a new layer of colder powder, in addition to a change in the material density of PA12 due to the phase transition of powder state (ρ = 0.43 g/cm3) to solid state (ρ = 0.95 g/cm3) [50]. The densification process affects both material properties of PA12: the thermal conductivity (λ = 0.136 W/mK at sintered parts) and the specific heat capacity (cp = 2.35 J/gK at sintered parts) [50]. It takes 49 <u>Publication 2</u> longer for the curled areas of build parts to reach the temperature of the surrounding gas and become visible on thermal images. In order to underline this fact, the layer cooling time was further extended by prematurely terminating the process without significant upper insulation layers of unconsolidated powder. As depicted in Figure 12, clearly visible curling effects occurred close to the free edges of the components (a–c), but in a significantly lower temperature range than after the recoating process step, as depicted in Figure 10 in Section 3.1. Figure 12. First thermal visibility of the curling phenomenon at non-coated build parts (a–c). The premature process termination enabled cooling down of the build job without significant upper insulation layers. Curling finally appeared due to delayed heat transfer of sintered build parts into the surrounding gas. The results showed clear visibility of curling defects in powder bed fusion of polymers using thermal imaging for the first time by narrowing the temperature range at the output software and evaluating different color maps. The assumption was confirmed that the solidification of PA12 powder affects thermal conductivity and thus delays the visible appearance of curling defects in thermal images. The additional laser profilometry system will provide structural 3D data to confirm the quantifiable height of curling defects appearing in the powder bed at both process steps, after laser exposure and after recoating with a new layer of powder. 3.3. 3D Topology and Related Temperature Distribution on the Powder Bed Surface In order to obtain constant measurement results, a reproducible reference method was defined for each evaluation process. The surface data was generated by 3D topology, contrast shape detection, and grayscale visualization. It was referenced throughout the manually defined zero plane at the top surface of the powder bed. By manually defining and referencing the zero plane, deviations due to inclination of the profilometry system could be avoided. The 3D topology provides structural data of the current process quality by lining up 2-dimensional 50 <u>Publication 2</u> profile sections to generate a height map of the powder bed surface. In addition, maximum height values in the positive z-direction are automatically tagged by the system, enabling realtime process monitoring by adjusting process parameters if the defined threshold for curling defects is exceeded. The powder bed surface was measured simultaneously by laser triangulation and thermal imaging 12 s after recoating in an ongoing process when curling was visible to the human eye. The process temperature in the installation space and the cooling time of the previous layer were manually adjusted according to Section 2.1. Considering the thermal recording in Figure 13b, and as described in Section 3.1, lower temperatures were suspected as an indication of curling at build part sections, compared to the surrounding temperature distribution. The evaluation of the height map generated by the laser profilometer, as seen in Figure 13a, clearly proves that actual curling occurred at values of up to 80 µm (c) and thus, thermal imaging is capable of curling detection in powder bed fusion of polymers. The height map is based on grayscale imaging, highlighting sections of the components lifting up from the surface of the powder bed. Figure 13. Grayscale height map of the powder bed surface (a) after recoating. Related temperature distribution (b). Clearly visible coherences of the measured curling height (c,d) and temperature fields at the free edges of build parts (e,f). Slight visibility of striping at the 3D topology (a) due to non-filtered vibrations by the linear unit. Iteratively generated height maps at different post-coating progressions revealed curling failure starting at 23 μm in an average range over the entire powder bed surface. In addition to the post-coating measurements, further height maps and related thermal images were evaluated after laser exposure to confirm that curling can occur in every process step, even in addition to the visible melting depth at the pre-coating state after laser exposure. Since grayscale images only highlight topologies in the positive z-direction, an alternative height map was applied (as previously seen in Figure 9) to reveal both positive and negative values relating to the zero plane at the powder bed surface. Regarding the 3D topology in Figure 14a, a clear expression of curling appears close to the free edges at almost every transition point from sintered areas to the powder bed surface. In Figure 14b, the related temperature distribution at the pre-coating 51 <u>Publication 2</u> state is shown, revealing similar expressions of curling as within the post-coating state in Figure 13b. Figure 14. 3D topology of the powder bed surface (a) after laser exposure and related temperature distribution (b). A clear development of curling failure can be seen at the height map and the thermal image, even at the uncoated process state. Tagged line (c) as horizontal reference point for profile measurements to be discussed in Section 3.4. 3.4. Effective Curling Height at Profile Sections of 3D Topology The evaluation of the generated height maps revealed the quantifiable characteristics of curling at the stages of pre- and post-coating. The analysis of the profile section at the postcoating stage in Figure 15a revealed slight deformation and thus an increase of height values close to the free edges of all build parts. Considering the course of height alongside the x-axis (b), peaks are visible and measurable at transition points from curled parts to the powder bed surface. For the variations in height, the maximum value of 80 μm was detected at the left outside edge of the circular part. 52 <u>Publication 2</u> Figure 15. Height map at the post-coating stage (a) of a segment area of the powder bed surface. The corresponding profile section in (b) represents the deformation and thus height variation at the defined position on the y-axis. The visible peaks in the profile section (b) are tagged to the related segments at the topological map (a). While the analysis of the profile sections at the post-coating stage revealed slightly increased height values and subsequent drops at transition points, the pre-coating stage after powder melting provided completely different results regarding the progression of height values along the x-axis. Figure 16 shows the 3D topology (a) after laser exposure, which contains segment areas of merged powder resulting in negative values with respect to the powder bed surface, as well as curled peripheral zones at the free edges of all build parts. By analyzing the height values alongside the x-axis (b), a clear development of curling is demonstrated again, resulting in a curvature progression at the merged segments of the components. However, compared to the profile sections after recoating, strong distortionary peaks in height values are revealed at the transition points from curled parts to the powder bed surface. 53 <u>Publication 2</u> Figure 16. Height map at the pre-coating stage (a) of a segment area of the powder bed surface after laser exposure. The corresponding profile section (b) reveals strong peaks in height values at the transition points. If the overall process of powder bed fusion is considered in detail, a transition area between merged build parts and the surrounding powder is proven according to the results shown in Figure 16. Within this transition area, non-related powder particles are partially molten and stick to the components due to heat conduction. The resulting area is not part of the actual component and forms a rough surface that must be sandblasted after removal from the powder bed. Another phenomenon called the capillarity effect, proposed by Mattia Mele et al. in [51], could also contribute to the present measurement results in Figure 16. Their study examines the influence of surface tension on contour lines in Multi Jet Fusion. The capillarity effect results from the interaction between the detailing agents and the fusing agents during part building and determines a deviation of the upper planar geometries when close to the edges of the molten material and the powder bed. The uniformity of these phenomena is strongly influenced by the geometry of the layer. Although Multi Jet Fusion is a different manufacturing process, it could well be that there are similarities in the sub-processes and that this phenomenon amplifies the measurable curling effect in laser sintering as shown in Figure 16. The derivation of the respective peaks and their impact on the effective curling height (ECH) at non-coated process states is depicted in Figure 17. Figure 17. The cross section of the build part in the xz-plane after laser exposure. The transition area occurs between the actual part and the surrounding powder bed. (a) shows the process state without lifting of free edges with LZ as current layers and hm as melting depth. (b) shows the current process state with curling and thus a resulting calculation of height peaks. With reference to Figure 17, the ECH peak can be calculated by summing the actual height h1 of the part lifting from the powder bed surface and the additional height h2 of the adhering partially molten powder particles and material affected by the capillarity effect at the transition area. The results of the profile measurements clearly indicate the height variations 54 <u>Publication 2</u> shown on the 3D surface maps and confirm the related temperature distribution. Slicing the surface profile at a defined position on the y-axis enables the allocation of quantifiable values to curled sections on the powder bed surface. On comparing the progression of the height values shown on the profile measurements, a clear deviation at different process conditions can be seen. 4. Discussion This paper proposes an approach of real-time process monitoring and in situ defect detection in PBF-LB/P by the simultaneous application of industrial grade laser profilometry and thermal imaging. As the main part of this study, the 3D mapping of the entire powder bed surface inside the installation space and the representation of the related temperature fields were successfully realized for the first time. Correlations of thermal distributions and the influences on metrics such as powder layer quality, curling height, and associated melting depth were revealed by gathering data on structural height maps. The resulting data provided by the two different sensor concepts was considered individually to derive independent results as well as simultaneously synchronized to confirm correlations. The modified settings on the thermal color map and the depicted temperature range enabled the verifiable visualization of artificially created curling failures in the powder bed of an EOS FORMIGA P 110 laser sinter system. The adaption of the process by lowering the temperature to 97% and iteratively extending the layer cooling time, which is usually related to the internal exposure strategy, enabled the simulation of curling within different degrees of intensity and at several process stages such as post-coating and pre-coating after laser exposure. The visibility of curling failure and related temperature fields at coated and non-coated areas of the build parts demonstrated that the thermal conductivity changes within phase transition of powder to solid. In order to confirm the height differences indicated by the thermal recordings due to lifting of parts from the powder bed, the radiometric output data of the laser profilometer were analyzed at equal time steps of process progression. The linear translation of the laser profilometer generated 3D height maps, highlighting structural failures by measuring the complete powder bed surface inside the installation space. Considering both sets of data, an exact match of curling locations on the thermal images and on the 3D topology maps was confirmed, which further establishes the verifiable detection of curling failures by thermal imaging. The analysis of the profile sections on the xz-plane revealed the exact progression of curling height in relation to the powder bed surface as a reference plane, including peak values as transition points from curled parts to the powder bed surface, starting at 23 µm to a maximum value of 560 µm. The direct comparison of measured curling behavior at pre- and post-coating states indicated the development of a transition area at peripheral zones of build parts, resulting in partly melted powder sticking to the components, leading to additional peaks on top of the of the components. The effective curling height (ECH) after laser exposure was verified as the sum of the actual height h1 of part lifting and the additional height h2 of adherent partly molten powder particles and material affected by the capillarity effect as described in [51]. Further effects were observed, such as measured warpage of the part center in the negative z direction, induced by the creation of tensile stresses on the top and compressive stresses on the bottom of parts, as previously theoretically described by Mercelis and Kruth in [48] and by Sillani in [17]. 55 <u>Publication 2</u> This work does not consider the effects of powder cake cooling and crystallization kinetics on further distortion effects and mechanical properties of the finished parts. In [52], Hooreweder et al. discuss the influence of the building direction of sintered parts on fatigue properties, the density, the degree of crystallinity, and the crystal structure. Another example is given in [53] by Dupin et al. where the influence of the microstructure and crystalline features on the mechanical properties of sintered parts is reviewed. The study by Craft et al. [54] highlights the microstructural characteristics of different cooling rates in additive manufacturing processes. 5. Conclusions This study demonstrated the successful implementation of process monitoring in the powder bed fusion of polymers, while still exhibiting limitations by restricted real-time intrusion into process parameters. This approach is capable of providing real-time data that could effectively be deployed in a machine setting to automatically adjust temperatures of the heating system if a threshold of measured curling is reached. It should be noted that the results are only valid for the approach presented, as the calibration status of individual machines and sensor types can vary greatly. The results can also be used for future profound investigations of sub-processes regarding crystallization behavior, the influence of hatching strategies, and cooling rates of the powder cake. Compared to methods of process monitoring by deep learning, this study proposes an effective way of defect detection, requiring less data and lower computational overheads. It would be purposeful to further investigate the use of deep learning to process the data to include physical influences, online parameter optimization, and other sensor technologies to provide additional data. Author Contributions: Conceptualization, V.K. and L.S.; Data curation, V.K. and L.S.; Formal analysis, V.K. and L.S.; Funding acquisition, V.K., M.B. and A.O.; Investigation, V.K. and L.S.; Methodology, V.K. and L.S.; Project administration, V.K.; Resources, V.K. and L.S.; Software, V.K. and L.S.; Supervision, V.K., M.B. and A.O.; Validation, V.K. and L.S.; Visualization, V.K.; Writing—original draft, V.K.; Writing—review & editing, V.K., M.B. and A.O. All authors have read and agreed to the published version of the manuscript. Funding: The research leading to these results was funded under the cooperative doctoral program “Digiphot” between FH Campus Wien and TU Wien. This work was also supported by the City of Vienna: MA23—Projekt 29-22, “Artificial Intelligence” and MA23—Projekt 3025, “AI & VR Lab”. Institutional Review Board Statement: Not applicable. Institutional Review Board Statement: Not applicable. Data Availability Statement: Not applicable. Acknowledgment: A big thank you goes to David Nechi, who made this project possible with his expertise in handling and operating the laser sintering system. 56 <u>Publication 2</u> Conflicts of Interest: The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results. References 1. Eyers, D.R.; Potter, A.T. Industrial Additive Manufacturing: A manufacturing systems perspective. Comput. Ind. 2017, 92–93, 208–218. https://doi.org/10.1016/j.compind.2017.08.002. 2. Vafadar, A.; Guzzomi, F.; Rassau, A.; Hayward, K. Advances in Metal Additive Manufacturing: A Review of Common Processes, Industrial Applications, and Current Challenges. Appl. Sci. 2021, 11, 1213. https://doi.org/10.3390/app11031213. 3. Ngo, T.D.; Kashani, A.; Imbalzano, G.; Nguyen, K.T.Q.; Hui, D. Additive Manufacturing (3D Printing): A Review of Materials, Methods, Applications and Challenges. Compos. Part B Eng. 2018, 143, 172–196. https://doi.org/10.1016/j.compositesb.2018.02.012. 4. Srivastava, M.; Rathee, S. Additive manufacturing: Recent trends, applications and future outlooks. Prog. Addit. Manuf. 2021, 7, 261–287. https://doi.org/10.1007/s40964-02100229-8. 5. Liu, Z.; Zhao, D.; Wang, P.; Yan, M.; Yang, C.; Chen, Z.; Lu, J.; Lu, Z. Additive manufacturing of metals: Microstructure evolution and multistage control. J. Mater. Sci. Technol. 2022, 100, 224–236. https://doi.org/10.1016/j.jmst.2021.06.011. 6. Zhang, D.; Lim, W.Y.S.; Duran, S.S.F.; Loh, X.J.; Suwardi, A. Additive Manufacturing of Thermoelectrics: Emerging Trends and Outlook. ACS Energy Lett. 2022, 7, 720–735. https://doi.org/10.1021/acsenergylett.1c02553. 7. Kusoglu, I.M.; Doñate-Buendía, C.; Barcikowski, S.; Gökce, B. Laser Powder Bed Fusion of Polymers: Quantitative Research Direction Indices. Materials 2021, 14, 1169. https://doi.org/10.3390/ma14051169. 8. Hejmady, P.; van Breemen, L.C.; Hermida-Merino, D.; Anderson, P.D.; Cardinaels, R. Laser sintering of PA12 particles studied by in-situ optical, thermal and X-ray characterization. Addit. Manuf. 2022, 52, 102624. https://doi.org/10.1016/j.addma.2022.102624. 9. Colorado, H.A.; Mendoza, D.E.; Lin, H.-T.; Gutierrez-Velasquez, E. Additive manufacturing against the Covid-19 pandemic: A technological model for the adaptability and networking. J. Mater. Res. Technol. 2022, 16, 1150–1164. https://doi.org/10.1016/j.jmrt.2021.12.044. 10. Bakshi, K. A Review on Selective Laser Sintering: A Rapid Prototyping Technology. IOSR J. Mech. Civ. Eng. 2016, 4, 53–57. https://doi.org/10.9790/1684-15008040453-57. 11. Zhang, Y.; Jarosinski, W.; Jung, Y.-G.; Zhang, J. 2-Additive manufacturing processes and equipment. In Additive Manufacturing; Zhang, J., Jung, Y.-G., Eds.; Elsevier Science & 57 <u>Publication 2</u> Technology: Saint Louis, MO, USA, 2018; pp. 39–51. https://doi.org/10.1016/b978-0-12812155-9.00002-5. 12. Reiff, C.; Wulle, F.; Riedel, O.; Onuseit, V.; Epple, S. On Inline Process Control for Selective Laser Sintering. In Proceedings of the 8th International Conference on Mass Customization and Personalization, Novi Sad, Serbia, 19–21 September 2018. 13. Schmachtenberg, E.; Seul, T. Model of isothermic laser-sintering. In Proceedings of the 60th Anual Technical Conference of the Society of Plastic Engineers (ANTEC), San Francisco, CA, USA, 5–9 May 2002. 14. Drummer, D.; Greiner, S.; Zhao, M.; Wudy, K. A novel approach for understanding laser sintering of polymers. Addit. Manuf. 2019, 27, 379–388. https://doi.org/10.1016/j.addma.2019.03.012. 15. Wegner, A. Theorie über die Fortführung von Aufschmelzvorgängen als Grundvoraussetzung für eine robuste Pro-Zessführung beim Laser-Sintern von Thermoplasten. Master’s Thesis, Fakultät für Ingenieurwissenschaften, Abteilung Maschinenbau und Verfahrenstechnik, Universität Duisburg-Essen: Essen, Germany, 2015. 16. Wegner, A.; Witt, G. Understanding the decisive thermal processes in laser sintering of polyamide 12. AIP Conf. Proc. 2015, 1664, 160004. https://doi.org/10.1063/1.4918511. 17. Sillani, F.; MacDonald, E.; Villela, J.; Schmid, M.; Wegener, K. In-situ monitoring of powder bed fusion of polymers using laser profilometry. Addit. Manuf. 2022, 59, 103074. https://doi.org/10.1016/j.addma.2022.103074. 18. Westphal, E.; Seitz, H. A machine learning method for defect detection and visualization in selective laser sintering based on convolutional neural networks. Addit. Manuf. 2021, 41, 101965. https://doi.org/10.1016/j.addma.2021.101965. 19. Almabrouk, M.A. Experimental investigations of curling phenomenon in selective laser sintering process. Rapid Prototyp. J. 2016, 22, 405–415. 20. Soe, S.P. Quantitative analysis on SLS part curling using EOS P700 machine. J. Mater. Process. Technol. 2012, 212, 2433–2442. https://doi.org/10.1016/j.jmatprotec.2012.06.012. 21. Chen, Y.; Peng, X.; Kong, L.; Dong, G.; Remani, A.; Leach, R. Defect inspection technologies for additive manufacturing. Int. J. Extrem. Manuf. 2021, 3, 22002. https://doi.org/10.1088/2631-7990/abe0d0. 22. Zhang, B.; Li, Y.; Bai, Q. Defect Formation Mechanisms in Selective Laser Melting: A Review. Chin. J. Mech. Eng. 2017, 30, 515–527. https://doi.org/10.1007/s10033-0170121-5. 23. Greiner, S.; Wudy, K.; Wörz, A.; Drummer, D. Thermographic investigation of laserinduced temperature fields in selective laser beam melting of polymers. Opt. Laser Technol. 2019, 109, 569–576. https://doi.org/10.1016/j.optlastec.2018.08.010. 58 <u>Publication 2</u> 24. Greiner, S.; Drummer, D. Infrared monitoring of modified hatching strategies for laser sintering of polymers. Procedia CIRP 2020, 94, 89–94. https://doi.org/10.1016/j.procir.2020.09.018. 25. Hofman, J.; Wudy, K. In situ process monitoring in laser-based powder bed fusion of polyamide 12 using thermal imaging. Int. J. Adv. Manuf. Technol. 2022, 122, 4127–4138. https://doi.org/10.1007/s00170-022-10169-4. 26. Phillips, T.; Fish, S.; Beaman, J. Development of an automated laser control system for improving temperature uniformity and controlling component strength in selective laser sintering. Addit. Manuf. 2018, 24, 316–322. https://doi.org/10.1016/j.addma.2018.10.016. 27. Zhang, L.; Phillips, T.; Mok, A.; Moser, D.; Beaman, J. Automatic Laser Control System for Selective Laser Sintering. IEEE Trans. Ind. Inform. 2019, 15, 2177–2185. https://doi.org/10.1109/tii.2018.2867007. 28. Wroe, W.W.; Gladstone, J.N.; Phillips, T.; Fish, S.; Beaman, J.J.; McElroy, A.B. In-Situ Thermal Image Correlation with Mechanical Properties of Nylon-12 in SLS. Rapid Prototyp. J. 2016, 22, 794–800. 29. Wegner, A.; Witt, G. Process monitoring in laser sintering using thermal imaging. In Proceedings of the 2011 International Solid Freeform Fabrication Symposium, Austin, TX, USA, 8–10 August 2011. 30. Borish, M.; Post, B.K.; Roschli, A.; Chesser, P.C.; Love, L.J. Real-Time Defect Correction in Large-Scale Polymer Additive Manufacturing via Thermal Imaging and Laser Profilometer. Procedia Manuf. 2020, 48, 625–633. https://doi.org/10.1016/j.promfg.2020.05.091. 31. Southon, N.; Stavroulakis, P.; Goodridge, R.; Leach, R. In-process measurement and monitoring of a polymer laser sintering powder bed with fringe projection. Mater. Des. 2018, 157, 227–234. https://doi.org/10.1016/j.matdes.2018.07.053. 32. Gardner, M.R.; Lewis, A.; Park, J.; McElroy, A.B.; Estrada, A.D.; Fish, S., Jr.; J.J.B.; Milner, T.E. In situ process monitoring in selective laser sintering using optical coherence tomography. Opt. Eng. 2018, 57, 41407. https://doi.org/10.1117/1.oe.57.4.041407. 33. Guan, G.; Hirsch, M.; Syam, W.P.; Leach, R.K.; Huang, Z.; Clare, A.T. Loose powder detection and surface charac-terization in selective laser sintering via optical coherence tomography. R. Soc. Proc. 2016, 472, 20160201. 34. Phuc, L.T.; Seita, M. A high-resolution and large field-of-view scanner for in-line characterization of powder bed defects during additive manufacturing. Mater. Des. 2019, 164, 107562. https://doi.org/10.1016/j.matdes.2018.107562. 35. Sassaman, D.M.; Ide, M.S.; Kovar, D.; Beaman, J.J. Design of an In-situ microscope for selective laser sintering. Addit. Manuf. Lett. 2022, 2, 100033. https://doi.org/10.1016/j.addlet.2022.100033. 36. Fish, S.; Booth, J.C.; Kubiak, S.T.; Wroe, W.W.; Bryant, A.D.; Moser, D.R.; Beaman, J.J. Design and subsystem development of a high temperature selective laser sintering machine 59 <u>Publication 2</u> for enhanced process monitoring and control. Addit. Manuf. 2015, 5, 60–67. https://doi.org/10.1016/j.addma.2014.12.005. 37. Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-Dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. J. Big Data 2021, 8, 1–74. https://doi.org/10.1186/s40537-021-00444-8. 38. Klamert, V.; Schmid-Kietreiber, M.; Bublin, M. A deep learning approach for real time process monitoring and curling defect detection in Selective Laser Sintering by infrared thermography and convolutional neural networks. Procedia CIRP 2022, 111, 317–320. https://doi.org/10.1016/j.procir.2022.08.030. 39. Xiao, L.; Lu, M.; Huang, H. Detection of powder bed defects in selective laser sintering using convolutional neural network. Int. J. Adv. Manuf. Technol. 2020, 107, 2485–2496. https://doi.org/10.1007/s00170-020-05205-0. 40. Bauer, M.; Augenstein, C.; Schäfer, M.; Theile, O. Artificial Intelligence in Laser Powder Bed Fusion Procedures—Neural Networks for Live-Detection and Forecasting of Printing Failures. Procedia CIRP 2022, 107, 1367–1372. https://doi.org/10.1016/j.procir.2022.05.159. 41. Kanko, J.A.; Sibley, A.P.; Fraser, J.M. In situ morphology-based defect detection of selective laser melting through inline coherent imaging. J. Mater. Process. Technol. 2016, 231, 488–500. https://doi.org/10.1016/j.jmatprotec.2015.12.024. 42. Li, Z.; Liu, X.; Wen, S.; He, P.; Zhong, K.; Wei, Q.; Shi, Y.; Liu, S. In Situ 3D Monitoring of Geometric Signatures in the Powder-Bed-Fusion Additive Manufacturing Process via Vision Sensing Methods. Sensors 2018, 18, 1180. https://doi.org/10.3390/s18041180. 43. Maucher, C.; Werkle, K.T.; Möhring, H.-C. In-Situ defect detection and monitoring for laser powder bed fusion using a multi-sensor build platform. Procedia CIRP 2021, 104, 146–151. https://doi.org/10.1016/j.procir.2021.11.025. 44. McCann, R.; Obeidi, M.A.; Hughes, C.; McCarthy, E.; Egan, D.S.; Vijayaraghavan, R.K.; Joshi, A.M.; Garzon, V.A.; Dowling, D.P.; McNally, P.J.; et al. In-situ sensing, process monitoring and machine control in Laser Powder Bed Fusion: A review. Addit. Manuf. 2021, 45, 102058. https://doi.org/10.1016/j.addma.2021.102058. 45. Zhirnov, I.; Panahi, N.; Åsberg, M.; Krakhmalev, P. Process quality assessment with imaging and acoustic monitoring during Laser Powder Bed Fusion. Procedia CIRP 2022, 111, 363–367. https://doi.org/10.1016/j.procir.2022.08.167. 46. Laumer, T.; Stichel, T.; Amend, P.; Schmidt, M. Simultaneous laser beam melting of multimaterial polymer parts. J. Laser Appl. 2015, 27, S29204. https://doi.org/10.2351/1.4906303. 47. Keyence. LJ-X8400 Technical Description; Keyence: Osaka, Osaka, Japan. 2022 48. Mercelis, P.; Kruth, J. Residual stresses in selective laser sintering and selective laser melting. Rapid Prototyp. J. 2006, 12, 254–265. https://doi.org/10.1108/13552540610707013. 60 <u>Publication 2</u> 49. Incropera, F.P.; DeWitt, D.P. Fundamentals of Heat and Mass Transfer, 4th ed.; Wiley: New York, NY, USA, 1996. 50. EOS. PA2200 Technical Description; EOS: Krailling, Germany. 2022 51. Mele, M.; Campana, G.; Monti, G.L. Modelling of the capillarity effect in Multi Jet Fusion [technology. Addit. Manuf. 2019, 30, 100879. https://doi.org/10.1016/j.addma.2019.100879.](https://doi.org/10.1016/j.addma.2019.100879) 52. Van Hooreweder, B.; Moens, D.; Boonen, R.; Kruth, J.-P.; Sas, P. On the difference in material structure and fatigue properties of nylon specimens produced by injection molding and selective laser sintering. Polym. Test. 2013, 32, 972–981. https://doi.org/10.1016/j.polymertesting.2013.04.014. 53. Dupin, S.; Lame, O.; Barrès, C.; Charmeau, J.-Y. Microstructural origin of physical and mechanical properties of polyamide 12 processed by laser sintering. Eur. Polym. J. 2012, 48, 1611–1621. https://doi.org/10.1016/j.eurpolymj.2012.06.007. 54. Craft, G.; Nussbaum, J.; Crane, N.B.; Harmon, J. Impact of extended sintering times on mechanical properties in PA-12 parts produced by powderbed fusion processes. Addit. Manuf. 2018, 22, 800–806. https://doi.org/10.1016/j.addma.2018.06.028. 61 62 <u>Publication 3</u> #### 2.3 Real-Time Optical Detection of Artificial Coating Defects in PBF-LB/P Using a Low-Cost Camera Solution and Convolutional Neural Networks Published by: MDPI Journal: Applied Sciences Special Issue: Pattern Recognition Based on Machine Learning and Deep Learning DOI: https://doi.org/10.3390/app132011273 Victor Klamert <sup>1</sup> ,*, Timmo Achsel <sup>1</sup> , Efecan Toker <sup>1</sup> , Mugdim Bublin <sup>2</sup> ,* and Andreas Otto <sup>3</sup> 1 High Tech Manufacturing, University of Applied Sciences Vienna FH Campus Wien, Favoritenstrasse 226, Wien 1100, Austria 2 Computer Science and Digital Communications, University of Applied Sciences Vienna FH Campus Wien, Favoritenstrasse 226, Wien 1100, Austria 3 Institute for Manufacturing and Photonic Technologies, Technische Universität Wien, Getreidemarkt 9, Wien 1060, Austria - Correspondence: victor.klamert@fh-campuswien.ac.at (V.K.); mugdim.bublin@fh-campuswien.ac.at (M.B.) Abstract: Additive manufacturing plays a decisive role in the field of industrial manufacturing in a wide range of application areas today. However, process monitoring, and especially the real-time detection of defects, is still an area where there is a lot of potential for improvement. High defect rates should be avoided in order to save costs and shorten product development times. Most of the time, effective process controls fail because of the given process parameters, such as high process temperatures in a laserbased powder bed fusion, or simply because of the very cost-intensive measuring equipment. This paper proposes a novel approach for the real-time and high-efficiency detection of coating defects on the powder bed surface during the powder bed fusion of polyamide (PBF-LB/P/PA12) by using a low-cost RGB camera system and image recognition via convolutional neural networks (CNN). The use of a CNN enables the automated detection and segmentation of objects by learning the spatial hierarchies of features from low to high-level patterns. Artificial coating defects were successfully induced in a reproducible and sustainable way via an experimental mechanical setup mounted on the coating blade, allowing the in-process simulation of particle drag, part shifting, and powder contamination. The intensity of the defect could be continuously varied using stepper motors. A low-cost camera was used to record several build processes with different part geometries. Installing the camera inside the machine allows the entire powder bed to be captured without distortion at the best possible angle 63 <u>Publication 3</u> for evaluation using CNN. After several training and tuning iterations of the custom CNN architecture, the accuracy, precision, and recall consistently reached >99%. Even defects that resembled the geometry of components were correctly classified. Subsequent gradient-weighted class activation mapping (Grad-CAM) analysis confirmed the classification results. Keywords: additive manufacturing; powder bed fusion of polymers; coating defects; computer vision; convolutional neural network; process control 1. Introduction The technology of additive manufacturing (AM) enables the production of highly complex and qualitative components for a wide range of industrial and commercial applications such as automotive, aerospace, medical devices, dentistry, electronic components, and even microstructural applications [1–9]. In particular, the laser-based powder bed fusion of polymers PBF-LB/P and metals PBF-LB/M, in which powder is applied in layers and sintered or fused via a laser [10,11], has a wide range of applications and research areas [12–21]. Despite the many advantages of this technology, there are still certain limitations when it comes to reproducible component quality across multiple build jobs. For example, the quality of AMproduced parts varies from batch to batch and from machine to machine. There is also a lack of standards developed for AM processes, as compared to the tolerance requirements defined in DIN 16742:2013 [22] for the injection molding process, where the dimensional errors of AM exceed the defined ranges [23]. Another limitation is the inconsistent dimensional error, which is often outside the standard tolerance range [24]. When it comes to PBF-LB/P, any defect is critical, both in terms of endangering the process itself, which could lead to a process stoppage, and in terms of compromising the quality of the part in every way. Further investigation is required as part of process monitoring to understand the thermal interactions, ensure the part quality, and reduce the number of failures. PBF-LB/P has already made a remarkable breakthrough in certain industrial applications by reaching high standard requirements, but successful integration into the industrial process flow and supply chain is still limited by the lack of sustainable process control. The integration of suitable real-time quality control is difficult to implement due to the largely closed software and hardware solutions and the fact that it is almost impossible to interfere with the parameters during the running process [25,26]. Several simulation designs for real-time process control systems in powder bed fusion are proposed [27–32]. A good overview of important parameters and influencing factors is given in [33] by Vlasea et al. This review describes a testbed for implementing process monitoring methods, including simulation approaches for real-time process control algorithms. A measurement and process control strategy is presented based on an organizational structure that includes pre-processing, in situ defects or fault detection, in situ continuous feedback control, and signature deviation control. When this organizational structure of Vlasea et al. and the individual components are examined in more detail, a concept for the in situ defect detection component can be developed on the basis of the current study. For this defect detection concept, 64 <u>Publication 3</u> certain parameters, as shown in Figure 1, need to be defined and implemented in order to be integrated and processed within an overall process control structure. Figure 1. Concept for in situ defect or fault detection, including sensor concept and defect detection, either by exceeding defined thresholds with a specific measurement method, e.g., laser profilometry, or via image recognition based on deep learning, e.g., anomaly detection. As a non-part of this study, the connection to the next conditional points of a complete process monitoring is then presented. The parameters that are responsible for the defect and the derivation of suitable countermeasures and continuous interaction with in situ process control to modulate process inputs based on measurements. Regarding the failures and defects that can occur in the processing of polyamides as well as metallic powders, there are synergies as well as independent effects. In addition to similar defects like curling, shrinkage, coating failures, part shifting, particle drag, powder contamination, and powder short feed, the manufacturing of metal powders might lead to additional defects like cracks, spatters, and porosity [26,34,35]. Figure 2 shows the effect of part shifting during the ongoing sintering process in the FORMIGA P 110 PBF-LB/P system via the EOS (Krailling, Germany) used for this work. As can be clearly seen, this event immediately leads to a complete stoppage of the build job. 65 <u>Publication 3</u> Figure 2. Part shifting leads to total process abortion at the PBF-LB/P system used in this study. Components were completely torn out of the powder bed via the coater blade. The inside of the machine must be completely cooled and cleaned before the entire job can be restarted. Previous work has shown several different experimental approaches for the detection of defects in both metallic and plastic powder processing [25,26,36–47]. However, despite the promising results, these are always scientific experiments with expensive measuring instruments or complex experimental set-ups that are not yet suitable for industrial applications. In this paper, a new approach to coating defect detection is proposed by installing a cooled camera system inside the PBF-LB/P system and evaluating the data via deep learning using a custom convolutional neural network (CNN). Since the artificial and reproducible induction of various defects in the field of powder bed fusion represents a major challenge without direct process termination [25,26,36], this approach represents a new experimental solution. 2. Background and Methodology Recent studies and literature reviews show that the use of deep learning is becoming increasingly common, especially in the manufacturing industry, to monitor processes, detect defects, and predict component quality [48–51]. According to the literature, the application of supervised CNN in particular has often been used to check relevant components. The use of supervised CNN has shown promising results for tasks such as defect classification and defect segmentation. Classification works at the image level and recognizes the object in the image. Segmentation operates at the pixel level and detects the object type in each pixel of the input [48]. The following are a few examples of the use of supervised CNN in industrial and safetyrelated applications. In [52], Chen and Jahanshahi proposed a CNN to detect cracks in safetyrelevant parts of a nuclear power plant. Dong et al. [53] addressed the identification of small abnormalities in applications such as industrial inspection. A steel plate defect inspection was proposed by He et al. [54] for real-time quality control of the manufacturing process. In [55], Shi et al. showed the effective deployment of CNN for automated underwater pipeline defect inspection. Tabernik et al. [56] introduced a segmentation-based deep learning approach for surface defect detection, which was designed to detect and segment surface anomalies and 66 <u>Publication 3</u> showed that the proposed approach is able to learn on a small number of defects, using only about 25–30 defective training samples instead of hundreds or thousands. Another industrial non-destructive testing (NDT) example is given by Tang et al. in [57], who inspected X-ray images of castings using spatial attention bilinear CNN. In [58], an online sequential classifier and transfer learning (OSC-TL) method was presented by Yang et al. for the training and classification of Mura defects in the manufacturing process of flat panel displays. In the literature, unsupervised CNN models are mainly categorized into anomaly detection, GAN-based models (Generative Adversarial Networks), and hybrid models. Compared to supervised CNN architectures, unsupervised models are able to perform image labeling, pixel-level, defect image classification, and defect area localization. External and internal defect detection is possible within several computer vision tasks [48]. The following are a few examples of unsupervised CNN applications for anomaly detection, GAN-based, and hybrid models. In [59], Chow et al. proposed a convolutional autoencoder (CAE) to implement the anomaly detection of defects on concrete structures and further facilitate the visual inspection of civil infrastructure. Another example of an autoencoder is given by Yang et al. in [60]. A multi-scale, fully convolutional autoencoder (FCAE) was used, considering only defectfree images for surface defect detection. Ruff et al. [61] used a deep support vector description (D-SVDD) CNN architecture for semi-supervised and unsupervised anomaly detection. Regarding unsupervised GAN models, Lian et al. [62] presented a model where GAN is combined with CNN to enable flawless image and identify miniature surface defects. Another approach for a surface defect-generation adversarial network (SDGAN) was presented by Niu et al. in [63]. The model was applied on accurate images to increase the dataset of defective images. For high-dimensional datasets, Zenati et al. in [64] presented a trained GAN-based model using a score function to increase the efficiency of defect detection. Another example for high-dimensional datasets was given in [65] by Deecke et al. by investigating a new anomaly method based on searching for a good representation of this sample in the latent space of the generator. The final category of unsupervised CNN models for defect detection is the hybrid variant. A generic method for automated surface defect detection based on a bilinear model has been proposed by Zhou et al. in [66] by extracting the features globally and locally, applying subnetworks based on visual geometry and labelled Double-VGG16. Another approach of a hybrid unsupervised CNN model was presented by Tsai et al. [67] for automatic defect detection in material surfaces. The study included a two-stage deep learning scheme for pixelwise defect detection on textured surfaces using two CycleGAN models and a U-Net semantic network. The previous studies showed that the use of deep learning is well suited for industrial manufacturing purposes in order to classify and identify both external and internal defects. The targeted use of CNN in additive manufacturing, especially in powder bed fusion, has already been discussed in several applications and has shown very good results in process monitoring, defect detection, and the prediction of component quality [49]. What is striking, however, is that most of the research is being carried out in the field of powder bed fusion of metals, and there are only a few cases of CNN being applied to the manufacturing of polymers. This could be due both to the nature of the defects, which are more visible and occur in greater numbers in the metal fabrication sector [34,35], and presumably to the interest from the manufacturing industry [68]. 67 <u>Publication 3</u> Our previous approach [36] showed good results in detecting curling defects on the same PBF-LB/P system using thermal imaging and defect classification using a VGG-16 CNN. An average accuracy of 98.54% for the detection of curling defects was achieved and the results encouraged the effective use of DL for the non-destructive, in situ quality control of powder bed fusion processes. Another study by Westphal and Seits [69] demonstrated the application of non-destructive defect detection in the field of powder bed fusion of polymers using complex transfer learning (TL) methods. Their approach used a VGG16 and Xception CNN model with pre-trained weights from the ImageNet dataset as the initialization. In [70], Arslan et al. demonstrated a DL defect detection system called “SLS-ResNet” to detect defects such as curling, part shifting caused by curling, and powder short feed on a DTM Sinterstation 2500 Plus PBF-LB/P system. Unfortunately, no further information on defect generation was given. Another approach on the same Sinterstation was presented by Xiao et al. in [71] to detect the same defects as in the previous study, but in this case, it was explained in detail how certain parameters such as process temperature were manipulated to create the defects. In [72], Schlicht et al. showed a method for the in-line assessment of part porosity to detect limitations in the reproducibility of manufactured parts by using deep residual neural networks. Their study used the same EOS PBF-LB/P system as the current study. Baturynska et al. [24] showed the influence of component positioning in the installation space of an EOS P 395 PBF-LB/P system on part dimension accuracy. This work aimed to predict the scaling ratio for each part separately, depending on its placement, orientation, and CAD characteristics, using artificial neural networks (ANN) such as Multi-Layer Perceptron (MLP) and CNN. 3. Materials and Methods 3.1. PBF-LB/P System Just like in previous studies [25,36], all experimental trials were carried out on the same PBF-LB/P system. This laser-based powder bed fusion system for polymer powders uses high performance PA (PA2200) nylon fused via a CO2 laser and is capable of producing small batch prototypes as well as larger quantities of industrial-grade components. According to the technical description of the system [73] and the product information of the powder [74], the parameters are listed in Table 1. <u>Table 1.</u> <u>Parameters of EOS FORMIGA P 110.</u> Laser type CO2 Laser power 30 W Laser wavelength 10.6 µm Scanning speed 5 m/s Exposed area (xy) 200 mm × 250 mm Maximum part height (z) 300 mm Layer thickness 50 µm–200 µm Defined layer thickness 100 µm <u>Powder type</u> <u>PA2200 nylon</u> 68 <u>Publication 3</u> A standard unadjusted laser scan speed and hatch spacing from the EOS default exposure strategy was used, but its parameters cannot be viewed or adjusted as EOS does not provide any further information about them. 3.2. Simulation of Artificial Coating Defects as Part Shifting and Particle Drag As described in [25,26,36,70,71], it is hardly possible to intervene in any kind of process parameters of industrial PBF-LB/P systems, to adjust them, or to obtain information about exposure strategies. Consequently, it is difficult to simulate any defects in a reproducible manner during the running process without causing a complete process termination. The studies showed that with the EOS system, it is only possible to manipulate the process temperature before the start of the process in order to artificially cause a curling defect. Curling, which is the thermally induced in-process distortion of the free edges of build parts [75], can lead to the shifting of whole components if too pronounced. Depending on the size of the displaced parts and the current process progress, this can lead to an immediate process termination. However, as the height of curling can only be determined using complex measuring methods, as described in [25], the actual occurrence of this effect is subject to chance, making reproducible generation impossible. The effect of particle drag can also only be caused accidentally by a manual contamination of the powder. One of the main goals of this study was to artificially generate these defects efficiently, in order to generate as much data as possible from both the defect-free and defective process sections, and then train a custom CNN for automated defect detection. To determine the penetration depth of the foreign bodies at which the actual components are displaced from the powder bed, different wire thicknesses of copper and aluminum were applied to the coater blade, as shown in Figure 3, and the sintering process was then started normally. Figure 3. Different wire thicknesses were applied to the coater during the running process with (a) 0.3 mm, (b) 0.5 mm, and (c) 0.6 mm to check maximum penetration depth of simulated part shifting and particle drag. A total of seven different thicknesses from 0.3, 0.5, 0.6, 1, 1.5, 2, and 3 mm were applied to the coater. As well as the depth of penetration into the powder bed, the current state of the process was also important, making it difficult to make an explicit statement, so a penetration depth between 0.1 mm and 0.5 mm was defined for further investigations. After these initial trials, however, it quickly became apparent that a stationary assembly of a simulated defect on the coater blade was not practical for further investigation, as the defect would be continuously 69 <u>Publication 3</u> implied with each layer. In order to train a CNN effectively, sufficient data from both the correct and defective process steps must be available. When it comes to the real-time monitoring of the process, and especially the simulation of randomly occurring defects, the defects must not occur permanently. Based on these findings, a mechanical assembly was developed that is mounted on the coater blade and can be activated externally outside the machine. In order not to damage the machine, the activation of this defect simulation could only take place when the coater blade was in a certain area of the powder bed. To define the end positions of the coating blade, two limit switches have been fitted to the actuator cylinder inside the machine, as shown in Figure 4. Figure 4. Definition of the end position of the coating blade. Two switches (a) and (b) have been installed inside the machine to be activated when the actuator (c) of the coater spreads a new layer of powder. Within this time window, the coating defect can then be randomly simulated, controlled via a Raspberry Pi. The number of new layers after which the defect occurs can also be randomized. The mechanical actuation of the defect on the powder bed surface was achieved using components made from stereolithography-produced high temperature material mounted on the coating blade to withstand temperatures of up to 170 °C during the ongoing sintering process. This mechanical design includes a lever structure that can be operated from outside the machine via mechanical Bowden cables, as shown in Figure 5. 70 <u>Publication 3</u> Figure 5. Mechanical device (a) for simulating coating defects mounted on the coating blade (b) in the retracted state with no contact to the powder bed. The mechanical system is operated via high temperature resistant Bowden cables which run to the outside of the machine to be actuated. When the system is then activated during the application of a new layer of powder, contact is made with the powder bed surface and an artificially induced coating defect is created. Figure 6 shows the system in the activated state. In this study, a needle was used to simulate particle drag and the part shifting of small components. Depending on the depth of penetration into the powder, the intensity of the defect can then be individually adjusted. Figure 6. The lever structure for creating artificially induced coating defects in the activated state with the contact point of the needle (a) on the powder bed surface. The Bowden cables were routed inside the machine and then exited through a customized inspection hatch on one side of the machine. The mechanics were driven via two stepper motors using a lever system, which enabled very precise programming and control. The system could be used continuously under real conditions during the sintering process to produce a variety of coating defects, as shown in Figure 7. 71 <u>Publication 3</u> This approach clearly demonstrates a novel and reproducible method of artificial defect simulation in PBF-LB/P without the risk of process termination. It was shown that the simulation could be run for many hours over several construction jobs to randomly generate defects without human supervision, in order to generate as much data as possible for both training the CNN and the subsequent classification of defective and defect-free images. Figure 7. Artificially induced coating defects on the powder bed surface in various shapes, intensities, and locations during the running process under real conditions. A wide variety of components have been manufactured to produce the highest possible number of different geometries in combination with different defects. 72 <u>Publication 3</u> 3.3. Camera Set-Up and Machine Integration One of the main objectives of this study was to implement a suitable and low-cost process monitoring system for PBF-LB/P that allows both a simple set-up and operability as well as a permanent monitoring of the process without the need for complex experimental set-ups. It was also clearly shown that the non-machine-learning approaches to process the monitoring of PBFLB/P and PBF-LB/M described in Section 1 were able to achieve the targeted results, but a complex test set-up with particularly cost-intensive measurement equipment was always required. Based on the comparison of different camera systems, it was decided to use the Raspberry Pi Camera Module 2 for further investigation in this study. This HD camera module uses a Sony IMX219 sensor with 3280 × 2464 pixels and a maximum frame rate of 30 fps [76]. However, this inexpensive and readily available model has an operating temperature range of −20 °C to only 60 °C, which in turn raises the first considerations for a cooling option within the machine, as the temperature during the ongoing production process is more than 170 °C throughout. When the maximum operating temperature is reached, these components lose the signal due to their characteristics [77]. To summarize the key requirements for the cooling system, the camera housing should be additively manufactured and able to withstand a continuous operating temperature of 180 degrees. In addition, the camera lens must be flushed with nitrogen (N2) to avoid coating defects during the process due to evaporation effects. A camera housing was designed that is cooled via the machine’s internal N2 supply. There is virtually no information in the literature on solutions for cooling cameras or other measuring equipment used in the PBF-LB/P build chamber during the process. Only the study by Sillani et al. [26], in which the powder bed is measured using laser profilometry, mentions that the sensor is cooled inside the build chamber; unfortunately, no further information is available on the implementation of the cooling concept. The components for the camera housing were produced on a stereolithography system using a high-temperature polymer. When cured, the resin can withstand sustained temperatures of just over 200 °C [78]. The camera window is a 20 × 20 × 0.13 mm piece of glass glued in place with high-temperature silicone. An additional line was installed on the N2 generator and routed into the machine’s build chamber. This leads into the body of the camera housing so that the camera is cooled throughout. The N2 then exits the other side of the housing and is returned to the housing via an additional line to flush the glass with an air-knife. The design of the cooling system is shown in Figure 8. 73 <u>Publication 3</u> Figure 8. The CAD Design of the cooled camera housing. The N2 inlet (a), the outlet (b), the return (c), and the flushing of the lens via the air knife (d) can be seen. The housing consists of two parts that are screwed together and sealed with heat-resistant material. The camera is positioned and fixed inside the housing with screws. Tapered and airtight, 1/8” stainless steel fittings were installed, as shown in Figure 8. The positioning on the heating system was such that the entire powder bed could be captured at the best possible camera angle, as can be seen in Figure 9. Figure 9. Final position of the camera (a) inside the build chamber on top of the heating system (b). This position allows the entire surface of the powder bed (c) to be captured without shadowing the laser system (d) or internal pyrometer (e). In summary, this approach provides a low-cost solution to capture the complete powder bed surface of the PBF-LB/P system with a standard RGB camera. The design of the housing allows the camera to be cooled, ensuring long-term use under the process conditions, even over multiple build jobs. By using the machine’s internal N2 generator, no external supply of coolant 74 <u>Publication 3</u> is required. This system enables permanent process monitoring without complex and costintensive test set-ups and the generation of high-quality data for evaluation using CNN. 4. Design and Optimization of the CNN Architecture 4.1. Data quality and Interfaces A custom Convolutional Neural Network (CNN) designed to identify particle drag is the method of choice for this evaluation. These deep learning networks are specifically designed for image classification and offer a high degree of customization via the layered structure and tuning of hyperparameters. The design is optimized for portability, so it can be used on devices such as standard laptops, workstations, and Raspberry Pi. Seven datasets were generated using the proposed method described in Section 3, containing various types of defects such as part shifting, particle drag, and powder contamination on different manufactured part shapes and also including an additional defect called overheating. Overheating can be caused by the manual cover of the internal pyrometer and leads to uncontrolled fusion of the powder bed surface. Table 2 shows the datasets by characteristics. Table 2. Datasets and characteristics. <u>Dataset</u> <u>Ok Frames</u> <u>Defective Frames</u> <u>Resolution</u> <u>Defect Info</u> 1 16.506 4.827 480 × 640 Overheating 2 3.007 n.a. 480 × 640 Various defects 3 22.449 2.356 480 × 640 Various defects 4 24.823 388 960 × 1280 Various defects 5 40.609 1.044 960 × 1280 Various defects 6 79.563 3.400 mixed Consolidated <u>7</u> <u>3.000</u> <u>3.000</u> <u>mixed</u> <u>Evaluation</u> The data was automatically labelled by interfacing with the defect induction mechanism using GPIO pins on the Raspberry Pi and Arduino Mega, which control acquisition and induction, respectively. This allowed a lot of data to be labelled automatically without timeconsuming sorting and the viewing of frames. The consolidated dataset was used for training purposes only. Evaluation results are derived exclusively from the test dataset. It was checked both manually and automatically using a custom function that the latter did not contain any duplicates found in the training data, so as not to bias the results. Figure 10 shows the applied interface structure with the communication, the data hierarchy, and the concept for automated labelling by signaling via the mechanical structure for defect generation. 75 <u>Publication 3</u> Figure 10. The applied interface structure with three main functional blocks to implement real-time defect detection. The Raspberry Pi implementation is responsible for capturing frames from the stream and automatically labelling them using an external signal. An RGB .jpg image is then generated as output and sent to the developer PC. The data is then processed on the developer PC and the custom CNN model. The classification result and livestream are then displayed in real time via the web application. As can be clearly seen in Table 2, there is a large difference in the amount of data divided into classes. More precisely, this imbalance can lead to classification problems in the field of computer vision [79]. This phenomenon can be avoided via a method proposed by Cui et al. [80], which uses a class-balanced loss by designing a reweighting scheme that uses the effective number of samples for each class to rebalance the loss, resulting in a class-balanced loss. By implementing an imbalance factor, the weights are adjusted based on the class imbalance, whereas a cross-entropy loss function does not address the unbalanced classes. Further steps are described in more detail in Section 4.3. 4.2. Initial Setup The proposed setup has been evaluated for use with TensorFlow 2.0 (TF), Keras, and PyTorch (PT) open-source libraries, which are used to develop CNN in Python. All three libraries use both tensor data storage and neural networks as computational operational graphs, as well as automatic differentiation. TensorFlow implements more complex learning but provides a broader feature library than PT. The Keras library is implemented on top of TF and simplifies the learning process, albeit with slightly higher test environment accuracy but longer training times [81]. However, TF’s installation process is more complex than PT’s due to the lack of native GPU support [82]. PT, developed by Meta, has built-in GPU support for Apple Silicon, making it easier to install [81], and beats TF in the operating time cycles. Despite these differences, there is no objective superiority between the libraries [82]. In the end, TF was chosen to develop a custom CNN for defect identification, with portability for use in a variety of field devices, such as a Raspberry Pi or a standard laptop. Development was carried out in a virtual environment using Python 3.10.10. 4.3. Model Architecture The data preprocessing involves the removal of corrupt images and the loading of the data as a data set object using a directory function. This provided a quick way to ingest new data without a custom pipeline. The basic model used in this study adopts a training, testing, and validation split of 6:2:2. The input image shape is 480 × 640 pixels, with three channels following the RGB color chart. At the beginning of the model architecture, there is a Conv2D layer with a set of 32 filters. These filters are 3 × 3 in size and a convolution of stride 1, which acts as a feature identifier. Stride indicates how many steps are moved in each step of the convolution. This layer uses the ReLU activation function to introduce non-linearity, which is critical for handling real-world non-linear data. Following the Conv2D layer, a max-pooling operation is implemented for 2D spatial data for non-linear down-sampling, which divides the image into non-overlapping rectangles and outputs the maximum value for each sub-region, reducing the resolution of the feature map to simplify the computation and minimize overfitting. The model uses two more such pairs of layers, containing a series of 64 filters in the Conv2D 76 <u>Publication 3</u> section. These layers are used to recognize higher-level features, such as shapes or defined objects, via progressive learning and abstraction. A transformation of the pooled feature map is performed via a flattening layer after abstraction. The single column output of the transformation is then transferred to the final fully connected layers. High-level inference on the extracted features is then performed via a subsequent dense layer of 256 neurons using a ReLU activation function. Softmax activation is used by the final dense layer of the basic model to produce a two-class probability distribution indicating the model’s prediction of the input image. Figure 11 shows the design of the basic model architecture, which was then used as the basis for further adaptation. Figure 11. The basic model architecture of the CNN starts with a Conv2D convolutional layer using 32 filters and the ReLu activation function, followed by a MaxPooling2D layer for non linear down sampling. This is followed by two more such layer pairs and a flattening layer to transform the pooled feature map. The single column output from the transformation is then transferred to the final fully connected layers for high-level inference on the extracted features using ReLu activation. A softmax activation function is used by the last dense layer of the base model to generate a two-class probability distribution. As mentioned in Section 4.1, the class imbalance was tackled using the “Class-Balanced Loss” by Cui et al. [80]. Based on cross-entropy, this proposed loss function quantifies the performance of a model architecture that outputs the probabilities between two values (0/1). It can be used for both multi-class and binary classification. It shows an increase when the predicted probability deviates from the actual label [83]. If there is an imbalance, the classes are treated in the same way, which can lead to overfitting on the output. The weighted crossentropy (WCE) used in the proposed method is calculated by applying these weights to the cross-entropy, a widely used loss function in classification problems that does not take into account the probabilistic distribution [84]. The required scalar value of the WCE loss is obtained by calculating the mean of the elements across the tensor’s dimensions. A study by Smith [85] identified the learning rate as a critical hyperparameter to be iteratively adjusted in deep neural networks to improve the 77 <u>Publication 3</u> model performance. The technique of “cyclic learning rates” describes a process where one starts with a lower learning rate that increases exponentially with each batch. The final iteration of the model trains an edge detection model using a Sobel filter. The idea was to explicitly detect grooves in the powder bed, i.e., sharp edges. Since defects such as part displacement or particle drag leave ridges in the powder bed, this approach produces a classification. Figure 12 shows the original image of a simulated defect and the image after Sobel filtering. Figure 12. Original image (a) of an artificially simulated coating defect (particle drag) and the image after Sobel filtering (b). The edges created by the defect are clearly highlighted and contrast with the surrounding powder bed. The final proposed model architecture based on the previous model is shown in Figure 13. Figure 13. Final model architecture. After the rescaling layer, the Sobel filtering layer was implemented. Compared to the base model architecture, this final iteration of the CNN also uses an additional Conv2D convolutional layer and ReLu activation function, and another MaxPooling2D layer for non-linear down sampling. 78 <u>Publication 3</u> 5. Results To avoid distorting the results or creating a bias, only the test dataset was examined in more detail and used for the evaluation. However, TF does not include a function to output the F1 score, so a separate category had to be implemented for this. An evaluation script was used to compare the results of all model iterations and the results are shown in Table 3. Table 3. Results of all model iterations. <u>Model Architecture</u> <u>Loss</u> <u>Accuracy</u> <u>Precision</u> <u>F1 score</u> <u>Epochs</u> Basic 0.0002 0.7233 0.7233 0.7233 15 + Weighted cross-entropy <0.0001 0.9838 0.9846 0.9835 10 + Learning rate scheduling <0.0001 0.9852 0.9886 0.9847 15 <u>+ Sobel layer</u> <u><0.0001</u> <u>0.9912</u> <u>0.9910</u> <u>0.9911</u> <u>10</u> The results in the table clearly show how the performance of the model could be improved by adding new layers and adjusting the parameters. Accuracy was increased from 72.32% in the base model to 99.11% in the final model architecture by adding the WCE loss function, the learning rate scheduling, and the Sobel filter layer. After 10 epochs, the final model also achieved a 99.1% precision and an F1 score of 99.1%. During the evaluation of the model, Grad-CAM heat maps were rendered for each image to provide insight into the model’s predictions. Gradient Weighted Class Activation Mapping is a class-discriminative localization technique that makes any convolutional neural network model more transparent by providing visual explanations [87]. This method, implemented via the “make_gradcam_heatmap” function, highlights sections that have significantly influenced the model’s prediction. This function takes four inputs as the image to be scored, the last layer of the model, the trained network, and the value of the predicted class to generate the explanatory heatmap. Gradients are calculated using the TF’s GradientTape function, a tool that documents operations for automated differentiation. It determines the gradients of the predicted class in relation to the output of the previous layer. The function averages the calculated gradients over each feature map in the output of the last convolutional layer, producing a set of individual weights for each feature map used. The feature maps are then multiplied by the assigned weights to produce weighted feature maps. A visual heatmap per class is then created by using the output images from the previous layer and calculating their weighted sum by averaging the resulting maps across all channels. The Grad-CAM images generated for each frame during the evaluation provided a visual explanation of the classification process. The randomized evaluation of these heatmaps clearly showed that the correct areas were marked and that the accuracies listed in Table 2 were correct and not due to false convergence. The Grad-CAM heatmaps make the classification of the CNN comprehensible and visually highlight the areas that were crucial for the prediction results. In order to assess the actual usability of the custom CNNs used, a random comparison of the original frames with the Grad-CAM heat maps was performed, as shown in Figure 14. As can be clearly seen, all images without defects were classified as “True: ok” and “Predicted: ok”. In contrast, the images with a detected defect were classified as “True: defect” and “Predicted: defect”. During the various build jobs carried out as part of this work, attempts were 79 <u>Publication 3</u> also made to produce component geometries that looked as close to a defect as possible, and these geometries were also not classified as defects according to the Grad-CAM heat maps. 80 <u>Publication 3</u> 81 <u>Publication 3</u> Figure 14. Comparison of some original frames (a) with the corresponding Grad-CAM heatmaps (b) after classification. The evaluation of the Grad-CAM heatmaps clearly shows that the custom CNN classified correctly even over several design jobs with different component geometries. Even components with similar geometry to the actual defect were not classified as defects. 6. Discussion This paper proposes an approach for real-time process monitoring and in situ defect detection in PBF-LB/P using a low-cost camera solution and a custom Convolutional Neural Network for data analysis and defect prediction. As previous studies have shown, the artificial creation of defects in powder bed fusion is severely limited by the ability to manipulate the process parameters, so new ways must be found to simulate these defects and further investigate their effects on the process. These approaches have shown promising results in the generation of curling and the detection of this effect via sensory measurement of the powder bed using laser profilometry, as shown in [25,26], and process monitoring using thermal imaging and CNN [36]. In order to investigate the effects of other defects on the process, a new method had to be developed that would influence the process in an independent mechanical way without causing a process termination. This is the only way to take a further step towards holistic process monitoring via defect detection. A mechanical assembly was therefore developed and mounted on the coater blade, which then penetrates the powder bed to a defined depth in a reproducible manner via an external actuator system. Controlled via a Raspberry Pi and triggered by an end switch on the coating blade actuator, the defects were randomly generated and the test series could then be run over several build jobs without the need for human intervention. Many of the approaches discussed in Section 2 have already shown that deep learning computer vision is a mature method for monitoring various manufacturing processes, using supervised, unsupervised, GAN, and hybrid convolutional neural networks to detect or predict various defects. The use of a CNN enables the automated detection and segmentation of objects by learning spatial hierarchies of features from low to high-level patterns. In this case, a camera solution based on a Raspberry Pi Camera Module 2 was used to generate the data for training a CNN. In order to generate as much and as varied data as possible to train the CNN, several processes were filmed and the individual frames were automatically labelled via a separate interface triggered by the defect generation. The chosen camera system is low cost but offers a resolution of up to 8 MP. However, it was found that the resolution had less of an impact on the defects detected than the illumination, so the full capabilities of the camera were never used. This can be explained via the use of several filters and abstraction by means of a Sobel filter, depending on the model chosen. If, for certain applications (e.g., very small defects), the resolution were to be blamed for the poor performance, this approach would allow it to be increased simply by modifying the code, but in the setting chosen, this was not necessary, and both the file size and processing speed were favored. There are already many well-known CNN model architectures [88] that can be used to classify the different tasks [89] and have been proposed in several studies as already discussed. In this study, a custom CNN has been proposed whose architecture is based on a standard model that includes Conv2D layers, MaxPooling2D layers, flattening, and fully connected dense layers to output two possible classes, indicating the model’s prediction of the input image class 82 <u>Publication 3</u> (0 or 1). The basic architecture was then gradually adapted and extended to achieve continuous performance improvements. To avoid class imbalance, the weighted cross-entropy loss function was added, increasing the accuracy from 72% for the base model to 98%. This method has already been proposed by Cui et al. [80] and leads to the avoidance of overfitting in the case of class imbalance caused by a large number of frames without defects and a relatively small number of frames with a detectable defect. In the first step, the standard cross-entropy values were calculated, followed by the extraction of each class label, resulting in the output of the highest value on the tensor axis. The (predefined) weights are then determined according to the class labels. The pre-defined weights provide the ability to highlight classes during training. The next step was to add learning rate scheduling to the model architecture. This method of cyclic learning was introduced by Smith [85] and results in an increase in the learning rate with each batch of data by starting at 0.001 for the first five epochs and then increasing exponentially. Accuracy has been improved by a further 0.5% to 98.5%. The scheduler is based on a mathematical decision of the fastest loss minimization. The final adjustment to the model architecture was the introduction of a Sobel filter which resulted in a final accuracy of over 99%. The simulated defects leave edges in the powder bed, and these sudden image discontinuities are detected via this edge detection [86]. The assumption was that edge detection would be well suited to this, as the abstraction makes defects visible rather than the actual components in the powder bed. The direction in which the intensity increases the most is represented by an image gradient. Consequently, a discrete variation is used to distil the concept of a derivative or gradient. Greyscale conversion is performed before the images pass through two directional Sobel filters stacked on top of each other. The results of this study show that with the implemented method of artificially generating coating defects, a large dataset of defect-free and defective frames could be generated to successfully train a custom CNN for classification with very high accuracy. Manual comparison of the automatically labelled data with real labels has shown that random defects are correctly labelled. This is only true in any chosen setting and after manual validation—while an educated guess can be made about the detection rate, the best results are only expected when a manual check is performed. As the defects tend to occur randomly, the likelihood of a recurring defect being mislabeled is low—however, if it were to occur, the impact on a real-use case would be proportional to the severity of the mislabeled defect. While a decrease in the accuracy is likely to be small, a serious problem that goes undetected because it was mislabeled during training could affect the entire manufacturing process. A continuous increase in the accuracy was observed by tuning the hyperparameters and by adding and combining previously presented and well-established additional functions. This approach has clearly shown that it is not necessary to use a particularly high-resolution industrial camera system for monitoring; as long as the camera is positioned in the right place, the interfaces for the data transfer are correctly defined and the CNN architecture is properly designed. 7. Conclusions The evaluation of the results clearly shows that the application of the custom CNN developed in this study is capable of detecting the artificially generated defects with an accuracy of over 99%, and a further step has been taken towards possible process monitoring. It has once again demonstrated and confirmed that the application of deep learning is suitable for 83 <u>Publication 3</u> monitoring industrial processes and providing data that can then be used in further steps to actively intervene in the process. As it is otherwise hardly possible to intervene in the running process, the developed mechanical set-up shows a new possibility to simulate defects. Compared to the experimental sensor-based methods of process monitoring, this study proposes an effective method of defect detection and process monitoring that only requires sufficient training data with many different component geometries and scenarios of the process. This approach proved capable of providing real-time data analysis via the CNN and an online interface. This is followed by a discussion of the next steps in a complete process monitoring system to define the parameters responsible for the failure and derive appropriate countermeasures and continuous interaction with the in situ process control to modify the process inputs based on the measurements. However, this would require intervention in the machine parameters such as the active control of the temperature or exposure strategies, which was not part of this study. Once again, deep learning computer vision technology has demonstrated its ability to monitor industrial processes without human intervention. However, it should be emphasized that this approach has been adapted to the current PBF-LB/P system and that, from today’s perspective, it is not possible to say how the CNN would react if a different additive manufacturing technology were used and whether the high error detection rate could then be maintained. It would be useful to further investigate the use of deep learning to monitor the ongoing process, including additional data such as physical influences or recordings of other AM processes, to compare defect detection results, or possibly to implement online parameter optimization. Author Contributions: Conceptualization, V.K., T.A., and E.T.; Data curation, V.K., T.A., and E.T.; Formal analysis, V.K., T.A., and E.T.; Funding acquisition, V.K., M.B., and A.O.; Investigation, V.K., T.A., and E.T.; Methodology, V.K., T.A., and E.T.; Project administration, V.K.; Resources, V.K., T.A., and E.T.; Software, V.K., T.A., and E.T.; Supervision, V.K., M.B., and A.O.; Validation, V.K., T.A., and E.T.; Visualization, V.K.; Writing—original draft, V.K. and T.A., Writing—review and editing, V.K., T.A., M.B., and A.O. All authors have read and agreed to the published version of the manuscript. Funding: The research leading to these results was funded under the cooperative doctoral program “Digiphot” between FH Campus Wien and TU Wien. This work was also supported by the City of Vienna: MA23—Projekt 29-22, “Artificial Intelligence”, and MA23—Projekt 30-25, “AI & VR Lab”. Institutional Review Board Statement: Not applicable. Data Availability Statement: Not applicable. Acknowledgments: A big thank you goes to David Nechi, who made this project possible with his expertise in handling and operating the laser sintering system. Conflicts of Interest: The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of the data; in the writing of the manuscript; or in the decision to publish the results. 84 <u>Publication 3</u> References 1. Gisario, A.; Kazarian, M.; Martina, F.; Mehrpouya, M. Metal additive manufacturing in the commercial aviation industry: A review. J. Manuf. Syst. 2019, 53, 124–149. https://doi.org/10.1016/j.jmsy.2019.08.005. 2. Javaid, M.; Haleem, A. Additive manufacturing applications in medical cases: A literature based review. Alex. J. Med. 2018, 54, 411–422. https://doi.org/10.1016/j.ajme.2017.09.003. 3. Snow, Z.; Nassar, A.R.; Reutzel, E.W. Invited Review Article: Review of the formation and impact of flaws in powder bed fusion additive manufacturing. Addit. Manuf. 2020, 36, 101457. https://doi.org/10.1016/j.addma.2020.101457. 4. Clayton, J. Optimising metal powders for additive manufacturing. Met. Powder Rep. 2014, 69, 14–17. https://doi.org/10.1016/S0026-0657(14)70223-1. 5. Bourell, D.; Kruth, J.P.; Leu, M.; Levy, G.; Rosen, D.; Beese, A.M.; Clare, A. Materials for additive manufacturing. CIRP Ann. 2017, 66, 659–681. https://doi.org/10.1016/j.cirp.2017.05.009. 6. Vafadar, A.; Guzzomi, F.; Rassau, A.; Hayward, K. Advances in Metal Additive Manufacturing: A Review of Common Processes, Industrial Applications, and Current Challenges. Appl. Sci. 2021, 11, 1213. https://doi.org/10.3390/app11031213. 7. Eyers, D.R.; Potter, A.T. Industrial Additive Manufacturing: A manufacturing systems perspective. Comput. Ind. 2017, 92–93, 208–218. https://doi.org/10.1016/j.compind.2017.08.002. 8. Zhang, D.; Lim, W.Y.S.; Duran, S.S.F.; Loh, X.J.; Suwardi, A. Additive Manufacturing of Thermoelectrics: Emerging Trends and Outlook. ACS Energy Lett. 2022, 7, 720–735. https://doi.org/10.1021/acsenergylett.1c02553. 9. Javaid, M.; Haleem, A. Additive manufacturing applications in medical cases: A literature based review. Alex. J. Med. 2018, 54, 411–422. https://doi.org/10.1016/j.ajme.2017.09.003. 10. Zhang, Y.; Jarosinski, W.; Jung, Y.-G.; Zhang, J. Additive manufacturing processes and equipment. In Additive Manufacturing: Materials, Processes, Quantifications and Applications; Zhang, J., Jung, Y.-G., Eds.; Butterworth-Heinemann an Imprint of Elsevier: Cambridge, MA, USA; Oxford, UK, 2018; pp. 39–51. 11. Zhang, J.; Jung, Y.-G. (Eds.) Additive Manufacturing: Materials, Processes, Quantifications and Applications; Butterworth-Heinemann an Imprint of Elsevier: Cambridge, MA, USA; Oxford, UK, 2018. 12. Chueh, Y.-H.; Zhang, X.; Ke, J.C.-R.; Li, Q.; Wei, C.; Li, L. Additive manufacturing of hybrid metal/polymer objects via multiple-material laser powder bed fusion. Addit. Manuf. 2020, 36, 101465. https://doi.org/10.1016/j.addma.2020.101465. 13. Dechet, M.A.; Baumeister, I.; Schmidt, J. Development of Polyoxymethylene Particles via the Solution-Dissolution Process and Application to the Powder Bed Fusion of Polymers. Materials 2020, 13, 1535. https://doi.org/10.3390/ma13071535. 85 <u>Publication 3</u> 14. Singh, D.D.; Mahender, T.; Reddy, A.R. Powder bed fusion process: A brief review. Mater. Today Proc. 2021, 46, 350–355. https://doi.org/10.1016/j.matpr.2020.08.415. 15. Plessis, A.D.; Yadroitsava, I.; Yadroitsev, I. Ti6Al4V lightweight lattice structures manufactured by laser powder bed fusion for load-bearing applications. Opt. Laser Technol. 2018, 108, 521–528. https://doi.org/10.1016/j.optlastec.2018.07.050. 16. Emmelmann, C.; Sander, P.; Kranz, J.; Wycisk, E. Laser Additive Manufacturing and Bionics: Redefining Lightweight Design. Phys. Procedia 2011, 12, 364–368. https://doi.org/10.1016/j.phpro.2011.03.046. 17. Kusoglu, I.M.; Doñate-Buendía, C.; Barcikowski, S.; Gökce, B. Laser Powder Bed Fusion of Polymers: Quantitative Research Direction Indices. Materials 2021, 14, 1169. https://doi.org/10.3390/ma14051169. 18. Fina, F.; Gaisford, S.; Basit, A.W. Powder Bed Fusion: The Working Process, Current Applications and Opportu-nities. In 3D Printing of Pharmaceuticals; Springer: Cham, Switzerland, 2018; pp. 81–105. 19. Qian, M.; Bourell, D.L. Additive Manufacturing of Titanium Alloys. JOM 2017, 69, 2677– 2678. https://doi.org/10.1007/s11837-017-2630-1. 20. Zhao, X.; Wang, T. Laser Powder Bed Fusion of Powder Material: A Review. In 3D Printing and Additive Manufacturing; Art. No. 3dp.2021.0297; Mary Ann Liebert, Inc.: New Rochelle, NY, USA, 2022. https://doi.org/10.1089/3dp.2021.0297. 21. Tan, X.P.; Tan, Y.J.; Chow, C.S.L.; Tor, S.B.; Yeong, W.Y. Metallic powder-bed based 3D printing of cellular scaffolds for orthopaedic implants: A state-of-the-art review on manufacturing, topological design, mechanical properties and biocompatibility. Mater. Sci. Eng. C Mater. Biol. Appl. 2017, 76, 1328–1343. https://doi.org/10.1016/j.msec.2017.02.094. 22. DIN 16742:2013; Plastics Mouldings: Tolerances and Acceptance Conditions. German Institute for Standardization, Berlin, Germany, 2013. 23. Baturynska, I. Statistical analysis of dimensional accuracy in additive manufacturing considering STL model properties. Int. J. Adv. Manuf. Technol. 2018, 97, 2835–2849. https://doi.org/10.1007/s00170-018-2117-4. 24. Baturynska, I.; Semeniuta, O.; Wang, K. Application of Machine Learning Methods to Improve Dimensional Accuracy in Additive Manufacturing. In Advanced Manufacturing and Automation VIII 8; Springer: Singapore, 2019; pp. 245–252. https://doi.org/10.1007/978-981-13-2375-1_31. 25. Klamert, V.; Schiefermair, L.; Bublin, M.; Otto, A. In Situ Analysis of Curling Defects in Powder Bed Fusion of Polyamide by Simultaneous Application of Laser Profilometry and Thermal Imaging. Appl. Sci. 2023, 13, 7179. https://doi.org/10.3390/app13127179. 26. Sillani, F.; MacDonald, E.; Villela, J.; Schmid, M.; Wegener, K. In-situ monitoring of powder bed fusion of polymers using laser profilometry. Addit. Manuf. 2022, 59, 103074. https://doi.org/10.1016/j.addma.2022.103074. 86 <u>Publication 3</u> 27. Wang, P.; Yang, Y.; Moghaddam, N.S. Process modeling in laser powder bed fusion towards defect detection and quality control via machine learning: The state-of-the-art and research challenges. J. Manuf. Process. 2022, 73, 961–984. https://doi.org/10.1016/j.jmapro.2021.11.037. 28. Soundararajan, B.; Sofia, D.; Barletta, D.; Poletto, M. Review on modeling techniques for powder bed fusion processes based on physical principles. Addit. Manuf. 2021, 47, 102336. https://doi.org/10.1016/j.addma.2021.102336. 29. McCann, R.; Obeidi, M.A.; Hughes, C.; McCarthy, É.; Egan, D.S.; Vijayaraghavan, R.K.; Joshi, A.M.; Garzon, V.A.; Dowling, D.P.; McNally, P.J.; et al. In-situ sensing, process monitoring and machine control in Laser Powder Bed Fusion: A review. Addit. Manuf. 2021, 45, 102058. https://doi.org/10.1016/j.addma.2021.102058. 30. Mani, M.; Feng, S.; Brandon, L.; Donmez, A.; Moylan, S.; Fesperman, R. Measurement science needs for real-time control of additive manufacturing powder-bed fusion processes. In Additive Manufacturing Handbook: Product Development for the Defense Industry (Systems Innovation Series); CRC Press Taylor & Francis Group: Boca Raton, FL, USA, 2017; pp. 629–652. 31. Liu, J.; Ye, J.; Izquierdo, D.S.; Vinel, A.; Shamsaei, N.; Shao, S. A review of machine learning techniques for process and performance optimization in laser beam powder bed fusion additive manufacturing. J. Intell. Manuf. 2022, 34, 3249–3275. https://doi.org/10.1007/s10845-022-02012-0. 32. Irwin, J.E.; Wang, Q.; Michaleris, P.; Nassar, A.R.; Ren, Y.; Stutzman, C.B. Iterative simulation-based techniques for control of laser powder bed fusion additive manufacturing. Addit. Manuf. 2021, 46, 102078. https://doi.org/10.1016/j.addma.2021.102078. 33. Vlasea, M.L.; Lane, B.; Lopez, F.; Mekhontsev, S.; Donmez, A. Development of Powder Bed Fusion Additive Manufacturing Test Bed for Enhanced Real-Time Process Control; University of Texas at Austin: Austin, TX, USA, 2015. 34. Chen, Y.; Peng, X.; Kong, L.; Dong, G.; Remani, A.; Leach, R. Defect inspection technologies for additive manufacturing. Int. J. Extrem. Manuf. 2021, 3, 22002. https://doi.org/10.1088/2631-7990/abe0d0. 35. Zhang, B.; Li, Y.; Bai, Q. Defect Formation Mechanisms in Selective Laser Melting: A Review. Chin. J. Mech. Eng. 2017, 30, 515–527. https://doi.org/10.1007/s10033-0170121-5. 36. Klamert, V.; Schmid-Kietreiber, M.; Bublin, M. A deep learning approach for real time process monitoring and curling defect detection in Selective Laser Sintering by infrared thermography and convolutional neural networks. Procedia CIRP 2022, 111, 317–320. https://doi.org/10.1016/j.procir.2022.08.030. 37. Gardner, M.R.; Lewis, A.; Park, J.; McElroy, A.B.; Estrada, A.D.; Fish, S.; Beaman, J.J.; Milner, T.E. In situ process monitoring in selective laser sintering using optical coherence tomography. Opt. Eng. 2018, 57, 041407. https://doi.org/10.1117/1.OE.57.4.041407. 87 <u>Publication 3</u> 38. Guan, G.; Hirsch, M.; Syam, W.P.; Leach, R.K.; Huang, Z.; Clare, A.T. Loose powder detection and surface characterization in selective laser sintering via optical coherence tomography. R. Soc. Proc. 2016, 472, 20160201. 39. Phuc, L.T.; Seita, M. A high-resolution and large field-of-view scanner for in-line characterization of powder bed defects during additive manufacturing. Mater. Des. 2019, 164, 107562. https://doi.org/10.1016/j.matdes.2018.107562. 40. Sassaman, D.M.; Ide, M.S.; Kovar, D.; Beaman, J.J. Design of an In-situ microscope for selective laser sintering. Addit. Manuf. Lett. 2022, 2, 100033. https://doi.org/10.1016/j.addlet.2022.100033. 41. Southon, N.; Stavroulakis, P.; Goodridge, R.; Leach, R. In-process measurement and monitoring of a polymer laser sintering powder bed with fringe projection. Mater. Des. 2018, 157, 227–234. 42. Kanko, J.A.; Sibley, A.P.; Fraser, J.M. In situ morphology-based defect detection of selective laser melting through inline coherent imaging. J. Mater. Process. Technol. 2016, 231, 488–500. https://doi.org/10.1016/j.jmatprotec.2015.12.024. 43. Baldacchini, T.; Zadoyan, R. In situ and real time monitoring of two-photon polymerization using broadband coherent anti-Stokes Raman scattering microscopy. Opt. Express OE 2010, 18, 19219–19231. https://doi.org/10.1364/OE.18.019219. 44. Li, Z.; Liu, X.; Wen, S.; He, P.; Zhong, K.; Wei, Q.; Shi, Y.; Liu, S. In Situ 3D Monitoring of Geometric Signatures in the Powder-Bed-Fusion Additive Manufacturing Process via Vision Sensing Methods. Sensors 2018, 18, 1180. https://doi.org/10.3390/s18041180. 45. Maucher, C.; Werkle, K.T.; Möhring, H.-C. In-Situ defect detection and monitoring for laser powder bed fusion using a multi-sensor build platform. Procedia CIRP 2021, 104, 146–151. https://doi.org/10.1016/j.procir.2021.11.025. 46. McCann, R.; Obeidi, M.A.; Hughes, C.; McCarthy, É.; Egan, D.S.; Vijayaraghavan, R.K.; Joshi, A.M.; Garzon, V.A.; Dowling, D.P.; McNally, P.J.; et al. In-situ sensing, process monitoring and machine control in Laser Powder Bed Fusion: A review. Addit. Manuf. 2021, 45, 102058. https://doi.org/10.1016/j.addma.2021.102058. 47. Zhirnov, I.; Panahi, N.; Åsberg, M.; Krakhmalev, P. Process quality assessment with imaging and acoustic monitoring during Laser Powder Bed Fusion. Procedia CIRP 2022, 111, 363–367. https://doi.org/10.1016/j.procir.2022.08.167. 48. Jha, S.B.; Babiceanu, R.F. Deep CNN-based visual defect detection: Survey of current literature. Comput. Ind. 2023, 148, 103911. https://doi.org/10.1016/j.compind.2023.103911. 49. Qin, J.; Hu, F.; Liu, Y.; Witherell, P.; Wang, C.C.; Rosen, D.W.; Simpson, T.W.; Lu, Y.; Tang, Q. Research and application of machine learning for additive manufacturing. Addit. Manuf. 2022, 52, 102691. https://doi.org/10.1016/j.addma.2022.102691. 50. Yang, J.; Li, S.; Wang, Z.; Dong, H.; Wang, J.; Tang, S. Using Deep Learning to Detect Defects in Manufacturing: A Comprehensive Survey and Current Challenges. Materials 2020, 13, 5755. https://doi.org/10.3390/ma13245755. 88 <u>Publication 3</u> 51. Prunella, M.; Scardigno, R.M.; Buongiorno, D.; Brunetti, A.; Longo, N.; Carli, R.; Dotoli, M.; Bevilacqua, V. Deep Learning for Automatic Vision-Based Recognition of Industrial Surface Defects: A Survey. IEEE Access 2023, 11, 43370–43423. https://doi.org/10.1109/ACCESS.2023.3271748. 52. Chen, F.-C.; Jahanshahi, M.R. NB-CNN: Deep Learning-Based Crack Detection Using Convolutional Neural Network and Naïve Bayes Data Fusion. IEEE Trans. Ind. Electron. 2018, 65, 4392–4400. https://doi.org/10.1109/TIE.2017.2764844. 53. Dong, X.; Taylor, C.J.; Cootes, T.F. Small Defect Detection Using Convolutional Neural Network Features and Random Forests. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, Munich, Germany, 8–14 September 2019; pp. 398– 412. https://doi.org/10.1007/978-3-030-11018-5_35. 54. He, Y.; Song, K.; Meng, Q.; Yan, Y. An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features. IEEE Trans. Instrum. Meas. 2020, 69, 1493–1504. https://doi.org/10.1109/TIM.2019.2915404. 55. Shi, J.; Yin, W.; Du, Y.; Folkesson, J. Automated Underwater Pipeline Damage Detection using Neural Nets. In Proceedings of the ICRA 2019 Workshop on Underwater Robotics Perception, Montreal, QC, Canada, 24 May 2019. 56. Tabernik, D.; Šela, S.; Skvarč, J.; Skočaj, D. Segmentation-based deep-learning approach for surface-defect detection. J. Intell. Manuf. 2020, 31, 759–776. https://doi.org/10.1007/s10845-019-01476-x. 57. Tang, Z.; Tian, E.; Wang, Y.; Wang, L.; Yang, T. Nondestructive Defect Detection in Castings by Using Spatial Attention Bilinear Convolutional Neural Network. IEEE Trans. Ind. Inf. 2021, 17, 82–89. https://doi.org/10.1109/TII.2020.2985159. 58. Yang, H.; Mei, S.; Song, K.; Tao, B.; Yin, Z. Transfer-Learning-Based Online Mura Defect Classification. IEEE Trans. Semicond. Manufact. 2018, 31, 116–123. https://doi.org/10.1109/TSM.2017.2777499. 59. Chow, J.K.; Su, Z.; Wu, J.; Tan, P.S.; Mao, X.; Wang, Y.H. Anomaly detection of defects on concrete structures with the convolutional autoencoder. Adv. Eng. Inform. 2020, 45, 101105. https://doi.org/10.1016/j.aei.2020.101105. 60. Yang, H.; Chen, Y.; Song, K.; Yin, Z. Multiscale Feature-Clustering-Based Fully Convolutional Autoencoder for Fast Accurate Visual Inspection of Texture Surface Defects. IEEE Trans. Autom. Sci. Eng. 2019, 16, 1450–1467. https://doi.org/10.1109/TASE.2018.2886031. 61. Ruff, L.; Vandermeulen, R.A.; Görnitz, N.; Binder, A.; Kloft, M. Deep Support Vector Data Description for Unsupervised and Semi-Supervised Anomaly Detection. arXiv 2019, arXiv:1906.02694. 62. Lian, J.; Jia, W.; Zareapoor, M.; Zheng, Y.; Luo, R.; Jain, D.K.; Kumar, N. Deep-LearningBased Small Surface Defect Detection via an Exaggerated Local Variation-Based Generative Adversarial Network. IEEE Trans. Ind. Inf. 2020, 16, 1343–1351. https://doi.org/10.1109/TII.2019.2945403. 89 <u>Publication 3</u> 63. Niu, S.; Li, B.; Wang, X.; Lin, H. Defect Image Sample Generation with GAN for Improving Defect Recognition. IEEE Trans. Autom. Sci. Eng. 2020, 17, 1611–1622. https://doi.org/10.1109/TASE.2020.2967415. 64. Zenati, H.; Foo, C.S.; Lecouat, B.; Manek, G.; Chandrasekhar, V.R. Efficient GAN-Based Anomaly Detection. arXiv 2018, arXiv:1802.06222. 65. Deecke, L.; Vandermeulen, R.; Ruff, L.; Mandt, S.; Kloft, M. Image Anomaly Detection with Generative Adversarial Networks. In Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2018, Dublin, Ireland, September 10–14, 2018, Proceedings, Part I 18; Springer International Publishing: Berlin/Heidelberg, Germany, 2019; pp. 3–17. https://doi.org/10.1007/978-3-030-10925-7_1. 66. Zhou, F.; Liu, G.; Xu, F.; Deng, H. A Generic Automated Surface Defect Detection Based on a Bilinear Model. Appl. Sci. 2019, 9, 3159. https://doi.org/10.3390/app9153159. 67. Tsai, D.-M.; Fan, S.-K.S.; Chou, Y.-H. Auto-Annotated Deep Segmentation for Surface Defect Detection. IEEE Trans. Instrum. Meas. 2021, 70, 1–10. https://doi.org/10.1109/TIM.2021.3087826. 68. Abdulhameed, O.; Al-Ahmari, A.; Ameen, W.; Mian, H.M. Additive manufacturing: Challenges, trends, and applications. Adv. Mech. Eng. 2019, 11, 168781401882288. https://doi.org/10.1177/1687814018822880. 69. Westphal, E.; Seitz, H. A machine learning method for defect detection and visualization in selective laser sintering based on convolutional neural networks. Addit. Manuf. 2021, 41, 101965. https://doi.org/10.1016/j.addma.2021.101965. 70. Arslan, E.; Unal, D.; Akgün, O. Defect detection with image processing and deep learning in polymer powder bed additive manufacturing systems. J. Addit. Manuf. Technol. 2023, 2, 684. https://doi.org/10.18416/JAMTECH.2212684. 71. Xiao, L.; Lu, M.; Huang, H. Detection of powder bed defects in selective laser sintering using convolutional neural network. Int. J. Adv. Manuf. Technol. 2020, 107, 2485–2496. https://doi.org/10.1007/s00170-020-05205-0. 72. Schlicht, S.; Jaksch, A.; Drummer, D. Inline Quality Control through Optical Deep Learning-Based Porosity Determination for Powder Bed Fusion of Polymers. Polymers 2022, 14, 885. https://doi.org/10.3390/polym14050885. 73. EOS FORMIGA P 110; Technical Description. EOS, Krailling, Germany, 2023. 74. EOS PA2200; Product Information. EOS, Krailling, Germany, 2023. 75. Almabrouk, M.A. Experimental investigations of curling phenomenon in selective laser sintering process. Rapid Prototyp. J. 2016, 22, 405–415. 76. Raspberry Pi Camera Module 2 Technical Description; Raspberry Pi: Cambridge, UK, 2023. 77. Wondrak, W. Physical limits and lifetime limitations of semiconductor devices at high temperatures. Microelectron. Reliab. 1999, 39, 1113–1120. https://doi.org/10.1016/S00262714(99)00158-4. 90 <u>Publication 3</u> 78. Phrozen TR300; Technical Description. Phrozen, Hsinchu, Taiwan, 2023. 79. Japkowicz, N.; Stephen, S. The class imbalance problem: A systematic study1. IDA 2002, 6, 429–449. https://doi.org/10.3233/IDA-2002-6504. 80. Cui, Y.; Jia, M.; Lin, T.-Y.; Song, Y.; Belongie, S. Class-Balanced Loss Based on Effective Number of Samples. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 16–19 June 2019; pp. 9268–9277. 81. Vasilev, I. Python Deep Learning: Exploring Deep Learning Techniques and Neural Network Architectures with PyTorch, Keras, and TensorFlow; Packt Publishing: Birmingham, UK, 2019. 82. Chirodea, M.C.; Novac, O.C.; Novac, C.M.; Bizon, N.; Oproescu, M.; Gordan, C.E. Comparison of Tensorflow and PyTorch in Convolutional Neural Network-based Applications. In Proceedings of the 2021 13th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), Pitesti, Romania, 1–3 July 2021; pp. 1–6. https://doi.org/10.1109/ECAI52376.2021.9515098. 83. Mannor, S.; Peleg, D.; Rubinstein, R. The cross entropy method for classification. In Proceedings of the 22nd International Conference on Machine Learning (ICML’05); Association for Computing Machinery: New York, NY, USA, 2005; pp. 561–568. https://doi.org/10.1145/1102351.1102422. 84. Polat, G.; Ergenc, I.; Kani, H.T.; Alahdab, Y.O.; Atug, O.; Temizel, A. Class Distance Weighted Cross-Entropy Loss for Ulcerative Colitis Severity Estimation. In 26th UK Conference on Medical Image Understanding and Analysis; Springer: Cham, Switzerland; Cambridge, UK, 2022. https://doi.org/10.1007/978-3-031-12053-4_12. 85. Smith, L.N. Cyclical Learning Rates for Training Neural Networks. In Proceedings of the 2017 IEEE Winter Conference on Applications of Computer Vision (WACV), Santa Rosa, CA, USA, 24–31 March 2017; pp. 464–472. https://doi.org/10.1109/WACV.2017.58. 86. Amer, G.M.H.; Abushaala, A.M. Edge detection methods. In Proceedings of the 2015 2nd World Symposium on Web Applications and Networking (WSWAN 2015), Sousse, Tunisia, 21–23 March 2015; pp. 1–7. https://doi.org/10.1109/WSWAN.2015.7210349. 87. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. Int. J. Comput. Vis. 2020, 128, 336–359. https://doi.org/10.1007/s11263-019-01228-7. 88. Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-Dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. J. Big Data 2021, 8, 53. https://doi.org/10.1186/s40537-021-00444-8. 89. Villalba-Diez, J.; Schmidt, D.; Gevers, R.; Ordieres-Meré, J.; Buchwitz, M.; Wellbrock, W. Deep Learning for Industrial Computer Vision Quality Control in the Printing Industry 4.0. Sensors 2019, 19, 3987. https://doi.org/10.3390/s19183987. 91 <u>Publication 3</u> 92

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.