[go: up one dir, main page]

CN111982514B - Bearing fault diagnosis method based on semi-supervised deep belief network - Google Patents

Bearing fault diagnosis method based on semi-supervised deep belief network Download PDF

Info

Publication number
CN111982514B
CN111982514B CN202010807298.2A CN202010807298A CN111982514B CN 111982514 B CN111982514 B CN 111982514B CN 202010807298 A CN202010807298 A CN 202010807298A CN 111982514 B CN111982514 B CN 111982514B
Authority
CN
China
Prior art keywords
data
semi
layer
belief network
deep belief
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.)
Active
Application number
CN202010807298.2A
Other languages
Chinese (zh)
Other versions
CN111982514A (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.)
Hebei University of Technology
Original Assignee
Hebei University of Technology
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 Hebei University of Technology filed Critical Hebei University of Technology
Priority to CN202010807298.2A priority Critical patent/CN111982514B/en
Publication of CN111982514A publication Critical patent/CN111982514A/en
Application granted granted Critical
Publication of CN111982514B publication Critical patent/CN111982514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M13/00Testing of machine parts
    • G01M13/04Bearings
    • G01M13/045Acoustic or vibration analysis
    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

本申请提供一种基于半监督深度信念网络的轴承故障诊断方法,包括以下步骤:收集振动信号数据;对振动信号数据进行小波变换降噪并完成重构;将重构后的信号数据根据标签进行分类,并提取相应的时域特征;将分类后的信号数据按照设定规则进行筛选,筛选后的数据划分为训练数据集及测试数据集;将训练数据集输入半监督深度信念网络中,对网络进行深度训练;将测试数据集输入半监督深度信念网络中,通过深度训练后的模型对测试数据集中的数据进行故障分类判别。本申请的有益效果:输入工作数据即可直接输出判断的轴承故障,自动化程度较高;该方法更适应于多工况下的轴承故障诊断,兼容性与普适性更强,提高了轴承故障诊断精度。

Figure 202010807298

The application provides a bearing fault diagnosis method based on a semi-supervised deep belief network, which includes the following steps: collecting vibration signal data; performing wavelet transform noise reduction on the vibration signal data and completing reconstruction; performing reconstruction on the reconstructed signal data according to the label Classify and extract the corresponding time-domain features; filter the classified signal data according to the set rules, and divide the filtered data into training data sets and test data sets; input the training data sets into the semi-supervised deep belief network, and The network is trained in depth; the test data set is input into the semi-supervised deep belief network, and the fault classification is performed on the data in the test data set through the model after deep training. Beneficial effects of the present application: inputting the working data can directly output the judged bearing fault, which has a high degree of automation; this method is more suitable for bearing fault diagnosis under multiple working conditions, has stronger compatibility and universality, and improves the accuracy of bearing faults. diagnostic accuracy.

Figure 202010807298

Description

一种基于半监督深度信念网络的轴承故障诊断方法A bearing fault diagnosis method based on semi-supervised deep belief network

技术领域Technical Field

本公开涉及半监督深度信念网络学习领域,具体涉及一种基于半监督深度信念网络的轴承故障诊断方法。The present disclosure relates to the field of semi-supervised deep belief network learning, and in particular to a bearing fault diagnosis method based on a semi-supervised deep belief network.

背景技术Background Art

针对轴承故障诊断,目前传统轴承故障诊断方法无法自动提取特征,需要人工提取特征并依赖于专家知识进行判别;智能轴承故障诊断方法多集中于单一载荷与单一转速的故障诊断模型,可以对轴承的故障类型自动分类,无需人工提取特征。For bearing fault diagnosis, the current traditional bearing fault diagnosis methods are unable to automatically extract features and require manual feature extraction and rely on expert knowledge for judgment; intelligent bearing fault diagnosis methods mostly focus on single load and single speed fault diagnosis models, which can automatically classify bearing fault types without manual feature extraction.

传统轴承故障诊断方法需要人工提取特征,费时费力,提取特征后的结果不能自动分类,需要专家知识进行判别,进一步增加了人工成本,并且效率较低;智能轴承故障诊断算法针对单一载荷与单一转速训练模型,导致无法适应多工况变化下的轴承故障诊断,诊断精度较低,另外,此类方法还需要大量带有故障类型标签的数据,制造标签数据成本昂贵。Traditional bearing fault diagnosis methods require manual feature extraction, which is time-consuming and labor-intensive. The results after feature extraction cannot be automatically classified and require expert knowledge for judgment, further increasing labor costs and low efficiency. Intelligent bearing fault diagnosis algorithms train models for single load and single speed, which makes it impossible to adapt to bearing fault diagnosis under multiple working conditions and has low diagnostic accuracy. In addition, such methods also require a large amount of data with fault type labels, and the cost of manufacturing labeled data is expensive.

发明内容Summary of the invention

本申请的目的是针对以上问题,提供一种基于半监督深度信念网络的轴承故障诊断方法。The purpose of this application is to provide a bearing fault diagnosis method based on a semi-supervised deep belief network to address the above problems.

第一方面,本申请提供一种基于半监督深度信念网络的轴承故障诊断方法,包括以下步骤:In a first aspect, the present application provides a bearing fault diagnosis method based on a semi-supervised deep belief network, comprising the following steps:

收集振动信号数据;Collect vibration signal data;

对振动信号数据进行小波变换降噪并完成重构;Perform wavelet transform on vibration signal data to reduce noise and complete reconstruction;

将重构后的信号数据根据标签进行分类,并提取相应的时域特征;Classify the reconstructed signal data according to the labels and extract the corresponding time domain features;

将分类后的信号数据按照设定规则进行筛选,筛选后的数据划分为训练数据集及测试数据集;The classified signal data is screened according to the set rules, and the screened data is divided into a training data set and a test data set;

将训练数据集输入半监督深度信念网络中,对网络进行深度训练;Input the training data set into the semi-supervised deep belief network to perform deep training on the network;

将测试数据集输入半监督深度信念网络中,通过深度训练后的模型对测试数据集中的数据进行故障分类判别。The test data set is input into the semi-supervised deep belief network, and the data in the test data set is fault classified and judged by the deeply trained model.

根据本申请实施例提供的技术方案,所述对振动信号数据进行小波变换降噪并完成重构,具体包括:According to the technical solution provided in the embodiment of the present application, the wavelet transform is performed on the vibration signal data to reduce noise and complete reconstruction, specifically including:

将振动信号数据x(t)在函数空间的子空间内视为空间V0,空间V0可被分解为V1与W1,即V0=V1+W1,V1可被分解为V2与W2,以此类推,Vj-1可以被分解为Vj与Wj,j为分辨率,j=0或1;The vibration signal data x(t) is regarded as space V 0 in the subspace of the function space. Space V 0 can be decomposed into V 1 and W 1 , that is, V 0 =V 1 +W 1 , V 1 can be decomposed into V 2 and W 2 , and so on. V j-1 can be decomposed into V j and W j , where j is the resolution, j = 0 or 1;

振动信号数据x(t)的信号分解降噪过程为:The signal decomposition and denoising process of the vibration signal data x(t) is:

Figure BDA0002629601130000021
其中
Figure BDA0002629601130000022
为分辨率为0时的线性组合权重,P0x(t)称为x(t)在V0上的平滑逼近,也就是x(t)在分辨率为0情况下的概貌,φ0k(t)为尺度函数;
Figure BDA0002629601130000021
in
Figure BDA0002629601130000022
is the linear combination weight when the resolution is 0, P 0 x(t) is called the smooth approximation of x(t) on V 0 , that is, the overview of x(t) when the resolution is 0, φ 0k (t) is the scale function;

Figure BDA0002629601130000023
其中
Figure BDA0002629601130000024
为分辨率为1时的线性组合权重,P1x(t)称为x(t)在V1上的平滑逼近,也就是x(t)在分辨率为1情况下的概貌,φ1k(t)为尺度函数;
Figure BDA0002629601130000023
in
Figure BDA0002629601130000024
is the linear combination weight when the resolution is 1, P 1 x(t) is called the smooth approximation of x(t) on V 1 , that is, the overview of x(t) when the resolution is 1, φ 1k (t) is the scaling function;

Figure BDA0002629601130000025
其中
Figure BDA0002629601130000026
为分辨率为1时离散细节,D1x(t)为x(t)在W1上的投影,ψ1k(t)为小波函数;
Figure BDA0002629601130000025
in
Figure BDA0002629601130000026
is the discrete detail when the resolution is 1, D 1 x(t) is the projection of x(t) on W 1 , and ψ 1k (t) is the wavelet function;

P0x(t)=P1x(t)+D1x(t);P 0 x(t)=P 1 x(t)+D 1 x(t);

Figure BDA0002629601130000027
Figure BDA0002629601130000027

Figure BDA0002629601130000028
Figure BDA0002629601130000028

分解降噪后的信号分别为:The signals after decomposition and noise reduction are:

当j=0时,

Figure BDA0002629601130000031
When j = 0,
Figure BDA0002629601130000031

当j=1时,

Figure BDA0002629601130000032
When j = 1,
Figure BDA0002629601130000032

重构后信号为:The reconstructed signal is:

Figure BDA0002629601130000033
Figure BDA0002629601130000033

根据本申请实施例提供的技术方案,所述标签包括轴承的故障位置信息及损伤尺寸信息,故障位置信息包括内圈故障、滚动体故障及外圈故障,损伤尺寸信息包括0.178mm、0.356mm及0.533mm;所述标签包括十类,其中九类为同时含有故障位置信息及损伤尺寸信息的标签,第十类标签为轴承健康状态的标签。According to the technical solution provided in the embodiment of the present application, the label includes the fault location information and damage size information of the bearing, the fault location information includes inner ring fault, rolling element fault and outer ring fault, and the damage size information includes 0.178mm, 0.356mm and 0.533mm; the label includes ten categories, nine of which are labels containing both fault location information and damage size information, and the tenth category of labels is a label for the health status of the bearing.

根据本申请实施例提供的技术方案,所述提取相应的时域特征,具体包括:在重构的信号数据中提取均值、均方值、均方根值、平均幅值、峭度值、峰值、峰峰值、标准差、方差、歪度值、脉冲因子、偏态系数、波形因子、峰态系数、裕度系数、峭度因子、波形熵,构成总数据集。According to the technical solution provided in the embodiment of the present application, the extraction of corresponding time domain features specifically includes: extracting the mean, mean square value, root mean square value, average amplitude, kurtosis value, peak value, peak-to-peak value, standard deviation, variance, skewness value, pulse factor, skewness coefficient, waveform factor, peak coefficient, margin coefficient, kurtosis factor, and waveform entropy from the reconstructed signal data to form a total data set.

根据本申请实施例提供的技术方案,所述将分类后的信号数据按照设定规则进行筛选,具体包括:According to the technical solution provided in the embodiment of the present application, the classified signal data is screened according to the set rules, specifically including:

采用最大平均差(MMD)算法对总数据集进行筛选,给定两个分布s和t,它们之间的MMD定义为:The maximum mean difference (MMD) algorithm is used to screen the total data set. Given two distributions s and t, the MMD between them is defined as:

Figure BDA0002629601130000034
其中E为对分配的期望,
Figure BDA0002629601130000035
为将原始数据映射到再生核希尔伯特空间(RKHS)的函数,当s与t分布相同时,MMD2(s,t)=0,与此映射关联的内核函数为k(xs,xt)=<φ(xs),φ(xt)>;
Figure BDA0002629601130000034
Where E is the expectation of the distribution,
Figure BDA0002629601130000035
is a function that maps the original data to the reproducing kernel Hilbert space (RKHS). When s and t have the same distribution, MMD 2 (s, t) = 0, and the kernel function associated with this mapping is k(x s , x t ) = <φ(x s ),φ(x t )>;

Figure BDA0002629601130000036
Figure BDA0002629601130000037
分别表示分布s与分布t,MMD的经验估计如下:
Figure BDA0002629601130000036
and
Figure BDA0002629601130000037
Denote distribution s and distribution t respectively, and the empirical estimate of MMD is as follows:

Figure BDA0002629601130000041
Figure BDA0002629601130000041

当数据符合0≤LM(Ds,Dt)<0.16的条件时选取其作为筛选后的数据,不符合条件时予以剔除。When the data meet the condition of 0≤L M (D s ,D t )<0.16, they are selected as the screened data, and when they do not meet the condition, they are eliminated.

根据本申请实施例提供的技术方案,在筛选后的数据中选取80%作为训练集,20%作为测试集,而且训练集中设置10%的数据带有标签,剩余90%的训练集中的数据为未标记数据,由半监督深度信念网络预测其标签并进行识别。According to the technical solution provided in the embodiment of the present application, 80% of the screened data is selected as a training set and 20% as a test set, and 10% of the data in the training set is set with labels, and the remaining 90% of the data in the training set is unlabeled data, and the semi-supervised deep belief network predicts its labels and performs identification.

根据本申请实施例提供的技术方案,所述将训练数据集输入半监督深度信念网络中,对网络进行深度训练,具体包括:According to the technical solution provided in the embodiment of the present application, the inputting of the training data set into the semi-supervised deep belief network to perform deep training on the network specifically includes:

半监督深度信念网络(SSDBN)由半监督受限玻尔兹曼机(SSRBM)堆叠而成,SSDBN由一个输入层、多个隐藏层、一个输出层组成,每层都具有若干数量的神经元,神经元只有激活与未激活两种状态,各层的神经元之间互不连接,每层内的神经元之间全连接,并用激活函数传递信息、更新权值与偏重,SSRBM由一个可视层、一个隐层、一个监督层组成,SSRBM的能量函数定义为:The semi-supervised deep belief network (SSDBN) is composed of a stack of semi-supervised restricted Boltzmann machines (SSRBM). SSDBN consists of an input layer, multiple hidden layers, and an output layer. Each layer has a certain number of neurons. Neurons have only two states: activated and unactivated. Neurons in each layer are not connected to each other. Neurons in each layer are fully connected, and activation functions are used to transmit information, update weights and biases. SSRBM consists of a visual layer, a hidden layer, and a supervisory layer. The energy function of SSRBM is defined as:

Figure BDA0002629601130000042
其中v为可视层,h为隐层,u为监督层,ψ=(wij,pkj,ai,ck,bj),a为可视层偏置值,b为隐层的偏置值,c为监督层的偏置值,λ为控制有监督学习与无监督学习比例的权重参数,w为可视层与隐层之间的权重,p为监督层间的权重,ψ=(wij,pkj,ai,ck,bj),可以更新为:
Figure BDA0002629601130000044
其中τ为迭代次数,η为学习率;
Figure BDA0002629601130000042
Where v is the visible layer, h is the hidden layer, u is the supervised layer, ψ = ( wij , pkj , ai , ck , bj ), a is the bias value of the visible layer, b is the bias value of the hidden layer, c is the bias value of the supervised layer, λ is the weight parameter that controls the ratio of supervised learning to unsupervised learning, w is the weight between the visible layer and the hidden layer, p is the weight between the supervised layers, ψ = ( wij , pkj , ai , ck , bj ), which can be updated as:
Figure BDA0002629601130000044
Where τ is the number of iterations and η is the learning rate;

连接各层SSRBM的激活函数为Isigmoid函数:The activation function connecting each layer of SSRBM is the Isigmoid function:

Figure BDA0002629601130000051
其中a为阈值,α为斜率,且满足:
Figure BDA0002629601130000052
其中αmin为使Isigmoid函数工作的最小斜率。
Figure BDA0002629601130000051
Where a is the threshold, α is the slope, and it satisfies:
Figure BDA0002629601130000052
Where α min is the minimum slope for the Isigmoid function to work.

根据本申请实施例提供的技术方案,所述将测试数据集输入半监督深度信念网络中,通过深度训练后的模型对测试数据集中的数据进行故障分类判别,具体包括:半监督深度信念网络将训练后的权值与偏置矩阵保留,监督层参考有标签数据辅助预测未标记数据的标签,测试数据输入后按照SSDBN由输入层向输出层传递,最终被分类。According to the technical solution provided in the embodiment of the present application, the test data set is input into the semi-supervised deep belief network, and the data in the test data set is subjected to fault classification and judgment through the deeply trained model, specifically including: the semi-supervised deep belief network retains the trained weights and bias matrix, the supervision layer refers to the labeled data to assist in predicting the label of the unlabeled data, and after the test data is input, it is passed from the input layer to the output layer according to the SSDBN, and finally classified.

本发明的有益效果:本申请提供一种基于半监督深度信念网络的轴承故障诊断方法,输入工作数据即可直接输出判断的轴承故障,自动化程度较高;该方法更适应于多工况下的轴承故障诊断,兼容性与普适性更强,提高了轴承故障诊断精度;而且半监督深度信念网络在模型训练时需要少量的标签数据,降低训练成本。Beneficial effects of the present invention: The present application provides a bearing fault diagnosis method based on a semi-supervised deep belief network, which can directly output the judged bearing fault by inputting working data, and has a high degree of automation; the method is more suitable for bearing fault diagnosis under multiple working conditions, has stronger compatibility and universality, and improves the accuracy of bearing fault diagnosis; and the semi-supervised deep belief network requires a small amount of labeled data during model training, which reduces training costs.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请第一种实施例的流程图;FIG1 is a flow chart of a first embodiment of the present application;

图2为本申请第一种实施例中半监督深度信念网络结构图。FIG2 is a diagram of the structure of a semi-supervised deep belief network in the first embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了使本领域技术人员更好地理解本发明的技术方案,下面结合附图对本申请进行详细描述,本部分的描述仅是示范性和解释性,不应对本申请的保护范围有任何的限制作用。In order to enable those skilled in the art to better understand the technical solution of the present invention, the present application is described in detail below in conjunction with the accompanying drawings. The description in this section is only exemplary and explanatory and should not have any limiting effect on the scope of protection of the present application.

如图1所示为本申请的第一种实施例的流程图,包括以下步骤:FIG1 is a flow chart of a first embodiment of the present application, comprising the following steps:

S1、收集振动信号数据。S1. Collect vibration signal data.

本实施例中,将加速度传感器设置在旋转机械轴承的外圈部分,当轴承振动幅度较大时可选择磁吸附式加速度传感器,当轴承振动幅度较小时可选择粘合剂粘贴加速度传感器。In this embodiment, the acceleration sensor is arranged on the outer ring part of the rotating mechanical bearing. When the vibration amplitude of the bearing is large, a magnetic adsorption acceleration sensor can be selected, and when the vibration amplitude of the bearing is small, an adhesive-attached acceleration sensor can be selected.

S2、对振动信号数据进行小波变换降噪并完成重构。S2. Perform wavelet transform on the vibration signal data to reduce noise and complete reconstruction.

本步骤具体包括:将振动信号数据x(t)在函数空间的子空间内视为空间V0,空间V0可被分解为V1与W1,即V0=V1+W1,V1可被分解为V2与W2,以此类推,Vj-1可以被分解为Vj与Wj,j为分辨率,j=0或1;This step specifically includes: considering the vibration signal data x(t) as a space V 0 in a subspace of the function space, the space V 0 can be decomposed into V 1 and W 1 , that is, V 0 =V 1 +W 1 , V 1 can be decomposed into V 2 and W 2 , and so on, V j-1 can be decomposed into V j and W j , j is the resolution, j=0 or 1;

振动信号数据x(t)的信号分解降噪过程为:The signal decomposition and denoising process of the vibration signal data x(t) is:

Figure BDA0002629601130000061
Figure BDA0002629601130000061

其中

Figure BDA0002629601130000062
为分辨率为0时的线性组合权重,P0x(t)称为x(t)在V0上的平滑逼近,也就是x(t)在分辨率为0情况下的概貌,φ0k(t)为尺度函数;in
Figure BDA0002629601130000062
is the linear combination weight when the resolution is 0, P 0 x(t) is called the smooth approximation of x(t) on V 0 , that is, the overview of x(t) when the resolution is 0, φ 0k (t) is the scale function;

Figure BDA0002629601130000063
Figure BDA0002629601130000063

其中

Figure BDA0002629601130000064
为分辨率为1时的线性组合权重,P1x(t)称为x(t)在V1上的平滑逼近,也就是x(t)在分辨率为1情况下的概貌,φ1k(t)为尺度函数;in
Figure BDA0002629601130000064
is the linear combination weight when the resolution is 1, P 1 x(t) is called the smooth approximation of x(t) on V 1 , that is, the overview of x(t) when the resolution is 1, φ 1k (t) is the scaling function;

Figure BDA0002629601130000065
Figure BDA0002629601130000065

其中

Figure BDA0002629601130000066
为分辨率为1时离散细节,D1x(t)为x(t)在W1上的投影,ψ1k(t)为小波函数;in
Figure BDA0002629601130000066
is the discrete detail when the resolution is 1, D 1 x(t) is the projection of x(t) on W 1 , and ψ 1k (t) is the wavelet function;

P0x(t)=P1x(t)+D1x(t)P 0 x(t)=P 1 x(t)+D 1 x(t)

Figure BDA0002629601130000067
Figure BDA0002629601130000067

Figure BDA0002629601130000068
Figure BDA0002629601130000068

分解降噪后的信号分别为:The signals after decomposition and noise reduction are:

当j=0时,

Figure BDA0002629601130000071
When j = 0,
Figure BDA0002629601130000071

当j=1时,

Figure BDA0002629601130000072
When j = 1,
Figure BDA0002629601130000072

重构后信号为:The reconstructed signal is:

Figure BDA0002629601130000073
Figure BDA0002629601130000073

本步骤中,对原始的振动信号数据x(t)进行小波变换后,降低了振动信号的噪声干扰,并归一化了数据。In this step, after the original vibration signal data x(t) is subjected to wavelet transformation, the noise interference of the vibration signal is reduced and the data is normalized.

S3、将重构后的信号数据根据标签进行分类,并提取相应的时域特征。S3. Classify the reconstructed signal data according to the labels and extract the corresponding time domain features.

轴承的故障数据一般分为三类,分别为故障位置、损伤尺寸及负载转速,本实施例中设置的标签数据数据中同时包括故障位置及损伤尺寸信息,故障位置信息包括内圈故障、滚动体故障及外圈故障,损伤尺寸信息包括0.178mm、0.356mm及0.533mm,本实施例中标签包括十类标签数据,其中九类为同时含有故障位置信息及损伤尺寸信息的标签,第十类标签为轴承健康状态的标签。The fault data of the bearing is generally divided into three categories, namely, fault location, damage size and load speed. The label data set in this embodiment includes both fault location and damage size information. The fault location information includes inner ring fault, rolling element fault and outer ring fault. The damage size information includes 0.178mm, 0.356mm and 0.533mm. In this embodiment, the label includes ten categories of label data, nine of which are labels containing both fault location information and damage size information, and the tenth label is a label for the health status of the bearing.

本步骤中,提取相应的时域特征是在重构后的信号数据中提取均值、均方值、均方根值、平均幅值、峭度值、峰值、峰峰值、标准差、方差、歪度值、脉冲因子、偏态系数、波形因子、峰态系数、裕度系数、峭度因子、波形熵,构成总数据集。In this step, the corresponding time domain features are extracted by extracting the mean, mean square value, root mean square value, average amplitude, kurtosis value, peak value, peak-to-peak value, standard deviation, variance, skewness value, pulse factor, skewness coefficient, waveform factor, peak coefficient, margin coefficient, kurtosis factor, and waveform entropy from the reconstructed signal data to form a total data set.

S4、将分类后的信号数据按照设定规则进行筛选,筛选后的数据划分为训练数据集及测试数据集。S4. The classified signal data is screened according to the set rules, and the screened data is divided into a training data set and a test data set.

本实施例中,采用最大平均差(MMD)算法对总数据集筛选,以选取特征分布差异较小的数据集。给定两个分布s和t,它们之间的MMD定义为:In this embodiment, the maximum mean difference (MMD) algorithm is used to screen the total data set to select data sets with smaller feature distribution differences. Given two distributions s and t, the MMD between them is defined as:

Figure BDA0002629601130000081
Figure BDA0002629601130000081

其中E为对分配的期望,

Figure BDA0002629601130000082
为将原始数据映射到再生核希尔伯特空间(RKHS)的函数,当s与t分布相同时,MMD2(s,t)=0,与此映射关联的内核函数为k(xs,xt)=<φ(xs),φ(xt)>;Where E is the expectation of the distribution,
Figure BDA0002629601130000082
is a function that maps the original data to the reproducing kernel Hilbert space (RKHS). When s and t have the same distribution, MMD 2 (s, t) = 0, and the kernel function associated with this mapping is k(x s , x t ) = <φ(x s ),φ(x t )>;

Figure BDA0002629601130000083
Figure BDA0002629601130000084
分别表示分布s与分布t,MMD的经验估计如下:
Figure BDA0002629601130000083
and
Figure BDA0002629601130000084
Denote distribution s and distribution t respectively, and the empirical estimate of MMD is as follows:

Figure BDA0002629601130000085
Figure BDA0002629601130000085

当数据符合0≤LM(Ds,Dt)<0.16的条件时选取其作为筛选后的数据,不符合条件时予以剔除。When the data meet the condition of 0≤L M (D s ,D t )<0.16, they are selected as the screened data, and when they do not meet the condition, they are eliminated.

在筛选后的数据中选取80%作为训练集,20%作为测试集,而且训练集中设置10%的数据带有标签,剩余90%的训练集中的数据为未标记数据,由半监督深度信念网络预测其标签并进行识别。本实施例中,由于半监督深度信念网络大大降低了对标签的依赖性,因此在训练集中只需要保证其中10%的数据带有标签即可进行训练,因此也降低了制作标签数据的各类成本。80% of the screened data is selected as a training set and 20% as a test set, and 10% of the data in the training set is set to be labeled, and the remaining 90% of the data in the training set is unlabeled data, and the semi-supervised deep belief network predicts its labels and identifies it. In this embodiment, since the semi-supervised deep belief network greatly reduces the dependence on labels, it only needs to ensure that 10% of the data in the training set is labeled for training, which also reduces the various costs of making labeled data.

S5、将训练数据集输入半监督深度信念网络中,对网络进行深度训练。S5. Input the training data set into the semi-supervised deep belief network and perform deep training on the network.

本实施例中,半监督深度信念网络(SSDBN)由半监督受限玻尔兹曼机(SSRBM)堆叠而成,SSDBN由一个输入层、多个隐藏层、一个输出层组成,如图2所示,本实施例中的SSDBN共堆叠了3个SSRBM,共4层,每层都具有若干数量的神经元,神经元只有激活与未激活两种状态,本实施例中输出层内的神经元数量为10,各层的神经元之间互不连接,每层内的神经元之间全连接,并用激活函数传递信息、更新权值与偏重,SSRBM由一个可视层、一个隐层、一个监督层组成,SSRBM的能量函数定义为:In this embodiment, the semi-supervised deep belief network (SSDBN) is formed by stacking semi-supervised restricted Boltzmann machines (SSRBM). The SSDBN consists of an input layer, multiple hidden layers, and an output layer. As shown in FIG2 , the SSDBN in this embodiment stacks 3 SSRBMs, a total of 4 layers, each layer has a certain number of neurons, and the neurons have only two states: activated and unactivated. In this embodiment, the number of neurons in the output layer is 10, and the neurons in each layer are not connected to each other. The neurons in each layer are fully connected, and the activation function is used to transmit information, update weights and biases. The SSRBM consists of a visual layer, a hidden layer, and a supervisory layer. The energy function of the SSRBM is defined as:

Figure BDA0002629601130000091
Figure BDA0002629601130000091

其中v为可视层,h为隐层,u为监督层,ψ=(wij,pkj,ai,ck,bj),a为可视层偏置值,b为隐层的偏置值,c为监督层的偏置值,λ为控制有监督学习与无监督学习比例的权重参数,w为可视层与隐层之间的权重,p为监督层间的权重,ψ=(wij,pkj,ai,ck,bj)可以更新为:

Figure BDA0002629601130000092
其中τ为迭代次数,η为学习率;Where v is the visible layer, h is the hidden layer, u is the supervised layer, ψ = ( wij , pkj , ai , ck , bj ), a is the bias value of the visible layer, b is the bias value of the hidden layer, c is the bias value of the supervised layer, λ is the weight parameter that controls the ratio of supervised learning to unsupervised learning, w is the weight between the visible layer and the hidden layer, p is the weight between the supervised layers, ψ = ( wij , pkj , ai , ck , bj ) can be updated as:
Figure BDA0002629601130000092
Where τ is the number of iterations and η is the learning rate;

连接各层SSRBM的激活函数一般为sigmoid函数,由于其易引起梯度消失与梯度爆炸的问题,修改为Isigmoid函数:The activation function connecting each layer of SSRBM is generally a sigmoid function. Since it is easy to cause gradient vanishing and gradient exploding problems, it is modified to an Isigmoid function:

Figure BDA0002629601130000093
Figure BDA0002629601130000093

其中a为阈值,α为斜率,且满足:

Figure BDA0002629601130000094
其中αmin为使Isigmoid函数工作的最小斜率。Where a is the threshold, α is the slope, and it satisfies:
Figure BDA0002629601130000094
Where α min is the minimum slope for the Isigmoid function to work.

本实施例中,Isigmoid激活函数的使用降低了模型本身梯度爆炸与梯度消失发生概率,使模型更加稳定。In this embodiment, the use of the Isigmoid activation function reduces the probability of gradient explosion and gradient vanishing in the model itself, making the model more stable.

S6、将测试数据集输入半监督深度信念网络中,通过深度训练后的模型对测试数据集中的数据进行故障分类判别。S6. Input the test data set into the semi-supervised deep belief network, and use the deep trained model to perform fault classification on the data in the test data set.

本实施例中,半监督深度信念网络将训练后的权值与偏置矩阵保留,监督层参考有标签数据辅助预测未标记数据的标签,测试数据输入后按照SSDBN由输入层向输出层传递,最终被分类。In this embodiment, the semi-supervised deep belief network retains the trained weights and bias matrix, and the supervision layer refers to the labeled data to assist in predicting the labels of the unlabeled data. After the test data is input, it is passed from the input layer to the output layer according to the SSDBN and is finally classified.

本实施例中,输入工作数据即可直接输出判断的轴承故障,自动化程度较高,无需人工选取特征,无需依赖专家知识,完全实现”端到端“的学习模式;该方法更适应于多工况下的轴承故障诊断,兼容性与普适性更强,提高了轴承故障诊断精度;而且半监督深度信念网络在模型训练时需要少量的标签数据,降低训练成本。在轴承故障诊断中,可在较强噪声中提取有效数据;无需人工提取特征、无需依赖专家经验知识,即可实现自动化、智能化的自动轴承故障诊断结果;使用带标签数据较少,降低了制作标签数据的成本,提高处于多工况条件下轴承故障诊断的精度。In this embodiment, the bearing fault can be directly output by inputting the working data, with a high degree of automation, no need for manual feature selection, no need to rely on expert knowledge, and a fully "end-to-end" learning mode. This method is more suitable for bearing fault diagnosis under multiple working conditions, with stronger compatibility and universality, and improves the accuracy of bearing fault diagnosis. Moreover, the semi-supervised deep belief network requires a small amount of labeled data during model training, which reduces the training cost. In bearing fault diagnosis, effective data can be extracted from strong noise; there is no need to manually extract features or rely on expert experience and knowledge, and automatic and intelligent bearing fault diagnosis results can be achieved; less labeled data is used, which reduces the cost of making labeled data and improves the accuracy of bearing fault diagnosis under multiple working conditions.

本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实例的说明只是用于帮助理解本申请的方法及其核心思想。以上所述仅是本申请的优选实施方式,应当指出,由于文字表达的有限性,而客观上存在无限的具体结构,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进、润饰或变化,也可以将上述技术特征以适当的方式进行组合;这些改进润饰、变化或组合,或未经改进将申请的构思和技术方案直接应用于其它场合的,均应视为本申请的保护范围。This article uses specific examples to illustrate the principles and implementation methods of this application. The above examples are only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of this application, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the concept and technical solution of the application to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims (5)

1. A bearing fault diagnosis method based on a semi-supervised deep belief network is characterized by comprising the following steps:
collecting vibration signal data;
performing wavelet transformation noise reduction on the vibration signal data and completing reconstruction;
classifying the reconstructed signal data according to the labels, and extracting corresponding time domain characteristics;
screening the classified signal data according to a set rule, and dividing the screened data into a training data set and a test data set;
inputting a training data set into a semi-supervised deep belief network, and carrying out deep training on the network;
inputting the test data set into a semi-supervised deep belief network, and carrying out fault classification judgment on the data in the test data set through a deeply trained model;
the method comprises the following steps of inputting a training data set into a semi-supervised deep belief network, and performing deep training on the network, wherein the deep training specifically comprises the following steps:
the semi-supervised deep belief network (SSDBN) is formed by stacking semi-supervised restricted Boltzmann machines (SSRBMs), the SSDBN is composed of an input layer, a plurality of hidden layers and an output layer, each layer is provided with a plurality of neurons, the neurons only have two states of activation and non-activation, the neurons of each layer are not connected with each other, the neurons in each layer are fully connected, information is transmitted by using an activation function, weight values are updated, and weight values are weighted, the SSRBMs are composed of a visible layer, a hidden layer and a supervision layer, and the energy function of the SSRBMs is defined as:
Figure FDA0003911759470000011
where v is the visible layer, h is the hidden layer, u is the supervisory layer, ψ = (w) ij ,p kj ,a i ,c k ,b j ) A is the bias value of the visual layer, b is the bias value of the hidden layer, c is the bias value of the monitoring layer, lambda is the weight parameter controlling the ratio of the supervised learning to the unsupervised learning, w is the weight between the visual layer and the hidden layer, and p is the bias value between the monitoring layersWeight,/= (w) ij ,p kj ,a i ,c k ,b j ) Can be updated as:
Figure FDA0003911759470000021
wherein tau is iteration times, eta is learning rate;
the activation function connecting the layers of the SSRBM is the Isigmoid function:
Figure FDA0003911759470000022
wherein a is a threshold, α is a slope, and satisfies:
Figure FDA0003911759470000023
wherein alpha is min Minimum slope to work for the Isigmoid function;
the screening of the classified signal data according to a set rule specifically includes:
the total data set was screened using the maximum mean-difference (MMD) algorithm, given two distributions s and t, the MMD between them is defined as:
Figure FDA0003911759470000024
where E is the expectation for the allocation,
Figure FDA0003911759470000025
to map raw data to a function of the Regenerated Kernel Hilbert Space (RKHS), when s and t distributions are the same, MMD 2 (s, t) =0, and the kernel function associated with this map is k (x) s ,x t )=<φ(x s ),φ(x t )>;
Figure FDA0003911759470000026
And
Figure FDA0003911759470000027
respectively representEmpirical estimates of distribution s and distribution t, MMD are as follows:
Figure FDA0003911759470000028
when the data is consistent with 0 being less than or equal to L M (D s ,D t ) If the condition is less than 0.16, selecting the data as screened data, and if the condition is not met, rejecting the data;
and selecting 80% of the screened data as a training set, 20% of the screened data as a test set, setting 10% of the data in the training set with labels, and the rest 90% of the data in the training set as unlabeled data, and predicting and identifying the labels by using a semi-supervised deep belief network.
2. The bearing fault diagnosis method based on the semi-supervised deep belief network as claimed in claim 1, wherein the wavelet transform denoising and reconstructing are performed on the vibration signal data, and specifically comprises:
considering the vibration signal data x (t) as a space V in a subspace of the function space 0 Space V 0 Can be decomposed into V 1 And W 1 I.e. V 0 =V 1 +W 1 ,V 1 Can be decomposed into V 2 And W 2 By analogy, V j-1 Can be decomposed into V j And W j J is resolution, j =0 or 1;
the signal decomposition and noise reduction process of the vibration signal data x (t) is as follows:
Figure FDA0003911759470000031
wherein
Figure FDA0003911759470000032
Is a linear combination weight with a resolution of 0, P 0 x (t) is x (t) at V 0 The smooth approximation of (c), i.e. the profile of x (t) at a resolution of 0, phi 0k (t) is a scale function;
Figure FDA0003911759470000033
wherein
Figure FDA0003911759470000034
For linear combining weights at resolution 1, P 1 x (t) is x (t) at V 1 A smooth approximation of (i.e. a profile of x (t) at a resolution of 1, phi 1k (t) is a scale function;
Figure FDA0003911759470000035
wherein
Figure FDA0003911759470000036
Discrete details at resolution 1, D 1 x (t) is x (t) in W 1 Projection of 1k (t) is a wavelet function;
P 0 x(t)=P 1 x(t)+D 1 x(t);
Figure FDA0003911759470000037
Figure FDA0003911759470000038
the decomposed and denoised signals are respectively:
when j =0, the signal is transmitted,
Figure FDA0003911759470000039
when j =1, the signal is transmitted,
Figure FDA00039117594700000310
the reconstructed signal is:
Figure FDA00039117594700000311
3. the bearing fault diagnosis method based on the semi-supervised deep belief network of claim 1, wherein the label comprises fault location information and damage size information of the bearing, the fault location information comprises inner ring faults, rolling body faults and outer ring faults, and the damage size information comprises 0.178mm, 0.356mm and 0.533mm; the labels comprise ten types, wherein nine types are labels simultaneously containing fault position information and damage size information, and the tenth type is labels of the bearing health state.
4. The bearing fault diagnosis method based on the semi-supervised deep belief network as claimed in claim 1, wherein the extracting of the corresponding time domain features specifically comprises: and extracting a mean value, a mean square value, a root mean square value, an average amplitude value, a kurtosis value, a peak-peak value, a standard deviation, a variance, a skewness value, a pulse factor, a skewness factor, a waveform factor, a kurtosis coefficient, a margin coefficient, a kurtosis factor and a waveform entropy from the reconstructed signal data to form a total data set.
5. The bearing fault diagnosis method based on the semi-supervised deep belief network as claimed in claim 1, wherein the step of inputting the test data set into the semi-supervised deep belief network and performing fault classification and judgment on the data in the test data set through the model after deep training specifically comprises the steps of: the semi-supervised deep belief network reserves the trained weight and bias matrix, the supervision layer refers to the label data to assist in predicting the label of the unlabelled data, the test data are transmitted from the input layer to the output layer according to the SSDBN after being input, and finally the test data are classified.
CN202010807298.2A 2020-08-12 2020-08-12 Bearing fault diagnosis method based on semi-supervised deep belief network Active CN111982514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010807298.2A CN111982514B (en) 2020-08-12 2020-08-12 Bearing fault diagnosis method based on semi-supervised deep belief network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010807298.2A CN111982514B (en) 2020-08-12 2020-08-12 Bearing fault diagnosis method based on semi-supervised deep belief network

Publications (2)

Publication Number Publication Date
CN111982514A CN111982514A (en) 2020-11-24
CN111982514B true CN111982514B (en) 2023-03-24

Family

ID=73434917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010807298.2A Active CN111982514B (en) 2020-08-12 2020-08-12 Bearing fault diagnosis method based on semi-supervised deep belief network

Country Status (1)

Country Link
CN (1) CN111982514B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113405799B (en) * 2021-05-20 2022-06-28 新疆大学 Bearing early fault detection method based on health state index construction and fault warning limit self-learning
CN114354185B (en) * 2021-12-29 2024-07-23 重庆邮电大学 Gear box fault diagnosis method based on decoupling network
CN114993679B (en) * 2022-05-25 2024-09-06 国网重庆市电力公司电力科学研究院 A self-diagnosis method and system for multi-fan joint bearing fault

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019101789A (en) * 2017-12-04 2019-06-24 日本電信電話株式会社 Model learning device, model learning method, and prediction system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9842302B2 (en) * 2013-08-26 2017-12-12 Mtelligence Corporation Population-based learning with deep belief networks
CN108414226B (en) * 2017-12-25 2019-07-19 哈尔滨理工大学 Fault diagnosis method of rolling bearing under variable working conditions based on feature transfer learning
CN108304927A (en) * 2018-01-25 2018-07-20 清华大学 Bearing fault modality diagnostic method and system based on deep learning
CN108414923A (en) * 2018-02-05 2018-08-17 武汉大学 A kind of analog-circuit fault diagnosis method based on the extraction of depth confidence network characterization
CN110533070A (en) * 2019-07-26 2019-12-03 西安交通大学 A kind of mechanical breakdown intelligent diagnosing method based on migration original shape network under small sample
CN110543860B (en) * 2019-09-05 2022-06-07 燕山大学 Mechanical fault diagnosis method and system based on TJM transfer learning
CN110542819B (en) * 2019-09-25 2022-03-22 贵州电网有限责任公司 Transformer fault type diagnosis method based on semi-supervised DBNC

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019101789A (en) * 2017-12-04 2019-06-24 日本電信電話株式会社 Model learning device, model learning method, and prediction system

Also Published As

Publication number Publication date
CN111982514A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN106682688B (en) Bearing fault diagnosis method based on particle swarm optimization with stacked noise reduction self-encoding network
CN111964908B (en) Bearing fault diagnosis method under variable working condition based on multi-scale weight distribution convolutional neural network model
CN106769052B (en) A kind of mechanical system rolling bearing intelligent failure diagnosis method based on clustering
CN111982514B (en) Bearing fault diagnosis method based on semi-supervised deep belief network
CN115979643B (en) Rolling bearing fault diagnosis method and system
CN109781411B (en) A bearing fault diagnosis method combining improved sparse filter and KELM
CN104751229B (en) Bearing fault diagnosis method capable of recovering missing data of back propagation neural network estimation values
CN113935406A (en) Mechanical equipment unsupervised fault diagnosis method based on counter current model
CN110232435B (en) Self-adaptive deep confidence network rolling bearing fault diagnosis method
WO2021128510A1 (en) Bearing defect identification method based on sdae and improved gwo-svm
CN107657250B (en) Bearing fault detection and location method and implementation system and method of detection and location model
CN108304927A (en) Bearing fault modality diagnostic method and system based on deep learning
CN110533070A (en) A kind of mechanical breakdown intelligent diagnosing method based on migration original shape network under small sample
CN113310689B (en) Aeroengine transmission system fault diagnosis method based on domain self-adaptive graph convolution network
CN112308147A (en) A fault diagnosis method for rotating machinery based on integrated migration of multi-source domain anchor adapters
CN108827605A (en) A kind of mechanical breakdown characteristic automatic extraction method based on improvement sparseness filtering
CN104792530A (en) Deep-learning rolling bearing fault diagnosis method based on SDA (stacked denoising autoencoder) and Softmax regression
CN109902564B (en) Abnormal event detection method based on structural similarity sparse self-coding network
CN112101085A (en) Adaptive intelligent fault diagnosis method based on importance weighted domain impedance
CN112284735B (en) Multi-sensor rolling bearing fault diagnosis based on one-dimensional convolution and dynamic routing
CN108509701A (en) A kind of direct intelligent diagnosing method of rotating machinery fault based on vibration signal
CN107702922A (en) Based on LCD and the Fault Diagnosis of Roller Bearings for stacking autocoder
CN113324754B (en) A fault identification method for gear transmission system based on multi-receptive field graph convolution
CN111476339A (en) Rolling bearing fault feature extraction method, intelligent diagnosis method and system
CN112347917B (en) Gas turbine fault diagnosis method, system, equipment and storage medium

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Han Xu

Inventor after: Ye Nan

Inventor after: Chang Peize

Inventor after: Zhang Luyu

Inventor after: Wang Jia

Inventor after: Li Jiahang

Inventor before: Ye Nan

Inventor before: Chang Peize

Inventor before: Zhang Luyu

Inventor before: Wang Jia

Inventor before: Li Jiahang

GR01 Patent grant
GR01 Patent grant