Method and device for determining trace element concentration based on LIBS
By calculating the characteristic coefficients in LIBS technology and reconstructing the spectrum, the problem of difficult to distinguish trace elements in the spectrum is solved, and high-precision analysis of trace element concentration is achieved.
Patent Information
- Application Number
- CN202411052895.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-02
AI Technical Summary
In LIBS technology, the characteristic spectral emission signal of trace elements is susceptible to noise interference, making it difficult to accurately determine its concentration in the spectrum.
By calculating the characteristic coefficients of multiple original spectra and reconstructing the reconstructed spectra, the characteristic spectral signal of trace elements is enhanced, noise interference is reduced, and the signal-to-noise ratio of the spectrum is improved, so that the concentration of trace elements is easier to distinguish.
It effectively enhances the spectral characteristic signal of trace elements, reduces the difficulty of detecting them in the spectrum, and improves the analysis accuracy of trace element concentration.
Smart Images

Figure CN118624589B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser spectroscopy technology, and in particular to a method and device for determining the concentration of trace elements based on LIBS. Background Art
[0002] Trace elements refer to elements with very low content in substances or materials. Although their content is low, they sometimes play a key role in affecting the macroscopic properties of substances or materials. Therefore, quantitative analysis involving trace elements has always attracted much attention in many fields such as life sciences, nuclear industry, geochemistry, and environmental monitoring. For example, in the field of life sciences, quantitative analysis of the concentration of trace lithium (Li) elements in body fluids can help researchers accurately understand the activity of the central nervous system of organisms; in various links of nuclear industry reprocessing, quantitative analysis of the concentration of trace elements such as rubidium (Rb), cesium (Cs), and iodine (I) in spent fuel can help staff accurately control the treatment effects of each link.
[0003] Laser-induced breakdown spectroscopy (LIBS) is a technique used to analyze the elemental composition and content of samples, and is usually used for the analysis of solid, liquid and gas samples. The basic principle of LIBS technology: high-energy laser pulses generated by a laser are used to irradiate the surface of the sample to be analyzed, and plasma is formed on the surface of the sample by ablation; as the plasma cools, the atoms and ions in it will emit characteristic spectra; the wavelength and intensity of the plasma emission spectrum detected by the spectrometer can provide information about the composition of the sample, that is, the type of elements in the sample and their content can be determined by analyzing the emission spectrum. LIBS technology has many advantages, including in-situ, fast, no sample preparation, and adaptability to long-distance analysis tasks in harsh environments. Therefore, it is widely used in the fields of nuclear industry, materials science, environmental monitoring, geological exploration, etc. However, when it comes to the analysis of trace elements, the weaker characteristic spectral emission signals of trace elements will be interfered by noise signals from various sources, making it difficult to detect trace elements in the spectrum and determine the concentration of trace elements. Summary of the invention
[0004] In view of the problems in the prior art, the present invention provides a method and device for determining the concentration of trace elements based on LIBS.
[0005] The present invention provides a method for determining the concentration of trace elements based on LIBS, comprising the following steps.
[0006] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested, so as to obtain a plurality of original spectra of the sample to be tested.
[0007] The characteristic coefficients corresponding to the sample to be tested are determined according to the multiple original spectra of the sample to be tested, and the reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficients corresponding to the sample to be tested.
[0008] The concentration of the target trace element in the sample to be tested is determined according to the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentrations and the characteristic spectral intensity of each of the multiple target samples; and the multiple target samples are doped with the target trace element at different concentrations.
[0009] According to a method for determining trace element concentration based on LIBS provided by the present invention, the relationship between the concentration and the characteristic spectrum intensity corresponding to each of the plurality of target samples is obtained by the following steps:
[0010] For any of the target samples, according to the preset values of the working parameters of the LIBS device, the target sample is irradiated by the LIBS device to obtain a plurality of original spectra of the target sample;
[0011] Determining characteristic coefficients corresponding to the target sample according to a plurality of original spectra of the target sample, and reconstructing a reconstructed spectrum of the target sample according to the characteristic coefficients corresponding to the target sample;
[0012] According to the reconstructed spectrum of the target sample, a relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample is determined.
[0013] According to a method for determining the concentration of trace elements based on LIBS provided by the present invention, according to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested, including:
[0014] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the sample to be tested, and the m an original spectrum of the sample to be tested; m is the number of different positions and is greater than 1;
[0015] The determining of characteristic coefficients corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstructing the reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested, comprises:
[0016] For different target wavelengths, according to the sample to be tested m An original spectrum is obtained, a characteristic coefficient corresponding to the sample to be tested is determined, and a reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficient corresponding to the sample to be tested.
[0017] According to a method for determining the concentration of trace elements based on LIBS provided by the present invention, for different target wavelengths, according to the m an original spectrum, determining a characteristic coefficient corresponding to the sample to be tested, and reconstructing a reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested, including:
[0018] For any of the target wavelengths, the reconstructed spectrum of the sample to be tested is reconstructed using the following formula (1);
[0019] (1);
[0020] ;
[0021] ;
[0022] in, is the characteristic coefficient, H(x) is the unit step function, The wavelength is The spectral intensity at The wavelength is The spectral intensity of the original spectrum at time The wavelength is The spectral intensity of the reconstructed spectrum is is the target wavelength, is the wavelength before the target wavelength, is the wavelength after the target wavelength, i The value range is from 1 to m .
[0023] According to a method for determining the concentration of trace elements based on LIBS provided by the present invention, the target sample is irradiated by the LIBS device according to the preset values of the working parameters of the LIBS device to obtain multiple original spectra of the target sample, including:
[0024] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the target sample to obtain the target sample. m The original spectrum; m is the number of different positions and is greater than 1;
[0025] The step of determining the characteristic coefficient corresponding to the target sample according to the multiple original spectra of the target sample, and reconstructing the reconstructed spectrum of the target sample according to the characteristic coefficient corresponding to the target sample, comprises:
[0026] For different target wavelengths, according to the target sample mAn original spectrum is obtained, a characteristic coefficient corresponding to the target sample is determined, and a reconstructed spectrum of the target sample is reconstructed according to the characteristic coefficient corresponding to the target sample.
[0027] According to a method for determining trace element concentration based on LIBS provided by the present invention, the method further comprises:
[0028] The value of the working parameter of the LIBS device when the signal-to-noise ratio of the characteristic spectrum is greater than or equal to a preset threshold is obtained, and the value is used as the preset value of the working parameter.
[0029] According to a method for determining the concentration of trace elements based on LIBS provided by the present invention, the working parameters include at least one of the following: laser wavelength, laser pulse width, laser pulse energy, laser repetition frequency, delay of spectrometer acquisition, time window of spectrometer acquisition, and distance from the focal plane to the sample.
[0030] The present invention also provides a device for determining the concentration of trace elements based on LIBS, comprising the following modules.
[0031] The spectrum acquisition module is used to irradiate the sample to be tested using the LIBS device according to the preset values of the working parameters of the LIBS device to obtain multiple original spectra of the sample to be tested.
[0032] The spectrum reconstruction module is used to determine the characteristic coefficients corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and to reconstruct the reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested.
[0033] A processing module is used to determine the concentration of the target trace element in the sample to be tested according to the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration and the characteristic spectral intensity of each of the multiple target samples; and the target trace element is doped with different concentrations in the multiple target samples.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for determining the concentration of trace elements based on LIBS as described in any one of the above is implemented.
[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for determining the concentration of trace elements based on LIBS.
[0036] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described methods for determining the concentration of trace elements based on LIBS.
[0037] The method and device for determining the concentration of trace elements based on LIBS provided by the present invention, according to the preset values of the working parameters of the LIBS device, use the LIBS device to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested; determine the characteristic coefficient corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstruct the reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested; further, determine the concentration of the target trace element in the sample to be tested according to the characteristic spectrum intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration corresponding to each of the multiple target samples and the characteristic spectrum intensity; the multiple target samples are doped with the target trace element of different concentrations. In the above scheme, the characteristic coefficient is calculated by using the multiple original spectra and the characteristic spectrum is reconstructed based on the characteristic coefficient, which can effectively enhance the characteristic spectrum of the trace element, make the spectrum easier to distinguish, and reduce the difficulty of detecting the trace element in the spectrum. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 It is a schematic diagram of the process of the method for determining the concentration of trace elements based on LIBS provided by the present invention.
[0040] Figure 2 This is one of the spectral intensity schematic diagrams of the method for determining trace element concentration based on LIBS provided by the present invention.
[0041] Figure 3 This is the second spectral intensity schematic diagram of the method for determining trace element concentration based on LIBS provided by the present invention.
[0042] Figure 4 This is one of the schematic diagrams of the relationship between spectral intensity and concentration of the method for determining trace element concentration based on LIBS provided by the present invention.
[0043] Figure 5 This is the second schematic diagram of the relationship between spectral intensity and concentration of the method for determining trace element concentration based on LIBS provided by the present invention.
[0044] Figure 6 It is a schematic diagram comparing different relationships between spectral intensity and concentration of the method for determining trace element concentration based on LIBS provided by the present invention.
[0045] Figure 7 It is a schematic diagram of the structure of the device for determining the concentration of trace elements based on LIBS provided by the present invention.
[0046] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. 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.
[0048] First, the relevant knowledge involved in the method of the embodiment of the present invention is introduced:
[0049] When analyzing trace elements based on LIBS, the weak characteristic spectral emission signals of trace elements are interfered by noise signals from various sources, making it difficult for commonly used analysis methods to accurately construct the correlation between the intensity of the characteristic spectral lines of trace elements and their concentrations. In this case, it is particularly necessary to explore reliable methods to enhance the spectral line characteristics of trace elements in LIBS spectra.
[0050] Common methods for enhancing LIBS spectral features can be summarized into two categories: one is auxiliary enhancement based on mathematical algorithms, and the other is auxiliary enhancement based on physical means. Commonly used algorithm enhancements include Split Spectrum Processing (SSP), Morphological Transformations (MT) and other methods, which can effectively enhance large-scale spectra and reduce the influence of noise around the spectra, but will also suppress small-scale spectra with the same noise intensity, that is, it is difficult to distinguish the spectra of trace elements. Commonly used physical auxiliary enhancements, such as filter-absorb and surface-enhanced methods, can achieve feature enhancement of the spectra of the elements to be measured by enriching the elements to be measured and adding spatial constraints, but these methods have additional requirements for the samples to be measured and experimental conditions.
[0051] In summary, the traditional LIBS spectral feature enhancement method is difficult to solve the problem of effectively enhancing the spectral line characteristics of trace elements when LIBS technology is used to analyze trace elements in substances or materials.
[0052] The working principle of the present invention is as follows: when laser interacts with matter, the generation and expansion process of plasma will be affected by various non-target elements; these influences will make it difficult to distinguish the intensity of the spectral line signal of the target trace element from the background noise signal, however, the distribution law of these noises in the LIBS spectrum (with random characteristics) is different from the distribution law of the characteristic spectral line of the target element (with deterministic characteristics); based on this, by distinguishing signals with different distribution laws in the spectrum, reducing the background and noise while keeping the spectral feature intensity unchanged, calculating the characteristic coefficients through multiple original spectra, and reconstructing the reconstructed spectrum through the characteristic coefficients, the trace element spectral line characteristics can be effectively enhanced, and finally the problem of the difficulty in distinguishing the characteristic spectrum when the LIBS technology is used to analyze trace elements in substances or materials can be solved.
[0053] Combine the following Figure 1-Figure 8 The technical solution of the embodiment of the present invention is described in detail with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0054] Figure 1 : is a schematic diagram of a method for determining trace element concentration based on LIBS provided by the present invention, such as Figure 1 As shown, the method includes the following steps 101, 102 and 103.
[0055] Step 101: According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested.
[0056] Specifically, the preset values of the working parameters of the LIBS device are obtained. Optionally, the working parameters include at least one of the following: laser wavelength, laser pulse width, laser pulse energy, laser repetition frequency, delay of spectrometer acquisition, time window of spectrometer acquisition, and distance from the focal plane to the sample.
[0057] For example, the preset value is the value of the working parameter of the LIBS device when the signal-to-noise ratio of the characteristic spectrum of the sample to be tested is better.
[0058] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested to obtain a plurality of original spectra, for example, different positions of the sample to be tested are irradiated to obtain a plurality of original spectra.
[0059] Step 102: determine characteristic coefficients corresponding to the sample to be tested according to a plurality of original spectra of the sample to be tested, and reconstruct a reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested.
[0060] Specifically, the method of the embodiment of the present invention achieves the enhancement of the weak LIBS spectral characteristics corresponding to the target trace element by calculating the characteristic coefficient and reconstructing the reconstructed spectrum, that is, the characteristic coefficient corresponding to the sample to be tested is determined according to multiple original spectra of the sample to be tested. Since the characteristic coefficient is determined based on multiple original spectra, the reconstructed spectrum reconstructed according to the characteristic coefficient can be enhanced.
[0061] Step 103: determine the concentration of the target trace element in the sample to be tested according to the characteristic spectrum intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentrations and characteristic spectrum intensity of each of the multiple target samples; and dope the multiple target samples with different concentrations of the target trace element.
[0062] Specifically, the relationship between the concentration corresponding to each of the multiple target samples and the characteristic spectral intensity of the reconstructed spectrum can be obtained in advance. The target samples are doped with target trace elements of different concentrations. That is, according to the relationship between the concentration corresponding to each of the multiple target samples and the characteristic spectral intensity, the concentration of the target trace elements in the sample to be tested is determined by using the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested. Specifically, the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested can be compared with the relationship between the concentration corresponding to each of the multiple target samples and the characteristic spectral intensity of the reconstructed spectrum to determine the concentration of the target trace elements in the sample to be tested.
[0063] The method of this embodiment, according to the preset values of the working parameters of the LIBS device, uses the LIBS device to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested; determines the characteristic coefficient corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstructs the reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested; further, determines the concentration of the target trace element in the sample to be tested according to the characteristic spectrum intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration and the characteristic spectrum intensity corresponding to each of the multiple target samples; the multiple target samples are doped with the target trace element at different concentrations. In the above scheme, the characteristic coefficient is calculated through multiple original spectra and the characteristic spectrum is reconstructed based on the characteristic coefficient, which can effectively enhance the characteristic spectrum of the trace element, make the spectrum easier to distinguish, and reduce the difficulty of detecting the trace element in the spectrum.
[0064] Optionally, the relationship between the concentration and characteristic spectrum intensity corresponding to each of the multiple target samples is obtained through the following steps.
[0065] For any of the target samples, the LIBS device is used to irradiate the target sample according to preset values of the working parameters of the LIBS device to obtain a plurality of original spectra of the target sample.
[0066] According to the multiple original spectra of the target sample, the characteristic coefficient corresponding to the target sample is determined, and the reconstructed spectrum of the target sample is reconstructed according to the characteristic coefficient corresponding to the target sample.
[0067] According to the reconstructed spectrum of the target sample, a relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample is determined.
[0068] Specifically, n target samples doped with a series of target trace elements with concentration gradients (trace to minute) are prepared and labeled as , , … ,As a set of standard samples, the matrix of the standard samples should be kept consistent as much as possible to reduce the influence of non-target elements.
[0069] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate multiple target samples to obtain multiple original spectra of each target sample, for example, different positions of the target sample are irradiated to obtain multiple original spectra.
[0070] The characteristic coefficient corresponding to the target sample is determined according to the multiple original spectra of the target sample. Since the characteristic coefficient is determined based on the multiple original spectra, the reconstructed spectrum reconstructed according to the characteristic coefficient can be enhanced.
[0071] According to the reconstructed spectra of each target sample, the relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample is determined, for example, by Figure 5 The curve shown represents.
[0072] In the above implementation, the characteristic coefficient corresponding to the target sample is determined through multiple original spectra of the target sample, and the reconstructed spectrum reconstructed according to the characteristic coefficient can be enhanced, making the spectrum easier to distinguish and reducing the difficulty of detecting trace elements in the spectrum.
[0073] Optionally, according to preset values of working parameters of the LIBS device, irradiating the target sample with the LIBS device to obtain a plurality of original spectra of the target sample comprises the following steps.
[0074] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the target sample to obtain the target sample. m The original spectrum; m is the number of different positions and is greater than 1.
[0075] Optionally, determining the characteristic coefficient corresponding to the target sample according to a plurality of original spectra of the target sample, and reconstructing the reconstructed spectrum of the target sample according to the characteristic coefficient corresponding to the target sample, comprises the following steps.
[0076] For different target wavelengths, according to the target sample m An original spectrum is obtained, a characteristic coefficient corresponding to the target sample is determined, and a reconstructed spectrum of the target sample is reconstructed according to the characteristic coefficient corresponding to the target sample.
[0077] Specifically, the LIBS spectrum data (i.e., the original spectrum) of the sample to be tested is obtained under the preset values of the working parameters of the selected LIBS device. After each acquisition, the laser radiation position is changed so that it does not overlap with the previous position. This process is repeated for each sample to be tested. m times, and obtain the target sample m The original spectrum.
[0078] Enhance the spectral intensity of the acquired original spectrum, and for any target sample, select the acquired m Original spectra, for each target wavelength, the characteristic coefficient of the target sample corresponding to the target wavelength is obtained according to m original spectra. ( is the target wavelength), using Reconstruct the corresponding target sample m A reconstructed spectrum is obtained to obtain an enhanced spectrum, and the above process is repeated once for each target sample. Optionally, the enhanced reconstructed spectrum is normalized.
[0079] Further, m The reconstructed spectra are analyzed to construct the relationship between the doping concentration corresponding to each target sample and the characteristic spectrum intensity in the reconstructed spectrum. Optionally, the relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample can be represented by a calibration curve.
[0080] Optionally, step 101 may be implemented through the following steps.
[0081] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the sample to be tested to obtain the m The original spectrum; m is the number of different positions and is greater than 1.
[0082] Specifically, the LIBS spectrum data (i.e., the original spectrum) of the sample to be tested is obtained under the preset values of the working parameters of the selected LIBS device. After each acquisition, the laser radiation position is changed so that it does not overlap with the previous position. This process is repeated for each sample to be tested. m times, get m The original spectrum.
[0083] Optionally, step 102 may be implemented through the following steps.
[0084] For different target wavelengths, according to the sample to be tested m An original spectrum is obtained, a characteristic coefficient corresponding to the sample to be tested is determined, and a reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficient corresponding to the sample to be tested.
[0085] Specifically, the spectral intensity of the acquired original spectrum is enhanced, and for the sample to be tested, the acquired spectrum of the sample to be tested is selected. m Original spectra, for each target wavelength, the characteristic coefficient of the sample to be tested corresponding to the target wavelength is obtained according to m original spectra ( is the target wavelength), using Reconstruct the corresponding sample to be tested m A reconstructed spectrum is obtained to obtain an enhanced spectrum. Optionally, the enhanced reconstructed spectrum is normalized.
[0086] Optionally, for any of the target wavelengths, the reconstructed spectrum of the sample to be tested is reconstructed using the following formula (1);
[0087] (1);
[0088] ;
[0089] ;
[0090] in, is the characteristic coefficient , H(x) is the unit step function, The wavelength is The spectral intensity at The wavelength is The spectral intensity of the original spectrum at time The wavelength is The spectral intensity of the reconstructed spectrum is is the target wavelength, is the wavelength before the target wavelength, is the wavelength after the target wavelength, i The value range is from 1 to m.
[0091] For example, Figure 2 , Figure 3 The results for different wavelengths are shown in A specific example of calculation is Figure 2 and Figure 3 The horizontal axis is the wavelength, the vertical axis is the spectral intensity, and the dotted line position is the calculated The target wavelength, Figure 2 middle . Figure 3 middle .
[0092] In the above implementation, the characteristic coefficient is calculated by formula (1), which can distinguish signals with different distribution patterns in the spectrum, reduce the background and noise while keeping the spectral characteristic intensity unchanged, making the spectrum easier to distinguish and reducing the difficulty of detecting trace elements in the spectrum.
[0093] Optionally, the concentration of the target trace element doped in the sample to be tested can be obtained by comparing the characteristic spectrum of the enhanced reconstructed spectrum corresponding to the sample to be tested with the relationship curve between the concentration and the characteristic spectrum intensity corresponding to the aforementioned target sample.
[0094] In the above implementation, characteristic coefficients corresponding to the sample to be tested are determined through multiple original spectra of the sample to be tested, and the reconstructed spectrum reconstructed according to the characteristic coefficients can be enhanced, making the spectrum easier to distinguish and reducing the difficulty of detecting trace elements in the spectrum.
[0095] Optionally, the method further includes the following steps.
[0096] The value of the working parameter of the LIBS device when the signal-to-noise ratio of the characteristic spectrum is greater than or equal to a preset threshold is obtained, and the value is used as the preset value of the working parameter.
[0097] Specifically, the working parameters of the LIBS device are optimized, such as the value of at least one of the following: laser wavelength, laser pulse width, laser pulse energy, laser repetition frequency, delay of spectrometer acquisition, time window of spectrometer acquisition, and distance from the focal plane to the sample. A set of working parameter values corresponding to the signal-to-noise ratio greater than or equal to a preset threshold value is selected from the values corresponding to the multiple LIBS spectral data. The preset threshold value can be set based on an empirical value.
[0098] In summary, the present invention provides a method for determining the concentration of trace elements based on LIBS spectral feature enhancement for trace element analysis. The method is to perform spectral feature analysis on samples doped with trace elements under repeatable experimental conditions. The method can solve the problem of difficulty in detecting trace elements in the spectrum in traditional methods, and has a simple principle and convenient operation.
[0099] For example, brine doped with a series of cesium concentration gradients is used as the target sample, and the method for determining the concentration of trace elements based on LIBS spectral feature enhancement in the present invention is used to quantitatively analyze the target sample. The specific content of cesium used in this example is Figure 4-Figure 5 The following will refer to the attached Figure 4-6 The exemplary embodiment of the method provided by the present invention is described in detail, which specifically includes the following steps:
[0100] 1) Prepare 6 groups of brine samples doped with different concentrations of cesium, pour the brine samples with selected doping concentrations into 6 sample containers respectively, and set the filling height to be equal, so as to obtain 6 groups of brine samples with certain differences only in cesium content, which are recorded as S n (n=1-6).
[0101] 2) Place the six samples on the sample stage of the LIBS device in turn, and use the following device operating parameters to obtain LIBS spectral data from the original spectrum of each sample: laser wavelength of 1064nm, laser pulse width of 7ns, laser pulse energy of 50mJ, laser repetition rate of 1Hz, focal plane fixed on the liquid surface, spectrum acquisition delay of 10ns, spectrum acquisition time window of 20µs, LIBS spectrum of each group of samples is collected for no less than 500 single pulse events, and the interval between each acquisition is no less than 1 second.
[0102] 3) Analyze the LIBS spectrum data of the original spectrum obtained in step 2), perform normalization and other preprocessing, and then extract the characteristic spectrum intensity of the cesium atomic line (Cs I: 852.0nm) in the original spectrum corresponding to the six samples, which is recorded as (n=1, 2…6).
[0103] 4) Set sample S n (n=1,2,3,4,6) are the 'known' target samples, and the characteristic coefficients of the corresponding samples are obtained by traversing the spectrum , and use it to reconstruct the enhanced reconstructed spectrum, and extract the characteristic spectral intensity of the cesium atomic line (Cs I: 852.0nm) in the enhanced reconstructed spectrum corresponding to the six samples, recorded as (n=1, 2…6). Then, the concentrations is the horizontal axis, the original spectral intensity (i.e., the spectral intensity of the original spectrum) as the ordinate to establish a calibration curve between the original spectral intensity and the doping concentration (the fitted curve, such as Figure 6 Curve 1), and the concentration is the horizontal axis, enhanced spectral intensity (i.e., the spectral intensity of the reconstructed spectrum) as the ordinate to establish a calibration curve of enhanced spectral intensity and doping concentration (the fitted curve, such as Figure 6 Middle curve 2).
[0104] 5) Sample As an 'unknown' sample to be tested, record the characteristic spectrum intensity corresponding to the sample to be tested under the same equipment working parameters , then calculate the characteristic coefficient To construct an enhanced reconstructed spectrum, record the characteristic spectral intensity of the enhanced reconstructed spectrum ,like Figure 6 shown.
[0105] 6) , Substitute into the two calibration curves established in step 4) respectively, and you can calculate The results show that without feature enhancement, the original spectrum is subjected to univariate analysis, and the correlation coefficient R2=0.9635 can be obtained. After applying the method in this embodiment, the correlation coefficient R2=0.9858 can be obtained, that is, the method in this embodiment can improve the accuracy of univariate analysis, and Figure 4 and Figure 5 It can be seen that after using the method of this embodiment, the spectral lines that were originally difficult to distinguish become easier to distinguish.
[0106] In summary, based on LIBS technology, by constructing the dependence between trace element doping concentration and characteristic spectral intensity, it is possible to predict the selected element in the case of unknown concentration, and the method for determining trace element concentration based on LIBS spectral feature enhancement in the present invention can improve the prediction accuracy of the selected element concentration.
[0107] The device for determining the concentration of trace elements based on LIBS provided by the present invention is described below. The device for determining the concentration of trace elements based on LIBS described below and the method for determining the concentration of trace elements based on LIBS described above can be referred to each other.
[0108] Figure 7 Schematic diagram of the structure of the device for determining the concentration of trace elements based on LIBS provided by the present invention. Figure 7 As shown, the device for determining the concentration of trace elements based on LIBS provided in this embodiment includes the following modules.
[0109] The spectrum acquisition module 710 is used to irradiate the sample to be tested by using the LIBS device according to the preset values of the working parameters of the LIBS device to obtain multiple original spectra of the sample to be tested.
[0110] The spectrum reconstruction module 720 is used to determine the characteristic coefficients corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstruct the reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested.
[0111] Processing module 730 is used to determine the concentration of the target trace element in the sample to be tested based on the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration and characteristic spectral intensity of each of the multiple target samples; the target trace element is doped with different concentrations in the multiple target samples.
[0112] Optionally, the relationship between the concentration and the characteristic spectrum intensity corresponding to each of the plurality of target samples is obtained by the following steps:
[0113] For any of the target samples, according to the preset values of the working parameters of the LIBS device, the target sample is irradiated by the LIBS device to obtain a plurality of original spectra of the target sample;
[0114] Determining characteristic coefficients corresponding to the target sample according to a plurality of original spectra of the target sample, and reconstructing a reconstructed spectrum of the target sample according to the characteristic coefficients corresponding to the target sample;
[0115] According to the reconstructed spectrum of the target sample, a relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample is determined.
[0116] Optionally, the spectrum acquisition module 710 is specifically used for:
[0117] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the sample to be tested, and the m an original spectrum of the sample to be tested; m is the number of different positions and is greater than 1;
[0118] Optionally, the spectrum reconstruction module 720 is specifically used to:
[0119] For different target wavelengths, according to the sample to be tested m An original spectrum is obtained, a characteristic coefficient corresponding to the sample to be tested is determined, and a reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficient corresponding to the sample to be tested.
[0120] Optionally, the spectrum reconstruction module 720 is specifically used to:
[0121] For any of the target wavelengths, the reconstructed spectrum of the sample to be tested is reconstructed using the following formula (1);
[0122] (1);
[0123] ;
[0124] ;
[0125] in, is the characteristic coefficient, H(x) is the unit step function, The wavelength is The spectral intensity at The wavelength is The spectral intensity of the original spectrum at time The wavelength is The spectral intensity of the reconstructed spectrum is is the target wavelength, is the wavelength before the target wavelength, is the wavelength after the target wavelength, i The value range is from 1 to m .
[0126] Optionally, the spectrum acquisition module 710 is further used for:
[0127] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the target sample to obtain the target sample. m The original spectrum; m is the number of different positions and is greater than 1;
[0128] Optionally, the spectrum reconstruction module 720 is further used for:
[0129] For different target wavelengths, according to the target sample m An original spectrum is obtained, a characteristic coefficient corresponding to the target sample is determined, and a reconstructed spectrum of the target sample is reconstructed according to the characteristic coefficient corresponding to the target sample.
[0130] Optionally, the processing module 730 is further configured to:
[0131] The value of the working parameter of the LIBS device when the signal-to-noise ratio of the characteristic spectrum is greater than or equal to a preset threshold is obtained, and the value is used as the preset value of the working parameter.
[0132] Optionally, the operating parameters include at least one of the following: laser wavelength, laser pulse width, laser pulse energy, laser repetition frequency, delay of spectrometer acquisition, time window of spectrometer acquisition, and distance from the focal plane to the sample.
[0133] The device of the embodiment of the present invention is used to execute the method in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0134] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a method for determining the concentration of trace elements based on LIBS, the method comprising: according to the preset values of the working parameters of the LIBS device, using the LIBS device to irradiate the sample to be tested, and obtaining multiple original spectra of the sample to be tested.
[0135] The characteristic coefficients corresponding to the sample to be tested are determined according to the multiple original spectra of the sample to be tested, and the reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficients corresponding to the sample to be tested.
[0136] The concentration of the target trace element in the sample to be tested is determined according to the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentrations and the characteristic spectral intensity of each of the multiple target samples; and the multiple target samples are doped with the target trace element at different concentrations.
[0137] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0138] On the other hand, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can perform the method for determining the concentration of trace elements based on LIBS provided by the above methods, the method comprising:
[0139] According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested, so as to obtain a plurality of original spectra of the sample to be tested.
[0140] The characteristic coefficients corresponding to the sample to be tested are determined according to the multiple original spectra of the sample to be tested, and the reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficients corresponding to the sample to be tested.
[0141] The concentration of the target trace element in the sample to be tested is determined according to the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentrations and the characteristic spectral intensity of each of the multiple target samples; and the multiple target samples are doped with the target trace element at different concentrations.
[0142] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for determining the concentration of trace elements based on LIBS provided by the above methods is implemented. The method includes: according to preset values of working parameters of the LIBS device, using the LIBS device to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested.
[0143] The characteristic coefficients corresponding to the sample to be tested are determined according to the multiple original spectra of the sample to be tested, and the reconstructed spectrum of the sample to be tested is reconstructed according to the characteristic coefficients corresponding to the sample to be tested.
[0144] The concentration of the target trace element in the sample to be tested is determined according to the characteristic spectral intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentrations and the characteristic spectral intensity of each of the multiple target samples; and the multiple target samples are doped with the target trace element at different concentrations.
[0145] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining trace element concentration based on LIBS, characterized in that: include: According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested to obtain a plurality of original spectra of the sample to be tested; Determining characteristic coefficients corresponding to the sample to be tested according to a plurality of original spectra of the sample to be tested, and reconstructing a reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested; Determine the concentration of the target trace element in the sample to be tested according to the characteristic spectrum intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration and the characteristic spectrum intensity of each of the multiple target samples; and dope the multiple target samples with different concentrations of the target trace element; According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate the sample to be tested to obtain multiple original spectra of the sample to be tested, including: According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the sample to be tested, and the m An original spectrum of the sample to be tested; m is the number of different positions and is greater than 1; The determining of characteristic coefficients corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstructing the reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested, comprises: For different target wavelengths, according to the sample to be tested m an original spectrum, determining a characteristic coefficient corresponding to the sample to be tested, and reconstructing a reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested; For different target wavelengths, according to the sample to be tested m an original spectrum, determining a characteristic coefficient corresponding to the sample to be tested, and reconstructing a reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested, including: For any of the target wavelengths, the reconstructed spectrum of the sample to be tested is reconstructed using the following formula (1); (1) ; ; in, is the characteristic coefficient, H(x) is the unit step function, The wavelength is The spectral intensity at The wavelength is The spectral intensity of the original spectrum at time The wavelength is The spectral intensity of the reconstructed spectrum is is the target wavelength, is the wavelength before the target wavelength, is the wavelength after the target wavelength, i The value range is from 1 to m .
2. The method according to claim 1, characterized in that: The relationship between the concentration and the characteristic spectrum intensity corresponding to each of the plurality of target samples is obtained by the following steps: For any of the target samples, according to the preset values of the working parameters of the LIBS device, the target sample is irradiated by the LIBS device to obtain a plurality of original spectra of the target sample; Determining characteristic coefficients corresponding to the target sample according to a plurality of original spectra of the target sample, and reconstructing a reconstructed spectrum of the target sample according to the characteristic coefficients corresponding to the target sample; According to the reconstructed spectrum of the target sample, a relationship between the concentration corresponding to the target sample and the characteristic spectrum intensity of the reconstructed spectrum of the target sample is determined.
3. The method according to claim 2, characterized in that The method of irradiating the target sample with the LIBS device according to the preset values of the working parameters of the LIBS device to obtain a plurality of original spectra of the target sample includes: According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the target sample to obtain the target sample. m The original spectrum; m is the number of different positions and is greater than 1; The step of determining the characteristic coefficient corresponding to the target sample according to the multiple original spectra of the target sample, and reconstructing the reconstructed spectrum of the target sample according to the characteristic coefficient corresponding to the target sample, comprises: For different target wavelengths, according to the target sample m An original spectrum is obtained, a characteristic coefficient corresponding to the target sample is determined, and a reconstructed spectrum of the target sample is reconstructed according to the characteristic coefficient corresponding to the target sample.
4. The method according to claim 1 or 2, characterized in that: The method further comprises: The value of the working parameter of the LIBS device when the signal-to-noise ratio of the characteristic spectrum is greater than or equal to a preset threshold is obtained, and the value is used as the preset value of the working parameter.
5. The method according to claim 1 or 2, characterized in that: The working parameters include at least one of the following: laser wavelength, laser pulse width, laser pulse energy, laser repetition frequency, delay of spectrometer acquisition, time window of spectrometer acquisition, and distance from focal plane to sample.
6. A device for determining the concentration of trace elements based on LIBS, characterized in that: include: A spectrum acquisition module, used to irradiate the sample to be tested using the LIBS device according to the preset values of the working parameters of the LIBS device, so as to obtain a plurality of original spectra of the sample to be tested; A spectrum reconstruction module, used to determine the characteristic coefficients corresponding to the sample to be tested according to the multiple original spectra of the sample to be tested, and reconstruct the reconstructed spectrum of the sample to be tested according to the characteristic coefficients corresponding to the sample to be tested; A processing module, for determining the concentration of a target trace element in the sample to be tested according to the characteristic spectrum intensity of the reconstructed spectrum of the sample to be tested and the relationship between the concentration and the characteristic spectrum intensity of each of the plurality of target samples; the plurality of target samples are doped with the target trace element at different concentrations; The spectrum acquisition module is specifically used for: According to the preset values of the working parameters of the LIBS device, the LIBS device is used to irradiate different positions of the sample to be tested, and the m An original spectrum of the sample to be tested; m is the number of different positions and is greater than 1; The spectrum reconstruction module is specifically used for: For different target wavelengths, according to the sample to be tested m an original spectrum, determining a characteristic coefficient corresponding to the sample to be tested, and reconstructing a reconstructed spectrum of the sample to be tested according to the characteristic coefficient corresponding to the sample to be tested; The spectrum reconstruction module is further used for: For any of the target wavelengths, the reconstructed spectrum of the sample to be tested is reconstructed using the following formula (1); (1) ; ; in, is the characteristic coefficient, H(x) is the unit step function, The wavelength is The spectral intensity at The wavelength is The spectral intensity of the original spectrum at time The wavelength is The spectral intensity of the reconstructed spectrum is is the target wavelength, is the wavelength before the target wavelength, is the wavelength after the target wavelength, i The value range is from 1 to m .
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for determining the concentration of trace elements based on LIBS as described in any one of claims 1 to 5 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for determining the concentration of trace elements based on LIBS as claimed in any one of claims 1 to 5 is implemented.
