Milling signal flutter detection method based on attention representation enhancement network

By introducing the attention representation enhancement network into milling chatter detection and using the attention representation enhancement of channels and time scales, the problems of insufficient signal attention and overfitting in existing methods are solved, and high-precision detection of milling signals is achieved. .

CN118709018APending Publication Date: 2024-09-27DALIAN UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410876707.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing milling chatter detection methods lack targeted attention to signals and are prone to overfitting and vanishing gradient problems, making it difficult to achieve accurate detection in the milling of large thin-walled parts.

Method used

A milling chatter detection method based on the attention representation enhancement network is designed. It uses the channel attention mechanism and the BSR block signal feature extraction module to construct the ARENET model through attention representation enhancement at the channel scale and time scale. After training, it is used for milling. Signal detection.

Benefits of technology

It achieves high-precision detection of milling signals, avoids over-fitting and gradient disappearance problems, and improves the utilization of chatter information and detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709018A
    Figure CN118709018A
Patent Text Reader

Abstract

The invention belongs to the field of flutter detection, and provides a milling signal flutter detection method based on an attention representation enhancement network. Quantifying the weight of each channel signal and the processing state by using a channel attention mechanism, reconstructing the signal according to the weight, and realizing signal attention representation enhancement of the channel scale; a BSR block signal feature extraction module is designed, a Bayesian variational attention and layer normalization mechanism is utilized to guide the model to pay attention to a local signal time period with strong correlation with flutter detection, and signal attention representation enhancement of a time scale is realized; constructing an attention representation enhancement network model, and training the network model by using a multi-channel milling signal and a state label group; and inputting a processing multi-channel signal into the trained network model to realize attention characterization enhancement of flutter information and flutter detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of chatter detection and relates to a milling signal chatter detection method based on an attention representation enhancement network. Background Art

[0002] Large thin-walled parts have weak structural rigidity and are prone to chatter during the milling process. Milling chatter can seriously affect the surface processing quality of thin-walled parts, causing increased tool wear and machine tool damage risks, and in serious cases endangering production safety. In response to the chatter problem, real-time and accurate online chatter detection has become an important choice. Traditional online chatter detection methods include signal acquisition, signal preprocessing, feature extraction, and algorithm classification. Traditional methods analyze the processing process signals in the time domain, frequency domain, and time-frequency domain to extract chatter features. The features are input into a threshold classifier or an artificial intelligence classification model to achieve chatter detection. However, traditional online chatter detection methods are limited by problems such as manual feature extraction and model parameter setting, and rely on prior knowledge and experience. There are many difficulties when applied to the milling of large thin-walled parts.

[0003] In order to achieve a better milling chatter detection method, domestic and foreign researchers have conducted a lot of exploration and beneficial attempts. At present, establishing a classification model with adaptive feature extraction capabilities is an important solution to achieve accurate milling chatter detection, such as a deep learning classification model. Deep learning can achieve multi-scale nonlinear feature learning, express complex nonlinear physical systems, and is often used in signal classification and recognition tasks. Convolutional neural networks and their variants are the most popular deep learning classification network models. Therefore, chatter detection methods based on convolutional neural networks have emerged in recent years.

[0004] In 2022, BiBo proposed a milling chatter discrimination method based on signal convolutional neural network in patent CN114638265A. This method adds an expert knowledge module to filter out the spindle frequency noise in the signal, realizes end-to-end chatter discrimination, and improves the robustness of the model. However, the convolutional neural network model of this method shares a parameter layer and lacks targeted attention to the signal, which will lead to insufficient utilization of chatter information. In 2023, Liu Yao proposed a variable working condition machining chatter monitoring method based on transfer learning in patent CN116910579. This method uses the KMM algorithm to assign weights to source domain samples and inputs the GA-CNN chatter monitoring model based on convolutional neural network and transfer learning to improve the accuracy of the chatter monitoring model under new working conditions in variable working conditions and small sample training scenarios. However, this method uses deep and multi-layer convolutional layers, and there is a risk of overfitting in the model training process. At the same time, this method lacks a residual structure and is prone to gradient disappearance problems.

[0005] In view of the problems that the existing deep learning convolutional neural network milling chatter detection method lacks targeted attention to signals, is prone to overfitting and gradient vanishing, it is necessary to study a milling chatter detection method based on attention representation enhancement network to enhance the attention to chatter-sensitive signal segments to ensure the accuracy of chatter detection. Summary of the invention

[0006] The main technical problem solved by the present invention is that the existing milling chatter detection methods lack targeted attention to the signal, are prone to overfitting and gradient vanishing problems, and a milling chatter detection method based on an attention representation enhancement network with excellent technical effects is invented. The method proposed by the present invention utilizes a channel attention mechanism module to achieve attention representation enhancement at the signal channel scale; designs a BSR block signal feature extraction module to achieve attention representation enhancement at the signal time scale; establishes an attention representation enhancement network model (ARENET) and trains it; and inputs the processing signal into the trained model to achieve milling chatter detection.

[0007] The technical solution of the present invention:

[0008] A milling signal chatter detection method based on attention representation enhancement network uses the channel attention mechanism to quantify the weights of each channel signal and the processing state, reconstructs the signal according to the weight, and realizes the signal attention representation enhancement at the channel scale; designs the BSR block signal feature extraction module, uses the Bayesian variational attention and layer normalization mechanism to guide the model to focus on the local signal period with strong correlation with chatter detection, and realizes the signal attention representation enhancement at the time scale; constructs the attention representation enhancement network model, and trains the network model using multi-channel milling signals and state label groups; inputs the processing multi-channel signal into the trained network model to realize the attention representation enhancement of chatter information and chatter detection; the specific steps are as follows:

[0009] The first step is to design a channel attention mechanism module

[0010] The channel attention mechanism module is mainly composed of a global average pooling layer, a global maximum pooling layer and a multi-layer perceptron, wherein the multi-layer perceptron is composed of two linear layers and an activation function; first, the global average pooling layer and the global maximum pooling layer of the channel attention mechanism module collect the multi-channel signal P = [p1, p2, ..., p C ]∈R C×1×D Compress and get Two features:

[0011]

[0012] p i GMP =GMP(p i )=max{pi (1),p i (2),...,p i (D)} (2)

[0013] Where C is the number of channels, D is the signal length, i is the channel index of the multi-source signal, 1≤i≤C, d is the time index of the single-channel signal, 1≤d≤D; p i (d) is the signal amplitude at the dth time series point in the ith channel, p i (D) is the signal amplitude at the last time series point of the i-th channel;

[0014] Connect P GAP and P GMP Get the combined feature P GP :

[0015] P GP =Concat(P GAP ,P GMP ) (3)

[0016] Then, a two-layer multi-layer perceptron is used to determine the weight vector w of the multi-channel signal, that is, the sensitivity of each channel signal to chatter detection:

[0017] w=MLP(P GP ) = f Sigmoid (W2(f ReLU (W1(P GP )))) (4)

[0018] Among them, f Sigmoid is the S-shaped growth curve activation function, f ReLU is the activation function of the rectified linear unit, W1 and W2 are the weights of the two linear layers of the MLP;

[0019] Finally, the channel weight and the input signal are multiplied by channel to achieve enhanced attention representation at the channel scale; F Scale () is the channel-by-channel multiplication of the input multi-channel signal P and the weight vector w;

[0020]

[0021] The second step is to design the BSR block signal feature extraction module

[0022] The BSR block signal feature extraction module includes a multi-level Bayesian variational network (Bayesformer), a squeeze excitation block and a residual structure. The multi-level Bayesian variational network includes a variational self-attention mechanism, a normalization layer and a feedforward layer; the Bayesian variational network divides a single channel signal into multiple signal segments. m is the number of signal segments obtained by segmenting a sample, dm is the length of each signal segment; the variational self-attention mechanism calculates the attention weight of each signal segment to the whole signal, and the normalization layer and the feedforward layer further process the attention weight to guide the BSR block signal feature extraction module to focus on the local signal period with strong correlation with chatter detection; a multi-level Bayesian variational network is constructed, and the attention weight calculated by the l-th layer Bayesian variational network is:

[0023]

[0024] Where l is the level index, 1≤l≤L, L is the total number of layers in the Bayesian variational network; VSA() is the multi-level variational self-attention mechanism, LayerNorm() is the layer normalization process, and FeedForward() is the feedforward layer; h l-1 is the output of the Bayesian variational network at the previous level, is the intermediate output result of the input after the variational self-attention mechanism, layer normalization and residual structure, p l and h l It is the output result of the lth layer Bayesian variational network after the intermediate output passes through the feedforward layer, layer normalization and residual structure; the single channel signal passes through the multi-level Bayesian variational network to obtain Lp;

[0025] The multi-channel signals are input into multiple multi-layer Bayesian variational networks channel by channel. After the multi-channel features are obtained through variational attention enhancement, they are input into the squeeze excitation block to evaluate the channel features again.

[0026]

[0027] Among them, P L It is the result of multi-channel signals passing through multiple multi-level Bayesian variational networks, and multiple single-channel p L The integration of P L-1 is the result of multi-channel signal passing through the previous level Bayesian variational network; B() is the operation of formula (6), It is the intermediate result of BSRblock signal feature extraction; SE() is the squeeze excitation block, and the operation is similar to the channel attention mechanism module; It is an intermediate result The compression result after the global average pooling layer, the single channel operation is the same as formula (1), It is an intermediate result The compression result after the global maximum pooling layer, the single channel operation is the same as formula (2), It is an intermediate result The result of the squeezed excitation block;

[0028] Finally, the multi-level Bayesian variational network and squeeze excitation block are embedded into the residual structure to realize the construction of BSR block. BSR It is the final output result of the BSR block signal feature extraction, including the result of the squeeze excitation block Add channel attention mechanism module output to the residual structure

[0029]

[0030] The third step is to build an attention representation enhanced network model by combining the channel attention mechanism and the BSR block signal feature extraction module; the attention representation enhanced network model includes a feature extraction part and a classification part. The feature extraction part includes a channel attention mechanism module, a BSR block signal feature extraction module and a pooling layer, and the classification part includes a flattening layer, a fully connected layer and a Softmax activation layer.

[0031] Conduct workpiece milling experiments to collect multi-source vibration signals generated by milling, including acceleration signals in three directions of the workpiece, support forces in three directions of the support head, and noise signals; comprehensively consider the surface quality of the workpiece after processing and the signal time-frequency diagram, distinguish whether the processing state is stable or vibrating, and set labels for the signals; form a training set with milling multi-source signals and state labels, and train the constructed attention representation enhancement network model;

[0032] In the fourth step, the real-time milling processing multi-source signal is input into the trained attention representation enhancement network model to realize the attention representation enhancement of the vibration information and the real-time detection of vibration.

[0033] Beneficial effects of the present invention:

[0034] (1) The milling chatter detection method of the present invention can use the channel attention mechanism module to calculate the pooling characteristics and weights of each channel signal, quantify the relationship between each channel signal and the processing state, and realize the signal attention representation enhancement at the channel scale;

[0035] (2) Design the BSRblock signal feature extraction module, use variational self-attention and layer-by-layer mechanism to guide the model to focus on the local signal period with strong relevance to chatter detection, and achieve enhanced signal attention representation on a time scale; at the same time, introduce a residual structure to avoid overfitting and gradient vanishing problems;

[0036] (3) The present invention constructs an attention representation enhanced network model (ARENET) and uses the collected multi-source milling signals and state labels to train the model. After training, the model can achieve high-precision detection of the milling processing state. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of the milling chatter detection method based on attention representation enhancement network;

[0038] Figure 2 It is a schematic diagram of the channel attention mechanism module;

[0039] Figure 3 This is a schematic diagram of the BSR block signal feature extraction module;

[0040] Figure 4 It is a schematic diagram of Bayesian variational network;

[0041] Figure 5 is a schematic diagram of the Attention Representation Enhanced Network (ARENET);

[0042] Figure 6 Schematic diagram of collecting multi-source vibration signal sequence, where: (a) - acceleration signal in x direction, (b) - acceleration signal in y direction, (c) - acceleration signal in z direction, (d) - support force signal in x direction, (e) - support force signal in y direction, (f) - support force signal in z direction, (g) - noise signal;

[0043] Figure 7 t-SNE distribution diagram of the automatically extracted features of the present invention, wherein: (a) - t-SNE distribution diagram of the source signal, (b) - t-SNE distribution diagram of the features after the channel attention mechanism module, (c) - t-SNE distribution diagram of the features after the BSR block feature extraction module, (d) - t-SNE distribution diagram of the features after the fully connected layer and the Softmax activation function;

[0044] Figure 8 These are the chatter detection results of the experimental milling signal by the present invention, including: (a) - acceleration signal in three directions of xyz, (b) - support force signal in three directions of xyz, (c) - noise signal, (d) - time-frequency diagram of the acceleration signal in z direction, (e) - chatter detection result of the milling signal segment by the attention representation enhanced network model. DETAILED DESCRIPTION

[0045] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.

[0046] Step 1: Design a channel attention mechanism module. The channel attention mechanism module consists of a global average pooling layer, a global maximum pooling layer, and a multi-layer perceptron, such as Figure 2 As shown. For multi-source signal input P = [p1, p2, ..., p C ]∈R C×1×DSet the number of channels C = 7, and the sample signal length D = 1000. The global average pooling layer uses the adaptive average pooling function, and the output scale is 1; the global maximum pooling layer uses the adaptive maximum pooling function, and the output scale is 1; the multi-layer perceptron consists of two linear layers and activation functions. The first linear layer has an input scale of in_features = 14, an output scale of out_features = 28, and an activation function of ReLU; the second linear layer has an input scale of in_features = 28, an output scale of out_features = 7, and an activation function of Sigmoid.

[0047] First, the global average pooling layer and the global maximum pooling layer of the channel attention mechanism module collect the multi-source signals P = [p1, p2, ..., p C ]∈R 7×1×1000 For compression, the global average pooling and global maximum pooling are used to process the signal, and the results are respectively Two features, among which:

[0048]

[0049] p i GMP =GMP(p i )=max{p i (1),p i (2),...,p i (D)} (2)

[0050] Where i is the channel index of the multi-source signal, 1≤i≤C, d is the time index of the single-channel signal, 1≤d≤D; p i (d) is the signal amplitude at the dth time series point in the ith channel, p i (D) is the signal amplitude at the last time series point of the i-th channel.

[0051] Connect P GAP and P GMP Get the combined feature P GP =[P GAP ,P GMP ]∈R 14×1×1 .

[0052] Then, a two-layer multi-layer perceptron is used to determine the weight of each channel signal, that is, the sensitivity of each channel signal to chatter detection w∈R 7×1×1 ;

[0053] w=MLP(P GP ) = f Sigmoid (W2(f ReLU (W1(P GP)))) (3)

[0054] Among them, f Sigmoid is the S-shaped growth curve activation function, and f ReLU is the linear rectification unit activation function. W1 and W2 are the weights of the two linear layers of the MLP respectively;

[0055] Finally, multiply the channel weights and the input signal channel by channel to enhance the attention representation at the channel scale and obtain the enhanced signal

[0056] The partial code of the channel attention mechanism module is as follows:

[0057]

[0058] Step 2: Design the BSR block signal feature extraction module. The BSR block signal feature extraction module includes a Bayesian variational network (Bayesformer), a squeeze-and-excitation block, and a residual structure, as Figure 3 shown. The Bayesian variational network includes a variational self-attention mechanism, a normalization layer, and a feed-forward layer, as Figure 4 shown. The Bayesian variational network applies the sliding time window method to divide the single-channel signal into multiple signal segments, and sets m = 10, d m = 100, that is, the signal segment h 0 ∈R 1×10×100 . The variational self-attention mechanism calculates the attention weight of each signal segment to the full signal to obtain the self-attention weight matrix A ∈ R 1×10×10 , and then performs a dot product operation on the attention weight matrix and the signal segment again to reconstruct the attention distribution for the time period.

[0059] The normalization layer and the feed-forward layer further process the weights to guide the BSR block signal feature extraction module to focus on the local signal time periods with strong correlation with flutter detection. Set a multi-level Bayesian variational network, as Figure 4 shown, and the output result is:

[0060]

[0061] where l is the hierarchical index, 1 < l < L, and L = 6 is set. The output of the multi-level Bayesian variational network is p L ∈R 1×10×100. VSA() is a variational self-attention mechanism, which consists of a multi-level linear layer and a Softmax activation function, and is used to calculate the weights of each signal segment. The first linear layer has an input scale of in_features=100 and an output scale of out_features=32; the second linear layer has an input scale of in_features=32 and an output scale of out_features=128; the third linear layer has an input scale of in_features=128 and an output scale of out_features=10; after using the Softmax() activation function, the weight matrix and the source signal are multiplied to obtain the VSA() result. LayerNorm() is a layer normalization process, which is used to save computational costs. FeedForward() is a feedforward layer, which consists of two linear layers, a Dropout layer, and an activation function. The first linear layer has an input scale of in_features=100 and an output scale of out_features=200; the activation function ReLU is used; the Dropout layer has p=0.3; the second linear layer has an input scale of in_features=200 and an output scale of out_features=100. After completing the feed-forward layer, the LayerNorm() layer is used again for normalization, while residual processing is adopted in the Bayesian variational network.

[0062] The multi-source signals are input into multiple Bayesian variational networks channel by channel, and the multi-channel features P are obtained after variational attention enhancement. L ∈R 7×10×100 Finally, the channel features are evaluated again by the squeeze-excitation block, where the structure of the squeeze-excitation block is the same as the channel attention mechanism module in step 1;

[0063]

[0064] Where P L It is the result of multi-channel signals passing through multiple multi-level Bayesian variational networks, and multiple single-channel p L The integration of P L-1 is the result of multi-channel signal passing through the previous level Bayesian variational network; B() is the operation of formula (6), It is the intermediate result of BSRblock signal feature extraction; SE() is the squeeze excitation block, and the operation is similar to the channel attention mechanism module. It is an intermediate result The result of the squeezed excitation block;

[0065] Finally, the multi-level Bayesian variational network and squeeze excitation block are embedded into the residual structure to realize the construction of BSR block. The output of BSR block is like Figure 3 The results of the squeeze excitation block are shown Add channel attention mechanism module output to the residual structure

[0066] The following is part of the BSR block feature extraction module code:

[0067]

[0068] Step 3: Combine the channel attention mechanism and the BSR block signal feature extraction module to build an attention representation enhancement network model, such as Figure 5 As shown in the figure, the attention representation enhancement network model includes a feature extraction part and a classification part. The feature extraction part includes a channel attention mechanism module, a BSR block module and a pooling layer, wherein the pooling layer consists of an adaptive maximum pooling layer and an adaptive average pooling layer, and the output_size of the adaptive maximum pooling layer is set to (5,8,64), and the output_size of the adaptive average pooling layer is set to (1,4,32). The classification part includes a flattening layer, a fully connected layer and a Softmax activation layer. The flattening layer transforms the features into one dimension; the fully connected layer includes three linear layers and activation functions, the first linear layer has an input scale of in_features=128 and an output scale of out_features=64; the activation function ReLU is used; the second linear layer has an input scale of in_features=64 and an output scale of out_features=32; the activation function ReLU is used; the third linear layer has an input scale of in_features=32 and an output scale of out_features=2. Finally, the Softmax activation function is used to obtain the model output, that is, the probability that the input signal is in the two processing states.

[0069] Carry out workpiece milling experiments and collect multi-source vibration signals generated by milling, including acceleration signals in three directions of the workpiece, support forces in three directions of the support head, and noise signals. The multi-source vibration signal sequence is as follows: Figure 6 As shown. The surface quality of the workpiece after processing and the signal waveform state are comprehensively considered to distinguish whether the processing state is stable or vibrating, and set labels for the signals. The milling multi-source signals and state labels are combined into a training set to train the constructed attention representation enhancement network model.

[0070] Step 4: Input the real-time milling multi-source signal into the trained network model to achieve enhanced attention representation of chatter information and real-time chatter detection. The features automatically extracted by the model are as follows: Figure 7 As shown, Figure 7 (a) is the t-SNE diagram of the source signal features, which is the dimension reduction and visualization result of each signal sample, representing the distinguishability of stable and flutter states. Figure 7(b) is the characteristic t-SNE diagram of the signal after the channel attention mechanism module. Figure 7 (c) is the feature t-SNE graph of the BSR block signal feature extraction module. Figure 7 (d) is the feature t-SNE graph after the fully connected layer and the Softmax activation function. After the module of this method, the t-SNE graph is stable and the chattering classes are gradually separated, indicating that this method can achieve chattering feature extraction and signal attention representation enhancement, and realize chattering detection. Figure 8 is the chatter detection result of the experimental milling signal by this method, where Figure 8 (a) is the acceleration signal fragment in three directions. Figure 8 (b) is a fragment of the support force signal in three directions. Figure 8 (c) is a noise signal segment, and the signal segment is a synchronous signal collected during milling processing. Figure 8 (d) is the time-frequency diagram of the acceleration signal in the z direction, which is used to illustrate the correctness of the vibration detection results. Figure 8 (e) is the chatter detection result of the signal segment by this method, and the detection result is output in 0.1s as the time unit, indicating that this method can achieve high-precision detection of the chatter state of milling processing.

Claims

1. A milling signal chatter detection method based on attention representation enhancement network, characterized in that: Here are the steps: The first step is to design a channel attention mechanism module The channel attention mechanism module is mainly composed of a global average pooling layer, a global maximum pooling layer and a multi-layer perceptron, wherein the multi-layer perceptron is composed of two linear layers and an activation function; first, the global average pooling layer and the global maximum pooling layer of the channel attention mechanism module collect the multi-channel signal P = [p1, p2, ..., p C ]∈R C×1×D Compress and get Two features: p i GMP =GMP(p i )=max{p i (1),p i (2),...,p i (D)} (2) Where C is the number of channels, D is the signal length, i is the channel index of the multi-source signal, 1≤i≤C, d is the time index of the single-channel signal, 1≤d≤D; p i (d) is the signal amplitude at the dth time series point in the ith channel, p i (D) is the signal amplitude at the last time series point of the i-th channel; Connect P GAP and P GMP Get the combined feature P GP : P GP =Concat(P GAP ,P GMP ) (3) Then, a two-layer multi-layer perceptron is used to determine the weight vector w of the multi-channel signal, that is, the sensitivity of each channel signal to chatter detection: w=MLP(P GP )=f Sigmoid (W2(f ReLU (W1(P GP )))) (4) Among them, f Sigmoid is the S-shaped growth curve activation function, f ReLU is the activation function of the rectified linear unit, W1 and W2 are the weights of the two linear layers of the MLP; Finally, the channel weight and the input signal are multiplied by channel to achieve enhanced attention representation at the channel scale; F Scale () is the channel-by-channel multiplication of the input multi-channel signal P and the weight vector w; The second step is to design the BSR block signal feature extraction module The BSR block signal feature extraction module includes a multi-level Bayesian variational network, a squeeze excitation block and a residual structure. The multi-level Bayesian variational network includes a variational self-attention mechanism, a normalization layer and a feedforward layer. The Bayesian variational network divides a single channel signal into multiple signal segments. m is the number of signal segments obtained by segmenting a sample, d m is the length of each signal segment; the variational self-attention mechanism calculates the attention weight of each signal segment to the whole signal, and the normalization layer and the feedforward layer further process the attention weight to guide the BSR block signal feature extraction module to focus on the local signal period with strong correlation with chatter detection; a multi-level Bayesian variational network is constructed, and the attention weight calculated by the l-th layer Bayesian variational network is: Where l is the level index, 1≤l≤L, L is the total number of layers in the Bayesian variational network; VSA() is the multi-level variational self-attention mechanism, LayerNorm() is the layer normalization process, and FeedForward() is the feedforward layer; h l-1 is the output of the Bayesian variational network at the previous level, is the intermediate output result of the input after the variational self-attention mechanism, layer normalization and residual structure, p l and h l It is the output result of the lth layer Bayesian variational network after the intermediate output passes through the feedforward layer, layer normalization and residual structure; the single channel signal is obtained by multi-level Bayesian variational network p L ; The multi-channel signals are input into multiple multi-layer Bayesian variational networks channel by channel. After the multi-channel features are obtained through variational attention enhancement, they are input into the squeeze excitation block to evaluate the channel features again. Among them, P L It is the result of multi-channel signals passing through multiple multi-level Bayesian variational networks, and multiple single-channel p L The integration of P L-1 is the result of multi-channel signal passing through the previous level Bayesian variational network; B() is the operation of formula (6), It is the intermediate result of BSR block signal feature extraction; SE() is the approximation of squeeze excitation block, operation and channel attention mechanism module; It is an intermediate result The compression result after the global average pooling layer, the single channel operation is the same as formula (1), It is an intermediate result The compression result after the global maximum pooling layer, the single channel operation is the same as formula (2), It is an intermediate result The result of the squeezed excitation block; Finally, the multi-level Bayesian variational network and squeeze excitation block are embedded into the residual structure to realize the construction of BSR block. BSR It is the final output result of the BSR block signal feature extraction, including the result of the squeeze excitation block Add channel attention mechanism module output to the residual structure The third step is to build an attention representation enhancement network model by combining the channel attention mechanism and the BSR block signal feature extraction module. The attention representation enhancement network model includes a feature extraction part and a classification part. The feature extraction part includes a channel attention mechanism module, a BSR block signal feature extraction module and a pooling layer. The classification part includes a flattening layer, a fully connected layer and a Softmax activation layer. Conduct workpiece milling experiments to collect multi-source vibration signals generated by milling, including acceleration signals in three directions of the workpiece, support forces in three directions of the support head, and noise signals; comprehensively consider the surface quality of the workpiece after processing and the signal time-frequency diagram, distinguish whether the processing state is stable or vibrating, and set labels for the signals; form a training set with milling multi-source signals and state labels, and train the constructed attention representation enhancement network model; In the fourth step, the real-time milling processing multi-source signal is input into the trained attention representation enhancement network model to realize the attention representation enhancement of the vibration information and the real-time detection of vibration.

Citation Information

Patent Citations

  • Milling chatter discrimination method based on signal convolutional neural network

    CN114638265A

  • Variable working condition machining chatter monitoring method based on transfer learning

    CN116910579A