Coal mill fault early warning method based on optimized LightGBM algorithm
By optimizing the LightGBM algorithm and SSA-PSO optimization technology, the historical operating data of the coal mill is used to dynamically set the early warning threshold, which solves the problems of false alarms and threshold applicability of the traditional fault early warning method, and achieves the high efficiency of the coal mill. Failure warning and accurate prediction.
Patent Information
- Application Number
- CN202211403260.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-11-10
AI Technical Summary
Traditional coal-fired unit fault early warning methods have problems with false alarms and missed alarms. As the equipment is used longer, the set early warning thresholds are no longer applicable, and historical operating data are not effectively used.
A coal mill failure early warning method based on the optimized LightGBM algorithm is adopted. The historical operating data of the coal mill is collected from the SIS system for preprocessing and data dimensionality reduction. The LightGBM model is trained, and the SSA-PSO algorithm is used to optimize the hyperparameters and calculate the early warning parameters. The average value of the residuals is used as the dynamic threshold, and the model is regularly updated to set the dynamic early warning threshold range.
It realizes early failure warning of the coal mill, improves the accuracy and efficiency of the failure warning, avoids the trouble of manual parameter adjustment, can effectively process large-scale data, and ensures the accuracy of failure prediction.
Smart Images

Figure CN115879369B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of coal-fired units, and in particular to a coal mill fault early warning method based on an optimized LightGBM algorithm. Background Art
[0002] As a large auxiliary equipment in coal-fired units, coal mill is a key component of the unit's pulverizing system. Its operating condition will affect the operating efficiency of the entire generating unit. Therefore, it is necessary to conduct research on coal mill failures.
[0003] Traditional coal-fired unit equipment fault warnings are mostly based on mechanism modeling or practical experience, setting single or multiple parameter warning values for warning. Traditional fault warning methods have problems with false alarms and missed alarms in the normal warning process, and as the equipment is used for a longer time and the equipment's own mechanism changes, the originally set warning threshold will no longer be applicable. At this time, the warning threshold needs to be recalculated and set.
[0004] On the other hand, most domestic coal-fired units have accumulated a large amount of historical operating data since they were put into operation, but most of them have not been effectively used. If the operating status of various equipment can be analyzed and predicted through data-driven methods, the efficiency of current coal-fired unit fault warning will be greatly improved. Therefore, it is necessary to conduct research on coal-fired unit equipment fault warning based on intelligent algorithms such as machine learning. Summary of the invention
[0005] Based on this, in response to the above technical problems, a coal mill fault warning method based on the optimized LightGBM algorithm is provided, which has solved the problems in the prior art that the artificially set warning threshold cannot meet the long-term operation needs and the historical operation data is not effectively utilized.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] A coal mill fault early warning method based on optimized LightGBM algorithm, comprising:
[0008] Step S1, collecting original historical operation data of operation parameters of the coal mill under normal operation from the SIS system;
[0009] Step S2, preprocessing the original historical operation data, and performing data dimension reduction on the historical operation data obtained after the preprocessing by using the Pearson coefficient;
[0010] Step S3, selecting data according to a preset number from the historical operation data obtained after data dimensionality reduction, and inputting the selected data into the LightGBM model as a training set, and training to obtain a LightGBM parameter prediction model under normal operation of the coal mill; optimizing the LightGBM parameter prediction model using the SSA-PSO algorithm to obtain an optimized LightGBM parameter prediction model;
[0011] Step S4, using the optimized LightGBM parameter prediction model to calculate the warning parameter prediction value, and calculate the residual mean value of the warning parameter prediction value; the residual mean value of the warning parameter prediction value is used as the warning threshold reference value, and the warning threshold range is set according to the warning threshold reference value and various boundary conditions;
[0012] Step S5, regularly collect the actual operation data of the coal mill, input the actual operation data into the optimized LightGBM parameter prediction model after data dimension reduction, calculate the residual mean value of the warning parameters under the actual operation state, and judge whether the residual mean value of the warning parameters exceeds the warning threshold range; when it is judged that the residual mean value of the warning parameters exceeds the warning threshold range, output a warning prompt.
[0013] Optionally, the operating parameters include hot air door opening, cold air door opening, primary air pressure, inlet temperature, inlet flow, gearbox input bearing temperature, front axle temperature, motor winding temperature, rear axle bearing temperature, coal mill current, coal feeder current and coal feeder coal quantity.
[0014] Optionally, the preprocessing of the original historical operation data includes:
[0015] Eliminate non-numbers in the original historical operation data;
[0016] Eliminating non-steady-state values and noise values in the original historical operation data;
[0017] The original historical operation data is normalized, and the specific formula is as follows:
[0018]
[0019] in, Indicates that the xth group of samples is running parameter vector A i The value on express The normalized result; Represents vector A i The mean of max(A i ) represents the vector A i The maximum value of min(A i) represents the vector A i The minimum value of .
[0020] Optionally, the isnan function in MATLAB software is used to eliminate non-numbers in the original historical operation data; and the non-steady-state values and noise values in the original historical operation data are eliminated using the 3σ criterion.
[0021] Optionally, the performing data dimension reduction on the historical operation data obtained after preprocessing by using the Pearson coefficient method includes:
[0022] According to the historical operation data obtained after preprocessing, the Pearson coefficient of the warning parameter and other parameters is calculated. The calculation formula of the Pearson coefficient is as follows:
[0023]
[0024] Among them, x i (i=1,2,3,...,n) is the value of one of the other parameters x in the i-th sample, y i is the value of the warning parameter y in the i-th sample, is the average value of some other parameter x in n samples, is the average value of the warning parameter y in n samples, and r is the correlation coefficient between some other parameter x and the warning parameter y;
[0025] According to a preset number of groups, multiple groups of historical operating data of other parameters with the highest correlation with the warning parameters are selected as inputs of step S3.
[0026] Optionally, the step S3 specifically includes:
[0027] Step S301, from the historical operation data obtained after data dimensionality reduction, 300-600 samples are selected as training sets and input into the LightGBM model to train and obtain the LightGBM parameter prediction model under the normal operation state of the coal mill;
[0028] Step S302, initializing the LightGBM parameter prediction model and initializing various hyperparameters; the hyperparameters include learning rate, tree depth, number of leaf nodes, and minimum number of data on leaves;
[0029] Step S303, setting the parameters of the SSA-PSO algorithm; the parameters of the SSA-PSO algorithm include the population size N, the dimension d, the maximum number of iterations iter max , acceleration factor c1 and acceleration factor c2;
[0030] Step S304, taking the hyperparameter to be optimized as the initial particle, setting the maximum position and minimum position of the particle, initializing the initial position and speed of each particle, and constructing the current search area;
[0031] Step S305, calculate the fitness of each particle, set X b is the best individual in the population, and the best individual in the population is used as a scout; let X w The worst-positioned individual in the population is selected as the joiner;
[0032] Step S306, updating the individuals of the scout and the joiner;
[0033] Step S307, calculating the optimal individual position;
[0034] Step S308, determining whether the iteration termination condition of the current search area is satisfied, if satisfied, executing step S309, if not satisfied, returning to step S305;
[0035] Step S309, determining whether the iteration termination condition of the complete algorithm is satisfied, if satisfied, executing step S310, if not satisfied, returning to step S304;
[0036] Step S310, output the optimal combination of hyperparameters, and use the optimal combination of hyperparameters as the parameters of the LightGBM parameter prediction model to obtain an optimized LightGBM parameter prediction model.
[0037] Further optionally, in step S306, the scout searches in the current search area, and its position update formula is:
[0038]
[0039] in, represents the position of the i-th scout individual in the d dimension at the t-th iteration; α is a random number between 0 and 1; iter max is the maximum number of iterations;
[0040] The joiner explores according to the guidance of the scout, and its position update formula is:
[0041] v i(d+1) =rr·ω·v id +c1r1(p id -x id )+c2r2(p gd -x id )
[0042] x i(d+1) =x id +v i(d+1)
[0043] in, is the influencing factor used to guide the individual joiners to update their speed; ω is the weight coefficient used to adjust the algorithm's search ability; v id is the speed of participant individual i in dimension d; r1 and r2 are random numbers between 0 and 1; p id and p gd They represent the individual optimal solution and the global optimal solution of participant i in dimension d respectively; x id is the position of participant individual i in dimension d; v i(d+1) is the speed of participant individual i in dimension d+1 after being updated by its corresponding position update formula; x i(d+1) is the position x of the participant individual i in the d+1 dimension according to the previous dimension id and speed v i(d+1) The updated location.
[0044] Further optionally, the iteration termination condition of the current search area is that the maximum number of iterations is reached; the iteration termination condition of the complete algorithm is that the maximum number of iterations is reached or the optimal solution does not change any more;
[0045] The maximum number of iterations is 50.
[0046] Optionally, the step of calculating the early warning parameter prediction value using the optimized LightGBM parameter prediction model and calculating the residual mean value of the early warning parameter prediction value specifically includes:
[0047] Input the training set into the optimized LightGBM parameter prediction model to calculate the warning parameter prediction value;
[0048] The residual between the predicted value and the actual value of the warning parameter is calculated, and the residual average value of the predicted value of the warning parameter is calculated by a sliding window method.
[0049] Further optionally, the actual operation data of the coal mill is collected regularly, and after data dimension reduction, the actual operation data is input into the optimized LightGBM parameter prediction model, and the residual average value of the early warning parameter under the actual operation state is calculated to be:
[0050] After collecting the actual operating data of the coal mill, the actual operating data of multiple groups of other parameters with the highest correlation with the warning parameters are selected to form a warning data set, and the warning data set is input into the optimized LightGBM parameter prediction model to obtain the actual warning parameter prediction value under the actual operating state, and the residual average value of the warning parameter under the actual operating state is calculated by using the sliding window method.
[0051] This application has at least the following beneficial effects:
[0052] 1. The embodiment of the present application provides a coal mill fault warning method based on the optimized LightGBM algorithm. The method first pre-processes the original data and reduces the data dimension, then screens the training set and inputs the LightGBM parameter prediction model based on SSAPSO optimization to obtain the warning parameter residual, calculates the residual average value by the sliding window method, and then obtains the warning threshold reference value, and combines various boundary conditions of the coal mill under the current unit operating conditions to obtain the dynamic threshold range, and then predicts the warning parameters of the coal mill during actual operation and calculates the residual average value. When the warning threshold range is exceeded, an early warning is issued immediately to achieve early fault warning of the coal mill; the present application applies the LightGBM (Light Gradient Boosting Machine) algorithm to fault warning, which has the characteristics of fast training speed, low memory usage and high accuracy; compared with traditional fault warning methods, the LightGBM algorithm also supports parallel learning, and can ensure fault prediction accuracy while processing large-scale data; the present application also uses the SSA-PSO optimization algorithm to automatically optimize the main hyperparameters of the LightGBM model, avoiding the trouble of manual parameter adjustment and improving the efficiency of the model when processing large amounts of data.
[0053] 2. Compared with traditional fault warning technology, this application focuses on the use of historical operating data. It can achieve long-term warning by regularly updating the training set of the parameter prediction model and setting the dynamic warning threshold range in accordance with the current equipment operating conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a flow chart of a coal mill fault early warning method based on an optimized LightGBM algorithm provided in one embodiment of the present application;
[0055] Figure 2 This is a schematic diagram of the residual average value of the early warning parameter prediction value of the coal mill under the current working condition in one embodiment of the present application;
[0056] Figure 3 This is a schematic diagram of coal mill fault warning results in one embodiment of the present application;
[0057] Figure 4 Another flow chart of a coal mill fault early warning method based on an optimized LightGBM algorithm provided in one embodiment of the present application;
[0058] Figure 5 An internal structure diagram of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0060] In one embodiment, Figure 1 As shown, a coal mill fault early warning method based on an optimized LightGBM algorithm is provided, comprising the following steps:
[0061] Step S1, collecting original historical operation data of operation parameters of relevant coal mills under normal operation from the SIS system.
[0062] Among them, the coal mill is the HP843 / Dyn medium-speed coal mill from Unit 1 of a coal-fired power plant. The original historical operation data are all from the SIS system of the power plant, and the sampling time interval is 2 minutes. The coal mill operation parameters involved in the embodiment of the present application include hot air door opening, cold air door opening, primary air pressure, inlet temperature, inlet flow, gearbox input bearing temperature, front shaft temperature, motor winding temperature, rear shaft bearing temperature, coal mill current, coal feeder current and coal feeder coal quantity, a total of 12 medium-speed coal mill related operation parameters; a total of 10,000 samples were collected.
[0063] According to the plant's previous fault history and coal mill failure mechanism analysis, the coal mill rear shaft bearing temperature is selected as the warning parameter, and the remaining parameters are selected as the training set input part according to the subsequent data dimension reduction results. It should be noted that the selection of the above operating parameters and warning parameters are for this embodiment, and can be adjusted according to actual conditions in other embodiments.
[0064] Step S2, preprocessing the original historical operation data, and performing data dimension reduction on the historical operation data obtained after preprocessing by the Pearson coefficient method. The data collected from the SIS system is processed by data preprocessing and Pearson coefficient method, and the processed data will be used for training the parameter prediction model.
[0065] Among them, preprocessing the original historical operation data includes:
[0066] (1) Eliminate non-numbers (NAN values) in the original historical operation data; specifically, the isnan function in MATLAB software can be used to eliminate NAN values in the original historical operation data;
[0067] (2) Eliminate the unsteady-state values and noise values in the original historical operation data; specifically, the 3σ criterion can be used to eliminate the unsteady-state values and noise values in the original historical operation data;
[0068] (3) Normalize the original historical operation data. The specific formula is as follows:
[0069]
[0070] in, Indicates that the xth group of samples is running parameter vector A i The value on express The normalized result; Represents vector A i The mean of max(A i ) represents the vector A i The maximum value of min(A i ) represents the vector A i The minimum value of .
[0071] In addition, the Pearson coefficient method is used to reduce the dimension of the historical operation data obtained after preprocessing, including:
[0072] (1) Based on the historical operation data obtained after preprocessing, the Pearson coefficient of the warning parameter and other parameters is calculated. The Pearson coefficient calculation formula is as follows:
[0073]
[0074] Among them, x i (i=1,2,3,...,n) is the value of one of the other parameters x in the i-th sample, y i is the value of the warning parameter y in the i-th sample, is the average value of some other parameter x in n samples, is the average value of the warning parameter y in n samples, and r is the correlation coefficient between some other parameter x and the warning parameter y;
[0075] (2) According to a preset number of groups, multiple groups of historical operating data of other parameters with the highest correlation with the warning parameters are selected as inputs of step S3.
[0076] In other words, for the processed data, by calculating the Pearson coefficient of other parameters and the warning parameters, several groups of other parameters with the highest correlation are selected as the input items of the subsequent parameter prediction model training set. The specific selection of warning parameters and input parameters depends on the coal mill models and warning requirements of different units. The number of groups to be selected is also set according to the actual situation.
[0077] For example, according to the Pearson correlation coefficient from high to low, the top five operating parameters with the correlation coefficient are selected as the input of the training set, which are the motor winding temperature, the coal mill inlet temperature, the coal mill front bearing temperature, the coal mill inlet flow rate and the coal feeder coal amount. It should be noted that the screening of the above parameters is the screening result of this embodiment, and can be adjusted when using this application in other embodiments.
[0078] Step S3, select data according to a preset number from the historical operation data obtained after data dimensionality reduction, and input the selected data into the LightGBM model as a training set to train the LightGBM parameter prediction model under the normal operation state of the coal mill; use the SSA-PSO algorithm to optimize the LightGBM parameter prediction model to obtain the optimized LightGBM parameter prediction model.
[0079] That is, select part of the data after dimensionality reduction as the training set input, build the LightGBM parameter prediction model under the normal state of the coal mill, and build the optimized LightGBM parameter prediction model. The specific steps of step S3 are as follows:
[0080] Step S301, from the historical operation data obtained after data dimensionality reduction, 300-600 samples are selected as training sets and input into the LightGBM model to train and obtain the LightGBM parameter prediction model under the normal operation state of the coal mill;
[0081] For example, the first 400 samples of the processed data in step S2 can be selected as the training set to train the LightGBM parameter prediction model;
[0082] Step S302, initialize the LightGBM parameter prediction model and initialize each hyperparameter;
[0083] Among them, the hyperparameters include learning rate (learning_rate), tree depth (max_depth), number of leaf nodes (num_samples), and minimum number of data on leaves (min_child_samples);
[0084] Step S303, setting the parameters of the SSA-PSO algorithm, which include the population size N, dimension d, and maximum number of iterations iter max , acceleration factor c1 and acceleration factor c2, etc.;
[0085] Step S304, taking the hyperparameter to be optimized as the initial particle, setting the maximum position and minimum position of the particle, initializing the initial position and speed of each particle, and constructing the current search area;
[0086] Step S305, calculate the fitness of each particle, set X b is the best individual in the population, and the best individual in the population is used as a scout; let X w The worst individual in the population is selected as the joiner;
[0087] Step S306, updating the individuals of the scout and the joiner;
[0088] Specifically, the scout conducts a large-scale search in the current search area, and its position update formula is:
[0089]
[0090] in, represents the position of the i-th scout individual in the d dimension at the t-th iteration; α is a random number between 0 and 1; iter max is the maximum number of iterations;
[0091] The joiner explores according to the guidance of the scout, and its position update formula is:
[0092] v i(d+1) =rr·ω·v id +c1r1(p id -x id )+c2r2(p gd -x id )
[0093] x i(d+1) =x id +v i(d+1)
[0094] in, is the influencing factor used to guide the individual joiners to update their speed; ω is the weight coefficient used to adjust the algorithm's search ability; v id is the speed of participant individual i in dimension d; r1 and r2 are both random numbers between 0 and 1; p id and p gd They represent the individual optimal solution and the global optimal solution of participant i in dimension d respectively; x id is the position of participant individual i in dimension d; v i(d+1) is the speed of participant individual i in dimension d+1 after being updated by its corresponding position update formula; x i(d+1) is the position x of the participant individual i in the d+1 dimension according to the previous dimension id and speed v i(d+1) Updated location;
[0095] Step S307, calculating the optimal individual position;
[0096] Step S308, determining whether the iteration termination condition of the current search area is satisfied, if satisfied, executing step S309, if not satisfied, returning to step S305;
[0097] Among them, the iteration termination condition of the current search area is reaching the maximum number of iterations;
[0098] Step S309, determining whether the iteration termination condition of the complete algorithm is satisfied, if satisfied, executing step S310, if not satisfied, returning to step S304;
[0099] Among them, the iterative termination condition of the complete algorithm is that the maximum number of iterations is reached or the optimal solution no longer changes;
[0100] Step S310, output the optimal combination of hyperparameters, and use the optimal combination of hyperparameters as the parameters of the LightGBM parameter prediction model to obtain an optimized LightGBM parameter prediction model.
[0101] Furthermore, the maximum number of iterations can be set to 50. In this embodiment, after iterating the SSA-PSO algorithm 50 times, the hyper parameters obtained are: learning rate learning_rate=0.2, tree depth max_depth=10, number of leaf nodes num_leaves=1390, and minimum number of data on leaves min_child_samples=55.
[0102] Step S4, using the optimized LightGBM parameter prediction model to calculate the warning parameter prediction value, and calculate the residual mean of the warning parameter prediction value; the residual mean of the warning parameter prediction value is used as the warning threshold reference value, and the warning threshold range is set according to the warning threshold reference value and various boundary conditions.
[0103] Among them, the prediction value of the warning parameter is calculated by optimizing the LightGBM parameter prediction model, and the residual average value of the prediction value of the warning parameter is calculated specifically including:
[0104] Input the above training set into the trained optimized LightGBM parameter prediction model to calculate the predicted value of the warning parameter;
[0105] The residual between the predicted value and the actual value of the warning parameter is calculated, and the residual average of the predicted value of the warning parameter is calculated by the sliding window method.
[0106] For example, the training set is input into the optimized LightGBM parameter prediction model to obtain the corresponding rear bearing temperature prediction data, and the temperature prediction data is subjected to residual analysis, that is, the difference between the temperature prediction value and the actual temperature value is calculated to obtain the residual point, and M (M=20) consecutive residual points are selected as the sliding window length. The window slides forward 1 residual point each time, and the average value T of all residuals in the window is calculated. Figure 2 This is a schematic diagram of the residual mean value of the warning parameter prediction value of the coal mill under the current operating conditions in an embodiment of the present application.
[0107] from Figure 2 It is not difficult to see that the residual mean value is evenly distributed between (-0.4, 0.4). According to the current unit operating conditions and various boundary conditions of the coal mill, the absolute value of the bearing temperature residual value can be set to 0.4 as the warning threshold range, that is, Figure 2 It should be noted that the warning threshold range in this embodiment is set as the warning threshold setting under the current working condition. Due to the limited data processing capability of the computer, it is impossible to display the setting effects of different warning thresholds under all working conditions. The specific use of this application can be determined according to the situation.
[0108] Step S5, regularly collect the actual operation data of the coal mill, input the actual operation data into the optimized LightGBM parameter prediction model after data dimensionality reduction, calculate the residual mean value of the warning parameters under the actual operation state, and judge whether the residual mean value of the warning parameters exceeds the warning threshold range; when it is judged that the residual mean value of the warning parameters exceeds the warning threshold range, output a warning prompt.
[0109] Among them, the actual operation data of the coal mill is collected regularly, and after data dimension reduction, the actual operation data is input into the optimized LightGBM parameter prediction model, and the residual average value of the early warning parameters under the actual operation state is calculated as follows:
[0110] After collecting the actual operating data of the coal mill, the actual operating data of multiple groups of other parameters with the highest correlation with the warning parameters are selected to form a warning data set. The warning data set is input into the optimized LightGBM parameter prediction model to obtain the actual warning parameter prediction value under the actual operating state, and the residual average value of the warning parameter under the actual operating state is calculated by the sliding window method.
[0111] In this step, the actual operation data of the on-site coal mill is used to select the feature data with a high correlation with the rear bearing temperature (warning parameter) selected in step S2 to form a warning data set. The data set is input into the optimized LightGBM parameter prediction model to obtain the current predicted value of the rear bearing temperature of the coal mill to be warned, and the residual mean value T in the sliding window is calculated to determine whether it exceeds the warning threshold range. Once it exceeds the warning threshold range, a warning signal is immediately issued, thereby achieving early warning of fan failure.
[0112] Figure 3 For the coal mill fault warning result in this embodiment, the sliding window method selects the sliding window length as M=20, sets the window sliding step size as 1, sets the residual threshold as |0.4|, and when the residual mean value of the warning parameter exceeds the range of (-0.4, 0.4), it is judged as a valid alarm, which can effectively avoid the influence of abnormal points. Figure 3 It can be seen that the threshold of 0.4 was exceeded at the 430th sample and an alarm was issued.
[0113] Another flow chart of this application is as follows Figure 4 shown.
[0114] Furthermore, in this embodiment, the optimized LightGBM parameter prediction model is compared with the unoptimized LightGBM parameter prediction model. In order to reasonably evaluate the model performance, the application uses the mean absolute error MAE, the root mean square error RMSE and the mean absolute percentage error MAPE as evaluation indicators, and their mathematical expressions are as follows:
[0115]
[0116] Where n is the number of samples, y i is the actual temperature of the rear bearing, y' i To predict the temperature of the rear bearing, Table 1 shows the accuracy comparison between the improved LightGBM bearing temperature prediction model and the unimproved LightGBM bearing temperature prediction model.
[0117] Table 1 Comparison of model prediction accuracy
[0118] Evaluation indicators LightGBM SSAPSO optimizes LightGBM MAE 0.254 0.206 RMSE 0.379 0.286 MAPE 1.325 0.896
[0119] The embodiment of the present application provides a coal mill fault warning method based on an optimized LightGBM algorithm. The method first preprocesses the original data and reduces the data dimension, then screens the training set and inputs the LightGBM parameter prediction model based on SSAPSO optimization to obtain the warning parameter residual, and then calculates the residual average value by the sliding window method to obtain the warning threshold reference value, and combines the various boundary conditions of the coal mill under the current unit operating conditions to obtain the dynamic threshold range, then predicts the warning parameters of the coal mill during actual operation and calculates the residual average value, and immediately issues a warning when the warning threshold range is exceeded to achieve early fault warning of the coal mill.
[0120] Compared with traditional fault warning technology, this application focuses on the use of historical operating data. It can achieve long-term warning by regularly updating the training set of the parameter prediction model and setting the dynamic warning threshold range in accordance with the current equipment operating conditions.
[0121] This application applies the LightGBM (Light Gradient Boosting Machine) algorithm to fault warning. The algorithm has the characteristics of fast training speed, low memory usage and high accuracy. Compared with traditional fault warning methods, the LightGBM algorithm also supports parallel learning, which can ensure fault prediction accuracy while processing large-scale data. This application also uses the SSAPSO optimization algorithm to automatically optimize the main hyperparameters of the LightGBM model, avoiding the trouble of manual parameter adjustment and improving the efficiency of the model when processing large amounts of data.
[0122] It should be understood that although Figure 1 and Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and Figure 4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0123] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the above-mentioned coal mill fault warning method based on the optimized LightGBM algorithm is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse.
[0124] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, which involves all or part of the processes in the above-mentioned embodiment method.
[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which involves all or part of the processes in the above-mentioned embodiment method.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A coal mill fault early warning method based on optimized LightGBM algorithm, It is characterized in that include: Step S1, collecting original historical operation data of operation parameters of the coal mill under normal operation from the SIS system; Step S2, preprocessing the original historical operation data, and performing data dimension reduction on the historical operation data obtained after the preprocessing by using the Pearson coefficient; Step S3, selecting data according to a preset number from the historical operation data obtained after data dimensionality reduction, and inputting the selected data into the LightGBM model as a training set, and training to obtain a LightGBM parameter prediction model under normal operation of the coal mill; optimizing the LightGBM parameter prediction model using the SSA-PSO algorithm to obtain an optimized LightGBM parameter prediction model; Step S4, using the optimized LightGBM parameter prediction model to calculate the warning parameter prediction value, and calculate the residual mean value of the warning parameter prediction value; The residual average value of the predicted value of the warning parameter is used as the warning threshold reference value, and the warning threshold range is set according to the warning threshold reference value and various boundary conditions; Step S5, regularly collect actual operation data of the coal mill, input the actual operation data into the optimized LightGBM parameter prediction model after data dimension reduction, calculate the residual average value of the warning parameter under the actual operation state, and judge whether the residual average value of the warning parameter exceeds the warning threshold range; When it is determined that the residual mean value of the warning parameter exceeds the warning threshold range, outputting a warning prompt; The step S3 specifically includes: Step S301, from the historical operation data obtained after data dimensionality reduction, 300-600 samples are selected as training sets and input into the LightGBM model to train and obtain the LightGBM parameter prediction model under the normal operation state of the coal mill; Step S302, initializing the LightGBM parameter prediction model and initializing various hyperparameters; the hyperparameters include learning rate, tree depth, number of leaf nodes, and minimum number of data on leaves; Step S303, setting the parameters of the SSA-PSO algorithm; the parameters of the SSA-PSO algorithm include the population size N, the dimension d, the maximum number of iterations iter max , acceleration factor c 1 and the acceleration factor c 2 ; Step S304, taking the hyperparameter to be optimized as the initial particle, setting the maximum position and minimum position of the particle, initializing the initial position and speed of each particle, and constructing the current search area; Step S305, calculate the fitness of each particle, set X b is the best individual in the population, and the best individual in the population is used as a scout; let X w The worst-positioned individual in the population is selected as the joiner; Step S306, updating the individuals of the scout and the joiner; Step S307, calculating the optimal individual position; Step S308, determining whether the iteration termination condition of the current search area is satisfied, if satisfied, executing step S309, if not satisfied, returning to step S305; Step S309, determining whether the iteration termination condition of the complete algorithm is satisfied, if satisfied, executing step S310, if not satisfied, returning to step S304; Step S310, outputting the optimal combination of hyperparameters, and using the optimal combination of hyperparameters as the parameters of the LightGBM parameter prediction model to obtain an optimized LightGBM parameter prediction model; The iteration termination condition of the current search area is that the maximum number of iterations is reached; the iteration termination condition of the complete algorithm is that the maximum number of iterations is reached or the optimal solution does not change; The maximum number of iterations is 50.
2. According to claim 1, the coal mill fault early warning method based on the optimized LightGBM algorithm, It is characterized in that The operating parameters include hot air door opening, cold air door opening, primary air pressure, inlet temperature, inlet flow, gearbox input bearing temperature, front axle temperature, motor winding temperature, rear axle bearing temperature, coal mill current, coal feeder current and coal feeder coal quantity.
3. According to claim 1, the coal mill fault early warning method based on the optimized LightGBM algorithm, It is characterized in that The preprocessing of the original historical operation data comprises: Eliminate non-numbers in the original historical operation data; Eliminating non-steady-state values and noise values in the original historical operation data; The original historical operation data is normalized, and the specific formula is as follows: in, Indicates that the xth group of samples is running parameter vector A i The value on express The normalized result; Represents vector A i The mean of max(A i ) represents the vector A i The maximum value of min(A i ) represents the vector A i The minimum value of .
4. According to claim 3, the coal mill fault early warning method based on the optimized LightGBM algorithm, It is characterized in that The isnan function in MATLAB software is used to eliminate non-numbers in the original historical operation data; the non-steady-state values and noise values in the original historical operation data are eliminated using the 3σ criterion.
5. According to claim 1, the coal mill fault early warning method based on the optimized LightGBM algorithm, It is characterized in that The data dimension reduction of the historical operation data obtained after preprocessing by the Pearson coefficient method includes: According to the historical operation data obtained after preprocessing, the Pearson coefficient of the warning parameter and other parameters is calculated. The calculation formula of the Pearson coefficient is as follows: Among them, x i (i=1,2,3,...,n) is the value of one of the other parameters x in the i-th sample, y i is the value of the warning parameter y in the i-th sample, is the average value of some other parameter x in n samples, is the average value of the warning parameter y in n samples, and r is the correlation coefficient between some other parameter x and the warning parameter y; According to a preset number of groups, multiple groups of historical operating data of other parameters with the highest correlation with the warning parameters are selected as inputs of step S3.
6. The coal mill fault early warning method based on the optimized LightGBM algorithm according to claim 1, It is characterized in that In step S306, the scout searches in the current search area, and its position update formula is: in, represents the position of the i-th scout individual in the d dimension at the t-th iteration; α is a random number between 0 and 1; iter max is the maximum number of iterations; The joiner explores according to the guidance of the scout, and its position update formula is: v i(d+1) =rr·ω·v id +c 1 r 1 (p id -x id )+c 2 r 2 (p gd -x id ) x i(d+1) =x id +v i(d+1) in, is the influencing factor used to guide the individual joiners to update their speed; ω is the weight coefficient used to adjust the algorithm's search ability; v id is the speed of participant individual i in dimension d; r 1 and r 2 is a random number between 0 and 1; p id and p gd They represent the individual optimal solution and the global optimal solution of participant i in dimension d respectively; x id is the position of participant individual i in dimension d; v i(d+1) is the speed of participant individual i in dimension d+1 after being updated by its corresponding position update formula; x i(d+1) is the position x of the participant individual i in the d+1 dimension according to the previous dimension id and speed v i(d+1) The updated location.
7. The coal mill fault early warning method based on the optimized LightGBM algorithm according to claim 1, It is characterized in that The method of calculating the predicted value of the warning parameter using the optimized LightGBM parameter prediction model and calculating the residual mean value of the predicted value of the warning parameter specifically includes: Input the training set into the optimized LightGBM parameter prediction model to calculate the warning parameter prediction value; The residual between the predicted value and the actual value of the warning parameter is calculated, and the residual average value of the predicted value of the warning parameter is calculated by a sliding window method.
8. The coal mill fault early warning method based on the optimized LightGBM algorithm according to claim 5, It is characterized in that The actual operation data of the coal mill is collected regularly, and after data dimension reduction, the actual operation data is input into the optimized LightGBM parameter prediction model, and the residual average value of the early warning parameter under the actual operation state is calculated as follows: After collecting the actual operating data of the coal mill, the actual operating data of multiple groups of other parameters with the highest correlation with the warning parameters are selected to form a warning data set, and the warning data set is input into the optimized LightGBM parameter prediction model to obtain the actual warning parameter prediction value under the actual operating state, and the residual average value of the warning parameter under the actual operating state is calculated by using the sliding window method.
