CN116204998A - SLM forming performance prediction and process parameter optimization method and system - Google Patents
SLM forming performance prediction and process parameter optimization method and system Download PDFInfo
- Publication number
- CN116204998A CN116204998A CN202310027291.2A CN202310027291A CN116204998A CN 116204998 A CN116204998 A CN 116204998A CN 202310027291 A CN202310027291 A CN 202310027291A CN 116204998 A CN116204998 A CN 116204998A
- Authority
- CN
- China
- Prior art keywords
- slm
- process parameters
- performance
- regression model
- parameters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/04—Ageing analysis or optimisation against ageing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/18—Manufacturability analysis or optimisation for manufacturability
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P10/00—Technologies related to metal processing
- Y02P10/25—Process efficiency
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明属于金属选区激光熔化(Selective Laser melting,SLM)成形领域,更具体地,涉及一种SLM成形性能预测与工艺参数优化方法及系统。The invention belongs to the field of metal selective laser melting (Selective Laser melting, SLM) forming, and more specifically relates to a method and system for SLM forming performance prediction and process parameter optimization.
背景技术Background technique
SLM技术是在高能激光作用下,金属粉末完全熔化,经散热凝固后与基体金属冶金焊合,然后逐层累积成形出三维实体,能直接成形出近乎全致密且力学性能良好的金属零件。SLM成形相较于传统的金属材料成形,可直接成形复杂几何形状的零件,并且SLM零件成形后,仅需少量加工或不再加工就可以使用,表面质量优异。因此SLM在航空航天、军事装备等领域应用广泛。SLM technology is under the action of high-energy laser, the metal powder is completely melted, and after heat dissipation and solidification, it is metallurgically welded with the base metal, and then accumulated layer by layer to form a three-dimensional entity, which can directly form almost fully dense metal parts with good mechanical properties. Compared with traditional metal material forming, SLM forming can directly form parts with complex geometric shapes, and after SLM parts are formed, they can be used with only a small amount of processing or no processing, and the surface quality is excellent. Therefore, SLM is widely used in aerospace, military equipment and other fields.
SLM成形的主要工艺参数有激光功率、粉层厚度、扫描速度、扫描间距等,这些工艺参数对成形件性能有显著影响。SLM成形的主要性能有致密度、抗拉强度、屈服强度、断后伸长率、表面粗糙度等。在SLM成形件的制造过程中,不仅各项工艺参数之间存在交互作用,并且SLM成形过程本身也有十分复杂的变化,在各种因素的共同作用下导致SLM成形件的性能难以预测。The main process parameters of SLM forming include laser power, powder layer thickness, scanning speed, scanning distance, etc. These process parameters have a significant impact on the performance of formed parts. The main properties of SLM forming are density, tensile strength, yield strength, elongation after fracture, surface roughness, etc. In the manufacturing process of SLM formed parts, not only there is an interaction between various process parameters, but also the SLM forming process itself has very complex changes, and the performance of SLM formed parts is difficult to predict under the joint action of various factors.
关于SLM成形件性能数据的获取,现有方法是成形件制造完成,待其冷却后,通过一系列性能检测试验获得。这种方法获取SLM特定工艺参数性能耗费的时间长,当需要获取多组工艺参数对应的性能时,耗费的时间与材料也将成倍增长。生产高性能SLM成形件的工艺参数通过试验法,设置大量工艺参数组,逐一通过SLM设备生产,再逐一检测所获得的SLM成形件性能,记录性能较优的SLM成形件对应的工艺参数作为后续工业生产的工艺参数。这种获取高性能SLM成形工艺参数的方法效率极低,耗费了大量原材料、打印与检测耗费的时间也十分长。例如采用全面试验法,针对SLM的四个工艺参数,若每组工艺参数设置4个实验点,则需要44,即256组实验;若每组工艺参数设置10个实验点,则需要设置104,即10000组实验。这样的做法效率低,耗费了大量原材料,打印与性能检测耗费的时间也十分长,而这些数量也不能确保获得的工艺参数是最优的。总而言之,不能在已知SLM工艺参数的情况下快速获取成形件性能,并且现有获取工业生产高性能SLM成形件所需工艺参数的方法效率低下。Regarding the acquisition of performance data of SLM formed parts, the existing method is to obtain the formed parts through a series of performance testing tests after the formed parts are manufactured and cooled. This method takes a long time to obtain the performance of SLM specific process parameters. When it is necessary to obtain the performance corresponding to multiple sets of process parameters, the time and materials consumed will also increase exponentially. The process parameters for the production of high-performance SLM formed parts are set through the test method, a large number of process parameter groups are set, and the SLM equipment is produced one by one, and then the performance of the obtained SLM formed parts is tested one by one, and the process parameters corresponding to the SLM formed parts with better performance are recorded as follow-up Process parameters for industrial production. This method of obtaining high-performance SLM forming process parameters is extremely inefficient, consumes a large amount of raw materials, and takes a long time for printing and testing. For example, using the comprehensive test method, for the four process parameters of SLM, if 4 experimental points are set for each set of process parameters, 4 4 , that is, 256 sets of experiments are required; if 10 experimental points are set for each set of process parameters, 10 test points need to be set 4 , that is, 10,000 sets of experiments. This method is inefficient, consumes a lot of raw materials, and takes a long time for printing and performance testing, and these quantities cannot ensure that the obtained process parameters are optimal. All in all, the performance of formed parts cannot be quickly obtained when the SLM process parameters are known, and the existing methods for obtaining the process parameters required for industrial production of high-performance SLM formed parts are inefficient.
因此,十分有必要通过其他方法,在已知SLM工艺参数的情况下精准快速地获取成形件性能,并且能高效地获取制造高性能SLM成形件的工艺参数用于工业生产。Therefore, it is very necessary to use other methods to accurately and quickly obtain the performance of the formed part under the condition of known SLM process parameters, and to efficiently obtain the process parameters for manufacturing high-performance SLM formed parts for industrial production.
发明内容Contents of the invention
针对现有技术的缺陷,本发明的目的在于提供一种SLM成形性能预测与工艺参数优化方法及系统,旨在解决在已知SLM工艺参数的情况下获取SLM成形件性能速度慢、耗时长的问题与获取高性能SLM成形件工艺参数效率低的问题。In view of the defects of the prior art, the purpose of the present invention is to provide a method and system for SLM forming performance prediction and process parameter optimization, aiming to solve the problem of slow and time-consuming acquisition of SLM forming part performance under the condition of known SLM process parameters. The problem is related to the problem of low efficiency in obtaining process parameters of high-performance SLM formed parts.
为实现上述目的,第一方面,本发明提供了一种SLM成形性能预测与工艺参数优化方法,包括以下步骤:In order to achieve the above object, in the first aspect, the present invention provides a method for SLM forming performance prediction and process parameter optimization, comprising the following steps:
通过多步正交实验设计多组SLM工艺参数,并对设计的工艺参数进行实际制造,确定对应SLM成形件的性能,将设计的SLM工艺参数和对应的成形件性能汇总为数据集;Design multiple sets of SLM process parameters through multi-step orthogonal experiments, and actually manufacture the designed process parameters to determine the performance of the corresponding SLM formed parts, and summarize the designed SLM process parameters and the corresponding performance of the formed parts into a data set;
基于所述数据集对高斯过程回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第一种映射关系;并基于所述数据集对多元逐步回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第二种映射关系;所述第一种映射关系和第二种映射关系均用于对SLM成形件的性能进行预测;Based on the data set, the Gaussian process regression model is trained to obtain the first mapping relationship between the SLM process parameters and the performance of the SLM formed part; and based on the data set, the multiple stepwise regression model is trained to obtain the SLM process parameters and the SLM formed part performance. The second mapping relationship between the performance of the SLM formed part; the first mapping relationship and the second mapping relationship are used to predict the performance of the SLM formed part;
将训练好的高斯过程回归模型和训练好的多元逐步回归模型组合,得到SLM性能预测模型;其中,所述SLM性能预测模型将高斯过程回归模型和多元逐步回归模型的两个性能预测结果采用加权方式融合,所述加权方式的权重通过遍历方式确定;Combining the trained Gaussian process regression model and the trained multiple stepwise regression model to obtain the SLM performance prediction model; wherein, the SLM performance prediction model uses two performance prediction results of the Gaussian process regression model and the multiple stepwise regression model. mode fusion, the weight of the weighted mode is determined through traversal;
通过教与学算法对所述SLM性能预测模型寻优,得到SLM成形件性能满足需求的多组推荐SLM工艺参数;Optimize the SLM performance prediction model through the teaching and learning algorithm, and obtain multiple sets of recommended SLM process parameters whose performance of the SLM formed part meets the requirements;
根据SLM工艺参数对设备使用寿命的影响对所述多组推荐SLM工艺参数进行分步筛选,得到对设备使用寿命损伤低且工艺参数稳定的多组SLM工艺参数。According to the influence of the SLM process parameters on the service life of the equipment, the multiple sets of recommended SLM process parameters are screened step by step, and multiple sets of SLM process parameters with low damage to the service life of the equipment and stable process parameters are obtained.
在一个可选的示例中,该方法还包括以下步骤:In an optional example, the method further includes the following steps:
对分步筛选后的多组SLM工艺参数,进行实际制造对得到的SLM成形件性能进行验证,将性能达到预期标准的参数列入验证结果满意的工艺参数组,作为高性能SLM成形件的工艺参数组;将性能未达到预期标准的参数列入验证结果不满意的工艺参数组;For the multiple sets of SLM process parameters after step-by-step screening, the actual manufacturing is carried out to verify the performance of the obtained SLM formed parts, and the parameters whose performance meets the expected standards are included in the process parameter group with satisfactory verification results, as the process of high-performance SLM formed parts Parameter group; the parameters whose performance does not meet the expected standard are included in the process parameter group whose verification result is not satisfactory;
将验证结果不满意的工艺参数组增加至所述数据集,更新数据集,重复高斯过程回归模型训练、多元逐步回归模型的训练、SLM工艺参数推荐和筛选过程,获得新筛选后的多组SLM工艺参数。Add the unsatisfactory process parameter group to the data set, update the data set, repeat the training of Gaussian process regression model, the training of multiple stepwise regression model, the recommendation and screening process of SLM process parameters, and obtain multiple sets of SLM after new screening Process parameters.
在一个可选的示例中,通过多步正交实验设计多组SLM工艺参数,具体为:In an optional example, multiple sets of SLM process parameters are designed through multi-step orthogonal experiments, specifically:
设计多步正交实验,在全局范围内通过正交实验设计SLM工艺参数组别,并对设计的工艺参数进行实际制造,检测初步设计的SLM成形件性能;Design multi-step orthogonal experiments, design SLM process parameter groups through orthogonal experiments on a global scale, and actually manufacture the designed process parameters to test the performance of the preliminary designed SLM formed parts;
对SLM全局性能进行初步检测,找出初步检测的SLM成形件性能较优的可疑区域,并对可疑区域再设计正交实验,经过多次设计正交实验得到SLM成形件性能较优可疑区域对应的多组SLM工艺参数。Carry out a preliminary test on the global performance of SLM, find out the suspicious areas with better performance of SLM formed parts in the preliminary detection, and design orthogonal experiments for suspicious areas, and obtain the correspondence of suspicious areas with better performance of SLM formed parts after many times of designing orthogonal experiments Multiple sets of SLM process parameters.
在一个可选的示例中,基于所述数据集对高斯过程回归模型进行训练,并基于所述数据集对多元逐步回归模型进行训练,具体为:In an optional example, the Gaussian process regression model is trained based on the data set, and the multiple stepwise regression model is trained based on the data set, specifically:
构建高斯过程回归模型;基于所设计的多组SLM工艺参数对高斯过程回归模型进行训练;Build a Gaussian process regression model; train the Gaussian process regression model based on the designed multiple sets of SLM process parameters;
构建多元逐步回归模型;基于所设计的多组SLM工艺参数对多元逐步回归模型进行训练;其中,考虑到工艺参数间的相互影响,增加高阶项与交叉项,构建完整的备选项;获得完整的备选项后,通过显著性检验,逐步引入与剔除备选项。Construct a multiple stepwise regression model; train the multiple stepwise regression model based on the designed multiple sets of SLM process parameters; among them, taking into account the interaction between process parameters, increase high-order items and cross items to construct complete alternatives; obtain a complete After selecting the alternatives, through the significance test, the alternatives are gradually introduced and eliminated.
在一个可选的示例中,在对高斯过程回归模型和多元逐步回归模型训练过程中,通过平均绝对误差MAE、均方根误差RMSE与决定系数R2三项指标对两个模型进行加权评估,以评估模型预测结果与实际结果的偏差情况,优化模型参数;所述三项指标各自所占权值为:MAE:RMSE:R2=40:40:20。In an optional example, during the training process of the Gaussian process regression model and the multiple stepwise regression model, the two models are weighted and evaluated by the three indicators of mean absolute error MAE, root mean square error RMSE and coefficient of determination R2 , To evaluate the deviation between the model prediction results and the actual results, optimize the model parameters; the respective weights of the three indicators are: MAE:RMSE:R 2 =40:40:20.
在一个可选的示例中,通过教与学算法对所述SLM性能预测模型寻优,得到SLM成形件性能满足需求的多组推荐SLM工艺参数,具体为:In an optional example, the SLM performance prediction model is optimized through the teaching and learning algorithm, and multiple sets of recommended SLM process parameters for which the performance of the SLM formed part meets the requirements are obtained, specifically:
设置合适数量的初始群体,并将SLM性能预测模型作为优化算法的适应度函数;Set an appropriate number of initial groups, and use the SLM performance prediction model as the fitness function of the optimization algorithm;
通过计算个体适应度,选则适应度值最大的个体为教师,初始群体通过“教学阶段”与“学习阶段”更新,种群更新完成后重新选择教师个体,如此循环,直至达到循环终止条件,获得当前最优适应度个体,即当前最优性能值与对应工艺参数,并将最优性能值所对应的工艺参数作为推荐SLM工艺参数。By calculating the individual fitness, the individual with the largest fitness value is selected as the teacher. The initial group is updated through the "teaching stage" and "learning stage". The current optimal fitness individual, that is, the current optimal performance value and the corresponding process parameters, and the process parameters corresponding to the optimal performance value are used as the recommended SLM process parameters.
在一个可选的示例中,所述SLM工艺参数包括:激光功率、粉层厚度、扫描速度以及扫描间距;激光功率与扫描速度对设备的寿命影响相对较大,激光功率对设备的工艺稳定性影响相对较大,根据实际设备的激光功率与扫描速度设置两个工艺参数对应的多个阈值,当实际设备的激光功率或扫描速度处于不同阈值区间时,激光功率或扫描速度处于不同的评级,不同评级对设备的损失不同;In an optional example, the SLM process parameters include: laser power, powder layer thickness, scanning speed and scanning distance; laser power and scanning speed have a relatively large impact on the life of the equipment, and laser power has a relatively large impact on the process stability of the equipment. The impact is relatively large. Set multiple thresholds corresponding to the two process parameters according to the laser power and scanning speed of the actual equipment. When the laser power or scanning speed of the actual equipment is in different threshold ranges, the laser power or scanning speed is in different ratings. Different ratings have different losses to equipment;
根据SLM工艺参数对设备使用寿命的影响对所述多组推荐SLM工艺参数进行分步筛选,得到对设备使用寿命损伤低的多组SLM工艺参数,具体为:According to the impact of the SLM process parameters on the service life of the equipment, the multiple groups of recommended SLM process parameters are screened step by step, and multiple groups of SLM process parameters with low damage to the service life of the equipment are obtained, specifically:
将多组推荐SLM工艺参数按照:①激光功率一级、扫描速度一级,②激光功率一级、扫描速度二级,③激光功率二级、扫描速度一级,④激光功率二级扫描速度二级分为四类;其中,激光功率一级对设备使用寿命的损伤最低,随着激光功率等级增加,对设备使用寿命的损伤增加;扫描速度一级对设备使用寿命的损伤最低,随着扫描速度等级增加,对设备使用寿命的损伤增加;The multiple groups of recommended SLM process parameters are in accordance with: ①Laser power level 1, scanning speed level 1, ②Laser power level 1, scanning speed level 2, ③Laser power level 2, scanning speed level 1, ④Laser power level 2, scanning speed 2 The levels are divided into four categories; among them, the laser power level has the lowest damage to the service life of the equipment, and as the laser power level increases, the damage to the equipment life increases; the scanning speed level has the lowest damage to the equipment life, The speed level increases, and the damage to the service life of the equipment increases;
经过分步筛选将多组推荐SLM工艺参数中激光功率和扫描速度不处于上面四类的参数剔除后,按照从①到④的顺序从上到下依次显示,获得筛选后的多组工艺参数。After step-by-step screening, the laser power and scanning speed among multiple sets of recommended SLM process parameters are eliminated, and then displayed in order from ① to ④ from top to bottom, and multiple sets of process parameters after screening are obtained.
第二方面,本发明提供了一种SLM成形性能预测与工艺参数优化系统,包括:In the second aspect, the present invention provides a SLM forming performance prediction and process parameter optimization system, including:
参数数据集设计单元,用于通过多步正交实验设计多组SLM工艺参数,并对设计的工艺参数进行实际制造,确定对应SLM成形件的性能,将设计的SLM工艺参数和对应的成形件性能汇总为数据集;The parameter data set design unit is used to design multiple sets of SLM process parameters through multi-step orthogonal experiments, and actually manufacture the designed process parameters, determine the performance of the corresponding SLM formed parts, and combine the designed SLM process parameters with the corresponding formed parts performance aggregated as a dataset;
回归模型训练单元,用于基于所述数据集对高斯过程回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第一种映射关系;并基于所述数据集对多元逐步回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第二种映射关系;所述第一种映射关系和第二种映射关系均用于对SLM成形件的性能进行预测;The regression model training unit is used to train the Gaussian process regression model based on the data set to obtain the first mapping relationship between the SLM process parameters and the performance of the SLM formed part; and based on the data set, the multiple stepwise regression model is performed Training to obtain the second mapping relationship between the SLM process parameters and the performance of the SLM formed part; the first mapping relationship and the second mapping relationship are used to predict the performance of the SLM formed part;
回归模型组合单元,用于将训练好的高斯过程回归模型和训练好的多元逐步回归模型组合,得到SLM性能预测模型;其中,所述SLM性能预测模型将高斯过程回归模型和多元逐步回归模型的两个性能预测结果采用加权方式融合,所述加权方式的权重通过遍历方式确定;The regression model combination unit is used to combine the trained Gaussian process regression model and the trained multiple stepwise regression model to obtain the SLM performance prediction model; wherein, the SLM performance prediction model combines the Gaussian process regression model and the multiple stepwise regression model. The two performance prediction results are fused in a weighted manner, and the weight of the weighted manner is determined by traversal;
预测模型寻优单元,用于通过教与学算法对所述SLM性能预测模型寻优,得到SLM成形件性能满足需求的多组推荐SLM工艺参数;The prediction model optimization unit is used to optimize the SLM performance prediction model through the teaching and learning algorithm, and obtain multiple sets of recommended SLM process parameters for which the performance of the SLM formed part meets the requirements;
工艺参数筛选单元,用于根据SLM工艺参数对设备使用寿命的影响对所述多组推荐SLM工艺参数进行分步筛选,得到对设备使用寿命损伤低且工艺参数稳定的多组SLM工艺参数。The process parameter screening unit is used to screen the multiple sets of recommended SLM process parameters step by step according to the influence of the SLM process parameters on the service life of the equipment, so as to obtain multiple sets of SLM process parameters with low damage to the service life of the equipment and stable process parameters.
在一个可选的示例中,该系统还包括:In an optional example, the system also includes:
工艺参数分组单元,用于对分步筛选后的多组SLM工艺参数,进行实际制造对得到的SLM成形件性能进行验证,将性能达到预期标准的参数列入验证结果满意的工艺参数组,作为高性能SLM成形件的工艺参数组;将性能未达到预期标准的参数列入验证结果不满意的工艺参数组;The process parameter grouping unit is used to carry out actual manufacturing of multiple sets of SLM process parameters after step-by-step screening, to verify the performance of the obtained SLM formed parts, and to list the parameters whose performance meets the expected standard into the process parameter group with satisfactory verification results, as The process parameter group of high-performance SLM formed parts; the parameters whose performance does not meet the expected standard are included in the process parameter group with unsatisfactory verification results;
参数新推荐筛选单元,用于将验证结果不满意的工艺参数组增加至所述数据集,更新数据集,重复高斯过程回归模型训练、多元逐步回归模型的训练、SLM工艺参数推荐和筛选过程,获得新筛选后的多组SLM工艺参数。The new parameter recommendation screening unit is used to add process parameter groups with unsatisfactory verification results to the data set, update the data set, repeat Gaussian process regression model training, multiple stepwise regression model training, SLM process parameter recommendation and screening process, Multiple sets of SLM process parameters after the new screening are obtained.
在一个可选的示例中,所述SLM工艺参数包括:激光功率、粉层厚度、扫描速度以及扫描间距;激光功率与扫描速度对设备的寿命影响相对较大,根据实际设备的激光功率与扫描速度设置两个工艺参数对应的多个阈值,当实际设备的激光功率或扫描速度处于不同阈值区间时,激光功率或扫描速度处于不同的评级,不同评级对设备的损失不同;In an optional example, the SLM process parameters include: laser power, powder layer thickness, scanning speed and scanning distance; laser power and scanning speed have a relatively large impact on the life of the equipment, according to the actual equipment laser power and scanning The speed sets multiple thresholds corresponding to the two process parameters. When the laser power or scanning speed of the actual equipment is in different threshold ranges, the laser power or scanning speed is in different ratings, and different ratings have different losses to the equipment;
所述工艺参数筛选单元,将多组推荐SLM工艺参数按照:①激光功率一级、扫描速度一级,②激光功率一级、扫描速度二级,③激光功率二级、扫描速度一级,④激光功率二级扫描速度二级分为四类;其中,激光功率一级对设备使用寿命的损伤最低,随着激光功率等级增加,对设备使用寿命的损伤增加;扫描速度一级对设备使用寿命的损伤最低,随着扫描速度等级增加,对设备使用寿命的损伤增加;经过分步筛选将多组推荐SLM工艺参数中激光功率和扫描速度不处于上面四类的参数剔除后,按照从①到④的顺序从上到下依次显示,获得筛选后的多组工艺参数。The process parameter screening unit uses multiple groups of recommended SLM process parameters according to: ① laser power level 1, scanning speed level 1, ② laser power level 1, scanning speed level 2, ③ laser power level 2, scanning speed level 1, ④ The second level of laser power and scanning speed are divided into four categories; among them, the damage to the service life of the equipment at the first level of laser power is the lowest, and as the laser power level increases, the damage to the service life of the equipment increases; The damage is the lowest, and as the scanning speed level increases, the damage to the service life of the equipment increases; after step-by-step screening, the laser power and scanning speed in multiple groups of recommended SLM process parameters are eliminated, and the parameters from ① to The order of ④ is displayed from top to bottom, and multiple sets of process parameters after screening are obtained.
第三方面,本发明提供了一种电子设备,包括:存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,用于当执行所述计算机程序时,实现上述第一方面提供的方法。In a third aspect, the present invention provides an electronic device, including: a memory and a processor; the memory is used to store a computer program; the processor is used to implement the first aspect above when executing the computer program provided method.
第四方面,本发明提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现上述第一方面提供的方法。In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method provided in the above-mentioned first aspect is realized.
总体而言,通过本发明所构思的以上技术方案与现有技术相比,具有以下有益效果:Generally speaking, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
本发明提供一种SLM成形性能预测与工艺参数优化方法及系统,构建了高斯过程回归-多元逐步回归模型,能通过SLM工艺参数精准地预测成形件性能;通过教与学算法寻优,高效地给出推荐工艺参数;无需耗费大量的材料与时间成本,便可提供高性能SLM成形件的推荐工艺参数,对SLM工业生产有重要意义。The invention provides a method and system for SLM forming performance prediction and process parameter optimization, which builds a Gaussian process regression-multiple stepwise regression model, which can accurately predict the performance of formed parts through SLM process parameters; optimize through teaching and learning algorithms, efficiently The recommended process parameters are given; without consuming a lot of material and time costs, the recommended process parameters of high-performance SLM formed parts can be provided, which is of great significance to the SLM industrial production.
附图说明Description of drawings
图1是本发明实施例提供的SLM成形性能预测与工艺参数优化方法流程图。Fig. 1 is a flow chart of the SLM forming performance prediction and process parameter optimization method provided by the embodiment of the present invention.
图2为本发明实施例提供的SLM性能预测与工艺参数优化方法流程图。Fig. 2 is a flow chart of the SLM performance prediction and process parameter optimization method provided by the embodiment of the present invention.
图3为本发明实施例提供的SLM性能预测与工艺参数优化方法高斯过程回归-多元逐步回归模型与教与学算法结合的流程图。Fig. 3 is a flowchart of the combination of the Gaussian process regression-multiple stepwise regression model and the teaching and learning algorithm of the SLM performance prediction and process parameter optimization method provided by the embodiment of the present invention.
图4是本发明实施例提供的SLM成形性能预测与工艺参数优化系统架构图。Fig. 4 is an architecture diagram of the SLM forming performance prediction and process parameter optimization system provided by the embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present invention, reference to the terms "one embodiment," "some embodiments," "exemplary embodiments," "examples," "specific examples," or "some examples" is intended to mean that the embodiments are A specific feature, structure, material, or characteristic described by or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
本发明通过设计实验获取SLM工艺参数与性能数据,构建SLM性能预测模型,通过SLM工艺参数精准快速地获取成形件性能,并通过优化算法寻优,高效地获取高性能SLM成形件推荐工艺参数并用于工业生产。The invention obtains SLM process parameters and performance data through design experiments, builds an SLM performance prediction model, accurately and quickly obtains the performance of formed parts through SLM process parameters, and optimizes through optimization algorithms to efficiently obtain recommended process parameters for high-performance SLM formed parts and use them in industrial production.
图1是本发明实施例提供的SLM成形性能预测与工艺参数优化方法流程图,如图1所示,包括以下步骤:Fig. 1 is a flow chart of the SLM forming performance prediction and process parameter optimization method provided by the embodiment of the present invention, as shown in Fig. 1, including the following steps:
S101,通过多步正交实验设计多组SLM工艺参数,并对设计的工艺参数进行实际制造,确定对应SLM成形件的性能,将设计的SLM工艺参数和对应的成形件性能作汇总为数据集;S101, designing multiple sets of SLM process parameters through multi-step orthogonal experiments, and actually manufacturing the designed process parameters, determining the performance of the corresponding SLM formed parts, and summarizing the designed SLM process parameters and the corresponding performance of the formed parts into a data set ;
S102,基于所述数据集对高斯过程回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第一种映射关系;并基于所述数据集对多元逐步回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第二种映射关系;所述第一种映射关系和第二种映射关系均用于对SLM成形件的性能进行预测;S102, train the Gaussian process regression model based on the data set to obtain the first mapping relationship between the SLM process parameters and the performance of the SLM formed part; and train the multivariate stepwise regression model based on the data set to obtain the SLM process The second mapping relationship between the parameters and the performance of the SLM formed part; the first mapping relationship and the second mapping relationship are used to predict the performance of the SLM formed part;
S103,将训练好的高斯过程回归模型和训练好的多元逐步回归模型组合,得到SLM性能预测模型;其中,所述SLM性能预测模型将高斯过程回归模型和多元逐步回归模型的两个性能预测结果采用加权方式融合,所述加权方式的权重通过遍历方式确定;S103, combine the trained Gaussian process regression model and the trained multiple stepwise regression model to obtain the SLM performance prediction model; wherein, the SLM performance prediction model combines the two performance prediction results of the Gaussian process regression model and the multiple stepwise regression model A weighted method is used for fusion, and the weight of the weighted method is determined through an traversal method;
S104,通过教与学算法对所述SLM性能预测模型寻优,得到SLM成形件性能满足需求的多组推荐SLM工艺参数;S104, optimize the SLM performance prediction model through teaching and learning algorithms, and obtain multiple sets of recommended SLM process parameters whose performance of the SLM formed part meets the requirements;
S105,根据SLM工艺参数对设备使用寿命的影响对所述多组推荐SLM工艺参数进行分步筛选,得到对设备使用寿命损伤低且工艺参数稳定的多组SLM工艺参数。S105, performing step-by-step screening on the multiple sets of recommended SLM process parameters according to the influence of the SLM process parameters on the service life of the equipment, to obtain multiple sets of SLM process parameters with low damage to the service life of the equipment and stable process parameters.
在一个可选的示例中,该方法还包括以下步骤:In an optional example, the method further includes the following steps:
对分步筛选后的多组SLM工艺参数,进行实际制造对得到的SLM成形件性能进行验证,将性能达到预期标准的参数列入验证结果满意的工艺参数组,作为高性能SLM成形件的工艺参数组;将性能未达到预期标准的参数列入验证结果不满意的工艺参数组;For the multiple sets of SLM process parameters after step-by-step screening, the actual manufacturing is carried out to verify the performance of the obtained SLM formed parts, and the parameters whose performance meets the expected standards are included in the process parameter group with satisfactory verification results, as the process of high-performance SLM formed parts Parameter group; the parameters whose performance does not meet the expected standard are included in the process parameter group whose verification result is not satisfactory;
将验证结果不满意的工艺参数组增加至所述数据集,更新数据集,重复高斯过程回归模型训练、多元逐步回归模型的训练、SLM工艺参数推荐和筛选过程,获得新筛选后的多组SLM工艺参数。Add the unsatisfactory process parameter group to the data set, update the data set, repeat the training of Gaussian process regression model, the training of multiple stepwise regression model, the recommendation and screening process of SLM process parameters, and obtain multiple sets of SLM after new screening Process parameters.
在一个具体的实施例中,本发明的目的通过以下技术方案予以实现:In a specific embodiment, the object of the present invention is achieved through the following technical solutions:
通过设计多步正交实验获取工艺参数对应成形件的性能,设计SLM主要工艺参数:激光功率、粉层厚度、扫描速度、扫描间距,检测获取成形件的性能:致密度、抗拉强度、屈服强度、断后伸长率、表面粗糙度等。分别构建高斯过程回归模型与多元逐步回归模型,两个模型均可通过SLM工艺参数预测性能,再将两个模型融合,构建高斯过程回归-多元逐步回归模型,由SLM工艺参数预测SLM成形件性能值,实现由SLM工艺参数对SLM成形件性能精准快速地预测。并将获得的高斯过程回归-多元逐步回归模型与教与学优化算法相融合,将获得的SLM性能预测模型作为教与学算法的适应度函数,通过教与学算法寻优,获得最优适应度值个体,即SLM成形最优性能与对应的工艺参数,并将最优性能与对应的工艺参数作为推荐工艺参数。多次运行可获得多组推荐工艺参数,对多组推荐工艺参数根据激光功率、扫描速度等工艺参数进行分步筛选,可获得筛选后的推荐工艺参数。最后对获得的筛选后工艺参数实际验证。Obtain the performance of the process parameters corresponding to the formed parts by designing multi-step orthogonal experiments, design the main process parameters of SLM: laser power, powder layer thickness, scanning speed, scanning distance, and detect and obtain the properties of the formed parts: density, tensile strength, yield Strength, elongation after fracture, surface roughness, etc. Build a Gaussian process regression model and a multiple stepwise regression model respectively. Both models can predict performance through SLM process parameters, and then integrate the two models to build a Gaussian process regression-multiple stepwise regression model, and predict the performance of SLM formed parts by SLM process parameters value, to achieve accurate and rapid prediction of the performance of SLM formed parts from SLM process parameters. The obtained Gaussian process regression-multiple stepwise regression model is integrated with the teaching and learning optimization algorithm, and the obtained SLM performance prediction model is used as the fitness function of the teaching and learning algorithm, and the optimal adaptation is obtained through the optimization of the teaching and learning algorithm. The degree value individual, that is, the optimal performance of SLM forming and the corresponding process parameters, and the optimal performance and the corresponding process parameters are used as the recommended process parameters. Multiple sets of recommended process parameters can be obtained through multiple operations, and multiple sets of recommended process parameters can be screened step by step according to process parameters such as laser power and scanning speed, and the recommended process parameters after screening can be obtained. Finally, the actual verification of the obtained process parameters after screening.
具体地,本发明的SLM性能预测与工艺参数优化方法,如图2所示,包括以下步骤:Specifically, the SLM performance prediction and process parameter optimization method of the present invention, as shown in Figure 2, includes the following steps:
S1.设计多步正交实验获取SLM成形工艺参数与性能数据,划分数据集。传统的正交实验设计一步便可设计完成,这样设计的正交实验虽然能覆盖全局,但是无侧重点。针对获取高性能SLM成形件工艺参数问题,需要对SLM高性能成形区域投入比其他区域更多的关注,而传统的正交实验不能满足这一要求。为此,本发明采用多步正交实验进行设计。设计多步正交实验,首先在全局范围内通过正交实验设计工艺参数组别,并对设计的工艺参数进行实际制造,检测初步设计的SLM成形件性能。通过对SLM全局性能的初步检测,找出初步检测的性能较优的可疑区域,并对这些性能较优的可疑区域再设计正交实验,获取性能较优的可疑区域更多的信息,为后续SLM成形件性能预测模型对高性能成形件进行精准预测提供更多支撑。最终获得覆盖全局、疏密合理的数据集。S1. Design multi-step orthogonal experiments to obtain SLM forming process parameters and performance data, and divide the data sets. The traditional orthogonal experiment design can be completed in one step. Although the orthogonal experiment designed in this way can cover the whole situation, it has no focus. In order to obtain the process parameters of high-performance SLM forming parts, it is necessary to pay more attention to the high-performance forming area of SLM than other areas, and the traditional orthogonal experiment cannot meet this requirement. For this reason, the present invention adopts multi-step orthogonal experiment to design. To design a multi-step orthogonal experiment, first design the process parameter group through the orthogonal experiment in the global scope, and carry out the actual manufacturing of the designed process parameters to test the performance of the preliminarily designed SLM formed parts. Through the preliminary detection of the global performance of SLM, find out the suspicious areas with better performance in the preliminary detection, and then design orthogonal experiments on these suspicious areas with better performance to obtain more information about the suspicious areas with better performance, for the follow-up The performance prediction model of SLM forming parts provides more support for accurate prediction of high-performance forming parts. Finally, a data set covering the whole world and with reasonable density is obtained.
S2.随机划分数据集。将数据随机分成训练集与预测集,用于后续高斯过程回归模型与多元逐步回归模型训练与测试。S2. Randomly divide the data set. Randomly divide the data into a training set and a prediction set for subsequent Gaussian process regression model and multiple stepwise regression model training and testing.
S3.分别构建高斯过程回归模型与多元逐步回归模型,如图3所示:S3. Build the Gaussian process regression model and the multiple stepwise regression model respectively, as shown in Figure 3:
①构建高斯过程回归模型:高斯过程回归作为机器学习的一种,相较于常见的BP神经网络,无需大量的数据便可实现准确的预测,在SLM成形性能预测中设计几十组实验数据即可。选择合适的均值函数与协方差函数,并对超参数赋初始值。在正常SLM成形的范围内,SLM成形件的性能值总体平稳,预测SLM性能的高斯过程回归模型采用常数均值函数合适;而有理二次协方差函数的泛化性能强,对未知数据有更好的预测能力,预测SLM性能的高斯过程回归模型采用有理二次协方差函数合适。①Building a Gaussian process regression model: Gaussian process regression is a kind of machine learning. Compared with the common BP neural network, accurate prediction can be realized without a large amount of data. Dozens of experimental data are designed in the SLM forming performance prediction. Can. Select the appropriate mean function and covariance function, and assign initial values to the hyperparameters. In the range of normal SLM forming, the performance value of SLM formed parts is generally stable, and the Gaussian process regression model for predicting SLM performance is suitable for using a constant mean function; while the rational quadratic covariance function has strong generalization performance and is better for unknown data. For predictive power, a Gaussian process regression model for predicting SLM performance using a rational quadratic covariance function is appropriate.
常数均值函数形式如下:The constant mean function has the following form:
m(x)=C,其中C为常数m(x)=C, where C is a constant
有理二次协方差函数形式如下:设x和′为不同的输入向量,令r=||x-x′||,有理二次核函数表达式为:The form of the rational quadratic covariance function is as follows: Let x and ′ be different input vectors, let r=||x-x′||, the expression of the rational quadratic kernel function is:
其中α>0,l>0 where α>0, l>0
其超参数为混合参数α与长度尺度参数l,要求为正数,其中α主要用于控制该核函数的衰减率。所构建的高斯过程回归模型为f(x)~GP(m(x),k(x))。GP表示高斯过程。其中,常数均值函数的取值为训练组数据性能值的平均值,有理二次协方差函数需要调整超参数。构建的高斯过程回归模型在调整超参数初始值时,采用分块二分策略,例如,将超参数α从0~10分成等间距的分成10块区域,将每部分的节点处的超参数初始值代入模型,并计算均方根误差进行比较,均方根误差越小的超参数模型预测能力越优,直观地掌握超参数整体对模型的预测能力影响情况。之后选择合适的分块区域,再采用二分策略,每次试验取间距最大的两相邻结点的中点为超参数试验点,逐步细化区域,多次试验,直至获得评分满意的超参数初始值,评分采用S4中规定的方式。在采用二分策略试验前,通过分块可以知晓整体的变化趋势,并可以剔除部分不合适的区域,缩小二分策略试验区域,减小试验工作量。Its hyperparameters are the mixing parameter α and the length scale parameter l, which are required to be positive numbers, where α is mainly used to control the decay rate of the kernel function. The Gaussian process regression model constructed is f(x)~GP(m(x), k(x)). GP stands for Gaussian process. Among them, the value of the constant mean function is the average value of the performance value of the training group data, and the rational quadratic covariance function needs to adjust the hyperparameters. The constructed Gaussian process regression model adopts a block dichotomy strategy when adjusting the initial value of hyperparameters. For example, divide the hyperparameter α from 0 to 10 into 10 areas at equal intervals, and divide the hyperparameter initial value at each part of the node Substitute into the model, and calculate the root mean square error for comparison. The smaller the root mean square error, the better the predictive ability of the hyperparameter model, and intuitively grasp the influence of the overall hyperparameter on the predictive ability of the model. Then select the appropriate block area, and then adopt the binary strategy. Each test takes the midpoint of the two adjacent nodes with the largest distance as the hyperparameter test point, gradually refines the area, and performs multiple experiments until a satisfactory hyperparameter is obtained. The initial value, scoring in the manner specified in S4. Before using the binary strategy test, the overall change trend can be known through the block, and some inappropriate areas can be eliminated, the binary strategy test area can be reduced, and the test workload can be reduced.
②构建多元逐步回归模型:采用逐步回归法依次从备选自变量中选择一个对方差贡献最显著的自变量加入到回归模型。在引入新变量时,对已引入的自变量逐个检验,将不显著的剔除,直至回归方程中不能引入新的自变量,同时也不能从回归方程中剔除任何一个自变量为止。考虑到SLM成形的工艺参数之间存在相互影响,备选自变量除激光功率、粉层厚度、扫描速度、扫描间距外,备选自变量除激光功率、粉层厚度、扫描速度、扫描间距外,还应包括四个工艺参数排列组合而成全部的项,最高项的阶次根据需求确定。变量选取规则需要人为设定,例如设定:当变量显著性P值小于0.05,则将其引入回归方程;当变量显著性P值大于0.10,则将其从回归方程剔除。多元逐步回归模型的计算过程复杂,可以借助统计分析软件进行求解,如使用SPSS软件对训练集数据进行多元逐步回归模型的求解。对于构建的多元逐步回归模型,采用S4中的评分规则对模型评估,通过调整模型的变量选取规则,改变多元逐步回归模型,优化多元逐步回归模型,提高预测能力。②Construction of multiple stepwise regression model: Stepwise regression method is used to sequentially select an independent variable that contributes most significantly to the variance from the optional variables and add it to the regression model. When introducing new variables, check the introduced independent variables one by one, and eliminate them insignificantly until no new independent variable can be introduced into the regression equation, and no independent variable can be eliminated from the regression equation. Considering that there is mutual influence among the process parameters of SLM forming, the optional independent variables include laser power, powder layer thickness, scanning speed and scanning distance, and the optional independent variables include laser power, powder layer thickness, scanning speed and scanning distance. , should also include all items formed by the permutation and combination of four process parameters, and the order of the highest item is determined according to requirements. Variable selection rules need to be set manually, for example, if the variable's significant P value is less than 0.05, it will be introduced into the regression equation; when the variable's significant P value is greater than 0.10, it will be removed from the regression equation. The calculation process of the multiple stepwise regression model is complicated, and it can be solved with the help of statistical analysis software, such as using SPSS software to solve the multiple stepwise regression model for the training set data. For the constructed multiple stepwise regression model, the scoring rules in S4 were used to evaluate the model. By adjusting the variable selection rules of the model, the multiple stepwise regression model was changed, and the multiple stepwise regression model was optimized to improve the predictive ability.
S4.高斯过程回归模型与多元逐步回归模型的测试评估体系。高斯过程回归模型与多元逐步回归模型的预测效果均通过预测测试集数据,并计算平均绝对误差MAE、均方根误差RMSE与决定系数R2三项指标进行加权评估。平均绝对误差MAE表示预测值和观测值之间绝对误差的平均值,MAE越小,说明整体预测与实际值的差距越小。S4. The test and evaluation system of Gaussian process regression model and multiple stepwise regression model. The prediction effects of the Gaussian process regression model and the multiple stepwise regression model are weighted and evaluated by predicting the test set data and calculating the mean absolute error MAE, root mean square error RMSE and coefficient of determination R2 . The mean absolute error (MAE) represents the average value of the absolute error between the predicted value and the observed value. The smaller the MAE, the smaller the gap between the overall forecast and the actual value.
均方误差MSE与均方根误差RMSE是反映估计量与被估计量之间差异程度的一种度量,MSE越小说明预测数据与实际数据之间的差异越小,均方根误差RMSE由均方根误差开根号获得。决定系数R2反映回归模型对实际值的拟合程度,R2在0到1之间,当R2=0时,说明模型完全没有与数据拟合,当R2=1时,说明模型与数据完全拟合,R2的值越大,说明模型的拟合程度越好。The mean square error MSE and the root mean square error RMSE are a measure that reflects the degree of difference between the estimator and the estimated quantity. The smaller the MSE, the smaller the difference between the predicted data and the actual data. The root mean square error RMSE is determined by the mean The square root error is obtained by taking the root sign. The coefficient of determination R 2 reflects the fitting degree of the regression model to the actual value. R 2 is between 0 and 1. When R 2 = 0, it means that the model does not fit the data at all. When R 2 = 1, it means that the model is consistent with The data fit perfectly, and the larger the value of R2 , the better the fit of the model.
上述的三种评价数据有各自的侧重点,单独的一种评价只是从一方面对预测结果进行评价,不能对预测结果进行更为全面的评估。为充分利用三项评价指标,本发明设定以下评估标准:若MAE小于0.01则该项评分为100分,若MAE小于0.02则评分为90分,依次均匀递推;RMSE小于0.01则该项指标评分为100分,若RMSE小于0.02则评分为90分,依次均匀递推;若R2大于0.95则该项指标评分为100分,若R2大于0.85则该项指标评分为90分,依次均匀递推。由于成形过程与数据的获取受外界因素影响,带有波动干扰,允许性能数据实际值与预测值之间有细微偏差,故每项评价指标在误差极小的情况下均评为100分。The above three kinds of evaluation data have their own emphases, and a single evaluation only evaluates the prediction results from one aspect, and cannot make a more comprehensive evaluation of the prediction results. In order to make full use of the three evaluation indicators, the present invention sets the following evaluation criteria: if the MAE is less than 0.01, then the score is 100 points; The score is 100 points, if the RMSE is less than 0.02, the score is 90 points, and the order is uniformly recursive; if the R 2 is greater than 0.95, the index score is 100 points, and if the R 2 is greater than 0.85, the index score is 90 points, and the order is uniform Recursion. Since the forming process and data acquisition are affected by external factors with fluctuation interference, slight deviations between the actual and predicted performance data are allowed, so each evaluation index is rated as 100 points when the error is extremely small.
模型预测完成后,实际更关注模型的预测结果与实际结果的偏差情况,因次,在三项评价指标中,需要对MAE与RMSE有所侧重。三项指标加权计算最终评分时,各自所占权值为:MAE:RMSE:R2=40:40:20,据此计算最终评分。若最终评分在90分以上,则认为预测精确;最终评分在80~90分则认为预测能力优秀;最终评分在70~80分则认为预测有效;最终评分在60~70分则认为预测能力差;最终评分在60分以下或者某单项分数在60分以下则认为无法预测。After the model prediction is completed, more attention should be paid to the deviation between the model's predicted results and the actual results. Therefore, among the three evaluation indicators, it is necessary to focus on MAE and RMSE. When the three indicators are weighted to calculate the final score, the respective weights are: MAE:RMSE:R 2 =40:40:20, and the final score is calculated accordingly. If the final score is above 90 points, the prediction is considered accurate; if the final score is 80-90 points, the prediction ability is considered excellent; if the final score is 70-80 points, the prediction is considered effective; if the final score is 60-70 points, the prediction ability is considered poor ; If the final score is below 60 points or a single item score is below 60 points, it is considered unpredictable.
S5.构建高斯过程回归-多元逐步回归模型。将S3构建的高斯过程回归模型与多元逐步回归模型通过加权的方式融合,对于一组工艺参数输入,高斯过程回归模型与多元逐步回归模型分别对其进行性能预测,并将获得的两个性能预测值以加权的方式融合,两模型的预测结果分配合适的权重,将加权计算获得的结果作为高斯过程回归-多元逐步回归模型的预测值。高斯过程回归模型与多元逐步回归模型均可实现由SLM工艺参数预测性能,但各有优劣。高斯过程回归模型对“靠近”已知点的数据预测十分精准,但是在预测“远离”已知点时预测精度下降较大,即对局部数据点的预测十分精准,但对全局区域的预测有些不足;而多元逐步回归模型虽然在局部区域的预测不如高斯过程回归模型精准,但是多元逐步回归模型在全局范围的预测能力稳定,并且其在全局范围的预测精度也较优。将高斯过程回归模型与多元逐步回归模型通过加权的方式融合,在“靠近”已知点区域由高斯过程回归模型的预测结果矫正多元逐步回归模型的预测结果,在“远离”已知点区域由多元逐步回归模型的预测结果矫正高斯过程回归模型的预测结果,获得在全局范围内预测能力更突出的高斯过程回归-多元逐步回归模型。S5. Constructing a Gaussian process regression-multiple stepwise regression model. The Gaussian process regression model built by S3 and the multiple stepwise regression model are fused in a weighted manner. For a set of process parameter inputs, the Gaussian process regression model and the multiple stepwise regression model are respectively used to predict the performance of the two performance predictions obtained. The values are fused in a weighted manner, and the prediction results of the two models are assigned appropriate weights, and the results obtained by the weighted calculation are used as the prediction values of the Gaussian process regression-multiple stepwise regression model. Both the Gaussian process regression model and the multiple stepwise regression model can be used to predict the performance of SLM process parameters, but each has its own advantages and disadvantages. The Gaussian process regression model is very accurate in predicting the data "closer" to the known point, but the prediction accuracy drops greatly when the prediction is "far away" from the known point, that is, the prediction of the local data point is very accurate, but the prediction of the global area is somewhat Insufficient; while the prediction of the multiple stepwise regression model is not as accurate as the Gaussian process regression model in the local area, the prediction ability of the multiple stepwise regression model in the global scope is stable, and its prediction accuracy in the global scope is also better. The Gaussian process regression model and the multiple stepwise regression model are fused in a weighted manner, and the prediction results of the multiple stepwise regression model are corrected by the prediction results of the Gaussian process regression model in the area "near" the known point, and the prediction result of the multiple stepwise regression model is corrected in the area "far from" the known point by The prediction results of the multiple stepwise regression model correct the prediction results of the Gaussian process regression model, and a Gaussian process regression-multiple stepwise regression model with more prominent predictive ability in the global scope is obtained.
在S4的评分体系中,当高斯过程回归模型与多元逐步回归模型的评分均达到90分时,则认为可以将两模型融合构建高斯过程回归-多元逐步回归模型。构建的高斯过程回归-多元逐步回归模型中两分立模型加权权重的优劣,通过高斯过程回归-多元逐步回归模型对预测测试集数据结果的评分评价,评分方式采用S4中的评估体系。加权权重要求精确到0.01,采用遍历的方法,通过程序循环99次,可精确求解最优权重结构。此时便获得SLM性能预测更稳定、更准确的高斯过程回归-多元逐步回归模型。两分立模型融合构建的高斯过程回归-多元逐步回归模型,汲取了两模型各自的优点,融合后模型的在全局范围的预测能力优于分立的高斯过程回归模型与多元逐步回归模型,可实现在全局范围内由SLM工艺参数更精准地预测SLM成形件性能。In the scoring system of S4, when the scores of the Gaussian process regression model and the multiple stepwise regression model both reach 90 points, it is considered that the two models can be fused to construct the Gaussian process regression-multiple stepwise regression model. The advantages and disadvantages of the weighted weights of the two separate models in the Gaussian process regression-multiple stepwise regression model constructed are evaluated by the Gaussian process regression-multiple stepwise regression model to predict the results of the test set data. The scoring method adopts the evaluation system in S4. The weighting weight is required to be accurate to 0.01. Using the traversal method, the optimal weight structure can be accurately solved through the program looping 99 times. At this time, a more stable and accurate Gaussian process regression-multiple stepwise regression model for SLM performance prediction is obtained. The Gaussian process regression-multiple stepwise regression model constructed by the fusion of two discrete models has absorbed the respective advantages of the two models. Globally, the performance of SLM formed parts can be more accurately predicted by SLM process parameters.
S6.采用教与学算法寻优获取SLM工艺参数推荐工艺参数。通过教与学算法寻优,获得最优适应度值的个体,即可获得最优性能值工艺参数。教与学算法相较于传统的寻优算法,如遗传算法与粒子群算法等,原理简单、易实现,需要调优的参数极少,且计算效率比传统的方法计算效率高,适合用于对上述SLM性能预测模型的寻优。首先设置合适数量的初始群体,并将S4获得的高斯过程回归-多元逐步回归预测模型作为优化算法的适应度函数。通过计算个体适应度,选则适应度值最大的个体为教师,初始群体通过“教学阶段”与“学习阶段”更新,种群更新完成后重新选择教师个体,如此循环,直至达到循环终止条件,获得当前最优适应度个体,即当前最优性能值与对应工艺参数,并将最优性能值所对应的工艺参数作为推荐工艺参数。S6. Using the teaching and learning algorithm to optimize and obtain the recommended process parameters of the SLM process parameters. Through the optimization of the teaching and learning algorithm, the individual with the optimal fitness value can obtain the process parameters with the optimal performance value. Compared with traditional optimization algorithms, such as genetic algorithm and particle swarm algorithm, the teaching and learning algorithm has a simple principle and is easy to implement. There are very few parameters that need to be tuned, and its calculation efficiency is higher than that of traditional methods. It is suitable for Optimization of the above SLM performance prediction model. First, an appropriate number of initial groups is set, and the Gaussian process regression-multiple stepwise regression prediction model obtained in S4 is used as the fitness function of the optimization algorithm. By calculating the individual fitness, the individual with the largest fitness value is selected as the teacher. The initial group is updated through the "teaching stage" and "learning stage". The current optimal fitness individual is the current optimal performance value and the corresponding process parameters, and the process parameters corresponding to the optimal performance value are used as the recommended process parameters.
S7.分步筛选与验证SLM推荐工艺参数。SLM成形过程中,工艺参数选择不合适,容易对设备造成损伤,降低设备使用寿命。推荐工艺参数并不能保证所有工艺参数均合适,需要对工艺参数进行筛选。随机划分数据集,运行10次高斯过程回归-多元逐步回归模型SLM性能预测与教与学算法工艺参数寻优,可获得10组不同的推荐工艺参数,针对10组工艺参数进行筛选。在激光功率、粉层厚度、扫描速度、扫描间距四个工艺参数中,激光功率与扫描速度对设备的寿命影响很大,具体而言,激光功率对设备使用寿命的影响大于扫描速度。需要根据实际设备的激光功率与扫描速度设置两个工艺参数的阈值。S7. Step by step screening and verification of SLM recommended process parameters. During the SLM forming process, if the process parameters are not selected properly, it is easy to cause damage to the equipment and reduce the service life of the equipment. The recommended process parameters do not guarantee that all process parameters are suitable, and the process parameters need to be screened. Randomly divide the data set, run 10 times of Gaussian process regression-multiple stepwise regression model SLM performance prediction and teaching and learning algorithm process parameter optimization, 10 different recommended process parameters can be obtained, and 10 groups of process parameters can be screened. Among the four process parameters of laser power, powder layer thickness, scanning speed, and scanning distance, laser power and scanning speed have a great influence on the life of the equipment. Specifically, the impact of laser power on the service life of the equipment is greater than that of scanning speed. The thresholds of the two process parameters need to be set according to the laser power and scanning speed of the actual equipment.
本发明设定激光功率在激光设备最大功率的40%~60%为一级;在最大功率的20%~40%或60%~80%为二级;在小于最大功率的20%或大于最大功率的80%为三级,激光功率的评级越低,则工艺参数对设备的损伤越小。扫描速度的评级与激光功率的评级一致,均根据设备最大值的百分比评定,评级越低损伤越小。针对激光功率与扫描速度对10组推荐工艺参数进行筛选,首先根据激光功率的评级标准分类,剔除激光功率评为三级的工艺参数组,对激光功率一级与二级的工艺参数组分别再根据扫描速度的评级继续细分,剔除扫描速度三级的工艺参数组,最后按照①激光功率一级、扫描速度一级,②激光功率一级、扫描速度二级,③激光功率二级、扫描速度一级,④激光功率二级扫描速度二级分为四类。经过分步筛选将10组工艺参数剔除部分后,按照从①到④的顺序从上到下依次显示,获得筛选后的推荐工艺参数。筛选后的推荐工艺参数再进行实际验证,将筛选工艺参数输入设备进行打印,一方面可以对预测性能进行验证,另一方面可以扩充数据集。对于分步筛选后的工艺参数组,验证结果满意的工艺参数组,即为工业生产高性能SLM成形件的工艺参数组,可收录至高性能SLM成形件的工业生产列表;对于验证不满意的工艺参数组,则将验证不满意的工艺参数组数据增加至数据集,更新数据集,重复步骤S2至S7可获得新的推荐工艺参数。The present invention sets the laser power at 40% to 60% of the maximum power of the laser equipment as the first level; at 20% to 40% or 60% to 80% of the maximum power as the second level; at less than 20% of the maximum power or greater than the maximum 80% of the power is level three, the lower the rating of the laser power, the less damage the process parameters will have on the equipment. The rating of the scan speed is consistent with the rating of the laser power, both based on the percentage of the maximum value of the equipment, the lower the rating, the less damage. According to the laser power and scanning speed, 10 groups of recommended process parameters were screened. Firstly, according to the rating standard of laser power, the process parameter groups rated as the third level of laser power were eliminated, and the process parameter groups of the first level and the second level of laser power were respectively reassessed. Continue to subdivide according to the rating of scanning speed, eliminate the three-level process parameter group of scanning speed, and finally according to ① laser power level 1, scanning speed level 1, ② laser power level 1, scanning speed level 2, ③ laser power level 2, scanning speed Speed level one, ④ laser power level two scanning speed level two are divided into four categories. After step-by-step screening, 10 groups of process parameters are removed, and displayed in order from ① to ④ from top to bottom, and the recommended process parameters after screening are obtained. The screened recommended process parameters are then actually verified, and the screened process parameters are input into the device for printing. On the one hand, the prediction performance can be verified, and on the other hand, the data set can be expanded. For the process parameter groups after step-by-step screening, the process parameter groups with satisfactory verification results are the process parameter groups for industrial production of high-performance SLM formed parts, which can be included in the industrial production list of high-performance SLM formed parts; parameter group, add the unsatisfactory process parameter group data to the data set, update the data set, and repeat steps S2 to S7 to obtain new recommended process parameters.
进一步地,在S5中个体根据高斯过程回归-多元逐步回归模型计算适应度之前,需要考虑设备可输入工艺参数的精度,如激光功率的精度、扫描速度的精度等,在个体更新完成后,需要将每个个体的输入根据四舍五入法转成对应的设备可输入的工艺参数值,再作为个体的输入进行后续操作。Furthermore, before the individual calculates the fitness according to the Gaussian process regression-multiple stepwise regression model in S5, it is necessary to consider the accuracy of the input process parameters of the equipment, such as the accuracy of the laser power and the accuracy of the scanning speed. The input of each individual is converted into the process parameter value that can be input by the corresponding equipment according to the rounding method, and then used as the input of the individual for subsequent operations.
实施例1Example 1
本实施例的SLM性能预测与工艺参数优化方法,通过设计实验获取工艺参数与性能数据,并将获取到的数据随机划分训练集与测试集,构建高斯过程回归模型与多元逐步回归模型,并调整超参数初始值,使得构建的两个模型能对测试集性能参数进行精准预测。再将融合上述两模型,构建高斯过程回归-多元逐步回归模型,并与教与学算法相融合,将获得的融合模型作为适应度函数,通过教与学算法寻优,获得最优性能及最优性能下的工艺参数,即优化工艺参数。本例中输入的工艺参数有激光功率、粉层厚度、扫描速度、扫描间距,输出致密度,对致密度这一个性能进行预测,如需预测其他性能参数,操作与预测致密度一致,只需要对超参数重新调整优化。The SLM performance prediction and process parameter optimization method of this embodiment obtains process parameters and performance data through design experiments, and randomly divides the acquired data into training sets and test sets, constructs a Gaussian process regression model and a multiple stepwise regression model, and adjusts The initial value of the hyperparameters enables the two models constructed to accurately predict the performance parameters of the test set. Then, the above two models will be fused to construct a Gaussian process regression-multiple stepwise regression model, which will be fused with the teaching and learning algorithm, and the obtained fusion model will be used as the fitness function to obtain the optimal performance and the best performance through the optimization of the teaching and learning algorithm. Process parameters under optimal performance, that is, optimized process parameters. The process parameters input in this example include laser power, powder layer thickness, scanning speed, scanning distance, and output density. The performance of density is predicted. If other performance parameters need to be predicted, the operation is consistent with the predicted density. Re-tuning and optimizing hyperparameters.
首先通过设计实验获取数据,设计多步正交实验。首先在全局范围内设计正交实验,并实际制造初步设计的工艺参数SLM成形件,并检测其致密度;然后根据初步设计获取的SLM成形件致密度结果,对检测性能较优的可疑区域再设计正交实验,再次制造并检测致密度,获得覆盖全局、疏密合理的实验组数据集。Firstly, data is obtained by designing experiments, and multi-step orthogonal experiments are designed. Firstly, the orthogonal experiment is designed in the global scope, and the SLM formed parts with the process parameters of the preliminary design are actually manufactured, and the density is detected; then, according to the density results of the SLM formed parts obtained from the preliminary design, the suspicious areas with better detection performance are further analyzed. Design an orthogonal experiment, manufacture and test the density again, and obtain a data set of the experimental group that covers the whole world and has a reasonable density.
本实施例中取60组数据,并随机选取50组作为训练集数据,10组作为测试集数据。In this embodiment, 60 sets of data are taken, and 50 sets are randomly selected as training set data, and 10 sets are used as test set data.
构建高斯过程回归模型,并通过训练集数据进行训练。采用常数均值函数与有理二次协方差函数构建高斯过程回归模型。高斯过程回归模型的预测能力通过对测试集数据致密度预测值与实际值的MAE、RMSE、R2三项指标的结果进行评估。常数均值函数的具体取值由训练集数据的致密度平均值确定;有理二次协方差函数中超参数的确定,通过分块二分策略调整超参数α与l,不断提高高斯过程回归模型的评分,将模型对测试集数据的预测结果评分提高至90分以上,最终获得由准确的SLM致密度预测模型。高斯过程回归模型的计算部分通过已有的程序由计算机求解,但超参数进行试验与修改部分需要手动操作。Build a Gaussian process regression model and train it with the training set data. A Gaussian process regression model was constructed using a constant mean function and a rational quadratic covariance function. The predictive ability of the Gaussian process regression model is evaluated by the results of the three indicators of MAE, RMSE, and R2 between the predicted value and the actual value of the data density of the test set. The specific value of the constant mean function is determined by the dense mean value of the training set data; the hyperparameters in the rational quadratic covariance function are determined, and the hyperparameters α and l are adjusted through the block dichotomy strategy to continuously improve the score of the Gaussian process regression model. Improve the prediction result score of the model to the test set data to more than 90 points, and finally obtain an accurate SLM density prediction model. The calculation part of the Gaussian process regression model is solved by the computer through the existing program, but the hyperparameter test and modification part needs manual operation.
构建多元逐步回归模型。为进一步提升多元逐步回归模型的预测精度,本实施例中构建多元三阶逐步回归模型。根据已有的四项工艺参数,计算出各项的二阶平方项、二阶交叉项、三阶立方项与三阶交叉项,构造出包含全部一阶项、二阶项、三阶项的完整备选自变量。随后采用逐步回归的方法,引入新变量时,对已引入的自变量逐个进行显著性检验,将不显著的剔除,直至回归方程中不能引入新的自变量,同时也不能从回归方程中剔除任何一个自变量为止,完成多元三阶逐步回归模型的构建。多元三阶逐步回归模型的预测能力同样通过对测试集数据致密度预测值与实际值的MAE、RMSE、R2三项指标的结果进行评估。多元三阶逐步回归模型通过调整变量选取规则,优化模型,使多元三阶逐步回归模型对测试集预测结果的评分达到90分以上。多元三阶逐步回归模型的计算与逐步回归分析通过SPSS统计分析软件完成。Build a multiple stepwise regression model. In order to further improve the prediction accuracy of the multivariate stepwise regression model, a multivariate third-order stepwise regression model is constructed in this embodiment. According to the existing four process parameters, the second-order square term, the second-order cross term, the third-order cubic term and the third-order cross term are calculated, and a complex including all first-order terms, second-order terms and third-order terms is constructed. Complete alternative arguments. Then adopt the method of stepwise regression. When introducing new variables, carry out the significance test on the independent variables that have been introduced one by one, and eliminate the insignificant ones until no new independent variables can be introduced into the regression equation, and at the same time, no one can be eliminated from the regression equation. As far as one independent variable is concerned, the construction of the multivariate three-order stepwise regression model is completed. The predictive ability of the multivariate third-order stepwise regression model is also evaluated by the results of the three indicators of MAE, RMSE, and R2 between the predicted value and the actual value of the data density of the test set. The multivariate third-order stepwise regression model optimizes the model by adjusting the variable selection rules, so that the multivariate third-order stepwise regression model can score more than 90 points on the prediction results of the test set. The calculation and stepwise regression analysis of the multivariate third-order stepwise regression model were completed by SPSS statistical analysis software.
构建高斯过程回归-多元三阶逐步回归模型。将已经构建好的高斯过程回归模型与多元三阶逐步回归模型,通过加权的方式融合,通过程序循环遍历100次,精确求解精度在0.01的加权权重结构,获得预测能力更优、更稳定的高斯过程回归-多元三阶逐步回归模型。Build a Gaussian process regression-multivariate three-order stepwise regression model. The already constructed Gaussian process regression model and the multivariate third-order stepwise regression model are fused by weighting, and the program loops through 100 times to accurately solve the weighted weight structure with an accuracy of 0.01, and obtain a Gaussian with better predictive ability and more stability Process Regression - Multivariate three-order stepwise regression model.
将高斯过程回归-多元三阶逐步回归模型教与学算法相融合,通过教与学算法寻优。设置初始种群数量为100,循环200次,初始化种群,即为每个个体的四个输入赋初始值。将获得的高斯过程回归-多元三阶逐步回归模型作为适应度函数,输入工艺参数组,输出的致密度预测值作为适应度值,以适应度值的大小作为个体的优劣评价。种群不断经历“教”阶段与“学”阶段,不断更新,直到满足循环结束条件,完成教与学算法寻优过程,获得最大适应度值个体,进而获得最用性能及最优性能下的工艺参数,并将最优性能的工艺参数作为推荐工艺参数。重复运行10次,将获得10组不同的推荐工艺参数。针对10组推荐工艺参数,通过对激光功率与扫描速度进行分步筛选,根据设备实际的最大参数对工艺参数组进行分级,剔除不合适的推荐工艺参数,防止不合适的工艺参数对设备造成损伤。筛选后的工艺参数组则分为四类:①激光功率一级、扫描速度一级;②激光功率一级、扫描速度二级;③激光功率二级、扫描速度一级;④激光功率二级、扫描速度二级。四类推荐工艺参数从①到④的推荐程度逐步降低,四类工艺参数从①到④按从上往下的规则排列,作为筛选后的工艺参数。Integrate Gaussian process regression-multivariate third-order stepwise regression model teaching and learning algorithms, and optimize through teaching and learning algorithms. Set the initial population size to 100, cycle 200 times, and initialize the population, that is, assign initial values to the four inputs of each individual. The obtained Gaussian process regression-multivariate three-order stepwise regression model is used as the fitness function, input into the process parameter group, and the output density prediction value is used as the fitness value, and the size of the fitness value is used as the evaluation of the individual's pros and cons. The population continues to go through the "teaching" stage and the "learning" stage, and is constantly updated until the condition for the end of the cycle is met, the optimization process of the teaching and learning algorithm is completed, and the individual with the maximum fitness value is obtained, and then the process with the most usable performance and optimal performance is obtained. Parameters, and the process parameters with the best performance as the recommended process parameters. Repeat the operation 10 times, and 10 different recommended process parameters will be obtained. For 10 groups of recommended process parameters, through the step-by-step screening of laser power and scanning speed, the process parameter groups are classified according to the actual maximum parameters of the equipment, and inappropriate recommended process parameters are eliminated to prevent inappropriate process parameters from causing damage to the equipment . The screened process parameter groups are divided into four categories: ①Laser power level 1, scanning speed level 1; ②Laser power level 1, scanning speed level 2; ③Laser power level 2, scanning speed level 1; ④Laser power level 2 , Scanning speed two. The recommendation degree of the four types of recommended process parameters from ① to ④ is gradually reduced, and the four types of process parameters are arranged from ① to ④ according to the rule from top to bottom, as the screened process parameters.
最后对筛选后的工艺参数进行实际验证。筛选后的推荐工艺参数再进行实际验证,将筛选工艺参数输入设备进行打印并测试其性能进行验证。对于分步筛选后的工艺参数组,验证结果满意的工艺参数组,即为工业生产高性能SLM成形件的工艺参数组,将其收录至高性能SLM成形件的工业生产列表;验证不满意的工艺参数组,则将数据保存并增添至数据集,扩充数据集,重复步骤上述步骤,可获得新的推荐工艺参数。Finally, the actual verification of the screened process parameters was carried out. The screened and recommended process parameters are then actually verified, and the screened process parameters are input into the device for printing and its performance is tested for verification. For the process parameter groups after step-by-step screening, the process parameter groups with satisfactory verification results are the process parameter groups for industrial production of high-performance SLM formed parts, which are included in the list of industrial production of high-performance SLM formed parts; unsatisfactory processes are verified parameter group, save the data and add it to the data set, expand the data set, and repeat the above steps to obtain new recommended process parameters.
图4是本发明实施例提供的SLM成形性能预测与工艺参数优化系统架构图,如图4所示,包括:Fig. 4 is a system architecture diagram of SLM forming performance prediction and process parameter optimization provided by the embodiment of the present invention, as shown in Fig. 4, including:
参数数据集设计单元410,用于通过多步正交实验设计多组SLM工艺参数,并对设计的工艺参数进行实际制造,确定对应SLM成形件的性能,将设计的SLM工艺参数和对应的成形件性能汇总为数据集。The parameter data
回归模型训练单元420,用于基于所述数据集对高斯过程回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第一种映射关系;并基于所述数据集对多元逐步回归模型进行训练,得到SLM工艺参数与SLM成形件性能之间的第二种映射关系;所述第一种映射关系和第二种映射关系均用于对SLM成形件的性能进行预测。The regression
回归模型组合单元430,用于将训练好的高斯过程回归模型和训练好的多元逐步回归模型组合,得到SLM性能预测模型;其中,所述SLM性能预测模型将高斯过程回归模型和多元逐步回归模型的两个性能预测结果采用加权方式融合,所述加权方式的权重通过遍历方式确定。The regression
预测模型寻优单元440,用于通过教与学算法对所述SLM性能预测模型寻优,得到SLM成形件性能满足需求的多组推荐SLM工艺参数。The prediction
工艺参数筛选单元450,用于根据SLM工艺参数对设备使用寿命的影响对所述多组推荐SLM工艺参数进行分步筛选,得到对设备使用寿命损伤低且工艺参数稳定的多组SLM工艺参数。The process
工艺参数分组单元460,用于对分步筛选后的多组SLM工艺参数,进行实际制造对得到的SLM成形件性能进行验证,将性能达到预期标准的参数列入验证结果满意的工艺参数组,作为高性能SLM成形件的工艺参数组;将性能未达到预期标准的参数列入验证结果不满意的工艺参数组。The process
参数新推荐筛选单元470,用于将验证结果不满意的工艺参数组增加至所述数据集,更新数据集,重复高斯过程回归模型训练、多元逐步回归模型的训练、SLM工艺参数推荐和筛选过程,获得新筛选后的多组SLM工艺参数。The new parameter
可以理解的是,上述各个单元的详细功能实现可参见前述方法实施例中的介绍,在此不做赘述。It can be understood that, for the detailed function implementation of each of the above units, reference may be made to the introduction in the foregoing method embodiments, and details are not repeated here.
另外,本发明实施例提供了一种电子设备,其包括:存储器和处理器;In addition, an embodiment of the present invention provides an electronic device, which includes: a memory and a processor;
所述存储器,用于存储计算机程序;The memory is used to store computer programs;
所述处理器,用于当执行所述计算机程序时,实现上述实施例中的方法。The processor is configured to implement the methods in the foregoing embodiments when executing the computer program.
此外,本发明还提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现上述实施例中的方法。In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the methods in the above-mentioned embodiments are implemented.
基于上述实施例中的方法,本发明实施例提供了一种计算机程序产品,当计算机程序产品在处理器上运行时,使得处理器执行上述实施例中的方法。Based on the methods in the foregoing embodiments, an embodiment of the present invention provides a computer program product, which causes the processor to execute the methods in the foregoing embodiments when the computer program product runs on a processor.
基于上述实施例中的方法,本发明实施例还提供了一种芯片,包括一个或多个处理器以及接口电路。可选的,芯片还可以包含总线。其中:Based on the methods in the foregoing embodiments, an embodiment of the present invention further provides a chip, including one or more processors and an interface circuit. Optionally, the chip can also include a bus. in:
处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字通信器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该理器也可以是任何常规的处理器等。A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital communicator (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Various methods and steps disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
接口电路可以用于数据、指令或者信息的发送或者接收,处理器可以利用接口电路接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路发送出去。可选的,芯片还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。The interface circuit can be used for sending or receiving data, instructions or information, and the processor can process the data, instructions or other information received by the interface circuit, and can send the processing completion information through the interface circuit. Optionally, the chip further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。可选的,接口电路可用于输出处理器的执行结果。需要说明的,处理器、接口电路各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。应理解,上述方法实施例的各步骤可以通过处理器中的硬件形式的逻辑电路或者软件形式的指令完成。Optionally, the memory stores executable software modules or data structures, and the processor can execute corresponding operations by calling operation instructions stored in the memory (the operation instructions can be stored in the operating system). Optionally, the interface circuit can be used to output the execution result of the processor. It should be noted that the corresponding functions of the processor and the interface circuit can be realized by hardware design, software design, or a combination of software and hardware, which is not limited here. It should be understood that each step in the foregoing method embodiments may be implemented by logic circuits in the form of hardware or instructions in the form of software in the processor.
可以理解的是,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。此外,在一些可能的实现方式中,上述实施例中的各步骤可以根据实际情况选择性执行,可以部分执行,也可以全部执行,此处不做限定。It can be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any obligation for the implementation process of the embodiment of the present application. limited. In addition, in some possible implementation manners, the steps in the foregoing embodiments may be selectively executed according to actual conditions, may be partially executed, or may be completely executed, which is not limited here.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(cen tralprocessing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signalprocessor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (random access memory, RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or known in the art any other form of storage medium. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted via a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) , computer, server or data center for transmission. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)) and the like.
本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。It is easy for those skilled in the art to understand that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, All should be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310027291.2A CN116204998B (en) | 2023-01-09 | 2023-01-09 | SLM forming performance prediction and process parameter optimization method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310027291.2A CN116204998B (en) | 2023-01-09 | 2023-01-09 | SLM forming performance prediction and process parameter optimization method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116204998A true CN116204998A (en) | 2023-06-02 |
| CN116204998B CN116204998B (en) | 2025-07-29 |
Family
ID=86510566
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310027291.2A Active CN116204998B (en) | 2023-01-09 | 2023-01-09 | SLM forming performance prediction and process parameter optimization method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116204998B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107292029A (en) * | 2017-06-20 | 2017-10-24 | 重庆大学 | A Determination Method for Predicting Sheet Metal Forming Process Parameters Based on Forming Defects |
| WO2021007812A1 (en) * | 2019-07-17 | 2021-01-21 | 深圳大学 | Deep neural network hyperparameter optimization method, electronic device and storage medium |
| CN114970371A (en) * | 2022-06-21 | 2022-08-30 | 南京航空航天大学 | A Method of Predicting Deformation of Thin-walled Titanium Alloy Parts Formed by SLM Using GA-BP Neural Network |
| CN114997038A (en) * | 2022-04-28 | 2022-09-02 | 华中科技大学 | Selective laser melting area temperature prediction and variable parameter scanning method |
| CN115408939A (en) * | 2022-08-25 | 2022-11-29 | 南京航空航天大学 | A method for predicting the forming quality of memory alloys in additive manufacturing based on machine learning |
-
2023
- 2023-01-09 CN CN202310027291.2A patent/CN116204998B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107292029A (en) * | 2017-06-20 | 2017-10-24 | 重庆大学 | A Determination Method for Predicting Sheet Metal Forming Process Parameters Based on Forming Defects |
| WO2021007812A1 (en) * | 2019-07-17 | 2021-01-21 | 深圳大学 | Deep neural network hyperparameter optimization method, electronic device and storage medium |
| CN114997038A (en) * | 2022-04-28 | 2022-09-02 | 华中科技大学 | Selective laser melting area temperature prediction and variable parameter scanning method |
| CN114970371A (en) * | 2022-06-21 | 2022-08-30 | 南京航空航天大学 | A Method of Predicting Deformation of Thin-walled Titanium Alloy Parts Formed by SLM Using GA-BP Neural Network |
| CN115408939A (en) * | 2022-08-25 | 2022-11-29 | 南京航空航天大学 | A method for predicting the forming quality of memory alloys in additive manufacturing based on machine learning |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116204998B (en) | 2025-07-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112529301B (en) | Electricity consumption forecasting methods, equipment and storage media | |
| CN104679956B (en) | Consider the high speed pressure machine base Reliability-based Robust Design method of dynamic characteristic | |
| CN108304679A (en) | A kind of adaptive reliability analysis method | |
| CN114970396B (en) | CFD model correction method considering random and cognitive uncertainty | |
| CN116579069B (en) | Intelligent design method and device for temperature control strategy of large-volume concrete structures | |
| CN117236278A (en) | Chip production simulation method and system based on digital twin technology | |
| CN110837939A (en) | Power grid multi-target project screening method and system | |
| CN103699720A (en) | High-speed press slider mechanism size optimization method based on interval constraint violation degrees | |
| CN115204474A (en) | Recommended methods of production process parameters and related equipment, program products and storage media | |
| WO2022230736A1 (en) | Design aid device, design aid method, and design aid program | |
| CN116127695A (en) | A production line construction method and system based on comprehensive performance evaluation | |
| CN118818416A (en) | Intelligent electric energy meter state detection method and device based on power consumption collection terminal | |
| CN116822360A (en) | Power system frequency trajectory prediction method, device, medium and equipment | |
| CN112070162A (en) | Multi-class processing task training sample construction method, device and medium | |
| TWI778789B (en) | Recipe construction system, recipe construction method, computer readable recording media with stored programs, and non-transitory computer program product | |
| CN110796169A (en) | Attribute reduction method for neighborhood decision error rate integration | |
| CN116204998A (en) | SLM forming performance prediction and process parameter optimization method and system | |
| CN113807019A (en) | MCMC wind power simulation method based on improved scene classification and de-coarse-graining | |
| CN118519037A (en) | Abnormality detection method, abnormality detection device, electronic device, storage medium, and program product | |
| CN118862664A (en) | A packaging method for high-current vehicle-mounted high-frequency inductor | |
| CN118353079A (en) | Electric energy data processing method, device, computer equipment and storage medium | |
| CN117313474A (en) | Agent model-assisted mixed integer variable connecting rod structure optimization method | |
| CN114036062B (en) | Scrum agile software project evaluation method, device, electronic device and storage medium | |
| CN115274024A (en) | Method and device for predicting optimal performance of alloy and electronic equipment | |
| CN113569461A (en) | Harmonic oscillator design method based on improved artificial bee colony algorithm |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |