Equipment fault analysis method based on PLC recording and playing functions

Through PLC recording equipment operation and environmental data, analyzing the impact coefficient and abnormal index, the problem of environmental impact being ignored in the existing technology is solved, and the rapid positioning and cause analysis of equipment failures is realized, and the equipment operation efficiency and production efficiency are improved.

CN118980969APending Publication Date: 2024-11-19ANHUI KINGPOWER EQUIP & MOLD MFR
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411093769.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The prior art ignores the impact of the working environment on the equipment in equipment failure analysis, resulting in the failure monitoring and failure cause analysis incomplete enough.

Method used

Through PLC recording equipment operation data and environmental data, analyzing the impact coefficients of each indicator, calculating the equipment abnormality index, determining whether the equipment is faulty, and determining the cause of the fault based on the environmental and equipment indicator abnormality index.

Benefits of technology

It realizes rapid positioning and cause analysis of equipment failures, reduces downtime, and improves equipment operation efficiency and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118980969A_ABST
    Figure CN118980969A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment fault analysis method based on a PLC recording and playing function, relates to the technical field of equipment fault detection, and solves the problems that in the prior art, whether equipment breaks down or not and fault causes are analyzed only based on operation data of the equipment, the influence of a working environment on the equipment is neglected, and the equipment fault detection efficiency is low. And fault monitoring and fault reason analysis of the equipment are not comprehensive enough. The method comprises the following steps: analyzing the influence coefficient of each environment index on equipment; influence coefficients corresponding to the operation indexes of the equipment are obtained; based on the influence coefficient of the operation index, analyzing an equipment anomaly index of the equipment; judging whether the equipment abnormity index is greater than an equipment abnormity index threshold value or not; if yes, the equipment fails, and the fault reason of the equipment is analyzed; if not, the equipment is normal; by analyzing index data in real time, abnormal conditions of the equipment are found in time, fault causes are accurately positioned, non-planned shutdown time is shortened, and production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of equipment fault detection, and in particular relates to an equipment fault analysis method based on PLC recording and playback functions. Background Art

[0002] As a core component of industrial automation, PLC not only controls the operation of equipment, but also records various data during the operation of the equipment, such as input / output signal status, operating parameters, alarm information, etc.; it plays a key role in equipment fault analysis.

[0003] The invention patent application with publication number CN103293399A discloses a method for analyzing electrical equipment failure, which includes the following steps: S1: storing the operation data of the electrical equipment during operation, and obtaining the operation data in a predetermined time period before and / or after the failure occurs after the electrical equipment fails; S2: analyzing the cause of the failure according to the obtained operation data. A system for analyzing electrical equipment failure is also disclosed. The present invention can accurately and effectively analyze the cause of the failure according to the operation data before and after the failure occurs by recording the operation data of the equipment (such as household appliances) in real time, and can find out the cause of the failure in time at the scene of the failure, thereby improving the quality of product service.

[0004] The above-mentioned prior art analyzes whether the equipment fails and analyzes the cause of the failure based on the equipment's operating data, but ignores the impact of the working environment on the equipment, and the equipment's fault monitoring and fault cause analysis are not comprehensive enough; therefore, the present invention provides an equipment fault analysis method based on PLC recording and playback functions. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a device fault analysis method based on PLC recording and playback functions, which is used to solve the technical problems that the prior art only analyzes whether a device fails and analyzes the cause of the failure based on the device's operating data, ignores the impact of the working environment on the device, and is not comprehensive in the device's fault monitoring and fault cause analysis.

[0006] To achieve the above object, a first aspect of the present invention provides a device fault analysis method based on PLC recording and playback functions, comprising the following processing steps:

[0007] Step 1: Collect environmental data and equipment operation data through PLC; the environmental data is the data of various environmental indicators, including the temperature, humidity and pressure of the equipment working environment; the equipment operation data is the data of various operation indicators, including temperature, voltage, current and pressure;

[0008] Step 2: Analyze the influence coefficient of each environmental indicator on the equipment; and the influence coefficient corresponding to each operating indicator of the equipment; based on the influence coefficient of the operating indicator, analyze the equipment abnormality index of the equipment;

[0009] Step 3: Determine whether the device abnormality index is greater than the device abnormality index threshold; if yes, the device is faulty and the cause of the device failure is analyzed; if no, the device is normal.

[0010] Preferably, the influence coefficient corresponding to each operating indicator of the analysis equipment includes:

[0011] Extract the operating data of several devices from the historical data and construct an operating data matrix with m rows and n columns, marked as X = [xij] m×n ; Where xij is the operation data; i represents the equipment object, and the equipment model is the same, i = 0, 1, ..., m; j represents the operation index, j = 0, 1, ..., n; m, n are positive integers;

[0012] Normalize xij to yij through the formula yij=xij / max(xj); then calculate the proportion pj of the jth operating index of the ith device object to the jth operating index of all device objects through the formula pj=yij / Σyij; where xj is the maximum operating data corresponding to the jth operating index; Σ represents the sum of i;

[0013] Based on the proportion pj, the entropy value of each operating indicator is calculated. The objective influence coefficient corresponding to each operating indicator is analyzed through the entropy value, and the subjective influence coefficient of the expert evaluation of the operating indicator is averaged to obtain the influence coefficient of each operating indicator.

[0014] Preferably, the analysis of the influence coefficient of each environmental data on the equipment includes:

[0015] Extract some environmental data from historical data and construct an environmental data matrix with s rows and n columns, marked as R = [rik] s×n ; Wherein, rik is environmental data; k represents environmental indicators, k = 0, 1, ..., s; s is a positive integer; the analysis method of the influence coefficient corresponding to the environmental indicator based on the environmental data matrix is ​​the same as the analysis method of the influence coefficient of the operating indicator.

[0016] In the operation data matrix of the present invention, each row represents a device object, and each column represents an operation index. The constructed operation data matrix is ​​helpful for subsequent data analysis; the data in the matrix is ​​normalized to eliminate the dimensional influence between different indexes, so that all indexes are at the same order of magnitude, thereby ensuring the fairness and accuracy of subsequent analysis; after normalization, the proportion of each operation index relative to other devices under the same index is calculated, and this proportion reflects the relative performance of each device on a certain specific index, which is the basis for quantifying the importance of the index in subsequent analysis; based on the proportion, the entropy value of each operation index is further calculated, and the objective influence coefficient can be obtained by analyzing the entropy value of each operation index, and these objective influence coefficients are averaged with the subjective influence coefficients evaluated by experts to obtain the final influence coefficients of each operation index; combining subjective and objective methods can more comprehensively evaluate the importance of indicators and avoid the deviation that may be caused by relying on a single evaluation method.

[0017] Preferably, the analyzing the equipment abnormality index of the equipment based on the influence coefficient of the operation index includes:

[0018] The operating data of each operating indicator is compared with the corresponding threshold range. If it is not within the corresponding threshold range, the operating data is abnormal. The number of abnormal operating data corresponding to each operating indicator of the equipment within the statistical analysis period is marked as Gj. The equipment abnormality index JKZ of the equipment is calculated by the formula JKZ=Σ(Qj×Gj); wherein Qj is the influence coefficient corresponding to the operating indicator.

[0019] The present invention can quantify the degree of abnormality of each indicator by counting the number of abnormalities that occur in each operating indicator within a given period; and introduces the influence coefficient corresponding to the operating indicator, so that the importance and influence of different indicators can be comprehensively considered when calculating the equipment abnormality index. Even if the number of abnormalities of some indicators is small, if its influence coefficient is high, it will also affect the working state of the equipment; the equipment abnormality index is a comprehensive evaluation indicator, which comprehensively considers the abnormal conditions and influence degrees of all operating indicators of the equipment, and conducts a rapid and accurate evaluation of the overall performance of the equipment.

[0020] Preferably, when the device abnormality index is greater than the device abnormality index threshold, the analyzing the cause of the device failure includes:

[0021] When a fault warning occurs in the equipment, the operating data of the previous T analysis cycles of the current analysis cycle are extracted; the number of abnormalities of each environmental data and the number of abnormalities of each operating indicator in the previous T cycles are counted respectively, and the environmental impact index and the equipment abnormality index are calculated;

[0022] If the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is environmental factors; if the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is internal equipment reasons; where the environmental impact index is the number of abnormalities in the environmental data corresponding to each environmental indicator multiplied by the impact coefficient corresponding to the environmental indicator.

[0023] The present invention extracts data from the first T analysis cycles of the current fault analysis cycle, and analyzes the cause of the equipment failure through data from multiple analysis cycles, which helps maintenance personnel to quickly locate the problem and avoid wasting time in the wrong direction; if the fault is mainly caused by environmental factors, the enterprise can consider adjusting the environmental control strategy or taking preventive measures to reduce the occurrence of similar faults; if the fault is mainly caused by internal reasons of the equipment, the focus can be on strengthening the preventive maintenance of the equipment or carrying out technical transformation; rapid fault location and cause classification can significantly reduce the downtime of the equipment, improve the operating efficiency of the equipment and the production benefits of the enterprise.

[0024] Preferably, if the environmental impact index is equal to the equipment abnormality index, then the environmental impact index and the equipment abnormality index in each of the T analysis periods are calculated; the environmental impact index and the equipment abnormality value in the T analysis periods are respectively curve-fitted to obtain an environmental impact index curve and an equipment abnormality index curve; and the slope of the curve is calculated;

[0025] If the slope of the environmental impact index curve is greater than that of the equipment abnormality index curve, the cause of the equipment failure is environmental factors; if the slope of the environmental impact index curve is less than that of the equipment abnormality index curve, the cause of the equipment failure is internal equipment factors; if the slope of the environmental impact index curve is equal to that of the equipment abnormality index curve, the cause of the equipment failure is the interaction between environmental factors and internal equipment factors.

[0026] The present invention performs curve fitting on the environmental impact index and the equipment abnormality index within the T analysis period respectively. The curve fitting can reflect the dynamic trend of environmental impact and equipment abnormality changing over time. The comparison of the curve slopes is very sensitive to small changes. Even if the environmental impact index and the equipment abnormality index are equal in value, there may be slight differences in their slopes, and this difference is sufficient to indicate the main cause of the fault.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] 1. The present invention constructs a data matrix to analyze the entropy value of each indicator; uses the entropy method to analyze the discrete degree of the data itself to determine the weight of the indicator, obtains the objective influence coefficient of each indicator, and combines the subjective influence coefficient of each indicator by experts to obtain the final influence coefficient of each indicator; through the consideration of both subjective and objective aspects, the analysis results of the influence degree of each indicator on the equipment are closer to the actual situation;

[0029] 2. The present invention evaluates the working status of the equipment through the equipment abnormality index. When the equipment fails, the data of the working environment index and the operation index of the equipment in a period of time before the current fault node are extracted, and the environmental impact index and the equipment abnormality index are analyzed. By comparing the two, it is analyzed whether the cause of the equipment failure is external or internal, which helps to quickly locate the source of the failure and solve the problem;

[0030] 3. The present invention analyzes the influence coefficient of each environmental indicator on the equipment; and the influence coefficient corresponding to each operating indicator of the equipment; based on the influence coefficient of the operating indicator, analyzes the equipment abnormality index of the equipment; determines whether the equipment abnormality index is greater than the equipment abnormality index threshold; if so, the equipment fails, and analyzes the cause of the equipment failure; if not, the equipment is normal; through real-time analysis of indicator data, potential faults can be discovered in time, the source of the fault can be accurately identified, the troubleshooting time can be shortened, the maintenance cost can be reduced, and the equipment reliability and production efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0032] Figure 1 It is a schematic diagram of the process of the present invention;

[0033] Figure 2 It is a flow chart of the influence coefficient analysis method of the operating index of the present invention;

[0034] Figure 3 The figure is a flow chart of the method for analyzing the cause of a fault of the present invention. DETAILED DESCRIPTION

[0035] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. 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 are within the scope of protection of the present invention.

[0036] See also Figure 1 The first embodiment of the present invention provides a device fault analysis method based on PLC recording and playback functions, including the following processing steps:

[0037] Step 1: Collect environmental data and equipment operation data through PLC; the environmental data is the data of various environmental indicators, including the temperature, humidity and pressure of the equipment working environment; the equipment operation data is the data of various operation indicators, including temperature, voltage, current and pressure;

[0038] Specifically, the input module of the PLC is responsible for receiving status signals from various sensors and devices; these modules can be digital input modules (for processing switch signals) or analog input modules (for processing continuously changing signals such as temperature, pressure, etc.); among them, environmental sensors include temperature sensors, humidity sensors, air pressure sensors, etc., which are connected to the analog input module of the PLC through cables; the controller or sensor on the device is connected to the PLC through a dedicated interface or industrial communication protocol (such as EtherCAT, Profinet, Modbus, etc.).

[0039] The PLC continuously reads and records the data from the input module according to a predetermined scanning cycle. This cycle is very short, usually between a few milliseconds and tens of milliseconds, to ensure the real-time nature of the data.

[0040] Step 2: Analyze the influence coefficient of each environmental indicator on the equipment; and the influence coefficient corresponding to each operating indicator of the equipment; based on the influence coefficient of the operating indicator, analyze the equipment abnormality index of the equipment;

[0041] See also Figure 2 Specifically, the operating data of several devices are extracted from the historical data, and an operating data matrix with m rows and n columns is constructed, which is marked as X = [xij] m×n ; Where xij is the operation data; i represents the equipment object, and the equipment model is the same, i = 0, 1, ..., m; j represents the operation index, j = 0, 1, ..., n; m, n are positive integers;

[0042] Normalize xij to yij through the formula yij=xij / max(xj); then calculate the proportion pj of the jth operating index of the ith device object to the jth operating index of all device objects through the formula pj=yij / Σyij; where xj is the maximum operating data corresponding to the jth operating index; Σ represents the sum of i;

[0043] Based on the proportion pj, the entropy value of each operating indicator is calculated. The objective influence coefficient corresponding to each operating indicator is analyzed through the entropy value, and the subjective influence coefficient of the expert evaluation of the operating indicator is averaged to obtain the influence coefficient of each operating indicator.

[0044] The analysis method of the influence coefficient of environmental data on equipment is the same as the influence coefficient corresponding to each operating index of the equipment;

[0045] Extract some environmental data from historical data and construct an environmental data matrix with s rows and n columns, marked as R = [rik] s ×n; where rik is environmental data; k represents environmental index, k = 0, 1, ..., s; s, n are positive integers;

[0046] The formula rik=rik / max(rk) is used to normalize rik to rik; the formula pk=rik / Σrik is used to calculate the proportion pk of the kth environmental index of the ith equipment object to the kth environmental index of all equipment objects; wherein rk is the maximum operating data corresponding to the kth environmental index; Σ represents the sum of i;

[0047] Based on the proportion pk, the entropy value of each environmental indicator is calculated by the formula ek=-1 / ln(s)×Σ[pk×ln(pk)]. The objective influence coefficient Fk=(1-ek) / Σ(1-ek) corresponding to each environmental indicator is analyzed through the entropy value, and the objective influence coefficient of each environmental indicator is obtained by averaging the subjective influence coefficient of the expert's environmental indicator evaluation; where Σ represents the sum of k.

[0048] Compare the operating data of each operating indicator with the corresponding threshold range. If it is not within the corresponding threshold range, the operating data corresponding to the operating indicator is abnormal. The number of abnormal operating data corresponding to each operating indicator of the equipment within the statistical analysis period is marked as Gj. The equipment abnormality index JKZ of the equipment is calculated by the formula JKZ=Σ(Qj×Gj); wherein Qj is the influence coefficient corresponding to the operating indicator.

[0049] The present invention analyzes the working state of the equipment through the equipment abnormality index; the working state of the equipment is mainly closely related to the number of abnormalities in the operating data corresponding to the equipment operating indicators and the influence coefficients corresponding to the operating indicators; if there are more abnormal operating data in multiple operating indicators of the equipment, and the influence coefficients corresponding to some operating indicators are large, the working state of the equipment is poor and a fault occurs, that is, the abnormality index of the equipment is large.

[0050] Step 3: Determine whether the device abnormality index is greater than the device abnormality index threshold; if yes, the device is faulty and the cause of the device failure is analyzed; if no, the device is normal.

[0051] See also Figure 3 Specifically, when a fault warning occurs in the equipment, the operation data of the previous T analysis cycles of the current analysis cycle are extracted; the number of abnormalities of each environmental data and the number of abnormalities of each operation indicator in the previous T cycles are counted respectively, and the environmental impact index and the equipment abnormality index are calculated;

[0052] If the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is environmental factors; if the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is internal equipment reasons; where the environmental impact index is the number of abnormalities in the environmental data corresponding to each environmental indicator multiplied by the impact coefficient corresponding to the environmental indicator.

[0053] If the environmental impact index is equal to the equipment abnormality index, then calculate the environmental impact index and the equipment abnormality index in each of the T analysis periods; perform curve fitting on the environmental impact index and the equipment abnormality value number in the T analysis periods, respectively, to obtain an environmental impact index curve and an equipment abnormality index curve; calculate the slope of the curve;

[0054] Among them, the environmental impact index curve and the equipment abnormality index curve are obtained by the least squares method.

[0055] If the slope of the environmental impact index curve is greater than that of the equipment abnormality index curve, the cause of the equipment failure is environmental factors; if the slope of the environmental impact index curve is less than that of the equipment abnormality index curve, the cause of the equipment failure is internal equipment factors; if the slope of the environmental impact index curve is equal to that of the equipment abnormality index curve, the cause of the equipment failure is the interaction between environmental factors and internal equipment factors.

[0056] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0057] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A device fault analysis method based on PLC recording and playback functions, characterized in that: The processing steps include: Step 1: Collect environmental data and equipment operation data through PLC; the environmental data is the data of various environmental indicators, including the temperature, humidity and pressure of the equipment working environment; the equipment operation data is the data of various operation indicators, including temperature, voltage, current and pressure; Step 2: Analyze the influence coefficient of each environmental indicator on the equipment; and the influence coefficient corresponding to each operating indicator of the equipment; based on the influence coefficient of the operating indicator, analyze the equipment abnormality index of the equipment; Step 3: Determine whether the device abnormality index is greater than the device abnormality index threshold; if yes, the device is faulty and the cause of the device failure is analyzed; if no, the device is normal.

2. The device fault analysis method based on PLC recording and playback function according to claim 1 is characterized in that: The influence coefficients corresponding to the operating indicators of the analysis equipment include: Extract the operating data of several devices from the historical data and construct an operating data matrix with m rows and n columns, marked as X = [xij] m×n ; Where xij is the operation data; i represents the equipment object, and the equipment model is the same, i = 0, 1, ..., m; j represents the operation index, j = 0, 1, ..., n; m, n are positive integers; Normalize xij to yij through the formula yij=xij / max(xj); then calculate the proportion pj of the jth operating index of the ith device object to the jth operating index of all device objects through the formula pj=yij / Σyij; where xj is the maximum operating data corresponding to the jth operating index; Σ represents the sum of i; Based on the proportion pj, the entropy value of each operating indicator is calculated. The objective influence coefficient corresponding to each operating indicator is analyzed through the entropy value, and the subjective influence coefficient of the expert evaluation of the operating indicator is averaged to obtain the influence coefficient of each operating indicator.

3. The device fault analysis method based on PLC recording and playback function according to claim 2 is characterized in that: The analysis of the influence coefficient of each environmental data on the equipment includes: Extract some environmental data from historical data and construct an environmental data matrix with s rows and n columns, marked as R = [rik] s×n ; Wherein, rik is environmental data; k represents environmental indicators, k = 0, 1, ..., s; s is a positive integer; the analysis method of the influence coefficient corresponding to the environmental indicator based on the environmental data matrix is ​​the same as the analysis method of the influence coefficient of the operating indicator.

4. The device fault analysis method based on PLC recording and playback function according to claim 2 is characterized in that: The equipment abnormality index of the equipment is analyzed based on the influence coefficient of the operation index, including: The operating data of each operating indicator is compared with the corresponding threshold range. If it is not within the corresponding threshold range, the operating data is abnormal. The number of abnormal operating data corresponding to each operating indicator of the equipment within the statistical analysis period is marked as Gj. The equipment abnormality index JKZ of the equipment is calculated by the formula JKZ=Σ(Qj×Gj); wherein Qj is the influence coefficient corresponding to the operating indicator.

5. The device fault analysis method based on PLC recording and playback function according to claim 4 is characterized in that: When the device abnormality index is greater than the device abnormality index threshold, analyzing the cause of the device failure includes: When a fault warning occurs in the equipment, the operating data of the previous T analysis cycles of the current analysis cycle are extracted; the number of abnormalities of each environmental data and the number of abnormalities of each operating indicator in the previous T cycles are counted respectively, and the environmental impact index and the equipment abnormality index are calculated; If the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is environmental factors; if the environmental impact index is greater than the equipment abnormality index, the cause of the equipment failure is internal equipment reasons; where the environmental impact index is the number of abnormalities in the environmental data corresponding to each environmental indicator multiplied by the impact coefficient corresponding to the environmental indicator.

6. The device fault analysis method based on PLC recording and playback function according to claim 5 is characterized in that: If the environmental impact index is equal to the equipment abnormality index, then calculate the environmental impact index and the equipment abnormality index in each of the T analysis periods; perform curve fitting on the environmental impact index and the equipment abnormality value number in the T analysis periods, respectively, to obtain an environmental impact index curve and an equipment abnormality index curve; calculate the slope of the curve; If the slope of the environmental impact index curve is greater than that of the equipment abnormality index curve, the cause of the equipment failure is environmental factors; if the slope of the environmental impact index curve is less than that of the equipment abnormality index curve, the cause of the equipment failure is internal equipment factors; if the slope of the environmental impact index curve is equal to that of the equipment abnormality index curve, the cause of the equipment failure is the interaction between environmental factors and internal equipment factors.

Citation Information

Cited By

  • Digital processing equipment visual management system and method

    CN119417456A

  • Port machinery equipment predictive maintenance decision-making method and system

    CN122415076A