Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COMPUTER-IMPLEMENTED, ADAPTED ANOMALY DETECTION METHOD FOR POWDER-BED-BASED ADDITIVE MANUFACTURING
Document Type and Number:
WIPO Patent Application WO/2022/012796
Kind Code:
A1
Abstract:
A Computer-implemented anomaly detection method in powder- bed-based additive manufacture of a workpiece is described. The method comprises, (i), providing an image data set and applying a Principal Component Analysis to said image data to compute a number of image clusters, (ii), applying a clustering algorithm to the analysed image data and computing respective cluster centroids, (iii), comparing the computed cluster centroids with a set of reference anomaly centroids, wherein - based on a match of cluster centroids with the reference, the image data is segmented layerwise into cluster images of a specific anomaly, (iv), transforming the segmented images into a defined color space, such as a Lab color space or greyscale spectrum, and, (v), integrating a pixel information of the transformed segmented cluster images to compute a threshold value for the image data set in order to determine a respective anomaly. Moreover, a related additive manufacturing method, computer program product and a data processing apparatus are described.

Inventors:
JAHANGIR HAMID (DE)
SCHILLER VIVIAN (DE)
Application Number:
PCT/EP2021/061867
Publication Date:
January 20, 2022
Filing Date:
May 05, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SIEMENS AG (DE)
International Classes:
G06T7/00
Other References:
MARCO GRASSO ET AL: "In-Process Monitoring of Selective Laser Melting: Spatial Detection of Defects Via Image Data Analysis", JOURNAL OF MANUFACTURING SCIENCE AND ENGINEERING, vol. 139, no. 5, 10 November 2016 (2016-11-10), US, XP055762386, ISSN: 1087-1357, DOI: 10.1115/1.4034715
SNELL ROBERT ET AL: "Methods for Rapid Pore Classification in Metal Additive Manufacturing", JOM: JOURNAL OF METALS, SPRINGER NEW YORK LLC, UNITED STATES, vol. 72, no. 1, 4 September 2019 (2019-09-04), pages 101 - 109, XP036968291, ISSN: 1047-4838, [retrieved on 20190904], DOI: 10.1007/S11837-019-03761-9
ANONYMOUS: "Can k-means clustering do classification?", STACKOVERFLOW, 29 April 2020 (2020-04-29), Internet, XP055762507, Retrieved from the Internet [retrieved on 20201223]
Download PDF:
Claims:
Claims

1. Computer-implemented anomaly detection method in powder- bed-based additive manufacture of a workpieces (10) compris ing:

- (i) providing an image data set (OT) and applying a Princi pal Component Analysis (PCA) to said image data to compute a number of image clusters (C),

- (ii) applying a clustering algorithm to the analysed image data and computing respective cluster centroids (C),

- (iii) comparing the computed cluster centroids (C) with a set of reference anomaly centroids, wherein - based on a match of cluster centroids with the reference - the image data is segmented layerwise into cluster images of a spe cific anomaly,

- (iv) transforming the segmented images into a defined color space, such as a Lab (Lab) color space or greyscale (GV) spectrum, and

- (v) integrating a pixel information of the transformed seg mented cluster images to compute a threshold value for the image data set in order to determine a respective anomaly (a, t).

2. Method according to claim 1, wherein (ii) a K-Means Clus tering, a Fuzzy C-Means Clustering or a Density-Based Spatial Clustering algorithm, such as a DBSCAN, is applied.

3. Method according to claim 1 or 2, wherein a "hot spot" (HS), a "cold spot" (CS), a blob defect, an overexposed and/or an underexposed region can be detected in the powder bed during the manufacture of the workpiece (10).

4. Method according to one of the previous claims, wherein said image data (OT) is constituted by a stack of layered im ages, such as photographic and/or optical tomography data.

5. Method according to claim 4, wherein the image data (OT) set is provided by a stack of random and/or test images as a reference, which are subjected to a Principal Component Ana lysis (PCA) and to a clustering algorithm for computing clus ter centroids (C), wherein the image clusters are selected in order to provide for a reference anomaly centroids infor mation.

6. Method according to claim 4, wherein said image data (OT) is constituted by an input of an optical monitoring system (6) of a powder bed fusion device (100), such as a CCD or sCMOS Camera, and said image data forms a test reference.

7. Method according to one of the previous claims, wherein - for the integration - a lower and/or an upper threshold value (tUp, tiow) is computed for the image data set in order to provide a threshold range for the respective anomaly.

8. Method according to one of the previous claims, wherein the computed threshold values are used as input parameters for a subsequent anomaly detection, thresholding or image processing method.

9. Method according to one of the previous claims, wherein an anomaly (a) is marked in each layer (L) of the image data set and formed into anomaly clusters, such as by using a nearest neighbor search algorithm, like a Connected Component Label ing, a Proximity or Closest Point Search, a Point Location or Point in Triangle Search or a k-Nearest Neighbor algorithm.

10. Method according to claim 9, wherein a location and/or a size of the respective anomaly cluster is determined with reference to the actual workpiece geometry.

11. Method according to claim 10, wherein an anomaly cluster information, comprising a location, a size and/or a severity indicator of a given anomaly cluster is stored in a report file.

12. Method according to claim 10 or 11, wherein an anomaly cluster information, comprising a location, a size and/or a severity indicator of a given anomaly cluster is correlated with real material or manufacturing defects.

13. Method of manufacturing a workpiece out of a powder bed by selective laser sintering, selective laser melting or electron beam melting, applying the computer-implemented anomaly detection method according to one of the previous claims.

14. Data processing apparatus (7) configured to carry out the method of one of claims 1 to 12, wherein the apparatus (7) further comprises an interface to a powder bed fusion device (100) or a related monitoring system (6).

15. A computer program product (CPP) comprising instructions which, when the program is executed by a data processing ap paratus or a computer, cause it to carry out the method of one of claims 1 to 12.

Description:
Description

Computer-implemented, adapted anomaly detection method for powder-bed-based additive manufacturing

The present invention relates to a computer-implemented (adapted) anomaly detection or defect prediction method for powder-bed-based additive manufacturing processes. The pre sented approach, preferably, relates to a semi-supervised adaptive thresholding methodology e.g. as part of image pro cessing for the described anomaly detection. To this effect the overall methodology is neither a (full) supervised ma chine detection or machine learning approach, nor a (full) unsupervised machine learning approach; but preferably an in termediate solution. Said approach is applicable for all types of powder-bed-based additive manufacturing processes, such as for processing plastics or metals. Most preferably, the presented solution is applicable to the additive manufac ture of parts or workpieces established by laser powder bed fusion (LPBF) out of a powder bed. Such additive manufactur ing techniques generally comprise e.g. powder-bed-fusion methods, such as selective laser melting (SLM) or selective laser sintering (SLS) or electron beam melting (EBM). Further additive manufacturing approaches relate to „Directed Energy Deposition (DED)", such as laser cladding, electron beam or plasma welding, metal inkjet molding (MIM), so-called sheet lamination methods, or thermal spraying (VPS, LPPS) methods, cold spraying (GDCS).

Preferably, such workpieces are high-performance parts, like components applied in power generation, aerospace or the au tomotive sector. The component may as well be a component of a turbo machine, e.g. in the flow path hardware of a gas tur bine. The component is, thus, preferably made of a nickel-or cobalt-based superalloy, particularly a precipitation hard ened alloy. Additive manufacturing, particularly powder-bed methods have proven to be useful and advantageous in the fabrication of prototypes or complex components, such as components with a mazelike or convoluted structure or functionally cooled com ponents. Further, the additive manufacture stands out for its short chain of process steps which in turn enables material economization and a particularly low lead time.

Powder bed fusion manufacturing devices or setups for the given methods usually comprise a manufacturing or build plat form on which the component is built layer-by-layer after the feeding of a layer of base material which may then be melted, e.g. by an energy beam, such as a laser, and subsequently so lidified. The layer thickness is determined by a recoater that moves, e.g. automatically, over the powder bed and re moves excess material from a manufacturing plane or build space. Typical layer thicknesses amount to between 20 pm and 40 pm. During the manufacture, said energy beam scans over the surface and melts the powder on selected areas which may be predetermined by a CAD-file according to the geometry of the component to be manufactured. Said scanning or irradia tion is, preferably, carried out in a computer implemented way or via computer-aided means, such as computer aided manu facturing (CAM) instructions, which may be present in the form of a dataset. Said dataset or CAM-file may be or refer to a computer program or computer program product.

Such manufacturing devices are usually equipped with differ ent types of optical process monitoring systems, such as CCD or sCMOS cameras or (other) photodiode-based systems. These systems generate layerwise images of the workpiece during its build-up. These images usually need to be analysed for anoma lies, such as so-called hot spots, cold spots, over- or un derexposed regions, or other anomalies. These defects are of ten crucial to the workpiece's structure. Due to the complex ity of the mentioned selective melting (welding) processes such anomalies or defects are likely to occur during the buildup of any component. If such defects were not detected early on, this would probably lead to scrapping of the part and to a waste of process capacity and manufacturing time.

Usually, anomalies are detected by means of image data, par ticularly using static thresholding-based image processing algorithms or other machine learning approaches. However, these approaches are still not robust enough to detect de fects or anomalies and the abundance of image data to be ren dered and processed. Furthermore, thresholds usually need to be defined for specific types of anomalies. This is often done manually by an operator of the given process. In addi tion, static thresholds may cause inconsistencies when image settings are changed. Therefore, automatic evaluation of mul tisource image data using a general, automated method or ap proach is still not possible.

Until now, the threshold values are usually determined by ex perts or machine operators themselves by means of manual col or value analyses of the respective images. If the images are to be processed on a basis of other characteristics, thresh old values must again be determined manually. Threshold val ues must also be adjusted manually for each dataset. Setting the threshold values manually by different experts, however, leads to inconsistencies in the results. Extensive research has already been performed using so-called supervised machine learning approaches to predict the anomalies in the underly ing image data. However, this nevertheless leads to the gen eration of huge amounts of (unlabelled) data which has to be labelled or classified by the user in a manual way. Further complicating is the fact that such approaches are hardware- specific.

It is, thus, an object of the present invention to provide means which help to overcome the mentioned drawbacks. Partic ularly, a semi-automated determination of adaptive thresholds is provided that adapts to the recorded dataset during pro cess monitoring. This approach is intended to allow different users with different levels of knowledge and expertise to evaluate data sets in order to provide consistent results.

The mentioned object is achieved by the subject-matters of the independent claims. Advantageous embodiments are subject- matters of the dependent claims.

An aspect of the present invention relates to a computer- implemented anomaly detection method in powder bed based ad ditive manufacturing of a workpiece comprising providing an image data set, such as a stack of layered image data, and applying a so-called Principal Component Analysis (PCA) to said image data in order to compute a number of image clus ters. Said PCA usually serves the purpose to structure, sim plify or illustrate statistical variables in huge amounts of data in that said variables are approximated by a smaller number of significant linear combinations or "components".

The method further comprises applying a clustering algorithm to the analysed image data and computing respective cluster centroids, such as corresponding to the computed number of image clusters. According to this embodiment, advantageously, the computed cluster centroids or centroid positions may be used as a reference template for further processing of the respective fraction of data or variable.

In an embodiment, a k-means clustering, a fuzzy C-Means clus tering or a density-based spatial clustering algorithm, such as a DBSCAN ("Density-Based Spatial Clustering of Applica tions with Noise") is applied for the clustering and the com puting of the clusters centroids. A k-means clustering algo rithm is e.g. a method for quantifying vectors or objects, wherein a predefined number of K groups or clusters is gener ated out of an amount of similar objects.

The method further comprises storing and/or comparing the computed cluster centroids with a set of reference anomaly centroids, such as of a reference template, wherein - based on a match of the determined computed cluster centroids with the reference - the image data is segmented layerwise into cluster images of a specific anomaly.

The method further comprises transforming the segmented imag es (from an as-is state), such as from an RGB colour space into a defined colour space, like a Lab colour space or grey scale spectrum. The decision between the Lab colour space or greyscale space may depend on the respective input data type.

The method further comprises integrating a pixel information of the transformed segmented cluster images to compute a threshold value for the image data set in order to determine a respective anomaly or process defect during the manufacture of the workpiece.

In this way, a concept is provided in which un- or semi- supervised machine learning algorithms are utilised to decom pose the images into component images and reveal respective anomaly patterns.

In other words, the presented method advantageously allows to automatedly or semi-automatedly and reliably evaluate an im age data set independently of user input-based inaccuracies. The method is particularly suitable and effective for deter mining threshold values for patterns that are difficult to distinguish. In particular, the quality of the adaptively de termined threshold values as described herein is - for the presented approach - far superior than if such threshold val ues were to be determined manually by experts.

As compared to state-of-the-art, unsupervised, machine learn ing, detection or prediction algorithms, the presented ap proach calculates adaptive thresholds as described herein. Thereby, advantageously, unsupervised machine learning is used to find defect or anomaly patterns in unlabelled data.

In other words, the present invention relates to an adaptive and color- or intensity-based calculation of threshold values for new datasets and image patterns. Still further, the pre sented approach can advantageously be applied to all types of image data. It cannot only be applied for optical process monitoring data but also for any other applications in com puter vision.

More particularly, the presented approach can, advantageous ly, applied in serial additive production of workpieces or components in an ever more industrialised way; provided that the given hardware is equipped with in-situ optical monitor ing systems, such as optical cameras or other sensor technol ogy (see below). In this way, the invention helps to further broaden the scope of additive manufacturing technologies in general.

Due to the possible early defect detection, a related build job can further actively interrupted and hence material and manufacturing time and cost saved.

In an embodiment, a "hot spot", a "cold spot", a blob defect, or e.g. an overexposed or underexposed region can be detected or predicted in the recorded image of the powder bed during the manufacture of the given workpiece. As will be described further below, a hotspot or cold spot may refer or be record ed by means of an RGB color image, whereas an under-fused or over-fused region in the powder bed may relate to a greyscale picture. As an advantage, the detection of such defects, hot spots or cold spots, allows for a later correlation of the given images to actual structural defects in the workpiece and/or with further analyses or monitoring data of the given build job.

In an embodiment the image data is constituted by a stack of layered images, such as photographic and/or optical tomogra phy data.

In an embodiment the image data set is provided by a stack of random and/or test images as a reference which are subjected to a PCA and, such as subsequently, to a clustering algorithm (cf. above) for computing respective cluster centroids, wherein the image clusters are, such as visually and/or manu ally, selected in order to provide for a reference anomaly centroids information. According to this embodiment said ref erence information may relate to an unlabelled test template for providing the reference anomaly centroids, e.g. a stack of between 20 to 50 images. According to this embodiment, a one-time manual selection of relevant patterns (labelling) can be carried out.

In an embodiment said image data is constituted by an input of an optical monitoring system of powder bed fusion device, such as a CCD, sCMOS or any other photodiode based sensor, and said image data forms a test reference.

In an embodiment, for the integration, a lower, such as a minimum, and/or an upper, such as maximum, threshold value is computed for the image data set in order to provide a thresh old image for the respective anomaly. In this way, the defect or anomaly detection can be carried out most expediently, and such that the inventive advantages can be achieved.

In an embodiment, the computed threshold values are used or foreseen as input parameters (source data input) for a subse quent anomaly detection, thresholding or image processing method. These computed thresholds can also be used further for the same source data input especially in the case of the serial production of new data input from the same printer or manufacturing device.

In an embodiment, an anomaly is marked in each layer of the image data set and formed into anomaly clusters, such as by using a nearest neighbour search algorithm or cluster posi tion computation, like a Connected Component Labeling, a Proximity or Closest Point Search, a Point Location or Point in Triangle Search or a k-Nearest Neighbor algorithm. In an embodiment, the location and/or a size of the respec tive anomaly cluster is determined with reference to the ac tual workpiece geometry. According to this embodiment, a size and a location of the anomaly or anomaly cluster may be com puted based on the camera pixel field and lateral coordi nates. Thereby, subsequently, a region of interest extraction may be carried out, wherein a position of the detected clus ter (and size) is used for computing a part severity or (layerwise) severity of the manufactured structure.

In an embodiment anomaly cluster information, comprising a location, a size and/or a severity indicator of the given cluster is stored in a report file, such as a point cloud or point cloud database.

In an embodiment, a so-called point cloud database is used as output data format for the size, the location and/or severity of the given cluster or part anomaly.

In an embodiment an anomaly cluster information, comprising location, size and/or a severity indicator of the given anom aly cluster is correlated with real material manufacturing defects. According to this embodiment, better insights can be derived for post-inspection, quality control or further as pects of upcoming additive manufacturing processes or related manufacturing parameters development.

Another aspect of the present invention relates to a method of manufacturing a workpiece out of a powder bed by selective laser sintering, selective laser melting or electron beam melting, applying the computer-implemented anomaly detection method as described above.

Another aspect of the present invention relates to a data processing apparatus configured to carry out the method as described, wherein the apparatus further comprises an inter face to a powder bed fusion device or a related monitoring system. A further aspect of the present invention relates to a com puter program product comprising instructions or information which, when a corresponding program is executed by a data processing apparatus or a computer, cause it to carry out the described method steps.

A computer program product as referred to herein may relate to a computer program means constituting or comprising a storage medium like a memory card, a USB stick, a CD-ROM, a DVD or a file downloaded or downloadable from a server or network. Such product may be provided by a wireless communi cation network or via transfer of the corresponding infor mation by the given computer program, computer program prod uct or computer program means.

A computer program product may include a non-transitory com puter-readable storage medium storing applications, programs, program modules, scripts, source code, program code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and/or the like (also referred to herein as executable instructions, instructions for execu tion, program code, and/or similar terms used herein inter changeably) . Such non-transitory computer-readable storage media include all computer-readable media (including volatile and non-volatile media).

Advantages and embodiments relating to the described method and/or the computer program product may as well pertain or be valid with regard to the manufacturing method and the data processing apparatus as described.

Further features, expediencies and advantageous embodiments become apparent from the following description of the exem plary embodiments in connection with the Figures.

Figure 1 shows a schematic sketch of the principle of a pow der bed based additive manufacturing process. Figure 2 indicates details of such a manufacturing process and particulars of a related anomaly detection applied during such manufacturing.

Figure 3 indicates a schematic flow chart of process steps according to the present invention.

Figure 4 indicates a process flow of the presented anomaly detection method in more detail.

Like elements, elements of the same kind and identically act ing elements may be provided with the same reference numerals in the figures. The Figures are not necessarily depicted true to scale and may be scaled up or down to allow for a better understanding of the illustrated principles. Rather, the described figures are to be construed in a broad sense and as a qualitative base which allows a person skilled in the art to apply the presented teaching in a versatile way.

The term „and/or" as used herein shall mean that each of the listed elements may be taken alone or in conjunction with two or more of further listed elements.

Figure 1 shows an additive manufacturing device 100. Said de vice 100 may be a conventional device for manufacturing any type of components by powder-bed-fusion (PBF). Such tech niques employ a bed of a powder or base material P which is selectively and layerwise exposed to or irradiated by an en ergy beam 5, such as a laser or an electron beam of an irra diation apparatus or energy beam source 2. Accordingly, the given PBF method may relate to selective laser sintering, se lective laser melting or electron beam melting. Said process es allow to establish a workpiece or part 10 on top of a build platform 1 in that powdery layers L for the part 10 are fused or welded onto said platform 1 and consecutively irra diated by selectively solidified by the beam 5 according to its predefined (CAD-)geometry. After the irradiation or fus- ing of each layer, the build platform 1 is usually lowered according to the layer thickness and a new base material lay er is deposited on a manufacturing plane by a recoater or re coating device 30.

The irradiation apparatus 20 is connected to or may be con trolled by a control device 4, e.g. comprising a build pro cessor means.

The device 100 may further feature a, preferably optical, monitoring system 6, such as comprising a CCD or sCMOS camera or any other photodiode type imaging system with which layer- wise images can be taken during the build job, such as one image after a powder recoating step and one image after a re lated (selective) laser scanning step. Particularly long ex posure imaging in combination with a certain NIR (near infra red) filter or the like may be used to capture an intensity value of radiation emitted from the powder bed.

The workpiece 10 as referred to herein may particularly re late to a part or an article of complex shape, such as with filigree portions of structures. Preferably, said part is made of a high-performance material, such as a material of great strength and/or thermal resistivity. Particularly, said part may constitute a part of a steam or gas turbine compo nent, such as a blade, vane, shroud, shield, such as heat shield, tip, segment, insert, injector, seal, transition, burner, nozzle, strainer, orifice, liner, distributor, dome, boost, cone, lance, plate, resonator, piston or any corre sponding retrofit kit. Alternatively, said component may re late to another or similar component.

Figure 2 indicates a schematic perspective view of a stack of layers L above a workpiece 10. The layer stack shall indicate subsequent layers L for the component 10 to be selectively irradiated or - as the case maybe - optical images taken in order to detect anomalies in the process, be it in the powder layer or in the already (partly) solidified layer. The stack of layers as shown in Figure 2 may as well relate to optical tomography data as set forth below. By way of the topmost layer of the stack as indicated in Figure 2, an anomaly de tection shall be illustrated.

It is shown that the optical monitoring system 6 may particu larly detect, record or register different types of defects, flaws or anomalies, e.g. after a selective melting step has been carried out. In the upper right part of the topmost lay er, particularly a hot spot HS shall be indicated, i.e. a re gion in the powder bed or structure for the workpiece 10 which has e.g. been overexposed by the energy beam 5. To this effect, a local or spatial energy density, brought in the powder bed may have been chosen too excessive as to result in a sufficient irradiation result. It is known that excessive heat causes powder particles to evaporate and may cause voids or so-called "keyhole porosity" in the workpiece's structure, i.e approximately spherical bubbles in the structure of the part.

It is apparent that a stable melting or irradiation process requires irradiation parameters to be selected in a reasona ble process "window", i.e. a range of parameters which allow a good structural result, preferably without or poor in de fects and anomalies. It is, of course, not only the energy parameter which can cause hot spots and other defects. Also material or the geometry of the workpiece itself (which is of course oversimplified in the scheme of Figure 2) may lead to hotspots at corners of the contour of the workpiece, e.g. where the energy output is critical. It is known that the mere powder bed, e.g. surrounding solidified structures for the workpiece 10, is thermally "quasi-insulating" and excess heat needs to be dissipated via the build plate (not explic itly indicated in Figure 2).

On the other hand, cold spots CS as indicated in the lower part of the upmost layer in Figure 2 may arise. These cold spots CS may be attributed to an underexposed region, e.g. wherein the energy applied by beam 5 to the powder was not sufficient to fully and reliably melt the related powder bed regions. These cold spots CS may likewise result in an ad verse structural quality, such as a residual porosity in the powder P.

In general, the presented approach as well as the optical monitoring system 6 is capable of detecting a plurality of defects, such as the described hot spot HS, cold spots CS, a related overfused and/or an undefused region, but also so- called blob defects, in the buildup structure for the work- piece 10.

All of the listed types of anomalies in the process may lead to scrap or waste of the whole component, particularly when the manufacture of high-performance materials is concerned. This leads in turn to a waste of manufacturing time and re sources.

In fact, as described above, a porosity defect can only reli ably be detected when repeatedly occurring at the same loca tion in the layered build-up, i.e. over an extension of two to three layers or more, for instance.

Figure 3 indicates in a simplified schematic, method steps according to the method of the present invention. Said method being preferably computer-implemented, is an anomaly detec tion approach for an application of powder bed based additive manufacturing processes.

The method comprises, (i), providing an image data set OT, such as a stack of layered data recorded during a one-time build job or only during the manufacture of a plurality of layers. This step further applies a Principal Component Anal ysis PCA to said image data to compute or analyse a number of image clusters C. Said PCA in fact restructures characteris tic variables in the image data set and extracts an amount of relevant cluster numbers, wherein at least some clusters out of many indicate or relate to a sort of anomaly or defect as described above. The remainder of the clusters may include information about background or non-anomaly data information. Because in the (visual) selection and/or when comparing the centroids with the reference centroids, the anomaly clusters get identified.

The method further comprises, (ii), applying a clustering al gorithm to the analysed image data and computing respective cluster centroids C, such as corresponding to the computed number of image clusters. Said clustering may relate to a so- called k-means clustering, a fuzzy C-Means clustering or a density-based spatial clustering algorithm, such as a so- called DBSCAN.

The method further comprises, (iii), comparing the computed cluster centroids C with a set of reference anomaly cen troids, wherein - based on a match of cluster centroids with the reference - the image data is segmented (layerwise) into cluster images of a specific anomaly. Only the segmented clusters or anomalies are processed any further, such as e.g. five clusters out of a number of 20 overall quantified clus ters or the like are segmented. Furthermore, each type of anomaly cluster is then processed serially and/or separately.

The method further comprises, (iv), transforming the segment ed images into a defined color space, such as a Lab (Lab) color space or greyscale (GV) spectrum, this particularly fa cilitates the detection of anomalies by way of a thresholding approach as will be described below.

The method further comprises, (v), integrating a pixel infor mation of the transformed segmented cluster images to compute a threshold value for the image data set in order to deter mine a respective anomaly (cf. reference numerals a, t in Figure 4 below). Due to this thresholding, the whole presented detection or monitoring solution may be implemented in an only semi- automated or semi-supervised way. This brings e.g. advantages over a fully automated way which suffers from the drawbacks as listed further above.

Figure 4 indicates particulars of the presented approach in more detail. Some aspects of the present invention may in this regard be described in a redundant way.

The upper part or line of the indicated flow chart or chart of pictograms in Figure 4 under step "1)" may relate to a reference template generation which may be carried out at least in a one-time computational step.

Actually, the described image data set OT or stack of optical images is - provided that the whole manufacturing and printer setup is validated for the first time - supplied by a stack of random and/or test images as a reference, which are then subjected to a Principal Component Analysis PCA and to a clustering algorithm for computing cluster centroids C (simi larly as described above), wherein the image clusters are se lected in order to provide for a reference anomaly centroids information .

In other words, a dimensional reduction algorithm can be ap plied by the PCA in combination with clustering algorithm, preferably "k-means", to form the clusters from the image da ta and computing the cluster centroids. Each cluster centroid is referred to the "sub-components" of an individual image.

Then, e.g. by visual and/or "manual" selection (via a "Yes" and "No"), the cluster centroids C that refer to the desired anomalies are selected and exported as a reference template file. Which can be used as a reference template to match the similar anomalies from new image data (see "2)" below). As the amount of structured, labelled or available data increas es, of course also the accuracy and quality of the presented anomaly detection increases. I.e. the better the data input gets, the better is potentially a resolution of the presented thresholding and anomaly detection functionality. Generally, accuracy will usually be increased to a certain level. Then, after a certain data input, accuracy will flatten because the centroid values will not change drastically anymore. But if e.g. different data input stems from different build jobs, whereas monitoring data stem from the same machine and opti cal tomography system, then accuracy will increase depending on the geometry and/or features within the data, as this would generate different cluster values.

To this extent in turn also the whole manufacturing process and its reproducibility may be improved. This further mani fests in a more reliable manufacturing route as a whole and helps to industrialise the additive technologies in general.

In the bottom part of Figure 4 (cf. "2)") it is, particularly shown that adaptive threshold values or ranges are computed for new data and detected anomalies. The image data recorded by e.g. a CCD camera, of the optical monitoring system 6 may be taken as an input. The method steps described under step "1)" are then carried out anew and further processed until step (v) (see Figure 3 above). The PCA (analysis) is per formed on each layerwise image and the cluster number is com puted. Based on this cluster number, k-means clustering de composes an image into the relevant clusters (indicated as dots and spheres in the pictograms) and cluster centroids are computed. Then, the newly computed cluster centroids get com pared with the reference anomaly centroids. Based on the matched centroid clusters, the corresponding image set get segmented and generate images with anomalies only. New seg mented images of a given color space get transformed into LAB color space or grey spectrum depending on its input format (color/ greyscale images). In other words, a new grid with individual color plane is formed where pixel-wise intensity values get integrated to compute the lower and upper thresh olds for the dataset (cf. above). For the described integration, preferably a lower value (cf. t low) and/or an upper threshold value t up is computed for the image data set in order to provide a threshold range for the respective anomaly. These computed thresholds can also be used further for the same source data input, especially in the case of the serial production or new data input from the same printer, as shall be indicated by the further OT data input from the left in the bottom row of Figure 4. New com puted thresholds may then become input parameters for conven tional thresholding based image processing algorithms where anomalies get marked on layerwise images, and formed into clusters using nearest neighbor methods and finally compute the location and size of the respective anomaly using a pixel size and a field of view information, such as e.g. based on the pixel coordinates (x,y) of the respective layer.

Then, further below, it shall be indicated by numeral (vi)

(cf. the general flowchart of the method of Figure 3 above) that an anomaly a is marked in each layer L of the image data set and formed into anomaly clusters, such as by using a nearest neighbor search algorithm, like a Connected Component Labeling, a Proximity or Closest Point Search, a Point Loca tion or Point in Triangle Search or a k-Nearest Neighbor al gorithm.

Subsequently, a location and/or a size of the respective anomaly cluster may be determined with reference to the actu al workpiece geometry. Thereby, a region of interest ROI may be used or extracted. This may particularly be implemented via binary mask with a related ROI information; or by similar means. In other words, defect or anomaly clusters may be reg istered with in specified region of interest ROI. Based on this information, e.g. an information of a specific location, dimensional and/or a severity indicator of a given anomaly cluster may be computed and reported, such as by way of a point cloud database PCD. The database may e.g. comprise a layerwise position and severity information of each type of anomalies which may in turn be correlated with real material or manufacturing defects, which may be detected either in- situ by other monitoring approaches or e.g. by computed to mography as post-manufacturing inspection.

A generated anomaly information file (location, size and se verity) can then be used as quality report or further used to accelerate printing process parameter development or used with post-inspection data to correlate with real material de- fects.

All process steps may be carried out by a data processing de vice, such as the apparatus as depicted in Figure 1 by refer ence numeral 7. To this effect, the presented method may be fully or partly implemented by generic data processing means.

Overall advantages of the presented methodology particularly allow to determine threshold values for characteristic areal data that may indicate defects or anomalies in the powder bed process. The image data of the process monitoring systems can then be processed during the threshold values determined and defect areas can be identified. Finally, the proposed ap proach can be applied in serial production as the generated adaptive thresholds can be used for in-situ monitoring to take actively part, such as by interrupting an underlying build job.