A method for removing fiber Raman background in fiber SERS probe

The improved U-Net network model removes the Raman background of the optical fiber SERS probe, solves the problem of signal interference of the optical fiber itself, improves the detection sensitivity, and is suitable for the detection environment of the optical fiber SERS probe.

CN114912348BActive Publication Date: 2024-10-01DONGGUAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210398606.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-15
Publication Date
2024-10-01
Estimated Expiration
2042-04-15

AI Technical Summary

Technical Problem

During detection of optical fiber SERS probes, the Raman background signal of the optical fiber itself is stronger than the signal of the object to be measured, resulting in a low spectral signal-to-noise ratio, which limits the detection sensitivity. Existing fitting methods have high parameter dependence and are prone to incomplete fitting or incomplete fitting. The problem of overfitting.

Method used

An improved deep learning model based on the U-Net network was used, the pooling layer was replaced with a batch normalization layer, and the connection operation was a residual connection. A fiber Raman background removal model was constructed, and the model was trained to simulate the spectral data set. training, reducing the risk of over-fitting and removing the optical fiber's own Raman background.

Benefits of technology

It effectively identifies and removes the Raman background of the optical fiber itself, improves the spectral signal-to-noise ratio of the optical fiber SERS probe, improves detection sensitivity, and is suitable for various detection environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114912348B_ABST
    Figure CN114912348B_ABST
Patent Text Reader

Abstract

The invention discloses a method for removing the optical fiber Raman background in an optical fiber SERS probe, and relates to the field of surface enhanced Raman technology and artificial intelligence. The method comprises: obtaining a target spectrum; the target spectrum is a spectrum obtained by measuring the optical fiber SERS probe and containing the Raman signal of the object to be measured and the Raman background of the optical fiber itself; the target spectrum is input into a trained optical fiber Raman background removal model to obtain the SERS spectrum of the object to be measured; the optical fiber Raman background removal model replaces the pooling layer in the U‑Net network model with a batch normalization layer, and replaces the ordinary connection operation with a residual connection operation, and the residual connection operation performs a residual connection between the input of the upsampling convolution layer and the output of the corresponding downsampling convolution layer, and the corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer. The optical fiber Raman background removal model of the invention can effectively remove the Raman background of the optical fiber itself in the optical fiber SERS probe, and improve the detection sensitivity and long-range detection capability of the optical fiber SERS probe.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of surface enhanced Raman technology and artificial intelligence, and in particular to a method for removing optical fiber Raman background in an optical fiber SERS probe. Background Art

[0002] Fiber-optic SERS probes, which combine fiber-optic sensing technology with surface-enhanced Raman scattering (SERS) spectroscopy technology, have significant advantages in the fields of in-situ, online, in vivo, and remote detection of Raman spectroscopy. When using fiber-optic SERS probes for spectral detection, the SERS signal of the object to be detected is superimposed on the Raman background of the fiber itself. Usually, the intensity of the Raman background of the fiber itself is greater than the SERS signal intensity of the object to be detected, resulting in a low spectral signal-to-noise ratio, which greatly limits the detection sensitivity and practical detection application of fiber-optic SERS probes.

[0003] At present, in order to reduce the influence of the fiber's own Raman on the SERS spectrum signal-to-noise ratio, the most commonly used method is to measure the spectrum of the fiber SERS probe before and after the adsorption of the object to be measured, and use the spectrum after adsorption to subtract the spectrum before adsorption to obtain the SERS spectrum of the object to be measured. This method can usually obtain a good spectral signal-to-noise ratio when the SERS signal of the object to be measured is strong (comparable to the fiber's own Raman signal), but when the fiber length is too long or the concentration of the object to be measured is low, the fiber's own Raman signal may be much stronger than the SERS signal of the object to be measured. The SERS spectrum signal-to-noise ratio obtained by this method is low, and it is not easy to achieve high-sensitivity detection. In recent years, people have used methods such as Savitzky-Golay (SG) algorithm, polynomial fitting, multivariate analysis and frequency domain filtering to filter out the fiber's own Raman in the fiber SERS probe, which has improved the spectral detection sensitivity to a certain extent. However, there are many adjustable parameters in these fitting methods, and the fitting effect depends largely on the accurate selection of parameters. It has high requirements on the user, and it is easy to have incomplete fitting or overfitting, which is not conducive to practical detection applications. Summary of the invention

[0004] The purpose of the present invention is to provide a method for removing the optical fiber Raman background in an optical fiber SERS probe, so as to solve the interference problem of the optical fiber's own Raman background when the optical fiber SERS probe is used to detect an object to be detected.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A method for removing optical fiber Raman background in an optical fiber SERS probe, comprising:

[0007] Acquire a target spectrum; the target spectrum is a spectrum including the Raman signal of the object to be measured and the Raman background of the optical fiber itself measured by the optical fiber SERS probe;

[0008] The target spectrum is input into a trained optical fiber Raman background removal model to obtain an output spectrum; the output spectrum is a SERS spectrum of the object to be tested after removing the Raman background of the optical fiber itself;

[0009] Among them, the fiber Raman background removal model is an improved deep learning model based on the U-Net network. The model replaces the pooling layer in the U-Net network model with a batch normalization layer, and replaces the ordinary connection operation in the U-Net network model with a residual connection operation. The residual connection operation is used to perform a residual connection between the input of the upsampling convolution layer and the output of the corresponding downsampling convolution layer. The corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer.

[0010] Optionally, the improved U-Net network model includes a downsampling module and an upsampling module; the downsampling module and the upsampling module both include N layers of networks connected in sequence, each layer of the downsampling module includes a downsampling convolutional layer, a BN layer and a ReLU layer connected in sequence, and the first N-1 layers of the upsampling module include an upsampling convolutional layer, a BN layer and a ReLU layer connected in sequence.

[0011] Optionally, the convolution kernel size of the first five layers in the downsampling convolution layer is 5x1, the convolution kernel size of the last two layers is 7x1, and the convolution kernel size in the upsampling convolution layer is 5x1.

[0012] Optionally, before inputting the target spectrum into the trained optical fiber Raman background removal model, the method further includes: training the optical fiber Raman background removal model, and the training method is as follows:

[0013] Acquire a sample spectral data set, wherein the spectral data set includes a large number of simulated SERS spectra (including optical fiber Raman background) and pure SERS spectra of the object to be tested corresponding to the simulated SERS spectra, wherein the simulated SERS spectra correspond to the original output spectrum of the optical fiber SERS probe;

[0014] The simulated SERS spectrum is used as the input of the model, and the pure SERS spectrum of the object to be tested is used as a label to train the optical fiber Raman background removal model to obtain a trained optical fiber Raman background removal model.

[0015] Optionally, the simulated SERS spectra in the spectral data set are obtained by linearly combining the experimental spectra and the simulated spectra, so as to generate sufficient spectral data for model training, as follows:

[0016] Obtain the self-Raman spectra of the fiber SERS probe under different laser powers and different fiber lengths, and obtain multiple fiber self-Raman experimental spectra;

[0017] Linearly combining a plurality of the optical fiber self Raman experimental spectra to expand the optical fiber self Raman spectrum data set;

[0018] The pure SERS spectra of the analyte with line shapes such as Lorentz, Gaussian, and Vogit are generated by simulation methods;

[0019] Generate random noise using random functions;

[0020] The Raman spectrum of the optical fiber itself, the pure SERS spectrum of the object to be tested and random noise are linearly superimposed to obtain a simulated SERS spectrum data set.

[0021] Optionally, the spectral dataset is a preprocessed spectral dataset, and the preprocessing includes:

[0022] The simulated SERS spectrum signal used as the model input and the pure SERS spectrum of the object to be tested used for training the label are both logarithmically processed to improve the generalization ability of the model.

[0023] According to the specific embodiments provided by the present invention, the following technical effects are disclosed: the present invention is based on the improvement of the U-Net network model, and a fiber Raman background removal model is constructed. The fiber Raman background removal model replaces the pooling layer in the U-Net network model with a batch normalization layer (BN layer), and replaces the connection operation in the U-Net network model with a residual connection operation. The residual connection operation is used to perform a residual connection between the input of the upsampling convolution layer and the output of the corresponding downsampling convolution layer. The corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer. The algorithm based on the improved U-net network model of the present application adopts the BN layer, which reduces the risk of overfitting, thereby being able to effectively identify and remove the fiber's own Raman background in various detection environments, so that the fiber SERS probe is no longer disturbed by the fiber's own Raman background during detection, thereby improving the spectral signal-to-noise ratio of the fiber SERS probe, and enhancing the detection sensitivity of the fiber SERS probe, which has important application prospects in the field of optical fiber remote detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0025] Figure 1 A schematic diagram of a process for removing optical fiber Raman background in an optical fiber SERS probe provided by the present invention;

[0026] Figure 2 A schematic diagram of the network architecture of the optical fiber Raman background removal model in the present invention;

[0027] Figure 3 Schematic diagram of the connection between adjacent convolutional layers in the optical fiber Raman background removal model of the present invention;

[0028] Figure 4 A schematic flow chart of a training method for a fiber Raman background removal model provided by the present invention;

[0029] Figure 5 Schematic diagram of obtaining a simulated SERS spectral data set in the present invention;

[0030] Figure 6 This is a diagram showing the effect of optical fiber Raman background removal of simulated data in the trained optical fiber Raman background removal model in the present invention;

[0031] Figure 7 This is a diagram showing the effect of optical fiber Raman background removal of the experimental spectrum data in the optical fiber Raman background removal model of the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0033] The purpose of the present invention is to provide a method for removing the optical fiber Raman background in an optical fiber SERS probe, so as to solve the problem that the optical fiber Raman background interferes with the optical fiber SERS probe detection. To solve this problem, the embodiment of the present invention provides the following technical solutions.

[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] This embodiment provides a method for removing the optical fiber Raman background in an optical fiber SERS probe. Referring to FIG1 , the method comprises the following steps:

[0036] Step 101: Acquire a target spectrum; the target spectrum is a spectrum obtained by measuring the optical fiber SERS probe and includes the Raman signal of the object to be measured and the Raman background of the optical fiber itself.

[0037] Step 102: input the target spectrum into a trained optical fiber Raman background removal model to obtain an output spectrum; the output spectrum is a SERS spectrum of the object to be tested after removing the Raman background of the optical fiber itself.

[0038] The fiber Raman background removal model is constructed based on an improved U-Net network model, wherein the pooling layer in the U-Net network model is replaced by a batch normalization layer, and the ordinary connection operation in the U-Net network model is replaced by a residual connection operation. The residual connection operation is used to perform a residual connection between the input of the upsampling convolution layer and the output of the corresponding downsampling convolution layer, and the corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer.

[0039] In this embodiment, the improved U-Net network model specifically includes: a downsampling module and an upsampling module. The downsampling module and the upsampling module both include N layers of networks connected in sequence, each layer of the downsampling module includes a downsampling convolution layer, a BN layer, and a ReLU layer connected in sequence, and the first N-1 layers of the upsampling module include an upsampling convolution layer, a BN layer, and a ReLU layer connected in sequence.

[0040] As a specific example, Figure 2 An improved U-Net network model with 12 layers is given in , wherein the downsampling module includes a seven-layer network and the upsampling module includes a five-layer network. The first five layers of the downsampling convolution layer in the downsampling module are constructed with a one-dimensional convolution kernel, the convolution kernel size is 5x1, and the stride is set to 2; the convolution kernel size of the convolution layer in the sixth and seventh layers is 7x1, and the stride is set to 1; the upsampling convolution layer in the upsampling module is constructed with a one-dimensional convolution kernel, the convolution kernel size is set to 5x1, and the stride is set to 2. The input of the upsampling convolution layer is residually connected with the output of the corresponding downsampling convolution layer, and the corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer.

[0041] In the entire network model, the output of the first eleven convolutional layers is connected to the BN layer and the ReLU activation function, such as Figure 3 As shown, the output of the convolutional layer of each layer of the network is connected to the input of the BN layer, the output of the BN layer is connected to the input of the ReLU activation function, and the output of the ReLU function is connected to the input of the next convolutional layer.

[0042] The batch normalization formula is as follows:

[0043]

[0044] Among them, x is the input data of the BN layer, E(x) and Var(x) are the mean and variance of the BN layer input data, γ and β are trainable variables, and ε is the smoothing factor.

[0045] The formula of the ReLU activation function is as follows:

[0046] ReLU(x)=max(0,x) (2)

[0047] Among them, x is the input of the ReLU layer.

[0048] The specific input and output parameters of the improved U-Net network model are shown in Table 1.

[0049] Table 1

[0050]

[0051]

[0052] The first column in the table shows the input data and data size of each layer of the model. The addition operation represents the residual connection operation. The middle column shows the parameter settings of the convolutional layer. The last column shows the output data and data size.

[0053] Next, the above-mentioned fiber Raman background removal model is trained. The specific training steps are as follows (see Appendix Figure 4 ):

[0054] Step 201: Acquire a spectral data set, which includes a large number of simulated SERS spectra (including fiber Raman background) and pure SERS spectra of the object to be tested corresponding to the SERS spectra (excluding fiber Raman background). The simulated SERS spectra correspond to the original output spectral information of the fiber SERS probe, and the pure SERS spectra of the object to be tested are used as labels to train the model. The spectral data set is a preprocessed spectral data set, and the preprocessing includes: logarithmic processing of both the simulated SERS spectra and the pure SERS spectra of the object to be tested.

[0055] In this embodiment, the simulated SERS spectra in the spectral data set are obtained by linearly combining the experimental spectra and the simulated spectra, so as to generate sufficient spectral data for model training, as follows:

[0056] Obtain the self-Raman spectrum of the fiber SERS probe under different laser powers and different fiber lengths to obtain multiple fiber self-Raman experimental spectra. Linearly combine the multiple fiber self-Raman experimental spectra to expand the fiber self-Raman spectrum data set. Superimpose the simulated pure SERS spectrum of the object to be tested onto the fiber self-Raman background spectrum to obtain an initial composite spectrum. Add a noise signal to the initial composite spectrum to obtain the simulated SERS spectrum data. The process of obtaining the spectral data set is shown in the attached figure. Figure 5 As shown, there are two types of simulated spectral data: one is a composite SERS spectrum superimposed with the pure SERS spectrum of the analyte, in which the SERS peak of the analyte is simulated by Lorentz distribution or Gaussian distribution (such as Figure 5 a); the other is the simulated SERS spectrum without superimposed SERS signal of the object to be tested (such as Figure 5 b).

[0057] Since the original SERS spectrum obtained by the fiber SERS probe in the experiment contains fiber Raman background, Raman signal of the object to be tested and system noise, etc., and the neural network model training requires millions of spectral data, which is difficult to obtain directly from the experiment. Therefore, in this embodiment, a method combining experimental data and simulation data is used to obtain the simulated SERS spectrum data set for model training. The specific data generation process is as follows:

[0058] First, the Raman spectrum data of the optical fiber itself is obtained. The Raman spectrum of the optical fiber SERS probe itself is measured experimentally under different laser powers and different optical fiber lengths to obtain 1000 experimental spectrum data of the optical fiber Raman background. The 1000 spectrum data are randomly linearly combined to obtain more optical fiber Raman simulation spectrum data, that is, the optical fiber Raman simulation spectrum data is generated by the following calculation.

[0059] g(x)=k*(n*b i +(1-n)*b j ) (3)

[0060] Among them, g(x) is the fiber Raman simulation spectrum, b i and b j is a randomly selected fiber Raman background spectrum, k is a random number ranging from 0.5 to 2, and n is a random number ranging from 0 to 1.

[0061] Secondly, the pure SERS spectrum data of the object to be tested is obtained by simulation generation method. Gaussian function or Lorentz function is used to simulate the Raman peak signal of the object to be tested. Each spectrum contains several Raman peaks, where the intensity of each Raman peak is randomly selected between 20 and 12000; the number of Raman peaks N is randomly selected between 15 and 45. The specific calculation formula is as follows:

[0062]

[0063] Where N represents the number of Raman peaks.

[0064] Finally, the simulated Lorentzian distribution and Gaussian distribution Raman peak signals are randomly superimposed on the optical fiber's own Raman spectrum and the optical fiber Raman simulation spectrum to obtain an initial composite spectrum; and a certain noise signal in the white noise simulation spectrum is superimposed on the initial composite spectrum, and finally about one million simulated SERS spectrum data are obtained.

[0065] When the simulated SERS spectrum data is actually used for model training, since the fiber Raman background intensity is quite different from the SERS signal intensity of the object to be tested, the obtained spectrum data needs to be logarithmically processed, and then the simulated SERS spectrum data after logarithmic processing is used as the input of the above-mentioned fiber Raman background removal model, that is, the input data of the fiber Raman background removal model is obtained by the following calculation formula:

[0066] input=log3(raw+1) (5)

[0067] Wherein, input is the input data of the fiber Raman background removal model, and raw is the simulated SERS spectrum data obtained.

[0068] Step 202: Using the simulated SERS spectrum data after logarithmic processing as input, and using the pure SERS spectrum of the object to be tested corresponding to the simulated SERS spectrum as a label, the fiber Raman background removal model is trained to obtain a trained fiber Raman background removal model. The specific ideas are as follows:

[0069] The simulated SERS spectrum data set obtained in step 201 is randomly divided into three parts according to the ratio of 8:1:1, which are used as a training set, a validation set and a test set respectively.

[0070] The training set is used as the input of the optical fiber Raman background removal model, and the SERS signal of the object under test corresponding to the spectral data in the training set is used as a label to train the optical fiber Raman background removal model to obtain a trained optical fiber Raman background removal model.

[0071] Among them, the label data corresponding to the spectral data of the Raman signal of the object to be measured superimposed with Lorentz or Gaussian distribution is the SERS signal of the object to be measured in the spectral data, and the label data corresponding to the spectral data of the Raman peak without superimposing Lorentz or Gaussian distribution is one-dimensional data with a value of 0, and its size is the same as the SERS signal of the object to be measured.

[0072] In this embodiment, the validation set is used as the input of the fiber Raman background removal model, and the SERS signal of the object under test corresponding to the spectral data in the validation set is used as the label to verify the trained fiber Raman background removal model. The model is optimized by the stochastic gradient descent method, the number of iterations is set to 500, the initialization learning rate is set to 0.1, and the learning rate is multiplied by 0.1 at the number of iterations of 250 and 375. The mean absolute error function is used as the loss function to calculate the error value in the training process, and the model with the smallest error value in the validation set is selected as the final model, that is, the final fiber Raman background removal model is selected by the following calculation:

[0073] loss = abs(out-label), (6)

[0074] Where abs(*) is the absolute value function, out is the output value of the model during verification, and label is the label data corresponding to the Raman spectrum.

[0075] At this point, the training of the neural network model is completed, and the model obtained after the training is the optical fiber Raman background removal model.

[0076] The effect of the above-trained fiber Raman background removal model is verified as follows:

[0077] In this embodiment, the determination coefficient (R square value) is used to directly verify the model effect, and the calculation method of the R square value is as follows:

[0078]

[0079] Among them, y i is the actual output value of the model, is the label data, is the average value of the label data.

[0080] 1. Verify using simulated data

[0081] The training set, validation set and test set generated in step 202 are used and input into the trained model with the smallest loss error, and the corresponding R-square values ​​are calculated respectively. The results are shown in Table 2.

[0082] Table 2

[0083] Dataset R-squared value Training set 0.9951 Validation set 0.9952 Test Set 0.9950

[0084] As can be seen from the table above, the fitting values ​​of the three data sets are all as high as 0.995, indicating that the above trained models can meet the needs of use. Figure 6The Raman removal effect of the trained model on the simulated SERS spectrum data is given. A set of randomly generated simulated SERS spectrum data is used as the input spectrum and input into the trained fiber Raman background removal model. The output spectrum is as follows Figure 6 The gray curve is shown in the figure. The Label spectrum corresponding to the simulated SERS spectrum (see Appendix Figure 6 The black curve shows good agreement in terms of the position and intensity of the Raman peak.

[0085] 2. Model verification using experimental spectra

[0086] Furthermore, the actual SERS spectrum data of the object measured by the fiber SERS probe experiment was input into the trained fiber Raman background removal model to verify the removal effect of the model. In the experiment, the same fiber SERS probe was used to measure and record deionized water (background spectrum) and a concentration of 1*10 -6 The SERS spectrum of malachite green-deionized water solution of M is shown in Figure 2. Figure 7 The SERS spectrum of malachite green-deionized water solution is input into the trained fiber Raman background removal model, and the following is obtained: Figure 7 (b) The pure SERS spectrum of malachite green is shown in gray. For the sake of comparison, the spectrum of deionized water is used as the Raman background of the fiber probe in the experiment. Figure 7 The pure SERS spectrum of malachite green was obtained experimentally by subtracting the Raman spectrum of deionized water from the malachite green spectrum with the fiber Raman background in (a). Figure 7 (b) is shown by the black line. The results clearly show that the trained fiber Raman background removal model can effectively extract the SERS signal of the object under test in the experimental SERS spectrum and remove the influence of the fiber's own Raman background, thus greatly improving the spectral detection sensitivity of the fiber SERS probe.

[0087] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for removing the optical fiber Raman background in an optical fiber SERS probe, characterized in that: include: Acquire target spectrum; The target spectrum is a spectrum obtained by measuring the Raman signal of the object to be tested and the Raman background of the optical fiber itself using the optical fiber SERS probe; Inputting the target spectrum into a trained optical fiber Raman background removal model to obtain an output spectrum; The output spectrum is the SERS spectrum of the object to be tested after removing the Raman background of the optical fiber itself; The optical fiber Raman background removal model is a deep learning model based on an improved U-Net network, wherein the improved U-Net network deep learning model replaces the pooling layer in the U-Net network model with a batch normalization layer, and replaces the ordinary connection operation in the U-Net network model with a residual connection operation, wherein the residual connection operation is used to perform a residual connection between the input of the upsampling convolution layer and the output of the corresponding downsampling convolution layer, and the corresponding downsampling convolution layer is a convolution layer whose output size is the same as the input size of the upsampling convolution layer; Before inputting the target spectrum into the trained optical fiber Raman background removal model, the method further includes: training the optical fiber Raman background removal model, and the training method is as follows: Acquiring a spectral data set, wherein the spectral data set includes a plurality of simulated SERS spectra and a SERS spectrum of an object to be tested corresponding to the simulated SERS spectrum signal; The simulated SERS spectrum signal is used as the input of the optical fiber Raman background removal model, and the SERS spectrum of the object to be tested is used as a label to train the optical fiber Raman background removal model to obtain a trained optical fiber Raman background removal model; The simulated SERS spectra in the spectral data set are obtained by linearly combining the experimental spectra and the simulated spectra, as follows: Obtain the self-Raman spectra of the fiber SERS probe under different laser powers and different fiber lengths, and obtain multiple fiber self-Raman experimental spectra; Linearly combining a plurality of the optical fiber self Raman experimental spectra to expand the optical fiber self Raman spectrum data set; Generate SERS spectra of Lorentzian, Gaussian or Vogit line-shaped samples using simulation methods; Generate random noise using random functions; The Raman experimental spectrum of the optical fiber itself, the SERS spectrum of the object to be tested and random noise are linearly superimposed to obtain a simulated SERS spectrum data set.

2. The method for removing the optical fiber Raman background in an optical fiber SERS probe according to claim 1, characterized in that: The improved U-Net network model includes a downsampling module and an upsampling module; the downsampling module and the upsampling module both include N layers of networks connected in sequence, each layer of the downsampling module includes a downsampling convolutional layer, a BN layer and a ReLU layer connected in sequence, and the first N-1 layers of the upsampling module include an upsampling convolutional layer, a BN layer and a ReLU layer connected in sequence.

3. The method for removing optical fiber Raman background in an optical fiber SERS probe according to claim 1 or 2, characterized in that: The convolution kernel size of the first five layers in the downsampling convolution layer is 5x1, the convolution kernel size of the last two layers is 7x1, and the convolution kernel size in the upsampling convolution layer is 5x1.

4. The method for removing the optical fiber Raman background in the optical fiber SERS probe according to claim 1, characterized in that: The spectral data set is a preprocessed spectral data set, and the preprocessing includes: The simulated SERS spectrum used as the model input and the SERS spectrum of the object to be tested used for training the label are both logarithmically processed.