Welding robot with parameter prediction function

Through the neural network model and real-time welding inspection data, a welding process parameter prediction model is established, which solves the problem of traditional welding robots' insufficient ability to adjust the environment and materials, achieves high-precision welding parameter prediction and welding process optimization, and improves product quality and Production efficiency.

CN118700166AInactive Publication Date: 2024-09-27JIANGSU TURING INTELLIGENT ROBOT CO LTD

Patent Information

Application Number
CN202411213778.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-31
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional welding robots lack the flexibility to adjust to environmental changes, material property differences and real-time welding conditions, resulting in low welding parameter prediction accuracy, insufficient process optimization, and inconsistent product quality.

Method used

The neural network model is used for training, real-time data is obtained through the welding detection module, the welding process parameter prediction model is established and deployed, and the welding parameters, including current, voltage, movement speed and contact strength, are adjusted in real time to ensure the stability and quality of the welding process.

Benefits of technology

It improves the adaptability of welding robots to different materials and conditions, reduces defects caused by improper parameter settings, reduces the scrap rate, improves product quality and production efficiency, and enhances the automation and intelligence of welding robots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118700166A
    Figure CN118700166A
Patent Text Reader

Abstract

The invention discloses a welding robot with a parameter prediction function, which relates to the technical field of welding robots and comprises a mechanical structure module, a welding detection module, a model preparation module, a model establishment module, a real-time prediction module and a welding control module, the model building module comprises an initialization model sub-module, a model training sub-module, a model evaluation sub-module and a model deployment sub-module; the initialization model sub-module comprises an initialization model and a setting optimizer; the model training sub-module comprises training set division, forward propagation, loss calculation, back propagation, iterative training and model evaluation; the model evaluation sub-module carries out repeated training through verification set data and determines a final model; and the model deployment sub-module integrates the final model into the welding control module. By arranging the model building module, self-adaptive adjustment can be conducted according to different welding materials and welding conditions, the prediction precision of the welding parameters of the welding robot is improved, and the welding technology and quality are optimized and improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of welding robots, in particular to a welding robot with a parameter prediction function. Background Art

[0002] Traditional welding robots rely on preset fixed programs and parameters to operate, and lack the flexibility to adjust to environmental changes, differences in material properties, and real-time welding conditions. The welding robot of the present application is trained using a neural network model, and can adaptively adjust according to different welding materials and welding conditions, thereby improving the prediction accuracy of the welding robot's welding parameters, thereby optimizing the welding process and improving the quality of welded products.

[0003] The defects of existing welding robots are: 1. Patent document KR100687814B1 discloses a method for avoiding collisions during step welding of a welding robot. The document mainly considers how to avoid collisions during step welding of a welding robot, but does not consider how to make adaptive adjustments according to different welding materials and welding conditions to improve the prediction accuracy of welding parameters of the welding robot, thereby optimizing the welding process and improving the quality of welding products. 2. Patent document CN111300417B discloses a welding path control method and device for a welding robot. The document mainly considers how to solve the problem of hysteresis in position correction and poor correction effect, but does not consider how to improve the generalization ability of the welding parameter prediction model and ensure that the parameter prediction model can be stably applied to the welding robot; 3. Patent document CN115592324B discloses an automatic welding robot control system based on artificial intelligence. The document mainly considers the problem of how to accurately and automatically weld non-planar complex-shaped work targets, but does not consider how to monitor the internal state and welding quality in real time and provide feedback and adjustments, thereby reducing human errors and costs and enhancing the intelligence level of the welding robot; 4. Patent document CN114211173B discloses a method, device and system for determining a welding position. The document mainly considers how to improve the positioning accuracy of the welding position, but does not consider how to ensure the stability of the welding parameter prediction model and avoid welding defects and scrap rates caused by improper parameter settings of the welding robot. Summary of the invention

[0004] The object of the present invention is to provide a welding robot with parameter prediction function to solve the problems raised in the above background technology.

[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a welding robot with parameter prediction function, comprising a mechanical structure module, a welding detection module, a model preparation module, a model establishment module, a real-time prediction module and a welding control module, wherein the mechanical structure module is used to support and drive the welding robot, the welding detection module is used to detect the internal state and welding quality during welding, the model preparation module is used to receive the historical data detected by the welding detection module and to perform model design, the model establishment module is used to establish a prediction model for welding process parameters, the real-time prediction module is used to receive the real-time data detected by the welding detection module and input it into the established prediction model to obtain the predicted value of the welding process parameters, and the welding control module is used to control the mechanical structure module to perform welding operation according to the obtained predicted value; The model building module includes a model initialization submodule, a model training submodule, a model evaluation submodule, and a model deployment submodule; The initialization model submodule includes initializing the model and setting the optimizer. The random initialization method is applied to each layer of the neural network, initial values ​​are assigned to weights and biases, and the Adam optimizer is used to update the weights and biases of the neural network according to the gradient of the loss function. The model training submodule includes dividing the training set, forward propagation, calculating the loss, back propagation, iterative training and evaluating the model; The complete data set is divided into training set, validation set and test set. The ratio of training set, validation set and test set is 76%:12%:12%. The data in the training set is input into the neural network, and the forward propagation calculation is performed to obtain the prediction result. The value of the loss function is calculated according to the prediction result and the true label of the training set. Back propagation is performed according to the gradient of the loss function to calculate the gradient of each weight and bias. The Adam optimizer is used to update the value of the weight and bias according to the gradient. The process of forward propagation, loss calculation and back propagation is repeated until the loss function value converges to obtain a trained model.

[0006] Preferably, the model evaluation submodule is used to input the validation set data into the trained model, perform forward propagation calculation again to obtain the prediction result, calculate the performance index according to the prediction result and the true label of the validation set, the performance index includes precision, recall rate, F1 score, area under the ROC curve and mean square error, adjust the parameters of the model according to the performance index on the validation set, and then retrain the model, repeating multiple times until the model with the best performance on the validation set is found as the final model; The test set is input into the final model, and the forward propagation calculation is performed to generate the prediction results. The performance index is calculated based on the prediction results of the final model and the true labels of the test set to evaluate the performance of the final model. The model deployment submodule is used to integrate the final model that passes the model evaluation submodule into the welding control module.

[0007] Preferably, the mechanical structure module includes a base, a robotic arm and a welding gun, the base is used to provide stable support for the welding robot, the robotic arm is used to move the welding gun to the welding position, and the welding gun is used to perform welding work.

[0008] Preferably, the welding detection module includes an internal state monitoring submodule and a welding quality monitoring submodule. The internal state monitoring submodule includes a current sensor, a voltage sensor, a speed sensor and a mechanical sensor. The current sensor and the voltage sensor are used to measure the current and voltage during the welding process. The speed sensor is used to monitor the moving speed of the welding gun. The mechanical sensor is used to monitor the contact force between the welding gun and the workpiece during the welding process.

[0009] Preferably, the welding quality monitoring submodule includes a visual sensor, a weld tracking sensor, a displacement sensor and a pyroelectric sensor. The visual sensor is used to capture images through a camera during the welding process, the weld tracking sensor is used to detect the position of the weld, the displacement sensor is used to measure the position of the workpiece and the welding gun, and the pyroelectric sensor is used to measure the temperature of the workpiece.

[0010] Preferably, the model preparation module includes a data preparation submodule and a model design submodule; The data preparation submodule is used to receive historical data from the internal status monitoring module and the welding quality monitoring module. The historical data includes current, voltage, moving speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature. The historical data is cleaned to remove outliers, missing values ​​and erroneous data, and the historical data is standardized to obtain a complete data set.

[0011] Preferably, the model design submodule includes selecting a network structure, determining the number of network layers and nodes, and selecting an activation function and a loss function. The network structure is a recurrent neural network, and the neural network includes an input layer, a hidden layer, and an output layer. The input layer has 8 nodes, the hidden layer has 3 layers, and the output layer has 8 nodes. The activation function of the hidden layer is ReLU, and the loss function is the mean square error.

[0012] Preferably, during the actual welding process, the real-time prediction module receives the real-time data detected by the welding detection module, cleans the received real-time data, removes outliers, missing values ​​and erroneous data, and standardizes the real-time data. The processed real-time data is input into the prediction model established by the model establishment module. The prediction model calculates the predicted values ​​of the welding process parameters, and then outputs the predicted values ​​to the welding control module.

[0013] Preferably, the welding control module receives the predicted values ​​of the welding process parameters from the real-time prediction module, analyzes the received predicted values, determines the welding parameters that need to be adjusted and the adjustment range thereof, and generates corresponding control instructions based on the analysis results.

[0014] Preferably, the control instructions include adjusting welding current and voltage, changing welding movement speed, adjusting welding gun position, adjusting workpiece position, controlling contact force and controlling workpiece temperature.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention is provided with a model building module, and a random initialization method is applied to each layer of the neural network for training by using a neural network model, and initial values ​​are assigned to weights and biases. The Adam optimizer is used to update the weights and biases of the neural network according to the gradient of the loss function, and the complete data set is divided into a training set, a validation set, and a test set. The model training and evaluation are performed through the training set, the validation set, and the test set to obtain a suitable prediction model. Through the prediction model, the welding robot can adapt to different types of welding tasks and materials, including metal plates of different thicknesses and different materials, thereby improving the flexibility and adaptability of the welding robot. At the same time, accurate welding parameter prediction helps to reduce Reducing welding defects caused by improper parameter settings, including uneven welds, pores and cracks, can not only reduce the scrap rate, but also improve the overall quality and consistency of the product. In addition, the welding robot can automatically adjust the welding parameters according to the predicted results without manual intervention or frequent adjustments, which improves the production efficiency and stability of the welding robot and enhances the automation and intelligence of the welding robot. The automated and intelligent welding process reduces the need for manual intervention and reduces labor costs. Therefore, it can solve the problem of how to make adaptive adjustments according to different welding materials and welding conditions, improve the prediction accuracy of the welding robot's welding parameters, thereby optimizing the welding process and improving the quality of welding products.

[0016] 2. The present invention is provided with a model evaluation submodule and a model deployment submodule. The model evaluation submodule verifies the trained model through the validation set data to ensure that the prediction model not only performs well on the training set, but also maintains a high prediction accuracy on the validation set and the test set, which helps to prevent the prediction model from overfitting and improve the generalization ability of the prediction model. By calculating the precision, recall rate, F1 score, area under the ROC curve and mean square error on the validation set, the performance of the prediction model can be comprehensively evaluated. According to these indicators, the model parameters are adjusted and retrained, and the model can be continuously optimized to find the model with the best performance on the validation set as the final model. The performance evaluation of the final model on the test set provides an unbiased estimate of the model performance. The data has not been used in the model training and verification process, so the performance indicators on the test set can truly reflect the performance of the model in actual applications. The model deployment submodule integrates the final model that has been strictly evaluated into the welding control module, realizing the transformation from theoretical research to practical application, so that the welding robot can automatically adjust the welding parameters according to the prediction results to realize intelligent welding. By using the optimized and verified model for welding parameter prediction, the welding process can be more stable and consistent, which helps to reduce welding quality fluctuations caused by human factors or environmental factors and improve the overall quality of the product. Therefore, it can solve the problem of how to improve the generalization ability of the welding parameter prediction model and ensure that the parameter prediction model can be stably applied to the welding robot.

[0017] 3. The present invention is provided with an internal state monitoring submodule and a welding quality monitoring submodule. Through the current sensor and the voltage sensor, the welding robot can monitor the current and voltage in the welding process in real time, ensure that the welding parameters are within a reasonable range, and prevent welding quality problems caused by abnormal current or voltage. The speed sensor monitors the moving speed of the welding gun, which helps to control the welding speed and ensure that the welding process is stable and meets the process requirements. The mechanical sensor monitors the contact force between the welding gun and the workpiece to prevent damage to the workpiece or degradation of the welding quality due to excessive force, and also to avoid the influence of insufficient force on the welding effect. The visual sensor captures the image of the welding process through the camera, which can be used to analyze the appearance quality of the weld, including the weld width, excess height and undercut defects, providing an intuitive basis for welding quality evaluation. The weld tracking sensor can detect the position of the weld in real time to ensure that the welding gun always moves along the correct trajectory , improve welding accuracy and consistency, measure the position of the workpiece and the welding gun through the displacement sensor, which helps to control the relative position relationship during the welding process and ensure the stability of the welding quality, measure the temperature of the workpiece through the pyroelectric sensor, which helps to evaluate the heat input and cooling effect during the welding process, and prevent workpiece deformation or welding cracks caused by excessive temperature. Through the real-time monitoring and feedback mechanism of the internal state monitoring submodule and the welding quality monitoring submodule, the welding robot can adjust the welding parameters and process in time to ensure that the welding process is always in the best state, thereby improving the welding efficiency and quality. The combination of internal state monitoring and welding quality monitoring enables the robot to grasp the state of the welding process more comprehensively and provide data support for the optimization of the welding process. Therefore, it can solve the problem of how to monitor the internal state and welding quality in real time and provide feedback and adjustment, thereby reducing human errors and costs and enhancing the intelligence level of the welding robot.

[0018] 4. The present invention is provided with a data preparation submodule and a model design submodule. The data preparation submodule ensures the comprehensiveness and real-time nature of the data source by receiving historical data from the internal state monitoring and welding quality monitoring modules, providing a solid foundation for subsequent model training. The data cleaning and standardization processing steps further improve the data quality, remove abnormal values, missing values ​​and erroneous data, and reduce the impact of noise on model training. At the same time, the standardization processing enables data of different dimensions to be compared and calculated on the same scale, thereby improving the stability and accuracy of the prediction model. The model design submodule constructs a prediction model suitable for welding parameters by selecting a network structure, determining the number of network layers and nodes, and selecting appropriate activation functions and loss functions. This model structure can capture the dependencies in time series data and is particularly suitable for parameter prediction with time characteristics in the welding process. The ReLU activation function of the hidden layer helps to increase the nonlinear expression ability of the model, so that the model can learn more complex features. The mean square error as a loss function can directly measure the difference between the model prediction value and the actual value, providing a clear direction for the optimization of the model. It not only helps to optimize the welding process and improve the welding quality, but also can reduce the welding defects and scrap rate caused by improper parameter settings. Therefore, it can solve the problem of how to ensure the stability of the welding parameter prediction model and avoid welding defects and scrap rate caused by improper parameter settings of the welding robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a composition structure diagram of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not 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.

[0021] See also Figure 1, an embodiment provided by the present invention: a welding robot with parameter prediction function, comprising a mechanical structure module, a welding detection module, a model preparation module, a model establishment module, a real-time prediction module and a welding control module, the mechanical structure module is used to support and drive the welding robot, the welding detection module is used to detect the internal state and welding quality during welding, the model preparation module is used to receive the historical data detected by the welding detection module and perform model design, the model establishment module is used to establish a prediction model for welding process parameters, the real-time prediction module is used to receive the real-time data detected by the welding detection module and input it into the established prediction model to obtain the predicted value of the welding process parameters, and the welding control module is used to control the mechanical structure module to perform welding operation according to the obtained predicted value; The model building module includes a model initialization submodule, a model training submodule, a model evaluation submodule, and a model deployment submodule; The initialization model submodule includes initializing the model and setting the optimizer. The random initialization method is applied to each layer of the neural network, initial values ​​are assigned to weights and biases, and the Adam optimizer is used to update the weights and biases of the neural network according to the gradient of the loss function. The model training submodule includes dividing the training set, forward propagation, calculating the loss, back propagation, iterative training and evaluating the model; The complete data set is divided into training set, validation set and test set. The ratio of training set, validation set and test set is 76%:12%:12%. The data in the training set is input into the neural network, and the forward propagation calculation is performed to obtain the prediction result. The value of the loss function is calculated according to the prediction result and the true label of the training set. Back propagation is performed according to the gradient of the loss function to calculate the gradient of each weight and bias. The Adam optimizer is used to update the value of the weight and bias according to the gradient. The process of forward propagation, loss calculation and back propagation is repeated until the loss function value converges to obtain a trained model.

[0022] Furthermore, for each layer of the neural network, a random initialization method is used to assign initial values ​​to weights and biases, and the Adam optimizer is selected as the tool for updating weights and biases. The Adam optimizer combines the ideas of the Momentum and RMSprop optimization algorithms, and designs independent adaptive learning rates for different parameters by calculating the first-order moment estimate and the second-order moment estimate of the gradient. The model training submodule divides the complete data set into training set, validation set and test set in a ratio of 76%:12%:12%. The training set is used to train the prediction model, the validation set is used to adjust hyperparameters and avoid overfitting during the training process, and the test set is used to evaluate the final performance of the prediction model. The data in the training set is input into the neural network, and forward propagation calculation is performed through the activation function of each layer to finally obtain the prediction result. The value of the loss function is calculated based on the prediction result and the true label of the training set. The loss function is used to measure the difference between the prediction result of the prediction model and the true label. Back propagation is performed based on the gradient of the loss function to calculate the gradient of each weight and bias. The back propagation algorithm uses the chain rule to calculate the gradient layer by layer from the output layer to the input layer, and the Adam optimizer is used to update the weight and bias values ​​according to the gradient; Each iteration updates the weights and biases according to the current gradient and learning rate in the hope of reducing the value of the loss function. After each iteration, the validation set is used to evaluate the performance of the prediction model, and the process of forward propagation, loss calculation, back propagation, and weight update is repeated until the loss function converges, the preset number of iterations is reached, or the performance of the validation set is no longer improved. The trained prediction model is finally evaluated using the test set to evaluate its performance in practical applications. The final evaluation is performed after the prediction model training is completed and only once to avoid leakage of test set information to the prediction model.

[0023] See also Figure 1 , an embodiment provided by the present invention: a welding robot with parameter prediction function, a model evaluation submodule is used to input the verification set data into the trained model, perform forward propagation calculation again to obtain the prediction result, calculate the performance index according to the prediction result and the real label of the verification set, the performance index includes precision, recall rate, F1 score, area under the ROC curve and mean square error, adjust the parameters of the model according to the performance index on the verification set, and then retrain the model, repeat multiple times until the model with the best performance on the verification set is found as the final model; The test set is input into the final model, and the forward propagation calculation is performed to generate the prediction results. The performance index is calculated based on the prediction results of the final model and the true labels of the test set to evaluate the performance of the final model. The model deployment submodule is used to integrate the final model that passes the model evaluation submodule into the welding control module.

[0024] Furthermore, the purpose of the model evaluation submodule is to evaluate the performance of the model through the validation set data and adjust the model parameters according to the evaluation results to find the optimal model configuration. First, the pre-divided validation set data is input into the trained model. The model performs forward propagation calculation on the validation set data to generate prediction results. Based on the prediction results and the true labels of the validation set, a series of performance indicators are calculated, including but not limited to precision, recall, F1 score, area under the ROC curve and mean square error. These indicators comprehensively evaluate the performance of the model on the classification task; According to the performance indicators on the validation set, analyze the strengths and weaknesses of the model and adjust the parameters of the model accordingly, including the learning rate, number of layers, number of nodes, and regularization strength of the neural network. The purpose of parameter adjustment is to optimize the performance of the model on the validation set. Retrain the model with the adjusted parameters and repeat the above steps, including inputting validation set data, forward propagation calculation, calculating performance indicators, and parameter adjustment, until the model configuration with the best performance on the validation set is found. The model with the best performance on the validation set is selected as the final model, which will be used for subsequent testing and deployment; The purpose of the model deployment submodule is to integrate the evaluated and optimized final model into the welding control module to realize the intelligent control of the welding operation. First, the weight, structure and necessary configuration files of the final model are integrated into the welding control module, and the interface between the welding control module and the model is designed to ensure that the welding control module can receive welding data. The integrated welding robot is fully tested in the welding environment, including functional testing, performance testing and stability testing. The purpose of the test is to ensure that the welding robot can operate stably and perform welding operations accurately. The welding robot that passes the test is deployed to the actual production environment for formal application.

[0025] See also Figure 1 An embodiment of the present invention is: a welding robot with parameter prediction function, the mechanical structure module includes a base, a robotic arm and a welding gun, the base is used to provide stable support for the welding robot, the robotic arm is used to move the welding gun to a welding position, and the welding gun is used to perform welding work.

[0026] Furthermore, the base serves as the basic support structure of the welding robot, ensuring that the robot can remain stable when moving at high speed or subjected to large welding force. The base is usually equipped with wheels and fixings to adapt to different working environments and ground conditions. The robotic arm consists of multiple joints and connecting rods, and has high flexibility and precision. Through programmed control, the robotic arm can accurately move the welding gun to the specified welding position and execute complex welding trajectories. The joints of the robotic arm may be driven by servo motors to achieve high-precision position control and speed regulation. The welding gun is the direct execution tool for welding operations. The welding gun is equipped with current sensors, voltage sensors, speed sensors and mechanical sensors for real-time monitoring of the current and voltage during the welding process, the movement speed of the welding gun and the contact force between the welding gun and the workpiece, providing data support for parameter prediction and welding quality control.

[0027] See also Figure 1An embodiment of the present invention is: a welding robot with a parameter prediction function, the welding detection module includes an internal state monitoring submodule and a welding quality monitoring submodule, the internal state monitoring submodule includes a current sensor, a voltage sensor, a speed sensor and a mechanical sensor, the current sensor and the voltage sensor are used to measure the current and voltage during the welding process, the speed sensor is used to monitor the moving speed of the welding gun, and the mechanical sensor is used to monitor the contact force between the welding gun and the workpiece during the welding process.

[0028] Furthermore, the current sensor is responsible for accurately measuring the current passing through the welding gun during the welding process. By real-time monitoring of current changes, the welding parameters can be adjusted in time to avoid overheating and unfused welding. The voltage sensor is used to monitor the welding voltage, that is, the voltage difference between the welding gun and the workpiece. The stability and accuracy of the voltage can control the stability of the welding arc and ensure the uniformity of the weld. The data provided by the voltage sensor helps to optimize the welding process and improve the welding quality; The speed sensor is installed on the welding gun to accurately measure the moving speed of the welding gun. The welding speed will affect the weld morphology, penetration depth and welding efficiency. Through the speed sensor, the welding robot can automatically adjust the welding speed according to the welding materials and process requirements to ensure the stability and consistency of the welding quality and ensure that the welding meets the process requirements; The mechanical sensor is installed at the contact point between the welding gun and the workpiece to monitor the contact force between the welding gun and the workpiece during welding. The control of contact force can prevent the welding gun from scratching the surface of the workpiece and ensure the quality of weld formation, while also avoiding insufficient force affecting the welding effect. The data provided by the mechanical sensor helps the welding robot achieve more precise force-controlled welding and improve the accuracy and reliability of welding operations.

[0029] See also Figure 1 An embodiment of the present invention is: a welding robot with parameter prediction function, the welding quality monitoring submodule includes a visual sensor, a weld tracking sensor, a displacement sensor and a pyroelectric sensor, the visual sensor is used to capture images through a camera during the welding process, the weld tracking sensor is used to detect the position of the weld, the displacement sensor is used to measure the position of the workpiece and the welding gun, and the pyroelectric sensor is used to measure the temperature of the workpiece.

[0030] Furthermore, the visual sensor uses a built-in camera to capture images during the welding process and transmits the real-time images of the welding area to the real-time prediction module. The image is analyzed by the image processing algorithm to identify the position, shape, size and welding defects of the weld. Welding defects include pores, cracks and lack of fusion. The weld tracking sensor uses laser technology to detect the position and trajectory of the weld in real time to ensure that the welding gun can accurately align with the weld for welding; The displacement sensor is used to measure the position change of the workpiece and the welding gun during the welding process. The displacement sensor can monitor the relative position relationship between the welding gun and the workpiece in real time and provide accurate position information for the welding robot. The displacement sensor helps the welding robot to achieve accurate trajectory control and ensure that the welding gun can move along the predetermined path. At the same time, it can also provide data support for the adjustment of welding parameters and help the welding robot better adapt to different welding conditions. A pyroelectric sensor is a temperature measurement sensor based on the pyroelectric effect. It can measure the temperature changes of the workpiece during the welding process and convert these changes into electrical signals for output. The pyroelectric sensor provides real-time temperature monitoring capabilities for welding robots, helps control the amount of heat input during the welding process, and prevents workpiece deformation or burn-through caused by overheating. At the same time, it can also provide temperature data support for the evaluation of welding quality, helping welding robots to achieve more precise welding control.

[0031] See also Figure 1 ,An embodiment provided by the present invention: a welding robot with parameter prediction function, the model preparation module includes a data preparation submodule and a model design submodule; The data preparation submodule is used to receive historical data from the internal status monitoring module and the welding quality monitoring module. The historical data includes current, voltage, moving speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature. The historical data is cleaned to remove outliers, missing values ​​and erroneous data, and the historical data is standardized to obtain a complete data set.

[0032] Furthermore, the data preparation submodule first receives historical data from the internal state monitoring module. The historical data include current, voltage, moving speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature. The received original historical data contains abnormal values, missing values ​​and erroneous data. If these data are not processed, they will seriously affect the accuracy and reliability of subsequent data analysis. The data preparation submodule ensures the integrity and accuracy of historical data through data cleaning, which includes setting reasonable thresholds to filter abnormal values, using interpolation to fill missing values, and correcting erroneous data through logical checks and data verification; Since the data collected by different sensors have different dimensions and orders of magnitude, direct analysis will lead to deviation in the results. The data preparation submodule adopts a standardized processing method. You can choose one of the Z-score standardization or Min-Max normalization to convert all data to the same scale for subsequent data analysis and parameter prediction model training.

[0033] See also Figure 1An embodiment of the present invention is: a welding robot with parameter prediction function, the model design submodule includes selecting a network structure, determining the number of network layers and nodes, and selecting an activation function and a loss function, the network structure is a recurrent neural network, the neural network includes an input layer, a hidden layer and an output layer, the input layer has 8 nodes, the hidden layer has 3 layers, the output layer has 8 nodes, the activation function of the hidden layer is ReLU, and the loss function is the mean square error.

[0034] Furthermore, the model design submodule adopts a recurrent neural network as the basic network structure. The model design submodule designs the input layer into 8 nodes, which correspond to 8 key data received from the welding quality monitoring module and the internal state monitoring module, including current, voltage, moving speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature; In order to enhance the nonlinear modeling and feature extraction capabilities of the network, the model design submodule sets up three hidden layers. Each hidden layer contains a certain number of neurons to learn the complex relationship between data. The design of multiple hidden layers can provide more powerful model expression and generalization capabilities. The output layer is designed as 8 nodes, corresponding to the input layer, which is used to predict or regress 8 key data in the welding process, so that the model can consider the mutual influence and change trend of multiple parameters at the same time, thus providing more comprehensive prediction results; In the hidden layer, the model design submodule selects ReLU as the activation function. The ReLU function has the advantages of simple calculation, fast convergence speed and strong nonlinear mapping ability. It can effectively solve the gradient disappearance problem and improve the training efficiency and performance of the neural network. In order to measure the difference between the model's predicted value and the actual value and guide the model's training process, the model design submodule selects the mean square error as the loss function. MSE is a commonly used regression loss function that can reflect the average square difference between the predicted value and the actual value. By minimizing MSE to optimize the model parameters, the prediction results can be closer to the actual situation. The model design submodule of the welding robot constructs an efficient and accurate parameter prediction model by selecting the network structure, determining the number of network layers and nodes, and selecting appropriate activation functions and loss functions, providing strong data support and decision-making basis for the welding robot.

[0035] See also Figure 1An embodiment of the present invention is: a welding robot with a parameter prediction function, in which a real-time prediction module receives real-time data detected by a welding detection module during an actual welding process, cleans the received real-time data, removes abnormal values, missing values ​​and erroneous data, and standardizes the real-time data, inputs the processed real-time data into a prediction model established by a model establishment module, and the prediction model calculates predicted values ​​of welding process parameters, and then outputs the predicted values ​​to a welding control module.

[0036] Furthermore, the real-time prediction module first receives real-time data from the welding detection module. The real-time data includes current, voltage, welding gun movement speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature. Then, the real-time data is cleaned to remove possible outliers, missing values ​​and erroneous data, which can ensure the accuracy and reliability of the prediction model. The cleaned real-time data will be standardized to eliminate the influence of different dimensions, accelerate the model convergence speed, and improve the prediction performance of the model. The standardized real-time data is used as input and sent to the prediction model that has been trained in the model building module. The prediction model calculates the predicted value of the welding process parameters based on the input real-time data. The calculated prediction values ​​are then output to the welding control module, which adjusts the working parameters of the welding robot according to these prediction values ​​to achieve a more accurate and stable welding process.

[0037] See also Figure 1 An embodiment of the present invention is: a welding robot with a parameter prediction function, a welding control module receives the predicted value of the welding process parameter from the real-time prediction module, analyzes the received predicted value, determines the welding parameter that needs to be adjusted and the adjustment range, and generates corresponding control instructions according to the analysis result.

[0038] Control instructions include adjusting welding current and voltage, changing welding movement speed, adjusting welding gun position, adjusting workpiece position, controlling contact force and controlling workpiece temperature.

[0039] Furthermore, the welding control module first receives the predicted values ​​of welding process parameters from the real-time prediction module, the predicted values ​​including current, voltage, speed, welding gun position, workpiece position, contact force and workpiece temperature in the future period of time, and then the welding control module conducts a comprehensive analysis on the received predicted values, evaluates the deviation between the current welding state and the expected target, and determines the specific welding parameters that need to be adjusted and their adjustment direction and adjustment range; Based on the analysis results, the welding control module generates corresponding control instructions, which cover several key aspects of the welding process, including but not limited to: Adjust welding current and voltage: optimize welding heat input and ensure weld quality; Changing the welding moving speed: It can adapt to the requirements of different materials, thicknesses and welding positions, and improve welding efficiency; Adjust the welding gun position: ensure that the welding gun can accurately align with the weld to reduce welding deviation; Adjust the workpiece position: fine-tune the workpiece fixture and the robotic arm to put the workpiece in the best welding posture; Control contact force: adjust the contact force between the welding gun and the workpiece to maintain stable welding quality; Control workpiece temperature: When necessary, adjust the workpiece temperature through preheating or cooling system to prevent thermal deformation or cracking problems.

[0040] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A welding robot with parameter prediction function, characterized in that: It includes a mechanical structure module, a welding detection module, a model preparation module, a model building module, a real-time prediction module and a welding control module. The mechanical structure module is used to support and drive the welding robot. The welding detection module is used to detect the internal state and welding quality during the welding process. The model preparation module is used to receive the historical data detected by the welding detection module and perform model design. The model building module is used to establish a prediction model for welding process parameters. The real-time prediction module is used to receive the real-time data detected by the welding detection module and input it into the established prediction model to obtain the predicted value of the welding process parameters. The welding control module is used to control the mechanical structure module to perform welding operations according to the obtained predicted value. The model building module includes a model initialization submodule, a model training submodule, a model evaluation submodule, and a model deployment submodule; The initialization model submodule includes initializing the model and setting the optimizer. The random initialization method is applied to each layer of the neural network, initial values ​​are assigned to weights and biases, and the Adam optimizer is used to update the weights and biases of the neural network according to the gradient of the loss function. The model training submodule includes dividing the training set, forward propagation, calculating the loss, back propagation, iterative training and evaluating the model; The complete data set is divided into training set, validation set and test set. The ratio of training set, validation set and test set is 76%:12%:12%. The data in the training set is input into the neural network, and the forward propagation calculation is performed to obtain the prediction result. The value of the loss function is calculated according to the prediction result and the true label of the training set. Back propagation is performed according to the gradient of the loss function to calculate the gradient of each weight and bias. The Adam optimizer is used to update the value of the weight and bias according to the gradient. The process of forward propagation, loss calculation and back propagation is repeated until the loss function value converges to obtain a trained model.

2. A welding robot with parameter prediction function according to claim 1, characterized in that: The model evaluation submodule is used to input the validation set data into the trained model, perform forward propagation calculation again to obtain the prediction results, calculate the performance indicators based on the prediction results and the true labels of the validation set, including precision, recall, F1 score, area under the ROC curve, and mean square error, adjust the model parameters based on the performance indicators on the validation set, and then retrain the model, repeating this process multiple times until the model with the best performance on the validation set is found as the final model; The test set is input into the final model, and the forward propagation calculation is performed to generate the prediction results. The performance index is calculated based on the prediction results of the final model and the true labels of the test set to evaluate the performance of the final model. The model deployment submodule is used to integrate the final model that passes the model evaluation submodule into the welding control module.

3. A welding robot with parameter prediction function according to claim 1, characterized in that: The mechanical structure module includes a base, a robotic arm and a welding gun. The base is used to provide stable support for the welding robot, the robotic arm is used to move the welding gun to the welding position, and the welding gun is used to perform welding work.

4. The welding robot with parameter prediction function according to claim 1, characterized in that: The welding detection module includes an internal state monitoring submodule and a welding quality monitoring submodule. The internal state monitoring submodule includes a current sensor, a voltage sensor, a speed sensor and a mechanical sensor. The current sensor and the voltage sensor are used to measure the current and voltage during the welding process. The speed sensor is used to monitor the moving speed of the welding gun. The mechanical sensor is used to monitor the contact force between the welding gun and the workpiece during the welding process.

5. A welding robot with parameter prediction function according to claim 4, characterized in that: The welding quality monitoring submodule includes a visual sensor, a weld seam tracking sensor, a displacement sensor and a pyroelectric sensor. The visual sensor is used to capture images through a camera during the welding process, the weld seam tracking sensor is used to detect the position of the weld, the displacement sensor is used to measure the position of the workpiece and the welding gun, and the pyroelectric sensor is used to measure the temperature of the workpiece.

6. A welding robot with parameter prediction function according to claim 1, characterized in that: The model preparation module includes a data preparation submodule and a model design submodule; The data preparation submodule is used to receive historical data from the internal status monitoring module and the welding quality monitoring module. The historical data includes current, voltage, moving speed, contact force, weld position, workpiece position, welding gun position and workpiece temperature. The historical data is cleaned to remove outliers, missing values ​​and erroneous data, and the historical data is standardized to obtain a complete data set.

7. A welding robot with parameter prediction function according to claim 6, characterized in that: The model design submodule includes selecting the network structure, determining the number of network layers and nodes, and selecting the activation function and loss function. The network structure is a recurrent neural network. The neural network includes an input layer, a hidden layer, and an output layer. The input layer has 8 nodes, the hidden layer has 3 layers, and the output layer has 8 nodes. The activation function of the hidden layer is ReLU, and the loss function is the mean square error.

8. The welding robot with parameter prediction function according to claim 1, characterized in that: During the actual welding process, the real-time prediction module receives the real-time data detected by the welding detection module, cleans the received real-time data, removes outliers, missing values ​​and erroneous data, and standardizes the real-time data. The processed real-time data is input into the prediction model established by the model establishment module. The prediction model calculates the predicted values ​​of the welding process parameters and then outputs the predicted values ​​to the welding control module.

9. The welding robot with parameter prediction function according to claim 1, characterized in that: The welding control module receives the predicted values ​​of the welding process parameters from the real-time prediction module, analyzes the received predicted values, determines the welding parameters that need to be adjusted and the adjustment range, and generates corresponding control instructions based on the analysis results.

10. A welding robot with parameter prediction function according to claim 9, characterized in that: Control instructions include adjusting welding current and voltage, changing welding movement speed, adjusting welding gun position, adjusting workpiece position, controlling contact force and controlling workpiece temperature.

Citation Information

Patent Citations

  • System and method to facilitate welding software as a service

    CN108027911A

  • Arc welding seam forming accurate prediction method based on deep learning

    CN111177976A

  • Welding quality prediction method, device and equipment

    CN116713631A

  • Welding robot with parameter prediction function

    CN116900582A

  • Welding robot with function of predicting welding seam forming quality in real time

    CN117733439A

Cited By

  • Electronic cam synchronous pick-and-place control system and method based on fusion information

    CN119396006A

  • Electronic cam synchronous pick-and-place component control system and method based on fusion information

    CN119396006B

  • Intelligent motor shell welding workstation

    CN119426879A

  • An intelligent motor housing welding workstation

    CN119426879B

  • Welding current optimization method and device suitable for multiple material thicknesses

    CN119794510A