[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114137915A - A kind of fault diagnosis method of industrial equipment - Google Patents

A kind of fault diagnosis method of industrial equipment Download PDF

Info

Publication number
CN114137915A
CN114137915A CN202111371213.1A CN202111371213A CN114137915A CN 114137915 A CN114137915 A CN 114137915A CN 202111371213 A CN202111371213 A CN 202111371213A CN 114137915 A CN114137915 A CN 114137915A
Authority
CN
China
Prior art keywords
fault
equipment
value
diagnosed
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111371213.1A
Other languages
Chinese (zh)
Other versions
CN114137915B (en
Inventor
马波涛
樊妍睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aerospace Cloud Network Data Technology (Chengdu) Co.,Ltd.
Original Assignee
Chengdu Aerospace Science And Industry Big Data Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Aerospace Science And Industry Big Data Research Institute Co ltd filed Critical Chengdu Aerospace Science And Industry Big Data Research Institute Co ltd
Priority to CN202111371213.1A priority Critical patent/CN114137915B/en
Publication of CN114137915A publication Critical patent/CN114137915A/en
Application granted granted Critical
Publication of CN114137915B publication Critical patent/CN114137915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41875Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by quality surveillance of production
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32252Scheduling production, machining, job shop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a fault diagnosis method of industrial equipment, which comprises the following steps: collecting samples, wherein the samples comprise normal samples and fault samples; constructing a parameter evaluation model, and training the parameter evaluation model by adopting a normal sample; evaluating the monitoring parameters of the equipment to be diagnosed by adopting the trained parameter evaluation model to obtain a monitoring parameter evaluation value; updating the fault sample according to the monitoring parameter evaluation value and the corresponding monitoring parameter; constructing a fault recognition model, and training the fault recognition model by adopting a fault sample; and acquiring real-time monitoring parameters of the equipment to be diagnosed, and identifying the real-time monitoring parameters through the trained fault identification model to obtain a fault diagnosis result. The invention improves the fault diagnosis efficiency and the fault diagnosis accuracy of the industrial equipment.

Description

一种工业设备的故障诊断方法A fault diagnosis method for industrial equipment

技术领域technical field

本发明属于故障诊断领域,具体涉及一种工业设备的故障诊断方法。The invention belongs to the field of fault diagnosis, in particular to a fault diagnosis method for industrial equipment.

背景技术Background technique

故障诊断主要指对系统或设备运行过程中出现的故障进行检测、分离和辨识,即判断故障是否发生,以及定位故障发生的部位和种类等。目前,主要的故障诊断方法包括如下几种:Fault diagnosis mainly refers to the detection, separation and identification of faults that occur during the operation of the system or equipment, that is, to determine whether the fault occurs, and to locate the location and type of the fault. At present, the main fault diagnosis methods include the following:

1、基于专家系统的故障诊断方法1. Fault diagnosis method based on expert system

基于专家系统的故障诊断方法是利用领域专家在长期实践中积累起来的经验建立知识库,并设计一套计算机程序模拟人类专家的推理和决策过程进行故障诊断。专家系统主要由知识库、推理机、综合数据库、人机接口及解释模块等部分构成。The expert system-based fault diagnosis method is to use the experience accumulated by domain experts in long-term practice to establish a knowledge base, and design a set of computer programs to simulate the reasoning and decision-making process of human experts for fault diagnosis. Expert system is mainly composed of knowledge base, reasoning engine, comprehensive database, human-machine interface and interpretation module.

基于专家系统的故障诊断方法能够利用专家丰富的经验知识,无需对系统进行数学建模并且诊断结果易于理解,因此得到了广泛的应用。但是,这类方法所需求的专家知识获取比较困难,这成为专家系统开发中的主要瓶颈;其次,诊断的准确程度依赖于知识库中专家经验的丰富程度和知识水平的高低;最后,当规则较多时,推理过程中存在匹配冲突、组合爆炸等问题,使得推理速度较慢、效率低下。The fault diagnosis method based on expert system can make use of the rich experience and knowledge of experts, without the need for mathematical modeling of the system and the diagnosis results are easy to understand, so it has been widely used. However, it is difficult to obtain the expert knowledge required by such methods, which becomes the main bottleneck in the development of expert systems; secondly, the accuracy of diagnosis depends on the richness of expert experience and the level of knowledge in the knowledge base; finally, when the rules When there are many cases, there are problems such as matching conflict and combination explosion in the reasoning process, which makes the reasoning speed slow and inefficient.

2、基于图论的故障诊断方法2. Fault diagnosis method based on graph theory

基于图论的故障诊断方法主要包括符号有向图(Signed directed graph,SDG)方法和故障树(Fault tree)方法。SDG是一种被广泛采用的描述系统因果关系的图形化模型。故障树是一种特殊的逻辑图。基于故障树的诊断方法是一种由果到因的分析过程,它从系统的故障状态出发,逐级进行推理分析,最终确定故障发生的基本原因、影响程度和发生概率。The fault diagnosis methods based on graph theory mainly include the Signed directed graph (SDG) method and the fault tree (Fault tree) method. SDG is a widely used graphical model for describing system causality. A fault tree is a special kind of logic diagram. The diagnosis method based on fault tree is an analysis process from effect to cause. It starts from the fault state of the system, conducts reasoning analysis step by step, and finally determines the basic cause, influence degree and occurrence probability of the fault.

基于图论的故障诊断方法具有建模简单、结果易于理解和应用范围广等特点。但是,当系统或设备比较复杂时,这类方法的搜索过程会变得非常复杂,而且诊断正确率不高,可能给出无效的故障诊断结果,故在实际应用中,大多与其他方法结合使用。The fault diagnosis method based on graph theory has the characteristics of simple modeling, easy to understand results and wide application range. However, when the system or equipment is more complex, the search process of such methods will become very complicated, and the diagnosis accuracy rate is not high, which may give invalid fault diagnosis results. Therefore, in practical applications, most of them are used in combination with other methods. .

3、基于解析模型的故障诊断方法3. Fault diagnosis method based on analytical model

基于解析模型的故障诊断方法利用系统精确的数学模型和可观测输入、输出量构造残差信号来反映系统期望行为与实际运行模式之间的不一致,然后基于对残差信号的分析进行故障诊断。The analytical model-based fault diagnosis method uses the accurate mathematical model of the system and the observable input and output to construct residual signals to reflect the inconsistency between the expected behavior of the system and the actual operating mode, and then performs fault diagnosis based on the analysis of the residual signals.

基于解析模型的故障诊断利用了对系统内部的深层认识,具有很好的诊断效果。但是这类方法依赖于被诊断对象精确的数学模型,实际中对象精确的数学模型往往难以建立,此时基于解析模型的故障诊断方法便不再适用。The fault diagnosis based on the analytical model utilizes the deep understanding of the inside of the system and has a good diagnosis effect. However, this kind of method relies on the accurate mathematical model of the object to be diagnosed. In practice, it is often difficult to establish an accurate mathematical model of the object. At this time, the fault diagnosis method based on the analytical model is no longer applicable.

4、基于多元统计分析的故障诊断方法4. Fault diagnosis method based on multivariate statistical analysis

基于多元统计分析的故障诊断方法是利用过程多个变量之间的相关性对过程进行故障诊断,这类方法根据过程变量历史数据,利用多元投影方法将多变量样本空间分解成由主元变量张成的较低维的投影子空间和一个相应的残差子空间,并分别在这两个空间中构造能够反映空间变化的统计量,然后将观测向量分别向两个子空间进行投影,并计算相应统计量指标用于过程监控。The fault diagnosis method based on multivariate statistical analysis is to use the correlation between multiple variables of the process to diagnose the fault of the process. According to the historical data of the process variables, this method uses the multivariate projection method to decompose the multivariate sample space into the main component variables. A lower-dimensional projection subspace and a corresponding residual subspace are formed, and statistics that can reflect spatial changes are constructed in these two spaces respectively, and then the observation vector is projected to the two subspaces respectively, and the corresponding Statistical indicators are used for process monitoring.

基于多元统计分析的故障诊断方法不需要对系统的结构和原理有深入的了解,完全基于系统运行过程中传感器的测量数据,而且算法简单,易于实现。但是,这类方法诊断出来的故障物理意义不明确,难于解释,并且由于实际系统的复杂性,这类方法中还有许多问题有待进一步的研究,比如过程变量之间非线性,以及过程的动态性和时变性等。The fault diagnosis method based on multivariate statistical analysis does not require in-depth understanding of the structure and principle of the system. It is completely based on the measurement data of sensors during the operation of the system, and the algorithm is simple and easy to implement. However, the physical meaning of the faults diagnosed by this kind of method is unclear and difficult to explain, and due to the complexity of the actual system, there are still many problems in this kind of method to be further studied, such as the nonlinearity between the process variables, and the dynamics of the process. Sex and time-varying, etc.

5、基于信号处理的故障诊断方法5. Fault diagnosis method based on signal processing

基于信号处理的故障诊断方法对测量信号利用各种信号处理方法进行分析处理,提取与故障相关的信号的时域或频域特征用于故障诊断,主要包括谱分析方法和小波变换方法。The fault diagnosis method based on signal processing uses various signal processing methods to analyze and process the measurement signal, and extract the time domain or frequency domain features of the fault-related signal for fault diagnosis, mainly including spectrum analysis method and wavelet transform method.

基于信号处理的故障诊断方法需要手动设计进行故障诊断的信号处理过程与细节,然而对于不同的问题,信号的选择、处理方式等都是不同的,这就使得此类方法的运用范围很小;同时,手动设计的信号处理方法高度依赖于领域知识,这使得提取到的信号特征很难准确地进行故障诊断。The fault diagnosis method based on signal processing needs to manually design the signal processing process and details for fault diagnosis. However, for different problems, the signal selection and processing methods are different, which makes the application scope of such methods very small; Meanwhile, the manually designed signal processing methods are highly dependent on domain knowledge, which makes it difficult for the extracted signal features to accurately diagnose faults.

6、基于机器学习的故障诊断方法6. Fault diagnosis method based on machine learning

基于机器学习的故障诊断方法基本思路是利用系统在正常和各种故障情况下的历史数据训练神经网络或者支持向量机等机器学习算法用于故障诊断。在故障诊断中神经网络主要用来对提取出来的故障特征进行分类。The basic idea of fault diagnosis methods based on machine learning is to use the historical data of the system under normal and various fault conditions to train machine learning algorithms such as neural networks or support vector machines for fault diagnosis. In fault diagnosis, neural network is mainly used to classify the extracted fault features.

基于机器学习的故障诊断方法以故障诊断正确率为学习目标,并且适用范围广。但是机器学习算法需要过程故障情况下的样本数据,且精度与样本的完备性和代表性有很大关系,因此难以用于那些无法获得大量故障数据的工业过程。The fault diagnosis method based on machine learning takes the correct rate of fault diagnosis as the learning target, and has a wide range of applications. However, machine learning algorithms require sample data in the case of process failures, and the accuracy is closely related to the completeness and representativeness of the samples, so it is difficult to apply to those industrial processes where a large amount of failure data cannot be obtained.

发明内容SUMMARY OF THE INVENTION

针对现有技术中的上述不足,本发明提供的一种工业设备的故障诊断方法解决了现有技术中故障诊断不准确以及故障诊断效率低的问题。Aiming at the above deficiencies in the prior art, the present invention provides a fault diagnosis method for industrial equipment, which solves the problems of inaccurate fault diagnosis and low fault diagnosis efficiency in the prior art.

为了达到上述发明目的,本发明采用的技术方案为:一种工业设备的故障诊断方法,包括:In order to achieve the above purpose of the invention, the technical solution adopted in the present invention is: a fault diagnosis method for industrial equipment, comprising:

采集样本,所述样本包括正常样本和故障样本;collecting samples, the samples include normal samples and fault samples;

构建参数评估模型,并采用正常样本对参数评估模型进行训练;Build a parameter evaluation model, and use normal samples to train the parameter evaluation model;

采用训练后的参数评估模型对待诊断设备的监测参数进行评估,得到监测参数评估值;Use the trained parameter evaluation model to evaluate the monitoring parameters of the equipment to be diagnosed, and obtain the evaluation value of the monitoring parameters;

根据监测参数评估值以及对应的监测参数,对故障样本进行更新;Update the fault samples according to the evaluation value of the monitoring parameters and the corresponding monitoring parameters;

构建故障识别模型,并采用故障样本对故障识别模型进行训练;Build a fault identification model, and use fault samples to train the fault identification model;

获取待诊断设备的实时监测参数,并通过训练后的故障识别模型对实时监测参数进行识别,得到故障诊断结果。Obtain the real-time monitoring parameters of the equipment to be diagnosed, and identify the real-time monitoring parameters through the trained fault identification model to obtain the fault diagnosis result.

进一步地,所述正常样本为:Further, the normal sample is:

DP={(Xt-k,Yt)|t∈{k,k+1,...,m},k>0}D P ={(X tk ,Y t )|t∈{k,k+1,...,m},k>0}

其中,DP表示正常样本集合,正常样本的输入Xt-k表示监测起始时刻到t-k时刻工业设备的监测参数值,k表示预测时间间隔,m为正整数,m>k,正常样本的输出Yt表示t时刻工业设备的监测参数值;当k=1时,正常样本的输入Xt-k和输出Yt分别表示工业设备在监测起始时刻到前一时刻的监测参数值矩阵和当前时刻的监测参数值。Among them, D P represents the normal sample set, the input X tk of the normal sample represents the monitoring parameter value of the industrial equipment from the monitoring start time to the time tk, k represents the prediction time interval, m is a positive integer, m>k, the output of the normal sample Y t represents the monitoring parameter value of the industrial equipment at time t; when k=1, the input X tk and output Y t of the normal sample respectively represent the monitoring parameter value matrix of the industrial equipment from the monitoring start time to the previous time and the monitoring at the current time. parameter value.

3.根据权利要求2所述的工业设备的故障诊断方法,其特征在于,所述故障样本为:3. The fault diagnosis method of industrial equipment according to claim 2, wherein the fault sample is:

DE={(Xt,Yt),t∈{0,1,...,m}}D E ={(X t ,Y t ),t∈{0,1,...,m}}

其中,DE表示故障样本集合,Xt表示t时刻工业设备的监测参数值,Yt表示t时刻工业设备的故障标签one-hot向量。Among them, D E represents the set of fault samples, X t represents the monitoring parameter value of the industrial equipment at time t, and Y t represents the one-hot vector of the fault label of the industrial equipment at time t.

进一步地,所述参数识别模型包括依次连接的输入层、若干卷积神经网络层、扁平层、LSTM层、全连接层以及输出层;所述卷积神经网络层包括依次连接的第一卷积层、第一池化层、第二卷积层以及第二池化层;所述全连接层采用Relu函数作为激活函数。Further, the parameter identification model includes an input layer, several convolutional neural network layers, a flat layer, an LSTM layer, a fully connected layer and an output layer connected in sequence; the convolutional neural network layer includes a first convolutional layer connected in sequence. layer, the first pooling layer, the second convolution layer and the second pooling layer; the fully connected layer uses the Relu function as the activation function.

进一步地,所述根据监测参数评估值以及对应的监测参数,对故障样本进行更新,包括:Further, according to the monitoring parameter evaluation value and the corresponding monitoring parameter, the fault sample is updated, including:

根据监测参数评估值,获取待诊断设备的监测参数值与监测参数评估值之间的差异值σ为:According to the monitoring parameter evaluation value, the difference σ between the monitoring parameter value of the equipment to be diagnosed and the monitoring parameter evaluation value is obtained as:

σ=f(Y,Y')σ=f(Y,Y')

Figure BDA0003362251540000051
Figure BDA0003362251540000051

其中,f(Y,Y')表示差异值计算函数,Y表示待诊断设备的监测参数值,Y'表示监测参数评估值,所述监测参数值和监测参数评估值均为连续时间点上的序列,|*|表示取绝对值;Wherein, f(Y, Y') represents the difference value calculation function, Y represents the monitoring parameter value of the device to be diagnosed, and Y' represents the monitoring parameter evaluation value, and the monitoring parameter value and the monitoring parameter evaluation value are both at continuous time points. sequence, |*| means to take the absolute value;

根据差异值σ,获取待诊断设备的稳定度H为:According to the difference value σ, the stability H of the equipment to be diagnosed is obtained as:

Figure BDA0003362251540000052
Figure BDA0003362251540000052

其中,e表示自然常数,W表示监测参数的权重系数,监测参数包括n个子监测参数,W=[w1 w2…wn],w1 w2…wn分别表示n个子监测参数的权重系数;Among them, e represents a natural constant, W represents the weight coefficient of the monitoring parameter, and the monitoring parameter includes n sub-monitoring parameters, W=[w 1 w 2 ... wn ], w 1 w 2 ... wn respectively represents the weight of the n sub-monitoring parameters coefficient;

根据稳定度H,获取工业设备出现故障时对应的监测参数,并将对应的监测参数添加至故障样本集合,完成故障样本的更新。According to the stability H, the monitoring parameters corresponding to the failure of the industrial equipment are obtained, and the corresponding monitoring parameters are added to the fault sample set to complete the update of the fault samples.

进一步地,所述根据稳定度H,获取待诊断设备出现故障时对应的监测参数,包括:Further, according to the degree of stability H, obtaining the monitoring parameters corresponding to the failure of the equipment to be diagnosed, including:

获取正常样本的样本均值和标准差;Obtain the sample mean and standard deviation of the normal sample;

将样本均值与三倍标准差进行求和,得到和值,并将和值作为控制上限;Sum the sample mean and three standard deviations to get the sum, and use the sum as the upper control limit;

将样本均值与三倍标准差进行求差,得到差值,并将差值作为控制下限;Calculate the difference between the sample mean and three times the standard deviation to obtain the difference, and use the difference as the lower control limit;

获取控制上限与控制下限的平均值,并将平均值作为中心线;Obtain the average of the upper and lower control limits, and use the average as the center line;

根据控制上限、控制下限和中心线,构建故障判断条件;Construct fault judgment conditions according to the upper control limit, lower control limit and center line;

获取待诊断设备在连续时间点上的稳定度,并根据连续时间点上的稳定度和故障判断条件,获取待诊断设备出现故障时对应的监测参数。The stability of the equipment to be diagnosed at successive time points is obtained, and the monitoring parameters corresponding to the failure of the equipment to be diagnosed are obtained according to the stability at the successive time points and fault judgment conditions.

进一步地,根据控制上限、控制下限和中心线,构建故障判断条件,包括:Further, according to the upper control limit, lower control limit and center line, construct fault judgment conditions, including:

将控制上限与中心线之间的区域等分为三份,将控制下限与中心线之间的区域等分为三份;Divide the area between the upper control limit and the center line into three equal parts, and divide the area between the lower control limit and the center line into three equal parts;

将靠近控制上限的区域和靠近控制下限的区域作为A区,将靠近中心线的区域作为C区,将A区与C区之间的区域作为B区;Take the area close to the upper control limit and the area close to the lower control limit as area A, the area close to the center line as area C, and the area between area A and area C as area B;

根据A区、B区和C区,构建故障判断条件。According to the A, B and C areas, construct the fault judgment condition.

进一步地,所述故障判断条件包括:Further, the fault judgment conditions include:

条件一,若存在稳定度低于控制下限或高于控制上限,则待诊断设备出现故障;Condition 1, if the stability is lower than the lower control limit or higher than the upper control limit, the equipment to be diagnosed is faulty;

条件二,若存在九个连续时间点上的稳定度均位于C区,且位于中心线的一侧,则待诊断设备出现故障;Condition 2, if the stability at nine consecutive time points is located in zone C and on one side of the center line, the equipment to be diagnosed is faulty;

条件三,若存在六个连续时间点上的稳定度递增或递减,则待诊断设备出现故障;Condition 3, if the stability increases or decreases at six consecutive time points, the equipment to be diagnosed is faulty;

条件四,若存在十四个连续时间点上的稳定度交替上下,则待诊断设备出现故障;Condition 4: If there are 14 consecutive time points where the stability is alternately up and down, the equipment to be diagnosed is faulty;

条件五,若三个连续时间点上的稳定度中存在两个位于A区,则待诊断设备出现故障;Condition 5: If two of the stability at three consecutive time points are located in the A area, the equipment to be diagnosed is faulty;

条件六,若五个连续时间点上的稳定度中存在四个位于C区以外,且位于中心线的一侧,则待诊断设备出现故障;Condition 6, if four of the stability at five consecutive time points are located outside the C area and on one side of the center line, the equipment to be diagnosed is faulty;

条件七,若存在十五个连续时间点上的稳定度位于C区内,且分布于中心线的两侧,则待诊断设备出现故障;Condition 7, if the stability at fifteen consecutive time points is located in zone C and distributed on both sides of the center line, the equipment to be diagnosed is faulty;

条件八,若存在八个连续时间点上的稳定度位于A区或B区,且分布于中心线的两侧,则待诊断设备出现故障。Condition 8: If the stability at eight consecutive time points is located in zone A or zone B and distributed on both sides of the center line, the device to be diagnosed is faulty.

进一步地,所述构建故障识别模型,并采用故障样本对故障识别模型进行训练,包括:Further, building a fault identification model and using fault samples to train the fault identification model, including:

采用XGBoost模型作为故障识别模型;The XGBoost model is used as the fault identification model;

采用故障样本对故障识别模型进行训练。The fault identification model is trained with fault samples.

本发明的有益效果为:The beneficial effects of the present invention are:

(1)本发明提供了一种工业设备的故障诊断方法,提高了工业设备的故障诊断效率以及故障诊断准确率。(1) The present invention provides a fault diagnosis method for industrial equipment, which improves the fault diagnosis efficiency and fault diagnosis accuracy of the industrial equipment.

(2)本发明构建了参数评估模型,选择工业设备的正常运行数据作为训练样本数据,从而在不需要故障样本数据的前提下,实现工业设备当前检测参数的预估,结合工业设备的当前实际监测参数,获取其当前稳定度,进而得到连续时间点上的稳定度序列,然后构建故障判断条件,并通过故障判断条件实时监控所得稳定度序列,判断工业设备运行是否出现异常。(2) The present invention builds a parameter evaluation model, and selects the normal operation data of industrial equipment as training sample data, so as to realize the estimation of the current detection parameters of industrial equipment under the premise of not needing fault sample data, combined with the current actual situation of industrial equipment Monitor the parameters, obtain their current stability, and then obtain the stability sequence at continuous time points, then construct the fault judgment condition, and monitor the obtained stability sequence in real time through the fault judgment condition to judge whether the operation of the industrial equipment is abnormal.

(3)本发明中的参数评估模型仅以正常数据作为训练样本,故障识别模型仅以故障数据作为训练样本,从而使得正常数据与故障数据互不干扰。此外,只有通过参数评估模型判断工业设备运行异常,才使用故障识别模型对故障数据进行识别操作,从而避免正常运行数据的故障识别操作,提升故障诊断效率。(3) The parameter evaluation model in the present invention only uses normal data as a training sample, and the fault identification model only uses fault data as a training sample, so that the normal data and the fault data do not interfere with each other. In addition, only by judging the abnormal operation of industrial equipment through the parameter evaluation model, the fault identification model is used to identify the fault data, so as to avoid the fault identification operation of the normal operation data and improve the efficiency of fault diagnosis.

(4)本发明采用故障识别模型获取到相应的故障类型后,结合故障类型与故障详细信息关联表,即可获取具体的故障位置、原因等详细信息,从而支撑运维人员快速精准地解决故障问题。(4) After the invention adopts the fault identification model to obtain the corresponding fault type, and combines the fault type and the fault detailed information association table, the detailed information such as the specific fault location and cause can be obtained, thereby supporting the operation and maintenance personnel to solve the fault quickly and accurately. question.

附图说明Description of drawings

图1为本申请实施例提供的一种工业设备的故障诊断方法的流程图。FIG. 1 is a flowchart of a fault diagnosis method for an industrial equipment provided by an embodiment of the present application.

图2为本申请实施例提供的参数评估模型的结构图。FIG. 2 is a structural diagram of a parameter evaluation model provided by an embodiment of the present application.

图3为本申请实施例提供的条件一的示意图。FIG. 3 is a schematic diagram of condition 1 provided by an embodiment of the present application.

图4为本申请实施例提供的条件二的示意图。FIG. 4 is a schematic diagram of condition 2 provided by the embodiment of the present application.

图5为本申请实施例提供的条件三的示意图。FIG. 5 is a schematic diagram of condition 3 provided by the embodiment of the present application.

图6为本申请实施例提供的条件四的示意图。FIG. 6 is a schematic diagram of condition 4 provided by the embodiment of the present application.

图7为本申请实施例提供的条件五的示意图。FIG. 7 is a schematic diagram of condition 5 provided by an embodiment of the present application.

图8为本申请实施例提供的条件六的示意图。FIG. 8 is a schematic diagram of the sixth condition provided by the embodiment of the present application.

图9为本申请实施例提供的条件七的示意图。FIG. 9 is a schematic diagram of the seventh condition provided by the embodiment of the present application.

图10为本申请实施例提供的条件八的示意图。FIG. 10 is a schematic diagram of condition eight provided by this embodiment of the present application.

具体实施方式Detailed ways

下面对本发明的具体实施方式进行描述,以便于本技术领域的技术人员理解本发明,但应该清楚,本发明不限于具体实施方式的范围,对本技术领域的普通技术人员来讲,只要各种变化在所附的权利要求限定和确定的本发明的精神和范围内,这些变化是显而易见的,一切利用本发明构思的发明创造均在保护之列。The specific embodiments of the present invention are described below to facilitate those skilled in the art to understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes Such changes are obvious within the spirit and scope of the present invention as defined and determined by the appended claims, and all inventions and creations utilizing the inventive concept are within the scope of protection.

下面结合附图详细说明本发明的实施例。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

实施例1Example 1

如图1所示,一种工业设备的故障诊断方法,包括:As shown in Figure 1, a fault diagnosis method for industrial equipment includes:

采集样本,所述样本包括正常样本和故障样本;collecting samples, the samples include normal samples and fault samples;

构建参数评估模型,并采用正常样本对参数评估模型进行训练;Build a parameter evaluation model, and use normal samples to train the parameter evaluation model;

采用训练后的参数评估模型对待诊断设备的监测参数进行评估,得到监测参数评估值;Use the trained parameter evaluation model to evaluate the monitoring parameters of the equipment to be diagnosed, and obtain the evaluation value of the monitoring parameters;

根据监测参数评估值以及对应的监测参数,对故障样本进行更新;Update the fault samples according to the evaluation value of the monitoring parameters and the corresponding monitoring parameters;

构建故障识别模型,并采用故障样本对故障识别模型进行训练;Build a fault identification model, and use fault samples to train the fault identification model;

获取待诊断设备的实时监测参数,并通过训练后的故障识别模型对实时监测参数进行识别,得到故障诊断结果。Obtain the real-time monitoring parameters of the equipment to be diagnosed, and identify the real-time monitoring parameters through the trained fault identification model to obtain the fault diagnosis result.

可选的,工业设备可以包括机床和冲压设备等设备,但本发明所提供的技术方案不局限于此,也可以将本发明所提供的技术方案应用于工业系统中。Optionally, the industrial equipment may include equipment such as machine tools and stamping equipment, but the technical solutions provided by the present invention are not limited thereto, and the technical solutions provided by the present invention may also be applied to industrial systems.

可选的,监测参数值可以包括温度值、转速值、电流值和电压值等,对监测参数值进行数据清理和参数标准化操作后,可以将其划分为正常样本和故障样本。Optionally, the monitoring parameter values may include temperature values, rotational speed values, current values, and voltage values, etc. After data cleaning and parameter standardization operations are performed on the monitoring parameter values, they may be divided into normal samples and fault samples.

数据清洗可以包括数据一致性检验、空值处理、缺失数据处理、无效值处理和重复值处理等。标准化是为了消除特征之间的差异性,便于模型训练时的权重学习,标准化可以包括最小-最大标准化、Z-score标准化(零-均值规范化)或按小数定标标准化等。Data cleaning can include data consistency checking, null value processing, missing data processing, invalid value processing, and duplicate value processing. Normalization is to eliminate the differences between features and facilitate weight learning during model training. Normalization can include min-max normalization, Z-score normalization (zero-mean normalization), or decimal scaling normalization.

在一种可能的实施方式中,所述正常样本为:In a possible implementation, the normal sample is:

DP={(Xt-k,Yt),t∈{k,k+1,...,m},k>0}D P ={(X tk ,Y t ),t∈{k,k+1,...,m},k>0}

其中,DP表示正常样本集合,正常样本的输入Xt-k表示监测起始时刻到t-k时刻工业设备的监测参数值,k表示预测时间间隔,m为正整数,m>k,正常样本的输出Yt表示t时刻工业设备的监测参数值;当k=1时,正常样本的输入Xt-k和输出Yt分别表示工业设备在监测起始时刻到前一时刻的监测参数值矩阵和当前时刻的监测参数值。Among them, D P represents the normal sample set, the input X tk of the normal sample represents the monitoring parameter value of the industrial equipment from the monitoring start time to the time tk, k represents the prediction time interval, m is a positive integer, m>k, the output of the normal sample Y t represents the monitoring parameter value of the industrial equipment at time t; when k=1, the input X tk and output Y t of the normal sample respectively represent the monitoring parameter value matrix of the industrial equipment from the monitoring start time to the previous time and the monitoring at the current time. parameter value.

可选的,若监测参数值为多个参数值,则正常样本的输入Xt-k表示监测起始时刻到t-k时刻工业设备的监测参数值矩阵,正常样本的输出Yt表示t时刻工业设备的监测参数值向量。Optionally, if the monitoring parameter values are multiple parameter values, the input X tk of the normal sample represents the monitoring parameter value matrix of the industrial equipment from the monitoring start time to the time tk, and the output Y t of the normal sample represents the monitoring of the industrial equipment at the time t. A vector of parameter values.

在本实施例中,正常样本中的监测参数值为工业设备在正常运行时段内的时序多维数据。In this embodiment, the monitoring parameter value in the normal sample is the time series multidimensional data of the industrial equipment during the normal operation period.

在一种可能的实施方式中,所述故障样本为:In a possible implementation, the fault sample is:

DE={(Xt,Yt),t∈{0,1,...,m}}D E ={(X t ,Y t ),t∈{0,1,...,m}}

其中,DE表示故障样本集合,Xt表示t时刻工业设备的监测参数值,Yt表示t时刻工业设备的故障标签one-hot(独热)向量。Among them, D E represents the fault sample set, X t represents the monitoring parameter value of the industrial equipment at time t, and Y t represents the one-hot (one-hot) vector of the fault label of the industrial equipment at time t.

将工业设备发生故障时的监测参数值以及故障标签one-hot向量作为故障样本。The monitoring parameter value and the one-hot vector of the fault label when the industrial equipment fails are taken as the fault sample.

可选的,可以构建故障标签与故障详情的关联表,通过故障识别模型识别故障类型(故障标签)后,即可以通过关联表定位故障详情。Optionally, an association table between fault labels and fault details can be constructed, and after identifying the fault type (fault label) through the fault identification model, the fault details can be located through the association table.

如图2所示,所述参数识别模型包括依次连接的输入层、若干卷积神经网络层、扁平层、LSTM(Long Short-Term Memory,长短期记忆网络)层、全连接层以及输出层;所述卷积神经网络层包括依次连接的第一卷积层、第一池化层、第二卷积层以及第二池化层;所述全连接层采用Relu函数(线性整流函数)作为激活函数。As shown in Figure 2, the parameter identification model includes an input layer, several convolutional neural network layers, a flat layer, an LSTM (Long Short-Term Memory, long short-term memory network) layer, a fully connected layer, and an output layer that are connected in sequence; The convolutional neural network layer includes a first convolutional layer, a first pooling layer, a second convolutional layer, and a second pooling layer connected in sequence; the fully connected layer uses a Relu function (linear rectification function) as activation function.

可选的,对参数评估模型的训练为有监督训练。Optionally, the training of the parameter evaluation model is supervised training.

其中,卷积层为二维卷积层,用于对输入数据进行卷积运算,以实现特征的提取,其将m个监测参数t时刻的前h个时刻的参数矩阵作为输入,即X∈Rh×m×1,令卷积核的个数K,每一个卷积核的规格F,卷积的步长S,零值填充的数量P。对于每一次卷积运算,首先对数据X进行零值填充使数据卷转换成X'∈R(h+p)×(m+p)×1,再进行卷积运算,卷积的运算如下式所示。Among them, the convolution layer is a two-dimensional convolution layer, which is used to perform convolution operation on the input data to realize feature extraction. R h×m×1 , let the number of convolution kernels K, the specification F of each convolution kernel, the stride S of convolution, and the number of zero-value padding P. For each convolution operation, first perform zero-value padding on the data X to convert the data volume into X'∈R (h+p)×(m+p)×1 , and then perform the convolution operation. The convolution operation is as follows shown.

Kernel∈RF×F×1 Kernel ∈ R F×F×1

T=Kernel×X'T=Kernel×X'

Figure BDA0003362251540000101
Figure BDA0003362251540000101

对输入X按从左至右、从上至下的顺序,按照卷积步长S重复上述计算,并将每一次得到的y值重新整合成矩阵,即得到输出Y∈Rh'×m'×d,其中,h'=(h-F+2*P)/S+1,m'=(m-F+2*P)/S+1,d=1。Repeat the above calculation for the input X in the order from left to right and from top to bottom, according to the convolution step size S, and re-integrate the y values obtained each time into a matrix, that is, the output Y∈R h'×m' ×d , where h'=(h-F+2*P)/S+1, m'=(m-F+2*P)/S+1, d=1.

池化层可选择最大池化(Max polling)与平均池化(Average pooling)两种方式,其计算公式如下:The pooling layer can choose two methods: Max polling and Average pooling. The calculation formula is as follows:

Maxpolling:y=max(Xc)Maxpolling:y=max(X c )

Aceragepooling:y=mean(Xc)Aceragepooling: y=mean(X c )

输入Xc为宽、高均为F的矩阵,对卷积层的输出按从左至右、从上至下的顺序进行池化运算,即得到输出Y'∈Rh”×m”,其中,h”=(h-F)/S+1,m”=(m-F)/S+1。The input X c is a matrix whose width and height are F, and the pooling operation is performed on the output of the convolution layer in the order from left to right and top to bottom, that is, the output Y'∈R h”×m” is obtained, where , h"=(hF)/S+1, m"=(mF)/S+1.

同时,考虑到系统或设备监测参数通常均为正值,故全连接层中选择Relu作为激活函数,Relu函数定义域函数图像如下所示。At the same time, considering that the monitoring parameters of the system or equipment are usually positive values, Relu is selected as the activation function in the fully connected layer, and the image of the Relu function definition domain function is shown below.

f(x)=max(0,x)。f(x)=max(0,x).

在一种可能的实施方式中,所述根据监测参数评估值以及对应的监测参数,对故障样本进行更新,包括:In a possible implementation manner, the updating of the fault sample according to the monitoring parameter evaluation value and the corresponding monitoring parameter includes:

根据监测参数评估值,获取待诊断设备的监测参数值与监测参数评估值之间的差异值σ为:According to the monitoring parameter evaluation value, the difference σ between the monitoring parameter value of the equipment to be diagnosed and the monitoring parameter evaluation value is obtained as:

Figure BDA0003362251540000111
Figure BDA0003362251540000111

σ=f(Y,Y')σ=f(Y,Y')

其中,f(x,y)表示差异值计算函数,Y表示待诊断设备的监测参数值,Y'表示监测参数评估值,所述监测参数值和监测参数评估值均为连续时间点上的序列。Wherein, f(x,y) represents the difference value calculation function, Y represents the monitoring parameter value of the device to be diagnosed, Y' represents the monitoring parameter evaluation value, and the monitoring parameter value and the monitoring parameter evaluation value are both sequences on consecutive time points .

可选的,若监测参数值为多个参数值,则参数评估值为向量,参数评估值包含了多个参数值对应的评估值。Optionally, if the monitoring parameter value is multiple parameter values, the parameter evaluation value is a vector, and the parameter evaluation value includes the evaluation values corresponding to the multiple parameter values.

监测参数评估值与监测参数值为对应关系,监测参数评估值表示待诊断设备在连续时间点上的监控参数预测值,监测参数值表示待诊断设备在连续时间点上的监控参数真实值。根据监测参数和监测参数评估值,可以得到待诊断设备在连续时间点上的差异值序列。The monitoring parameter evaluation value corresponds to the monitoring parameter value, the monitoring parameter evaluation value represents the monitoring parameter predicted value of the device to be diagnosed at successive time points, and the monitoring parameter value represents the real value of the monitoring parameter of the device to be diagnosed at continuous time points. According to the monitoring parameters and the evaluation values of the monitoring parameters, the sequence of difference values of the equipment to be diagnosed at successive time points can be obtained.

根据差异值σ,获取待诊断设备的稳定度H为:According to the difference value σ, the stability H of the equipment to be diagnosed is obtained as:

Figure BDA0003362251540000121
Figure BDA0003362251540000121

其中,e表示自然常数,W表示监测参数的权重系数,监测参数包括n个子监测参数,W=[w1 w2…wn],w1 w2…wn分别表示n个子监测参数的权重系数;Among them, e represents a natural constant, W represents the weight coefficient of the monitoring parameter, and the monitoring parameter includes n sub-monitoring parameters, W=[w 1 w 2 ... wn ], w 1 w 2 ... wn respectively represents the weight of the n sub-monitoring parameters coefficient;

根据稳定度H,获取工业设备出现故障时对应的监测参数,并将对应的监测参数添加至故障样本集合,完成故障样本的更新。According to the stability H, the monitoring parameters corresponding to the failure of the industrial equipment are obtained, and the corresponding monitoring parameters are added to the fault sample set to complete the update of the fault samples.

在一种可能的实施方式中,所述根据稳定度H,获取待诊断设备出现故障时对应的监测参数,包括:In a possible implementation manner, according to the degree of stability H, the acquisition of monitoring parameters corresponding to the failure of the equipment to be diagnosed includes:

获取正常样本的样本均值和标准差;Obtain the sample mean and standard deviation of the normal sample;

将样本均值与三倍标准差进行求和,得到和值,并将和值作为控制上限;Sum the sample mean and three standard deviations to get the sum, and use the sum as the upper control limit;

将样本均值与三倍标准差进行求差,得到差值,并将差值作为控制下限;Calculate the difference between the sample mean and three times the standard deviation to obtain the difference, and use the difference as the lower control limit;

获取控制上限与控制下限的平均值,并将平均值作为中心线;Obtain the average of the upper and lower control limits, and use the average as the center line;

根据控制上限、控制下限和中心线,构建故障判断条件;Construct fault judgment conditions according to the upper control limit, lower control limit and center line;

获取待诊断设备在连续时间点上的稳定度,并根据连续时间点上的稳定度和故障判断条件,获取待诊断设备出现故障时对应的监测参数。The stability of the equipment to be diagnosed at successive time points is obtained, and the monitoring parameters corresponding to the failure of the equipment to be diagnosed are obtained according to the stability at the successive time points and fault judgment conditions.

在本实施例中,监测参数值为工业设备在正常运行时段内的时序多维数据,通过对时序多维数据进行识别,可以得到待诊断设备在连续时间点上的稳定度,即得到一个稳定度序列。In this embodiment, the monitoring parameter value is the time series multidimensional data of the industrial equipment during the normal operation period. By identifying the time series multidimensional data, the stability of the equipment to be diagnosed at consecutive time points can be obtained, that is, a stability sequence can be obtained. .

在一种可能的实施方式中,根据控制上限、控制下限和中心线,构建故障判断条件,包括:In a possible implementation, according to the upper control limit, the lower control limit and the center line, the fault judgment condition is constructed, including:

将控制上限与中心线之间的区域等分为三份,将控制下限与中心线之间的距离等分为三份;Divide the area between the upper control limit and the center line into three equal parts, and divide the distance between the lower control limit and the center line into three equal parts;

将靠近控制上限的区域和靠近控制下限的区域作为A区,将靠近中心线的区域作为C区,将A区与C区之间的区域作为B区;Take the area close to the upper control limit and the area close to the lower control limit as area A, the area close to the center line as area C, and the area between area A and area C as area B;

根据A区、B区和C区,构建故障判断条件。According to the A, B and C areas, construct the fault judgment condition.

在一种可能的实施方式中,所述故障判断条件包括条件一至条件八。In a possible implementation manner, the fault judgment conditions include condition one to condition eight.

如图3所示,条件一为:若存在稳定度低于控制下限或高于控制上限,则待诊断设备出现故障;As shown in Figure 3, the first condition is: if the stability is lower than the lower control limit or higher than the upper control limit, the equipment to be diagnosed is faulty;

如图4所示,条件二为:若存在九个连续时间点上的稳定度均位于C区,且位于中心线的一侧,则待诊断设备出现故障;As shown in Figure 4, the second condition is: if the stability at nine consecutive time points are all located in zone C and on one side of the center line, the equipment to be diagnosed is faulty;

如图5所示,条件三为:若存在六个连续时间点上的稳定度递增或递减,则待诊断设备出现故障;As shown in Figure 5, the third condition is: if the stability increases or decreases at six consecutive time points, the equipment to be diagnosed is faulty;

如图6所示,条件四为:若存在十四个连续时间点上的稳定度交替上下,则待诊断设备出现故障;As shown in Figure 6, the fourth condition is: if there are fourteen consecutive time points where the stability is alternately up and down, the device to be diagnosed is faulty;

如图7所示,条件五为:若三个连续时间点上的稳定度中存在两个位于A区,则待诊断设备出现故障;As shown in Figure 7, the fifth condition is: if two of the stability degrees at three consecutive time points are located in the A area, the equipment to be diagnosed is faulty;

如图8所示,条件六为:若五个连续时间点上的稳定度中存在四个位于C区以外,且位于中心线的一侧,则待诊断设备出现故障;As shown in Figure 8, the sixth condition is: if four of the stability degrees at five consecutive time points are located outside the C area and are located on one side of the center line, the device to be diagnosed is faulty;

如图9所示,条件七为:若存在十五个连续时间点上的稳定度位于C区内,且分布于中心线的两侧,则待诊断设备出现故障;As shown in Figure 9, the seventh condition is: if the stability at fifteen consecutive time points is located in the C zone and distributed on both sides of the center line, the equipment to be diagnosed is faulty;

如图10所示,条件八为:若存在八个连续时间点上的稳定度位于A区或B区,且分布于中心线的两侧,则待诊断设备出现故障。As shown in FIG. 10 , the eighth condition is: if the stability at eight consecutive time points is located in the A area or the B area, and is distributed on both sides of the center line, the equipment to be diagnosed is faulty.

在本实施例中,待诊断设备出现故障时,将连续时间点中最后一个时间点上的稳定度作为稳定度违规点(附图3-10中的X),并将稳定度违规点对应的监测参数及监测参数对应的故障标签one-hot向量作为故障样本。In this embodiment, when the equipment to be diagnosed fails, the stability at the last time point in the consecutive time points is used as the stability violation point (X in Fig. 3-10), and the corresponding stability violation point is used as the stability violation point. The monitoring parameters and the one-hot vector of the fault labels corresponding to the monitoring parameters are used as fault samples.

在一种可能的实施方式中,所述构建故障识别模型,并采用故障样本对故障识别模型进行训练,包括:In a possible implementation manner, the building a fault identification model, and using fault samples to train the fault identification model, includes:

采用XGBoost模型作为故障识别模型;The XGBoost model is used as the fault identification model;

采用故障样本对故障识别模型进行训练。The fault identification model is trained with fault samples.

当检测到工业设备发生故障后,则需要识别具体的故障类型,从而对故障进行定位,方便运维人员进行检修和排查。当故障样本数据累积到一定程度后,即采用XGBoost(Extreme Gradient Boosting,梯度提升模型)来构建故障识别模型,选择故障样本数据,并对样本数据进行相应的划分(一部分作为训练数据、一部分作为测试数据),进行有监督训练,并保存训练成果模型。XGBoost是决策树模型与AdaBoost(Adaptive Boost,自适应增强)结合的产物,是GDBT(Gradient Boosting Decision Tree,梯度提升树)模型的改进,其具体实现形式如下。When an industrial equipment fault is detected, it is necessary to identify the specific fault type, so as to locate the fault and facilitate the maintenance and troubleshooting of the operation and maintenance personnel. When the fault sample data accumulates to a certain extent, XGBoost (Extreme Gradient Boosting, gradient boosting model) is used to build a fault identification model, select fault sample data, and divide the sample data accordingly (part of it as training data and part of it as test data). data), perform supervised training, and save the training result model. XGBoost is the product of the combination of the decision tree model and AdaBoost (Adaptive Boost), and is an improvement of the GDBT (Gradient Boosting Decision Tree, gradient boosting tree) model. Its specific implementation is as follows.

若已知第t-1轮的决策树,基于此构建第t轮决策树,则第t轮的目标函数Obj(t)是:If the decision tree of the t-1th round is known, and the decision tree of the t-th round is constructed based on this, the objective function Obj (t) of the t-th round is:

Figure BDA0003362251540000141
Figure BDA0003362251540000141

其中,yi为实际值,ft-1(xi)为前t-1棵决策树的输出结果,f(xi)为第t轮构建决策树的输出结果,L(yi,ft-1(xi)+f(xi))为损失函数,即,Ω(f(x))为正则。Among them, y i is the actual value, f t-1 ( xi ) is the output result of the first t-1 decision trees, f( xi ) is the output result of constructing the decision tree in the t round, L(y i ,f t-1 (x i )+f(x i )) is the loss function, that is, Ω(f(x)) is regular.

将损失函数在第t-1棵树处进行二阶泰勒展开:Perform a second-order Taylor expansion of the loss function at the t-1th tree:

L(yi,ft-1(xi)+ft(xi))=L(yi,ft-1(xi))+gif(xi)+hif(xi)2/2L(y i ,f t-1 (x i )+f t (x i ))=L(y i ,f t-1 (x i ))+g i f(x i )+h i f(x i ) 2 /2

Figure BDA0003362251540000151
Figure BDA0003362251540000151

Figure BDA0003362251540000152
Figure BDA0003362251540000152

其中,L(yi,ft-1(xi))为前t-1棵树对应损失函数值,即为前t-1棵树组成的学习模型的预测误差,为一个常数,gi、hi分别为预测误差对当前模型的一阶导和二阶导。Among them, L(y i , f t-1 (x i )) is the loss function value corresponding to the first t-1 trees, that is, the prediction error of the learning model composed of the first t-1 trees, which is a constant, g i , h i are the first-order and second-order derivatives of the prediction error to the current model, respectively.

对于决策树而言,有如下公式:For decision trees, there are the following formulas:

fk(x)=wq(x) f k (x)=w q(x)

Figure BDA0003362251540000153
Figure BDA0003362251540000153

其中,q(x)表示输出的叶子节点序号,是一个索引映射,其作用是将输入映射到叶子的索引号上面,wq(x)表示对应叶子节点序号的值,r表示节点切分的难度,T是叶子节点的个数,λ表示L2正则化系数,wj是第j个叶子节点的预测值,

Figure BDA0003362251540000154
为叶子节点向量的模。Among them, q(x) represents the output leaf node serial number, which is an index mapping, which is used to map the input to the leaf index number, w q(x) represents the value of the corresponding leaf node serial number, and r represents the node segmentation. Difficulty, T is the number of leaf nodes, λ is the L2 regularization coefficient, w j is the predicted value of the jth leaf node,
Figure BDA0003362251540000154
is the modulus of the leaf node vector.

因此目标函数可以写成如下形式:Therefore, the objective function can be written in the following form:

Figure BDA0003362251540000155
Figure BDA0003362251540000155

代入决策树公式即可得:Substitute into the decision tree formula to get:

Figure BDA0003362251540000156
Figure BDA0003362251540000156

将上式中第一部分的由对所有对训练样本集累加方式转换为对所有叶子节点进行累加,即可得:Convert the first part of the above formula from accumulating all pairs of training sample sets to accumulating all leaf nodes, you can get:

Figure BDA0003362251540000157
Figure BDA0003362251540000157

其中,It表示样本集合,Gj、Hj分别表示映射为叶子节点j的所有输入样本的一阶导之和与二阶导之和。Among them, I t represents the sample set, and G j and H j represent the sum of the first-order derivatives and the second-order derivatives of all input samples mapped to the leaf node j, respectively.

对Wj求导并带入上式中可得:Taking the derivative of W j and bringing it into the above formula, we get:

Figure BDA0003362251540000161
Figure BDA0003362251540000161

基于上述公式,XGBoost可以构建出决策树每个叶子节点的预测值,采用贪心算法,计算分裂后决策树对应目标函数下降量Gain,直至达到最大的决策树深度,或Gain值都小于0为止,Gain计算公式如下式所示。Based on the above formula, XGBoost can construct the predicted value of each leaf node of the decision tree, and use the greedy algorithm to calculate the gain corresponding to the objective function of the decision tree after splitting, until the maximum decision tree depth is reached, or the Gain value is less than 0. The calculation formula of Gain is shown in the following formula.

Figure BDA0003362251540000162
Figure BDA0003362251540000162

其中,

Figure BDA0003362251540000163
GL、GR分别为左右节点对应的G值,HL、HR分别为左右节点对应的H值,I指当前节点实例集合。in,
Figure BDA0003362251540000163
GL and GR are the G values corresponding to the left and right nodes, respectively, HL and HR are the H values corresponding to the left and right nodes, respectively, and I refers to the current node instance set.

获取待诊断设备的故障参数,并对故障参数进行标准化处理。根据故障参数,通过故障识别模型识别故障类型,并通过故障类型与故障详情关联表,得到故障详情,以便运维人员基于所得到的故障详情,对待诊断设备进行排查和检修。故障详情可以包括故障位置和故障原因。Obtain the fault parameters of the equipment to be diagnosed, and standardize the fault parameters. According to the fault parameters, the fault type is identified through the fault identification model, and the fault details are obtained through the fault type and fault details association table, so that the operation and maintenance personnel can troubleshoot and repair the equipment to be diagnosed based on the obtained fault details. The fault details can include the fault location and the fault cause.

实施例2Example 2

在本实施例中,提供了一种工业设备的故障诊断装置,包括采集模块、第一训练模块、评估模块、更新模块、第二训练模块以及识别模块。In this embodiment, a fault diagnosis apparatus for industrial equipment is provided, which includes an acquisition module, a first training module, an evaluation module, an update module, a second training module, and an identification module.

采集模块用于,采集样本,所述样本包括正常样本和故障样本;The collection module is used to collect samples, and the samples include normal samples and fault samples;

第一训练模块用于,构建参数评估模型,并采用正常样本对参数评估模型进行训练;The first training module is used to construct a parameter evaluation model, and use normal samples to train the parameter evaluation model;

评估模块用于,采用训练后的参数评估模型对待诊断设备的监测参数进行评估,得到监测参数评估值;The evaluation module is used to evaluate the monitoring parameters of the to-be-diagnosed equipment by using the trained parameter evaluation model to obtain the evaluation value of the monitoring parameters;

更新模块用于,根据监测参数评估值以及对应的监测参数,对故障样本进行更新;The update module is used to update the fault sample according to the evaluation value of the monitoring parameter and the corresponding monitoring parameter;

第二训练模块用于,构建故障识别模型,并采用故障样本对故障识别模型进行训练;The second training module is used to construct a fault identification model, and use fault samples to train the fault identification model;

识别模块用于,获取待诊断设备的实时监测参数,并通过训练后的故障识别模型对实时监测参数进行识别,得到故障诊断结果。The identification module is used to obtain the real-time monitoring parameters of the equipment to be diagnosed, and identify the real-time monitoring parameters through the trained fault identification model to obtain the fault diagnosis result.

实施例3Example 3

在本实施例中,提供一种工业设备的故障诊断设备,包括处理器和存储器;In this embodiment, a fault diagnosis device for industrial equipment is provided, including a processor and a memory;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如实施例1所述的工业设备的故障诊断方法。The processor executes the computer-executed instructions stored in the memory, so that the processor executes the method for diagnosing a fault of an industrial device as described in Embodiment 1.

实施例4Example 4

在本实施例中,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当所述计算机执行指令被处理器执行时用于实现实施例1所述的工业设备的故障诊断方法。In this embodiment, a computer-readable storage medium is provided, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the industrial process described in Embodiment 1 Troubleshooting methods for equipment.

实施例5Example 5

在本实施例中,提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现实施例1所述的工业设备的故障诊断方法。In this embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method for diagnosing the fault of the industrial equipment described in Embodiment 1.

本发明提供了一种工业设备的故障诊断方法,提高了工业设备的故障诊断效率以及故障诊断准确率。The invention provides a fault diagnosis method for industrial equipment, which improves the fault diagnosis efficiency and fault diagnosis accuracy of the industrial equipment.

本发明构建了参数评估模型,选择工业设备的正常运行数据作为训练样本数据,从而在不需要故障样本数据的前提下,实现工业设备当前检测参数的预估,结合工业设备的当前实际监测参数,获取其当前稳定度,进而得到连续时间点上的稳定度序列,然后构建故障判断条件,并通过故障判断条件实时监控所得稳定度序列,判断工业设备运行是否出现异常。The present invention constructs a parameter evaluation model, selects the normal operation data of the industrial equipment as the training sample data, so as to realize the estimation of the current detection parameters of the industrial equipment under the premise of not needing the fault sample data, and combined with the current actual monitoring parameters of the industrial equipment, Obtain its current stability, and then obtain the stability sequence at continuous time points, then construct the fault judgment condition, and monitor the obtained stability sequence in real time through the fault judgment condition to judge whether the operation of the industrial equipment is abnormal.

本发明中的参数评估模型仅以正常数据作为训练样本,故障识别模型仅以故障数据作为训练样本,从而使得正常数据与故障数据互不干扰。此外,只有通过参数评估模型判断工业设备运行异常,才使用故障识别模型对故障数据进行识别操作,从而避免正常运行数据的故障识别操作,提升故障诊断效率。The parameter evaluation model in the present invention only uses normal data as a training sample, and the fault identification model only uses fault data as a training sample, so that the normal data and the fault data do not interfere with each other. In addition, only the abnormal operation of industrial equipment is judged by the parameter evaluation model, and the fault identification model is used to identify the fault data, so as to avoid the fault identification operation of the normal operation data and improve the efficiency of fault diagnosis.

本发明采用故障识别模型获取到相应的故障类型后,结合故障类型与故障详细信息关联表,即可获取具体的故障位置、原因等详细信息,从而支撑运维人员快速精准地解决故障问题。The present invention uses the fault identification model to obtain the corresponding fault type, and combines the fault type and the fault detailed information association table to obtain the specific fault location, cause and other detailed information, so as to support the operation and maintenance personnel to solve the fault problem quickly and accurately.

Claims (9)

1. A method of diagnosing a fault in an industrial device, comprising:
collecting samples, wherein the samples comprise normal samples and fault samples;
constructing a parameter evaluation model, and training the parameter evaluation model by adopting a normal sample;
evaluating the monitoring parameters of the equipment to be diagnosed by adopting the trained parameter evaluation model to obtain a monitoring parameter evaluation value;
updating the fault sample according to the monitoring parameter evaluation value and the corresponding monitoring parameter;
constructing a fault recognition model, and training the fault recognition model by adopting a fault sample;
and acquiring real-time monitoring parameters of the equipment to be diagnosed, and identifying the real-time monitoring parameters through the trained fault identification model to obtain a fault diagnosis result.
2. The method for diagnosing a malfunction of an industrial device according to claim 1, wherein the normal sample is:
DP={(Xt-k,Yt)|t∈{k,k+1,...,m},k>0}
wherein D isPRepresenting a set of normal samples, input X of normal samplest-kRepresenting the value of a monitoring parameter of the industrial equipment from the monitoring starting moment to the t-k moment, k representing the prediction time interval, m being a positive integer, m>k, output of Normal sample YtMonitoring parameter for indicating industrial equipment at time tA numerical value; when k is 1, input X of normal samplet-kAnd output YtRespectively representing a monitoring parameter value matrix of the industrial equipment from the monitoring starting moment to the previous moment and a monitoring parameter value of the industrial equipment at the current moment.
3. The method for fault diagnosis of an industrial device according to claim 2, wherein the fault samples are:
DE={(Xt,Yt),t∈{0,1,...,m}}
wherein D isERepresenting a set of fault samples, XtValue of a monitoring parameter representing the industrial plant at time t, YtAnd a fault label one-hot vector of the industrial equipment at the moment t.
4. The fault diagnosis method of industrial equipment according to claim 1, wherein the parameter identification model comprises an input layer, a plurality of convolutional neural network layers, a flat layer, an LSTM layer, a full connection layer and an output layer which are connected in sequence; the convolutional neural network layer comprises a first convolutional layer, a first pooling layer, a second convolutional layer and a second pooling layer which are sequentially connected; the full connection layer adopts Relu function as an activation function.
5. The method for diagnosing the fault of the industrial equipment according to claim 1, wherein the updating the fault sample according to the evaluated value of the monitoring parameter and the corresponding monitoring parameter comprises:
acquiring a difference value sigma between a monitoring parameter value and a monitoring parameter evaluation value of the equipment to be diagnosed according to the monitoring parameter evaluation value, wherein the difference value sigma is as follows:
σ=f(Y,Y')
Figure FDA0003362251530000021
wherein f (Y, Y ') represents a difference value calculation function, Y represents a monitoring parameter value of the equipment to be diagnosed, Y' represents a monitoring parameter evaluation value, the monitoring parameter value and the monitoring parameter evaluation value are both sequences on continuous time points, and | represents an absolute value;
according to the difference value sigma, obtaining the stability H of the equipment to be diagnosed as follows:
Figure FDA0003362251530000022
wherein e represents a natural constant, W represents a weight coefficient of the monitoring parameter, the monitoring parameter includes n sub-monitoring parameters, and W ═ W1 w2…wn],w1 w2…wnRespectively representing the weight coefficients of the n sub-monitoring parameters;
and acquiring corresponding monitoring parameters when the industrial equipment fails according to the stability H, and adding the corresponding monitoring parameters to the failure sample set to complete the updating of the failure sample.
6. The method for diagnosing the fault of the industrial equipment according to claim 5, wherein the step of obtaining the corresponding monitoring parameter when the equipment to be diagnosed has the fault according to the stability H comprises the steps of:
obtaining a sample mean value and a standard deviation of a normal sample;
summing the sample mean value and triple standard deviation to obtain a sum value, and taking the sum value as a control upper limit;
calculating the difference between the sample mean value and the triple standard deviation to obtain a difference value, and taking the difference value as a lower control limit;
acquiring an average value of the upper control limit and the lower control limit, and taking the average value as a central line;
constructing a fault judgment condition according to the upper control limit, the lower control limit and the center line;
and acquiring the stability of the equipment to be diagnosed at the continuous time point, and acquiring corresponding monitoring parameters when the equipment to be diagnosed fails according to the stability and the fault judgment condition at the continuous time point.
7. The method of diagnosing a fault in an industrial apparatus according to claim 6, wherein constructing the fault determination condition based on the upper control limit, the lower control limit, and the center line includes:
equally dividing the area between the upper control limit and the central line into three parts, and equally dividing the area between the lower control limit and the central line into three parts;
taking a region close to the upper control limit and a region close to the lower control limit as a region A, taking a region close to the central line as a region C, and taking a region between the region A and the region C as a region B;
and constructing a fault judgment condition according to the area A, the area B and the area C.
8. The fault diagnosis method of an industrial apparatus according to claim 7, wherein the fault determination condition includes:
if the stability is lower than the lower control limit or higher than the upper control limit, the equipment to be diagnosed fails;
if the stability of the nine continuous time points is located in the area C and on one side of the central line, the equipment to be diagnosed fails;
if the stability at six continuous time points is increased or decreased progressively, the equipment to be diagnosed fails;
if the stability of fourteen continuous time points is alternately up and down, the equipment to be diagnosed fails;
if two of the three stability degrees at the continuous time points are located in the area A, the equipment to be diagnosed fails;
if four of the stability degrees on the five continuous time points are located outside the C area and on one side of the center line, the equipment to be diagnosed breaks down;
if fifteen stabilities at continuous time points are located in the C area and distributed on two sides of the center line, the equipment to be diagnosed fails;
and if the stabilities of eight continuous time points are positioned in the area A or the area B and distributed on two sides of the central line, the equipment to be diagnosed fails.
9. The method for fault diagnosis of industrial equipment according to claim 1, wherein the constructing a fault recognition model and training the fault recognition model with fault samples comprises:
an XGboost model is adopted as a fault identification model;
and training the fault recognition model by adopting the fault sample.
CN202111371213.1A 2021-11-18 2021-11-18 A Fault Diagnosis Method for Industrial Equipment Active CN114137915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111371213.1A CN114137915B (en) 2021-11-18 2021-11-18 A Fault Diagnosis Method for Industrial Equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111371213.1A CN114137915B (en) 2021-11-18 2021-11-18 A Fault Diagnosis Method for Industrial Equipment

Publications (2)

Publication Number Publication Date
CN114137915A true CN114137915A (en) 2022-03-04
CN114137915B CN114137915B (en) 2024-08-02

Family

ID=80390453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111371213.1A Active CN114137915B (en) 2021-11-18 2021-11-18 A Fault Diagnosis Method for Industrial Equipment

Country Status (1)

Country Link
CN (1) CN114137915B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149498A (en) * 2023-10-27 2023-12-01 华能信息技术有限公司 Power plant fault diagnosis method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170053463A1 (en) * 2014-02-21 2017-02-23 Ge Aviation Systems, Llc System and method of fault detection
US20170061322A1 (en) * 2015-08-31 2017-03-02 International Business Machines Corporation Automatic generation of training data for anomaly detection using other user's data samples
CN109102189A (en) * 2018-08-10 2018-12-28 杨璇 A kind of electrical equipment is health management system arranged and method
CN109635958A (en) * 2018-12-12 2019-04-16 成都航天科工大数据研究院有限公司 A kind of predictive industrial equipment maintaining method and maintenance system based on edge calculations
CN110703214A (en) * 2019-10-15 2020-01-17 和尘自仪(嘉兴)科技有限公司 Weather radar state evaluation and fault monitoring method
CN111190349A (en) * 2019-12-30 2020-05-22 中国船舶重工集团公司第七一一研究所 Method, system and medium for monitoring state and diagnosing fault of ship engine room equipment
CN111444940A (en) * 2020-02-28 2020-07-24 山东大学 Fault diagnosis method for critical parts of fan
CN111914320A (en) * 2020-06-06 2020-11-10 同济大学 Fault diagnosis method of no-sample switch based on deep learning
CN112417766A (en) * 2020-12-03 2021-02-26 深制科技(苏州)有限公司 Fault diagnosis method mainly based on fault-free data
CN113052218A (en) * 2021-03-15 2021-06-29 杭州电子科技大学 Multi-scale residual convolution and LSTM fusion performance evaluation method for industrial process

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170053463A1 (en) * 2014-02-21 2017-02-23 Ge Aviation Systems, Llc System and method of fault detection
US20170061322A1 (en) * 2015-08-31 2017-03-02 International Business Machines Corporation Automatic generation of training data for anomaly detection using other user's data samples
CN109102189A (en) * 2018-08-10 2018-12-28 杨璇 A kind of electrical equipment is health management system arranged and method
CN109635958A (en) * 2018-12-12 2019-04-16 成都航天科工大数据研究院有限公司 A kind of predictive industrial equipment maintaining method and maintenance system based on edge calculations
CN110703214A (en) * 2019-10-15 2020-01-17 和尘自仪(嘉兴)科技有限公司 Weather radar state evaluation and fault monitoring method
CN111190349A (en) * 2019-12-30 2020-05-22 中国船舶重工集团公司第七一一研究所 Method, system and medium for monitoring state and diagnosing fault of ship engine room equipment
CN111444940A (en) * 2020-02-28 2020-07-24 山东大学 Fault diagnosis method for critical parts of fan
CN111914320A (en) * 2020-06-06 2020-11-10 同济大学 Fault diagnosis method of no-sample switch based on deep learning
CN112417766A (en) * 2020-12-03 2021-02-26 深制科技(苏州)有限公司 Fault diagnosis method mainly based on fault-free data
CN113052218A (en) * 2021-03-15 2021-06-29 杭州电子科技大学 Multi-scale residual convolution and LSTM fusion performance evaluation method for industrial process

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XUN DONG: ""Deep Cost Adaptive Convolutional Network: A Classification Method for Imbalanced Mechanical Data"", 《IEEE ACCESS》, 31 December 2020 (2020-12-31) *
张敏龙: ""带故障样本的弹性双阈值SVDD在线故障诊断算法及其应用"", 《振动工程学报》, 31 December 2016 (2016-12-31) *
曾州: ""基于深度学习的风电机组传动系统故障诊断方法研究"", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》, 15 September 2021 (2021-09-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149498A (en) * 2023-10-27 2023-12-01 华能信息技术有限公司 Power plant fault diagnosis method and system
CN117149498B (en) * 2023-10-27 2024-03-01 华能信息技术有限公司 Power plant fault diagnosis method and system

Also Published As

Publication number Publication date
CN114137915B (en) 2024-08-02

Similar Documents

Publication Publication Date Title
CN109146246B (en) Fault detection method based on automatic encoder and Bayesian network
JP2023042527A (en) Data drive active power distribution network abnormal state sensing method and system
US9256224B2 (en) Method of sequential kernel regression modeling for forecasting and prognostics
US8620853B2 (en) Monitoring method using kernel regression modeling with pattern sequences
US8660980B2 (en) Monitoring system using kernel regression modeling with pattern sequences
US9250625B2 (en) System of sequential kernel regression modeling for forecasting and prognostics
CN110334740A (en) Power equipment fault detection and location method based on artificial intelligence inference fusion
CN112434390B (en) PCA-LSTM bearing residual life prediction method based on multi-layer grid search
CN116244617A (en) Intelligent high-voltage switch cabinet fault diagnosis method and system based on heterogeneous graph structure learning
CN115099335A (en) Abnormal identification and feature screening method and system for multi-source heterogeneous data
CN112098600A (en) Fault detection and diagnosis method for chemical sensor array
CN111340110A (en) Fault early warning method based on industrial process running state trend analysis
US20200310401A1 (en) System analysis method, system analysis apparatus, and program
CN114417248A (en) Method and system for monitoring abnormal quality of linear profile process based on DCGAN
CN114137915B (en) A Fault Diagnosis Method for Industrial Equipment
CN115392782A (en) Method and system for monitoring and diagnosing health state of process system of nuclear power plant
CN110057588B (en) Bearing early fault detection and diagnosis method and system based on fusion of singular value and graph theory
CN109389313B (en) Fault classification diagnosis method based on weighted neighbor decision
CN115556099B (en) Sustainable learning industrial robot fault diagnosis system and method
CN109492705A (en) Method for diagnosing faults of the one kind based on mahalanobis distance (MD) area measurement
KR102486463B1 (en) Method and Apparatus for Real Time Fault Detection Using Time series data According to Degradation
Lu et al. Smart meter fault diagnosis model based on DBN-LSSVM feature fusion
CN114660931A (en) Method and system for diagnosing and identifying petrochemical process fault
CN117592865B (en) Equipment spare part quality state prediction method and device
CN116125922B (en) Complex industrial process monitoring method and system based on parallel dictionary learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 5th Floor, Building A6, Zone D, Tianfu Jingrong Center, West Section of Hupan Road, Xinglong Street, Tianfu New Area, Chengdu City, Sichuan Province 610000

Patentee after: Aerospace Cloud Network Data Technology (Chengdu) Co.,Ltd.

Country or region after: China

Address before: No. 846, south section, Tianfu Road, Huayang street, Tianfu New District, Sichuan, Chengdu

Patentee before: CHENGDU AEROSPACE SCIENCE AND INDUSTRY BIG DATA RESEARCH INSTITUTE CO.,LTD.

Country or region before: China

CP03 Change of name, title or address