A turnout equipment health degree diagnosis method, system, device and medium

By filtering and correcting the current data of turnout equipment, a feature dataset is constructed, and cluster analysis is performed using the XGboost model. This solves the problems of high data processing complexity and low accuracy in the health diagnosis of turnout equipment, and realizes real-time health monitoring and accurate diagnosis.

CN118940062BActive Publication Date: 2026-11-24HEFEI GOCOM INFORMATION &TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410994781.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2026-11-24
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The health diagnosis of turnout equipment involves high complexity in processing operational data and low accuracy in diagnosis and prediction.

Method used

By acquiring current data, filtering and correcting it, constructing a feature dataset, and using the XGboost model for cluster analysis, the health status of the equipment can be obtained.

Benefits of technology

It enables real-time health monitoring of turnout equipment, improves the accuracy and efficiency of diagnosis, reduces the complexity of data processing, and captures potential similarities and differences between equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940062B_ABST
    Figure CN118940062B_ABST
Patent Text Reader

Abstract

This invention relates to the field of turnout diagnosis and prediction, and discloses a method for diagnosing the health of turnout equipment. The method includes: acquiring current data of a target turnout equipment within a preset time period; filtering and correcting the current data to obtain current analysis data; constructing a feature dataset of the current analysis data; performing clustering calculations on the feature dataset to obtain clustering results; and analyzing the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment. This invention can reduce the complexity of turnout equipment operation data processing and improve the accuracy of health diagnosis and prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of turnout diagnosis and prediction, and in particular to a method, system, equipment and medium for diagnosing the health status of turnout equipment. Background Technology

[0002] Health diagnosis of turnout equipment is a key technical means in the railway transportation field, which aims to assess the working status and health status of the equipment by real-time monitoring and analysis of the operating data of the turnout system.

[0003] Turnout equipment health diagnostics collects operational data from the turnout system, such as electrical signals, mechanical vibrations, and temperature changes. The diagnostic system analyzes this data and identifies potential fault characteristics. Railway transportation, as a vital mode of public transport, demands extremely high safety and operational efficiency. Turnouts, as critical equipment on railway lines, can cause not only disruptions to train operations but also accidents and delays. Therefore, timely and effective monitoring and diagnosis of turnout equipment health is paramount. The introduction of health diagnostic technology enables real-time monitoring and intelligent analysis of the turnout system, helping railway operators promptly identify and resolve problems, thereby improving the overall safety, reliability, and efficiency of the transportation system.

[0004] However, existing technologies for health diagnosis of turnout equipment still suffer from problems such as high complexity in processing turnout equipment operation data and low accuracy in health diagnosis prediction. Summary of the Invention

[0005] This invention provides a method, system, electronic device, and computer-readable storage medium for diagnosing the health status of turnout equipment. Its main purpose is to solve the problems of high complexity in processing turnout equipment operation data and low accuracy in health status diagnosis and prediction.

[0006] To achieve the above objectives, the present invention provides a method for diagnosing the health status of turnout equipment, comprising:

[0007] Acquire the current data of the target turnout equipment within a preset time period;

[0008] The current data is filtered and corrected to obtain current analysis data;

[0009] Construct a feature dataset of the current analysis data;

[0010] Clustering calculations are performed on the feature dataset to obtain the clustering results;

[0011] The clustering results are analyzed using a preset XGboost model to obtain the health status of the target turnout equipment.

[0012] In one embodiment of the present invention, the step of filtering and correcting the current data to obtain current analysis data includes:

[0013] Filter out the single turnout operation current data segment from the current data;

[0014] The number of times null currents appear in the single turnout operation current data segment is counted.

[0015] If the number of occurrences is greater than or equal to the preset number, then the null current in the single turnout operation current data segment is filtered to obtain current analysis data.

[0016] If the number of occurrences is less than the preset number, then the null current in the single turnout operation current data segment is interpolated to obtain current analysis data.

[0017] In one embodiment of the present invention, interpolating the null current in the single turnout operation current data segment to obtain current analysis data includes:

[0018] Calculate the first-order difference quotient of the adjacent data points based on the adjacent data points of the null current;

[0019] Construct a Newton interpolation polynomial based on the calculation results of the first-order difference quotient;

[0020] The function value of the null current is calculated using the Newton interpolation polynomial.

[0021] The null current is interpolated using the function value to obtain current analysis data.

[0022] In one embodiment of the present invention, constructing the feature dataset of the current analysis data includes:

[0023] Calculate the time-domain characteristics of the current analysis data;

[0024] Calculate the sample entropy and sorting entropy of the current analysis data;

[0025] The time-domain features, the sample entropy, and the sorting entropy are used as the feature dataset of the current analysis data.

[0026] In one embodiment of the present invention, the step of performing clustering calculation on the feature dataset to obtain clustering results includes:

[0027] Each feature data in the feature dataset is treated as a cluster;

[0028] Calculate the cluster distance between each cluster and convert the cluster distance into a distance matrix;

[0029] The two clusters with the smallest cluster distance in the distance matrix are merged to obtain the updated cluster;

[0030] Calculate the update distance between the updated cluster and other clusters, and iterate the distance matrix using the update distance;

[0031] Determine whether the minimum value of the updated distance is less than a preset distance threshold;

[0032] When the minimum value of the updated distance is greater than or equal to the distance threshold, the step of merging the two clusters with the smallest cluster distance in the distance matrix is ​​returned.

[0033] If the minimum value of the updated distance is less than the distance threshold, then the updated cluster is taken as the clustering result.

[0034] In one embodiment of the present invention, converting the cluster distance into a distance matrix includes:

[0035] Construct an initial distance matrix whose rows and columns represent the number of feature data in the feature dataset;

[0036] The initial distance matrix is ​​filled with the cluster distance to obtain the distance matrix.

[0037] In one embodiment of the present invention, the step of analyzing the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment includes:

[0038] Calculate the predicted label for each feature data in the clustering results based on the XGboost model;

[0039] Each feature data in the clustering result is grouped according to the predicted label, and the cluster center of each group is calculated;

[0040] Calculate the feature values ​​of the preset features for each cluster center;

[0041] The characteristic values ​​are weighted and averaged, and the health of the target turnout equipment is determined based on the weighted average result.

[0042] To address the above problems, the present invention also provides a turnout equipment health diagnosis system, the system comprising:

[0043] The data acquisition module is used to acquire the current data of the target turnout equipment within a preset time period;

[0044] The data cleaning module is used to filter and correct the current data to obtain current analysis data;

[0045] The feature dataset construction module constructs a feature dataset of the current analysis data.

[0046] The clustering calculation module is used to perform clustering calculations on the feature dataset to obtain clustering results.

[0047] The data analysis module is used to analyze the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment.

[0048] To address the above problems, the present invention also provides an electronic device, the electronic device comprising:

[0049] At least one processor; and,

[0050] A memory communicatively connected to the at least one processor; wherein,

[0051] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the steps of the above-described turnout equipment health diagnosis method.

[0052] To address the aforementioned problems, the present invention also provides a computer-readable storage medium storing at least one computer program, which is executed by a processor in an electronic device to implement the steps of the above-described turnout equipment health diagnosis method.

[0053] The current data of the target turnout equipment within a preset time period in this invention can effectively achieve real-time monitoring and evaluation of the equipment's health status. Filtering and correcting the current data ensures more accurate analysis results, helps to promptly detect current anomalies, and allows for timely data optimization. It captures key features in the current data, providing a more macroscopic view of the target turnout equipment's current status. Based on the shortest distance, hierarchical clustering calculation of the feature dataset automatically discovers cluster structures in the data without pre-specifying the number of clusters. Using a preset XGBoost model to analyze the clustering results of the target turnout equipment effectively handles high-dimensional features and large-scale data, reducing the complexity of processing complex features and diverse data of the turnout equipment. It can capture potential similarities and differences between different devices, further optimizing and adjusting the clustering algorithm to improve the accuracy of the clustering results. Therefore, the present invention proposes a turnout equipment health diagnosis method, system, electronic device, and computer-readable storage medium, the main purpose of which is to solve the problems of high complexity in processing turnout equipment operating data and low accuracy in health diagnosis prediction. Attached Figure Description

[0054] Figure 1 This is a flowchart illustrating a method for diagnosing the health status of turnout equipment according to an embodiment of the present invention.

[0055] Figure 2 A functional block diagram of a turnout equipment health diagnosis system provided in an embodiment of the present invention;

[0056] Figure 3 This is a schematic diagram of the structure of an electronic device for implementing the turnout equipment health diagnosis method according to an embodiment of the present invention.

[0057] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0058] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0059] This application provides a method for diagnosing the health status of turnout equipment. The executing entity of this method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, or other electronic devices. In other words, the method for diagnosing the health status of turnout equipment can be executed by software or hardware installed on a terminal device or a server device.

[0060] Reference Figure 1 The diagram shown is a flowchart illustrating a method for diagnosing the health status of turnout equipment according to an embodiment of the present invention. In this embodiment, the method for diagnosing the health status of turnout equipment includes:

[0061] S1. Obtain the current data of the target turnout equipment within a preset time period.

[0062] In this embodiment of the invention, the current data of the target turnout equipment can be obtained from a database.

[0063] This invention can effectively monitor and evaluate the health status of a target turnout device in real time by acquiring the current data of the target turnout device within a preset time period, thereby predicting potential faults in advance, improving the reliability and safety of the device, and providing analytical data for the diagnosis of the health status of the turnout device.

[0064] S2. Filter and correct the current data to obtain current analysis data.

[0065] In this embodiment of the invention, the step of filtering and correcting the current data to obtain current analysis data includes: selecting single-turnout operation current data segments from the current data; counting the number of occurrences of null currents in the single-turnout operation current data segments; if the number of occurrences is greater than or equal to a preset number, filtering the null currents in the single-turnout operation current data segments to obtain current analysis data; if the number of occurrences is less than the preset number, interpolating the null currents in the single-turnout operation current data segments to obtain current analysis data.

[0066] In detail, the single turnout operation current data segment refers to the complete current data for completing one turnout operation, wherein the complete current data for one turnout operation includes a complete cycle of a turnout from before unlocking - unlocking - switching - locking - after locking.

[0067] Specifically, if the number of occurrences is greater than or equal to the preset number, then null currents in the single turnout operation current data segment are deleted, and current data other than null currents are used as current analysis data. For example, if the preset number is 2, and the number of occurrences is less than the preset number, then null currents that have occurred once in the single turnout operation current data segment are interpolated; if the number of occurrences is greater than or equal to the preset number, then null currents that have occurred two or more times in the single turnout operation current data segment are deleted.

[0068] In this embodiment of the invention, the step of interpolating the null current in the single turnout operation current data segment to obtain current analysis data includes: calculating the first-order difference quotient of the adjacent data points based on the adjacent data points of the null current; constructing a Newton interpolation polynomial based on the calculation result of the first-order difference quotient; calculating the function value of the null current using the Newton interpolation polynomial; and interpolating the null current using the function value to obtain current analysis data.

[0069] In this embodiment of the invention, Newton interpolation can be performed on the null current in the single turnout operation current data segment. Assuming that the known adjacent data points of the null current are A(a1, b1) and B(a2, b2), the first-order difference quotient can be calculated. Using the first-order difference quotient, a polynomial p(x) = b1 + F[a1,a2](a-a1) is constructed according to the Newton interpolation formula. The x-coordinate corresponding to the null current is substituted into the constructed Newton interpolation polynomial to obtain the function value. The function value is then used to interpolate the null current.

[0070] Newton interpolation utilizes recursion to construct the interpolation polynomial. This allows the polynomial to be updated directly using the difference quotient of known data points, rather than recalculating the entire polynomial when adding new data points, thus saving computational resources and improving efficiency. Newton interpolation is suitable for various dataset types, accurately constructing interpolation polynomials regardless of whether the data points are uniformly or non-uniformly spaced. It exhibits high numerical stability and, compared to other interpolation methods such as Lagrange interpolation, better guarantees numerical accuracy and stability during computation.

[0071] This invention filters and corrects the current data, thereby improving the accuracy of current analysis. Through effective data processing, abnormal data can be corrected, ensuring more precise analysis results and facilitating the timely detection of current anomalies and optimization of the data.

[0072] S3. Construct the feature dataset of the current analysis data.

[0073] In this embodiment of the invention, constructing the feature dataset of the current analysis data includes: calculating the time-domain features of the current analysis data; calculating the sample entropy and sorting entropy of the current analysis data; and using the time-domain features, the sample entropy, and the sorting entropy as the feature dataset of the current analysis data.

[0074] In detail, the time-domain features include: mean, standard deviation, root mean square, maximum, maximum-minimum difference, waveform factor, impulse factor, skewness, kurtosis, and mode. Time-domain features are characteristic parameters obtained by statistically analyzing the changes of signals or data on the time axis, and can intuitively reflect the overall characteristics and fluctuations of the data.

[0075] Sample entropy and order entropy are metrics used to measure the complexity and irregularity of signals, providing a deeper level of data analysis. Sample entropy assesses the complexity by calculating the frequency distribution of adjacent data points in a signal sequence, while order entropy reflects the irregularity and information content of the data based on the change in the arrangement order of data points.

[0076] The characteristic parameters calculated by this invention not only help to accurately describe and understand the characteristics of signals, but also provide a reliable foundation and methods for data prediction, fault diagnosis, equipment health monitoring and system optimization, thereby improving the reliability and performance efficiency of equipment.

[0077] S4. Perform clustering calculations on the feature dataset to obtain the clustering results.

[0078] In this embodiment of the invention, the step of performing clustering calculation on the feature dataset to obtain clustering results includes: treating each feature data in the feature dataset as a cluster; calculating the cluster distance between each cluster and converting the cluster distance into a distance matrix; merging the two clusters with the smallest cluster distance in the distance matrix to obtain an updated cluster; calculating the update distance between the updated cluster and other clusters, and iterating the distance matrix using the update distance; determining whether the minimum value of the update distance is less than a preset distance threshold; when the minimum value of the update distance is greater than or equal to the distance threshold, returning to the step of merging the two clusters with the smallest cluster distance in the distance matrix; when the minimum value of the update distance is less than the distance threshold, using the updated cluster as the clustering result.

[0079] In this embodiment of the invention, when the update distance between the updated cluster and other clusters is less than a preset distance threshold, the updated cluster containing several feature data at this time is taken as the clustering result.

[0080] In this embodiment of the invention, converting the cluster distance into a distance matrix includes: constructing an initial distance matrix whose rows and columns are the number of feature data in the feature dataset; and filling the initial distance matrix with the cluster distance to obtain a distance matrix.

[0081] Specifically, an initial distance matrix is ​​constructed, where the rows and columns represent the number of feature data points in the feature dataset. Based on the calculated cluster distances between each cluster, these cluster distances are filled into the corresponding positions in the initial distance matrix to obtain the final distance matrix. Assume the distance between cluster u and cluster v is d. uv Since the distance matrix is ​​symmetric, the positions D[u,v] and D[v,u] in the distance matrix should be set to d. uv When filling the distance, the values ​​at the symmetrical positions should be updated simultaneously.

[0082] For the remaining unfilled positions D[u,v] (where u≠v), set an initial value as needed. Typically, these elements can be set to infinity, indicating that the cluster is initially considered to be independent of each other.

[0083] The dynamic time warping algorithm terminates clustering when the update distance between the updated cluster and other clusters is less than a preset distance threshold, and the resulting updated cluster is the clustering result. When calculating the distance between each feature data point in the feature dataset, the dynamic time warping algorithm dynamically adjusts the alignment path between time series, taking into account changes in length and speed. This effectively solves the problem of offset and distortion on the time axis, providing more accurate clustering results.

[0084] The distance between each cluster can be calculated using three characteristic values: the difference in current length, the difference in the average value of the non-null current curve after removing the maximum value, and the peak difference during the latching phase. These three characteristics are used to balance the shortcomings of the dynamic time warping algorithm. The distance and characteristic values ​​are then weighted to obtain a new distance.

[0085] For example, the calculation formula for the current length difference with a weight of 0.2 is as follows:

[0086] eps1=abs(len(line1)-len(line2))*0.2;

[0087] Here, line1 and line2 represent the current curves, and abs(len(line1)-len(line2)) represents the absolute value of the difference in current lengths.

[0088] The formula for calculating the difference between the average values ​​of the non-null current curves after removing the maximum value, with a weight of 8, is as follows:

[0089]

[0090] Where line1 and line2 represent current curves, sum(line2) represents the total length of current curve 2, max(line2) represents the maximum value of current curve 2, len(np.nonzero(line2)[0] represents the length of current curve 2 excluding null values, sum(line1) represents the total length of current curve 1, max(line1) represents the maximum value of current curve 1, and len(np.nonzero(line1)[0] represents the length of current curve 1 excluding null values.

[0091] The formula for calculating the peak difference during the lockout phase, with a weight of 5, is as follows:

[0092] eps3=abs(max(line1_t3)-max(line2_t3))*5;

[0093] Where line1 and line2 represent the current curves, line1_t3 and line2_t3 represent the latch-up phases, max(line1_t3) represents the maximum length of line1 during the latch-up phase, max(line2_t3) represents the maximum length of line2 during the latch-up phase, and abs(max(line1_t3)-max(line2_t3)) represents the absolute value of the peak difference during the latch-up phase.

[0094] The current length difference can assess the duration change of the current waveform, reflecting the continuity and periodicity of current activity. The difference between the average values ​​of non-null current curves after removing the maximum value can eliminate the influence of current peak values ​​on the overall average value, more accurately revealing the true trend of current data changes, which helps to identify and analyze abnormal states or changes. The peak difference in the locking phase assesses the peak variation of current in a specific operating phase, reflecting the characteristics of current fluctuations in turnout equipment during the locking phase, and providing an important reference for the health diagnosis of turnout equipment.

[0095] Hierarchical clustering of feature datasets based on the shortest distance can automatically discover clustering structures in the data without pre-specifying the number of clusters. By progressively merging the nearest data points or clusters, this algorithm can provide a detailed hierarchical clustering structure and typically exhibits good robustness to noisy data.

[0096] S5. Analyze the clustering results using the preset XGboost model to obtain the health status of the target turnout equipment.

[0097] In this embodiment of the invention, the step of analyzing the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment includes: calculating the predicted label of each feature data in the clustering results according to the XGboost model; grouping each feature data in the clustering results according to the predicted label and calculating the cluster center of each group; calculating the feature value of a preset feature for each cluster center; performing a weighted average on the feature values, and determining the health status of the target turnout equipment based on the weighted average result.

[0098] Specifically, each feature data in the clustering result is grouped according to the predicted label, and all feature data points with the same predicted label are placed in the same group.

[0099] In this embodiment of the invention, for each group, the minimum value of the sum of the distances between the current curve corresponding to each group and all other curves is calculated as the cluster center, which is the actual current curve.

[0100] In this embodiment of the invention, the preset features include the maximum value, minimum value, maximum-minimum value difference, running time, and non-zero average value during the conversion stage.

[0101] In detail, the feature values ​​calculated for each cluster center are weighted and averaged with their corresponding weights. The weighted average result is then assigned a health score according to the 13 categories of labels. For example, the preset feature weights are as follows: the maximum value during the transition phase has a weight of 1.1, the minimum value during the transition phase has a weight of 0.9, the difference between the maximum and minimum values ​​has a weight of 1.5, the running time has a weight of 0.1, and the non-zero average value has a weight of 0.5. Here, the transition phase refers to the transition state within the complete cycle of a single turnout operation.

[0102] The preset features are weighted with their corresponding weights to obtain a weighted result of the preset features. The weighted result is then averaged, and the weighted average result is assigned a health level according to the labels. The turnout equipment health diagnosis system classifies healthy and deteriorated states into 13 categories, labeled 0, 1, 2, ..., 11, 12. Label 0 indicates very healthy, with no deterioration; label 12 indicates unhealthy, with very severe deterioration.

[0103] The pre-defined XGBoost model iteratively predicts each feature data in the clustering result by training multiple trees, continuously optimizing the objective function of the XGBoost model and improving its prediction accuracy. Assume the tree model to be trained in the t-th iteration is f. t (x), the tree model of the XGboost algorithm can be represented as:

[0104]

[0105] in, x represents the feature data in the clustering result after the t-th iteration. i Predicted labels, f represents the predicted label after the first t-1 iterations. t (x i ) represents the tree model in the t-th iteration.

[0106] The objective function of the tree model in the t-th iteration consists of the loss function and regularization term of the XGboost model, as shown in the following formula:

[0107]

[0108] in, This represents the loss function in the XGBoost model. This represents summing the complexity of all t trees and using it as the regularization term of the objective function.

[0109] set up x represents the clustering result after the t-th iteration. i Predicted labels:

[0110]

[0111] in, f represents the predicted label after the first t-1 iterations. t (x i ) represents the tree model in the t-th iteration.

[0112] Will Substitute into the objective function:

[0113]

[0114] in,

[0115]

[0116] Will Substitute Obj (t) :

[0117]

[0118] in, This represents the loss function in the XGBoost model. f represents the predicted label after the first t-1 iterations. t (x i ) represents the tree model in the t-th iteration, Ω(f) t ) represents the complexity of the tree model in the t-th iteration.

[0119] right Performing a Taylor expansion, we obtain the following formula:

[0120]

[0121] Among them, g i h is the first derivative of the loss function. i It is the second derivative of the loss function, f t (x i ) represents the tree model in the t-th iteration, Ω(f) t ) represents the complexity of the tree model in the t-th iteration.

[0122] The regularization term of the objective function is determined by the L2 normal form of the vector consisting of the number of leaf nodes in all generated trees and the weights of all nodes:

[0123]

[0124] Substituting into the objective function, we get:

[0125]

[0126] Where T represents the number of leaves. Let g represent the L2 norm of the weight vector of the j-th leaf node. i h is the first derivative of the loss function. i γ is the second derivative of the loss function, γ represents the leaf node coefficient, and λ represents the regularization penalty coefficient.

[0127] The objective function with respect to ω j Find the first derivative and set the result to 0 to obtain the weight corresponding to leaf node j. Substitution and define and The final expression for the objective function is:

[0128]

[0129] Where, ω j Let G represent the weight of the j-th leaf node, T represent the number of leaves, γ represent the leaf node coefficient, λ represent the regularization penalty coefficient, and G represent the weight of the j-th leaf node. j H represents the sum of the first-order partial derivatives of the samples contained in the j-th leaf node. j Obj represents the sum of the second-order partial derivatives of the samples contained in the j-th leaf node. (t) This represents the objective function.

[0130] The XGboost model can handle complex nonlinear relationships and interaction effects. Through ensemble learning of multiple trees, it effectively captures the trend of current data, improves the accuracy and generalization ability of the clustering results, and has the characteristics of strong interpretability, easy understanding and adjustment.

[0131] The clustering results of the target turnout equipment are analyzed using the preset XGboost model, which effectively handles high-dimensional features and large-scale data, reduces the complexity of processing the complex features and diverse data of the turnout equipment, and can capture the potential similarities and differences between different equipment. The clustering algorithm can be further optimized and adjusted to improve the accuracy of the clustering results.

[0132] like Figure 2 The diagram shown is a functional block diagram of a turnout equipment health diagnosis system according to an embodiment of the present invention. Depending on the functions implemented, the turnout equipment health diagnosis system 400 may include a data acquisition module 401, a data cleaning module 402, a feature dataset construction module 403, a clustering calculation module 404, and a data analysis module 405. The modules described in this invention can also be referred to as units, which are a series of computer program segments that can be executed by the processor of the turnout equipment health diagnosis system and can perform a fixed function, and are stored in the memory of the turnout equipment health diagnosis system.

[0133] In this embodiment, the functions of each module / unit are as follows:

[0134] The data acquisition module is used to acquire the current data of the target turnout equipment within a preset time period;

[0135] The data cleaning module is used to filter and correct the current data to obtain current analysis data;

[0136] The feature dataset construction module constructs a feature dataset of the current analysis data.

[0137] The clustering calculation module is used to perform clustering calculations on the feature dataset to obtain clustering results.

[0138] The data analysis module is used to analyze the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment.

[0139] In detail, each module in the turnout equipment health diagnosis system 400 described in this embodiment of the invention uses the same technical means as the turnout equipment health diagnosis method described in the accompanying drawings, and can produce the same technical effect, which will not be repeated here.

[0140] like Figure 3 The diagram shown is a structural schematic of an electronic device for implementing a turnout equipment health diagnosis method according to an embodiment of the present invention.

[0141] The electronic device 1000 may include a processor 1001, a memory 1002, a communication bus 1003, and a communication interface 1004. It may also include a computer program stored in the memory 1002 and capable of running on the processor 1001, such as a turnout equipment health diagnosis program.

[0142] The processor 1001 is the control unit of the electronic device. It connects to various components of the electronic device through various interfaces and lines. It performs various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 1002 and calling data stored in the memory 1002.

[0143] The memory 1002 includes at least one type of readable storage medium. In some embodiments, the memory 1002 may be an internal storage unit of an electronic device, such as a portable hard drive. The memory 1002 can be used not only to store application software installed on the electronic device but also various types of data.

[0144] The communication bus 1003 is configured to enable communication between the memory 1002 and at least one processor 1001.

[0145] The communication interface 1004 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface.

[0146] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device 1000, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0147] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in the scope of the patent application.

[0148] The turnout equipment health diagnosis program stored in the memory 1002 of the electronic device 1000 is a combination of multiple instructions. When run in the processor 1001, it can implement the steps in the above-mentioned turnout equipment health diagnosis method.

[0149] Specifically, the specific implementation system of the processor 1001 of the above instructions can be referred to the description of the relevant steps in the corresponding embodiments of the accompanying drawings, which will not be repeated here.

[0150] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can implement the steps in the above-described method for diagnosing the health status of turnout equipment.

[0151] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0152] Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within the invention. No appended diagram markings in the claims should be construed as limiting the scope of the claims.

[0153] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any specific order.

[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for diagnosing the health status of turnout equipment, characterized in that, The method includes: Acquire the current data of the target turnout equipment within a preset time period; The current data is filtered and corrected to obtain current analysis data; Construct a feature dataset of the current analysis data; The feature dataset for constructing the current analysis data includes: Calculate the time-domain characteristics of the current analysis data; Calculate the sample entropy and sorting entropy of the current analysis data; The time-domain features, the sample entropy, and the sorting entropy are used as the feature dataset of the current analysis data. Clustering calculations are performed on the feature dataset to obtain the clustering results; The step of performing clustering calculations on the feature dataset to obtain clustering results includes: Each feature data in the feature dataset is treated as a cluster; Calculate the cluster distance between each cluster and convert the cluster distance into a distance matrix; The two clusters with the smallest cluster distance in the distance matrix are merged to obtain the updated cluster; Calculate the update distance between the updated cluster and other clusters, and iterate the distance matrix using the update distance; Determine whether the minimum value of the updated distance is less than a preset distance threshold; When the minimum value of the updated distance is greater than or equal to the distance threshold, the step of merging the two clusters with the smallest cluster distance in the distance matrix is ​​returned. If the minimum value of the updated distance is less than the distance threshold, then the updated cluster is taken as the clustering result; The clustering results are analyzed using a preset XGboost model to obtain the health status of the target turnout equipment; The step of analyzing the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment includes: Calculate the predicted label for each feature data in the clustering results based on the XGboost model; Each feature data in the clustering result is grouped according to the predicted label, and the cluster center of each group is calculated; Calculate the feature values ​​of the preset features for each cluster center; The characteristic values ​​are weighted and averaged, and the health of the target turnout equipment is determined based on the weighted average result.

2. The method for diagnosing the health status of turnout equipment according to claim 1, characterized in that, The process of filtering and correcting the current data to obtain current analysis data includes: Filter out the single turnout operation current data segment from the current data; The number of times null currents appear in the single turnout operation current data segment is counted. If the number of occurrences is greater than or equal to the preset number, then the null current in the single turnout operation current data segment is filtered to obtain current analysis data. If the number of occurrences is less than the preset number, then the null current in the single turnout operation current data segment is interpolated to obtain current analysis data.

3. The method for diagnosing the health status of turnout equipment according to claim 2, characterized in that, The process of interpolating the null current values ​​in the single turnout operation current data segment to obtain current analysis data includes: Calculate the first-order difference quotient of the adjacent data points based on the adjacent data points of the null current; Construct a Newton interpolation polynomial based on the calculation results of the first-order difference quotient; The function value of the null current is calculated using the Newton interpolation polynomial. The null current is interpolated using the function value to obtain current analysis data.

4. The method for diagnosing the health status of turnout equipment according to claim 1, characterized in that, The process of converting the cluster distance into a distance matrix includes: Construct an initial distance matrix whose rows and columns represent the number of feature data in the feature dataset; The initial distance matrix is ​​filled with the cluster distance to obtain the distance matrix.

5. A turnout equipment health diagnosis system, characterized in that, The system includes: The data acquisition module is used to acquire the current data of the target turnout equipment within a preset time period; The data cleaning module is used to filter and correct the current data to obtain current analysis data; A feature dataset construction module constructs a feature dataset of the current analysis data; wherein, constructing the feature dataset of the current analysis data includes: calculating the time-domain features of the current analysis data; calculating the sample entropy and sorting entropy of the current analysis data; and using the time-domain features, the sample entropy, and the sorting entropy as the feature dataset of the current analysis data; A clustering calculation module is used to perform clustering calculations on the feature dataset to obtain clustering results. The process of performing clustering calculations on the feature dataset to obtain clustering results includes: treating each feature data point in the feature dataset as a cluster; calculating the cluster distance between each cluster and converting the cluster distance into a distance matrix; merging the two clusters with the smallest cluster distance in the distance matrix to obtain an updated cluster; calculating the update distance between the updated cluster and other clusters, and iterating the distance matrix using the update distance; determining whether the minimum value of the update distance is less than a preset distance threshold; when the minimum value of the update distance is greater than or equal to the distance threshold, returning to the step of merging the two clusters with the smallest cluster distance in the distance matrix; when the minimum value of the update distance is less than the distance threshold, using the updated cluster as the clustering result. The data analysis module is used to analyze the clustering results using a preset XGboost model to obtain the health status of the target turnout equipment. The step of analyzing the clustering results using the preset XGboost model to obtain the health status of the target turnout equipment includes: calculating the predicted label for each feature data in the clustering results according to the XGboost model; grouping each feature data in the clustering results according to the predicted label and calculating the cluster center for each group; calculating the feature value of a preset feature for each cluster center; performing a weighted average on the feature values, and determining the health status of the target turnout equipment based on the weighted average result.

6. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform a turnout equipment health diagnosis method as described in any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements a turnout equipment health diagnosis method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Turnout management system and method

    CN110930119A

  • Intelligent diagnosis method for turnout switching equipment

    CN118070188A