A method and system for determining the end point of a copper anode furnace based on a stage feature space

By constructing a stage feature space and a joint determination method for copper anode furnaces, the problem of redox endpoint determination in existing technologies is solved, achieving more reliable and stable endpoint determination, reducing the misjudgment rate under abnormal operating conditions, and improving the interpretability of the model.

CN123158367APending Publication Date: 2026-11-24KUNMING METALLURGY INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611353169.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods for determining the endpoint of oxidation-reduction in copper anode furnaces are insufficient to fully reflect the differences in the characteristic contribution patterns of the two stages of oxidation-desulfurization and reduction-deoxidation, and abnormal fluctuations in local variables can easily lead to misjudgment of the endpoint.

Method used

A method for determining the endpoint of a copper anode furnace based on a stage feature space is constructed. By collecting flue gas composition, furnace operating parameters, and furnace mouth flame images, an endpoint state identification model for the oxidation and reduction stages is established. The SHAP method is used to calculate the feature contribution value, forming a stage feature space. The endpoint proximity probability and feature consistency are then combined for joint determination.

Benefits of technology

It improves the reliability and stability of endpoint determination, reduces the misjudgment rate under abnormal working conditions, and enhances the interpretability and traceability of model determination results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158367A_ABST
    Figure CN123158367A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for determining the endpoint of a copper anode furnace based on a stage feature space, belonging to the field of intelligent control in non-ferrous metal smelting. Addressing the problem that existing methods struggle to reflect the differences in feature contributions between the oxidation and reduction stages, this invention collects flue gas components, furnace condition parameters, and furnace flame images to construct multi-source process features, establishing endpoint state recognition models for both the oxidation and reduction stages. The SHAP method is used to calculate the magnitude and direction of the contribution of each input feature to the model output, driving the construction of a stage feature space. During online determination, the current sample feature contribution state is compared with the corresponding stage feature space, calculating the stage contribution consistency coefficient. An endpoint proximity signal is output only when both the endpoint proximity probability and the consistency coefficient simultaneously meet threshold conditions and are satisfied at multiple consecutive sampling points. This invention improves the reliability, stability, and interpretability of endpoint determination under complex operating conditions through a joint mechanism of probability determination and feature contribution consistency verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology for non-ferrous metal smelting, specifically to a method and system for determining the endpoint of a copper anode furnace based on stage feature space, applicable to the intelligent determination of oxidation and reduction endpoints during the refining process of a copper anode furnace. Background Technology

[0002] Copper anode furnace refining is a key process in pyrometallurgical copper production, comprising two stages: oxidation desulfurization and reduction deoxidation. The oxidation stage involves blowing air or oxygen-enriched gas into the molten copper to oxidize sulfur and easily oxidizable impurities. The reduction stage involves adding a reducing agent to reduce cuprous oxide to metallic copper. Accurate determination of the endpoints of these two stages directly affects the composition of the anode copper, casting quality, and refining operation time.

[0003] In existing technologies, earlier endpoint determination methods mainly used single flue gas components such as SO2 or CO as the basis for judgment. Jiangxi Liwode Technology Co., Ltd. proposed an intelligent endpoint determination system for oxidation-reduction in copper smelting anode furnaces. By collecting DCS signals and flue gas concentration values, it establishes SO2 concentration judgment models for both oxidation and reduction endpoints (Jiangxi Liwode Technology Co., Ltd. Intelligent endpoint determination system for oxidation-reduction in copper smelting anode furnaces: CN111291501A[P]. 2020-06-16). This type of method is simple to implement, but the endpoint threshold is easily affected by raw material composition, air supply intensity, furnace temperature, and flue gas dilution, and its ability to adapt to complex operating conditions is limited.

[0004] China ENFI Engineering Technology Co., Ltd. has proposed a method for predicting the endpoint of the refining anode copper reaction. This method uses the cumulative amount of reactant consumption as the target quantity and trains a basic model using a training dataset with predefined feature parameter combinations (China ENFI Engineering Technology Co., Ltd. Method and apparatus for predicting the endpoint of the refining anode copper reaction: CN114822723A[P]. 2022-07-29). While this type of method increases the sources of information, most still rely on pre-determined parameter thresholds or empirical criteria.

[0005] Shu Bo et al. established a prediction model for the refining and reduction endpoint of copper anode furnace using the GRNN algorithm. By optimizing image features through image deblurring, the prediction accuracy reached 96.54% (Shu Bo, Wang Enzhi, Xu Jianxin, et al. Prediction model for the refining and reduction endpoint of copper anode furnace based on GRNN algorithm [J]. Nonferrous Metals (Smelting Section), 2024(12): 35-42). Wu Jun et al. proposed an intelligent judgment method for the redox endpoint of anode furnace based on computer vision (Wu Jun, Ding Yangdong, Wang Guozhen, et al. Intelligent judgment method for the redox endpoint of anode furnace based on computer vision: CN121010829A [P]. 2025-11-25).

[0006] In terms of interpretability modeling of metallurgical processes, Xin Zicheng et al. fused TabPFN with SHAP and applied it to predict the yield of Si element in LF refining (Xin Zicheng, Zhang Jiangshan, Zhang Junguo, et al. Prediction model of Si element yield in LF refining by fusion of TabPFN and SHAP [J]. China Metallurgy, 2025, 35(11): 178-186). Wang Yangchun et al. used SHAP attribution analysis to verify the high degree of consistency between the model's decision logic and the metallurgical thermodynamic mechanism (Wang Yangchun, Meng Tianyu, Xiao Pengcheng, et al. EAF power consumption prediction per ton of steel by fusion mechanism constraint and improved RFECV [J]. China Metallurgy, 2026, 36(6): 148-159). Dong Shijian et al. constructed a multi-model stacking architecture based on random forest feature extraction and SHAP interpretability analysis for predicting the endpoint temperature of a Consteel electric arc furnace (Dong Shijian, Hu Wenyue, Kong Shuang, et al. Interpretable stacking network for predicting endpoint temperature of Consteel electric arc furnace using tabular data[J]. Engineering Applications of Artificial Intelligence, 2026, 171: 114305). While the aforementioned studies applied SHAP to the interpretability analysis of metallurgical processes, none of them addressed further constructing the SHAP feature contribution states into a stage-specific feature space for real-time consistency verification of online endpoint determination.

[0007] Therefore, it is necessary to provide a new method for determining the endpoint of a copper anode furnace. Based on the integration of multi-source process information, endpoint state identification models for the oxidation and reduction stages are established separately. Furthermore, a corresponding stage feature space is constructed based on the contribution differences of each input feature in the near-end state of different stages. This enables online endpoint determination to not only consider the near-end probability output by the model, but also to determine whether the current feature contribution state conforms to the typical endpoint characteristics of the corresponding stage, thereby improving the reliability, stability, and interpretability of endpoint determination. Summary of the Invention

[0008] The technical problem to be solved by this invention is that in the existing process of determining the redox endpoint of copper anode furnace, when a single flue gas index, a fixed endpoint standard, or the output results of a machine learning model are used for judgment, it is difficult to fully reflect the differences in the characteristic contribution patterns of the two stages of oxidation desulfurization and reduction deoxygenation, and abnormal fluctuations in local variables can easily lead to misjudgment of the endpoint.

[0009] To address the aforementioned technical problems, this invention provides a method for determining the endpoint of a copper anode furnace based on stage feature space, comprising the following steps.

[0010] The flue gas composition, furnace operating parameters, and furnace nozzle flame images during the copper anode furnace refining process were collected and, after synchronization and preprocessing, multi-source process characteristics were constructed. The flue gas components included SO2, O2, CO, and CO2; the furnace operating parameters included furnace pressure P, temperature T, and oxidation blast volume Q. air and reducing agent flow rate Q gas The effective flame region of the furnace flame image is extracted and converted to the HSV color space to obtain flame hue (H), saturation (S), and brightness (V). Time synchronization employs an alignment method based on a unified sampling timestamp, aligning the sampling times of flue gas components, furnace operating parameters, and furnace flame images to the same point in time. Anomaly processing uses the 3σ criterion to identify outliers, and linear interpolation is used to fill in the identified outliers. Normalization uses the Min-Max normalization method to linearly transform each feature variable to the [0,1] interval. After the above processing, an 11-dimensional multi-source process state vector for the current moment is formed. X t =[SO2,O2,CO,CO2,P,T,Q air Q gas ,H,S,V] t The above 11 variables constitute a unified candidate process state variable, used to describe the flue gas state, thermal state, operating state and flame state during the anode furnace refining process.

[0011] Endpoint state identification models are established for the oxidation and reduction stages of historical furnace runs to obtain the probability that the current state belongs to a near-endpoint state of the corresponding stage. The actual oxidation and reduction endpoints of historical furnace runs are determined based on on-site operation records, sampling and testing results, and verification results. Process samples near the corresponding endpoints are marked as near-endpoint states, and the remaining samples are marked as non-endpoint states. Training samples are constructed separately for the actual oxidation and reduction stages to establish an oxidation stage endpoint state identification model f. ox and the end-state identification model f of the restoration phase red Their outputs are respectively P ox (t)=f ox (X t ) and P red (t)=f red (X t ) Among them, P ox (t) and P red(t) represents the probability that the current process state is a state near the oxidation endpoint or a state near the reduction endpoint, respectively. During model building, Random Forest, XGBoost, and LightGBM were used as candidate algorithms, and accuracy, recall, F1 score, and area under the ROC curve were used as evaluation metrics for model selection. These metrics were only used for offline model evaluation and did not directly participate in online endpoint determination.

[0012] Based on the magnitude and direction of the contribution of each input feature in the near-terminal state samples to the corresponding stage model output, feature spaces for the oxidation stage and reduction stage are constructed respectively. For the trained oxidation and reduction endpoint state recognition models, the contribution value of each input feature to the model's near-terminal probability output is calculated. For the t-th sample in stage s, a feature contribution vector is formed. Φ s (t)=[φ s,j (t),φ s,2 (t),…,φ s,11 (t)] Where s represents the oxidation or reduction stage, and φ s,j (t) represents the contribution value of the j-th process variable to the probability of proximity to the current endpoint. The contribution value is calculated using the SHAP method. The SHAP value is based on the Shapley value theory in cooperative game theory. It quantifies the magnitude and direction of the contribution of each input feature to the model output by calculating the weighted average of the marginal contributions of each feature to all possible feature subsets.

[0013] To eliminate the differences in output amplitude between different furnace batches, the contribution values ​​of each feature are converted into normalized contribution values.

[0014] This results in a normalized feature contribution state vector. R s (t)=[r s,j (t),r s,2 (t),…,r s,11 (t)] The feature contribution state vectors of the oxidation and reduction stages near the historical endpoints are statistically analyzed. The dominant contribution features of each stage are determined based on the average absolute contribution value of each feature, and the typical contribution direction of each dominant contribution feature is determined based on the statistical distribution of the corresponding feature contribution values ​​in the near-end samples. Thus, the feature contribution state space Ω of the oxidation stage is constructed. ox and the contribution of the reduction stage features to the state space Ω red The two state spaces are not pre-specified with different input variables based on human experience, but are formed by the actual contribution structures of the model corresponding to historical industrial data from the oxidation and reduction stages, respectively.

[0015] Specifically, the stage feature space is constructed data-driven as follows: The mean absolute SHAP value of each feature in the samples near the historical endpoint of each corresponding stage is statistically calculated to determine the dominant contributing feature set K. s The method for determining the dominant contribution features is as follows: Calculate the average absolute SHAP value of each feature in samples near the historical endpoint of the corresponding stage; sort the features by average absolute SHAP value from largest to smallest; and select the top 5 features as dominant contribution features; or select a subset of features whose cumulative average absolute SHAP value contribution rate reaches a preset proportion as dominant contribution features. Normalize the contribution weight ω based on the proportion of the average absolute contribution value of each dominant contribution feature in the set of dominant contribution features. s,j ,satisfy

[0016] Based on the statistical distribution of the contribution values ​​of each dominant contribution characteristic in samples near the historical endpoint, the typical contribution direction d is determined. {s,j} The method for determining the typical contribution direction is as follows: statistically analyze the sign distribution of the SHAP values ​​of each dominant contribution feature in samples near the historical endpoint. When the proportion of positive samples exceeds a preset threshold, the typical contribution direction of that feature is determined to be positive; when the proportion of negative samples exceeds the preset threshold, the typical contribution direction is determined to be negative. When the contribution direction of the feature corresponding to the online sample is consistent with the typical contribution direction of samples near the endpoint of that stage, the feature is considered to meet the stage mechanism consistency requirement.

[0017] During online evaluation, the feature contribution status of the current sample is compared with the feature space of the corresponding stage to calculate the stage contribution consistency coefficient. The stage contribution consistency coefficient is calculated using the following formula.

[0018] Where I[·] is an indicator function, which takes the value 1 when the condition within the parentheses is true, and 0 otherwise. The stage contribution consistency threshold C s,th Based on the historical furnace counts in the validation set, the system aims to maintain a high recognition rate for samples near the endpoint while reducing erroneous endpoint judgments caused by instantaneous fluctuations in flue gas, furnace pressure disturbances, or flame anomalies. The method for determining the stage contribution consistency threshold involves calculating the stage feature consistency coefficient distributions for samples near the endpoint and non-endpoint state samples on the validation set. Adjusting the threshold maximizes the recognition rate of samples near the endpoint and minimizes the misjudgment rate of non-endpoint samples, or optimizes the overall evaluation index.

[0019] When the endpoint proximity probability and the stage feature consistency coefficient simultaneously meet the set conditions, and multiple consecutive sampling points meet the conditions, an endpoint proximity signal is output. During online operation, the corresponding endpoint state recognition model is invoked according to the current refining stage to obtain the endpoint proximity probability P.s (t), and simultaneously calculate the feature contribution vector of the current sample and the stage contribution consistency coefficient C. s (t). Only when both conditions are met simultaneously P s (t)≥P s,th And C s (t)≥C s,th Only when the above two conditions are met will the current sampling point be recorded as a valid endpoint proximity point. When multiple consecutive sampling points meet the above two conditions, the corresponding oxidation endpoint or reduction endpoint proximity signal will be output.

[0020] The above method transforms the traditional method of determining the endpoint solely based on the output probability of machine learning into a joint determination method of "endpoint probability judgment + model determination basis consistency judgment". This ensures that the model only outputs an endpoint proximity signal when it outputs a high endpoint probability and its determination basis conforms to the corresponding oxidation desulfurization or reduction deoxygenation reaction state characteristics.

[0021] This invention also provides a copper anode furnace endpoint determination system based on stage feature space, comprising a multi-source data acquisition module, a data processing module, an endpoint state identification module, a stage feature space construction module, and an endpoint determination module. The multi-source data acquisition module is used to acquire flue gas composition, furnace operating parameters, and furnace mouth flame images; the data processing module is used to generate multi-source process features; the endpoint state identification module is used to output the endpoint proximity probability for the corresponding stage; the stage feature space construction module is used to establish oxidation stage feature spaces and reduction stage feature spaces based on the feature contribution magnitude and direction of historical endpoint proximity state samples; the endpoint determination module is used to perform joint determination based on the endpoint proximity probability and stage feature consistency, and outputs an endpoint proximity signal.

[0022] Compared with the prior art, the present invention has the following beneficial effects.

[0023] This invention comprehensively utilizes flue gas composition, furnace operating parameters, and visual characteristics of the furnace mouth flame to characterize the operating status of the copper anode furnace. It also constructs stage feature spaces for the different reaction characteristics of the oxidation desulfurization and reduction deoxidation stages, which can reflect the differences in the contribution of different process features in the two reaction stages and avoid information confusion caused by using a unified feature relationship to describe the whole process.

[0024] This invention not only utilizes the endpoint state recognition model to output the endpoint proximity probability, but also compares the feature contribution state of the current sample with the corresponding stage feature space, and makes a joint judgment based on the endpoint proximity probability and the consistency of stage features. When local flue gas parameters, furnace condition parameters, or flame characteristics fluctuate abnormally, it can avoid directly judging the endpoint based solely on a single high-probability result, which helps reduce misjudgments caused by abnormal operating conditions and enhances the reliability and stability of endpoint determination.

[0025] This invention forms a stage feature space based on the contribution magnitude and direction of each input feature in the near-terminal state samples. The oxidation stage is mainly determined by features such as SO2 that reflect the oxidation desulfurization process, while the reduction stage is mainly determined by features such as CO, temperature, and flame state that reflect the reduction deoxidation process. This makes the model endpoint judgment have a clear metallurgical process basis and makes the endpoint judgment result correspond to the actual metallurgical reaction process.

[0026] This invention no longer simply outputs the endpoint judgment result of the machine learning model, but further analyzes the main features that form the judgment result and their contribution relationship. It can determine which process variables mainly generate the current endpoint prompt, improve the traceability and interpretability of the model judgment result, and facilitate the understanding and application of on-site operators. Attached Figure Description

[0027] Figure 1 This is a flowchart of the copper anode furnace endpoint determination method based on stage feature space as described in this invention; Figure 2 This is a flowchart of the multi-source process state construction and preprocessing described in this invention; Figure 3 This is a flowchart of the stage feature space construction and online consistency determination process described in this invention. Detailed Implementation

[0028] The present invention will be further described in detail below with reference to specific embodiments. These embodiments are for illustrative purposes only and are not intended to limit the scope of the invention.

[0029] Example 1

[0030] Intelligent determination of the end point of oxidation stage Validation was performed using actual production data from a copper anode furnace at a copper smelting company. A total of 50 complete production furnace runs were collected, yielding approximately 18,000 valid multi-source process samples, including approximately 2,000 samples from the oxidation stage and approximately 16,000 samples from the reduction stage. The data was divided into training, validation, and independent test sets based on the complete furnace runs, with 35 furnace runs in the training set, 7 in the validation set, and 8 in the independent test set. The oxidation stage contained 1,400, 280, and 320 samples respectively.

[0031] Multi-source process state construction. Based on SO2, O2, CO, CO2, furnace pressure P, temperature T, and oxidation air volume Q. air Reducing agent flow rate Q gas The oxidation process state vector is composed of 11 characteristics, including the flame at the furnace mouth (H, S, V). The actual oxidation endpoint for each furnace is determined based on on-site operation records, sampling and testing results, and expert review results. Samples of states near the endpoint and non-endpoint states are also established.

[0032] Endpoint state recognition models were established. Random Forest, XGBoost, and LightGBM were used to build oxidation endpoint state recognition models. Independent test results showed that the Random Forest model had an accuracy of 94.7%, a recall of 50.0%, an F1 score of 66.7%, and an area under the ROC curve of 0.971; the XGBoost model had an accuracy of 94.7%, a recall of 100.0%, an F1 score of 80.0%, and an area under the ROC curve of 0.989; and the LightGBM model had an accuracy of 97.4%, a recall of 75.0%, an F1 score of 85.7%, and an area under the ROC curve of 0.978. Considering both overall classification performance and the ability to recognize endpoint proximity states, this embodiment uses LightGBM as the endpoint state recognition model for the oxidation stage.

[0033] Phase-specific feature contribution state space construction. Further calculation of SHAP feature contributions for the LightGBM model. Using the TreeSHAP algorithm, based on the trained LightGBM tree model structure, SHAP values ​​are calculated for samples near the oxidation stage endpoint in 35 training cycles. TreeSHAP calculates the marginal contribution of each feature at different split nodes by traversing the tree structure. Its computational complexity is related to the tree depth and the number of samples, making it suitable for fast and accurate interpretation of tree ensemble models.

[0034] The features with the highest average absolute SAP values ​​during the oxidation stage are, in descending order: SO2, CO, furnace pressure (P), flame saturation (S), and flame color (H), with average absolute SAP values ​​of 2.805, 0.392, 0.286, 0.134, and 0.131, respectively. These five features are considered as the dominant contributing feature set K for the oxidation stage. ox ={SO2,CO,P,S,H}.

[0035] The contribution weights are determined by normalizing the average absolute SHAP value as a percentage of the five dominant contribution features. The specific calculation is as follows.

[0036] The total average absolute SHAP value is 2.805 + 0.392 + 0.286 + 0.134 + 0.131 = 3.748

[0037] The contribution weights of each feature are:

[0038]

[0039]

[0040]

[0041]

[0042] The weights mentioned above are calculated by normalizing the measured average absolute SHAP value, rather than being manually set.

[0043] Further analysis was conducted using the SHAP contribution vectors of samples near the oxidation endpoint from 35 training furnaces to determine the typical contribution directions of the five dominant features in the near-endpoint state. SHAP dependency analysis showed that SO2 was the most important determining variable in the oxidation stage. When the SO2 concentration was high, its SHAP value was mainly negative, and the model tended to judge it as a normal oxidation state; as the SO2 concentration decreased, its SHAP value gradually increased and turned positive, and the model output near-endpoint probability significantly improved. Samples with higher flame saturation S also mainly corresponded to larger positive SHAP values. Based on this, the typical contribution directions of each dominant feature in the oxidation stage were determined, such as the typical contribution direction d of SO2. ox,SO2 For a positive contribution (i.e., the contribution value is positive as the concentration decreases), the typical contribution direction of S is d. ox,S It is positive.

[0044] The consistency threshold C for the contribution of the oxidation stage was determined using seven validation furnace runs. ox,th Specifically, the consistency coefficients of stage features for samples near the endpoint and non-endpoint state samples in the validation set were calculated separately, and the distribution of the consistency coefficients between the two types of samples was analyzed. By adjusting the threshold, the recognition rate of samples near the endpoint was kept at a high level, while the misclassification rate of non-endpoint samples was minimized as much as possible, and finally, C was determined. ox,th The specific value. This threshold is determined by validation set data and is not arbitrarily set as a fixed value without validation.

[0045] Online determination process. The current 11-dimensional multi-source process state vector is input into the LightGBM model to obtain the probability of proximity to the oxidation endpoint, P. ox (t). Simultaneously, TreeSHAP is used to calculate the SHAP contribution vector Φ corresponding to the current sample. ox (t), and normalize it according to the following formula.

[0046] Obtain the normalized feature contribution state vector R ox (t). Furthermore, based on the dominant contribution feature set K... ox The consistency between the current contribution direction and the typical contribution direction of each feature in the oxidation stage is calculated using the following formula to determine the contribution consistency coefficient.

[0047] When P ox (t)≥0.50, and Cox (t)≥C ox,th When the current sampling point is recorded as the effective oxidation endpoint proximity point; after three consecutive sampling points meet the above conditions, the oxidation endpoint proximity signal is output.

[0048] Taking an actual production furnace from an independent test set as an example, the endpoint proximity probability output by the LightGBM model during the oxidation stage first exceeded 0.50 approximately 60.5 minutes after the start of oxidation, and then continued to rise, reaching 0.961 around 63.5 minutes. Based on the furnace's on-site operation records, sampling and testing results, and verification results, the actual oxidation endpoint was determined to be approximately 65 minutes. The endpoint proximity probability output by the model showed a significant increase before the actual oxidation endpoint was reached, and was able to form a stable high-probability output near the actual endpoint.

[0049] In the online application of the method of this invention, when the probability of the oxidation endpoint being nearby output by the model reaches 0.50, the sampling point is taken as a candidate endpoint proximity point, and the consistency coefficient C of the oxidation stage features of the current sample is further calculated. ox (t). Only when the probability P of the endpoint is near is... ox (t) is not less than 0.50, and the consistency coefficient of the oxidation stage characteristics C ox (t) is not lower than the set consistency threshold C ox,th Only when the above conditions are met are the current sampling points determined as effective near-endpoints for oxidation; after three consecutive sampling points meet the above conditions, an near-endpoint signal for oxidation is output. Through the above joint determination method, based on the model output of a high probability of near-endpoint, it is further determined whether the current high-probability result has a characteristic contribution structure consistent with the oxidation desulfurization endpoint. For high-probability outputs caused only by local flame changes, furnace pressure fluctuations, or abnormalities in a single process variable, when their characteristic contribution state is inconsistent with the characteristic space of the oxidation stage, they are not directly regarded as effective near-endpoints, thereby reducing the impact of abnormal process states on the endpoint determination results.

[0050] Example 2

[0051] Intelligent determination of the end point of the restoration phase The actual production data of the copper anode furnace of the same copper smelting enterprise as in Example 1 were selected for verification. A total of 50 complete production furnace runs were collected, obtaining approximately 18,000 valid multi-source process samples, of which approximately 16,000 samples were from the reduction stage. The data were divided into training set, validation set, and independent test set according to the complete furnace runs, with 35 furnace runs in the training set, 7 furnace runs in the validation set, and 8 furnace runs in the independent test set; the reduction stage contained 11,200, 2,240, and 2,560 samples respectively.

[0052] Multi-source process state construction. Based on SO2, O2, CO, CO2, furnace pressure P, temperature T, and oxidation air volume Q. airReducing agent flow rate Q gas The reduction process state vector is composed of 11 characteristics, including the flame at the furnace mouth (H, S, V). The actual reduction endpoint for each furnace is determined based on on-site operation records, sampling and testing results, and expert review results. Samples of states near the endpoint and non-endpoint states are also established for the reduction stage.

[0053] Endpoint state recognition models were established. Random Forest, XGBoost, and LightGBM were used to build endpoint state recognition models. Independent test results showed that the Random Forest model had an accuracy of 96.4%, a recall of 75.0%, an F1 score of 75.0%, and an area under the ROC curve of 0.990; the XGBoost model had an accuracy of 98.2%, a recall of 100.0%, an F1 score of 88.9%, and an area under the ROC curve of 0.990; and the LightGBM model had an accuracy of 96.4%, a recall of 75.0%, an F1 score of 75.0%, and an area under the ROC curve of 0.995. Considering both overall classification performance and the ability to recognize near-endpoint states, this embodiment adopted XGBoost as the endpoint state recognition model for the reconstruction stage. Its recall reached 100.0%, indicating that all near-endpoint state samples in the independent test set could be recognized by the model.

[0054] Phase-specific feature contribution state space construction. Further calculation of the feature contribution of each input feature in the XGBoost model to the probability of proximity to the restoration endpoint. Using the TreeSHAP algorithm, based on the trained XGBoost tree model structure, SHAP values ​​are calculated for samples near the restoration endpoint in 35 training iterations.

[0055] The features with the highest average absolute SAP values ​​during the reduction stage were, in descending order: CO, temperature (T), flame saturation (S), flame brightness (V), and furnace pressure (P), with average absolute SAP values ​​of 2.458, 0.360, 0.270, 0.162, and 0.069, respectively. These five features were selected as the dominant contributing feature set K for the reduction stage. red ={CO,T,S,V, P}.

[0056] The contribution weights are determined by normalizing the average absolute SHAP values ​​of the five dominant contribution characteristics mentioned above. The specific calculation is as follows.

[0057] The total average absolute SHAP value is 2.458 + 0.360 + 0.270 + 0.162 + 0.069 = 3.319

[0058] The contribution weights of each feature are:

[0059]

[0060]

[0061]

[0062]

[0063] The aforementioned contribution weights are obtained by normalizing the average absolute SHAP value of each dominant contribution feature, and are used to characterize the relative contribution of each feature in the feature space during the reduction stage.

[0064] Further analysis was conducted using the feature contribution vectors of samples near the reduction endpoint from 35 training furnaces. The magnitude and typical contribution direction of the aforementioned dominant features in the near-end point state were statistically analyzed. SHAP dependency analysis showed that CO was the main contributing feature for identifying the end-point state in the reduction stage. When the CO concentration was low, its feature contribution was mainly negative, and the model tended to judge that the copper liquid was still in a normal reduction process. As the CO concentration increased, its feature contribution gradually changed to positive, and the probability of near-end point output by the model increased accordingly. Temperature T and flame brightness V also showed a significant positive contribution relationship; samples corresponding to higher temperatures and higher flame brightness were more likely to be judged as close to the reduction endpoint. Changes in flame saturation S further reflected changes in the furnace atmosphere and combustion state during the reduction stage. Based on this, the typical contribution direction of each dominant feature in the reduction stage was determined, such as the typical contribution direction d of CO. red,CO For positive values ​​(i.e., the contribution value is positive as the concentration increases), the typical contribution direction of T is d. red,T For positive directions, the typical contribution direction of V is d. red,V It is positive.

[0065] The characteristic consistency threshold C of the reduction stage was determined using 7 verification furnace cycles. red,th Specifically, the consistency coefficients of stage features for samples near the endpoint and samples at non-endpoint states in the validation set were calculated separately. The distribution of the consistency coefficients of the two types of samples was analyzed. By adjusting the threshold, the recognition rate of samples near the endpoint was kept at a high level, while the misclassification rate of non-endpoint samples was minimized as much as possible. Finally, C was determined. red,th The specific value. This threshold is determined by validation set data and is not arbitrarily set without verification.

[0066] Online determination process. The current 11-dimensional multi-source process state vector is input into the XGBoost model to obtain the probability P of being close to the restored endpoint at the current time step. red (t). Simultaneously, TreeSHAP is used to calculate the SHAP contribution vector Φ corresponding to the current sample. red (t), and normalize it according to the following formula.

[0067] Obtain the normalized feature contribution state vector R red (t). Furthermore, based on the dominant contribution feature set K... red The consistency between the current contribution direction and the typical contribution direction of each feature in the model is used to calculate the contribution consistency coefficient during the restoration stage using the following formula.

[0068] When P red (t)≥0.50, and C red (t)≥C red , th When the current sampling point is determined as the nearest point to the effective restoration endpoint, the signal of the nearest restoration endpoint is output after three consecutive sampling points meet the above conditions.

[0069] Taking an actual production furnace from an independent test set as an example, in the early stage of the reduction process, the model output probability of near-end point remained at a low level. As the reduction reaction progressed, the model output probability began to increase rapidly at approximately 145 minutes after the start of reduction, reaching a peak of 0.965 around 149 minutes. Based on the on-site operation records, sampling and testing results, and verification results of this furnace, the actual reduction endpoint was determined to be approximately 150 minutes, and the peak position of the model probability was basically consistent with the actual reduction endpoint.

[0070] In the online application of the method of this invention, when the probability of approaching the restoration endpoint begins to rise and reaches 0.50, the corresponding sampling point is first regarded as a candidate endpoint proximity point, and then the feature contribution state of the model at that moment is judged using the feature space of the restoration stage. When a high endpoint proximity probability is accompanied by a contribution relationship consistent with the restoration endpoint proximity state of dominant contribution features such as CO, the current sampling point is determined as a valid restoration endpoint proximity point; after three consecutive sampling points meet the above conditions, the restoration endpoint proximity signal is output. In this way, the restoration endpoint determination is no longer based solely on the single probability result output by the XGBoost model, but adds a consistency judgment of the feature space of the restoration stage on the basis of the endpoint probability judgment. When the instantaneous change of combustion state, flame abnormality, or fluctuation of local process parameters causes the model output probability to temporarily increase, and the contribution state formed by CO, temperature, and flame visual features is inconsistent with the normal restoration endpoint feature space, the sampling point is not directly regarded as a valid endpoint proximity point, thereby reducing the influence of abnormal process states on the restoration endpoint determination.

[0071] Test case

[0072] To verify the technical effect of the joint determination mechanism described in this invention compared with the single probability determination mechanism, the following comparative experiment was designed based on the independent test sets of Examples 1 and 2.

[0073] The experimental group used the method described in this invention, that is, simultaneously satisfying the endpoint proximity probability P. s (t)≥0.50 and the consistency coefficient of stage characteristics C s (t)≥C s,th The endpoint signal is output when three consecutive sampling points meet the condition. The control group only uses the endpoint proximity probability determination, i.e., satisfying P... s When (t)≥0.50 and the condition is met for 3 consecutive sampling points, the endpoint signal is output without going through the stage feature consistency verification.

[0074] In the oxidation stage, among 8 furnaces and 320 samples in the independent test set, the control group experienced 2 misjudgments due to abnormal local flame fluctuations, with a misjudgment rate of 6.25% (per furnace). The experimental group effectively filtered out the aforementioned high-probability abnormal outputs through stage feature consistency verification, with a misjudgment rate of 0. In the reduction stage, among 8 furnaces and 2560 samples in the independent test set, the control group experienced 1 misjudgment due to instantaneous furnace pressure disturbances, with a misjudgment rate of 12.5% ​​(per furnace). The experimental group identified through consistency verification that the feature contribution state of this furnace did not match the feature space of the reduction stage, and no misjudgments occurred.

[0075] The comparative experiments described above demonstrate that the joint judgment mechanism of this invention, while maintaining a high recognition rate for samples near the endpoint, significantly reduces the misjudgment rate under abnormal operating conditions, enhancing the system's anti-interference capability and robustness under complex industrial conditions. This effect cannot be reasonably expected from a single probability judgment or a single SHAP analysis, reflecting the technical contribution of combining stage feature space construction and online consistency verification described in this invention.

[0076] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for determining the endpoint of a copper anode furnace based on stage feature space, characterized in that, include: The flue gas composition, furnace operating parameters, and furnace mouth flame images were collected during the copper anode furnace refining process. After synchronization and preprocessing, multi-source process characteristics were constructed. Based on the oxidation and reduction stages of historical furnace cycles, endpoint state identification models are established to obtain the endpoint proximity probability. Based on the contribution magnitude and direction of each input feature in the near-term state samples of the historical endpoint to the output result of the corresponding stage model, feature spaces for the oxidation stage and the reduction stage are constructed respectively. The feature spaces consist of a set of dominant contribution features, a contribution weight vector, and a typical contribution direction vector. During online determination, the feature contribution status of the current sample is compared with the feature space of the corresponding stage, and the stage feature consistency coefficient is calculated. When the endpoint proximity probability and the stage feature consistency coefficient simultaneously meet the set conditions, and multiple consecutive sampling points meet the conditions, the endpoint proximity signal is output.

2. The method according to claim 1, characterized in that, The multi-source process features include SO2, O2, CO, and CO2 in the flue gas; furnace pressure P, temperature T, oxidizing air volume, and reducing agent flow rate; and hue H, saturation S, and brightness V extracted from the furnace flame image, constituting an 11-dimensional process state vector. X t = [SO2, O2, CO, CO2, P, T, Q air , Q ga , H, S, V] t。 3. The method according to claim 1, characterized in that, The endpoint state identification model is established using historical production samples from corresponding stages. The actual endpoint is determined based on on-site operation records, sampling and testing results, and verification results. Based on this, endpoint-near-endpoint state samples and non-endpoint state samples are established. The endpoint proximity probability is expressed as... P s (t)=f s (X t ) Where s represents the oxidation stage or the reduction stage, and f s This is a model for identifying the endpoint state of the corresponding stage.

4. The method according to claim 1, characterized in that, The contribution magnitude and direction are calculated using the SHAP method. For the t-th sample in stage s, the feature contribution vector is: F s (t)=[φ s,1 (t),φ s,2 (t),…,φ s,11 (t)] Where φ s,j (t) represents the contribution of the j-th process variable to the probability of proximity to the current endpoint.

5. The method according to claim 4, characterized in that, Convert the contribution values ​​of each feature into normalized contribution values: Forming a normalized feature contribution state vector R s (t)=[r s,1 (t),r s,2 (t),…,r s,11 (t)]。 6. The method according to claim 5, characterized in that, The stage feature space is constructed using a data-driven approach as follows: Calculate the mean absolute SHAP value of each feature in the samples near the historical endpoint of each corresponding stage to determine the dominant contributing feature set K. s ; The contribution weight ω is determined by normalizing the contribution based on the proportion of the average absolute contribution value of each dominant contribution feature in the set of dominant contribution features. s,j ,satisfy The typical contribution direction d of each dominant contribution feature is determined based on samples near the historical endpoint. s,j。 7. The method according to claim 6, characterized in that, The consistency coefficient of the stage characteristics is calculated according to the following formula: Where I[·] is an indicator function, which takes the value 1 when the condition inside the parentheses is true, and 0 otherwise.

8. The method according to claim 7, characterized in that, The joint determination condition is: P s (t)≥P s,th And C s (t)≥C s,th Where P s,th C is the threshold for the probability of being close to the endpoint. s,th Contribute a consistency threshold to the stage.

9. The method according to claim 8, characterized in that, The stage contribution consistency threshold C s,th The stage feature consistency distribution of near-endpoint samples and non-endpoint state samples in the historical furnace batches of the validation set is determined to maintain a high recognition rate for near-endpoint samples while reducing misjudgments caused by abnormal operating conditions.

10. The method according to claim 8, characterized in that, The endpoint proximity probability threshold P s,th Take 0.50, and the consecutive multiple sampling points are 3 consecutive sampling points.

Citation Information

Patent Citations

  • Refined anode copper reaction endpoint prediction method and device

    CN114822723A

  • Method for intelligently judging oxidation-reduction end point of anode furnace based on computer vision

    CN121010829A