Data Augmentation Method Based On Generative Adversarial Networks In Tool Condition Monitoring
20210197335 · 2021-07-01
Inventors
- Yongqing WANG (Dalian, Liaoning, CN)
- Mengmeng NIU (Dalian, Liaoning, CN)
- Kuo LIU (Dalian, Liaoning, CN)
- Bo QIN (Dalian, Liaoning, CN)
- Mingrui SHEN (Dalian, Liaoning, CN)
- Dawei LI (Dalian, Liaoning, CN)
Cpc classification
B23Q17/0976
PERFORMING OPERATIONS; TRANSPORTING
B23Q2717/00
PERFORMING OPERATIONS; TRANSPORTING
International classification
B23Q17/09
PERFORMING OPERATIONS; TRANSPORTING
Abstract
The invention provides a data augmentation method based on generative adversarial networks in tool condition monitoring. Firstly, the sensor acquisition system is used to obtain the vibration signal and noise signal during the cutting process of the tool; second, the noise data subject to the prior distribution is input to the generator to generate data, and the generated data and the collected real sample data are input to the discriminator for identification, the confrontation training between the generator and the discriminator until the training is completed; then, use the trained generator to generate sample data, and determine whether the generated sample data and the actual tool state sample data are similar in distribution; finally, combined with the accuracy of the deep learning network model to predict the state of the tool to verify the availability of the generated data.
Claims
1. A data augmentation method based on generative adversarial networks in tool condition monitoring, firstly, sensor acquisition system is used to obtain vibration signal and noise signal during cutting process of the tool; second, noise data subject to prior distribution is input to generator to generate data, and the generated data and collected real sample data are input to discriminator for identification, confrontation training between the generator and the discriminator until training is completed; then, use the trained generator to generate sample data, and determine whether the generated sample data and actual tool state sample data are similar in distribution; finally, combined with accuracy of deep learning network model to predict state of the tool to verify availability of the generated data; wherein the steps are as follows: first step, collect vibration and sound signals during tool cutting two acceleration sensors are installed on nose of spindle and front bearing of the spindle respectively to collect the vibration signals during machining process, and acoustic sensor is installed on worktable to collect cutting noise signals during the machining process; second step, build a generative adversarial network model and conduct adversarial training the generative adversarial network framework adopted by the method is composed of a generator and a discriminator; both the generator and the discriminator are multi-layer perceptron structures, where the generator is responsible for generating pseudo data with the same dimensions as real data, and the discriminator is responsible for distinguishing the real data from the generated data; during the adversarial training process, the generator attempts to use generated pseudo data to fool the discriminator to make it discriminate true, and the discriminator distinguishes the generated data and the real data by improving its discriminating ability, and the two play the game, and eventually reach Nash equilibrium, that is, the sample data generated by the generator is no different from the real sample data, and the discriminator cannot distinguish the generated sample data from the real sample data; the number of tool state samples collected by the method is 1, and dimension of the vibration signal is 6000, which is set to {v.sup.(i)}.sub.i=1.sup.l, where v.sup.(i)∈.sup.(m), m=6000, dimension of the noise data set is 1000, which is set to {n.sup.(i)}.sub.i=1.sup.l, where n.sup.(i)∈
.sup.(k), k=1000, tool state data set {tool.sup.(i)}.sub.i=1.sup.l={v.sup.(i), n.sup.(i)}.sub.i=1.sup.l, where tool.sup.(i)∈
.sup.(u), u=7000; the tool state data set of input discriminator is normalized by the maximum-minimum method, so that the input data is converted into a number between [0,1], and after the sample data is generated, inverse normalization processing is carried out, form of normalization function is shown in formula (1), and form of inverse normalization function is shown in formula (2):
h.sup.i=ƒ.sub.θ(w*tool.sup.(i)′+b) (3) where, ƒ is activation function and θ={w,b} is parameter matrix of the network, where w is connection weight between neurons in the input layer, hidden layer, and output layer, and b is threshold of neurons in the hidden layer and output layer; the activation function of the hidden layer uses ReLU function, and the function form is as shown in formula (4):
Description
DRAWINGS
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] In the picture: 1 workpiece holder; 2 workpiece; 3 machine tool gear box; 4 microphone; 5 bed; 6 1# three-way acceleration sensor; 7 cutter bar; 8 2# three-way acceleration sensor; 9 cutter bar holder.
DETAILED DESCRIPTION
[0040] In order to make the objects, technical solutions, and advantages of the present invention more clear, an embodiment of the present invention will be described in detail with reference to
[0041] The two three-way acceleration sensors are adsorbed and pasted on the two cage bearings of the deep hole boring bar through the magnetic base, and the sound sensor is placed at one end of the inner hole of the workpiece to collect the cutter bar vibration and cutting noise in the process of machining. The installation position of the sensor is shown in
TABLE-US-00001 TABLE 1 Sample size tool state normal broken Blunt number of 1360 87 22 samples
[0042] The sample data of the blunt state in Table 1 is obviously less than the sample data of the normal state and the broken state, so we generate the sample data of the blunt state.
[0043] In the generative adversarial network model adopted by the invention, the generator and the discriminator both adopt a three-layer fully connected neural network model, in which the number of neurons in the hidden layer of the generator and discriminator is set to 125, and the number of neurons in the input layer of the generator is 100. The network structure is shown in
[0044] The trained generator is used to generate sample data, and MATLAB is used to make the time-frequency diagram of the real sample data and the generated sample data, as shown in
[0045] The deep learning network adopts the deep belief networks model, and the parameter settings are as follows: the learning rate is 0.001; the number of iterations of the unsupervised training process is 100, and the number of iterations of the fine-tuning process is 200. The hidden layer has three layers, and the number of neurons in each layer is 100, 60, and 30, respectively. Since the momentum gradient descent method is superior to the gradient descent method, we use the momentum gradient descent method to optimize the parameters, and the momentum term is 0.9. The sample data is shown in Table 2. The original unbalanced data set and enhanced data set are divided into training set and test set according to the ratio of 4:1, respectively. The network is trained by training set and tested on the test set.
[0046] From the results, the test accuracy of the unbalanced data set is 97.1%, and the error rate is 2.9%; the test accuracy of the enhanced data set is 99.2%, and the error rate is 0.8%. The comparison between the two shows that the prediction accuracy of the deep learning network model has increased by 2.9%, while the error rate has dropped by more than three times. This verifies the availability of the generated sample data. The training process and training results of the enhanced data set on the deep learning network are shown in
TABLE-US-00002 TABLE 2 Sample size tool state normal broken Blunt number of 1360 87 88 samples