CFRP grinding and polishing surface roughness prediction method and system based on acoustic emission signals
Through the GA-DBN model combined with wavelet packet decomposition and collective empirical mode decomposition, the multi-dimensional time-frequency characteristics in CFRP grinding and polishing processing are screened out, which solves the problem of low accuracy in predicting CFRP surface roughness, achieving real-time accurate prediction and improving processing efficiency. .
Patent Information
- Application Number
- CN202210494445.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The existing technology has low surface roughness prediction accuracy in CFRP grinding and polishing processing, and the model input signal characteristics are not effectively screened, resulting in poor prediction results.
The genetic algorithm improved deep belief network (GA-DBN) is used to combine wavelet packet decomposition and ensemble empirical mode decomposition to extract the multi-dimensional time-frequency characteristics of the acoustic emission signal, and filter the features through the maximum mutual information and minimum redundancy methods to establish CFRP Surface roughness prediction model.
It achieves accurate real-time prediction of CFRP surface roughness, reduces measurement time and manual inspection costs, and improves processing efficiency and processing quality.
Smart Images

Figure CN115099261B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of grinding and polishing, and more specifically, relates to a method and system for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals. Background Art
[0002] Carbon fiber reinforced resin-based composites (CFRP) are widely used in various fields of military and civilian industries, especially in the aerospace field, due to their excellent properties such as low density, high temperature resistance, corrosion resistance, friction resistance, fatigue resistance, and electrical and thermal conductivity. CFRP exhibits obvious structural inhomogeneity and anisotropy. These unique characteristics cause its cutting process to be very different from that of homogeneous materials such as metals. In practical engineering applications, due to the lack of basic theoretical research on material removal mechanisms and damage generation mechanisms during composite material processing, there are many problems in the grinding and polishing of CFRP, such as fiber delamination, shedding, and surface depressions generated during processing. The existence of these problems seriously damages the mechanical properties and surface processing quality of the material. Therefore, the demand for accurate prediction of the surface roughness of composite materials such as CFRP is extremely urgent.
[0003] In order to predict the surface roughness of CFRP grinding and polishing to improve the surface processing quality, domestic scholars have already published some patent works. Among them, Chinese patent CN103394972A discloses an online prediction method for milling surface roughness based on acoustic emission signals. By installing an acoustic emission sensor on the milling part, the frequency domain characteristics of the acoustic emission signal of the part during processing are compared by computer with the difference between the theoretical milling thickness change curve to predict the milling surface roughness. This method only predicts the surface roughness by observing the frequency domain characteristics of the acoustic emission signal, which has a large environmental interference and low prediction accuracy.
[0004] Chinese patent CN112069966A discloses a surface roughness prediction method based on an improved LSTM network. By establishing a large data set of vibration signals and corresponding roughness values under different cutting parameters, and screening them to obtain model input features, the prediction of the surface roughness of parts is realized. Chinese patent CN111177911A discloses an online prediction method for the surface roughness of parts based on the SDAE-DBN algorithm. By adsorbing a three-dimensional acceleration sensor on the spindle of a machine tool to collect vibration and noise signals during the cutting process, the signal is smoothed and sent to the deep network to realize real-time prediction of surface roughness. The above two patents realize the prediction of the surface roughness of the workpiece based on the extracted processing signal, but the above methods all directly input the original vibration signal or part of the signal features as the feature input prediction model, and do not extract and screen the local features of the signal, which is easy to lead to problems such as small input sample size and low correlation with the target, which will eventually cause the actual prediction effect of the model to be poor. Summary of the invention
[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a method and system for predicting the surface roughness of CFRP grinding and polishing based on acoustic emission signals, wherein the characteristics of CFRP grinding and polishing itself and the characteristics of its surface roughness prediction method are combined, and a CFRP surface roughness prediction model of a deep belief network (GA-DBN) improved by a genetic algorithm is designed accordingly, and an acoustic emission sensor is used to collect the acoustic emission signal during the grinding and polishing process of the CFRP workpiece, and the collected acoustic emission signal is decomposed and processed by wavelet packet decomposition and ensemble empirical mode decomposition to extract the multidimensional time-frequency characteristics of each signal subband of the acoustic emission signal, and the extracted time-frequency characteristics are evaluated and screened by the maximum mutual information and minimum redundancy method, and a CFRP surface roughness prediction model of a deep belief network (GA-DBN) improved by a genetic algorithm is established, and the screened multidimensional time-frequency characteristics are used as model input samples to realize the accurate prediction of the surface roughness of CFRP. Through the above method, the surface roughness of CFRP can be predicted in real time, without the need to disassemble the workpiece for repeated detection during the processing process, the measurement time can be reduced, and it is convenient for the operator to adjust the processing parameters in the first time, which greatly improves the processing efficiency and reduces the cost of manual detection.
[0006] To achieve the above object, according to one aspect of the present invention, a method for predicting the surface roughness of CFRP polishing process based on acoustic emission signals is proposed, which is characterized by comprising the following steps:
[0007] S1 fixes the acoustic emission sensor on the surface of the CFRP workpiece, collects the acoustic emission signal during the grinding and polishing process of the workpiece, and measures the surface roughness of the workpiece after grinding and polishing;
[0008] S2 uses wavelet packet decomposition and ensemble empirical mode decomposition to decompose the collected acoustic emission signals, and extracts the multi-dimensional time-frequency characteristics of each signal subband after wavelet packet decomposition and ensemble empirical mode decomposition;
[0009] S3 calculates the correlation between a single feature and the surface roughness of the CFRP workpiece, and calculates the average value of the correlation between different features. Then, the mRMR scores between different features are calculated through the evaluation function, and the features that meet the requirements and the corresponding surface roughness are selected to form a data set. The data set is divided into training samples and test samples according to the specified ratio.
[0010] S4 constructs a CFRP surface roughness prediction model based on GA-DBN, takes the training sample as the input of the prediction model, takes the surface roughness of the corresponding CFRP workpiece as the output, trains the prediction model to obtain a trained surface roughness prediction model, and uses a test sample to verify the trained surface roughness prediction model;
[0011] S5 uses the CFRP surface roughness prediction model to predict the surface roughness of CFRP workpieces.
[0012] As a further preferred embodiment, in step S2, the collected acoustic emission signal is decomposed by wavelet packet decomposition, and the multi-dimensional time-frequency features of each signal sub-band after wavelet packet decomposition are extracted, including:
[0013] Based on the wavelet basis function, the acoustic emission signal X AE (t) Perform wavelet packet decomposition:
[0014]
[0015] In the formula, X AE (t) is the acoustic emission signal, q is the number of layers of the discrete wavelet decomposition of the acoustic emission signal, and m is the sequence number under the qth layer of decomposition. is the high frequency subband of the mth node in the qth layer, is the low frequency subband of the mth node in the qth layer, and t is the time.
[0016] As a further preferred embodiment, in step S2, the collected acoustic emission signal is decomposed by using the collective empirical mode, and the multi-dimensional time-frequency features of each signal sub-band after the collective empirical mode decomposition are extracted, including:
[0017] A series of white noises conforming to the normal distribution are added to the discrete acoustic emission signal sequence to form a collection of superimposed signals, so as to decompose the acoustic emission signal into multiple intrinsic mode functions and residual terms.
[0018] As a further preferred method, decomposing the acoustic emission signal into a plurality of intrinsic mode functions and residual terms comprises:
[0019] (1) Add a series of white noises that conform to the normal distribution to the collected discrete acoustic emission signal sequence to form a collection S of superimposed signals;
[0020] (2) Find the remaining unscreened acoustic emission signals after each signal in the signal set S undergoes multiple decompositions, and mark the extreme point positions of the signal curves;
[0021] (3) Use a cubic spline curve to connect all the maximum points as the upper envelope, and the minimum points as the lower envelope;
[0022] (4) Calculate the mean of the upper and lower envelopes, and use the signal difference obtained by subtracting the mean of the envelope from the residual signal as the IMF as the judgment condition;
[0023] (5) If the difference obtained in step (3) meets the judgment condition, the iteration stops; if it is not IMF, repeat steps (1) to (4) until the judgment condition is met;
[0024] (6) Perform weighted averaging on the same-order IMF components of each superimposed signal in the signal set S to obtain the final IMF component;
[0025] (7) Finally, the residual term is calculated. If the result meets the set threshold, the screening is completed; otherwise, the above steps are continued until stopping.
[0026] As a further preferred embodiment, in step S3, the maximum mutual information and minimum redundancy are used to respectively calculate the correlation between a single feature and the surface roughness of CFRP and the average correlation between different features, and then the evaluation function is used to calculate the mRMR score between different features, and it is determined whether the mRMR score is greater than a preset value. If it is greater than the preset value, the corresponding feature is used as an input sample, otherwise the corresponding feature is eliminated, and the above steps are repeated until all features are screened, and the screened features and the corresponding surface roughness constitute a data set, and the data set is divided into training samples and test samples according to a specified ratio.
[0027] As a further preference, a single characteristic variable S i (i=1,2,3…m) and CFRP surface roughness R a The degree of correlation D between them can be expressed by the mutual information between them:
[0028] D=I(S i ,R a )
[0029] In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, I(S i ,R a ) is S i With Ra The mutual information between them.
[0030] As a further preferred embodiment, in step S3, the redundancy R between different acoustic emission signal features can be expressed as the feature variable S i With other characteristic variables S j The average value of the sum of mutual information of (j=1,2,3…m) is expressed as:
[0031]
[0032] In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, S i and S j are two different signal feature variables in the feature set, I(S i ,S j ) is S i and S j The mutual information between AE A collection of features.
[0033] Preferably, in step S3, the evaluation function obtained by the maximum mutual information minimum redundancy method is characterized as:
[0034]
[0035] Where M(D,R) is the maximum mutual information and minimum redundancy between features.
[0036] As further preferred, the time domain characteristics of the acoustic emission signal include eight characteristics: mean, root mean square, variance, standard deviation, peak difference, crest factor, kurtosis and skewness;
[0037] The frequency domain characteristics of acoustic emission signals include seven features: power spectral density mean, power spectral density standard deviation, power spectral density root mean square, power spectral density kurtosis, power spectral density skewness, power spectral density crest factor and power spectral density peak frequency. Therefore, a total of 15 features are extracted from each signal subband.
[0038] As a further preferred embodiment, step S4 specifically includes:
[0039] S41 Construct a CFRP surface roughness prediction model based on GA-DBN;
[0040] S42 uses the time-frequency characteristics of the multidimensional acoustic emission signal selected from the training sample as the input of the prediction model, adopts 5-fold cross validation, normalizes the original data when the data is input into the model, adopts the GA algorithm to select the optimal hyperparameter, and determines the final structure of the DBN network;
[0041] The S43 training samples are trained through unsupervised pre-training with multi-layer stacked RBMs to obtain the expected output results. Then, supervised fine-tuning is performed through the BP algorithm to calculate the regression error of the prediction model and iteratively update the weights and biases of the prediction model.
[0042] S44 determines the number of iterations of the prediction model until the number of iterations meets a preset condition, obtains a trained CFRP surface roughness prediction model, and uses a test sample to verify the trained CFRP surface roughness prediction model.
[0043] According to another aspect of the present invention, a CFRP grinding and polishing surface roughness prediction system based on acoustic emission signals is provided, which is implemented using the above method.
[0044] In general, the above technical solution conceived by the present invention has the following technical advantages compared with the prior art:
[0045] 1. The present invention combines the characteristics of CFRP grinding and polishing processing itself and the characteristics of its surface roughness prediction method, and accordingly designs a CFRP surface roughness prediction model of a deep belief network (GA-DBN) improved by a genetic algorithm, and accordingly uses an acoustic emission sensor to collect acoustic emission signals during the grinding and polishing process of a CFRP workpiece, and uses wavelet packet decomposition and ensemble empirical mode decomposition to decompose and process the collected acoustic emission signals to extract the multidimensional time-frequency characteristics of each signal subband of the acoustic emission signal, and evaluates and screens the extracted time-frequency characteristics by the maximum mutual information and minimum redundancy method, and establishes a CFRP surface roughness prediction model of a deep belief network (GA-DBN) improved by a genetic algorithm, and uses the screened multidimensional time-frequency characteristics as model input samples to achieve accurate prediction of the surface roughness of CFRP. Through the above method, the surface roughness of CFRP can be predicted in real time, without the need to disassemble the workpiece for repeated detection during the processing process, which can reduce the measurement time, facilitate the operator to adjust the processing parameters in the first time, greatly improve the processing efficiency, and reduce the cost of manual detection.
[0046] 2. The present invention realizes accurate monitoring of the surface roughness of CFRP machining by introducing an acoustic emission sensor. This ensures the accuracy and real-time prediction of the material surface roughness, can greatly reduce the cost of manual inspection, improve processing efficiency, and facilitate real-time adjustment of process parameters during the processing process to achieve good material processing quality and meet the requirements of component processing.
[0047] 3. The present invention introduces the WPD and EEMD methods to realize the analysis and processing of acoustic emission signals and feature extraction, which can well adapt to the nonlinear and non-steady-state characteristics of acoustic emission signals, and accurately extract the multidimensional signal feature set in the time-frequency domain based on the signal characteristics, providing a basis for the subsequent model input sample screening.
[0048] 4. The present invention introduces the mRMR method to complete the filtering of the multi-dimensional feature collection samples of the acoustic emission signal, and screens out the signal feature subset that is most relevant to the surface roughness of CFRP, providing a basis for subsequent improvement of the model training effect.
[0049] 5. The present invention establishes a CFRP surface roughness prediction method based on GA-DBN, takes the screened signal feature subset as the model input sample, introduces the GA algorithm to select the optimal hyperparameters, determines the optimal network structure of the DBN model, and realizes accurate prediction of the CFRP surface roughness through model training and iterative update of network parameters, and improves the surface processing quality of parts by real-time monitoring of the processing status. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of a method for predicting the surface roughness of CFRP polishing based on acoustic emission signals according to an embodiment of the present invention;
[0051] Figure 2 It is a flow chart of mRMR signal feature screening in a method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals according to an embodiment of the present invention;
[0052] Figure 3 It is a flow chart of a GA algorithm in a method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals according to an embodiment of the present invention;
[0053] Figure 4 It is a DBN training flow chart in a method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals according to an embodiment of the present invention;
[0054] Figure 5 It is a flow chart of an algorithm for predicting the surface roughness of CFRP using a GA-DBN model in a method for predicting the surface roughness of CFRP polishing based on acoustic emission signals according to an embodiment of the present invention;
[0055] Figure 6 It is a prediction effect diagram of the CFRP grinding and polishing surface roughness prediction method based on acoustic emission signals of the present invention;
[0056] Figure 7 (a) is a prediction effect diagram of the CFRP grinding and polishing surface roughness prediction method based on acoustic emission signals of the present invention, Figure 7 (b) in the figure is the prediction effect diagram of support vector regression (SVR). Figure 7 (c) in the figure is the prediction effect diagram of the back propagation neural network (BP). Figure 7 (d) in the figure is the prediction effect diagram of random forest (RF);
[0057] Figure 8 The diagram shows the prediction results of the surface roughness prediction method of CFRP grinding and polishing based on acoustic emission signals of the present invention, the prediction results of support vector regression (SVR), the prediction results of back propagation neural network (BP), the prediction results of back propagation neural network (BP) and the prediction results of random forest (RF). DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0059] like Figure 1 As shown, the specific prediction process of a method for predicting the surface roughness of CFRP polishing based on acoustic emission signals in this embodiment is as follows:
[0060] Step 1: fix the acoustic emission sensor on the surface of the CFRP workpiece to collect the acoustic emission signal during the grinding and polishing process of the workpiece. Specifically, fix the acoustic emission sensor on the surface of the workpiece, and apply a coupling agent between the sensor and the workpiece to reduce signal transmission loss.
[0061] Step 2: Measure the surface roughness of the CFRP workpiece after grinding and polishing. Specifically, based on the piezoelectric effect of the crystal element inside the sensor, the stress wave signal generated during the grinding and polishing process of the CFRP is converted into a pressure signal and collected by the acoustic emission sensor. At the same time, the surface roughness of the workpiece after grinding and polishing is measured with a roughness measuring instrument, and the collected acoustic emission signal and surface roughness are used as the initial sample data.
[0062] Step three, respectively use wavelet packet decomposition and ensemble empirical mode decomposition to decompose the collected acoustic emission signal, and extract the multidimensional time-frequency characteristics of each signal subband after wavelet packet decomposition and ensemble empirical mode decomposition. Specifically, the collected acoustic emission signal is decomposed by wavelet packet decomposition (WPD) and ensemble empirical mode decomposition (EEMD), and the multidimensional time-frequency characteristics of each signal subband after the acoustic emission signal is decomposed by WPD and EEMD are extracted. The present invention uses wavelet packet decomposition (WPD) and ensemble empirical mode decomposition (EEMD) as a method for acoustic emission signal analysis and feature screening.
[0063] The present invention adopts wavelet packet decomposition (WPD) and ensemble empirical mode decomposition (EEMD) as methods for acoustic emission signal analysis and feature screening.
[0064] Among them, wavelet packet decomposition (WPD) decomposes the collected acoustic emission signal layer by layer to obtain the same number of low-frequency and high-frequency sub-bands, and each decomposed sub-band of the signal represents the time domain change in a certain frequency domain.
[0065] Scaling equation φ of wavelet transform of acoustic emission signal AE (t) and the wavelet equation It can be expressed as:
[0066]
[0067] h c ,g c Expressed as the coefficients of the low-pass and high-pass filters respectively:
[0068]
[0069] Finally, db3 is selected as the wavelet basis function, and the acoustic emission signal X AE The WPD decomposition of (t) can be expressed as:
[0070]
[0071] In the formula, X AE (t) is the acoustic emission signal, q is the number of layers of the discrete wavelet decomposition of the acoustic emission signal, and m is the sequence number under the qth layer of decomposition. is the high frequency subband of the mth node in the qth layer, is the low frequency subband of the mth node in the qth layer, and t is the time.
[0072] More specifically, in this embodiment, the EEMD method is a signal decomposition algorithm based on the improved EMD, which can decompose the signal into multiple intrinsic mode functions (IMFs) and residual terms by adding a series of white noises conforming to the normal distribution to the discrete acoustic emission signal sequence to form a collection of superimposed signals. The specific steps are:
[0073] (1) The collected discrete acoustic emission signal sequence X AE A series of white noise N(t) conforming to the normal distribution is added to (t) to form a collection S of superimposed signals;
[0074] (2) Find the remaining unscreened acoustic emission signal after each signal in the signal set S undergoes multiple decompositions, and mark the position of the extreme point of the signal curve;
[0075] (3) Use a cubic spline curve to connect all the maximum points as the upper envelope, and the minimum points as the lower envelope;
[0076] (4) Calculate the mean of the upper and lower envelopes, and use the signal difference obtained by subtracting the mean of the envelope from the residual signal as the IMF as the judgment condition;
[0077] (5) If the difference obtained in step (3) meets the judgment condition, the iteration stops; if it is not IMF, repeat steps (1) to (4) until the judgment condition is met;
[0078] (6) Perform weighted averaging on the same-order IMF components of each superimposed signal in the signal set S to obtain the final IMF component;
[0079] (7) Finally, the residual term is calculated. If the result meets the set threshold (stop criterion), the screening ends; otherwise, continue to complete the above steps until stopping.
[0080] Since the WPD and EEMD methods can decompose the discrete acoustic emission signal sequence into multiple time-frequency signal subbands and IMF signal subbands in the wavelet domain, each signal subband contains information related to CFRP robot belt grinding. In order to be able to represent the information in the most intuitive form, the present invention fully considers the characteristics of the acoustic emission signal, selects 8 features of the acoustic emission signal in the time domain space and 7 features in the frequency domain space, and the selected features will be used as sample inputs of the deep learning model.
[0081] The time domain features of acoustic emission signals include eight features, namely, mean, root mean square, variance, standard deviation, peak difference, crest factor, kurtosis and skewness. The frequency domain features of acoustic emission signals include seven features, namely, power spectrum density mean, power spectrum density standard deviation, power spectrum density root mean square, power spectrum density kurtosis, power spectrum density skewness, power spectrum density crest factor and power spectrum density peak frequency. Therefore, a total of 15 features are extracted from each signal subband.
[0082] Step 4, construct a CFRP surface roughness prediction model based on GA-DBN, use the training sample as the input of the prediction model, and the corresponding CFRP workpiece surface roughness as the output, train the prediction model to obtain the trained CFRP surface roughness prediction model, and use the test sample to verify the trained CFRP surface roughness prediction model. More specifically, the extracted time-frequency features are evaluated and screened by the maximum mutual information and minimum redundancy method (mRMR), and a CFRP surface roughness prediction model of the deep belief network (GA-DBN) improved by the genetic algorithm is established. In this embodiment, the maximum mutual information minimum redundancy (mRMR) method is selected to characterize the closeness of the connection between the multivariate characteristics of the acoustic emission signal and the target. The mRMR method uses the multidimensional acoustic emission signal feature set after WPD and EEMD decomposition to calculate the correlation between a single feature and the surface roughness of CFRP and the average correlation between different features. Then, the mRMR score between different features is calculated through the evaluation function, and it is determined whether it is greater than the preset value. If the preset conditions are met, it will be used as a model input sample. The above process is repeated until all features are screened, and finally all the screened features are sent as a collection of input features to the deep learning model training.
[0083] This method can directly analyze the degree of connection of the data itself, ensure the maximum correlation between the extracted acoustic emission signal feature set and the surface roughness of the CFRP material, and minimize the information redundancy between different signal features. Finally, the features with the most overlap with the target information are selected based on the evaluation score sorting.
[0084] The mRMR signal feature screening process is as follows Figure 2 As shown, for the multidimensional signal feature set T after the acoustic emission signal is decomposed by WPD and EEMD AE ={S 1 ,S 2 ,S 3 ...S m}, a single feature variable S i (i=1,2,3…m) and CFRP surface roughness R a The degree of correlation D between them can be expressed by the mutual information between them:
[0085] D=I(S i ,R a )
[0086] In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, I(S i ,R a ) is S i With R a The mutual information between them.
[0087] In addition, the feature set T AE The redundancy R between different acoustic emission signal features can be expressed as the characteristic variable S i With other characteristic variables S j The average value of the sum of mutual information of (j=1,2,3…m) is expressed as:
[0088]
[0089] In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, S i and S j are two different signal feature variables in the feature set, I(S i ,S j ) is S i and S j The mutual information between AE A collection of features.
[0090] The final evaluation function obtained by the mRMR method can be characterized as:
[0091]
[0092] Where M(D,R) is the maximum mutual information and minimum redundancy between features.
[0093] Step five, the surface roughness of the CFRP workpiece is predicted using the CFRP surface roughness prediction model. In this step, the selected multidimensional time-frequency features are used as model input samples to achieve accurate prediction of the surface roughness of the CFRP. Through the above method, the surface roughness can be predicted in real time, without the need to disassemble the workpiece for repeated detection during the processing process, which can reduce the measurement time, facilitate the operator to adjust the processing parameters at the first time, greatly improve the processing efficiency, and reduce the cost of manual detection. In this embodiment, when DBN is selected for the prediction of the surface roughness of CFRP by robot belt grinding, the first thing is to select appropriate hyperparameters to build the DBN regression model. The hyperparameters required for the configuration of DBN mainly include the number of hidden layers, the number of hidden layer nodes, the pre-training learning rate, the fine-tuning learning rate, the number of pre-training times and the number of fine-tuning times. The hyperparameters of the DBN model are selected by the GA algorithm, and the network parameters of the DBN are configured according to these optimal parameters. Optimizing the hyperparameters can ensure that the model iteration rate is faster, the learning performance is stronger, and the prediction results have higher accuracy.
[0094] In this embodiment, the GA flow chart is as follows: Figure 3 As shown, the specific implementation steps are as follows:
[0095] (1) Initialization: Randomly generate n individuals and use them as the initial population for genetic iteration.
[0096] (2) Individual evaluation: The fitness value p(x i )(i=0,1,…,n), select the individual x with the highest fitness value max .
[0097] (3) Selection operation: Based on step (2), the selected optimized individuals with high fitness are directly inherited to the next generation, where the probability of an individual being selected is
[0098] (4) Crossover operation: Based on the crossover operator, different individuals are randomly selected from the iterated sub-population for crossover inheritance to generate new individuals with different genetic information from the original individuals. Repeat the crossover operation process multiple times to generate different genetically recombined populations.
[0099] (5) Mutation operation: Change or flip certain genetic information of individuals during the genetic iteration process to generate new mutant individuals. Then send the mutant individuals to step (2) to undergo m genetic iterations to generate a new generation of mutant populations, and select the individual x with the highest fitness value from them. * max .
[0100] (6) Termination judgment: When the number of inheritance reaches the termination condition, the operation stops and the optimal parameter individual is output.
[0101] In this embodiment, the DBN is composed of three restricted Boltzmann machines (RBMs) and a regression layer (or classification layer). The RBM visible layer at the bottom of the network receives the initialization sample data input by the system, and then trains the initial data through the algorithm of a single RBM and outputs the data to the first hidden layer. The output of the first hidden layer is then sent as input data to the second RBM visible layer. The above steps are repeated until the sample data completes layer-by-layer feature learning in the stacked RBM in turn, and the top network layer completes the regression prediction or classification task of the data.
[0102] The training process of DBN is divided into two stages: unsupervised pre-training based on RBM and supervised tuning training. First, RBM is used to complete the bottom-up layer-by-layer learning of sample data, and then the BP algorithm is used to propagate the error from top to bottom to update the entire network parameters. The training process is as follows Figure 4 shown.
[0103] Unsupervised pre-training: The RBM-based data training algorithm finds the probability distribution that can best generate training samples. Each layer of the RBM network is trained separately and unsupervised to ensure that as much feature information as possible is retained when the feature vector is mapped to different feature spaces; after repeated iterations of multiple layers of RBM, the forward propagation algorithm is used to complete multiple training of the original data, and the network parameters are initialized in the probability distribution of the generated training samples. This process can greatly reduce the time for sample training and improve the prediction accuracy of the model. It has advantages over some other deep learning models in data feature extraction.
[0104] Supervised tuning training: The output value obtained from the previous network pre-training is compared with the actual label value of the data, and the error iteration is completed from top to bottom through the BP algorithm. During the training process, the network internal weights, biases and other parameters are adjusted and optimized.
[0105] like Figure 5 The algorithm flow of GA-DBN model for predicting CFRP surface roughness is shown.
[0106] (1) The time-frequency characteristics of the selected multidimensional acoustic emission signals are used as model input samples through the mRMR method;
[0107] (2) A 5-fold cross validation was used and the original data was normalized before being input into the model; the GA algorithm selected the optimal hyperparameters and determined the final structure of the DBN network;
[0108] (3) The input sample is trained unsupervised by a multi-layer stack of RBMs to obtain the expected output result. The BP algorithm is then used for supervised fine-tuning to calculate the regression error of the model and iteratively update the model parameters such as weights and biases.
[0109] (4) Determine the number of model iterations until the model outputs the result after it meets the preset conditions;
[0110] (5) The predicted results of CFRP surface roughness are output and analyzed and compared with the true values to evaluate the prediction performance of the GA-DBN model.
[0111] According to another aspect of the present invention, a system is provided for implementing a method for predicting the surface roughness of CFRP polishing process based on acoustic emission signals.
[0112] The method of this embodiment uses the selected signal feature subset as the model input sample, introduces the GA algorithm to select the optimal hyperparameters, determines the optimal network structure of the DBN model, and realizes the accurate prediction of the CFRP surface roughness through model training and iterative update of network parameters. The actual prediction effect is as follows: Figure 6 As shown in Figure 2. The surface processing quality of parts can be improved by real-time monitoring of the processing status.
[0113] The prediction performance of GA-DBN, support vector regression (SVR), back propagation neural network (BP), and random forest (RF) models on the same data set was compared. The RMSE and MAPE of the GA-DBN model were 0.173 and 3.86% respectively, and the prediction effect was significantly better than the other three models, with higher prediction accuracy and better generalization performance. Figure 7 and Figure 8 shown.
[0114] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals. It is characterized in that The following steps are involved: S1 fixes the acoustic emission sensor on the surface of the CFRP workpiece, collects the acoustic emission signal during the grinding and polishing process of the workpiece, and measures the surface roughness of the workpiece after grinding and polishing; S2 uses wavelet packet decomposition and ensemble empirical mode decomposition to decompose the collected acoustic emission signals, and extracts the multi-dimensional time-frequency characteristics of each signal subband after wavelet packet decomposition and ensemble empirical mode decomposition; S3 uses the mRMR method to calculate the correlation between each feature and the surface roughness of the CFRP workpiece, and calculates the average value of the correlation between different features. Then, the scores between different features are calculated through the evaluation function, and the features that meet the requirements and the corresponding surface roughness are selected to form a data set. The data set is divided into training samples and test samples according to the specified ratio. S4 constructs a CFRP surface roughness prediction model based on GA-DBN, takes the training sample as the input of the prediction model, takes the surface roughness of the corresponding CFRP workpiece as the output, trains the prediction model to obtain a trained surface roughness prediction model, and uses a test sample to verify the trained surface roughness prediction model; S5 uses the CFRP surface roughness prediction model to predict the surface roughness of the workpiece.
2. According to claim 1, a method for predicting the surface roughness of CFRP polishing based on acoustic emission signals, It is characterized in that In step S2, the collected acoustic emission signal is decomposed by wavelet packet decomposition, and the multi-dimensional time-frequency features of each signal sub-band after wavelet packet decomposition are extracted, including: Based on the wavelet basis function, the acoustic emission signal X AE (t) Perform wavelet packet decomposition: Where, X AE (t) is the acoustic emission signal, q is the number of layers of the discrete wavelet decomposition of the acoustic emission signal, and m is the sequence number under the qth layer of decomposition. is the high frequency subband of the mth node in the qth layer, is the low frequency subband of the mth node in the qth layer, and t is the time.
3. According to claim 1, a method for predicting the surface roughness of CFRP polishing based on acoustic emission signals, It is characterized in that In step S2, the collected acoustic emission signal is decomposed by using the ensemble empirical mode, and the multi-dimensional time-frequency features of each signal sub-band after the ensemble empirical mode decomposition are extracted, including: A series of white noises conforming to normal distribution are added to the discrete acoustic emission signal sequence to form a collection of superimposed signals, and the signal collection is decomposed into multiple intrinsic mode functions and residual terms.
4. According to claim 1, a method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals, It is characterized in that Decomposing the acoustic emission signal into multiple intrinsic mode functions and residual terms includes: (1) Add a series of white noises that conform to the normal distribution to the collected discrete acoustic emission signal sequence to form a collection S of superimposed signals; (2) Find the remaining unscreened acoustic emission signals after each signal in the signal set S undergoes multiple decompositions, and mark the extreme point positions of the signal curves; (3) Use a cubic spline curve to connect all the maximum points as the upper envelope, and the minimum points as the lower envelope; (4) Calculate the mean of the upper and lower envelopes, and use the signal difference obtained by subtracting the mean of the envelope from the residual signal as the IMF as the judgment condition; (5) If the difference obtained in step (3) meets the judgment condition, the iteration stops; if it is not IMF, repeat steps (1) to (4) until the judgment condition is met; (6) Perform weighted averaging on the same-order IMF components of each superimposed signal in the signal set S to obtain the final IMF component; (7) Finally, the residual term is calculated. If the result meets the set threshold, the screening is completed; otherwise, the above steps are continued until the end.
5. According to claim 1, a method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals, It is characterized in that In step S3, the maximum mutual information and minimum redundancy are used to calculate the correlation between a single feature and the surface roughness of CFRP and the average correlation between different features. Then, the evaluation function is used to calculate the mRMR score between different features, and it is determined whether the mRMR score is greater than the preset value. If it is greater than the preset value, the corresponding feature is used as the input sample, otherwise the corresponding feature is eliminated. The above steps are repeated until all features are screened. The screened features and the corresponding surface roughness constitute a data set, and the data set is divided into training samples and test samples according to the specified ratio.
6. A method for predicting surface roughness of CFRP grinding and polishing based on acoustic emission signals according to claim 5, It is characterized in that Single feature variable S i (i=1,2,3…m) and CFRP surface roughness R a The degree of correlation D between them can be expressed by the mutual information between them: D=I(S i ,R a ) In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, I(S i ,R a ) is S i With R a The mutual information between them.
7. The method for predicting surface roughness of CFRP polishing based on acoustic emission signals according to claim 5, It is characterized in that In step S3, the redundancy R between different acoustic emission signal features can be expressed as the feature variable S i With other characteristic variables S j The average value of the sum of mutual information of (j=1,2,3…m) is expressed as: In the formula, i is the sequence number of the characteristic variable, m is the number of characteristic variables, S i and S j are two different signal feature variables in the feature set, I(S i ,S j ) is S i and S j The mutual information between AE It is a collection of features; Preferably, in step S3, The evaluation function obtained by the maximum mutual information minimum redundancy method is characterized as: Where M(D,R) is the maximum mutual information and minimum redundancy between features.
8. The method for predicting surface roughness of CFRP polishing based on acoustic emission signals according to claim 1, It is characterized in that The time domain characteristics of acoustic emission signals include eight characteristics: mean, root mean square, variance, standard deviation, peak difference, crest factor, kurtosis and skewness; The frequency domain characteristics of acoustic emission signals include seven features: power spectral density mean, power spectral density standard deviation, power spectral density root mean square, power spectral density kurtosis, power spectral density skewness, power spectral density crest factor and power spectral density peak frequency. Therefore, a total of 15 features are extracted from each signal subband.
9. The method for predicting surface roughness of CFRP polishing based on acoustic emission signals according to claim 1, It is characterized in that Step S4 specifically includes: S41 Construct a CFRP surface roughness prediction model based on GA-DBN; S42 uses the time-frequency characteristics of the multidimensional acoustic emission signal selected from the training sample as the input of the prediction model, adopts 5-fold cross validation, normalizes the original data when the data is input into the model, adopts the GA algorithm to select the optimal hyperparameter, and determines the final structure of the DBN network; The S43 training samples are trained through unsupervised pre-training with multi-layer stacked RBMs to obtain the expected output results. Then, supervised fine-tuning is performed through the BP algorithm to calculate the regression error of the prediction model and iteratively update the weights and biases of the prediction model. S44 determines the number of iterations of the prediction model until the number of iterations meets a preset condition, obtains a trained CFRP surface roughness prediction model, and uses a test sample to verify the trained CFRP surface roughness prediction model.
10. A CFRP grinding and polishing surface roughness prediction system based on acoustic emission signals. It is characterized in that The method is implemented by the method according to any one of claims 1 to 7.
Citation Information
Cited By
Grinding state and grinding wheel wear monitoring system and method based on multi-sensor fusion
CN120190763A
