On-line prediction method of surface roughness based on fuzzy neural network and principal component analysis
By combining fuzzy neural network and principal component analysis, the characteristics of acoustic emission and vibration signals during the grinding process are extracted, the dimensionality is reduced and a prediction model is constructed, which solves the problem of insufficient signal from a single sensor and improves the accuracy of surface roughness during the grinding process. Prediction accuracy enables high-accuracy online monitoring.
Patent Information
- Application Number
- CN202210098084.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-27
AI Technical Summary
During the grinding process, a single sensor signal is susceptible to interference and has insufficient information, resulting in low surface roughness prediction accuracy, and large errors in artificial experience-based feature parameter selection, resulting in low model prediction accuracy.
A surface roughness prediction method based on fuzzy neural network and principal component analysis is adopted. By collecting acoustic emission and vibration signals during the grinding process, time domain, frequency domain and wavelet packet features are extracted, and principal component analysis is used to reduce dimensionality and construct fuzzy neural Network prediction model to improve prediction accuracy.
It achieves high-accuracy identification of workpiece surface roughness, and the feature information after dimensionality reduction is better. The model prediction accuracy reaches more than 91%, which is better than other dimensionality reduction methods and improves the level of online prediction technology.
Smart Images

Figure CN114492527B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an online detection method for the surface roughness of a workpiece in a grinding process, in particular to an online prediction method for the surface roughness based on fuzzy neural network and principal component analysis. Background Art
[0002] There are many factors that affect the surface roughness of the workpiece during the grinding process, including feed speed, grinding amount, grinding wheel speed, grinding wheel dressing condition, composition of the workpiece material and some uncertain factors in the processing process. The grinding process is dynamic, and many factors affecting the surface roughness, such as grinding amount, workpiece material, and grinding vibration, are constantly changing. The monitoring process of the workpiece surface roughness affects the processing quality and efficiency. If the surface roughness of the workpiece can be detected in real time and the processing parameters in the production process can be controlled in time, the waste of manpower, raw materials and processing time can be avoided. The surface roughness can be predicted in real time by online monitoring of relevant physical quantities in the processing process. For example, vibration acceleration signals and acoustic emission signals can effectively reflect the changes in the surface roughness of the workpiece. Many scholars have used these sensor signals to establish prediction models to achieve online prediction of surface roughness. In terms of prediction using vibration signals, Chi Jun et al. (Chi Jun, Chen Lianqing, Yang Chaozhen. Prediction method of cutting surface roughness based on wavelet packet analysis and Elman network [J]. China Mechanical Engineering, 2010 (7): 822–826.) used wavelet packet analysis of vibration signals and loose wavelet networks to achieve online prediction of surface roughness. Upadhyay et al. processed the signal according to the time domain analysis method of vibration signals and combined it with cutting parameters to achieve online monitoring of surface roughness. Plaza et al. proposed to use singular spectrum analysis method in time domain and analyze vibration signals only through empirical orthogonal functions to monitor the surface roughness of online processing. In terms of prediction using acoustic emission signals, Hu Zhongxiang et al. (Hu Zhongxiang, Teng Jiaxu, Qian Yaochuan, Wang Yibo. Prediction of grinding surface roughness using acoustic emission signals and improved BP neural network [J]. Journal of the Academy of Armored Forces Engineering, 2009, 23 (6): 76-79.) used improved BP neural network and took the characteristic quantity of grinding acoustic emission signals as input to predict surface roughness. Wang Yan et al. (Wang Yan, Wang Jianbo, Wang Qiang et al. Online monitoring of surface roughness of wire-cut machining using time-frequency characteristics of acoustic emission signals [J]. Optical Precision Engineering, 2017, 25(8): 2090-2097) used the energy characteristics of wavelet packet decomposition of acoustic emission signals to predict the surface roughness of wire-cut machining. Guo Li et al. (Guo Li, Deng Yu. Acoustic emission prediction of cast iron surface roughness using genetic algorithm to optimize neural network [J]. Mechanical Science and Technology, 2018, 37(10): 1512-1516) used genetic algorithm to optimize BP neural network, and used the root mean square of acoustic emission and fast Fourier transform peak as characteristic values to predict the surface roughness of cast iron.The above studies all use only the characteristic quantities of vibration signals or acoustic emission signals to predict the surface roughness of workpieces. Single sensor signals are susceptible to external interference and may have insufficient information. They fail to fully utilize the effective information transmitted by the sensor during the processing, making the modeling process time-consuming and cumbersome and may cause large prediction errors.
[0003] Affected by many factors in the machining process, different scholars choose different machining parameters when predicting surface roughness. Sun Lin et al. (Sun Lin, Yang Shiyuan. Prediction of surface roughness of form grinding and optimization of grinding parameters based on least squares support vector machine [J]. Journal of Mechanical Engineering, 2009, 45 (10): 254-260) proposed to predict the surface roughness of grinding using only grinding parameters based on least squares support vector machine. Wang Zhenhua et al. (Wang Zhenhua, Zhao Chenggang, Yuan Juntang, Hu Xiaoqiu, Deng Wen. Study on the variation law of surface roughness and milling parameter optimization of high-speed milling AlMn1Cu [J]. Journal of Nanjing University of Science and Technology (Natural Science Edition), 2010, 34 (4): 537-542) obtained the significant influencing factors of surface roughness, namely back cutting depth, feed per tooth, and spindle speed, and used the least squares method to establish a model to predict the surface roughness of rust-proof aluminum alloy processed by cutting. Chen Lianqing et al. (Chen Lianqing, Guo Jianliang, Yang Xun et al. Grinding roughness prediction model based on evolutionary neural network [J]. Computer Integrated Manufacturing Systems, 2013, 19(11): 2854-2863) used genetic algorithm combined with back propagation neural network to predict surface roughness with feed speed, workpiece speed and feed rate as input. Zheng Gang et al. (Zheng Gang, Ma Jingchao, Wu Yan, Zhang Ergeng. Research on milling process parameter optimization method based on fuzzy prediction [J]. Combined Machine Tool and Automated Processing Technology. 2020, 01(1): 136-140) used fuzzy optimization theory to prioritize the three factors of material removal rate, total milling force and residual stress, and established a model for roughness prediction. These methods mostly predict by constructing a relationship model between surface roughness and empirical factors such as processing parameters, tools, and workpiece materials. Due to different model selection and parameter adjustment, the prediction accuracy of different models is low.
[0004] In view of the problems that the use of a single sensor is susceptible to interference, insufficient information, and the selection of parameters or features depends on manual experience, resulting in low prediction accuracy, it is necessary to propose a surface roughness prediction model combining principal component analysis and fuzzy neural network based on the combination of acoustic emission and vibration signals. First, the acoustic emission signal and vibration acceleration signal in the grinding process are collected, and then the main time domain, frequency domain and wavelet packet features of the two signals are extracted, and the principal component analysis method is used to process them to obtain the optimal feature quantity and avoid the complexity of high-dimensional nonlinear feature processing. Fuzzy neural network is used for model construction, and a surface roughness prediction model is established. Finally, the surface roughness of the ground workpiece is predicted and verified. Summary of the invention
[0005] Aiming at the problem of large error in feature parameter selection based on artificial experience in the process of surface roughness modeling and prediction, the present invention proposes a surface roughness prediction method based on fuzzy neural network and principal component analysis to improve the accuracy of workpiece surface roughness identification during grinding.
[0006] To achieve the above-mentioned purpose, the technical scheme adopted by the present invention is: a surface roughness prediction method based on fuzzy neural network and principal component analysis, firstly, collecting acoustic emission and vibration signals in the grinding process, extracting relevant time domain features, frequency domain features and wavelet packet feature parameters, and using principal component analysis to reduce the dimension of feature quantities and optimize feature values; then constructing a surface roughness fuzzy neural network prediction model, using signal feature quantities and surface roughness as input and output of the fuzzy neural network; finally, training the surface roughness fuzzy neural network prediction model, and verifying the surface roughness prediction accuracy.
[0007] Furthermore, when collecting acoustic emission and vibration signals during the grinding process, the collected data is firstly subjected to signal preprocessing to remove abnormal points, and then signal features are extracted, and the extracted signal features include time domain features, frequency domain features and wavelet packet features.
[0008] The characteristic values extracted from the signal are: the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y, and z directions, the time domain characteristics, frequency domain characteristics, and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features.
[0009] Furthermore, the specific method of reducing the dimension of the feature quantity and optimizing the feature value by using principal component analysis includes:
[0010] (I) Principal component extraction method: Before extracting the principal component of the feature, the input space is normalized to standardize the original feature data;
[0011] (II) The calculation steps of principal component analysis are as follows:
[0012] 1) Calculate the covariance matrix of signal sample data
[0013]
[0014] 2) Find the eigenvalue λ of C i and the corresponding unit orthogonal eigenvector u i
[0015] λ i u i =Cu i (2)
[0016] The first m larger eigenvalues λ1≥λ2≥…>λ m >0, representing the eigenvector u of the first m principal components i It is the principal component F i Regarding the coefficients of the original variables, the variance contribution rate of the principal component indicates the amount of information. The greater the amount of information, the more information the original data contains. The size of the information α i
[0017]
[0018] If the cumulative contribution rate of the first m principal components is greater than 85%, the extracted principal component features can reflect the information of the original high-dimensional features;
[0019] 3) Calculate the principal component score and calculate the principal component of the signal sample
[0020]
[0021] Finally, the obtained F is the principal component matrix of the features, that is, the feature data after compression and dimensionality reduction. The obtained low-dimensional features will be used as the input of the surface roughness prediction model.
[0022] Furthermore, the specific method of constructing the surface roughness fuzzy neural network prediction model includes:
[0023] (I) Construction of fuzzy neural network
[0024] The fuzzy neural network is a multi-layer feedforward network. The first layer is the membership function layer of the input variable, which is responsible for the fuzzification of the input signal. Node i has an output function.
[0025]
[0026] Among them, x, y are the inputs of node i, A i , B i is a fuzzy set, Yes A i , B i The membership function value of x and y belongs to Ai , B i The degree of membership function and The shape of is completely determined by some parameters, which become the premise parameters;
[0027] The second layer is a regular intensity release layer. Each input signal comes from the first layer. The nodes in this layer are fixed nodes and cannot be trained.
[0028]
[0029] Among them, ω i is the output of the second layer;
[0030] The third layer is the normalization of all rule strengths, which indicates the percentage of the incentive strength of each fuzzy rule to the incentive strength of all rules. The nodes in this layer are fixed nodes and cannot be trained.
[0031]
[0032] The fourth layer is the calculation output of the fuzzy rules. Each node in this layer is an adaptive node. The parameters of this layer are adaptive and can be trained according to the input data. Its output is
[0033]
[0034] in, is the output of the third layer, {p i ,q i , r i} is the conclusion parameter;
[0035] After the premise parameters are given, the linear combination of the conclusion parameters can be used as the output of the adaptive fuzzy neural inference system:
[0036]
[0037] (II) Fuzzy Neural Network Self-Learning
[0038] In order to make the fuzzy neural network have self-learning ability, the genetic algorithm is applied to the network model to make it a multi-layer feedforward network. The optimization algorithm is divided into two steps:
[0039] 1) Determine the initial value of the premise parameter and calculate the conclusion parameter using the least squares method.
[0040] Then from formula (9) we get
[0041]
[0042] In the formula, the conclusion parameter set {p1, q1, r1, p2, q2, r2} constitutes the elements of the column vector X. If there are P sets of input and output data pairs and the premise parameters are given, the size of the matrix A, X, f is P×6, 6×1 and P×1. The number of sample data is much larger than the number of unknown parameters P>>6. The least squares method can be used to obtain the best estimate of the conclusion vector X with the minimum mean square error min||AX-f|| * ,Right now
[0043] X * =(A T A) -1 A T f (11)
[0044] 2) The error is calculated based on the conclusion parameters obtained in the previous step, and the genetic algorithm in the feedforward neural network is used to transfer the error from the output end to the input end, and the premise parameters are updated using the gradient descent method, thereby changing the shape of the membership function.
[0045] Furthermore, the specific method for verifying the surface roughness prediction accuracy includes:
[0046] 1. Experimental setup
[0047] In order to accurately obtain the processing signal during the grinding process, the acoustic emission sensor and the vibration sensor are adsorbed on the metal fixture used to fix the workpiece, and orthogonal experiments are carried out using different grinding parameters such as grinding wheel speed, feed speed, and grinding amount.
[0048] In order to improve the reliability of the data, 4 points were selected on the workpiece surface during measurement, and the arithmetic mean of their measured values Ra was used as the experimental data;
[0049] (II) Experimental results and comparative analysis
[0050] 1) Signal processing and principal component dimensionality reduction
[0051] The collected acoustic emission signals and vibration acceleration signals are processed and extracted according to the selected eigenvalues. The signals are analyzed in time domain, frequency domain and wavelet packet using Matlab software. The extracted eigenvalues include the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y and z directions, the time domain characteristics, frequency domain characteristics and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features. The 99-dimensional feature space is reduced to a 5-dimensional feature space through principal component analysis. The 5-dimensional principal component eigenvalues after dimensionality reduction of 9 groups of experiments and the surface roughness values of each group of experiments are selected. From the stacked line graph of the 5 dimensionality reduction eigenvalues and the corresponding surface roughness, it is concluded that the changing trends of most dimensionality reduction features are highly correlated with the changing trends of the surface roughness values, which provides a basis for the surface roughness prediction model.
[0052] 2) Training and verification of fuzzy neural surface roughness prediction model
[0053] A fuzzy neural network model was constructed to predict the surface roughness. The input layer nodes were 5 dimensionality reduction eigenvalues. The Gaussian function was selected as the initial membership function. The output layer was the workpiece surface roughness. The five eigenvalues after each set of experimental signal processing were selected as five inputs, and the corresponding workpiece surface roughness was used as output. A principal component fuzzy neural network model based on acoustic emission and vibration signals was established. Nine sets of experimental data were selected as test sets to obtain the predicted values of the model.
[0054] In order to further compare the accuracy of model prediction of the three dimensionality reduction methods, the correlation coefficient r is used. 2 , root mean square error, where r 2 It is a statistic used to reflect the closeness of the correlation between two parameters. Its value range is 0 to 1. The larger the value, the higher the correlation between the model prediction value and the correct value, and the higher the accuracy. The root mean square difference is a measure used to reflect the degree of difference between two sets of values. The smaller the value, the smaller the gap between the model prediction value and the correct value. Comparing the correlation coefficients and root mean square differences of the three models, the model established by principal component dimensionality reduction has the highest correlation coefficient and the lowest root mean square difference, indicating that its prediction result has the highest correlation with the correct value and the model has the best prediction effect.
[0055] The beneficial effects of the present invention are:
[0056] The present invention collects acoustic emission and vibration signals during the grinding process, extracts relevant time domain features, frequency domain features and wavelet packet feature parameters, and uses principal component analysis to reduce the dimension of the feature quantity and optimize the eigenvalue; then constructs a surface roughness fuzzy neural network prediction model, and uses the signal feature quantity and surface roughness as the input and output of the fuzzy neural network; finally, the model is trained and the surface roughness prediction accuracy is verified. The experimental results show that the feature quantity of the acoustic emission and vibration signals is extracted, and the dimensionality is reduced by the principal component analysis method to obtain 5 principal components. The effect accuracy of the fuzzy neural network surface roughness prediction model established in this way can reach more than 91%, and compared with the LLE and MDS dimensionality reduction methods, the information contained in the features after the principal component analysis dimensionality reduction is better, and the prediction accuracy of the model is the highest. Modeling using the eigenvalues of the acoustic emission signal and the vibration signal and the principal component dimensionality reduction method proposed in the invention can improve the level of online surface roughness prediction technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 are the nth and (n+1)th abrasive cutting edge marks;
[0058] Figure 2 For surface roughness prediction process;
[0059] Figure 3 It is a fuzzy neural network;
[0060] Figure 4 It is the original signal of acoustic emission sensor and vibration sensor;
[0061] Figure 5 Analyze the contribution rate and cumulative contribution rate of each component for principal component analysis;
[0062] Figure 6 Stacked line graphs for each dimension reduction eigenvalue and surface roughness;
[0063] Figure 7 Predict the results and correct values for the model;
[0064] Figure 8 is the error range of the prediction results;
[0065] Fig. 9 The prediction results of the LLE dimensionality reduction method model;
[0066] Fig.10 The prediction results of the MDS dimensionality reduction method model;
[0067] Fig.11 It is the prediction error range of the LLE dimensionality reduction algorithm model;
[0068] Fig.12 It is the prediction error range of the MDS dimensionality reduction algorithm model. DETAILED DESCRIPTION
[0069] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0070] The present invention proposes a surface roughness prediction method based on fuzzy neural network and principal component analysis to improve the accuracy of workpiece surface roughness identification during grinding. By collecting acoustic emission and vibration signals during grinding, relevant time domain features, frequency domain features and wavelet packet feature parameters are extracted, and the characteristic values are optimized by principal component analysis; then a surface roughness fuzzy neural network prediction model is constructed, and the signal characteristic quantities and surface roughness are used as the input and output of the fuzzy neural network; finally, the model is trained, and the surface roughness prediction accuracy is verified. The experimental results show that the characteristic quantities of acoustic emission and vibration signals are extracted, and 5 principal components are obtained by principal component analysis. The effect accuracy of the fuzzy neural network surface roughness prediction model established in this way can reach more than 91%, and compared with the LLE and MDS dimensionality reduction methods, the information contained in the features after principal component analysis dimensionality reduction is better, and the prediction accuracy of the model is the highest. Modeling using the characteristic values of acoustic emission signals and vibration signals and the principal component dimensionality reduction method proposed in this paper can improve the level of online surface roughness prediction technology.
[0071] The surface roughness prediction method based on fuzzy neural network and principal component analysis of the present invention specifically includes:
[0072] 1. Surface roughness prediction principle
[0073] 1. Factors affecting surface roughness during grinding
[0074] During the grinding process, the grinding wheel is in direct contact with the workpiece, so the surface roughness is directly related to the amount of abrasive grains per unit area of the grinding wheel, the distribution of abrasive grains, and the cutting marks of abrasive grains. The formation process is as follows. a With workpiece speed n sσ If the relationship between them is an integer multiple, the surface roughness of the grinding wheel will be copied to the workpiece surface in the same way, and the abrasive cutting edge marks are as follows: Figure 1 In the actual grinding process, n a / n sσ It is not an integer. The abrasive cutting edge will not repeatedly cut the same point on the workpiece surface, and the cutting edge marks will be staggered. Figure 1 The cutting edge marks formed during the nth and n+1th grinding processes are shown.
[0075] Since there are many factors affecting surface roughness, it is difficult to obtain high-precision prediction results by only predicting with a specific single signal. Therefore, the present invention uses online monitoring of related signals (such as acoustic emission signals and vibration acceleration signals) to achieve real-time recognition of surface roughness, which requires full exploration and utilization of the effective information contained in the signal.
[0076] 2. Surface roughness prediction process
[0077] During the machining process, the greater the surface roughness of the workpiece, the greater the stress wave intensity generated by friction under the same pressure, and the more obvious the acoustic emission phenomenon. By establishing a mapping relationship between surface roughness and the characteristic value of the acoustic emission signal, real-time online monitoring of the surface roughness during the grinding process can be achieved. From the vibration theory, it can be known that the vibration of the machine tool system is determined by the excitation source and the structural characteristics of the system, and there is a certain relationship with the grinding roughness. Acoustic emission sensors and three-way vibration sensors are installed on the machine tool to collect high-frequency acoustic emission signals and vibration acceleration signals during the grinding process, extract the characteristic quantities in the signal and perform dimensionality reduction processing. The characteristic quantities after dimensionality reduction are used as the model input, and the output is the predicted surface roughness of the workpiece.
[0078] The present invention first performs signal preprocessing on the collected data to remove abnormal points. Secondly, the signal features are extracted. For the collected signal, the change of the characteristic value will also map the change of the surface roughness of the workpiece. The extracted signal features include time domain features, frequency domain features and wavelet packet features. There are many extracted features, and it is necessary to obtain the main feature related to the surface roughness through the feature dimensionality reduction method. Finally, the surface roughness is predicted by the fuzzy neural network, such as Figure 2 shown.
[0079] 2. Research on surface roughness prediction model
[0080] 1. Feature selection of acoustic emission signals and vibration signals
[0081] The size of the workpiece surface roughness is correlated with the time domain characteristics, frequency domain characteristics and wavelet packet characteristics of the signal. In the time domain characteristics, the mean value represents the central trend of the signal, the root mean square represents the average energy of the signal, the kurtosis factor represents the probability of the occurrence of a large amplitude pulse, and the margin factor reflects the impact degree of the signal. Therefore, the time domain characteristics can be selected as the mean value, root mean square, kurtosis factor, and margin factor. The change of the frequency domain characteristics is also highly correlated with the change of the surface roughness. The centroid frequency, mean square frequency and root mean square frequency all represent the position change of the main frequency band in the signal power spectrum, and the frequency variance and frequency standard deviation describe the dispersion degree of the spectrum energy. Therefore, the selected frequency domain features are the centroid frequency, mean square frequency, root mean square frequency, frequency variance and frequency standard deviation. Wavelet packet analysis contains a large amount of signal information, so the wavelet packet features are selected as the statistical characteristics of each sub-band after the four-layer decomposition of the wavelet packet. The selected statistical features are the mean value, root mean square, kurtosis factor, and margin factor.
[0082] Therefore, the characteristic values extracted from the signal are: the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y, and z directions, and the time domain characteristics, frequency domain characteristics, and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features.
[0083] 2. Principal component analysis dimensionality reduction method
[0084] Principle components analysis (PCA) is a method for extracting the principal components of features. Before extracting the principal components of features, the input space is normalized to standardize the original feature data. The calculation steps of PCA are as follows:
[0085] 1) Calculate the covariance matrix of signal sample data
[0086]
[0087] 2) Find the eigenvalue λ of C iand the corresponding unit orthogonal eigenvector u i
[0088] λ i u i =Cu i (2)
[0089] The first m larger eigenvalues λ1≥λ2≥…>λ m >0, representing the eigenvector u of the first m principal components i It is the principal component F i The variance contribution rate of the principal component indicates the amount of information. The greater the amount of information, the more information the original data contains. The amount of information α i
[0090]
[0091] If the cumulative contribution rate of the first m principal components is greater than 85%, the extracted principal component features can reflect the information of the original high-dimensional features.
[0092] 3) Calculate the principal component score and calculate the principal component of the signal sample
[0093]
[0094] Finally, the obtained F is the principal component matrix of the features, that is, the feature data after compression and dimensionality reduction. The obtained low-dimensional features will be used as the input of the surface roughness prediction model.
[0095] 3. Fuzzy Neural Network (FNN)
[0096] Fuzzy neural network (FNN) is used to express the mapping relationship between each dimension reduction principal component and surface roughness. The data set after dimension reduction is divided into two parts: training set and test set. The training set is used to train the prediction model, and then the test set is used to test the accuracy of the prediction model. In the fuzzy neural network, the input and output signals of the fuzzy system are represented by the input and output nodes of the neural network, and the membership function and fuzzy rules are represented by the implicit nodes of the neural network. The reasoning ability of the fuzzy system is greatly improved due to the parallel processing capability of the neural network. Figure 3 As shown, it is the basic structure of fuzzy neural network (FNN).
[0097] The roughness recognition model of the fuzzy neural network based on genetic algorithm of the present invention is constructed based on this structure. The fuzzy neural network is a multi-layer feedforward network, in which the square nodes need to be parameterized. The first layer is the membership function layer of the input variable, which is responsible for the fuzzification of the input signal, and the node i has an output function;
[0098]
[0099] Among them, x, y are the inputs of node i, A i , B i is a fuzzy set, Yes A i , B i The membership function value of x and y belongs to A i , B i The degree of membership function and The shape of is completely determined by some parameters, which become the premise parameters.
[0100] The second layer is a regular intensity release layer. Each input signal comes from the first layer, and the nodes in this layer are fixed nodes and cannot be trained.
[0101]
[0102] Among them, ω i is the output of the second layer.
[0103] The third layer is the normalization of all rule strengths. It represents the percentage of the incentive strength of each fuzzy rule to the incentive strength of all rules. The nodes in this layer are fixed nodes and cannot be trained.
[0104]
[0105] The fourth layer is the calculation output of the fuzzy rules. Each node in this layer is an adaptive node. The parameters of this layer are adaptive and can be trained according to the input data. Its output is
[0106]
[0107] in, is the output of the third layer, {p i ,q i , r i} is the conclusion parameter.
[0108] After the premise parameters are given, the linear combination of the conclusion parameters can be used as the output of the adaptive fuzzy neural inference system:
[0109]
[0110] 4. Fuzzy neural network self-learning
[0111] In order to make the fuzzy neural network have self-learning ability, the genetic algorithm is applied to the network model to make it a multi-layer feedforward network. Its optimization algorithm can be divided into two steps:
[0112] 1) Determine the initial value of the premise parameter and calculate the conclusion parameter using the least squares method.
[0113] Then from formula (9) we get
[0114]
[0115] In the formula, the conclusion parameter set {p1, q1, r1, p2, q2, r2} constitutes the elements of the column vector X. If there are P sets of input and output data pairs and the premise parameters are given, the size of the matrix A, X, f is P×6, 6×1 and P×1. Generally speaking, the number of sample data is much larger than the number of unknown parameters (P>>6). The least squares method can be used to obtain the best estimate of the conclusion vector X with the minimum mean square error (min||AX-f||). * ,Right now
[0116] X * =(A T A) -1 A T f (11)
[0117] 2) The error is calculated based on the conclusion parameters obtained in the previous step, and the genetic algorithm in the feedforward neural network is used to transfer the error from the output end to the input end, and the premise parameters are updated using the gradient descent method, thereby changing the shape of the membership function.
[0118] 3. Experimental Design
[0119] The workpiece is fixed on a surface grinder using a fixture. The experimental machine is a KP-48T CNC surface grinder. The workpiece material is GCr15 and a grinding wheel is used for grinding. The experiment uses an acoustic emission sensor and a vibration sensor. The acoustic emission sensor uses KISTLER-8443B, and the frequency range of the sensor is 2MHZ. The vibration sensor is a three-way vibration sensor with a frequency range of 5 to 3kHZ, a measurement range of 0 to 50g, an acoustic emission signal sampling rate of 2M / s, and a three-way vibration signal sampling rate of 2000Hz.
[0120] In order to accurately obtain the processing signal during the grinding process, the acoustic emission sensor and the vibration sensor both have magnetic bases, which are adsorbed on the metal fixture used to fix the workpiece. Different grinding processing parameters such as grinding wheel speed, feed speed, and grinding amount are designed for orthogonal experiments, as shown in Table 1.
[0121] Table 1 Orthogonal test table
[0122]
[0123] In order to improve the reliability of the data, four points were selected on the workpiece surface during measurement, and the arithmetic mean of their measured values Ra was used as the experimental data. Figure 4 These are the real-time signals of the acoustic emission sensor and vibration sensor collected during the experiment.
[0124] 4. Experimental results and comparative analysis
[0125] 1. Signal processing and principal component dimensionality reduction
[0126] The collected acoustic emission signals and vibration acceleration signals are processed, and the eigenvalues selected in the previous article are extracted. The signals are analyzed in time domain, frequency domain and wavelet packet using Matlab software. The extracted eigenvalues include the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y and z directions, and the time domain characteristics, frequency domain characteristics and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features.
[0127] like Figure 5 The first 6 dimensional eigenvalues according to the contribution rate of the principal component dimensionality reduction and the cumulative contribution rate of the principal component. It can be seen that the cumulative contribution rate of the first five dimensional eigenvalues is 86.3%, which can effectively retain the information of the original dimensional eigenvalues, that is, the 99-dimensional feature space is reduced to a 5-dimensional feature space through principal component analysis. Table 2 shows the 5-dimensional principal component eigenvalues after dimensionality reduction of the selected 9 groups of experiments and the surface roughness values of each group of experiments. Figure 6 Shown is a stacked line graph of five dimensionality reduction feature values and the corresponding surface roughness. It can be seen that the changing trends of most dimensionality reduction features are highly correlated with the changing trends of surface roughness values, providing a basis for the surface roughness prediction model.
[0128] 2. Training and verification of fuzzy neural surface roughness prediction model
[0129] The fuzzy neural network model is used to predict the surface roughness. Its structure is as follows: Figure 3 The five-layer structure shown in the figure. The input layer nodes are five dimension reduction eigenvalues, and the Gaussian function is selected as the initial membership function. The output layer is the surface roughness of the workpiece. The five eigenvalues after each set of experimental signal processing are selected as five inputs, and the corresponding workpiece surface roughness is used as the output. A principal component fuzzy neural network model based on acoustic emission and vibration signals is established. Nine sets of experimental data are selected as test sets to obtain the predicted value of the model. Figure 7 The following table shows the predicted and correct values of the model. Figure 8 is the error range between the model prediction value and the correct value. It can be seen that the prediction range of the model is within 10%, which shows the effectiveness of the model prediction results.
[0130] Table 2 Model prediction values and correct values
[0131]
[0132] 3. Comparative analysis of dimensionality reduction method results
[0133] In order to verify that the principal component analysis (PCA) method has a good dimensionality reduction effect, the dimensionality reduction methods Locally Linear Embedding (LLE) and Multidimensional Scaling (MDS) were selected to reduce the dimensionality of the same eigenvalue data samples, and fuzzy neural network was used for model training. The model prediction results of these two dimensionality reduction methods were compared with the model prediction results of principal component analysis dimensionality reduction.
[0134] like Fig. 9 and Fig.10 The surface roughness prediction results of the models established using the LLE dimensionality reduction method and the MDS dimensionality reduction method are shown in Figure 2. Fig.11 and Fig.12 The error range of the prediction results of the two dimensionality reduction method models is shown in Figure 2. It can be seen that the prediction results of the prediction models established by the LLE dimensionality reduction method and the MDS dimensionality reduction method have errors greater than 10%, which is less accurate than the prediction effect model established by the principal component analysis method, which is within 10%.
[0135] Tables 3 and 4 are the prediction result errors and accuracy of the LLE dimensionality reduction method model, respectively. From Tables 3 and 4, we can see that the lowest prediction accuracy of the LLE dimensionality reduction method model is 86.6%, and the lowest prediction accuracy of the MDS dimensionality reduction method model is 66.6%. From Table 2, we can see that the lowest prediction accuracy of the principal component dimensionality reduction method model is 91.7%. By comparison, it can be seen that the prediction effect of the prediction model established by the principal component analysis method is better than that of the prediction model established by the LLE dimensionality reduction method and the MDS dimensionality reduction method.
[0136] Table 3. Model prediction results and accuracy of LLE dimensionality reduction method
[0137]
[0138] Table 4. Model prediction results and accuracy of MDS dimensionality reduction method
[0139]
[0140] In order to further compare the prediction accuracy of the three dimensionality reduction methods, the correlation coefficient (r 2 ), and root mean square error (RMSE) were used for comparison. 2It is a statistic used to reflect the closeness of the correlation between two parameters. Its value range is 0 to 1. The larger the value, the higher the correlation between the model prediction value and the correct value, and the higher the accuracy. RMSE is a measure used to reflect the degree of difference between two sets of values. The smaller the value, the smaller the difference between the model prediction value and the correct value. Table 5 compares the correlation coefficient and root mean square difference of the three models. The model established by principal component dimensionality reduction has the highest correlation coefficient and the lowest root mean square difference, indicating that its prediction result has the highest correlation with the correct value and the model has the best prediction effect.
[0141] Table 5 Statistical indicators of correct values and predicted values of the three dimensionality reduction models
[0142]
[0143] Through the comparison between the prediction result graph and the error range graph, the comparison between Table 2 and Tables 3 and 4, and the analysis of Table 5, it can be seen that the fuzzy neural model established by using the principal component analysis method to reduce the dimension of signal features has the best prediction effect and better reliability.
[0144] V. Conclusion
[0145] In order to solve the problem that the input parameters of the surface roughness prediction model rely on manual experience and fail to fully explore the signal information, resulting in low model prediction accuracy, the acoustic emission signal and vibration signal are used to fully extract information, and the feature dimensionality reduction method is used to optimize the model input to achieve accurate prediction of the workpiece surface roughness. The experimental results show that:
[0146] (1) According to the principles of acoustic emission and vibration, these two signals in the grinding process can be selected to predict the surface roughness. According to the prediction results of the model, the two signals reflect the state of surface roughness during the machining process to a large extent.
[0147] (2) The principal component analysis method was used to reduce the dimensionality of high-dimensional eigenvalues, and the five principal component characteristics of the sensor signal were obtained in a way that retained more than 85% of the data information, and the eigenvalue parameters were optimized. Compared with the LLE and MDS dimensionality reduction methods, the principal component analysis had a better dimensionality reduction effect, and the established fuzzy neural prediction model had the highest accuracy, with an accuracy rate of more than 91%.
[0148] (3) This paper shows that the surface roughness of the workpiece during the machining process can be indirectly predicted by monitoring the sensor signal and real-time data processing. Due to the advantages of parallel data processing and fast calculation speed of fuzzy neural network, this method can detect the roughness in real time, efficiently and accurately, and has good engineering application value.
Claims
1. A surface roughness prediction method based on fuzzy neural network and principal component analysis, characterized in that: Firstly, the acoustic emission and vibration signals in the grinding process are collected, and the relevant time domain features, frequency domain features and wavelet packet feature parameters are extracted. The principal component analysis is used to reduce the dimension of the feature quantity and optimize the eigenvalue. Then, a surface roughness fuzzy neural network prediction model is constructed, and the signal feature quantity and surface roughness are used as the input and output of the fuzzy neural network; finally, the surface roughness fuzzy neural network prediction model is trained, and the surface roughness prediction accuracy is verified; wherein: The specific method of reducing the dimension of the feature quantity and optimizing the feature value by principal component analysis includes: (I) Principal component extraction method: Before extracting the principal component of the feature, the input space is normalized to standardize the original feature data; (II) The calculation steps of principal component analysis are as follows: 1) Calculate the covariance matrix of signal sample data 2) Find the eigenvalue λ of C i and the corresponding unit orthogonal eigenvector u i λ i you i =With i (2) The first m larger eigenvalues λ1≥λ2≥…>λ m >0, representing the eigenvector u of the first m principal components i It is the principal component F i Regarding the coefficients of the original variables, the variance contribution rate of the principal component indicates the amount of information. The greater the amount of information, the more information the original data contains. The size of the information α i If the cumulative contribution rate of the first m principal components is greater than 85%, the extracted principal component features reflect the information of the original high-dimensional features; 3) Calculate the principal component score and calculate the principal component of the signal sample Finally, the obtained F is the principal component matrix of the features, that is, the feature data after compression and dimensionality reduction. The obtained low-dimensional features will be used as the input of the surface roughness prediction model; The specific method for constructing the surface roughness fuzzy neural network prediction model includes: (I) Construction of fuzzy neural network The fuzzy neural network is a multi-layer feedforward network. The first layer is the membership function layer of the input variable, which is responsible for the fuzzification of the input signal. Node i has an output function. Among them, x, y are the inputs of node i, A i , B i is a fuzzy set, Yes A i , B i The membership function value indicates that x and y belong to A i , B i The degree of membership function and The shape of is completely determined by some parameters, which become the premise parameters; The second layer is a regular intensity release layer. Each input signal comes from the first layer. The nodes in this layer are fixed nodes and cannot be trained. Among them, ω i is the output of the second layer; The third layer is the normalization of all rule strengths, which indicates the percentage of the incentive strength of each fuzzy rule to the incentive strength of all rules. The nodes in this layer are fixed nodes and cannot be trained. The fourth layer is the calculation output of the fuzzy rules. Each node in this layer is an adaptive node. The parameters of this layer are adaptive and are trained according to the input data. Its output is in, is the output of the third layer, {p i ,q i , r i } is the conclusion parameter; After the premise parameters are given, the linear combination of the conclusion parameters is used as the output of the adaptive fuzzy neural inference system: (II) Fuzzy Neural Network Self-Learning In order to make the fuzzy neural network have self-learning ability, the genetic algorithm is applied to the network model to make it a multi-layer feedforward network. The optimization algorithm is divided into two steps: 1) Determine the initial value of the premise parameter and calculate the conclusion parameter using the least squares method; Then from formula (9) we get In the formula, the conclusion parameter set {p1, q1, r1, p2, q2, r2} constitutes the elements of the column vector X. If there are P sets of input and output data pairs and the premise parameters are given, the size of the matrix A, X, f is P×6, 6×1 and P×1. The number of sample data is much larger than the number of unknown parameters P>>6. The least squares method is used to obtain the best estimate of the conclusion vector X under the meaning of the minimum mean square error min||AX-f|| * ,Right now X * =(A T A) -1 A T f (11) 2) The error is calculated based on the conclusion parameters obtained in the previous step, and the genetic algorithm in the feedforward neural network is used to transfer the error from the output end to the input end, and the premise parameters are updated using the gradient descent method, thereby changing the shape of the membership function.
2. The surface roughness prediction method based on fuzzy neural network and principal component analysis according to claim 1 is characterized in that: When collecting acoustic emission and vibration signals during the grinding process, the collected data is firstly preprocessed to remove abnormal points, and then the signal features are extracted. The extracted signal features include time domain features, frequency domain features and wavelet packet features.
3. The surface roughness prediction method based on fuzzy neural network and principal component analysis according to claim 1 is characterized in that: The characteristic values extracted from the signal are: the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y, and z directions, the time domain characteristics, frequency domain characteristics, and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features.
4. The surface roughness prediction method based on fuzzy neural network and principal component analysis according to claim 1 is characterized in that: The specific method for verifying the surface roughness prediction accuracy includes:
1. Experimental setup In order to accurately obtain the processing signal during the grinding process, the acoustic emission sensor and the vibration sensor are adsorbed on the metal fixture used to fix the workpiece, and orthogonal experiments are carried out using different grinding parameters such as grinding wheel speed, feed speed, and grinding amount. In order to improve the reliability of the data, 4 points were selected on the workpiece surface during measurement, and the arithmetic mean of their measured values Ra was used as the experimental data; (II) Experimental results and comparative analysis 1) Signal processing and principal component dimensionality reduction The collected acoustic emission signals and vibration acceleration signals are processed, extracted according to the selected eigenvalues, and the signals are analyzed in time domain, frequency domain and wavelet packet using Matlab software. The extracted eigenvalues include the time domain characteristics and frequency domain characteristics of the vibration signal in the x, y and z directions, the time domain characteristics, frequency domain characteristics and wavelet packet characteristics of the acoustic emission signal, a total of 99 dimensional features; the 99-dimensional feature space is reduced to a 5-dimensional feature space through principal component analysis; the 5-dimensional principal component eigenvalues after dimensionality reduction of 9 groups of experiments and the surface roughness values of each group of experiments are selected, and from the stacked line graph of the 5 dimensionality reduction eigenvalues and the corresponding surface roughness, it is concluded that the change trend of most dimensionality reduction features is highly correlated with the change trend of surface roughness values, providing a basis for the surface roughness prediction model; 2) Training and verification of fuzzy neural surface roughness prediction model A fuzzy neural network model was constructed to predict the surface roughness. The input layer nodes were 5 dimensionality reduction eigenvalues. The Gaussian function was selected as the initial membership function. The output layer was the workpiece surface roughness. The five eigenvalues after each set of experimental signal processing were selected as five inputs, and the corresponding workpiece surface roughness was used as output. A principal component fuzzy neural network model based on acoustic emission and vibration signals was established. Nine sets of experimental data were selected as test sets to obtain the predicted values of the model. 3) Comparative analysis of dimensionality reduction method results In order to verify that the principal component analysis method has a good dimensionality reduction effect, the dimensionality reduction methods local linear embedding LLE and multidimensional scaling MDS were selected to reduce the dimensionality of the same eigenvalue data samples, and the fuzzy neural network was used for model training. The model prediction results of these two dimensionality reduction methods were compared with the model prediction results of principal component analysis dimensionality reduction. The comparison shows that the prediction model established by the principal component analysis method has better prediction effect than the prediction model established by the LLE dimensionality reduction method and the MDS dimensionality reduction method. In order to further compare the accuracy of model prediction of the three dimensionality reduction methods, the correlation coefficient r is used. 2 , root mean square error, where r 2 It is a statistic used to reflect the closeness of the correlation between two parameters. Its value range is 0 to 1. The larger the value, the higher the correlation between the model prediction value and the correct value, and the higher the accuracy. The root mean square difference is a measure used to reflect the degree of difference between two sets of values. The smaller the value, the smaller the gap between the model prediction value and the correct value. Comparing the correlation coefficients and root mean square differences of the three models, the model established by principal component dimensionality reduction has the highest correlation coefficient and the lowest root mean square difference, indicating that its prediction result has the highest correlation with the correct value and the model has the best prediction effect.
