Intelligent Diagnosis and Evaluation System for Railway Power Supply Equipment

Through the intelligent diagnosis and evaluation system, generative adversarial networks and confusion matrices are used to conduct real-time monitoring of railway power supply equipment, which solves the problems of manual inspection dependence, high misdiagnosis rate and insufficient automation in traditional methods, and achieves efficient and accurate status diagnosis. and early warning, improving the safety and reliability of railway power supply equipment.

CN118013361BActive Publication Date: 2024-10-15CHINA RAILWAY SHENYANG BUREAU GRP CO LTD CHANGCHUN HIGH-SPEED RAILWAY INFRASTRUCTURE SECTION

Patent Information

Application Number
CN202410145755.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2024-10-15
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

The traditional railway power supply equipment monitoring method relies on manual inspection, which makes it difficult to achieve real-time monitoring. It has a high misdiagnosis rate and insufficient automation, resulting in high maintenance costs and insufficient safety and reliability.

Method used

An intelligent diagnosis and evaluation system is used to collect operating data from power supply equipment through a data acquisition unit, convert it into high-dimensional feature vectors, and use generative adversarial networks and confusion matrices to perform status diagnosis to achieve real-time monitoring and early warning.

Benefits of technology

It improves the accuracy and automation of monitoring, reduces misdiagnosis rates, ensures timely identification of abnormal status of power supply equipment, reduces accident risks and maintenance costs, and improves the safety and reliability of railway transportation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118013361B_ABST
    Figure CN118013361B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of railway power supply technology, and in particular to an intelligent diagnosis and evaluation system for power supply equipment on railways, wherein the system comprises: a data acquisition unit, which is used to collect operating data at each time point within a set time range from all railway power supply equipment to form a multidimensional time series; a data processing unit, which is used to construct a confusion matrix, map a high-dimensional feature vector to a high-dimensional space, obtain a mapping result, construct a generative adversarial network, including a generator network and a discriminator network, use a trained generator network to generate a feature vector similar to a normal power supply equipment state, compare the generated feature vector with the high-dimensional feature vector, determine the current state of the railway power supply equipment, and use the confusion matrix to calculate the classification accuracy. The present invention can improve the accuracy, real-time and automation of power supply equipment state monitoring, and help improve the reliability and safety of railway power supply equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of railway power supply, and in particular to an intelligent diagnosis and evaluation system for power supply equipment on railways. Background Art

[0002] Intelligent diagnosis and evaluation of railway power supply equipment has always been a key concern for the railway industry. Railway power supply equipment, including power systems, lines, substations, and overhead lines, is crucial for the safety and reliability of railway transportation. Therefore, ensuring the proper functioning of power supply equipment and promptly diagnosing potential issues are crucial for the railway industry. However, traditional methods for monitoring and diagnosing power supply equipment have limitations, including reliance on manual inspections, difficulty achieving real-time monitoring, and a high rate of misdiagnosis.

[0003] In the past, the monitoring of railway power supply equipment mainly relied on manual inspections and regular maintenance. This method has some obvious shortcomings: Dependence on manual inspections: The traditional method relies on manual inspections by engineers and technicians, which is not only time-consuming and labor-intensive, but also prone to omissions, and cannot achieve continuous monitoring of power supply equipment. Difficulty in achieving real-time monitoring: Manual inspections are usually regular and cannot provide real-time monitoring and early warning, which is very unfavorable for timely detection of potential problems. High misdiagnosis rate: Due to the complexity and diversity of power supply equipment, traditional methods are prone to misdiagnosis, resulting in unnecessary repairs and downtime, and increased maintenance costs. Difficulty in data processing: The monitoring data generated by traditional methods needs to be manually processed and analyzed, which requires a lot of time and expertise and is prone to data analysis errors.

[0004] Although some existing technologies have attempted to solve the problems of monitoring and diagnosis of railway power supply equipment, there are still some challenges and shortcomings: Data collection and processing issues: In the existing technology, data collection and processing still face some difficulties. The amount of data generated by the power supply equipment is huge, and how to efficiently collect and process this data remains a challenge. Accuracy and stability: The diagnosis of power supply equipment requires high accuracy and stability to avoid misdiagnosis and missed diagnosis. There is still room for improvement in the existing technology in this regard. Real-time: Real-time monitoring and early warning are crucial to the safety of power supply equipment, but there are still certain difficulties in achieving real-time in the existing technology. Degree of automation: Insufficient degree of automation may lead to inefficient monitoring and diagnosis, and the degree of automation in the existing technology needs to be improved. Summary of the Invention

[0005] The main purpose of the present invention is to provide an intelligent diagnosis and evaluation system for power supply equipment on railways. The present invention can improve the accuracy, real-time performance and automation of power supply equipment status monitoring, and help improve the reliability and safety of railway power supply equipment.

[0006] In order to solve the above technical problems, the present invention provides an intelligent diagnosis and evaluation system for power supply equipment on railways, which includes: a data acquisition unit, which is used to collect operating data at each time point within a set time range from all railway power supply equipment to form a multidimensional time series. In the multidimensional time series, each sequence element is a set of operating data of all railway power supply equipment at a time point, and the multidimensional time series is converted into a high-dimensional feature vector; a data processing unit, which is used to construct a confusion matrix, in which each row represents a known power supply equipment state and each column represents a diagnosed state, and the high-dimensional feature vector is mapped to a high-dimensional space to obtain a mapping result, and a generative adversarial network is constructed, including a generator network and a discriminator network, to generate The generator network generates feature vectors similar to the normal state of power supply equipment, and the discriminator network distinguishes the generated feature vectors from high-dimensional feature vectors. The generative adversarial network is trained by minimizing the objective functions of the generator network and the discriminator network. The goal of the generator network is to minimize the difference between the generated feature vector and the high-dimensional feature vector, while the goal of the discriminator is to distinguish the generated feature vector from the high-dimensional feature vector with the highest accuracy. The trained generator network is used to generate feature vectors similar to the normal state of power supply equipment, and the generated feature vectors are compared with the high-dimensional feature vectors to determine the current state of the railway power supply equipment. The confusion matrix is ​​used to calculate the classification accuracy. If the classification accuracy is within the set threshold range, the current state is used as the diagnosis result.

[0007] Furthermore, the data acquisition unit first collects the operating data of each time point within a set time range from all railway power supply equipment. There are N railway power supply equipment, and M operating data of each railway power supply equipment are collected at each time point; the collected operating data at each time point is represented as an N×M matrix, denoted as D, where D ij Represents the operating data of the i-th device at the j-th time point; if there are T time points in the set time range, the multidimensional time series composed of the operating data of all time points is represented as a three-dimensional tensor X of T×N×M, where X tij Represents the j-th running data of the i-th device at the t-th time point. This three-dimensional tensor is represented as follows:

[0008] X={X tij |1≤t≤T,1≤i≤N,1≤j≤M};

[0009] The multidimensional time series X is converted into a high-dimensional feature vector F, where each feature vector represents the operating data of all devices at a time point. Specifically, the process includes: calculating the mean vector of the multidimensional time series; calculating the covariance matrix based on the calculated mean vector; calculating the eigenvalues ​​and eigenvectors of the covariance matrix based on the calculated covariance matrix; selecting the eigenvectors corresponding to the eigenvalues ​​greater than the set threshold to construct a high-dimensional feature vector. Assuming that K eigenvectors are selected, the high-dimensional feature vector F is expressed using the following formula:

[0010] F={F tk |1≤t≤T,1≤k≤K};

[0011] Among them, F tk represents the kth feature at the tth time point; F t is the set of features at the t-th time point.

[0012] Furthermore, the method of constructing the confusion matrix includes: setting S different power supply device states, marking these states as C1, C2, ..., C S , and V diagnoses were performed at the same time, and these diagnostic results were marked as D1, D2, ..., d V ; Initialize the confusion matrix C as an S×N zero matrix:

[0013]

[0014] For each diagnosis result d i , where i is the subscript, recording its true state and diagnosis state; suppose the true state of the i-th diagnosis is C j The diagnosis is D b , then the corresponding element C in the confusion matrix jb Add 1, which means the number of times the jth true state is diagnosed as the bth state, until all diagnosis results are processed; each row of the confusion matrix C represents a known power supply equipment state, and each column represents a diagnosed state; the element C of the confusion matrix ij Indicates that the true state is C i When diagnosed as C j The number of times is expressed using the following formula:

[0015]

[0016] Furthermore, the high-dimensional feature vector is mapped to a high-dimensional space through the following formula:

[0017]

[0018] Among them, Φ(F) represents the result of mapping the high-dimensional feature vector F to the high-dimensional space; δij is the Dirac function, which means it is 1 when i=j and 0 otherwise; F ti and F tj are the elements in the high-dimensional feature vector F, representing the i-th and j-th features at the t-th time point, respectively. σ is the standard deviation of the Gaussian kernel function, which controls the smoothness of the mapping.

[0019] Furthermore, the generator network is represented by the following formula:

[0020]

[0021] Among them, G t is the feature vector of the generator network at the tth time point; F t is the high-dimensional feature vector at the t-th time point; G(F t-1 ) is the feature vector at the t-1th time point; K t is the Kalman gain at the t-th time point; tanh and σ are both nonlinear activation functions, σ is the Sigmoid activation function, and tanh is the hyperbolic tangent activation function; and are the weight and bias parameters of the i-th layer of the generator network; L is the total number of layers of the generator network; m is an integer ranging from 1 to L; ∈ t is the Gaussian noise term.

[0022] Furthermore, the discriminator network is expressed using the following formula:

[0023]

[0024] Among them, D(F t ) is the output of the discriminator network at the tth time point, which represents the high-dimensional feature vector F for the input t The judgment result of and are the weights and bias parameters of the i-th layer of the discriminator network; the discriminator network also has L layers.

[0025] Furthermore, the objective function of the generator network is expressed as follows:

[0026]

[0027] Among them, L generator is the objective function value of the generator network; Φ(F t ) is the high-dimensional feature vector F t The result of mapping to high-dimensional space; λ reg is the weight of the regularization term, which is the set value; α is the learning rate; KL(P z ||P gen) represents the distribution P of the generator network output gen With the predefined distribution P z The KL divergence between .

[0028] Furthermore, the objective function of the discriminator network is expressed as follows:

[0029]

[0030] Among them, L discriminator is the objective function value of the discriminator network; β is the gradient penalty item value, which is the set value; The gradient of the output of the discriminator network at the tth time point; CE(P gen ,P z ) represents the distribution P of the generator network output gen With the predefined distribution P z The cross entropy loss between .

[0031] Furthermore, the method of calculating the classification accuracy using the confusion matrix includes: calculating the number of true positives TP, false positives FP, and false negatives FN in the confusion matrix, as well as the number of true negatives TN, and the calculation formulas are as follows:

[0032]

[0033] Then use the following formula to calculate the classification accuracy:

[0034]

[0035] Among them, Accuracy is the classification accuracy.

[0036] The intelligent diagnosis and assessment system for railway power supply equipment of the present invention has the following beneficial effects: The present invention utilizes a generator network to generate feature vectors similar to the normal state of the power supply equipment, which are then verified by a discriminator network. By continuously optimizing the generator and discriminator networks, the present invention can improve monitoring accuracy, reduce misdiagnosis rates, and ensure timely identification of abnormal power supply equipment conditions. This is of great significance to the safety and reliability of railway transportation, helping to avoid accidents and delays caused by power supply equipment failures. The generator network continuously updates the feature vector at the current time point, enabling real-time monitoring and early warning of the power supply equipment status. Once the system detects an abnormal state, it can immediately trigger an alarm, notifying relevant personnel to take necessary measures to prevent potential problems from escalating. This real-time monitoring and early warning function is unmatched by traditional monitoring methods and can effectively reduce accident risks and maintenance costs. By converting multidimensional time series into high-dimensional feature vectors, the complexity of the original data is reduced to a more manageable high-dimensional space, reducing the complexity of data processing. The eigenvalues ​​and eigenvectors of the covariance matrix provide important information about the power supply equipment status. By selecting the eigenvectors corresponding to the appropriate eigenvalues, accurate feature extraction is achieved, facilitating status diagnosis. The confusion matrix provides an objective evaluation method to quantify the accuracy of diagnostic results, helping railway operators make accurate decisions. By analyzing the confusion matrix, problems and inaccuracies in power supply equipment status diagnosis can be identified, guiding further optimization and improvement of the system. Mapping high-dimensional feature vectors to a high-dimensional space helps highlight the relationships between features, thereby better distinguishing different power supply equipment states. The application of a Gaussian kernel function smoothes the mapping results, helps reduce the impact of noise and interference, and improves the accuracy of status diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of the system structure of an intelligent diagnosis and evaluation system for railway power supply equipment provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] All features disclosed in this specification, or all steps in the disclosed methods or processes, except mutually exclusive features and / or steps, can be combined in any manner.

[0039] Any feature disclosed in this specification (including any appended claims and abstract), unless otherwise stated, may be replaced by other equivalent or similar features. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

[0040] Example 1: Reference Figure 1 , Example 1: Reference Figure 1, an intelligent diagnosis and evaluation system for power supply equipment on railways, the system includes: a data acquisition unit, used to collect the operating data of each time point within a set time range from all railway power supply equipment, to form a multidimensional time series, in which each sequence element is a set of operating data of all railway power supply equipment at a time point, and convert the multidimensional time series into a high-dimensional feature vector; a data processing unit, used to construct a confusion matrix, in which each row represents a known power supply equipment state, and each column represents a diagnosed state, and the high-dimensional feature vector is mapped to a high-dimensional space to obtain a mapping result, and a generative adversarial network is constructed, including a generator network and a discriminator network, wherein the generator network generates and discriminates the positive and negative features. The discriminator network distinguishes the generated feature vectors from the high-dimensional feature vectors, and trains the generative adversarial network by minimizing the objective functions of the generator network and the discriminator network. The goal of the generator network is to minimize the difference between the generated feature vector and the high-dimensional feature vector, while the goal of the discriminator is to distinguish the generated feature vector from the high-dimensional feature vector with the highest accuracy. The trained generator network is used to generate feature vectors similar to the normal state of the power supply equipment, and the generated feature vectors are compared with the high-dimensional feature vectors to determine the current state of the railway power supply equipment. The confusion matrix is ​​used to calculate the classification accuracy. If the classification accuracy is within the set threshold range, the current state is used as the diagnosis result.

[0041] Specifically, operational data includes: Current and voltage data: Railway power supply equipment's current and voltage data are key operating parameters. These data reflect the equipment's power transmission status, including current stability and voltage fluctuations. By monitoring these parameters, the system can detect whether the power supply is normal, voltage instability, or current overload. Temperature data: Power supply equipment generates heat during operation, making temperature data crucial. High temperatures may indicate equipment overheating, potentially leading to failure or damage. The system can monitor temperature data to promptly detect potential overheating issues. Vibration data: Vibration data reflects the equipment's mechanical condition. Abnormal vibration may indicate mechanical component failure or imbalance. By monitoring vibration data, the system can identify and diagnose these issues. Power quality data: Railway power supply equipment must provide high-quality power. Power quality data can include information such as voltage waveform ripple and harmonics. Poor power quality can negatively impact train operation and equipment lifespan, making monitoring this data crucial. Equipment status parameters: In addition to sensor data, equipment status parameters such as switch status, circuit breaker status, and contactor status can also be monitored. These status parameters are closely related to the operation and maintenance of the equipment.

[0042] Multidimensional time series typically contain a large number of data points, which may contain noise or irrelevant information. By converting this data into high-dimensional feature vectors, the system can reduce the data dimensionality to a smaller number, retaining the key information relevant to power supply equipment status diagnosis. This feature extraction and representation helps simplify the problem and improve the efficiency of subsequent data processing and analysis. High-dimensional feature vectors can better capture the underlying patterns and characteristics in multidimensional time series. These characteristics can include signal patterns, frequency distributions, and temporal relationships related to equipment status. By converting data into high-dimensional feature vectors, the system can more easily identify and understand these patterns, thereby more accurately diagnosing and assessing equipment status. The dimensionality of high-dimensional feature vectors can often match the requirements of other data processing components. For example, when constructing confusion matrices or training generative adversarial networks, consistent data dimensionality is required. Converting multidimensional time series into high-dimensional feature vectors ensures consistent data dimensionality across different components, simplifying the overall system design and data transfer process. In machine learning models such as generative adversarial networks, high-dimensional feature vectors are generally easier to train and optimize. This is because high-dimensional feature vectors may contain more useful information, allowing the model to better capture the statistical characteristics of the data. Therefore, converting multidimensional time series into high-dimensional feature vectors can help improve the performance and generalization ability of the model.

[0043] The confusion matrix is ​​one tool used to evaluate a system's classification performance. It compares the observed classes with the class predicted by the model, classifying the results into four categories: true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN). The number of these categories directly reflects the system's classification accuracy. The confusion matrix can be used to calculate the system's accuracy, which is the ratio of the number of correctly diagnosed samples to the total number of samples. Accuracy is an important performance metric used to measure the overall accuracy of the system in diagnosing the status of power supply equipment. Recall refers to the ratio of the number of samples successfully identified as positive by the system among actual positive examples to the total number of positive examples. In the field of railway power supply equipment, recall measures the system's sensitivity in detecting potential problems. A high recall means the system is more likely to identify problematic power supply equipment. Precision refers to the ratio of the number of samples predicted as positive by the model to the total number of samples predicted as positive by the model. Precision reflects the system's accuracy in determining the status of power supply equipment. A high precision means the system rarely mistakenly classifies healthy devices as problematic. The F1 score is the harmonic mean of recall and precision, used to comprehensively evaluate system performance. It considers both the accuracy and sensitivity of a system, making it a very useful performance metric. Confusion matrix analysis can aid in system optimization and improvement. By examining the values ​​for different categories in the confusion matrix, system weaknesses can be identified and areas for improvement to further improve performance and accuracy.

[0044] Example 2: The data acquisition unit first collects the operating data of each time point within a set time range from all railway power supply equipment. There are N railway power supply equipment, and M operating data of each railway power supply equipment are collected at each time point; the collected operating data at each time point is represented as an N×M matrix, denoted as D, where D ij Represents the operating data of the i-th device at the j-th time point; if there are T time points in the set time range, the multidimensional time series composed of the operating data of all time points is represented as a three-dimensional tensor X of T×N×M, where X tij Represents the j-th running data of the i-th device at the t-th time point. This three-dimensional tensor is represented as follows:

[0045] X={X tij |1≤t≤T,1≤i≤N,1≤j≤M};

[0046] The multidimensional time series X is converted into a high-dimensional feature vector F, where each feature vector represents the operating data of all devices at a time point. Specifically, the process includes: calculating the mean vector of the multidimensional time series; calculating the covariance matrix based on the calculated mean vector; calculating the eigenvalues ​​and eigenvectors of the covariance matrix based on the calculated covariance matrix; selecting the eigenvectors corresponding to the eigenvalues ​​greater than the set threshold to construct a high-dimensional feature vector. Assuming that K eigenvectors are selected, the high-dimensional feature vector F is expressed using the following formula:

[0047] F={F tk |1≤t≤T,1≤k≤K};

[0048] Among them, F tk represents the kth feature at the tth time point; F t is the set of features at the t-th time point.

[0049] Specifically, first, the data acquisition unit collects the operating data of each time point within the set time range from all railway power supply equipment. These data are represented in the form of a three-dimensional tensor X, where X tij Represents the jth operating data of the i-th device at the t-th time point. This representation method enables the system to simultaneously consider the data of different devices at different time points. In order to convert the multidimensional time series X into a high-dimensional feature vector F, the mean vector of the multidimensional time series is first calculated. The mean vector contains the average operating data of all devices at each time point, which helps to reduce the dimension of the data and provide the center of the overall data. Based on the calculated mean vector, the covariance matrix is ​​calculated. The covariance matrix is ​​used to measure the data relationship between different devices and between different time points. It reflects the change trend and correlation of the data. Next, the eigenvalues ​​and eigenvectors of the covariance matrix are calculated. The eigenvalues ​​and eigenvectors reflect the main change patterns of the covariance matrix. Eigenvectors are vectors in a high-dimensional space that describe the main direction of the data. From the calculated eigenvalues, the eigenvectors corresponding to the eigenvalues ​​greater than the set threshold are selected. These eigenvectors capture the most significant change patterns in the data, while ignoring noise and insignificant changes. Typically, the top K eigenvectors are selected to construct the high-dimensional feature vector F. The selected eigenvectors are used to construct the high-dimensional feature vector F. Each eigenvector F tk Represents the kth feature at the tth time point. The entire high-dimensional feature vector set F tContains all features at the tth time point. In this way, the system converts the multidimensional time series X into high-dimensional feature vectors F, each of which represents the operating data of all equipment at a given time point. This conversion helps reduce the dimensionality of the data, extract key information, and reduce the impact of noise, thereby better representing and utilizing the operating data of railway power supply equipment. The high-dimensional feature vectors F can be used for subsequent data processing and analysis, including tasks such as generative adversarial network training and condition diagnosis, thereby improving the system's performance and accuracy.

[0050] Example 3: The method for constructing a confusion matrix includes: setting S different power supply device states, marking these states as C1, C2, ..., C S , and V diagnoses were performed at the same time, and these diagnostic results were marked as D1, D2, ..., D V ; Initialize the confusion matrix C as an S×N zero matrix:

[0051]

[0052] For each diagnosis result D i , where i is the subscript, recording its true state and diagnosis state; suppose the true state of the i-th diagnosis is C j The diagnosis is D b , then the corresponding element C in the confusion matrix jb Add 1, which means the number of times the jth true state is diagnosed as the bth state, until all diagnosis results are processed; each row of the confusion matrix C represents a known power supply equipment state, and each column represents a diagnosed state; the element C of the confusion matrix ij Indicates that the true state is C i When diagnosed as C j The number of times is expressed using the following formula:

[0053]

[0054] Specifically, first, the system marks different power supply equipment states as C1, C2, ..., C S , where S represents the total number of possible power supply equipment states. These states represent various working states or health conditions of railway power supply equipment. The system performs V diagnoses and marks the results of each diagnosis as D1, D2, ..., D V These diagnostic results represent the judgment or diagnosis of the power supply device status by the system each time. The confusion matrix C is initialized to an S×N zero matrix, where S represents the total number of power supply device states and N represents the total number of diagnostic results. The purpose of this matrix is ​​to record the relationship between the true state and the diagnosed state in each diagnostic result. For each diagnostic result D i, the system will record its real state and diagnosis state. Assume that the real state of the i-th diagnosis is C j The diagnosis is D b , then the system will convert the corresponding element C in the confusion matrix jb Add 1, which indicates the number of times the jth true state is diagnosed as the bth state. This process will continue until all diagnosis results are processed. Each row of the confusion matrix C represents a known power supply device state, and each column represents a diagnosed state. The elements of the confusion matrix C ij Indicates that the true state is C i When diagnosed as C j This matrix reflects the system's diagnostic performance under different power supply equipment states. By constructing the confusion matrix, the system can clearly understand the diagnostic status of each power supply equipment state, including the number of correct diagnoses and the number of incorrect diagnoses. This enables the system to evaluate its classification performance and calculate performance metrics such as accuracy, recall, precision, and F1 score, thereby better understanding its performance and implementing optimization and improvement measures. The confusion matrix is ​​an important tool for evaluating intelligent diagnostic systems for railway power supply equipment, helping to improve the system's accuracy and reliability.

[0055] Example 4: Map the high-dimensional feature vector to a high-dimensional space using the following formula:

[0056]

[0057] Among them, Φ(F) represents the result of mapping the high-dimensional feature vector F to the high-dimensional space; δ ij is the Dirac function, which means it is 1 when i=j and 0 otherwise; F ti and F tj are the elements in the high-dimensional feature vector F, representing the i-th and j-th features at the t-th time point, respectively. σ is the standard deviation of the Gaussian kernel function, which controls the smoothness of the mapping.

[0058] Specifically, the representation of the feature is changed by mapping the high-dimensional feature vector F to a high-dimensional space. The mapping process uses the Gaussian kernel function to measure the similarity between feature vectors, and then maps them to a new representation in the high-dimensional space based on this similarity. The Gaussian kernel function is the core part of this formula, and its form is This kernel function is composed of two eigenvectors F ti and F tj The Euclidean distance between them is an exponential. The smaller the distance, the closer the exponent is to 1, indicating a higher similarity between them. The larger the distance, the closer the exponent is to 0, indicating a lower similarity between them. ij The index i and j used to distinguish the eigenvectors in the formula. When i = j, δ ijEqual to 1, indicating that the kernel function value will be calculated only when the eigenvector is at the same position; otherwise, δ ij Equal to 0, indicating that the kernel function value between eigenvectors at different locations is zero. The formula contains multiple summations, covering time point t, eigenvector index k, and eigenvector element indices i and j. These summations represent the overall contribution of all time points and eigenvector elements. By summing over all time points and eigenvector elements, the entire eigenvector can be mapped into a high-dimensional space. The standard deviation σ of the Gaussian kernel function controls the smoothness of the mapping. Larger σ values ​​result in smoother mapping results, while smaller σ values ​​result in more refined mapping results. Adjusting σ can modify the mapping properties according to specific application requirements. The mapping result, Φ(F), represents the value after the high-dimensional eigenvector F is mapped into the high-dimensional space. This value can be used in subsequent data processing tasks, such as generative adversarial network training, feature extraction, or classification. Through mapping, the representation of the eigenvector is changed, which may be more suitable for certain data analysis or machine learning algorithms. This formula maps high-dimensional eigenvectors into a high-dimensional space and uses the Gaussian kernel function to measure the similarity between eigenvectors. This mapping can be used to improve feature representation, enhance system performance on certain tasks, or be used for data analysis in specific fields. By adjusting the parameters of the Gaussian kernel function, the properties of the mapping can be controlled to adapt to different application requirements. This formula may help improve diagnostic performance or feature extraction in intelligent diagnosis and evaluation systems for railway power supply equipment.

[0059] Example 5: The generator network is represented by the following formula:

[0060]

[0061] Among them, G t is the feature vector of the generator network at the tth time point; F t is the high-dimensional feature vector at the t-th time point; G(F t-1 ) is the feature vector at the t-1th time point; K t is the Kalman gain at the t-th time point; tanh and σ are both nonlinear activation functions, σ is the Sigmoid activation function, and tanh is the hyperbolic tangent activation function; and are the weight and bias parameters of the i-th layer of the generator network; L is the total number of layers of the generator network; m is an integer ranging from 1 to L; ∈ t is the Gaussian noise term.

[0062] Specifically, the main function of the generator network is to generate the feature vector G t, these feature vectors should be similar to the state feature vectors of normal power supply equipment. The feature vectors of normal state usually contain information about the health and normal operation of the power supply equipment, so the generator network aims to generate vectors with these normal characteristics. The generator network takes into account the relationship between time points, where t represents the current time point and t-1 represents the previous time point. The generator network uses the feature vector G(F t-1 ), and the high-dimensional feature vector F at the current time point t To generate the feature vector G at the current time point t This time series modeling helps capture the dynamic changes in the state of the power supply equipment. The Kalman gain K in the formula t Used to adjust the generated feature vector G t . Kalman gain is commonly used for state estimation in control systems, and it can adjust the current estimate based on previous estimates and observations. Here, the Kalman gain is used to adjust the generated feature vector based on the feature vector at the previous time point and the current high-dimensional feature vector to improve the consistency of the generated vector with the true state. Nonlinear activation functions are used in the formula, including tanh and σ. These activation functions introduce nonlinear properties that enable the generator network to learn complex mapping relationships. This helps to simulate the nonlinear characteristics of the power supply equipment state. The generator network consists of multiple neural network layers, each with a weight matrix and bias parameters These parameters are learned during the training process to enable the generator network to generate the input high-dimensional feature vector F t and the feature vector G(F t-1 ) to generate a suitable feature vector G t In order to increase randomness and diversity, a Gaussian noise term ∈ is introduced into the formula t This noise term makes the generated feature vector have a certain degree of randomness, which helps to generate diversified vectors to better simulate the changes and noise of the real power supply equipment state.

[0063] Example 6: The discriminator network is represented by the following formula:

[0064]

[0065] Among them, D(F t ) is the output of the discriminator network at the tth time point, which represents the high-dimensional feature vector F for the input t The judgment result of and are the weights and bias parameters of the i-th layer of the discriminator network; the discriminator network also has L layers.

[0066] Specifically, the discriminator network D(Ft ) is a neural network for discriminating feature vectors, where it is used to discriminate the input high-dimensional feature vector F t Is it similar to the normal power supply equipment state? The goal of the discriminator is to output a probability value that indicates the similarity between the input feature vector and the normal state. The discriminator network also considers the relationship between time points, where t represents the current time point and t-1 represents the previous time point. The discriminator network compares the feature vector D(F t-1 ) and the high-dimensional feature vector F at the current time point t , for discrimination. The nonlinear activation functions σ and tanh are used in the formula. σ is the Sigmoid activation function, which maps the input to a range between 0 and 1, representing the probability value. Tanh is the hyperbolic tangent activation function, which maps the input to a range between -1 and 1, used to introduce nonlinear properties to handle complex mapping relationships. The discriminator network also includes multiple neural network layers, each with a weight matrix and bias parameters These parameters are learned during the training process to enable the discriminator network to learn from the input high-dimensional feature vector F t and the discrimination result D(F t-1 ) to calculate the appropriate output. Similar to the generator network, the discriminator network also introduces a Gaussian noise term ∈ t This noise term makes the output of the discriminator have a certain degree of randomness, which helps to deal with noise and uncertainty and increase robustness. The final output of the discriminator network is D(F t ), which represents the high-dimensional feature vector F for the input t The result of the discrimination is usually a probability value, which indicates the similarity between the input feature vector and the normal state. Higher values ​​indicate more similarity, and lower values ​​indicate dissimilarity.

[0067] Example 7: The objective function of the generator network is expressed using the following formula:

[0068]

[0069] Among them, L generator is the objective function value of the generator network; Φ(F t ) is the high-dimensional feature vector F t The result of mapping to high-dimensional space; λ reg is the weight of the regularization term, which is the set value; α is the learning rate; KL(P z ||P gen ) represents the distribution P of the generator network output gen With the predefined distribution P z The KL divergence between .

[0070] Specifically, The function of this item is to measure the output G of the generator network t Compared with the expected mapping result Φ(F t ). Specifically, it calculates the feature vector G generated by the generator network at each time point t t And the high-dimensional feature vector F t The result of mapping to high-dimensional space Φ(F t ) and averaged across all time points. The goal is to minimize this distance so that the generated feature vector is as close as possible to the expected mapping result. This means that the output of the generator network should be similar to the feature vector of a normal power supply device state, which helps the system perform accurate diagnosis and assessment. The regularization term is used to control the weight matrix of the generator network The size of λ. It is a weight term that is multiplied by the sum of the norms of all weight matrices. Regularization helps to avoid overfitting and makes the model more stable and generalizes better by limiting the size of the weights. The parameter λ reg Controls the weight of the regularization term and can be adjusted as needed. A larger λ reg The value of α·KL(P z |P gen )KL divergence term is used to measure the distribution P of the generator network output gen With the predefined distribution P z The difference between them. KL divergence is an indicator used to measure the difference between two probability distributions, which quantifies the information loss between the distributions. The parameter α is used to control the influence of the KL divergence term. A larger value of α will strengthen the influence of this term, making the generated feature vector distribution closer to the predefined distribution. The goal is to minimize the KL divergence so that the generated feature vector distribution is as close to the expected distribution as possible. This helps ensure that the generated feature vector is statistically consistent with the feature vector in the normal state. The objective function L of the generator network is generator The principle is to guide the training of the generator network by combining these three components. It requires that the generated feature vectors are similar to the normal state, while controlling the complexity of the model through regularization to avoid overfitting, and ensuring that the distribution of the generated feature vectors is consistent with the expected distribution through the KL divergence term. This objective function optimization process adjusts the generator network to generate feature vectors that meet the expectations and improves the performance and robustness of the intelligent diagnostic system.

[0071] Example 8: The objective function of the discriminator network is expressed using the following formula:

[0072]

[0073] Among them, L discriminator is the objective function value of the discriminator network; β is the gradient penalty item value, which is the set value; The gradient of the output of the discriminator network at the tth time point; CEP gen ,P z ) represents the distribution P of the generator network output gen With the predefined distribution P z The cross entropy loss between .

[0074] Specifically, This term measures the effect of the discriminator network on the output G of the generator network. t And the high-dimensional feature vector F t The result of mapping to high-dimensional space Φ(F t ) and the cross entropy loss between the predicted probability and the true label (0 or 1). For the generator network output G t , we hope that the discriminator network can predict the probability of it being a real normal state, so we use logD(G t ). For the high-dimensional feature vector F t The result of mapping to high-dimensional space Φ(F t ), we hope that the discriminator network can predict the probability that it is generated by the generator, so we use log(1-D(Φ(F t ))). This term is used to regularize the gradient of the discriminator network. represents the gradient of the output of the discriminator network at time point t. The goal is to make the gradient tend to a predefined gradient β, thereby enhancing the stability of the model. The parameter α controls the influence of the regularization term. CE(P gen ,P z ) This term represents the distribution P of the generator network output gen With the predefined distribution P z The cross entropy loss between them. Cross entropy is used to measure the similarity between two probability distributions. The goal is to minimize the difference between the distribution of the generator network output and the predefined distribution to ensure that the generated feature vector distribution is as close to the expected distribution as possible. The objective function L of the discriminator network is discriminator The combination of these three components guides the training of the discriminator network. It requires the discriminator network to accurately predict the output of the generator network and the authenticity of the result of mapping high-dimensional feature vectors to high-dimensional space. The gradient regularization term enhances the stability of the model, and the cross-entropy term ensures that the distribution of generated feature vectors is consistent with the expected distribution. This objective function optimization process helps improve the performance and robustness of the discriminator network while encouraging the generator network to produce feature vectors with more similarity and statistical properties.

[0075] Example 9: A method for calculating classification accuracy using a confusion matrix includes calculating the number of true positives TP, false positives FP, and false negatives FN in the confusion matrix, as well as the number of true negatives TN, using the following calculation formulas:

[0076]

[0077] Then use the following formula to calculate the classification accuracy:

[0078]

[0079] Among them, Accuracy is the classification accuracy.

[0080] Specifically, calculate the true positives (TP) in the confusion matrix: This step calculates the sum of all diagonal elements in the confusion matrix, which represent the number of examples correctly classified as that class. This sum is the true positives (TP). Calculate the false positives (FP) in the confusion matrix: False positives (FP) represent the number of examples incorrectly classified as the positive class. It is calculated by subtracting TP from the sum of all elements in the confusion matrix. This sum includes the number of examples incorrectly classified as positive in each class. Calculate the false negatives (FN) in the confusion matrix: False negatives (FN) represent the number of examples incorrectly classified as the negative class. It is also calculated by subtracting TP from the sum of all elements in the confusion matrix. This sum includes the number of examples incorrectly classified as negative in each class. Calculate the true negatives (TN) in the confusion matrix: True negatives (TN) represent the number of examples correctly classified as the negative class. It is calculated by subtracting TP, FP, and FN from the sum of all elements in the confusion matrix. This sum includes the number of examples correctly classified as negative in each class. Calculate Classification Accuracy: Classification accuracy is the ratio of the number of correctly classified samples (the sum of TP and TN) to the total number of samples (the sum of TP, FP, FN, and TN). It is a percentage that measures the overall performance of the classification model. The higher the classification accuracy, the better the model performance.

[0081] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these specific embodiments are merely illustrative, and that those skilled in the art may omit, substitute, and modify the details of the methods and systems described above without departing from the principles and spirit of the present invention. For example, combining the above method steps to perform substantially the same functions in substantially the same manner to achieve substantially the same results falls within the scope of the present invention. Accordingly, the scope of the present invention is limited solely by the appended claims.

[0082] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these specific embodiments are merely illustrative, and that those skilled in the art may omit, substitute, and modify the details of the methods and systems described above without departing from the principles and spirit of the present invention. For example, combining the above method steps to perform substantially the same functions in substantially the same manner to achieve substantially the same results falls within the scope of the present invention. Accordingly, the scope of the present invention is limited solely by the appended claims.

Claims

1. Intelligent diagnosis and evaluation system for power supply equipment on railways, characterized by: The system comprises: a data acquisition unit, which is used to collect the operation data of each time point within a set time range from all railway power supply equipment to form a multidimensional time series, in which each sequence element is a set of operation data of all railway power supply equipment at a time point, and convert the multidimensional time series into a high-dimensional feature vector; a data processing unit, which is used to construct a confusion matrix, in which each row represents a known power supply equipment state, each column represents a diagnosed state, and the high-dimensional feature vector is mapped to a high-dimensional space to obtain a mapping result, and construct a generative adversarial network, including a generator network and a discriminator network, wherein the generator network generates a feature vector similar to a normal power supply equipment state, and the discriminator network distinguishes the generated feature vector from the high-dimensional feature vector, and the generator network is trained by minimizing the objective functions of the generator network and the discriminator network. An adversarial network is formed, wherein the goal of the generator network is to minimize the difference between the generated feature vector and the high-dimensional feature vector, and the goal of the discriminator is to distinguish the generated feature vector from the high-dimensional feature vector with the highest accuracy. The trained generator network is used to generate a feature vector similar to the normal state of the power supply equipment, and the generated feature vector is compared with the high-dimensional feature vector to determine the current state of the railway power supply equipment. The classification accuracy is calculated using a confusion matrix. If the classification accuracy is within a set threshold range, the current state is used as a diagnosis result; the data acquisition unit first collects the operating data of each time point within a set time range from all railway power supply equipment, and there are N railway power supply equipment, and M operating data of each railway power supply equipment is collected at each time point; the collected operating data at each time point is represented as an N×M matrix, denoted as D, where D ij represents the operating data of the i-th device at the j-th time point; if there are T time points in the set time range, the multidimensional time series composed of the operating data of all time points is represented as a three-dimensional tensor X of T×N×M, where X tij Represents the j-th running data of the i-th device at the t-th time point. This three-dimensional tensor is represented as follows: X={X tij ∣1≤t≤T,1≤i≤N,1≤j≤M}; The multidimensional time series X is converted into a high-dimensional feature vector F, where each feature vector represents the operating data of all devices at a time point, specifically including: calculating the mean vector of the multidimensional time series; calculating the covariance matrix based on the calculated mean vector; calculating the eigenvalues ​​of the covariance matrix and the eigenvectors of the covariance matrix based on the calculated covariance matrix; selecting the eigenvectors corresponding to the eigenvalues ​​greater than the set threshold to construct the high-dimensional feature vector. If K eigenvectors are selected, the high-dimensional feature vector F is expressed using the following formula: F={F tk ∣1≤t≤T,1≤k≤K}; Among them, F tk represents the kth feature at the tth time point; F t is the set of features at the tth time point.

2. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 1, characterized in that: The method of constructing a confusion matrix includes: assuming S different power supply device states, marking these states as C1, C2, ..., C S , and V diagnoses were performed at the same time, and these diagnostic results were marked as D1, D2, …, D V ; Initialize the confusion matrix C as an S×N zero matrix: For each diagnosis result D i , where i is the subscript, recording its true state and diagnosis state; suppose the true state of the i-th diagnosis is C j The diagnosis is D b , then the corresponding element C in the confusion matrix jb Add 1, which indicates the number of times the jth true state is diagnosed as the bth state, until all diagnosis results are processed; each row of the confusion matrix C represents a known power supply device state, and each column represents a diagnosed state; the element C of the confusion matrix ij Indicates that the true state is C i Diagnosed as C j The number of times is expressed using the following formula:

3. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 2, characterized in that: The high-dimensional feature vector is mapped to a high-dimensional space through the following formula: Among them, Φ(F) represents the result of mapping the high-dimensional feature vector F to the high-dimensional space; δ ij is the Dirac function, which means it is 1 when i=j and 0 otherwise; F ti and F tj are elements in the high-dimensional feature vector F, representing the i-th and j-th features at the t-th time point respectively. σ is the standard deviation of the Gaussian kernel function, which controls the smoothness of the mapping.

4. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 3, characterized in that: The generator network is represented by the following formula: Among them, G t is the feature vector of the generator network at the tth time point; F t is the high-dimensional feature vector at the t-th time point; G(F t-1 ) is the feature vector at the t-1th time point; K t is the Kalman gain at the tth time point; tanh and σ are both nonlinear activation functions, σ is the Sigmoid activation function, and tanh is the hyperbolic tangent activation function; and are the weights and bias parameters of the i-th layer of the generator network; L is the total number of layers of the generator network; m is an integer ranging from 1 to L; ∈ t is the Gaussian noise term.

5. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 4, characterized in that: The discriminator network is represented by the following formula: Among them, D(F t ) is the output of the discriminator network at the tth time point, indicating the high-dimensional feature vector F for the input t The judgment result of and are the weights and bias parameters of the i-th layer of the discriminator network; the discriminator network also has L layers.

6. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 5, characterized in that: The objective function of the generator network is expressed as follows: Among them, L generator is the objective function value of the generator network; Φ(F t ) is the high-dimensional feature vector F t The result of mapping to high-dimensional space; λ reg is the weight of the regularization term, which is the set value; α is the learning rate; KL(P z ||P gen ) represents the distribution P of the generator network output gen With the predefined distribution P z The KL divergence between .

7. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 6, characterized in that: The objective function of the discriminator network is expressed as follows: Among them, L discriminator is the objective function value of the discriminator network; β is the gradient penalty item value, which is the set value; The gradient of the output of the discriminator network at the tth time point; CE(P gen ,P z ) represents the distribution P of the generator network output gen With the predefined distribution P z The cross entropy loss between .

8. The intelligent diagnosis and evaluation system for power supply equipment on railways as claimed in claim 7, characterized in that: The method of calculating the classification accuracy using the confusion matrix includes: calculating the number of true positive examples TP, false positive examples FP and false negative examples FN in the confusion matrix, and the number of true negative examples TN. The calculation formulas are as follows: TP=C 11 +C 22 +…+C NN Then use the following formula to calculate the classification accuracy: Among them, Accuracy is the classification accuracy.

Citation Information

Patent Citations

  • Rapid fault diagnosis method and system for power supply and transformation key equipment

    CN115169506A

  • Abnormity detection method based on multi-time scale deep convolutional generative adversarial network

    CN116383747A

  • Motion state quantity evaluation method based on artificial intelligence

    CN117009876A

  • Novel fault identification method and device based on flow discrimination model

    CN117150399A

  • System and method for DNN-based cyber-security using federated learning-based generative adversarial network

    US20230308465A1

Cited By

  • Electrical control box health monitoring method and system

    CN121027626A