Bearing fault diagnosis method based on local event causal verification and credible graph feedback
By employing a method of local event causal verification and credible graph feedback, the problem of spurious correlation interference under complex operating conditions in bearing fault diagnosis is solved. This method achieves high accuracy and transparent causal explanation of multi-agent models across operating conditions, thereby improving the robustness and interpretability of bearing fault diagnosis.
Patent Information
- Application Number
- CN202611655104.5
- 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
Existing bearing fault diagnosis methods are susceptible to spurious correlations under complex operating conditions, resulting in insufficient model generalization ability, lack of transparent explanation of collaborative mechanisms, and difficulty in locating the cause of misdiagnosis across operating conditions.
We employ a method of local event causal verification and credible graph feedback. By constructing a local causal graph and performing targeted intervention verification, we eliminate spurious correlation interference and construct credible causal logic as network constraints to feed back into model training, thereby improving the robustness and transparency of multi-agent diagnosis.
It effectively removes confounding factors under complex working conditions, improves the diagnostic accuracy and transparency of multi-agent models across working conditions, ensures the credibility of causal explanations and the stability of models, and reduces the computational complexity and noise interference of causal mapping.
Smart Images

Figure CN123138995A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of bearing fault diagnosis technology, specifically a bearing fault diagnosis method based on local event causal verification and credible graph feedback, as well as a computer terminal and computer-readable storage medium for applying this method. Background Technology
[0002] Rolling bearings are widely used in motors, gearboxes, vehicle transmission systems, and industrial rotating machinery, and their operating status directly affects the safety and reliability of the entire equipment. Existing bearing fault diagnosis methods typically identify faults by collecting operating signals such as vibration, acoustics, and current, combined with deep neural network feature extraction. However, in real-world industrial scenarios, bearing signals are highly susceptible to complex operating conditions such as speed, load, and background noise, leading to significant distribution differences for the same fault under different conditions. This data distribution shift often results in insufficient generalization ability of purely data-driven diagnostic models when applied across different operating conditions, leading to a significant decrease in diagnostic performance.
[0003] To alleviate the problems of noise interference and insufficient feature representation of single signal sources, existing research has gradually shifted towards multi-source information fusion and multi-branch networks (or multi-agent collaboration). These methods input information from different sensor channels or different feature domains into multiple diagnostic sub-models and output the overall diagnostic result through attention mechanisms or decision fusion, thus improving diagnostic accuracy to some extent. However, this highly complex fusion model exacerbates the "black box" effect. The collaborative relationships within the model are often indirectly represented by attention weights or joint training results, making it difficult to clearly explain which frequency band or sub-model truly dominates the final diagnostic result. When the model experiences misdiagnosis or sudden changes in confidence under complex operating conditions, the lack of a transparent explanation of the collaborative mechanism makes it difficult for technicians to perform cross-condition failure localization and misdiagnosis tracking.
[0004] To address the aforementioned lack of interpretability, existing technologies have begun to introduce causal inference to uncover the causal structure between variables, aiming to provide explanations for fault mechanism analysis. However, in practical bearing fault diagnosis scenarios, directly constructing causal graphs from complete high-dimensional operating trajectories or long-sequence signals presents serious challenges, including an excessively large variable space, overly dense graph structure, and complex event mechanisms. More importantly, causal graphs built solely based on statistical relationships from observed data are highly susceptible to interference from sudden changes in operating conditions and environmental noise, resulting in numerous spurious correlation edges. Furthermore, most existing causal explanation methods remain at the post-hoc analysis stage, meaning the explanation results are disconnected from the optimization process of the diagnostic model, failing to substantially help the model correct spurious correlation biases.
[0005] Therefore, there is an urgent need in this field for a novel bearing fault diagnosis method that can not only strip away the confounding mechanisms in complex long sequences to accurately uncover the true causal relationships, but also truly feed this reliable causal logic back into the construction of the diagnostic model. This would improve the transparency of multi-agent collaboration and fundamentally solve the problems of models being susceptible to spurious correlations and having poor robustness under complex working conditions. Summary of the Invention
[0006] To address the technical problems existing in the prior art, this invention provides a bearing fault diagnosis method based on local event causal verification and credible graph feedback. The method aims to accurately isolate confounding factors under complex working conditions to eliminate spurious correlation interference, and to feed back the credible causal logic verified by intervention into the model training as network constraints. This breaks the "black box" limitation of existing diagnostic models and improves the robustness of multi-agent models in cross-working-condition diagnosis, as well as providing transparent and credible causal explanation output.
[0007] To achieve the above objectives, the present invention provides the following technical solution: This invention discloses a bearing fault diagnosis method based on local event causal verification and credible graph feedback, including steps S1 to S7.
[0008] S1. Obtain multi-source monitoring signals and operating condition information of the bearing to be diagnosed, and extract features from the multi-source monitoring signals to obtain local feature vectors.
[0009] S2. Construct multiple diagnostic agents corresponding to different bearing component diagnostic tasks. Determine the fault characteristic frequency of each bearing component based on the bearing speed in the operating condition information to construct a feature routing matrix. Select local feature vectors based on the feature routing matrix and input them along with the operating condition information into the corresponding diagnostic agents to obtain local diagnostic results. Output the overall diagnostic results through collaborative fusion and train the baseline multi-agent diagnostic model.
[0010] S3. Monitor the output changes and cross-condition performance degradation of the baseline multi-agent diagnostic model during operation to identify key diagnostic events and extract local event windows.
[0011] S4. Within the local event window, construct semantic variables containing signal features, operating condition information, and agent output, and generate candidate local causal graphs based on conditional independence tests.
[0012] S5. For candidate causal edges in the candidate local causal graph, perform target causal intervention on their source nodes to obtain the target intervention effect. Calculate the credibility score of the candidate causal edges based on multi-dimensional evaluation indicators including the target intervention effect, and screen candidate causal edges that meet the preset scoring conditions to form a credible local causal graph.
[0013] S6. Map the trusted local causal graph to network constraints, construct a joint loss function containing trusted graph constraint loss, and perform feedback training on the baseline multi-agent diagnostic model.
[0014] S7. Use the multi-agent diagnostic model obtained from feedback training to perform inference and output fault diagnosis and causal explanation results.
[0015] As a further improvement to the above scheme, step S3 specifically includes: Once the baseline multi-agent diagnostic model reaches the preset diagnostic performance, the model parameters are frozen; during the playback of the diagnostic trajectory or online diagnosis process, the event trigger index is calculated according to the following formula: ; In the formula, the subscript Indicates the current moment; Indicates the event trigger indicator; It represents the change in failure probability, determined based on the first norm between the overall failure probability vector at the current time and the previous time. The output divergence of the agent is represented by the mean squared distance between the local output vector and the average output vector of each diagnostic agent. It represents the change in diagnostic confidence, determined based on the absolute value of the difference between the maximum class probability at the current time and the maximum class probability at the previous time. It represents the change in diagnostic loss, which is determined based on the absolute value of the difference between the diagnostic loss at the current moment and the diagnostic loss at the previous moment; The indicator represents the performance degradation across operating conditions. It is determined based on the difference between the diagnostic performance indicator under the reference operating condition and the diagnostic performance indicator under the current operating condition, and the indicator is zero when there is no performance degradation. The diagnostic performance indicator includes at least one of accuracy, macro average F1 value and sliding window diagnostic accuracy. These are non-negative weighting coefficients; When the event trigger index is greater than or equal to a preset threshold, a key diagnostic event is determined to be triggered; with the trigger time as the center, diagnostic steps of preset lengths are extracted in the historical and future directions respectively to form the local event window.
[0016] As a further improvement to the above scheme, step S4 specifically includes: Within the local event window, signal feature variables including at least one of fault band energy, spectral amplitude, envelope spectrum peak value, or time-frequency energy are extracted; local output variables of the diagnostic agent including local fault probability, local fault category, or local diagnostic action are extracted; agent cooperation relationship variables including communication weight, attention weight, or fusion weight between agents are extracted; and overall diagnostic result variables including overall fault probability, overall diagnostic category, or diagnostic confidence are extracted as core semantic variables; and optional semantic variables including working condition variables constructed based on the working condition information are extracted, which together constitute a set of local semantic variable nodes. For any two different semantic variables in the set of local semantic variable nodes, under a set maximum time lag step and a set of conditional variables, a time-series causal discovery method is used to perform conditional independence testing. Specifically, for semantic variables exhibiting approximately linear relationships, a partial correlation test is used; for semantic variables with nonlinear relationships, a conditional mutual information test or a kernel conditional independence test is used. When the test result rejects the null hypothesis of conditional independence, the direction of the conditional dependency between variables is constrained based on the bearing diagnosis task prior, and relationships meeting the constraints are retained as candidate causal edges, thereby generating the candidate local causal graph. The bearing diagnosis task prior includes: Prevent variables in future diagnostic steps from pointing to variables in past diagnostic steps; It is prohibited for overall diagnostic result variables to point inversely to historical signal characteristic variables that have already been generated; Signal characteristic variables and operating condition variables are allowed to point to local output variables of the diagnostic agent; Allow local output variables and agent collaboration relationship variables of the diagnostic agent to point to the overall diagnostic result variable.
[0017] As a further improvement to the above scheme, in step S4, when the number of effective diagnostic steps contained in a single local event window is insufficient to perform conditional independence tests, multiple local event windows with the same event type are aggregated into a multivariate time series data matrix; and window boundary markers are set for different local event windows to prevent the construction of lagged variable pairs with causal relationship between the terminal variable of the previous local event window and the starting variable of the next local event window.
[0018] As a further improvement to the above scheme, in step S5, the target causal intervention includes at least one of the following: frequency band masking, sensor channel deletion, feature replacement, motion clamping, and communication blocking; Specifically, when performing frequency band masking and the source node corresponds to the bearing fault characteristic frequency band, the target masking frequency band is constructed based on the bearing theoretical fault characteristic frequency and harmonic range corresponding to the source node. A frequency band mask is generated, and the original spectrum is replaced or zeroed in the frequency band of the target masking frequency band using the replacement spectrum. Features are then extracted again and input into the model to obtain the intervention effect.
[0019] As a further improvement to the above scheme, in step S5, the multidimensional evaluation indicators also include: cross-sample stability, cross-condition consistency, and randomized controlled intervention gain. The formula for calculating the reliability score is: ; In the formula, Indicate candidate causal edges Credibility score; Indicate candidate causal edges The target intervention effect; Indicate candidate causal edges Cross-sample stability; Indicate candidate causal edges Consistency across operating conditions; Indicate candidate causal edges The gain of the targeted intervention effect relative to the randomized controlled intervention effect. , Indicate candidate causal edges The effect of randomized controlled intervention; , , and These are non-negative weighting coefficients; and The calculation formulas are as follows: ; ; In the formula, This indicates the total number of repeated evaluations. Indicates the assessment number; Indicates time The specific local diagnostic event that occurred, in the first The set of candidate causal edges obtained from the second evaluation; and These represent the candidate causal edges respectively. No. The target intervention effect and randomized controlled intervention gain obtained from the second evaluation; and These are the preset minimum target intervention effect threshold and minimum randomized controlled intervention gain threshold, respectively; This is an indicator function that takes the value 1 if all conditions within the parentheses are met, and 0 otherwise. This indicates the total number of working conditions participating in the evaluation. Indicates the operating condition number. Indicates the first Candidate causal edges under various working conditions The symbolic intervention effect on the target node, Indicate candidate causal edges Reference direction under all operating conditions This represents the minimum signed intervention effect threshold used to exclude fluctuations. This is an indicator function. It takes the value 1 when the direction of the intervention effect is consistent with the direction of the reference effect and the absolute value reaches the threshold under a certain working condition; otherwise, it takes the value 0. It is a symbolic function.
[0020] As a further improvement to the above scheme, step S6 specifically includes the following steps in constructing the joint loss function: For credible causal edges pointing from signal feature nodes to agent action nodes, corresponding feature gating or attention constraints are generated; for credible causal edges between diagnostic agents, communication retention, communication pruning, or communication weight adjustment rules are generated; for pseudo-correlated edges that have been verified and deleted through intervention, structural suppression terms or sparse regularization terms are generated; the joint loss function is expressed as follows: ; In the formula, Indicates the joint loss; The diagnostic loss is represented by cross-entropy loss, which is used to constrain the consistency between the overall diagnostic results output by the baseline multi-agent diagnostic model and the actual bearing fault category labels. The trusted graph constraint loss is constructed based on the trusted causal edge credibility score and is used to constrain the network relationship weights within the model to be consistent with the trusted local causal graph. The intervention consistency loss is determined based on the difference between the change in diagnostic output obtained during the intervention validation phase and the change in diagnostic output obtained during the feedback training phase. It is used to constrain the baseline multi-agent diagnostic model to still produce a consistent response to causal interventions after feedback training. The sparse regularization term is constructed based on the network relationship weights involved in the constraints in the baseline multi-agent diagnostic model, and is used to reduce the weights of redundant feature connections and redundant communication relationships. , and These represent the non-negative weight coefficients of the corresponding loss terms.
[0021] As a further improvement to the above scheme, in step S1, the multi-source monitoring signals include bearing vibration signals, acoustic signals, current signals, and temperature signals; wherein, the original sampling sequence of each monitoring signal is segmented, denoised, and normalized in sequence, and the processed sampling sequence is subjected to spectrum transformation, envelope spectrum transformation, or time-frequency transformation to extract numerical features with diagnostic significance, and then combined to form the local feature vector.
[0022] The present invention also discloses a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the bearing fault diagnosis method based on local event causal verification and trusted graph feedback as described above.
[0023] The present invention also discloses a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, it implements the steps of the bearing fault diagnosis method based on local event causal verification and trusted graph feedback as described above.
[0024] Compared with the prior art, the beneficial effects of the present invention are: 1. The bearing fault diagnosis method disclosed in this invention effectively avoids the problems of overly dense structure and mixed mechanisms caused by high-dimensional trajectory global mapping by decomposing the complete long sequence of monitoring signals into independent local diagnostic events. Based on this, targeted intervention is used to screen out spurious correlation interference caused by sudden changes in operating conditions or noise, and the verified credible causal graph is directly used as network constraints to feed back into model training. This closed-loop design allows causal explanations to truly participate in model optimization, not only improving the transparency of multi-agent collaboration but also fundamentally overcoming the diagnostic failure problem caused by data distribution shifts under varying operating conditions.
[0025] 2. Regarding the identification of key diagnostic events, this invention comprehensively monitors indicators such as changes in fault probability, agent divergence, and performance degradation across operating conditions, enabling precise extraction of time slices when misdiagnosis or decision-making conflicts occur in the model. Simultaneously, by introducing bearing diagnostic task priors when constructing semantic variables, it preemptively eliminates reverse causal edges that violate temporal order or physical common sense. This not only reduces the computational complexity of causal graph construction but also avoids interference from massive amounts of worthless continuous data on the algorithm.
[0026] 3. In the screening of credible causal relationships, targeted interventions are implemented through operations such as frequency band masking to directly simulate the control process of missing specific fault frequencies, thereby quantitatively evaluating the true physical impact of each frequency band feature on the diagnostic results. By combining cross-operating condition consistency, cross-sample stability, and random control intervention gain to calculate the credibility score, it is possible to effectively eliminate accidental correlations caused by single-sample coincidences or fluctuations in non-target features, ensuring that the extracted causal laws have engineering universality under different speeds and loads.
[0027] 4. During the feedback training phase, this invention maps the credible causal graph to feature gating or communication weight adjustment rules and introduces a joint loss function that includes graph constraints, intervention consistency, and sparse regularization terms. This process forces the weight distribution of the multi-agent diagnostic model to fit the validated causal structure, actively eliminating redundant features and spurious connections. The model is thus able to produce a stable output response when subjected to physical intervention, preventing it from degenerating into a black box state that relies solely on "statistical shortcuts," truly achieving a deep alignment between diagnostic decisions and physical mechanisms. Attached Figure Description
[0028] Figure 1 This is a flowchart of the bearing fault diagnosis method based on local event causal verification and credible graph feedback in Embodiment 1 of the present invention.
[0029] Figure 2 This is a schematic diagram of the structure of the computer terminal in Embodiment 3 of the present invention. Detailed Implementation
[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0031] Example 1 Please see Figure 1 This embodiment provides a bearing fault diagnosis method based on local event causal verification and credible graph feedback, including steps S1 to S7.
[0032] S1. Obtain multi-source monitoring signals and operating condition information of the bearing to be diagnosed, and extract features from the multi-source monitoring signals to obtain local feature vectors.
[0033] The multi-source monitoring signals include bearing vibration signals, acoustic signals, current signals, and temperature signals. The original sampling sequence of each monitoring signal is segmented, denoised, and normalized in sequence. The processed sampling sequence is then subjected to spectral transformation, envelope spectrum transformation, or time-frequency transformation to extract numerical features with diagnostic significance, which are then combined to form the local feature vector.
[0034] Specifically, let the first Class of monitoring signals at time The original sampling sequence is ,in This indicates the number of sampling points within the local sampling segment. The original sampling sequence is processed as described above to obtain the local feature vector. ,in Indicates the relationship with the first Feature extraction function corresponding to the signal class Indicates time The operating condition information vector is then used. Finally, the local feature vectors corresponding to various monitoring signals are combined to form the time-series data. Candidate feature vectors ,in This represents a vector concatenation operation. This indicates the total number of signal types.
[0035] In the aforementioned preprocessing steps, denoising often employs wavelet thresholding or low-pass filtering to effectively remove high-frequency environmental noise from industrial environments; normalization typically uses Z-score standardization to eliminate data dimension differences between different types of sensors; and spectral transformation preferably uses Fast Fourier Transform (FFT) with a Hanning window to prevent spectral leakage. These operations ensure that the extracted local feature vectors have a high signal-to-noise ratio and good numerical stability, providing reliable input data for subsequent agent diagnosis.
[0036] S2. Construct multiple diagnostic agents corresponding to different bearing component diagnostic tasks. Determine the fault characteristic frequency of each bearing component based on the bearing speed in the operating condition information to construct a feature routing matrix. Select local feature vectors based on the feature routing matrix and input them along with the operating condition information into the corresponding diagnostic agents to obtain local diagnostic results. Output the overall diagnostic results through collaborative fusion and train the baseline multi-agent diagnostic model.
[0037] In some embodiments, the plurality of diagnostic agents include at least two of the following: an inner race fault diagnostic agent, an outer race fault diagnostic agent, a rolling element fault diagnostic agent, and a cage fault diagnostic agent. For the first... A diagnostic agent, whose local input is represented as Its local diagnostic action output is represented as ; in, This represents the feature routing matrix corresponding to the intelligent agent, used to filter the frequency domain or envelope spectrum features of the corresponding components; Indicates the input mapping function; Indicates the first Diagnostic functions for each diagnostic agent; Represents basic parameters that can be shared by multiple agents; This represents the task-specific parameters of the intelligent agent; This represents the historical diagnostic state at the previous moment. Subsequently, the collaborative fusion module uses the local outputs of each diagnostic agent and the agent cooperation relationship matrix... Generate overall diagnostic results In the formula Represents the collaborative fusion function. For model parameters, To diagnose the total number of intelligent agents.
[0038] The aforementioned feature routing matrix is equivalent to a physically rule-driven "hard attention mechanism," which enforces feature filtering to avoid interference from irrelevant fault band noise. Simultaneously, it employs shared basic parameters ( ) and exclusive parameters ( The network architecture, which combines the characteristics of the bearing components, can extract the common mapping features of the faults of each component, while also taking into account the specific vibration characteristics of different components, thereby significantly improving the diagnostic capability of the baseline model.
[0039] S3. Monitor the output changes and cross-condition performance degradation of the baseline multi-agent diagnostic model during operation to identify key diagnostic events and extract local event windows.
[0040] Step S3 specifically includes: Once the baseline multi-agent diagnostic model reaches the preset diagnostic performance, the model parameters are frozen; during the playback of the diagnostic trajectory or online diagnosis process, the event trigger index is calculated according to the following formula: ; In the formula, the subscript Indicates the current moment; Indicates the event trigger indicator; It represents the change in failure probability, determined based on the first norm between the overall failure probability vector at the current time and the previous time. The output divergence of the agent is represented by the mean squared distance between the local output vector and the average output vector of each diagnostic agent. It represents the change in diagnostic confidence, determined based on the absolute value of the difference between the maximum class probability at the current time and the maximum class probability at the previous time. It represents the change in diagnostic loss, which is determined based on the absolute value of the difference between the diagnostic loss at the current moment and the diagnostic loss at the previous moment; The indicator represents the performance degradation across operating conditions. It is determined based on the difference between the diagnostic performance indicator under the reference operating condition and the diagnostic performance indicator under the current operating condition, and the indicator is zero when there is no performance degradation. The diagnostic performance indicator includes at least one of accuracy, macro average F1 value and sliding window diagnostic accuracy. These are non-negative weighting coefficients.
[0041] The specific mathematical definitions of the above indicators are as follows: The change in failure probability is defined as: ; In the formula, Indicates time The overall failure probability vector, This represents the overall fault probability vector at the previous diagnostic time. It represents the first norm.
[0042] The agent output divergence degree is defined as: ; In the formula, Indicates the first A diagnostic agent at time... The local output vector, This represents the average vector of the local outputs of multiple diagnostic agents. This represents the L2 norm.
[0043] The change in diagnostic confidence is defined as: ; In the formula, Indicates time Maximum class probability ( (Indicates the fault category number) This indicates the confidence level of the diagnosis at the previous diagnostic time.
[0044] The change in diagnostic loss is defined as: ; In the formula, Indicates time Diagnostic loss.
[0045] The cross-condition performance degradation index is defined as follows: ; In the formula, This indicates the diagnostic performance indicators under reference operating conditions. This indicates the diagnostic performance indicators under the current or target operating conditions.
[0046] When the event trigger index is greater than or equal to a preset threshold, a key diagnostic event is determined to be triggered; with the trigger time as the center, diagnostic steps of preset lengths are extracted in the historical and future directions respectively to form the local event window.
[0047] By trigger time Centered on the local event window, the extracted local event window is defined as follows: ,in This indicates the length of the historical window selected before the trigger time. This indicates the length of the future window selected after the trigger time.
[0048] The purpose of freezing model parameters is to provide a fixed and stable evaluation benchmark, preventing the model from masking the true failure characteristics due to automatic weight updates when encountering complex and abrupt changes in operating conditions. Comprehensive monitoring through multi-dimensional indicators can accurately identify boundary failure samples that are highly valuable for subsequent causal analysis.
[0049] S4. Within the local event window, construct semantic variables containing signal features, operating condition information, and agent output, and generate candidate local causal graphs based on conditional independence tests.
[0050] Step S4 specifically includes: Within the local event window, signal feature variables including at least one of fault band energy, spectral amplitude, envelope spectrum peak value, or time-frequency energy are extracted; local output variables of the diagnostic agent including local fault probability, local fault category, or local diagnostic action are extracted; agent cooperation relationship variables including communication weight, attention weight, or fusion weight between agents are extracted; and overall diagnostic result variables including overall fault probability, overall diagnostic category, or diagnostic confidence are extracted as core semantic variables. Optional semantic variables, including working condition variables constructed based on the working condition information, are also extracted to form a set of local semantic variable nodes.
[0051] The first event in the local event window The complete semantic variable observation vector corresponding to each diagnostic step can be uniformly represented as: , . Corresponding time The variables include signal characteristic variables, local output variables of the diagnostic agent, agent cooperation relationship variables, overall diagnostic result variables, and optional operating condition variables.
[0052] For any two different semantic variables in the set of local semantic variable nodes, under the set maximum time lag steps and condition variable set, the temporal causal discovery method is used to perform conditional independence tests.
[0053] In some implementations, the PCMCI+ temporal causal discovery method is used to generate candidate edges. That is, for any two distinct semantic variables... and and time lag Test the following conditional null hypothesis: .in This represents the set of condition variables used to control for autocorrelation, common drivers, and indirect dependencies of variables.
[0054] Specifically, partial correlation tests are used for semantic variables that exhibit approximately linear relationships, while conditional mutual information tests or kernel conditional independence tests are used for semantic variables that exhibit nonlinear relationships. When the test results reject the null hypothesis of conditional independence, the direction of the conditional dependency between variables is constrained by combining the prior knowledge of the bearing diagnosis task. Relationships that meet the constraints are retained as candidate causal edges, thereby generating the candidate local causal graph.
[0055] The prerequisites for the bearing diagnostic task include: Prevent variables in future diagnostic steps from pointing to variables in past diagnostic steps; It is prohibited for overall diagnostic result variables to point inversely to historical signal characteristic variables that have already been generated; Signal characteristic variables and operating condition variables are allowed to point to local output variables of the diagnostic agent; Allow local output variables and agent collaboration relationship variables of the diagnostic agent to point to the overall diagnostic result variable.
[0056] In step S4, when the number of valid diagnostic steps contained in a single local event window is insufficient to perform a conditional independence test, multiple local event windows with the same event type are aggregated into a multivariate time series data matrix; and window boundary markers are set for different local event windows to prevent the construction of lagged variable pairs with causal relationship between the terminal variable of the previous local event window and the starting variable of the next local event window.
[0057] S5. For candidate causal edges in the candidate local causal graph, perform target causal intervention on their source nodes to obtain the target intervention effect. Calculate the credibility score of the candidate causal edges based on multi-dimensional evaluation indicators including the target intervention effect, and screen candidate causal edges that meet the preset scoring conditions to form a credible local causal graph.
[0058] In step S5, the target causal intervention includes at least one of the following: frequency band masking, sensor channel deletion, feature replacement, motion clamping, and communication blocking.
[0059] Specifically, when performing frequency band masking and the source node corresponds to the bearing fault characteristic frequency band, the target masking frequency band is constructed based on the bearing theoretical fault characteristic frequency and harmonic range corresponding to the source node. A frequency band mask is generated, and the original spectrum is replaced or zeroed in the frequency band of the target masking frequency band using the replacement spectrum. Features are then extracted again and input into the model to obtain the intervention effect.
[0060] Specifically, let the theoretical fault characteristic frequency of the bearing corresponding to the source node be... Its target masking frequency band is represented as In the formula Indicates the harmonic order. Indicates the maximum harmonic order. This represents the preset half-width of the frequency band. Construct the corresponding frequency band mask. Masking is performed on the original spectrum to obtain ,in This represents the replacement spectrum within the target frequency band (such as the average spectrum of normal samples or zero value). For indicator functions, Indicates the first Each frequency point, This indicates the original spectrum at frequency points. The amplitude. Under this intervention setting, candidate causal edges The target intervention effect is defined as To eliminate random disturbances, a randomized controlled intervention effect was constructed as follows: ,in Indicates intervention operation. and These represent the source node variables and the random control variables after intervention, respectively.
[0061] Since observational data alone can only reveal statistical correlations (which may identify noise that happens to fluctuate at the same time as a feature), a Do-Calculus intervention similar to a randomized controlled trial (RCT) in causal inference (e.g., artificially blocking a frequency band to simulate "what would happen if the fault feature did not exist") can substantially verify the authenticity of causal relationships at the physical mechanism level and effectively eliminate spurious correlation interference caused by sudden changes in operating conditions.
[0062] The multidimensional evaluation indicators also include: cross-sample stability, cross-condition consistency, and randomized controlled intervention gain. The formula for calculating the reliability score is as follows: ; In the formula, Indicate candidate causal edges Credibility score; Indicate candidate causal edges The target intervention effect; Indicate candidate causal edges Cross-sample stability; Indicate candidate causal edges Consistency across operating conditions; Indicate candidate causal edges The gain of the targeted intervention effect relative to the randomized controlled intervention effect. , Indicate candidate causal edges The effect of randomized controlled intervention; , , and These are non-negative weighting coefficients; and The calculation formulas are as follows: ; ; In the formula, This indicates the total number of repeated evaluations. Indicates the assessment number; Indicates time The specific local diagnostic event that occurred, in the first The set of candidate causal edges obtained from the second evaluation; and These represent the candidate causal edges respectively. No. The target intervention effect and randomized controlled intervention gain obtained from the second evaluation; and These are the preset minimum target intervention effect threshold and minimum randomized controlled intervention gain threshold, respectively; This is an indicator function that takes the value 1 if all conditions within the parentheses are met, and 0 otherwise. This indicates the total number of working conditions participating in the evaluation. Indicates the operating condition number. Indicates the first Candidate causal edges under various working conditions The symbolic intervention effect on the target node, Indicate candidate causal edges Reference direction under all operating conditions This represents the minimum signed intervention effect threshold used to exclude fluctuations. This is an indicator function. It takes the value 1 when the direction of the intervention effect is consistent with the direction of the reference effect and the absolute value reaches the threshold under a certain working condition; otherwise, it takes the value 0. It is a symbolic function.
[0063] Among them, there is the symbolic intervention effect. The specific calculation formula is as follows: ; In the formula, Indicates the first The number of local event windows under various operating conditions; Indicates the first The first working condition A local event window outputs the target node before intervention; Indicates the source node The output of the target node after implementing targeted intervention. The positive or negative sign indicates the direction of action of the candidate edge under this working condition.
[0064] Furthermore, the reference action direction of the candidate edge under all operating conditions is determined based on the sign of the sum of the signed intervention effects under all operating conditions. The calculation formula is as follows: .
[0065] S6. Map the trusted local causal graph to network constraints, construct a joint loss function containing trusted graph constraint loss, and perform feedback training on the baseline multi-agent diagnostic model.
[0066] In step S6, the construction process of the joint loss function specifically includes: For credible causal edges pointing from signal feature nodes to agent action nodes, corresponding feature gating or attention constraints are generated; for credible causal edges between diagnostic agents, communication retention, communication pruning, or communication weight adjustment rules are generated; for pseudo-correlated edges that have been verified and deleted through intervention, structural suppression terms or sparse regularization terms are generated; the joint loss function is expressed as follows: ; In the formula, Indicates the joint loss; , and These represent the non-negative weight coefficients of the corresponding loss terms.
[0067] The diagnostic loss is represented by cross-entropy loss. ; In the formula, This refers to the batch sample size. For sample number, Total number of categories For category numbering, For real labels, To predict probabilities.
[0068] The loss representing the confidence graph constraint is calculated using the following formula: ; In the formula, and Let them represent the set of credible causal edges and the set of pseudo-correlated edges, respectively; Indicates the causal edge number; These are the weights of the network relationships being mapped. This represents the suppression strength coefficient of pseudo-correlated edges; Indicates the first The target constraint strength of a reliable causal edge ,in For the first The credibility score of a credible causal edge. For the first The credibility score of a credible causal edge. It is a preset positive number.
[0069] The loss of consistency in intervention is represented by the following formula: ; In the formula, This represents the change in the target node output obtained during the initial intervention and verification phase. This represents the change in output obtained when performing corresponding operations on the network during the feedback training phase.
[0070] The sparse regularization term is represented by the following formula: ; In the formula, For the set of network relationships that participate in the constraints.
[0071] Through the design of the joint loss function described above, the model is subject to depth constraints when updating weights during backpropagation: diagnostic loss ( ) is responsible for ensuring basic classification capabilities, while graph constraints ( ) and sparse regularization ( This forces the distribution of connection weights of network neurons to conform to causal logic verified by physical means, and actively cuts off redundant and spurious pathways. This training mechanism, which deeply embeds causal laws into the neural network structure, can fundamentally overcome the vulnerability of traditional data-driven models to distribution shifts.
[0072] S7. Use the multi-agent diagnostic model obtained from feedback training to perform inference and output fault diagnosis and causal explanation results.
[0073] Specifically, the final output information fed back to the user is represented as .in Indicates the overall fault diagnosis category; Indicates the overall diagnostic confidence level; This represents the reliable local causal graph upon which the diagnostic conclusion depends; This indicates the most important key causal pathway in this diagnosis; It includes the targeted intervention validation records used to generate the causal graph (such as the intervention variable, intervention method, and validation confidence score).
[0074] Compared to traditional black-box models that can only provide a single classification label and probability output, the method proposed in this embodiment not only outputs high-confidence diagnostic results but also provides transparent and rigorous fault propagation mechanisms and physical intervention evidence. This interpretable output format greatly enhances the trust of on-site maintenance personnel in intelligent decision-making, making it easier for them to quickly trace the source of failure along causal paths, demonstrating strong industrial application value.
[0075] Example 2 This embodiment, based on the diagnostic method proposed in Embodiment 1, provides a complete implementation process from bearing vibration signal input, fault feature extraction, multi-diagnostic agent modeling, key diagnostic event extraction, candidate local causal graph generation, frequency band masking verification, credible causal edge determination, credible graph feedback training to diagnostic and causal interpretation result output.
[0076] In this embodiment, the vibration signal of the 6205-2RSJEMSKF bearing at the drive end can be selected as the input signal. An accelerometer installed near the bearing housing at the drive end is used to collect the vibration signal, and the motor speed and load are acquired simultaneously. The sampling frequency of the vibration signal is set to... The bearing operating loads include 0hp, 1hp, 2hp, and 3hp, corresponding to speeds of approximately 1797 r / min, 1772 r / min, 1750 r / min, and 1730 r / min, respectively. Fault categories are set as normal, inner ring fault, outer ring fault, and rolling element fault.
[0077] The continuous vibration signal was segmented into 12,000 sampling points per segment, with each vibration signal sample corresponding to 1 second of sampling data. Adjacent samples had a 50% overlap. For each vibration signal sample, mean removal, standard deviation normalization, and Hanning window processing were performed. A 12,000-point Fast Fourier Transform was then used to obtain the spectrum, with a frequency resolution of [missing information]. .
[0078] Set time The bearing speed is Then the bearing frequency is: ; Based on the bearing parameters at the drive end, the theoretical fault characteristic frequencies of the inner ring, outer ring, and rolling elements are set as follows: .
[0079] For each vibration signal sample, root mean square, variance, peak-to-peak value, skewness, kurtosis, and peak factor are extracted as time-domain features; the first three harmonics of the theoretical fault characteristic frequencies of the inner ring, outer ring, and rolling element are extracted. The amplitude and energy within the frequency band are used as frequency domain features; the envelope signal is obtained through Hilbert transform, and the peak values of the envelope spectrum at the corresponding theoretical fault characteristic frequencies are extracted. The above features are concatenated and normalized to obtain the signal feature vector output in step S1.
[0080] An inner ring diagnostic agent, an outer ring diagnostic agent, and a rolling element diagnostic agent are constructed. Each diagnostic agent employs a diagnostic network consisting of two fully connected hidden layers, with the number of neurons in the two hidden layers set to 64 and 32, respectively. The hidden layers use the ReLU activation function with a dropout ratio of 0.2, and the output layer uses the Sigmoid function to output the failure probability of the corresponding bearing component.
[0081] The fault probabilities of the three diagnostic agents are concatenated with bearing speed and load, and then input into a collaborative fusion module. The collaborative fusion module generates four overall diagnostic probabilities—normal, inner race fault, outer race fault, and rolling element fault—through the Softmax output layer. The training labels are defined as: ; In this system, 0 indicates normal operation, 1 indicates inner ring failure, 2 indicates outer ring failure, and 3 indicates rolling element failure.
[0082] The model was trained using the Adam optimizer, with an initial learning rate set to... The batch size is set to 64, and the maximum number of training epochs is set to 100. Training is stopped and the model parameters with the minimum validation set loss are saved when the validation set loss does not decrease for 10 consecutive training epochs.
[0083] Set time The overall diagnostic confidence is the maximum value among the four overall diagnostic probabilities. In this specific application scenario, the event triggering condition can be configured by weighting coefficients to be equivalent to: when the change in the overall diagnostic confidence of two adjacent diagnostic samples is not less than 0.20, the overall diagnostic category changes, or the difference between the maximum and minimum fault probabilities output by the three diagnostic agents is not less than 0.30, the event will be triggered at time [time value missing]. This was identified as a critical diagnostic event.
[0084] During the offline model training and local causal graph construction phases, key diagnostic event moments are considered. Set a local event window at the center: ; The local event window includes five diagnostic samples prior to the critical diagnostic event, the current diagnostic sample, and two diagnostic samples following the critical diagnostic event. Since the time interval between adjacent samples is 0.5 seconds, the local event window covers the signal change process from 2.5 seconds before the critical diagnostic event to 1 second after the event.
[0085] The semantic variable nodes of the local causal graph include the inner ring fault frequency band energy, the outer ring fault frequency band energy, the rolling element fault frequency band energy, the fault probability of the three diagnostic agents, the collaborative fusion weight, the motor speed, the motor load, and the overall diagnostic result.
[0086] Candidate local causal graphs were generated using the PCMCI+ temporal causal discovery method, with a maximum time lag of 3 diagnostic samples. The significance level for the conditional independence test was set to 0.05, and a false discovery rate correction was applied. Candidate causal edges were added to the candidate causal edge set if they simultaneously satisfied the temporal sequence constraint, the prior constraint of the diagnostic task, and the conditional independence test condition.
[0087] Taking the candidate causal edge of "outer ring fault frequency band energy pointing to the outer ring diagnostic agent fault probability" as an example, on both sides of the first three harmonics of the outer ring theoretical fault characteristic frequency. The target frequency band is masked. The spectral components within the target frequency band are replaced with the average spectrum of the normal bearing sample at the corresponding frequency point, while the remaining spectral components remain unchanged. An inverse discrete Fourier transform is performed on the intervened spectrum, and feature extraction and fault diagnosis are re-performed to obtain the fault probability after intervention by the outer ring diagnostic agent.
[0088] For each target frequency band intervention, 10 random control frequency bands with the same width as the target frequency band were selected. These random control frequency bands avoided the theoretical fault characteristic frequencies of the inner race, outer race, and rolling element, as well as their first three harmonics. The target intervention effect and the random control intervention effect were calculated based on the outer race fault probability before and after the intervention.
[0089] The candidate causal edges were evaluated through 20 repeated sampling tests. The proportion of candidate edges that were discovered and validated through intervention in the repeated evaluations was used as the cross-sample stability. The signed intervention effect of candidate edges was calculated under four operating conditions: 0hp, 1hp, 2hp, and 3hp, respectively, to maintain the proportion of operating conditions with the same direction of action as cross-condition consistency. .
[0090] Before calculating the candidate edge confidence, the target intervention effect and the randomized controlled intervention gain are normalized to... The weights in the credibility formula are set as follows: ; The credibility threshold is set as follows: ; When the credibility score of the candidate causal edge satisfies Furthermore, the candidate edge maintains the same direction of action under at least three operating conditions, i.e. If the condition is met, the candidate causal edge is determined as a credible causal edge; otherwise, it is determined as an edge to be verified or a pseudo-correlation edge.
[0091] The trusted local causal graph is fed back to the multi-diagnostic agent model. For trusted causal edges pointing from fault bands to corresponding diagnostic agents, the gating weights of the corresponding fault band features are increased based on the trustworthiness score. For edge conditions that are judged to be spuriously related, structural suppression terms are used to reduce the impact of the corresponding condition variables on the overall diagnostic results. For trusted cooperative edges between diagnostic agents, the corresponding communication relationships are preserved and the communication weights are adjusted based on the trustworthiness score.
[0092] The learning rate during the feedback training phase is set to The number of feedback training rounds is set to 30. The weights of the confidence graph constraint loss are set to... The weight of the intervention consistency loss is set to The sparse regularization term weights are set to .
[0093] After completing the feedback training, the following data is generated for the bearing to be diagnosed: overall fault category, overall diagnostic confidence, fault probability of each diagnostic agent, reliable local causal graph, local causal path with the highest confidence, and corresponding target intervention verification records. The target intervention verification records include at least the intervened variable, intervention method, target node output before and after intervention, target intervention effect, randomized controlled intervention effect, cross-sample stability, cross-operating condition consistency, and candidate edge confidence score.
[0094] Example 3 This embodiment provides a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the bearing fault diagnosis method as described in Embodiment 1.
[0095] like Figure 2 As shown, the computer terminal provided in this embodiment includes: at least one processor 101, and a memory 102 connected to at least one processor 101. This embodiment does not limit the specific connection medium between the processor 101 and the memory 102. Figure 2 The example shown is the connection between processor 101 and memory 102 via bus 100. Bus 100 is... Figure 2 The connections between other components are shown in bold lines and are for illustrative purposes only, not as limiting information. Bus 100 can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 2 The bus is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. Alternatively, the processor 101 may also be called a controller; there is no restriction on the name.
[0096] In this embodiment, the memory 102 stores instructions that can be executed by at least one processor 101. The at least one processor 101 can execute the aforementioned method by executing the instructions stored in the memory 102.
[0097] The processor 101 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 102 and calling data stored in memory 102, the processor can perform various functions and process data, thereby monitoring the device as a whole.
[0098] In one possible design, processor 101 may include one or more processing units. Processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 101. In some embodiments, processor 101 and memory 102 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.
[0099] Processor 101 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the bearing fault diagnosis method disclosed in Embodiment 1 can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules in processor 101.
[0100] Memory 102, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 102 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 102 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In this embodiment, memory 102 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0101] By designing and programming the processor 101, the code corresponding to the bearing fault diagnosis method described in the foregoing embodiments can be embedded into the chip, enabling the chip to execute the code during operation. Figure 1 The steps of the bearing fault diagnosis method are shown. How to design and program the processor 101 is a technique well-known to those skilled in the art and will not be described further here.
[0102] Example 4 This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the bearing fault diagnosis method as described in Embodiment 1.
[0103] The computer-readable storage medium may include flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, smart memory card, secure digital card, flash memory card, etc., provided on the computer device. Of course, the storage medium may include both internal storage units and external storage devices of the computer device. In this embodiment, the memory is typically used to store the operating system and various application software installed on the computer device. In addition, the memory can also be used to temporarily store various types of data that have been output or will be output.
[0104] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A bearing fault diagnosis method based on local event causal verification and reliable graph feedback, characterized in that, include: S1. Acquire multi-source monitoring signals and operating condition information of the bearing to be diagnosed, and extract features from the multi-source monitoring signals to obtain local feature vectors; S2. Construct multiple diagnostic agents corresponding to different bearing component diagnostic tasks, and determine the fault characteristic frequency of each bearing component based on the bearing speed in the operating condition information to construct a feature routing matrix. Based on the feature routing matrix, local feature vectors are selected and input into the corresponding diagnostic agent along with the working condition information to obtain local diagnostic results. The overall diagnostic results are then output through collaborative fusion to train the baseline multi-agent diagnostic model. S3. Monitor the output changes and cross-condition performance degradation of the baseline multi-agent diagnostic model during operation to identify key diagnostic events and extract local event windows; S4. Within the local event window, construct semantic variables containing signal features, operating condition information, and agent output, and generate candidate local causal graphs based on conditional independence tests; S5. For candidate causal edges in the candidate local causal graph, perform target causal intervention on their source nodes to obtain the target intervention effect. Calculate the credibility score of the candidate causal edges based on multi-dimensional evaluation indicators including the target intervention effect, and screen candidate causal edges that meet the preset scoring conditions to form a credible local causal graph. S6. Map the trusted local causal graph to network constraints, construct a joint loss function containing trusted graph constraint loss, and perform feedback training on the baseline multi-agent diagnostic model; S7. Use the multi-agent diagnostic model obtained from feedback training to perform inference and output fault diagnosis and causal explanation results.
2. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, Step S3 specifically includes: Once the baseline multi-agent diagnostic model reaches the preset diagnostic performance, the model parameters are frozen; during the playback of the diagnostic trajectory or online diagnosis process, the event trigger index is calculated according to the following formula: In the formula, the subscript Indicates the current moment; Indicates the event trigger indicator; It represents the change in failure probability, determined based on the first norm between the overall failure probability vector at the current time and the previous time. The output divergence of the agent is represented by the mean squared distance between the local output vector and the average output vector of each diagnostic agent. It represents the change in diagnostic confidence, determined based on the absolute value of the difference between the maximum class probability at the current time and the maximum class probability at the previous time. It represents the change in diagnostic loss, which is determined based on the absolute value of the difference between the diagnostic loss at the current moment and the diagnostic loss at the previous moment; The indicator represents the performance degradation across operating conditions. It is determined based on the difference between the diagnostic performance indicator under the reference operating condition and the diagnostic performance indicator under the current operating condition, and the indicator is zero when there is no performance degradation. The diagnostic performance indicator includes at least one of accuracy, macro average F1 value and sliding window diagnostic accuracy. These are non-negative weighting coefficients; When the event trigger index is greater than or equal to a preset threshold, a key diagnostic event is determined to be triggered; with the trigger time as the center, diagnostic steps of preset lengths are extracted in the historical and future directions respectively to form the local event window.
3. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, Step S4 specifically includes: Within the local event window, signal feature variables including at least one of fault band energy, spectral amplitude, envelope spectrum peak value, or time-frequency energy are extracted; local output variables of the diagnostic agent including local fault probability, local fault category, or local diagnostic action are extracted; agent cooperation relationship variables including communication weight, attention weight, or fusion weight between agents are extracted; and overall diagnostic result variables including overall fault probability, overall diagnostic category, or diagnostic confidence are extracted as core semantic variables; and optional semantic variables including working condition variables constructed based on the working condition information are extracted, which together constitute a set of local semantic variable nodes. For any two different semantic variables in the set of local semantic variable nodes, under a set maximum time lag step and a set of conditional variables, a time-series causal discovery method is used to perform conditional independence testing. Specifically, for semantic variables exhibiting approximately linear relationships, a partial correlation test is used; for semantic variables with nonlinear relationships, a conditional mutual information test or a kernel conditional independence test is used. When the test result rejects the null hypothesis of conditional independence, the direction of the conditional dependency between variables is constrained based on the bearing diagnosis task prior, and relationships meeting the constraints are retained as candidate causal edges, thereby generating the candidate local causal graph. The bearing diagnosis task prior includes: Prevent variables in future diagnostic steps from pointing to variables in past diagnostic steps; It is prohibited for overall diagnostic result variables to point inversely to historical signal characteristic variables that have already been generated; Signal characteristic variables and operating condition variables are allowed to point to local output variables of the diagnostic agent; Allow local output variables and agent collaboration relationship variables of the diagnostic agent to point to the overall diagnostic result variable.
4. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, In step S4, when the number of valid diagnostic steps contained in a single local event window is insufficient to perform a conditional independence test, multiple local event windows with the same event type are aggregated into a multivariate time series data matrix; and window boundary markers are set for different local event windows to prevent the construction of lagged variable pairs with causal relationship between the terminal variable of the previous local event window and the starting variable of the next local event window.
5. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, In step S5, the target causal intervention includes at least one of the following: frequency band masking, sensor channel deletion, feature replacement, motion clamping, and communication blocking; Specifically, when performing frequency band masking and the source node corresponds to the bearing fault characteristic frequency band, the target masking frequency band is constructed based on the bearing theoretical fault characteristic frequency and harmonic range corresponding to the source node. A frequency band mask is generated, and the original spectrum is replaced or zeroed in the frequency band of the target masking frequency band using the replacement spectrum. Features are then extracted again and input into the model to obtain the intervention effect.
6. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, In step S5, the multidimensional evaluation indicators also include: cross-sample stability, cross-condition consistency, and randomized controlled intervention gain. The formula for calculating the reliability score is: In the formula, Indicate candidate causal edges Credibility score; Indicate candidate causal edges The target intervention effect; Indicate candidate causal edges Cross-sample stability; Indicate candidate causal edges Consistency across operating conditions; Indicate candidate causal edges The gain of the targeted intervention effect relative to the randomized controlled intervention effect. , Indicate candidate causal edges The effect of randomized controlled intervention; , , and These are non-negative weighting coefficients; and The calculation formulas are as follows: In the formula, This indicates the total number of repeated evaluations. Indicates the assessment number; Indicates time The specific local diagnostic event that occurred, in the first The set of candidate causal edges obtained from the second evaluation; and These represent the candidate causal edges respectively. No. The target intervention effect and randomized controlled intervention gain obtained from the second evaluation; and These are the preset minimum target intervention effect threshold and minimum randomized controlled intervention gain threshold, respectively; This is an indicator function that takes the value 1 if all conditions within the parentheses are met, and 0 otherwise. This indicates the total number of working conditions participating in the evaluation. Indicates the operating condition number. Indicates the first Candidate causal edges under various working conditions The symbolic intervention effect on the target node, Indicate candidate causal edges Reference direction under all operating conditions This represents the minimum signed intervention effect threshold used to exclude fluctuations. This is an indicator function. It takes the value 1 when the direction of the intervention effect is consistent with the direction of the reference effect and the absolute value reaches the threshold under a certain working condition; otherwise, it takes the value 0. It is a symbolic function.
7. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, In step S6, the construction process of the joint loss function specifically includes: For credible causal edges pointing from signal feature nodes to agent action nodes, corresponding feature gating or attention constraints are generated; for credible causal edges between diagnostic agents, communication retention, communication pruning, or communication weight adjustment rules are generated; for pseudo-correlated edges that have been verified and deleted through intervention, structural suppression terms or sparse regularization terms are generated; the joint loss function is expressed as follows: In the formula, Indicates the joint loss; The diagnostic loss is represented by cross-entropy loss, which is used to constrain the consistency between the overall diagnostic results output by the baseline multi-agent diagnostic model and the actual bearing fault category labels. The trusted graph constraint loss is constructed based on the trusted causal edge credibility score and is used to constrain the network relationship weights within the model to be consistent with the trusted local causal graph. The intervention consistency loss is determined based on the difference between the change in diagnostic output obtained during the intervention validation phase and the change in diagnostic output obtained during the feedback training phase. It is used to constrain the baseline multi-agent diagnostic model to still produce a consistent response to causal interventions after feedback training. The sparse regularization term is constructed based on the network relationship weights involved in the constraints in the baseline multi-agent diagnostic model, and is used to reduce the weights of redundant feature connections and redundant communication relationships. , and These represent the non-negative weight coefficients of the corresponding loss terms.
8. The bearing fault diagnosis method based on local event causal verification and credibility graph feedback according to claim 1, characterized in that, In step S1, the multi-source monitoring signals include bearing vibration signals, acoustic signals, current signals, and temperature signals; wherein, the original sampling sequence of each monitoring signal is segmented, denoised, and normalized in sequence, and the processed sampling sequence is subjected to spectrum transformation, envelope spectrum transformation, or time-frequency transformation to extract numerical features with diagnostic significance, and then combined to form the local feature vector.
9. A computer terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the bearing fault diagnosis method based on local event causal verification and trusted graph feedback as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the bearing fault diagnosis method based on local event causal verification and trusted graph feedback as described in any one of claims 1 to 8.
