A method for quickly identifying a target object using reconstructed SERS spectra

Feature extraction and reconstruction of SERS spectra through the deep convolutional autoencoder network model solves the problem of difficult target identification in complex SERS spectra and achieves fast and accurate identification effects, which is especially suitable for complex Raman spectrum environments.

CN115420726BActive Publication Date: 2024-08-27CHINESE PEOPLES LIBERATION ARMY UNIT 32181
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210610569.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-08-27
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing technology has the problem of difficulty and slow speed in identifying target objects in complex SERS spectra.

Method used

The deep convolutional autoencoder network model is used to extract and reconstruct features of the SERS spectrum. By constructing a target SERS spectrum database and matching the SERS spectrum of the object to be measured, cosine similarity is used to determine whether the target object exists in the object to be measured.

Benefits of technology

It achieves fast and accurate target identification, reduces the complexity and manual participation of the identification process, has anti-interference ability, and is suitable for identifying target components in complex Raman spectra.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115420726B
    Figure CN115420726B
Patent Text Reader

Abstract

The present invention relates to a method for quickly identifying a target object by reconstructing a SERS spectrum. The method establishes a deep convolutional autoencoder network model, first uses the SERS spectrum data of the target object to train the autoencoder model, then reconstructs the collected complex SERS spectrum of the object to be tested, and finally matches the reconstructed SERS spectrum with the SERS spectrum of the target object, and judges whether the target object exists in the object to be tested according to the maximum similarity value. The present invention effectively shields the spectral information of other debris, eliminates the influence of SERS signals of other substances, reduces the influence brought by changes in the measurement environment, has the advantages of strong anti-interference ability, accurate discrimination, etc., is particularly suitable for identifying target components from complex Raman spectra, and has high precision and anti-interference ability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a Raman spectrum recognition method, in particular to a method for rapidly recognizing a target object by utilizing a reconstructed SERS spectrum. Background Art

[0002] Surface enhanced Raman scattering (SERS) spectroscopy is widely used in trace substance identification, biosensors, and food safety testing due to its advantages such as molecular "fingerprint" information. In the use of SERS spectroscopy for trace substance detection, such as drug detection or explosive detection, the goal of detection is often to determine whether a certain substance (such as TNT, etc.) is present in the test object, without the need to analyze all the components of the test object.

[0003] At present, spectral identification methods are mostly used for the identification of pure substances, and it is difficult to identify the components of mixtures. In response to this problem, some scholars have proposed some algorithms based on the identification and matching of Raman spectral characteristic peaks. In theory, Raman peaks represent the structural information of chemical bonds (functional groups), and the components of mixtures can be identified by identifying Raman peaks. Li Jinrong proposed a Raman spectroscopy method based on spectral peak decomposition for quantitative analysis of the components of xylene; Zhang et al. proposed a method based on wavelet peak detection and database reverse search to improve the automatic retrieval function of target components in mixtures; Liu Wei, Dai Liankui et al. proposed a linear superposition model combined with multivariate curve fitting to decompose Raman spectra and determine the type of substances; Yan Fan et al. combined sparse non-negative least squares algorithm to identify the components of mixtures. These methods mostly rely on the obviousness of characteristic Raman peaks, while actual mixed spectra may have spectral peak overlap, spectral distortion and other phenomena, such as changes in spectral peak width or spectral peak intensity. In addition, the uncertainty of interfering impurities in the mixture also brings greater challenges to spectral decomposition. These variable and complex SERS spectra make it difficult for traditional methods to identify substances by matching SERS spectral characteristic peaks. Summary of the invention

[0004] The purpose of the present invention is to provide a method for quickly identifying a target object by using a reconstructed SERS spectrum, so as to solve the problem that the target object identification in the existing complex SERS spectrum is difficult and the identification speed is slow.

[0005] The object of the present invention is achieved in that:

[0006] A method for quickly identifying a target object by reconstructing a SERS spectrum comprises the following steps:

[0007] S1, collecting SERS spectra of targets at different concentrations, and after preprocessing, using the obtained SERS spectrum data results of the targets to construct a SERS spectrum database of the targets;

[0008] S2, constructing a deep convolutional autoencoder network model, and using the target object SERS spectrum data to train the deep convolutional autoencoder network model, so that the deep convolutional autoencoder network model can automatically extract and reconstruct the target object SERS spectrum characteristics;

[0009] S3, collecting and preprocessing the SERS spectrum of the object to be tested, and reconstructing the SERS spectrum of the object to be tested using the trained deep convolutional autoencoder network model;

[0010] S4, matching the reconstructed SERS spectrum of the object to be tested with the target object SERS spectrum data in the target object SERS spectrum database, calculating the similarity, and judging whether the target object exists in the object to be tested according to the maximum similarity value; if the maximum similarity value is greater than a set threshold value, the object to be tested contains the target object; otherwise, the object to be tested does not contain the target object.

[0011] Furthermore, the preprocessing of the SERS spectrum includes: making the SERS spectrum have a uniform Raman frequency shift space by interpolating / sampling the SERS spectrum, baseline correction and smooth filtering; and making the SERS spectrum have a uniform Raman intensity by normalizing the Raman intensity of the SERS spectrum.

[0012] Furthermore, the target object SERS spectrum database constructed in step S1 is in the form of: ref =[X1,X2,...,X n ], the Raman frequency shift space is in the form of: W = [ω1,ω2,...,ω m ];

[0013] Where n is the number of target samples in the SERS spectrum database, m represents the size of the Raman frequency shift space, Xi is the SERS spectrum of the i-th target sample, and X i =[x1,x2,...,x m ], x j ∈[0,1] is X i The Raman frequency shift ω j The relative Raman intensity at .

[0014] Furthermore, the deep convolutional autoencoder network model in step S2 of the present invention includes two parts: an encoder and a decoder, wherein:

[0015] a-1, the encoder includes three feature extraction layers, each of which includes a one-dimensional convolution (1D Conv) and a maximum pooling (1D MaxPooling) module to achieve SERS spectral feature extraction and dimensionality reduction.

[0016] The convolution operation of the encoder is: h = σ (f (X * W + b))

[0017] Among them, X is the input data, W is the weight of the convolution kernel, b is the bias of the convolution kernel weight coefficient, * represents the one-dimensional convolution operation, f(·) represents the batch normalization operation (1D BatchNorm), and σ(·) represents the ReLU nonlinear activation operation.

[0018] a-2, the decoder includes three deconvolution layers (1D DeConv) and one fully connected layer (FC). The three deconvolution layers all use ReLU as the nonlinear activation function, and the fully connected layer uses Sigmoid as the nonlinear activation function. The number of neurons in the fully connected layer is the same as the size of the Raman frequency shift space, so it is represented by m.

[0019] The deconvolution operation of the decoder is:

[0020] in, is the weight coefficient of the deconvolution layer, c is the bias of the weight coefficient of the deconvolution layer, and the meanings of other parameters are the same as in step a-1.

[0021] a-3, using the mean square error (MSE) of the Euclidean distance between the target object SERS spectrum reconstructed using the features and the input target object sample SERS spectrum as the loss function, the Adam algorithm is used to optimize the model parameters.

[0022] The calculation formula of mean square error (MSE) used is:

[0023] Among them, X pre =[x pre,1 ,x pre,2 ,...,x pre,m ] is the reconstructed SERS spectrum, x j is the input SERS spectrum X i The jth data, x pre,j is the reconstructed spectrum X pre The jth data of .

[0024] Furthermore, the specific operation method of step S3 of the present invention is:

[0025] b-1, collecting the SERS spectrum of the object to be tested, and preprocessing the SERS spectrum, and using the preprocessed SERS spectrum of the object to be tested as the analysis spectrum.

[0026] b-2, the analysis spectrum is input into the trained deep convolutional autoencoder network model to obtain the reconstructed SERS spectrum X containing the spectral feature position information of the target object. pre .

[0027] b-3, Reconstructed SERS spectrum X pre Perform min-max normalization:

[0028]

[0029] Among them, x pre,j is the reconstructed SERS spectrum X pre The jth data, min(X pre ) is X pre The minimum value, max(X pre ) is X pre The maximum value of .

[0030] Furthermore, the specific operation mode of step S4 of the present invention is:

[0031] c-1, compare the reconstructed SERS spectrum after the normalization process in step b-3 with the target object SERS spectrum database X in step S1 ref =[X1,X2,...,X n ] to match the samples in the image and calculate the cosine similarity:

[0032]

[0033] Among them, X i The target SERS spectrum database X ref The data in x j For spectrum X i The jth data, x pre,j For spectrum X pre The jth data of .

[0034] c-2, judging whether the target object exists in the object to be tested by determining whether the maximum similarity value among the calculated cosine similarity values ​​exceeds a threshold value.

[0035] The present invention uses the SERS spectrum data of the target object to train a convolutional autoencoder network model, and reconstructs the SERS spectrum of the test object through the model. The reconstructed SERS spectrum is essentially the information of the target object spectral feature position extracted from the complex SERS spectrum of the test object. The reconstructed SERS spectrum is matched with the sample in the target object SERS spectrum database, and the maximum similarity of the spectrum is calculated to determine whether the target object exists in the test object. The identification method of the present invention can batch identify the SERS samples of multiple test objects, and the entire identification process does not require human participation, and has the characteristics of being fast and lossless, and the implementation process is simple.

[0036] Compared with the traditional target object identification method of searching and matching the characteristic peak of SERS, the identification method of the present invention is not affected by the change of the characteristic peak, and the identification result is more accurate, especially when the SERS spectrum of the object to be tested is complex and changes, the advantages of the identification method of the present invention are more obvious. The present invention effectively shields the spectral information of other debris, can eliminate the influence of the SERS signal of other substances, and reduces the influence of the change of the measurement environment. It has the advantages of strong anti-interference ability and accurate discrimination, and is particularly suitable for identifying target components from complex Raman spectra, and has a high precision rate and anti-interference ability. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flowchart of the identification method of the present invention.

[0038] Figure 2 It is the collected SERS spectrum of R6G and the SERS spectrum after preprocessing.

[0039] Figure 3 It is a structural diagram of the convolutional autoencoder network model.

[0040] Figure 4 It is a graph showing the changes in loss function value and similarity during iterative training of the model.

[0041] Figure 5 This is the SERS spectrum data graph reconstructed by the convolutional autoencoder network model for the SERS spectrum of pure pyrrole.

[0042] Figure 6 This is the reconstructed SERS spectrum of the pyrrole_R6G mixture sample and the matching result with the R6G database spectrum.

[0043] Figure 7 This is the reconstructed SERS spectrum of the pyrrole_R6G mixture sample 0 and the SERS spectrum of R6G with the greatest similarity.

[0044] Figure 3 In the figure, 1. Input SERS spectrum; 2. Encoder; 3. Decoder; 4. Reconstruct SERS spectrum (output); 5. Convolution-pooling layer; 6. Deconvolution layer; 7. Fully connected layer. DETAILED DESCRIPTION

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

[0046] Example:

[0047] The goal of this example is to identify whether there is a trace amount of pyrrole in the mixture. A portable scientific research Raman spectroscopy system from Shanghai Ruhai Optoelectronics Technology Co., Ltd. was used, with an excitation laser wavelength of 785 nm, a laser power of 350 Mw and an integration time of 2 s, a measurement range of 200 to 3900 nm, and a spectral resolution of 4 cm -1 The gold nanosol is a sol-type SERS enhancement reagent CP-G8 produced by Xiamen Pushi Nanotechnology Co., Ltd., with a particle size of about 80 nm.

[0048] like Figure 1 As shown, the method of the present invention for quickly identifying a target object by reconstructing a SERS spectrum comprises the following steps:

[0049] Step S1, configure 10 -2 , 10 -4 , 10 -5 and 10 -6 The SERS spectra of R6G were collected by using the gold nanosol enhancement method with four different concentrations of R6G reagents of different mol / L. The SERS spectra were preprocessed, including interpolation, baseline correction, filtering and denoising, and Raman intensity normalization. Figure 2 As shown; the SERS spectrum of R6G after pretreatment is constructed into a SERS spectrum database: X ref =[X1,X2,...,X n ], n = 530, indicating that the number of samples in the database is 530, and the Raman frequency shift space is W = [ω1,ω2,...,ω m ]=[101,102,...2148]cm -1 , m = 2048, indicating that the size of the Raman frequency shift space is 2048 and the frequency shift interval is 1 cm -1 , X i is the SERS spectrum of the i-th sample, X i =[x1,x2,...,x m ], x j ∈[0,1] is the Raman frequency shift ω j The relative Raman intensity at .

[0050] Step S2, construct a deep convolutional autoencoder network model and train the model. The specific steps are as follows;

[0051] The deep convolutional autoencoder network model constructed in S2.1 consists of two parts: encoder and decoder (such as Figure 3As shown in the figure, the encoder contains three feature extraction layers, each of which is composed of a one-dimensional convolution (1D Conv) and a maximum pooling (1DMaxPooling) module to achieve SERS spectrum feature extraction and dimensionality reduction; each convolution layer is connected to a batch normalization (1DBatchNorm) and a ReLU nonlinear activation operation, and the size of the maximum pooling layer kernel is 2. The decoder contains three deconvolution layers (1D DeConv) and a fully connected layer (FC). The deconvolution layers all use the nonlinear activation function of ReLU, and the fully connected layers use the nonlinear activation function of Sigmoid. The number of neurons in the fully connected layer is 2048, which is the same as the size of the Raman frequency shift space of the input SERS spectrum.

[0052] The parameters of the convolutional and deconvolutional layers are shown in Table 1.

[0053] Table 1 Some parameters of convolutional layer and deconvolution layer

[0054]

[0055] S2.2 The SERS spectrum data of R6G was divided into a training set and a validation set according to a ratio of 8:2, and the constructed deep convolutional autoencoder network model was trained; the mean square error (MSE) of the Euclidean distance between the model output SERS spectrum (reconstructed SERS spectrum) and the sample SERS spectrum was used as the loss function, and the calculation formula of the mean square error was:

[0056]

[0057] Among them, X pre =[x pre,1 ,x pre,2 ,...,x pre,m ] is the reconstructed SERS spectrum, x j is the input SERS spectrum X i The jth data, x pre,j is the reconstructed spectrum X pre The jth data of .

[0058] Adam is used to optimize the model parameters. The learning rate of Adam is 0.01, the number of training iterations is set to 100, and the iterative training is performed with the minimum loss function as the training target. The change of the loss function value is as follows: Figure 4 shown.

[0059] In the validation set, the cosine similarity between the SERS spectra reconstructed by the model and the SERS spectra of some samples in the validation set is shown in Table 2, where the SERS spectrum of sample 0 and its corresponding reconstructed SERS spectrum are shown in Table 2. Figure 5 shown.

[0060] Table 2 Cosine similarity between the reconstructed SERS spectra and some samples of the validation set

[0061]

[0062]

[0063] Step S3, select pure pyrrole and 10 -4 Mol / L R6G solution was prepared, 4 pyrrole_R6G mixtures with different volume ratios (1:1, 1:10, 10:1, 100:1) were prepared, and 176 SERS spectra of the mixtures were collected as samples to be tested. The specific steps are as follows:

[0064] S3.1, preprocessing the SERS spectrum of the object to be tested according to the preprocessing method of step S1, and the preprocessed SERS spectrum of the object to be tested is used as the analysis spectrum of subsequent operations.

[0065] S3.2, input the analyzed spectrum into the trained deep convolutional autoencoder network model to obtain the reconstructed SERS spectrum X pre .

[0066] S3.3, for the reconstructed SERS spectrum X pre Perform min-max normalization:

[0067]

[0068] Among them, x pre,j is the reconstructed SERS spectrum X pre The jth data, min(X pre ) is X pre The minimum value, max(X pre ) is X pre The maximum value of .

[0069] Step S4, comparing the reconstructed SERS spectrum after the normalization processing in step S3.3 with the target object SERS spectrum database X in step S1 ref =[X1,X2,...,X n ] to match the samples in the image and calculate the cosine similarity to determine whether the target object exists in the object to be tested.

[0070] The SERS spectra of 176 groups of mixture samples were tested, and reconstructed SERS spectra were generated. The cosine similarity between these reconstructed SERS spectra and the sample SERS in the R6G SERS spectrum database was calculated, and the matching samples with the largest cosine similarity were recorded. After the 176 test sample data were reconstructed by the convolutional autoencoder, the maximum similarity distribution with the target component R6G sample is as follows: Figure 6As shown in Figure 1, the mean is 0.945, the median is 0.951, and the minimum is 0.831. Among them, 152 samples (86.4%) have a maximum similarity greater than 0.9, which can successfully identify R6G in the test object. The reconstructed SERS spectrum of the mixture sample 0 and the matching SERS spectrum of the maximum similarity R6G are shown in Figure 1. Figure 7 shown.

[0071] The maximum cosine similarity data of the reconstructed SERS spectra of some pyrrole_R6G mixture samples and the SERS spectrum data (library) of R6G are shown in Table 3.

[0072] Table 3 Maximum cosine similarity between the reconstructed SERS spectra of some pyrrole_R6G mixture samples and the SERS spectrum data (library) of R6G

[0073]

[0074] The model was run on an Intel(R) Core(TM) i7-10750H CPU, and 176 SERS spectral data to be tested were analyzed in batch processing. The total analysis time was 8.58s, and the average identification time for each SERS sample was only 0.049s, achieving the purpose of rapid identification.

[0075] As a comparison, we used 20 sets of SERS spectra of pyrrole-acetone mixed solutions (without R6G) for identification tests. The maximum similarity between the reconstructed SERS spectra and the spectrum of the target component R6G was less than 0.3, as shown in Table 4, indicating that this method can reduce false positives in identification.

[0076] Table 4 Maximum cosine similarity between the reconstructed SERS spectra of some pyrrole-acetone mixture samples and the SERS spectrum data (library) of R6G

[0077]

Claims

1. A method for rapidly identifying a target object using reconstructed SERS spectra, characterized in that: The following steps are involved: S1, collecting SERS spectra of targets at different concentrations, and after preprocessing, using the obtained SERS spectrum data results of the targets to construct a SERS spectrum database of the targets; S2, constructing a deep convolutional autoencoder network model, and using the target object SERS spectrum data to train the deep convolutional autoencoder network model, so that the deep convolutional autoencoder network model can automatically extract and reconstruct the target object SERS spectrum characteristics; S3, collecting and preprocessing the SERS spectrum of the object to be tested, and reconstructing the SERS spectrum of the object to be tested using the trained deep convolutional autoencoder network model; S4, matching the reconstructed SERS spectrum of the object to be tested with the target object SERS spectrum data in the target object SERS spectrum database, calculating the similarity, and judging whether the target object exists in the object to be tested according to the maximum similarity value; if the maximum similarity value is greater than a set threshold value, the object to be tested contains the target object; otherwise, the object to be tested does not contain the target object; The deep convolutional autoencoder network model in step S2 includes two parts: an encoder and a decoder, where; a-1, the encoder includes three feature extraction layers, each of which includes a one-dimensional convolution and a maximum pooling module to achieve SERS spectral feature extraction and dimensionality reduction; The convolution operation of the encoder is: h = σ (f (X * W + b)) Where X is the input data, W is the weight of the convolution kernel, b is the bias of the convolution kernel weight coefficient, * represents the one-dimensional convolution operation, f(·) represents the batch normalization operation, and σ(·) represents the ReLU nonlinear activation operation; a-2, the decoder includes three deconvolution layers and one fully connected layer; the three deconvolution layers all use ReLU as a nonlinear activation function, and the fully connected layer uses Sigmoid as a nonlinear activation function; the number of neurons in the fully connected layer is the same as the size of the Raman frequency shift space, so it is represented by m; The deconvolution operation of the decoder is: in, is the weight coefficient of the deconvolution layer, c is the bias of the deconvolution layer weight coefficient, and the meanings of other parameters are the same as a-1; a-3, using the mean square error of the Euclidean distance between the target object SERS spectrum reconstructed using the features and the input target object sample SERS spectrum as the loss function, and using the Adam algorithm to optimize the model parameters; The formula used to calculate the mean square error is: Among them, X pre =[x pre,1 ,x pre,2 ,...,x pre,m ] is the reconstructed SERS spectrum, x j is the input SERS spectrum X i The jth data, x pre,j is the reconstructed spectrum X pre The jth data of .

2. The method for rapidly identifying a target object by reconstructing a SERS spectrum according to claim 1, characterized in that: The preprocessing of the SERS spectrum includes: making the SERS spectrum have a uniform Raman frequency shift space by interpolation / sampling, baseline correction and smooth filtering of the SERS spectrum; making the SERS spectrum have a uniform Raman intensity by normalizing the Raman intensity of the SERS spectrum.

3. The method for rapidly identifying a target object by reconstructing a SERS spectrum according to claim 2, characterized in that: The target object SERS spectrum database constructed in step S1 is in the form of: ref =[X1,X2,...,X n ], the Raman frequency shift space is in the form of: W=[ω1,ω2,...,ω m ]; Where n is the number of target samples in the SERS spectrum database, m represents the size of the Raman frequency shift space, Xi is the SERS spectrum of the i-th target sample, and X i =[x1,x2,...,x m ], x j ∈[0,1] is X i The Raman frequency shift ω j The relative Raman intensity at .

4. The method for rapidly identifying a target object by reconstructing a SERS spectrum according to claim 1, characterized in that: The specific operation method of step S3 is: b-1, collecting the SERS spectrum of the object to be tested, and preprocessing the SERS spectrum, and using the preprocessed SERS spectrum of the object to be tested as the analysis spectrum; b-2, the analysis spectrum is input into the trained deep convolutional autoencoder network model to obtain the reconstructed SERS spectrum X containing the spectral feature position information of the target object. pre ; b-3, Reconstructed SERS spectrum X pre Perform min-max normalization: Among them, x pre,j is the reconstructed SERS spectrum X pre The jth data, min(X pre ) is X pre The minimum value, max(X pre ) is X pre The maximum value of .

5. The method for rapidly identifying a target object by reconstructing SERS spectrum according to claim 4, characterized in that: The specific operation method of step S4 is: c-1, compare the reconstructed SERS spectrum after the normalization process in step b-3 with the target object SERS spectrum database X in step S1 ref =[X1,X2,...,X n ] to match the samples in the image and calculate the cosine similarity: Among them, X i The target SERS spectrum database X ref The data in x j For spectrum X i The jth data, x pre,j For spectrum X pre The jth data of c-2, judging whether the target object exists in the object to be tested by determining whether the maximum similarity value among the calculated cosine similarity values ​​exceeds a threshold value.