Laser shock peening quality monitoring method and related device
By extracting the time domain features of the plasma light signal during the laser shock strengthening process and processing the Transformer-feature fusion-attention mechanism model, the problem of insufficiently accurate quality monitoring of the laser shock strengthening is solved, and the plasma light signal during the laser shock strengthening process is realized. Deep mining and accurate assessment of body light signals.
Patent Information
- Application Number
- CN202410604037.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology is difficult to effectively utilize the nanosecond-level rapid time-varying signals of plasma during the laser shock peening process, resulting in inaccurate laser shock peening quality monitoring.
By obtaining the nanosecond-level plasma light signal whose amplitude evolves with time generated by the target element in the target, it is divided into a scintillation segment and an attenuation segment, the corresponding time domain features are extracted, and the Transformer-feature fusion-attention mechanism model is used to perform Deep feature extraction and weighted fusion are used to output results characterizing the quality of laser shock strengthening.
It achieves deep mining of plasma optical signals during the laser shock strengthening process, accurately evaluates the quality of laser shock strengthening, and improves the accuracy and effectiveness of monitoring.
Smart Images

Figure CN118540840A
Abstract
Description
Technical Field
[0001] The invention relates to the field of laser shock peening quality monitoring, and in particular to a laser shock peening quality monitoring method and related devices. Background Art
[0002] Laser shock processing (LSP), as an advanced surface treatment technology, has been widely used in the field of materials science in recent years. This technology uses a high-power, short-pulse laser beam to irradiate the metal surface, so that the protective layer is quickly vaporized to form a high-temperature, high-pressure plasma, and then under the action of the confinement layer, a huge impact load is applied to the metal surface. When the pressure of this shock wave exceeds the dynamic yield strength of the material, the material will undergo dynamic plastic deformation, thereby achieving the purpose of strengthening the surface of the material. The characteristic of LSP technology is that its process occurs within milliseconds and has the characteristics of high temperature, high pressure, and transient state. Therefore, it can significantly improve the surface hardness, wear resistance, fatigue resistance and corrosion resistance of the material. These characteristics make LSP technology widely used in engineering fields such as aerospace, nuclear power, biomedicine, and material forming, especially in improving the fatigue resistance of structural parts and extending their service life.
[0003] At present, the main method for monitoring the quality of laser shock peening is to use a spectrometer to collect the plasma spectrum generated during laser shock peening, and to evaluate the LSP process parameters mainly by calculating the electron density, line spectrum broadening, spectral temperature, etc. through the collected spectral signals. Due to the characteristics of the spectrometer itself, the light intensity collected during the integration time is accumulated into a spectrum line, which is finally reflected as a certain parameter value, so that the trend, periodicity, and non-stationary change information of the optical signal in the time dimension is compressed, and all the information of the nanosecond fast time-varying signal of the plasma in the LSP process cannot be effectively utilized. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a laser shock strengthening quality monitoring method and related devices, the purpose of which is to deeply explore the trend and periodicity characteristics of the time dimension of the nanosecond plasma optical signal in the LSP process, so as to achieve accurate evaluation of the LSP process quality.
[0005] In order to solve the above technical problems, the present invention is implemented by the following technical solutions:
[0006] A laser shock peening quality monitoring method, comprising:
[0007] During laser shock peening, the nanosecond plasma optical signal generated by the target element in the target material is obtained, whose amplitude evolves with time;
[0008] Dividing the nanosecond plasma optical signal into a scintillation segment and an attenuation segment, wherein the scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium;
[0009] Extracting a plurality of specific time domain features from the flickering segment and the attenuation segment respectively to obtain a plurality of flickering segment time domain features and attenuation segment time domain features;
[0010] Several of the flicker segment time domain features and the attenuation segment time domain features are input into a trained quality monitoring model, and a result characterizing the quality of laser shock peening is output; wherein the quality monitoring model is obtained by training a Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of multiple flicker segment time domain features and attenuation segment time domain features, as well as labels for characterizing the quality of laser shock peening.
[0011] Furthermore, the step of acquiring the nanosecond plasma optical signal whose amplitude evolves with time generated by the target element in the target material is specifically as follows:
[0012] The nanosecond plasma optical signal is collected by a nanosecond plasma optical signal collection system, wherein the nanosecond plasma optical signal collection system includes a microchannel photomultiplier tube and a narrow-band filter, wherein the narrow-band filter can pass the nanosecond plasma optical signal generated by the target element in the target material and the amplitude of which evolves with time;
[0013] The nanosecond plasma optical signal collected by the nanosecond plasma optical signal collection system is obtained.
[0014] Furthermore, the sample data is used to train the Transformer-feature fusion-attention mechanism model, specifically:
[0015] The sample data is used as the input of the Transformer-feature fusion-attention mechanism model, and the Transformer module is used to extract deep features of the flicker segment time domain features and the decay segment time domain features, respectively, to obtain the deep features of the flicker segment time domain features and the deep features of the decay segment time domain features;
[0016] The feature fusion module is used to perform weighted fusion on the depth features of the flashing segment time domain features and the depth features of the attenuation segment time domain features to obtain the fused features;
[0017] The attention mechanism is used to give the fused features the weight of the time dimension, and the weighted output results are combined.
[0018] Furthermore, the feature fusion module is used to perform weighted fusion on the depth features of the flashing segment time domain features and the depth features of the attenuation segment time domain features, specifically:
[0019] (1) The deep features output by the Transformer module are defined as N = [H1,...,H n ], where H n =[h1,...,h t ], t is the time step;
[0020] (2) For the depth characteristics of the flash segment temporal characteristics, the fusion weight coefficient is defined as Q = [q1, ..., q n ], where n = [1, 2, 3, ..., 10] corresponds to the number of feature fusion modules that process the flicker segment features, q n =[c1,c2,...,c t ] corresponds to the time frame number of the flicker segment temporal feature, representing the weight of each frame;
[0021] (3) Use the following formula to complete matrix multiplication, and then add the corresponding elements of the matrix to obtain the fused feature X1 of the flickering segment and the fused feature X2 of the attenuation segment;
[0022] X1=H1×q1+H2×q2+...+H 10 ×q 10
[0023] X2=H 11 ×q 11 +H 12 ×q 12 +...+H 20 ×q 20
[0024] (4) The fused features are defined as F = [X1 X2] = [x1, x2, ..., x t ,...,x 265 ], where F is the concatenation of the feature X1 after the flickering segment is fused and the feature X2 after the attenuation segment is fused in the time dimension.
[0025] Furthermore, the attention mechanism is used to give the fused features a weight in the time dimension, and the weighted output result is specifically:
[0026] P = softmax(F)
[0027] P=[P1,...,P t ]
[0028]
[0029] Among them, P is the weight vector, P t is the weight value at each time point, and A is the output result after being processed by the attention layer.
[0030] Furthermore, the method for determining the specific time domain features is:
[0031] (1) Using variable embedding and export, the feature fusion weight is used as a trainable model parameter. After the model training is completed, it is extracted as one of the model outputs.
[0032] (2) The feature fusion weights are multiple one-dimensional vectors with time dimensions, whose initialization value is 1, and each vector corresponds to a feature in the sample data;
[0033] (3) The single time point value of each feature fusion weight is not higher than 1 and not lower than 0. The feature fusion weight vector whose weight value distribution significantly exceeds 1 and most of them remain above 1 is screened out. The feature corresponding to this vector is considered to be a specific time domain feature.
[0034] A laser shock peening quality monitoring device, comprising:
[0035] An acquisition module is used to acquire the nanosecond plasma optical signal generated by the target element in the target material during laser shock peening, the amplitude of which evolves with time;
[0036] A division module, used for dividing the nanosecond plasma optical signal into a scintillation segment and an attenuation segment, wherein the scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium;
[0037] An extraction module, used to extract a plurality of specific time domain features from the flickering segment and the attenuation segment respectively, to obtain a plurality of flickering segment time domain features and attenuation segment time domain features;
[0038] An output module is used to input a number of the flicker segment time domain features and the attenuation segment time domain features into a trained quality monitoring model, and output a result characterizing the quality of laser shock peening; wherein the quality monitoring model is obtained by training a Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of a plurality of flicker segment time domain features and attenuation segment time domain features, as well as labels for characterizing the quality of laser shock peening.
[0039] A device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the laser shock peening quality monitoring method are implemented.
[0040] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the laser shock peening quality monitoring method are implemented.
[0041] Compared with the prior art, the present invention has at least the following beneficial effects:
[0042] The present invention provides a laser shock strengthening quality monitoring method, which obtains the nanosecond plasma light signal whose amplitude evolves with time generated by the target element in the target material, and divides the nanosecond plasma light signal into a scintillation segment and an attenuation segment, so that the stage division of the nanosecond plasma light signal is more in line with the actual physical process of plasma evolution, laying a foundation for deep mining of its time dimension characteristics. Specific time domain features are extracted from the scintillation segment and the attenuation segment respectively, and several scintillation segment time domain features and attenuation segment time domain features are obtained. Combined with the quality monitoring model based on Transformer-feature fusion-attention mechanism model training, its processing time series classification has an advantage, and the adaptive feature fusion module and the attention mechanism module focus on key time domain features and key frames, deeply mining the trend and periodicity characteristics of the time dimension of the nanosecond plasma light signal in the laser shock strengthening process, realizing the deep mining of the time-varying information of the plasma light signal in the laser shock strengthening process, thereby realizing the accurate evaluation of the quality of the laser shock strengthening process.
[0043] Furthermore, with the help of microchannel photomultiplier tubes, nanosecond plasma optical signals can be collected, solving the problem that the nanosecond fast time-varying information of plasma in the laser shock strengthening process is difficult to effectively utilize. With the help of narrow-band filters, the collected signals can be concentrated on the target elements, greatly reducing the interference of factors such as ambient light.
[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the specific implementation modes of the present invention, the drawings required for use in the description of the specific implementation modes will be briefly introduced below. Obviously, the drawings described below are some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 It is a flow chart of a laser shock peening quality monitoring method;
[0047] Figure 2 It is a collection system based on microchannel photomultiplier tube;
[0048] Figure 3 are the response parameters of the microchannel photomultiplier tube and narrow-band filter;
[0049] Figure 4 It is the plasma optical signal of a single impact point;
[0050] Figure 5 It is the TRM-F-AM model framework;
[0051] Figure 6 Visualize the result of feature fusion weights;
[0052] Figure 7 is the time variation curve of the minimum characteristic of the signal;
[0053] Figure 8 It is a statistical graph of the signal median and standard deviation characteristics;
[0054] Fig. 9 is the time variation curve of the signal average amplitude difference characteristic;
[0055] Fig.10 It is the time variation curve of signal skewness and kurtosis characteristics. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] Combination Figure 1 As shown, the embodiment of the present application provides a method for monitoring the quality of laser shock peening, and the specific steps are as follows:
[0058] S1. During laser shock strengthening, obtain the nanosecond plasma light signal of the amplitude evolving over time generated by the target element in the target material. It should be noted that the target element in the target material refers to all the main elements in the alloy composition except for a small amount or trace amount of added elements, such as titanium in TC4 titanium alloy and aluminum in 7075 aluminum alloy.
[0059] That is to say, the nanosecond plasma light signal is first collected. In this embodiment, during the laser shock peening process, it is first necessary to use a nanosecond plasma light signal collection system to capture the light signal generated by the target element in the target material. This collection system is mainly composed of a microchannel photomultiplier tube and a narrowband filter. The function of the narrowband filter is to filter out light signals in a specific wavelength range, that is, nanosecond plasma light signals whose amplitudes evolve over time generated by the target elements in the target material. Subsequently, the microchannel photomultiplier tube converts these light signals into electrical signals for further processing and analysis.
[0060] For example, Figure 2As shown, the microchannel photomultiplier tube is connected to the oscilloscope and the high-voltage power supply, and a narrow-band filter is installed on the cathode. The LSP processing system includes a six-axis linkage robot, a fixture, a water-constrained tube and a laser transmitter, and is equipped with a T3610 high-speed camera to assist in process monitoring. At a working voltage of 2000V, the integral sensitivity reaches 42μA / lm, the quantum efficiency reaches 11.16%@400nm, and the gain multiple is 1.6E5. A narrow-band filter with a half-width of 10nm and a peak of 390nm is installed on the cathode window of the microchannel photomultiplier tube. The anode of the microchannel photomultiplier tube is connected to an oscilloscope with a bandwidth of not less than 350MHz and a sampling rate of not less than 5GHz to ensure continuous acquisition, automatic triggering on the rising edge, and multi-segment storage.
[0061] Microchannel photomultiplier tubes can use the photoelectric effect to convert extremely weak light signals into electrical measurement signals. They have the characteristics of high sensitivity, fast time response and high gain, and are an important means to achieve weak light detection. In this embodiment, the microchannel photomultiplier tube is installed at a position 0.6m away from the impact point of the target material, and the cathode surface of the probe is aligned with the laser action point. The high-voltage power supply is the main component for controlling the microchannel photomultiplier tube, and the operating voltage is set to 1560V to ensure that the amplitude of the plasma light signal data collected by the oscilloscope under different laser pulse energy working conditions is maintained within the range, while maximizing the use of the amplitude range.
[0062] For example, Figure 3 As shown, the microchannel photomultiplier tube reaches a PRS peak of 37 mA / W at 390 nm, and the narrow-band filter transmittance curve also reaches a peak at 390 nm, with a half-width of 10 nm.
[0063] S2. Divide the nanosecond plasma light signal into a scintillation segment and an attenuation segment. The scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium.
[0064] That is to say, after obtaining the nanosecond plasma optical signal, it is divided into a scintillation segment and an attenuation segment. The scintillation segment is the part where the signal amplitude fluctuates periodically and gradually tends to equilibrium. The scintillation segment shows obvious fluctuations, while the attenuation segment mainly shows trends. Figure 4 The figure shows the plasma optical signal diagram of a single impact point, which includes a flashing segment and a decay segment. The flashing segment is about 1200ns and the decay segment is about 1.2ms.
[0065] For example, a data sample is selected from the raw data (nanosecond plasma optical signal) derived from the oscilloscope, the oscilloscope time scale is magnified to the microsecond level, and judging from the initial time point of the signal, a periodic fluctuation of about 32ns will be observed. When the amplitude difference between adjacent peaks and troughs of the periodic fluctuation is less than 0.1V, the time point is defined as the dividing point between the flickering segment and the decaying segment, and it is judged that the flickering segment has ended, and the flickering segment signal is intercepted and stored in the data set. At the same time, the remaining part of the sample is judged as the decaying segment and is also stored in the data set. The flickering segment and the decaying segment should be stored separately.
[0066] S3. Extracting a number of specific time domain features from the scintillation segment and the decay segment respectively to obtain a number of scintillation segment time domain features and decay segment time domain features. It should be understood that these features can reflect the quality and effect of laser shock peening.
[0067] S4. Input a number of flicker segment time domain features and attenuation segment time domain features into the trained quality monitoring model, and output the results that characterize the quality of laser shock peening; wherein the quality monitoring model is obtained by training the Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of multiple flicker segment time domain features and attenuation segment time domain features, as well as labels for characterizing the quality of laser shock peening.
[0068] Exemplarily, a nanosecond plasma optical signal of known laser shock strengthening quality is used to extract ten time domain features of the scintillation segment and the decay segment using different frame lengths and frame shift sliding windows. Specifically, the scintillation segment selects 216 sampling points as the frame length, i.e. 43.2ns, and the frame shift is set to 72 sampling points, i.e. 14.4ns, and 80 frames of features are extracted. The decay segment selects 100,000 sampling points as the frame length, i.e. 0.1ms, and the frame shift is set to 50,000 sampling points, i.e. 0.05ms, and 185 frames of features are extracted. The proposed features are shown in Table 1 below:
[0069] Table 1
[0070]
[0071]
[0072] like Figure 5The figure shows the framework diagram of the TRM-F-AM model (Transformer-Feature Fusion-Attention Mechanism Model). It consists of three parts. The first part is 20 Transformer modules (TRM modules for short), of which 10 are used to process 10 features of the flickering segment and the other 10 are used to process the features of the decaying segment. The second part consists of feature fusion modules, which mainly fuse the 10 TRM modules that process the flickering segment features into one feature matrix, and fuse the 10 TRM modules that process the decaying segment features into another feature matrix, and finally concatenate the two fused feature matrices in the time dimension according to the order of time. The third part uses the attention mechanism to assign attention weights to the feature matrix in the time dimension, and finally outputs the classification probability value through the softmax layer.
[0073] In one embodiment, the Transformer-feature fusion-attention mechanism model is trained using sample data, specifically:
[0074] a. Take the sample data as the input of the Transformer-feature fusion-attention mechanism model, and use the Transformer module to extract deep features of the flicker segment time domain features and the decay segment time domain features, respectively, to obtain the deep features of the flicker segment time domain features and the deep features of the decay segment time domain features.
[0075] It should be understood that the Transformer module is a deep neural network model based on self-attention. It is good at recognizing and processing long sequences in time series and has excellent computational efficiency. It is mainly composed of a stack of multi-head attention modules and self-attention modules. The specific description is as follows:
[0076]
[0077] MultiHead(Q,K,V)=Concat(head1,...,head h )W O
[0078]
[0079] M=Norm(X+MultiHead Attention(X))
[0080] N = M + conv2(relu(conv1(M)))
[0081] Where Q, Query: query matrix, represents the information of each position in the input sequence. When calculating the attention of a certain position, the query vector of this position will be dot-producted with the query vectors of other positions to obtain the correlation between them.
[0082] K, Key: key matrix, used to represent the semantic information of each position in the input sequence. Similar to the query matrix, each element of the key matrix corresponds to a query vector, which is used to calculate the correlation between different positions.
[0083] V, Value: Value matrix, used to store specific information for each position in the input sequence. When calculating the attention weight, the elements of the value matrix will be multiplied by the corresponding attention weight and then summed to obtain the final output vector.
[0084] The three matrices Q, K, and V are initially the dataset X. After num_layers iterations (num_layers = 2), the output processed by multi-head attention is obtained, and residual links and regularization are performed with the original X, and finally output to the feedforward layer. The feedforward layer consists of two one-dimensional convolutional networks, which are applied to each position in the same way. This includes two linear transformations, with a ReLU activation in the middle, and still using residual links. The dimensions of the input and output are d model =32, the dimension of the inner layer is d ff =16.
[0085] b. Use the feature fusion module to perform weighted fusion on the depth features of the flicker segment time domain features and the depth features of the attenuation segment time domain features to obtain the fused features.
[0086] Specifically, the feature fusion module is used to perform weighted fusion on the depth features of the flashing segment time domain features and the depth features of the decay segment time domain features, specifically:
[0087] (1) The deep features output by the Transformer module are defined as N = [H1,...,H n ], where H n =[h1,...,h t ], t is the time step;
[0088] (2) For the depth characteristics of the flash segment temporal characteristics, the fusion weight coefficient is defined as Q = [q1, ..., q n ], where n = [1, 2, 3, ..., 10] corresponds to the number of feature fusion modules that process the flicker segment features, q n =[c1,c2,...,c t ] corresponds to the time frame number of the flicker segment temporal feature, representing the weight of each frame;
[0089] (3) Use the following formula to complete matrix multiplication, and then add the corresponding elements of the matrix to obtain the fused feature X1 of the flickering segment and the fused feature X2 of the attenuation segment;
[0090] X1=H1×q1+H2×q2+...+H 10 ×q 10
[0091] X2=H 11 ×q 11 +H 12 ×q 12 +...+H 20 ×q 20
[0092] (4) The fused features are defined as F = [X1 X2] = [x1, x2, ..., x t ,...,x 265 ], where F is the concatenation of the feature X1 after the flickering segment is fused and the feature X2 after the attenuation segment is fused in the time dimension.
[0093] It should be noted that in order to determine which time domain features are specific and have an important impact on the quality of laser shock peening, the following screening method was adopted, that is, several specific time domain features were determined, as follows:
[0094] (1) Using variable embedding and export, the feature fusion weight is used as a trainable model parameter. After the model training is completed, it is extracted as one of the model outputs.
[0095] (2) The feature fusion weights are multiple one-dimensional vectors with time dimensions, whose initialization value is 1, and each vector corresponds to a feature in the sample data;
[0096] (3) The single time point value of each feature fusion weight is not higher than 1 and not lower than 0. The feature fusion weight vector whose weight value distribution significantly exceeds 1 and most of it is maintained above 1 is screened out. The feature corresponding to this vector is considered to be a specific time domain feature, which is of great significance for the monitoring of laser shock peening quality. The purpose of screening specific time domain features is to extract representative time domain features that can play a key role in classification and recognition. Its intuitive basis lies in the distribution of feature weights at each time point. Therefore, the weight of a specific time domain feature should be as high as possible from the initialization value of 1, and as high as possible, which means that it is regarded as an important feature by the model. By inputting specific time domain features into the TRM-F-AM model, a more efficient training and testing process will be obtained, while obtaining a test accuracy that is not lower than that of the original data set.
[0097] For example, Figure 6 This is a visualization result of feature fusion weights. In the flickering segment, the weight is always higher than 1, and the representative features are: minimum value, median, average amplitude difference, and skewness. In the attenuation segment, the performance is different between 81-155 frames and 155-265 frames. According to their weight distribution, the representative features are: minimum value, standard deviation, average amplitude difference, and kurtosis.
[0098] In other words, the method based on adaptive feature fusion is essentially to set up multiple trainable model parameters, and initially establish a matrix with feature and time dimensions with a value of 1 during the model initialization process. During the model training process, the iteration is completed by following the gradient descent. The weighted fusion of the deep features of the TRM-F-AM model is essentially an element-by-element matrix multiplication operation of the trainable weight matrix and the output of the TRM model.
[0099] The focus of extracting the time dimension fusion weights corresponding to the ten time domain features in the feature fusion process is to increase the content of the model output. Specifically, the model not only needs to output the classification probability value, but also needs to output the model parameters that have completed the iteration during training.
[0100] c. Use the attention mechanism to give the fused features a weight in the time dimension, and combine the weights to output the results, specifically:
[0101] P = softmax(F)
[0102] P=[P1,...,P t ]
[0103]
[0104] Among them, P is the weight vector, P t is the weight value at each time point, and A is the output result after being processed by the attention layer.
[0105] The following is an explanation with reference to specific embodiments.
[0106] The TC4 titanium alloy and 7075 aluminum alloy samples were selected with a size of 120mm×120mm×4mm. Before laser shock strengthening, the sample area to be impacted was polished. After the laser shock, the sample was inlaid, ground and polished in turn. The surface hardness of the LSP-treated sample was characterized using a HXD-1000TMC / LCD micro-Vickers hardness tester.
[0107] The laser shock peening processing system includes a six-axis linkage robot, a fixture, a water constraint tube and a laser transmitter. The constraint layer uses natural water with a uniform flow, and the absorption layer uses industrial black tape with uniform thickness. A T3610 high-speed camera is installed to assist in observing the real-time process of the LSP process, so as to analyze the generation process of the optical signal and the physical changes that occur.
[0108] The equipment parameters are shown in Table 2:
[0109] Table 2
[0110]
[0111] The experimental parameters and hardness characterization results are shown in Table 3:
[0112] Table 3
[0113]
[0114] The target collection elements are shown in Table 4:
[0115] Table 4
[0116]
[0117] Step 1: Nanosecond plasma optical signal flashing segment and decay segment division and time domain feature frame extraction
[0118] The data of the experimental process is stored through an oscilloscope, and the raw data is exported. Each data sample is judged cyclically. When the amplitude difference between adjacent peaks and troughs of the periodic fluctuation is less than 0.1V, the flickering segment is intercepted, and the remaining part is intercepted as the attenuation segment. The intercepted flickering segment signal is stored in the data set. Furthermore, different frame lengths and frame shift sliding windows are used to extract ten time domain features for the flickering segment and attenuation segment of the nanosecond plasma optical signal. The flickering segment selects 216 sampling points as the frame length, that is, 43.2ns, and the frame shift is set to 72 sampling points, that is, 14.4ns, and 80 frames of features are extracted. The attenuation segment selects 100,000 sampling points as the frame length, that is, 0.1ms, and the frame shift is set to 50,000 sampling points, that is, 0.05ms, and 185 frames of features are extracted.
[0119] Step 2: Acquisition of specific time domain feature sets based on adaptive feature fusion.
[0120] Establish multiple trainable model parameters, and initially establish a matrix with feature and time dimensions with a value of 1 during model initialization. During model training, follow gradient descent to complete iterations. Perform element-by-element matrix multiplication of the trainable weight matrix and the output of the TRM model. Screen out features with a weight feature distribution greater than 1 at most time points, and comprehensively evaluate and select specific time domain features.
[0121] Step 3: LSP process quality classification based on TRM-F-AM model
[0122] A specific time domain feature set is constructed and input into the TRM-F-AM model. After the multi-head attention layer and the self-attention layer, the deep features of the network model are obtained. After the adaptive feature fusion processing, the softmax layer is input again to finally obtain the probability of belonging to different categories and complete the LSP process quality classification.
[0123] Figure 7The time variation curve of the signal minimum characteristic reflects the macroscopic trend of the plasma light intensity changing with time, and there is a clear distinction between the surface hardness quality of the five types of LSP.
[0124] Figure 8 This is a statistical chart of the signal median and standard deviation characteristics. The median reflects the median value of the scintillation segment signal in each frame, effectively suppressing the influence of noise and outliers and retaining the main change trend of the signal. The standard deviation characteristic measures the random fluctuation of the decay segment, especially reflecting the dramatic fluctuation of the light intensity of the plasma decay process during the 155-265 frame process.
[0125] Fig. 9 This is a time-varying curve of the signal average amplitude difference feature. It reflects that the absolute amplitude of the light intensity in the plasma generation and expansion stage shows a decreasing trend, and this feature is very sensitive to the slow decay process of the plasma.
[0126] Fig.10 This is a time-varying curve of the signal skewness and kurtosis characteristics. Skewness reflects the degree and direction of the skewness of the data relative to the mean, and kurtosis reflects the characteristic number of the peak height of the probability density distribution curve at the mean.
[0127] The plasma optical signal acquisition system built by integrating microchannel photomultiplier tubes and narrow-band filters has achieved ultra-high sampling rate and low cost, breaking through the problem that traditional LSP plasma spectral monitoring is difficult to solve the problem of signal acquisition caused by scattering of water confinement layer. Based on the nanosecond optical signal rising edge automatic capture system integrated with microchannel photomultiplier tubes and narrow-band filters, the plasma optical signal of the LSP process is collected in real time. Ten features with clear physical meaning and low repeatability are extracted, and the deep feature fusion based on adaptive weights fully characterizes the time-varying and volatility of the optical signal. Finally, the trained model can feedback the time-varying fusion weights of all input features, realizing accurate and explainable LSP process monitoring.
[0128] An embodiment of the present invention provides a laser shock peening quality monitoring device, comprising:
[0129] The acquisition module is used to acquire the nanosecond plasma optical signal generated by the target element in the target material during laser shock peening, whose amplitude evolves with time.
[0130] The division module is used to divide the nanosecond plasma optical signal into a scintillation segment and an attenuation segment. The scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium.
[0131] The extraction module is used to extract a number of specific time domain features from the flickering segment and the attenuation segment respectively, and obtain a number of flickering segment time domain features and attenuation segment time domain features.
[0132] The output module is used to input a number of flicker segment time domain features and attenuation segment time domain features into the trained quality monitoring model, and output the results characterizing the quality of laser shock peening; wherein the quality monitoring model is obtained by training the Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of multiple flicker segment time domain features and attenuation segment time domain features, as well as labels used to characterize the quality of laser shock peening.
[0133] Among them, regarding the specific implementation methods of the above-mentioned modules, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0134] In one embodiment of the present invention, a computer device is provided, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used to implement the operation of a laser shock peening quality monitoring method.
[0135] In one embodiment of the present invention, a laser shock peening quality monitoring method can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of each of the above-mentioned method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data.
[0136] The computer storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0141] In the description of the present invention, the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0142] In the description of the present invention, the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0143] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for monitoring the quality of laser shock peening. It is characterized in that include: During laser shock peening, the nanosecond plasma optical signal generated by the target element in the target material is obtained, whose amplitude evolves with time; Dividing the nanosecond plasma optical signal into a scintillation segment and an attenuation segment, wherein the scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium; Extracting a plurality of specific time domain features from the flickering segment and the attenuation segment respectively to obtain a plurality of flickering segment time domain features and attenuation segment time domain features; Several of the flicker segment time domain features and the attenuation segment time domain features are input into a trained quality monitoring model, and a result characterizing the quality of laser shock peening is output; wherein the quality monitoring model is obtained by training a Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of multiple flicker segment time domain features and attenuation segment time domain features, as well as labels for characterizing the quality of laser shock peening.
2. A laser shock peening quality monitoring method according to claim 1, It is characterized in that The step of obtaining the nanosecond plasma optical signal whose amplitude evolves with time generated by the target element in the target material is specifically as follows: The nanosecond plasma optical signal is collected by a nanosecond plasma optical signal collection system, wherein the nanosecond plasma optical signal collection system includes a microchannel photomultiplier tube and a narrow-band filter, wherein the narrow-band filter can pass the nanosecond plasma optical signal generated by the target element in the target material and the amplitude of which evolves with time; The nanosecond plasma optical signal collected by the nanosecond plasma optical signal collection system is obtained.
3. A laser shock peening quality monitoring method according to claim 1, It is characterized in that Use sample data to train the Transformer-feature fusion-attention mechanism model, specifically: The sample data is used as the input of the Transformer-feature fusion-attention mechanism model, and the Transformer module is used to extract deep features of the flicker segment time domain features and the decay segment time domain features, respectively, to obtain the deep features of the flicker segment time domain features and the deep features of the decay segment time domain features; The feature fusion module is used to perform weighted fusion on the depth features of the flashing segment time domain features and the depth features of the attenuation segment time domain features to obtain the fused features; The attention mechanism is used to give the fused features the weight of the time dimension, and the weighted output results are combined.
4. A laser shock peening quality monitoring method according to claim 3, It is characterized in that The feature fusion module is used to perform weighted fusion on the depth features of the flashing segment time domain features and the depth features of the attenuation segment time domain features, specifically: (1) The deep features output by the Transformer module are defined as N = [H 1 ,...,H n ], where H n =[h 1 ,...,h t ], t is the time step; (2) For the depth characteristics of the flash segment temporal characteristics, the fusion weight coefficient is defined as Q = [q 1 ,...,q n ], where n = [1, 2, 3, ..., 10] corresponds to the number of feature fusion modules that process the flicker segment features, q n =[c 1 ,c 2 ,...,c t ] corresponds to the time frame number of the flicker segment temporal feature, representing the weight of each frame; (3) The matrix multiplication is completed by the following formula, and then the corresponding elements of the matrix are added to obtain the feature X after the flash segment fusion 1 And the feature X after the attenuation segment fusion 2 ; X 1 =H 1 ×q 1 +H 2 ×q 2 +...+H 10 ×q 10 X 2 =H 11 ×q 11 +H 12 ×q 12 +...+H 20 ×q 20 (4) Define the fused feature as F = [X 1 X 2 ]=[x 1 ,x 2 ,...,x t ,...,x 265 ], where F is the feature X after the flash segment is fused 1 The feature X after fusion with the attenuation segment 2 Splicing in the time dimension.
5. A laser shock peening quality monitoring method according to claim 4, It is characterized in that The attention mechanism is used to give the fused features a weight in the time dimension, and the weighted output result is specifically: P = softmax(F) P=[P 1 ,...,P t ] Among them, P is the weight vector, P t is the weight value at each time point, and A is the output result after being processed by the attention layer.
6. A laser shock peening quality monitoring method according to claim 4, It is characterized in that The method for determining the specific time domain features is: (1) Using variable embedding and export, the feature fusion weight is used as a trainable model parameter. After the model training is completed, it is extracted as one of the model outputs. (2) The feature fusion weights are multiple one-dimensional vectors with time dimensions, whose initialization value is 1, and each vector corresponds to a feature in the sample data; (3) The single time point value of each feature fusion weight is not higher than 1 and not lower than 0. The feature fusion weight vector whose weight value distribution significantly exceeds 1 and most of them remain above 1 is screened out. The feature corresponding to this vector is considered to be a specific time domain feature.
7. A laser shock peening quality monitoring device, It is characterized in that include: An acquisition module is used to acquire the nanosecond plasma optical signal generated by the target element in the target material during laser shock peening, the amplitude of which evolves with time; A division module, used for dividing the nanosecond plasma optical signal into a scintillation segment and an attenuation segment, wherein the scintillation segment is a signal segment whose amplitude fluctuates periodically and gradually tends to equilibrium; An extraction module, used to extract a plurality of specific time domain features from the flickering segment and the attenuation segment respectively, to obtain a plurality of flickering segment time domain features and attenuation segment time domain features; An output module is used to input a number of the flicker segment time domain features and the attenuation segment time domain features into a trained quality monitoring model, and output a result characterizing the quality of laser shock peening; wherein the quality monitoring model is obtained by training a Transformer-feature fusion-attention mechanism model using sample data, and the sample data is composed of a plurality of flicker segment time domain features and attenuation segment time domain features, as well as labels for characterizing the quality of laser shock peening.
8. A device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the laser shock peening quality monitoring method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of a laser shock peening quality monitoring method as claimed in any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Laser shock peening quality monitoring method based on acousto-optic holographic characteristics and related device
CN120337007A
