PINN model-based temperature online prediction and control method and device and storage medium

Through the online temperature prediction and control method based on the PINN model, the accuracy and complexity of temperature monitoring and control during laser metal deposition are solved, and the stability and accurate control of the molten pool temperature are achieved.

CN118536265APending Publication Date: 2024-08-23TSINGHUA UNIVERSITY
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410537680.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing technology is susceptible to interference from flying powder during online temperature monitoring and control during the laser metal deposition process, and the parameter debugging of the PID controller is complex, affecting the control effect.

Method used

Using the temperature online prediction and control method based on the PINN model, by establishing a physical information neural network model with three-dimensional coordinate points and time points as input and temperature as output, the model is trained and corrected to obtain accurate temperature prediction results, and based on the preset value Adjust process parameters to control molten pool temperature.

Benefits of technology

It achieves rapid and accurate monitoring and control of the temperature field during laser metal deposition, ensures the stability of the molten pool temperature during multi-layer deposition, and reduces the complexity and error of parameter debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536265A
    Figure CN118536265A
Patent Text Reader

Abstract

The invention discloses a PINN model-based temperature online prediction and control method and device in a laser metal deposition process and a storage medium, and the method comprises the steps: S1, building a PINN model for temperature prediction in the laser metal deposition process with a three-dimensional coordinate point and a time point as input and temperature as output, and training the PINN model, obtaining a trained PINN model for temperature prediction in the laser metal deposition process; s2, the trained PINN model for temperature prediction in the laser metal deposition process is corrected according to the obtained real-time temperature data, and the corrected PINN model for temperature prediction in the laser metal deposition process is obtained; s3, the obtained three-dimensional coordinate value and time value of the layer to be deposited are input into the corrected PINN model for temperature prediction in the laser metal deposition process, and a temperature prediction result is obtained; s4, process parameters for preparing the to-be-deposited layer are determined according to the temperature prediction result and a preset temperature value, so that the temperature of the to-be-deposited layer is controlled to meet the preset temperature value; and repeating the steps S2 to S4.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of metal deposition technology and neural network technology, and in particular to a temperature online prediction and control method, device and storage medium based on a PINN model. Background Art

[0002] Laser metal deposition is a metal surface modification technology that adds deposition materials to the surface of the substrate and uses a high-energy-density laser beam to melt it together with a thin layer on the surface of the substrate. After cooling, a metallurgically bonded deposition layer is formed on the surface of the base layer. The high-energy-density local heat input during laser metal deposition will produce drastic temperature changes in the parts, thereby affecting the morphology of the deposition layer, the microstructure of the material, and the stress and strain inside the parts. Therefore, it is of great significance to monitor and control the temperature of the laser metal deposition process online. At present, online temperature monitoring of the laser metal deposition process generally adopts image monitoring technology based on computer vision, and uses infrared thermal imagers, infrared cameras and other non-contact infrared sensors and other equipment to achieve temperature detection. And on the basis of online temperature monitoring of the laser metal deposition process, temperature control is currently usually achieved using a PID controller.

[0003] In the prior art, when infrared thermal imagers, infrared cameras and other non-contact infrared sensors are used to detect the temperature of the laser metal deposition process, they are easily disturbed by the splashing powder during the metal deposition process, and it is difficult to obtain accurate values ​​of the emissivity of the deposited material at different temperatures and in different states, which can easily cause inaccurate detection. In addition, when using PID controllers and other devices to control the temperature of online monitoring results, the selection of parameters requires repeated debugging, and the selection of parameters will significantly affect the control effect of the controller. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the first purpose of the present invention is to propose an online temperature prediction and control method for the laser metal deposition process based on the PINN model, which can quickly and accurately obtain the temperature prediction result, realize the effective monitoring of the temperature field of the laser metal deposition process, and accurately control the process parameters of the layer to be deposited, thereby controlling the temperature of the molten pool to remain stable during the multi-layer laser metal deposition process.

[0005] The second object of the present invention is to provide an online temperature prediction and control device for the laser metal deposition process based on the PINN model.

[0006] A third object of the present invention is to provide a non-transitory computer-readable storage medium.

[0007] In order to achieve the above-mentioned purpose, the temperature online prediction and control method of the laser metal deposition process based on the PINN model proposed in the embodiment of the first aspect of the present invention includes: step S1, establishing a PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and training the PINN model for temperature prediction of the laser metal deposition process to obtain the trained PINN model for temperature prediction of the laser metal deposition process; step S2, obtaining real-time temperature data of the laser deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain the corrected PINN model for temperature prediction of the laser metal deposition process; step S3, obtaining the three-dimensional coordinate value and time value of the layer to be deposited, inputting the three-dimensional coordinate value and the time value into the corrected PINN model for temperature prediction of the laser metal deposition process and obtaining a temperature prediction result; step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value; and repeating the steps S2 to S4.

[0008] According to the temperature online prediction and control method of the laser metal deposition process based on the PINN model proposed in the embodiment of the present invention, firstly, based on the physical information neural network model, a PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output is established and trained, and the trained PINN model for temperature prediction of the laser metal deposition process is corrected according to the real-time temperature data, so that the temperature predicted by the model is closer to the actual experimental situation; after the three-dimensional coordinate values ​​and time values ​​are input into the corrected model, the temperature prediction results can be obtained quickly and accurately, thereby realizing effective monitoring of the temperature field of the laser metal deposition process. In addition, the obtained temperature prediction results are compared with the preset temperature values ​​to further determine the process parameters for preparing the layer to be deposited, which can realize accurate control of the process parameters for preparing the layer to be deposited, thereby controlling the temperature of the molten pool to remain stable during the multi-layer laser metal deposition process.

[0009] In some embodiments of the present invention, step S1, establishing a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and training the PINN model for temperature prediction of the laser metal deposition process to obtain the trained PINN model for temperature prediction of the laser metal deposition process, includes: obtaining a three-dimensional geometric model domain and a time domain of the laser metal deposition process, and uniformly sampling in the three-dimensional geometric model domain and the time domain to obtain a sufficient number of three-dimensional coordinate points and time points as sampling points for training a neural network, and obtaining partial differential equation terms, boundary condition terms and initial condition terms of the temperature field of the laser metal deposition process; using the partial differential equation terms, the boundary condition terms and the initial condition terms as loss function terms, taking the three-dimensional coordinate points and the time points as input and the temperature corresponding to the three-dimensional coordinate points and the time points as output, to establish the PINN model for temperature prediction of the laser metal deposition process; iteratively optimizing the parameters of the hidden layer of the feedforward neural network of the PINN model for temperature prediction of the laser metal deposition process to obtain the trained PINN model for temperature prediction of the laser metal deposition process.

[0010] In some embodiments of the present invention, step S2, obtaining real-time temperature data of the laser metal deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process, includes: obtaining an experimental temperature curve of the temperature field of the laser metal deposition process; correcting the trained PINN model for temperature prediction of the laser metal deposition process based on the experimental temperature curve to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

[0011] In some embodiments of the present invention, the trained PINN model for temperature prediction of the laser metal deposition process is corrected based on the experimental temperature curve to obtain the corrected PINN model for temperature prediction of the laser metal deposition process, including: substituting the experimental temperature curve into the trained PINN model for temperature prediction of the laser metal deposition process to obtain a high-fidelity model; based on a transfer learning method, correcting the high-fidelity model according to the trained PINN model for temperature prediction of the laser metal deposition process to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

[0012] In some embodiments of the present invention, based on the transfer learning method, the high-fidelity model is corrected according to the trained PINN model for temperature prediction of the laser metal deposition process to obtain a corrected PINN model for temperature prediction of the laser metal deposition process, including: obtaining the parameters of the hidden layer of the feedforward neural network of the trained PINN model for temperature prediction of the laser metal deposition process; according to the parameters of the hidden layer of the feedforward neural network of the trained PINN model for temperature prediction of the laser metal deposition process, adjusting the parameters of the last two layers of the hidden layer of the feedforward neural network of the high-fidelity model to obtain the corrected PINN model for temperature prediction of the laser metal deposition process.

[0013] In some embodiments of the present invention, step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value, includes: comparing the temperature prediction result with the preset temperature value, determining that the temperature prediction result meets the preset temperature condition, and outputting the process parameters for preparing the layer to be deposited.

[0014] In some embodiments of the present invention, step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value to control the temperature of the layer to be deposited to meet the preset temperature value, also includes: comparing the temperature prediction result with the preset temperature value, determining that the temperature prediction result does not meet the preset temperature condition, adjusting the process parameters for preparing the layer to be deposited and obtaining adjusted process parameters; inputting the adjusted process parameters into the revised PINN model for temperature prediction of the laser metal deposition process, and repeating step S3 until the temperature prediction result meets the preset temperature condition.

[0015] In some embodiments of the present invention, the process parameters include laser power value and scanning speed.

[0016] In order to achieve the above-mentioned purpose, the second aspect of the present invention proposes an online temperature prediction and control device for a laser metal deposition process based on a PINN model, comprising: a model establishment module, used to establish a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and train the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process; a model correction module, used to obtain real-time temperature data of a laser metal deposition experiment, and correct the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process; a temperature prediction module, used to obtain a three-dimensional coordinate value and a time value of a layer to be deposited, input the three-dimensional coordinate value and the time value into the corrected PINN model for temperature prediction of the laser metal deposition process and obtain a temperature prediction result; a temperature control module, used to determine a process parameter for preparing the layer to be deposited according to the temperature prediction result and a preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value.

[0017] According to the computer program for online prediction and control of temperature in the laser metal deposition process based on the PINN model proposed in the embodiment of the present invention, firstly, the model building module can establish and train the PINN model for temperature prediction in the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output based on the physical information neural network model, and the model correction module corrects the trained PINN model for temperature prediction in the laser metal deposition process according to the real-time temperature data, so that the temperature predicted by the model is closer to the actual experimental situation; after the three-dimensional coordinate value and time value are input into the corrected model, the temperature prediction module can quickly and accurately obtain the temperature prediction result, thereby realizing the effective monitoring of the temperature field in the laser metal deposition process. Furthermore, the temperature control module can compare the temperature prediction result with the preset temperature value, and then determine the process parameters for preparing the layer to be deposited, so as to realize the accurate control of the process parameters for preparing the layer to be deposited, so as to always control the temperature of the molten pool to remain stable during the multi-layer laser metal deposition process.

[0018] In order to achieve the above-mentioned objectives, the third aspect of the present invention proposes a non-temporary computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for online temperature prediction and control of the laser metal deposition process based on the PINN model as described in any one of the above items is implemented.

[0019] According to the non-temporary computer-readable storage medium proposed in an embodiment of the present invention, when the computer program is executed by the processor, by implementing the temperature prediction method of the laser metal deposition process based on the PINN model as in any of the above embodiments, the temperature prediction result can be obtained quickly and accurately, thereby realizing effective monitoring of the temperature field of the metal deposition process, and accurately controlling the process parameters of the layer to be deposited, thereby controlling the temperature of the molten pool to remain stable during the multi-layer laser metal deposition process.

[0020] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0022] Figure 1 A flowchart of a method for online temperature prediction and control of a laser metal deposition process based on a PINN model according to an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of the structure of a PINN model for temperature prediction in a laser metal deposition process according to an embodiment of the present invention;

[0024] Figure 3 A flowchart of a method for online temperature prediction and control of a laser metal deposition process based on a PINN model according to another embodiment of the present invention;

[0025] Figure 4 A flowchart of a method for online temperature prediction and control of a laser metal deposition process based on a PINN model according to yet another embodiment of the present invention;

[0026] Figure 5 The block diagram is a device for online temperature prediction and control in a laser metal deposition process based on a PINN model according to an embodiment of the present invention.

[0027] Reference numerals:

[0028] Temperature online prediction and control device for laser metal deposition process based on PINN model 10;

[0029] Model building module 1, model correction module 2, temperature prediction module 3, temperature control module 4. DETAILED DESCRIPTION

[0030] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.

[0031] In the prior art, online temperature monitoring of the laser metal deposition process generally adopts image monitoring technology based on computer vision. For example, by using non-contact infrared sensors such as infrared thermal imagers and infrared cameras, the infrared radiation of the object to be measured is measured, and the heat distribution data of the object is converted into a visible image through means such as photoelectric conversion and signal processing, thereby obtaining the temperature of the surface of the object. Artificial neural networks based on data drive are often used to analyze and process the temperature images obtained by infrared sensors. By using deep neural networks to extract the characteristics of the molten pool, a lot of information such as the width, length, and melting state of the molten pool can be obtained. In the prior art, on the basis of online temperature monitoring of the laser metal deposition process, temperature control is currently usually achieved by using a PID controller. The temperature or molten pool data obtained by online monitoring is used as the input of the PID controller to adjust the process parameters such as the laser power and scanning rate of the deposition process, thereby reducing the heat accumulation in the multi-layer deposition process and ensuring the stability of the temperature and morphology of each deposition layer. In recent years, data-driven machine learning algorithms have also been used for temperature control of the deposition process. By learning the corresponding relationship between different process parameters and the heat accumulation state of the deposition layer, the deep learning framework can adjust the process parameters of the subsequent forming process according to the temperature and state of the previous deposition layer.

[0032] In the above content, the existing online monitoring of the temperature of the laser metal deposition process is mainly achieved by infrared sensing equipment. Since this type of equipment relies on the principle of infrared radiation for temperature measurement, it is easily disturbed by the splashing powder during the metal deposition process during measurement, and it is difficult to obtain accurate values ​​of the emissivity of the deposited material at different temperatures and in different states, so the measured temperature field will have a large error. Other temperature measurement methods that are not affected by powder splashing and emissivity, such as two-color thermometers, can only measure the temperature change curve of one or a few points, and cannot obtain the overall temperature distribution of the workpiece. As for the method of providing features using images obtained by infrared sensors, it usually relies on data-driven neural networks. Therefore, this method requires a large number of data sets to train the neural network, and the accuracy of feature extraction is closely related to the training effect. In practical applications, it is difficult and time-consuming to obtain data sets. In addition, in terms of temperature control based on online monitoring results, machine learning such as PID controllers is mainly used to achieve it. The selection of PID controller parameters requires repeated debugging and is highly dependent on the user's experience, and the selection of parameters will significantly affect the control effect of the controller. And because machine learning relies on a large number of data sets for training, the lack of training data is a major factor restricting the application of this method.

[0033] Based on the above, an embodiment of the present invention proposes an online prediction and control method for the temperature of a laser metal deposition process based on a PINN model, which can effectively solve the above problems. By establishing a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinates and time as input and temperature as output, the training process of the PINN model for temperature prediction of the laser metal deposition process does not require the use of a PID controller or network training based on a data set. Not only can the distribution of the temperature field be obtained quickly and accurately during the laser metal deposition process, but the current temperature field can also be used to adjust and optimize subsequent process parameters, thereby realizing online prediction and control of the temperature of the laser metal deposition process.

[0034] Reference below Figure 1-Figure 4 The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to an embodiment of the present invention is described. Figure 1 As shown, it is a flow chart of a method for online temperature prediction and control of a laser metal deposition process based on a PINN model according to an embodiment of the present invention, wherein the method for online temperature prediction and control of a laser metal deposition process based on a PINN model includes at least steps S1 to S4, which are specifically as follows.

[0035] Step S1, establishing a PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and training the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process.

[0036] In some embodiments, a PINN model for temperature prediction during laser metal deposition is first established. The PINN model for temperature prediction during laser metal deposition is implemented based on a physical information neural network (PINN). The physical information neural network model adds physical equations as restrictions to the neural network so that the training results meet the physical laws, that is, by adding the difference before and after the iteration of the physical equation to the loss function of the neural network, the physical equation is also "involved" in the training process. Therefore, during the training iteration, the neural network optimizes not only the loss function of the network itself, but also the difference of each iteration of the physical equation, so that the final training results can meet the physical laws.

[0037] The PINN model for temperature prediction of the laser metal deposition process of the embodiment of the present invention is used to realize online prediction and control of the temperature field of the laser metal deposition process. The embodiment of the present invention first constructs a PINN model that can accurately predict the temperature of the laser metal deposition process. The model can accurately predict the temperature field of the laser metal deposition process, and input any spatial coordinate point and time point into the model, that is, the temperature value of the point at that moment can be output.

[0038] Based on the above principle, the three-dimensional geometric model domain and time domain of the laser metal deposition process can be obtained first, and a sufficient number of three-dimensional coordinate points and time points can be uniformly sampled in the three-dimensional geometric model domain and time domain as sampling points for training the neural network, and the partial differential equation terms, boundary condition terms and initial condition terms of the temperature field of the laser metal deposition process can be obtained. The partial differential equation terms, boundary condition terms and initial condition terms are used as loss function terms, the three-dimensional coordinate points and time points are used as input, and the temperature corresponding to the three-dimensional coordinate points and time points is used as output to establish a PINN model for temperature prediction of the laser metal deposition process.

[0039] Specifically, the input of the PINN model for temperature prediction during the laser metal deposition process can be set as a three-dimensional coordinate point (x, y, z) and a time point t, and the output is temperature T. The loss function term includes a partial differential equation term, a boundary condition term, and an initial condition term. For the laser metal deposition process, the partial differential equation is the heat conduction differential equation in the heat transfer theory, and the boundary condition is the convection heat transfer and radiation heat transfer equation in the heat transfer theory. The boundary condition of the embodiment of the present invention is the convection heat transfer and radiation heat transfer boundary conditions of each surface. The initial condition is that the temperature field of the entire workpiece is uniform room temperature. The partial differential equation term, the boundary condition term, and the initial condition term are respectively set to the mean square error of the values ​​of their corresponding equations. In addition, the geometric parameters, material parameters, and process parameters in the PINN model for temperature prediction during the laser metal deposition process are set to be the same as the experimental conditions.

[0040] Furthermore, the parameters of the hidden layer of the feedforward neural network of the PINN model for temperature prediction of the laser metal deposition process are iteratively optimized to obtain a trained PINN model for temperature prediction of the laser metal deposition process.

[0041] The following can be combined Figure 2 Understand the training process of the PINN model for temperature prediction in the laser metal deposition process according to the embodiment of the present invention, Figure 2 Schematic diagram of the structure of a PINN model for temperature prediction during laser metal deposition according to an embodiment of the present invention.

[0042] like Figure 2 As shown in the figure, the input of the PINN model for temperature prediction in the laser metal deposition process is the three-dimensional coordinate point (x, y, z) and the time point t, and the output is the temperature T. The loss function value is calculated by automatically differentiating the output temperature T based on the loss function term. Specifically, the loss function term includes the partial differential equation term, the boundary condition term and the initial condition term, where L pde , L bc and L init are partial differential equation terms, boundary condition terms and initial condition terms respectively, λ pde , bc and λ initThe partial differential equation terms L pde , boundary condition term L bc and the initial condition term L init The weight coefficient is Loss, and Loss is the loss function value. When the constructed PINN model for temperature prediction of laser metal deposition process is trained, the training method is to iteratively optimize the parameters of the hidden layer of the feedforward neural network of the PINN model for temperature prediction of laser metal deposition process, so that the loss function value is constantly approaching 0. As the training progresses, the predicted temperature field, that is, the temperature prediction result, will be closer and closer to the theoretical value, which is the solution of the partial differential equation. When the number of training times is large enough, the network will output an accurate temperature prediction value.

[0043] It is understandable that in the actual training process, the number of iterations is usually used as the training standard. For example, when the number of iterations reaches 10,000, the training is completed and the trained PINN model for temperature prediction of the laser metal deposition process is obtained. Figure 2 As shown, it can also be set to a fixed value ε, the value of ε can be set as needed, and no specific limitation is made here. For example, ε can be set to 10 -1 , when it is determined that Loss < ε is set, the training is confirmed to be completed, and the trained PINN model for temperature prediction in the laser metal deposition process is obtained. Based on the above, it can be seen that the PINN model for temperature prediction in the laser metal deposition process of the embodiment of the present invention introduces the equations characterizing the physical process and the initial and boundary conditions into the loss function, so there is no need to rely on the data set for training.

[0044] It can be understood that since the process parameters and material parameters used in the PINN model for temperature prediction during laser metal deposition are consistent with the experimental conditions, after the PINN model for temperature prediction during laser metal deposition is trained, the predicted temperature of each point of the workpiece at each moment can be obtained by inputting the spatial point coordinates and time points. And since the physical formulas such as the partial differential equations, boundary conditions, and initial conditions of the deposition process are embedded in the loss function when establishing the PINN model for temperature prediction during laser metal deposition, there is no need to rely on the data set in the process of training the PINN model for temperature prediction during laser metal deposition, and a temperature field close to the theoretical value can be output after the training is completed.

[0045] Step S2, acquiring real-time temperature data of the laser metal deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

[0046] In order to ensure that the predicted temperature is more consistent with the actual temperature in the experiment, a two-color thermometer can be used to measure the temperature curve of a certain point on the workpiece, and the temperature curve data can be substituted as a supervision point into the trained PINN model for temperature prediction of the laser metal deposition process for correction. In this way, the corrected PINN model for temperature prediction of the laser metal deposition process can output a temperature field that is more consistent with the actual temperature, thereby realizing the online prediction of the temperature field of the deposition process.

[0047] Step S3, obtaining the three-dimensional coordinate value and time value of the layer to be deposited, inputting the three-dimensional coordinate value and time value into the modified PINN model for temperature prediction of the laser metal deposition process and obtaining the temperature prediction result.

[0048] Specifically, before preparing any metal deposition layer, the three-dimensional coordinate value and time value of the layer to be deposited are input into the corrected high-fidelity model, that is, the corrected PINN model for temperature prediction of the laser metal deposition process, to predict the temperature field of the layer and obtain the temperature prediction result. Usually, the output temperature prediction result is consistent with the theoretical result and close to the experimental process.

[0049] Step S4, determining the process parameters for preparing the to-be-deposited layer according to the temperature prediction result and the preset temperature value, so as to control the temperature of the to-be-deposited layer to meet the preset temperature value.

[0050] The process parameters include laser power and scanning speed, and the laser power is used as an example for description.

[0051] It can be understood that after using the corrected high-fidelity model, that is, the corrected PINN model for temperature prediction of the laser metal deposition process, to predict the temperature field of the next layer and obtaining the temperature prediction result, it is necessary to determine whether the predicted temperature field meets the requirements.

[0052] Thus, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value to control the temperature of the layer to be deposited to meet the preset temperature value may include: comparing the temperature prediction result with the preset temperature value, determining that the temperature prediction result meets the preset temperature condition, and outputting the process parameters for preparing the layer to be deposited. It can be understood that the preset temperature value can be set as needed, and no specific restrictions are made here. The preset temperature value can be a real value or a temperature range. When determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, the obtained temperature prediction result can be compared with the preset temperature value. When it is determined that the temperature prediction result is not greater than or less than the preset temperature value, or the temperature prediction result is within the temperature range specified by the preset temperature value, it is confirmed that the temperature prediction result meets the requirements, then it is considered that the process parameters are appropriate, and the layer to be deposited can be prepared according to the process parameters corresponding to the temperature prediction result.

[0053] And, in some other embodiments, the process parameters for preparing the layer to be deposited are determined according to the temperature prediction result and the preset temperature value to control the temperature of the layer to be deposited to meet the preset temperature value, and further include: comparing the temperature prediction result with the preset temperature value, determining that the temperature prediction result does not meet the preset temperature condition, adjusting the process parameters for preparing the layer to be deposited and obtaining the adjusted process parameters. The adjusted process parameters are input into the modified PINN model for temperature prediction of the laser metal deposition process, and step S3 is repeatedly performed until the temperature prediction result meets the preset temperature condition.

[0054] It can be understood that the temperature prediction result can be compared with the preset temperature value in the above manner and judged. When it is confirmed that the temperature prediction result does not meet the requirements, for example, the temperature field is too high or too low, it is considered that the process parameters are inappropriate, and the layer to be deposited cannot be prepared according to the process parameters corresponding to the temperature prediction result. The process parameters in the PINN model for temperature prediction of the laser metal deposition process can be directly adjusted accordingly, and the PINN model for temperature prediction of the laser metal deposition process after the adjusted process parameters is used to re-predict until the predicted temperature field meets the requirements, and the process parameters for preparing the layer to be deposited are output, and then the layer to be deposited can be prepared according to the process parameters corresponding to the temperature prediction result obtained after the adjustment.

[0055] The temperature online prediction and control method of the laser metal deposition process based on the PINN model in the embodiment of the present invention can quickly and accurately obtain the temperature field of the laser metal deposition process by using the PINN model to predict the temperature of each deposition layer, thereby realizing the online prediction of the temperature field of the metal deposition process; and by directly modifying the power value in the model for multiple predictions, it is possible to intuitively and conveniently obtain the laser power value required for the subsequent layer, thereby effectively controlling the temperature stability of the multi-layer deposition process.

[0056] Finally, in the process of depositing the metal layer, for any layer to be deposited, the laser power value prepared in the laser metal deposition experiment is adjusted to the laser power value output in step S4. Moreover, before preparing each layer to be deposited, steps S2 to S4 are repeated, that is, before preparing each layer of metal deposition, the temperature field needs to be accurately predicted, and then the corresponding laser power value is obtained until the metal is deposited to the last layer.

[0057] According to the temperature online prediction and control method of the laser metal deposition process based on the PINN model proposed in the embodiment of the present invention, firstly, based on the physical information neural network model, a PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output is established and trained, and the trained PINN model for temperature prediction of the laser metal deposition process is corrected according to the real-time temperature data, so that the temperature predicted by the model is closer to the actual experimental situation; after the three-dimensional coordinate values ​​and time values ​​are input into the corrected model, the temperature prediction results can be obtained quickly and accurately, thereby realizing the online prediction of the temperature field of the laser metal deposition process. Further, the process parameters for preparing the layer to be deposited are determined according to the temperature prediction results, and the temperature of the molten pool is controlled to remain stable during the multi-layer laser metal deposition process by accurately controlling the process parameters for preparing the layer to be deposited.

[0058] In some embodiments of the present invention, Figure 3 As shown, it is a flow chart of a temperature prediction method for a laser metal deposition process based on a PINN model according to another embodiment of the present invention, wherein step S2, obtaining actual temperature data, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the actual temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process, at least includes step S21 and step S22, as follows.

[0059] S21, obtaining an experimental temperature curve of the temperature field of the laser metal deposition experiment.

[0060] In the process of laser metal deposition experiment, the temperature curve of a certain point in the current layer can be measured by a two-color thermometer, which is also the experimental temperature curve. Since the two-color thermometer uses the ratio of the infrared radiation energy of the two bands of the adjacent channel to determine the temperature, the temperature measurement result will not be affected by the change of emissivity and the surface state of the workpiece, and the temperature measurement result is relatively accurate.

[0061] S22, based on the experimental temperature curve, the trained PINN model for temperature prediction of the laser metal deposition process is corrected to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

[0062] Among them, the experimental temperature curve can be first substituted into the trained PINN model for temperature prediction of the laser metal deposition process to obtain a high-fidelity model. It can be understood that the temperature curve of a certain point measured by the two-color thermometer can be substituted into the trained PINN model for temperature prediction of the laser metal deposition process as a supervision point to correct the model and obtain a high-fidelity model. Then, based on the transfer learning method, the high-fidelity model is corrected according to the trained PINN model for temperature prediction of the laser metal deposition process to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

[0063] Specifically, transfer learning can be understood as migrating the parameters of a trained model, that is, a trained PINN model for temperature prediction during laser metal deposition, to a new model, that is, a high-fidelity model, to help train the high-fidelity model. Considering that most data or tasks are related, through transfer learning, the model parameters that have been learned in the trained PINN model for temperature prediction during laser metal deposition (which can also be understood as the knowledge learned by the model) can be shared with the high-fidelity model in some way to speed up and optimize the learning efficiency of the model without having to learn from scratch.

[0064] The transfer learning of the embodiments of the present invention can be carried out by freezing some hidden layers of the pre-trained model (usually the majority of convolutional layers close to the input, because these layers retain a large amount of underlying information) or not freezing any network layers and training the remaining hidden layers (usually some convolutional layers close to the output) or fully connected layers.

[0065] Specifically, the parameters of the hidden layer of the feedforward neural network of the trained PINN model for temperature prediction of the laser metal deposition process can be first obtained; according to the parameters of the hidden layer of the feedforward neural network of the trained PINN model for temperature prediction of the laser metal deposition process, the parameters of the last two layers of the hidden layer of the feedforward neural network of the high-fidelity model are adjusted to obtain a revised PINN model for temperature prediction of the laser metal deposition process.

[0066] Based on the transfer learning method, the parameters of the hidden layer of the feedforward neural network of the trained PINN model for temperature prediction in the laser metal deposition process are used to initialize the parameters of the hidden layer of the feedforward neural network of the high-fidelity model to obtain the revised PINN model for temperature prediction in the laser metal deposition process. In addition, the network parameters of the first few layers are fixed during the training process, and only the network parameters of the last two layers in the high-fidelity model are fine-tuned, so that while maintaining the characteristics of the original model, the influence of experimental data is added, so that the temperature prediction results obtained by the revised PINN model for temperature prediction in the laser metal deposition process are more consistent with the experimental situation, and the online prediction of the temperature of the metal deposition process is realized. At the same time, in the process of model correction, the use of transfer learning can greatly reduce the number of parameters that need to be optimized in the high-fidelity model, significantly improving the efficiency of model training.

[0067] Based on the above, the temperature prediction method of the laser metal deposition process based on the PINN model in the embodiment of the present invention can directly adjust the process parameters such as laser power and scanning speed set in the PINN model and re-correct them, and then re-predict the temperature field of the subsequent layer. The process parameters can be optimized through repeated adjustment-correction-prediction process without the use of a PID controller or network training based on a data set.

[0068] In some embodiments of the present invention, Figure 4 As shown, it is a flow chart of a method for online temperature prediction and control of a laser metal deposition process based on a PINN model according to another embodiment of the present invention, wherein the method for online temperature prediction and control of a laser metal deposition process based on a PINN model may include steps S101-S111, which are specifically as follows.

[0069] S101, constructing a PINN model for temperature prediction during laser metal deposition;

[0070] The PINN model for temperature prediction during laser metal deposition is trained to obtain a trained PINN model for temperature prediction during laser metal deposition as in step S102.

[0071] S103, using a two-color thermometer to detect an experimental temperature curve of the temperature field of the laser metal deposition experiment.

[0072] Furthermore, based on the transfer learning method, the trained PINN model for temperature prediction in the laser metal deposition process is corrected according to the experimental temperature curve, and finally step S104, the corrected PINN model is obtained.

[0073] The temperature prediction is performed using the modified PINN model for temperature prediction in the laser metal deposition process to obtain step S105, a temperature prediction result. Steps S101 to S105 are an online temperature prediction process.

[0074] S106, determine whether the temperature prediction result meets the preset temperature condition. If so, execute step S107 to output the laser power value; if not, execute step S108 to adjust the laser power value, and input the adjusted laser power value into the modified PINN model of step S104, and repeat steps S104-S108 until the temperature prediction result meets the preset temperature condition.

[0075] Also, before preparing the next layer to be deposited, the trained PINN model for temperature prediction of the laser metal deposition process needs to be revised again, and steps S103 to S108 need to be re-executed to obtain the appropriate laser power value until the metal is deposited to the last layer. Among them, steps S104 to S108 are the temperature control process.

[0076] Based on the above, the temperature online prediction and control method of the laser metal deposition process based on the PINN model of the embodiment of the present invention adopts the transfer learning method and uses the experimental temperature measurement data of a certain point to correct the trained PINN model of temperature prediction of the laser metal deposition process, so that the model output temperature value is consistent with the theoretical result and is closer to the experimental process. The use of transfer learning significantly improves the training efficiency of the correction process, thereby realizing the online prediction of the temperature field efficiently and accurately. In addition, according to the temperature prediction results under different conditions, the subsequent process parameters can be intuitively adjusted to control the temperature of the subsequent layer.

[0077] In addition, based on the relatively accurate online prediction of the temperature field during laser metal deposition, this method can also directly calculate the molten pool characteristics through the temperature prediction results. For example, this method can directly output the temperature of each point on the workpiece at each moment during the deposition process, and then directly determine the morphology of the molten pool through the solidus and liquidus temperatures of the material, so there is no need to extract features from the image.

[0078] In some embodiments of the present invention, a device for online prediction and control of temperature in a laser metal deposition process based on a PINN model is also proposed. Figure 5 As shown, it is a block diagram of an online temperature prediction and control device for a laser metal deposition process based on a PINN model according to an embodiment of the present invention, wherein the online temperature prediction and control device 10 for a laser metal deposition process based on a PINN model includes a model building module 1, a model correction module 2, a temperature prediction module 3 and a temperature control module 4.

[0079] Among them, the model building module 1 is used to establish a PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and train the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process. The model correction module 2 is used to obtain real-time temperature data of the laser metal deposition experiment, and correct the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process. The temperature prediction module 3 is used to obtain the three-dimensional coordinate value and time value of the layer to be deposited, input the three-dimensional coordinate value and time value into the corrected PINN model for temperature prediction of the laser metal deposition process and obtain the temperature prediction result. The temperature control module 4 is used to determine the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value.

[0080] According to the temperature online prediction and control device 10 of the laser metal deposition process based on the PINN model proposed in the embodiment of the present invention, firstly, the model building module 1 can establish and train the PINN model for temperature prediction of the laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output based on the physical information neural network model, and the model correction module 2 corrects the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data, so that the temperature predicted by the model is closer to the actual experimental situation; after the three-dimensional coordinate value and time value are input into the corrected model, the temperature prediction module 3 can quickly and accurately obtain the temperature prediction result, thereby realizing the online prediction of the temperature field of the laser metal deposition process. Furthermore, the temperature control module 4 can determine the process parameters for preparing the layer to be deposited according to the temperature prediction result, and through the accurate control of the process parameters for preparing the layer to be deposited, the temperature of the molten pool is controlled to remain stable during the multi-layer laser metal deposition process.

[0081] In some embodiments of the present invention, a non-temporary computer-readable storage medium is also proposed, on which a computer program is stored. When the computer program is executed by a processor, a temperature prediction method for a laser metal deposition process based on a PINN model as described in any one of the first aspect embodiments above is implemented.

[0082] According to the non-temporary computer-readable storage medium proposed in an embodiment of the present invention, when the computer program is executed by the processor, by implementing the temperature prediction method of the laser metal deposition process based on the PINN model as in any of the above embodiments, the temperature prediction result can be obtained quickly and accurately, thereby realizing effective monitoring of the temperature field of the metal deposition process, and accurately controlling the process parameters of the layer to be deposited, thereby controlling the temperature of the molten pool to remain stable during the multi-layer laser metal deposition process.

[0083] Other structures and operations of the temperature online prediction and control device 10 for the laser metal deposition process based on the PINN model proposed in the embodiment of the present invention are known to those skilled in the art and will not be described in detail here.

[0084] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.

[0085] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A temperature online prediction and control method for laser metal deposition process based on PINN model, characterized in that: include: Step S1, establishing a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinate points and time points as inputs and temperature as outputs, and training the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process; Step S2, acquiring real-time temperature data of the laser metal deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process; Step S3, obtaining the three-dimensional coordinate value and time value of the layer to be deposited, inputting the three-dimensional coordinate value and the time value into the modified PINN model for temperature prediction of the laser metal deposition process and obtaining the temperature prediction result; Step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value; Repeat the steps S2 to S4.

2. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 1 is characterized in that: Step S1, establishing a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinate points and time points as input and temperature as output, and training the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process, including: Acquire a three-dimensional geometric model domain and a time domain of the laser metal deposition process, and uniformly sample in the three-dimensional geometric model domain and the time domain to obtain a sufficient number of three-dimensional coordinate points and time points as sampling points for training the neural network, and acquire partial differential equation terms, boundary condition terms, and initial condition terms of the temperature field of the laser metal deposition process; The partial differential equation term, the boundary condition term and the initial condition term are used as loss function terms, the three-dimensional coordinate point and the time point are used as input, and the temperature corresponding to the three-dimensional coordinate point and the time point is used as output to establish a PINN model for temperature prediction of the laser metal deposition process; The parameters of the hidden layer of the feedforward neural network of the PINN model for temperature prediction of the laser metal deposition process are iteratively optimized to obtain a trained PINN model for temperature prediction of the laser metal deposition process.

3. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 2 is characterized in that: Step S2, acquiring real-time temperature data of the laser metal deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process, including: Acquiring an experimental temperature curve of the temperature field of the laser metal deposition experiment; The trained PINN model for temperature prediction of the laser metal deposition process is corrected based on the experimental temperature curve to obtain a corrected PINN model for temperature prediction of the laser metal deposition process.

4. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 3 is characterized in that: The method of correcting the trained PINN model for temperature prediction of the laser metal deposition process based on the experimental temperature curve to obtain the corrected PINN model for temperature prediction of the laser metal deposition process includes: Substituting the experimental temperature curve into the trained PINN model for temperature prediction of the laser metal deposition process to obtain a high-fidelity model; Based on the transfer learning method, the high-fidelity model is corrected according to the trained PINN model for temperature prediction in the laser metal deposition process to obtain a corrected PINN model for temperature prediction in the laser metal deposition process.

5. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 4 is characterized in that: Based on the transfer learning method, the high-fidelity model is corrected according to the trained PINN model for temperature prediction of the laser metal deposition process to obtain a corrected PINN model for temperature prediction of the laser metal deposition process, including: Obtaining the parameters of the hidden layer of the trained PINN model feedforward neural network for temperature prediction of the laser metal deposition process; According to the parameters of the hidden layer of the trained PINN model feedforward neural network for temperature prediction during the laser metal deposition process, the parameters of the last two layers in the hidden layer of the feedforward neural network of the high-fidelity model are adjusted to obtain a revised PINN model for temperature prediction during the laser metal deposition process.

6. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 1 is characterized in that: Step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value, comprising: The temperature prediction result is compared with the preset temperature value to determine that the temperature prediction result meets the preset temperature condition, and the process parameters for preparing the layer to be deposited are output.

7. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 6 is characterized in that: Step S4, determining the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value, further comprising: Comparing the temperature prediction result with the preset temperature value, determining that the temperature prediction result does not meet the preset temperature condition, adjusting the process parameters for preparing the layer to be deposited and obtaining adjusted process parameters; The adjusted process parameters are input into the modified PINN model for temperature prediction of the laser metal deposition process, and step S3 is repeatedly performed until the temperature prediction result meets the preset temperature condition.

8. The temperature online prediction and control method of the laser metal deposition process based on the PINN model according to claim 7 is characterized in that: The process parameters include laser power value and scanning speed.

9. A temperature online prediction and control device for laser metal deposition process based on PINN model, characterized in that: include: A model building module, used to build a PINN model for temperature prediction of a laser metal deposition process with three-dimensional coordinate points and time points as inputs and temperature as outputs, and to train the PINN model for temperature prediction of the laser metal deposition process to obtain a trained PINN model for temperature prediction of the laser metal deposition process; A model correction module, used for acquiring real-time temperature data of the laser metal deposition experiment, and correcting the trained PINN model for temperature prediction of the laser metal deposition process according to the real-time temperature data to obtain a corrected PINN model for temperature prediction of the laser metal deposition process; A temperature prediction module, used to obtain the three-dimensional coordinate value and time value of the layer to be deposited, input the three-dimensional coordinate value and the time value into the modified PINN model for temperature prediction of the laser metal deposition process and obtain a temperature prediction result; The temperature control module is used to determine the process parameters for preparing the layer to be deposited according to the temperature prediction result and the preset temperature value, so as to control the temperature of the layer to be deposited to meet the preset temperature value.

10. A non-transitory computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for online temperature prediction and control of a laser metal deposition process based on a PINN model as described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Laser-induced coloring temperature field prediction method, device, equipment and medium

    CN119294230A

  • Intelligent optimization method and system for irradiation crosslinking process of flexible armor wire

    CN119849897A

  • An intelligent optimization method and system for the irradiation cross-linking process of flexible armored cable

    CN119849897B

  • Air-cooled fiber laser temperature control method and system based on PINN-MPC

    CN122823176A