+

CN115846852A - FSW welding monitoring method based on DS evidence theory and neural network - Google Patents

FSW welding monitoring method based on DS evidence theory and neural network Download PDF

Info

Publication number
CN115846852A
CN115846852A CN202211592513.7A CN202211592513A CN115846852A CN 115846852 A CN115846852 A CN 115846852A CN 202211592513 A CN202211592513 A CN 202211592513A CN 115846852 A CN115846852 A CN 115846852A
Authority
CN
China
Prior art keywords
layer
neural network
evidence theory
result
monitoring method
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
CN202211592513.7A
Other languages
Chinese (zh)
Other versions
CN115846852B (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.)
Dalian Jiaotong University
Original Assignee
Dalian Jiaotong University
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 Dalian Jiaotong University filed Critical Dalian Jiaotong University
Priority to CN202211592513.7A priority Critical patent/CN115846852B/en
Priority claimed from CN202211592513.7A external-priority patent/CN115846852B/en
Publication of CN115846852A publication Critical patent/CN115846852A/en
Application granted granted Critical
Publication of CN115846852B publication Critical patent/CN115846852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

本发明公开了一种基于DS证据理论与神经网络的FSW焊接监测方法,包括以下步骤:S1:建立声发射采集系统,采集声发射信号;S2:提取分析声发射信号,并制成数据集;S3:建立主干神经网络模型;S4:建立多任务分类网络结构;S5:结合DS证据理论,建立多任务学习判别指标;S6:对主干神经网络和多任务分类网络进行迭代,若评估结果达到最优条件或达到最大迭代次数,则停止训练并保存多任务分类网络权重,完成对FSW声发射焊接缺陷信号的识别与分类,本发明通过对声信号进行多种算法提取,利用DS证据理论与SoftMax层相结合,解决了多个单任务耗费训练成本的缺点,对缺陷部位进行识别分析,达到了准确定位缺陷位置和缺陷类型的目的,提高了识别效率。

Figure 202211592513

The invention discloses a FSW welding monitoring method based on DS evidence theory and neural network, comprising the following steps: S1: establishing an acoustic emission acquisition system to collect acoustic emission signals; S2: extracting and analyzing the acoustic emission signals, and making a data set; S3: Establish a backbone neural network model; S4: Establish a multi-task classification network structure; S5: Combine DS evidence theory to establish a multi-task learning discriminant index; S6: Iterate the backbone neural network and multi-task classification network, if the evaluation result reaches the optimal If the condition is optimal or the maximum number of iterations is reached, the training is stopped and the weight of the multi-task classification network is saved to complete the identification and classification of the FSW acoustic emission welding defect signal. The combination of layers solves the shortcomings of multiple single tasks that consume training costs, and identifies and analyzes defect parts, achieving the purpose of accurately locating defect locations and defect types, and improving recognition efficiency.

Figure 202211592513

Description

一种基于DS证据理论与神经网络的FSW焊接监测方法A FSW Welding Monitoring Method Based on DS Evidence Theory and Neural Network

技术领域technical field

本发明涉及搅拌摩擦焊技术领域,具体涉及一种基于DS证据理论与神经网络的FSW微焊接监测方法。The invention relates to the technical field of friction stir welding, in particular to a FSW micro-welding monitoring method based on DS evidence theory and neural network.

背景技术Background technique

搅拌摩擦焊(FSW)是轨道交通装备制造业中最广泛应用的一种的焊接方式,焊接缺陷是工件疲劳断裂潜在的损坏方式。由于焊接缺陷导致的疲劳断裂具有很强的隐蔽性,一旦发生,会酿成灾难性事故,造成严重经济损失。声发射检测是一种根据工件内部结构反馈进行动态无损检测的新型方法,可直接检测和判断工件内部缺陷,实时反映FSW焊接板材焊接状态。因此,分析焊接时缺陷的声发射信号表现形式,准确识别、定位缺陷部位,对确保轨道车辆安全运行意义重大。Friction stir welding (FSW) is the most widely used welding method in the rail transit equipment manufacturing industry. Welding defects are potential damage methods for workpiece fatigue fracture. Fatigue fractures caused by welding defects are highly concealed, and once they occur, they will lead to catastrophic accidents and cause serious economic losses. Acoustic emission testing is a new method of dynamic non-destructive testing based on the internal structure feedback of the workpiece, which can directly detect and judge the internal defects of the workpiece, and reflect the welding status of FSW welding plates in real time. Therefore, analyzing the acoustic emission signal manifestations of defects during welding, and accurately identifying and locating defect parts is of great significance to ensure the safe operation of rail vehicles.

在信号分析与特征提取中,大多数使用一种方法进行特征提取,在特征提取过后使用多种神经网络进行识别分类;现有的信号分析方法中,单一信号分析方法仅仅从某一角度对信号进行了分析,即便分析效果很明显但也有片面之处;在主流的分类神经网络之中,SoftMax层利用最大隶属度函数进行分类,这种方式容易造成分类结果丢失的问题,在多任务进行网络模型搭建时,应用多个主干网络增加了训练成本影响了识别效率,耗费训练成本。In signal analysis and feature extraction, most of them use one method for feature extraction, and use a variety of neural networks to identify and classify after feature extraction; in the existing signal analysis methods, a single signal analysis method only analyzes the signal from a certain angle. After the analysis, even if the analysis effect is obvious, it is also one-sided; in the mainstream classification neural network, the SoftMax layer uses the maximum membership function for classification. This method is easy to cause the problem of loss of classification results. When the model is built, the application of multiple backbone networks increases the training cost, affects the recognition efficiency, and consumes training costs.

发明内容Contents of the invention

为了解决现有的信号特征提取识别效率低、易耗费成本的问题,本发明提供了一种基于基于DS证据理论与神经网络的FSW焊接监测方法。In order to solve the problems of low efficiency and high cost of existing signal feature extraction and identification, the present invention provides a FSW welding monitoring method based on DS evidence theory and neural network.

本发明的一种基于基于DS证据理论与神经网络的FSW焊接监测方法,包括以下步骤:A kind of FSW welding monitoring method based on DS evidence theory and neural network of the present invention comprises the following steps:

S1:建立声发射采集系统,采集声发射信号;S1: Establish an acoustic emission acquisition system to collect acoustic emission signals;

S2:提取分析声发射信号,并制成数据集;S2: extract and analyze the acoustic emission signal, and make a data set;

S3:输入S2中的数据集,建立主干神经网络模型;S3: Input the data set in S2, and establish the backbone neural network model;

S4:输入S3中的结果,建立多任务分类网络结构;S4: Input the results in S3, and establish a multi-task classification network structure;

S5:结合DS证据理论,建立多任务学习判别指标;S5: Combined with DS evidence theory, establish multi-task learning discriminant indicators;

S6:对主干神经网络和多任务分类网络进行迭代,若评估结果达到最优条件或达到最大迭代次数,则停止训练并保存多任务分类网络权重,完成对FSW声发射焊接缺陷信号的识别与分类。S6: Iterate the backbone neural network and multi-task classification network. If the evaluation result reaches the optimal condition or reaches the maximum number of iterations, stop the training and save the weight of the multi-task classification network to complete the identification and classification of FSW acoustic emission welding defect signals .

优选的,所述S1中,使用型号为R15A的声发射传感器,型号为PCIE-1816H的采集卡,采样率100kHz对声信号进行采集。Preferably, in said S1, an acoustic emission sensor of model R15A, a collection card of model PCIE-1816H, and a sampling rate of 100 kHz are used to collect acoustic signals.

优选的,所述S2中包括以下步骤:Preferably, said S2 includes the following steps:

S2-1:使用梅尔频谱对滤波后的数据data分析,表达式如下:S2-1: Use the Mel spectrum to analyze the filtered data data, the expression is as follows:

mel=fmel(data)mel=f mel (data)

式中:mel为梅尔频谱变换后的特征向量,fmel为梅尔频率,梅尔频率曲线表达式如下:In the formula: mel is the eigenvector after the Mel spectrum transformation, f mel is the Mel frequency, and the expression of the Mel frequency curve is as follows:

Figure BDA0003995247020000021
Figure BDA0003995247020000021

式中:f为原频率。Where: f is the original frequency.

S2-2:使用短时傅里叶变换对滤波后的数据data分析,表达式如下:S2-2: Use short-time Fourier transform to analyze the filtered data data, the expression is as follows:

spec=F(data)spec=F(data)

式中:spec为短时傅里叶变换后的特征向量,短时傅里叶变换定义表达式如下:In the formula: spec is the feature vector after the short-time Fourier transform, and the definition expression of the short-time Fourier transform is as follows:

Figure BDA0003995247020000022
Figure BDA0003995247020000022

式中:t为时域、ω为频域,i为虚数单位,e为自然对数的底;In the formula: t is the time domain, ω is the frequency domain, i is the imaginary number unit, and e is the base of the natural logarithm;

S2-3:使用小波变换对滤波后的数据data进行分析,表达式如下:S2-3: Use wavelet transform to analyze the filtered data data, the expression is as follows:

cwt=cwt(data)cwt=cwt(data)

其中,f(t)的小波变换定义表达式如下:Among them, the wavelet transform definition expression of f(t) is as follows:

Figure BDA0003995247020000023
Figure BDA0003995247020000023

式中:α是尺度因子,τ是时移因子,ψ(t)为小波基;In the formula: α is the scale factor, τ is the time shift factor, ψ(t) is the wavelet basis;

S2-4:S2-1至S2-3中分别提取32个特征值,一共提取96个特征值,以30ms的海明窗为单位制成数据集。S2-4: 32 eigenvalues were extracted from S2-1 to S2-3 respectively, a total of 96 eigenvalues were extracted, and a data set was made with a Hamming window of 30 ms as a unit.

优选的,所述S3中的主干神经网络模型包括:第一层为一维卷积层,输出维度为2900*100;第二层为一维卷积层,输出维度为2800*100;第三层为池化层,输出维度为1400*100;第四层为一维卷积层,输出维度为1300*160;第五层为一维卷积层,输出维度为1200*160;第六层为池化层,输出维度为600*160;第七层为Dropout层,输出维度为600*160;第八层为全连接层,输出维度为300*160。Preferably, the backbone neural network model in S3 includes: the first layer is a one-dimensional convolutional layer with an output dimension of 2900*100; the second layer is a one-dimensional convolutional layer with an output dimension of 2800*100; the third The layer is a pooling layer with an output dimension of 1400*100; the fourth layer is a one-dimensional convolutional layer with an output dimension of 1300*160; the fifth layer is a one-dimensional convolutional layer with an output dimension of 1200*160; the sixth layer It is a pooling layer with an output dimension of 600*160; the seventh layer is a dropout layer with an output dimension of 600*160; the eighth layer is a fully connected layer with an output dimension of 300*160.

优选的,所述第三层的池化层为最大池化层,第六层的池化层为平均池化层,Preferably, the pooling layer of the third layer is a maximum pooling layer, and the pooling layer of the sixth layer is an average pooling layer,

优选的,所述S4中,多任务分类网络结构包括:第一层为全连接层,输出维度为200*160;第二层为一维卷积层,输出维度为100*80;第三层为一维卷积层,输出维度为50*20;第四层为池化层,输出维度为25*1;第五层为微调的SoftMax层,输出维度为5*1。Preferably, in said S4, the multi-task classification network structure includes: the first layer is a fully connected layer with an output dimension of 200*160; the second layer is a one-dimensional convolutional layer with an output dimension of 100*80; the third layer It is a one-dimensional convolutional layer with an output dimension of 50*20; the fourth layer is a pooling layer with an output dimension of 25*1; the fifth layer is a fine-tuned SoftMax layer with an output dimension of 5*1.

优选的,所述S4中的第一层全连接层是连接S3中的主干神经网络模型与时频分类层,输入维度为S3中全连接层的输出维度。Preferably, the first fully connected layer in S4 is connected to the backbone neural network model in S3 and the time-frequency classification layer, and the input dimension is the output dimension of the fully connected layer in S3.

优选的,所述S4中第五层微调的SoftMax层,将FSW焊接过程分为五类:噪声区、搅拌头下压区、搅拌头抬起区、正常焊接区和缺陷区,SoftMax分类原理表达式如下:Preferably, the fifth fine-tuned SoftMax layer in S4 divides the FSW welding process into five categories: noise area, stirring head pressing area, stirring head lifting area, normal welding area and defect area, and the SoftMax classification principle is expressed The formula is as follows:

Figure BDA0003995247020000031
Figure BDA0003995247020000031

式中:P为概率;e为自然对数;v为输出向量;vi为v中第i个类别的值;k表示神经网络的多个输出或类别数;vj为v中第j个类别的值,i表示当前需要计算的类别,计算结果在0到1之间,且所有类别的SoftMax值求和为1。In the formula: P is the probability; e is the natural logarithm; v is the output vector; v i is the value of the i-th category in v; k is the number of multiple outputs or categories of the neural network; v j is the j-th in v The value of the category, i indicates the category that needs to be calculated currently, the calculation result is between 0 and 1, and the sum of the SoftMax values of all categories is 1.

优选的,所述S5中,DS证据理论定义表达式如下:Preferably, in said S5, the definition expression of DS evidence theory is as follows:

DS_result=DS(resultspec,resultmel,resultcwt)DS_result=DS(result spec , result mel , result cwt )

式中:DS_result为DS证据理论合成的结果;resultspec为短时傅里叶特征向量经过神经网络识别的概率分布;resultmel为梅尔频谱特征向量经过神经网络识别的概率分布;resultcwt为小波变换特征向量经过神经网络识别的概率分布;In the formula: DS_result is the synthesis result of DS evidence theory; result spec is the probability distribution of short-time Fourier feature vector identified by neural network; result mel is the probability distribution of Mel spectral feature vector identified by neural network; result cwt is wavelet Transform the probability distribution of the feature vector identified by the neural network;

通过将DS证据理论输出结果与真值标签进行交叉熵函数计算,即多任务学习判别指标表达式如下:By calculating the cross-entropy function between the output of DS evidence theory and the true value label, the expression of the multi-task learning discriminant index is as follows:

Figure BDA0003995247020000032
Figure BDA0003995247020000032

式中:H(p,q)为交叉熵函数的损失函数值;p为真值标签;q为DS证据理论合成结果;xi是对应概率向量每个概率;n表示焊接类别对应的概率向量。In the formula: H(p, q) is the loss function value of the cross-entropy function; p is the truth label; q is the synthesis result of DS evidence theory; x i is each probability corresponding to the probability vector; n represents the probability vector corresponding to the welding category .

优选的,所述S6中,评估结果达到最优条件指的是S5中两次迭代出的交叉熵函数差值小于0.001,最大迭代次数为1000次,满足其中一个条件则停止训练并保存结果。Preferably, in S6, the evaluation result reaching the optimal condition means that the difference between the cross-entropy functions obtained by two iterations in S5 is less than 0.001, and the maximum number of iterations is 1000. If one of the conditions is met, the training is stopped and the result is saved.

本发明的一种基于DS证据理论与神经网络的FSW焊接监测方法,以FSW声发射信号为研究对象,进行缺陷焊接试验,以三种时频域分析算法构建主干神经网络模型数据集,将三种时频方法监测结果视为多任务并构建多任务分类网络结构,结合DS证据理论,SoftMax层、交叉熵损失函数构成多任务神经网络评价指标,使得主干神经网络和多任务分类网络快速收敛,完成FSW焊接信号的识别与分析,达到最优的FSW监测模型。A FSW welding monitoring method based on DS evidence theory and neural network of the present invention takes FSW acoustic emission signal as the research object, conducts defect welding test, constructs a backbone neural network model data set with three time-frequency domain analysis algorithms, and combines the three The monitoring results of this time-frequency method are regarded as multi-task and a multi-task classification network structure is constructed. Combined with DS evidence theory, the SoftMax layer and cross-entropy loss function constitute a multi-task neural network evaluation index, which makes the backbone neural network and multi-task classification network converge quickly. Complete the identification and analysis of FSW welding signals to achieve the optimal FSW monitoring model.

附图说明Description of drawings

图1是本发明一种基于DS证据理论与神经网络的FSW焊接监测方法流程图;Fig. 1 is a kind of flow chart of the FSW welding monitoring method based on DS evidence theory and neural network of the present invention;

图2是本发明主干神经网络模型结构图;Fig. 2 is a structural diagram of the backbone neural network model of the present invention;

图3是本发明多任务分类网络结构图。Fig. 3 is a structure diagram of the multi-task classification network of the present invention.

具体实施方式Detailed ways

本发明的一种基于神经网络的随机共振FSW微小特征缺陷特征提取方法,由图1所示,具体步骤如下:A kind of neural network-based stochastic resonance FSW tiny feature defect feature extraction method of the present invention, shown in Figure 1, concrete steps are as follows:

S1:建立声发射采集系统,采集声发射信号;S1: Establish an acoustic emission acquisition system to collect acoustic emission signals;

S2:提取分析声发射信号,并制成数据集;S2: extract and analyze the acoustic emission signal, and make a data set;

S3:输入S2中的数据集,建立主干神经网络模型;S3: Input the data set in S2, and establish the backbone neural network model;

S4:输入S3中的结果,建立多任务分类网络结构;S4: Input the results in S3, and establish a multi-task classification network structure;

S5:结合DS证据理论,建立多任务学习判别指标;S5: Combined with DS evidence theory, establish multi-task learning discriminant indicators;

S6:对主干神经网络和多任务分类网络进行迭代,若评估结果达到最优条件或达到最大迭代次数,则停止训练并保存多任务分类网络权重,完成对FSW声发射焊接缺陷信号的识别与分类。S6: Iterate the backbone neural network and multi-task classification network. If the evaluation result reaches the optimal condition or reaches the maximum number of iterations, stop the training and save the weight of the multi-task classification network to complete the identification and classification of FSW acoustic emission welding defect signals .

S1中,使用型号为R15A的声发射传感器,型号为PCIE-1816H的采集卡,采样率100kHz对声信号进行采集。In S1, the acoustic emission sensor model is R15A, the acquisition card model is PCIE-1816H, and the sampling rate is 100kHz to collect the acoustic signal.

S2中应用梅尔频谱、短时傅里叶和小波变换对声发射信号进行特征提取,步骤如下:In S2, Mel spectrum, short-time Fourier and wavelet transform are used to extract the features of the acoustic emission signal, and the steps are as follows:

S2-1:使用梅尔频谱对滤波后的数据data分析,表达式如下:S2-1: Use the Mel spectrum to analyze the filtered data data, the expression is as follows:

mel=fmel(data)mel=f mel (data)

式中:mel为梅尔频谱变换后的特征向量,fmel为梅尔频率,梅尔频率曲线表达式如下:In the formula: mel is the eigenvector after the Mel spectrum transformation, f mel is the Mel frequency, and the expression of the Mel frequency curve is as follows:

Figure BDA0003995247020000041
Figure BDA0003995247020000041

式中:f为原频率。Where: f is the original frequency.

S2-2:使用短时傅里叶变换对滤波后的数据data分析,表达式如下:S2-2: Use short-time Fourier transform to analyze the filtered data data, the expression is as follows:

spec=F(data)spec=F(data)

式中:spec为短时傅里叶变换后的特征向量,短时傅里叶变换定义表达式如下:In the formula: spec is the feature vector after the short-time Fourier transform, and the definition expression of the short-time Fourier transform is as follows:

Figure BDA0003995247020000042
Figure BDA0003995247020000042

式中:t为时域、ω为频域,i为虚数单位,e为自然对数的底;In the formula: t is the time domain, ω is the frequency domain, i is the imaginary number unit, and e is the base of the natural logarithm;

S2-3:使用小波变换对滤波后的数据data进行分析,表达式如下:S2-3: Use wavelet transform to analyze the filtered data data, the expression is as follows:

cwt=cwt(data)cwt=cwt(data)

其中,f(t)的小波变换定义表达式如下:Among them, the wavelet transform definition expression of f(t) is as follows:

Figure BDA0003995247020000043
Figure BDA0003995247020000043

式中:α是尺度因子,τ是时移因子,ψ(t)为小波基;In the formula: α is the scale factor, τ is the time shift factor, ψ(t) is the wavelet basis;

S2-4:S2-1至S2-3中分别提取32个特征值,一共提取96个特征值,以30ms的海明窗为单位制成数据集。S2-4: 32 eigenvalues were extracted from S2-1 to S2-3 respectively, a total of 96 eigenvalues were extracted, and a data set was made with a Hamming window of 30 ms as a unit.

由图2所示,S3中结合一维卷积网络和全连接网络,建立主干神经网络模型,主干神经网络模型包括:第一层输入维度为3000*96,为S2中提取特征值所制成的数据集,3000为30ms长度的数据,96为30ms数据的特征向量,第一层:卷积层,卷积核大小为100的一维卷积神经网络层,定义100个过滤器,激活函数为RELU,输出维度为2900*100,并作用于下层;第二层:卷积层,卷积核大小为100的一维卷积神经网络层,定义100个过滤器,激活函数为RELU,输出维度为2800*100,并作用于下层;第三层:池化层,使用最大池化层来减少输出的复杂性并防止数据过拟合,输出维度为1400*100,并作用于下层;第四层:卷积层,卷积核大小为100的一维卷积神经网络层,定义160个过滤器,激活函数为RELU,输出维度为1300*160,并作用于下层;第五层:卷积层,卷积核大小为100的一维卷积神经网络层,定义160个过滤器,激活函数为RELU,输出维度为1200*160,并作用于下层;第六层:池化层,使用平均池化层以进一步避免过拟合,输出维度为600*160,并作用于下层;第七层:Dropout层选择比率为0.5的Dropout层,使得网络对数据的较小变化变得不那么敏感,输出维度为600*160,并作用于下层;第八层:全连接层,输出维度为300*160。As shown in Figure 2, the backbone neural network model is established by combining the one-dimensional convolutional network and the fully connected network in S3. The backbone neural network model includes: the input dimension of the first layer is 3000*96, which is made by extracting feature values in S2 The data set, 3000 is the data of 30ms length, 96 is the feature vector of 30ms data, the first layer: convolutional layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 100, defining 100 filters, activation function It is RELU, the output dimension is 2900*100, and acts on the lower layer; the second layer: convolutional layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 100, defining 100 filters, the activation function is RELU, and the output The dimension is 2800*100, and acts on the lower layer; the third layer: pooling layer, uses the maximum pooling layer to reduce the complexity of the output and prevent data overfitting, the output dimension is 1400*100, and acts on the lower layer; Four layers: convolutional layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 100, 160 filters are defined, the activation function is RELU, the output dimension is 1300*160, and it acts on the lower layer; the fifth layer: volume Product layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 100, defining 160 filters, an activation function of RELU, an output dimension of 1200*160, and acting on the lower layer; the sixth layer: pooling layer, using The average pooling layer is used to further avoid overfitting, the output dimension is 600*160, and it acts on the lower layer; the seventh layer: the Dropout layer selects the Dropout layer with a ratio of 0.5, making the network less sensitive to small changes in the data , the output dimension is 600*160, and acts on the lower layer; the eighth layer: fully connected layer, the output dimension is 300*160.

由图3所示,S4中三种时频分类网络包括短时傅里叶分类层、梅尔频谱分类层和小波分类层,三种时频分类网络结构均用同一种分类网络结构表示,统称为多任务分类网络结构,包括:第一层:全连接层,为连接S3中的主干神经网络模型与三种时频分类层,输入维度为S3中全连接层的输出维度300*160,输出维度为200*160;第二层:卷积层,卷积核大小为100的一维卷积神经网络层,定义80个过滤器,激活函数为RELU,输出维度为100*80,并作用于下层;第三层:卷积层,卷积核大小为50的一维卷积神经网络层,定义20个过滤层,激活函数为RELU,输出维度为50*20,并作用于下层;第四层:池化层,使用最大池化层来减少输出的复杂性并防止数据过拟合,输出维度为25*1;第五层:微调的SoftMax层,将FSW焊接过程共分为五类:噪声区、搅拌头下压区、搅拌头抬起区、正常焊接区和缺陷区,输出维度为5*1。As shown in Figure 3, the three time-frequency classification networks in S4 include short-time Fourier classification layer, Mel spectrum classification layer and wavelet classification layer. The three time-frequency classification network structures are all represented by the same classification network structure, collectively referred to as It is a multi-task classification network structure, including: the first layer: fully connected layer, which connects the backbone neural network model in S3 and three time-frequency classification layers, the input dimension is the output dimension of the fully connected layer in S3 300*160, and the output The dimension is 200*160; the second layer: convolutional layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 100, defines 80 filters, the activation function is RELU, and the output dimension is 100*80, and acts on The lower layer; the third layer: convolutional layer, a one-dimensional convolutional neural network layer with a convolution kernel size of 50, defining 20 filter layers, the activation function is RELU, and the output dimension is 50*20, and acts on the lower layer; the fourth Layer: pooling layer, using the maximum pooling layer to reduce the complexity of the output and prevent data overfitting, the output dimension is 25*1; the fifth layer: the fine-tuned SoftMax layer, which divides the FSW welding process into five categories: Noise area, stirring head down pressure area, stirring head lifting area, normal welding area and defect area, the output dimension is 5*1.

SoftMax分类原理表达式如下:The expression of SoftMax classification principle is as follows:

Figure BDA0003995247020000051
Figure BDA0003995247020000051

式中:P为概率;e为自然对数;v为输出向量;vi为v中第i个类别的值;k表示神经网络的多个输出或类别数;vj为v中第j个类别的值,i表示当前需要计算的类别,计算结果在0到1之间,且所有类别的SoftMax值求和为1。In the formula: P is the probability; e is the natural logarithm; v is the output vector; v i is the value of the i-th category in v; k is the number of multiple outputs or categories of the neural network; v j is the j-th in v The value of the category, i indicates the category that needs to be calculated currently, the calculation result is between 0 and 1, and the sum of the SoftMax values of all categories is 1.

S5中,DS证据理论定义表达式如下:In S5, the definition expression of DS evidence theory is as follows:

DS_result=DS(resultspec,resultmel,resultcwt)DS_result=DS(result spec , result mel , result cwt )

式中:DS_result为DS证据理论合成的结果;resultspec为短时傅里叶特征向量经过多任务分类网络结构后所输出的概率分布;resultmel为梅尔频谱特征向量经过多任务分类网络结构后所输出的概率分布;resultcwt为小波变换特征向量经过多任务分类网络结构后所输出的概率分布,三种时频算法分别通过微调的SoftMax层输出五种概率分布,并最终经过DS证据理论合成输出统一结果。In the formula: DS_result is the result of DS evidence theory synthesis; result spec is the probability distribution output by the short-time Fourier feature vector after passing through the multi-task classification network structure; result mel is the Mel spectral feature vector after passing through the multi-task classification network structure The output probability distribution; result cwt is the probability distribution output by the wavelet transform feature vector after passing through the multi-task classification network structure. The three time-frequency algorithms respectively output five probability distributions through the fine-tuned SoftMax layer, and finally synthesized by DS evidence theory Output a unified result.

通过将DS证据理论输出结果与真值标签进行交叉熵函数计算,即多任务学习判别指标表达式如下:By calculating the cross-entropy function between the output of DS evidence theory and the true value label, the expression of the multi-task learning discriminant index is as follows:

Figure BDA0003995247020000061
Figure BDA0003995247020000061

式中:H(p,q)为交叉熵函数的损失函数值;p为真值标签;q为DS证据理论合成结果;xi是对应概率向量每个概率;n表示焊接类别对应的概率向量,为经过DS证据理论合成的结果。In the formula: H(p, q) is the loss function value of the cross-entropy function; p is the truth label; q is the synthesis result of DS evidence theory; x i is each probability corresponding to the probability vector; n represents the probability vector corresponding to the welding category , is the result synthesized by DS evidence theory.

p真值标签为手动赋予,包括根据one-hot编码原理将赋予不用焊接过程与缺陷学习标签,如表1所示,将焊接过程与缺陷分为五类,分别为焊接起始区(I)、稳定焊接区(II)、过渡区(III)、焊接缺陷区(IV)、焊接终止区(V)。pTrue value labels are assigned manually, including assigning unused welding process and defect learning labels according to the one-hot coding principle. As shown in Table 1, the welding process and defects are divided into five categories, which are welding start area (I) , Stable welding zone (II), transition zone (III), welding defect zone (IV), welding termination zone (V).

表1不同焊接区域与缺陷学习标签Table 1 Different welding areas and defect learning labels

Figure BDA0003995247020000062
Figure BDA0003995247020000062

S6中,利用反向传播算法对主干神经网络和多任务分类网络进行迭代,若评估结果达到最优条件即两次迭代出的交叉熵函数差值小于0.001或达到最大迭代次数1000次,满足其中一个条件则停止训练并保存多任务分类网络权重及各参数,完成对FSW声发射焊接缺陷信号的识别与分类。In S6, the backpropagation algorithm is used to iterate the backbone neural network and the multi-task classification network. If the evaluation result reaches the optimal condition, that is, the difference between the cross-entropy function of the two iterations is less than 0.001 or the maximum number of iterations is 1000, which satisfies the One condition stops the training and saves the weights and parameters of the multi-task classification network to complete the identification and classification of FSW acoustic emission welding defect signals.

反向传播步骤如下:The backpropagation steps are as follows:

针对神经网络一数据集x向量有:For neural network-dataset x vectors are:

x=(x1,x2,x3,…,xk)x=(x 1 , x 2 , x 3 , . . . , x k )

经过激活函数后,计算得到r向量:After the activation function, the r vector is calculated:

r=ReLU(x)r = ReLU(x)

r向量经过神经网络计算后,得到偏差e:After the r vector is calculated by the neural network, the deviation e is obtained:

e=forward(r)e=forward(r)

则对偏差e求每个xi的偏导为偏差e在xi点处的梯度:Then find the partial derivative of each x i for the deviation e as the gradient of the deviation e at the point x i :

Figure BDA0003995247020000071
Figure BDA0003995247020000071

更新网络权重:Update network weights:

Figure BDA0003995247020000072
Figure BDA0003995247020000072

w为神经网络神经元每一层的权重,LR为学习率。w is the weight of each layer of neurons in the neural network, and LR is the learning rate.

本发明首先通过声发射传感器采集FSW焊接过程声发射信号,并将声发射信号使用三种信号时频特征提取方法(短时傅里叶、梅尔频谱、小波变换分析)每种方法各提取32个特征值,然后使用一维卷积主干网络模型,结合SoftMax层设计短时傅里叶分类层、梅尔频谱分类层、小波分类层构建多任务分类网络结构,将三种时频方法提取到的共96个特征值作为主干神经网络模型的输入进行训练,训练后输出的值作为多任务分类网络的输入,并利用反向传播算法对主干神经网络模型和多任务分类网络进行迭代,并通过DS证据理论和交叉熵损失函数建立多任务学习判别指标评估,满足评估条件即可停止训练并保存主干神经网络和多任务分类结构模型权重及参数,完成对FSW声发射焊接缺陷信号识别与分类。The present invention first collects the acoustic emission signal of the FSW welding process through the acoustic emission sensor, and uses three kinds of signal time-frequency feature extraction methods (short-time Fourier, Mel spectrum, wavelet transform analysis) to extract the acoustic emission signal. Each method extracts 32 eigenvalues, and then use the one-dimensional convolutional backbone network model, combined with the SoftMax layer to design the short-time Fourier classification layer, the Mel spectrum classification layer, and the wavelet classification layer to construct a multi-task classification network structure, and extract the three time-frequency methods into A total of 96 eigenvalues are used as the input of the backbone neural network model for training, and the output value after training is used as the input of the multi-task classification network, and the back-propagation algorithm is used to iterate the backbone neural network model and the multi-task classification network, and pass DS evidence theory and cross-entropy loss function establish multi-task learning discriminant index evaluation. If the evaluation conditions are met, the training can be stopped and the backbone neural network and multi-task classification structure model weights and parameters can be saved to complete the identification and classification of FSW acoustic emission welding defect signals.

本发明通过对声信号进行多种算法提取,利用DS证据理论与SoftMax层相结合,解决了多个单任务耗费训练成本的缺点,对缺陷部位进行识别分析,达到了准确定位缺陷位置和缺陷类型的目的,提高了识别效率。The present invention extracts multiple algorithms for the acoustic signal, uses the combination of DS evidence theory and SoftMax layer, solves the shortcomings of multiple single tasks that consume training costs, identifies and analyzes defect parts, and achieves accurate positioning of defect positions and defect types The purpose is to improve the recognition efficiency.

本发明是通过实施例进行描述的,本领域技术人员知悉,在不脱离本发明的精神和范围的情况下,可以对这些特征和实施例进行各种改变或等效替换。另外,在本发明的教导下,可以对这些特征和实施例进行修改以适应具体的情况及材料而不会脱离本发明的精神和范围。因此,本发明不受此处所公开的具体实施例的限制,所有落入本申请的权利要求范围内的实施例都属于本发明的保护范围。The present invention has been described by means of embodiments, and those skilled in the art will appreciate that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, the features and examples may be modified to adapt a particular situation and material to the teachings of the invention without departing from the spirit and scope of the invention. Therefore, the present invention is not limited by the specific embodiments disclosed here, and all embodiments falling within the scope of the claims of the present application belong to the protection scope of the present invention.

Claims (10)

1. A FSW welding monitoring method based on DS evidence theory and neural network is characterized by comprising the following steps:
s1: establishing an acoustic emission acquisition system, and acquiring an acoustic emission signal;
s2: extracting and analyzing the acoustic emission signals, and making a data set;
s3: inputting the data set in the S2, and establishing a backbone neural network model;
s4: inputting the result in the S3 and establishing a multi-task classification network structure;
s5: establishing a multitask learning discrimination index by combining a DS evidence theory;
s6: and iterating the main neural network and the multi-task classification network, stopping training and storing the weight of the multi-task classification network if the evaluation result reaches the optimal condition or the maximum iteration number, and finishing the identification and classification of the FSW acoustic emission welding defect signal.
2. The FSW welding monitoring method based on the DS evidence theory and the neural network as claimed in claim 1, wherein in S1, an acoustic emission sensor of a type R15A and a collection card of a type PCIE-1816H are used, and an acoustic signal is collected at a sampling rate of 100 kHz.
3. The FSW welding monitoring method based on DS evidence theory and neural network as claimed in claim 1, wherein the step of S2 comprises the following steps:
s2-1: and analyzing the filtered data by using a Mel frequency spectrum, wherein the expression is as follows:
mel=f mmel (data)
in the formula: mel is a feature vector after Mel frequency spectrum transformation, f mel Is a Mel frequency curveThe line expression is as follows:
Figure QLYQS_1
in the formula: f is the original frequency.
S2-2: analyzing the filtered data by using short-time Fourier transform, wherein the expression is as follows:
spec=F(data)
in the formula: spec is a feature vector after short-time Fourier transform, and the short-time Fourier transform defines the expression as follows:
Figure QLYQS_2
in the formula: t is a time domain, omega is a frequency domain, i is an imaginary number unit, and e is the base of a natural logarithm;
s2-3: analyzing the filtered data by using wavelet transformation, wherein the expression is as follows:
cwt=cwt(data)
wherein, the wavelet transform definition expression of f (t) is as follows:
Figure QLYQS_3
in the formula: alpha is a scale factor, tau is a time shift factor, psi (t) is a wavelet basis;
s2-4: and respectively extracting 32 characteristic values from S2-1 to S2-3, extracting 96 characteristic values in total, and preparing a data set by taking a Hamming window of 30ms as a unit.
4. The DS evidence theory and neural network-based FSW welding monitoring method as claimed in claim 1, wherein the trunk neural network model in S3 comprises: the first layer is a one-dimensional convolution layer with an output dimension of 2900 x 100; the second layer is a one-dimensional convolution layer with an output dimension of 2800 x 100; the third layer is a pooling layer, and the output dimension is 1400 × 100; the fourth layer is a one-dimensional convolution layer, and the output dimension is 1300 x 160; the fifth layer is a one-dimensional convolution layer with an output dimension of 1200 x 160; the sixth layer is a pooling layer with an output dimension of 600 × 160; the seventh layer is a Dropout layer with an output dimension of 600 × 160; the eighth layer is a fully connected layer with an output dimension of 300 x 160.
5. The FSW welding monitoring method based on DS evidence theory and neural network as claimed in claim 4, wherein the pooling layer of the third layer is a maximum pooling layer, and the pooling layer of the sixth layer is an average pooling layer.
6. The FSW welding monitoring method based on DS evidence theory and neural network as claimed in claim 1, wherein in S4, the multitask classification network structure comprises: the first layer is a fully connected layer with an output dimension of 200 × 160; the second layer is a one-dimensional convolution layer, and the output dimension is 100 x 80; the third layer is a one-dimensional convolution layer, and the output dimension is 50 x 20; the fourth layer is a pooling layer with an output dimension of 25 x 1; the fifth layer is the trimmed SoftMax layer with an output dimension of 5 x 1.
7. The FSW welding monitoring method based on the DS evidence theory and the neural network as claimed in claim 6, wherein the first fully connected layer in S4 is a connection between the main neural network model in S3 and the time-frequency classification layer, and the input dimension is the output dimension of the fully connected layer in S3.
8. The DS evidence theory and neural network-based FSW welding monitoring method as claimed in claim 6, wherein the fifth layer of fine-tuned SoftMax layer in S4 classifies FSW welding processes into five categories: the noise area, the stirring head lower pressing area, the stirring head lifting area, the normal welding area and the defect area, and the expression of the SoftMax classification principle is as follows:
Figure QLYQS_4
in the formula: p is the probability; e is a natural logarithm; v is the output vector;v i Is the value of the ith category in v; k represents a number of outputs or classes of the neural network; v. of j For the value of the jth category in v, i represents the category that needs to be calculated currently, the calculation result is between 0 and 1, and the SoftMax values of all categories sum to 1.
9. The FSW welding monitoring method based on DS evidence theory and neural network as claimed in claim 1, wherein in S5, DS evidence theory defines the following expression:
DS_result=DS(result spec ,result mel ,result cwt )
in the formula: DS _ result is the result of DS evidence theory synthesis; result spec The probability distribution of the short-time Fourier feature vector through neural network identification is obtained; result mel Probability distribution of the Mel frequency spectrum characteristic vector through neural network identification; result cwt Probability distribution of wavelet transformation characteristic vectors identified by a neural network;
the cross entropy function calculation is carried out on DS evidence theory output results and truth labels, namely the multi-task learning discriminant index expression is as follows:
Figure QLYQS_5
in the formula: h (p, q) is a loss function value of the cross entropy function; p is a truth label; q is a DS evidence theory synthesis result; x is the number of i Is the corresponding probability vector per probability; n represents a probability vector corresponding to the welding category.
10. The FSW welding monitoring method based on the DS evidence theory and the neural network as claimed in claim 1, wherein in S6, the evaluation result reaching the optimal condition means that a difference value of cross entropy functions obtained by two iterations in S5 is less than 0.001, the maximum number of iterations is 1000, and training is stopped and the result is saved when one of the conditions is met.
CN202211592513.7A 2022-12-13 FSW welding monitoring method based on DS evidence theory and neural network Active CN115846852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211592513.7A CN115846852B (en) 2022-12-13 FSW welding monitoring method based on DS evidence theory and neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211592513.7A CN115846852B (en) 2022-12-13 FSW welding monitoring method based on DS evidence theory and neural network

Publications (2)

Publication Number Publication Date
CN115846852A true CN115846852A (en) 2023-03-28
CN115846852B CN115846852B (en) 2025-10-17

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118032935A (en) * 2024-04-11 2024-05-14 江南大学 Flip chip defect detection method and system based on empirical resonance decomposition
CN120269130A (en) * 2025-06-10 2025-07-08 北京世佳博科技集团有限公司 Method, system, product and medium for correcting deviation of ultra-long cantilever type friction stir welding track

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106248801A (en) * 2016-09-06 2016-12-21 哈尔滨工业大学 A kind of Rail crack detection method based on many acoustie emission events probability
CN110222705A (en) * 2019-04-23 2019-09-10 华为技术有限公司 A kind of training method and relevant apparatus of network model
WO2020133639A1 (en) * 2018-12-29 2020-07-02 东北大学 Intelligent analysis system for magnetic flux leakage detection data in pipeline
WO2021007812A1 (en) * 2019-07-17 2021-01-21 深圳大学 Deep neural network hyperparameter optimization method, electronic device and storage medium
US10902290B1 (en) * 2020-08-04 2021-01-26 Superb Ai Co., Ltd. Methods for training auto labeling device and performing auto labeling related to object detection while performing automatic verification by using uncertainty scores and devices using the same
CN112684012A (en) * 2020-12-02 2021-04-20 青岛科技大学 Equipment key force-bearing structural part fault diagnosis method based on multi-parameter information fusion
CN112784730A (en) * 2021-01-20 2021-05-11 东南大学 Multi-modal emotion recognition method based on time domain convolutional network
CN113252790A (en) * 2021-06-21 2021-08-13 四川轻化工大学 Magnetic shoe internal defect detection method based on wide convolution and cyclic neural network
CN114330454A (en) * 2022-01-05 2022-04-12 东北农业大学 A swine cough sound recognition method based on fusion features of DS evidence theory

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106248801A (en) * 2016-09-06 2016-12-21 哈尔滨工业大学 A kind of Rail crack detection method based on many acoustie emission events probability
WO2020133639A1 (en) * 2018-12-29 2020-07-02 东北大学 Intelligent analysis system for magnetic flux leakage detection data in pipeline
CN110222705A (en) * 2019-04-23 2019-09-10 华为技术有限公司 A kind of training method and relevant apparatus of network model
WO2021007812A1 (en) * 2019-07-17 2021-01-21 深圳大学 Deep neural network hyperparameter optimization method, electronic device and storage medium
US10902290B1 (en) * 2020-08-04 2021-01-26 Superb Ai Co., Ltd. Methods for training auto labeling device and performing auto labeling related to object detection while performing automatic verification by using uncertainty scores and devices using the same
CN112684012A (en) * 2020-12-02 2021-04-20 青岛科技大学 Equipment key force-bearing structural part fault diagnosis method based on multi-parameter information fusion
CN112784730A (en) * 2021-01-20 2021-05-11 东南大学 Multi-modal emotion recognition method based on time domain convolutional network
CN113252790A (en) * 2021-06-21 2021-08-13 四川轻化工大学 Magnetic shoe internal defect detection method based on wide convolution and cyclic neural network
CN114330454A (en) * 2022-01-05 2022-04-12 东北农业大学 A swine cough sound recognition method based on fusion features of DS evidence theory

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙屹博等: "基于声发射多特征融合的搅拌摩擦焊缺陷监测", 焊 接 学 报, vol. 43, no. 6, 30 June 2022 (2022-06-30), pages 96 - 101 *
李泓洋;万烂军;李长云;陈意伟;: "基于神经网络和证据理论的滚动轴承故障预测方法", 湖南工业大学学报, no. 04, 15 July 2020 (2020-07-15) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118032935A (en) * 2024-04-11 2024-05-14 江南大学 Flip chip defect detection method and system based on empirical resonance decomposition
CN118032935B (en) * 2024-04-11 2024-06-07 江南大学 Flip chip defect detection method and system based on empirical resonance decomposition
CN120269130A (en) * 2025-06-10 2025-07-08 北京世佳博科技集团有限公司 Method, system, product and medium for correcting deviation of ultra-long cantilever type friction stir welding track

Similar Documents

Publication Publication Date Title
Chao et al. Adaptive decision-level fusion strategy for the fault diagnosis of axial piston pumps using multiple channels of vibration signals
Fu et al. Fault diagnosis for rolling bearings based on composite multiscale fine-sorted dispersion entropy and SVM with hybrid mutation SCA-HHO algorithm optimization
CN108344564B (en) A State Recognition and Prediction Method of Spindle Characteristic Test Bench Based on Deep Learning
CN110879254B (en) Steel rail crack acoustic emission signal detection method based on improved least square generation type countermeasure network
CN102915447B (en) Binary tree-based SVM (support vector machine) classification method
CN110132598A (en) Noise Diagnosis Algorithm for Rolling Bearing Faults in Rotating Equipment
CN102841131B (en) Intelligent steel cord conveyer belt defect identification method and intelligent steel cord conveyer belt defect identification system
CN107436597A (en) A kind of chemical process fault detection method based on sparse filtering and logistic regression
CN107328868B (en) A kind of Analysis of Acoustic Emission Signal method of quick identification ceramic coating failure type
CN111476339B (en) Rolling bearing fault feature extraction method, intelligent diagnosis method and system
CN111259532A (en) Fault diagnosis method of aeroengine control system sensor based on 3DCNN-JTFA
CN104156627B (en) Fault diagnosis method and device based on device working condition
CN115375026A (en) A Life Prediction Method of Aeroengine under Multiple Fault Modes
CN115587290A (en) Aero-engine fault diagnosis method based on variational self-coding generation countermeasure network
CN101738998B (en) Industrial process monitoring system and method based on local discriminant analysis
CN117056814B (en) A method for diagnosis of transformer voiceprint vibration fault
CN105626502A (en) Plunger pump health assessment method based on wavelet packet and Laplacian Eigenmap
CN113869721B (en) A method and device for classifying health status of substation equipment
CN113065602A (en) Method and device for diagnosing valve fault of fracturing pump
CN105930629A (en) On-line fault diagnosis method based on massive amounts of operating data
CN111724290A (en) Environmental protection equipment identification method and system based on deep layered fuzzy algorithm
CN117828325A (en) Vibration signal characteristic extraction method, device and storage medium
CN107832729A (en) A kind of bearing rust intelligent diagnosing method
CN113450827A (en) Equipment abnormal condition voiceprint analysis algorithm based on compressed neural network
CN116952586A (en) Axle fatigue crack identification method based on 1D-DCNN

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载