Transformer defect fault risk diagnosis method and system based on fault tree and bayesian inference
By combining fault tree and Bayesian inference methods with multi-source state variable preprocessing and machine learning to calibrate probabilities, the accuracy and interpretability issues in transformer fault diagnosis under multi-source state anomaly conditions are solved, achieving efficient identification and risk quantification of transformer fault modes.
Patent Information
- Application Number
- CN202611321994.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing transformer fault diagnosis technologies struggle to achieve high-accuracy fault mode identification and risk quantification under multi-source abnormal conditions, and lack interpretability, especially prone to misjudgment under multiple concurrent faults or boundary conditions.
A fault tree and Bayesian inference-based approach is adopted. By acquiring the multi-source state variables of the transformer for preprocessing, abnormal state variables are identified and abnormal event sets are generated. A fault evidence chain and membership matrix are constructed. Combined with machine learning to calibrate probabilities, the final risk probability of the fault mode is determined, and fault risk ranking and handling strategies are output.
It improves the accuracy and risk quantification capabilities of transformer defect fault mode identification, realizes the graded assessment of fault risks and the interpretability of diagnostic results, and enhances the systematicness and interpretability of the diagnostic process.
Smart Images

Figure CN123158446A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power equipment condition assessment technology, and in particular relates to a method and system for diagnosing transformer defects and fault risks based on fault tree and Bayesian reasoning. Background Technology
[0002] Power transformers are critical primary equipment in power systems, undertaking important functions such as voltage transformation, power transmission, and power distribution. During long-term operation, transformers are continuously subjected to the combined effects of electrical stress, thermal stress, mechanical stress, and environmental factors, making them prone to defects such as insulation aging, partial discharge, oil paper deterioration, winding deformation, poor contact in conductive circuits, tap changer malfunctions, and cooling system failures. These defects are typically characterized by their insidious development, weak early signs, long fault chains, and numerous associated state variables. Failure to identify and address them promptly can easily lead to equipment downtime, unplanned maintenance, and even power grid accidents.
[0003] Existing transformer fault diagnosis technologies mainly fall into the following categories: One category is diagnostic methods based on dissolved gas analysis in oil. These methods typically utilize characteristic gases such as H2, CH4, C2H6, C2H4, and C2H2, along with their ratios, to identify faults such as internal discharge and overheating in transformers. While possessing a certain engineering application foundation, their coverage of defects in components such as bushings, tap changers, cooling systems, and non-electrical protection devices is limited, and they are prone to misdiagnosis under conditions of multiple concurrent faults or boundary scenarios. Another category is diagnostic methods based on expert experience or rule bases. These methods offer better interpretability, but rule maintenance relies on manual intervention, making it difficult to adapt to scenarios involving multiple structures and states, such as the transformer body, bushings, tap changers, cooling systems, and non-electrical protection devices. When multiple pieces of evidence are concurrent, missing, or contradictory, they often struggle to output comparable probabilistic diagnostic results. Another category is machine learning-based diagnostic methods. These methods can perform pattern recognition on oil chromatography, electrical testing, or online monitoring data. However, most of these methods focus on a single data source or local features, lacking constraints from the structural mechanisms of transformers. The interpretability of the diagnostic results is insufficient, making it difficult to directly explain the causal relationships between abnormal state quantities, fault symptoms, fault modes, and fault locations. Furthermore, they are not conducive to effective integration with operation and maintenance decisions. In addition, while existing fault tree or probabilistic reasoning methods can improve the ability to express mechanisms and quantify risks, they typically still suffer from insufficient computability of fault trees, reliance on expert initial values for Bayesian parameters, a lack of dynamic correction mechanisms that combine with historical samples and machine learning, and inconsistent output of joint reasoning for multiple anomalies, handling of veto evidence, and maintenance strategies.
[0004] Therefore, how to improve the accuracy of transformer defect and fault mode identification and risk quantification under multi-source abnormal conditions while ensuring the interpretability of transformer defect and fault risk diagnosis has become an urgent technical problem to be solved. Summary of the Invention
[0005] To address at least one of the aforementioned technical problems, and to improve the accuracy of transformer defect and fault mode identification and risk quantification under multi-source abnormal conditions while ensuring the interpretability of transformer defect and fault risk diagnosis, this application proposes a transformer defect and fault risk diagnosis method and system based on fault tree and Bayesian inference.
[0006] Firstly, this application provides a method for diagnosing transformer defect risks based on fault tree and Bayesian inference, the method comprising: S1, acquire the multi-source state variables of the transformer, and preprocess the multi-source state variables to obtain the target state variable set; S2, based on the target set of state variables, identify abnormal state variables and generate an abnormal event set; S3. Based on the preset transformer fault tree and the set of abnormal events, determine the set of candidate fault modes; the preset transformer fault tree includes at least a top event layer, a fault category layer, a structural component layer, a fault mode layer, and an abnormal event layer. S4. Based on the set of abnormal events and the set of candidate fault modes, construct the fault evidence chain and membership matrix between the abnormal events and the candidate fault modes, and determine the effective evidence probability of each abnormal event for each candidate fault mode. S5. Based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, determine the posterior probability of each abnormal event and each candidate fault mode, and perform Bayesian inference on the set of abnormal events to obtain the initial posterior risk probability of each candidate fault mode. S6. Based on historical label samples, update the prior probability and the event posterior probability, and calibrate the initial posterior risk probability based on the updated prior probability and the updated event posterior probability. Then, combine the machine learning calibration probability to obtain the final risk probability of each candidate fault mode. S7. Based on the final risk probability, fault severity coefficient, defect development urgency coefficient and equipment importance coefficient of each candidate fault mode, determine the comprehensive risk value and risk level of each candidate fault mode, and output at least one of fault risk ranking, key evidence and recommended handling strategy.
[0007] In one possible implementation, step S1 includes: S11, acquire at least one of the following as the multi-source state quantity: dissolved gas data in oil, oil chemical test data, electrical test data, online monitoring data, infrared temperature measurement data, tap changer action data, cooling system operation data, non-electrical protection action record, operating condition data and maintenance record; S12, obtain the measured values of each state variable, and calculate the standard value of the state variable by combining the preset normal boundary threshold and the preset severe boundary threshold; S13, obtain the data source reliability, data integrity, range validity, time synchronization and verification consistency of each state quantity, and calculate the data quality coefficient; S14, Calculate the rate of change of each state quantity based on the measured values of each state quantity and the time interval between adjacent diagnostic windows; S15. Based on the standard values of each state variable, determine the anomaly level correction coefficient, and calculate the anomaly deduction value by combining the preset state variable weight, the basic deduction score of the degradation level and the data quality coefficient. S16. Based on the standard value of each state variable, the anomaly deduction value, the rate of change, and the data quality coefficient, construct the target state variable set.
[0008] In one possible implementation, step S2 includes: S21, compare the measured values of each state quantity with the preset over-limit threshold to identify over-limit abnormal state quantities; S22, based on the rate of change of each state variable, identify abnormal state variables with growth rate, abnormal state variables with sudden change, and abnormal state variables with continuous change. S23. Based on the combined anomalies of multiple state variables within the same diagnostic window, identify composite abnormal events. The composite abnormal events include at least one of the following: discharge composite anomalies, overheating composite anomalies, solid insulation deterioration anomalies, insulation moisture composite anomalies, conductive connection anomalies, bushing insulation anomalies, and cooling capacity anomalies. S24. Determine the anomaly level based on the standard value of the state variable, the extent of exceeding the limit, the rate of change, and the duration of the anomaly. S25, Calculate the timeliness coefficient based on the time interval from the time of occurrence of each abnormal state quantity to the current diagnosis time and the effective time constant; S26, Obtain the base confidence level determined by the anomaly level, the consistency bonus determined by the multimodal consistency, and the review bonus determined by the manual review situation to determine the confidence level of the evidence; S27, the identified out-of-limit abnormal state quantities, growth rate abnormal state quantities, mutation abnormal state quantities, continuous abnormal state quantities and compound abnormal events are mapped to an abnormal event set, wherein each abnormal event includes at least the event number, state quantity source, abnormality level, occurrence time, duration, data quality coefficient, timeliness coefficient and evidence confidence level.
[0009] In one possible implementation, step S3 includes: S31, Construct a preset transformer fault tree with transformer defect failure risk as the top event. The preset transformer fault tree includes at least a top event layer, a fault category layer, a structural component layer, a fault mode layer, and an abnormal event layer. S32, the fault category layer is divided into mechanistic faults and structural component defects, and the structural component layer is divided into at least one of the following: body, bushing, tap changer, cooling system and non-electrical protection device; S33, configure each failure mode with failure mode number, category, involved structure, defect description, prior probability, set of key evidence events, set of secondary evidence events and set of veto evidence events; S34. Based on the matching relationship between the abnormal event set and the key evidence event set, the secondary evidence event set and the veto evidence event set, the candidate fault mode set is obtained by filtering.
[0010] In one possible implementation, step S4 includes: S41, for each abnormal event in the abnormal event set and each candidate fault mode in the candidate fault mode set, determine the membership degree between them; wherein, when the membership degree is positive, it indicates that the abnormal event has a supporting effect on the candidate fault mode; when the membership degree is negative, it indicates that the abnormal event has a rejecting or weakening effect on the candidate fault mode; when the membership degree is zero, it indicates that the abnormal event and the candidate fault mode have no significant correlation. S42, based on the membership degree, a membership degree matrix is formed, and based on the membership degree matrix and the key evidence event set, secondary evidence event set and veto evidence event set corresponding to each candidate failure mode, a failure evidence chain between abnormal events and candidate failure modes is constructed. S43. Based on the membership degree, data quality coefficient, timeliness coefficient, evidence confidence degree and anomaly level correction coefficient corresponding to the abnormal event and the candidate failure mode, calculate the probability of valid evidence of the abnormal event for the candidate failure mode.
[0011] In one possible implementation, step S5 includes: S51, obtain the number of label samples corresponding to the current fault category and the number of samples corresponding to each candidate fault mode; S52, when the number of label samples corresponding to the current fault category is greater than or equal to the preset sample quantity threshold, and the number of samples corresponding to each candidate fault mode is not less than the preset lower limit, based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, the event posterior probability between each abnormal event and each candidate fault mode is determined, and the standard Naive Bayes calculation method is used to perform Bayesian inference on the abnormal event set to obtain the candidate posterior risk probability of each candidate fault mode; S53, when the number of label samples corresponding to the current fault category is less than the preset sample quantity threshold, or there are missing tests or unstable conditional probability estimation, positive evidence events and negative evidence events are distinguished based on the fault evidence chain, and the valid evidence probability corresponding to positive evidence and the negative evidence probability corresponding to negative evidence are determined by combining the membership matrix and the valid evidence probability, respectively. The candidate posterior risk probability of each candidate fault mode is calculated by using an engineering simplified fusion calculation method. S54, normalize the candidate posterior risk probability of each candidate failure mode to obtain the initial posterior risk probability of each candidate failure mode. The simplified fusion calculation method for engineering includes: when multiple abnormal events provide positive evidence for the same candidate fault mode, according to... Calculate the positive synthesis probability When there is an event that vetoes evidence, according to The positive synthesis probability is corrected to obtain the candidate posterior risk probability. ; For abnormal event e i For candidate failure mode F j The probability of valid evidence, For the case of denying evidence e l For candidate failure mode F j The probability of refutation evidence.
[0012] In one possible implementation, step S6 includes: S61, based on the number of times the fault mode occurs in the historical label samples, the total number of samples, and the number of candidate fault modes, update the prior probability of each candidate fault mode. S62, based on the number of times abnormal events and candidate fault modes occur simultaneously, the number of times abnormal events occur, and the initial expert value in the historical label samples, update the posterior probability of each abnormal event and each candidate fault mode. S63, based on the updated prior probability and the updated event posterior probability, calibrate the initial posterior risk probability of each candidate failure mode to obtain the target posterior risk probability; S64, construct a feature vector containing event vector features, state quantity deduction features, trend features, structural features, equipment profile features, prior and importance features, data quality features and working environment features, and input the feature vector into the fault mode probability calibration model to obtain the machine learning calibration probability; S65, based on the target posterior risk probability and the machine learning calibration probability, determine the final risk probability of each candidate failure mode.
[0013] In one possible implementation, step S7 includes: S71, obtain the safety impact component, power outage impact component and maintenance cost component of each candidate fault mode, and determine the fault severity coefficient; S72, obtain the state variable growth rate component, abnormal duration component and abnormal level component of each candidate fault mode, and determine the defect development urgency coefficient. S73, obtain the voltage level component, load importance component, redundancy component and user importance component of each candidate fault mode, and determine the equipment importance coefficient; S74. Calculate the comprehensive risk value of each candidate failure mode based on the final risk probability, failure severity coefficient, defect development urgency coefficient, and equipment importance coefficient of each candidate failure mode. S75, based on the comprehensive risk value and the final risk probability, determine the risk level of each candidate failure mode, and output at least one of failure risk ranking, key evidence and recommended handling strategy.
[0014] In one possible implementation, the method further includes step S8; step S8 specifically includes: S81, obtain at least one of the following as a feedback label: power outage maintenance conclusion, disassembly and inspection record, test retest conclusion, defect elimination record, expert review conclusion, and post-treatment status recovery status; S82, the feedback tags are written back to the sample library, and the fault mode details table, initial value of membership matrix, prior probability, event posterior probability and risk level classification threshold are updated based on the feedback tags to obtain the updated sample library and updated fault tree parameters.
[0015] On the other hand, this application also provides a computer system including a memory and a processor; the memory stores program code executable by the processor; the program code is used to perform the method as described in the first aspect or any of the implementations thereof.
[0016] The advantages of this application compared to existing technologies are as follows: By acquiring and preprocessing the multi-source state variables of the transformer, a target state variable set is obtained, and then abnormal state variables are identified and an abnormal event set is generated. This enables a unified representation of transformer operating state information and improves the effectiveness of abnormal information extraction. By determining a candidate fault mode set based on a preset transformer fault tree and an abnormal event set, and constructing a fault evidence chain and membership matrix between abnormal events and candidate fault modes, the correlation between abnormal events and candidate fault modes can be established, enhancing the systematicity and interpretability of the diagnostic process. By determining the posterior probability of events based on prior probability, fault evidence chain, membership matrix, and valid evidence probability, and performing Bayesian analysis... The inference mechanism enables probabilistic diagnosis of candidate fault modes, improving fault mode identification capabilities. By updating prior probabilities and posterior probabilities based on historical labeled samples and combining machine learning to calibrate probabilities, the accuracy of risk probability results is improved. By determining the comprehensive risk value and risk level based on the final risk probability of each candidate fault mode, fault severity coefficient, defect development urgency coefficient, and equipment importance coefficient, and outputting fault risk ranking, key evidence, and recommended handling strategies, the mechanism enables graded assessment and diagnostic output of transformer defect fault risks. This ensures diagnostic interpretability while improving the accuracy of transformer defect fault mode identification and risk quantification capabilities.
[0017] It is understood that the computer system provided in this application has the same beneficial effects as the above-mentioned transformer defect fault risk diagnosis method based on fault tree and Bayesian inference, and will not be repeated here. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a transformer defect risk diagnosis method based on fault tree and Bayesian inference, provided as an embodiment of this application. Detailed Implementation
[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0021] It should be understood that the embodiments described below are merely some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0022] It should be noted that if the embodiments of this invention involve directional indications, such as up, down, left, right, front, and back, these directional indications are only used to explain the relative positional relationships and movement of the components in a specific posture; if the specific posture changes, the directional indications will also change accordingly. Furthermore, if the embodiments of this invention involve descriptions such as "first," "second," "S1," "S2," "step one," "step two," etc., these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance, implicitly specifying the number of indicated technical features, or indicating the execution order of the method. Those skilled in the art will understand that anything that, under the inventive concept, does not violate the inventive points should be included within the scope of protection of this invention.
[0023] For ease of understanding, the technical solution of this application will be described in detail below with reference to the accompanying drawings.
[0024] Figure 1 This is a flowchart illustrating a transformer defect risk diagnosis method based on fault tree and Bayesian inference, provided as an embodiment of this application. Figure 1 As shown, for ease of explanation, only the parts relevant to this embodiment are shown. The method provided in this embodiment includes the following steps: S1: Obtain the multi-source state variables of the transformer and preprocess them to obtain the target state variable set.
[0025] Specifically, multi-source state variables can include continuous values, discrete values, event values, and text values related to transformer operation, testing, monitoring, recording, and auxiliary systems. This step is used to unify the raw state information scattered across different monitoring channels, time granularities, and dimensional systems into a set of target state variables that can be directly invoked for subsequent anomaly identification and probabilistic inference, so that various subsequent abnormal events, evidence chains, and fault modes have a unified data input basis.
[0026] In one possible implementation, step S1 includes: S11, acquire at least one of the following as multi-source state variables: dissolved gas data in oil, oil chemical test data, electrical test data, online monitoring data, infrared temperature measurement data, tap changer action data, cooling system operation data, non-electrical protection action records, operating condition data, and maintenance records.
[0027] Specifically, this step is used to obtain key status information covering the transformer body and its accessories, auxiliary systems and protection devices, so that the diagnostic objects are not limited to internal discharge or overheating of the body, but can also be extended to multiple structural levels such as bushings, tap changers, cooling systems and non-electrical protection devices.
[0028] As an example, the types of multi-source state variables and typical abnormal events are shown in Table 1: Table 1. Types of Multi-Source State Variables and Typical Abnormal Events
[0029] S12, obtain the measured values of each state variable, and calculate the standard value of the state variable by combining the preset normal boundary threshold and the preset severe boundary threshold.
[0030] Specifically, this step is used to map the original state quantities of different dimensions to a comparable standard value range, which facilitates subsequent anomaly level classification and unified event modeling.
[0031] Optional, let v i (t) represents the measured value of state variable i at time t, A i To preset the normal boundary threshold, D i A preset severe boundary threshold is set. For the "larger, worse" index, its state variable standard value x is... i (t) can be expressed as: ; For the index that "the smaller the value, the worse the degradation", its state variable standard value x i (t) can be expressed as: ; Here, clip(·) represents the truncation function, which is used to restrict the result to the range of 0 to 1. The closer it is to 1, the closer the corresponding state quantity is to a severely deteriorated state; The closer it is to 0, the closer the corresponding state quantity is to the normal state.
[0032] S13: Obtain the reliability of the data source, the integrity of the data, the validity of the range, the time synchronization, and the consistency of the verification for each state quantity, and calculate the data quality coefficient.
[0033] Specifically, this step is used to explicitly incorporate data quality into the subsequent anomaly identification and probabilistic reasoning process to avoid distorted diagnostic results due to missing measurements, drift, time misalignment, abnormal measurement range, or inconsistent verification.
[0034] Optional, set To ensure the reliability of the data source, For data integrity, For range validity, For time synchronization, To verify consistency, the data quality coefficient is... It can be represented as: ; in, The preferred value range is 0 to 1. When A larger value indicates that the state variable can be used as a highly reliable input for diagnosis; when... When the value is relatively small, it can be weakened in subsequent calculations of the strength of evidence. The reliability of the data source, data completeness, range validity, time synchronization, and consistency of verification can be set by experts.
[0035] S14. Calculate the rate of change of each state variable based on the measured values of each state variable and the time interval between adjacent diagnostic windows.
[0036] Specifically, this step is used to characterize the changing trend of state variables between adjacent diagnostic windows, so that the system can not only identify static limit violations, but also abnormal growth rates and developmental anomalies.
[0037] Optionally, let Δt be the time interval between adjacent diagnostic windows, and ε be a minimal constant to prevent the denominator from being zero, then the rate of change r i (t) can be expressed as: ; Where, r i (t) is used to describe the degree of relative change of state variable i at time t relative to the previous window. It can be used to identify signs of developmental faults such as abnormal total hydrocarbon growth rate, abnormal continuous growth of ethylene, and abnormal monthly growth of trace water in oil.
[0038] S15. Based on the standard values of each state variable, determine the anomaly level correction coefficient, and calculate the anomaly deduction value by combining the preset state variable weights, the basic deduction score of the degradation level and the data quality coefficient.
[0039] Specifically, this step is used to jointly measure the degree of anomaly from three perspectives: importance of state variables, degree of degradation, and data reliability.
[0040] Optional, let w i For the state quantity weights, d i Deducting points based on the base level of degradation, qi g is the data quality coefficient. i The abnormality level correction coefficient is the abnormality deduction value. It can be represented as: ; Wherein, the state quantity weight w i The deduction level can be set based on the structural importance, mechanistic relevance, and historical experience corresponding to the state variables; the base deduction d for the degradation level. i The anomaly level correction coefficient q can be set according to the status evaluation guidelines or the unit's internal evaluation system. i The anomaly level can be set based on the anomaly level. In this application, the anomaly level of each state variable can be determined according to the standard value of the state variable and the anomaly level classification threshold. Then, according to the mapping relationship between each anomaly level and the anomaly level correction coefficient, the anomaly level correction coefficient corresponding to each state variable can be determined. For example, the anomaly level correction coefficients corresponding to anomaly levels I, II, III, and IV are 0.80, 1.00, 1.20, and 1.40, respectively. Anomaly deduction value. The larger the value, the more significant the impact of the state quantity on subsequent risk identification.
[0041] S16. Based on the standard value of each state variable, the anomaly deduction value, the rate of change, and the data quality coefficient, construct the target state variable set.
[0042] Specifically, this step is used to form a unified data input structure, providing direct input for subsequent abnormal state quantity identification and abnormal event mapping.
[0043] As an example, the target set of state variables may include the measured values v of each state variable. i Standard value of state variable x i Abnormal deduction value s i rate of change r i Data quality coefficient q i It also includes fields such as state variable category identifier, associated structure identifier, and sampling time identifier. This approach preserves the original state information while providing a unified interface for fault evidence chain modeling.
[0044] The technical solution provided in step S1 transforms multi-source state variables into a unified set of target state variables, so that subsequent anomaly identification no longer relies on single dissolved gas analysis (DGA) or single state variable threshold judgment, which helps to improve the consistency and computability of multi-source state data when it enters the subsequent fault reasoning chain.
[0045] S2, based on the target set of state variables, identifies abnormal state variables and generates a set of abnormal events.
[0046] Specifically, anomalous events are used to characterize computable evidence formed by anomalies in state variables, trends, persistence, or combinations of multiple state variables. This step is used to uniformly convert continuous state variables, discrete records, and multi-state combination features into anomalous events, so that "state variable anomalies" can be further mapped into "fault evidence." By uniformly encoding different anomaly representations related to the transformer body, bushings, tap changers, cooling systems, and non-electrical protection devices into anomalous events, consistent evidence objects can be provided for subsequent membership matrices, Bayesian inference, and maintenance strategy output.
[0047] In one possible implementation, step S2 includes: S21, compare the measured values of each state variable with the preset over-limit threshold to identify the over-limit abnormal state variable.
[0048] Specifically, this step is used to identify state quantities that have reached a warning, abnormal, or severe level.
[0049] Optionally, for larger and more degraded state variables, when v i (t) Exceeds the preset warning threshold B i Preset abnormal threshold C i Or preset a severe over-limit threshold F i At that time, warning over-limit events, abnormal over-limit events, and severe over-limit events can be generated respectively; for state variables that deteriorate more with smaller values, when v i When (t) falls below the corresponding threshold, an out-of-limit event of the corresponding level can be generated. This allows for hierarchical identification of state variables before they fully develop into serious faults.
[0050] S22, based on the rate of change of each state variable, identify abnormal state variables with growth rate, abnormal state variables with sudden change, and abnormal state variables with continuous change.
[0051] Specifically, this step is used to identify anomalous patterns in a dynamic process.
[0052] Optionally, abnormal growth rates can be determined using the following formula: ; in, The preset growth rate warning threshold, The trend slope is calculated based on the rate of change. Set the preset trend slope warning threshold.
[0053] As an example, when the 7-day growth rate of total hydrocarbons exceeds 20%, C2H4 increases three times consecutively with a growth rate exceeding 15%, and the monthly growth rate of trace water in oil exceeds 10%, it can be determined that the growth rate is abnormal.
[0054] Optionally, abrupt changes refer to a sudden shift in a state variable relative to its historical stable level within a short period of time. This can be determined using the absolute deviation of the median or the ratio of changes between two consecutive changes. For example: ; in, For a historically stable sample set, This is the preset threshold for determining mutations.
[0055] Optionally, a persistent anomaly refers to an abnormal state that has not returned to normal within multiple consecutive sampling periods or a certain duration, and can be determined using the following formula: ; Where I(·) is the indicator function, For a moment The abnormality level is defined as follows: R is the observation window length, and R0 is the number of times a persistent abnormality is determined. In engineering practice, three consecutive violations or violations lasting 72 hours can be used as criteria for persistent abnormality. By jointly identifying abnormal growth rates, abrupt changes, and persistent abnormalities, this application can take into account both static violations and development trend identification.
[0056] S23. Based on the combined anomalies of multiple state variables within the same diagnostic window, identify composite abnormal events. Composite abnormal events include at least one of the following: discharge composite anomalies, overheating composite anomalies, solid insulation deterioration anomalies, insulation moisture composite anomalies, conductive connection anomalies, bushing insulation anomalies, and cooling capacity anomalies.
[0057] Specifically, this step is used to identify multi-source coupling anomalies that are difficult to fully express with a single state variable.
[0058] As an example, typical compound anomaly rules are shown in Table 2: Table 2. Rules for Typical Complex Abnormal Events
[0059] By identifying composite anomalies, it is possible to directly compress the originally scattered multi-state anomalies into combined evidence that is more targeted to a certain type of failure mode.
[0060] S24. Determine the anomaly level based on the standard value of the state variable, the extent of exceeding the limit, the rate of change, and the duration of the anomaly.
[0061] Specifically, this step is used to assign comparable severity labels to different anomalous events.
[0062] Optionally, for single-state events, you can press x. iThe abnormalities are classified into four levels: Level I (minor), Level II (general), Level III (significant), and Level IV (serious). For complex abnormal events, if at least one key state quantity reaches Level III and another related state quantity reaches Level II, the complex event level is no lower than Level III. If two or more key state quantities reach Level III, or any key state quantity reaches Level IV, the complex event level is determined to be Level IV.
[0063] Examples of anomaly level classifications are shown in Table 3: Table 3 Examples of Anomaly Level Classification
[0064] S25. Calculate the time efficiency coefficient based on the time interval from the time of occurrence of each abnormal state quantity to the current diagnosis time and the effective time constant.
[0065] Specifically, this step is used to differentiate the contribution of "newly occurring abnormalities" and "earlier abnormalities that were not retested" to the current diagnosis.
[0066] Optional, time factor t i The exponential decay method can be used for calculation: ; Where, ΔT i τ is the time interval from the occurrence of the abnormal event to the current diagnosis time. i This is the effective time constant for the corresponding state variable.
[0067] As an example, τ represents rapidly changing data such as online oil chromatography, partial emission, and oil temperature. i It can be taken from 7 to 30 days; τ for oiling and electrical tests i 90 to 180 days can be taken; ledgers and historical defect records τ i A period of 365 days or more can be taken. This can avoid the unreasonable amplification of current diagnoses by long-term abnormalities.
[0068] S26, obtain the base confidence level determined by the anomaly level, the consistency bonus determined by the multimodal consistency, and the review bonus determined by the manual review situation to determine the confidence level of the evidence.
[0069] Specifically, this step is used to assign a parameter that reflects the "credibility of the evidence" to each anomalous event.
[0070] Optional, confidence level of evidence It can be represented as: ; in, The base confidence level is preferably determined by the anomaly level: 0.40 for level I, 0.60 for level II, 0.80 for level III, and 0.95 for level IV. For multimodal consistency enhancement, a value of 0.05 to 0.15 can be used when two or more independent data sources support the same anomaly. The margin for manual review is 0.05, which can be applied when confirmed by professionals. By introducing a confidence level for evidence, anomalies that are "confirmed by review and consistent across multiple sources" can receive higher weight in subsequent reasoning.
[0071] S27, the identified out-of-limit abnormal state quantities, growth rate abnormal state quantities, mutation abnormal state quantities, continuous abnormal state quantities and compound abnormal events are mapped to an abnormal event set, wherein each abnormal event includes at least the event number, state quantity source, abnormality level, occurrence time, duration, data quality coefficient, timeliness coefficient and evidence confidence level.
[0072] Specifically, this step is used to encode the anomaly identification results obtained in the previous step into a unified event set, forming the basic evidence object for subsequent fault tree mapping and probability calculation.
[0073] Optionally, the set of exception events can be represented as ;in, Indicates an abnormal event.
[0074] Furthermore, for state variables that are missing, duplicated, or conflicting, the strength of valid evidence for anomalies can be further determined using the following formula: ; in, For abnormal event e i The strength of valid evidence, For data quality coefficient, For timeliness coefficient, Confidence level of evidence.
[0075] Through this eventification process, continuous state variables and discrete records are uniformly transformed into computable event evidence vectors.
[0076] The technical solution provided in step S2 maps out-of-limit, trend, persistent and compound anomalies into a set of anomalous events, so that the subsequent fault tree localization, membership matrix construction and Bayesian inference of this application are all based on a unified evidence object, which is conducive to improving the consistency and interpretability of diagnosis under multi-source anomaly conditions.
[0077] S3. Based on the preset transformer fault tree and the set of abnormal events, determine the set of candidate fault modes; the preset transformer fault tree includes at least the top event layer, fault category layer, structural component layer, fault mode layer and abnormal event layer.
[0078] Specifically, this step establishes a hierarchical mechanism framework of "risk-category-structure-pattern-event" to map different abnormal events to corresponding structures and failure modes. Compared to rule matching or black-box classification alone, this step provides clear causal chains and structural location information. Failure modes characterize a specific type of transformer defect or failure state; candidate failure modes characterize the set of failure modes that enter subsequent probabilistic inference after being filtered by the fault tree.
[0079] In one possible implementation, step S3 includes: S31. Construct a preset transformer fault tree with transformer defect failure risk as the top event. The preset transformer fault tree includes at least a top event layer, a fault category layer, a structural component layer, a fault mode layer, and an abnormal event layer.
[0080] Specifically, this step is used to construct the preset transformer fault tree of this application. The content and function of each level of the fault tree are shown in Table 4: Table 4 Transformer Fault Tree Hierarchy
[0081] S32, the fault category layer is divided into mechanistic faults and structural component defects, and the structural component layer is divided into at least one of the following: body, bushing, tap changer, cooling system and non-electrical protection device.
[0082] Optionally, mechanistic faults are classified as Class I faults, mainly representing electrical or thermal faults that can be directly characterized by the fault mechanism. These include partial discharge, low-energy discharge, arc discharge, low-temperature overheating, medium-temperature overheating, and high-temperature overheating within the main body, as well as partial discharge, low-energy discharge, high-energy discharge, low-temperature thermal faults, medium-temperature thermal faults, and high-temperature thermal faults within the bushing. Structural component defects are classified as Class II faults, mainly representing defect modes related to specific components and systems. These include moisture in the main body insulation, aging of solid insulation, short circuits between turns or between winding discs, winding deformation or displacement, poor contact in the conductive circuit, multiple grounding or partial short circuits in the core, deterioration of insulating oil, moisture in the bushing insulation, abnormal bushing capacitance, abnormal bushing dielectric loss, defects in the conductive circuit of the tap changer, moisture inside the tap changer, jamming or failure to operate of the tap changer mechanism, burnt tap changer contacts, complete shutdown of the cooler, reduced cooling effect, abnormal oil level indication or oil leakage, abnormal temperature indication, abnormal gas or pressure release protection, and inaccurate signals from online monitoring devices.
[0083] S33, configure each failure mode with failure mode number, category, involved structure, defect description, prior probability, set of key evidence events, set of secondary evidence events and set of veto evidence events.
[0084] Optionally, each failure mode can be further configured with a severity coefficient for subsequent comprehensive risk value calculation. The failure mode list can serve as the initial configuration table for the fault tree and can be modified based on the organization's historical defect samples, equipment family defects, and expert review results, where the prior probability π... j and severity coefficient G j These can be used as initial suggested values. A detailed breakdown of fault modes is shown in Table 5. Table 5 Fault Mode Details
[0085] S34. Based on the matching relationship between the abnormal event set and the key evidence event set, secondary evidence event set and veto evidence event set, a candidate failure mode set is obtained.
[0086] Specifically, this step is used to filter out candidate fault modes that are significantly associated with the currently observed anomalies from all fault modes, thereby reducing the search space for subsequent Bayesian inference and improving inference efficiency and ranking interpretability.
[0087] The technical solution provided in step S3, by constructing a fault tree and generating a set of candidate fault modes, enables abnormal events to no longer remain at the level of simply describing "data anomalies," but to be structurally located along the chain of "abnormal event - fault mode - involved structure."
[0088] S4. Based on the set of abnormal events and the set of candidate failure modes, construct the failure evidence chain and membership matrix between abnormal events and candidate failure modes, and determine the effective evidence probability of each abnormal event for each candidate failure mode.
[0089] Specifically, this step is used to quantify the support, weakening, or veto relationships between anomalous events and failure modes, and to construct a mathematical mapping for subsequent probabilistic reasoning.
[0090] In one possible implementation, step S4 includes: S41, for each abnormal event in the abnormal event set and each candidate fault mode in the candidate fault mode set, determine the membership degree between them.
[0091] Specifically, abnormal event e i With fault mode F j The relationship between them can be represented as the membership degree m. ij The membership matrix M = [m ij ], and satisfy m ij ∈[-1,1]; where, when m ij When m is positive, it indicates that the abnormal event supports the candidate failure mode; when m ijWhen m is negative, it indicates that the abnormal event has a rejecting or weakening effect on the candidate failure mode; when m ij When the value is zero, it indicates that there is no significant correlation between the abnormal event and the candidate failure mode.
[0092] As an example, the main evidentiary event can satisfy m ij ≥0.5, with typical values being 0.6, 0.7, or 0.8; secondary evidentiary events can satisfy 0. <m ij ≤0.4, typical values can be 0.1, 0.2, 0.3 or 0.4; risk warning events can satisfy m ij ∈(0,0.5]; the event that negates the evidence can satisfy m ij <0, typically ranging from -0.1 to -1.
[0093] Optionally, membership degree assignment is preferably determined according to four principles: necessity, typicality, independence, and verifiability. Necessary conditions or strongly indicative state quantities are assigned high values, auxiliary state quantities are assigned medium to low values, and state quantities that contradict the necessary conditions of the failure mode are assigned negative values. Typical membership degree value rules are shown in Table 6, and the initial membership degree values for core failure modes are shown in Table 7. Table 6 Typical rules for membership degree values
[0094] Table 7 Examples of initial membership values for core failure modes
[0095] S42. Based on each membership degree, a membership degree matrix is formed. Based on the membership degree matrix and the key evidence event set, secondary evidence event set, and veto evidence event set corresponding to each candidate failure mode, a failure evidence chain is constructed between abnormal events and candidate failure modes.
[0096] Specifically, this step is used to extend the relationship between discrete events and failure modes from a textual rule representation to a computable expression, enabling Bayesian inference to directly invoke structured evidence relationships.
[0097] S43. Based on the membership degree, data quality coefficient, timeliness coefficient, evidence confidence degree and anomaly level correction coefficient corresponding to the abnormal event and the candidate failure mode, calculate the probability of valid evidence of the abnormal event for the candidate failure mode.
[0098] Specifically, this step is used to further refine the "original membership degree" into "probability of valid evidence" to explicitly reflect the impact of data quality, timeliness, and degree of anomaly on the strength of evidence.
[0099] Optional, the probability p of valid evidence ij It can be represented as: ; Where, q i t is the data quality coefficient. i c is the timeliness coefficient. i For the confidence level of evidence, g i This is the anomaly level correction coefficient; clip(·) restricts the result to between 0 and 1. If m ij If the value is negative, then p ij It serves as the probability of rejection or the probability of weakening in subsequent reasoning.
[0100] As an example, g i To characterize the amplification or suppression effect of the same anomalous event on the probability of valid evidence under different degrees of degradation, the degree of anomalousness can be determined first based on the extent of the state variable exceeding the limit and the persistence of the trend, the anomalous level can be determined based on the degree of anomalousness, and then mapped to the anomalous level correction coefficient.
[0101] For example, the normalization anomaly level h is first determined based on the extent of the state variable exceeding the limit. i Then based on the degree of abnormality h i Determine the anomaly level and map the anomaly level to an anomaly level correction factor g. i For state variables that are larger and more degraded, the normalized anomaly degree h i It can be represented as ,in, To preset the normal threshold, To preset the severity threshold, The measured value of the current state variable; when v i ≤a i At that time, h i =0; when v i ≥b i At that time, h i =1. For smaller, more degraded state variables, the normalized anomaly degree h is... i It can be represented as h i =(a i -v i ) / (a i -b i ), where a i >b i When v i >a i At that time, h i =0; when v i i At that time, h i =1. Then, based on the degree of abnormality h i Determine the anomaly level, and then map the anomaly level to the corresponding anomaly level correction coefficient g. i .
[0102] The technical solution provided in step S4, through the joint construction of fault evidence chains, membership matrices and valid evidence probabilities, enables abnormal events of different sources, different levels of credibility and different timeliness to be uniformly projected into the fault mode space, which is conducive to improving the interpretability and robustness of subsequent Bayesian inference.
[0103] S5. Based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, determine the posterior probability of each abnormal event and each candidate fault mode, and perform Bayesian inference on the set of abnormal events to obtain the initial posterior risk probability of each candidate fault mode.
[0104] Specifically, the posterior probability of an event is used to characterize the probability of a corresponding failure mode when a given anomalous event occurs; the initial posterior risk probability is used to characterize the probability of candidate failure modes obtained based on the current evidence before machine learning calibration. This step is used to convert anomalous event evidence into a probabilistic representation of failure modes, and to calculate the posterior probability using either standard Naive Bayes or an engineering-simplified fusion method in scenarios with sufficient and insufficient samples, respectively.
[0105] In one possible implementation, step S5 includes: S51, obtain the number of label samples corresponding to the current fault category and the number of samples corresponding to each candidate fault mode.
[0106] Specifically, this step is used to determine whether to use the standard Naive Bayes calculation method.
[0107] As an example, if the number of labeled samples N for a certain fault category c If the number of samples is ≥100 and the number of samples for each candidate fault mode is not less than 10, then the sample size for that category can be considered relatively sufficient; if N c If the number of tests is less than 100 and there are obvious missing data or unstable conditional probability estimations, then the simplified engineering fusion method is preferred.
[0108] S52, when the number of label samples corresponding to the current fault category is greater than or equal to the preset sample quantity threshold, and the number of samples corresponding to each candidate fault mode is not less than the preset lower limit, based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, the event posterior probability between each abnormal event and each candidate fault mode is determined, and the standard Naive Bayes calculation method is used to perform Bayesian inference on the abnormal event set to obtain the candidate posterior risk probability of each candidate fault mode.
[0109] Specifically, this step is a probabilistic diagnostic process under sufficient sample conditions. When historical labeled samples can stably support conditional probability estimation, it utilizes the correlation between anomalous events and candidate failure modes to perform joint inference on multiple anomalous events, outputting the candidate posterior risk probability of each candidate failure mode. Specifically, the failure evidence chain describes the logical mapping relationship between anomalous events and candidate failure modes, distinguishing whether a particular anomalous event is key evidence, secondary evidence, or weakly related evidence for a particular candidate failure mode; the membership matrix characterizes the direction and strength of the association between anomalous events and candidate failure modes; the valid evidence probability characterizes the actual support of the anomalous event for the candidate failure mode at the current diagnostic moment; and the prior probability characterizes the initial probability of the candidate failure mode occurring in the statistical sense of historical samples. These elements collectively constitute the input basis for the event posterior probability and multi-event Bayesian inference.
[0110] As an example, we can first target each exception event in the exception event set. and each candidate failure mode in the candidate failure mode set Determined based on the chain of evidence of failure Enter? The corresponding set of observational evidence; if an abnormal event With candidate failure modes If there is evidence of a connection, then further combine the membership degrees in the membership matrix. and the probability of valid evidence Identify abnormal events For candidate failure modes The posterior probability of a single event.
[0111] For example, the posterior probability of a single event can be expressed as: ; in, An abnormal event Candidate Failure Modes under Given Conditions The posterior probability of the event, Candidate Failure Modes Anomalies were observed under the given conditions. The conditional probability, Candidate Failure Modes The prior probability. In specific implementation... The initial value of the prior probability in the fault mode details table can be used, or the prior probability obtained based on the statistics of historical label samples can be used. The evidence type given by the faulty evidence chain, the correlation strength given by the membership matrix, and the probability of valid evidence can be used as indicators. Determined comprehensively.
[0112] Furthermore, when the number of labeled samples for the current fault category meets the statistical stability requirements, all observed abnormal events can be further combined into an observed abnormal event set. It employs standard Naive Bayes computation to perform joint reasoning on multiple anomalous events.
[0113] For example, the formula for multi-event joint reasoning can be expressed as: ; in, To observe the set of anomalous events Candidate Failure Modes under Conditions The candidate posterior risk probability, π j Candidate Failure Modes The prior probability, Candidate Failure Modes An anomalous event was observed when it occurred. The conditional probability, This represents summing and normalizing the numerators corresponding to all candidate fault modes, where k is the number of candidate fault modes.
[0114] S53. When the number of label samples corresponding to the current fault category is less than the preset sample quantity threshold, or there are missing tests or unstable conditional probability estimation, positive evidence events and negative evidence events are distinguished based on the fault evidence chain. Combined with the membership matrix and the probability of valid evidence, the probability of valid evidence corresponding to positive evidence and the probability of negative evidence corresponding to negative evidence are determined respectively. The candidate posterior risk probability of each candidate fault mode is calculated by adopting an engineering simplified fusion calculation method.
[0115] Specifically, this step involves calculating the candidate posterior risk probability in scenarios with insufficient samples or where conditional probabilities are difficult to estimate stably. It avoids instability in inference results caused by directly using standard Naive Bayes calculations when the number of samples for the current fault category is small, abnormal events are under-tested, or the conditional probability estimation results between abnormal events and candidate fault modes fluctuate significantly. In this case, instead of relying on complete conditional probability statistics, the fault evidence chain, membership matrix, and valid evidence probability are used to engineer the fusion of positive and negative evidence to obtain the candidate posterior risk probability for each candidate fault mode.
[0116] Optionally, in scenarios with insufficient engineering samples, a simplified calculation can be performed using a posterior probability initial value table, which is formed by expert assignments, procedural experience, and a small number of historical samples. ij direct as The initial estimate is dynamically revised after subsequent sample accumulation.
[0117] For example, in a simplified engineering fusion approach, when multiple anomalous events provide positive evidence for the same candidate failure mode, the positive synthesis probability... It can be represented as: ; When there is a veto evidence event e l In such cases, a weakening function can be used for correction: ; in, For abnormal event e i For candidate failure mode F j The probability of valid evidence, For the case of denying evidence e l For candidate failure mode F j The probability of refutation evidence. If Greater than the preset strong rejection threshold T veto Then, the corresponding candidate fault mode can be directly set to disable output or low confidence output.
[0118] As an example, T veto The preferred value is 0.70. The rules for categorizing and handling veto evidence may include: when... When <0.30, it is only used as a weak weakening factor in the calculation; when 0.30≤ When the value is less than 0.70, the candidate fault mode is marked as a low-confidence output, and the reason for rejection is displayed simultaneously; when... When the confidence level is ≥0.70, if the failure mode lacks other strong primary evidence, it should not be used as the primary diagnostic output; only the "rejected" flag should be retained in the alternative results. For low-confidence outputs, the original candidate number and calculated probability can be retained, a low-confidence label can be added, the rejection evidence can be listed, the ranking priority can be reduced, and a retest or special inspection suggestion can be generated.
[0119] S54, normalize the candidate posterior risk probability of each candidate failure mode to obtain the initial posterior risk probability of each candidate failure mode.
[0120] Optionally, the initial posterior risk probability obtained after normalization calculation. It can be represented as: ; in, The candidate posterior risk probabilities are obtained by standard Naive Bayes or engineering simplification fusion, where k is the number of candidate failure modes. Through this normalization process, comparable initial posterior risk probabilities among the candidate failure modes can be obtained, and the failure modes are further sorted in descending order according to the initial posterior risk probabilities to output the failure mode ranking.
[0121] Optionally, when the first candidate fault mode in the fault mode ranking output by the standard Naive Bayes and the simplified engineering fusion is inconsistent, the first three candidate fault modes in the fault mode ranking can also be output and manual review can be triggered.
[0122] The technical solution provided in step S5 further transforms the probability of valid evidence into the posterior probability of the event and the initial posterior risk probability, enabling this application to use standard probabilistic reasoning when the sample is sufficient, as well as to use engineering simplification fusion in small sample engineering scenarios, thereby taking into account probabilistic accuracy, computational efficiency and engineering practicality.
[0123] S6 updates the prior probability and event posterior probability based on historical label samples, calibrates the initial posterior risk probability based on the updated prior probability and event posterior probability, and then combines the machine learning calibration probability to obtain the final risk probability of each candidate failure mode.
[0124] Specifically, the final risk probability is used to characterize the probabilistic results used for risk ranking and maintenance decision output after parameter updates and machine learning calibration. This step is designed to overcome the problems of strong subjectivity in expert initial values, parameter instability under small sample conditions, and insufficient generalization ability of single probability models. By using statistical frequency correction, supervised learning calibration, and the fusion of Bayesian and machine learning methods, a dynamically updated parameter correction mechanism is formed.
[0125] In one possible implementation, step S6 includes: S61. Based on the number of occurrences of fault modes in historical labeled samples, the total number of samples, and the number of candidate fault modes, update the prior probability of each candidate fault mode.
[0126] As an example, the updated prior probability It can be represented as: ; in, Candidate fault modes F in historical labeled samples j The formula is given by: ...
[0127] S62, based on the number of times abnormal events and candidate fault modes occur simultaneously in historical labeled samples, the number of times abnormal events occur, and the initial expert value, update the posterior probability of each abnormal event and each candidate fault mode.
[0128] As an example, the updated posterior probability of the event can be expressed as: ; in, For anomaly events e in historical labeled samples i With candidate failure mode F j The number of times they appear at the same time m represents the number of times the abnormal event occurred. ij 0 β is the initial value set by experts, and β is the smoothing parameter. This formula allows for the fusion of statistics from a small sample size with expert experience, gradually improving the reliability of the posterior probability table of events.
[0129] S63, based on the updated prior probability and the updated posterior probability of the event, calibrate the initial posterior risk probability of each candidate failure mode to obtain the target posterior risk probability.
[0130] Specifically, this step is used to inject the statistically frequency-corrected parameters back into the Bayesian inference chain to recalibrate the initial posterior risk probability.
[0131] S64. Construct a feature vector that includes event vector features, state quantity deduction features, trend features, structural features, equipment profile features, prior and importance features, data quality features, and operating environment features. Input the feature vector into the fault mode probability calibration model to obtain the machine learning calibration probability.
[0132] Optional, feature vector It can be organized according to eight characteristics as follows: ; in, For event vector features, For state variable deduction features, As a trend feature, For structural features, To create a profile of the device, For prior and importance features, For data quality characteristics, The characteristics of the operating environment are shown in Table 8. The feature groupings of the fault mode probability calibration model are as follows: Table 8 Feature Grouping of Failure Mode Probability Calibration Model
[0133] Optionally, the fault mode probability calibration model can employ logistic regression, gradient boosting tree, random forest, or lightweight neural network. Model training labels can be derived from closed-loop fault samples, including power outage maintenance conclusions, disassembly and inspection records, test retest conclusions, defect elimination records, expert review conclusions, and post-treatment status recovery. Labels can be categorized into three types: fault mode labels, risk level labels, and maintenance strategy labels.
[0134] S65 determines the final risk probability of each candidate failure mode based on the target posterior risk probability and the machine learning calibration probability.
[0135] As an example, the final risk probability It can be represented as: ; Where η is the mechanism credibility weight. The target posterior risk probability is obtained based on the updated prior probability and the event posterior probability. This is used to calibrate probabilities for machine learning. The preferred value for η is between 0.50 and 0.90. For example, when the number of labeled samples of the same fault mode is N... d When η is less than 50, or the maximum output confidence of the failure mode probability calibration model is less than 0.60, η can be taken as 0.85 to 0.90; when 50 ≤ N d When N < 200 and the model confidence level is between 0.60 and 0.80, η can be taken as 0.70 to 0.85; when N d When the model confidence level is not lower than 0.80 and the calibration error in the past three months is less than 0.10, η can be taken as 0.50 to 0.70. If strong refutation evidence or the procedural threshold is seriously exceeded, η can be increased by 0.05 to 0.10 to increase the constraint weight of the mechanism rule.
[0136] The technical solution provided in step S6 forms a dynamic update mechanism through statistical frequency correction, supervised learning calibration, and Bayesian-machine learning fusion, which is conducive to improving the diagnostic stability and final risk probability accuracy in multi-source anomaly scenarios.
[0137] S7. Based on the final risk probability, fault severity coefficient, defect development urgency coefficient and equipment importance coefficient of each candidate fault mode, determine the comprehensive risk value and risk level of each candidate fault mode, and output at least one of fault risk ranking, key evidence and recommended handling strategy.
[0138] Specifically, this step is used to further transform the failure mode probability into risk levels and maintenance recommendations for operation and maintenance decisions.
[0139] In one possible implementation, step S7 includes: S71, obtain the safety impact component, power outage impact component and maintenance cost component of each candidate fault mode, and determine the fault severity coefficient.
[0140] As an example, candidate failure mode F j Fault severity coefficient G j It can be represented as: ; in, To ensure safety and avoid affecting the weight, To avoid the impact of power outages on the composition, The cost of maintenance. G j The preferred value range is 0.50 to 1.00, and the larger the value, the more serious the consequences of the fault.
[0141] S72, obtain the state variable growth rate component, abnormal duration component, and abnormal level component of each candidate fault mode, and determine the defect development urgency coefficient.
[0142] As an example, candidate failure mode F j The urgency coefficient of defect development U j It can be represented as: ; in, For the growth rate component of the state variable, For abnormal duration components, This is an abnormality level component. U j The closer it is to 1, the more urgent the action.
[0143] S73, obtain the voltage level component, load importance component, redundancy component and user importance component of each candidate fault mode, and determine the equipment importance coefficient.
[0144] As an example, candidate failure mode F j Equipment importance coefficient I j It can be represented as: ; in, For voltage level components, For load importance components, For redundancy components, For user importance components. j The preferred value range is 0.80 to 1.20. Higher values can be used for important main transformers, heavy-load main transformers, or main transformers lacking power transfer capabilities.
[0145] S74. Calculate the comprehensive risk value of each candidate failure mode based on the final risk probability, failure severity coefficient, defect development urgency coefficient, and equipment importance coefficient.
[0146] As an example, candidate failure mode F j Overall risk value It can be represented as: ; in, Candidate Failure Modes The final risk probability.
[0147] S75, based on the comprehensive risk value and the final risk probability, determines the risk level of each candidate failure mode and outputs at least one of the following: failure risk ranking, key evidence, and recommended handling strategy.
[0148] For example, an example of risk level determination is shown in Table 9: Table 9 Example of Risk Level Determination
[0149] Optionally, the diagnostic results may include candidate failure mode number, involved structure, failure description, posterior probability, comprehensive risk value, key supporting evidence, key refutating evidence, confidence level, recommended review items, and suggested handling strategies. Through this output method, this application not only outputs "what the failure is," but also "why this judgment was made" and "what are the subsequent recommendations."
[0150] The technical solution provided in step S7 further maps the final risk probability into a comprehensive risk value, risk level, and recommended handling strategy, enabling this application to directly serve condition-based maintenance, risk warning, and operation and maintenance decisions, rather than remaining at the level of simple fault identification.
[0151] In one possible implementation, the method further includes step S8; step S8 specifically includes: S81, obtain at least one of the following as a feedback label: power outage maintenance conclusion, disassembly and inspection record, test retest conclusion, defect elimination record, expert review conclusion, and post-treatment status recovery status; S82, write the feedback labels back to the sample library, and update the fault mode details table, initial value of membership matrix, prior probability, event posterior probability and risk level classification threshold based on the feedback labels, to obtain the updated sample library and updated fault tree parameters.
[0152] Specifically, this step is used to form a diagnostic closed loop. Feedback labels can include at least one of the following: power outage maintenance conclusion, disassembly and inspection record, test retest conclusion, defect elimination record, expert review conclusion, and post-treatment status recovery. By writing back the above feedback labels, the fault mode details table, initial value of the membership matrix, prior probability, posterior probability of events, and risk level classification threshold can be updated periodically, allowing the model to continuously improve with the accumulation of samples.
[0153] In one specific embodiment, the technical process of this application is further explained in conjunction with an actual fault diagnosis scenario of a 220 kV oil-immersed main transformer. This embodiment is used to illustrate the execution logic of this application and does not constitute a limitation on the scope of protection.
[0154] A 220kV oil-immersed main transformer has been in operation for 12 years, with a rated capacity of 180 MVA. Over the past week, online oil chromatography monitoring revealed a continuous increase in total hydrocarbons and C2H4. Infrared thermography of the high-voltage side bushings showed no significant abnormalities. The load rate was approximately 82%, and the top oil temperature was high but had not reached the tripping condition. The collected equipment status data are shown in Table 10. Table 10 Equipment Status Data
[0155] After cleaning and standardizing the above state variables, a set of abnormal events is generated: ; Among them, e1, e2, e3 and e6 provide positive evidence for internal overheating faults; e5 provides primary evidence for poor contact in conductive circuits; e4 provides negative evidence for arc discharge faults; and e7 provides negative evidence for multi-point grounding faults in the core.
[0156] Based on the preset transformer fault tree, the observed abnormal events are mapped to the candidate fault modes shown in Table 11: Table 11 Candidate Failure Modes
[0157] Based on expert initial values and historical sample statistics, the initial posterior probabilities of the generated events for candidate failure modes are shown in Table 12: Table 12 Initial values of posterior probabilities of events
[0158] The positive evidence probability of F1-8 is calculated using a simplified engineering fusion formula: ; Considering e4 as weak veto evidence, it is adjusted using a weakening factor of (1-0.20): ; The combined probability of F2-7 is calculated using the simplified engineering fusion formula: ; For F1-4, although there is an abnormality of combustible gas in the internal arc discharge, e4, i.e., "C2H2 not significantly increased", constitutes strong refutation evidence with a refutation probability of 0.80. Therefore, it is regarded as a low-confidence candidate or no main diagnosis is output.
[0159] The fault mode probability calibration model trained using historical samples is invoked. This model takes event vector features, state variable deduction features, trend features, structural features, equipment profile features, prior and importance features, data quality features, and operating environment features as input, and outputs machine learning calibration probabilities. Assuming the mechanism confidence weight η = 0.75 in this diagnosis, the output of the fault mode probability calibration model is as follows: ; ; The final risk probability is: ; ; Further calculate the comprehensive risk value. Let the severity coefficient G = 0.85, urgency coefficient U = 0.90, and equipment importance coefficient I = 1.00 for F2-7; and let the severity coefficient G = 0.90, urgency coefficient U = 0.85, and equipment importance coefficient I = 1.00 for F1-8. The comprehensive risk value is calculated as follows: ; ; The failure mode ranking results are shown in Table 13: Table 13 Fault Mode Ranking Results
[0160] Based on the above results, the primary diagnosis is "poor contact in the conductive circuit of the body, accompanied by the risk of overheating at medium temperature inside the body." It is recommended to conduct retesting of DC resistance, retesting of oil chromatography, and investigation of connector and lead connection status. The results of this diagnosis and subsequent maintenance verification should be written back to the sample library. If a power outage inspection reveals loose lead connectors or burnt contact surfaces, this result will be used as an F2-7 tagged sample to update parameters such as P(F2-7|e5) and P(F2-7|e2). If no conductive circuit defects are found, the corresponding membership degree will be lowered, and the weight of temperature and DGA combined evidence on F1-8 will be increased.
[0161] In an exemplary historical sample verification, the technical solution provided in this application was used to perform offline diagnosis on 120 transformer anomaly samples. The identification accuracy of the first-ranked fault mode can reach about 89%, and the coverage of the top three fault modes can reach about 96%. Compared with single DGA rule diagnosis, it can add output of defect risks involving bushings, tap changers, cooling systems and non-electrical protection devices, and can provide probability ranking and evidence chain explanation.
[0162] On the other hand, this application also provides a computer system, including a memory and a processor; the memory stores program code that can be executed by the processor; the program code is used to execute any of the above-mentioned transformer defect fault risk diagnosis methods based on fault tree and Bayesian inference.
[0163] For example, the program code may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the program code in an electronic device.
[0164] The electronic device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The electronic device may include, but is not limited to, processors and memory. Those skilled in the art will understand that the electronic device may also include input / output devices, network access devices, buses, etc.
[0165] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0166] The memory can be an internal storage unit of the electronic device, such as a hard drive or RAM. It can also be an external storage device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory can include both internal and external storage units. The memory is used to store the program code and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or will be output.
[0167] The aforementioned computer-readable storage medium and electronic device are created based on the aforementioned transformer defect fault risk diagnosis method based on fault tree and Bayesian inference. Their technical functions and beneficial effects will not be elaborated here. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0168] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A method for diagnosing transformer defect and fault risk based on fault tree and Bayesian inference, characterized in that, The method includes: S1, acquire the multi-source state variables of the transformer, and preprocess the multi-source state variables to obtain the target state variable set; S2, based on the target set of state variables, identify abnormal state variables and generate an abnormal event set; S3. Based on the preset transformer fault tree and the set of abnormal events, determine the set of candidate fault modes; the preset transformer fault tree includes at least a top event layer, a fault category layer, a structural component layer, a fault mode layer, and an abnormal event layer. S4. Based on the set of abnormal events and the set of candidate fault modes, construct the fault evidence chain and membership matrix between the abnormal events and the candidate fault modes, and determine the effective evidence probability of each abnormal event for each candidate fault mode. S5. Based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, determine the posterior probability of each abnormal event and each candidate fault mode, and perform Bayesian inference on the set of abnormal events to obtain the initial posterior risk probability of each candidate fault mode. S6. Based on historical label samples, update the prior probability and the event posterior probability, and calibrate the initial posterior risk probability based on the updated prior probability and the updated event posterior probability. Then, combine the machine learning calibration probability to obtain the final risk probability of each candidate fault mode. S7. Based on the final risk probability, fault severity coefficient, defect development urgency coefficient and equipment importance coefficient of each candidate fault mode, determine the comprehensive risk value and risk level of each candidate fault mode, and output at least one of fault risk ranking, key evidence and recommended handling strategy.
2. The method according to claim 1, characterized in that, Step S1 includes: S11, acquire at least one of the following as the multi-source state quantity: dissolved gas data in oil, oil chemical test data, electrical test data, online monitoring data, infrared temperature measurement data, tap changer action data, cooling system operation data, non-electrical protection action record, operating condition data and maintenance record; S12, obtain the measured values of each state variable, and calculate the standard value of the state variable by combining the preset normal boundary threshold and the preset severe boundary threshold; S13, obtain the data source reliability, data integrity, range validity, time synchronization and verification consistency of each state quantity, and calculate the data quality coefficient; S14, Calculate the rate of change of each state quantity based on the measured values of each state quantity and the time interval between adjacent diagnostic windows; S15. Based on the standard values of each state variable, determine the anomaly level correction coefficient, and calculate the anomaly deduction value by combining the preset state variable weight, the basic deduction score of the degradation level and the data quality coefficient. S16. Based on the standard value of each state variable, the anomaly deduction value, the rate of change, and the data quality coefficient, construct the target state variable set.
3. The method according to claim 2, characterized in that, Step S2 includes: S21, compare the measured values of each state quantity with the preset over-limit threshold to identify over-limit abnormal state quantities; S22, based on the rate of change of each state variable, identify abnormal state variables with growth rate, abnormal state variables with sudden change, and abnormal state variables with continuous change. S23. Based on the combined anomalies of multiple state variables within the same diagnostic window, identify composite abnormal events. The composite abnormal events include at least one of the following: discharge composite anomalies, overheating composite anomalies, solid insulation deterioration anomalies, insulation moisture composite anomalies, conductive connection anomalies, bushing insulation anomalies, and cooling capacity anomalies. S24. Determine the anomaly level based on the standard value of the state variable, the extent of exceeding the limit, the rate of change, and the duration of the anomaly. S25, Calculate the timeliness coefficient based on the time interval from the time of occurrence of each abnormal state quantity to the current diagnosis time and the effective time constant; S26, Obtain the base confidence level determined by the anomaly level, the consistency bonus determined by the multimodal consistency, and the review bonus determined by the manual review situation to determine the confidence level of the evidence; S27, the identified out-of-limit abnormal state quantities, growth rate abnormal state quantities, mutation abnormal state quantities, continuous abnormal state quantities and compound abnormal events are mapped to an abnormal event set, wherein each abnormal event includes at least the event number, state quantity source, abnormality level, occurrence time, duration, data quality coefficient, timeliness coefficient and evidence confidence level.
4. The method according to claim 3, characterized in that, Step S3 includes: S31, Construct a preset transformer fault tree with transformer defect failure risk as the top event. The preset transformer fault tree includes at least a top event layer, a fault category layer, a structural component layer, a fault mode layer, and an abnormal event layer. S32, the fault category layer is divided into mechanistic faults and structural component defects, and the structural component layer is divided into at least one of the following: body, bushing, tap changer, cooling system and non-electrical protection device; S33, configure each failure mode with failure mode number, category, involved structure, defect description, prior probability, set of key evidence events, set of secondary evidence events and set of veto evidence events; S34. Based on the matching relationship between the abnormal event set and the key evidence event set, the secondary evidence event set and the veto evidence event set, the candidate fault mode set is obtained by filtering.
5. The method according to claim 4, characterized in that, Step S4 includes: S41, for each abnormal event in the abnormal event set and each candidate fault mode in the candidate fault mode set, determine the membership degree between them; wherein, when the membership degree is positive, it indicates that the abnormal event has a supporting effect on the candidate fault mode; when the membership degree is negative, it indicates that the abnormal event has a rejecting or weakening effect on the candidate fault mode; when the membership degree is zero, it indicates that the abnormal event and the candidate fault mode have no significant correlation. S42, based on the membership degree, a membership degree matrix is formed, and based on the membership degree matrix and the key evidence event set, secondary evidence event set and veto evidence event set corresponding to each candidate failure mode, a failure evidence chain between abnormal events and candidate failure modes is constructed. S43. Based on the membership degree, data quality coefficient, timeliness coefficient, evidence confidence degree and anomaly level correction coefficient corresponding to the abnormal event and the candidate failure mode, calculate the probability of valid evidence of the abnormal event for the candidate failure mode.
6. The method according to claim 5, characterized in that, Step S5 includes: S51, obtain the number of label samples corresponding to the current fault category and the number of samples corresponding to each candidate fault mode; S52, when the number of label samples corresponding to the current fault category is greater than or equal to the preset sample quantity threshold, and the number of samples corresponding to each candidate fault mode is not less than the preset lower limit, based on the prior probability, fault evidence chain, membership matrix and valid evidence probability of each candidate fault mode, the event posterior probability between each abnormal event and each candidate fault mode is determined, and the standard Naive Bayes calculation method is used to perform Bayesian inference on the abnormal event set to obtain the candidate posterior risk probability of each candidate fault mode; S53, when the number of label samples corresponding to the current fault category is less than the preset sample quantity threshold, or there are missing tests or unstable conditional probability estimation, positive evidence events and negative evidence events are distinguished based on the fault evidence chain, and the valid evidence probability corresponding to positive evidence and the negative evidence probability corresponding to negative evidence are determined by combining the membership matrix and the valid evidence probability, respectively. The candidate posterior risk probability of each candidate fault mode is calculated by using an engineering simplified fusion calculation method. S54, normalize the candidate posterior risk probability of each candidate failure mode to obtain the initial posterior risk probability of each candidate failure mode. The simplified fusion calculation method for engineering includes: when multiple abnormal events provide positive evidence for the same candidate fault mode, according to... Calculate the positive synthesis probability When there is an event that vetoes evidence, according to The positive synthesis probability is corrected to obtain the candidate posterior risk probability. ; For abnormal event e i For candidate failure mode F j The probability of valid evidence, For the case of denying evidence e l For candidate failure mode F j The probability of refutation evidence.
7. The method according to claim 6, characterized in that, Step S6 includes: S61, based on the number of times the fault mode occurs in the historical label samples, the total number of samples, and the number of candidate fault modes, update the prior probability of each candidate fault mode. S62, based on the number of times abnormal events and candidate fault modes occur simultaneously, the number of times abnormal events occur, and the initial expert value in the historical label samples, update the posterior probability of each abnormal event and each candidate fault mode. S63, based on the updated prior probability and the updated event posterior probability, calibrate the initial posterior risk probability of each candidate failure mode to obtain the target posterior risk probability; S64, construct a feature vector containing event vector features, state quantity deduction features, trend features, structural features, equipment profile features, prior and importance features, data quality features and working environment features, and input the feature vector into the fault mode probability calibration model to obtain the machine learning calibration probability; S65, based on the target posterior risk probability and the machine learning calibration probability, determine the final risk probability of each candidate failure mode.
8. The method according to claim 7, characterized in that, Step S7 includes: S71, obtain the safety impact component, power outage impact component and maintenance cost component of each candidate fault mode, and determine the fault severity coefficient; S72, obtain the state variable growth rate component, abnormal duration component and abnormal level component of each candidate fault mode, and determine the defect development urgency coefficient. S73, obtain the voltage level component, load importance component, redundancy component and user importance component of each candidate fault mode, and determine the equipment importance coefficient; S74. Calculate the comprehensive risk value of each candidate failure mode based on the final risk probability, failure severity coefficient, defect development urgency coefficient, and equipment importance coefficient of each candidate failure mode. S75, based on the comprehensive risk value and the final risk probability, determine the risk level of each candidate failure mode, and output at least one of failure risk ranking, key evidence and recommended handling strategy.
9. The method according to any one of claims 1 to 8, characterized in that, The method further includes step S8; step S8 specifically includes: S81, obtain at least one of the following as a feedback label: power outage maintenance conclusion, disassembly and inspection record, test retest conclusion, defect elimination record, expert review conclusion, and post-treatment status recovery status; S82, the feedback tags are written back to the sample library, and the fault mode details table, initial value of membership matrix, prior probability, event posterior probability and risk level classification threshold are updated based on the feedback tags to obtain the updated sample library and updated fault tree parameters.
10. A computer system, characterized in that, It includes a memory and a processor; the memory stores program code that can be executed by the processor; the program code is used to execute the transformer defect fault risk diagnosis method based on fault tree and Bayesian inference as described in any one of claims 1 to 9.
