Intelligent selection method of process parameters for laser shock peening of additively manufactured parts
Optimizing laser shock strengthening process parameters through intelligent selection methods and defect identification models solves the problem of improving microscopic defects in laser additive manufacturing, achieving material performance improvement and precise control of process parameters.
Patent Information
- Application Number
- CN202410987445.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Microscopic defects generated during the laser additive manufacturing process, such as microcracks and microvoids, cannot be effectively improved by conventional laser shock strengthening process parameters, resulting in limited performance improvement in high-stress areas of the material.
Adopting an intelligent selection method, by collecting additive manufacturing process data and process parameters, training defect identification models, predicting defect distribution in real time, and optimizing laser shock strengthening process parameters, using CNN, LSTM and attention mechanism models for defect identification and prediction, construct Three-dimensional defect density field, optimizing laser shock strengthening process parameters to improve material properties.
It achieves precise and efficient process parameter control of additive manufacturing parts, improves the fatigue life, corrosion resistance and crack resistance of materials, provides more intuitive defect distribution information and a more comprehensive and balanced compensation scheme, and has stronger Robustness and adaptability.
Smart Images

Figure CN118520785B
Abstract
Description
Technical Field
[0001] The present application relates to the field of laser processing technology, and in particular to a method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts. Background Art
[0002] In today's manufacturing industry, laser additive manufacturing (LAM) technology has become a revolutionary manufacturing method, especially in the aviation, automotive and medical industries, due to its ability to create complex and customized parts. However, although laser additive manufacturing technology provides extremely high flexibility and innovation possibilities, it also faces many technical challenges in the manufacturing process, especially in the post-processing and performance improvement of parts.
[0003] Laser Shock Peening (LSP) is a surface treatment technology used to improve the mechanical properties of metal materials. Through short-pulse high-energy laser shock, surface compressive stress is generated, thereby enhancing the fatigue life, corrosion resistance and crack resistance of the material. This technology has been widely used in fields such as aircraft engine blades and automotive parts.
[0004] In the process of laser additive manufacturing, it is inevitable that some microscopic defects will be generated, such as microcracks, microholes, etc., and local stress concentration is obvious. Conventional LSP process parameters cannot effectively improve these high stress areas. Therefore, it is necessary to develop a new defect-aware LSP parameter optimization method to predict the defect distribution in real time through online monitoring of the additive process and implement targeted compensation for the LSP process parameters. Summary of the invention
[0005] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of the present application is to propose an intelligent selection method for process parameters of laser shock strengthening of additively manufactured parts, so as to achieve accurate and efficient process parameter control.
[0006] One aspect of the present application provides a method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts, comprising:
[0007] Step S100: collecting process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additively manufactured parts;
[0008] The specific method of collecting the process data and process parameters of additive manufacturing and using the process data and process parameters of additive manufacturing to train a defect recognition model for identifying defects of additively manufactured parts is as follows:
[0009] Step S110: Use a high-speed thermal imager to collect the temperature field image of the molten pool during the additive manufacturing process, and integrate it according to the sampling time step to obtain a sequence of molten pool temperature field images. ,in, , indicating that the resolution of the molten pool temperature field image at the tth moment is H×W, and T is the number of sampling time steps of the entire additive manufacturing process;
[0010] Step S120: Use a high-resolution CCD camera to collect molten pool morphology images to obtain molten pool morphology images, and integrate them to obtain a molten pool morphology image sequence ,in, , indicating that the resolution of the three color channels of the melt pool morphology image at the tth moment is ;
[0011] Step S130: Collect spectral data using a spectrometer to obtain a spectral data sequence ,in , indicating that the spectrum data at time t contains N wavelength sampling points;
[0012] Step S140: Collecting additive manufacturing process parameters, including laser power , Scanning speed and powder feeding rate ;
[0013] Step S150: for the additive manufacturing part corresponding to the process data and the additive manufacturing process parameters, perform offline detection on the additive manufacturing part at each sampling time step, and mark defects on the surface and inside of the additive manufacturing part, wherein the defect marking information includes: a defect label corresponding to each sampling time step, and the defect label includes a defect position, a defect type, and a defect size;
[0014] Step S160: The defect annotation information and the process data of the corresponding sampling time step and the additive manufacturing process parameters constitute a training sample, a defect recognition model is constructed, and the defect recognition model is trained using the training sample;
[0015] The specific method of constructing the defect recognition model and training the defect recognition model using training samples is as follows:
[0016] Step S161: constructing a defect recognition model, wherein the defect recognition model includes: a CNN model, an LSTM model and an attention mechanism module;
[0017] Step S162: input the training samples into the constructed defect recognition model, use the CNN model to extract features from the melt pool temperature field image and the melt pool morphology image to obtain image features, use the fully connected layer to extract features from the spectral data to obtain spectral features, and perform feature fusion on the image features, spectral features and normalized additive manufacturing process parameters to obtain feature representation;
[0018] Step S163: input the feature representation into the LSTM model, extract the timing information, input the output of the LSTM model into the attention mechanism module, and focus on the most important sampling time step for defect identification;
[0019] Step S164: Mapping the features focused by the attention mechanism module to defect labels through a fully connected layer;
[0020] Step S165: For the defect label, a softmax activation function is used to classify the defect type, and a linear activation function is used to predict the defect size and defect position;
[0021] Step S166: Design a loss function, set accurate prediction of the real defect position, defect type and defect size as the prediction target, and set minimization of the loss function between the real defect position, defect type, defect size and the predicted defect position, defect type and defect size as the prediction target. When the loss function reaches convergence, the training is completed.
[0022] The loss function includes position regression loss, size regression loss and classification loss, and the calculation formula is: ,in, , , They represent the weight coefficients of position regression loss, size regression loss and classification loss respectively, n represents the total number of training samples, is the coordinate of the actual defect location, are the coordinates of the predicted defect location, is the actual defect size, is the predicted defect size, U is the number of defect types, represents the true defect type of the i-th training sample, represents the predicted probability of each defect type, A logarithmic function representing the probability of the predicted defect type;
[0023] Step S200: collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, mapping the defects to a three-dimensional model of the additively manufactured part, and obtaining a three-dimensional defect density field;
[0024] The specific method of collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, and mapping defects to a three-dimensional model of an additively manufactured part to obtain a three-dimensional defect density field is as follows:
[0025] Step S210: In the additive manufacturing process, real-time process data and real-time additive manufacturing process parameters are collected, the real-time process data includes: real-time molten pool temperature field image, real-time molten pool morphology image and real-time spectrum data, and the real-time additive manufacturing process parameters include: real-time laser power, real-time scanning speed and real-time powder feeding rate;
[0026] Step S220: Input the real-time process data and real-time additive manufacturing process parameters into the defect recognition model to predict the defect location corresponding to the current sampling time step , defect type lx and defect size ;
[0027] Step S230: Based on the predicted defect location, defect type and defect size, the defect is mapped to the three-dimensional model of the additively manufactured part to obtain the coordinates of the defect in the three-dimensional space. , construct a three-dimensional defect density field;
[0028] The specific method for constructing the three-dimensional defect density field is:
[0029] Step S231: For the position to be interpolated , take the position as the sphere center and all defect positions in the spherical area with r as the radius as the neighborhood points of the position to be interpolated, and calculate the Euclidean distance from P to the qith defect position , , Qi is the total number of defect locations;
[0030] Step S232: Calculate the influence weight of each defect position on the interpolation position P according to the Euclidean distance , the calculation formula is: ,in, represents the distance weighted index, Represents the Euclidean distance from each defect position to the position to be interpolated P;
[0031] Step S233: performing weighted averaging of the defect density values of all defect positions in the neighborhood and the corresponding influence weights to obtain an estimated defect density value of the position to be interpolated P;
[0032] The calculation formula of the defect density value is: ,in, is the number of defect locations in the neighborhood of the qi-th defect location, Π is the pi, and r is the radius of the neighborhood;
[0033] The defect density estimate is calculated as follows: ;
[0034] Step S234: Estimating the defect density of all positions to be interpolated in the three-dimensional model of the additively manufactured part to obtain a three-dimensional defect density field , Represents all points to be interpolated in the three-dimensional model;
[0035] Step S300: extracting the evaluation index of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization target, taking the laser shock peening process window as the constraint condition, constructing a target optimization model and solving the optimal solution set;
[0036] The specific method of extracting the evaluation index of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization targets, taking the laser shock peening process window as the constraint condition, constructing the target optimization model and solving the optimal solution set is as follows:
[0037] Step S310: Extracting evaluation indicators of the three-dimensional defect density field, the evaluation indicators include: defect size index , defect density index d, defect distribution gradient index and defect concentration index ;
[0038] The defect size index The calculation formula is: ,in, represents the sum of all defect sizes identified in the 3D model, Represents the number of all defects identified in the 3D model;
[0039] The calculation formula of the defect density index d is: ,in, Represents the total volume of the entire additively manufactured part;
[0040] The calculation formula of the defect distribution gradient index is: ,in, Represents the three-dimensional defect density field The gradient vector of Represents the modulus of the gradient vector;
[0041] The calculation formula of the defect concentration index is: , where A represents the total projected area of the three-dimensional model of the additively manufactured part in space, ni represents the nith defect in the three-dimensional model, , nj represents the njth defect in the three-dimensional model, , represents the Euclidean distance between the ni-th and nj-th defect locations, is the indicative function, when When established, Equal to 1, otherwise is equal to 0;
[0042] Step S320: constructing a comprehensive defect evaluation function using the evaluation index of the three-dimensional defect density field;
[0043] The calculation formula of the comprehensive defect evaluation function is: ,in, A 3D model representing the additively manufactured part, Represents the position to be interpolated in the 3D model The comprehensive strength of defects;
[0044] The position to be interpolated The comprehensive strength of defects The function expression is: ,in, , , , They are the weight coefficients of defect size index, defect density index, defect distribution gradient index and defect aggregation index respectively;
[0045] Step S330: Constructing a decision variable as a laser shock peening scanning path and pulse energy distribution , where a=1,2,..., , represents the number of laser shock peening scanning points, b=1,2,..., , is the pulse number of a single laser shock peening scanning point, represents the b-th pulse energy at the a-th laser shock peening scanning point, represents the coordinates of the ath laser shock peening scanning point;
[0046] Step S340: Obtain laser shock peening process parameters, including the number of laser shock peening scanning points and the total pulse energy, to minimize the comprehensive defect evaluation function , Minimize the number of laser shock peening scanning points , minimize the total pulse energy To optimize the goal, represents the pulse energy;
[0047] Step S350: Taking the laser shock peening process window constraint, coverage constraint and energy gradient constraint as constraint conditions, the laser shock peening process window constraint includes: pulse energy window constraint , Pulse number window constraint and laser shock peening scanning point spacing window constraints The coverage constraint is to ensure that the laser shock peening scanning path covers all defects, and the energy gradient constraint is that the pulse energy difference between adjacent laser shock peening scanning points is less than or equal to the pulse energy difference threshold. ;
[0048] Step S360: using a non-dominated sorting genetic algorithm to solve the target optimization model, and obtaining an optimal solution set of laser shock peening process parameters, wherein the optimal solution set of laser shock peening process parameters includes the number of laser shock peening scanning points and the total pulse energy, the laser shock peening scanning path and the pulse energy distribution;
[0049] Step S400: defining a laser shock peening evaluation index, calculating a comprehensive evaluation function, outputting a solution with the highest comprehensive evaluation function value from the optimal solution set as an optimal laser shock peening process parameter, and using a laser shock peening device to perform adaptive laser shock peening compensation on defects of the additively manufactured part;
[0050] The specific method of defining the laser shock peening evaluation index, calculating the comprehensive evaluation function, outputting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and using the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of the additively manufactured parts is as follows:
[0051] Step S410: defining laser shock peening evaluation indicators, including: residual compressive stress evaluation indicators , Defect closure evaluation index and processing cost evaluation indicators , define the weight coefficients of residual compressive stress evaluation index, defect closure evaluation index and processing cost evaluation index , and , calculate the comprehensive evaluation function;
[0052] The calculation formula of the comprehensive evaluation function is: ;
[0053] Step S420: Filtering out the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, wherein the optimal laser shock peening process parameters include the optimal number of laser shock peening scanning points and the optimal total pulse energy, the optimal laser shock peening scanning path and the optimal pulse energy distribution;
[0054] Step S430: Discretize the optimal laser shock peening scanning path into M processing units, each unit corresponds to a pulse action point, and construct an M×1 pulse energy distribution matrix , the matrix elements represents the pulse energy of the mth processing unit, m∈[1,M], and the discrete pulse energy distribution matrix is continuous to obtain the energy distribution surface;
[0055] Step S440: Start the laser shock peening equipment, and adjust the motion trajectory and pulse output of the laser shock peening equipment according to the optimal laser shock peening scanning path and energy distribution surface.
[0056] One aspect of the present application provides a process parameter intelligent selection system for laser shock strengthening of additively manufactured parts, comprising:
[0057] A data acquisition and model training module, used for acquiring process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additive manufacturing parts;
[0058] A three-dimensional defect density field construction module is used to collect real-time process data and real-time additive manufacturing process parameters, predict defects using a defect recognition model, and map defects to a three-dimensional model of the additive manufacturing part to obtain a three-dimensional defect density field;
[0059] Laser shock optimal solution search module, used to extract the evaluation index of the three-dimensional defect density field, construct a comprehensive defect evaluation function, take the comprehensive defect evaluation function and laser shock strengthening process parameters as optimization targets, take the laser shock strengthening process window as constraint conditions, build a target optimization model and solve the optimal solution set;
[0060] The laser shock peening compensation module is used to define the laser shock peening evaluation index, calculate the comprehensive evaluation function, output the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and use the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of additively manufactured parts.
[0061] One aspect of the present application provides an electronic 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 program, the steps in the method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts are implemented.
[0062] One aspect of the present application provides a readable storage medium storing a computer program, wherein the computer program is suitable for loading into a processor to execute steps in a method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts.
[0063] Compared with the prior art, the intelligent selection method of process parameters for laser shock strengthening of additively manufactured parts proposed in this application has the following advantages:
[0064] Traditional methods find it difficult to model the complex defect evolution process of space and time. This application constructs a defect recognition model that integrates CNN, LSTM and attention mechanism, which can combine spatial features and temporal features for defect prediction and focus on critical moments, thus achieving end-to-end defect recognition.
[0065] Traditional offline detection is often lagging and cannot guide real-time process optimization. However, this application collects process data and process parameters online in real time, uses trained models for timely defect prediction and feedback, realizes closed-loop defect detection, maps the identified defect information to the three-dimensional model space, and constructs a three-dimensional defect density field. Compared with traditional two-dimensional defect detection results, the three-dimensional defect density field more intuitively shows the spatial distribution characteristics of defects.
[0066] This application constructs a multi-objective optimization model with defect field evaluation and laser shock process parameters as optimization objectives, and strikes a balance between minimizing defects and minimizing process costs. Compared with single-objective optimization, multi-objective optimization can obtain a more comprehensive and balanced compensation solution.
[0067] This application defines comprehensive evaluation indicators of laser shock strengthening from multiple angles such as residual stress, defect closure, and processing cost, and quantitatively evaluates the compensation effect. The optimal combination of laser shock process parameters is obtained based on the optimal solution set screening, and the best balance is achieved among multiple objectives. It has stronger robustness and adaptability, and converts the optimal scanning path and energy distribution matrix into a continuous energy distribution surface, achieving seamless connection of process parameters, which can be directly used to guide the movement of laser shock equipment and energy output modulation, thereby realizing adaptive compensation. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 A method flow chart of the method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts provided in this application;
[0069] Figure 2 Functional module diagram of the intelligent selection system of process parameters for laser shock strengthening of additively manufactured parts provided in this application;
[0070] Figure 3 A schematic diagram of the structure of an electronic device provided in this application;
[0071] Figure 4 It is a schematic diagram of the structure of a readable storage medium provided by this application. DETAILED DESCRIPTION
[0072] In order to better understand the present application, various aspects of the present application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present application and do not limit the scope of the present application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0073] In the accompanying drawings, the size, dimensions and shapes of the elements have been slightly adjusted for ease of illustration. The drawings are for illustration only and are not strictly drawn to scale. As used herein, the terms "substantially", "approximately" and similar terms are used as terms of approximation, not as terms of degree, and are intended to illustrate the inherent deviations in measurements or calculations that will be recognized by those of ordinary skill in the art. In addition, in this application, the order in which the steps are described does not necessarily represent the order in which these processes occur in actual operation, unless otherwise specified or can be derived from the context.
[0074] It should also be understood that expressions such as "including", "comprising", "having", "containing" and / or "comprising" are open rather than closed expressions in this specification, which indicate the presence of the stated features, elements and / or components, but do not exclude the presence of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features rather than just the individual elements in the list. In addition, when describing embodiments of the present application, "may" is used to mean "one or more embodiments of the present application". And, the term "exemplary" is intended to refer to an example or illustration.
[0075] Unless otherwise defined, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which this application belongs. It should also be understood that unless there is a clear explanation in this application, words defined in commonly used dictionaries should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.
[0076] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0077] Example 1
[0078] like Figure 1 As shown, the method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts provided in this application includes:
[0079] Step S100: collecting process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additively manufactured parts;
[0080] The process data include but are not limited to: molten pool temperature field image, molten pool morphology image and spectral data;
[0081] The additive manufacturing process parameters include: laser power, scanning speed and powder feeding rate;
[0082] The specific method of collecting the process data and process parameters of additive manufacturing and using the process data and process parameters of additive manufacturing to train a defect recognition model for identifying defects of additively manufactured parts is as follows:
[0083] Step S110: Use a high-speed thermal imager to collect the temperature field image of the molten pool during the additive manufacturing process, and integrate it according to the sampling time step to obtain a sequence of molten pool temperature field images. ,in, , indicating that the resolution of the molten pool temperature field image at the tth moment is H×W, and T is the number of sampling time steps of the entire additive manufacturing process;
[0084] Step S120: Use a high-resolution CCD camera to collect molten pool morphology images to obtain molten pool morphology images, and integrate them to obtain a molten pool morphology image sequence ,in, , indicating that the resolution of the three color channels of the melt pool morphology image at the tth moment is ;
[0085] Step S130: Collect spectral data using a spectrometer to obtain a spectral data sequence ,in , indicating that the spectrum data at time t contains N wavelength sampling points;
[0086] Step S140: Collecting additive manufacturing process parameters, including laser power , Scanning speed and powder feeding rate ;
[0087] Step S150: for the additive manufacturing part corresponding to the process data and the additive manufacturing process parameters, perform offline detection on the additive manufacturing part at each sampling time step, and mark defects on the surface and inside of the additive manufacturing part, wherein the defect marking information includes: a defect label corresponding to each sampling time step, and the defect label includes a defect position, a defect type, and a defect size;
[0088] Step S160: The defect annotation information and the process data of the corresponding sampling time step and the additive manufacturing process parameters constitute a training sample, a defect recognition model is constructed, and the defect recognition model is trained using the training sample;
[0089] The specific method of constructing the defect recognition model and training the defect recognition model using training samples is as follows:
[0090] Step S161: constructing a defect recognition model, wherein the defect recognition model includes: a CNN model, an LSTM model and an attention mechanism module;
[0091] The CNN model is a multi-scale convolutional neural network model, which is used to extract multi-level features of the molten pool temperature field image and the molten pool morphology image;
[0092] The LSTM model is a long short-term memory network, which is used to extract the temporal information of data;
[0093] The attention mechanism module is used to adaptively focus on the time step that is most important for defect identification;
[0094] Step S162: input the training samples into the constructed defect recognition model, use the CNN model to extract features from the melt pool temperature field image and the melt pool morphology image to obtain image features, use the fully connected layer to extract features from the spectral data to obtain spectral features, and perform feature fusion on the image features, spectral features and normalized additive manufacturing process parameters to obtain feature representation;
[0095] Step S163: input the feature representation into the LSTM model, extract the timing information, input the output of the LSTM model into the attention mechanism module, and focus on the most important sampling time step for defect identification;
[0096] Step S164: Mapping the features focused by the attention mechanism module to defect labels through a fully connected layer;
[0097] Step S165: For the defect label, a softmax activation function is used to classify the defect type, and a linear activation function is used to predict the defect size and defect position;
[0098] Step S166: Design a loss function, set accurate prediction of the real defect position, defect type and defect size as the prediction target, and set minimization of the loss function between the real defect position, defect type, defect size and the predicted defect position, defect type and defect size as the prediction target. When the loss function reaches convergence, the training is completed.
[0099] The loss function includes position regression loss, size regression loss and classification loss, and the calculation formula is: ,in, , , They represent the weight coefficients of position regression loss, size regression loss and classification loss respectively, n represents the total number of training samples, is the coordinate of the actual defect location, are the coordinates of the predicted defect location, is the actual defect size, is the predicted defect size, U is the number of defect types, represents the true defect type of the i-th training sample, represents the predicted probability of each defect type, A logarithmic function representing the probability of the predicted defect type;
[0100] The weight coefficients of the position regression loss, size regression loss and classification loss are set according to the actual needs of those skilled in the art;
[0101] The above steps build a powerful defect recognition model that can simultaneously utilize process data, process parameters and defect annotation information to automatically learn the complex patterns and laws of defect generation, providing data and model foundation for subsequent steps.
[0102] Step S200: collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, mapping the defects to a three-dimensional model of the additively manufactured part, and obtaining a three-dimensional defect density field;
[0103] The three-dimensional defect density field is used to represent the probability density of defects occurring at any position in the three-dimensional space. The larger the probability density value, the higher the possibility of defects occurring at the position.
[0104] The specific method of collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, and mapping defects to a three-dimensional model of an additively manufactured part to obtain a three-dimensional defect density field is as follows:
[0105] Step S210: In the additive manufacturing process, real-time process data and real-time additive manufacturing process parameters are collected, the real-time process data includes: real-time molten pool temperature field image, real-time molten pool morphology image and real-time spectrum data, and the real-time additive manufacturing process parameters include: real-time laser power, real-time scanning speed and real-time powder feeding rate;
[0106] Step S220: Input the real-time process data and real-time additive manufacturing process parameters into the defect recognition model to predict the defect location corresponding to the current sampling time step , defect type lx and defect size ;
[0107] Step S230: Based on the predicted defect location, defect type and defect size, the defect is mapped to the three-dimensional model of the additively manufactured part to obtain the coordinates of the defect in the three-dimensional space. , construct a three-dimensional defect density field;
[0108] The specific method for constructing the three-dimensional defect density field is:
[0109] Step S231: For the position to be interpolated , take the position as the sphere center and all defect positions in the spherical area with r as the radius as the neighborhood points of the position to be interpolated, and calculate the Euclidean distance from P to the qith defect position , , Qi is the total number of defect locations;
[0110] The positions to be interpolated refer to all positions in the three-dimensional model of the additively manufactured part except the known defect positions. The purpose of interpolating these positions is to calculate the estimated values of their defect density, thereby obtaining a complete three-dimensional defect density field;
[0111] Step S232: Calculate the influence weight of each defect position on the interpolation position P according to the Euclidean distance , the calculation formula is: ,in, represents the distance weighted index, Represents the Euclidean distance from each defect position to the position to be interpolated P;
[0112] The larger the distance weighting index is, the greater the influence of the Euclidean distance on the weight is, and the closer the defect location is, the higher the weight is; preferably, the distance weighting index is 1 or 2;
[0113] Step S233: performing weighted averaging of the defect density values of all defect positions in the neighborhood and the corresponding influence weights to obtain an estimated defect density value of the position to be interpolated P;
[0114] The calculation formula of the defect density value is: ,in, is the number of defect locations in the neighborhood of the qi-th defect location, Π is the pi, and r is the radius of the neighborhood;
[0115] The defect density value refers to the distribution of defects in a certain neighborhood near the defect location;
[0116] The defect density estimate is calculated as follows: ;
[0117] The defect density estimation value refers to the possibility or severity of defects existing at the position to be interpolated;
[0118] Step S234: Estimating the defect density of all positions to be interpolated in the three-dimensional model of the additively manufactured part to obtain a three-dimensional defect density field , Represents all points to be interpolated in the three-dimensional model;
[0119] The three-dimensional defect density field refers to a scalar field defined in the three-dimensional model, which maps each position to be interpolated of the additively manufactured part to a defect density estimate;
[0120] Step S300: extracting the evaluation index of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization target, taking the laser shock peening process window as the constraint condition, constructing a target optimization model and solving the optimal solution set;
[0121] The specific method of extracting the evaluation index of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization targets, taking the laser shock peening process window as the constraint condition, constructing the target optimization model and solving the optimal solution set is as follows:
[0122] Step S310: Extracting evaluation indicators of the three-dimensional defect density field, the evaluation indicators include: defect size index , defect density index d, defect distribution gradient index and defect concentration index ;
[0123] The defect size index The calculation formula is: ,in, represents the sum of all defect sizes identified in the 3D model, Represents the number of all defects identified in the 3D model;
[0124] The calculation formula of the defect density index d is: ,in, Represents the total volume of the entire additively manufactured part;
[0125] The calculation formula of the defect distribution gradient index is: ,in, Represents the three-dimensional defect density field The gradient vector of Represents the modulus of the gradient vector;
[0126] The calculation formula of the defect concentration index is: , where A represents the total projected area of the three-dimensional model of the additively manufactured part in space, ni represents the nith defect in the three-dimensional model, , nj represents the njth defect in the three-dimensional model, , represents the Euclidean distance between the ni-th and nj-th defect locations, is the indicative function, when When established, Equal to 1, otherwise is equal to 0;
[0127] The defect size index refers to the average size of the defects;
[0128] The defect density index refers to the overall defect density of the entire additive manufacturing part, which represents the average number of defects contained per unit volume in the entire additive manufacturing part;
[0129] The defect distribution gradient index refers to the gradient of the defect density in the three-dimensional model;
[0130] The defect aggregation index refers to the degree of aggregation of defects in space;
[0131] Step S320: constructing a comprehensive defect evaluation function using the evaluation index of the three-dimensional defect density field;
[0132] The calculation formula of the comprehensive defect evaluation function is: ,in, A 3D model representing the additively manufactured part, Represents the position to be interpolated in the 3D model The comprehensive strength of defects;
[0133] The position to be interpolated The comprehensive strength of defects The function expression is: ,in, , , , They are the weight coefficients of defect size index, defect density index, defect distribution gradient index and defect aggregation index respectively;
[0134] The weight coefficients of the defect size index, defect density index, defect distribution gradient index and defect aggregation index are set according to the actual needs of those skilled in the art;
[0135] Step S330: Constructing a decision variable as a laser shock peening scanning path and pulse energy distribution , where a=1,2,..., , represents the number of laser shock peening scanning points, b=1,2,..., , is the pulse number of a single laser shock peening scanning point, represents the b-th pulse energy at the a-th laser shock peening scanning point, represents the coordinates of the ath laser shock peening scanning point;
[0136] Step S340: Obtain laser shock peening process parameters, including the number of laser shock peening scanning points and the total pulse energy, to minimize the comprehensive defect evaluation function , Minimize the number of laser shock peening scanning points , minimize the total pulse energy To optimize the goal, represents the pulse energy;
[0137] Step S350: Taking the laser shock peening process window constraint, coverage constraint and energy gradient constraint as constraint conditions, the laser shock peening process window constraint includes: pulse energy window constraint , Pulse number window constraint and laser shock peening scanning point spacing window constraints The coverage constraint is to ensure that the laser shock peening scanning path covers all defects, and the energy gradient constraint is that the pulse energy difference between adjacent laser shock peening scanning points is less than or equal to the pulse energy difference threshold. ;
[0138] Step S360: using a non-dominated sorting genetic algorithm to solve the target optimization model, and obtaining an optimal solution set of laser shock peening process parameters, wherein the optimal solution set of laser shock peening process parameters includes the number of laser shock peening scanning points and the total pulse energy, the laser shock peening scanning path and the pulse energy distribution;
[0139] The optimal solution set is a set of laser shock peening process parameters that meet the optimization objectives and constraints and are searched by a non-dominated sorting genetic algorithm according to the optimization objectives and constraints;
[0140] Step S400: defining a laser shock peening evaluation index, calculating a comprehensive evaluation function, outputting a solution with the highest comprehensive evaluation function value from the optimal solution set as an optimal laser shock peening process parameter, and using a laser shock peening device to perform adaptive laser shock peening compensation on defects of the additively manufactured part;
[0141] The specific method of defining the laser shock peening evaluation index, calculating the comprehensive evaluation function, outputting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and using the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of the additively manufactured parts is as follows:
[0142] Step S410: defining laser shock peening evaluation indicators, including: residual compressive stress evaluation indicators , Defect closure evaluation index and processing cost evaluation indicators , define the weight coefficients of residual compressive stress evaluation index, defect closure evaluation index and processing cost evaluation index , and , calculate the comprehensive evaluation function;
[0143] The weight coefficients of the residual compressive stress evaluation index, the defect closure evaluation index and the processing cost evaluation index are set according to the actual needs of those skilled in the art;
[0144] The calculation formula of the comprehensive evaluation function is: ;
[0145] The comprehensive evaluation function is a comprehensive function used to calculate all evaluation indicators related to laser shock peening;
[0146] Step S420: Filtering out the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, wherein the optimal laser shock peening process parameters include the optimal number of laser shock peening scanning points and the optimal total pulse energy, the optimal laser shock peening scanning path and the optimal pulse energy distribution;
[0147] Step S430: Discretize the optimal laser shock peening scanning path into M processing units, each unit corresponds to a pulse action point, and construct an M×1 pulse energy distribution matrix , the matrix elements represents the pulse energy of the mth processing unit, m∈[1,M], and the discrete pulse energy distribution matrix is continuous to obtain the energy distribution surface;
[0148] Step S440: starting the laser shock peening equipment, and adjusting the motion trajectory and pulse output of the laser shock peening equipment according to the optimal laser shock peening scanning path and energy distribution surface;
[0149] The above steps integrate the technical means of multi-objective evaluation and adaptive optimization to obtain the optimal scanning path and energy distribution that takes into account both the laser shock strengthening effect and process economy.
[0150] Example 2
[0151] like Figure 2 As shown, the process parameter intelligent selection system for laser shock strengthening of additively manufactured parts provided by the present application includes:
[0152] A data acquisition and model training module, used for acquiring process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additive manufacturing parts;
[0153] A three-dimensional defect density field construction module is used to collect real-time process data and real-time additive manufacturing process parameters, predict defects using a defect recognition model, and map defects to a three-dimensional model of the additive manufacturing part to obtain a three-dimensional defect density field;
[0154] Laser shock optimal solution search module, used to extract the evaluation index of the three-dimensional defect density field, construct a comprehensive defect evaluation function, take the comprehensive defect evaluation function and laser shock strengthening process parameters as optimization targets, take the laser shock strengthening process window as constraint conditions, build a target optimization model and solve the optimal solution set;
[0155] The laser shock peening compensation module is used to define the laser shock peening evaluation index, calculate the comprehensive evaluation function, output the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and use the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of additively manufactured parts.
[0156] Example 3
[0157] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, according to another aspect of the present application, an electronic device is also provided. The electronic device may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are run by one or more processors, the process parameter intelligent selection method for laser shock strengthening of additively manufactured parts as described above may be executed.
[0158] The method or system according to the embodiment of the present application can also be Figure 3 The electronic device architecture shown in FIG. Figure 3As shown, the electronic device may include a bus, one or more CPUs, a read-only memory (ROM), a random access memory (RAM), a communication port connected to a network, an input / output component, a hard disk, etc. A storage device in the electronic device, such as a ROM or a hard disk, may store the method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts provided in the present application. The intelligent selection method of process parameters for laser shock peening of additively manufactured parts may, for example, include: collecting process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects in additively manufactured parts; collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, and mapping defects to a three-dimensional model of the additively manufactured part to obtain a three-dimensional defect density field; extracting evaluation indicators of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, using the comprehensive defect evaluation function and laser shock peening process parameters as optimization targets, and using the laser shock peening process window as a constraint condition, to construct a target optimization model and solve the optimal solution set; defining laser shock peening evaluation indicators, calculating the comprehensive evaluation function, and outputting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, and using the laser shock peening equipment to perform adaptive laser shock peening compensation for defects in additively manufactured parts. Furthermore, the electronic device may also include a user interface. Of course, Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.
[0159] Example 4
[0160] Figure 4 Schematic diagram of a readable storage medium structure provided by an embodiment of the present application. Figure 4 As shown, it is a readable storage medium according to an embodiment of the present application. Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the intelligent selection method of process parameters for laser shock strengthening of additively manufactured parts according to the embodiment of the present application described with reference to the above figures can be executed. The storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache). Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0161] In addition, according to the implementation mode of the present application, the process described in the above reference flow chart can be implemented as a computer software program. For example, the present application provides a non-temporary machine-readable storage medium, the non-temporary machine-readable storage medium stores machine-readable instructions, the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application, for example: collecting process data and additive manufacturing process parameters of additive manufacturing, using process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additively manufactured parts; collecting real-time process data and real-time additive manufacturing process parameters, using the defect recognition model to predict defects, mapping defects to the three-dimensional model of the additively manufactured parts, and obtaining a three-dimensional defect density field; extracting evaluation indicators of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and laser shock peening process parameters as optimization targets, taking the laser shock peening process window as a constraint condition, constructing a target optimization model and solving the optimal solution set; defining laser shock peening evaluation indicators, calculating the comprehensive evaluation function, outputting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, and using the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of the additively manufactured parts. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are performed.
[0162] The methods, apparatuses, and devices of the present application may be implemented in many ways. For example, the methods, apparatuses, and devices of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers recording media storing programs for executing the method according to the present application.
[0163] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.
[0164] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent selection method of process parameters for laser shock peening of additively manufactured parts, characterized in that: include: Collecting process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additively manufactured parts; Collect real-time process data and real-time additive manufacturing process parameters, use defect recognition models to predict defects, map defects to the three-dimensional model of the additive manufacturing part, and obtain a three-dimensional defect density field; The evaluation index of the three-dimensional defect density field is extracted, and a comprehensive defect evaluation function is constructed. Taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization targets, and the laser shock peening process window as the constraint condition, a target optimization model is constructed and the optimal solution set is solved; Define the laser shock peening evaluation index, calculate the comprehensive evaluation function, output the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, and use the laser shock peening equipment to perform adaptive laser shock peening compensation for the defects of the additively manufactured parts; The specific method of extracting the evaluation index of the three-dimensional defect density field, constructing a comprehensive defect evaluation function, taking the comprehensive defect evaluation function and the laser shock peening process parameters as the optimization targets, taking the laser shock peening process window as the constraint condition, constructing the target optimization model and solving the optimal solution set is as follows: Extract the evaluation index of the three-dimensional defect density field, the evaluation index includes: defect size index , defect density index d, defect distribution gradient index and defect concentration index ; The defect size index The calculation formula is: ,in, represents the sum of all defect sizes identified in the 3D model, Represents the number of all defects identified in the 3D model; The calculation formula of the defect density index d is: ,in, Represents the total volume of the entire additively manufactured part; The calculation formula of the defect distribution gradient index is: ,in, Represents the three-dimensional defect density field The gradient vector of Represents the modulus of the gradient vector; The calculation formula of the defect concentration index is: , where A represents the total projected area of the three-dimensional model of the additively manufactured part in space, ni represents the nith defect in the three-dimensional model, , nj represents the njth defect in the three-dimensional model, , represents the Euclidean distance between the ni-th and nj-th defect locations, is the indicative function, when When established, is equal to 1, otherwise is equal to 0; A comprehensive defect assessment function is constructed using the evaluation index of the three-dimensional defect density field; The calculation formula of the comprehensive defect evaluation function is: ,in, A 3D model representing the additively manufactured part, Represents the position to be interpolated in the 3D model The comprehensive strength of defects; The position to be interpolated The comprehensive strength of defects The function expression is: ,in, , , , They are the weight coefficients of defect size index, defect density index, defect distribution gradient index and defect aggregation index respectively; Constructing decision variables for laser shock peening scanning path and pulse energy distribution , where a=1,2,..., , represents the number of laser shock peening scanning points, b=1,2,..., , is the pulse number of a single laser shock peening scanning point, represents the b-th pulse energy at the a-th laser shock peening scanning point, represents the coordinates of the ath laser shock peening scanning point; Obtain laser shock peening process parameters, including the number of laser shock peening scanning points and total pulse energy, to minimize the comprehensive defect evaluation function , Minimize the number of laser shock peening scanning points , minimize the total pulse energy To optimize the goal, represents the pulse energy; The laser shock peening process window constraint, coverage constraint and energy gradient constraint are used as constraint conditions. The laser shock peening process window constraint includes: pulse energy window constraint , Pulse number window constraint and laser shock peening scanning point spacing window constraints The coverage constraint is to ensure that the laser shock peening scanning path covers all defects, and the energy gradient constraint is that the pulse energy difference between adjacent laser shock peening scanning points is less than or equal to the pulse energy difference threshold. ; A non-dominated sorting genetic algorithm is used to solve the target optimization model to obtain an optimal solution set of laser shock peening process parameters, wherein the optimal solution set of laser shock peening process parameters includes the number of laser shock peening scanning points and the total pulse energy, the laser shock peening scanning path and the pulse energy distribution; The specific method of defining the laser shock peening evaluation index, calculating the comprehensive evaluation function, outputting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and using the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of the additively manufactured parts is as follows: Define the evaluation index of laser shock strengthening, including: residual compressive stress evaluation index , Defect closure evaluation index and processing cost evaluation indicators , define the weight coefficients of residual compressive stress evaluation index, defect closure evaluation index and processing cost evaluation index , and , calculate the comprehensive evaluation function; The calculation formula of the comprehensive evaluation function is: ; Selecting the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameters, wherein the optimal laser shock peening process parameters include the optimal number of laser shock peening scanning points and the optimal total pulse energy, the optimal laser shock peening scanning path and the optimal pulse energy distribution; The optimal laser shock peening scanning path is discretized into M processing units, each unit corresponds to a pulse action point, and an M×1 pulse energy distribution matrix is constructed. , the matrix elements represents the pulse energy of the mth processing unit, m∈[1,M], and the discrete pulse energy distribution matrix is continuous to obtain the energy distribution surface; Start the laser shock peening equipment, and adjust the motion trajectory and pulse output of the laser shock peening equipment according to the optimal laser shock peening scanning path and energy distribution surface.
2. The method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts according to claim 1, characterized in that: The specific method of collecting the process data and process parameters of additive manufacturing and using the process data and process parameters of additive manufacturing to train a defect recognition model for identifying defects of additively manufactured parts is as follows: A high-speed thermal imager is used to collect the temperature field image of the molten pool during the additive manufacturing process, and the molten pool temperature field image sequence is obtained by integrating according to the sampling time step. ,in, , indicating that the resolution of the molten pool temperature field image at the tth moment is H×W, and T is the number of sampling time steps of the entire additive manufacturing process; Use a high-resolution CCD camera to collect molten pool morphology images, obtain molten pool morphology images, and integrate them to obtain a molten pool morphology image sequence ,in, , indicating that the resolution of the three color channels of the melt pool morphology image at the tth moment is ; Use a spectrometer to collect spectral data and obtain a spectral data sequence ,in , indicating that the spectrum data at time t contains N wavelength sampling points; Capture additive manufacturing process parameters, including laser power , Scanning speed and powder feeding rate ; For the additive manufacturing parts corresponding to the process data and the additive manufacturing process parameters, offline detection is performed at each sampling time step, and defects are marked on the surface and inside of the additive manufacturing parts, wherein the defect marking information includes: a defect label corresponding to each sampling time step, and the defect label includes a defect position, a defect type, and a defect size; The defect annotation information, process data of the corresponding sampling time step and additive manufacturing process parameters constitute training samples, a defect recognition model is constructed, and the defect recognition model is trained using the training samples.
3. The method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts according to claim 2, characterized in that: The specific method of constructing the defect recognition model and training the defect recognition model using training samples is as follows: Constructing a defect recognition model, wherein the defect recognition model includes: a CNN model, an LSTM model and an attention mechanism module; The training samples are input into the constructed defect recognition model, and the CNN model is used to extract the features of the melt pool temperature field image and the melt pool morphology image to obtain image features. The fully connected layer is used to extract the features of the spectral data to obtain spectral features. The image features, spectral features and normalized additive manufacturing process parameters are fused to obtain feature representation. Input the feature representation into the LSTM model to extract the timing information, and input the output of the LSTM model into the attention mechanism module to focus on the most important sampling time step for defect identification; The features focused by the attention mechanism module are mapped to defect labels through a fully connected layer; For defect labels, the softmax activation function is used to classify the defect type, and the linear activation function is used to predict the defect size and defect location; Design a loss function, set the accurate prediction of the real defect location, defect type and defect size as the prediction target, and set the minimization of the loss function between the real defect location, defect type, defect size and the predicted defect location, defect type and defect size as the prediction target. When the loss function reaches convergence, the training is completed; The loss function includes position regression loss, size regression loss and classification loss, and the calculation formula is: ,in, , , They represent the weight coefficients of position regression loss, size regression loss and classification loss respectively, n represents the total number of training samples, is the coordinate of the actual defect location, are the coordinates of the predicted defect location, is the actual defect size, is the predicted defect size, U is the number of defect types, represents the true defect type of the i-th training sample, represents the predicted probability of each defect type, Represents the logarithmic function of the probability of the predicted defect type.
4. The method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts according to claim 3, characterized in that: The specific method of collecting real-time process data and real-time additive manufacturing process parameters, predicting defects using a defect recognition model, and mapping defects to a three-dimensional model of an additively manufactured part to obtain a three-dimensional defect density field is as follows: During the additive manufacturing process, real-time process data and real-time additive manufacturing process parameters are collected. The real-time process data includes: real-time melt pool temperature field image, real-time melt pool morphology image and real-time spectrum data. The real-time additive manufacturing process parameters include: real-time laser power, real-time scanning speed and real-time powder feeding rate. Input real-time process data and real-time additive manufacturing process parameters into the defect recognition model to predict the defect location corresponding to the current sampling time step , defect type lx and defect size ; Based on the predicted defect location, defect type and defect size, the defect is mapped to the 3D model of the additively manufactured part to obtain the coordinates of the defect in 3D space. , construct a three-dimensional defect density field.
5. The method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts according to claim 4, characterized in that: The specific method for constructing the three-dimensional defect density field is: For the position to be interpolated , take the position as the sphere center and all defect positions in the spherical area with r as the radius as the neighborhood points of the position to be interpolated, and calculate the Euclidean distance from P to the qith defect position , , Qi is the total number of defect locations; Calculate the influence weight of each defect position on the interpolation position P according to the Euclidean distance , the calculation formula is: ,in, represents the distance weighted exponent, Represents the Euclidean distance from each defect position to the position to be interpolated P; The defect density values of all defect positions in the neighborhood are weighted averaged with the corresponding influence weights to obtain the defect density estimation value of the position to be interpolated P; The calculation formula of the defect density value is: ,in, is the number of defect locations in the neighborhood of the qi-th defect location, Π is the pi, and r is the radius of the neighborhood; The defect density estimate is calculated as follows: ; The defect density is estimated for all interpolation positions in the three-dimensional model of the additively manufactured part to obtain a three-dimensional defect density field. , Represents all points in the 3D model that need to be interpolated.
6. A system for intelligent selection of process parameters for laser shock peening of additively manufactured parts, which is implemented based on the method for intelligent selection of process parameters for laser shock peening of additively manufactured parts according to any one of claims 1 to 5, characterized in that: include: A data acquisition and model training module, used for acquiring process data and additive manufacturing process parameters of additive manufacturing, and using the process data and additive manufacturing process parameters to train a defect recognition model for identifying defects of additive manufacturing parts; A three-dimensional defect density field construction module is used to collect real-time process data and real-time additive manufacturing process parameters, predict defects using a defect recognition model, and map defects to a three-dimensional model of the additive manufacturing part to obtain a three-dimensional defect density field; Laser shock optimal solution search module, used to extract the evaluation index of the three-dimensional defect density field, construct a comprehensive defect evaluation function, take the comprehensive defect evaluation function and laser shock strengthening process parameters as optimization targets, take the laser shock strengthening process window as constraint conditions, build a target optimization model and solve the optimal solution set; The laser shock peening compensation module is used to define the laser shock peening evaluation index, calculate the comprehensive evaluation function, output the solution with the highest comprehensive evaluation function value from the optimal solution set as the optimal laser shock peening process parameter, and use the laser shock peening equipment to perform adaptive laser shock peening compensation on the defects of additively manufactured parts.
7. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for intelligently selecting process parameters for laser shock strengthening of additively manufactured parts as described in any one of claims 1 to 5 are implemented.
8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps in the method for intelligent selection of process parameters for laser shock strengthening of additively manufactured parts as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Pore defect removing method for metal additive manufacturing component based on online monitoring
CN111036911A
Additive manufacturing process defect detection method and system based on improved YOLOv8 algorithm
CN117392097A
Continuous fiber composite material additive manufacturing process monitoring system and additive manufacturing system
CN118219564A
Method for automatically preventing defects potentially arising during an additive manufacturing process and manufacturing device
EP3646968A1
