A welding control method for carbon dioxide cylinder
By analyzing and optimizing the historical welding records of carbon dioxide cylinders, building welding quality evaluation functions and collaborative optimization, the problems of high cost of existing welding control methods and extensive parameter selection are solved, and more efficient and accurate welding parameter selection is achieved, and the stability of welding quality is improved.
Patent Information
- Application Number
- CN202411554249.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-04
AI Technical Summary
The existing welding control methods are costly, extensive parameters are selected and subjectively affected, resulting in unstable welding quality.
By obtaining the historical welding records of carbon dioxide cylinders, the welding mass coefficient is extracted for bidirectional division, the influencing components is analyzed based on the forward solution set, the forward key factor set is obtained, and the welding quality evaluation function is constructed. Combining the welding task information, the forward solution set is traversed for dual-target matching, the population is initialized, and the shared path is coordinated to iterate the optimal welding parameter combination.
It has achieved the reduction of welding control costs, improved the accuracy and objectivity of welding parameter selection, and improved the stability and reliability of welding quality.
Smart Images

Figure CN119049146B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of welding control, and in particular to a welding control method for a carbon dioxide cylinder. Background Art
[0002] Carbon dioxide cylinders are widely used in industries such as industry, agriculture, food processing and firefighting. The welding quality during the manufacturing process is directly related to the safety and service life of the cylinders. The existing welding control method mainly selects welding parameters based on the experience of relevant technicians, supplemented by simple feedback control. There are technical problems such as high welding control cost, extensive parameter selection and subjective influence. Summary of the invention
[0003] The present invention provides a welding control method for a carbon dioxide cylinder to solve the technical problems in the prior art of high welding control cost, extensive parameter selection and subjective influence, and achieve the technical effect of reducing welding control cost and improving the accuracy and objectivity of welding parameter selection.
[0004] In a first aspect, the present invention provides a welding control method for a carbon dioxide cylinder, wherein the method comprises:
[0005] Obtain historical welding records of carbon dioxide cylinders, wherein the historical welding records include welding parameter records and welding quality evaluation records; according to the welding quality evaluation records, extract welding quality coefficients for bidirectional division, and divide the historical welding records into a forward solution set and a reverse solution set; perform influencing component analysis based on the forward solution set to obtain a forward key factor set, and construct a welding quality evaluation function based on the forward key factor set and the welding quality coefficient; according to welding task information, traverse the forward solution set for dual-target matching, obtain dual-target matching results, and initialize a first population and a second population; in combination with the welding quality evaluation function, construct a shared path, perform collaborative optimization on the first population and the second population, and iteratively obtain an optimal welding parameter combination, wherein the shared path is configured with a shared constraint; and perform welding control based on the optimal welding parameter combination.
[0006] In a feasible implementation, an influencing component analysis is performed based on the positive solution set to obtain a positive key factor set, including:
[0007] The forward solution set is parsed, and a matrix is constructed and standardized with the welding parameter records and the welding quality evaluation records to generate a standard forward data array; a correlation matrix of the standard forward data array is obtained, and a characteristic analysis of the correlation matrix is performed to obtain eigenvalues and eigenvectors; a plurality of welding parameters are serialized according to the eigenvalues to generate a forward factor sequence, and a contribution rate sequence of the forward factor sequence is calculated; based on the contribution rate sequence, the first N positive factors whose cumulative contribution rates meet a preset contribution rate threshold in the forward factor sequence are selected and stored as the forward key factor set.
[0008] In a feasible implementation, based on the positive key factor set and the welding quality coefficient, a welding quality evaluation function is constructed, including:
[0009] A parametric data set is constructed with the positive key factor set as an independent variable and the welding quality coefficient as a dependent variable; data fitting is performed on the parametric data set, and a fitting result is output; the fitting result is verified and corrected based on the welding task information to generate the welding quality evaluation function.
[0010] In a feasible implementation, traversing the forward solution set to perform dual-objective matching and obtaining a dual-objective matching result includes:
[0011] Based on the welding task information, task features are extracted; with the task features as index constraints, identical matching is performed on the forward solution set to obtain a first matching result; based on the task features, extended matching is performed on the forward solution set to obtain a second matching result; based on the first matching result and the second matching result, the dual-target matching result is output.
[0012] In a feasible implementation, a shared path is constructed in combination with a welding quality evaluation function, the first population and the second population are collaboratively optimized, and an optimal welding parameter combination is iteratively obtained. The method further includes:
[0013] The first population and the second population are respectively evaluated for quality by using the welding quality evaluation function to obtain quality evaluation results; based on the quality evaluation results, the first population and the second population are respectively divided into an optimal solution individual set and a non-optimal solution individual set; cross-mutation of the optimal solution individual set is performed to obtain a child individual set, and the child individual set is updated to the first population and the second population to perform iterative optimization; when the iterative process satisfies the sharing constraint, the solution individuals are shared through the sharing path.
[0014] In a feasible implementation, the sharing constraint includes a period constraint, a transition constraint, and a cumulative constraint. When any one of the period constraint, the transition constraint, and the cumulative constraint is satisfied, optimal solutions of the first population and the second population are shared.
[0015] In a feasible implementation, the method further includes:
[0016] Pre-welding control is performed through the optimal welding parameter combination to obtain a welding sample; quality assessment is performed on the welding sample to obtain a quality assessment result, wherein the quality assessment result includes a sample quality assessment coefficient and sample quality deviation information; feedback optimization is performed based on the quality assessment result.
[0017] In a feasible implementation, the method further includes:
[0018] According to the reverse solution set, a reverse factor set is extracted and obtained; the reverse factor set is parsed, a corresponding penalty factor is configured, and the penalty factor is added to the welding quality evaluation function.
[0019] The invention discloses a welding control method for a carbon dioxide cylinder, comprising: obtaining a historical welding record of the carbon dioxide cylinder, the historical welding record comprising a welding parameter record and a welding quality evaluation record; according to the welding quality evaluation record, extracting a welding quality coefficient and performing bidirectional division, dividing the historical welding record into a forward solution set and a reverse solution set; performing an influencing component analysis based on the forward solution set, obtaining a forward key factor set, and constructing a welding quality evaluation function based on the forward key factor set and the welding quality coefficient; according to welding task information, traversing the forward solution set to perform dual-target matching, obtaining a dual-target matching result, and initializing a first population and a second population; combining the welding quality evaluation function, constructing a shared path, performing collaborative optimization on the first population and the second population, and iteratively obtaining an optimal welding parameter combination, wherein the shared path is configured with a shared constraint; and performing welding control based on the optimal welding parameter combination.
[0020] The welding control method of a carbon dioxide cylinder disclosed in the present invention solves the technical problems of high welding control cost, extensive parameter selection and subjective influence, and achieves the technical effect of reducing welding control cost and improving the accuracy and objectivity of welding parameter selection. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a flow chart of a welding control method of a carbon dioxide cylinder of the present invention;
[0022] Figure 2 The present invention is a schematic diagram of a process for collaborative optimization in a welding control method for a carbon dioxide cylinder. DETAILED DESCRIPTION
[0023] The technical solution provided in the embodiments of the present invention is to solve the technical problems of high welding control cost, rough parameter selection and subjective influence in the prior art. The overall idea adopted is as follows:
[0024] First, historical welding records of the carbon dioxide cylinder are obtained, wherein the historical welding records include welding parameter records and welding quality evaluation records.
[0025] Next, according to the welding quality evaluation records, the welding quality coefficient is extracted for bidirectional division, and the historical welding records are divided into a forward solution set and a reverse solution set.
[0026] Then, an influencing component analysis is performed based on the forward solution set to obtain a forward key factor set, and a welding quality evaluation function is constructed based on the forward key factor set and the welding quality coefficient.
[0027] Then, according to the welding task information, the forward solution set is traversed to perform dual-target matching, the dual-target matching result is obtained, and the first population and the second population are initialized.
[0028] Then, combining the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and the optimal welding parameter combination is iteratively obtained, wherein the shared path is configured with a shared constraint.
[0029] Finally, welding control is performed based on the optimal welding parameter combination.
[0030] The above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods of the specification to better understand the above technical solution. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments of the present invention. It should be understood that the present invention is not limited to the example embodiments used only to explain the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. In addition, it should be noted that, for the convenience of description, only the parts related to the present invention are shown in the drawings, rather than all of them.
[0031] Example
[0032] Figure 1 The present invention is a flow chart of a welding control method for a carbon dioxide cylinder, wherein the method comprises:
[0033] The historical welding records of the carbon dioxide cylinder are obtained, wherein the historical welding records include welding parameter records and welding quality evaluation records.
[0034] Optionally, the historical welding records of the carbon dioxide cylinder can be local historical welding records obtained in the interactive target production scene or a wider range of online historical welding records obtained based on big data. Exemplary data sources of historical welding records include welding equipment, welding operation logs and quality inspection systems in production scenes, and welding records of other production scenes in the industry obtained based on the big data platform.
[0035] Optionally, welding parameter records include current, voltage, welding speed, welding angle, gas flow, etc.; welding quality evaluation records include welding strength, weld appearance, non-destructive testing results (such as X-ray testing, ultrasonic testing), etc.
[0036] Optionally, the historical welding records also include marked welding task information and welding equipment information, wherein the welding task information includes the external dimensions information, material information, grade information, quality control information, etc. of the carbon dioxide cylinder, and the welding equipment information includes the equipment type, equipment model, equipment parameters, etc. of the welding equipment.
[0037] The above process can be used to obtain the historical welding records of the CO2 cylinders. This helps to find problems and advantages in the welding process, thereby facilitating the subsequent optimization of the welding process, improving the welding quality, and ensuring the safety and reliability of the CO2 cylinders.
[0038] According to the welding quality evaluation records, the welding quality coefficient is extracted for bidirectional division, and the historical welding records are divided into a forward solution set and a reverse solution set.
[0039] Optionally, the welding quality coefficient is extracted for bidirectional division. First, the quality control requirements of the target scene or target welding task are obtained, and the quality control baseline is obtained. Then, the obtained welding quality coefficient is threshold judged based on the quality control baseline. If the welding quality coefficient meets or exceeds the quality control baseline, the corresponding historical welding record is stored in the forward solution set. If the welding quality coefficient does not meet the quality control baseline, the corresponding historical welding record is stored in the reverse solution set.
[0040] The forward solution set includes the relevant control factors for improving welding quality, while the reverse solution set includes the control factors that may lead to poor welding quality. The welding quality factor is an indicator used to quantify welding quality, which may include welding strength, welding defect rate, welding consistency, etc.
[0041] An influencing component analysis is performed based on the forward solution set to obtain a forward key factor set, and a welding quality evaluation function is constructed based on the forward key factor set and the welding quality coefficient.
[0042] Optionally, the influencing component analysis is used to determine which factors have the greatest impact on the welding quality and identify the positive key factors, for example, by including statistical analysis, machine learning methods (such as regression analysis, feature selection algorithm), etc. Analyze the relationship between the welding parameters (such as current, voltage, welding speed) in the forward solution set and the welding quality coefficient, identify the parameters that have the greatest impact on the welding quality, and thus obtain the positive key factor set. Among them, the positive key factor set refers to the control parameters or control conditions that play a major role in improving the welding quality, including welding temperature, welding voltage, welding angle, preheating temperature, etc.
[0043] Optionally, the welding quality evaluation function quantitatively represents the complex mapping relationship between the welding quality coefficient and multiple factors in the positive key factor set. Through the welding quality evaluation function, forward-looking quality evaluation based on welding control parameters can be achieved.
[0044] Through the analysis of influencing components, a set of positive key factors is obtained, which helps the subsequent optimization process to give priority to the control parameters or control factors that have a greater impact on welding quality, and reduce the number of control parameters in the control optimization, thereby improving the efficiency of subsequent control optimization.
[0045] In some embodiments, performing an influencing component analysis based on the forward solution set to obtain a forward key factor set includes:
[0046] The forward solution set is parsed, and a matrix is constructed and standardized with the welding parameter records and the welding quality evaluation records to generate a standard forward data array; a correlation matrix of the standard forward data array is obtained, and a characteristic analysis of the correlation matrix is performed to obtain eigenvalues and eigenvectors; a plurality of welding parameters are serialized according to the eigenvalues to generate a forward factor sequence, and a contribution rate sequence of the forward factor sequence is calculated; based on the contribution rate sequence, the first N positive factors whose cumulative contribution rates meet a preset contribution rate threshold in the forward factor sequence are selected and stored as the forward key factor set.
[0047] Optionally, an influencing component analysis is performed based on the forward solution set to obtain a forward key factor set. First, the forward solution set is parsed, and welding parameter records and welding quality evaluation records are extracted from the forward solution set. Based on the preset data format structure, a matrix 𝑋 is constructed, in which each row represents a welding record and each column represents a welding parameter or a welding quality evaluation index. Then the matrix 𝑋 is standardized so that the data of each parameter has zero mean and unit variance, and a standard forward data matrix is obtained. Among them. The welding parameter records may include welding current, welding speed, welding temperature, etc. The welding quality evaluation indicators include welding strength, defect rate, etc.
[0048] Furthermore, the correlation matrix of the standard forward data matrix is obtained. The correlation matrix is the covariance matrix of the standard forward data matrix, which reflects the linear correlation between the parameters and indicators in the standard forward data matrix. Specifically, the greater the difference in welding records on a certain parameter or indicator, the greater the amount of information contained in this parameter or indicator, and the greater the corresponding covariance.
[0049] Optionally, use a linear algebra library (such as NumPy or SciPy) to calculate eigenvalues and eigenvectors and perform feature analysis on the correlation matrix. The eigenvalue represents the explanatory power of the parameter or indicator for the data. The larger the eigenvalue, the stronger the explanatory power of the parameter or indicator represented by the corresponding eigenvector for the data, that is, the greater the change in this direction, the more important the corresponding parameter or indicator. The eigenvector represents the direction of the data in the new space. Each eigenvector points to the direction of the maximum variance of the data on the principal component.
[0050] Optionally, the welding parameters are sorted according to the size of the eigenvalues to generate a positive factor sequence, wherein the positive factor sequence is a descending sequence, that is, the welding parameters with large eigenvalues are at the top of the sequence. Then, the contribution rate is calculated based on the positive factor sequence, and the contribution rate reflects the proportion of each eigenvalue in the total eigenvalues. Exemplarily, the contribution rate of each eigenvalue is calculated by the following formula:
[0051] ;
[0052] in, Characterizes the eigenvalue of the i-th positive factor; b is the number of positive factors in the positive factor sequence; is the sum of all eigenvalues.
[0053] Furthermore, based on the contribution rate sequence, the first N positive factors whose cumulative contribution rate meets the preset contribution rate threshold in the positive factor sequence are selected, wherein the preset contribution rate threshold is determined based on the welding control needs of the target production scenario. The higher the quality requirements of the target production scenario and the finer the control granularity, the higher the corresponding contribution rate threshold is, so as to ensure that more feature information is retained and the accuracy and stability of welding control are improved. A lower contribution rate threshold can be used for scenarios with low quality requirements and rough control to simplify the model and calculation, thereby improving the efficiency of welding control.
[0054] Exemplarily, the cumulative contribution rate is calculated based on the following formula:
[0055] ;
[0056] Among them, C n represents the cumulative contribution rate, and N represents the selection of the first N positive factors.
[0057] In summary, the preset contribution rate threshold should be determined according to the specific needs of the target production scenario. For scenarios with high quality requirements and fine control granularity, selecting a higher contribution rate threshold (such as 95%) can ensure the accuracy and stability of welding control, thereby improving production efficiency and product quality.
[0058] In some embodiments, based on the positive key factor set and the welding quality coefficient, a welding quality evaluation function is constructed, including:
[0059] A parametric data set is constructed with the positive key factor set as an independent variable and the welding quality coefficient as a dependent variable; data fitting is performed on the parametric data set, and a fitting result is output; the fitting result is verified and corrected based on the welding task information to generate the welding quality evaluation function.
[0060] Optionally, based on the fitting method, a welding quality evaluation function is constructed, in which the positive key factor set is the independent variable condition of the fitting analysis, and the welding quality coefficient is the dependent variable, which reflects the quality level of the welding product corresponding to the positive key factor combination in the welding parameters.
[0061] Optionally, the positive key factor set and the welding quality coefficient are combined to form a parametric data set, and data fitting is performed on the parametric data set, and the data fitting methods include linear regression, nonlinear regression, support vector regression, etc. Specifically, based on the correlation linearity between the positive key factor set and the welding quality coefficient, a suitable fitting method is selected to obtain a fitting result, which includes a mathematical model, a decision tree model or a machine learning model, reflecting the complex mapping relationship between the independent variable (positive key factor) and the dependent variable (welding quality coefficient).
[0062] Optionally, based on the quality control information in the welding task information, the fitting result is verified to ensure that the obtained fitting result can correctly reflect the quality requirements of the welding task of the target production scenario for the welding product, and the output is a welding quality evaluation function. Exemplarily, the fitting result is verified and corrected, including adjusting the weight coefficients of multiple positive key factors.
[0063] According to the welding task information, the forward solution set is traversed to perform dual-target matching, a dual-target matching result is obtained, and the first population and the second population are initialized.
[0064] Optionally, all records in the forward solution set are traversed to match them with the welding task information, wherein the dual-target matching includes a first matching target and a second matching target, wherein the first matching target is welding quality, and the second matching target is welding efficiency, the first matching target is a matching condition that must be strictly met, and the second matching target is a matching condition that can be tolerated within a certain range.
[0065] Optionally, based on the dual-objective matching results, the first population and the second population are initialized respectively, wherein the first population and the second population may be solution sets of a genetic algorithm or a particle swarm optimization algorithm, etc. The population size of the first population is smaller than the population size of the second population. The first population has a smaller population size, and can be more focused on optimizing in a local area, which helps to accelerate the optimization process and improve the accuracy of the solution. The second population has a larger population size, and can search the solution space more extensively, which helps to find the global optimal solution.
[0066] Initializing the first population and the second population with different sizes helps to improve the optimization efficiency and convergence speed of subsequent optimization, and facilitates searching for the optimal solution in a wider space.
[0067] In some embodiments, traversing the forward solution set to perform dual-target matching and obtaining a dual-target matching result includes:
[0068] Based on the welding task information, task features are extracted; with the task features as index constraints, identical matching is performed on the forward solution set to obtain a first matching result; based on the task features, extended matching is performed on the forward solution set to obtain a second matching result; based on the first matching result and the second matching result, the dual-target matching result is output.
[0069] Optionally, the task features include welding quality features and welding efficiency features of the target welding task, which correspond to the first matching target and the second matching target in the dual target matching, respectively. Specifically, the welding quality features include welding strength, welding appearance, welding defect rate, etc.; the welding efficiency features include welding time, welding speed, welding material utilization rate, etc.
[0070] Optionally, dual-target matching is performed on each traversed record, including strict matching and expanded matching, wherein strict matching is used to match and obtain solutions in the forward solution set that fully meet the first matching target and the second matching target. In other words, the solution (welding control scheme) in the first matching result satisfies both the quality and efficiency requirements of the target welding task. Expanded matching is used to obtain solutions in the forward solution set that fully meet the first matching target but have slight differences in the second matching target but are still relatively close, thereby improving the diversity of the matching results while ensuring the quality of the matching results.
[0071] Specifically, based on the task characteristics, including the welding quality characteristics and welding efficiency characteristics of the target welding task, the forward solution set is expanded and matched. First, according to the welding quality characteristics and welding efficiency characteristics, the target value of welding quality and the target value of welding efficiency, as well as the tolerance range of welding efficiency, are set to obtain the first matching target and the second matching target. Then, the forward solution set is traversed to evaluate the welding quality and welding efficiency of each solution. Solutions that meet the welding quality target and whose welding efficiency is within the tolerance range are selected and stored as the second matching results.
[0072] In combination with the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and an optimal welding parameter combination is iteratively obtained, wherein the shared path is configured with a shared constraint.
[0073] Optionally, by constructing a shared path, the initial first population (same matching result) and the second population (expanded matching result) are collaboratively optimized to iteratively obtain the optimal welding parameter combination. This includes: quality evaluation through welding quality evaluation function; division of optimal solutions and non-optimal solutions based on quality evaluation results, crossover mutation and offspring update; iterative optimization and shared constraints. Among them, the shared constraints stipulate the conditions for information sharing between the first population and the second population.
[0074] In some embodiments, Figure 2 As shown, in combination with the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and the optimal welding parameter combination is iteratively obtained. The method also includes:
[0075] The first population and the second population are respectively evaluated for quality by using the welding quality evaluation function to obtain quality evaluation results; based on the quality evaluation results, the first population and the second population are respectively divided into an optimal solution individual set and a non-optimal solution individual set; cross-mutation of the optimal solution individual set is performed to obtain a child individual set, and the child individual set is updated to the first population and the second population to perform iterative optimization; when the iterative process satisfies the sharing constraint, the solution individuals are shared through the sharing path.
[0076] Specifically, first, the welding quality of the first and second populations is evaluated based on the welding quality evaluation function to obtain the quality evaluation results, which reflect the quality of the solutions in the first and second populations. Solutions with better quality evaluation results can be considered to have higher quality. Through quality evaluation, the welding quality of each solution (individual) in the first and second populations is quantified, which provides a basis for subsequent optimal solution screening and optimization.
[0077] Furthermore, according to the quality evaluation results, the individuals in the first population are divided into an optimal solution individual set and a non-optimal solution individual set, and at the same time, the individuals in the second population are divided into an optimal solution individual set and a non-optimal solution individual set. Among them, the optimal solution individual set refers to a set of individuals with higher quality evaluation scores, and the non-optimal solution individual set refers to a set of individuals with lower quality evaluation scores. Exemplarily, the division of optimal solution individuals and inferior solution individuals is achieved based on a preset proportional constraint, such as dividing the top 20% of the solutions in the quality evaluation results into an optimal solution individual set, and dividing the bottom 80% of the solutions in the quality evaluation results into a non-optimal solution individual set. By dividing into optimal solutions and non-optimal solutions, resources can be concentrated on the optimization of optimal solution individuals, thereby improving the optimization efficiency and effect.
[0078] Optionally, a crossover operation is performed on the optimal solution individual set to generate new individuals. Then, a mutation operation is performed on the newly generated individuals to increase the diversity of the population, and the generated offspring individual set is updated to the first population and the second population, replacing some of the non-optimal solution individuals in the non-optimal solution individual set, thereby achieving the update of the first population and the second population. Exemplarily, a random replacement or last-place elimination method can be used to replace some of the non-optimal solution individuals in the non-optimal solution individual set with the offspring individual set.
[0079] Optionally, multiple iterations of optimization are performed based on the updated first population and the second population until a preset termination condition is reached, such as a maximum number of iterations or the quality score is no longer significantly improved. Each iteration includes welding quality evaluation, optimal solution division, crossover mutation, and offspring update.
[0080] Optionally, when the iterative process satisfies the sharing constraint, such as reaching a certain number of optimization generations or the quality score of the optimal solution individual set reaching a certain level, the optimal solution individuals are shared between the first population and the second population through the shared path. Among them, the optimal solution individuals include the local optimal solution in the first population and the global optimal solution in the second population. The optimal solution individuals are transmitted between the two populations through the shared path to achieve information exchange and collaborative optimization, which helps to avoid local optimal solutions and thus improve the overall optimization effect.
[0081] In some implementations, the sharing constraint includes a period constraint, a transition constraint, and a cumulative constraint. When any one of the period constraint, the transition constraint, and the cumulative constraint is satisfied, optimal solutions of the first population and the second population are shared.
[0082] Optionally, the optimal solution sharing between the first population and the second population is controlled by setting sharing constraints. The sharing constraints include period constraints, transition constraints, and accumulation constraints. When any sharing constraint is satisfied, the optimal solution sharing is performed.
[0083] Specifically, the periodic constraint refers to sharing optimal solutions within a preset fixed iteration period, including setting a fixed iteration period. When the number of iterations reaches an integer multiple of the iteration period, the optimal solution sharing is triggered. Periodic optimal solution sharing through periodic constraints helps to regularly exchange information between populations, promote diversity and collaborative optimization. In other words, the periodic constraint is an offline constraint for optimal solution sharing, which defines the maximum sharing interval between the first population and the second population.
[0084] Specifically, the transition constraint means that when the quality score of the optimal solution individual in the population exceeds a preset threshold, the optimal solution is shared. Exemplarily, it includes setting a quality score threshold Q, and when the quality score of any optimal solution individual in the population increases or the increase ratio exceeds Q, the optimal solution sharing is triggered. Through the transition constraint, when a significant optimal solution is found, it can be shared immediately, the optimal solution information can be quickly disseminated, and the optimization efficiency can be improved.
[0085] Specifically, the cumulative constraint means that when the cumulative quality score of the optimal solution individuals in the population reaches a preset threshold, the optimal solution is shared. Specifically, it includes setting a cumulative quality score threshold C, and then, with iterative optimization, calculating the cumulative quality scores of all optimal solution individuals in the population. When the cumulative score reaches C, the optimal solution sharing is triggered. The cumulative constraint ensures that the overall quality of the optimal solution individuals is shared when the overall quality of the population reaches a certain level, promotes overall optimization, and helps avoid local optimal solutions.
[0086] In some implementations, the method further includes:
[0087] According to the reverse solution set, a reverse factor set is extracted and obtained; the reverse factor set is parsed, a corresponding penalty factor is configured, and the penalty factor is added to the welding quality evaluation function.
[0088] Optionally, multiple historical welding records in the reverse solution set contain control parameters that lead to unqualified welding quality. The introduction of reverse solution sets and reverse factor sets can help identify and avoid bad welding parameter combinations and further optimize the welding quality evaluation function, thereby improving the overall optimization effect.
[0089] Optionally, based on the reverse solution set, a reverse factor set is extracted, including using statistical analysis methods such as frequency analysis, correlation analysis, etc. to identify parameter combinations and features that frequently appear in the reverse solution set, thereby determining parameters that have a significant negative impact on welding quality.
[0090] Optionally, based on the above-mentioned influencing component analysis, the same method principle of obtaining the forward key factor set is used to parse the reverse solution set, identify the key factors affecting the welding quality, and store them as a reverse factor set. It should be understood that for the sake of brevity of the specification, no further explanation is given here.
[0091] Optionally, the penalty factor is used to penalize the reverse factors in the welding quality evaluation function, thereby reducing the score of the parameter combination containing these factors. Specifically, a penalty factor is configured for each reverse factor, and the coefficient or parameter of the penalty factor is determined according to the degree of negative impact of the reverse factor on the welding quality. Specifically, the configuration of the penalty factor is adjusted by experimental data or empirical knowledge. By configuring the penalty factor, the parameter combination containing the reverse factor can be penalized in the welding quality evaluation function, thereby avoiding the selection of these bad combinations.
[0092] Optionally, the welding quality evaluation function is modified, and the penalty factor is added to the function to obtain an optimized welding quality evaluation function. Specifically, for each welding parameter combination, the optimized welding quality evaluation function will calculate the reverse factors it contains and adjust its quality score according to the configuration of the penalty factor. Exemplarily, adding the penalty factor to the welding quality evaluation function includes adding or subtracting multiple penalty factors of multiple reverse factors in the welding quality evaluation function.
[0093] Welding control is performed based on the optimal welding parameter combination.
[0094] In some embodiments, the method further comprises:
[0095] Pre-welding control is performed through the optimal welding parameter combination to obtain a welding sample; quality assessment is performed on the welding sample to obtain a quality assessment result, wherein the quality assessment result includes a sample quality assessment coefficient and sample quality deviation information; feedback optimization is performed based on the quality assessment result.
[0096] Specifically, first, according to the current optimal welding parameter combination (such as current, voltage, welding speed, etc.), the welding equipment is set to perform pre-welding operations to generate welding samples. Then, based on the quality requirements or quality control standards of the target welding task, the quality evaluation of the welding sample is performed to obtain the quality evaluation result of the welding sample, which is the real welding quality coefficient of the optimal welding parameter combination.
[0097] Furthermore, based on the quality assessment results, the difference between the actual quality of the sample and the expected quality is analyzed, specifically, including calculating the difference between the actual welding quality coefficient of the quality assessment result and the welding quality coefficient of the optimal welding parameter combination based on the welding quality evaluation function in the optimization process. The quality index difference between the welding sample and the quality requirement or quality control standard of the target welding task is obtained, and the quality deviation information is obtained.
[0098] Then, the sample quality evaluation coefficient and quality deviation information are used to optimize the welding quality evaluation function accordingly. For example, different parameter adjustment steps are set for the evaluation parts of different indicators in the welding quality evaluation function based on the degree of deviation of the quality deviation information, and the quality evaluation function is adjusted with the goal of minimizing the difference between the sample quality evaluation coefficient and the welding quality coefficient based on the welding quality evaluation function.
[0099] In summary, the welding control method of a carbon dioxide cylinder provided by the present invention has the following technical effects:
[0100] By obtaining the historical welding records of the carbon dioxide cylinder including welding parameter records and welding quality evaluation records; extracting the welding quality coefficient for bidirectional division, the historical welding records are divided into a forward solution set and a reverse solution set; based on the forward solution set, the influence component analysis is performed to obtain the forward key factor set, and based on the forward key factor set and the welding quality coefficient, a welding quality evaluation function is constructed; according to the welding task information, the forward solution set is traversed for dual-target matching, the dual-target matching results are obtained, and the first population and the second population are initialized; combined with the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and the optimal welding parameter combination is iteratively obtained, wherein the shared path is configured with a shared constraint; welding control is performed based on the optimal welding parameter combination. Thus, the technical effect of reducing the welding control cost and improving the accuracy and objectivity of welding parameter selection is achieved.
[0101] It should be understood that the embodiments disclosed in the present invention and the above description can enable those skilled in the art to use the present invention to implement the present invention. At the same time, the present invention is not limited to the above-mentioned embodiments. It should be understood that those skilled in the art can still modify the technical solutions recorded in the above-mentioned embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A welding control method for a carbon dioxide cylinder, characterized in that: The method comprises: Obtaining historical welding records of carbon dioxide cylinders, wherein the historical welding records include welding parameter records and welding quality evaluation records; According to the welding quality evaluation record, the welding quality coefficient is extracted for bidirectional division, and the historical welding record is divided into a forward solution set and a reverse solution set; Performing an influencing component analysis based on the forward solution set to obtain a forward key factor set, and constructing a welding quality evaluation function based on the forward key factor set and the welding quality coefficient; According to the welding task information, traverse the forward solution set to perform dual-target matching, obtain dual-target matching results, and initialize the first population and the second population; In combination with the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and an optimal welding parameter combination is iteratively obtained, wherein the shared path is configured with a shared constraint; Perform welding control based on the optimal welding parameter combination; In which, in combination with the welding quality evaluation function, a shared path is constructed, the first population and the second population are collaboratively optimized, and the optimal welding parameter combination is iteratively obtained. The method also includes: Performing quality evaluation on the first population and the second population respectively by using the welding quality evaluation function to obtain quality evaluation results; Based on the quality evaluation result, the first population and the second population are divided into an optimal solution individual set and a non-optimal solution individual set respectively; Perform crossover mutation on the optimal solution individual set, obtain a set of offspring individuals, and update the set of offspring individuals to the first population and the second population, perform iterative optimization, and when the iterative process satisfies the sharing constraint, share the solution individuals through the sharing path.
2. A welding control method for a carbon dioxide cylinder as claimed in claim 1, characterized in that: Based on the positive solution set, an influencing component analysis is performed to obtain a positive key factor set, including: Parsing the forward solution set, constructing and standardizing a matrix with the welding parameter records and the welding quality evaluation records, and generating a standard forward data matrix; Obtaining a correlation matrix of the standard forward data array, and performing characteristic analysis on the correlation matrix to obtain eigenvalues and eigenvectors; Sequencing a plurality of welding parameters according to the characteristic values, generating a positive factor sequence, and calculating a contribution rate sequence of the positive factor sequence; Based on the contribution rate sequence, the first N positive factors in the positive factor sequence whose cumulative contribution rates meet a preset contribution rate threshold are selected and stored as the positive key factor set.
3. A welding control method for a carbon dioxide cylinder as claimed in claim 2, characterized in that: Based on the positive key factor set and the welding quality coefficient, a welding quality evaluation function is constructed, including: Taking the positive key factor set as the independent variable condition and the welding quality coefficient as the dependent variable, a parametric data set is constructed; Performing data fitting on the parameter-variable data set and outputting fitting results; The fitting result is verified and corrected based on the welding task information to generate the welding quality evaluation function.
4. A welding control method for a carbon dioxide cylinder as claimed in claim 3, characterized in that: Traversing the forward solution set to perform dual-target matching and obtain dual-target matching results, including: Extracting task features based on the welding task information; Using the task feature as an index constraint, performing the same matching on the forward solution set to obtain a first matching result; Based on the task feature, performing an extended match on the forward solution set to obtain a second matching result; The dual-target matching result is output according to the first matching result and the second matching result.
5. The welding control method of a carbon dioxide cylinder as claimed in claim 1, characterized in that: The sharing constraints include a period constraint, a transition constraint, and a cumulative constraint. When any one of the period constraint, the transition constraint, and the cumulative constraint is satisfied, optimal solutions of the first population and the second population are shared.
6. A welding control method for a carbon dioxide cylinder as claimed in claim 1, characterized in that: The method further comprises: Perform pre-welding control by using the optimal welding parameter combination to obtain a welding sample; Performing quality assessment on the welding sample to obtain a quality assessment result, wherein the quality assessment result includes a sample quality assessment coefficient and sample quality deviation information; Feedback optimization is performed based on the quality assessment result.
7. A welding control method for a carbon dioxide cylinder as claimed in claim 1, characterized in that: The method further comprises: Extracting and obtaining a reverse factor set according to the reverse solution set; The reverse factor set is parsed, a corresponding penalty factor is configured, and the penalty factor is added to the welding quality evaluation function.
Citation Information
Patent Citations
Ship welding process optimization method based on RBF and MOPSO
CN113642220A
Method and equipment for determining welding process parameter information
CN117807750A
