GIS typical insulation defect partial discharge fault identification method and system based on multi-source perception tree pattern learning and dynamic Bayesian coding
Through multi-source sensing tree pattern learning and dynamic Bayesian coding, combined with electromagnetic-acoustic-gas sensor information, the problem of localizing partial discharge fault sources in GIS is solved, achieving fast, stable, and intelligent fault identification and traceability, and improving identification efficiency. and accuracy.
Patent Information
- Application Number
- CN202410735534.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-27
AI Technical Summary
GIS partial discharge fault sources cannot be located quickly and stably, and it is difficult to identify the fault type and trace the source in real time with existing technology.
Using a method based on multi-source sensing tree pattern learning and dynamic Bayesian coding, a data-driven fault identification model is designed through electromagnetic-acoustic-gas sensor classification information, and the model parameters are optimized to achieve intelligent and adaptive identification of GIS partial discharge faults. .
It achieves fast and stable positioning of GIS partial discharge faults, improves the intelligence and accuracy of fault identification, adapts to the learning needs of multiple input quantities, and enhances the practicability and efficiency of the model.
Smart Images

Figure CN118709086A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of fault identification, and in particular to a method for identifying partial discharge faults of typical insulation defects in GIS based on multi-source perception tree pattern learning and dynamic Bayesian coding. Background Art
[0002] Gas Insulated Switchgears (GIS) is a key equipment widely used in modern power systems. It integrates circuit breakers, disconnectors, grounding switches, voltage transformers, current transformers, lightning arresters, busbars, cable terminals and other equipment. It has the advantages of small footprint, compact structure, little interference from the external environment, safe and reliable operation, easy maintenance, and long maintenance cycle. Due to certain problems in the design, manufacturing, transportation, and installation of GIS, such as metal burrs on electrodes, air gaps in insulating media, floating potential caused by loose components, and insulation aging under long-term full-load operation, GIS has problems such as circuit breaker electric field distortion caused by adsorbent shedding, causing circuit breaker flashover breakdown, busbar failure caused by conductor metal tip discharge to the shell, and basin insulator flashover breakdown during actual operation. Generally, it can be divided into: metal spike discharge, metal particle discharge, suspended electrode discharge, insulator surface discharge and air gap discharge. GIS partial discharge refers to the electrical discharge phenomenon in which only part of the insulation between conductors is broken down (not penetrating the conductors to which voltage is applied) under the action of an electric field. GIS partial discharge is a pulse discharge that will produce a series of physical phenomena and chemical changes such as light, sound, electrical and mechanical vibrations inside and around the power equipment, providing detection signals for monitoring the internal insulation status of the power equipment. The data-driven fault identification model established by the present invention can identify the fault type in real time, providing important protection for GIS partial discharge fault tracing. Summary of the invention
[0003] In order to solve the problem that the source of GIS partial discharge fault cannot be located quickly and stably, the purpose of the present invention is to provide a GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding, which can intelligently and adaptively identify the type of GIS partial discharge fault through the real-time detected electromagnetic-acoustic-gas sensor classification information, lay the foundation for the selection of further fault tracing methods, and ensure that it can quickly and stably locate the source of GIS partial discharge fault.
[0004] In order to achieve the above object, the present invention is implemented through the following technical solutions:
[0005] The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding includes the following steps:
[0006] Step 1: Determine the type of electromagnetic-acoustic-gas multi-source sensing sensor for GIS partial discharge fault detection;
[0007] Step 2: Design a multi-source perception tree pattern learning method to obtain a data-driven fault identification model from input variables to output variables, where the input variable is multi-source sensor information and the output variable is the GIS partial discharge fault category;
[0008] Step 3: Design a dynamic coding Bayesian network method to optimize the fault identification model parameters;
[0009] Step 4: Combine the multi-sensor information detected in real time and use the optimized model to identify GIS partial discharge faults;
[0010] Step 5: Perform validity verification.
[0011] Furthermore, the specific steps of step 1 are:
[0012] The input variables are: Let the types of electromagnetic-acoustic-gas sensors be m, m ≥ 3; let the number of sensors in each type be n m , then the data collected by the multi-source sensors is expressed as:
[0013]
[0014] Among them, n1 to n m The value depends on the actual needs. Suppose the number of input variables is N, and N=n1+n2+..+n m , then the data X collected by the multi-source sensor can be further expressed as:
[0015] X={x1,x2,…,x i ,…,x N}, i∈N
[0016] The output variables are denoted as y1,…,y z , where y z Indicates the zth type of GIS partial discharge fault, and the output variable category is z.
[0017] Preferably, there are three types of sensors, namely electromagnetic wave sensors, acoustic wave sensors and gas induction sensors.
[0018] Preferably, the output variable category is =5, which respectively represent metal spike discharge, metal particle discharge, suspended electrode discharge, insulator surface discharge and air gap discharge.
[0019] Furthermore, step 2 specifically includes the following steps:
[0020] The input data X={x1,x2,…,x i ,…,x N} is brought into the function. This fault recognition model learns the input data through K tree pattern learners. Therefore, the sample is put into the tree pattern learner for learning. The prediction function of the i-th sample is expressed as:
[0021]
[0022] Among them, f k (x i ) is the discriminant function of the k-th tree for the i-th data, F is the potential tree model set, and K is the number of elements in the set;
[0023] The objective function of the fault identification model is defined as:
[0024]
[0025] in, is the loss function or error function; Ω(f k ) is a regular term used to control the structure of the tree model learner tree, and Z is the number of output variable categories;
[0026] Among them, the objective function is composed of k trees, so the formula after deforming k-1 trees and adding the kth tree is expressed as:
[0027]
[0028] The complexity of k trees is split into the complexity of k-1 trees plus the complexity of the current tree model. Because when training k trees, the first k trees are constants, the objective function is written as:
[0029]
[0030] The objective function is transformed with the help of Taylor's formula:
[0031]
[0032] Among them, g z represents the first-order derivative, h z represents the second-order derivative, g z and h z They are all related to the first k-1 tree models, so they are all constants, so the simplified objective function is:
[0033]
[0034] f k (x i) represents the predicted value of the i-th sample of the k-th tree, expressed as:
[0035] )
[0036] Among them, ω represents the value of each leaf node, that is, the predicted value; q(x i ) represents the leaf node where sample x falls;
[0037] The regularization formula is expressed as:
[0038]
[0039] Where T represents the number of leaf nodes; represents the sum of the values of each leaf node; γ represents the hyperparameter, and λ represents the degree of control penalty;
[0040] Substituting the prediction function and the regular term formula into the objective function, the preliminary refined formula is:
[0041]
[0042] Among them, G j is the first derivative and, H j is the sum of the second derivatives, I j is the jth leaf node, J represents the number of leaf nodes;
[0043] The objective function is ω j The derivative is equal to 0, and the weight ω is obtained j The optimal solution
[0044]
[0045] When the tree model structure is fixed, the optimal objective function of the model is
[0046]
[0047] Among them, the formula obj * It is a scoring function used to measure the quality of the tree structure. The smaller the value, the better the tree structure.
[0048] After obtaining the scoring function, each leaf node needs to be split. In order to obtain the optimal tree structure, the gains before and after the split are calculated; the larger the gain value, the greater the reduction in the loss function after the split; therefore, when splitting a leaf node, the gain values corresponding to all splits are calculated, and the one with the largest gain is selected for splitting. The gain formula is:
[0049]
[0050] During the model training process, the residual is continuously fitted, and the output data is obtained by the size of the gain.
[0051] Furthermore, the specific steps of step 3 are:
[0052] Step 3.1, select the optimization parameters in the fault identification model, specifically the number of decision trees, the maximum depth of the tree, the minimum sum of leaf node weights, the learning rate, the proportion of sub-samples to training samples, and the dynamic encoding rule;
[0053] Step 3.2, input and determine the fault identification parameters, use the dynamic coding rules to normalize the Bayesian network, and train the fault identification optimization model. First, it is necessary to determine the dynamic coding agent function and select the objective function response value as Y = [f(x1), f(x2), ..., f(x n )], and use this to design the Gaussian dynamic coding process as a proxy function; where the sample X = [x1, x2, …, x n ]The objective function response value is Y=[f(x1),f(x2),…,f(x n )] to combine into S n :
[0054] S n =(x i ,f(x i )),{i=1,2,...n}
[0055] n is preferably 5;
[0056] Since the loss function follows a Gaussian distribution f(x)~gp(0,K), then f(x n ) is shown in the following formula:
[0057]
[0058] Where K(·) is the kernel function, which represents the covariance of X;
[0059] By continuously adding new sample data (x i ,f(x i )), continuously estimate the distribution of posterior probability;
[0060] Step 3.3, after the Gaussian process model, the next hyperparameter combination sampling point x is selected through the acquisition function PI n+1 , where the PI formula is as follows;
[0061]
[0062] Among them, Φ(·) represents the normal cumulative distribution function; μ(x) represents the mean function of f(x); ε is used to adjust the search direction; f(x + ) represents the current optimal value;
[0063] Step 3.4, after the acquisition function determines the acquisition point of the next parameter combination, train the model and obtain the fault classification value of the model; obtain the highest accuracy as the target requirement through ten-fold cross validation, and if the error between the predicted classification result and the accurate value meets the target requirement, output the best hyperparameter combination;
[0064] Step 3.5: If the error between the predicted classification result and the accurate value does not meet the target requirement, then (x n+1 ,f(x n+1 )) Adding the Gaussian model, the covariance matrix is updated as follows:
[0065]
[0066] k t =[k(x i+1 ,x1),k(x i+1 ,x2),…,k(x i+1 ,x i )]
[0067] Use the updated covariance matrix to estimate f t+1 The posterior probability distribution of is as follows:
[0068]
[0069] Step 3.6: Repeat steps 3.3, 3.4, and 3.5. When a hyperparameter combination that meets the target requirements is found or the number of iterations is reached, stop the iteration.
[0070] The final parameters of the fault identification model are obtained through dynamic coding Bayesian network optimization.
[0071] Preferably, when step 5 performs validity verification, the first 50% of each type of partial discharge data is used to train Bayesian parameters and establish a fault identification model, and the second 50% is used to test the accuracy of the fault identification method, and the test results are verified with the corresponding confusion matrix.
[0072] Compared with the prior art, the present invention has the following advantages:
[0073] The invention discloses a GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding. The method has strong practicability and adopts multi-source sensor perception fusion, and can increase or decrease the types and number of sensors according to actual needs. The method has high efficiency and the model can adapt to the learning of multiple input quantities. The model parameters are optimized through the dynamic coding Bayesian network method, which improves the recognition efficiency of the model in actual use. The recognition is more intelligent and accurate, and the recognition model is continuously learned and optimized for different sensor data, so that GIS fault identification is more intelligent and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 This is a schematic diagram of multi-source sensor perception according to the present invention;
[0075] Figure 2 The fault tree pattern learning and recognition model described in the present invention;
[0076] Figure 3 This is a flow chart of the dynamic coding Bayesian optimization fault identification model described in the present invention;
[0077] Figure 4 This is a test identification result diagram of the partial discharge method described in the present invention. DETAILED DESCRIPTION
[0078] The purpose of the present invention is to provide a GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding. The present invention is further described below in conjunction with specific embodiments.
[0079] Example
[0080] The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding includes the following steps: Figure 3 As shown:
[0081] Step 1: Determine the type of electromagnetic-acoustic-gas multi-source sensing sensor for GIS partial discharge fault detection;
[0082] Step 2: Design a multi-source perception tree pattern learning method to obtain a data-driven fault identification model from input variables to output variables, where the input variable is multi-source sensor information and the output variable is the GIS partial discharge fault category;
[0083] Step 3: Design a dynamic coding Bayesian network method to optimize the fault identification model parameters;
[0084] Step 4: Combine the multi-sensor information detected in real time and use the optimized model to identify GIS partial discharge faults;
[0085] Step 5: Perform validity verification.
[0086] Furthermore, the specific steps of step 1 are:
[0087] The input variables are: Assume that the types of electromagnetic-acoustic-gas sensors are m, m ≥ 3; Figure 1 As shown, the number of sensors in each category is n m , then the data collected by the multi-source sensors is expressed as:
[0088]
[0089] Among them, n1 to n m The value depends on the actual demand. Suppose the number of input variables is N, and N=n1+n2+..+n m , then the data X collected by the multi-source sensor can be further expressed as:
[0090] X={x1,x2,…,x i ,...,x N},ieN
[0091] For example, if there are three types of sensors, namely electromagnetic wave sensors, acoustic wave sensors and gas sensing sensors, and the number of sensors is set to n1=10, n2=5, n3=7, then N=10+5+7=22, then the input data of this example can be expressed as:
[0092]
[0093] Then the input variables can be expressed as:
[0094]
[0095] The output variables are denoted as y1,…,y z , where y z Indicates the zth type of GIS partial discharge fault, and the output variable category is z. According to the GIS discharge type, in the present invention, z=5, which respectively represent metal spike discharge, metal particle discharge, floating electrode discharge, insulator surface discharge and air gap discharge.
[0096] Then the output variable can be expressed as:
[0097] Y={y1,y2…,y5}
[0098] Further, step 2 specifically includes the following steps: Figure 2 As shown:
[0099] The input data X={x1,x2,…,x i ,…,x N} is brought into the function. This fault recognition model learns the input data through K tree pattern learners. Therefore, the sample is put into the tree pattern learner for learning. The prediction function of the i-th sample is expressed as:
[0100]
[0101] Among them, f k (x i ) is the discriminant function of the k-th tree for the i-th data, F is the potential tree model set, and K is the number of elements in the set;
[0102] The prediction function for the sample needs to define an objective function to evaluate the quality of the model. During the model training process, the smaller the value of this objective function, the better. Therefore, the objective function of the fault identification model is defined as:
[0103]
[0104] in, is the loss function or error function; Ω(f k ) is a regular term used to control the structure of the tree model learner tree, and Z is the number of output variable categories;
[0105] Among them, the objective function is composed of k trees, so the formula after deforming k-1 trees and adding the kth tree is expressed as:
[0106]
[0107] The complexity of k trees is split into the complexity of k-1 trees plus the complexity of the current tree model. Because when training k trees, the first k trees are constants, the objective function is written as:
[0108]
[0109] The objective function is transformed with the help of Taylor's formula:
[0110]
[0111] Among them, g z represents the first-order derivative, h z represents the second-order derivative, g z and h z They are all related to the first k-1 tree models, so they are all constants, so the simplified objective function is:
[0112]
[0113] f k (x i ) represents the predicted value of the i-th sample of the k-th tree, expressed as:
[0114] f k (x i )=ω q (x i )
[0115] Among them, ω represents the value of each leaf node, that is, the predicted value; q(x i ) represents the leaf node where sample x falls;
[0116] The regularization formula is expressed as:
[0117]
[0118] Where T represents the number of leaf nodes; represents the sum of the values of each leaf node; γ represents the hyperparameter, and λ represents the degree of control penalty;
[0119] Substituting the prediction function and the regular term formula into the objective function, the preliminary refined formula is:
[0120]
[0121] Among them, G j is the first derivative and, H j is the sum of the second derivatives, I j is the jth leaf node, J represents the number of leaf nodes;
[0122] The objective function is ω j The derivative is equal to 0, and the weight ω is obtained j The optimal solution
[0123]
[0124] When the tree model structure is fixed, the optimal objective function of the model is
[0125]
[0126] Among them, the formula obj * It is a scoring function used to measure the quality of the tree structure. The smaller the value, the better the tree structure.
[0127] After obtaining the scoring function, each leaf node needs to be split. In order to obtain the optimal tree structure, the gains before and after the split are calculated; the larger the gain value, the greater the reduction in the loss function after the split; therefore, when splitting a leaf node, the gain values corresponding to all splits are calculated, and the one with the largest gain is selected for splitting. The gain formula is:
[0128]
[0129] During the model training process, the residual is continuously fitted, and the output data is obtained by the size of the gain.
[0130] Furthermore, the specific steps of step 3 are:
[0131] Step 3.1, select the optimization parameters in the fault identification model, specifically the number of decision trees, the maximum depth of the tree, the sum of the minimum leaf node weights, the learning rate, the proportion of sub-samples to training samples and the dynamic encoding rules, as shown in Table 1.
[0132] Number of decision trees: n_estimators, also known as the number of trees;
[0133] The maximum depth of the number: max_depth, to make the model more complex and more prone to overfitting;
[0134] The minimum sum of leaf node weights: min_child_weight. When the sum of the leaf node instance weights generated by the tree partition is less than min_child_weight, further partitioning is abandoned during the construction process.
[0135] Learning rate: learning_rate, in order to prevent overfitting, after each boosting step, a new weight is obtained. The learning rate is used to reduce the weight of the feature, making the boosting process more conservative and improving robustness;
[0136] Subsample ratio in training samples: Subsample is used to determine the ratio of subsamples to the entire sample during training;
[0137] and dynamic encoding rules: Encoder, which is used to improve the accuracy of decisions made by Bayeian network methods when faced with nonlinear logic samples;
[0138] Table 1 Optimization parameters and their ranges
[0139]
[0140]
[0141] Step 3.2, input and determine the fault identification parameters, use the dynamic coding rules to normalize the Bayesian network, and train the fault identification optimization model. First, it is necessary to determine the dynamic coding agent function and select the objective function response value as Y = [f(x1), f(x2), ..., f(x n )], and use this to design the Gaussian dynamic coding process as a proxy function; where the sample X = [x1, x2, …, x n ]The objective function response value is Y=[f(x1),f(x2),…,f(x n )] to combine into S n :
[0142] S n =(x i ,f(x i )),{i=1,2,...n}
[0143] In the formula, since there are 5 determined parameters, n=5.
[0144] Since the loss function follows a Gaussian distribution f(x)~gp(0,K), then f(x n ) is shown in the following formula:
[0145]
[0146] Where K(·) is the kernel function, which represents the covariance of X;
[0147] By continuously adding new sample data (x i ,f(x i )), continuously estimate the distribution of posterior probability;
[0148] Step 3.3, after the Gaussian process model, the next hyperparameter combination sampling point x is selected through the acquisition function PI n+1 , where the PI formula is as follows;
[0149]
[0150] Among them, Φ(·) represents the normal cumulative distribution function; μ(x) represents the mean function of f(x); ε is used to adjust the search direction; f(x + ) represents the current optimal value;
[0151] Step 3.4, after the acquisition function determines the acquisition point of the next parameter combination, train the model and obtain the fault classification value of the model; obtain the highest accuracy as the target requirement through ten-fold cross validation, and if the error between the predicted classification result and the accurate value meets the target requirement, output the best hyperparameter combination;
[0152] Step 3.5: If the error between the predicted classification result and the accurate value does not meet the target requirement, then (x n+1 ,f(x n+1 )) Adding the Gaussian model, the covariance matrix is updated as follows:
[0153]
[0154] k t =[k(x i+1 ,x1),k(x i+1 ,x2),…,k(x i+1 ,x i )]
[0155] Use the updated covariance matrix to estimate f t+1 The posterior probability distribution of is as follows:
[0156]
[0157] Step 3.6: Repeat steps 3.3, 3.4, and 3.5. When a hyperparameter combination that meets the target requirements is found or the number of iterations is reached, stop the iteration.
[0158] The final parameters of the fault identification model are obtained through dynamic coding Bayesian network optimization.
[0159] Furthermore, in step 4, the optimized fault identification model is applied in real time, and faults are monitored and identified based on multi-source sensor information collected in real time in combination with the fault identification model.
[0160] In step 5, the effectiveness of the above partial discharge fault detection and identification method is verified. In the multi-source data preparation stage, the discharge voltage is set to 19kV, and data from optical sensors, acoustic wave sensors, and electromagnetic wave sensors are collected for three typical discharge types: metal spike discharge, suspended electrode discharge, and insulator surface discharge. The description of data classification and sample quantity is shown in Table 2.
[0161] Table 2 Multi-source sensor data description table
[0162]
[0163] The first 50% of each type of partial discharge data is used to train Bayesian parameters and establish a fault identification model, while the second 50% is used to test the accuracy of the fault identification method. The confusion matrix corresponding to the test results is shown in Table 3. The classification effect obtained by the test is shown in Figure 4 shown.
[0164] Table 3 Confusion matrix of test classification results
[0165]
[0166] In Table 3, taking the detection of metal spike discharge as an example, the number of data samples tested is 1500, accounting for 33.3% of the total tested samples. From the horizontal comparison of the table in the second row, it can be seen that these tested data are all isolated as metal spike discharges, and are not identified as suspended electrode discharges and insulator surface discharges. Similarly, for the tested suspended electrode discharge data and insulator surface discharge data, the corresponding suspended electrode discharge targets and insulator surface discharge targets are also correctly identified. It can be seen from the above that the dynamic encoding Bayesian optimization fault identification model established by the present invention can accurately identify three typical GIS insulation defect discharge fault types.
[0167] From Table 3 and Figure 4 It can be seen that the dynamic coding Bayesian optimization fault identification model established in the present invention can accurately identify three typical GIS insulation defect discharge fault types: metal spike discharge, suspended electrode discharge, and insulator surface discharge.
Claims
1. A GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding is characterized by: The following steps are involved: Step 1: Determine the type of electromagnetic-acoustic-gas multi-source sensing sensor for GIS partial discharge fault detection; Step 2: Design a multi-source perception tree pattern learning method to obtain a data-driven fault identification model from input variables to output variables, where the input variable is multi-source sensor information and the output variable is the GIS partial discharge fault category; Step 3: Design a dynamic coding Bayesian network method to optimize the fault identification model parameters; Step 4: Combine the multi-sensor information detected in real time and use the optimized model to identify GIS partial discharge faults; Step 5: Perform validity verification.
2. According to claim 1, the GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding is characterized by: The specific steps of step 1 are: The input variables are: Let the types of electromagnetic-acoustic-gas sensors be m, m ≥ 3; let the number of sensors in each type be n m , then the data collected by the multi-source sensors is expressed as: Among them, n1 to n m The value depends on the actual demand. Suppose the number of input variables is N, and N=n1+n2+..+n m , then the data X collected by the multi-source sensor can be further expressed as: X={x1,x2,…,x i ,…,x N },i∈N Let the output variables be y1,…,y z , where y z Indicates the zth type of GIS partial discharge fault, and the output variable category is z.
3. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 2 is characterized by: There are three types of sensors, namely electromagnetic wave sensors, acoustic wave sensors and gas sensing sensors.
4. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 2 is characterized by: The output variable category is z=5, which represents metal spike discharge, metal particle discharge, suspended electrode discharge, insulator surface discharge and air gap discharge respectively.
5. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 1 is characterized by: Step 2 specifically includes the following steps: The input data X={x1,x2,…,x i ,…,x N } is brought into the function. This fault recognition model learns the input data through K tree pattern learners. Therefore, the sample is put into the tree pattern learner for learning. The prediction function of the i-th sample is expressed as: Among them, f k (x i ) is the discriminant function of the k-th tree for the i-th data, F is the potential tree model set, and K is the number of elements in the set; The objective function of the fault identification model is defined as: in, is the loss function or error function; Ω(f k ) is a regular term used to control the structure of the tree model learner tree, and Z is the number of output variable categories; Among them, the objective function is composed of k trees, so the formula after deforming k-1 trees and adding the kth tree is expressed as: The complexity of k trees is split into the complexity of k-1 trees plus the complexity of the current tree model. Because when training k trees, the first k trees are constants, the objective function is written as: The objective function is transformed with the help of Taylor's formula: Among them, g z represents the first-order derivative, h z represents the second-order derivative, g z and h z They are all related to the first k-1 tree models, so they are all constants, so the simplified objective function is: f k (x i ) represents the predicted value of the i-th sample of the k-th tree, expressed as: Among them, ω represents the value of each leaf node, that is, the predicted value; q(x i ) represents the leaf node where sample x falls; The regularization formula is expressed as: Where T represents the number of leaf nodes; represents the sum of the values of each leaf node; γ represents the hyperparameter, and λ represents the degree of control penalty; Substituting the prediction function and the regular term formula into the objective function, the preliminary refined formula is: Among them, G j is the first derivative and, H j is the sum of the second derivatives, I j is the jth leaf node, J represents the number of leaf nodes; The objective function is ω j The derivative is equal to 0, and the weight ω is obtained j The optimal solution When the tree model structure is fixed, the optimal objective function of the model is Among them, the formula obj * It is a scoring function used to measure the quality of the tree structure. The smaller the value, the better the tree structure.
6. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 5 is characterized by: After obtaining the scoring function, each leaf node needs to be split. In order to obtain the optimal tree structure, the gain before and after the split is calculated; the larger the gain value, the greater the reduction in the loss function after the split; Therefore, when a leaf node is split, the gain values corresponding to all splits are calculated, and the one with the largest gain is selected for splitting. The gain formula is: During the model training process, the residual is continuously fitted, and the output data is obtained by the size of the gain.
7. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 1 is characterized by: The specific steps of step 3 are: Step 3.1, selecting optimization parameters in the fault identification model; Step 3.2, input and determine the fault identification parameters, use the dynamic coding rules to normalize the Bayesian network, and train the fault identification optimization model. First, it is necessary to determine the dynamic coding agent function and select the objective function response value as Y = [f(x1), f(x2), ..., f(x n )], and use this to design the Gaussian dynamic coding process as a proxy function; where the sample X = [x1, x2, …, x n ]The objective function response value is Y=[f(x1),f(x2),…,f(x n )] to combine into S n : S n =(x i ,f(x i )),{i=1,2,…n} Since the loss function follows a Gaussian distribution f(x)~gp(0,K), then f(x n ) is shown in the following formula: Where K(·) is the kernel function, which represents the covariance of X; By continuously adding new sample data (x i ,f(x i )), continuously estimate the distribution of posterior probability; Step 3.3, after the Gaussian process model, the next hyperparameter combination sampling point x is selected through the acquisition function PI n+1 , where the PI formula is as follows; Among them, Φ(·) represents the normal cumulative distribution function; μ(x) represents the mean function of f(x); ε is used to adjust the search direction; f(x + ) represents the current optimal value; Step 3.4, after the acquisition function determines the acquisition point of the next parameter combination, train the model and obtain the fault classification value of the model; obtain the highest accuracy as the target requirement through ten-fold cross validation, and if the error between the predicted classification result and the accurate value meets the target requirement, output the best hyperparameter combination; Step 3.5: If the error between the predicted classification result and the accurate value does not meet the target requirement, then (x n+1 ,f(x n+1 )) Adding the Gaussian model, the covariance matrix is updated as follows: k t =[k(x i+1 ,x1), k(x i+1 ,x2),…,k(x i+1 , x i )] Use the updated covariance matrix to estimate f t+1 The posterior probability distribution of is as follows: Step 3.6: Repeat steps 3.3, 3.4, and 3.
5. When a hyperparameter combination that meets the target requirements is found or the number of iterations is reached, stop the iteration. The final parameters of the fault identification model are obtained through dynamic coding Bayesian network optimization.
8. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 7 is characterized by: In step 3.1, the optimization parameters in the fault identification model are selected, specifically the number of decision trees, the maximum depth of the tree, the minimum sum of leaf node weights, the learning rate, the proportion of sub-samples to training samples, and the dynamic encoding rules.
9. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 7 is characterized by: In step 3.2, n=5.
10. The GIS typical insulation defect partial discharge fault identification method based on multi-source perception tree pattern learning and dynamic Bayesian coding according to claim 1 is characterized by: When verifying the effectiveness in step 5, the first 50% of each type of partial discharge data is used to train the Bayesian parameters and establish a fault identification model, while the second 50% is used to test the accuracy of the fault identification method. The test results are verified against the corresponding confusion matrix.
Citation Information
Cited By
Composite insulator electric field distortion detection method based on electroluminescent effect
CN119556017A
