Milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy
By using the whale optimization algorithm to optimize the variational mode decomposition and fuzzy entropy algorithm during the milling process, the problems of inaccurate feature extraction and long calculation time in milling chatter monitoring are solved, and the rapid and accurate identification of milling cutter chatter is achieved. Real-time monitoring improves the accuracy and applicability of monitoring.
Patent Information
- Application Number
- CN202210340471.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-02
AI Technical Summary
The existing technology has problems in chatter monitoring during milling, such as inaccurate feature extraction, long calculation time, and sensitivity to sampling frequency and background noise, making it difficult to achieve fast and accurate chatter identification.
The variational mode decomposition method based on the whale optimization algorithm is used, combined with the fuzzy entropy algorithm, to construct the mapping relationship between milling force and fuzzy entropy, quickly extract the chatter characteristic signal, and achieve accurate identification and real-time monitoring of chatter.
It effectively extracts chatter characteristic signals, improves the accuracy of chatter identification and real-time monitoring capabilities, reduces dependence on expert experience, has strong applicability, and can quickly identify milling cutter chatter.
Smart Images

Figure CN114742104B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of state monitoring of milling processing, relates to the problem of chatter monitoring of a milling cutter, and is specifically a milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy. Background Art
[0002] Chatter is a common form of self-excited vibration in the process of workpiece machining. It will accelerate tool wear, reduce tool life, cause high surface roughness of machined parts, and cause harsh noise during machining. For milling, chatter will lead to a decrease in workpiece surface quality, so early detection and control of chatter can improve workpiece quality, but this is still a challenge for the manufacturing industry. There are three areas of research on chatter: chatter prediction, chatter monitoring, and chatter control. Chatter prediction includes cutting force coefficients, dynamic parameters, and stable lobe diagrams. There are also many ways to suppress chatter, such as changing the tool structure, changing the handle support stiffness and damping, changing the spindle speed, piezoelectric control, etc. For a complete chatter monitoring and control system, chatter needs to be monitored before controlling chatter, so how to accurately and quickly monitor chatter is a complex problem.
[0003] In the process of flutter monitoring, flutter feature extraction is crucial. Common feature extraction methods include empirical mode decomposition (EMD), ensemble empirical mode decomposition (EEMD), variational mode decomposition (VMD) and wavelet decomposition (WPD). In recent years, some researchers have found that these feature extraction methods can be used for flutter monitoring. Some scholars have proposed combining wavelet denoising with empirical mode decomposition for flutter monitoring, and the accuracy has been improved but is still low. EMD and EEMD are easily affected by sampling frequency and background noise during the decomposition process, resulting in modal aliasing and endpoint effects. To address this problem, foreign scholars have optimized the EMD method and proposed VMD decomposition. VMD can adaptively decompose multi-component signals into multi-sub-signals with limited bandwidth, and has been proven to be effective in rolling bearing fault diagnosis. Due to the wide applicability of the VMD method, some scholars have applied it to flutter monitoring. Kaili et al. combined the angle synchronous averaging method with the VMD method for force signal extraction, demonstrating the applicability of the VMD method in flutter monitoring. In order to solve the problem of VMD parameter selection, some scholars proposed to use kurtosis as a metric to select the number of modal decompositions K and the penalty factor α, but this method takes a long time to calculate and is not conducive to real-time monitoring. In order to improve the calculation speed and select K and α more accurately, combined with the characteristics of the whale optimization algorithm that can solve the local optimum, a variational modal decomposition algorithm based on WOA optimization is proposed.
[0004] Generally speaking, chatter monitoring is divided into two processes: feature extraction and chatter identification. Chatter identification requires the construction of chatter indicators, which are characterized by accurate and rapid chatter identification. Entropy reflects the repeatability of the signal and has high sensitivity. In recent years, entropy has been introduced into chatter monitoring systems as a monitoring indicator. Compared with approximate entropy and sample entropy, fuzzy entropy integrates the concept of fuzziness and uses exponential functions instead of unit step functions to overcome the mutation of similarity measurement, so it is more suitable for chatter monitoring. Summary of the invention
[0005] In order to solve the problems existing in the prior art, the present invention provides a milling chatter identification method based on optimized variational modal decomposition and fuzzy entropy. Based on the chatter feature extraction problem, a VMD decomposition method based on the whale optimization algorithm is proposed to quickly extract the chatter signal; based on the chatter monitoring problem, a mapping relationship between milling force and fuzzy entropy is established, and a chatter monitoring model in milling processing is constructed, which effectively realizes the accurate identification of chatter. The present invention can effectively extract the characteristic signal of chatter, quickly process the force signal, and realize accurate online monitoring of chatter, and has the characteristics of high recognition accuracy and strong applicability.
[0006] The technical solution of the present invention is:
[0007] A milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy includes the following steps:
[0008] Step 1: Acquisition and preprocessing of force signals:
[0009] Force sensors are used to collect force signals in three directions during milling. The DC component of the cutting force signal is removed and only the AC component is saved. In order to ensure signal resolution, the collected cutting force signal is segmented to obtain multiple time series sample sequences of equal length.
[0010] Step 2: Construct WOA optimization function:
[0011] The kurtosis is used as the optimization function of WOA. The kurtosis reflects the probability distribution of the cutting force signal and can describe the steepness of the signal. The larger the kurtosis value, the steeper the peak of the normal distribution with the same standard deviation. i Mathematically defined as the standard fourth-order central moment, the formula is as follows:
[0012]
[0013] Where x is the collected cutting force signal, μ is the average value of the cutting force signal, σ is the standard deviation of the cutting force signal, and i is the i-th modal component; the fitness function of the whale optimization algorithm is the minimum type function, while the optimization function of milling chatter identification is the maximum kurtosis, so the fitness function is defined as:
[0014]
[0015] When flutter occurs, the amplitude of the flutter characteristic component increases significantly, the modal component signal deviates from the normal distribution, and the kurtosis increases, so it is appropriate to choose this indicator as the fitness function.
[0016] Step 3: Find the optimal decomposition parameter [Kα] based on the WOA algorithm:
[0017] First, the number of decomposition layers and the iteration range of the penalty factor are set based on the characteristics of the cutting force signal, and the range K of the modal decomposition times is set to [k min ,k max ], and set the penalty factor α to the range of [α min ,α max ], construct w min =[k min ; α min ],w max =[k max ,α max ], and then initialize the random components and the equation combination:
[0018] p=Y*(w max -w min )+w min
[0019] Where p represents the initialized parameter matrix, Y represents a random number in the interval [0,1], and w max represents the maximum value of the optimization parameter, w min Represents the minimum value of the optimization parameter;
[0020] Secondly, the parameters of the cutting force signal are optimized using the shrinkage envelope algorithm, spiral shrinkage algorithm and random exploration algorithm.
[0021] Finally, in order to avoid the local optimal problem in the VMD optimization process, a global search is performed using the search prey. The mathematical model is as follows:
[0022]
[0023]
[0024] in, is a random position vector selected from the current population;
[0025] Position vector is the index of the matrix p, and its corresponding [K, α] is obtained, which is then used as the input parameter of variational mode decomposition. The collected cutting force signal is decomposed by VMD to calculate the kurtosis value R of each modal component. iAnd the adapted function Q. The above calculation process is an iterative calculation process, and each iterative calculation outputs the corresponding K, α and R i Set a reasonable number of iterations. When the maximum iteration coefficient is reached, exit the iteration loop and output the maximum kurtosis value R. i And the corresponding [K, α], get the optimal decomposition parameters [K, α].
[0026] Step 4: Chatter Identification Based on Fuzzy Entropy Algorithm
[0027] Using the optimal decomposition parameters [K, α] obtained in step 3 as input parameters, VMD decomposition is performed on the collected cutting force signal to obtain multiple characteristic mode components; the embedding dimension of fuzzy entropy is set, and the fuzzy entropy of the characteristic mode components is calculated. The corresponding fuzzy entropy threshold is set according to different cutting states and the direction of cutting force. When the fuzzy entropy of a certain stage is greater than the threshold, a chatter alarm is executed to monitor in real time whether the milling cutter chatter occurs during the milling process.
[0028] The beneficial effects of the present invention are as follows: the milling chatter identification method using optimized variational mode decomposition and fuzzy entropy establishes a mapping relationship between milling force and fuzzy entropy, quickly extracts the characteristic signal of chatter, constructs a chatter monitoring model in milling processing, effectively realizes accurate identification of chatter, and gets rid of the dependence of traditional chatter identification technology on expert experience. It has multi-dimensional analysis capabilities and improves the accuracy of chatter monitoring and identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a calculation flow chart of a milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy of the present invention;
[0030] Figure 2(a) to Figure 2(c) They are the time domain diagrams of the force signal in the X, Y and Z directions respectively;
[0031] Figure 3(a) to Figure 3(c) They are respectively the kurtosis, K and α optimized by the proposed WOA-VMD algorithm;
[0032] Figure 4(a) and Figure 4(b) are the time domain and frequency domain images of the force signal after VMD decomposition using the optimized [Kα], respectively;
[0033] Figure 5(a) to Figure 5(c) They are the comparison diagrams of fuzzy entropy, sample entropy and approximate entropy in chatter recognition. DETAILED DESCRIPTION
[0034] The specific implementation of the present invention is described in detail below in conjunction with the technical scheme and the accompanying drawings.
[0035] In this embodiment, a milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy is provided. Figure 1A computational flow chart representing the milling chatter identification method, comprising the following steps:
[0036] Step 1: Acquisition and preprocessing of force signals:
[0037] The cutting force signals in three directions during the milling process are collected using force sensors, and the DC component in the cutting force signal is removed to save only the AC component. In order to ensure the signal resolution, the collected force signal is segmented to obtain multiple time series sample sequences of equal length.
[0038] Specifically, in the milling experiment, the workpiece material is aluminum alloy, with the shape of a trapezoidal block and a base size of 120mm×80mm. The workpiece is fixed on the force sensor, and then the force sensor is locked on the processing platform. In this way, the three-axis force signal during the milling process is collected. The surface of the workpiece is an inclined plane, which is intended to simulate the process of milling a flexible impeller. The occurrence of flutter is related to the spindle speed and cutting depth. In order to obtain the flutter signal, the spindle speed is set in the range of 4000-8000rpm, and the cutting depth is set between 1-4mm. Finally, the collected signal is divided into a time series of 5s by equal time periods. The segmented time domain signal is as follows Figure 2(a) to Figure 2(c) As shown, it prepares for subsequent signal processing.
[0039] Step 2: Construct WOA optimization function:
[0040] The kurtosis is used as the optimization function of WOA. The kurtosis reflects the probability distribution of the cutting force signal and can describe the steepness of the signal. The larger the kurtosis value, the steeper the peak of the normal distribution with the same standard deviation. i Mathematically defined as the standard fourth-order central moment, the formula is as follows:
[0041]
[0042] Where x is the collected cutting force signal, μ is the average value of the cutting force signal, σ is the standard deviation of the cutting force signal, and i is the i-th modal component; the fitness function of the whale optimization algorithm is the minimum type function, while the optimization function of milling chatter identification is the maximum kurtosis, so the fitness function is defined as:
[0043]
[0044] When flutter occurs, the amplitude of the flutter characteristic component increases significantly, the modal component signal deviates from the normal distribution, and the kurtosis increases, so it is appropriate to choose this indicator as the fitness function.
[0045] Step 3: Find the optimal decomposition parameter [Kα] based on the WOA algorithm:
[0046] First, the number of decomposition layers and the iteration range of the penalty factor are set based on the characteristics of the cutting force signal, and the range K of the modal decomposition times is set to [k min ,k max ], and set the penalty factor α to the range of [α min ,α max ], construct w min =[k min ; α min ],w max =[k max ,α max ], and then initialize the random components and the equation combination:
[0047] p=Y*(w max -w min )+w min
[0048] Where p represents the initialized parameter matrix, Y represents a random number in the interval [0,1], and w max represents the maximum value of the optimization parameter, w min Represents the minimum value of the optimization parameter;
[0049] Secondly, the parameters of the cutting force signal are optimized using the shrinkage envelope algorithm, spiral shrinkage algorithm and random exploration algorithm.
[0050] The shrinking envelope algorithm is represented by the following equation:
[0051]
[0052]
[0053] Where t represents the number of iterations, and represents the coefficient vector, and represents the position vector, is the distance vector.
[0054] The spiral contraction algorithm is represented by the following equation:
[0055]
[0056]
[0057] where b is the spiral constant, l is a random number in [-1,1], is the updated distance vector. Assuming that the probability of choosing between the shrinking envelope algorithm and the spiral shrinking algorithm is equal, the mathematical model is as follows:
[0058]
[0059] Finally, in order to avoid the local optimal problem in the VMD optimization process, a global search is performed using the search prey. The mathematical model is as follows:
[0060]
[0061]
[0062] in, is a random position vector selected from the current population;
[0063] Position vector is the index of the matrix p, and its corresponding [K, α] is obtained, which is then used as the input parameter of the variational mode decomposition. The collected force signal is decomposed by VMD to calculate the kurtosis value R of each modal component. i And the adapted function Q. The above calculation process is an iterative calculation process, and each iterative calculation outputs the corresponding K, α and R i Set a reasonable number of iterations. When the maximum iteration coefficient is reached, exit the iteration loop and output the maximum kurtosis value R. i And the corresponding [K, α], get the optimal decomposition parameters [K, α].
[0064] When embedding VMD into the WOA algorithm, two issues must be considered. First, the number of decomposed modes needs to be integrated, and the optimization and iteration process must not lead to violations. Second, when constructing the position vector, the modal components and penalty factors should have similar magnitudes, and subsequent calculations can be multiplied by the corresponding coefficients.
[0065] Specifically, the proposed method is used to decompose the chatter signal, the iteration range of K is set to [3 10], α is [10010000], each input parameter is initialized, and the kurtosis is used as the fitness function to find the optimal combination [K, α]. The iteration precisions of K and α are set to 1 respectively, and the input parameters are optimized using the whale optimization algorithm. Figure 3(a) to Figure 3(c) It can be found that when it iterates to step 11, its kurtosis reaches the maximum value, corresponding to α = 2750, and when it iterates to step 4 to find the optimal number of modal decomposition K = 9. The chatter signal is decomposed by the VMD algorithm using the optimized parameters K and α. These components are as follows Figure 4(a) to Figure 4(b) As shown in the figure, the chatter signal is decomposed into 9 components with clear frequency band boundaries, among which U1 and U2 are the main shaft rotation components, which mainly contain the rotation frequency, the tooth passing frequency and the multiple frequencies. U4, U5 and U6 are chatter components, and the other components are disturbance components. Therefore, the proposed WOA-VMD algorithm can quickly separate the chatter components without causing the problem of modal confusion, which proves the effectiveness of the method.
[0066] Step 4: Chatter Identification Based on Fuzzy Entropy Algorithm
[0067] Using the optimal decomposition parameters [K, α] obtained in step 3 as input parameters, VMD decomposition is performed on the collected cutting force signal to obtain multiple characteristic mode components. The vector sequence constructed using the characteristic mode components is:
[0068]
[0069]
[0070] Where y(i)(1≤i≤N) represents the time series of the force signal component, N represents the length of the modal component, m represents the dimension, and Y i m Represents a constructed vector sequence.
[0071] definition is the vector Y i m With other vector Y j m The maximum absolute value of the difference between:
[0072]
[0073] Given the boundary gradient n and the boundary width r, calculate the similarity between two vectors:
[0074]
[0075] Definition φ m is a fuzzy variable:
[0076]
[0077] For discrete signals, the calculation formula of fuzzy entropy is:
[0078] FuzzyEn(m,n,r,N)=lnφ m (n,r)-lnφ m+1 (n,r)
[0079] According to the above formula, the embedding dimension of fuzzy entropy is set, and the fuzzy entropy of characteristic modal component is calculated. According to different cutting states and the direction of cutting force, the corresponding fuzzy entropy threshold is set. When the fuzzy entropy of a certain stage is greater than the threshold, the chatter alarm is executed to monitor whether the milling cutter chatter occurs in real time during the milling process.
[0080] Specifically, for fuzzy entropy, approximate entropy and sample entropy, the same embedding dimension 4 and threshold are selected for the force signals in the three directions. Figure 5(a) to Figure 5(c)As shown in the figure, when chatter occurs, the fuzzy entropy changes more, while the approximate entropy and sample entropy change less. This shows that when chatter occurs, the fuzzy entropy has a higher amplitude sensitivity than the approximate entropy and sample entropy, and the accuracy of chatter identification will be greatly improved. The experimental results show that the method proposed in the present invention can monitor chatter in three directions, so during the milling process, there is no need to monitor the force signals in three directions, only the axial force changes need to be monitored. Special milling also only needs to monitor the force signal in a certain direction, so this method is more applicable.
Claims
1. A milling chatter identification method based on optimized variational mode decomposition and fuzzy entropy, characterized in that: The following steps are involved: Step 1: Acquisition and preprocessing of force signals: The force sensor is used to collect force signals in three directions during milling, and the DC component of the cutting force signal is removed to save only the AC component. In order to ensure the signal resolution, the collected cutting force signal is segmented to obtain multiple time series sample sequences of equal length; Step 2: Construct WOA optimization function: The kurtosis is used as the optimization function of WOA. The kurtosis reflects the probability distribution of the cutting force signal and describes the steepness of the signal. The larger the kurtosis value, the steeper the peak of the normal distribution with the same standard deviation. i Mathematically defined as the standard fourth-order central moment, the formula is as follows: Where x is the collected cutting force signal, μ is the average value of the cutting force signal, σ is the standard deviation of the cutting force signal, and i is the i-th modal component; the fitness function of the whale optimization algorithm is the minimum type function, while the optimization function of milling chatter identification is the maximum kurtosis, so the fitness function is defined as: Step 3: Find the optimal decomposition parameter [Kα] based on the WOA algorithm: First, the number of decomposition layers and the iteration range of the penalty factor are set based on the characteristics of the cutting force signal, and the range K of the modal decomposition times is set to [k min , k max ], and set the penalty factor α to the range of [α min , α max ], construct w min =[k min ; α min ],w max =[k max , α max ], and then initialize the random components and the equation combination: p=Y*(w max -w min )+w min Where p represents the initialized parameter matrix, Y represents a random number in the interval [0, 1], and w max represents the maximum value of the optimization parameter, w min Indicates the minimum value of the optimization parameter; Secondly, the shrinkage envelope algorithm, spiral shrinkage algorithm and random exploration algorithm are used to optimize the parameters of the cutting force signal; Finally, in order to avoid the local optimum problem in the VMD optimization process, a global search is performed using search prey; Position vector is the index of the matrix p, and its corresponding [K, α] is obtained, which is then used as the input parameter of variational mode decomposition. The collected cutting force signal is decomposed by VMD to calculate the kurtosis value R of each modal component. i and the adaptive function Q; the above calculation process is an iterative calculation process, and each iterative calculation outputs the corresponding K, α and R i ; Set the number of iterations. When the maximum iteration coefficient is reached, exit the iteration loop and output the maximum kurtosis value R i and the corresponding [K, α] to obtain the optimal decomposition parameters [K, α]; Step 4: Chatter Identification Based on Fuzzy Entropy Algorithm Using the optimal decomposition parameters [K, α] obtained in step 3 as input parameters, VMD decomposition is performed on the collected cutting force signal to obtain multiple characteristic mode components; The embedding dimension of fuzzy entropy is set, and the fuzzy entropy of characteristic modal components is calculated. The corresponding fuzzy entropy threshold is set according to different cutting states and the direction of cutting force. When the fuzzy entropy of a certain stage is greater than the threshold, a chatter alarm is executed to monitor in real time whether milling cutter chatter occurs during milling.
