CN110378045A - A kind of pre- maintaining method of guide precision based on deep learning - Google Patents
A kind of pre- maintaining method of guide precision based on deep learning Download PDFInfo
- Publication number
- CN110378045A CN110378045A CN201910672121.3A CN201910672121A CN110378045A CN 110378045 A CN110378045 A CN 110378045A CN 201910672121 A CN201910672121 A CN 201910672121A CN 110378045 A CN110378045 A CN 110378045A
- Authority
- CN
- China
- Prior art keywords
- guide rail
- deep learning
- maintenance
- data signal
- wear
- 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.)
- Pending
Links
- 238000004364 calculation method Methods 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000013135 deep learning Methods 0.000 claims abstract description 23
- 238000012423 maintenance Methods 0.000 claims abstract description 21
- 238000007781 pre-processing Methods 0.000 claims abstract description 7
- 238000012549 training Methods 0.000 claims description 23
- 239000013598 vector Substances 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 13
- 230000006866 deterioration Effects 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 9
- 238000000513 principal component analysis Methods 0.000 claims description 6
- 230000000007 visual effect Effects 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 5
- 230000015556 catabolic process Effects 0.000 claims description 3
- 238000006731 degradation reaction Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 2
- 230000003449 preventive effect Effects 0.000 claims 1
- 238000013528 artificial neural network Methods 0.000 abstract description 6
- 230000008901 benefit Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 abstract description 4
- 238000004092 self-diagnosis Methods 0.000 abstract description 4
- 239000000284 extract Substances 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000005461 lubrication Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000001590 oxidative effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- Image Analysis (AREA)
Abstract
本发明实施例公开了一种基于深度学习的导轨精度预维护方法,包括如下步骤:步骤100、通过传感器采集导轨正常运行状态下的数据信号,并对数据信号进行预处理;步骤200、用深度学习的深度置信网络对预处理后数据信号进行预训练,并建立计算模型;步骤300、深度学习算法对导轨运行的状态进行在线实时判断,完成导轨运行状态的曲线图;步骤400、根据导轨运行状态的曲线图对导轨磨损进行提前预维护。本发明运用了深度学习算法,实现了自主学习,自主提取特征,通过神经网络进行拟合,实时掌握运行过程中的磨损情况,具有自适应好,鲁棒性较高的优势,能够自适应、自我学习、自我诊断,具有较高的应用价值。
The embodiment of the present invention discloses a method for pre-maintenance of guide rail accuracy based on deep learning, which includes the following steps: Step 100, collecting data signals under the normal operating state of the guide rail through sensors, and preprocessing the data signals; step 200, using depth The learned deep belief network pre-trains the preprocessed data signal and establishes a calculation model; step 300, the deep learning algorithm performs online real-time judgment on the state of the guide rail operation, and completes the curve diagram of the guide rail operation state; step 400, according to the guide rail operation Status graphs for predictive maintenance of guideway wear. The present invention uses a deep learning algorithm, realizes autonomous learning, extracts features independently, performs fitting through a neural network, and grasps the wear and tear during operation in real time. It has the advantages of good self-adaptation and high robustness, and can adapt, Self-learning and self-diagnosis have high application value.
Description
技术领域technical field
本发明实施例涉及机床技术领域,具体涉及一种基于深度学习的导轨精度预维护方法。The embodiment of the present invention relates to the technical field of machine tools, and in particular to a method for pre-maintenance of guide rail accuracy based on deep learning.
背景技术Background technique
我国制造业快速发展,机床作为制造领域的主要设备发挥着巨大的作用,导轨做为机床的重要部分,对加工零件的精度影响重大,现有的技术对于导轨表面主要集中在于仿用真模拟、激光扫描图像等对导轨表面的磨损进行识别。虽然到达一定的效果,但是机床在切削过程中的环境是实时变化的,在面对导轨杂粒磨损、氧化磨损、润滑不良等现象方面,及时的保养维护和及时的修复,可以有效避免导轨精磨损严重、寿命降低等对精度造成影响。With the rapid development of my country's manufacturing industry, machine tools play a huge role as the main equipment in the manufacturing field. Guide rails, as an important part of machine tools, have a great impact on the accuracy of machined parts. The existing technology mainly focuses on imitating the surface of guide rails. Laser scanning images, etc. are used to identify the wear on the surface of the guide rail. Although it achieves a certain effect, the environment of the machine tool during the cutting process changes in real time. In the face of guide rail miscellaneous wear, oxidative wear, poor lubrication and other phenomena, timely maintenance and timely repair can effectively avoid guide rail precision. Severe wear, reduced life, etc. will affect the accuracy.
发明内容Contents of the invention
为此,本发明实施例提供一种基于深度学习的导轨精度预维护方法,既能提高生产质量,又能避免导轨由于磨损问题造成的精度下降产生不良品的问题,保证企业生产的质量,以解决现有技术中不能实时监测导致导轨精度磨损等对精度影响的问题。For this reason, the embodiment of the present invention provides a guide rail precision pre-maintenance method based on deep learning, which can not only improve the production quality, but also avoid the problem of defective products due to the decrease in the accuracy of the guide rail due to wear and tear, and ensure the quality of enterprise production. It solves the problem in the prior art that the accuracy of the guide rail is not affected by real-time monitoring and wear and the like.
为了实现上述目的,本发明的实施方式提供如下技术方案:In order to achieve the above object, embodiments of the present invention provide the following technical solutions:
一种基于深度学习的导轨精度预维护方法,包括如下步骤:A method for pre-maintenance of guide rail accuracy based on deep learning, comprising the following steps:
步骤100、通过传感器采集导轨正常运行状态下的数据信号,并对数据信号进行预处理;Step 100, collecting the data signal of the guide rail under the normal operation state through the sensor, and preprocessing the data signal;
步骤200、用深度学习的深度置信网络对预处理后数据信号进行预训练,并建立计算模型;Step 200, pre-training the preprocessed data signal with a deep belief network of deep learning, and establishing a calculation model;
步骤300、深度学习算法对导轨运行的状态进行在线实时判断,完成导轨运行状态的曲线图;Step 300, the deep learning algorithm performs online real-time judgment on the running state of the guide rail, and completes the graph of the running state of the guide rail;
步骤400、根据导轨运行状态的曲线图对导轨磨损进行提前预维护。Step 400 , performing pre-maintenance on wear and tear of the guide rail according to the graph of the running state of the guide rail.
作为本发明的一种优选方案,在步骤100中,对数据信号预处理的具体步骤为:将振动信号统一成指定的大小或者长度。As a preferred solution of the present invention, in step 100, the specific step of preprocessing the data signal is: unify the vibration signal into a specified size or length.
作为本发明的一种优选方案,在步骤200中,对数据信号进行预训练的具体步骤为:As a preferred solution of the present invention, in step 200, the specific steps of pre-training the data signal are:
步骤201、将经过预处理的数据信号片段送入深度置信网络中的受限玻尔兹曼机中,训练第1个RBM,使其达到稳定状态;Step 201, send the preprocessed data signal segment to the restricted Boltzmann machine in the deep belief network, and train the first RBM to reach a steady state;
步骤202、将上一个RBM得到的结果输出作为下一个RBM可视层的输入,直至稳定状态;Step 202, outputting the result obtained by the previous RBM as the input of the next RBM visual layer until a steady state;
步骤203、重复步骤202直到最后一个RBM训练完成;Step 203, repeat step 202 until the last RBM training is completed;
步骤204、用反向传播算法调整各层层数,使整个网络找到最优的参数,并通过训练建立计算模型。Step 204, adjust the number of layers of each layer with the backpropagation algorithm, so that the entire network can find the optimal parameters, and establish a calculation model through training.
作为本发明的一种优选方案,在步骤300中,对导轨运行状态的在线实时判断具体步骤为:As a preferred solution of the present invention, in step 300, the specific steps for online real-time judgment of the operating state of the guide rail are:
步骤301、接收传感器采集导轨正常运行状态下的数据信号;Step 301, receiving the data signal collected by the sensor under the normal operation state of the guide rail;
步骤302、让测试信号通过计算模型的前若干层,并将其结果作为特征提取器的提取特征;Step 302, let the test signal pass through the first several layers of the calculation model, and use the results as the extracted features of the feature extractor;
步骤303、通过主成分分析法提取导轨状态的特征向量,并计算特征向量之间的相似度;Step 303, extracting the eigenvectors of the guide rail state by principal component analysis, and calculating the similarity between the eigenvectors;
步骤304、根据计算得到的相似度画出导轨运行状态的劣化曲线,完成导轨运行状态的曲线图。Step 304 , draw a deterioration curve of the operating state of the guide rail according to the calculated similarity, and complete the graph of the operating state of the guide rail.
作为本发明的一种优选方案,在步骤303中,特征向量之间的相似度计算方法为:As a preferred solution of the present invention, in step 303, the calculation method for the similarity between feature vectors is:
其中,d(v模,v测试)为特征向量之间的相似度,v模n为计算模型的特征向量,v测试n为通过主成分分析法提取的特征向量,i、n表示个数。Among them, d(v modulus , v test ) is the similarity between feature vectors, v modulus n is the feature vector of the calculation model, v test n is the feature vector extracted by principal component analysis, and i and n represent the number.
作为本发明的一种优选方案,在步骤400中,根据导轨运行状态曲线图上的变化趋势,在曲线图上设置阈值,当检测数据信号超过阈值时对导轨磨损进行提前预维护。As a preferred solution of the present invention, in step 400, a threshold is set on the graph according to the change trend on the graph of the operating state of the guide rail, and when the detection data signal exceeds the threshold, the wear and tear of the guide rail is pre-maintained.
作为本发明的一种优选方案,所述阈值的设置根据劣化趋势或磨损深度确定。As a preferred solution of the present invention, the setting of the threshold is determined according to the deterioration trend or wear depth.
作为本发明的一种优选方案,根据磨损深度确定阈值的具体步骤为:As a preferred solution of the present invention, the specific steps for determining the threshold according to the wear depth are:
设定导轨的直线度A用磨损深度度hm表示;Set the straightness A of the guide rail to be expressed by the wear depth h m ;
根据导轨的劣化曲线的趋势,计算得到导轨的精度衰减变化△h,再通过对导轨精度衰减变化进行累加计算,计算公式为:According to the trend of the degradation curve of the guide rail, the accuracy attenuation change △h of the guide rail is calculated, and then the accumulative calculation of the accuracy attenuation change of the guide rail is carried out. The calculation formula is:
其中,△hij表示第i次采样点的第j次磨损,h基为初始磨损的基准。Among them, △h ij represents the j-th wear of the i-th sampling point, and the base h is the benchmark of the initial wear.
本发明的实施方式具有如下优点:Embodiments of the present invention have the following advantages:
本发明运用了深度学习算法,实现了自主学习,自主提取特征,通过神经网络进行拟合,实时掌握运行过程中的磨损情况,具有自适应好,鲁棒性较高的优点,能够自适应、自我学习、自我诊断,具有较高的应用价值。The invention uses a deep learning algorithm, realizes autonomous learning, extracts features independently, performs fitting through a neural network, and grasps the wear and tear during operation in real time, has the advantages of good self-adaptation and high robustness, and can self-adapt Self-learning and self-diagnosis have high application value.
附图说明Description of drawings
为了更清楚地说明本发明的实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是示例性的,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图引伸获得其它的实施附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that are required in the description of the embodiments or the prior art. Apparently, the drawings in the following description are only exemplary, and those skilled in the art can also obtain other implementation drawings according to the provided drawings without creative work.
本说明书所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本发明可实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本发明所能产生的功效及所能达成的目的下,均应仍落在本发明所揭示的技术内容得能涵盖的范围内。The structures, proportions, sizes, etc. shown in this manual are only used to cooperate with the content disclosed in the manual, so that people familiar with this technology can understand and read, and are not used to limit the conditions for the implementation of the present invention, so there is no technical In the substantive meaning above, any modification of structure, change of proportional relationship or adjustment of size shall still fall within the scope of the technical content disclosed in the present invention without affecting the functions and objectives of the present invention. within the range that can be covered.
图1为本发明实施方式中的流程框图;Fig. 1 is a flowchart block diagram in the embodiment of the present invention;
图2为本发明实施方式的预训练流程示意图;FIG. 2 is a schematic diagram of a pre-training process in an embodiment of the present invention;
图3为本发明实施方式的磨损深度结构示意图。Fig. 3 is a schematic diagram of the wear depth structure according to the embodiment of the present invention.
具体实施方式Detailed ways
以下由特定的具体实施例说明本发明的实施方式,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本发明的其他优点及功效,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The implementation mode of the present invention is illustrated by specific specific examples below, and those who are familiar with this technology can easily understand other advantages and effects of the present invention from the contents disclosed in this description. Obviously, the described embodiments are a part of the present invention. , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
如图1所示,本发明提供了一种基于深度学习的导轨精度预维护方法,包括如下步骤:As shown in Figure 1, the present invention provides a method for pre-maintenance of guide rail accuracy based on deep learning, including the following steps:
步骤100、通过传感器采集导轨正常运行状态下的数据信号,并对数据信号进行预处理;Step 100, collecting the data signal of the guide rail under the normal operation state through the sensor, and preprocessing the data signal;
步骤200、用深度学习的深度置信网络对预处理后数据信号进行预训练,并建立计算模型;Step 200, pre-training the preprocessed data signal with a deep belief network of deep learning, and establishing a calculation model;
步骤300、深度学习算法对导轨运行的状态进行在线实时判断,完成导轨运行状态的曲线图;Step 300, the deep learning algorithm performs online real-time judgment on the running state of the guide rail, and completes the graph of the running state of the guide rail;
步骤400、根据导轨运行状态的曲线图对导轨磨损进行提前预维护。Step 400 , performing pre-maintenance on wear and tear of the guide rail according to the graph of the running state of the guide rail.
一方面在本发明中,主要是通过传感器采集导轨的数据信号,并将数据信号进行预处理,在经过预处理后便于数据的计算。本发明以采集数据本身的一部分作为训练目标形成特征向量,再计算特征向量之间的相似度,即无需认为进行设置和干预,可以直接通过采集数据在模型中进行训练和处理,以生成特征向量作为计算的目标,从而达到自适应和自我学习的目的。On the one hand, in the present invention, the data signal of the guide rail is mainly collected by the sensor, and the data signal is preprocessed, which facilitates the calculation of the data after the preprocessing. The present invention uses a part of the collected data itself as the training target to form a feature vector, and then calculates the similarity between the feature vectors, that is, there is no need to think about setting and intervention, and the collected data can be directly trained and processed in the model to generate the feature vector As the target of calculation, so as to achieve the purpose of self-adaptation and self-learning.
另一方面,本发明中通过建立计算模型,对导轨的运行状态进行在线实时判断,完成导轨运行状态的曲线图,由曲线图可知其在接下来一段时间内的变化区域,并且在这个区域中设置示警用的阈值,当超过阈值时将示警进行相应的决策,以达到自我诊断的目的。On the other hand, in the present invention, by establishing a calculation model, the running state of the guide rail is judged in real time online, and the graph of the running state of the guide rail is completed. From the graph, its changing area in the next period of time can be known, and in this area Set the threshold for warning. When the threshold is exceeded, the warning will be made and corresponding decisions will be made to achieve the purpose of self-diagnosis.
本发明通过上述维护方法实现自动根据采集数据的特征来自主提取特征,并通过神经网络拟合实时掌握导轨运行过程中的状态,能够自主适应不同的导轨,无需人工干预即可自主将采集的参数导入神经网络中进行计算和监测。The present invention realizes automatic extraction of features according to the characteristics of the collected data through the above maintenance method, and grasps the status of the guide rail in real time through neural network fitting, can adapt to different guide rails independently, and can automatically convert the collected parameters without manual intervention Import into the neural network for calculation and monitoring.
在本发明中由于振动信号包含了大量导轨在运行过程中的状态信息。因此可用传感器采集导轨正常运行过程中的振动信号,并标记为正常,其他信号原理相似。In the present invention, since the vibration signal contains a large amount of state information of the guide rail during operation. Therefore, the sensor can be used to collect the vibration signal during the normal operation of the guide rail, and mark it as normal, and the principle of other signals is similar.
为了便于计算和数据的处理,在步骤100中,首先对数据信号进行预处理,具体步骤为将振动信号统一成指定的大小或者长度。在本实施方式中,如将每一小段的信号数据长度取值为T。In order to facilitate calculation and data processing, in step 100, the data signal is first preprocessed, and the specific step is to unify the vibration signal into a specified size or length. In this embodiment, for example, the signal data length of each small segment is taken as T.
标准的受限玻尔兹曼机由隐藏层和可见层组成,如图2所示,在图2中c1、c2、c3、…、cn均为可见层,在步骤200中,对数据信号进行预训练的具体步骤为:A standard restricted Boltzmann machine consists of a hidden layer and a visible layer, as shown in Figure 2, in which c 1 , c 2 , c 3 , ..., c n are all visible layers, in step 200, The specific steps of pre-training the data signal are as follows:
步骤201、将经过预处理,且长度为T的数据信号片段送入深度置信网络中受限玻尔兹曼机(RBM)中,训练第1个RBM,使其达到稳定状态;Step 201, send the preprocessed data signal segment with a length of T into the restricted Boltzmann machine (RBM) in the deep belief network, and train the first RBM to reach a stable state;
步骤202、将上一个RBM得到的结果输出作为下一个RBM可视层的输入,直至稳定状态;Step 202, outputting the result obtained by the previous RBM as the input of the next RBM visual layer until a steady state;
步骤203、重复步骤202直到最后一个RBM训练完成;Step 203, repeat step 202 until the last RBM training is completed;
步骤204、用反向传播算法微调各层层数,使整个网络找到最优的参数{W,a,b},并通过训练建立计算模型。Step 204, use the backpropagation algorithm to fine-tune the number of layers in each layer, so that the entire network can find the optimal parameters {W, a, b}, and establish a calculation model through training.
本发明的特征在于直接对经过预处理的数据进行神经网络的训练,在这个训练的过程中无需考虑数据的来源和准确性,是直接对原始数据的训练,并且将训练的结果直接应用于下一个训练周期,直至完成所有的训练建立其计算模型。该方式的优点在于对数据的自主适应能力强,在计算的过程中无需人为的干预和引导处理,即可直接对原始数据进行处理并作出相应的决策。The present invention is characterized in that the training of the neural network is directly performed on the preprocessed data. In the training process, the source and accuracy of the data are not considered, and the original data is directly trained, and the training results are directly applied to the following A training cycle until all the training is completed to establish its calculation model. The advantage of this method is that it has a strong ability to adapt to the data independently, and it can directly process the original data and make corresponding decisions without human intervention and guidance during the calculation process.
在上述步骤中,设定具体的参数进一步说明上述训练的过程:In the above steps, set specific parameters to further illustrate the above training process:
设定RBM由可视层V和隐藏层H组成,其中an为可视层第n单元的偏置,bn为隐藏层第n单元的偏置,W是可视层V和隐藏层H链接的权重向量。Set the RBM to consist of the visible layer V and the hidden layer H, where a n is the bias of the nth unit of the visible layer, b n is the bias of the nth unit of the hidden layer, W is the visible layer V and the hidden layer H A vector of link weights.
第一步,当训练样本V1=(v11,v12,v12,…,v1(n-1),v1n)输入到可视层V时,通过Gibas采样得到隐藏层H的输出H1=(h11,h12,h12,…,h1(n-1),h1n),其中h1n=Gibas(fs(an+∑iwinvin)),fs是s型激活函数,且fs产生的值需(0,1)之间,如果大于1取1,小于0取0。In the first step, when the training sample V 1 =(v 11 ,v 12 ,v 12 ,…,v 1(n-1 ),v 1n ) is input to the visible layer V, the output of the hidden layer H is obtained through Gibas sampling H 1 =(h 11 ,h 12 ,h 12 ,...,h 1(n-1) ,h 1n ), where h 1n =Gibas(f s (a n +∑ i w in v in )), f s It is an s-type activation function, and the value generated by f s needs to be between (0, 1). If it is greater than 1, take 1, and if it is less than 0, take 0.
第二步,计算RBM中的{W,a,b},如图2,在第一个RBM中,即:The second step is to calculate {W, a, b} in the RBM, as shown in Figure 2, in the first RBM, namely:
W=μW+ε(h′1v1-h′2v2)W=μW+ε(h′ 1 v 1 -h′ 2 v 2 )
a=μa+∑(v1-v2)′a=μa+∑(v 1 -v 2 )'
b=μb+∑(h1-h2)′,b=μb+Σ(h 1 -h 2 )',
其中μ是为了克服训练陷入局部极小值,引入的学习率,一般取0.5~0.9之间,ε是学习率,数值代表每次调节的步长,一般取0.005~0.200之间。Among them, μ is the learning rate introduced in order to overcome the training falling into a local minimum, generally between 0.5 and 0.9, ε is the learning rate, and the value represents the step size of each adjustment, generally between 0.005 and 0.200.
第三步,用均方误差评判RBM的训练精度,即:The third step is to use the mean square error to judge the training accuracy of RBM, namely:
其中,v1为可视层的输入,v2为可视层的重构输出。Among them, v 1 is the input of the visual layer, and v 2 is the reconstructed output of the visual layer.
将上一个RBM的(即第1个)得到的输出:The output obtained from the previous RBM (that is, the first one):
H1=(h11,h12,h12,…,h1(n-1),h1n),H 1 =(h 11 ,h 12 ,h 12 ,...,h 1(n-1) ,h 1n ),
作为下一个(即第2个)RBM的可视层的输入,如图2:在第二个RBM中,H1相当于第一个RBM的V,输出H2相当于第一个RBM的中H1,并计算第二个RBM中的参数{W,a,b}。As the input of the visual layer of the next (that is, the second) RBM, as shown in Figure 2: in the second RBM, H 1 is equivalent to the V of the first RBM, and the output H 2 is equivalent to the middle of the first RBM H 1 , and calculate the parameters {W, a, b} in the second RBM.
如图1的联想记忆两层中,顶层用于层数拟合,其中标签神经元用于进行有监督学习,以便于对于整个网络进行微调。In the two layers of associative memory shown in Figure 1, the top layer is used for layer number fitting, and the label neurons are used for supervised learning to facilitate fine-tuning of the entire network.
训练完成模型之后,就可以对导轨的运行状态进行在线判断。在步骤300中,实时判断的具体步骤为:After the model is trained, the running status of the guide rail can be judged online. In step 300, the specific steps of real-time judgment are:
步骤301、接收传感器采集导轨正常运行状态下的数据信号;Step 301, receiving the data signal collected by the sensor under the normal operation state of the guide rail;
步骤302、让测试信号通过计算模型的前若干层,并将其结果作为特征提取器的提取特征;Step 302, let the test signal pass through the first several layers of the calculation model, and use the results as the extracted features of the feature extractor;
步骤303、通过主成分分析法提取导轨状态的特征向量,并计算特征向量之间的相似度;Step 303, extracting the eigenvectors of the guide rail state by principal component analysis, and calculating the similarity between the eigenvectors;
步骤304、根据计算得到的相似度画出导轨运行状态的劣化曲线,完成导轨运行状态的曲线图。Step 304 , draw a deterioration curve of the operating state of the guide rail according to the calculated similarity, and complete the graph of the operating state of the guide rail.
其中,在步骤303中,特征向量之间的相似度计算方法为:Wherein, in step 303, the similarity calculation method between feature vectors is:
其中,d(v模,v测试)为特征向量之间的相似度,v模n为计算模型的特征向量,v测试n为通过主成分分析法提取的特征向量,i、n表示个数。Among them, d(v modulus , v test ) is the similarity between feature vectors, v modulus n is the feature vector of the calculation model, v test n is the feature vector extracted by principal component analysis, and i and n represent the number.
导轨直线度的变化对加工工件的尺寸与表面精度影响较大,根据劣化曲线可以知道导轨的运行状态变化趋势,可以在曲线图上通过设置阈值来保证导轨的精度,也可以结合磨损深度设置阈值,当超过阈值时进行相应的决策。The change of the straightness of the guide rail has a great influence on the size and surface accuracy of the processed workpiece. According to the deterioration curve, the running state change trend of the guide rail can be known. The accuracy of the guide rail can be guaranteed by setting a threshold on the graph, or the threshold can be set in combination with the wear depth , and make corresponding decisions when the threshold is exceeded.
具体在步骤400中,根据导轨运行状态曲线图上的变化趋势,在曲线图上设置阈值,当检测数据信号超过阈值时进行相应的决策,其中阈值的设置根据劣化趋势或磨损深度确定。Specifically, in step 400, a threshold is set on the graph according to the change trend of the guide rail operation status graph, and a corresponding decision is made when the detected data signal exceeds the threshold, wherein the setting of the threshold is determined according to the deterioration trend or wear depth.
如图3所示,根据磨损深度确定阈值的具体步骤为:As shown in Figure 3, the specific steps for determining the threshold according to the wear depth are:
设定导轨的直线度A可用磨损深度度hm表示;The straightness A of the set guide rail can be expressed by the wear depth h m ;
根据导轨的劣化曲线的趋势,计算得到导轨的精度衰减变化△h,通过每次磨损△hij累加计算,计算公式为:According to the trend of the deterioration curve of the guide rail, the accuracy attenuation change △h of the guide rail is calculated, and the cumulative calculation is carried out through each wear △h ij . The calculation formula is:
其中,A为最终导轨的直线度,△hij表示第i次采样点的第j次磨损,h基为初始磨损的基准。根据上述公式确定最终的阈值Amax,当A<Amax时表示导轨精度在安全范围之内,可通过A-Amax得到此时导轨的有效精度寿命,根据剩余的精度或阈值做相应的决策。Among them, A is the straightness of the final guide rail, △h ij represents the jth wear of the i-th sampling point, and the base h is the benchmark of the initial wear. Determine the final threshold A max according to the above formula. When A<A max , it means that the accuracy of the guide rail is within the safe range. The effective accuracy life of the guide rail at this time can be obtained through AA max , and corresponding decisions can be made according to the remaining accuracy or threshold.
在上述中,磨损深度时一个定值,可以直接确定,而在本发明中如何根据劣化趋势来确定其阈值则是关键。也就是说此时的劣化程度是根据不同次采样点的实际磨损来确定,它是一个动态变化的过程,结合本发明中的自主学习方法,它在动态变化的过程中来限定具体最大的阈值,并且根据实时测量的直线度和阈值之间的差值来做出相应的决定。In the above, the wear depth is a fixed value, which can be determined directly, but in the present invention, how to determine its threshold according to the deterioration trend is the key. That is to say, the degree of degradation at this time is determined according to the actual wear of different sampling points. It is a process of dynamic change. Combined with the self-learning method in the present invention, it defines the specific maximum threshold in the process of dynamic change. , and make corresponding decisions based on the difference between the real-time measured straightness and the threshold.
现有的关于导轨精度保持模型相关的技术方案主要集中在运用统计学规律、基于Archard模型、运用动力学特性的理论模型等方法,与其相比,本发明运用了深度学习算法,实现了自主学习,自主提取特征,通过神经网络进行拟合,实时掌握运行过程中的磨损情况,具有自适应好,鲁棒性较高,能够自适应、自我学习、自我诊断,具有较高的应用价值。The existing technical solutions related to the guide rail accuracy maintenance model mainly focus on the use of statistical laws, based on the Archard model, and the use of theoretical models of dynamic characteristics. Compared with them, the present invention uses deep learning algorithms to achieve autonomous learning , extract features independently, fit through neural network, and grasp the wear and tear during operation in real time. It has good self-adaptation, high robustness, self-adaptation, self-learning and self-diagnosis, and has high application value.
虽然,上文中已经用一般性说明及具体实施例对本发明作了详尽的描述,但在本发明基础上,可以对之作一些修改或改进,这对本领域技术人员而言是显而易见的。因此,在不偏离本发明精神的基础上所做的这些修改或改进,均属于本发明要求保护的范围。Although the present invention has been described in detail with general descriptions and specific examples above, it is obvious to those skilled in the art that some modifications or improvements can be made on the basis of the present invention. Therefore, the modifications or improvements made on the basis of not departing from the spirit of the present invention all belong to the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672121.3A CN110378045A (en) | 2019-07-24 | 2019-07-24 | A kind of pre- maintaining method of guide precision based on deep learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672121.3A CN110378045A (en) | 2019-07-24 | 2019-07-24 | A kind of pre- maintaining method of guide precision based on deep learning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110378045A true CN110378045A (en) | 2019-10-25 |
Family
ID=68255550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910672121.3A Pending CN110378045A (en) | 2019-07-24 | 2019-07-24 | A kind of pre- maintaining method of guide precision based on deep learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110378045A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110864776A (en) * | 2019-11-22 | 2020-03-06 | 常州机电职业技术学院 | Weighing equipment predictive maintenance algorithm and weighing equipment predictive maintenance method |
CN112607555A (en) * | 2020-11-23 | 2021-04-06 | 西人马联合测控(泉州)科技有限公司 | Training method and detection method of model for elevator guide rail state detection |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105973594A (en) * | 2016-04-25 | 2016-09-28 | 西北工业大学 | Rolling bearing fault prediction method based on continuous deep belief network |
CN106408088A (en) * | 2016-11-22 | 2017-02-15 | 北京六合智汇技术有限责任公司 | Depth-learning-theory-based fault diagnosis method for rotating machinery |
CN106769048A (en) * | 2017-01-17 | 2017-05-31 | 苏州大学 | Adaptive deep confidence network bearing fault diagnosis method based on Nesterov momentum method |
US20180046902A1 (en) * | 2016-08-09 | 2018-02-15 | Palo Alto Research Center Incorporated | Enhanced restricted boltzmann machine with prognosibility regularization for prognostics and health assessment |
CN107877262A (en) * | 2017-11-13 | 2018-04-06 | 华中科技大学 | A kind of numerical control machine tool wear monitoring method based on deep learning |
CN108089099A (en) * | 2017-12-18 | 2018-05-29 | 广东电网有限责任公司佛山供电局 | The diagnostic method of distribution network failure based on depth confidence network |
US20180272491A1 (en) * | 2017-03-24 | 2018-09-27 | National Cheng Kung University | Tool wear monitoring and predicting method |
CN109271705A (en) * | 2018-09-14 | 2019-01-25 | 湘潭大学 | A kind of machine prediction maintaining method based on deep learning |
CN109332928A (en) * | 2018-10-23 | 2019-02-15 | 江苏山扬智能装备有限公司 | Street lamp post robot welding system and welding method based on deep learning on-line checking |
CN109635483A (en) * | 2018-12-24 | 2019-04-16 | 上海商然数据服务有限公司 | A kind of motor and failure of pump hypothesis analysis system based on electromagnetic detection |
US20190121714A1 (en) * | 2017-10-25 | 2019-04-25 | Oracle International Corporation | Hybrid clustering-partitioning technique that optimizes accuracy and compute cost for prognostic surveillance of sensor data |
CN110405537A (en) * | 2019-07-17 | 2019-11-05 | 湘潭大学 | A Method for Establishing a Prediction Model of Guideway Accuracy Based on Deep Learning |
-
2019
- 2019-07-24 CN CN201910672121.3A patent/CN110378045A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105973594A (en) * | 2016-04-25 | 2016-09-28 | 西北工业大学 | Rolling bearing fault prediction method based on continuous deep belief network |
US20180046902A1 (en) * | 2016-08-09 | 2018-02-15 | Palo Alto Research Center Incorporated | Enhanced restricted boltzmann machine with prognosibility regularization for prognostics and health assessment |
CN106408088A (en) * | 2016-11-22 | 2017-02-15 | 北京六合智汇技术有限责任公司 | Depth-learning-theory-based fault diagnosis method for rotating machinery |
CN106769048A (en) * | 2017-01-17 | 2017-05-31 | 苏州大学 | Adaptive deep confidence network bearing fault diagnosis method based on Nesterov momentum method |
US20180272491A1 (en) * | 2017-03-24 | 2018-09-27 | National Cheng Kung University | Tool wear monitoring and predicting method |
US20190121714A1 (en) * | 2017-10-25 | 2019-04-25 | Oracle International Corporation | Hybrid clustering-partitioning technique that optimizes accuracy and compute cost for prognostic surveillance of sensor data |
CN107877262A (en) * | 2017-11-13 | 2018-04-06 | 华中科技大学 | A kind of numerical control machine tool wear monitoring method based on deep learning |
CN108089099A (en) * | 2017-12-18 | 2018-05-29 | 广东电网有限责任公司佛山供电局 | The diagnostic method of distribution network failure based on depth confidence network |
CN109271705A (en) * | 2018-09-14 | 2019-01-25 | 湘潭大学 | A kind of machine prediction maintaining method based on deep learning |
CN109332928A (en) * | 2018-10-23 | 2019-02-15 | 江苏山扬智能装备有限公司 | Street lamp post robot welding system and welding method based on deep learning on-line checking |
CN109635483A (en) * | 2018-12-24 | 2019-04-16 | 上海商然数据服务有限公司 | A kind of motor and failure of pump hypothesis analysis system based on electromagnetic detection |
CN110405537A (en) * | 2019-07-17 | 2019-11-05 | 湘潭大学 | A Method for Establishing a Prediction Model of Guideway Accuracy Based on Deep Learning |
Non-Patent Citations (1)
Title |
---|
杨宇;张娜;程军圣;: "全参数动态学习深度信念网络在滚动轴承寿命预测中的应用", 振动与冲击 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110864776A (en) * | 2019-11-22 | 2020-03-06 | 常州机电职业技术学院 | Weighing equipment predictive maintenance algorithm and weighing equipment predictive maintenance method |
CN110864776B (en) * | 2019-11-22 | 2021-08-20 | 常州机电职业技术学院 | Weighing equipment predictive maintenance algorithm and weighing equipment predictive maintenance method |
CN112607555A (en) * | 2020-11-23 | 2021-04-06 | 西人马联合测控(泉州)科技有限公司 | Training method and detection method of model for elevator guide rail state detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12026625B2 (en) | On-line prediction method of surface roughness of parts based on SDAE-DBN algorithm | |
CN110405537B (en) | Method for establishing guide rail precision prediction model based on deep learning | |
CN110355608B (en) | Tool wear prediction method based on self-attention mechanism and deep learning | |
CN111366123B (en) | Part surface roughness and cutter wear prediction method based on multi-task learning | |
CN113664612A (en) | Numerical control machine tool milling cutter abrasion real-time monitoring method based on deep convolutional neural network | |
CN111813084A (en) | A fault diagnosis method for mechanical equipment based on deep learning | |
DE102018108779A1 (en) | Estimator of an automatic machining error factor | |
DE102018108780A1 (en) | Machining surface quality evaluation device | |
CN111832432B (en) | A real-time prediction method of tool wear based on wavelet packet decomposition and deep learning | |
CN110561191A (en) | Numerical control machine tool cutter abrasion data processing method based on PCA and self-encoder | |
CN113640380B (en) | Multi-level classification method and system for rail damage detection | |
CN111716150A (en) | An evolutionary learning method for intelligent monitoring of tool status | |
CN107782551B (en) | Method for evaluating damage degree of mechanical part | |
CN111881970A (en) | Intelligent outer broken image identification method based on deep learning | |
CN115712821A (en) | Elevator fault diagnosis method based on graph neural network | |
CN110378045A (en) | A kind of pre- maintaining method of guide precision based on deep learning | |
CN112485257A (en) | Method and device for detecting roller surface abrasion of roller press based on machine vision | |
Ma et al. | Multi-scale one-dimensional convolution tool wear monitoring based on multi-model fusion learning skills | |
CN116070527A (en) | Milling cutter residual life prediction method based on degradation model | |
CN112207631B (en) | Method for generating tool detection model, method, system, device and medium for detecting tool detection model | |
CN108931621B (en) | Zinc ore grade soft measurement method based on process texture characteristics | |
CN115375658A (en) | Online milling cutter wear monitoring system | |
CN112069621B (en) | Method for predicting residual service life of rolling bearing based on linear reliability index | |
CN114648055B (en) | Real-time detection method for processing quality of processing equipment and related equipment | |
CN115600086B (en) | Vehicle-mounted quantitative detection method for rail corrugation roughness based on convolution regression |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191025 |