Equipment state diagnosis method and system based on multi-source data mining and medium

A diagnostic strategy library is constructed through multi-source data mining methods, and algorithms such as convolutional neural networks are used to analyze fault data of power grid equipment. This solves the problem that traditional single-source data is difficult to diagnose power grid equipment faults and achieves accurate diagnosis of equipment status and fault causes. Analysis improves the stability and real-time performance of power grid equipment.

CN118568439APending Publication Date: 2024-08-30STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410731977.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Traditional single-source data cannot meet the needs of power grid equipment fault diagnosis, and cannot conduct comprehensive analysis and accurate fault cause identification, resulting in insufficient maintenance and excessive maintenance in maintenance strategies.

Method used

An equipment status diagnosis method based on multi-source data mining is adopted. By acquiring historical data and real-time data, convolutional neural networks and other algorithms are used to build a diagnostic strategy library, analyze fault data and fault causes, and achieve progressive diagnosis of equipment status.

Benefits of technology

It achieves accurate diagnosis of equipment status and analysis of fault causes, reduces maintenance costs, reduces the workload of relay protection inspections, and improves the stability and real-time performance of power grid equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568439A
    Figure CN118568439A
Patent Text Reader

Abstract

The invention discloses an equipment state diagnosis method and system based on multi-source data mining and a medium, and the method comprises the steps: obtaining historical data of secondary equipment, constructing a diagnosis strategy library, and analyzing fault data and corresponding fault causes in the historical data; fitting the fault data with the fault causes by using a convolutional neural network to obtain a fault cause analysis strategy library to analyze the probability of each fault cause; acquiring real-time data of the secondary equipment, inputting the real-time data into a diagnosis strategy library to execute diagnosis strategies in sequence, and judging the state of the equipment according to the quantity of the fault data obtained through analysis; and if the equipment state is a fault state, inputting real-time data into a fault reason analysis strategy library to obtain the probability of each fault reason of the secondary equipment. According to the invention, progressive diagnosis is carried out on the equipment state by using the multi-source data, the real-time performance is considered while the accuracy of equipment state diagnosis is ensured, the fault cause of the secondary equipment can be quickly positioned by power maintenance personnel conveniently, and the secondary equipment can be further maintained by the power maintenance personnel conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to power system data analysis, and in particular to an equipment status diagnosis method, system and medium based on multi-source data mining. Background Art

[0002] The rapid development of the power grid has put higher and higher demands on the stability of the power grid, and correspondingly put forward higher requirements on the stability and accuracy of secondary equipment.

[0003] In order to ensure the stable and reliable operation of the power grid under the condition of a large number of equipment and high equipment complexity, and at the same time control maintenance costs to reduce costs and reduce the workload of relay protection inspection, the maintenance strategy of power equipment has also developed from the past periodic maintenance to condition maintenance. Both periodic maintenance and condition maintenance belong to preventive maintenance. The disadvantage of periodic maintenance is that the maintenance cycle is relatively fixed, and maintenance cannot be carried out in time according to the health status of the equipment, which easily leads to problems such as insufficient maintenance and excessive maintenance. Condition maintenance is a maintenance method that obtains various status parameters of the equipment during operation through advanced status monitoring methods, identifies early signs of faults based on the actual working conditions of the equipment reflected by these status parameters, and makes judgments on the fault location, fault severity and development trend, thereby determining the best maintenance time for the equipment.

[0004] The traditional single-source data method of equipment diagnosis can hardly meet current needs. It is difficult for technicians to conduct a comprehensive analysis of the fault situation, and they cannot accurately and effectively give the cause of the fault. Summary of the invention

[0005] The technical problem to be solved by the present invention is as follows: In view of the above-mentioned problems in the prior art, a method, system and medium for diagnosing equipment status based on multi-source data mining are provided, which use multi-source data to perform progressive diagnosis of equipment status, thereby ensuring the accuracy of equipment status diagnosis while taking into account real-time performance.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A device status diagnosis method based on multi-source data mining includes the following steps:

[0008] S1) Obtain historical data of secondary equipment, build diagnostic strategies in the diagnostic strategy library, and analyze fault data and corresponding fault causes in the historical data;

[0009] S2) using a convolutional neural network to fit the fault data with the fault cause, and obtaining a fault cause analysis strategy library to analyze the probability of each fault cause;

[0010] S3) Obtain the real-time data of the secondary equipment, input it into the diagnostic strategy library and execute each diagnostic strategy in turn, and judge the equipment status according to the number of fault data obtained by the diagnostic strategy analysis; if the equipment status is a fault state, input the real-time data into the fault cause analysis strategy library to obtain the probability of each fault cause of the secondary equipment.

[0011] Furthermore, the diagnostic strategy in step S1 includes: standardizing the switch quantity information and comparing it with the standard value, marking the switch quantity inconsistent with the standard value as fault data, and locating the position of the faulty node according to the node device number corresponding to the fault data.

[0012] Furthermore, the diagnostic strategy in step S1 also includes: using the XGBoost algorithm to select features from the analog data, and using the found eigenvalues ​​w j Nearby eigenvalues ​​w k The complexity loss value of the XGBoost algorithm is calculated, and then the principal component analysis method is used to reduce the dimension of the analog data. For the analog data after dimensionality reduction, empty data or data outside the preset threshold interval or data with signal mutation exceeding the preset limit are classified as abnormal data. The number of abnormal data in the analog information is counted, and the secondary equipment status is determined according to the number of abnormal data. The analog quantity and the secondary equipment status are fitted to obtain the equipment status trend curve, and the analog quantity corresponding to the fault state in the equipment status trend curve is marked as fault data.

[0013] Furthermore, the diagnostic strategy in step S1 also includes: obtaining timing status information in historical data, establishing a corresponding relationship between the timing service and time jump detection in the timing status information and the communication status of the secondary device, and marking the timing status with abnormal timing service or time jump detection as fault data.

[0014] Furthermore, the diagnostic strategy in step S1 also includes: obtaining message information in historical data, establishing a corresponding relationship between the message type, message error rate, number of packet losses, and traffic conditions in the message information and the communication status of the secondary device, and marking the message information corresponding to the erroneous message as fault data.

[0015] Furthermore, the diagnostic strategy in step S1 also includes: obtaining alarm and event information in historical data, grouping the alarm and event information through the FP-growth algorithm, constructing a corresponding frequent pattern tree for the alarm and event information in the same group, and sorting them according to the support size, introducing a time coefficient to calculate the lift index between data sets corresponding to different frequent patterns, filtering out related rules with misleading negative correlations through the lift index, and then outputting frequent patterns with high support to form association rules, obtaining the corresponding relationship between the alarm and event information and the communication status of the secondary equipment, and marking the alarm and event data when the secondary equipment fails as fault data.

[0016] Furthermore, in step S2, fitting the fault data with the fault cause using a convolutional neural network includes the following steps:

[0017] S21) The fault data is used as the input of the convolutional neural network, the probability of the fault cause is used as the output of the convolutional neural network, the historical data is converted into a numerical form and input into the convolutional neural network, the probability of the fault cause of the secondary equipment is calculated and output, and the expression is as follows:

[0018]

[0019] y k =f(net ij +b)

[0020] where x ij is the data in the secondary equipment that is assessed as a fault, w ij is the weight, b is the bias, y k is the probability of each fault cause of secondary equipment failure, k represents K causes of failure;

[0021] S22) Calculate the average error according to the probability of the secondary equipment failure cause and the actual failure cause of the secondary equipment. The expression is as follows:

[0022]

[0023]

[0024] where y kture represents the expected probability 1, y ktrain represents the probability of actual training, p∈[0,1] represents the probability of judging the positive sample y=1, and i represents the sequence number of the data;

[0025] S23) Update the weight of the convolutional neural network according to the average error, and return to step S21) until the average error converges or reaches the maximum number of iterations to obtain the optimal weight w ij And the corresponding offset b.

[0026] Furthermore, judging the device state according to the number of fault data obtained by the diagnostic strategy analysis in step S3 specifically includes: if the number of fault data under each diagnostic strategy is less than the lower limit of the transient interval, the device state is steady; if the number of fault data under each diagnostic strategy is less than the upper limit of the transient interval, but there is a number of fault data within the transient interval, the device state is transient; if there is a number of fault data greater than the upper limit of the transient interval, the device state is a fault state.

[0027] The present invention also proposes an equipment status diagnosis system based on multi-source data mining, comprising a computer device, wherein the computer device is programmed or configured to execute any of the equipment status diagnosis methods based on multi-source data mining.

[0028] The present invention also provides a computer-readable storage medium, in which a computer program programmed or configured to execute any of the equipment status diagnosis methods based on multi-source data mining is stored.

[0029] Compared with the prior art, the present invention has the following advantages:

[0030] The present invention conducts a comprehensive analysis of the equipment status based on multi-source data, can diagnose the equipment status, construct a multi-input and multi-output fault cause analysis library, and can provide a cause analysis of the fault for the faulty equipment, which can serve as an important reference for troubleshooting the cause of the fault. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Schematic diagram of a flow chart of an embodiment of the present invention.

[0032] Figure 2 This is a processing flow chart for analog data in an embodiment of the present invention.

[0033] Figure 3 This is a device status trend curve of the second diagnostic strategy in an embodiment of the present invention.

[0034] Figure 4 This is a schematic diagram of the LSTM network structure.

[0035] Figure 5 It is a message information flow diagram.

[0036] Figure 6 This is a schematic diagram of the BP algorithm. DETAILED DESCRIPTION

[0037] The present invention is further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0038] This embodiment proposes a device status diagnosis method based on multi-source data mining. Based on multi-source data, a strategy library is established to conduct a comprehensive analysis of the device status, diagnose the device status, and provide a cause analysis of the fault for the faulty device. Figure 1 As shown, the following steps are included:

[0039] S1) Obtain historical data of secondary equipment, build diagnostic strategies in the diagnostic strategy library, and analyze fault data and corresponding fault causes in the historical data;

[0040] S2) using a convolutional neural network to fit the fault data with the fault cause, and obtaining a fault cause analysis strategy library to analyze the probability of each fault cause;

[0041] S3) Obtain the real-time data of the secondary equipment, input it into the diagnostic strategy library and execute each diagnostic strategy in turn, and judge the equipment status according to the number of fault data obtained by the diagnostic strategy analysis; if the equipment status is a fault state, input the real-time data into the fault cause analysis strategy library to obtain the probability of each fault cause of the secondary equipment.

[0042] like Figure 1 As shown, in step S1 of this embodiment, the diagnostic strategy includes the device status body diagnostic strategy 1, which is specifically: after the switch quantity information is standardized, it is compared with the standard value, and the switch quantity that is inconsistent with the standard value is marked as fault data, and the position of the fault node is located according to the node device number corresponding to the fault data. This is because when the line equipment is operating normally, the switch quantity at each line node is a fixed value. For example, the state of the remote operation hard pressure plate is input and represented by 1, and the state of the maintenance hard pressure plate is exit and represented by 0. By checking whether the quantity transmitted from the node device is consistent with the standard value, it can be known whether there is a problem with the operation hard pressure plate, maintenance hard pressure plate and other equipment. According to its node device number, the equipment point where the problem occurs can be located, thereby establishing a corresponding relationship between the fault data of the switch quantity information and the cause of the fault.

[0043] In this embodiment, the switch quantity can be standardized in the point table, and the name of the switch quantity can be standardized and mapped through keywords. After the standardization, the switch quantity can be classified (such as 0-switch quantity, 1-hard pressure plate, 2-collection hard pressure plate), and different types of switch quantities can be placed in different data containers, and interconnected with the plant station and device ID of the equipment, which is conducive to more efficient diagnosis and positioning.

[0044] Therefore, in step S1 of this embodiment, the diagnostic strategy in the diagnostic strategy library is constructed, which includes: constructing a device status body diagnostic strategy 1 according to the switch quantity information of the device and the device operating condition, including:

[0045] Step S101: Establishing a standard value table of soft and hard pressure plates under normal conditions of secondary equipment;

[0046] Step S102: obtaining the soft and hard pressure plate values ​​in real time and comparing them with the standard value table, and preliminarily locating the position of the faulty node according to the device number corresponding to the soft and hard pressure plate values ​​that are inconsistent with those in the standard value table.

[0047] like Figure 1As shown, in step S1 of this embodiment, the diagnostic strategy also includes a device status body diagnostic strategy 2, which is specifically: counting the number of abnormal data in the analog quantity information, determining the secondary device status according to the number of abnormal data, fitting the analog quantity and the secondary device status, obtaining the device status trend curve, and marking the analog quantity corresponding to the fault state in the device status trend curve as fault data. Through artificial deduction of the analog quantity data of the fault, a corresponding relationship between the fault data and the cause of the fault can be established. When the line equipment is operating normally, the value of the analog quantity is within a certain range, such as the voltage is 3-5V and the current is 1-2A. If the collected information is outside this range, it indicates that the equipment is abnormal. Excessive current may be an internal short circuit, and too small current may be caused by the aging of internal parts resulting in an increase in internal resistance.

[0048] Therefore, in step S1 of this embodiment, the diagnostic strategy in the diagnostic strategy library is constructed, which includes: constructing the device status body diagnostic strategy 2 according to the analog quantity information of the device and the device operating condition, including:

[0049] Step S201: pre-process the analog data and count the number of abnormal data of each device node;

[0050] Step S202: judging the state of the node device according to the amount of abnormal data;

[0051] Step S203: Use the LSTM network to fit the analog quantity and the device body state to determine the analog quantity corresponding to the fault state.

[0052] For step S201, since the amount of analog data is large and the types of data are many, in this embodiment, the analog data is first processed as follows: Figure 2 The preprocessing shown includes abnormal data identification, principal component analysis, etc. Since there is coupling among various data in the analog data, such as (single current I_A, single current I_B, single current I_C, three currents_I), in order to reduce the amount of data calculation, the XGBoost algorithm is used to select features of the analog data before abnormal data identification. The principle is as follows:

[0053]

[0054] in is the training loss value, is the complexity loss value.

[0055] in

[0056]

[0057] Find the corresponding T and w j Minimize obj. T is the number of features, w jis the corresponding characteristic value. Since the analog quantity fluctuates around a reference point during normal operation and has a certain range of analog quantity values, The value of wk is near wj, which means the eigenvalues ​​with the center near wj. This step reduces the number of features.

[0058] Then, principal component analysis PCA is performed on the analog data after feature extraction to reduce the data dimension, such as steps S211-S214.

[0059] Step S211: Center all features: remove the mean where μ j is the mean, s j is the standard deviation, is the standardized data;

[0060] Step S212: Calculate the covariance matrix R, R = (r ij ) n*n is the correlation coefficient matrix,

[0061] Step S213: Find the eigenvalues ​​and corresponding eigenvectors of the covariance matrix C Where λ is the eigenvalue, is the feature vector;

[0062] Step S214: Project the original features onto the selected feature vector to obtain a new K-dimensional feature after dimensionality reduction. Cumulative contribution of principal components: The larger value of δp is selected as the principal component.

[0063] For the analog data after dimensionality reduction, empty data or data with values ​​that are obviously too large or too small are classified as abnormal data. This embodiment sets a threshold interval. Non-empty data outside the threshold interval, that is, data greater than the upper limit of the interval and less than the lower limit of the interval, are all abnormal data.

[0064] In this embodiment, the processing of analog quantity is not only compared with the upper and lower limit thresholds, but also the "sudden change over-limit" behavior of analog quantity is monitored by slope. And since there is more than one source of analog quantity data, the analog quantity data can also be compared with the same source, such as (collection end data, device 1 end data and device 2 end data are compared with each other). Similar to the switch quantity, the analog quantity can also be standardized before data diagnosis. Because the analog quantity is large and complex. Therefore, for the processing of analog quantity, not only a keyword library is established, but also a veto keyword library and an interference keyword library are established, and the analog quantity name is judged in many aspects, and then the corresponding analog quantity type (such as Ic1_1--high voltage 1 branch current, BIc1--I mother three-phase current, synchronous voltage, zero-sequence voltage, optical port transceiver power, etc.) is obtained. Different types of analog quantities are placed in different data containers, and are interconnected with the plant station to which the equipment belongs and the device ID to which it belongs.

[0065] For step S202, when the number of abnormal data is less than the threshold Normal data noise, this node device is in a steady state. When the amount of abnormal data is greater than the threshold If the number of abnormal data exceeds the threshold, the node device is in a transient state. , this node device is in a faulty state.

[0066] For step S203, the long short-term memory network LSTM has a better effect on fitting and predicting time series when processing data with fixed components. Therefore, the LSTM network is used to fit the analog quantity and the device body state, and the following is obtained: Figure 3 The device status trend curve is shown in Figure 1. The LSTM network structure is shown in Figure 1. Figure 4 As shown, the analog quantity needs to pass through the input gate, cell state, and output gate of the LSTM network in sequence, and the process is as shown in steps S221-S223.

[0067] Step S221: The analog quantity passes through the input gate to determine the updated information. t =σ(W i .[h t-1 ,x t ]+b i ), where h t-1 is the hidden layer state, x t is the input vector, C t is the cell state;

[0068] Step S222: Update cell status

[0069] Step S223: Pass through the output gate, o t =σ(W o .[ht-1 ,x t ]+b o ), h t =ot*tanh(C t ), o t is the output value.

[0070] like Figure 1 As shown, in step S1 of this embodiment, the diagnostic strategy also includes a device communication status diagnostic strategy 3, which is specifically: obtaining the timing status information in the historical data, establishing a corresponding relationship between the timing service and time jump detection in the timing status information and the secondary device communication status, and marking the timing status with abnormal timing service or time jump detection as fault data.

[0071] When the device is in normal time synchronization, if the time difference between the device itself and the external signal is more than 1 second, the time synchronization service status is abnormal; if the time jump detection status does not work when the time synchronization service status is abnormal, or the time jump detection status does not return when the time difference returns to the normal state, the time jump detection status is abnormal. Abnormal time synchronization service or time jump detection can reflect abnormal communication status of secondary equipment.

[0072] Therefore, the diagnostic strategy constructed in the diagnostic strategy library in step S1 of this embodiment includes: constructing a secondary device communication status diagnostic strategy 3 based on the timing status information and the device communication status, including: establishing a corresponding relationship between the timing service and time jump detection data and the secondary device communication status, and searching for abnormal timing service or time jump detection data.

[0073] like Figure 1 As shown, in step S1 of this embodiment, the diagnostic strategy also includes a device communication status diagnostic strategy 4, which is specifically: obtaining message information in historical data, establishing a corresponding relationship between the message type, message error rate, number of packet losses, and traffic conditions in the message information and the secondary device communication status, and marking the message information corresponding to the erroneous message as fault data.

[0074] like Figure 5 As shown in the figure, messages usually include GOOSE messages and MMS messages. GOOSE messages are transmitted between the protection device, measurement and control device and the intelligent terminal, and MMS messages are transmitted between the master station, intelligent recorder, protection device and measurement and control device. Therefore, according to the type of erroneous message, the type of device with communication error can be preliminarily located. The error rate, number of packet loss and traffic conditions of different messages correspond to different device communication states.

[0075] Therefore, in step S1 of this embodiment, the diagnostic strategy in the diagnostic strategy library is constructed, which includes: constructing a secondary device communication status diagnostic strategy 4 according to the communication message information and the device communication status, including:

[0076] Step S301: Obtain the message type, error code rate, packet loss quantity, traffic condition, and communication status of secondary equipment for the message.

[0077] Step S302: Establish a corresponding relationship between the message status and the communication status of secondary equipment.

[0078] Step S303: Search for the message type, error code rate, packet loss quantity, and traffic condition of the error message.

[0079] As Figure 1 shown, in step S1 of this embodiment, the diagnosis strategy further includes a device communication status diagnosis strategy 5, which specifically is: Obtain the alarm and event information in the historical data, and through the FP-growth algorithm, establish a corresponding relationship between the alarm and event information and the communication status of secondary equipment, and mark the alarm and event data during the failure of secondary equipment as failure data. The FP-growth algorithm includes the following steps:

[0080] Step S401: Data cleaning. Perform data cleaning on the alarm and event data to obtain a data set without signals such as non-return and jitter, and form a map set with the signal name and value.

[0081] Step 402: Calculate the support degree. Complete the calculation of the support degree of all items through the Hadoop MapReduce framework; count the number of times each event appears in the data item set, set the minimum support degree, remove the events with a support degree less than the minimum support degree, and then re-arrange the frequent abnormal item sets in descending order to obtain the frequent item list F_list set.

[0082] Step 403: Grouping and storage. Divide the items in F_list into M groups, assign each group an identifier group_id, and store all events and the corresponding group_id in the form of a Hashmap to form a growth linked list Glist.

[0083] Step 404: Construct the FP-tree and discover frequent patterns. Use MapReduce calculation to read the Map data set and the Glist data table. Scan forward sequentially from the last item of the event data. If the identifier group_id corresponding to the item Di in Glist is scanned for the first time, output {D1, D2…Di}, otherwise there is no output. Subsequently, input the event data of the same group into a Reduce to form a <key = group_id, value = {event data 1}, {event data 2}…{event data N}>. Each Reduce constructs an FP-tree in place and puts the frequent patterns into a large root heap sorted by support degree, and outputs the frequent patterns with a higher support degree <key = event item, value = {frequent patterns containing the event item}> to form an association rule.

[0084] To obtain statistically significant association rules, it is necessary to calculate the lift of these frequent patterns to measure the correlation between them. The calculation of the association relationship is based on frequent patterns. The association relationship between different frequent patterns corresponding to group datasets is: the degree of influence of the occurrence of data a under dataset A on the occurrence probability of data b under dataset B, which can be expressed by the following expression:

[0085]

[0086] In the above formula: P(a∪b) represents the probability of event b occurring when a occurs; P(A) represents the probability of event a occurring; P(B) represents the probability of event b occurring. The correlation rules with misleading negative correlations can be filtered out through the lift index. Since the alarm and event information should be closely related in time, a time coefficient is introduced here. That is

[0087] Then the association rules formed by the frequent patterns with higher support <key = event item, value = {frequent patterns containing the event item}> also include the influence of α(t) in the value.

[0088] In step S2 of this embodiment, in order to establish the corresponding relationship between equipment fault data and fault causes, the convolutional neural network uses the BP algorithm as shown in Figure 6 to fit the fault data and fault causes, forming a multi-input multi-output fault cause analysis library for reference by relevant personnel in fault cause troubleshooting. Using the convolutional neural network to fit the fault data and fault causes includes the following steps:

[0089] S21) Take the fault data as the input of the convolutional neural network, take the probability of the fault cause as the output of the convolutional neural network, convert the historical data into numerical form and input it into the convolutional neural network, calculate the probability of the secondary equipment fault cause and output it. The expression is as follows:

[0090]

[0091] y k =f(net ij +b)

[0092] where x ij is the input. In this embodiment, the input is the five types of data of analog quantity, switch quantity, time synchronization status information, message information, alarm, and event information that are rated as faults in the secondary equipment. w ij is the weight, b is the bias, y k is the output. In this embodiment, the output is the probability of each fault cause of the secondary equipment fault, and k represents the K types of causes of the fault.

[0093] S22) Calculate the average error according to the probability of the secondary equipment failure cause and the actual failure cause of the secondary equipment. The expression is as follows:

[0094]

[0095] where y kture represents the expected probability 1, y ktrain Represents the probability of actual training. p∈[0,1] represents the probability of judging the positive sample y=1, and i represents the sequence number of the data. This loss value calculation method is suitable for data sets with unbalanced sample classification, r>0.

[0096] In order to make the loss as small as possible, the neural network is trained as follows:

[0097] S23) Update the weight of the convolutional neural network according to the average error, and the expression is as follows:

[0098]

[0099] where w ij is the weight, η is the given learning rate, and loss is the average error; after the weight of the convolutional neural network is updated, return to step S21) and recalculate the output based on the input under the new weight until the average error converges or the maximum number of iterations is reached. At this time, the model training is completed and the optimal weight w is obtained. ij And the corresponding offset b. Input the fault phenomenon, and after weight and offset calculation, obtain the possible fault cause and the corresponding probability of the fault cause.

[0100] In step S3 of this embodiment, after the real-time data of the secondary device is input into the diagnostic strategy library, the diagnostic strategy library can progressively execute the device status body diagnostic strategy 1, device status body diagnostic strategy 2, device communication status diagnostic strategy 3 and device communication status diagnostic strategy 4 according to the aforementioned steps, so as to perform multi-source data mining on the real-time data, analyze its fault data under each diagnostic strategy, and establish a corresponding relationship between the fault data and the fault cause. According to the number of fault data, the state of the secondary device can be determined. In this embodiment, according to the number range of fault data, the state of the device is divided into steady state, transient state and fault state, and the transient state interval is set. If the number of fault data under each diagnostic strategy is less than the lower limit of the transient state interval, it is steady state. If the number of fault data under each diagnostic strategy is less than the upper limit of the transient state interval, but there is a number of fault data within the transient state interval, it is transient. If there is a number of fault data greater than the upper limit of the transient state interval, it is a fault state. Thus, the device body diagnosis and the device communication process diagnosis are realized. At the same time, for the secondary device in the fault state, its real-time data is input into the fault analysis library, and the cause of the fault and the corresponding probability are calculated by the trained convolutional neural network.

[0101] This embodiment also proposes a device status diagnosis system based on multi-source data mining, including a computer device, wherein the computer device is programmed or configured to execute any of the device status diagnosis methods based on multi-source data mining.

[0102] This embodiment also provides a computer-readable storage medium, in which a computer program programmed or configured to execute any of the equipment status diagnosis methods based on multi-source data mining is stored.

[0103] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Therefore, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the scope of protection of the technical solution of the present invention.

Claims

1. A device status diagnosis method based on multi-source data mining, characterized in that: The following steps are involved: S1) Obtain historical data of secondary equipment, build diagnostic strategies in the diagnostic strategy library, and analyze fault data and corresponding fault causes in the historical data; S2) using a convolutional neural network to fit the fault data with the fault cause, and obtaining a fault cause analysis strategy library to analyze the probability of each fault cause; S3) Obtain the real-time data of the secondary equipment, input it into the diagnostic strategy library and execute each diagnostic strategy in turn, and judge the equipment status according to the number of fault data obtained by the diagnostic strategy analysis; if the equipment status is a fault state, input the real-time data into the fault cause analysis strategy library to obtain the probability of each fault cause of the secondary equipment.

2. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: The diagnostic strategy in step S1 includes: standardizing the switch quantity information and comparing it with the standard value, marking the switch quantity inconsistent with the standard value as fault data, and locating the position of the faulty node according to the node device number corresponding to the fault data.

3. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: The diagnostic strategy in step S1 also includes: using the XGBoost algorithm to select features from the analog data, and j Nearby eigenvalues ​​w k The complexity loss value of the XGBoost algorithm is calculated, and then the principal component analysis method is used to reduce the dimension of the analog data. For the analog data after dimensionality reduction, empty data or data outside the preset threshold interval or data with signal mutation exceeding the preset limit are classified as abnormal data. The number of abnormal data in the analog information is counted, and the secondary equipment status is determined according to the number of abnormal data. The analog quantity and the secondary equipment status are fitted to obtain the equipment status trend curve, and the analog quantity corresponding to the fault state in the equipment status trend curve is marked as fault data.

4. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: The diagnostic strategy in step S1 also includes: obtaining the timing status information in the historical data, establishing a corresponding relationship between the timing service and time jump detection in the timing status information and the communication status of the secondary device, and marking the timing status with abnormal timing service or time jump detection as fault data.

5. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: The diagnostic strategy in step S1 also includes: obtaining message information in historical data, establishing a corresponding relationship between the message type, message error rate, number of packet losses, and traffic conditions in the message information and the communication status of the secondary device, and marking the message information corresponding to the erroneous message as fault data.

6. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: The diagnostic strategy in step S1 also includes: obtaining alarm and event information in historical data, grouping the alarm and event information through the FP-growth algorithm, constructing a corresponding frequent pattern tree for the alarm and event information in the same group, and sorting them according to the support size, introducing a time coefficient to calculate the lift index between data sets corresponding to different frequent patterns, filtering out related rules with misleading negative correlations through the lift index, and then outputting frequent patterns with high support to form association rules, obtaining the corresponding relationship between the alarm and event information and the communication status of the secondary equipment, and marking the alarm and event data when the secondary equipment fails as fault data.

7. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: In step S2, using a convolutional neural network to fit the fault data with the fault cause includes the following steps: S21) The fault data is used as the input of the convolutional neural network, the probability of the fault cause is used as the output of the convolutional neural network, the historical data is converted into a numerical form and input into the convolutional neural network, the probability of the fault cause of the secondary equipment is calculated and output, and the expression is as follows: y k =f(net ij +b) where x ij is the data in the secondary equipment that is assessed as a fault, w ij is the weight, b is the bias, y k is the probability of each fault cause of secondary equipment failure, k represents K causes of failure; S22) Calculate the average error according to the probability of the secondary equipment failure cause and the actual failure cause of the secondary equipment. The expression is as follows: where y kture represents the expected probability 1, y ktrain represents the probability of actual training, p∈[0,1] represents the probability of judging the positive sample y=1, and i represents the sequence number of the data; S23) Update the weight of the convolutional neural network according to the average error, and return to step S21) until the average error converges or reaches the maximum number of iterations to obtain the optimal weight w ij And the corresponding offset b.

8. The device status diagnosis method based on multi-source data mining according to claim 1 is characterized in that: In step S3, judging the device state according to the number of fault data obtained by the diagnosis strategy analysis specifically includes: if the number of fault data under each diagnosis strategy is less than the lower limit of the transient interval, the device state is steady; if the number of fault data under each diagnosis strategy is less than the upper limit of the transient interval, but there is a number of fault data within the transient interval, the device state is transient; if there is a number of fault data greater than the upper limit of the transient interval, the device state is a fault state.

9. A device status diagnosis system based on multi-source data mining, comprising a computer device, characterized in that: The computer device is programmed or configured to execute the device status diagnosis method based on multi-source data mining as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program that is programmed or configured to execute the device status diagnosis method based on multi-source data mining as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Fault positioning method and system of power communication network and electronic equipment

    CN119402342A