Equipment fault positioning method based on data analysis and related components
By obtaining and analyzing the historical data of production equipment, and using the number of fault tags and preset rules for fault detection, the problem of low-quality troubleshooting efficiency of large-scale equipment is solved, and automated fault location and detection are realized.
Patent Information
- Application Number
- CN202411441955.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The difficulty of troubleshooting large and precision production equipment is high, resulting in low fault positioning efficiency, which often takes hundreds of hours.
By obtaining the historical data of the equipment operation, extracting characteristic data, and selecting a fault identification model or a preset fault rule for fault detection based on the number of fault labels and preset fault rules, automatic fault detection is achieved.
Improve equipment fault positioning efficiency, realize automatic fault detection, and reduce manual troubleshooting time.
Smart Images

Figure CN118965204A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of big data analysis, and in particular relates to a device fault locating method based on data analysis and related components. Background Art
[0002] As the scale of industrial production expands, the frequency of production equipment failures gradually increases. Production accidents caused by equipment failures often occur, and the cause of equipment failures needs to be frequently checked on the equipment side.
[0003] For large-scale, sophisticated production equipment, the difficulty of troubleshooting the cause of the failure increases due to the complexity of the equipment. Inspection personnel often need to spend hundreds of hours testing, debugging, and troubleshooting the internal equipment to determine the cause of the equipment failure. Therefore, how to improve the efficiency of equipment fault location has become an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide a device fault location method based on data analysis and related components, which can improve the efficiency of device fault location.
[0005] According to a first aspect of the present invention, there is provided a device fault location method based on data analysis, comprising:
[0006] Obtain historical data of equipment operation;
[0007] Determine characteristic data based on historical data;
[0008] If the number of fault labels corresponding to the feature data is greater than or equal to the quantity threshold, the feature data to be detected is input into the fault identification model, and the fault identification model obtains the fault type according to the feature data to be detected;
[0009] If the number of fault labels corresponding to the feature data is less than the quantity threshold, the feature data to be detected is obtained according to the preset fault rule; if the feature data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule.
[0010] According to a second aspect of the present invention, there is provided a device for locating equipment faults based on data analysis, comprising:
[0011] A historical data acquisition module is used to acquire historical data of equipment operation;
[0012] A feature extraction module, used to determine feature data based on historical data;
[0013] A model identification module, used for inputting the feature data to be detected into a fault identification model if the number of fault labels corresponding to the feature data is greater than or equal to a quantity threshold, and the fault identification model obtains the fault type according to the feature data to be detected;
[0014] The rule identification module is used to obtain the feature data to be detected according to the preset fault rule if the number of fault labels corresponding to the feature data is less than the number threshold; if the feature data to be detected matches the preset fault rule, determine the fault type according to the preset fault rule.
[0015] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the device fault location method based on data analysis described in any embodiment.
[0019] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the device fault location method based on data analysis described in any embodiment of the present invention when executed.
[0020] The technical solution provided by the present invention obtains historical data of equipment operation; determines characteristic data based on historical data; if the number of fault labels corresponding to the characteristic data is greater than or equal to the quantity threshold, the characteristic data to be detected is input into the fault identification model, and the fault identification model obtains the fault type according to the characteristic data to be detected; if the number of fault labels corresponding to the characteristic data is less than the quantity threshold, the characteristic data to be detected is obtained according to the preset fault rule; if the characteristic data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule. Compared with the current manual troubleshooting of fault points, the present invention can select one of the methods of fault model or preset fault rules for fault detection after obtaining the historical data of equipment operation according to the number of fault labels corresponding to the characteristic data, thereby realizing automatic fault detection and improving fault detection efficiency.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 It is a flow chart of a device fault location method based on data analysis provided by an embodiment of the present invention;
[0024] Figure 2 It is a schematic diagram of input and output of the fault identification model provided by an embodiment of the present invention;
[0025] Figure 3 It is a schematic diagram of the fault identification model construction process provided by an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of preset fault rules provided by an embodiment of the present invention;
[0027] Figure 5 This is a schematic diagram of normal characteristic data provided by an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of abnormal characteristic data provided by an embodiment of the present invention;
[0029] Figure 7 is a clustering schematic diagram provided by an embodiment of the present invention;
[0030] Figure 8 This is a schematic diagram of a new exception handling provided by an embodiment of the present invention;
[0031] Fig. 9 is a structural schematic diagram of a device for locating equipment faults based on data analysis provided by an embodiment of the present invention;
[0032] Fig.10 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] As the scale of industrial production expands, the frequency of production equipment failures gradually increases. Production accidents caused by equipment failures often occur, and the cause of equipment failures needs to be frequently checked on the equipment side. For large and sophisticated production equipment, the difficulty of troubleshooting the cause of the failure increases due to the complexity of the equipment. Inspection personnel often need to spend hundreds of hours testing and debugging the equipment in order to troubleshoot the cause of the failure. How to improve the efficiency of equipment fault location has become an urgent problem to be solved.
[0036] Figure 1 The present invention is a flowchart of a method for locating equipment faults based on data analysis provided by an embodiment of the present invention. This embodiment is applicable to the case of troubleshooting large and precise equipment. The method can be performed by an equipment fault locating device based on data analysis, and the equipment fault locating device based on data analysis can be implemented in the form of hardware and / or software. The method includes:
[0037] S101. Obtain historical data of equipment operation.
[0038] For each model of equipment, the data of equipment operation is divided according to different working conditions and products, and a corresponding historical data set is established to store historical data. For example, when producing product A, the equipment may be in multiple working conditions such as working condition a, working condition b, and working condition c. For the situation where product A is produced and the equipment is in working condition a, a historical data set is established, which is used to store the historical data of the equipment when it is producing product A and the equipment is in working condition a. Similarly, for the situation where product A is produced and the equipment is in working condition b, a historical data set is established; for the situation where product A is produced and the equipment is in working condition c, a historical data set is established. And so on, historical data sets are established for the equipment in different working conditions when producing different products.
[0039] S102: Determine characteristic data based on historical data.
[0040] Based on the historical data in the historical data set, feature data is extracted from multiple dimensions. The dimensions include time series dimension, long-term dimension and mechanism dimension. The time series dimension is used to represent the data characteristics of the time series; the long-term dimension is used to represent the regular characteristics of historical data; the mechanism dimension is used to represent the mechanism characteristics of equipment operation.
[0041] Optionally, the machine may continue to run or stop running when a fault occurs. When a device fails, an error message will be given. The historical data required for this fault detection can be determined based on the time point when the error message is triggered, and the characteristic data can be calculated based on the calculated characteristic data.
[0042] Optionally, determining characteristic data based on historical data can be implemented in the following ways:
[0043] The characteristic data is determined according to the calculation formula of the characteristic data and the historical data, wherein the characteristic data includes time series characteristics, long-term characteristics and mechanism characteristics.
[0044] Specifically, the time series features include rolling statistics features, hysteresis features, first-order difference features, Fourier transform features or equipment start-stop regularity features. The long-term features include: equipment cumulative running time features, sensor long-term running statistics features or long-term statistics features of mechanism features. The mechanism features include: vibration signal features, speed features, signal pulse features, signal symmetry features or peak-to-root-mean-square ratio features. Table 1 is an explanation of the meaning of the above feature data.
[0045] Table 1
[0046]
[0047] In Table 1, x represents the measurement point, N represents the amount of data, n represents the nth data, Max represents the maximum value, Represents the mean of the measurement points.
[0048] It should be noted that, in addition to the characteristics shown in Table 1, the time series characteristics, long-term characteristics and mechanism characteristics may also include other characteristics, which will not be described here.
[0049] The above implementation method can obtain the equipment operation characteristics from three dimensions: time series characteristics, long-term characteristics and mechanism characteristics. The equipment operation characteristics of multiple dimensions can more accurately represent the equipment operation status, and thus more accurately determine the fault type. Each characteristic can be obtained through the above formula, and then the specific value of the characteristic can be accurately obtained, thereby improving accuracy.
[0050] S103: If the number of fault labels corresponding to the feature data is greater than or equal to the quantity threshold, the feature data to be detected is input into a fault identification model, and the fault identification model obtains the fault type according to the feature data to be detected.
[0051] Optionally, each diagnosed fault is configured with a fault tag. The number of faults that have been diagnosed is determined based on the number of fault tags present.
[0052] If the number of known fault labels is greater than or equal to the quantity threshold, it means that there is sufficient training data to train the fault identification model, and a fault identification model that can be used to identify the fault type can be obtained. The quantity threshold can represent the threshold of the number of faults that can meet the training of the fault identification model.
[0053] When fault diagnosis is required, characteristic data of multiple dimensions are calculated according to step S102. Part or all of the characteristic data are selected from the obtained characteristic data as characteristic data to be detected according to the requirements.
[0054] The calculated characteristic data to be detected is input into the fault identification model, and the fault identification model performs fault identification according to the characteristic data to be detected to obtain the fault type.
[0055] Optionally, before inputting the feature data to be detected into the fault identification model, the method further includes:
[0056] Preprocess the historical data; extract training features for training based on the preprocessed historical data, wherein the training features include a combination of one or more of time series features, long-term features or mechanism features; train the initial model based on the training features and preset fault types until the training end condition is met when testing using the test training features, thereby obtaining a fault recognition model.
[0057] When training the fault identification model, the historical data is preprocessed first. Preprocessing can include: data cleaning, data normalization, working condition segmentation, and statistical value calculation. After preprocessing, feature extraction is performed to obtain training features. Each of the time series features, long-term features, and mechanism features includes multiple features. One or more features can be selected from the above three features to form the training features, or one or two features can be selected from the three features, and then one or more features can be selected from the features to form the training features.
[0058] After obtaining the training features, add the fault type (i.e., fault label) to the training features. A training feature and a preset fault type constitute a training data. Use the training data to train the initial model. After multiple rounds of training, stop the training when the training end condition is met to obtain the fault recognition model.
[0059] The above implementation can train the initial model according to the calibrated training features and the preset fault types to obtain a fault recognition model. The fault recognition model is trained using the training features extracted from the historical data and the calibrated fault types, so it can accurately identify the fault type and improve the recognition efficiency.
[0060] Optionally, before training the initial model according to the training features and the preset fault types, the following steps are also included:
[0061] Obtain the correlation parameter of each feature in the training feature vector. If the correlation parameter of the feature data to be detected is lower than the correlation threshold, delete the feature data to be detected; or, calculate the variance of each training feature. If the variance of the target training feature is lower than the variance threshold, delete the target training feature.
[0062] For variables with very low correlation, the feature is automatically deleted when the correlation is below a certain threshold. For variables with low variance, since the data change is small and cannot reflect the differences between abnormalities of different devices, the feature is automatically deleted during feature automatic selection.
[0063] The above implementation further simplifies the training features used for training the initialization model, avoids using features with weak correlation or low variance for training, and can improve the training efficiency of the fault identification model.
[0064] Optionally, the initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, and the fault recognition model is obtained, which can be implemented in the following manner:
[0065] Multiple types of initial models are trained separately according to the training features and preset fault types until the training end conditions are met when testing using the test training features, thereby obtaining multiple candidate models; the fault identification model is determined according to the precision and / or recall rate of each candidate model.
[0066] The types of initial models include, but are not limited to, support vector machine (SVM), random forest, XGboost or BP (back propagation) neural network, etc.
[0067] Based on historical data, it is possible to determine the training features that make up the training set, and based on historical data, it is possible to determine the test features that make up the test set. After the initial model is trained using the training set, the test features in the test set are input into the candidate model, and the precision and recall of the candidate model are determined based on the output results of the candidate model and the fault type corresponding to the test features.
[0068] The input and output of the alternative model are as follows Figure 2 As shown, for example, the input features include six features, namely feature A to feature F, and the output of the alternative model is the probability values of different faults obtained according to the input features, such as the probability of fault A, the probability of fault B, and the probability of fault C.
[0069] The precision can be calculated by the following formula 1, and the recall can be calculated by the following formula 2.
[0070] (Formula 1);
[0071] (Formula 2);
[0072] After obtaining the precision and recall, the accuracy of the model can be calculated using Formula 3.
[0073] (Formula 3)
[0074] Among them, TP means that the model classification is correct and it is the specified fault type A; FP means that the model classification is wrong and it is the specified fault type A; TN means that the model classification is correct and it is not the specified fault type A; FN means that the model classification is wrong and it does not lose the specified fault type A. precision means precision; Recall means recall; F1 means accuracy.
[0075] The above implementation manner can further optimize the fault identification model by training a plurality of different types of initial models and selecting the candidate model with the best training effect as the fault identification model according to the training results.
[0076] Figure 3 In the model construction method provided in the embodiment of the present invention, historical data is stored in a historical database. After preprocessing the historical data, feature extraction is performed to obtain the features shown in Table 1, and the features may include multiple features, such as feature A-feature D. The extracted features are automatically selected according to the correlation and variance to obtain feature A-feature C. Structured processing is performed based on feature A-feature C to obtain a data set suitable for initializing the model. The data set is divided into a training set and a test set. Different types of initial models are selected respectively, and the initial models are trained using the training set. After training, the alternative models are tested using the test set, and the precision and recall are calculated based on the test results. Further, the accuracy is calculated based on the precision and recall. The alternative model with the highest accuracy is used as the fault identification model.
[0077] S104: if the number of fault labels corresponding to the feature data is less than the quantity threshold, obtain the feature data to be detected according to the preset fault rule; if the feature data to be detected matches the preset fault rule, determine the fault type according to the preset fault rule.
[0078] If the number of known fault labels is less than the number threshold, it means that the fault identification model does not have enough training samples and cannot be used. At this time, the preset fault rules can be used for fault judgment. The preset fault rules can be preset manually. Select part or all of the feature data from the feature data obtained in step S102 as the feature data to be detected according to the needs.
[0079] For example, Figure 4 As shown, Figure 4 Four preset fault rules are given, each with a corresponding fault type. When a device fails, after extracting the feature data to be detected, it is determined in turn whether the preset fault rules are satisfied. If satisfied, the fault type is determined according to the preset fault rules.
[0080] Optionally, before acquiring the characteristic data to be detected according to the preset fault rule, the method further includes:
[0081] Determine the measurement threshold based on the quantifiers and historical data included in the preset fault rules;
[0082] Correspondingly, if the feature data to be detected matches the preset fault rule, determining the fault type according to the preset fault rule includes: if the feature data to be detected matches the measurement threshold of the preset fault rule, determining the fault type according to the preset fault rule.
[0083] The preset fault rules contain quantifiers, such as "normal", "large fluctuation", "stable", "long", etc. For different equipment producing different products under different working conditions, the specific measurement threshold corresponding to the same quantifier will change. Due to the differences between equipment, there are certain differences in the quantification standards. It is necessary to automatically calculate the measurement threshold based on historical data through algorithms. The measurement threshold can be determined based on the current fault scenario. Then, the measurement threshold is applied to the preset fault rules to compare the feature data to be detected.
[0084] For example, by accumulating a large amount of historical data, the mean and standard deviation of the characteristic data are calculated. The "normal" data range is determined by the method of [μ-6σ,μ+6σ]. Data smaller than this range is defined as small data, and data larger than this range is defined as large data. "Stable" data can be determined by the standard deviation and coefficient of variation of the data. When the coefficient of variation exceeds the threshold, the data can be considered "unstable" or "volatile". The formula is:
[0085] Standard Deviation Formula:
[0086]
[0087] The coefficient of variation formula is:
[0088]
[0089] Where σ represents the standard deviation of the measurement point x, represents the value of the measuring point x at the i-th moment, μ represents the mean value of the measuring point x, represents the amount of data, and CV represents the coefficient of variation.
[0090] For example, taking the data characteristics of a certain device mechanism as an example, its normal characteristic data diagram is as follows Figure 5 Among them, the characteristic data of each working condition are statistically analyzed, and the statistical results are shown in Table 2.
[0091] Table 2
[0092] Figure 6 This is a schematic diagram of characteristic data when the device fails. Figure 6 In the figure, the green line (feature A) and the yellow line (feature C) have large fluctuations and anomalies, while the purple line (feature B) is relatively normal. After statistics, the statistical values of the mechanism characteristics of the equipment under different working conditions are shown in Table 3.
[0093] Table 3
[0094]
[0095] According to the data in Table 3, the green line (feature A) and the yellow line (feature C) of feature A and feature C have large fluctuations and anomalies.
[0096] Based on the calculated measurement threshold set, the preset fault rules are used for judgment. Figure 6 It is the characteristic trend of the mechanism when the equipment fails.
[0097] The above implementation method can calculate the quantifier in the preset fault rule in the form of a formula to obtain the measurement threshold, realize the combination of the preset fault rule and the specific numerical comparison, and then accurately determine the fault type according to the preset fault rule, thereby improving the accuracy of fault detection.
[0098] Furthermore, if the characteristic data to be detected matches the measurement threshold of the preset fault rule, after determining the fault type according to the preset fault rule, it also includes:
[0099] When a fault occurs, if the fault does not belong to the fault type inferred by the preset fault rule, the fault is determined to be a new fault; and a new preset fault rule is determined according to the new fault.
[0100] In the actual production process, due to the complexity of the equipment, it is impossible to establish a complete equipment fault judgment rule base at the beginning. It needs to be gradually expanded and accumulated during the operation of the equipment. This requires an algorithm that automatically identifies new anomalies. Currently, the identification of new anomalies mainly relies on two methods: one is that data features outside the current fault rule base can be judged as unknown faults. The other is, Figure 7 As shown, a new fault is identified by a clustering algorithm. When the distance between the fault point and the cluster center exceeds a threshold, it is determined to be a new fault. Optionally, a clustering algorithm is used to cluster the features corresponding to the fault to obtain multiple known feature classifications. If the feature data to be detected does not belong to any known feature classification, the feature data to be detected is determined to be a new feature.
[0101] like Figure 8 As shown, for unknown exceptions, relevant information can be entered manually, and then the algorithm processes the unknown exception information into structured data and automatically fills it into the database.
[0102] The above implementation method can establish new fault rules for new faults generated by the operation of the equipment after determining the fault rules, thereby improving the preset fault rules, dynamically supplementing the preset fault rules, and improving the reliability of fault detection.
[0103] The device fault location method based on data analysis provided by the present invention obtains the historical data of the device operation; determines the characteristic data according to the historical data; if the number of fault labels corresponding to the characteristic data is greater than or equal to the number threshold, the characteristic data to be detected is input into the fault identification model, and the fault identification model obtains the fault type according to the characteristic data to be detected; if the number of fault labels corresponding to the characteristic data is less than the number threshold, the characteristic data to be detected is obtained according to the preset fault rule; if the characteristic data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule. Compared with the current manual troubleshooting of the fault point, the present invention can select one of the methods of fault model or preset fault rule to perform fault detection according to the number of fault labels corresponding to the characteristic data after obtaining the historical data of the device operation, thereby realizing automatic fault detection and improving the efficiency of fault detection.
[0104] Fig. 9 The present invention provides a schematic diagram of the structure of a device for locating equipment faults based on data analysis, which is used to implement the above-mentioned device fault locating method based on data analysis, and includes: a historical data acquisition module 21, a feature extraction module 22, a model recognition module 23 and a rule recognition module 24.
[0105] A historical data acquisition module 21 is used to acquire historical data of equipment operation;
[0106] A feature extraction module 22, used to determine feature data based on historical data;
[0107] A model identification module 23, for inputting the feature data to be detected into a fault identification model if the number of fault labels corresponding to the feature data is greater than or equal to a quantity threshold, and the fault identification model obtains a fault type according to the feature data to be detected;
[0108] The rule identification module 24 is used to obtain the feature data to be detected according to the preset fault rule if the number of fault labels corresponding to the feature data is less than the number threshold; if the feature data to be detected matches the preset fault rule, determine the fault type according to the preset fault rule.
[0109] Based on the above implementation, optionally, the feature extraction module 22 is used to:
[0110] Determine characteristic data according to a calculation formula of characteristic data and historical data;
[0111] The characteristic data include time series characteristics, long-term characteristics and mechanism characteristics;
[0112] The time series features include rolling statistics features, hysteresis features, first-order difference features, Fourier transform features or equipment start-stop regularity features;
[0113] The long-term characteristics include: equipment cumulative operation time characteristics, sensor long-term operation statistics characteristics or mechanism characteristics of long-term statistics characteristics;
[0114] The mechanism characteristics include: vibration signal characteristics, rotation speed characteristics, signal pulse characteristics, signal symmetry characteristics or peak-to-root-mean-square ratio characteristics.
[0115] On the basis of the above implementation, optionally, the rule identification module 24 is used to: determine the measurement threshold according to the quantifier and historical data included in the preset fault rule;
[0116] If the characteristic data to be detected matches the measurement threshold of the preset fault rule, the fault type is determined according to the preset fault rule.
[0117] Based on the above implementation, optionally, a model training module is further included, which is used to:
[0118] Preprocess historical data;
[0119] Extracting training features for training based on the preprocessed historical data, wherein the training features include a combination of one or more of time series features, long-term features, or mechanism features;
[0120] The initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, thereby obtaining a fault recognition model.
[0121] Based on the above implementation, optionally, a model training module is used to:
[0122] Obtaining the correlation parameter of each feature in the training feature vector, if the correlation parameter of the feature data to be detected is lower than the correlation threshold, deleting the feature data to be detected; or,
[0123] The variance of each training feature is calculated, and if the variance of the target training feature is lower than the variance threshold, the target training feature is deleted.
[0124] Based on the above implementation, optionally, a model training module is used to:
[0125] According to the training features and the preset fault types, multiple types of initial models are trained respectively until the training end condition is met when the test training features are used for testing, thereby obtaining multiple candidate models;
[0126] The fault identification model is determined according to the precision and / or recall of each candidate model.
[0127] On the basis of the above implementation, optionally, a rule updating module is further included, which is used to: when a fault occurs, if the fault does not belong to the fault type inferred by the preset fault rule, determine that the fault is a new fault;
[0128] A new preset fault rule is determined according to the new fault.
[0129] The device for locating equipment faults based on data analysis provided by the present invention comprises a historical data acquisition module 21 for acquiring historical data of equipment operation; a feature extraction module 22 for determining feature data based on historical data; a model identification module 23 for inputting the feature data to be detected into a fault identification model if the number of fault labels corresponding to the feature data is greater than or equal to a quantity threshold, and the fault identification model obtains the fault type based on the feature data to be detected; a rule identification module 24 for acquiring the feature data to be detected based on a preset fault rule if the number of fault labels corresponding to the feature data is less than a quantity threshold; and determining the fault type based on the preset fault rule if the feature data to be detected matches the preset fault rule. Compared with the current manual troubleshooting of fault points, the present invention can select one of the fault models or preset fault rules to perform fault detection based on the number of fault labels corresponding to the feature data after acquiring the historical data of equipment operation, thereby realizing automatic fault detection and improving fault detection efficiency.
[0130] The device for locating equipment faults based on data analysis provided in the embodiment of the present invention can execute the device fault locating method based on data analysis provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0131] Fig.10 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0132] like Fig.10 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0133] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0134] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a device fault location method based on data analysis.
[0135] In some embodiments, the device fault location method based on data analysis may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the device fault location method based on data analysis described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the device fault location method based on data analysis in any other appropriate manner (e.g., by means of firmware).
[0136] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0137] The computer program for implementing the data analysis-based equipment fault location method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed completely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or completely on a remote machine or server.
[0138] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions can be used to enable a processor to execute a device fault location method based on data analysis, the method comprising:
[0139] Obtain historical data of equipment operation;
[0140] Determine characteristic data based on historical data;
[0141] If the number of fault labels corresponding to the feature data is greater than or equal to the quantity threshold, the feature data to be detected is input into the fault identification model, and the fault identification model obtains the fault type according to the feature data to be detected;
[0142] If the number of fault labels corresponding to the feature data is less than the quantity threshold, the feature data to be detected is obtained according to the preset fault rule; if the feature data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule.
[0143] Based on the above implementation, characteristic data is determined according to historical data, including:
[0144] Determine characteristic data according to a calculation formula of characteristic data and historical data;
[0145] The characteristic data include time series characteristics, long-term characteristics and mechanism characteristics.
[0146] On the basis of the above implementation, before acquiring the characteristic data to be detected according to the preset fault rule, it also includes:
[0147] Determine the measurement threshold based on the quantifiers and historical data included in the preset fault rules;
[0148] Correspondingly, if the characteristic data to be detected matches the preset fault rule, determining the fault type according to the preset fault rule includes:
[0149] If the characteristic data to be detected matches the measurement threshold of the preset fault rule, the fault type is determined according to the preset fault rule.
[0150] On the basis of the above implementation, before inputting the feature data to be detected into the fault identification model, it also includes:
[0151] Preprocess historical data;
[0152] Extracting training features for training based on the preprocessed historical data, wherein the training features include a combination of one or more of time series features, long-term features, or mechanism features;
[0153] The initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, thereby obtaining a fault recognition model.
[0154] Based on the above implementation, before the initial model is trained according to the training features and the preset fault type, the method further includes:
[0155] Obtaining the correlation parameter of each feature in the training feature vector, if the correlation parameter of the feature data to be detected is lower than the correlation threshold, deleting the feature data to be detected; or,
[0156] The variance of each training feature is calculated, and if the variance of the target training feature is lower than the variance threshold, the target training feature is deleted.
[0157] On the basis of the above implementation, the initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, and a fault recognition model is obtained, including:
[0158] According to the training features and the preset fault types, multiple types of initial models are trained respectively until the training end condition is met when the test training features are used for testing, thereby obtaining multiple candidate models;
[0159] The fault identification model is determined according to the precision and / or recall of each candidate model.
[0160] On the basis of the above implementation, if the feature data to be detected matches the measurement threshold of the preset fault rule, after determining the fault type according to the preset fault rule, the method further includes:
[0161] When a fault occurs, if the fault does not belong to the fault type inferred by the preset fault rule, the fault is determined to be a new fault;
[0162] A new preset fault rule is determined according to the new fault.
[0163] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0164] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0165] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0166] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0167] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0168] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A device fault location method based on data analysis, characterized in that: include: Obtain historical data of equipment operation; Determine characteristic data based on historical data; If the number of fault labels corresponding to the feature data is greater than or equal to the quantity threshold, the feature data to be detected is input into the fault identification model, and the fault identification model obtains the fault type according to the feature data to be detected; If the number of fault labels corresponding to the feature data is less than the quantity threshold, the feature data to be detected is obtained according to the preset fault rule; If the characteristic data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule.
2. The method according to claim 1, characterized in that Determine characteristic data based on historical data, including: Determine characteristic data according to a calculation formula of characteristic data and historical data; The characteristic data include time series characteristics, long-term characteristics and mechanism characteristics.
3. The method according to claim 1, characterized in that Before obtaining the characteristic data to be detected according to the preset fault rule, it also includes: Determine the measurement threshold based on the quantifiers and historical data included in the preset fault rules; Correspondingly, if the characteristic data to be detected matches the preset fault rule, determining the fault type according to the preset fault rule includes: If the characteristic data to be detected matches the measurement threshold of the preset fault rule, the fault type is determined according to the preset fault rule.
4. The method according to claim 1, characterized in that: Before inputting the feature data to be detected into the fault identification model, it also includes: Preprocess historical data; Extracting training features for training based on the preprocessed historical data, wherein the training features include a combination of one or more of time series features, long-term features, or mechanism features; The initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, thereby obtaining a fault recognition model.
5. The method according to claim 4, characterized in that Before training the initial model based on the training features and the preset fault types, it also includes: Obtaining the correlation parameter of each feature in the training feature vector, if the correlation parameter of the feature data to be detected is lower than the correlation threshold, deleting the feature data to be detected; or, The variance of each training feature is calculated, and if the variance of the target training feature is lower than the variance threshold, the target training feature is deleted.
6. The method according to claim 4, characterized in that The initial model is trained according to the training features and the preset fault types until the training end condition is met when the test training features are used for testing, and a fault recognition model is obtained, including: According to the training features and the preset fault types, multiple types of initial models are trained respectively until the training end condition is met when the test training features are used for testing, thereby obtaining multiple candidate models; The fault identification model is determined according to the precision and / or recall of each candidate model.
7. The method according to claim 3, characterized in that If the feature data to be detected matches the measurement threshold of the preset fault rule, after determining the fault type according to the preset fault rule, the method further includes: When a fault occurs, if the fault does not belong to the fault type inferred by the preset fault rule, the fault is determined to be a new fault; A new preset fault rule is determined according to the new fault.
8. A device for locating equipment faults based on data analysis, characterized in that: include: A historical data acquisition module is used to acquire historical data of equipment operation; A feature extraction module, used to determine feature data based on historical data; A model identification module, used for inputting the feature data to be detected into a fault identification model if the number of fault labels corresponding to the feature data is greater than or equal to a quantity threshold, and the fault identification model obtains the fault type according to the feature data to be detected; A rule identification module, used to obtain the feature data to be detected according to a preset fault rule if the number of fault labels corresponding to the feature data is less than a quantity threshold; If the characteristic data to be detected matches the preset fault rule, the fault type is determined according to the preset fault rule.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the device fault location method based on data analysis according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the device fault location method based on data analysis according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
PCB production line fault positioning method and equipment
CN113407592A
Fault identification method and device, equipment and storage medium
CN114490829A
Fault diagnosis method and device, computer readable storage medium and computer equipment
CN115859191A
Equipment fault recognition model training and fault recognition method and device and electronic equipment
CN117992790A
Equipment fault detection method and device, equipment and storage medium
CN118074625A
Cited By
Characteristic decoupling graph network-based power grid fault positioning method and system
CN120064874A
A method and system for power grid fault location based on feature decoupling graph networks
CN120064874B
