A method and system for optimizing temperature field control of dissimilar metal welding joints

By using real-time temperature field scanning and multi-sensor monitoring, combined with stress analysis, the welding parameters for dissimilar metals were optimized, solving the problem of uneven temperature field distribution and improving welding quality and efficiency.

CN118808959BActive Publication Date: 2024-11-19DONGGUAN JIACHAO METAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411306854.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-11-19
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

In the process of dissimilar metal welding, the non-uniformity of temperature field distribution leads to local stress concentration, joint deformation and non-uniform microstructure. Existing analysis methods lack theoretical guidance and real-time control capabilities, making it difficult to optimize welding quality.

Method used

By using real-time temperature field scanning, image segmentation, and the establishment of a three-dimensional temperature field model, combined with stress analysis and multi-sensor monitoring, welding parameters such as heat source power and speed are adjusted in real time to optimize the temperature field distribution.

Benefits of technology

It achieves a uniform temperature field distribution in dissimilar metal welded joints, reduces the temperature gradient, improves welding quality and efficiency, and reduces stress concentration and deformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118808959B_ABST
    Figure CN118808959B_ABST
Patent Text Reader

Abstract

The present application provides a method for optimizing the temperature field of a dissimilar metal welding joint, comprising: performing real-time temperature field scanning on the dissimilar metal welding joint, obtaining weld cooling rate and heat input distribution data, performing image segmentation processing based on the scanned temperature field image, extracting temperature data of the weld area, heat-affected zone and parent material area, and judging whether the temperature gradient exceeds a preset threshold value; for areas with uneven heat input distribution, analyzing the behavior of the welding joint under the combined action of thermal stress and mechanical stress, obtaining residual stress distribution and plastic deformation capacity differences, and analyzing stress concentration areas in combination with the yield strength of the material; establishing a mapping relationship between welding heat source power distribution, welding speed and temperature field distribution based on the stress concentration analysis results, and obtaining a welding process parameter adjustment prediction model through training with historical welding parameters and corresponding temperature field data in combination with heat flux density distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a method for optimizing the temperature field of a dissimilar metal welding joint. Background Art

[0002] During the welding process of dissimilar metals, the temperature field distribution of the welded joint is uneven due to the significant differences in the thermophysical properties of different materials. This unevenness will cause a series of problems: first, excessive temperature gradient will cause local stress concentration and increase the risk of welding cracks; second, the difference in thermal expansion coefficient will cause joint deformation and affect product precision; third, the inconsistency of cooling rate will cause uneven organization and reduce joint strength. However, the current analysis method of the temperature field of dissimilar metal welding joints is still imperfect, and it is difficult to accurately capture the transient change characteristics of the temperature field. At the same time, the existing process parameter optimization methods such as heat source power and welding speed often rely on experience and lack theoretical guidance. In addition, the accuracy and real-time performance of temperature field control are insufficient, making it difficult to cope with complex welding conditions. How to establish a systematic temperature field analysis method for dissimilar metal welding, how to develop a process parameter optimization algorithm based on the temperature field distribution law, and how to achieve high-precision real-time control of the temperature field are technical problems that need to be solved urgently. Summary of the invention

[0003] The present invention provides a method for optimizing the temperature field of a dissimilar metal welding joint, comprising:

[0004] Real-time temperature field scanning of dissimilar metal welding joints is performed to obtain the weld cooling rate and heat input distribution data. Image segmentation is performed based on the scanned temperature field image to extract the temperature data of the weld area, heat-affected zone and parent metal area to determine whether the temperature gradient exceeds the preset threshold.

[0005] If the temperature gradient exceeds the threshold, the temperature field data is numerically simulated to establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the thermal and physical property differences between the weld and the base material. The temperature gradient and heat flux density distribution of each area during the welding process are obtained based on the model to determine whether there is uneven distribution of heat input.

[0006] For areas with uneven heat input distribution, analyze the behavior of welded joints under the combined action of thermal stress and mechanical stress, obtain the residual stress distribution and plastic deformation capacity differences, and analyze the stress concentration area in combination with the yield strength of the material;

[0007] According to the stress concentration analysis results, the mapping relationship between welding heat source power distribution, welding speed and temperature field distribution is established. Through historical welding parameters and corresponding temperature field data training, combined with heat flux density distribution, the welding process parameter adjustment prediction model is obtained;

[0008] The welding heat source power distribution and welding speed parameters obtained by the welding process parameter adjustment prediction model are applied to the welding process control, including adjusting the welding heat source power distribution and welding speed in real time based on the parameters, adjusting the welding gun movement speed, swing amplitude and frequency, so as to make the temperature field distribution uniform and reduce the temperature gradient between dissimilar metals;

[0009] During the welding process, the data from infrared thermal imagers, displacement sensors and strain gauges are comprehensively utilized to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and microstructure evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. According to the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of dissimilar metal welding joints.

[0010] The present invention also provides a temperature field optimization control system for a dissimilar metal welding joint, the temperature field optimization control system for a dissimilar metal welding joint comprising:

[0011] The gradient judgment module is used to perform real-time temperature field scanning on the dissimilar metal welding joint, obtain the weld cooling rate and heat input distribution data, perform image segmentation processing based on the scanned temperature field image, extract the temperature data of the weld area, heat-affected zone and parent metal area, and judge whether the temperature gradient exceeds the preset threshold;

[0012] The heat input determination module is used to perform numerical simulation on the temperature field data if the temperature gradient exceeds the threshold, establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the difference in thermal properties between the weld and the base material, and obtain the temperature gradient and heat flux density distribution of each area during the welding process based on the model to determine whether there is uneven heat input distribution;

[0013] The regional analysis module is used to analyze the behavior of welded joints under the combined action of thermal and mechanical stresses in areas with uneven heat input distribution, obtain the residual stress distribution and plastic deformation capacity differences, and analyze the stress concentration area in combination with the yield strength of the material;

[0014] The model building module is used to establish the mapping relationship between welding heat source power distribution, welding speed and temperature field distribution according to the stress concentration analysis results. Through the training of historical welding parameters and corresponding temperature field data, combined with the heat flux density distribution, the welding process parameter adjustment prediction model is obtained;

[0015] A welding process control module, which is used to apply the welding heat source power distribution and welding speed parameters obtained by the welding process parameter adjustment prediction model to the welding process control, including adjusting the welding heat source power distribution and welding speed in real time based on the parameters, adjusting the welding gun movement speed, swing amplitude and frequency, so as to make the temperature field distribution uniform and reduce the temperature gradient between dissimilar metals; and

[0016] The quality optimization module is used to comprehensively utilize the data from infrared thermal imagers, displacement sensors and strain gauges during the welding process to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and tissue evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. According to the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of dissimilar metal welding joints.

[0017] The present invention also provides an electronic device, comprising: one or more processors, and a memory; the processor and the memory are coupled; the memory is used to store computer program codes, the computer program codes including computer instructions;

[0018] When the processor executes the computer instructions, the electronic device executes the above-mentioned temperature field optimization control method for dissimilar metal welding joints.

[0019] The present invention also provides a computer-readable storage medium, which stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer executes the above-mentioned method for optimizing the temperature field control of dissimilar metal welding joints.

[0020] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:

[0021] The present invention discloses a method for optimizing and controlling the temperature field of a dissimilar metal welding joint. The method uses an infrared thermal imager to scan the welding temperature field in real time, combines image segmentation technology to extract temperature data of each region, and establishes a three-dimensional temperature field model. Based on the temperature gradient and heat flux density distribution, the stress concentration area is analyzed, and a mapping relationship between welding parameters and temperature field distribution is established. Multi-sensor fusion technology is used to monitor welding deformation in real time, a coupling model of temperature field and tissue evolution is constructed, and key parameters of the welding process are dynamically predicted. The present invention achieves uniform distribution of the temperature field and reduces the temperature gradient between dissimilar metals by adjusting process parameters such as welding heat source power distribution and welding speed in real time, thereby optimizing the overall quality of the welding joint. The method can effectively solve problems such as uneven heat input and stress concentration in dissimilar metal welding, and improve welding quality and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flow chart of a method for optimizing temperature field control of a dissimilar metal welding joint of the present invention;

[0023] Figure 2 It is a structural schematic diagram of a temperature field optimization control system for a dissimilar metal welding joint of the present invention. DETAILED DESCRIPTION

[0024] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] like Figure 1 As shown, an embodiment of the present invention provides a method for optimizing the temperature field of a dissimilar metal welding joint, which may specifically include:

[0026] S101. Perform real-time temperature field scanning on the dissimilar metal welding joint to obtain the weld cooling rate and heat input distribution data, perform image segmentation processing based on the scanned temperature field image, extract the temperature data of the weld area, heat-affected zone and parent material area, and determine whether the temperature gradient exceeds the preset threshold.

[0027] An infrared thermal imager is used to perform real-time temperature field scanning on the dissimilar metal welding joint to obtain temperature distribution data of the weld area, heat-affected zone and base metal area; based on the temperature distribution data, the weld cooling rate and heat input distribution are calculated, and image segmentation processing is performed based on the temperature field image to extract the temperature data of each area; for the extracted temperature data, a three-dimensional temperature distribution model is constructed using an interpolation algorithm to calculate the temperature gradient between each area, and the temperature gradient is obtained by dividing the temperature difference between adjacent areas by the distance; based on the three-dimensional temperature distribution model, a thermal map for displaying temperature abnormality areas is generated through a data visualization tool; for the temperature abnormality areas displayed on the thermal map, the welding current, voltage and welding speed are adjusted in real time to control the heat input, and the control strategy includes reducing the current or increasing the welding speed if the predicted temperature is higher than the preset threshold; if the predicted temperature is lower than the preset threshold, increasing the voltage or reducing the welding speed; the welding process parameters are continuously optimized through the control strategy to keep the weld cooling rate and temperature gradient within the preset range.

[0028] Specifically, an infrared thermal imager is used to scan the temperature field of dissimilar metal welding joints in real time to obtain the temperature distribution data of the weld area, heat-affected zone and base metal area. The cooling rate and heat input distribution of the weld are calculated by the data processing algorithm. The image segmentation is performed based on the temperature field image to extract the temperature data of each area. For the extracted temperature data, a three-dimensional temperature distribution model is constructed using an interpolation algorithm to calculate the temperature gradient between each area. The temperature difference between adjacent areas is calculated and divided by the distance to obtain the temperature gradient value. The calculated temperature gradient value is compared with the preset threshold, and the position and value exceeding the threshold are recorded. A thermal map is generated through a data visualization tool to intuitively display the temperature abnormality area. According to the thermal map data, the K-means clustering algorithm is used to classify the temperature abnormality area, determine the spatial range and temperature change trend of the abnormal temperature distribution, and establish a correlation model between welding parameters and temperature distribution through multivariate linear regression to predict the temperature field distribution under different welding conditions. According to the correlation model, the expected temperature distribution under different welding parameter combinations is calculated, and the parameter combination closest to the target temperature distribution is selected as the adjustment suggestion. According to the predicted temperature field distribution, the temperature control target value is set, and the rule-based control strategy is used to adjust the welding current, voltage and welding speed in real time to control the heat input. According to the adjustment suggestions, the specific adjustment rules of welding current, voltage and speed are formulated as follows: if the predicted temperature is too high, the current is reduced or the welding speed is increased; if the predicted temperature is too low, the voltage is increased or the welding speed is reduced. The welding process parameters are continuously optimized through the feedback control mechanism to keep the weld cooling rate and temperature gradient within a reasonable range. The infrared thermal imager scans the temperature field of the dissimilar metal welding joint in real time at a frequency of 30 frames per second to obtain the temperature distribution data with a resolution of 1280×960 pixels. The data processing algorithm calculates the weld cooling rate, such as the time required to drop from 800℃ to 500℃ is 10 seconds, and the heat input distribution is 1.5 kilojoules per millimeter. The image segmentation processing uses the threshold segmentation method to divide the temperature field image into the weld area, whose temperature is greater than 800℃, the heat affected zone, whose temperature is 500℃-800℃, and the parent metal area, whose temperature is less than 500℃. The three-dimensional temperature distribution model was constructed by the cubic spline interpolation algorithm, and the temperature gradient from the center of the weld to the edge of the base material was calculated to be 100°C per millimeter. The preset temperature gradient threshold is 120°C per millimeter, and the position coordinates and specific values ​​exceeding the threshold are recorded. The thermal map is color-coded, with red representing the high temperature zone with a temperature above 800°C, yellow representing the medium temperature zone with a temperature of 500°C-800°C, and blue representing the low temperature zone with a temperature below 500°C. The K-means clustering algorithm sets three cluster centers to classify the temperature abnormality areas, and determines that the abnormal temperature distribution range is ±5 mm from the center of the weld, and the temperature change trend is exponential decay. The multivariate linear regression model uses welding current 100-300 amperes, voltage 20-40 volts, and speed 2-10 mm per second as independent variables, and temperature field distribution as the dependent variable to establish an association model.The temperature field distribution under different welding conditions is predicted. For example, when the current is 200 amperes, the voltage is 30 volts, and the speed is 5 mm / s, the maximum temperature at the center of the weld is 1200°C. The parameter combination closest to the target temperature distribution of 1000°C is selected as current 180 amperes, voltage 28 volts, and speed 6 mm / s. The rule-based control strategy adjusts the welding parameters according to the deviation between the predicted temperature and the target temperature: if the predicted temperature exceeds the target temperature by 100°C, the current is reduced by 10 amperes or the welding speed is increased by 0.5 mm / s; if the predicted temperature is lower than the target temperature by 100°C, the voltage is increased by 2 volts or the welding speed is reduced by 0.5 mm / s. The feedback control mechanism optimizes the parameters every 0.1 seconds to keep the weld cooling rate at 50°C per second and the temperature gradient within 100°C per millimeter.

[0029] S102. If the temperature gradient exceeds the threshold, the temperature field data is numerically simulated to establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the differences in thermal properties between the weld and the base material. The temperature gradient and heat flux density distribution of each area during the welding process are obtained based on the model to determine whether there is an uneven distribution of heat input.

[0030] The temperature field data is obtained and the temperature gradient is calculated. If the temperature gradient exceeds a preset threshold, the finite difference method is used to discretize the Fourier heat conduction equation; according to the discretization result, the thermal conductivity, specific heat capacity and density of the weld and the base material are obtained from the dissimilar metal material property database, and the thermal property parameters are used as the attributes of the grid unit to construct a numerical calculation grid containing the difference in thermal properties between the weld and the base material; the temperature field data is numerically simulated using the numerical calculation grid to obtain numerical simulation results; a three-dimensional temperature field model of a dissimilar metal welding joint is established according to the numerical simulation results, and the three-dimensional temperature field model is refined by a three-dimensional Kriging interpolation method; the temperature gradient of each grid node in the three-dimensional temperature field model is calculated, and the heat flux density is calculated by Fourier's law; according to the heat flux density, the average heat input of the weld area and the heat affected zone is calculated to determine whether the difference in heat input between the weld area and the heat affected zone exceeds a preset threshold. If it exceeds the preset threshold, it is determined that there is an uneven distribution of heat input.

[0031] Specifically, the temperature gradient is calculated based on the acquired temperature field data. If the temperature gradient exceeds the preset threshold, the finite difference method is used to discretize the Fourier heat conduction equation. The thermal properties of the weld and the base material, such as thermal conductivity, specific heat capacity and density, are obtained from the material property database of dissimilar metals. These parameters are used as the properties of the grid unit to construct a numerical calculation grid containing the difference in thermal properties between the weld and the base material, and the temperature field data is numerically simulated. A three-dimensional temperature field model of the dissimilar metal welding joint is established based on the numerical simulation results, and the temperature field is refined using the three-dimensional Kriging interpolation method to improve the model accuracy. First, the numerical simulation results are used as known data points to define the spatial covariance function, such as the spherical model or the exponential model, and then the Kriging interpolation formula is used to calculate the temperature value of the unknown point. Finally, the interpolation accuracy is evaluated through cross-validation to obtain the continuous temperature distribution of each area during the welding process. The temperature gradient ∇T of each grid node in the three-dimensional temperature field model is calculated using the central difference method. The temperature gradient calculation formula is ∇T=[(T(x+h,y,z)-T(xh,y,z)) / 2h,(T(x,y+h,z)-T(x,yh,z)) / 2h,(T(x,y,z+h)-T(x,y,zh)) / 2h], where h is the grid spacing and T is the temperature field. It is a three-dimensional function T(x,y,z), which represents the temperature value at the spatial coordinate (x,y,z). The heat flux density q is calculated using Fourier's law. The heat flux density calculation formula is q=-k∇T, where k is the thermal conductivity. The three-dimensional distribution diagram of the temperature gradient and heat flux density is drawn to intuitively display the heat transfer during the welding process. According to the heat flux density distribution diagram, the average heat input of the weld area and the heat affected zone is calculated. By statistically analyzing historical welding data, the mean and standard deviation of the difference in heat input between the weld area and the heat-affected zone are calculated, and the mean plus two times the standard deviation is used as the preset threshold. If the difference between the two exceeds this preset threshold, it is determined that there is an uneven distribution of heat input, and the location and heat input value of the uneven area are recorded to provide a basis for the subsequent optimization of welding process parameters. During the welding process of dissimilar metals, the infrared thermal imager collects temperature field data at a frequency of 50Hz with a resolution of 640×480 pixels. The temperature gradient calculation results show that the maximum gradient from the center to the edge of the weld is 150℃ / mm, which exceeds the preset threshold of 120℃ / mm. The finite difference method is then started to discretize the Fourier heat conduction equation, and the grid size is set to 0.1mm×0.1mm×0.1mm. From the material property database, we get the thermal conductivity of the weld (austenitic stainless steel) as 16.3W / (m·K), the specific heat capacity as 500J / (kg·K), and the density as 7900kg / m³; the thermal conductivity of the parent material (mild steel) as 51.9W / (m·K), the specific heat capacity as 486J / (kg·K), and the density as 7850kg / m³. We assign these parameters to the corresponding mesh units and construct a computational mesh that includes the differences in thermal properties.The numerical simulation adopts the alternating direction implicit method, with a time step of 0.01s and a total simulation time of 10s. Based on the simulation results, the temperature field model is established using the three-dimensional Kriging interpolation method. The spherical model is selected as the spatial covariance function, and the effective range is set to 5mm. The resolution of the temperature field after interpolation is increased to 0.05mm×0.05mm×0.05mm. The temperature gradient is calculated using the central difference method, and the maximum gradient of 145℃ / mm is observed at the interface between the weld and the base material. The heat flux calculation shows that the maximum value at the center of the weld is 3.2×10. 6 W / m². The three-dimensional distribution diagram clearly shows the diffusion process of heat transfer from the weld to the base material. The average heat input in the weld area is calculated to be 1.8kJ / mm, and the heat-affected zone is 1.2kJ / mm. Analysis of historical data shows that the mean of the heat input difference is 0.5kJ / mm, and the standard deviation is 0.1kJ / mm. Based on this, the preset threshold is set to 0.7kJ / mm. In the current welding process, the difference in heat input between the two areas is 0.6kJ / mm, which does not exceed the threshold, but is close to the critical value. The coordinates of the area where the heat input distribution is relatively uneven (x=5mm, y=2mm, z=1mm) and the heat input at this location are recorded as 1.5kJ / mm, providing an accurate basis for the subsequent optimization of welding process parameters.

[0032] S103. For areas with uneven heat input distribution, analyze the behavior of the welded joint under the combined action of thermal stress and mechanical stress, obtain the residual stress distribution and plastic deformation capacity differences, and analyze the stress concentration area in combination with the yield strength of the material.

[0033] According to the temperature field data of the area with uneven heat input distribution, the finite element method is used to perform thermal-mechanical coupling analysis, including calculating the temperature distribution through the heat conduction equation; using the temperature distribution and thermal expansion coefficient to obtain the thermal stress distribution, and combining the mechanical constraints in the welding process to calculate the mechanical stress distribution; based on the superposition results of thermal stress and mechanical stress, the VonMises yield criterion is used to calculate the equivalent stress, where the VonMises equivalent stress

[0034] , σ v represents VonMises equivalent stress, σ1, σ2, and σ3 represent principal stresses respectively; the plastic strain distribution is solved by the elastoplastic constitutive equation to obtain the residual stress distribution; if the ratio of the equivalent stress to the yield strength exceeds the preset threshold, it is marked as a high stress area; the high stress area is adaptively meshed: the stress gradient inside each mesh unit is calculated, and if the stress gradient exceeds the preset threshold, the unit is divided into four sub-units, and this process is repeated until the preset maximum number of refinement layers is reached or the stress gradients of all units are lower than the threshold; for the refined mesh, the thermal-mechanical coupling analysis is re-performed to update the stress and strain distribution results.

[0035] Specifically, based on the temperature field data in the area with uneven heat input distribution, the finite element method is used to discretize the solution area, and the solution area is divided into a finite number of units and nodes. Through the heat conduction equation, combined with the temperature field data in the area with uneven heat input distribution, the temperature value of each node is calculated to obtain the temperature distribution of the entire area. According to the thermal expansion coefficient of the material, the temperature distribution is used to calculate the thermal strain of each node to obtain the thermal stress distribution. According to the mechanical constraints in the welding process, the force balance equation is used to calculate the displacement of each node to obtain the mechanical stress distribution. The thermal stress distribution and the mechanical stress distribution are superimposed to obtain the comprehensive stress distribution of the welding process. Based on the superposition results of thermal stress and mechanical stress, the VonMises yield criterion is used to calculate the equivalent stress, where the VonMises equivalent stress

[0036] , σ1, σ2, and σ3 are the three principal stresses of each grid node. The principal stress refers to the stress components in three mutually perpendicular directions inside the material at a certain point. The plastic strain distribution is solved by the elastic-plastic constitutive equation to obtain the residual stress distribution, and the equivalent plastic strain of each region is calculated. By comparing the equivalent plastic strain values ​​of different regions, the plastic strain ratio is calculated, which is the ratio of the equivalent plastic strain of different regions to the maximum equivalent plastic strain to quantify the difference in plastic deformation capacity. The stress field and strain field are smoothed by the interpolation algorithm. The yield strength data of each region of the weld joint are obtained from the material database. By comparing the ratio of equivalent stress to yield strength, the stress concentration area is judged. If the ratio exceeds the preset threshold, it is marked as a high stress area. The quadtree algorithm is used to adaptively refine the high stress area, including first dividing the entire calculation domain into initial grids, calculating the stress gradient inside each grid unit, and if the stress gradient exceeds the preset threshold, the unit is divided into four sub-units. This process is repeated until the preset maximum number of refinement layers is reached or the stress gradient of all units is lower than the threshold. For the refined mesh, the thermal-mechanical coupling analysis is re-performed to update the stress and strain distribution results. The singularity index method is used to evaluate the stress singularity point, and the characteristic equation method is used to solve the stress distribution characteristics near the stress singularity point. The stress intensity factor is calculated, and the displacement extrapolation method is used to evaluate the stress intensity factor by calculating the displacement of the node near the crack tip. The local failure risk of the welded joint is judged to provide a basis for the subsequent optimization of the welding process. During the welding process of dissimilar metals, the temperature field data in the area with uneven heat input distribution shows that the highest temperature is 1500℃ and the lowest temperature is 200℃. The thermal-mechanical coupling analysis model is established using ANSYS finite element software, and the area is discretized and divided into 10,000 tetrahedral units and 5,000 nodes with a mesh size of 0.1mm. According to the heat conduction equation, combined with the temperature field data in the area with uneven heat input distribution, the temperature distribution range is calculated to be 200-1500℃. Using the thermal expansion coefficient, austenitic stainless steel is 16.5×10⁻ 6 / ℃, low carbon steel is 11.7×10⁻ 6 / ℃ to obtain the thermal stress distribution, and the maximum thermal stress is 500MPa. Considering the welding fixture constraint, the maximum mechanical stress is calculated to be 300MPa. The VonMises yield criterion is applied to calculate the equivalent stress, and the maximum value is 750MPa. The plastic strain distribution is solved by the Ramberg-Osgood model, and the maximum equivalent plastic strain is 0.05. The plastic strain ratio is calculated, which is 1.0 in the weld area, 0.8 in the heat-affected zone, and 0.2 in the parent material area, and the difference in plastic deformation capacity is quantified. The stress field is smoothed using cubic spline interpolation. The yield strength is obtained from the material database, where austenitic stainless steel is 210MPa and low carbon steel is 250MPa. The stress ratio is calculated, and the maximum value is 3.57, which exceeds the preset threshold of 2.5 and is marked as a high stress area. The quadtree algorithm is used for mesh refinement, with an initial mesh size of 0.1mm, a stress gradient threshold of 50MPa / mm, a maximum number of refinement layers of 4, and a minimum mesh size of 0.00625mm. After refinement and reanalysis, the maximum stress dropped to 720MPa. The singularity index was calculated using the characteristic equation method, and the value was 0.3, indicating the presence of a stress singularity point. The stress intensity factor was calculated using the displacement extrapolation method, KⅠ=25MPa·m^0.5, which is lower than the material fracture toughness of 30MPa·m^0.5. It is judged that the risk of local failure of the welded joint is low, but the welding process still needs to be optimized to reduce residual stress.

[0037] S104. According to the stress concentration analysis results, a mapping relationship between welding heat source power distribution, welding speed and temperature field distribution is established. Through training with historical welding parameters and corresponding temperature field data and combined with heat flux density distribution, a prediction model for welding process parameter adjustment is obtained.

[0038] According to the welding heat source power distribution, welding speed and temperature field distribution data, a three-dimensional mapping relationship among the welding heat source power distribution, welding speed and temperature field distribution data is constructed using numerical simulation software to obtain a continuous function relationship in the parameter space. The historical welding parameters and the corresponding temperature field data are obtained from the welding database, and the temperature field data are standardized, including selecting the principal component whose cumulative contribution rate reaches the preset threshold if the data dimension is high, and projecting the original data into the principal component space. Using the historical data after dimensionality reduction and combining with the heat flux density distribution information, the support vector regression algorithm is used to train the association model between the welding process parameters and the temperature field distribution. The association model uses the radial basis function as the kernel function. Based on the association model, combined with the temperature field data in the real-time welding process, the trained association model is regarded as a function, and the target temperature field distribution is taken as the expected output. By calculating the gradient of the loss function to the welding parameters, the welding heat source power and welding speed are iteratively updated until the preset optimization target is reached, and the welding process parameter adjustment prediction result is obtained.

[0039] Specifically, according to the results of stress concentration analysis, numerical simulation software is used to construct the three-dimensional mapping relationship between welding heat source power distribution, welding speed and temperature field distribution. The relationship between the three is represented by a three-dimensional scatter plot. Then, a three-dimensional spline interpolation method is used to create a continuous mapping function. The discrete data points are processed continuously through the interpolation algorithm to obtain a continuous function relationship in the parameter space. The historical welding parameters and corresponding temperature field data are extracted from the welding database, the data are standardized, and the principal component analysis method is used to reduce the data dimension. The specific steps include calculating the covariance matrix, solving the eigenvalues ​​and eigenvectors, selecting the principal components with a cumulative contribution rate of 95%, and projecting the original data into the principal component space, so as to screen out the key characteristic parameters that affect the temperature field distribution. Using the historical data after dimensionality reduction and combining with the heat flux density distribution information, the support vector regression algorithm is used to train the association model between welding process parameters and temperature field distribution. The radial basis function is selected as the kernel function. The optimal penalty coefficient and kernel function parameters are determined by grid search. The heat flux density distribution information is incorporated into the model training process as an additional feature, and the optimal hyperparameter configuration is determined by cross-validation. Based on the trained association model and the temperature field data in the real-time welding process, the trained model is regarded as a function, and the target temperature field distribution is taken as the expected output. By calculating the gradient of the loss function to the welding parameters, the welding heat source power and welding speed are iteratively updated until the preset optimization target or number of iterations is reached, thereby obtaining the prediction results of welding process parameter adjustment and providing parameter guidance for adaptive welding control. In the process of dissimilar metal welding, the stress concentration analysis results show that the maximum stress is 750MPa, which is located at the junction of the weld and the heat affected zone. The three-dimensional mapping relationship is constructed using COMSOL Multiphysics software. The welding heat source power range is 2000-5000W, the welding speed range is 5-15mm / s, and the temperature field distribution range is 200-1800℃. A three-dimensional scatter plot is used to represent 1000 data points, and a continuous mapping function is created by the cubic spline interpolation method, with an interpolation accuracy of 99.5%. 10,000 sets of historical data are extracted from the welding database, and principal component analysis is performed after standardization. The top five principal components are selected, and the cumulative contribution rate reaches 96.8%. The support vector regression algorithm uses a radial basis function kernel, and the optimal penalty coefficient C=10 and kernel function parameter γ=0.01 are determined by grid search. The heat flux density distribution information is used as an additional feature, and the total input feature dimension is 8. The cross-validation adopts a 5-fold method, and the average relative error of the model is 3.2%. During the real-time welding process, the temperature field data is collected every 0.1 second, and the target temperature field distribution is set to 1500℃ at the center of the weld and 800℃ at the edge of the heat-affected zone. The welding parameters are optimized by the gradient descent method, the learning rate is set to 0.01, and the maximum number of iterations is 100.The final optimized welding heat source power is 3500W, the welding speed is 8mm / s, and the predicted temperature field distribution has an error of less than 5% from the target, providing precise parameter guidance for the adaptive welding control system.

[0040] S105. Apply the welding heat source power distribution and welding speed parameters obtained by the welding process parameter adjustment prediction model to the welding process control, including adjusting the welding heat source power distribution and welding speed in real time based on the parameters, adjusting the welding gun movement speed, swing amplitude and frequency, so as to make the temperature field distribution uniform and reduce the temperature gradient between dissimilar metals.

[0041] The welding heat source power distribution parameters and welding speed parameters obtained by the welding process parameter adjustment prediction model are obtained, and the parameters are transmitted to the welding control unit through the data interface; according to the welding heat source power distribution parameters and welding speed parameters, the proportional-integral-differential control method is used to adjust the welding power output power and wire feeding speed in real time, so that the deviation of the welding heat input and the predicted value is kept within a preset range; the ideal heat input amount of each point on the welding trajectory is calculated by using the interpolation algorithm, and the basic path is constructed in combination with the workpiece geometric characteristics and the weld shape; the temperature field data of the welding process is collected in real time by an infrared thermal imager, and the temperature field data is partitioned; according to the temperature field data and the welding parameter adjustment results, the fuzzy controller of the triangular membership function is used to dynamically adjust the swing amplitude and frequency of the welding gun to achieve uniform temperature field distribution and precise control of the cooling rate, the input variables of the fuzzy controller are the temperature gradient and the cooling rate, and the output variables are the adjustment amount of the swing amplitude and frequency of the welding gun.

[0042] Specifically, the optimized welding heat source power distribution and welding speed parameters are obtained from the prediction model, and the parameters are transmitted to the welding control unit through the data interface. The proportional-integral-differential control algorithm is used to adjust the welding power output and wire feeding speed in real time to keep the deviation between the welding heat input and the predicted value within the range of ±5%. The PID controller parameters are determined by the Ziegler-Nichols tuning method, and the proportional gain Kp, integral time Ti and differential time Td are obtained by the critical oscillation method. Then, the PID parameters are optimized in real time using the online self-tuning algorithm. According to the welding heat source power distribution data, the interpolation algorithm is used to calculate the ideal heat input at each point on the welding trajectory. Combined with the workpiece geometric characteristics and weld shape, the A* algorithm is used to construct the basic path. The dynamic window method is combined to adjust the local path in real time, and the optimal welding gun movement speed, swing amplitude and frequency are dynamically calculated to generate an optimized welding trajectory. The temperature field data of the welding process is collected in real time by infrared thermal imager. The temperature field image is partitioned by Otsu threshold segmentation method. The contours of weld, heat affected zone and parent metal zone are extracted by morphological operation. Then, the average temperature and temperature gradient of each zone are calculated by regional growing algorithm. If the temperature gradient exceeds the preset threshold, the welding parameter fine-tuning mechanism is triggered. Based on the temperature field data and the welding parameter fine-tuning results, the fuzzy controller of triangular membership function is used. The input variables are temperature gradient and cooling rate, and the output variables are the adjustment amount of welding torch swing amplitude and frequency. The welding torch swing amplitude and frequency are dynamically adjusted. At the same time, a three-layer feedforward network structure is used to predict the cooling rate of the weld. The input layer includes the current temperature, heat input and material properties, and the output layer is the predicted cooling rate. By adjusting the welding heat source power distribution and welding speed, the temperature field distribution is homogenized and the cooling rate is precisely controlled. Especially for the dissimilar metal joint area, the temperature gradient is reduced by adjusting the local heat input. In the process of dissimilar metal welding, the optimized welding heat source power distribution output by the prediction model is 2500-3500W, and the welding speed is 8-12mm / s. The data interface transmits the parameters to the welding control unit at a frequency of 100Hz. The initial parameters of the PID controller are set to Kp=0.6, Ti=0.5s, Td=0.125s by the Ziegler-Nichols method. The online self-tuning algorithm adjusts the parameters every 5 seconds to control the welding heat input deviation within ±3%. The A* algorithm divides the workpiece surface into 0.1mm grids, and combines the dynamic window method to update the local path every 0.5s. The optimal moving speed of the welding gun is calculated to be 10mm / s, the swing amplitude is 3mm, and the frequency is 2Hz. The infrared thermal imager collects temperature field images with a resolution of 640×480 and a frame rate of 60fps. The Otsu threshold method divides the temperature field into three areas: weld (>1000℃), heat-affected zone (600-1000℃) and parent metal area (<600℃).The morphological operation uses 3×3 structural elements to extract the regional contour. The regional growing algorithm calculates the average temperature of the weld zone to be 1200℃, the heat affected zone to be 750℃, and the maximum temperature gradient to be 150℃ / mm. The fuzzy controller designs 5 fuzzy sets, the input variable temperature gradient range is 0-200℃ / mm, the cooling rate range is 0-100℃ / s, the output variable welding gun swing amplitude adjustment is -1mm to +1mm, and the frequency adjustment is -0.5Hz to +0.5Hz. The three-layer feedforward neural network structure is 10-20-1, with 5000 sets of training samples, and the prediction accuracy of the weld cooling rate reaches ±5℃ / s. Through these precise control measures, the temperature field distribution is uniform, the temperature gradient in the weld area is reduced to below 120℃ / mm, and the cooling rate is controlled in the range of 40-60℃ / s, which effectively reduces the temperature gradient in the dissimilar metal joint area and improves the welding quality.

[0043] S106. During the welding process, the data from infrared thermal imagers, displacement sensors and strain gauges are used to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and microstructure evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. Based on the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of dissimilar metal welding joints.

[0044] The data acquisition card is used to synchronously collect data from infrared thermal imagers, displacement sensors and strain gauges to obtain the temperature field, displacement and strain information during the welding process. A state space model is established based on the collected data, and the data from different sensors are used as observations. The welding deformation state is estimated by the Kalman filter algorithm to eliminate noise and redundant information. According to the estimated welding deformation state, a temperature field and tissue evolution coupling model based on the finite element method is established. The coupling model is used to describe the temperature distribution and metal tissue evolution during welding. The temperature distribution and metal tissue evolution are analyzed, and the cooling rate, heat input distribution and temperature gradient of the weld are dynamically predicted. According to the dynamic prediction results, a fuzzy adaptive controller is applied. If the deviation between the predicted result and the target value is large and the deviation change rate is positive, the welding power is increased; if the deviation between the predicted result and the target value is small and the deviation change rate is negative, the welding power is reduced, and the welding process parameters are adjusted in real time.

[0045] Specifically, a data acquisition card is used to synchronously collect data from infrared thermal imagers, displacement sensors, and strain gauges. Image registration is used to align the temperature fields at different times for infrared thermal imager data, and time synchronization and data normalization are performed on displacement sensor and strain gauge data. A state space model is designed, and different sensor data are used as observations. The Kalman filter algorithm is used to estimate the welding deformation state, eliminate noise and redundant information, and obtain a real-time monitoring signal for welding deformation. According to the fused data, a coupled model of temperature field and microstructure evolution based on the finite element method is established, and a three-dimensional finite element mesh is established. The unit type is selected as hexahedral quadratic element, and the mesh size is refined to 0.5 mm in the weld area. The heat conduction equation uses the Crank-Nicolson implicit difference format, and the phase change kinetic equation uses the Johnson-Mehl-Avrami-Kolmogorov model. The coupled equations are solved by the Newton-Raphson iteration method to describe the temperature distribution and metal microstructure evolution during welding. The long short-term memory network algorithm is used to dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. A three-layer LSTM structure is designed. The number of nodes in the input layer is the number of sensors, the hidden layer has 100 neurons, and the three nodes in the output layer correspond to the cooling rate, heat input and temperature gradient respectively. The data of the past hour is used as input to predict the trend of change in the next 10 minutes. The root mean square error is used as the loss function, and the Adam optimizer is used for training, and the confidence interval of the prediction result is calculated. Based on the prediction results and confidence intervals, a fuzzy adaptive controller is designed. Five fuzzy sets are designed. The input variables are the deviation and deviation change rate between the prediction result and the target value, and the output variable is the adjustment amount of the welding parameter. A rule base is formulated, such as "if the deviation is large and the deviation change rate is positive, the welding power is greatly increased." The welding heat source power, welding speed, cooling rate, welding temperature and holding time are used as control variables to adjust the welding process parameters in real time. For the holding time, it is dynamically adjusted according to the cooling rate prediction results. The faster the cooling rate, the longer the holding time. The overall quality of the dissimilar metal welding joint is continuously optimized through the feedback control mechanism. During the welding process of dissimilar metals, the NIPXIe-6363 data acquisition card is used to synchronously collect data with a sampling frequency of 1kHz, including an infrared thermal imager with a resolution of 640×480 and a temperature accuracy of ±2°C, a displacement sensor with a range of 0-10mm and an accuracy of 0.01mm, and a strain gauge with a sensitivity factor of 2.08±1%. The infrared thermal imager data is image-aligned using the phase correlation method, and the alignment accuracy reaches the sub-pixel level; the displacement and strain data are denoised by a 5th-order Butterworth low-pass filter (cutoff frequency 100Hz). The state vector of the Kalman filter algorithm contains 6 variables, which are the displacement and velocity in the x, y, and z directions. The observation matrix is ​​constructed by the sensor data, and the welding deformation state estimation is obtained by iterative calculation.The finite element model was constructed using ANSYS software, with a total grid size of 500,000 units. The grid size in the weld area was 0.5 mm, and gradually transitioned to 5 mm in the far field area. The boundary conditions of the heat conduction equation consider convection and radiation heat transfer, and the material properties vary with temperature. The JMAK model parameters were obtained through isothermal phase transformation experiments, such as the austenitization activation energy of 280 kJ / mol. The LSTM network was implemented using the TensorFlow framework, and the training data set contained 1,000 sets of welding process data, 200 sets of validation sets, and 100 sets of test sets. The learning rate of the Adam optimizer was set to 0.001, the batch size was 64, and the number of training rounds was 200. The input variables "bias" and "bias change rate" of the fuzzy controller were each divided into 5 fuzzy sets, and the output variable "adjustment amount" was divided into 7 fuzzy sets, with a total of 25 fuzzy rules. The welding heat source power adjustment range is ±500W, the welding speed adjustment range is ±2mm / s, the cooling rate adjustment range is ±10℃ / s, the welding temperature adjustment range is ±50℃, and the holding time adjustment range is ±30s. Through multi-sensor fusion and intelligent control, the temperature field uniformity of the welded joint is improved by 15%, the organizational consistency is improved by 20%, and the quality of dissimilar metal welding is significantly optimized.

[0046] like Figure 2 As shown, an embodiment of the present invention further provides a temperature field optimization control system for a dissimilar metal welding joint, and the temperature field optimization control system for a dissimilar metal welding joint includes:

[0047] The gradient judgment module 21 is used to perform real-time temperature field scanning on the dissimilar metal welding joint, obtain the weld cooling rate and heat input distribution data, perform image segmentation processing based on the scanned temperature field image, extract the temperature data of the weld area, heat-affected zone and parent metal area, and judge whether the temperature gradient exceeds a preset threshold;

[0048] The heat input determination module 22 is used to perform numerical simulation on the temperature field data if the temperature gradient exceeds the threshold value, establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the difference in thermal properties between the weld and the base material, and obtain the temperature gradient and heat flux density distribution of each area during the welding process according to the model to determine whether there is uneven heat input distribution;

[0049] The regional analysis module 23 is used to analyze the behavior of the welded joint under the combined action of thermal stress and mechanical stress in the area where the heat input is unevenly distributed, obtain the residual stress distribution and the difference in plastic deformation capacity, and analyze the stress concentration area in combination with the yield strength of the material;

[0050] The model building module 24 is used to establish the mapping relationship between welding heat source power distribution, welding speed and temperature field distribution according to the stress concentration analysis results, and obtain the welding process parameter adjustment prediction model by training the historical welding parameters and the corresponding temperature field data in combination with the heat flux density distribution;

[0051] The welding process control module 25 is used to apply the welding heat source power distribution and welding speed parameters obtained by the welding process parameter adjustment prediction model to the welding process control, including adjusting the welding heat source power distribution and welding speed in real time based on the parameters, adjusting the welding gun movement speed, swing amplitude and frequency, so as to make the temperature field distribution uniform and reduce the temperature gradient between dissimilar metals; and

[0052] The quality optimization module 26 is used to comprehensively utilize the data from the infrared thermal imager, displacement sensor and strain gauge during the welding process to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and tissue evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. According to the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of the dissimilar metal welding joint.

[0053] In the embodiments of the present invention, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be implemented by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to realize all or part of the functions described above. Each unit and module of the device can be implemented by corresponding hardware or software units. Each unit and module can be an independent software or hardware unit, or it can be integrated into a software or hardware unit, which is not intended to limit the present invention. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the device can refer to the corresponding description in the aforementioned method embodiment, which will not be repeated here.

[0054] An embodiment of the present invention further provides an electronic device, comprising: one or more processors, and a memory; the processor and the memory are coupled; the memory is used to store computer program codes, the computer program codes including computer instructions;

[0055] When the processor executes the computer instructions, the electronic device executes the above-mentioned temperature field optimization control method for dissimilar metal welding joints. The specific implementation of the temperature field optimization control method for dissimilar metal welding joints can refer to the above-mentioned embodiments and will not be repeated here.

[0056] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer executes the above-mentioned method for optimizing the temperature field of dissimilar metal welding joints.

[0057] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for optimizing the temperature field of a dissimilar metal welding joint, characterized in that: The method comprises: Real-time temperature field scanning of dissimilar metal welding joints is performed to obtain the weld cooling rate and heat input distribution data. Image segmentation is performed based on the scanned temperature field image to extract the temperature data of the weld area, heat-affected zone and parent metal area to determine whether the temperature gradient exceeds the preset threshold. If the temperature gradient exceeds the threshold, the temperature field data is numerically simulated to establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the thermal and physical property differences between the weld and the base material. The temperature gradient and heat flux density distribution of each area during the welding process are obtained based on the model to determine whether there is uneven distribution of heat input. For areas with uneven heat input distribution, analyze the behavior of welded joints under the combined action of thermal stress and mechanical stress, obtain the residual stress distribution and plastic deformation capacity differences, and analyze the stress concentration area in combination with the yield strength of the material; According to the stress concentration analysis results, the mapping relationship between welding heat source power distribution, welding speed and temperature field distribution is established. Through historical welding parameters and corresponding temperature field data training, combined with heat flux density distribution, the welding process parameter adjustment prediction model is obtained; Apply the welding heat source power distribution parameters and welding speed parameters obtained by the welding process parameter adjustment prediction model to the welding process control, including adjusting the welding heat source power distribution parameters and welding speed parameters in real time, adjusting the welding gun movement speed, swing amplitude and frequency, so as to make the temperature field distribution uniform and reduce the temperature gradient between dissimilar metals; During the welding process, the data from infrared thermal imagers, displacement sensors and strain gauges are used to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and microstructure evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. Based on the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of dissimilar metal welding joints. The real-time temperature field scanning of the dissimilar metal welding joint is performed to obtain the weld cooling rate and heat input distribution data, image segmentation processing is performed according to the scanned temperature field image, the temperature data of the weld area, the heat affected zone and the base metal area are extracted, and whether the temperature gradient exceeds a preset threshold is determined, including: Use infrared thermal imager to scan the temperature field of dissimilar metal welding joints in real time to obtain temperature distribution data of weld area, heat affected zone and parent metal area; Calculate the cooling rate and heat input distribution of the weld according to the temperature distribution data, and perform image segmentation processing according to the temperature field image to extract the temperature data of each area; Based on the extracted temperature data, a three-dimensional temperature distribution model is constructed using an interpolation algorithm to calculate the temperature gradient between each area. The temperature gradient is obtained by dividing the temperature difference between adjacent areas by the distance. According to the three-dimensional temperature distribution model, a thermal map for displaying the temperature abnormality area is generated by a data visualization tool; For the abnormal temperature areas shown on the thermal map, the welding current, voltage and welding speed are adjusted in real time to control the heat input. The control strategy includes reducing the current or increasing the welding speed if the predicted temperature is higher than the preset threshold; If the predicted temperature is lower than the preset threshold, the voltage is increased or the welding speed is decreased; The control strategy is used to continuously optimize welding process parameters so that the cooling rate and temperature gradient of the weld are kept within a preset range; If the temperature gradient exceeds the threshold, the temperature field data is numerically simulated to establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the difference in thermal properties between the weld and the base material. The temperature gradient and heat flux density distribution of each area during the welding process are obtained according to the model to determine whether there is uneven distribution of heat input, including: Acquire temperature field data and calculate temperature gradient, and if the temperature gradient exceeds a preset threshold, discretize the Fourier heat conduction equation using a finite difference method; According to the discretization results, the thermal properties of the weld and the base material, such as thermal conductivity, specific heat capacity and density, are obtained from the dissimilar metal material property database, and the thermophysical property parameters are used as the properties of the mesh unit to construct a numerical calculation mesh that includes the difference in thermophysical properties between the weld and the base material. Using the numerical calculation grid to perform numerical simulation on the temperature field data to obtain numerical simulation results; A three-dimensional temperature field model of a dissimilar metal welding joint is established according to the numerical simulation results, and a three-dimensional Kriging interpolation method is used to refine the three-dimensional temperature field model; Calculating the temperature gradient of each grid node in the three-dimensional temperature field model, and calculating the heat flux density using Fourier's law; According to the heat flux density, the average heat input of the weld area and the heat affected zone is calculated, and it is determined whether the difference between the heat input of the weld area and the heat affected zone exceeds a preset threshold value. If the difference exceeds the preset threshold value, it is determined that there is an uneven distribution of heat input; In the welding process, the data of infrared thermal imager, displacement sensor and strain gauge are comprehensively used to obtain the real-time monitoring signal of welding deformation, establish the coupling model of temperature field and organizational evolution, dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld, and adjust the welding heat source power, welding speed, cooling rate, welding temperature and holding time in real time according to the prediction results to optimize the overall quality of the dissimilar metal welding joint, including: The data acquisition card is used to synchronously collect data from the infrared thermal imager, displacement sensor and strain gauge to obtain the temperature field, displacement and strain information during the welding process; Establish a state space model based on the collected data, use different sensor data as observations, estimate the welding deformation state through the Kalman filter algorithm, and eliminate noise and redundant information; According to the estimated welding deformation state, a coupled model of temperature field and microstructure evolution based on finite element method is established. The coupled model is used to describe the temperature distribution and metal microstructure evolution during welding. Analyze temperature distribution and metal structure evolution, and dynamically predict weld cooling rate, heat input distribution, and temperature gradient; According to the dynamic prediction results, a fuzzy adaptive controller is applied. If the deviation between the prediction result and the target value is large and the deviation change rate is positive, the welding power is increased; If the deviation between the predicted result and the target value is small and the deviation change rate is negative, the welding power is reduced and the welding process parameters are adjusted in real time.

2. The method according to claim 1, characterized in that The method analyzes the behavior of the welded joint under the combined action of thermal stress and mechanical stress in the area with uneven heat input distribution, obtains the residual stress distribution and the difference in plastic deformation capacity, and analyzes the stress concentration area in combination with the yield strength of the material, including: Based on the temperature field data of the area with uneven heat input distribution, the finite element method is used to perform thermal-mechanical coupling analysis, including calculating the temperature distribution through the heat conduction equation; The thermal stress distribution is obtained by using the temperature distribution and the thermal expansion coefficient, and the mechanical stress distribution is calculated by combining the mechanical constraints during the welding process; Based on the superposition results of thermal stress and mechanical stress, the VonMises yield criterion is used to calculate the equivalent stress, where VonMises equivalent stress , σ v represents VonMises equivalent stress, σ1, σ2 and σ3 represent principal stresses respectively; The plastic strain distribution is solved by the elastic-plastic constitutive equation to obtain the residual stress distribution; If the ratio of the equivalent stress to the yield strength exceeds a preset threshold, it is marked as a high stress area; Adaptively refine the mesh in the high stress area: calculate the stress gradient inside each mesh unit, and if the stress gradient exceeds a preset threshold, divide the unit into four sub-units, and repeat this process until a preset maximum number of refinement layers is reached or the stress gradients of all units are lower than the threshold; For the refined mesh, the thermal-mechanical coupling analysis is repeated and the stress and strain distribution results are updated.

3. The method according to claim 1, characterized in that According to the stress concentration analysis results, a mapping relationship between welding heat source power distribution, welding speed and temperature field distribution is established, and a welding process parameter adjustment prediction model is obtained by training historical welding parameters and corresponding temperature field data in combination with heat flux density distribution, including: According to the welding heat source power distribution, welding speed and temperature field distribution data, the three-dimensional mapping relationship among the welding heat source power distribution, welding speed and temperature field distribution data is constructed by using numerical simulation software to obtain the continuous function relationship in the parameter space. Acquire historical welding parameters and corresponding temperature field data from a welding database, and perform standardization on the temperature field data, including selecting a principal component whose cumulative contribution rate reaches a preset threshold if the data dimension is high, and projecting the original data into a principal component space; Using the historical data after dimensionality reduction and combining with the heat flux density distribution information, a support vector regression algorithm is used to train the correlation model between welding process parameters and temperature field distribution. The correlation model uses radial basis function as the kernel function. Based on the association model, combined with the temperature field data in the real-time welding process, the trained association model is regarded as a function, and the target temperature field distribution is taken as the expected output; By calculating the gradient of the loss function with respect to the welding parameters, the welding heat source power and welding speed are iteratively updated until the preset optimization target is reached, and the prediction results of the welding process parameter adjustment are obtained.

4. The method according to claim 1, characterized in that The welding heat source power distribution parameters and welding speed parameters obtained by the welding process parameter adjustment prediction model are applied to the welding process control, including adjusting the power distribution of the welding heat source and the welding speed in real time based on the welding heat source power distribution parameters and the welding speed parameters, adjusting the welding gun movement speed, swing amplitude and frequency, so that the temperature field is evenly distributed and the temperature gradient between dissimilar metals is reduced, including: Obtain welding heat source power distribution parameters and welding speed parameters obtained by the welding process parameter adjustment prediction model, and transmit the welding heat source power distribution parameters and welding speed parameters to the welding control unit through a data interface; According to the welding heat source power distribution parameters and welding speed parameters, a proportional-integral-differential control method is used to adjust the welding power output power and wire feeding speed in real time, so that the deviation between the welding heat input and the predicted value is kept within a preset range; The ideal heat input at each point on the welding trajectory is calculated using an interpolation algorithm, and the basic path is constructed by combining the workpiece geometric features and weld shape; The temperature field data of the welding process is collected in real time by infrared thermal imager, and the temperature field data is divided into zones; According to the temperature field data and the welding parameter adjustment results, the fuzzy controller of the triangular membership function is used to dynamically adjust the swing amplitude and frequency of the welding gun to achieve uniform temperature field distribution and precise control of the cooling rate. The input variables of the fuzzy controller are the temperature gradient and the cooling rate, and the output variables are the adjustment amounts of the swing amplitude and frequency of the welding gun.

5. A temperature field optimization control system for a dissimilar metal welding joint, characterized in that: The system includes: a gradient judgment module, which is used to perform real-time temperature field scanning on the dissimilar metal welding joint, obtain the weld cooling rate and heat input distribution data, perform image segmentation processing based on the scanned temperature field image, extract the temperature data of the weld area, heat-affected zone and parent metal area, and judge whether the temperature gradient exceeds a preset threshold; The heat input determination module is used to perform numerical simulation on the temperature field data if the temperature gradient exceeds the threshold, establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the difference in thermal properties between the weld and the base material, and obtain the temperature gradient and heat flux density distribution of each area during the welding process based on the model to determine whether there is uneven heat input distribution; The regional analysis module is used to analyze the behavior of welded joints under the combined action of thermal and mechanical stresses in areas with uneven heat input distribution, obtain the residual stress distribution and plastic deformation capacity differences, and analyze the stress concentration area in combination with the yield strength of the material; The model building module is used to establish the mapping relationship between welding heat source power distribution, welding speed and temperature field distribution according to the stress concentration analysis results. Through the training of historical welding parameters and corresponding temperature field data, combined with the heat flux density distribution, the welding process parameter adjustment prediction model is obtained; A welding process control module, which is used to apply the welding heat source power distribution parameters and welding speed parameters obtained by the welding process parameter adjustment prediction model to the welding process control, including adjusting the power distribution of the welding heat source and the welding speed in real time based on the welding heat source power distribution parameters and the welding speed parameters, adjusting the moving speed, swing amplitude and frequency of the welding gun, so as to make the temperature field evenly distributed and reduce the temperature gradient between dissimilar metals; and The quality optimization module is used to comprehensively utilize the data of infrared thermal imagers, displacement sensors and strain gauges during the welding process to obtain real-time monitoring signals of welding deformation, establish a coupling model of temperature field and organizational evolution, and dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld. According to the prediction results, the welding heat source power, welding speed, cooling rate, welding temperature and holding time are adjusted in real time to optimize the overall quality of dissimilar metal welding joints; The real-time temperature field scanning of the dissimilar metal welding joint is performed to obtain the weld cooling rate and heat input distribution data, image segmentation processing is performed according to the scanned temperature field image, the temperature data of the weld area, the heat affected zone and the base metal area are extracted, and whether the temperature gradient exceeds a preset threshold is determined, including: Use infrared thermal imager to scan the temperature field of dissimilar metal welding joints in real time to obtain temperature distribution data of weld area, heat affected zone and parent metal area; Calculate the cooling rate and heat input distribution of the weld according to the temperature distribution data, and perform image segmentation processing according to the temperature field image to extract the temperature data of each area; Based on the extracted temperature data, a three-dimensional temperature distribution model is constructed using an interpolation algorithm to calculate the temperature gradient between each area. The temperature gradient is obtained by dividing the temperature difference between adjacent areas by the distance. According to the three-dimensional temperature distribution model, a thermal map for displaying the temperature abnormality area is generated by a data visualization tool; For the abnormal temperature areas shown on the thermal map, the welding current, voltage and welding speed are adjusted in real time to control the heat input. The control strategy includes reducing the current or increasing the welding speed if the predicted temperature is higher than the preset threshold; If the predicted temperature is lower than the preset threshold, the voltage is increased or the welding speed is decreased; The control strategy is used to continuously optimize welding process parameters so that the cooling rate and temperature gradient of the weld are kept within a preset range; If the temperature gradient exceeds the threshold, the temperature field data is numerically simulated to establish a three-dimensional temperature field model of the dissimilar metal welding joint that combines the difference in thermal properties between the weld and the base material. The temperature gradient and heat flux density distribution of each area during the welding process are obtained according to the model to determine whether there is uneven distribution of heat input, including: Acquire temperature field data and calculate temperature gradient, and if the temperature gradient exceeds a preset threshold, discretize the Fourier heat conduction equation using a finite difference method; According to the discretization results, the thermal properties of the weld and the base material, such as thermal conductivity, specific heat capacity and density, are obtained from the dissimilar metal material property database, and the thermophysical property parameters are used as the properties of the mesh unit to construct a numerical calculation mesh that includes the difference in thermophysical properties between the weld and the base material. Using the numerical calculation grid to perform numerical simulation on the temperature field data to obtain numerical simulation results; A three-dimensional temperature field model of a dissimilar metal welding joint is established according to the numerical simulation results, and a three-dimensional Kriging interpolation method is used to refine the three-dimensional temperature field model; Calculating the temperature gradient of each grid node in the three-dimensional temperature field model, and calculating the heat flux density using Fourier's law; According to the heat flux density, the average heat input of the weld area and the heat affected zone is calculated, and it is determined whether the difference between the heat input of the weld area and the heat affected zone exceeds a preset threshold value. If the difference exceeds the preset threshold value, it is determined that there is an uneven distribution of heat input; In the welding process, the data of infrared thermal imager, displacement sensor and strain gauge are comprehensively used to obtain the real-time monitoring signal of welding deformation, establish the coupling model of temperature field and organizational evolution, dynamically predict the cooling rate, heat input distribution and temperature gradient of the weld, and adjust the welding heat source power, welding speed, cooling rate, welding temperature and holding time in real time according to the prediction results to optimize the overall quality of the dissimilar metal welding joint, including: The data acquisition card is used to synchronously collect data from the infrared thermal imager, displacement sensor and strain gauge to obtain the temperature field, displacement and strain information during the welding process; Establish a state space model based on the collected data, use different sensor data as observations, estimate the welding deformation state through the Kalman filter algorithm, and eliminate noise and redundant information; According to the estimated welding deformation state, a coupled model of temperature field and microstructure evolution based on finite element method is established. The coupled model is used to describe the temperature distribution and metal microstructure evolution during welding. Analyze temperature distribution and metal structure evolution, and dynamically predict weld cooling rate, heat input distribution, and temperature gradient; According to the dynamic prediction results, a fuzzy adaptive controller is applied. If the deviation between the prediction result and the target value is large and the deviation change rate is positive, the welding power is increased; If the deviation between the predicted result and the target value is small and the deviation change rate is negative, the welding power is reduced and the welding process parameters are adjusted in real time.

6. An electronic device, characterized in that: include: One or more processors, and a memory; the processor and the memory are coupled; the memory is used to store computer program code, the computer program code includes computer instructions; When the processor executes the computer instructions, the electronic device executes the temperature field optimization control method for dissimilar metal welding joints as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the computer executes the method for optimizing the temperature field of a dissimilar metal welding joint as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for simulating steel / aluminum laser welding temperature field based on ProCAST numerical value

    CN103020373A

  • Welding seam deviation extraction and deformation control method based on stress change at welding position

    CN117961341A

  • Welding deformation prediction method based on welding longitudinal contraction force evaluation

    CN118106642A

  • Welding method for high-pressure quick-insertion connecting piece

    CN118438039A