A method for online fault diagnosis of wind turbine transmission chain

Through the SCADA system and the multi-source feature association fusion module combined with the teacher-student network framework, the problem of insufficient information fusion in the transmission chain diagnosis of wind turbine units is solved, efficient and accurate online fault diagnosis and adaptive model updates are achieved, and the operation efficiency and economic benefits of wind turbine units are improved.

CN119622294BActive Publication Date: 2025-08-08NINGBO INSTITUTE OF TECHNOLOGY BEIHANG UNIVERSITY +1

Patent Information

Application Number
CN202510097859.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-08-08
Estimated Expiration
2045-01-22

AI Technical Summary

Technical Problem

The transmission chain fault diagnosis of wind turbine unit has problems such as limited information fusion, poor generalization, insufficient real-time and adaptability in complex dynamic environments, resulting in high maintenance costs and long downtime.

Method used

The SCADA system is used to collect environmental, electrical and vibration monitoring parameters in real time, design a multi-source feature association fusion module, build a teacher-student network framework, combine positive and negative joint learning strategies and class balance sampling mechanism to realize online fault diagnosis and adaptive model updates.

Benefits of technology

It improves the accuracy, reliability and real-time diagnosis of the transmission chain of the wind turbine unit, reduces false label noise interference, enhances the adaptability and long-term stability of the model, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119622294B_ABST
    Figure CN119622294B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of electromechanical equipment fault diagnosis, and discloses an online fault diagnosis method for a wind turbine transmission chain. The specific steps are as follows: S1: using a SCADA system to collect and preprocess the environmental, electrical and vibration multi-source monitoring parameters of the wind turbine in real time, effectively improving the accuracy and availability of the data; S2: designing a multi-source feature association fusion module, making full use of the complementarity of environmental, electrical and vibration parameters, and improving the accuracy and reliability of fault diagnosis; S3: constructing a teacher-student network framework, realizing the construction and real-time diagnosis of an online fault model, and improving the real-time and intelligent level of fault diagnosis. The application of a class-balanced sampling mechanism and a positive-negative joint learning strategy eliminates the influence of continuous state label offset and effectively reduces the pseudo-label noise interference in online samples, thereby improving the model's adaptive diagnostic capability in scenarios with dynamic changes in working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electromechanical equipment fault diagnosis, and in particular relates to an online fault diagnosis method for a wind turbine transmission chain. Background Art

[0002] The wind turbine drive chain is a key component in wind power equipment with a high failure rate, long downtime and high maintenance cost. Real-time and accurate health status monitoring of the drive chain is an important means to ensure the safe and efficient operation of wind power equipment. The fusion of wind power multi-source monitoring data and intelligent diagnosis and prediction are important research directions in the field of wind power equipment health management. However, due to the complexity of wind power multi-source data and the dynamic and changeable operating environment, current research still faces many challenges and limitations in terms of information fusion adaptability and model generalization.

[0003] At present, there are many ways to monitor the transmission system of wind turbines, mainly vibration, oil sampling, speed, current, and temperature analysis. Domestic and foreign scholars have carried out extensive exploration around mechanism modeling, signal processing, feature extraction, identification and prediction, and have achieved rich research results. With the rapid development of information theory and artificial intelligence, wind turbine condition monitoring is developing towards multi-source information fusion diagnosis and intelligent identification and prediction, and the detection accuracy and reliability are constantly improving. However, due to the complex and dynamic changes in the operating conditions of wind turbines, it is difficult to collect effective fault data. Different methods have their limitations in applicability in engineering scenarios. There are generally problems such as limited information fusion, poor generalization, and insufficient real-time and adaptability. Therefore, it is urgent to carry out research on the health status monitoring of wind turbine transmission chains in complex dynamic environments to provide a scientific basis for fault warning and preventive maintenance, reduce unnecessary downtime and maintenance costs, and improve the operating efficiency and economic benefits of wind power equipment. Summary of the Invention

[0004] The object of the present invention is to provide an online fault diagnosis method for a wind turbine transmission chain, so as to solve the problems raised in the above background technology.

[0005] In order to achieve the above-mentioned object, the present invention provides the following technical solution: a method for online fault diagnosis of a wind turbine transmission chain, comprising the following specific steps:

[0006] S1: Use the SCADA system to collect environmental monitoring parameters, electrical monitoring parameters, and vibration monitoring parameters of the wind turbine in real time, and perform data preprocessing on the collected monitoring data at the current time step;

[0007] S2: Design a multi-source feature association fusion module, input the online test samples into the multi-source feature association fusion module, calculate the cross-modal correlation of multi-source information, combine the complementary features of environmental, electrical, and vibration parameters, and calculate the fusion weight according to the feature importance to achieve the weighted fusion of multi-source information, thereby obtaining the multi-source fusion feature Et ;

[0008] S3: Build an online fault model based on the teacher-student network framework, input the fusion features into the built teacher-student network model, and use the teacher network to output online diagnosis and prediction results. The teacher model and student models The network structure is the same, both are improved ResNet18 networks. The improved ResNet18 networks are pre-trained using historical monitoring data, and the pre-trained parameters are used to initialize the teacher-student network.

[0009] S4: collects the current monitoring data of the wind turbine in real time and inputs it into the online diagnosis model, outputting the online diagnosis results of the wind turbine transmission chain;

[0010] S5: Use class-balanced sampling mechanism to output results based on the current online output of the teacher model Select reliability samples from the current samples and store them in the memory bank according to the "first in, first out" principle to form a balanced label distribution sample set and eliminate the impact of continuous state label offset;

[0011] S6: Design a positive-negative joint learning strategy that combines positive contrast learning of reliability samples in the memory bank with negative learning optimization of the current input sample. Apply positive-negative joint learning and the teacher-student model knowledge alignment loss function to guide the online adaptive update of the student model and reduce the interference of pseudo-label noise in online samples.

[0012] S7: The framework implements the knowledge alignment of the teacher-student model, which can be achieved through the teacher model Instruct and correct student models The update direction is used to alleviate the covariate offset problem under dynamic working conditions. At the same time, the student model parameters are updated to the teacher model through the exponential sliding average method, realizing online continuous learning and continuously accumulating fault diagnosis knowledge.

[0013] S8: Repeating steps S4, S5, S6 and S7 can realize real-time online state identification and model adaptive update of the wind turbine transmission chain.

[0014] Preferably, the multi-source feature association fusion module in step S2 includes two sub-modules, wherein the sensor feature reshaping module based on convolutional neural network uses a convolutional layer with a flexible filter structure and a resampled pooling layer to map the original multi-source data to a low-dimensional space of the same size, unify the heterogeneous feature input dimensions, and retain the uniqueness of each sensor information and enhance the feature expression capability; the multi-source feature association fusion module applies a cross-modal attention mechanism to autonomously analyze the correlation between multi-source sensor features, obtain complementary information and discard redundant information according to the degree of correlation, and finally, according to the requirements of subsequent diagnostic tasks, calculate the attention weight of each relevant complementary information source, and improve the perception performance by dynamically combining the multi-source relevant complementary features through the weight.

[0015] Preferably, in the improved ResNet18 network described in step S3, in order to adapt to one-dimensional input data, all filters are replaced by one-dimensional convolution kernels, the bottom fully connected layer is replaced by a bottleneck layer containing 128 neurons, and each convolution layer uses batch normalization and dropout operations, and its classifier consists of a fully connected layer and a subsequent softmax operation.

[0016] Preferably, the teacher-student network model pre-training method in step S3 is standard supervised learning training, the loss function adopts the cross entropy function, and the learning rate is 1×10 -3 , sampling stochastic gradient descent algorithm is used to tune model parameters.

[0017] Preferably, the class-balanced sampling mechanism in step S5 initializes the memory bank and selects reliability samples for each state class based on the current prediction results of the teacher model using an adaptive threshold and stores them in the memory bank, thereby ensuring that the model learns from a uniform class distribution and avoiding local overfitting or model collapse. Specifically, a combination of confidence and entropy of the teacher model prediction results is used as a benchmark metric, and the adaptive threshold is defined as its mean for the current batch of samples:

[0018]

[0019] in, is the target sample, C is the number of fault categories, is the teacher model output, Output the cth element of the probability vector for the teacher model, that is, the teacher model prediction sample is the probability of type c failure, For samples The difference between the prediction confidence and entropy, B is the number of batch samples, w t is the global threshold;

[0020] Global threshold w tIt reflects the overall learning status of the model for the current test data. In order to consider the adaptation differences between classes, a class threshold is introduced for each state class to ensure that the fault class with low certainty is not ignored;

[0021]

[0022] Among them, l is the indicator function, which is used to judge Whether the prediction result belongs to the cth health class, is the threshold value of category c;

[0023] By modulating the threshold of each class through the global threshold, the final adaptive threshold of each class is as follows;

[0024]

[0025] in, is the class threshold set, is the adaptive threshold for each class;

[0026] Adaptive threshold method is used to divide each type of sample in the current batch into reliable and unreliable groups. The partitioning rules are as follows:

[0027]

[0028] in, is the c-th class sample set, is the reliable sample set in category c, is the unreliable sample set in category c.

[0029] Preferably, the positive-negative joint learning strategy in step S6 adopts two different training strategies to utilize reliable and unreliable samples to ensure that the model is effectively optimized in the adaptation phase. Specifically, the memory samples have more reliable pseudo labels generated by the teacher model, so these samples help the model benefit from positive learning. Contrastive learning is applied to these reliability samples so that features from the same class are aggregated and features from different classes are separated. First, the student model feature extractor is used to obtain embedded features. Then calculate the cosine similarity between the two features, and the loss function of forward learning is expressed as:

[0030]

[0031] in, is the cosine similarity between two eigenvectors, E is the mean sign, is the embedding feature of the c-th reliable sample, L pst is the positive learning loss;

[0032] In order to make full use of the data stream samples of the current time step, complementary labels are generated for training, and negative learning is performed on reliable samples and unreliable samples. is randomly selected from categories other than the category predicted by the teacher model. The loss function of negative learning is expressed as:

[0033]

[0034] in, Complementary tags The cth element in X t is the target sample set, The teacher model outputs the cth element of the probability vector, L neg is the negative learning loss.

[0035] Preferably, the teacher-student model knowledge alignment in step S7 further enhances the consistency of teacher-student model predictions through a symmetric cross entropy loss function, and the formula of the symmetric cross entropy loss function is:

[0036]

[0037] Among them, M is the class-balanced memory sample set, and are the prediction probabilities of the cth class of the teacher model and the student model, L alg is the symmetric cross entropy loss.

[0038] Preferably, the student model parameters in step S7 are calculated by the total loss function L total The stochastic gradient descent algorithm is applied to optimize the update, with a learning rate of 1×10 -2 , the total loss function L total The formula is:

[0039] L total =L alg +λ1L pst +λ2L neg

[0040] Among them, λ1 and λ2 are the trade-off parameters of the corresponding loss terms, L total is the total loss for model training.

[0041] Preferably, the teacher model parameters in step S7 are updated by the exponential sliding average of the student model parameters, with the smoothing factor β set to 0.99. The formula of the exponential sliding average is:

[0042] θ′ t+1= βθ′ t +(1-β)θ t+1

[0043] Among them, the smoothing factor β is set to 0.99, θ' t are the parameters of the teacher model at test time step t, θ t+1 are the parameters of the student model at test time step t+1, and the real-time online diagnosis results of each test time step t are predicted by the teacher model.

[0044] The beneficial effects of the present invention are as follows:

[0045] Multi-source monitoring data is collected in real time through the SCADA system and pre-processed, which effectively improves the accuracy and availability of the data; the design of the multi-source feature association fusion module fully utilizes the complementarity of environmental, electrical and vibration parameters to improve the accuracy and reliability of fault diagnosis; the construction of the teacher-student network framework realizes the construction and real-time diagnosis of online fault models, and improves the real-time and intelligent level of fault diagnosis; the application of the positive and negative joint learning strategy effectively reduces the pseudo-label noise interference in online samples and improves the adaptive update capability of the model; in addition, by implementing the knowledge alignment of the teacher-student model, the covariate offset problem under dynamic working conditions is alleviated, online continuous learning is realized, fault diagnosis knowledge is continuously accumulated, and the generalization ability and long-term operation stability of the model are improved; it provides an efficient, accurate and reliable solution for the fault diagnosis of wind turbine transmission chains. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a schematic diagram of the process of the present invention;

[0047] Figure 2 This is a schematic diagram of the structure of the multi-source feature association fusion module of the present invention;

[0048] Figure 3 This is the improved ResNet18 network structure diagram of the present invention;

[0049] Figure 4 Schematic diagram of the online fault diagnosis model based on the teacher-student framework of the present invention. DETAILED DESCRIPTION

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0051] like Figures 1 to 4 As shown, an embodiment of the present invention provides a method for online fault diagnosis of a wind turbine transmission chain, and the specific steps are as follows:

[0052] S1: Use the SCADA system to collect environmental monitoring parameters, electrical monitoring parameters, and vibration monitoring parameters of the wind turbine in real time, and perform data preprocessing on the collected monitoring data at the current time step;

[0053] S2: Design a multi-source feature association fusion module, input the online test samples into the multi-source feature association fusion module, calculate the cross-modal correlation of multi-source information, combine the complementary features of environmental, electrical, and vibration parameters, and calculate the fusion weight according to the feature importance to achieve the weighted fusion of multi-source information, thereby obtaining the multi-source fusion feature E t ;

[0054] S3: Build an online fault model based on the teacher-student network framework, input the fusion features into the built teacher-student network model, and use the teacher network to output online diagnosis and prediction results. The teacher model and student models The network structure is the same, both are improved ResNet18 networks. The improved ResNet18 networks are pre-trained using historical monitoring data, and the pre-trained parameters are used to initialize the teacher-student network.

[0055] S4: collects the current monitoring data of the wind turbine in real time and inputs it into the online diagnosis model, outputting the online diagnosis results of the wind turbine transmission chain;

[0056] S5: Use class-balanced sampling mechanism to output results based on the current online output of the teacher model Select reliability samples from the current samples and store them in the memory bank according to the "first in, first out" principle to form a balanced label distribution sample set and eliminate the impact of continuous state label offset;

[0057] S6: Design a positive-negative joint learning strategy, combining positive contrast learning of reliability samples in the memory bank with negative learning optimization of the current input samples, to guide the online update of the student model and reduce the interference of pseudo-label noise in online samples. Apply positive-negative joint learning and the teacher-student model knowledge alignment loss function to adaptively update the student model parameters.

[0058] S7: The framework implements the knowledge alignment of the teacher-student model, which can be achieved through the teacher model Instruct and correct student models The update direction is used to alleviate the covariate offset problem under dynamic working conditions. At the same time, the student model parameters are updated to the teacher model through the exponential sliding average method, realizing online continuous learning and continuously accumulating fault diagnosis knowledge.

[0059] S8: Repeating steps S4, S5, S6 and S7 can realize real-time online state identification and model adaptive update of the wind turbine transmission chain.

[0060] The SCADA system is used to collect environmental, electrical and vibration monitoring parameters and perform data preprocessing. Data preprocessing includes removing outliers by setting upper and lower thresholds, denoising, and normalizing various sensor data. The data range is mapped to the [0,1] interval to eliminate the dimensional differences between different physical quantities, and the data is divided into input samples X at equal time intervals. t ; Design a multi-source feature association fusion module to realize the dynamic weight combination of cross-modal multi-source related complementary features; construct an online fault model based on the teacher-student network framework, alleviate the continuous covariate offset through the knowledge alignment of the teacher-student model, and continuously accumulate diagnostic knowledge; through the class balanced sampling mechanism, the model learns from a uniform label distribution and eliminates the impact of continuous state label drift; design a positive and negative joint learning strategy to guide the online adaptive update and optimization of the model; input the online collected wind power real-time monitoring signal into the model to realize the online fault diagnosis and model adaptive update of the wind turbine transmission chain, thereby improving the accuracy, real-time and adaptability of fault detection under the dynamic changes of wind turbine operating conditions.

[0061] Among them, the multi-source feature association fusion module in step S2 contains two sub-modules. The sensor feature reshaping module based on convolutional neural network uses a convolutional layer with a flexible filter structure and a resampling pooling layer to map the original multi-source data to a low-dimensional space of the same size, unify the heterogeneous feature input dimensions, and retain the uniqueness of each sensor information and enhance the feature expression capability; the multi-source feature association fusion module uses a cross-modal attention mechanism to autonomously analyze the correlation between multi-source sensor features, obtain complementary information and discard redundant information according to the degree of correlation, and finally, according to the requirements of subsequent diagnostic tasks, calculate the attention weight of each related complementary information source, and improve the perception performance by dynamically combining multi-source related complementary features through weights.

[0062] By setting up the sensor feature reconstruction module and the multi-source feature association fusion module, the synergistic effect of the two sub-modules not only optimizes the processing capability of the overall system, but also reduces the computational complexity, improves the real-time performance and response speed of the system, and enables the multi-source feature association fusion module to process multi-source data more efficiently and meet the needs of practical applications.

[0063] In step S3, the improved ResNet18 network is adapted to one-dimensional input data. All filters are replaced with one-dimensional convolution kernels, and the bottom fully connected layer is replaced by a bottleneck layer containing 128 neurons. Batch normalization and dropout operations are used in each convolution layer, and its classifier consists of a fully connected layer followed by a softmax operation.

[0064] By replacing filters with one-dimensional convolution kernels, the network is able to process one-dimensional input data directly.

[0065] In step S3, the pre-training method of the teacher-student network model is standard supervised learning training, the loss function is the cross entropy function, and the learning rate is 1×10 -3 , sampling stochastic gradient descent algorithm is used to tune model parameters.

[0066] By adopting the cross-entropy loss function, the difference between the model prediction results and the true label can be effectively measured. By minimizing the cross-entropy loss, the model can gradually optimize its prediction ability and improve the accuracy of classification.

[0067] In step S5, the class-balanced sampling mechanism initializes the memory bank and uses an adaptive threshold to select reliability samples for each state class based on the current prediction results of the teacher model and store them in the memory bank, thereby ensuring that the model learns from a uniform class distribution and avoids local overfitting or model collapse. Specifically, the combination of confidence and entropy of the teacher model prediction results is used as the benchmark metric, and the adaptive threshold is defined as its mean for the current batch of samples:

[0068]

[0069] in, is the target sample, C is the number of fault categories, is the teacher model output, Output the cth element of the probability vector for the teacher model, that is, the teacher model prediction sample is the probability of type c failure. For samples The difference between the prediction confidence and entropy, B is the number of batch samples, w t is the global threshold;

[0070] Global threshold w t It reflects the overall learning status of the model for the current test data. In order to consider the adaptation differences between classes, a class threshold is introduced for each state class to ensure that the fault class with low certainty is not ignored;

[0071]

[0072] Among them, l is the indicator function, which is used to judge Whether the prediction result belongs to the cth health class, is the threshold for category c.

[0073] By modulating the threshold of each class through the global threshold, the final adaptive threshold of each class is as follows;

[0074]

[0075] in, is the class threshold set, is the adaptive threshold for each class;

[0076] Adaptive threshold method is used to divide each type of sample in the current batch into reliable and unreliable groups. The partitioning rules are as follows:

[0077]

[0078] in, is the c-th class sample set, is the reliable sample set in category c, is the unreliable sample set in category c;

[0079] The memory bank is updated by sampling the obtained reliable samples, storing class-balanced samples in a first-in-first-out manner. At each time step, the sampling algorithm is summarized as follows:

[0080]

[0081]

[0082] Among them, the positive and negative joint learning strategy in step S6 adopts two different training strategies to utilize reliable and unreliable samples to ensure that the model is effectively optimized in the adaptation phase. Specifically, the memory library samples have more reliable pseudo labels generated by the teacher model, so these samples help the model benefit from positive learning. Contrastive learning is applied to these reliability samples, features from the same class are aggregated, and features from different classes are separated. First, the student model feature extractor is used to obtain embedded features Then calculate the cosine similarity between the two features, and the loss function of forward learning is expressed as:

[0083]

[0084] in, is the cosine similarity between two eigenvectors, E is the mean sign, is the embedding feature of the c-th reliable sample, L pst is the positive learning loss.

[0085] In order to make full use of the data stream samples of the current time step, complementary labels are generated for training, and negative learning is performed on reliable samples and unreliable samples. is randomly selected from categories other than the category predicted by the teacher model. The loss function of negative learning is expressed as:

[0086]

[0087] in, Complementary tags The cth element in X tis the target sample set, The teacher model outputs the cth element of the probability vector, L neg is the negative learning loss.

[0088] Among them, the teacher-student model knowledge alignment in step S7 further enhances the consistency of teacher and student model predictions through the symmetric cross entropy loss function. The formula of the symmetric cross entropy loss function is:

[0089]

[0090] Among them, M is the class-balanced memory sample set, and are the prediction probabilities of the cth class of the teacher model and the student model, L alg is the symmetric cross entropy loss.

[0091] The symmetric cross entropy loss function can more effectively measure the difference between the predictions of the teacher model and the student model by handling inconsistent classification results. This difference measurement method is more comprehensive and accurate, which helps to improve the consistency of the predictions of the two.

[0092] Among them, in step S7, the student model parameters are calculated by the total loss function L total The stochastic gradient descent algorithm is applied to optimize the update, with a learning rate of 1×10 -2 , the total loss function L total The formula is:

[0093] L total =L alg +λ1L pst +λ2L neg

[0094] Among them, λ1 and λ2 are the trade-off parameters of the corresponding loss terms, L total is the total loss for model training.

[0095] In step S7, the teacher model parameters are updated by the exponential sliding average of the student model parameters, with the smoothing factor β set to 0.99. The formula of the exponential sliding average is:

[0096] θ′ t+1 =βθ′ t +(1-β)θ t+1

[0097] Among them, the smoothing factor β is set to 0.99, θ' t are the parameters of the teacher model at test time step t, θ t+1 are the parameters of the student model at test time step t+1, and the real-time online diagnosis results of each test time step t are predicted by the teacher model.

[0098] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.

[0099] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A method for online fault diagnosis of a wind turbine transmission chain, characterized in that: The specific steps are as follows: S1: Use the SCADA system to collect environmental monitoring parameters, electrical monitoring parameters, and vibration monitoring parameters of the wind turbine in real time, and perform data preprocessing on the collected monitoring data at the current time step; S2: Design a multi-source feature association fusion module, input the online test samples into the multi-source feature association fusion module, calculate the cross-modal correlation of multi-source information, combine the complementary features of environmental, electrical, and vibration parameters, and calculate the fusion weight according to the feature importance to achieve the weighted fusion of multi-source information, thereby obtaining the multi-source fusion feature E t ; S3: Build an online fault diagnosis model based on the teacher-student network framework, input the fusion features into the constructed teacher-student network model, and use the teacher network to output the online diagnosis prediction results. The teacher model and student models The network structure is the same, both are improved ResNet18 networks. The improved ResNet18 networks are pre-trained using historical monitoring data, and the pre-trained parameters are used to initialize the teacher-student network. S4: collects the current monitoring data of the wind turbine in real time and inputs it into the online diagnosis model, outputting the online diagnosis results of the wind turbine transmission chain; S5: Use class-balanced sampling mechanism to output results based on the current online output of the teacher model Select reliability samples from the current samples and store them in the memory bank according to the "first in, first out" principle to form a balanced label distribution sample set and eliminate the impact of continuous state label offset; S6: Design a positive-negative joint learning strategy that combines positive contrast learning of reliability samples in the memory bank with negative learning optimization of the current input sample. Apply positive-negative joint learning and the teacher-student model knowledge alignment loss function to guide the online adaptive update of the student model and reduce the interference of pseudo-label noise in online samples. S7: Implement knowledge alignment between teacher and student models, which can be achieved through the teacher model Instruct and correct student models The update direction of the model is used to alleviate the covariate offset problem under dynamic working conditions. The model also updates the student model parameters to the teacher model through the exponential sliding average method, realizing online continuous learning and continuously accumulating fault diagnosis knowledge. S8: Repeating steps S4, S5, S6 and S7 can realize real-time online status identification and diagnosis of the wind turbine transmission chain and adaptive model update.

2. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: The multi-source feature association fusion module in step S2 includes two submodules. The sensor feature reconstruction module based on convolutional neural network uses convolutional layers with flexible filter structures and resampled pooling layers to map the original multi-source data into the same low-dimensional space, unifying the heterogeneous feature input dimensions while retaining the uniqueness of each sensor information and enhancing the feature expression capability. The multi-source feature association fusion module applies the cross-modal attention mechanism to autonomously analyze the correlation between multi-source sensor features, obtain complementary information and discard redundant information based on the degree of correlation, and finally, calculate the attention weight of each relevant complementary information source according to the requirements of subsequent diagnostic tasks, and dynamically combine the multi-source relevant complementary features through weights to improve perception performance.

3. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: In step S3, the improved ResNet18 network is adapted to one-dimensional input data. All filters are replaced by one-dimensional convolution kernels, the bottom fully connected layer is replaced by a bottleneck layer containing 128 neurons, and each convolution layer uses batch normalization and dropout operations. Its classifier consists of a fully connected layer followed by a softmax operation.

4. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: The model pre-training method in step S3 is standard supervised learning training, the loss function adopts the cross entropy loss function, and the learning rate is 1×10 -3 , the stochastic gradient descent algorithm is used to tune the model parameters.

5. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: The class-balanced sampling mechanism described in step S5 initializes the memory bank and uses an adaptive threshold to select reliability samples for each state class based on the current prediction results of the teacher model and store them in the memory bank, thereby ensuring that the model learns from a uniform class distribution and avoids local overfitting or model collapse. Specifically, a combination of the confidence and entropy of the teacher model prediction results is used as the baseline metric, and the adaptive threshold is defined as its mean for the current batch of samples: in, is the target sample, C is the number of fault categories, is the teacher model output, Output the cth element of the probability vector for the teacher model, that is, the teacher model prediction sample is the probability of type c failure, For samples The difference between the prediction confidence and entropy, B is the number of batch samples, w t is the global threshold; Global threshold w t It reflects the overall learning status of the model for the current test data. In order to consider the adaptation differences between classes, a class threshold is introduced for each state class to ensure that the fault class with low certainty is not ignored; Among them, l is the indicator function, which is used to judge Whether the prediction result belongs to the cth health class, is the threshold value of category c; By modulating the threshold of each class through the global threshold, the final adaptive threshold of each class is as follows; in, is the class threshold set, is the adaptive threshold for each class; Adaptive threshold method is used to divide each type of sample in the current batch into reliable and unreliable groups. The partitioning rules are as follows: in, is the c-th class sample set, is the reliable sample set in category c, is the unreliable sample set in category c.

6. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: The positive-negative joint learning strategy described in step S6 uses two different training strategies to utilize reliable and unreliable samples to ensure that the model is effectively optimized during the adaptation phase. Specifically, the memory samples have more reliable pseudo labels generated by the teacher model, so these samples help the model benefit from positive learning. Contrastive learning is applied to these reliability samples, so that features from the same class are aggregated and features from different classes are separated. First, the student model feature extractor is used to obtain embedded features. Then calculate the cosine similarity between the two features, and the loss function of forward learning is expressed as: in, is the cosine similarity between two eigenvectors, E is the mean sign, is the embedding feature of the c-th reliable sample, L pst is the positive learning loss; In order to make full use of the data stream samples of the current time step, complementary labels are generated for training, and negative learning is performed on reliable samples and unreliable samples. is randomly selected from categories other than the category predicted by the teacher model. The loss function of negative learning is expressed as: in, Complementary tags The cth element in X t is the target sample set, The teacher model outputs the cth element of the probability vector, L neg is the negative learning loss.

7. The method for online fault diagnosis of a wind turbine transmission chain according to claim 6, characterized in that: The teacher-student model knowledge alignment in step S7 further enhances the consistency of teacher-student model predictions through a symmetric cross entropy loss function. The formula of the symmetric cross entropy loss function is: Among them, M is the class-balanced memory sample set, and are the prediction probabilities of the cth class of the teacher model and the student model, L alg is the symmetric cross entropy loss.

8. The method for online fault diagnosis of a wind turbine transmission chain according to claim 7, characterized in that: The student model parameters in step S7 are calculated by the total loss function L total The stochastic gradient descent algorithm is applied to optimize the update, with a learning rate of 1×10 -2 , the total loss function L total The formula is: L total =L alg +λ1L pst +λ2L neg Among them, λ1 and λ2 are the trade-off parameters of the corresponding loss terms, L total is the total loss for model training.

9. The method for online fault diagnosis of a wind turbine transmission chain according to claim 1, characterized in that: The teacher model parameters in step S7 are updated by the exponential sliding average of the student model parameters. The formula of the exponential sliding average is: I will t+1 =βθ' t +(1-β)θ t+1 Among them, the smoothing factor β is set to 0.99, θ' t are the parameters of the teacher model at test time step t, θ t+1 are the parameters of the student model at test time step t+1, and the real-time online diagnosis results of each test time step t are predicted by the teacher model.

Citation Information

Patent Citations

  • Decision-making method and model for offline reinforcement learning and continuous online fine tuning

    CN119249360A

  • Percentile-based pseudo-label selection for multi-label semi-supervised classification

    US20240071056A1

Cited By

  • Data quality monitoring storage system based on equipment electrical state evaluation

    CN122086878A