A method for online working condition segmentation and fault diagnosis of fan equipment

Using multi-channel acceleration sensors to collect wind turbine vibration signals, combined with model training and online diagnosis, it solves the problems of time-consuming and labor-intensive and low discrimination accuracy of traditional wind turbine working condition identification methods, and realizes real-time online working condition monitoring and fault diagnosis of wind turbine equipment. Improved identification efficiency and system operation efficiency.

CN113919237BActive Publication Date: 2024-09-17南京凯奥思数据技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111286951.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-09-17
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

The traditional wind turbine working condition identification method is time-consuming and laborious, the data collection is discontinuous, and the clustering algorithm has low discrimination accuracy, which can easily lead to misjudgments and false alarms. It cannot accurately determine the source of the fault and cannot meet the intelligent detection standards of modern factories.

Method used

Multi-channel acceleration sensors are used to collect vibration signals. Through model training and online diagnosis, including working condition segmentation, feature engineering and machine learning model training, normal working condition and fault judgment models are constructed to determine working condition categories and fault diagnosis online in real time.

Benefits of technology

It realizes real-time online working condition monitoring and fault diagnosis of wind turbine equipment, improves data information saturation and identification efficiency, reduces misjudgment rates, improves system operation efficiency, and ensures the integrity and accuracy of working condition data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919237B
    Figure CN113919237B
Patent Text Reader

Abstract

The present invention provides a method for online working condition segmentation and fault diagnosis of fan equipment, including model training and online diagnosis. The model training includes: obtaining a normal speed effective value data set, selecting the optimal feature of the optimal channel and transferring it to the candidate model library to obtain a normal working condition judgment model; summarizing and collecting the historical fault data set and the corresponding label of the corresponding channel, performing feature engineering, transferring the obtained features to the ARTMAP neural network model for training, and obtaining a fault judgment model; online diagnosis includes: obtaining online data with complete working conditions of the optimal channel in real time, and substituting each section of working condition data into the normal working condition judgment model and the fault judgment model in turn, and finally outputting the working condition category and the diagnosis result. The present invention can automatically segment working conditions online, identify working condition types, and judge whether there is a fault in the working condition, and has many advantages such as reducing dependence on experts, greatly liberating manpower, and having a high judgment accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of online monitoring of equipment, in particular to operating condition segmentation and fault diagnosis of fan equipment. Background Art

[0002] In the field of industrial production, fans, as the main equipment for smoke exhaust, dust removal, and ventilation, play an extremely important role. Fan failure will cause poor smoke exhaust and ventilation, thus affecting the production environment of industrial equipment, reducing the efficiency of production and manufacturing, and even worse, causing serious safety hazards, causing a lot of unnecessary losses to the factory. Therefore, it is necessary to pay attention to the working status of the fan and monitor the fan status in real time. On the one hand, preventive maintenance should be carried out according to its working status. On the other hand, when an unexpected failure occurs, timely alarm and judgment of the fault type should be made, and then timely replacement of parts according to the fault type can effectively avoid the occurrence of such problems and reduce the losses caused by failures at the source.

[0003] The traditional method of identifying fan working conditions is that operators use offline handheld measuring instruments to detect fans at irregular intervals, and then enter the detection data into a computer to form a report. This method is time-consuming and laborious, and the collected working conditions are not continuous. When problems occur, they are often not discovered in time, which may cause huge losses and does not meet the standards of modern factory intelligent detection. The existing online monitoring method also only uses clustering algorithms, which has a low accuracy rate for vibration data identification and is prone to misjudgment. At the same time, it is easy to have false alarms and often cannot accurately determine the source of the fault. Summary of the invention

[0004] In view of this, the present invention provides a method for online working condition segmentation and fault diagnosis of a fan device, which can at least partially solve the problems existing in the prior art. In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0005] A method for online working condition segmentation and fault diagnosis of a fan device, characterized in that it comprises two parts: model training and online diagnosis, wherein the model training part comprises the following steps:

[0006] S11, obtaining a normal data set, using a multi-channel acceleration sensor to collect and store continuous vibration signals of multiple key points of the fan within a certain period of time;

[0007] S12, preprocessing the acceleration signals of all channels in step S11, and calculating their effective velocity values;

[0008] S13, calculating the variance of all effective speed values ​​of each channel in step S12, and selecting the channel with the largest variance as the channel for working condition analysis and judgment;

[0009] S14, for the channel determined in step S13, perform working condition segmentation and working condition labeling according to its speed effective value, and calculate the mean, variance and first-order difference of normal data of each working condition;

[0010] S15, performing feature engineering on the data after the working condition segmentation and working condition labeling in step S14 to construct multiple features;

[0011] S16, screening the features constructed in step S15 to select the best features;

[0012] S17, transferring the optimal feature obtained in step S16 into the candidate model library, and obtaining the model with the highest accuracy as the normal working condition judgment model;

[0013] S18, summarizing and collecting the historical fault data set and corresponding labels of the channel determined in step S13, performing feature engineering on the data set, and constructing multiple features;

[0014] S19, passing the features obtained in step S18 into the ARTMAP neural network model for training to obtain a fault judgment model;

[0015] The online diagnosis part includes the following steps:

[0016] S21, for the channel determined in step S13, real-time acquisition of online data including several sections of complete working conditions;

[0017] S22, extract the characteristic value corresponding to the optimal feature for each segment of complete working condition data in step S21, substitute it into the normal working condition judgment model in step S17 to perform online working condition judgment, determine the working condition category, and use the 3σ criterion to judge whether the working condition data is abnormal based on the mean and variance obtained in step S14:

[0018] If the data is normal, the working condition category and the conclusion that the working condition is normal will be output;

[0019] If the data is abnormal, the fault judgment model of step S19 is substituted to perform fault diagnosis, and the operating condition category and diagnosis result are output.

[0020] Furthermore, the specific method for operating condition segmentation and operating condition labeling in step S14 is: segment the speed effective value data according to time sequence to obtain multiple time series, and for the time series, use a sliding window method to label the operating condition information from each window, and divide the operating condition information into three stable operating conditions of low frequency, medium frequency, and high frequency and four non-stationary operating conditions of small fluctuation, large fluctuation, rise, and fall.

[0021] Furthermore, the specific steps of feature engineering in step S15 and step S18 are: extracting any two or more of the mean, median, variance, range, and the mean, variance, median, and differential zero-crossing rate after the first-order difference of each section of operating condition data as feature data.

[0022] Furthermore, the method for selecting the optimal feature in step S16 is principal component analysis, and its specific steps include:

[0023] S161, standardizing the characteristic data;

[0024] S162, calculating the correlation coefficient matrix;

[0025] S163, calculating eigenvalues ​​and eigenvectors, calculating the contribution rate and cumulative contribution rate of each principal component, and drawing a cumulative contribution rate graph;

[0026] S164. Select all principal components that meet the conditions as optimal features according to the set threshold.

[0027] Preferably, the threshold value of step S164 is set to 95%.

[0028] Furthermore, the method for obtaining the normal operating condition judgment model in step S17 includes:

[0029] S171, dividing the optimal feature data set into a training set and a test set in a ratio of 8:2;

[0030] S172, input the label and corresponding features of each data segment in the training set into each candidate model, use cross entropy as the loss function, use the grid search method to tune the parameters of each model, calculate 10-fold cross validation, and obtain the optimized candidate model;

[0031] S173, input the test set data into the optimized new candidate model, and obtain the false positive rate FPR, true positive rate TPR, true negative rate TNR and false negative rate FNR of the test set data of each new candidate model;

[0032] S174, drawing the ROC curve of each new candidate model according to the false positive rate FPR and the true positive rate TPR;

[0033] S175. Calculate the AUC value of the ROC curve of each new candidate model. The model with the largest AUC value is the model with the highest accuracy, that is, the normal operating condition judgment model.

[0034] Furthermore, the candidate models of step S172 include: linear regression discrimination, random forest, naive Bayes, Xgboost, logistic regression, Lightgbm, support vector machine, artificial neural network, decision tree, and long short-term memory neural network.

[0035] Furthermore, the step of determining whether it is a complete working condition in step S21 includes:

[0036] S211, obtaining the effective speed values ​​of 20 consecutive online data in the same manner as step S12, and calculating the square of the first-order difference thereof;

[0037] S212, judging the stability of the first data point in step S211 according to the historical threshold of the square of the first-order difference of normal data in step S14;

[0038] S213, if the first data point is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and determine whether it is stable, until three consecutive stable points are obtained, stop, and proceed to the next step;

[0039] S214, judging the stability of the 20th data point, if it is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and judge whether it is stable, until three consecutive stable points are obtained, stop and proceed to the next step;

[0040] S215. After steps S213 and S214, first determine whether there is any additional data. If not, further determine whether all 20 data are stable according to the historical threshold. If so, retain all the data. If not, delete the stable data at the beginning and end of the 20 data, and then divide the remaining data into several working conditions according to the historical threshold; if new N data are added, delete the stable data at the beginning and end of the final 20+N data, and then divide the remaining data into several working conditions according to the historical threshold.

[0041] Furthermore, a step is added after step S215:

[0042] S216. If the length of the data point of a certain working condition is ≤3, merge it with the previous and next working conditions to obtain several complete working condition data for the final input working condition segmentation model.

[0043] Compared with the prior art, the present invention has the following obvious advantages:

[0044] 1. Make full use of the original data set for working condition segmentation and category judgment to improve the information saturation of the data set;

[0045] 2. Use machine learning methods to digitize vibration signals and quantify the process of condition segmentation, provide theoretical support for it, and ultimately produce a standardized evaluation system;

[0046] 3. Select features with higher variance contribution as the optimal features to further reduce the complexity of model input parameters and improve recognition efficiency;

[0047] 4. It can automatically and reasonably retrieve online data, ensure the integrity of working condition data without human intervention, and then automatically divide the data into several complete working conditions according to the rules;

[0048] 5. First identify the type of working condition, then determine whether there is a fault in the working condition, use different models to judge different conditions, and improve the operating efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 This is a flow chart of the model training part of the embodiment of the present invention;

[0050] Figure 2 This is a partial flow chart of online diagnosis of an embodiment of the present invention;

[0051] Figure 3 for Figure 2 Flow chart for obtaining complete online data of working conditions;

[0052] Figure 4 for Figure 3 The 20 online data obtained are all processing schematic diagrams of stable data;

[0053] Figure 5 for Figure 3 Schematic diagram of processing 20 online data obtained from , which are stable at the beginning and end and contain non-stationary data in the middle;

[0054] Figure 6 for Figure 3 Schematic diagram of the processing of 20 online data obtained in which both the beginning and the end are not stable. DETAILED DESCRIPTION

[0055] To make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other arbitrarily without conflict.

[0056] like Figure 1-3 As shown, a method for online working condition segmentation and fault diagnosis of a fan device includes two parts: model training and online diagnosis. The model training part includes the following steps:

[0057] S11. Obtain a normal data set, use a multi-channel acceleration sensor to collect and store continuous vibration signals of multiple key points of the fan within a certain period of time. The sensor must be placed at the key nodes of the fan, such as the free end of the fan, the load end of the fan, etc., to collect signals including but not limited to bearing signals, such as: horizontal vibration of the free side bearing of the fan, vertical vibration of the free side bearing of the fan, horizontal vibration of the load side bearing of the fan, vertical vibration of the load side bearing of the fan, axial vibration of the load side bearing of the fan, etc.;

[0058] S12, pre-processing the acceleration signals of all channels in step S11, converting the acceleration into velocity value by integration, and calculating its velocity effective value. Under normal working conditions, data within 1 second is collected every 3 seconds, and the high-frequency acceleration data within 1 second is integrated into the velocity effective value (RMS) value. A total of 4 consecutive days of raw data are collected as the normal working condition data set;

[0059] S13, calculating the variance of all effective speed values ​​of each channel in step S12, and selecting the channel with the largest variance as the channel for working condition analysis and judgment. According to information theory, entropy is a measure of the amount of information. In the case of Gaussian distribution, the amount of information and uncertainty are equivalent, and the variance and entropy of the data are equivalent. Therefore, selecting a channel with a larger variance can better segment the normal working condition;

[0060] S14, for the channel determined in step S13, the working condition segmentation and working condition labeling are performed according to the effective value of the speed, specifically, the effective value data of the speed is segmented according to the time sequence to obtain multiple time series, for the time series, the working condition information is labeled from each window in a sliding window manner, and the working condition information is divided into three stable working conditions of low frequency, medium frequency and high frequency and four non-stable working conditions of small fluctuation, large fluctuation, rising and falling, and each working condition contains at least 3 data points; the mean, variance and first-order difference of the normal data of each working condition are calculated, and the threshold of the 3σ criterion for judging whether the working condition data is normal can be obtained by using the mean and variance, and the threshold of whether the data is stable can be obtained by using the square of the first-order difference;

[0061] S15. Perform feature engineering on the data after the working condition segmentation and working condition labeling in step S14, and extract any two or more of the mean, median, variance, range, and the mean, variance, median, and differential zero-crossing rate after the first-order difference of each section of the working condition data as feature data.

[0062] Among them, the first-order difference (Difference) is used to represent the difference between two consecutive adjacent items in discrete data. Calculating this data can remove the trend characteristics that the data may contain, and convert the uniform positive data of the original data into positive and negative data, which can better describe the volatility of the data at each stage. The zero-crossing rate (ZCR) refers to the ratio of the frequency of positive and negative data changes in a piece of data to the total amount of data. This feature can accurately express the frequency of changes in the first-order difference data. The result is a percentage and is not affected by the dimension.

[0063] S16, screening the features constructed in step S15 to select the best features, the method of selecting the best features is principal component analysis, and the specific steps include:

[0064] S161, standardizing the characteristic data;

[0065] S162, calculating the correlation coefficient matrix;

[0066] S163, calculating eigenvalues ​​and eigenvectors, calculating the contribution rate and cumulative contribution rate of each principal component, and drawing a cumulative contribution rate graph;

[0067] S164. According to the set threshold, the cumulative contribution rate is generally greater than 95%, and all principal components that meet the conditions are selected as the optimal features. The optimal feature may be one (such as feature a with the largest contribution rate, whose individual contribution rate is greater than 95%), or it may be multiple (such as features a, b, and c with the top three contribution rates, whose cumulative contribution rates are greater than 95%).

[0068] The threshold value can be adjusted according to actual conditions, such as 90%, 92% or 98%.

[0069] S17, transferring the optimal feature obtained in step S16 to the candidate model library, and obtaining the model with the highest accuracy as the normal working condition judgment model. The method for obtaining the normal working condition judgment model includes:

[0070] S171, dividing the optimal feature data set into a training set and a test set in a ratio of 8:2;

[0071] S172, input the label and corresponding features of each data segment in the training set into each candidate model, the candidate models include: linear regression discrimination, random forest, naive Bayes, Xgboost, logistic regression, Lightgbm, support vector machine, artificial neural network, decision tree, long short-term memory neural network, cross entropy is used as the loss function, the grid search method is used to tune the parameters of each model, and after calculating the 10-fold cross validation, the optimized candidate model is obtained;

[0072] S173, input the test set data into the optimized new candidate model, and obtain the false positive rate FPR, true positive rate TPR, true negative rate TNR and false negative rate FNR of the test set data of each new candidate model;

[0073] The calculation methods of these four indicators are as follows:

[0074] 1. False Positive Rate (FPR): The probability that a sample is judged as a positive example but is not a true positive example, that is, the probability that a true negative example is judged as a positive example;

[0075] 2. True Positive Rate (TPR): The probability that a positive example is also a true positive example, that is, the probability of a true positive example being judged as a positive example;

[0076] 3. False Negative Rate (FNR): The probability that a negative example is not a true negative example, that is, the probability that a true positive example is judged as a negative example;

[0077] 4. True Negative Rate (TNR): The probability that a negative example is also a true negative example, that is, the probability that a true negative example is judged as a negative example.

[0078] S174, drawing the ROC curve of each new candidate model according to the false positive rate FPR and the true positive rate TPR;

[0079] ROC (Receiver Operating Characteristic) curve, also known as the receiver operating characteristic curve. This curve was first applied in the field of radar signal detection to distinguish between signals and noise. Later, people used it to evaluate the predictive ability of the model. The ROC curve is derived based on the confusion matrix. The threshold of a classification model may be set high or low. Each threshold setting will result in different FPR and TPR. Plotting the (FPR, TPR) coordinates of each threshold of the same model in the ROC space will become the ROC curve of the specific model. The horizontal coordinate of the ROC curve is the false positive rate (FPR), and the vertical coordinate is the true positive rate (TPR).

[0080] S175, calculating the AUC value of the ROC curve of each new candidate model, and the model with the largest AUC value is the model with the highest accuracy, that is, the normal working condition judgment model;

[0081] AUC (Area Under Curve) is defined as the area under the ROC curve. Because the ROC curve often cannot clearly indicate which classifier is more effective, the AUC value is often used as the evaluation standard of the model. As a numerical value, the classifier with a larger AUC is more effective. The criteria for determining the AUC value are as follows:

[0082] 1. AUC = 1, which is a perfect classifier;

[0083] 2. AUC = [0.85, 0.95], very good results;

[0084] 3. AUC = [0.7, 0.85], average effect;

[0085] 4. AUC = [0, 0.7], the effect is low, not recommended;

[0086] S18, summarize and collect the historical fault data set and corresponding labels of the channel determined in step S13, perform feature engineering on the data set, the feature engineering method is consistent with step S15, and construct multiple features;

[0087] S19, passing the features obtained in step S18 into the ARTMAP neural network model for training to obtain a fault judgment model;

[0088] Competitive learning is a common unsupervised learning strategy in neural networks. When using this strategy, the output neurons of the network compete with each other. At each moment, only one neuron wave that wins the competition is activated, and the states of other neurons are suppressed. This mechanism is also called the "winner-take-all" principle. The ART (Adaptive Resonance Theory) network is an important representative of competitive learning, and ARTMAP is a specific model of the ART network.

[0089] The online diagnosis part includes the following steps:

[0090] S21, for the channel determined in step S13, real-time acquisition of online data containing several sections of complete working conditions, and the step of determining whether it is a complete working condition includes:

[0091] S211, obtaining the effective speed values ​​of 20 consecutive online data in the same manner as step S12, and calculating the square of the first-order difference thereof;

[0092] S212, judging the stability of the first data point in step S211 according to the historical threshold of the square of the first-order difference of normal data in step S14;

[0093] S213, if the first data point is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and determine whether it is stable, until three consecutive stable points are obtained, stop, and proceed to the next step;

[0094] S214, judging the stability of the 20th data point, if it is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and judge whether it is stable, until three consecutive stable points are obtained, stop and proceed to the next step;

[0095] S215. After steps S213 and S214, first determine whether there is any additional data. If not, further determine whether all 20 data are stable according to the historical threshold. If so, retain all the data. If not, delete the stable data at the beginning and end of the 20 data, and then divide the remaining data into several working conditions according to the historical threshold; if new N data are added, delete the stable data at the beginning and end of the final 20+N data, and then divide the remaining data into several working conditions according to the historical threshold.

[0096] S216. After step S215, if the length of the data point of a certain working condition is ≤3, there is reason to believe that it is a detection error because the data is too small, and it is merged with the previous and next working conditions to obtain several complete working condition data for the final input working condition segmentation model.

[0097] To further illustrate this, first of all, the 20 data obtained include the following 4 situations:

[0098] (1) All 20 data are stable;

[0099] (2) The data at the beginning and end are stable, but the middle contains unstable data;

[0100] (3) The head or tail data is not stable;

[0101] (4) The data at the beginning and end are not stable.

[0102] Figure 4 The display shows the first case, which means that these 20 data belong to a whole stable working condition. There is no need to delete any data, just keep them all.

[0103] Figure 5 The second case is shown. Figure 5 -(1) is the original data. This means that the first and last segments and the middle segment belong to different working conditions. Then the stable data a and b of the first and last segments are deleted, and the complete working condition of the middle segment is retained. Then the data is segmented according to the historical threshold. Figure 5 -(2) As shown, at this time, since the middle section belongs to a complete working condition, the processing is completed. If the middle section has multiple complete working conditions, it is divided into multiple complete working conditions;

[0104] Figure 6 The fourth case is shown. Figure 6 -(1) is the original data. At this time, we first continue to search from the head to the front until we find three consecutive stable points, and then we get the data of part a. Then we continue to search from the tail to the back until we find three consecutive stable points, and then we get the data of part b. Figure 6 -(2), then delete the data of the stable part of the new first and last segments c and d, retain the complete working condition of the middle segment, and then divide it into 5 segments according to the historical threshold, as shown in Figure 6 -(3), and for part e, since its data is exactly 3, it is reasonable to believe that it is a detection error. It is combined with the front and rear working conditions to obtain the final 3-segment complete working condition data.

[0105] For the third case, it is actually a simplified version of the fourth case. You only need to continue searching the data at the unstable end forward or backward until you find three consecutive stable points. The subsequent processing is exactly the same as the fourth case.

[0106] In the above example, 20 data points are taken continuously, and 3 data points are taken to determine whether it is stable. In practice, the specific values ​​can be adjusted as needed. For example, 30 data points are taken continuously, and the system stops when 5 consecutive stable points are obtained.

[0107] S22, extract the eigenvalues ​​corresponding to the optimal features for each complete working condition data in step S21. Since the normal working condition judgment model is obtained by training according to the optimal features, it is only necessary to extract the eigenvalues ​​corresponding to the optimal features at this time, and substitute them into the normal working condition judgment model of step S17 to perform online working condition judgment, determine the working condition category, and use the 3σ criterion to judge whether the working condition data is abnormal based on the mean and variance obtained in step S14:

[0108] If the data is normal, the working condition category and the conclusion that the working condition is normal will be output;

[0109] If the data is abnormal, the fault judgment model of step S19 is substituted to perform fault diagnosis, and the operating condition category and diagnosis result are output.

[0110] Although the embodiments disclosed in the present invention are as above, the contents are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. A method for online operating condition segmentation and fault diagnosis of fan equipment, characterized in that: It includes two parts: model training and online diagnosis. The model training part includes the following steps: S11, obtaining a normal data set, using a multi-channel acceleration sensor to collect and store continuous vibration signals of multiple key points of the fan within a certain period of time; S12, preprocessing the acceleration signals of all channels in step S11, and calculating their effective velocity values; S13, calculating the variance of all effective speed values ​​of each channel in step S12, and selecting the channel with the largest variance as the channel for working condition analysis and judgment; S14, for the channel determined in step S13, perform working condition segmentation and working condition labeling according to its speed effective value, and calculate the mean, variance and first-order difference of normal data of each working condition; S15, performing feature engineering on the data after the working condition segmentation and working condition labeling in step S14 to construct multiple features; S16, screening the features constructed in step S15 to select the best features; S17, transferring the optimal feature obtained in step S16 into the candidate model library, and obtaining the model with the highest accuracy as the normal working condition judgment model; S18, summarizing and collecting the historical fault data set and corresponding labels of the channel determined in step S13, performing feature engineering on the data set, and constructing multiple features; S19, passing the features obtained in step S18 into the ARTMAP neural network model for training to obtain a fault judgment model; The online diagnosis part includes the following steps: S21, for the channel determined in step S13, real-time acquisition of online data including several sections of complete working conditions; S22, extract the characteristic value corresponding to the optimal feature for each segment of complete working condition data in step S21, substitute it into the normal working condition judgment model in step S17 to perform online working condition judgment, determine the working condition category, and use the 3σ criterion to judge whether the working condition data is abnormal based on the mean and variance obtained in step S14: If the data is normal, the working condition category and the conclusion that the working condition is normal will be output; If the data is abnormal, the fault judgment model of step S19 is substituted to perform fault diagnosis, and the operating condition category and diagnosis result are output.

2. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 1, characterized in that: The specific method for operating condition segmentation and operating condition labeling in step S14 is: segment the speed effective value data according to time sequence to obtain multiple time series, and for the time series, use a sliding window method to label the operating condition information from each window, and divide the operating condition information into three stable operating conditions of low frequency, medium frequency, and high frequency and four non-stationary operating conditions of small fluctuation, large fluctuation, rise, and fall.

3. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 1, characterized in that: The specific steps of feature engineering in step S15 and step S18 are: extracting any two or more of the mean, median, variance, range and the mean, variance, median and differential zero-crossing rate after the first-order difference of each section of operating condition data as feature data.

4. A method for online operating condition segmentation and fault diagnosis of a fan equipment as claimed in claim 3, characterized in that: The method for selecting the optimal feature in step S16 is principal component analysis, and its specific steps include: S161, standardizing the characteristic data; S162, calculating the correlation coefficient matrix; S163, calculating eigenvalues ​​and eigenvectors, calculating the contribution rate and cumulative contribution rate of each principal component, and drawing a cumulative contribution rate graph; S164. Select all principal components that meet the conditions as optimal features according to the set threshold.

5. A method for online operating condition segmentation and fault diagnosis of a fan equipment as claimed in claim 4, characterized in that: The set threshold value of step S164 is 95%.

6. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 1, characterized in that: The method for obtaining the normal operating condition judgment model in step S17 includes: S171, dividing the optimal feature data set into a training set and a test set in a ratio of 8:2; S172, input the label and corresponding features of each data segment in the training set into each candidate model, use cross entropy as the loss function, use the grid search method to tune the parameters of each model, calculate 10-fold cross validation, and obtain the optimized candidate model; S173, input the test set data into the optimized new candidate model, and obtain the false positive rate FPR, true positive rate TPR, true negative rate TNR and false negative rate FNR of the test set data of each new candidate model; S174, drawing the ROC curve of each new candidate model according to the false positive rate FPR and the true positive rate TPR; S175. Calculate the AUC value of the ROC curve of each new candidate model. The model with the largest AUC value is the model with the highest accuracy, that is, the normal operating condition judgment model.

7. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 6, characterized in that: The candidate models of step S172 include: linear regression discrimination, random forest, naive Bayes, Xgboost, logistic regression, Lightgbm, support vector machine, artificial neural network, decision tree, and long short-term memory neural network.

8. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 1, characterized in that: The step of judging whether it is a complete working condition in step S21 includes: S211, obtaining the effective speed values ​​of 20 consecutive online data in the same manner as step S12, and calculating the square of the first-order difference thereof; S212, judging the stability of the first data point in step S211 according to the historical threshold of the square of the first-order difference of normal data in step S14; S213, if the first data point is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and determine whether it is stable, until three consecutive stable points are obtained, stop, and proceed to the next step; S214, judging the stability of the 20th data point, if it is stable, directly proceed to the next step, otherwise continue to take the effective value of the speed and judge whether it is stable, until three consecutive stable points are obtained, stop and proceed to the next step; S215. After steps S213 and S214, first determine whether there is any additional data. If not, further determine whether all 20 data are stable according to the historical threshold. If so, retain all the data. If not, delete the stable data at the beginning and end of the 20 data, and then divide the remaining data into several working conditions according to the historical threshold; if new N data are added, delete the stable data at the beginning and end of the final 20+N data, and then divide the remaining data into several working conditions according to the historical threshold.

9. A method for online operating condition segmentation and fault diagnosis of a fan equipment according to claim 8, characterized in that: Add a step after step S215: S216. If the length of the data point of a certain working condition is ≤3, merge it with the previous and next working conditions to obtain several complete working condition data for the final input working condition segmentation model.