Online adaptive fault diagnosis method based on multi-criteria credibility and electronic device

By evaluating sample reliability and reliability-weighted loss using multiple criteria, the problem of distribution offset and pseudo-label noise under unknown operating conditions in online fault diagnosis is solved. Adaptive updating of unlabeled data streams is achieved, improving diagnostic accuracy and stability, and making it suitable for health management of industrial equipment.

CN123138014APending Publication Date: 2026-11-20MCC5 GROUP SHANGHAI CORPORATION LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611654382.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing online fault diagnosis methods face problems such as distribution shift, difficulty in utilizing unlabeled data, accumulation of false label noise and errors, and difficulty in balancing adaptability and stability under unknown operating conditions, resulting in a decline in diagnostic performance.

Method used

We employ multiple criteria to evaluate sample credibility, adaptively update the online diagnostic model using credibility-weighted loss, utilize unlabeled data streams for continuous diagnosis, and select highly credible samples by combining class interval, prediction uncertainty, and perturbation consistency indices. We also introduce a stable reference model for smooth synchronization.

Benefits of technology

It achieves accurate and stable fault diagnosis under unknown operating conditions without manual annotation, improves the model's generalization ability and diagnostic accuracy under changing operating conditions, reduces operation and maintenance costs, and features low latency and easy deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138014A_ABST
    Figure CN123138014A_ABST
Patent Text Reader

Abstract

The application discloses a kind of online adaptive fault diagnosis method and electronic equipment based on multi-criteria credibility, and stable reference model and online diagnosis model are initialized by offline labeled historical data;When new unlabeled monitoring sample arrives in online stage, first generate pseudo-label, and evaluate sample credibility from class interval, prediction uncertainty and disturbance consistency and other aspects;Subsequently, a comprehensive trust score is obtained by using ranking weighted average, and high-trust samples are selected and written into the online sample pool;Finally, the online diagnosis model is updated in real time by trust weighted loss.The stable reference model is smoothed and synchronized according to the update result of the online diagnosis model, and outputs the real-time fault class probability distribution.The application can continuously utilize unlabeled data stream without online manual labeling, and realize accurate and stable fault diagnosis under unknown working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of equipment fault diagnosis technology, and more specifically, to an online adaptive fault diagnosis method and electronic device based on multi-criteria reliability. Background Technology

[0002] With the development of industrial automation, intelligent manufacturing, and condition monitoring technologies, the structure and operation of modern industrial equipment are becoming increasingly complex, and equipment operating conditions are exhibiting characteristics of diversification, continuous change, and uncertainty. In actual production processes, key equipment such as motors, bearings, and gearboxes operate under complex conditions for extended periods. Failures can lead to decreased production efficiency, equipment damage, and even safety accidents. Therefore, timely and accurate identification of equipment health status and fault types is crucial for ensuring the safe and stable operation of industrial systems. In recent years, data-driven diagnostic methods based on machine learning and deep learning have been able to automatically extract fault features from monitoring signals and have achieved good results in various industrial equipment fault identification tasks. However, existing methods still face the following challenges in practical online deployment:

[0003] 1) Distribution offset problem under unknown operating conditions: Existing diagnostic models typically rely on labeled historical data collected offline for training. However, actual industrial equipment may experience loads, speeds, or environmental conditions not covered during offline training. When online monitoring data comes from unknown operating conditions, significant distribution differences will occur between the training and test data, leading to a decrease in the recognition performance of the offline diagnostic model.

[0004] 2) The difficulty in utilizing unlabeled online data: Data generated after the deployment of industrial equipment typically arrives in a continuous stream, but online samples often lack manual annotation. Since fault signal analysis requires specialized knowledge, relying on experts to annotate online data in real time is not only costly but also fails to meet the real-time requirements of industrial sites. Therefore, how to continuously calibrate diagnostic models using online data under unlabeled conditions is a pressing issue in practical fault diagnosis applications.

[0005] 3) Pseudo-label noise and error accumulation issues: Online adaptive diagnostics typically requires generating pseudo-labels from model predictions and updating the model based on these pseudo-labels. However, in unknown operating conditions or during operating condition transitions, model predictions may contain significant uncertainties. Directly using all pseudo-labeled samples for updates can easily introduce erroneous supervision information, leading to the accumulation of erroneous gradients, model parameter drift, and confirmation bias, thereby further reducing diagnostic performance.

[0006] 4) The challenge of balancing adaptability and stability: Online diagnostic models need to adapt to changes in data distribution under new operating conditions in a timely manner. However, updates that are too rapid or unconstrained may destroy the effective diagnostic knowledge learned in the offline phase, leading to performance degradation under known operating conditions. On the other hand, overly conservative updates are difficult to adapt to unknown operating conditions in a timely manner. Therefore, a diagnostic method is needed that can dynamically adjust the update intensity based on the reliability of online samples to achieve a balance between adapting to new operating conditions and preserving existing knowledge. Summary of the Invention

[0007] Due to the aforementioned deficiencies in existing technologies, this invention provides an online adaptive fault diagnosis method and electronic device. In the online phase, this method evaluates the reliability of samples based on multiple criteria and continuously and adaptively updates the online diagnostic model through reliability-weighted loss. It can continuously utilize unlabeled data streams without online manual annotation to achieve accurate and stable fault diagnosis under unknown operating conditions.

[0008] To achieve the above objectives, in a first aspect, the present invention provides an online adaptive fault diagnosis method, comprising the following steps:

[0009] Offline training phase: First, labeled source domain samples under multiple known working conditions are collected to form an offline training dataset; a basic diagnostic model is trained using the dataset to obtain basic model parameters; the basic diagnostic model takes samples as input and outputs a fault category probability distribution; the online diagnostic model and a stable reference model are initialized simultaneously with the basic model parameters for subsequent online adaptive diagnosis under unlabeled data streams;

[0010] Online training phase: Each new data block that arrives It contains multiple unlabeled monitoring samples; the data block Input the data into the online diagnostic model to obtain the class probability output matrix for each sample. For the i-th online sample, select the category with the highest probability in its category probability vector as the pseudo-label for that sample, thus obtaining the pseudo-label result. To avoid low-quality pseudo-labels directly participating in model updates, this invention does not perform indiscriminate updates on all newly arriving samples. Instead, it first assesses the credibility of pseudo-label samples. For the i-th online sample, its class interval index, prediction uncertainty index, and perturbation consistency index are calculated, resulting in three credibility components. The class interval index reflects the difference between the probability of the largest and second-largest class; the prediction uncertainty index reflects the concentration of the model's output probability distribution; and the perturbation consistency index reflects the consistency of the model's prediction results before and after a weak perturbation. Then, the three credibility components are fused using an ordered weighted average to obtain a comprehensive credibility score. When the comprehensive credibility score is greater than a preset screening threshold, the sample is considered to have relatively reliable online update information. At this point, the sample and pseudo-labels are updated. The parameters of the online diagnostic model are written into the online sample pool along with the comprehensive credibility score. A credibility-weighted update target is constructed using high-credibility samples from the online sample pool. For samples with high credibility scores, more reliance is placed on their pseudo-label supervision information to enhance the model's adaptability to current unknown conditions. For samples with low credibility scores, more reliance is placed on the output consistency constraints of a stable reference model to suppress parameter drift caused by erroneous pseudo-labels. The parameter set of the online diagnostic model is updated in real time according to the credibility-weighted update target.

[0011] The stable reference model is smoothly synchronized based on the update results of the online diagnostic model, and the updated online diagnostic model is used to output the real-time fault category probability distribution. This smooth synchronization process allows the stable reference model to provide a stable predictive reference while gradually absorbing new operating condition information learned by the online diagnostic model from high-confidence samples.

[0012] Through the above steps, the fault diagnosis method of the present invention can continuously utilize online data streams to adaptively update the diagnostic model without manual labeling.

[0013] As a preferred embodiment, the process of fusing the three confidence components includes: first, sorting the three confidence components according to their numerical values ​​to obtain... , and ,in This represents the lowest confidence component after sorting. This represents the highest confidence component after sorting; subsequently, based on the ordered weights... , and The overall credibility score of the i-th sample is obtained by weighting the ranked credibility components. ,in , and All are non-negative values ​​and satisfy the following conditions: 1. The ordered weights are automatically generated using a monotonic quantization function.

[0014] In a preferred embodiment, the monotonic quantization function is: ,in, The soft veto adjustment coefficient is when As the value increases, the monotonic quantization function tends to assign larger weights to lower-confidence components that rank higher; the ordered weights are obtained from the discrete increments of the monotonic quantization function. .

[0015] As a preferred embodiment, the category interval index is defined as: ,in and These are the class probability vectors. The highest and second-highest probabilities in the range; The larger the value, the clearer the model's judgment on the category of the current sample, and the more reliable the pseudo-label.

[0016] The prediction uncertainty index is defined as follows: ,in For a K-class classification task, the normalized prediction entropy of the i-th sample; the more concentrated the prediction probability distribution, the better. The smaller, The larger the value, the more reliable the pseudo-label of the sample;

[0017] The perturbation consistency index is defined as follows: ,in This represents the average predicted probability distribution output by the online diagnostic model after introducing perturbation samples; if the difference in the predicted distribution of samples before and after the perturbation is small, then... A relatively large value indicates that the sample has good predictive stability.

[0018] As a preferred implementation, the online sample pool employs a fixed-capacity first-in-first-out (FIFO) mechanism. When the sample pool capacity exceeds the upper limit, the earliest entered sample is removed, thereby ensuring the real-time nature of the online update process and the controllability of storage.

[0019] As a preferred implementation, the process of updating the parameter set of the online diagnostic model in real time according to the confidence-weighted update objective includes: First, for the samples in the sample pool... The pseudo-label supervision loss is defined as: (All instances of log in this application's specification represent logarithms to the base 10), where, This indicates that the online diagnostic model addresses the pseudo-label categories. The predicted probability; using Weighting the supervision loss for false labels: ,in To achieve a comprehensive and reliable score, Indicates an online sample pool. This represents the number of samples in the current online sample pool; secondly, the consistency constraint loss of the stable reference model is introduced, which is defined as: ,in The KL divergence represents the distance between two distributions. To stabilize the reference model for samples The predicted probability distribution For online diagnostic models to test samples The predicted probability distribution; the function for updating the confidence-weighted target is defined as: .

[0020] In a preferred embodiment, the process of smoothing and synchronizing the stable reference model based on the update results of the online diagnostic model includes: firstly, calculating the average confidence score in the online sample pool;

[0021]

[0022] Then, the smoothing coefficients for the feature extraction part and the class discrimination part are calculated separately:

[0023]

[0024]

[0025] in, and These represent the smoothing coefficients for the feature extraction part and the category discrimination part, respectively; and These represent the upper and lower bounds of the smooth update coefficients in the feature extraction part, respectively; and These represent the upper and lower bounds of the smooth update coefficients for the category discrimination part, respectively; the hierarchical smooth synchronous update of the stable reference model is as follows:

[0026]

[0027]

[0028] in, and These are the parameter sets for the feature extraction and category discrimination parts of the online diagnostic model, respectively. The corresponding parameters for the stable reference model are as follows: and The superscripts s and s+1 of the parameters refer to the parameters corresponding to the s-th and s+1-th online updates, respectively.

[0029] In a second aspect, the present invention provides an electronic device including a processor and a memory, the memory storing a computer program, wherein the processor executes the computer program to implement the online adaptive fault diagnosis method as described in the first aspect.

[0030] Compared with the prior art, the above invention has the following advantages or beneficial effects:

[0031] (1) In the online phase of this invention, the reliability of samples is evaluated based on multiple criteria. A reliability-weighted loss is introduced to continuously and adaptively update the online diagnostic model, overcoming the problems of distribution shift, pseudo-label noise, and error accumulation under unknown operating conditions. For samples with high reliability scores, more reliance is placed on their pseudo-label supervision information to enhance the model's adaptability to the current unknown operating conditions. For samples with low reliability scores, more reliance is placed on the output consistency constraints of the stable reference model to suppress parameter drift caused by erroneous pseudo-labels. The stable reference model is smoothly synchronized according to the update results of the online diagnostic model, so that while providing a stable prediction reference, it gradually absorbs new operating condition information learned by the online diagnostic model from high-reliability samples, thus taking into account both the adaptability and stability of the stable reference model. Therefore, this invention can continuously utilize unlabeled data streams to achieve accurate and stable fault diagnosis under unknown operating conditions without online manual annotation.

[0032] (2) The criteria selected in this invention include the class interval index, the prediction uncertainty index, and the perturbation consistency index. The class interval index reflects the difference between the probability of the largest class and the probability of the second largest class; the prediction uncertainty index reflects the concentration of the model's output probability distribution; and the perturbation consistency index reflects the consistency of the model's prediction results before and after a weak perturbation. Furthermore, this invention employs an ordered weighted average method to fuse the above confidence components, thereby preventing a low-confidence component from being masked by other high-confidence components. Therefore, this invention can comprehensively consider the overall confidence score of online samples from multiple perspectives, such as the clarity of classification judgment and resistance to weak perturbations, effectively avoiding the contamination of the model by low-confidence samples during the update process.

[0033] (3) The online adaptive fault diagnosis method based on multi-criteria credible pseudo-label screening provided by this invention has the core advantage of completely eliminating the dependence on manual labeling and continuously utilizing unlabeled data streams to achieve online self-evolution of the model, thereby significantly reducing operation and maintenance costs and improving real-time response capabilities. This method innovatively conducts a comprehensive credibility assessment of pseudo-labels from three dimensions: class interval, prediction uncertainty, and perturbation consistency, and integrates them into a credibility score through ranking weighted average, effectively filtering low-quality samples and ensuring high confidence in the online sample pool; at the same time, it uses credibility weighted loss for model updates, allowing high-credibility samples to dominate the learning direction, while the introduction of a stable reference model effectively constrains parameter drift, effectively resisting catastrophic forgetting while adapting to new features of unknown working conditions. Thus, this invention not only significantly improves the generalization ability and diagnostic accuracy of the model under changing working conditions, but also ensures stability and reliability in long-term operation, possessing engineering advantages such as low latency and easy deployment, providing an economical, efficient, and robust intelligent solution for the full life cycle health management of industrial equipment. Attached Figure Description

[0034] The invention, its features and advantages will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Like reference numerals denote like parts throughout the drawings.

[0035] Figure 1 This is a flowchart of the online adaptive fault diagnosis method in an embodiment of the present invention;

[0036] Figure 2 This is the real-time diagnostic accuracy curve of the inner ring bearing fault introduced at a speed of 2000 rpm in the equipment built in this embodiment of the invention;

[0037] Figure 3 This is the real-time diagnostic accuracy curve of the device constructed in this embodiment of the invention for a dynamic eccentricity fault introduced at a speed of 2000 rpm;

[0038] Figure 4 This is the real-time diagnostic accuracy curve of the device constructed in the embodiment of the present invention at a speed of 2000 rpm to introduce a voltage imbalance fault;

[0039] Figure 5 This is the real-time diagnostic accuracy curve of the device constructed in this embodiment of the invention when a winding fault is introduced at a speed of 2000 rpm;

[0040] Figure 6 This is the real-time diagnostic accuracy curve of the inner ring bearing fault introduced at a speed of 3000 rpm in the equipment constructed in this embodiment of the invention;

[0041] Figure 7This is the real-time diagnostic accuracy curve of the device with dynamic eccentricity fault introduced at 3000rpm in the embodiment of the present invention;

[0042] Figure 8 This is the real-time diagnostic accuracy curve of the device constructed in the embodiment of the present invention at a speed of 3000rpm to introduce a voltage imbalance fault;

[0043] Figure 9 This is the real-time diagnostic accuracy curve of the device constructed in this embodiment of the invention when a winding fault is introduced at a speed of 3000 rpm. Detailed Implementation

[0044] The structure of the present invention will be further described below with reference to the accompanying drawings and specific embodiments, but this is not intended to limit the invention. The execution order of actions, steps, etc., in the apparatus and methods shown in the claims, specification, and drawings of the present invention can be implemented in any order unless a specific order is explicitly specified, and as long as the output of the preceding processing is not used in the subsequent processing.

[0045] In the following detailed description, numerous specific details are set forth to provide a more thorough understanding of the invention. It will be apparent to those skilled in the art that well-known algorithms or models are not shown in detail to avoid obscuring the spirit of the invention; and that the techniques not detailed in the following effect examples are readily available prior art.

[0046] The technical solution of the present invention will now be described in detail with reference to specific embodiments.

[0047] Example

[0048] This embodiment discloses an online adaptive fault diagnosis method for equipment based on multi-criteria reliability. The overall process is described in [link to documentation]. Figure 1 In the offline phase, a basic diagnostic model is trained using labeled historical data under multiple known operating conditions, and the resulting parameters are used to simultaneously initialize the online diagnostic model and the stable reference model. In the online phase, a sliding window process is applied to continuously arriving unlabeled monitoring data, and the online diagnostic model generates prediction results and pseudo-labels. The sample reliability is evaluated from three aspects: class interval, prediction entropy, and weak enhancement consistency. Subsequently, a multi-criteria reliability index is obtained through ordered weighted average fusion with a soft veto mechanism, and high-reliability samples are selected and written into the first-in-first-out online sample pool. The online diagnostic model is then updated using reliability-weighted cross-entropy loss and prediction consistency loss, and the feature extractor and classifier of the stable reference model are updated by hierarchical exponential moving average based on the average reliability of the sample pool. Finally, the updated online diagnostic model is used to output the fault diagnosis result at the current moment.

[0049] The online adaptive fault diagnosis method based on multi-criteria trusted pseudo-label screening of the present invention is carried out in the following steps in the online process.

[0050] The basic diagnostic model is obtained through training during the offline phase, and the parameters of the basic model are denoted as follows. The stable reference model is then compared using the aforementioned basic model parameters. and online diagnostic models After initialization is complete, the following will be achieved:

[0051]

[0052] Define each new data block arriving during the online phase as containing r unlabeled monitoring samples, using... This represents the online data block that arrives at time s. Since newly arriving samples are assumed to be unlabeled during online diagnosis, their corresponding label information is unknown. [The last part, "data block," appears to be a separate, unrelated sentence fragment and is left untranslated.] Input the online diagnostic model to obtain the category probability output matrix:

[0053]

[0054] in, Let represent the probability distribution of the i-th sample belonging to the K-th fault state. For the newly arrived i-th sample, select... The category corresponding to the maximum value in the middle is used as the pseudo-label of the sample. :

[0055]

[0056] This method does not directly use all newly arrived samples for online updates, but first evaluates the credibility of pseudo-labeled samples. For the i-th online sample, the class interval credibility, prediction entropy credibility, and perturbation consistency credibility are calculated respectively.

[0057] First, the category probability vector The maximum and second-highest probabilities in the range are denoted as , ... and The category interval confidence level is defined as:

[0058]

[0059] in, The larger the value, the clearer the model's judgment on the category of the current sample, and the more reliable the pseudo-label.

[0060] Secondly, prediction entropy is used to measure the uncertainty of the model output. For a K-classification task, the normalized prediction entropy of the i-th sample is:

[0061]

[0062] The corresponding prediction entropy confidence level is defined as:

[0063]

[0064] When the predicted probability distribution is more concentrated The smaller, The larger the value, the more reliable the pseudo-label of the sample.

[0065] For the sample Perform G weak perturbations to obtain the perturbation sample set. Input the perturbation samples into the online diagnostic model and calculate the average predicted probability distribution: ,in Let be the predicted probability distribution of the i-th perturbation sample.

[0066] The perturbation consistency reliability is defined as:

[0067]

[0068] If the difference in the predicted distribution of the sample before and after the perturbation is small, then A relatively large value indicates that the sample has good predictive stability.

[0069] To prevent a low-confidence component from being masked by other high-confidence components, this method uses an ordered weighted average to fuse the aforementioned confidence components. First, the three confidence components are combined into a confidence vector:

[0070]

[0071] Then sort them in ascending order of value:

[0072]

[0073] in, This represents the lowest confidence component after sorting. This represents the highest confidence component after sorting.

[0074] To generate the weights for the ordered weighted average, this method employs a monotonic quantization function:

[0075]

[0076] in, This is the soft veto adjustment coefficient. When... As the value increases, the monotonic quantization function tends to assign greater weights to the lower confidence components that rank higher, thereby enhancing the sensitivity of the overall confidence score to the lowest confidence component.

[0077] The ordered weights are obtained from the discrete increments of the monotonic quantization function:

[0078]

[0079] in, ,and Therefore, the overall credibility score for the i-th sample is:

[0080]

[0081] Using this ordered weighting method, when any credibility component is significantly low, the overall credibility score is adjusted. This will reduce the likelihood of low-quality pseudo-tags entering the subsequent update process.

[0082] Let the preset confidence screening threshold be... When the i-th sample satisfies:

[0083]

[0084] Therefore, it is considered that the sample can provide relatively reliable online update information, and the sample is... Pseudo-labels and comprehensive credibility score Form triplets and write them into the online sample pool:

[0085]

[0086] in, This indicates the current number of samples in the online sample pool. The online sample pool uses a fixed-capacity first-in, first-out (FIFO) mechanism. When new samples are written, the sample pool capacity exceeds the preset limit. At that time, remove the earliest sample that entered the sample pool:

[0087]

[0088] This mechanism allows the model to prioritize the use of recent, highly reliable online samples for adaptation, while ensuring that storage overhead remains manageable.

[0089] During the online update phase, a confidence-weighted update target is constructed using samples from the online sample pool. For the samples in the sample pool... The pseudo-label supervision loss is defined as:

[0090]

[0091] in, This indicates that the online diagnostic model addresses the pseudo-label categories. The predicted probability. Since a higher overall credibility score indicates a more reliable pseudo-label, therefore... Weighting the supervision loss for false labels:

[0092]

[0093] Meanwhile, to suppress parameter drift caused by low-quality pseudo-labels, this method introduces a consistency constraint. This consistency constraint uses a stable reference model to constrain the update process of the online diagnostic model, preventing excessive updates due to the influence of low-quality pseudo-labels. Let the stable reference model be the sample... The predicted probability distribution is The online diagnostic model predicts the probability distribution of this sample as follows: Then the consistency constraint loss is defined as:

[0094]

[0095] in This represents the KL divergence between two distributions.

[0096] The final online update objective function is:

[0097]

[0098] Based on the aforementioned confidence-weighted update objective, the parameter set of the online diagnostic model is updated in real time:

[0099]

[0100] in, The parameters of the online diagnostic model at time s are represented. This indicates the online learning rate.

[0101] After the online diagnostic model is updated, the stable reference model is smoothly synchronized based on the update results of the online diagnostic model. Let the parameters of the feature extraction part and the parameters of the category discrimination part of the online diagnostic model be respectively... and The corresponding parameters of the stable reference model are as follows: and First, calculate the average credibility score in the online sample pool:

[0102]

[0103] Then, the smoothing coefficients for the feature extraction part and the class discrimination part are calculated separately:

[0104]

[0105]

[0106] in, and These represent the smoothing coefficients for the feature extraction part and the category discrimination part, respectively; and These represent the upper and lower bounds (fixed hyperparameters) of the smooth update coefficients in the feature extraction part, respectively. The more reliable the data block (…), the better. The closer to 1), the better. Approaching When the data block is unreliable, it will perform a rapid follow-up with a large amplitude; conversely, when the data block is unreliable, it will... Approaching The magnitude of the change is decreasing, and updates are becoming more conservative; and These represent the upper and lower bounds of the smooth update coefficients for the category discrimination part, respectively, with the same meaning as above. The hierarchical smooth synchronous update of the stable reference model is as follows:

[0107]

[0108]

[0109] Here, the superscript 's' of the parameter refers to the parameter corresponding to the 's'th online data block (the 's'th online update); the superscript 's+1' of the parameter refers to the parameter corresponding to the 's+1'th online data block (the 's+1'th online update). When the average confidence score is high, the stable reference model can follow the online diagnostic model update more quickly; when the average confidence score is low, the stable reference model update speed decreases, thereby enhancing the stability of the online diagnostic process.

[0110] Through the above process, this method sequentially completes pseudo-label generation, multi-criteria credibility assessment, ordered weighted credibility score calculation, high-credibility sample screening, online sample pool update, real-time update of the online diagnostic model, and smooth synchronization of the stable reference model upon arrival of each unlabeled online data block. Therefore, this invention can continuously adapt the diagnostic model using unlabeled data streams without relying on online manual annotation, and achieve stable fault diagnosis under unknown operating conditions.

[0111] To verify the online fault diagnosis performance of this invention under unknown operating conditions, this embodiment uses a self-built motor fault experimental device for testing. This device consists of a 2.2 kW three-phase asynchronous motor, a torque sensor, a two-stage parallel gearbox, a magnetic powder brake as the load, and a measurement and control system. The experiment synchronously acquired key phase signals, torque signals, three-axis motor vibration signals, and three-phase current signals at a sampling frequency of 12.8 kHz, totaling eight channels. The diagnostic tasks included four types of faults: winding faults, bearing inner ring faults, voltage imbalance, and dynamic eccentricity. The experiments were conducted at 2000 rpm and 3000 rpm, with operating conditions 1, 2, 3, and 4 corresponding to load torques of 15, 30, 20, and 40 N·m, respectively. Each set of results was obtained by averaging 10 independent random trials. The load torque in this experiment refers to the load torque applied to the output shaft of the parallel shaft gearbox by the magnetic powder brake, the magnitude of which is controlled by adjusting the magnetic powder brake, while the torque sensor is used to measure the actual torque of the gearbox input shaft.

[0112] In the offline phase, the initial model was trained using only known operating conditions 3 and 4. Each operating condition included one healthy state and four fault states, with 600 samples randomly selected for each state. In the online phase, unlabeled data arrived continuously in the order of operating conditions 1→2→3→4. Operating conditions 1 and 2 were used to evaluate the adaptability to unknown operating conditions, while operating conditions 3 and 4 were used to evaluate the knowledge retention capability after continuous updates. Three-phase current and triaxial vibration signals were segmented using a sliding window of length 512 and step size 8. The model was updated online every 128 new samples. The method employed a four-layer multilayer perceptron backbone network, with an online sample pool capacity of 256, a confidence screening threshold of 0.85, and a learning rate of 10. -5 Adam optimizer.

[0113] See Figures 2 to 9 The method of this invention can achieve stable real-time identification of various fault conditions, including winding faults, bearing inner ring faults, voltage imbalances, and dynamic eccentricity, under two speed conditions: 2000 rpm and 3000 rpm. With continuous input of samples from various operating conditions, the identification accuracy can rapidly improve and remain at a high level. During continuous operation after switching between healthy and fault states and after condition repair, it can maintain good identification stability and adaptability, thereby improving the reliability of the system.

[0114] In summary, the online adaptive fault diagnosis method for equipment based on multi-criteria reliability proposed in this invention can combine equipment characteristics and production features to detect the health status of equipment in real time, more accurately reflect the operating status of equipment, ensure stable production, reduce maintenance costs, and has high engineering value.

[0115] In some embodiments of the present invention, an electronic device is also provided. Exemplary examples include mobile electronic devices such as mobile phones, tablets, laptops, handheld computers, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), and non-mobile electronic devices such as servers, network-attached storage (NAS), personal computers (PCs), ATMs, or self-service machines. This application does not specifically limit the scope of the embodiments. In a device online adaptive fault diagnosis scenario, the processor of the electronic device executes the method of this application. The electronic device used for device online adaptive fault diagnosis in this application embodiment can be an electronic device with an operating system. The operating system can be Android, iOS, or other possible operating systems; this application does not specifically limit the scope of the embodiments. The electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the method of the first aspect of this application. The processor may include a central processing unit, a digital signal processor, an application-specific integrated circuit, a microcontroller, or other devices with computing capabilities; the memory may include high-speed random access memory, non-volatile memory (e.g., at least one disk storage, flash memory, electrically erasable programmable read-only memory, etc.).

[0116] Those skilled in the art should understand that variations can be implemented by combining existing technology with the above embodiments, which will not be elaborated here. Such variations do not affect the essence of the present invention, and will not be elaborated here either.

[0117] The preferred embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and the devices and structures not described in detail should be understood as being implemented in a conventional manner in the art. Any person skilled in the art can make many possible variations and modifications to the technical solutions of the present invention using the methods and techniques disclosed above, or modify them into equivalent embodiments with equivalent changes, without departing from the scope of the present invention. This does not affect the essential content of the present invention. Therefore, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the present invention's technical solutions still fall within the protection scope of the present invention.

Claims

1. An online adaptive fault diagnosis method, characterized in that, Includes the following steps: Offline training phase: First, labeled source domain samples under multiple known working conditions are collected to form an offline training dataset; a basic diagnostic model is trained using the dataset to obtain basic model parameters; the basic diagnostic model takes samples as input and outputs a fault category probability distribution; the online diagnostic model and a stable reference model are initialized simultaneously with the basic model parameters for subsequent online adaptive diagnosis under unlabeled data streams; Online training phase: Each new data block that arrives It contains multiple unlabeled monitoring samples; the data block Input the data into the online diagnostic model to obtain the class probability output matrix for each sample. ; For the i-th online sample, the category with the highest probability in its category probability vector is selected as the pseudo-label for that sample, thus obtaining the pseudo-label result. Simultaneously, the class interval index, prediction uncertainty index, and perturbation consistency index are calculated separately to obtain three confidence components. The class interval index reflects the difference between the probability of the largest class and the probability of the second largest class; the prediction uncertainty index reflects the concentration of the model's output probability distribution; and the perturbation consistency index reflects the consistency of the model's prediction results before and after a weak perturbation. Then, the three confidence components are fused using an ordered weighted average method to obtain a comprehensive confidence score. When the comprehensive confidence score is greater than a preset screening threshold, the sample and pseudo-label are... The comprehensive credibility score is written into the online sample pool; a credibility-weighted update target is constructed using high-credibility samples in the online sample pool; and the parameter set of the online diagnostic model is updated in real time according to the credibility-weighted update target. The stable reference model is smoothly synchronized based on the update results of the online diagnostic model, and the updated online diagnostic model is used to output the real-time probability distribution of fault categories.

2. The online adaptive fault diagnosis method according to claim 1, characterized in that, The process of fusing the three confidence components includes: first, sorting the three confidence components according to their numerical values ​​to obtain... , and ,in This represents the lowest confidence component after sorting. This represents the highest confidence component after sorting; subsequently, based on the ordered weights... , and The overall credibility score of the i-th sample is obtained by weighting the ranked credibility components. ,in , and All are non-negative values ​​and satisfy the following conditions:

1. The ordered weights are automatically generated using a monotonic quantization function.

3. The online adaptive fault diagnosis method according to claim 2, characterized in that, The monotonic quantization function is: ,in, The soft veto adjustment coefficient is when As the value increases, the monotonic quantization function tends to assign larger weights to lower-confidence components that rank higher; the ordered weights are obtained from the discrete increments of the monotonic quantization function. .

4. The online adaptive fault diagnosis method according to claim 1 or 2, characterized in that, The category interval index is defined as follows: ,in and These are the class probability vectors. The highest and second-highest probabilities in the range; The larger the value, the clearer the model's judgment on the category of the current sample, and the more reliable the pseudo-label. The prediction uncertainty index is defined as follows: ,in For a K-classification task, the normalized prediction entropy of the i-th sample; the more concentrated the prediction probability distribution, the better. The smaller, The larger the value, the more reliable the pseudo-label of the sample; The perturbation consistency index is defined as follows: ,in This represents the average predicted probability distribution output by the online diagnostic model after introducing perturbation samples; if the difference in the predicted distribution of samples before and after the perturbation is small, then... The large value indicates that the sample has good predictive stability.

5. The online adaptive fault diagnosis method according to claim 1, characterized in that, The online sample pool uses a fixed-capacity first-in-first-out (FIFO) mechanism.

6. The online adaptive fault diagnosis method according to claim 1, characterized in that, The process of updating the parameter set of the online diagnostic model in real time according to the confidence-weighted update objective includes: First, for the samples in the sample pool... The pseudo-label supervision loss is defined as: ,in, This indicates that the online diagnostic model addresses the pseudo-label categories. The predicted probability is given by log, where log represents the base-10 logarithm; using Weighting the supervision loss for false labels: ,in To achieve a comprehensive and reliable score, Indicates an online sample pool. This represents the number of samples in the current online sample pool; secondly, the consistency constraint loss of the stable reference model is introduced, which is defined as: ,in The KL divergence represents the distance between two distributions. To stabilize the reference model for samples The predicted probability distribution For online diagnostic models to test samples The predicted probability distribution; the function for updating the confidence-weighted target is defined as: .

7. The online adaptive fault diagnosis method according to claim 6, characterized in that, The process of smoothing and synchronizing the stable reference model based on the update results of the online diagnostic model includes: firstly, calculating the average confidence score in the online sample pool: Then, the smoothing coefficients for the feature extraction part and the class discrimination part are calculated separately: in, and These represent the smoothing coefficients for the feature extraction part and the category discrimination part, respectively; and These represent the upper and lower bounds of the smooth update coefficients in the feature extraction part, respectively; and These represent the upper and lower bounds of the smooth update coefficients for the category discrimination part, respectively; The hierarchical smooth synchronous update of the stable reference model is as follows: in, and These are the parameter sets for the feature extraction and category discrimination parts of the online diagnostic model, respectively. The corresponding parameters for the stable reference model are as follows: and The superscripts s and s+1 of the parameters refer to the parameters corresponding to the s-th and s+1-th online updates, respectively.

8. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the online adaptive fault diagnosis method according to any one of claims 1 to 7.