+

CN113219942B - A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network - Google Patents

A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network Download PDF

Info

Publication number
CN113219942B
CN113219942B CN202110441962.0A CN202110441962A CN113219942B CN 113219942 B CN113219942 B CN 113219942B CN 202110441962 A CN202110441962 A CN 202110441962A CN 113219942 B CN113219942 B CN 113219942B
Authority
CN
China
Prior art keywords
blast furnace
data
fault
historical data
layer
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
CN202110441962.0A
Other languages
Chinese (zh)
Other versions
CN113219942A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202110441962.0A priority Critical patent/CN113219942B/en
Publication of CN113219942A publication Critical patent/CN113219942A/en
Application granted granted Critical
Publication of CN113219942B publication Critical patent/CN113219942B/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
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0243Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Automation & Control Theory (AREA)
  • Manufacture Of Iron (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a blast furnace fault diagnosis method based on a weighted joint distribution adaptive neural network. Firstly, performing first-time feature extraction on the historical data and the data to be detected of the blast furnace by using a deep neural network and generating a label of the data to be detected. Based on the label value, the ratio of the to-be-measured data of the blast furnace to the number of samples of the corresponding fault category in the historical data is calculated, and the obtained ratio is used as the corresponding weight of each type of fault of the blast furnace to be combined with a joint distribution adaptation method. And finishing the extraction of the second characteristic by weighted joint distribution adaptation and obtaining a new label value. And finally, carrying out iterative solution on the process of generating labels in the weighted joint distribution adaptation, calculating weights and updating parameters to obtain a fault diagnosis result. The invention not only utilizes the deep neural network to improve the diagnosis precision, but also solves the problem of low accuracy of the traditional fault diagnosis method caused by less fault samples of the blast furnace and larger fluctuation of data distribution along with the change of working conditions through the adaptation of combined distribution and prior distribution.

Description

基于加权联合分布适配神经网络的高炉故障诊断方法A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network

技术领域technical field

本发明属于工业过程监控、建模和仿真领域,特别涉及一种基于加权联合分布适配神经网络的高炉故障诊断方法。The invention belongs to the field of industrial process monitoring, modeling and simulation, in particular to a blast furnace fault diagnosis method based on weighted joint distribution adaptive neural network.

背景技术Background technique

高炉炼铁是铁素物质流转换的核心单元,是钢铁制造过程中能耗最大和生产成本最高的环节。随着高炉炼铁过程中工艺与技术的不断进步,仪表与自动化技术的持续性发展,现代高炉炼铁呈现出规模大、结构复杂、生产单元之间耦合强及投资巨大等特点。高炉炼铁过程中的异常波动(或事故)不及时发现,往往导致产品质量严重下降,或者延误生产计划的正常执行,造成巨大的经济损失,甚至人员伤亡。因此高炉故障诊断对保证高炉实现安全高效生产具有重要意义。Blast furnace ironmaking is the core unit of ferrite flow conversion, and it is the link with the largest energy consumption and the highest production cost in the iron and steel manufacturing process. With the continuous progress of technology and technology in the blast furnace ironmaking process, and the continuous development of instrumentation and automation technology, modern blast furnace ironmaking has the characteristics of large scale, complex structure, strong coupling between production units and huge investment. Abnormal fluctuations (or accidents) in the blast furnace ironmaking process are not discovered in time, which often leads to a serious decline in product quality, or delays the normal execution of production plans, resulting in huge economic losses and even casualties. Therefore, fault diagnosis of blast furnace is of great significance to ensure the safe and efficient production of blast furnace.

在高炉炼铁的实际生产过程中,为了避免出现严重后果,在高炉系统运行出现一定故障预兆时,操作人员会对送风制度、布料制度或炉热制度进行调整,以避免故障的发生。因此,在现有的操作制度与运行情况下,构建高炉的故障诊断系统面临故障样本少、数据不平衡、标记缺失,以及标注样本代价昂贵且费时等问题。此外,由于原料产地不固定,国内钢厂的高炉炼铁进料多数采用“百家矿”的形式。在不同的时间,进料的种类及其配比会发生明显变化;其次,高炉的生产运行过程存在多种工况切换。这些因素都造成了高炉数据随时间变化而发生改变,数据分布波动较大,训练数据与待测数据存在分布差异,影响故障诊断的可靠性与准确率。In the actual production process of blast furnace ironmaking, in order to avoid serious consequences, the operator will adjust the air supply system, distribution system or furnace heat system to avoid failures when there are certain signs of failure in the operation of the blast furnace system. Therefore, under the existing operating system and operating conditions, the fault diagnosis system for blast furnace construction is faced with problems such as few fault samples, unbalanced data, missing labels, and expensive and time-consuming labeling samples. In addition, because the origin of raw materials is not fixed, most domestic steel mills use the form of "Baijia Mine" for blast furnace ironmaking. At different times, the type of feed and its ratio will change significantly; secondly, there are various switching conditions during the production and operation of the blast furnace. These factors all cause the blast furnace data to change with time, the data distribution fluctuates greatly, and there is a distribution difference between the training data and the data to be tested, which affects the reliability and accuracy of fault diagnosis.

目前应用于高炉的故障诊断方法可大致分为两种,即专家系统与基于数据驱动的智能故障诊断方法,专家系统对于相关知识与规则等先验知识有较高要求,而高炉涉及到的物理与化学反应极其复杂,内部实际反应的准确情况难以获知。而且随着分布式控制系统各种智能化仪表以及控制设备在现代工业过程中的广泛使用,大量的过程数据被采集并存储下来。但是这些包含过程运行状态信息的数据在专家系统中往往没有被有效地利用。At present, the fault diagnosis methods used in blast furnaces can be roughly divided into two types, namely expert systems and data-driven intelligent fault diagnosis methods. Expert systems have higher requirements for prior knowledge such as relevant knowledge and rules, while blast furnaces involve physical It is extremely complex with chemical reactions, and it is difficult to know the exact situation of the actual internal reaction. And with the widespread use of various intelligent instruments and control equipment in the distributed control system in modern industrial processes, a large amount of process data is collected and stored. However, these data containing process operating state information are often not used effectively in expert systems.

另一方面,传统的基于数据驱动的智能故障诊断方法的成功应用有两个前提条件:1)大量有标签数据,2)训练与测试数据来自同一数据分布。但在高炉生产过程中,有标签的故障样本极少,也很难获得,而且由于矿石原料的品位与生产工况的不同,数据会发生较大的波动,导致训练数据与测试数据往往不能满足同一分布的条件。因此,现有的异常炉况诊断方法距离理想的实际应用尚有较大差距。On the other hand, there are two prerequisites for the successful application of traditional data-driven intelligent fault diagnosis methods: 1) a large amount of labeled data, and 2) the training and testing data come from the same data distribution. However, in the blast furnace production process, there are very few fault samples with labels, and it is difficult to obtain, and due to the different grades of ore raw materials and production conditions, the data will fluctuate greatly, resulting in the training data and test data often cannot meet the requirements. conditions for the same distribution. Therefore, the existing abnormal furnace condition diagnosis methods are still far from ideal practical applications.

发明内容SUMMARY OF THE INVENTION

为了克服现有技术的不足,本发明的目的在于提供一种基于加权联合分布适配神经网络的高炉故障诊断方法。该方法首先使用神经网络对高炉的历史数据与待测数据进行第一次特征提取并生成待测数据的初始标签。基于此标签值,计算高炉的待测数据与历史数据中相应故障类别的样本数之比,将所得比值作为高炉各类故障相应权重与联合分布适配法结合。通过加权联合分布适配完成第二次特征的提取并得到新的标签值。最后,对加权联合分布适配中生成标签,计算权重及更新参数这一过程进行迭代求解得到故障诊断结果。能够广泛应用于对于故障诊断有高可信度和准确度要求的工业系统。In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a blast furnace fault diagnosis method based on a weighted joint distribution adaptive neural network. The method firstly uses a neural network to perform the first feature extraction on the historical data of the blast furnace and the data to be measured, and generates the initial label of the data to be measured. Based on this tag value, the ratio of the number of samples of the blast furnace to be tested and the corresponding fault category in the historical data is calculated, and the obtained ratio is used as the corresponding weight of various types of blast furnace faults and combined with the joint distribution adaptation method. The second feature extraction is completed through weighted joint distribution adaptation and a new label value is obtained. Finally, the process of generating labels, calculating weights and updating parameters in weighted joint distribution adaptation is iteratively solved to obtain fault diagnosis results. It can be widely used in industrial systems that require high reliability and accuracy for fault diagnosis.

一种基于加权联合分布适配神经网络的高炉故障诊断方法,步骤如下:A blast furnace fault diagnosis method based on weighted joint distribution adaptive neural network, the steps are as follows:

步骤一:利用高炉历史数据与高炉待测数据对深度神经网络进行权值训练,该神经网络中最后一层全连接层所得数据值即为所提取的特征,将高炉历史数据的故障诊断误差与两组数据所提取特征之间距离的总和作为损失函数,在训练达到预设的迭代次数或损失函数低于预设值之后将权值固定;Step 1: Use the blast furnace historical data and blast furnace test data to train the weights of the deep neural network. The data value obtained by the last fully connected layer in the neural network is the extracted feature. The fault diagnosis error of the blast furnace historical data The sum of the distances between the extracted features of the two sets of data is used as the loss function, and the weight is fixed after the training reaches a preset number of iterations or the loss function is lower than the preset value;

步骤二:采用步骤一中固定的神经网络对高炉的历史数据与待测数据进行第一次特征提取并对高炉待测数据生成初始标签值,即在将高炉历史数据与待测数据进行特征迁移的基础上,利用从高炉的历史数据与待测数据中学习到的高炉故障诊断知识,初步形成一个从高炉过程变量到高炉故障类别的非线性映射;Step 2: Use the fixed neural network in Step 1 to perform the first feature extraction on the blast furnace historical data and the data to be measured, and generate an initial label value for the blast furnace to be measured data, that is, to perform feature migration between the historical data of the blast furnace and the data to be measured. On the basis of using the blast furnace fault diagnosis knowledge learned from the blast furnace historical data and the data to be measured, a nonlinear mapping from blast furnace process variables to blast furnace fault categories is initially formed;

步骤三:基于待测数据的标签值,分别计算高炉的待测数据与历史数据中各故障类别所占比例,将高炉的待测数据与历史数据中相应类别的比例相比,将得到的比值作为高炉待测数据的类别先验分布权重与步骤二中所提取的相应高炉历史数据特征相乘,并与步骤二中所提取的高炉待测数据的特征共同组成特征变量矩阵,经过加权以后,高炉历史数据的故障类别分布与高炉待测数据的故障类别分布趋于一致,实现两者的先验类别分布适配;Step 3: Based on the label value of the data to be tested, calculate the proportion of each fault category in the data to be tested and the historical data of the blast furnace respectively, and compare the ratio of the data to be tested of the blast furnace with the proportion of the corresponding category in the historical data to obtain the ratio. The prior distribution weight of the category of the blast furnace data to be tested is multiplied by the corresponding blast furnace historical data features extracted in step 2, and together with the characteristics of the blast furnace to be tested data extracted in step 2 to form a feature variable matrix, after weighting, The fault category distribution of the blast furnace historical data tends to be consistent with the fault category distribution of the blast furnace to-be-measured data, so as to realize the priori category distribution adaptation of the two;

步骤四:引入核方法,对特征变量进行映射,得到新的特征变量,并对核空间内的特征变量进行变换,使得从高炉历史数据与待测数据各自提取出的特征向量在边缘分布与条件分布上的距离之和最小,由此,通过核方法与变换矩阵的方法实现了高炉历史数据与待测数据的联合分布适配;Step 4: Introduce the kernel method, map the feature variables, obtain new feature variables, and transform the feature variables in the kernel space, so that the feature vectors extracted from the historical data of the blast furnace and the data to be tested are distributed in the marginal distribution and conditions. The sum of the distances on the distribution is the smallest. Therefore, the joint distribution adaptation of the blast furnace historical data and the data to be measured is realized by the method of the kernel method and the transformation matrix;

步骤五:最后,将变换之后的特征变量作为分类器的输入,特征变量到分类器之间的连接权重需要以分类正确率为目标函数进行训练,收敛之后将分类器对待测数据的分类结果即高炉故障类别作为新的标签值分配给待测数据;Step 5: Finally, the transformed feature variable is used as the input of the classifier. The connection weight between the feature variable and the classifier needs to be trained with the classification accuracy rate as the objective function. After convergence, the classification result of the classifier to be tested is The blast furnace failure category is assigned as a new tag value to the data to be tested;

步骤六:对步骤三到步骤五进行循环迭代,直到高炉历史数据与待测数据的特征向量在联合分布上的距离与分类正确率均趋于稳定后,将模型参数进行固定,对待测数据进行判别处理,产生故障诊断结果。Step 6: Repeat steps 3 to 5 until the distance between the eigenvectors of the blast furnace historical data and the data to be tested on the joint distribution and the classification accuracy rate are both stable, then fix the model parameters, and perform the analysis on the data to be tested. Discriminate processing and generate fault diagnosis results.

步骤一所述的深度神经网络的结构如下:深度神经网络包含输入层、隐含层以及输出层三部分,输入层是高炉过程变量参数输入层,包括透气性指数、冷风流量、热风流量、顶压、冷风压力、热风压力等表征高炉生产状态的工业过程参数,输出层是高炉故障类别层,包括难行、悬料、管道、崩料、炉热、炉凉等与高炉生产过程相关的高炉故障,隐含层的作用是建立一个从高炉过程变量到高炉故障类别的非线性映射,因而可以从高炉历史故障数据中学习高炉故障诊断知识,建立高炉故障诊断模型。同一层的神经元没有连接,层与层之间的神经元是全连接的,每个连接都有一个权值,表征神经元之间联系程度的强弱。对于不同工业应用领域而言,对深度神经网络隐含层的层数要求是不同的,定义隐藏层大于等于2的神经网络即为深度神经网络,深度神经网络的数学模型为:The structure of the deep neural network described in step 1 is as follows: the deep neural network includes an input layer, a hidden layer and an output layer, and the input layer is the input layer of blast furnace process variable parameters, including air permeability index, cold air flow, hot air flow, top Pressure, cold air pressure, hot air pressure and other industrial process parameters that characterize the production state of the blast furnace, and the output layer is the blast furnace fault category layer, including the blast furnace that is related to the blast furnace production process, such as difficult operation, suspended material, pipeline, collapsed material, furnace heat, and furnace cooling. Fault, the function of the hidden layer is to establish a nonlinear mapping from blast furnace process variables to blast furnace fault categories, so that blast furnace fault diagnosis knowledge can be learned from blast furnace historical fault data, and a blast furnace fault diagnosis model can be established. The neurons in the same layer are not connected, the neurons between layers are fully connected, and each connection has a weight, which represents the strength of the connection between neurons. For different industrial application fields, the requirements for the number of hidden layers of deep neural networks are different. A neural network with a hidden layer greater than or equal to 2 is defined as a deep neural network. The mathematical model of a deep neural network is:

Figure BDA0003035361280000031
Figure BDA0003035361280000031

Figure BDA0003035361280000032
Figure BDA0003035361280000032

其中,

Figure BDA0003035361280000033
为神经网络第i层第j个隐藏层单元的输出,记hi为神经网络第i层,则h0为神经网络输入层,hk+1为神经网络输出层;j的取值根据网络第i层的神经元的个数决定,记第i层的神经元个数为zi,则每层j的取值为1到zi;W(i,j)为第i层第j个神经元对应的权值矩阵;
Figure BDA0003035361280000034
为第i层第j个神经元对应的偏置项,bk+1为输出层单元对应的偏置项;y代表神经网络的输出,M为高炉历史数据的样本总数,记N为高炉待测数据的样本总数,f(·)和g(·)分别是隐层单元和输出单元的激活函数,
Figure BDA0003035361280000036
代表第i个样本在输出层神经元中的最大值,sj代表输出层中第j个神经元的数值,将全连接层的数据作为特征向量进行提取,将高炉历史数据与待测数据提取出特征向量分别记为xs与xt,将高炉历史数据的故障诊断误差与两组数据所提取特征之间距离的总和作为损失函数,即为下式:in,
Figure BDA0003035361280000033
is the output of the jth hidden layer unit of the i-th layer of the neural network, and denote h i as the i-th layer of the neural network, then h 0 is the input layer of the neural network, and h k+1 is the output layer of the neural network; the value of j is based on the network The number of neurons in the i-th layer is determined, and the number of neurons in the i-th layer is denoted as zi , then the value of each layer j is 1 to zi ; W(i,j) is the j-th layer of the i-th layer The weight matrix corresponding to the neuron;
Figure BDA0003035361280000034
is the bias term corresponding to the jth neuron in the i-th layer, b k+1 is the bias term corresponding to the output layer unit; y represents the output of the neural network, M is the total number of samples of the blast furnace historical data, and N is the blast furnace waiting time The total number of samples of the test data, f( ) and g( ) are the activation functions of the hidden layer unit and the output unit, respectively,
Figure BDA0003035361280000036
Represents the maximum value of the i-th sample in the neurons of the output layer, s j represents the value of the j-th neuron in the output layer, extracts the data of the fully connected layer as a feature vector, and extracts the historical data of the blast furnace and the data to be tested. The feature vectors are recorded as x s and x t respectively, and the sum of the fault diagnosis error of the blast furnace historical data and the distance between the features extracted from the two sets of data is used as the loss function, which is the following formula:

Figure BDA0003035361280000035
Figure BDA0003035361280000035

步骤三所述的加权的步骤如下:记高炉故障共C类,c表示高炉故障类型,当c取1至C的实数时,代表相应的具体故障类型,如:管道、下行、难行、悬料等,M为高炉历史数据的样本总数,其中属于c类故障类型的样本数目为MC,相应地,记N为高炉待测数据的样本总数,其中属于c类故障类型的样本数目为NC,历史数据的标签值记为ys,待测数据的标签值记为yt,高炉历史数据与待测数据的分布分别记为ps(·)与pt(·),高炉历史数据与待测数据中各类故障样本所占比值分别为:The steps of weighting described in step 3 are as follows: the blast furnace faults are classified as C, and c represents the type of blast furnace fault. When c is a real number from 1 to C, it represents the corresponding specific fault type, such as: pipeline, down, difficult to travel, suspended. materials, etc., M is the total number of samples of blast furnace historical data, in which the number of samples belonging to type c fault type is M C , correspondingly, N is the total number of samples of blast furnace data to be measured, of which the number of samples belonging to type c fault type is N C , the label value of the historical data is recorded as y s , the label value of the data to be measured is recorded as y t , the distribution of the historical data of the blast furnace and the data to be measured are recorded as ps ( ) and pt ( ) respectively, the historical data of the blast furnace is recorded as ps ( ) and pt ( ) The proportions of various fault samples in the data to be tested are as follows:

Figure BDA0003035361280000041
Figure BDA0003035361280000041

Figure BDA0003035361280000042
Figure BDA0003035361280000042

则高炉历史数据中各类故障数据的相应权重为Then the corresponding weights of various fault data in the blast furnace historical data are:

Figure BDA0003035361280000043
Figure BDA0003035361280000043

将权重与高炉历史数据相乘之后,高炉历史数据的先验分布化为:After multiplying the weight by the historical data of the blast furnace, the prior distribution of the historical data of the blast furnace is:

Figure BDA0003035361280000044
Figure BDA0003035361280000044

由此,高炉历史数据的故障类别分布与高炉待测数据的类别先验分布趋于一致,实现两者的先验类别分布适配。经加权以后,高炉历史数据特征矩阵Xs与待测数据特征矩阵Xt组成特征矩阵X。Therefore, the fault category distribution of the blast furnace historical data tends to be consistent with the category prior distribution of the blast furnace data to be tested, and the prior category distribution adaptation of the two is realized. After weighting, the characteristic matrix X s of the blast furnace historical data and the characteristic matrix X t of the data to be measured form the characteristic matrix X.

步骤四所述的核映射与联合分布适配的步骤如下:选取核函数如高斯核函数,对特征进行非线性映射,即:The steps of adapting the kernel mapping and joint distribution described in step 4 are as follows: selecting a kernel function such as a Gaussian kernel function, and performing nonlinear mapping on the features, namely:

Figure BDA0003035361280000045
Figure BDA0003035361280000045

其中

Figure BDA0003035361280000046
为非线性映射函数,则高炉历史数据与待测数据在核空间内在联合分布上的距离之为:in
Figure BDA0003035361280000046
is a nonlinear mapping function, then the distance between the historical data of the blast furnace and the data to be tested in the joint distribution in the kernel space is:

Figure BDA0003035361280000047
Figure BDA0003035361280000047

引入核矩阵K:Introduce the kernel matrix K:

Figure BDA0003035361280000048
Figure BDA0003035361280000048

其中:in:

Figure BDA0003035361280000049
Figure BDA0003035361280000049

Figure BDA00030353612800000410
Figure BDA00030353612800000410

Figure BDA00030353612800000412
Figure BDA00030353612800000412

Figure BDA00030353612800000411
Figure BDA00030353612800000411

设使所求变换矩阵为W,则高炉历史数据与待测数据联合分布距离为:Assuming that the required transformation matrix is W, the joint distribution distance between the blast furnace historical data and the data to be measured is:

Figure BDA0003035361280000056
Figure BDA0003035361280000056

结合核矩阵,可将上式的最小化问题转化为:Combined with the kernel matrix, the minimization problem of the above formula can be transformed into:

Figure BDA0003035361280000053
Figure BDA0003035361280000053

s.t WTKHKTW=Ist W T KHK T W=I

其中:H=IM+N-1/(M+N)11T Where: H=I M+N -1/(M+N)11 T

Figure BDA0003035361280000054
Figure BDA0003035361280000054

通过特征值分解可得此方程的解即变换矩阵W。The solution of this equation, the transformation matrix W, can be obtained by eigenvalue decomposition.

步骤六所述的迭代更新的步骤如下:对步骤三到步骤五进行迭代求解,即对加权联合分布适配中生成标签,计算权重及更新参数这一过程进行迭代得到故障诊断结果。The steps of iterative update described in step 6 are as follows: iteratively solve steps 3 to 5, that is, iteratively obtain a fault diagnosis result in the process of generating labels in weighted joint distribution adaptation, calculating weights and updating parameters.

本发明的有益效果:Beneficial effects of the present invention:

针对高炉炼铁过程中数据波动大,标签缺失,数据不平衡等特点与困题,构建了基于加权联合分布适配神经网络的高炉故障诊断方法,对高炉数据进行先验分布与联合分布的适配,充分挖掘数据中蕴含的知识,解决了高炉历史数据多,但难以直接训练模型用于待测数据的问题,同时具有高可靠性与高准确率的优势,提高了炼铁过程的自动化、智能化水平。Aiming at the characteristics and problems such as large data fluctuation, missing labels, and data imbalance in the blast furnace ironmaking process, a blast furnace fault diagnosis method based on weighted joint distribution adaptive neural network was constructed. It fully mines the knowledge contained in the data, and solves the problem that there is a lot of historical data in blast furnaces, but it is difficult to directly train the model for the data to be tested. level of intelligence.

附图说明Description of drawings

图1所示为本发明方法的流程框图。FIG. 1 shows a block flow diagram of the method of the present invention.

图2所示为待测数据原始分布经t-sne可视化结果显示。Figure 2 shows the original distribution of the data to be measured by t-sne visualization results.

图3所示为本发明方法对待测数据进行高炉故障分类后经t-sne可视化结果显示。FIG. 3 shows the visualization result of t-sne after the blast furnace fault classification is performed on the data to be measured by the method of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明做进一步的阐述。The present invention will be further described below with reference to the accompanying drawings.

本发明的目的在于提供一种基于加权联合分布适配神经网络的高炉故障诊断方法,流程框图如图1所示,考虑到高炉生产信息的非线性与非高斯性质,利用深度神经网络可以无限逼近于非线性函数的优势进行第一次特征提取,并将高炉历史数据与待测数据之间边缘分布距离通过最大平均距离(MMD)进行度量,将分类正确率与距离之和作为损失函数进行网络训练与权值固定,深度神经网络的全连接层作为神经网络所提取出的特征向量,并将神经网络的分类结果作为其初始标签值,将高炉历史数据与待测数据相应故障类别样本数目之比作为类别先验分布权重进行加权,然后通过引入核函数的方式,将特征向量在核空间中进行映射,对高炉历史数据与待测数据的特征向量在联合分布的距离通过加权联合最大平均距离(WJMMD)进行度量,通过求取变换矩阵使此距离最小,再通过分类器(softmax)获得新的分类结果。最后,对加权联合分布适配中生成标签,计算权重及更新参数这一过程进行迭代求解得到故障诊断结果。本方法有助于实现高炉故障诊断中的知识与决策增强,保证高炉故障诊断的可信度与精确度。The purpose of the present invention is to provide a blast furnace fault diagnosis method based on weighted joint distribution adaptive neural network. The flow chart is shown in Figure 1. Considering the nonlinear and non-Gaussian properties of blast furnace production information, the deep neural network can be used for infinite approximation. The first feature extraction is based on the advantages of the nonlinear function, and the marginal distribution distance between the blast furnace historical data and the data to be tested is measured by the maximum mean distance (MMD), and the sum of the classification accuracy and distance is used as the loss function. The training and weights are fixed. The fully connected layer of the deep neural network is used as the feature vector extracted by the neural network, and the classification result of the neural network is used as its initial label value. The ratio is weighted as a priori distribution weight of the category, and then the feature vector is mapped in the kernel space by introducing a kernel function, and the distance between the historical data of the blast furnace and the feature vector of the data to be tested in the joint distribution is weighted and combined with the maximum average distance. (WJMMD) is used to measure, and the distance is minimized by calculating the transformation matrix, and then a new classification result is obtained through the classifier (softmax). Finally, the process of generating labels, calculating weights and updating parameters in weighted joint distribution adaptation is iteratively solved to obtain fault diagnosis results. The method is helpful to realize knowledge and decision enhancement in blast furnace fault diagnosis, and ensure the reliability and accuracy of blast furnace fault diagnosis.

下面利用某钢铁厂2号高炉采集的高炉故障数据来验证本发明方法的有效性。高炉从上到下分为炉喉、炉身、炉腰、炉腹、炉缸五部分,焦炭、矿石和熔剂在下降的过程中会炉内不同部位经历不同变化,直到到达炉缸底部完全转化为铁水和炉渣。由于高炉体积庞大且炉内发生复杂的化学反应,保证其安全平稳运行是极其重要的。高炉故障主要分为4类:难行(difficult)、悬料(hanging)、管道(channeling)、崩料(collapsing)。在生产过程中采集到的数据包括透气性指数、冷风流量、热风流量、顶压、冷风压力、热风压力等29个参数。在实际生产中,采用三班倒制度来组织工人对高炉炼铁过程进行监控与操作管理,这耗费了很大的人力成本,而且控制方式比较粗放,主要凭借几个参数来进行炉况判断,难以及时诊断出高炉运行过程中存在的问题并及时进行精确控制。本发明方法可以一定程度上解决这个问题,具有实际应用价值。Next, the effectiveness of the method of the present invention is verified by using the blast furnace fault data collected by the No. 2 blast furnace of a steel plant. The blast furnace is divided into five parts: throat, shaft, waist, belly and hearth from top to bottom. Coke, ore and flux will undergo different changes in different parts of the furnace during the descending process until they reach the bottom of the hearth and are completely transformed. For molten iron and slag. Due to the large size of the blast furnace and the complex chemical reactions that take place in the furnace, it is extremely important to ensure its safe and smooth operation. Blast furnace failures are mainly divided into four categories: difficult, hanging, channeling, and collapsing. The data collected in the production process includes 29 parameters such as air permeability index, cold air flow, hot air flow, top pressure, cold air pressure, and hot air pressure. In actual production, the three-shift system is used to organize workers to monitor and operate the blast furnace ironmaking process, which consumes a lot of labor costs, and the control method is relatively extensive, mainly relying on several parameters to judge the furnace condition. It is difficult to diagnose the problems existing in the blast furnace operation process in time and carry out accurate control in time. The method of the invention can solve this problem to a certain extent and has practical application value.

接下来结合该具体过程对本发明的实施步骤进行详细阐述。Next, the implementation steps of the present invention will be described in detail in conjunction with the specific process.

一、构建深度神经网络进行第一次特征提取并产生初始标签值1. Build a deep neural network for the first feature extraction and generate initial label values

(1)利用高炉历史数据与无标签的待测数据构建深度神经网络,结构如图1中神经网络特征提取部分所示,包含输入层、隐含层以及输出层三部分,输入层是高炉过程变量参数输入层,包括透气性指数、冷风流量、热风流量、顶压、冷风压力、热风压力等表征高炉生产状态的工业过程参数,输出层是高炉故障类别层,包括难行、悬料、管道、崩料、炉热、炉凉等与高炉生产过程相关的高炉故障,隐含层的作用是建立一个从高炉过程变量到高炉故障类别的非线性映射,因而可以从高炉历史故障数据中学习高炉故障诊断知识,建立高炉故障诊断模型。同一层的神经元没有连接,层与层之间的神经元是全连接的,每个连接都有一个权值,表征神经元之间联系程度的强弱。(1) Construct a deep neural network by using the blast furnace historical data and unlabeled data to be tested. The structure is shown in the feature extraction part of the neural network in Figure 1. It includes three parts: the input layer, the hidden layer and the output layer. The input layer is the blast furnace process. Variable parameter input layer, including air permeability index, cold air flow, hot air flow, top pressure, cold air pressure, hot air pressure and other industrial process parameters that characterize blast furnace production status, and the output layer is the blast furnace fault category layer, including difficult to travel, suspended material, pipeline The function of the hidden layer is to establish a nonlinear mapping from blast furnace process variables to blast furnace fault categories, so that the blast furnace can be learned from the blast furnace historical fault data. Fault diagnosis knowledge, establish blast furnace fault diagnosis model. The neurons in the same layer are not connected, the neurons between layers are fully connected, and each connection has a weight, which represents the strength of the connection between neurons.

对于不同工业应用领域而言,对深度神经网络隐含层的层数要求是不同的,定义隐藏层大于等于2的神经网络即为深度神经网络,深度神经网络的数学模型为:For different industrial application fields, the requirements for the number of hidden layers of deep neural networks are different. A neural network with a hidden layer greater than or equal to 2 is defined as a deep neural network. The mathematical model of a deep neural network is:

Figure BDA00030353612800000710
Figure BDA00030353612800000710

Figure BDA0003035361280000072
Figure BDA0003035361280000072

其中,

Figure BDA0003035361280000073
为神经网络第i层第j个隐藏层单元的输出,记hi为神经网络第i层,则h0为神经网络输入层,hk+1为神经网络输出层;j的取值根据网络第i层的神经元的个数决定,记第i层的神经元个数为zi,则每层j的取值为1到zi;W(i,j)为第i层第j个神经元对应的权值矩阵;
Figure BDA0003035361280000074
为第i层第j个神经元对应的偏置项,bk+1为输出层单元对应的偏置项;y代表神经网络的输出,M为高炉历史数据的样本总数,记N为高炉待测数据的样本总数,f(·)和g(·)分别是隐层单元和输出单元的激活函数,
Figure BDA0003035361280000079
代表第i个样本在输出层神经元中的最大值,sj代表输出层中第j个神经元的数值,将全连接层的数据作为特征向量进行提取,将高炉历史数据与待测数据提取出特征向量分别记为xs与xt,将高炉历史数据的故障诊断误差与两组数据所提取特征之间距离的总和作为损失函数,即为下式:in,
Figure BDA0003035361280000073
is the output of the jth hidden layer unit of the i-th layer of the neural network, and denote h i as the i-th layer of the neural network, then h 0 is the input layer of the neural network, and h k+1 is the output layer of the neural network; the value of j is based on the network The number of neurons in the i-th layer is determined, and the number of neurons in the i-th layer is denoted as zi , then the value of each layer j is 1 to zi ; W(i,j) is the j-th layer of the i-th layer The weight matrix corresponding to the neuron;
Figure BDA0003035361280000074
is the bias term corresponding to the jth neuron in the i-th layer, b k+1 is the bias term corresponding to the output layer unit; y represents the output of the neural network, M is the total number of samples of the blast furnace historical data, and N is the blast furnace waiting time The total number of samples of the test data, f( ) and g( ) are the activation functions of the hidden layer unit and the output unit, respectively,
Figure BDA0003035361280000079
Represents the maximum value of the i-th sample in the neurons of the output layer, s j represents the value of the j-th neuron in the output layer, extracts the data of the fully connected layer as a feature vector, and extracts the historical data of the blast furnace and the data to be tested. The feature vectors are recorded as x s and x t respectively, and the sum of the fault diagnosis error of the blast furnace historical data and the distance between the features extracted from the two sets of data is used as the loss function, which is the following formula:

Figure BDA0003035361280000075
Figure BDA0003035361280000075

(2)采用(1)中固定的神经网络对高炉的历史数据与待测数据进行第一次特征提取并对高炉待测数据生成初始标签值,即在将高炉历史数据与待测数据进行特征迁移的基础上,利用从高炉的历史数据与待测数据中学习到的高炉故障诊断知识,初步形成一个从高炉过程变量到高炉故障类别的非线性映射。(2) Use the fixed neural network in (1) to perform the first feature extraction on the historical data and the data to be measured of the blast furnace and generate the initial label value for the data to be measured of the blast furnace, that is, the historical data of the blast furnace and the data to be measured are characterized. On the basis of migration, a nonlinear mapping from blast furnace process variables to blast furnace fault categories is initially formed by using blast furnace fault diagnosis knowledge learned from blast furnace historical data and data to be measured.

二、对所提取的特征向量加权完成类别先验分布适配2. Weighting the extracted feature vector to complete the category prior distribution adaptation

对高炉历史数据所提取出的特征向量进行加权的步骤如下:记高炉故障共C类,c表示高炉故障类型,当c取1至C的实数时,代表相应的具体故障类型,如:管道、下行、难行、悬料等,M为高炉历史数据的样本总数,其中属于c类故障类型的样本数目为MC,相应地,记N为高炉待测数据的样本总数,其中属于c类故障类型的样本数目为NC,历史数据的标签值记为ys,待测数据的标签值记为yt,高炉历史数据与待测数据的分布分别记为ps(·)与pt(·),高炉历史数据与待测数据中各类故障样本所占比值分别为:The steps of weighting the eigenvectors extracted from the blast furnace historical data are as follows: record the blast furnace fault as a total of C types, and c represents the blast furnace fault type. When c is a real number from 1 to C, it represents the corresponding specific fault type, such as: pipeline, Downward, difficult, suspended material, etc., M is the total number of samples of blast furnace historical data, and the number of samples belonging to the type c fault type is M C , correspondingly, N is the total number of samples of the blast furnace data to be measured, which belongs to the type c fault. The number of samples of the type is N C , the label value of the historical data is recorded as y s , the label value of the data to be measured is recorded as y t , and the distribution of the historical data and the data to be measured are recorded as p s ( ) and p t ( ), the proportions of various fault samples in the blast furnace historical data and the data to be tested are:

Figure BDA0003035361280000076
Figure BDA0003035361280000076

Figure BDA0003035361280000077
Figure BDA0003035361280000077

则高炉历史数据中各类故障数据的相应权重为Then the corresponding weights of various fault data in the blast furnace historical data are:

Figure BDA0003035361280000078
Figure BDA0003035361280000078

将权重与高炉历史数据相乘之后,高炉历史数据的先验分布化为:After multiplying the weight by the historical data of the blast furnace, the prior distribution of the historical data of the blast furnace is:

Figure BDA0003035361280000081
Figure BDA0003035361280000081

由此,高炉历史数据的故障类别分布与高炉待测数据的类别先验分布趋于一致,实现两者的先验类别分布适配。经加权以后,高炉历史数据特征矩阵Xs与待测数据特征矩阵Xt组成特征矩阵X。Therefore, the fault category distribution of the blast furnace historical data tends to be consistent with the category prior distribution of the blast furnace data to be tested, and the prior category distribution adaptation of the two is realized. After weighting, the characteristic matrix X s of the blast furnace historical data and the characteristic matrix X t of the data to be measured form the characteristic matrix X.

三、对特征向量进行核映射与联合分布适配3. Kernel mapping and joint distribution adaptation of feature vectors

(1)选取核函数如高斯核函数,对特征进行非线性映射,即:(1) Select a kernel function such as a Gaussian kernel function to perform nonlinear mapping on the features, that is:

Figure BDA0003035361280000082
Figure BDA0003035361280000082

其中

Figure BDA0003035361280000083
为非线性映射函数,则高炉历史数据与待测数据在核空间内在联合分布上的距为:in
Figure BDA0003035361280000083
is a nonlinear mapping function, then the distance between the blast furnace historical data and the data to be tested in the joint distribution in the kernel space is:

Figure BDA00030353612800000813
Figure BDA00030353612800000813

引入核矩阵K:Introduce the kernel matrix K:

Figure BDA0003035361280000086
Figure BDA0003035361280000086

其中:in:

Figure BDA0003035361280000087
Figure BDA0003035361280000087

Figure BDA0003035361280000088
Figure BDA0003035361280000088

Figure BDA0003035361280000089
Figure BDA0003035361280000089

Figure BDA00030353612800000810
Figure BDA00030353612800000810

设使所求变换矩阵为W,则高炉历史数据与待测数据联合分布距离为:Assuming that the required transformation matrix is W, the joint distribution distance between the blast furnace historical data and the data to be measured is:

Figure BDA00030353612800000814
Figure BDA00030353612800000814

结合核矩阵,可将上式的最小化问题转化为:Combined with the kernel matrix, the minimization problem of the above formula can be transformed into:

Figure BDA0003035361280000091
Figure BDA0003035361280000091

s.t WTKHKTW=Ist W T KHK T W=I

其中:H=IM+N-1/(M+N)11T Where: H=I M+N -1/(M+N)11 T

Figure BDA0003035361280000092
Figure BDA0003035361280000092

通过特征值分解可得此方程的解即变换矩阵W。The solution of this equation, the transformation matrix W, can be obtained by eigenvalue decomposition.

(2)将变换之后的特征变量作为分类器的输入,特征变量到分类器之间的连接权重需要以分类正确率为目标函数进行训练,收敛之后将分类器对待测数据的分类结果即高炉故障类别作为新的标签值分配给待测数据。(2) The transformed feature variable is used as the input of the classifier. The connection weight between the feature variable and the classifier needs to be trained with the classification accuracy rate as the objective function. After convergence, the classification result of the classifier to be tested is the blast furnace fault. The categories are assigned to the data under test as new label values.

四、进行迭代求解Fourth, iterative solution

对步骤二与三进行循环迭代,即对加权联合分布适配中生成标签,计算权重及更新参数这一过程进行迭代得到故障诊断结果。Loop iterations are performed on steps 2 and 3, that is, the process of generating labels in weighted joint distribution adaptation, calculating weights and updating parameters is iteratively obtained to obtain fault diagnosis results.

五、代入工业实际数据进行验证5. Substitute actual industrial data for verification

我们取某炼铁厂容积为2650m3的2号高炉在2020年10月的生产数据作为高炉历史数据即源域数据,将12月份的高炉生产数据作为待测数据即目标域数据,其中包含'富氧率'、'透气性指数'、'CO'、'H2'、'CO2'、'标准风速'、'富氧流量'、'冷风流量'、'鼓风动能'、'炉腹煤气量'、'炉腹煤气指数'、'理论燃烧温度'、'顶压'、'富氧压力'、'冷风压力'、'全压差'、'热风压力'、'实际风速'、'冷风温度'、'热风温度'、'顶温东北'、'顶温西南'、'顶温西北'、'顶温东南'、'顶温下降管'、'阻力系数'、'鼓风湿度'、'本小时实际喷煤量'、'上小时实际喷煤量'共计29个参数,采样率一致。将训练所得到的模型在待测数据即12月份的高炉生产数据进行有效性验证。We take the production data of the No. 2 blast furnace with a volume of 2650m3 in an ironmaking plant in October 2020 as the historical data of the blast furnace, that is, the source domain data, and the blast furnace production data in December as the data to be measured, that is, the target domain data, which includes ' Oxygen enrichment rate', 'air permeability index', 'CO', 'H2', 'CO2', 'standard wind speed', 'oxygen enrichment flow', 'cold air flow', 'blast kinetic energy', 'both gas volume'','both gas index', 'theoretical combustion temperature', 'top pressure', 'oxygen-rich pressure', 'cold air pressure', 'total differential pressure', 'hot air pressure', 'actual wind speed', 'cold air temperature'','hot air temperature', 'top temperature northeast', 'top temperature southwest', 'top temperature northwest', 'top temperature southeast', 'top temperature downpipe', 'resistance coefficient', 'blast humidity', ' There are a total of 29 parameters in this hour's actual coal injection volume' and 'last hour's actual coal injection volume', with the same sampling rate. The validity of the model obtained by training is verified on the data to be tested, that is, the blast furnace production data in December.

图2、3所示分别为12月份高炉待测数据的原始分布以及本发明方法对高炉待测数据进行高炉故障分类后经t-sne可视化结果显示。从故障诊断结果可以看出模型效果很好。分类效果明显,能够准确地对高炉故障样本进行分类,因此可以运用于实际工业生产中。Figures 2 and 3 respectively show the original distribution of the blast furnace data to be measured in December and the visualization results displayed by t-sne after the blast furnace to be measured data is classified into blast furnace faults by the method of the present invention. From the fault diagnosis results, it can be seen that the model works well. The classification effect is obvious, and it can accurately classify blast furnace failure samples, so it can be used in actual industrial production.

Claims (5)

1.一种基于加权联合分布适配神经网络的高炉故障诊断方法,其特征在于,步骤如下:1. a blast furnace fault diagnosis method based on weighted joint distribution adaptive neural network, is characterized in that, step is as follows: 步骤一:利用高炉历史数据与高炉待测数据对深度神经网络进行权值训练,该深度神经网络中最后一层全连接层所得数据值即为所提取的特征,将高炉历史数据的故障诊断误差与所提取的特征之间距离的总和作为损失函数,在训练达到预设的迭代次数或损失函数低于预设值之后将权值固定;Step 1: Use the blast furnace historical data and blast furnace test data to train the weights of the deep neural network. The data value obtained by the last fully connected layer in the deep neural network is the extracted feature, and the fault diagnosis error of the blast furnace historical data is calculated. The sum of the distances from the extracted features is used as the loss function, and the weights are fixed after the training reaches a preset number of iterations or the loss function is lower than the preset value; 步骤二:采用步骤一中固定的深度神经网络对高炉的历史数据与待测数据进行第一次特征提取并对高炉待测数据生成标签值,即在将高炉历史数据与待测数据进行特征迁移的基础上,利用从高炉的历史数据与待测数据中学习到的高炉故障诊断知识,初步形成一个从高炉过程变量到高炉故障类别的非线性映射;Step 2: Use the fixed deep neural network in step 1 to perform the first feature extraction on the historical data of the blast furnace and the data to be measured, and generate a label value for the data to be measured in the blast furnace, that is, the historical data and the data to be measured are transferred. On the basis of using the blast furnace fault diagnosis knowledge learned from the blast furnace historical data and the data to be measured, a nonlinear mapping from blast furnace process variables to blast furnace fault categories is initially formed; 步骤三:基于待测数据的标签值,分别计算高炉的待测数据与历史数据中各故障类别所占比例,将高炉的待测数据与历史数据中相应类别的比例相比,将得到的比值作为高炉待测数据的类别先验分布权重与步骤二中所提取的相应高炉历史数据特征相乘,并与步骤二中所提取的高炉待测数据的特征共同组成特征变量矩阵,经过加权以后,高炉历史数据的故障类别分布与高炉待测数据的故障类别分布趋于一致,实现两者的先验类别分布适配;Step 3: Based on the label value of the data to be tested, calculate the proportion of each fault category in the data to be tested and the historical data of the blast furnace respectively, and compare the ratio of the data to be tested of the blast furnace with the proportion of the corresponding category in the historical data to obtain the ratio. The prior distribution weight of the category of the blast furnace data to be tested is multiplied by the corresponding blast furnace historical data features extracted in step 2, and together with the characteristics of the blast furnace to be tested data extracted in step 2 to form a feature variable matrix, after weighting, The fault category distribution of the blast furnace historical data tends to be consistent with the fault category distribution of the blast furnace data to be tested, and the priori category distribution adaptation of the two is realized; 步骤四:引入核方法,对特征变量进行映射,得到新的特征变量,并对核空间内的特征变量进行变换,使得从高炉历史数据与待测数据各自提取出的特征向量在边缘分布与条件分布上的距离之和最小,由此,通过核方法与变换矩阵的方法实现了高炉历史数据与待测数据的联合分布适配;Step 4: Introduce the kernel method, map the feature variables, obtain new feature variables, and transform the feature variables in the kernel space, so that the feature vectors extracted from the historical data of the blast furnace and the data to be tested are distributed in the marginal distribution and conditions. The sum of the distances on the distribution is the smallest. Therefore, the joint distribution adaptation of the blast furnace historical data and the data to be measured is realized by the method of the kernel method and the transformation matrix; 步骤五:将变换之后的特征变量作为分类器的输入,特征变量到分类器之间的连接权重以分类正确率为目标函数进行训练,收敛之后将分类器对待测数据的分类结果即高炉故障类别作为新的标签值分配给待测数据;Step 5: The transformed feature variable is used as the input of the classifier, and the connection weight between the feature variable and the classifier is trained with the classification accuracy rate as the objective function. After convergence, the classification result of the classifier to be tested is the blast furnace fault category. As a new label value assigned to the data to be tested; 步骤六:对步骤三到步骤五进行循环迭代,直到高炉历史数据与待测数据的特征向量在联合分布上的距离与分类正确率均趋于稳定后,将模型参数进行固定,对待测数据进行判别处理,产生故障诊断结果。Step 6: Repeat steps 3 to 5 until the distance between the eigenvectors of the blast furnace historical data and the data to be tested on the joint distribution and the classification accuracy rate are both stable, then fix the model parameters, and perform the analysis on the data to be tested. Discriminate processing and generate fault diagnosis results. 2.根据权利要求1所述的方法,其特征在于,步骤一所述的深度神经网络的结构如下:深度神经网络包含输入层、隐含层以及输出层三部分,输入层是高炉过程变量参数输入层,包括透气性指数、冷风流量、热风流量、顶压、冷风压力、热风压力表征高炉生产状态的工业过程参数,输出层是高炉故障类别层,包括难行、悬料、管道、崩料、炉热、炉凉与高炉生产过程相关的高炉故障,隐含层用于建立一个从高炉过程变量到高炉故障类别的非线性映射,从高炉历史故障数据中学习高炉故障诊断知识,建立高炉故障诊断模型;同一层的神经元没有连接,层与层之间的神经元全连接,每个连接都有一个权值,表征神经元之间联系程度的强弱;定义隐藏层大于等于2的神经网络即为深度神经网络,深度神经网络的数学模型为:2. method according to claim 1 is characterized in that, the structure of the described deep neural network of step 1 is as follows: deep neural network comprises three parts of input layer, hidden layer and output layer, and input layer is blast furnace process variable parameter The input layer includes air permeability index, cold air flow rate, hot air flow rate, top pressure, cold air pressure, and hot air pressure. The industrial process parameters that characterize the blast furnace production status, and the output layer is the blast furnace fault category layer, including difficult-to-run, suspended material, pipeline, and collapsed material. , furnace heat, furnace cooling and blast furnace faults related to blast furnace production process, the hidden layer is used to establish a non-linear mapping from blast furnace process variables to blast furnace fault categories, learn blast furnace fault diagnosis knowledge from blast furnace historical fault data, and establish blast furnace faults Diagnosis model; neurons in the same layer are not connected, neurons between layers are fully connected, and each connection has a weight to represent the strength of the connection between neurons; define neurons with a hidden layer greater than or equal to 2 The network is a deep neural network, and the mathematical model of a deep neural network is:
Figure FDA0003679604860000021
Figure FDA0003679604860000021
Figure FDA0003679604860000022
Figure FDA0003679604860000022
其中,
Figure FDA0003679604860000023
为神经网络第i层第j个隐藏层单元的输出,记hi为神经网络第i层,则h0为神经网络输入层,hk+1为神经网络输出层;j的取值根据网络第i层的神经元的个数决定,记第i层的神经元个数为zi,则每层j的取值为1到zi;W(i,j)为第i层第j个神经元对应的权值矩阵;
Figure FDA0003679604860000024
为第i层第j个神经元对应的偏置项,bk+1为输出层单元对应的偏置项;y代表神经网络的输出,M为高炉历史数据的样本总数,记N为高炉待测数据的样本总数,f(·)和g(·)分别是隐层单元和输出单元的激活函数,
Figure FDA0003679604860000025
代表第i个样本在输出层神经元中的最大值,sj代表输出层中第j个神经元的数值,将全连接层的数据作为特征向量进行提取,将高炉历史数据与待测数据提取出特征向量分别记为xs与xt,将高炉历史数据的故障诊断误差与两组数据所提取特征之间距离的总和作为损失函数,即为下式(3):
in,
Figure FDA0003679604860000023
is the output of the jth hidden layer unit of the i-th layer of the neural network, and denote h i as the i-th layer of the neural network, then h 0 is the input layer of the neural network, and h k+1 is the output layer of the neural network; the value of j is based on the network The number of neurons in the i-th layer is determined, and the number of neurons in the i-th layer is denoted as zi , then the value of each layer j is 1 to zi ; W(i,j) is the j-th layer of the i-th layer The weight matrix corresponding to the neuron;
Figure FDA0003679604860000024
is the bias term corresponding to the jth neuron in the i-th layer, b k+1 is the bias term corresponding to the output layer unit; y represents the output of the neural network, M is the total number of samples of the blast furnace historical data, and N is the blast furnace waiting time The total number of samples of the test data, f( ) and g( ) are the activation functions of the hidden layer unit and the output unit, respectively,
Figure FDA0003679604860000025
Represents the maximum value of the i-th sample in the neurons of the output layer, s j represents the value of the j-th neuron in the output layer, extracts the data of the fully connected layer as a feature vector, and extracts the historical data of the blast furnace and the data to be tested. The feature vectors are recorded as x s and x t respectively, and the sum of the fault diagnosis error of the blast furnace historical data and the distance between the features extracted from the two sets of data is used as the loss function, which is the following formula (3):
Figure FDA0003679604860000026
Figure FDA0003679604860000026
3.根据权利要求1所述的方法,其特征在于,步骤三所述的加权的步骤如下:记高炉故障共C类,c表示高炉故障类型,当c取1至C的实数时,代表相应的具体故障类型,包括管道、下行、难行、悬料,M为高炉历史数据的样本总数,其中属于c类故障类型的样本数目为MC,相应地,记N为高炉待测数据的样本总数,其中属于c类故障类型的样本数目为NC,历史数据的标签值记为ys,待测数据的标签值记为yt,高炉历史数据与待测数据的分布分别记为ps(·)与pt(·),高炉历史数据与待测数据中各类故障样本所占比值分别为:3. method according to claim 1, is characterized in that, the step of weighting described in step 3 is as follows: record blast furnace fault altogether C type, c represents blast furnace fault type, when c takes the real number of 1 to C, represents corresponding The specific fault types, including pipeline, downward, difficult to travel, suspended material, M is the total number of samples of blast furnace historical data, and the number of samples belonging to the c-type fault type is M C , correspondingly, N is the sample of blast furnace data to be measured. The total number, in which the number of samples belonging to the c-type fault type is N C , the label value of the historical data is recorded as y s , the label value of the data to be measured is recorded as y t , and the distribution of blast furnace historical data and data to be measured is recorded as p s respectively (·) and p t (·), the proportions of various fault samples in the blast furnace historical data and the data to be measured are:
Figure FDA0003679604860000027
Figure FDA0003679604860000027
Figure FDA0003679604860000028
Figure FDA0003679604860000028
则高炉历史数据中各类故障数据的相应权重为Then the corresponding weights of various fault data in the blast furnace historical data are:
Figure FDA0003679604860000029
Figure FDA0003679604860000029
将权重与高炉历史数据相乘之后,高炉历史数据的先验分布化为:After multiplying the weight by the historical data of the blast furnace, the prior distribution of the historical data of the blast furnace is:
Figure FDA0003679604860000031
Figure FDA0003679604860000031
由此,高炉历史数据的故障类别分布与高炉待测数据的类别先验分布趋于一致,实现两者的先验类别分布适配,经加权以后,高炉历史数据特征矩阵Xs与待测数据特征矩阵Xt组成特征矩阵X。Therefore, the fault category distribution of the blast furnace historical data and the category prior distribution of the blast furnace data to be tested tend to be consistent, and the prior category distribution of the two can be adapted. After weighting, the blast furnace historical data feature matrix X s and the test data The characteristic matrix X t constitutes the characteristic matrix X.
4.根据权利要求1所述的方法,其特征在于,步骤四所述的核方法与联合分布适配的步骤如下:选取核函数如高斯核函数,对特征进行非线性映射,即:4. method according to claim 1, is characterized in that, the step of kernel method described in step 4 and joint distribution adaptation is as follows: choose kernel function such as Gaussian kernel function, carry out nonlinear mapping to feature, namely:
Figure FDA0003679604860000032
Figure FDA0003679604860000032
其中
Figure FDA0003679604860000033
为非线性映射函数,则在核空间内,高炉历史数据与待测数据的联合分布的距离为:
in
Figure FDA0003679604860000033
is a nonlinear mapping function, then in the kernel space, the distance from the joint distribution of the blast furnace historical data and the data to be measured is:
Figure FDA0003679604860000034
Figure FDA0003679604860000034
引入核矩阵K:Introduce the kernel matrix K:
Figure FDA0003679604860000035
Figure FDA0003679604860000035
其中:in:
Figure FDA0003679604860000036
Figure FDA0003679604860000036
Figure FDA0003679604860000037
Figure FDA0003679604860000037
Figure FDA0003679604860000038
Figure FDA0003679604860000038
Figure FDA0003679604860000039
Figure FDA0003679604860000039
设使所求变换矩阵为W,则高炉历史数据与待测数据联合分布距离为:Assuming that the required transformation matrix is W, the joint distribution distance between the blast furnace historical data and the data to be measured is:
Figure FDA00036796048600000310
Figure FDA00036796048600000310
结合核矩阵,可将式(14)的最小化问题转化为:Combined with the kernel matrix, the minimization problem of equation (14) can be transformed into:
Figure FDA00036796048600000311
Figure FDA00036796048600000311
s.t WTKHKTW=I (15)st W T KHK T W=I (15) 其中:H=IM+N-1/(M+N)11T (16)Where: H=I M+N -1/(M+N)11 T (16)
Figure FDA0003679604860000041
Figure FDA0003679604860000041
通过特征值分解可解得所求特征空间中的变换矩阵。The transformation matrix in the eigenspace can be solved by eigenvalue decomposition.
5.根据权利要求1所述的方法,其特征在于,步骤六所述的循环迭代的步骤如下:对步骤三到步骤五进行迭代求解,即对加权联合分布适配中生成标签,计算权重及更新参数这一过程进行迭代得到故障诊断结果。5. method according to claim 1, is characterized in that, the step of loop iteration described in step 6 is as follows: carry out iterative solution to step 3 to step 5, namely generate label in weighted joint distribution adaptation, calculate weight and The process of updating parameters is iterative to obtain fault diagnosis results.
CN202110441962.0A 2021-04-23 2021-04-23 A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network Active CN113219942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110441962.0A CN113219942B (en) 2021-04-23 2021-04-23 A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110441962.0A CN113219942B (en) 2021-04-23 2021-04-23 A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network

Publications (2)

Publication Number Publication Date
CN113219942A CN113219942A (en) 2021-08-06
CN113219942B true CN113219942B (en) 2022-10-25

Family

ID=77088950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110441962.0A Active CN113219942B (en) 2021-04-23 2021-04-23 A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network

Country Status (1)

Country Link
CN (1) CN113219942B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114881216B (en) * 2022-05-25 2025-08-26 携程旅游信息技术(上海)有限公司 Model training method, product click-through rate prediction method, system, equipment and medium
CN115496124B (en) * 2022-08-10 2025-07-08 浙江大学 Blast furnace fault diagnosis method based on minimum maximum entropy cooperative training
CN116203929B (en) * 2023-03-01 2024-01-05 中国矿业大学 An industrial process fault diagnosis method oriented to long-tail distributed data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108445861A (en) * 2018-02-05 2018-08-24 华南理工大学 A kind of goat fault detection method and system based on convolutional neural networks algorithm
CN108921230A (en) * 2018-07-25 2018-11-30 浙江浙能嘉华发电有限公司 Method for diagnosing faults based on class mean value core pivot element analysis and BP neural network
CN109325417A (en) * 2018-08-23 2019-02-12 东北大学 A fault diagnosis method for industrial process based on deep neural network
CN110222830A (en) * 2019-06-13 2019-09-10 中国人民解放军空军工程大学 A kind of depth feedforward network method for diagnosing faults based on self-adapted genetic algorithm optimization
KR102027389B1 (en) * 2019-03-20 2019-10-01 (주)브이엠에스 Fault diagnosis system of mechanical devices using autoencoder and deep-learning
CN111381584A (en) * 2020-03-25 2020-07-07 北京航空航天大学 An abnormal fault detection method of aircraft cockpit based on two-level gated recurrent network associative memory
CN111651931A (en) * 2020-05-19 2020-09-11 浙江大学 Derivation method of blast furnace fault diagnosis rule based on deep neural network
CN111898095A (en) * 2020-07-10 2020-11-06 佛山科学技术学院 Deep transfer learning intelligent fault diagnosis method, device, storage medium and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108445861A (en) * 2018-02-05 2018-08-24 华南理工大学 A kind of goat fault detection method and system based on convolutional neural networks algorithm
CN108921230A (en) * 2018-07-25 2018-11-30 浙江浙能嘉华发电有限公司 Method for diagnosing faults based on class mean value core pivot element analysis and BP neural network
CN109325417A (en) * 2018-08-23 2019-02-12 东北大学 A fault diagnosis method for industrial process based on deep neural network
KR102027389B1 (en) * 2019-03-20 2019-10-01 (주)브이엠에스 Fault diagnosis system of mechanical devices using autoencoder and deep-learning
CN110222830A (en) * 2019-06-13 2019-09-10 中国人民解放军空军工程大学 A kind of depth feedforward network method for diagnosing faults based on self-adapted genetic algorithm optimization
CN111381584A (en) * 2020-03-25 2020-07-07 北京航空航天大学 An abnormal fault detection method of aircraft cockpit based on two-level gated recurrent network associative memory
CN111651931A (en) * 2020-05-19 2020-09-11 浙江大学 Derivation method of blast furnace fault diagnosis rule based on deep neural network
CN111898095A (en) * 2020-07-10 2020-11-06 佛山科学技术学院 Deep transfer learning intelligent fault diagnosis method, device, storage medium and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于迁移学习与深度卷积的动车组滚动轴承故障诊断方法与研究;王碧瑶;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20210315(第3期);C033-331 *

Also Published As

Publication number Publication date
CN113219942A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN113219942B (en) A blast furnace fault diagnosis method based on weighted joint distributed adaptive neural network
CN104651559B (en) Blast furnace liquid iron quality online forecasting system and method based on multivariable online sequential extreme learning machine
CN110066895B (en) An interval prediction method for blast furnace molten iron quality based on Stacking
CN107299170B (en) A robust soft measurement method for blast furnace molten iron quality
CN105177199B (en) Blast furnace gas generation amount soft measurement method
CN105608492B (en) A kind of polynary molten steel quality flexible measurement method based on robust random weight neutral net
CN107526927B (en) An online robust soft measurement method for blast furnace molten iron quality
Xie et al. Robust stochastic configuration network multi-output modeling of molten iron quality in blast furnace ironmaking
CN105886680B (en) A kind of blast furnace ironmaking process molten iron silicon content dynamic soft measuring system and method
CN106249724A (en) A kind of blast furnace polynary molten steel quality forecast Control Algorithm and system
CN104793606B (en) Industrial method for diagnosing faults based on improved KPCA and HMM
CN109934421B (en) A method for predicting and compensating blast furnace molten iron silicon content for fluctuating furnace conditions
CN104899425A (en) Variable selection and forecast method of silicon content in molten iron of blast furnace
CN109359723A (en) Prediction method of manganese content at the end point of converter based on improved regularized extreme learning machine
CN110097929A (en) A kind of blast furnace molten iron silicon content on-line prediction method
CN105821170A (en) Soft measuring system and method for quality indexes of multielement molten iron of blast furnace
CN106843172A (en) Complex industrial process On-line quality prediction method based on JY KPLS
CN115496124B (en) Blast furnace fault diagnosis method based on minimum maximum entropy cooperative training
US11987855B2 (en) Method and system for determining converter tapping quantity
CN110400007A (en) Prediction method of molten iron quality based on improved gated recurrent neural network
CN107463093A (en) A kind of blast-melted quality monitoring method based on KPLS robust reconstructed errors
CN104597755A (en) Hydrometallurgical gold cyanide leaching optimization method
CN114036827B (en) Multi-target carbon emission reduction method for blast furnace ironmaking based on decomposition
CN117055509B (en) Method for predicting short-process steel process parameters based on artificial intelligence
Ji et al. Application of the improved the ELM algorithm for prediction of blast furnace gas utilization rate

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