Defect detection methods, systems, devices, and media for additive manufacturing

By dynamically determining the reference area in additive manufacturing and obtaining signal feature values, the problem of inaccurate defect detection in additive manufacturing is solved, and higher detection stability and accuracy are achieved.

CN123168422APending Publication Date: 2026-11-27GUANGZHOU DILIGINE PHOTONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611306052.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing additive manufacturing defect detection methods, the fixed detection area leads to inaccurate defect detection, which fails to accurately reflect the normal signal background at the detection location, thus affecting the stability and reliability of the detection.

Method used

The reference area is dynamically determined by the location to be detected, and the signal feature value is obtained. The defect detection result is determined based on the signal feature value of the reference area and the location to be detected, thus avoiding reliance on fixed physical partitions.

Benefits of technology

It improves the accuracy and stability of defect detection and can more accurately reflect the normal signal background at the location to be detected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123168422A_ABST
    Figure CN123168422A_ABST
Patent Text Reader

Abstract

The application discloses an additive manufacturing defect detection method, system, device and medium. The additive manufacturing defect detection method comprises the following steps: acquiring signal characteristic values of a to-be-detected position of each processing layer of a target part in an additive manufacturing process; determining a first reference area by taking the to-be-detected position as a spatial constraint condition, wherein the first reference area at least comprises the to-be-detected position; acquiring signal characteristic values of the first reference area, and determining a defect detection result of the target part according to the signal characteristic values of the first reference area and the signal characteristic values of the to-be-detected position. According to the application, the reference area is dynamically determined according to the to-be-detected position, and the defect detection result is determined according to the signal characteristic values of the reference area and the to-be-detected position, so that the defect detection no longer depends on fixed physical partitions, but the reference area is dynamically formed around the to-be-detected position, so that the normal signal background where the to-be-detected position is located can be more accurately reflected, and the stability and accuracy of defect detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of additive manufacturing technology, specifically to a defect detection method, system, equipment, and medium for additive manufacturing. Background Technology

[0002] Additive manufacturing (AM) is a manufacturing technology that creates solid parts by adding materials layer by layer based on three-dimensional model data. It encompasses forming systems using various materials such as polymers, metals, ceramics, and composite materials. Among them, metal additive manufacturing (MAM) is a key technology for producing metal products.

[0003] Specifically, Metal Bed Fusion (MAM) is a technology that uses a high-energy heat source to achieve metallurgical fusion and layer-by-layer densification of metallic materials, producing metal products with density and mechanical properties approaching those of forgings. The high-energy heat source can include lasers, electron beams, electric arcs, etc., while the metallic materials can include metal powders or metal wires. Based on this, MAM can be further subdivided into Powder Bed Fusion (PBF) and Directed Energy Deposition (DED). PBF uses a pre-placed powder bed as its material basis, selectively melting the powder layer through a heat source; a representative process is Selective Laser Melting (SLM). DED is characterized by the simultaneous supply of powder (powder spraying) or wire (wire feeding), simultaneously melting the material during the deposition process through a high-energy heat source; a representative process is Laser Cladding (LC).

[0004] During the processing of MAM technology, optical sensors simultaneously acquire multi-channel signals such as power, visible light, reflected light, and infrared light, and map the acquisition points to a two-dimensional image selection area according to physical coordinates to perform defect detection.

[0005] Existing defect detection schemes typically employ a fixed physical selection area method: first, the detection plane is divided into several rectangular detection areas of fixed size; then, each valid selection area or pixel is assigned to its corresponding fixed detection area; subsequently, the signal mean of the valid selection areas within each area is calculated and saved separately according to line type, serving as the signal baseline for that area; then, the signal value of the area to be detected is compared with the baseline of the mean of the same line type within its fixed detection area to determine the defect. However, since the detection area is determined by a preset grid, and the actual defects, thermal accumulation areas, melt pool state changes, and printed trajectory boundaries are not naturally aligned with this preset grid, the same defect may span multiple fixed areas and be counted separately, or it may only account for a small proportion in a larger area and be masked by the area mean. Furthermore, a fixed area may simultaneously contain signals of different line types, pulse lengths, parts, or connected contours. If these are directly mixed into the baseline of the same area, the baseline will not accurately reflect the true process background of the area to be detected. In addition, when there are local anomalies within a fixed area, the anomaly points themselves will participate in the area mean calculation, causing contamination of the reference baseline, thus affecting the accuracy and reliability of defect detection. Summary of the Invention

[0006] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a defect detection method, system, device and medium for additive manufacturing, which dynamically determines a reference area by the location to be detected, and determines the defect detection result based on the signal characteristic values ​​of the reference area and the location to be detected. This makes defect detection no longer dependent on fixed physical partitions, but dynamically forms a reference area around the location to be detected, thereby more accurately reflecting the normal signal background of the location to be detected and improving the stability and accuracy of defect detection.

[0007] In a first aspect, embodiments of this application provide a defect detection method for additive manufacturing, including: Acquire the signal feature values ​​of the detection positions of each processing layer of the target part during the additive manufacturing process; A first reference region is determined using the location to be detected as a spatial constraint, and the first reference region includes at least the location to be detected. The signal feature value of the first reference area is obtained, and the defect detection result of the target part is determined based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0008] Secondly, embodiments of this application provide a defect detection system for additive manufacturing, comprising: The acquisition module is used to acquire the signal feature values ​​of the detection positions of each processing layer of the target part during the additive manufacturing process; A determining module is configured to determine a first reference region using the location to be detected as a spatial constraint, wherein the first reference region includes at least the location to be detected. The detection module is used to acquire the signal feature values ​​of the first reference area and determine the defect detection result of the target part based on the signal feature values ​​of the first reference area and the signal feature values ​​of the position to be detected.

[0009] Thirdly, embodiments of this application provide a computing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the additive manufacturing defect detection method according to the first aspect described above.

[0010] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the defect detection method for additive manufacturing according to the first aspect described above.

[0011] In the embodiments of this application, firstly, signal feature values ​​of the locations to be detected at each processing layer of the target part during additive manufacturing are obtained; then, a first reference region is determined using the locations to be detected as spatial constraints, and the first reference region includes at least the locations to be detected; finally, signal feature values ​​of the first reference region are obtained, and the defect detection result of the target part is determined based on the signal feature values ​​of the first reference region and the signal feature values ​​of the locations to be detected. Thus, by dynamically determining the reference region based on the locations to be detected, and determining the defect detection result based on the reference region and the signal feature values ​​of the locations to be detected, defect detection no longer relies on fixed physical partitions, but rather dynamically forms a reference region around the locations to be detected, thereby more accurately reflecting the normal signal background of the locations to be detected and improving the stability and accuracy of defect detection.

[0012] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0013] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 A flowchart of a defect detection method for additive manufacturing provided in the embodiments of this application; Figure 2 This is a schematic diagram of boundary region clipping provided in an embodiment of this application; Figure 3 This is a schematic diagram of the detection group division provided in the embodiments of this application; Figure 4 This is a schematic diagram illustrating the execution of processing defect detection provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating the determination of processing defects provided in an embodiment of this application; Figure 6 A schematic diagram of reference area selection provided for embodiments of this application; Figure 7 A structural block diagram of the additive manufacturing defect detection system provided in the embodiments of this application; Figure 8 A schematic diagram of a computing device suitable for implementing embodiments of this application is shown. Detailed Implementation

[0014] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the relevant application and not intended to limit the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the application are shown in the accompanying drawings.

[0015] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0016] The following describes, with reference to the accompanying drawings, a defect detection method, system, device, and medium for additive manufacturing according to embodiments of this application.

[0017] First, it should be noted that the defect detection method for additive manufacturing provided in this application has universality and can be widely applied to multiple process branches under the AM technology system, including but not limited to SLM and Electron Beam Melting (EBM) under the PBF system, and LC, Wire Arc Additive Manufacturing (WAAM), and Electron Beam Additive Manufacturing (EBAM) under the DED system, as well as various additive manufacturing processes that use high-energy heat sources to melt metal materials layer by layer. To facilitate understanding and implementation of the technical solution of this application, the following section will use the LC scenario as an example to elaborate on the defect detection method provided in this application.

[0018] It should be noted that LC is merely a preferred exemplary application scenario for the technical solution of this application, and does not limit the implementation scheme of this application to be applicable only to this scenario. For other AM methods that use the same or substantially the same technical concepts as this application to achieve defect detection, the relevant descriptions in the LC scenario can be referred to for understanding and implementation, and will not be elaborated upon here. Specific implementation details in other fields are those that can be reasonably deduced and adaptively adjusted by those skilled in the art after reading the full text of this application and considering the specific process object, and all fall within the technical scope covered by this application.

[0019] Figure 1 This is a flowchart of a defect detection method for additive manufacturing according to an embodiment of this application, as shown below. Figure 1 As shown, an additive manufacturing defect detection method according to an embodiment of this application includes the following steps: S101: Obtain the signal characteristic values ​​of the locations to be detected in each processing layer of the target part during the additive manufacturing process.

[0020] In one embodiment of this application, obtaining the signal feature values ​​of the target part at the location to be detected in each processing layer during additive manufacturing includes: dividing the processing layer into at least one selection area, the selection area including at least one sampling point; and calculating the signal feature value of the location to be detected based on the signal feature values ​​of the sampling points in the selection area where the location to be detected is located.

[0021] Before acquiring signal feature values, the sampling points of the current processing layer or the current laser head are first mapped to two-dimensional image coordinates according to physical coordinates. Then, at least one selection area is divided on the processing layer, each selection area including at least one sampling point. Information such as the line type, trajectory length level, acquisition coverage, and conflict status of the selection area are recorded to constitute the signal feature values ​​of the sampling points in the selection area where the location to be detected is located. Specifically, the line type indicates the category of the scanning trajectory within the selection area based on process parameters, such as contour lines, fill lines, etc. Because different scanning trajectories have different process parameters, the normal signal amplitude of different line types may differ. The trajectory length level indicates the category of the trajectory within the selection area based on length, such as short trajectories, long trajectories, etc. Acquisition coverage indicates the number and spatial distribution of sampling points within the current selection area. Conflict status indicates whether there are conflicts such as mixed line types or inconsistent length levels within the current selection area.

[0022] In one embodiment of this application, the signal characteristic value of the sampling point is calculated based on one sampling signal at the sampling point, or it is calculated based on the fusion of at least two sampling signals at the sampling point.

[0023] The sampled signals include, but are not limited to, power signals, visible light signals, reflected light signals, and infrared light signals. The signal characteristic values ​​of a sampling point can be obtained through feature transformation based on the characteristic quantity of one sampled signal at that sampling point; alternatively, based on the characteristic quantities of multiple sampled signals at that sampling point, a fused characteristic quantity can be obtained first through feature fusion, and then the signal characteristic value of the sampling point can be obtained through feature transformation. The characteristic quantities of the sampled signals include, but are not limited to, signal amplitude, signal-to-noise ratio, and instantaneous rate of change of the signal; the feature transformation methods include, but are not limited to, normalization, feature encoding, and nonlinear mapping; the feature fusion methods include, but are not limited to, weighted fusion and principal component analysis. It should be noted that the above-described characteristic quantity settings, feature transformations, and fusion methods are merely illustrative examples and are not intended to limit the scope of protection of this application.

[0024] In one embodiment of this application, the step of calculating the signal feature value of the location to be detected based on the signal feature value of the sampling point in the selected area where the location to be detected is located includes: when the selected area contains one sampling point, determining the signal feature value of the location to be detected based on the signal feature value of the sampling point; when the selected area contains multiple sampling points, fusing the signal feature values ​​of the multiple sampling points to obtain the signal feature value of the location to be detected.

[0025] Specifically, for selection areas containing only one sampling point, the signal characteristic value of that sampling point can be directly used as the signal characteristic value of the location to be detected. For selection areas containing multiple sampling points, the signal characteristic values ​​of each sampling point can be accumulated and averaged, or weighted averaging, median filtering, or other methods can be used to fuse the signal characteristic value of the location to be detected. For hollow selection areas without direct sampling but with similar valid signals in the neighborhood, they can be filled by methods such as same-line diffusion, i.e., the signal characteristic value of adjacent same-line selection areas can be used as the estimated value of the hollow selection area. For selection areas with line type conflicts or length level conflicts, they are marked as abnormal selection areas and are not included in baseline statistics to avoid abnormal data causing the signal benchmark to deviate from the normal range.

[0026] It should be noted that the above fusion method is only an illustrative example and is not intended to limit the scope of protection of this application. In other examples, other statistical methods or fusion methods may be selected according to actual detection needs.

[0027] S102: Using the location to be detected as a spatial constraint, determine a first reference region, wherein the first reference region includes at least the location to be detected.

[0028] Specifically, the detection area can be centered on the location to be detected and expanded outward along the processing plane coordinate system according to a preset size to form a rectangular, circular, or other shaped region, which serves as the first reference region. Alternatively, an initial region can be defined centered on the location to be detected, and then the region boundary can be adjusted according to the distribution of sampling points within the initial region, with the adjusted region serving as the first reference region. Another option is to expand the selection area starting from the location of the detection area along a preset direction until the number of included selection areas reaches a threshold or the region reaches a preset size, thus obtaining the first reference region. The preset size can be determined by a preset window size and image coefficients, whereby the image coefficients are used to convert physical spatial distance into pixel distance.

[0029] In one embodiment of this application, determining the first reference region using the location to be detected as a spatial constraint further includes: when the distance between the location to be detected and the boundary of the processing layer plane is less than a preset distance threshold, the first reference region uses the boundary of the processing layer plane as a cutoff boundary and retains the portion within the cutoff boundary.

[0030] like Figure 2 As shown in the figure, the solid rectangle represents the initial reference area. When the distance between the location to be detected and the boundary of the processing layer plane is less than a preset distance threshold, the initial reference area is cropped according to the boundary of the processing layer plane, retaining the portion of the initial reference area within the boundary of the processing layer plane as the first reference area. Figure 2 The dashed rectangle in the image is shown. Figure 2 In the example, the distance threshold along the width direction is set to the distance from the detection location to the upper boundary of the initial reference region; the distance threshold along the length direction is set to the distance from the detection location to the left boundary of the initial reference region. In other examples, the corresponding distance threshold can be set according to the shape of the initial reference region and the relative position of the detection location within the initial reference region. This application does not limit the specific method for setting the distance threshold.

[0031] S103: Obtain the signal feature value of the first reference area, and determine the defect detection result of the target part based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0032] In one embodiment of this application, the step of obtaining the signal feature value of the first reference area and determining the defect detection result of the target part based on the signal feature value of the first reference area and the signal feature value of the position to be detected includes: determining the signal feature value of the first reference area based on the signal feature value of the signal detection position within the first reference area that belongs to the same detection group as the position to be detected; the detection group is determined based on one or more of the following: processing parameters, processing features, and the positional relationship of the signal detection positions; and determining the defect detection result of the target part based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0033] First, for each signal detection position on the processing layer, a detection group identifier is formed based on one or more of the following: processing parameters, processing characteristics, and the positional relationship of the signal detection positions. Signal detection positions with the same detection group identifier are then grouped into the same detection group. The processing parameters include, but are not limited to, line type, length level, and connected component number, used to characterize the process background of the signal detection position. Processing characteristics include, but are not limited to, scan path type, fill density, and layer thickness level, used to characterize the processing operation type and structural characteristics of the signal detection position. Positional relationships include, but are not limited to, the spatial distance, adjacency relationship, and arrangement direction between signal detection positions, used to characterize the spatial distribution characteristics of the signal detection positions on the processing layer plane. The above information is combined or encoded according to preset rules to generate corresponding detection group identifiers, thereby dividing each signal detection position into different detection groups.

[0034] In another embodiment, detection groups can be formed by selecting areas as units, and a detection group identifier can be generated based on one or more of the processing parameters, processing characteristics, and positional relationships of at least one signal detection position within the selected area. Selected areas with the same detection group identifier are grouped into the same detection group. By dividing the detection groups by selected areas, the amount of data processing in processing defect detection can be reduced, thereby improving detection efficiency.

[0035] In a specific example, such as Figure 3 As shown, the black square represents the selected area where the current location to be detected is located, the gray square represents the selected area that belongs to the same detection group and participates in the defect detection calculation for the current location to be detected, and the gray circle represents the selected area that belongs to a different detection group and does not participate in the defect detection calculation for the current location to be detected.

[0036] Specifically, determining the signal feature value of the first reference region based on the signal feature values ​​of signal detection positions within the first reference region that belong to the same detection group as the location to be detected includes: calculating the statistical values ​​of the signal feature values ​​of signal detection positions within the first reference region that belong to the same detection group as the location to be detected, and using these statistical values ​​as the signal feature value of the first reference region. These statistical values ​​include, but are not limited to, the mean, weighted mean, median, and standard deviation.

[0037] In one embodiment of this application, determining the defect detection result of the target part based on the signal feature value of the first reference area and the signal feature value of the position to be detected includes: calculating the deviation value between the signal feature value of the first reference area and the signal feature value of the position to be detected; when the deviation value exceeds a preset deviation value threshold, determining the position to be detected as a signal abnormality position; and determining the defect detection result of the target part based on the positional relationship of the signal abnormality positions of each processing layer.

[0038] The deviation between the signal characteristic values ​​of the first reference region and the signal characteristic values ​​of the location to be detected can be selected as a difference, absolute difference, or ratio. Taking the ratio as an example, the ratio between the signal characteristic values ​​of the first reference region and the signal characteristic values ​​of the location to be detected is calculated. When the ratio is greater than a preset upper limit threshold, it indicates that the signal strength at that location is higher than the normal fluctuation range of the reference baseline, confirming that there is an overheating anomaly at that location. When the ratio is less than a preset lower limit threshold, it indicates that the signal strength at that location is lower than the normal fluctuation range of the reference baseline, confirming that there is an undercooling anomaly at that location. Otherwise, it is determined that there is no anomaly at that location. The upper and lower limits of the ratio can be set separately according to the signal characteristic distribution characteristics of different detection groups to adapt to the differences in the reference baseline under different processing conditions.

[0039] In one embodiment of this application, determining the defect detection result of the target part based on the positional relationship of the signal anomaly locations in each processing layer includes: merging signal anomaly locations within the same processing layer that meet preset merging conditions into a connectivity anomaly area; determining the spatial connectivity relationship of the connectivity anomaly areas based on the positional relationship between the connectivity anomaly areas corresponding to different processing layers; and determining that the target part has a processing defect when the spatial connectivity relationship meets preset defect judgment conditions.

[0040] Since multiple signal anomaly locations may exist within the same processing layer, to avoid misjudgment or omission, multiple signal anomaly locations are merged to form a connected anomaly region when they meet preset merging conditions. Furthermore, there may be spatial correspondence or overlap between connected anomaly regions in different processing layers. Therefore, based on the positional relationship between connected anomaly regions corresponding to different processing layers, the spatial connectivity relationship of the connected anomaly regions is determined to distinguish between occasional signal anomalies and persistent real processing defects according to the spatial connectivity relationship. When the spatial connectivity relationship meets preset defect judgment conditions, it can be determined that the target part has a processing defect.

[0041] In one embodiment of this application, the preset merging condition includes: within the same processing layer, at least one signal anomaly location belongs to the same connected domain.

[0042] Since signal anomaly locations within the same connected region are spatially adjacent or connected, their signal anomalies may originate from the same local process fluctuations or material defects. Therefore, signal anomaly locations belonging to the same connected region are merged into a single connected anomaly region. First, the signal anomaly locations in this processing layer are divided into connected regions. Figure 4 For example, taking each signal anomaly location as a reference, scanning is performed in the right, lower left, lower, and lower right directions. All signal anomaly locations covered by the scan are marked as belonging to the same connected component. Then, signal anomaly locations belonging to the same connected component are merged to form a connected anomaly region. By scanning each signal anomaly location along the above four directions, all its adjacent locations can be covered. It should be noted that the above direction selection is only exemplary. In other examples, it is sufficient that the selected set of directions can cover all adjacent locations of each signal anomaly location; this application does not impose any limitations on this.

[0043] In one embodiment of this application, the preset merging conditions include: within the same processing layer, at least one signal anomaly location belongs to the same connected domain and has the same anomaly type.

[0044] Since signal anomaly locations within the same connected domain may correspond to different anomaly types, such as overheating or undercooling anomalies, and the signal characteristic values ​​of anomaly locations of different anomaly types will have some differences, merging signal anomaly locations of different types into the same connected anomaly region would result in the mixing of anomaly information from multiple physical causes within that region, thereby reducing the accuracy of defect detection. Therefore, further, only signal anomaly locations with the same anomaly type within the same connected domain are merged.

[0045] In one embodiment of this application, the preset merging conditions include: within the same processing layer, at least one signal anomaly location belongs to the same connected domain, has the same anomaly type, and is located in the same detection group.

[0046] Since signal anomaly locations within the same connected domain may originate from different detection groups, and these groups may have different processing parameters, processing features, and / or signal detection position relationships, merging them into the same connected anomaly region would make it impossible to determine whether a defect is caused by differences in detection group parameters during defect identification, thus affecting defect identification. Therefore, further, signal anomaly locations belonging to the same connected domain, with the same anomaly type, and located within the same detection group are merged.

[0047] In one embodiment of this application, before determining the defect detection result of the target part, the method further includes: calculating the abnormal score of the connectivity abnormal area; comparing the abnormal score with a preset score threshold to obtain a comparison result, wherein the comparison result is used to determine whether to perform defect detection on the connectivity abnormal area, and the defect detection includes performing the following process: determining the spatial connectivity relationship of the connectivity abnormal area based on the positional relationship between the connectivity abnormal areas corresponding to different processing layers; when the spatial connectivity relationship meets the preset defect judgment condition, determining that the target part has a processing defect.

[0048] Specifically, the abnormal score of the connectivity anomaly region is used to characterize the severity of the anomaly in the connectivity anomaly region. When the abnormal score is greater than or equal to a preset score threshold, the connectivity anomaly region is subjected to defect detection; otherwise, the defect detection process is not initiated.

[0049] In one embodiment of this application, the preset defect determination condition includes: in the stacking or accumulation direction of the processing layers, the connectivity abnormal areas of N consecutive processing layers, including the current layer, satisfy the preset spatial connectivity condition, where N represents the preset defect layer number threshold.

[0050] Specifically, taking the current layer as a reference, defects are determined for connectivity anomalies in multiple consecutive processing layers, including the current layer, along the stacking or accumulation direction of the processing layers. The number of processing layers, including the current layer, whose connectivity anomalies satisfy preset spatial connectivity conditions is counted. When this number of processing layers reaches a preset defect layer threshold, a processing defect is determined to exist. The spatial connectivity conditions include: the existence of connectivity anomalies in the processing layer, where the connectivity anomaly completely overlaps with the corresponding connectivity anomaly in the current layer on a planar coordinate plane; or, the overlap ratio between the connectivity anomalies in the processing layer and the connectivity anomalies in the current layer on a planar coordinate plane is greater than a preset overlap ratio threshold; or, the distance between the geometric centers of the connectivity anomalies in the processing layer and the connectivity anomalies in the current layer on a planar coordinate plane is less than a preset center distance threshold. It should be noted that the above spatial connectivity determination method is merely exemplary and is not limited in this application.

[0051] In a specific example, the consecutive processing layers refer to the current layer and the processing layers preceding it. For example... Figure 5As shown, firstly, a statistical window is established along the processing direction, using the current layer as the baseline. Within the statistical window, the number of processing layers containing connectivity anomalies that satisfy the spatial connectivity condition is counted, including both the current layer and the preceding processing layers. For example, if the statistical window is set to 5 consecutive layers and the defect layer threshold is 4, the number of processing layers containing connectivity anomalies that satisfy the spatial connectivity condition, including the current layer, is counted among the 5 processing layers. If the number of such processing layers is greater than or equal to 4, a processing defect is determined to exist; otherwise, it is not determined to be a processing defect. Figure 5 As shown, for the current layer's connectivity anomaly region P1, if the connectivity anomalies corresponding to the four processing layers, including the current layer, satisfy the spatial connectivity condition, then the spatial connectivity relationship of P1 satisfies the defect judgment condition, and a processing defect is determined to exist. For the current layer's connectivity anomaly region P2, if the connectivity anomalies corresponding to the two processing layers, including the current layer, satisfy the spatial connectivity condition, then the spatial connectivity relationship of P2 does not satisfy the defect judgment condition, and it is not determined to be a processing defect. For the current layer's connectivity anomaly region P3, if the connectivity anomalies corresponding to the five processing layers, including the current layer, satisfy the spatial connectivity condition, then the spatial connectivity relationship of P3 satisfies the defect judgment condition, and a processing defect is determined to exist. It should be noted that when the number of preceding processing layers of the current layer is less than the number of layers in the statistical window, no defect judgment is performed on the current layer to avoid misjudging a single-layer connectivity anomaly as a continuous inter-layer defect due to insufficient historical layers, thereby reducing the accuracy of defect detection.

[0052] In another specific example, the consecutive processing layers refer to the current layer and the processing layers following it. For instance, for defect determination in layer 5, the statistical window can select layers 5 through 9 to detect potential processing defects in the current layer and subsequent processing layers.

[0053] In another specific example, the "multiple consecutive processing layers" refers to a series of consecutive processing layers that simultaneously include the preceding and succeeding processing layers of the current layer. For example, for defect determination of the 5th layer, the statistics window can select layers 3 to 7 to take into account the processing layer information before and after the current layer for defect determination.

[0054] After processing, the information obtained in the above steps, including signal anomaly locations, connectivity anomaly areas, and final determinations of processing defects, is statistically analyzed. The corresponding statistical items can be updated according to dimensions such as signal type, cable type, detection group, and anomaly type. For example, for optical signals, the number and spatial distribution of signal anomaly locations, the number, proportion, and coverage of connectivity anomaly areas, and the number of final determined processing defects and their distribution across processing layers are recorded.

[0055] Furthermore, the proportion of abnormal signal locations within the valid selection area and the number of processing defects corresponding to each signal type can be statistically analyzed and compared with preset thresholds for each signal type. Based on the comparison results and preset alarm rules, corresponding alarm information is output. The valid selection area is obtained by processing the abnormal selection areas among all selection areas on the processing layer in the above steps.

[0056] In one embodiment of this application, the step of determining the defect detection result of the target component based on the signal feature values ​​of the first reference area and the location to be detected further includes: determining a second reference area; obtaining the signal feature value of the second reference area; determining the signal feature value of the first reference area or the signal feature value of the second reference area as a reference value based on a preset reference value condition; comparing the reference value with the signal feature value of the location to be detected to obtain a comparison result, and determining the defect detection result of the target component based on the comparison result.

[0057] Specifically, based on the established first reference area, a second reference area is set. This second reference area may have a different size and / or shape than the first reference area to provide a different signal reference during defect determination, avoiding misjudgments caused by improper setting of a single reference area. Next, based on preset reference value conditions, the signal characteristic value of either the first or second reference area is determined as a reference value. By comparing this reference value with the signal characteristic value of the location to be detected, the defect detection result of the target part is obtained.

[0058] In one embodiment of this application, the first reference region and the second reference region at least partially overlap.

[0059] The second reference region may include the entire area of ​​the first reference region, or the second reference region may overlap with the first reference region but each has its own independent region. By setting the second reference region to partially overlap with the first reference region, it is possible to introduce signal references of different spatial scales while ensuring that the signal feature values ​​extracted in the second reference region remain correlated with the location to be detected.

[0060] In one embodiment of this application, the second reference region is determined based on the first reference region, and / or the second reference region has the same region center as the first reference region.

[0061] By setting the second reference region to have the same regional center as the first reference region, when the first reference region is centered on the location to be detected, the second reference region can also be expanded with the location to be detected as the center, so that the two reference regions cover different scales of the region at the same central location.

[0062] In a specific example, such as Figure 3 As shown, the black box represents the first reference area, and the gray box represents the second reference area. The second reference area has the same center as the first reference area, and its size is determined based on the size of the first reference area. For example, the radius of the second reference area can be set to the radius of the first reference area multiplied by a preset magnification factor, thereby providing a wider range of reference information.

[0063] In one embodiment of this application, each of the second reference regions includes at least one signal detection location, and the step of obtaining the signal feature value of the second reference region includes: determining the signal feature value of the second reference region based on the signal feature value of each signal detection location within the second reference region.

[0064] Specifically, the statistical values ​​of signal feature values ​​at signal detection locations within the second reference region that belong to the same detection group as the location to be detected are calculated and used as the signal feature values ​​of the second reference region. These statistical values ​​include, but are not limited to, the mean, weighted mean, median, and standard deviation.

[0065] In one embodiment of this application, the signal characteristic value of the first reference region is the average signal characteristic value of each signal detection position within the first reference region, and / or, the signal characteristic value of the second reference region is the average signal characteristic value of each signal detection position within the second reference region.

[0066] The mean can be calculated directly by arithmetic average or weighted average, or it can be obtained by box filtering, integral plot, sliding window incremental update, GPU parallel prefix and / or block caching, etc. The specific method used can be flexibly selected according to real-time requirements and computing resources, and this application does not limit it.

[0067] In one embodiment of this application, obtaining the signal feature value of the second reference region includes: determining the signal feature value of the second reference region based on the signal feature value of a signal detection position within the second reference region that belongs to the same detection group as the position to be detected.

[0068] Since the second reference region contains signal detection positions from different detection groups, their processing parameters, processing characteristics, and / or positional relationships differ, resulting in variations in normal signal amplitude ranges. Directly incorporating the signal characteristic values ​​of all detection positions into the calculation would lead to a final reference value that fails to represent the true process background of the detection location. Therefore, further, the signal characteristic values ​​of the second reference region are determined based on the signal characteristic values ​​of the signal detection positions within the same detection group as the detection location.

[0069] Specifically, the statistical values ​​of signal feature values ​​at signal detection locations within the second reference region that belong to the same detection group as the location to be detected are calculated and used as the signal feature values ​​of the second reference region. These statistical values ​​include, but are not limited to, the mean, weighted mean, median, and standard deviation.

[0070] Further, after obtaining the signal characteristic values ​​of the second reference region, based on preset reference value conditions, the signal characteristic values ​​of either the first or second reference region are determined as reference values. Specifically, the deviation of the signal characteristic values ​​of the first reference region from the signal characteristic values ​​of the second reference region is calculated. When the deviation exceeds a preset deviation threshold, the signal characteristic values ​​of the second reference region are selected as the reference values; otherwise, the signal characteristic values ​​of the first reference region are selected as the reference values. In a specific example, such as... Figure 6 As shown, let the signal characteristic value of the first reference region be μs, representing the local signal characteristic value level; and the signal characteristic value of the second reference region be μl, representing the background signal characteristic value level. If the number of effective selection areas in the first reference region meets the preset selection area number threshold, and the deviation between μs and μl exceeds the deviation threshold (i.e., |μs / μl-1| is greater than the deviation threshold), it indicates that the deviation between the signal characteristic values ​​of the first and second reference regions exceeds the preset acceptable range. For example, there may be some sampling points in the first reference region whose signal characteristic values ​​deviate from the normal range, causing the signal characteristic values ​​of the first reference region to deviate from the normal level and cannot be used as a reference benchmark for defect judgment. Therefore, the signal characteristic value μl of the second reference region is used as the reference value to provide a more stable reference benchmark. Otherwise, the signal characteristic value μs of the first reference region is used as the reference value. Thus, when a small reference region is contaminated by anomalies or local boundary effects, a large reference region can be selected as the benchmark to avoid misjudgment of defects.

[0071] It should be noted that, in addition to comparing the relative deviation between the first reference area and the second reference area, in other examples, the signal characteristic value of the first reference area can also be used as a reference benchmark for defect judgment by combining the number of effective selected areas, the stability of continuous precursor layers, the trend of adjacent layers or the change of process parameters.

[0072] After determining the reference value, the defect detection result of the target part is determined based on the reference value and the signal characteristic value of the location to be detected. The specific implementation method is similar to the aforementioned process of determining the defect detection result of the target part by using the signal characteristic value of the first reference area and the signal characteristic value of the location to be detected, and will not be repeated here.

[0073] In one embodiment of this application, the method further includes: when the number of signal detection locations within the first reference area that belong to the same detection group as the location to be detected is greater than or equal to a preset number threshold, defect detection is performed on the location to be detected.

[0074] Specifically, when the number of signal detection locations within the first reference region that belong to the same detection group as the location to be detected is greater than or equal to a preset threshold, it indicates that there are sufficient similar samples within the first reference region to establish a reference baseline, and the statistical results based on this number are highly representative. Conversely, when the number of signal detection locations within the first reference region that belong to the same detection group as the location to be detected is less than the preset threshold, it indicates that there are too few similar samples within the first reference region to establish a reference baseline, which may lead to significant disturbances to the statistical benchmark by a small sample deviation in subsequent defect judgment, resulting in misjudgment or missed judgment of defects. Therefore, this application proposes the following processing methods: adjusting the regional parameters of the first reference region to increase the regional range of the first reference region, such as increasing the size of the first reference region or adjusting the shape of the first reference region, and / or changing the confidence level of the location to be detected, so that the location to be detected is more easily filtered out in subsequent judgment of abnormal signal locations and connectivity anomalies; or, directly skipping the location to be detected to avoid contaminating the overall detection results due to insufficient data.

[0075] According to the additive manufacturing defect detection method of this application, the signal feature values ​​of the target part at the detection location of each processing layer during the additive manufacturing process are first obtained; then, a first reference region is determined using the detection location as a spatial constraint, the first reference region including at least the detection location; finally, the signal feature values ​​of the first reference region are obtained, and the defect detection result of the target part is determined based on the signal feature values ​​of the first reference region and the signal feature values ​​of the detection location. Thus, by dynamically determining the reference region at the detection location and determining the defect detection result based on the reference region and the signal feature values ​​of the detection location, defect detection no longer relies on fixed physical partitions, but rather dynamically forms a reference region around the detection location, thereby more accurately reflecting the normal signal background of the detection location and improving the stability and accuracy of defect detection.

[0076] Figure 7 This is a structural block diagram of an additive manufacturing defect detection system according to an embodiment of this application, such as... Figure 7 As shown, the additive manufacturing defect detection system according to an embodiment of this application includes: an acquisition module 710, a determination module 720, and a detection module 730, wherein: The acquisition module 710 is used to acquire the signal feature values ​​of the detection positions of each processing layer of the target part during the additive manufacturing process. The determining module 720 is used to determine a first reference region using the position to be detected as a spatial constraint condition, wherein the first reference region includes at least the position to be detected. The detection module 730 is used to acquire the signal feature value of the first reference area and determine the defect detection result of the target part based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0077] According to the additive manufacturing defect detection system of this application, the system first acquires the signal feature values ​​of the locations to be detected at each processing layer of the target part during the additive manufacturing process; then, it determines a first reference region using the locations to be detected as spatial constraints, the first reference region including at least the locations to be detected; finally, it acquires the signal feature values ​​of the first reference region and determines the defect detection result of the target part based on the signal feature values ​​of the first reference region and the locations to be detected. Thus, by dynamically determining the reference region based on the locations to be detected and determining the defect detection result based on the reference region and the signal feature values ​​of the locations to be detected, defect detection no longer relies on fixed physical partitions, but rather dynamically forms a reference region around the locations to be detected, thereby more accurately reflecting the normal signal background of the locations to be detected and improving the stability and accuracy of defect detection.

[0078] It should be noted that the specific implementation of the additive manufacturing defect detection system in this application embodiment is similar to the specific implementation of the additive manufacturing defect detection method in this application embodiment. Please refer to the description in the method section for details, which will not be repeated here.

[0079] In one embodiment, a computer device is provided. Figure 8 This is a structural block diagram of the computer device provided in the embodiments of this application, with reference to... Figure 8 The computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned embodiment of the defect detection method for additive manufacturing. For example, it executes: acquiring signal feature values ​​of the locations to be detected in each processing layer of the target part during the additive manufacturing process; A first reference region is determined using the location to be detected as a spatial constraint, and the first reference region includes at least the location to be detected. The signal feature value of the first reference area is obtained, and the defect detection result of the target part is determined based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0080] This application also provides a computer-readable storage medium storing a computer program. When the processor executes the computer program, it implements the aforementioned defect detection method embodiment for additive manufacturing. For example, it executes: acquiring signal feature values ​​of the locations to be detected in each processing layer of the target part during the additive manufacturing process; A first reference region is determined using the location to be detected as a spatial constraint, and the first reference region includes at least the location to be detected. The signal feature value of the first reference area is obtained, and the defect detection result of the target part is determined based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

[0081] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0082] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0083] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A defect detection method for additive manufacturing, characterized in that, include: Acquire the signal feature values ​​of the detection positions of each processing layer of the target part during the additive manufacturing process; A first reference region is determined using the location to be detected as a spatial constraint, and the first reference region includes at least the location to be detected. The signal feature value of the first reference area is obtained, and the defect detection result of the target part is determined based on the signal feature value of the first reference area and the signal feature value of the position to be detected.

2. The defect detection method for additive manufacturing according to claim 1, characterized in that, The step of acquiring the signal feature value of the first reference area and determining the defect detection result of the target component based on the signal feature value of the first reference area and the signal feature value of the location to be detected includes: Based on the signal feature values ​​of signal detection positions within the first reference region that belong to the same detection group as the position to be detected, the signal feature values ​​of the first reference region are determined. The detection group is determined based on one or more of the following: processing parameters, processing features, and the positional relationship of the signal detection positions. The defect detection result of the target component is determined based on the signal characteristic value of the first reference area and the signal characteristic value of the location to be detected.

3. The defect detection method for additive manufacturing according to claim 1 or 2, characterized in that, The step of determining the defect detection result of the target component based on the signal feature value of the first reference area and the signal feature value of the location to be detected includes: Calculate the deviation between the signal feature value of the first reference region and the signal feature value of the location to be detected; When the deviation value exceeds a preset deviation value threshold, the location to be detected is determined to be a signal abnormality location; Based on the positional relationship of signal anomalies in each processing layer, the defect detection results of the target part are determined.

4. The defect detection method for additive manufacturing according to claim 3, characterized in that, The determination of the defect detection result of the target part based on the positional relationship of the signal anomaly locations in each processing layer includes: Within the same processing layer, signal anomaly locations that meet preset merging conditions are merged into a connectivity anomaly zone; Based on the positional relationship between the connectivity anomaly regions corresponding to different processing layers, the spatial connectivity relationship of the connectivity anomaly regions is determined; When the spatial connectivity relationship meets the preset defect determination conditions, it is determined that the target part has a processing defect.

5. The defect detection method for additive manufacturing according to claim 4, characterized in that, The preset merging conditions include: Within the same processing layer, at least one signal anomaly location belongs to the same connected domain.

6. The defect detection method for additive manufacturing according to claim 4 or 5, characterized in that, The preset merging conditions include: Within the same processing layer, at least one signal anomaly location belongs to the same connected domain and has the same anomaly type.

7. The defect detection method for additive manufacturing according to claim 6, characterized in that, The preset merging conditions include: Within the same processing layer, at least one signal anomaly location belongs to the same connected domain, has the same anomaly type, and is located in the same detection group.

8. The defect detection method for additive manufacturing according to claim 4, characterized in that, The preset defect determination conditions include: In the stacking or accumulation direction of processing layers, the connectivity anomaly areas of N consecutive processing layers, including the current layer, satisfy the preset spatial connectivity conditions, where N represents the preset defect layer number threshold.

9. The defect detection method for additive manufacturing according to claim 4, characterized in that, Before determining the defect detection results of the target component, the method further includes: Calculate the abnormal score of the connected abnormal region; The anomaly score is compared with a preset score threshold to obtain a comparison result, wherein the comparison result is used to determine whether to perform defect detection on the connectivity anomaly region, and the defect detection includes performing the following process: Based on the positional relationship between the connectivity anomaly regions corresponding to different processing layers, the spatial connectivity relationship of the connectivity anomaly regions is determined; When the spatial connectivity relationship meets the preset defect determination conditions, it is determined that the target part has a processing defect.

10. The defect detection method for additive manufacturing according to claim 1, characterized in that, The step of determining the defect detection result of the target component based on the signal feature value of the first reference area and the signal feature value of the location to be detected further includes: Determine the second reference area; Obtain the signal feature values ​​of the second reference region; Based on preset reference value conditions, the signal characteristic value of the first reference region or the signal characteristic value of the second reference region is determined as the reference value; The reference value is compared with the signal feature value of the location to be detected to obtain a comparison result, and the defect detection result of the target part is determined based on the comparison result.

11. The defect detection method for additive manufacturing according to claim 10, characterized in that, The first reference region and the second reference region at least partially overlap.

12. The defect detection method for additive manufacturing according to claim 10, characterized in that, The second reference region is determined based on the first reference region, and / or the second reference region has the same regional center as the first reference region.

13. The defect detection method for additive manufacturing according to claim 10, characterized in that, Each of the second reference regions includes at least one signal detection location, and the acquisition of signal feature values ​​of the second reference region includes: Based on the signal characteristic values ​​of each signal detection location within the second reference area, the signal characteristic values ​​of the second reference area are determined.

14. The defect detection method for additive manufacturing according to claim 10 or 13, characterized in that, The step of obtaining the signal feature values ​​of the second reference region includes: Based on the signal feature values ​​of signal detection locations within the second reference region that belong to the same detection group as the location to be detected, the signal feature values ​​of the second reference region are determined.

15. The defect detection method for additive manufacturing according to claim 13, characterized in that, The signal characteristic value of the first reference region is the average signal characteristic value of each signal detection position within the first reference region, and / or the signal characteristic value of the second reference region is the average signal characteristic value of each signal detection position within the second reference region.

16. The defect detection method for additive manufacturing according to claim 2, characterized in that, Also includes: When the number of signal detection locations within the first reference area that belong to the same detection group as the location to be detected is greater than or equal to a preset threshold, defect detection is performed on the location to be detected.

17. The defect detection method for additive manufacturing according to claim 1, characterized in that, The step of determining the first reference region using the location to be detected as a spatial constraint further includes: When the distance between the location to be detected and the boundary of the processing layer plane is less than a preset distance threshold, the first reference area uses the boundary of the processing layer plane as the interception boundary and retains the part within the interception boundary.

18. The defect detection method for additive manufacturing according to claim 1, characterized in that, Acquire the signal feature values ​​of the target part at the location to be detected in each processing layer during the additive manufacturing process, including: The processing layer is divided into at least one selection area, and the selection area includes at least one sampling point; The signal feature value of the location to be detected is calculated based on the signal feature value of the sampling point in the selected area where the location to be detected is located.

19. The defect detection method for additive manufacturing according to claim 18, characterized in that, The signal characteristic value of the sampling point is calculated based on one of the sampling signals at the sampling point, or it is calculated based on the fusion of at least two sampling signals at the sampling point.

20. The defect detection method for additive manufacturing according to claim 18, characterized in that, The step of calculating the signal feature value of the location to be detected based on the signal feature values ​​of the sampling points in the selected area where the location to be detected is located includes: When the selected area contains a sampling point, the signal feature value of the position to be detected is determined based on the signal feature value of the sampling point. When the selected area contains multiple sampling points, the signal feature values ​​of the multiple sampling points are fused and calculated to obtain the signal feature value of the location to be detected.

21. A defect detection system for additive manufacturing, characterized in that, include: The acquisition module is used to acquire the signal feature values ​​of the detection positions of each processing layer of the target part during the additive manufacturing process; A determining module is configured to determine a first reference region using the location to be detected as a spatial constraint, wherein the first reference region includes at least the location to be detected. The detection module is used to acquire the signal feature values ​​of the first reference area and determine the defect detection result of the target part based on the signal feature values ​​of the first reference area and the signal feature values ​​of the position to be detected.

22. A computer device comprising a processor and a memory, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the defect detection method for additive manufacturing according to any one of claims 1-20.

23. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the defect detection method for additive manufacturing according to any one of claims 1-20.