High-speed train electric traction system fault diagnosis method for data imbalance

By constructing a support vector machine model in the high-speed train electric traction system and setting different misjudgment penalty factors for samples, the problem of fault diagnosis accuracy caused by data imbalance is solved, and accurate identification of minority class samples is achieved and fault diagnosis performance is improved. .

CN118535983APending Publication Date: 2024-08-23JIANGSU UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410653245.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing fault diagnosis methods for high-speed train electric traction systems cannot correctly identify a small number of samples under unbalanced data conditions, resulting in unsatisfactory fault diagnosis accuracy.

Method used

By obtaining the system output data and controller output data, construct an unbalanced data set, use the support vector machine model and set different misjudgment penalty factors for each sample, combine with the AdaBoost method to evaluate the amount of information, calculate and update sample weights, and suppress classification Hyperplane offset to improve diagnostic performance.

Benefits of technology

Under the condition of data imbalance, it can effectively identify minority class samples, improve fault diagnosis accuracy, and ensure the stability and classification performance of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535983A
    Figure CN118535983A
Patent Text Reader

Abstract

The invention discloses a high-speed train electric traction system fault diagnosis method for data imbalance, and the method comprises the following steps: 1, obtaining system output data and controller output data of a traction system under a simulation fault, and constructing an imbalance data set according to the system output data and the controller output data to form a sample set; 2, constructing a support vector machine model, and establishing different misjudgment penalty factors for each sample in the support vector machine model; 3, calculating a misjudgment penalty factor corresponding to each sample; 4, training the support vector machine model through the sample set and the misjudgment penalty factors corresponding to the samples; and 5, diagnosing the fault of the traction system by using the trained support vector machine model. According to the method, system output and controller output are comprehensively considered, and the diagnosis performance is improved from a data source; different penalty factors are set for different samples according to the information amount, and classification hyperplane offset caused by data imbalance is inhibited.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fault diagnosis of electric traction systems of high-speed trains, and in particular to a method for fault diagnosis of electric traction systems of high-speed trains targeting at data imbalance. Background Art

[0002] The electric traction system is the core power control system of high-speed trains, mainly composed of pantographs, traction transformers, traction inverters, traction motors, transmission gears and other components. The electric traction system of high-speed trains has the highest failure rate in the vehicle control system, accounting for more than half of all types of failures, which poses a great hidden danger to the safe operation of high-speed trains. Therefore, real-time status monitoring and fault diagnosis of the electric traction system of high-speed trains have important theoretical significance and engineering value for improving the safety and reliability of high-speed trains.

[0003] At present, the existing high-speed train electric traction system fault diagnosis based on data-driven technology is mostly aimed at system output data at the data level, and rarely considers the controller output data comprehensively. The electric traction control system is a typical closed-loop control structure, which has a certain fault tolerance for the impact of faults. Therefore, if only the output data of the system is considered, the accuracy of fault detection and diagnosis is not ideal. At the same time, the operating environment and working conditions of some local high-speed EMU trains are harsh, and the imbalance problem of data sets is prominent. Therefore, relevant scholars and engineers in the field of safety have turned their attention to this field, and the fault diagnosis of high-speed train electric traction systems under data imbalance conditions has become a research hotspot.

[0004] At present, when existing classification algorithms deal with data imbalance fault classification, the imbalanced data set usually has two conditions: imbalanced number of categories and imbalanced misclassification costs. The characteristics of imbalanced data classification problems are mainly reflected in the imbalance of the data itself and the limitations of traditional classification algorithms. At the data level, the number of samples of the two types of data is unbalanced, and it is difficult for the classifier to learn the characteristics of the minority class samples through training. At the same time, the multi-class samples will blur the sample boundaries of the minority class, resulting in difficulty in distinguishing minority class samples from multi-class samples in the overlapping part of the classes. At the classifier level, the support vector machine aims to minimize structural risk and maximize margins. When the data is unbalanced, in order to reduce risk losses, the classification hyperplane will inevitably shift towards the minority class samples, resulting in the minority class samples being misclassified into multi-class samples in the overlapping part between classes, so that the minority class samples cannot be correctly identified, which leads to unsatisfactory fault diagnosis accuracy. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a high-speed train electric traction system fault diagnosis method for data imbalance, so as to solve the technical problem in the prior art that the diagnostic reference data is single and a few class samples cannot be correctly identified, thus resulting in unsatisfactory fault diagnosis accuracy.

[0006] The present invention provides a method for diagnosing faults in a high-speed train electric traction system for data imbalance, comprising the following steps:

[0007] Step 1: Obtain system output data and controller output data of the traction system under simulated faults, and construct an unbalanced data set according to the system output data and controller output data to form a sample set;

[0008] Step 2: Build a support vector machine model and establish different misjudgment penalty factors for each sample in the support vector machine model;

[0009] Step 3: Calculate the misjudgment penalty factor corresponding to each sample;

[0010] Step 4: Train the support vector machine model using the sample set and the misjudgment penalty factor corresponding to the sample;

[0011] Step 5: Use the trained support vector machine model to diagnose traction system faults.

[0012] Furthermore, in step 2, the support vector machine model constructed is:

[0013]

[0014] Where w is the weight vector of the classification plane; b is the bias constant; C i is the misjudgment penalty factor for the i-th sample; ξ i is the slack variable; is the risk function.

[0015] Furthermore, in step 3, the specific method for calculating the misjudgment penalty factor corresponding to each sample is as follows:

[0016] The information content of the sample is evaluated according to the AdaBoost method, and the misjudgment penalty factor corresponding to each sample is calculated based on the evaluation results.

[0017] Furthermore, the specific steps for calculating the misjudgment penalty factor corresponding to each sample are as follows:

[0018] Step 31: The amount of information contained in the sample is represented by a weight vector;

[0019] Step 32: Obtain the support vector corresponding to the sample;

[0020] Step 33: Classify the sample several times, and update the weight vector corresponding to the sample according to the classification results;

[0021] Step 34: Set the misjudgment penalty factor according to the updated weight vector and support vector:

[0022]

[0023] In the formula, SV is the support vector; UN_SV is the unsupport vector; is the initial weight of the sample; m t,i is the weight at the end of the iteration; is the original penalty factor of the i-th sample;

[0024] Step 35: Normalize the misjudgment penalty factor set in step 34 to obtain the final misjudgment penalty factor:

[0025]

[0026]

[0027]

[0028] In the formula, C i is the normalized penalty factor of the i-th sample; A is the original loss from the 1st sample to the qth sample; B is the original loss from the q+1th sample to the lth sample.

[0029] Furthermore, in the process of updating the weight vector corresponding to the sample through the classification result, the number of times the sample is misclassified is set. When the classification is wrong, the weight vector is updated according to the number of times the current sample is misclassified.

[0030] Furthermore, when the classification is wrong, the weight vector is updated according to the number of wrong classifications of the current sample, specifically:

[0031]

[0032] In the formula, is the normalization constant; g is greater than the number of iterations t; k is the number of sample misclassifications.

[0033] Beneficial effects of the present invention:

[0034] The present invention comprehensively considers system output and controller output when selecting initial data, thereby improving diagnostic performance from the source of data.

[0035] The present invention focuses on the difference in the amount of information possessed by different samples, and sets different penalty factors for different samples according to the amount of information, so that the misjudgment losses of minority class samples and majority class samples are always equal, thereby suppressing the deviation of the classification hyperplane caused by data imbalance.

[0036] The method of the present invention counts the number of sample misclassifications during the iterative update process of the sample weight vector, and combines it into the calculation formula of the sample information weight to limit the growth rate of the misclassified sample weight, so that the growth of the misclassified sample weight becomes slow and controllable during the iteration process of the algorithm, and as the number of misclassifications increases, the inhibitory effect of the weight becomes more obvious, thereby reducing the influence of the later weight expansion of multiple misclassified samples on the data distribution and the algorithm, and making the sample information weight iteration process more stable.

[0037] The present invention avoids large differences in sample information weights caused by multiple sample misclassifications by focusing on optimization of global data, improves the reliability of penalty factor selection, and ensures good classification and diagnostic performance of the final model. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:

[0039] Figure 1 It is a training flow chart of the support vector machine model in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0041] The present invention is further illustrated below in conjunction with specific embodiments. Those skilled in the art should understand that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention, and modifications to various equivalent forms of the present invention fall within the scope defined by the appended claims of this application.

[0042] The present invention provides a method for diagnosing faults in a high-speed train electric traction system for data imbalance, comprising the following steps:

[0043] Step 1: Obtain the system output data and controller output data of the traction system under simulated faults, and construct an unbalanced data set based on the system output data and controller output data to form a sample set:

[0044] Step 11: Perform fault injection on the TDCS-FIB simulation experiment platform, collect data, and construct an original data set with an unbalanced ratio of normal operation and fault data;

[0045] Step 12: Use standard deviation as the data diagnostic feature, select a moving window with a sample size of 2000, calculate the standard deviation of the data on each window, and arrange the calculated standard deviation on each window into a new unbalanced data set;

[0046] Step 13: Divide both the normal and faulty data in the new data set into a 4:1 ratio, and then recombine them to obtain the unbalanced training set and test set of the two state data, and normalize them.

[0047] Step 2: Build a support vector machine (SVM) model,

[0048] The construction of the support vector machine model includes: the evaluation index of the ability to suppress hyperplane deviation, the evaluation index of the generalization performance of the SVM classifier, and the evaluation index of the diagnostic performance of the SVM classifier;

[0049] Under the condition of data imbalance, the ability of the SVM classifier to suppress the phenomenon of classification hyperplane deviation depends on the ratio of the misjudgment risk loss of the two types of samples. r is used to evaluate the ability of the classifier to suppress the hyperplane deviation:

[0050]

[0051] In the formula, l is the total number of samples; q is the number of normal operation samples; is the normal sample risk loss; is the risk loss of the fault sample. The closer the r value is to 1, the better the SVM classifier’s ability to suppress the deviation of the classification hyperplane is.

[0052] When constructing the classification hyperplane, the SVM model not only considers the risk loss, but also comprehensively considers the reliability of the obtained classification function, namely:

[0053]

[0054] Where φ(H(x)) is the reliability evaluation function of the classification function, representing the generalization performance of SVM; φ(H(x)) is Proportional to, where φH(x)) can be used Instead, η is used to evaluate the generalization performance of the SVM classifier:

[0055]

[0056] In the formula, is the risk loss; the larger η is, the more emphasis SVM places on generalization ability during training; conversely, the more emphasis SVM places on learning ability during training.

[0057] Substitute the calculation formula of the misjudgment penalty factor corresponding to the sample into the above formula for simplification:

[0058]

[0059] It can be seen from the above formula that η is inversely proportional to the classification error ε1. ε1 is obtained based on the classification results of the support vector machine. When the classification accuracy is high, the ε1 value is small, and η is large at this time, focusing on generalization performance; otherwise, learning ability is emphasized and generalization performance is ignored.

[0060] When setting the diagnostic performance evaluation index of the SVM classifier, the overall accuracy cannot reflect the diagnostic performance of the classifier when the classifier handles the classification problem of imbalanced data. It is necessary to pay attention to the accuracy of two types of samples at the same time. Therefore, the confusion matrix shown in Table 1 is used:

[0061]

[0062] Table 1

[0063]

[0064]

[0065]

[0066] Among them, Sensitivity and Specificity represent the ratio of correctly predicted positive and negative samples respectively. Obviously, the larger the better. However, considering the mutual constraints between the two, especially when the data is unbalanced, it is difficult to use these two indicators to directly evaluate the classification effect at the same time.

[0067] The evaluation mechanism G-mean comprehensively considers the mutual constraints between the two. When the classification is biased towards a certain type of sample, the G-mean value will decrease, so this evaluation mechanism has a better reference value.

[0068] In the support vector machine model, a different misjudgment penalty factor is established for each sample; in view of the defects of the support vector machine in dealing with the classification problem of data imbalance, the mathematical model is improved, and the original setting of the same penalty factor for all samples is changed to setting different penalty factors for different samples. The final support vector machine model is:

[0069]

[0070] Where w is the weight vector of the classification plane; b is the bias constant; C iis the misjudgment penalty factor for the i-th sample; ξ i is the slack variable; is the risk function.

[0071] Step 3: Evaluate the amount of information contained in the sample according to the AdaBoost method, and calculate the misjudgment penalty factor corresponding to each sample based on the evaluation results:

[0072] Step 31: Assume that l training samples {X, Y} are given, and the information contained in each sample is expressed using the weight vector M t =[m t,1 ,m t,2 ,…m t,l ], t is the number of iterations, and the initial d weight of each sample is equal when t = 1, which is: i=1,2,…l;

[0073] Step 32: Set the support vector machine penalty factor C to a larger value and solve for the classification hyperplane H t (x):w t ·x+b t = 0 and support vector SV; find the classification error

[0074] Step 33: When adjusting the weight vector of the sample, the update formula of the weight vector is as follows:

[0075]

[0076] in, is a normalization constant to ensure that the sum of the weights is 1;

[0077] After a sample is correctly classified, its weight will be reduced, and after a sample is misclassified, its weight will be amplified. In order to avoid excessive weights of these samples after samples are misclassified multiple times, the number of sample misclassifications k is introduced to improve the iterative update formula of the weight vector of the misclassified samples:

[0078] When the classification is correct, Sgn(H t (x i ))=y i ,Sgn(H t (x i ))y i =1;

[0079]

[0080] When the classification is wrong, Sgn(H t (x i ))≠y i ,Sgn(H t (xi ))y i = -1;

[0081]

[0082] Among them, g should be greater than the number of iterations t, and g = t + 1 can be set, and k is the number of times the sample is misclassified;

[0083]

[0084] M t =[m t,1 ,m t,2 ,,…m t,l ]

[0085] According to M t Transform the training set {X,Y} to generate a new training set {X'=M t T ·X,Y}. According to step 32, a new classification hyperplane H is obtained. t (x');

[0086] Step 34: Iterate steps 32 and 33, and set the misjudgment penalty factor based on the weight vector and support vector after the iteration:

[0087]

[0088] In the formula, SV is the support vector, and UN_SV is the unsupport vector; is the initial weight of the sample; m t,i is the weight at the end of the iteration; is the original penalty factor of the i-th sample;

[0089] Step 35: Normalize the misjudgment penalty factor set in step 34 to obtain the final misjudgment penalty factor:

[0090]

[0091]

[0092]

[0093] In the formula, C i is the normalized penalty factor of the i-th sample; A is the original loss from the 1st sample to the qth sample; B is the original loss from the q+1th sample to the lth sample;

[0094] Step 4: Train the support vector machine model using the sample set and the misjudgment penalty factor corresponding to the sample;

[0095] Step 5: Use the trained support vector machine model to diagnose traction system faults.

[0096] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A fault diagnosis method for high-speed train electric traction system with data imbalance, It is characterized in that The steps include: Step 1: Obtain system output data and controller output data of the traction system under simulated faults, and construct an unbalanced data set according to the system output data and controller output data to form a sample set; Step 2: Build a support vector machine model and establish different misjudgment penalty factors for each sample in the support vector machine model; Step 3: Calculate the misjudgment penalty factor corresponding to each sample; Step 4: Train the support vector machine model using the sample set and the misjudgment penalty factor corresponding to the sample; Step 5: Use the trained support vector machine model to diagnose traction system faults.

2. The method for diagnosing faults of a high-speed train electric traction system for data imbalance according to claim 1, It is characterized in that In step 2, the support vector machine model constructed is: Where w is the weight vector of the classification plane; b is the bias constant; C i is the misjudgment penalty factor for the i-th sample; ξ i is the slack variable; is the risk function.

3. The high-speed train electric traction system fault diagnosis method for data imbalance according to claim 1, It is characterized in that In step 3, the specific method for calculating the misjudgment penalty factor corresponding to each sample is as follows: The information content of the sample is evaluated according to the AdaBoost method, and the misjudgment penalty factor corresponding to each sample is calculated based on the evaluation results.

4. The high-speed train electric traction system fault diagnosis method for data imbalance according to claim 1 or 3, It is characterized in that The specific steps for calculating the misjudgment penalty factor corresponding to each sample are as follows: Step 31: The amount of information contained in the sample is represented by a weight vector; Step 32: Obtain the support vector corresponding to the sample; Step 33: Classify the sample several times, and update the weight vector corresponding to the sample according to the classification results; Step 34: Set the misjudgment penalty factor according to the updated weight vector and support vector: Where SV is the support vector; UN_SV is the unsupport vector; is the initial weight of the sample; m t,i is the weight at the end of the iteration; is the original penalty factor of the i-th sample; Step 35: Normalize the misjudgment penalty factor set in step 34 to obtain the final misjudgment penalty factor: In the formula, C i is the normalized penalty factor of the i-th sample; A is the original loss from the 1st sample to the qth sample; B is the original loss from the q+1th sample to the lth sample.

5. The high-speed train electric traction system fault diagnosis method for data imbalance according to claim 4, It is characterized in that In step 33, during the process of updating the weight vector corresponding to the sample by the classification result, the number of times the sample is misclassified is set, and when the classification is wrong, the weight vector is updated according to the number of times the current sample is misclassified.

6. The high-speed train electric traction system fault diagnosis method for data imbalance according to claim 5, It is characterized in that When the classification is wrong, the weight vector is updated according to the number of wrong classifications of the current sample, specifically: In the formula, is the normalization constant; g is greater than the number of iterations t; k is the number of sample misclassifications.