CN111300146A - Numerical control machine tool cutter abrasion loss online prediction method based on spindle current and vibration signal - Google Patents
Numerical control machine tool cutter abrasion loss online prediction method based on spindle current and vibration signal Download PDFInfo
- Publication number
- CN111300146A CN111300146A CN201911199533.6A CN201911199533A CN111300146A CN 111300146 A CN111300146 A CN 111300146A CN 201911199533 A CN201911199533 A CN 201911199533A CN 111300146 A CN111300146 A CN 111300146A
- Authority
- CN
- China
- Prior art keywords
- wear
- optimal
- prediction
- frequency
- fitness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005299 abrasion Methods 0.000 title claims 11
- 238000012549 training Methods 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 12
- 238000005457 optimization Methods 0.000 claims description 12
- 238000000354 decomposition reaction Methods 0.000 claims description 8
- 238000002474 experimental method Methods 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 6
- 230000002068 genetic effect Effects 0.000 claims description 6
- 230000005484 gravity Effects 0.000 claims description 5
- 238000010606 normalization Methods 0.000 claims description 5
- 230000003595 spectral effect Effects 0.000 claims description 5
- 230000001133 acceleration Effects 0.000 claims description 4
- 238000005070 sampling Methods 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims description 3
- 238000003801 milling Methods 0.000 claims description 3
- 230000035772 mutation Effects 0.000 claims description 3
- 238000001228 spectrum Methods 0.000 claims description 3
- 229910000831 Steel Inorganic materials 0.000 claims description 2
- 238000009826 distribution Methods 0.000 claims description 2
- 230000009977 dual effect Effects 0.000 claims description 2
- 239000010959 steel Substances 0.000 claims description 2
- 239000006185 dispersion Substances 0.000 claims 1
- 238000012805 post-processing Methods 0.000 abstract description 4
- 230000000875 corresponding effect Effects 0.000 description 7
- 238000005520 cutting process Methods 0.000 description 6
- 238000003754 machining Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000001154 acute effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/09—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool
- B23Q17/0952—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool during machining
- B23Q17/0957—Detection of tool breakage
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Numerical Control (AREA)
Abstract
一种基于主轴电流和振动信号的数控机床刀具磨损量在线预测方法,通过在设有传感器的数控机床主轴上利用多把同型号刀具在同一工况下重复进行试运行加工并测得原始加工磨损数据,根据刀具的初期快速磨损阶段、正常磨损阶段和急剧磨损阶段三个磨损阶段,分别从中提取出训练用的最优特征集并对支持向量回归机预测模型进行训练,最后采用训练后的模型进行实际加工过程中的在线实时预测刀具磨损量;本发明通过多把同型号刀具在同等条件下重复实验获得的数据,不仅可以充分挖掘原始信号中各磨损阶段与刀具磨损相关的特征参数,并通过后处理方式进一步增强和刀具磨损量的关联程度,使得构建的支持向量回归机预测模型可以取得较高的预测精度和很好的推广性。
A method for online prediction of tool wear of CNC machine tools based on spindle current and vibration signals, by using multiple tools of the same type on the spindle of CNC machine tools provided with sensors to repeat test run processing under the same working conditions and measure the original processing wear According to the three wear stages of the initial rapid wear stage of the tool, the normal wear stage and the sharp wear stage, the optimal feature set for training is extracted from the data, and the support vector regression machine prediction model is trained, and finally the trained model is used. Carry out online real-time prediction of tool wear in the actual processing process; the invention can not only fully mine the characteristic parameters related to tool wear in each wear stage in the original signal by repeating the data obtained by multiple tools of the same type under the same conditions, but also The correlation degree with the tool wear amount is further enhanced by post-processing, so that the constructed SVM prediction model can achieve high prediction accuracy and good generalization.
Description
技术领域technical field
本发明涉及的是一种机械加工领域的技术,具体是一种基于主轴电流和振动信号的高精度的数控机床刀具磨损量在线预测方法。The invention relates to a technology in the field of machining, in particular to a high-precision online prediction method for the wear amount of CNC machine tools based on spindle current and vibration signals.
背景技术Background technique
数控机床是现代先进制造技术重要的基础装备,而由刀具失效引起的机床停机时间大约占机床总停机时间的1/5-1/3。而对于配备有一套相对成熟的刀具监测系统的数控机床,其故障停机时间可以减少75%,加工效率可以提高10-60%。现有的刀具状态监测技术普遍对刀具磨损状态类别能达到较精准的预测,但对磨损量的预测精度不高,且实时性、推广性较差,难以大规模应用到工业生产中。CNC machine tool is an important basic equipment of modern advanced manufacturing technology, and the machine tool downtime caused by tool failure accounts for about 1/5-1/3 of the total machine downtime. For CNC machine tools equipped with a relatively mature tool monitoring system, the downtime can be reduced by 75%, and the processing efficiency can be increased by 10-60%. The existing tool state monitoring technology can generally predict the tool wear state category more accurately, but the prediction accuracy of the wear amount is not high, and the real-time performance and popularization are poor, so it is difficult to be applied to industrial production on a large scale.
发明内容SUMMARY OF THE INVENTION
本发明针对现有刀具监测技术预测模型精度低且基于单把刀具实验数据建立的模型推广性差的缺陷,提出一种基于主轴电流和振动信号的数控机床刀具磨损量在线预测方法,通过多把同型号刀具在同等条件下重复实验获得的数据,不仅可以充分挖掘原始信号中各磨损阶段与刀具磨损相关的特征参数,并通过后处理方式进一步增强和刀具磨损量的关联程度,使得构建的支持向量回归机预测模型可以取得较高的预测精度和很好的推广性。Aiming at the defects of low precision of the prediction model of the existing tool monitoring technology and poor popularization of the model established based on the experimental data of a single tool, the invention proposes an online prediction method of the tool wear amount of a numerically controlled machine tool based on the spindle current and vibration signal. The data obtained by repeating the experiment of the model tool under the same conditions can not only fully mine the characteristic parameters related to the tool wear in each wear stage in the original signal, but also further enhance the correlation degree with the tool wear amount through post-processing methods, so that the constructed support vector The regression machine prediction model can achieve high prediction accuracy and good generalization.
本发明是通过以下技术方案实现的:The present invention is achieved through the following technical solutions:
本发明涉及一种基于主轴电流和振动信号的数控机床刀具磨损量在线预测方法,通过在设有传感器的数控机床主轴上利用多把同型号刀具在同一工况下重复进行试运行加工并测得原始加工磨损数据,根据刀具的初期快速磨损阶段、正常磨损阶段和急剧磨损阶段三个磨损阶段,分别从中提取出训练用的最优特征集并对支持向量回归机预测模型进行训练,最后采用训练后的模型进行实际加工过程中的在线实时预测刀具磨损量。The invention relates to an online prediction method for the wear amount of CNC machine tools based on spindle current and vibration signals. From the original machining wear data, according to the three wear stages of the initial rapid wear stage, the normal wear stage and the sharp wear stage, the optimal feature set for training is extracted from it and the support vector regression machine prediction model is trained, and finally the training is used. After the model is carried out online real-time prediction of tool wear during the actual machining process.
所述的原始加工磨损数据,包括采用加速度传感器测得的主轴振动时域信号、采用电流传感器测得的主轴单相电流时域信号、采用显微镜测得的对应的刀具磨损量。The raw machining wear data includes the spindle vibration time domain signal measured by the acceleration sensor, the spindle single-phase current time domain signal measured by the current sensor, and the corresponding tool wear amount measured by the microscope.
所述的提取,包括:根据刀具磨损量和对应的走刀次数拟合得到的磨损曲线、提取主轴单相电流时域信号的时域特征、提取主轴振动时域信号的时域特征、频域特征以及时频域特征。The extraction includes: the wear curve obtained by fitting the tool wear amount and the corresponding number of tool passes, extracting the time domain feature of the time domain signal of the single-phase current of the spindle, extracting the time domain feature of the spindle vibration time domain signal, and the frequency domain. features as well as time-frequency domain features.
所述的最优特征集是指:根据所有特征与磨损曲线的相关系数,取得在多次实验中均大于阈值的相关系数对应的特征作为有效特征;优选对有效特征进行高斯加权移动平均和归一化处理得到。The optimal feature set refers to: according to the correlation coefficients between all features and the wear curve, the features corresponding to the correlation coefficients that are greater than the threshold in multiple experiments are obtained as valid features; it is preferable to perform Gaussian weighted moving average and normalization on the valid features. One-off processing is obtained.
所述的支持向量回归机预测模型,优选为基于遗传算法参数寻优的支持向量回归模型。The support vector regression machine prediction model is preferably a support vector regression model based on genetic algorithm parameter optimization.
所述的训练,以部分刀具的全部走刀数据作为训练集,剩余部分作为测试集,选取模型磨损量预测的均方误差作为种群适应度,根据个体的适应度,进行选择、交叉、变异操作,产生新的种群并计算每个个体当前适应度;选出最优个体中与记录的最优适应度进行比较,决定是否更新最优参数和最佳适应度,经迭代训练得到最优预测模型。For the training, all the cutting data of some tools are used as the training set, the rest is used as the test set, the mean square error of the model wear amount prediction is selected as the population fitness, and selection, crossover, and mutation operations are performed according to the fitness of the individual. , generate a new population and calculate the current fitness of each individual; select the optimal individual and compare it with the recorded optimal fitness to decide whether to update the optimal parameters and optimal fitness, and obtain the optimal prediction model through iterative training .
技术效果technical effect
本发明整体所解决的技术问题是:避免使用价格高昂、工业应用性差但能最直接反映刀具磨损状况的切削力传感器,选择使用经济性好且工业应用性高的振动传感器和电流传感器进行刀具磨损预测。现有技术基于单把刀具数据建立的模型尽管预测准确度较高,但由于切削实验的复杂性和各种偶然因素的干扰,如果使用同型号的刀具在同等实验条件下重复试验,该模型的预测效果较差,即利用单把刀具建立的模型往往不适用于另一把刀,即使在完全相同的加工条件下。The technical problem solved by the present invention as a whole is: avoiding the use of cutting force sensors that are expensive and have poor industrial applicability but can most directly reflect tool wear conditions, and choose to use vibration sensors and current sensors that are economical and highly industrially applicable for tool wear. predict. Although the model established based on the data of a single tool in the prior art has high prediction accuracy, due to the complexity of the cutting experiment and the interference of various accidental factors, if the same type of tool is used to repeat the test under the same experimental conditions, the model's performance The prediction performance is poor, that is, a model built with a single tool is often not suitable for another tool, even under the exact same machining conditions.
与现有技术相比,本发明提出使用同型号刀具重复实验的数据,根据三个磨损阶段分别提取出在多组实验中重复出现的相关特征作为该阶段的最优特征集。相比于单把刀具数据在整个磨损阶段选取特征的方法,本发明可在保持较高预测精度的基础上,大大提高模型的可推广性。由此产生的意料之外的技术效果包括:Compared with the prior art, the present invention proposes to use the data of repeated experiments of the same type of tool, and extract the relevant features repeated in multiple sets of experiments according to the three wear stages as the optimal feature set of the stage. Compared with the method of selecting features from single tool data in the whole wear stage, the present invention can greatly improve the generalizability of the model on the basis of maintaining high prediction accuracy. The resulting unintended technical effects include:
通过在三个磨损阶段分别提取信号时域、频域、时频域的大量特征参数,能充分挖掘信号中潜在的和不同阶段磨损量高度相关的特征,通过计算相关系数筛选出与磨损量高度相关的特征作为最优特征集,然后进行高斯加权移动平均的后处理,可进一步提高特征和磨损量的关联程度,并提高最后预测模型的精度。By extracting a large number of characteristic parameters in the time domain, frequency domain, and time-frequency domain of the signal in the three wear stages, the potential features in the signal that are highly correlated with the wear amount in different stages can be fully explored, and the correlation coefficient can be calculated to screen out the high correlation coefficient with the wear amount. The relevant features are used as the optimal feature set, and then post-processing of Gaussian weighted moving average can be performed, which can further improve the correlation degree between the features and the wear amount, and improve the accuracy of the final prediction model.
附图说明Description of drawings
图1为本发明流程示意图;Fig. 1 is the schematic flow chart of the present invention;
图2为实施例刀具磨损量在线预测方法的流程图;Fig. 2 is the flow chart of the online prediction method of tool wear amount according to the embodiment;
图3为实施例拟合的刀具磨损量和走刀次数的磨损曲线示意图;3 is a schematic diagram of the wear curve of the tool wear amount and the number of tool passes fitted by the embodiment;
图4为实施例刀具磨损量预测模型构建的流程图;Fig. 4 is the flow chart of the construction of the tool wear amount prediction model according to the embodiment;
图5为实施例遗传算法参数寻优种群适应度变化示意图;5 is a schematic diagram of the variation of the fitness of the genetic algorithm parameter optimization population in an embodiment;
图6为实施例刀具磨损量分段预测模型整体的误差示意图。FIG. 6 is a schematic diagram of the overall error of the segmentation prediction model of the tool wear amount according to the embodiment.
具体实施方式Detailed ways
如图1和图2所示,为本实施例涉及一种刀具磨损量预测方法的具体流程,包括如下步骤:As shown in FIG. 1 and FIG. 2 , the present embodiment relates to a specific process of a tool wear amount prediction method, including the following steps:
步骤1、设置切削参数为:主轴转速2000RPM,进给速度300mm/min,切深1mm,切宽4.5mm,在该参数设置下用三把山特维克直径8mm的3刃平头立铣刀对45钢工件进行面铣方式加工,每次走刀长度为120mm,利用Kistler三轴加速度传感器采集主轴振动信号,用电流传感器采集主轴单相电流信号。Step 1. Set the cutting parameters as follows: the spindle speed is 2000RPM, the feed rate is 300mm/min, the cutting depth is 1mm, and the cutting width is 4.5mm. The steel workpiece is processed by face milling, and the length of each pass is 120mm. The vibration signal of the spindle is collected by the Kistler three-axis acceleration sensor, and the single-phase current signal of the spindle is collected by the current sensor.
所述的振动信号的采样频率为20kHz,电流信号的采样频率为5kHz。The sampling frequency of the vibration signal is 20 kHz, and the sampling frequency of the current signal is 5 kHz.
优选地,每加工一段时间后停机卸刀一次,用显微镜测量刀具后刀面磨损量并记录对应的走刀次数,三把刀分别切削290刀、280刀和320刀以后铣刀达到磨钝标准停止采集。Preferably, the tool is stopped and unloaded once after processing for a period of time, the wear of the tool flank is measured with a microscope and the corresponding number of passes is recorded. Stop collecting.
步骤2、如图3所示,为根据测量的磨损量和对应的走刀次数拟合得到磨损曲线之一,根据磨损量变化趋势划分为三个磨损阶段:初期快速磨损阶段、正常磨损阶段和急剧磨损阶段。Step 2. As shown in Figure 3, in order to obtain one of the wear curves according to the measured wear amount and the corresponding number of passes, it is divided into three wear stages according to the change trend of the wear amount: initial rapid wear stage, normal wear stage and acute wear stage.
步骤3、分别提取电流信号的时域特征、振动信号的时域特征、频域特征和时频域特征。Step 3: Extract the time domain feature of the current signal, the time domain feature, the frequency domain feature and the time-frequency domain feature of the vibration signal, respectively.
所述的时域特征包括:均值、方差、标准差、均方根、最大值、峰峰值、整流平均值、波形因子、峰值因子、峭度因子、脉冲因子、均方幅值、裕度因子、偏斜度指标。The time domain features include: mean, variance, standard deviation, root mean square, maximum value, peak-to-peak value, rectified mean value, shape factor, crest factor, kurtosis factor, impulse factor, mean square amplitude, margin factor , the skewness index.
所述的频域特征,优选在提取前先通过离散傅里叶变换得到频谱图。The frequency domain feature is preferably obtained by discrete Fourier transform to obtain a spectrogram before extraction.
所述的频域特征包括:表征频谱位置重心的重心频率、表征频谱分布的离散程度的频率方差和表征频谱主频带的位置变化的均方频率,其中:当刀具的磨损量增大时,频谱结构也发生改变而使重心频率发生变化,重心频率频率方差均方频率其中:f表示频率,w(f)为该频率对应幅值,N为采样频率。The frequency domain features include: the barycentric frequency representing the center of gravity of the spectral position, the frequency variance representing the discrete degree of the spectrum distribution, and the mean square frequency representing the position change of the main frequency band of the spectrum, wherein: when the wear amount of the tool increases, The spectral structure also changes, so that the center of gravity frequency changes, and the center of gravity frequency changes. Frequency variance mean square frequency Among them: f represents the frequency, w(f) is the amplitude corresponding to the frequency, and N is the sampling frequency.
所述的时频域特征,采用小波包分解和经验模态分解进行提取,具体为:首先用db4小波基对原始振动信号的每个分量进行4层小波包分解,然后对16个子频带分别提取能量值、各频带能量所占百分比以及各频带重构信号的时域特征。The time-frequency domain features are extracted by wavelet packet decomposition and empirical mode decomposition, specifically: first, each component of the original vibration signal is decomposed by 4 layers of wavelet packets using the db4 wavelet basis, and then the 16 sub-bands are extracted respectively. The energy value, the percentage of energy in each frequency band, and the time domain characteristics of the reconstructed signal in each frequency band.
所述的能量值其中:Ei为第i个子频带的能量值,xij为小波包分解后第i个子频带中j个分解系数;各频带能量所占百分比 the stated energy value Among them: E i is the energy value of the ith sub-band, x ij is the j decomposition coefficients in the ith sub-band after wavelet packet decomposition; the percentage of energy in each frequency band
本实施例中的经验模态分解,获取前8个信号分量,以每个分量的总能量作为特征参数。In the empirical mode decomposition in this embodiment, the first eight signal components are obtained, and the total energy of each component is used as a characteristic parameter.
步骤4、对三个磨损阶段分别计算步骤3得到的每个特征与步骤1中参数设置下走刀对应磨损量的相关系数,从而筛选出每个磨损阶段各自的最优特征集。Step 4. Calculate the correlation coefficient between each feature obtained in step 3 and the corresponding wear amount of the tool in the parameter setting in step 1 for the three wear stages, so as to screen out the respective optimal feature set for each wear stage.
所述的最优特征集是指:相关系数大于阈值且在上述三组实验中重复出现的所有特征的集合。The optimal feature set refers to the set of all features whose correlation coefficient is greater than the threshold value and which appear repeatedly in the above three groups of experiments.
所述的相关系数,即皮尔逊相关系数其中:Xi、Yi分别表示特征参数和磨损量的第i个值,分别表示该特征向量和磨损量的均值,r为皮尔逊相关系数,取值范围在[-1,1]之间,越接近区间的极值代表其相关性越强,其中1代表完全正相关,-1代表完全负相关,0代表不相关。The correlation coefficient, the Pearson correlation coefficient Among them: X i , Y i represent the i-th value of the characteristic parameter and the wear amount, respectively, Represent the mean value of the eigenvector and the wear amount, respectively, r is the Pearson correlation coefficient, the value range is between [-1, 1], the closer to the extreme value of the interval, the stronger the correlation, where 1 represents a complete positive correlation , -1 means completely negative correlation, 0 means no correlation.
所述的三个磨损阶段的阈值优选为0.9、0.6和0.8。The thresholds for the three wear stages are preferably 0.9, 0.6 and 0.8.
步骤5、对最优特征集中的每个特征依次进行高斯加权移动平均和归一化处理得到规整特征集。Step 5: Perform Gaussian weighted moving average and normalization processing on each feature in the optimal feature set in turn to obtain a regular feature set.
本实施例中三个磨损阶段的移动平均的数据滑动窗口大小选择分别为25、60、65。In this embodiment, the moving average data sliding window sizes of the three wear stages are selected as 25, 60, and 65, respectively.
所述的归一化处理是指:最大最小归一化法,通过线性变换将原始数据转换到[0,1]区间内,公式为:其中:x为输入值,y为归一化后的值,xmin、xmax分别表示该序列最小和最大值。The normalization processing refers to the maximum and minimum normalization method, which converts the original data into the [0,1] interval through linear transformation, and the formula is: Where: x is the input value, y is the normalized value, and x min and x max represent the minimum and maximum values of the sequence, respectively.
步骤6、以规整特征集作为输入、刀具磨损量作为输出、步骤1所得数据作为测试集和训练集数据分三个磨损阶段分别构建并训练基于遗传算法参数寻优的支持向量回归机模型,并将训练后的模型用于实际加工过程中的在线实时预测刀具磨损量。Step 6. Take the regular feature set as the input, the tool wear amount as the output, and the data obtained in step 1 as the test set and the training set data. Build and train the support vector regression machine model based on genetic algorithm parameter optimization in three wear stages respectively, and The trained model is used for online real-time prediction of tool wear during actual machining.
所述的测试集和训练集是指:在步骤1采集到的三把刀的890个样本中,选取两把刀的全部样本作为训练集数据,剩余一把刀的样本作为测试集数据。The test set and training set refer to: in the 890 samples of the three knives collected in step 1, all the samples of the two knives are selected as the training set data, and the samples of the remaining one knife are selected as the test set data.
所述的支持向量回归机模型中需要寻优的参数为惩罚系数、容错间隔带,具体步骤包括:The parameters that need to be optimized in the support vector regression machine model are the penalty coefficient and the fault tolerance interval, and the specific steps include:
①给定训练样本{(xi,yi),i=1,…,n|xi∈RN,y∈R},希望拟合一个函数f,使f(xi)与yi的差值尽可能的小,在支持向量回归机模型中设置最大偏差为ε,则只有当|f(xi)-yi|>ε时,才计算误差。这就相当于以f(x)为中心,构建一个宽度为2ε的间隔带,当样本落入其中,则被认为预测没有偏差,f(x)=<w,x>+b,其中w、b分别为权重和偏置项。① Given the training samples {(x i , y i ), i=1,...,n|x i ∈R N ,y∈R}, I hope to fit a function f such that f( xi ) and yi i The difference is as small as possible, and the maximum deviation is set to ε in the support vector regression machine model, and the error is calculated only when |f(x i )-y i |>ε. This is equivalent to constructing an interval band with a width of 2ε taking f(x) as the center. When the sample falls into it, it is considered that the prediction is not biased, f(x)=<w,x>+b, where w, b are the weight and bias terms, respectively.
②通过引入惩罚参数C和松弛变量ξ,支持向量回归问题可转化为:②By introducing the penalty parameter C and the slack variable ξ, the support vector regression problem can be transformed into:
通过引入拉格朗日乘子,将该约束优化问题转换为无约束问题,拉格朗日函数:This constrained optimization problem is transformed into an unconstrained problem by introducing Lagrangian multipliers, the Lagrangian function:
③根据约束问题最优解的必要条件,即KKT条件:③ According to the necessary conditions for the optimal solution of the constraint problem, that is, the KKT condition:
将上式带入可求得对偶问题:Bringing the above formula into the dual problem can be solved:
得到 get
因此,本实施例中寻优区间设置为C∈[0,35],ε∈[0.005,1]。therefore, In this embodiment, the optimization interval is set as C∈[0,35],ε∈[0.005,1].
如图4所示,为刀具磨损量预测模型构建的流程图,本实施例中构建和训练过程具体步骤包括:As shown in FIG. 4 , which is a flowchart for constructing a tool wear amount prediction model, the specific steps of the construction and training process in this embodiment include:
步骤6.1:选取模型磨损量预测的均方误差作为种群适应度,设置种群中个体数目为20,最大进化代数为50以及两个参数的寻优区间;Step 6.1: Select the mean square error of the model wear amount prediction as the population fitness, set the number of individuals in the population to 20, the maximum evolutionary generation to 50 and the optimization interval of the two parameters;
步骤6.2:初始化种群,计算每个个体的适应度值,记录初始参数为最优参数、初始适应度值为最优适应度;Step 6.2: Initialize the population, calculate the fitness value of each individual, record the initial parameter as the optimal parameter, and the initial fitness value as the optimal fitness;
步骤6.3:根据个体的适应度,进行选择、交叉、变异操作,产生新的种群并计算每个个体当前适应度;选出最优个体中与记录的最优适应度进行比较,决定是否更新最优参数和最佳适应度;Step 6.3: According to the fitness of the individual, perform selection, crossover, and mutation operations to generate a new population and calculate the current fitness of each individual; select the optimal individual and compare it with the recorded optimal fitness to decide whether to update the optimal fitness. optimal parameters and optimal fitness;
步骤6.4:当达到最大迭代次数或满足终止条件时输出当前最优参数,否则回到步骤6.3;Step 6.4: When the maximum number of iterations is reached or the termination condition is met, output the current optimal parameters, otherwise go back to Step 6.3;
步骤6.5:将获取的最优参数作为支持向量回归机模型的最终参数,构建最优预测模型。Step 6.5: Use the obtained optimal parameters as the final parameters of the support vector regression machine model to construct an optimal prediction model.
所述的在线实时预测是指:按照步骤1、3、4、5中特征采集、提取、筛选后后处理方法获取特征集作为所述支持向量回归机模型的输入,实时获取其输出即为当前状态下刀具磨损量的预测值。The online real-time prediction refers to: obtaining the feature set as the input of the support vector regression machine model according to the feature collection, extraction, and screening post-processing methods in
如图4所示,为本实施例中遗传算法参数寻优过程中正常磨损阶段种群最佳适应度和平均适应度随代数的变化情况,如图5所示,为本实施例中刀具磨损量分段最优预测模型在整个测试集上的误差图。As shown in Figure 4, in the process of genetic algorithm parameter optimization in this embodiment, the best fitness and average fitness of the population in the normal wear stage change with algebra. As shown in Figure 5, the tool wear amount in this embodiment Error map of the piecewise optimal prediction model over the entire test set.
如下表所示,为本实施例中在测试集上的预测精度:As shown in the following table, the prediction accuracy on the test set in this example:
可以看到,采用本方法构建的模型仍具有较高的预测精度,在整个测试集上的平均相对误差为14.56%,平均绝对误差为9.3552μm。虽然最大绝对误差高达57.4960μm,但除了最开始和接近磨钝阶段误差较大,中间部分的绝对误差均在12μm以下。It can be seen that the model constructed by this method still has high prediction accuracy, with an average relative error of 14.56% and an average absolute error of 9.3552 μm on the entire test set. Although the maximum absolute error is as high as 57.4960μm, except for the larger error at the beginning and near the blunt stage, the absolute error in the middle part is below 12μm.
本发明利用主轴振动和电流这两种易于采集的加工信号,相比大多数以单把刀具全寿命实验数据划分训练集和测试集,并以在测试集上的预测精度作为评价指标的方法,本发明更侧重模型的可推广性,故采用多把刀的实验数据作为训练集,并将建立的模型在另一把刀上进行预测验证模型的准确度,实施例中预测结果证明了本发明建模方法的可推广性;相比多数方法中以刀具从新刀到磨钝的整个过程作为整体进行特征提取,本发明根据三个磨损阶段分别进行特征提取,在保证较高预测精度的情况下,能较好地排除加工环境和偶然因素的干扰,对于同型号刀具同一工况的实验条件下的刀具磨损预测有很好的适应性和推广性。Compared with most methods that divide the training set and the test set with the experimental data of the full life of a single tool, and use the prediction accuracy on the test set as the evaluation index, the present invention utilizes two kinds of processing signals that are easy to collect, namely the spindle vibration and the current. The invention focuses more on the generalizability of the model, so the experimental data of multiple knives are used as the training set, and the established model is predicted on another knife to verify the accuracy of the model. The prediction results in the examples prove the invention. The generalizability of the modeling method; compared with most methods, the whole process of the tool from new to blunt is used as a whole for feature extraction. The present invention performs feature extraction according to the three wear stages respectively, and under the condition of ensuring high prediction accuracy , which can better eliminate the interference of processing environment and accidental factors, and has good adaptability and generalization for tool wear prediction under the experimental conditions of the same type of tool and the same working condition.
上述具体实施可由本领域技术人员在不背离本发明原理和宗旨的前提下以不同的方式对其进行局部调整,本发明的保护范围以权利要求书为准且不由上述具体实施所限,在其范围内的各个实现方案均受本发明之约束。The above-mentioned specific implementation can be partially adjusted by those skilled in the art in different ways without departing from the principle and purpose of the present invention. The protection scope of the present invention is based on the claims and is not limited by the above-mentioned specific implementation. Each implementation within the scope is bound by the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911199533.6A CN111300146B (en) | 2019-11-29 | 2019-11-29 | Online prediction method of tool wear amount of CNC machine tool based on spindle current and vibration signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911199533.6A CN111300146B (en) | 2019-11-29 | 2019-11-29 | Online prediction method of tool wear amount of CNC machine tool based on spindle current and vibration signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111300146A true CN111300146A (en) | 2020-06-19 |
CN111300146B CN111300146B (en) | 2021-04-02 |
Family
ID=71157932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911199533.6A Active CN111300146B (en) | 2019-11-29 | 2019-11-29 | Online prediction method of tool wear amount of CNC machine tool based on spindle current and vibration signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111300146B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111721835A (en) * | 2020-06-28 | 2020-09-29 | 上海理工大学 | Intelligent monitoring method for grinding wheel state of hollow drill |
CN111716150A (en) * | 2020-06-30 | 2020-09-29 | 大连理工大学 | An evolutionary learning method for intelligent monitoring of tool status |
CN111975453A (en) * | 2020-07-08 | 2020-11-24 | 温州大学 | A numerical simulation-driven tool state monitoring method in machining process |
CN112008495A (en) * | 2020-07-28 | 2020-12-01 | 成都飞机工业(集团)有限责任公司 | Cutter damage identification method based on vibration monitoring |
CN112179947A (en) * | 2020-09-27 | 2021-01-05 | 上海飞机制造有限公司 | Cutter wear early warning method based on multi-feature factor statistics |
CN112372371A (en) * | 2020-10-10 | 2021-02-19 | 上海交通大学 | Method for evaluating abrasion state of numerical control machine tool cutter |
CN112720071A (en) * | 2021-01-27 | 2021-04-30 | 赛腾机电科技(常州)有限公司 | Cutter real-time state monitoring index construction method based on intelligent fusion of multi-energy domain signals |
CN112764391A (en) * | 2020-12-29 | 2021-05-07 | 浙江大学 | Dynamic adjustment method for tool fleeing of numerical control gear hobbing machine tool |
CN112757053A (en) * | 2020-12-25 | 2021-05-07 | 清华大学 | Model fusion tool wear monitoring method and system based on power and vibration signals |
CN112917242A (en) * | 2021-02-07 | 2021-06-08 | 中国矿业大学 | Cutting method for prolonging service life of cutter |
CN113618491A (en) * | 2021-08-23 | 2021-11-09 | 浙江工业大学 | Method for establishing broach wear state recognition model |
CN114161227A (en) * | 2021-12-28 | 2022-03-11 | 福州大学 | A Tool Wear Monitoring Method Based on Fusion of Simulation Features and Signal Features |
CN114248152A (en) * | 2021-12-31 | 2022-03-29 | 江苏洵谷智能科技有限公司 | Cutter wear state evaluation method based on optimization features and lion group optimization SVM |
CN114536104A (en) * | 2022-03-25 | 2022-05-27 | 成都飞机工业(集团)有限责任公司 | Dynamic prediction method for tool life |
CN114888635A (en) * | 2022-04-27 | 2022-08-12 | 哈尔滨理工大学 | Cutter state monitoring method |
CN115157005A (en) * | 2022-08-12 | 2022-10-11 | 华侨大学 | Cutter wear monitoring method, device, equipment and storage medium based on strain |
CN115431099A (en) * | 2022-08-17 | 2022-12-06 | 南京工大数控科技有限公司 | Method for calculating and compensating abrasion loss of milling cutter disc in real time based on spindle current |
CN115563872A (en) * | 2022-10-10 | 2023-01-03 | 中铁十八局集团有限公司 | A Prediction Method of TBM Hob Wear Amount Based on DE-SVR Algorithm |
CN116449770A (en) * | 2023-06-15 | 2023-07-18 | 中科航迈数控软件(深圳)有限公司 | Machining method, device and equipment of numerical control machine tool and computer storage medium |
CN118963155A (en) * | 2024-10-21 | 2024-11-15 | 南通京佳精密科技有限公司 | A method and system for intelligent control of numerical control machine tools |
CN119126676A (en) * | 2024-11-08 | 2024-12-13 | 广州宝力特液压技术有限公司 | Control system and control method for processing machine tool |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4514797A (en) * | 1982-09-03 | 1985-04-30 | Gte Valeron Corporation | Worn tool detector utilizing normalized vibration signals |
CN102091972A (en) * | 2010-12-28 | 2011-06-15 | 华中科技大学 | Numerical control machine tool wear monitoring method |
RU2015114109A (en) * | 2015-04-17 | 2016-11-10 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Нижегородский государственный технический университет им. Р.Е. Алексеева" (НГТУ) | A method for determining the resistance parameters of a cutting tool during processing on CNC machines |
FR3034693B1 (en) * | 2015-04-13 | 2018-01-12 | Centre Technique Des Industries Mecaniques Et Du Decolletage | METHOD OF MONITORING A MILLING PROCESS |
CN108581633A (en) * | 2018-04-11 | 2018-09-28 | 温州大学 | A method of based on the more sensor monitoring cutting tool states of genetic algorithm optimization |
CN108620949A (en) * | 2017-03-24 | 2018-10-09 | 郑芳田 | Cutter abrasion monitoring and prediction technique |
CN108857577A (en) * | 2018-08-31 | 2018-11-23 | 上海实极机器人自动化有限公司 | Cutting-tool wear state monitoring method and equipment |
CN109015111A (en) * | 2018-07-06 | 2018-12-18 | 华中科技大学 | A kind of cutting tool state on-line monitoring method based on information fusion and support vector machines |
CN109158953A (en) * | 2018-09-04 | 2019-01-08 | 温州大学激光与光电智能制造研究院 | A kind of cutting-tool wear state on-line monitoring method and system |
CN109753923A (en) * | 2018-12-29 | 2019-05-14 | 晋西车轴股份有限公司 | Method, system, device and computer-readable storage medium for monitoring tool wear amount |
CN110263474A (en) * | 2019-06-27 | 2019-09-20 | 重庆理工大学 | A kind of cutter life real-time predicting method of numerically-controlled machine tool |
CN110303380A (en) * | 2019-07-05 | 2019-10-08 | 重庆邮电大学 | A method for predicting the remaining life of CNC machine tools |
CN110488754A (en) * | 2019-08-09 | 2019-11-22 | 大连理工大学 | A kind of lathe self-adaptation control method based on GA-BP neural network algorithm |
-
2019
- 2019-11-29 CN CN201911199533.6A patent/CN111300146B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4514797A (en) * | 1982-09-03 | 1985-04-30 | Gte Valeron Corporation | Worn tool detector utilizing normalized vibration signals |
CN102091972A (en) * | 2010-12-28 | 2011-06-15 | 华中科技大学 | Numerical control machine tool wear monitoring method |
FR3034693B1 (en) * | 2015-04-13 | 2018-01-12 | Centre Technique Des Industries Mecaniques Et Du Decolletage | METHOD OF MONITORING A MILLING PROCESS |
RU2015114109A (en) * | 2015-04-17 | 2016-11-10 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Нижегородский государственный технический университет им. Р.Е. Алексеева" (НГТУ) | A method for determining the resistance parameters of a cutting tool during processing on CNC machines |
CN108620949A (en) * | 2017-03-24 | 2018-10-09 | 郑芳田 | Cutter abrasion monitoring and prediction technique |
CN108581633A (en) * | 2018-04-11 | 2018-09-28 | 温州大学 | A method of based on the more sensor monitoring cutting tool states of genetic algorithm optimization |
CN109015111A (en) * | 2018-07-06 | 2018-12-18 | 华中科技大学 | A kind of cutting tool state on-line monitoring method based on information fusion and support vector machines |
CN108857577A (en) * | 2018-08-31 | 2018-11-23 | 上海实极机器人自动化有限公司 | Cutting-tool wear state monitoring method and equipment |
CN109158953A (en) * | 2018-09-04 | 2019-01-08 | 温州大学激光与光电智能制造研究院 | A kind of cutting-tool wear state on-line monitoring method and system |
CN109753923A (en) * | 2018-12-29 | 2019-05-14 | 晋西车轴股份有限公司 | Method, system, device and computer-readable storage medium for monitoring tool wear amount |
CN110263474A (en) * | 2019-06-27 | 2019-09-20 | 重庆理工大学 | A kind of cutter life real-time predicting method of numerically-controlled machine tool |
CN110303380A (en) * | 2019-07-05 | 2019-10-08 | 重庆邮电大学 | A method for predicting the remaining life of CNC machine tools |
CN110488754A (en) * | 2019-08-09 | 2019-11-22 | 大连理工大学 | A kind of lathe self-adaptation control method based on GA-BP neural network algorithm |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111721835A (en) * | 2020-06-28 | 2020-09-29 | 上海理工大学 | Intelligent monitoring method for grinding wheel state of hollow drill |
CN111721835B (en) * | 2020-06-28 | 2023-03-31 | 上海理工大学 | Intelligent monitoring method for grinding wheel state of hollow drill |
CN111716150A (en) * | 2020-06-30 | 2020-09-29 | 大连理工大学 | An evolutionary learning method for intelligent monitoring of tool status |
CN111975453B (en) * | 2020-07-08 | 2022-03-08 | 温州大学 | Numerical simulation driven machining process cutter state monitoring method |
CN111975453A (en) * | 2020-07-08 | 2020-11-24 | 温州大学 | A numerical simulation-driven tool state monitoring method in machining process |
CN112008495A (en) * | 2020-07-28 | 2020-12-01 | 成都飞机工业(集团)有限责任公司 | Cutter damage identification method based on vibration monitoring |
CN112179947A (en) * | 2020-09-27 | 2021-01-05 | 上海飞机制造有限公司 | Cutter wear early warning method based on multi-feature factor statistics |
CN112179947B (en) * | 2020-09-27 | 2023-11-17 | 上海飞机制造有限公司 | Cutter abrasion early warning method based on multi-feature factor statistics |
CN112372371A (en) * | 2020-10-10 | 2021-02-19 | 上海交通大学 | Method for evaluating abrasion state of numerical control machine tool cutter |
CN112757053A (en) * | 2020-12-25 | 2021-05-07 | 清华大学 | Model fusion tool wear monitoring method and system based on power and vibration signals |
CN112764391B (en) * | 2020-12-29 | 2022-04-26 | 浙江大学 | Dynamic adjustment method for tool fleeing of numerical control gear hobbing machine tool |
CN112764391A (en) * | 2020-12-29 | 2021-05-07 | 浙江大学 | Dynamic adjustment method for tool fleeing of numerical control gear hobbing machine tool |
CN112720071B (en) * | 2021-01-27 | 2021-11-30 | 赛腾机电科技(常州)有限公司 | Cutter real-time state monitoring index construction method based on intelligent fusion of multi-energy domain signals |
CN112720071A (en) * | 2021-01-27 | 2021-04-30 | 赛腾机电科技(常州)有限公司 | Cutter real-time state monitoring index construction method based on intelligent fusion of multi-energy domain signals |
CN112917242A (en) * | 2021-02-07 | 2021-06-08 | 中国矿业大学 | Cutting method for prolonging service life of cutter |
CN113618491A (en) * | 2021-08-23 | 2021-11-09 | 浙江工业大学 | Method for establishing broach wear state recognition model |
CN114161227A (en) * | 2021-12-28 | 2022-03-11 | 福州大学 | A Tool Wear Monitoring Method Based on Fusion of Simulation Features and Signal Features |
CN114161227B (en) * | 2021-12-28 | 2024-05-03 | 福州大学 | Cutter abrasion loss monitoring method based on simulation feature and signal feature fusion |
CN114248152A (en) * | 2021-12-31 | 2022-03-29 | 江苏洵谷智能科技有限公司 | Cutter wear state evaluation method based on optimization features and lion group optimization SVM |
CN114248152B (en) * | 2021-12-31 | 2024-05-10 | 江苏洵谷智能科技有限公司 | Cutter abrasion state evaluation method based on optimization features and lion group optimization SVM |
CN114536104A (en) * | 2022-03-25 | 2022-05-27 | 成都飞机工业(集团)有限责任公司 | Dynamic prediction method for tool life |
CN114888635B (en) * | 2022-04-27 | 2023-07-25 | 哈尔滨理工大学 | Cutter state monitoring method |
CN114888635A (en) * | 2022-04-27 | 2022-08-12 | 哈尔滨理工大学 | Cutter state monitoring method |
CN115157005B (en) * | 2022-08-12 | 2023-12-05 | 华侨大学 | Strain-based tool wear monitoring method, device, equipment and storage medium |
CN115157005A (en) * | 2022-08-12 | 2022-10-11 | 华侨大学 | Cutter wear monitoring method, device, equipment and storage medium based on strain |
CN115431099A (en) * | 2022-08-17 | 2022-12-06 | 南京工大数控科技有限公司 | Method for calculating and compensating abrasion loss of milling cutter disc in real time based on spindle current |
CN115563872A (en) * | 2022-10-10 | 2023-01-03 | 中铁十八局集团有限公司 | A Prediction Method of TBM Hob Wear Amount Based on DE-SVR Algorithm |
CN115563872B (en) * | 2022-10-10 | 2024-04-12 | 中铁十八局集团有限公司 | TBM hob abrasion loss prediction method based on DE-SVR algorithm |
CN116449770A (en) * | 2023-06-15 | 2023-07-18 | 中科航迈数控软件(深圳)有限公司 | Machining method, device and equipment of numerical control machine tool and computer storage medium |
CN116449770B (en) * | 2023-06-15 | 2023-09-15 | 中科航迈数控软件(深圳)有限公司 | Machining method, device and equipment of numerical control machine tool and computer storage medium |
CN118963155A (en) * | 2024-10-21 | 2024-11-15 | 南通京佳精密科技有限公司 | A method and system for intelligent control of numerical control machine tools |
CN119126676A (en) * | 2024-11-08 | 2024-12-13 | 广州宝力特液压技术有限公司 | Control system and control method for processing machine tool |
Also Published As
Publication number | Publication date |
---|---|
CN111300146B (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111300146A (en) | Numerical control machine tool cutter abrasion loss online prediction method based on spindle current and vibration signal | |
CN103786069B (en) | Flutter online monitoring method for machining equipment | |
CN104723171B (en) | Cutter wear monitoring method based on current and acoustic emission compound signals | |
CN114619292B (en) | A Milling Tool Wear Monitoring Method Based on Wavelet Noise Reduction and Attention Mechanism Fusion GRU Network | |
WO2022156330A1 (en) | Fault diagnosis method for rotating device | |
CN101870076B (en) | Method for predicting service life of guide pair of numerical control machine on basis of performance degradation model | |
CN106002483B (en) | A kind of intelligent tool method for diagnosing faults | |
CN113927371A (en) | Cutter wear prediction method based on multi-sensor feature fusion | |
CN112692646B (en) | A method and device for intelligent evaluation of tool wear state | |
CN112528955B (en) | High-frequency element machining size precision prediction method and system | |
CN101710235A (en) | Method for automatically identifying and monitoring on-line machined workpieces of numerical control machine tool | |
CN103962888A (en) | Tool abrasion monitoring method based on wavelet denoising and Hilbert-Huang transformation | |
CN110000610A (en) | A kind of Tool Wear Monitoring method based on multi-sensor information fusion and depth confidence network | |
CN111476430A (en) | Tool residual life prediction method based on machine learning regression algorithm | |
CN113579851B (en) | Non-stationary drilling process monitoring method based on adaptive segmented PCA | |
CN116070527B (en) | Prediction Method of Remaining Life of Milling Tool Based on Degradation Model | |
CN113126564B (en) | Digital twin driven numerical control milling cutter abrasion on-line monitoring method | |
CN106842922A (en) | A kind of NC Machining Error optimization method | |
CN113485244A (en) | Numerical control machine tool control system and method based on cutter wear prediction | |
CN112372371B (en) | Method for evaluating abrasion state of numerical control machine tool cutter | |
CN111168471A (en) | A method for monitoring tool wear of CNC machine tools | |
CN113752089A (en) | Cutter state monitoring method based on singularity Leersian index | |
CN114749996A (en) | Tool residual life prediction method based on deep learning and time sequence regression model | |
CN114492527A (en) | On-line prediction method of surface roughness based on fuzzy neural network and principal component analysis | |
CN102889988B (en) | Precision prediction method of ball screw pair |
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 |