An intelligent online optimized laser induced breakdown spectroscopy system
Through the intelligent online optimized laser-induced breakdown spectroscopy system, the genetic optimization algorithm and field programmable logic gate array hardware are used to adjust operating parameters in real time, solving the problems of shot noise interference and unstable detection repeatability, and achieving a high signal-to-noise ratio. , Highly stable laser-induced breakdown spectrum signal, suitable for different objects to be measured, and reduces costs.
Patent Information
- Application Number
- CN202211386881.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-11-07
AI Technical Summary
In existing laser-induced breakdown spectroscopy technology, shot noise interference leads to unstable detection repeatability, which cannot quickly adapt to different objects to be measured, and existing optimization methods are time-consuming and costly.
Design an intelligent online optimized laser-induced breakdown spectroscopy system, through the combination of operating parameter data unit, plasma signal excitation unit, spectral signal receiving unit, spectral signal quality evaluation unit and operating parameter adjustment unit, using genetic optimization algorithm and on-site The programmable logic gate array hardware adjusts the delay time, integration time and laser energy in real time to maximize the signal-to-noise ratio to obtain optimal operating parameters.
It achieves rapid adaptation to different objects to be measured, obtains laser-induced breakdown spectrum signals with high signal-to-noise ratio and high stability, reduces investment costs, and improves detection accuracy and efficiency.
Smart Images

Figure CN115684135B_ABST
Abstract
Description
Technical Field
[0001] The invention mainly relates to the technical field of laser induced breakdown spectroscopy, in particular to an intelligent online optimized laser induced breakdown spectroscopy system. Background Art
[0002] Laser induced breakdown spectroscopy (LIBS) technology uses pulsed laser to focus on the sample to be tested, and the surface of the sample to be tested is ablated to generate plasma. The plasma emits light in the process of expansion, evolution and disappearance. The spectrometer is used to collect and analyze the spectral signal of the plasma, so as to use the spectral signal characteristics to perform qualitative and quantitative analysis on the sample. LIBS technology has the advantages of not being limited by the state of the detection object and non-destructive and rapid detection, and has become a new method for online component detection in many fields. However, since the signal is easily affected by various aspects of noise during the detection process, such as source noise caused by different sample ablation rates during point-to-point detection, coupling between laser and plasma, and changes in the characteristics of the plasma evolution process; thermal drift noise caused by preheating of optical electronic components and gradual increase in laser energy; dark current and scattered light background noise generated during the operation of the detector; the number of particles carrying energy in the observation light path is small enough to cause observable statistical fluctuations in data reading, that is, shot noise. The first three types of noise have the same interference on all spectral lines, and can be eliminated to a certain extent through internal standard method, normalization and other processing. Stable LIBS spectral signals are the basis of high-precision detection, but shot noise causes different interferences to different characteristic spectral lines, which makes it impossible to guarantee the repeatability of detection, limiting the development of LIBS detection technology in various fields. Therefore, in order to overcome the bottleneck problem caused by shot noise on LIBS detection technology, it is urgent to optimize the laser-induced breakdown spectroscopy system.
[0003] At present, the impact of shot noise is weakened mainly by optimizing the delay time, integration time, laser energy and other system operating parameters to obtain better spectral signal-to-noise ratio and lower detection limit. However, the optimal operating parameters for different samples, different elements, and even different characteristic spectra of the same element are not necessarily the same. At present, the research progress of researchers on the optimization of LIBS system operating parameters is only in the offline test method, that is, the ablation experiment of a single operating parameter variable is used to obtain the corresponding signal ratio, and then the corresponding operating parameters are screened one by one. This type of method has the following disadvantages: (1) It is only effective for a single object or even a single characteristic spectrum line. Every time the object to be tested (different samples, different elements or different characteristic spectrum lines) is changed, the test needs to be repeated; (2) Each modeling requires a large amount of experimental data, which is time-consuming and labor-intensive; (3) The parameter change step size is not precise, and the optimal result cannot be truly found. The present invention mainly proposes a soft-hard laser-induced breakdown spectroscopy system to realize the online intelligent optimization of LIBS operating parameters, so as to obtain a laser-induced breakdown spectroscopy signal with high signal-to-noise ratio and strong stability.
[0004] Patent publication number CN209027999U discloses a laser induced breakdown spectroscopy analysis device, including a controller, and the controller is connected to a digital delayed pulse generator and a spectrometer, so as to achieve coaxiality of the excitation circuit and the signal optical path and improve the spectrum collection efficiency. The device mainly adds a controller at the hardware level to control the delay time of pulse generation and the delay time of the spectrometer to start collection, but the optimal delay time is always changing, so the device does not have the ability to self-update and cannot adapt to different objects to be tested.
[0005] The invention patent with the patent publication number CN114894776A discloses an orthogonal double-pulse laser induced breakdown spectroscopy system and a signal stability enhancement method, which improves the intensity and stability of the reheated plasma signal by optimizing the focusing angle and focal plane position of the second laser beam, thereby obtaining a LIBS signal with high signal-to-noise ratio and high stability. The method adds an extra set of pulses to achieve signal stability enhancement, and the cost increase is one of the disadvantages. The selection of the original LIBS system operating parameters has not been resolved, and some uncertain operating parameter designs have been added, which increases the complexity of the system. Summary of the invention
[0006] The intelligent online optimized laser induced breakdown spectroscopy system provided by the present invention solves the technical problem that the prior art cannot obtain a laser induced breakdown spectroscopy signal with a high signal-to-noise ratio and high stability.
[0007] In order to solve the above technical problems, the intelligent online optimized laser induced breakdown spectroscopy system proposed in the present invention comprises:
[0008] An operating parameter data unit, a plasma signal excitation unit, a spectrum signal receiving unit, a spectrum signal quality evaluation unit and an operating parameter adjustment unit are connected in sequence, wherein:
[0009] An operating parameter data unit, used to receive the operating parameter data output by the operating parameter adjustment unit, and send the operating parameter data to the plasma signal excitation unit and the spectrum signal receiving unit, wherein the operating parameters include delay time, integration time and laser energy;
[0010] A plasma signal excitation unit, used to emit laser light according to the operating parameter data and reach the surface of the sample to be tested through a focusing light path;
[0011] A spectral signal receiving unit, used for receiving a spectral signal generated by surface ionization of a sample to be tested according to the operating parameter data;
[0012] A spectral signal quality evaluation unit, used for calculating a signal-to-noise ratio according to the spectral signal;
[0013] The operating parameter adjustment unit is used to receive the signal-to-noise ratio, obtain the operating parameter corresponding to the maximum signal-to-noise ratio through an optimization algorithm, and send the operating parameter to the operating parameter data unit.
[0014] Further, the plasma signal excitation unit includes a laser emitter, a laser reflector and a first focusing lens, wherein:
[0015] A laser for emitting high-power pulsed laser light according to received operating parameters;
[0016] Laser reflector, used to reflect high-power pulse laser;
[0017] The focusing lens is used to vertically focus the reflected light reflected by the laser reflector onto the surface of the sample to be measured.
[0018] Further, the spectral signal receiving unit includes an optical signal detector, a spectrometer and a second focusing lens, wherein:
[0019] An optical signal detector is used to collect the spectral signal focused by the second focusing lens after the surface of the sample to be tested is ionized in a 45° direction;
[0020] The spectrometer is used to split the spectral signal and send the split spectral signal to the spectral signal quality evaluation unit.
[0021] Further, the spectral signal quality evaluation unit includes an ADC module and a signal-to-noise ratio calculation module, wherein:
[0022] ADC module, used for analog-to-digital conversion of spectral signals;
[0023] The signal-to-noise ratio calculation module includes a background noise signal acquisition module, a characteristic spectral line intensity calculation module, a characteristic spectral line width calculation module, a noise root mean square value calculation module and a signal-to-noise ratio calculation module which are connected in sequence, wherein:
[0024] A background noise signal acquisition module is used to collect background noise signals generated by dark current and scattered light before obtaining spectral signals;
[0025] The characteristic spectral line intensity calculation module is used to calculate the characteristic spectral line intensity according to the spectrum signal after analog-to-digital conversion, and the specific calculation formula is:
[0026]
[0027] Where I is the integrated intensity value of the characteristic spectrum of the element to be measured, a and b are the wavelength points of the two adjacent trough positions of the central wavelength of the characteristic spectrum, and Y′ j is the signal strength after removing the background noise, and Y′ j =Y j -ε, ε is the background noise signal, Yj is the spectral intensity value at wavelength j;
[0028] The characteristic spectral line width calculation module is used to calculate the characteristic spectral line width, and the specific calculation formula is:
[0029] w=λ N -λ1,
[0030] Among them, w is the characteristic line width of the element to be measured, that is, the wavelength range spanned by the characteristic line of the element to be measured from the first wavelength point to the Nth wavelength point, λ1 and λ N are the wavelength values of the 1st wavelength point and the Nth wavelength point of the characteristic spectrum line of the element to be measured respectively;
[0031] The noise root mean square value calculation module is used to calculate the noise root mean square value, and the specific calculation formula is:
[0032]
[0033] Where, σ is the total noise of the characteristic spectral line of the element to be measured, rms(σ) is the root mean square value of the noise of the characteristic spectral line of the element to be measured, and σ i is the signal strength at the i-th wavelength position, i∈[1,a]∪[b,N];
[0034] The signal-to-noise ratio calculation module is used to calculate the signal-to-noise ratio, and the specific calculation formula is:
[0035]
[0036] Further, the operating parameter adjustment unit includes a genetic optimization algorithm module, an FPGA trigger module and a DAC module connected in sequence, wherein:
[0037] A genetic optimization algorithm module, used for obtaining the operation parameters corresponding to the maximum signal-to-noise ratio through a genetic optimization algorithm;
[0038] The FPGA trigger module is used to load and run the genetic optimization algorithm according to the signal-to-noise ratio output by the spectral signal quality evaluation unit to obtain the operating parameters corresponding to the maximum signal-to-noise ratio, and trigger the operating parameter data unit to send the operating parameter data to the plasma signal excitation unit and the spectral signal receiving unit;
[0039] The DAC module is used to perform digital-to-analog conversion on the operating parameters and output the converted operating parameters to the operating parameter data unit.
[0040] Furthermore, the termination condition of the genetic optimization algorithm in the genetic optimization algorithm module is specifically:
[0041] In the preset termination generation, within the range of the operating parameter values, the maximum signal-to-noise ratio has a unique maximum value or when the maximum signal-to-noise ratio differences of the five consecutive generations of individuals are all less than the preset deviation threshold, the iteration is terminated. The calculation formula of the corresponding operating parameter when the maximum signal-to-noise ratio has a unique maximum value is:
[0042]
[0043] Among them, X k is the kth iteration individual, R SN (X k ) is the signal-to-noise ratio of the kth iteration individual, (x 1best ,x 2best ,x 3best ) is the optimal operating parameter, R SN (x 1best ,x 2best ,x 3best ) is the signal-to-noise ratio corresponding to the maximum operating parameter, G is the termination algebra preset value, and are the value range of delay time x1, and are the value ranges of the delay time x2, and They are the value ranges of delay time x3 respectively;
[0044] When the maximum signal-to-noise ratio differences of five consecutive generations of individuals are all less than the preset deviation threshold, the calculation formula for the corresponding operating parameters is:
[0045]
[0046] Among them, R SN (X i-1 ), R SN (X i-2 ), R SN (X i-3 ), R SN (X i-4 ) and R SN (X i-5 ) are the individuals X of the five consecutive generations. i-1 , X i-2 , X i-3 , X i-4 and X i-5 The signal-to-noise ratio, R SN (x 1best ,x 2best ,x 3best ) is the signal-to-noise ratio corresponding to the maximum operating parameter, and κ is the deviation threshold.
[0047] Compared with the prior art, the advantages of the present invention are:
[0048] The intelligent online optimized laser induced breakdown spectroscopy system provided by the present invention aims to maximize the signal-to-noise ratio of the spectral signal, and uses a genetic optimization algorithm and field programmable logic gate array hardware to achieve real-time online adjustment of operating parameters such as delay time, integration time, and laser energy in the LIBS excitation optical path system and the LIBS collection optical path system, directly performs signal-to-noise ratio quality evaluation and analysis on the signal obtained by changing the operating parameters, calculates the optimal operating parameters through the optimization algorithm, and feeds back to the hardware for adjustment. The method can be applied to different objects to be tested and quickly find the optimal operating parameters, and has the advantages of high accuracy, strong stability, and low investment cost.
[0049] Purpose of the present invention:
[0050] The present invention takes the delay time, integration time, laser energy and other operating parameters in the LIBS system as optimization objects, takes the obtained LIBS spectral signal signal-to-noise ratio as the optimization target, obtains the corresponding operating parameters by maximizing the signal-to-noise ratio, and focuses on the connectivity of the spectral signal acquisition, signal-to-noise ratio quality assessment and operating parameter adjustment module. A batch of operating parameters are initialized and transmitted to the plasma signal excitation unit and the spectral signal receiving unit through the trigger, and the spectrometer obtains the corresponding spectral signal. After conversion by the ADC module, the signal-to-noise ratio is calculated. Under the goal of maximizing the signal-to-noise ratio, the next set of parameter value ranges is obtained by the optimization algorithm, and after conversion by the DAC module, it is fed back to the hardware unit to obtain the next set of spectral signals, thereby searching for the operating parameters corresponding to the maximized signal-to-noise ratio, that is, the optimal operating parameters, so as to more accurately and quickly obtain a high signal-to-noise ratio and high stability laser induced breakdown spectral signal.
[0051] In view of the shortcomings in this field, the main purpose of the present invention is to design an intelligent online optimized laser induced breakdown spectroscopy system. With the goal of maximizing the signal-to-noise ratio of the spectral signal, the genetic optimization algorithm and the field programmable logic gate array hardware are used to realize the real-time online adjustment of the operating parameters such as the delay time, integration time, and laser energy in the LIBS excitation optical path system and the LIBS collection optical path system. The signal-to-noise ratio quality evaluation and analysis of the signal obtained by changing the operating parameters is directly performed, and the optimal operating parameters are calculated by the optimization algorithm, and fed back to the hardware for adjustment. This method can be applied to different objects to be tested and quickly find the optimal operating parameters, and has the advantages of high accuracy, strong stability, and low investment cost. It can be used as a system calibration work before LIBS quantitative detection.
[0052] The purpose of the present invention is to realize online intelligent optimization of experimental operation parameters in laser induced breakdown spectroscopy detection technology to obtain more stable and reliable LIBS spectral signals, thereby realizing high-precision LIBS detection.
[0053] The purpose of the present invention is to provide a method and system for online intelligent optimization of LIBS operating parameters combining software and hardware, which acquires spectral signals under different operating parameters in real time through the hardware system and searches for optimal parameters through a genetic optimization algorithm.
[0054] The purpose of the present invention is to be able to make online adjustments according to the characteristics of the current detection object, and to perform optimal adaptation of operating parameters before each change of the detection object, so as to be able to adapt to different detection objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 This is a module diagram of a laser induced breakdown spectroscopy system based on intelligent online optimization according to the second embodiment of the present invention;
[0056] Figure 2 A schematic diagram of a laser induced breakdown spectroscopy system for intelligent online optimization of operating parameters according to a second embodiment of the present invention;
[0057] Figure 3 This is a flow chart of adaptive optimization of operating parameters based on genetic algorithm according to the second embodiment of the present invention;
[0058] Figure 4 This is a flowchart of intelligent online optimization of operating parameters according to Embodiment 3 of the present invention.
[0059] Reference numerals:
[0060] U0, operation parameter data unit; U1, plasma signal excitation unit; U2, spectrum signal receiving unit; U3, spectrum signal quality evaluation unit; U4, operation parameter adjustment unit; U11, laser transmitter; U12, laser reflector; U13, focusing lens; U21, light signal detector; U22, spectrometer; U31, background noise signal acquisition module; U32, characteristic spectrum line intensity calculation module; U33, characteristic spectrum line width calculation module; U34, noise root mean square value calculation module; U35, signal-to-noise ratio calculation module; U41, genetic optimization algorithm module; U42, FPGA trigger module; U43, DAC module. DETAILED DESCRIPTION
[0061] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively and meticulously below in conjunction with the accompanying drawings and preferred embodiments of the present invention, but the protection scope of the present invention is not limited to the following specific embodiments.
[0062] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0063] Embodiment 1
[0064] The intelligent online optimized laser induced breakdown spectroscopy system provided in the first embodiment of the present invention comprises an operating parameter data unit, a plasma signal excitation unit, a spectral signal receiving unit, a spectral signal quality evaluation unit and an operating parameter adjustment unit connected in sequence, wherein:
[0065] An operating parameter data unit, used to receive the operating parameter data output by the operating parameter adjustment unit, and send the operating parameter data to the plasma signal excitation unit and the spectrum signal receiving unit, wherein the operating parameters include delay time, integration time and laser energy;
[0066] A plasma signal excitation unit, used to emit laser light according to the operating parameter data and reach the surface of the sample to be tested through a focusing light path;
[0067] A spectral signal receiving unit, used for receiving a spectral signal generated by surface ionization of a sample to be tested according to the operating parameter data;
[0068] A spectral signal quality evaluation unit, used for calculating a signal-to-noise ratio according to the spectral signal;
[0069] The operating parameter adjustment unit is used to receive the signal-to-noise ratio, obtain the operating parameter corresponding to the maximum signal-to-noise ratio through an optimization algorithm, and send the operating parameter to the operating parameter data unit.
[0070] The intelligent online optimized laser induced breakdown spectroscopy system provided by the embodiment of the present invention aims to maximize the signal-to-noise ratio of the spectral signal, and uses a genetic optimization algorithm and field programmable logic gate array hardware to achieve real-time online adjustment of operating parameters such as delay time, integration time, and laser energy in the LIBS excitation optical path system and the LIBS collection optical path system, directly performs signal-to-noise ratio quality evaluation and analysis on the signal obtained by changing the operating parameters, calculates the optimal operating parameters through the optimization algorithm, and feeds back to the hardware for adjustment. The method can be applied to different objects to be tested and quickly find the optimal operating parameters, and has the advantages of high accuracy, strong stability, and low investment cost.
[0071] Embodiment 2
[0072] The present invention takes the operating parameters such as delay time, integration time, laser energy in the LIBS system as optimization objects, and takes the acquired LIBS spectral signal signal-to-noise ratio as the optimization goal. By maximizing the signal-to-noise ratio, the corresponding operating parameters are obtained, and a LIBS spectral signal with high signal-to-noise ratio and high stability is obtained, thereby realizing high-precision LIBS detection.
[0073] In a specific embodiment of the present invention, an intelligent online optimized laser induced breakdown spectroscopy system is composed of an operating parameter data unit U0, a plasma signal excitation unit U1, a spectrum signal receiving unit U2, a spectrum signal quality evaluation unit U3 and an operating parameter adjustment unit U4. Figure 1 As shown, the specific working process is as follows: first, multiple groups of operating parameter data are initialized through the operating parameter adjustment unit U4, specifically the delay time, integration time and laser energy, and then the plasma signal excitation unit U1 emits a laser at the corresponding laser energy value and reaches the surface of the sample to be tested through the focusing optical path. After the surface of the sample to be tested is ionized to generate plasma, it is received by the detector in the spectral signal receiving unit U2 and reaches the spectrometer through the collecting optical path for spectral separation; then the acquired optical signal is converted into digital form by the ADC module in the spectral signal quality evaluation unit U3, and the signal-to-noise ratio is calculated to evaluate the spectral signal quality. Then, in the operating parameter adjustment unit U4, the value range of the next group of parameters is obtained under the goal of maximizing the signal-to-noise ratio through the optimization algorithm, and after conversion by the DAC module, it is fed back to the hardware unit to obtain the next group of spectral signals, so as to search for the operating parameters corresponding to the maximized signal-to-noise ratio, that is, the optimal operating parameters.
[0074] The following is a detailed description of its main components one by one:
[0075] Operation parameter data unit U0
[0076] The operating parameter data unit of this embodiment includes the operating parameter data of delay time x1, integration time x2 and laser energy x3, which are recorded as the optimized input variable X=(x1, x2, x3), which is also the optimization target of the embodiment of the present invention. The value range of the three operating parameters depends on the performance of the laser and spectrometer used. The initialization and iterative search of the operating parameters are triggered by the FPGA (Field-Programmable Gate Array) programmable hardware platform, which will act on the subsequent plasma signal excitation unit and the spectrum signal receiving unit.
[0077] Plasma signal excitation unit U1
[0078] This unit mainly consists of a laser transmitter U11, a laser reflector U12 and a focusing lens U13. Figure 2 As shown, the high-power (the power is affected by the operating parameter laser energy) pulsed laser emitted by the laser passes horizontally through a 45° reflector and then vertically through a 50mm focusing lens to the surface of the sample to be tested. The surface of the sample to be tested that is penetrated by the laser undergoes a series of reactions such as ionization to produce plasma. The plasma evolves and disappears, generating radiation and emitting a light signal that will be acquired by the spectral signal receiving unit.
[0079] Spectrum signal receiving unit U2
[0080] This unit includes a light signal detector U21 and a spectrometer U22, such as Figure 2As shown in the figure, the plasma light signal is collected in a sideways direction of about 45°, and the radiation signal is collected by the detector. The delay time is the time from the start of plasma luminescence to the start of detection by the detector. The appropriate delay time reduces the continuous spectrum interference generated by continuous radiation to a certain extent, and obtains a stronger characteristic spectrum signal of the excitation radiation. The integration time is the window time for the detector to record the LIBS signal within a working cycle, which also enhances the characteristic spectrum signal intensity to a certain extent. The radiation light is transmitted to the spectrometer through the optical fiber for spectral separation, and is transmitted to the spectral signal quality evaluation unit.
[0081] Spectral signal quality evaluation unit U3
[0082] The spectral signal quality evaluation unit is one of the key units of the embodiment of the present invention, including a background noise signal acquisition module U31, a characteristic spectral line intensity calculation module U32, a characteristic spectral line width calculation module U33, a noise root mean square value calculation module U34 and a signal-to-noise ratio calculation module U35. It uses the ADC module to convert the electrical signal finally obtained by the spectrometer into a digital signal, and then calculates the signal-to-noise ratio SNR through the definition of the signal-to-noise ratio. The detected spectral signal Y=S+B+ε, in addition to the characteristic spectrum S, also includes a continuous background signal B and a background noise signal ε. The continuous background noise B in the spectral signal is mainly measured by the signal relative standard deviation RSD:
[0083]
[0084] Among them, the source noise α and thermal drift noise δ have the same impact on all spectral lines, which can be eliminated by internal standard method or normalization method. However, the number of particles carrying energy in the observation is small enough to cause observable statistical fluctuations in the data reading, that is, shot noise β, which has different effects on different characteristic spectral lines and cannot be directly eliminated. The impact of shot noise can be weakened to a certain extent by enhancing the effective signal of the characteristic spectral line, that is, by optimizing the operating parameters to maximize the effective signal. The signal-to-noise ratio R SN The calculation method of is as follows:
[0085]
[0086] Among them, I is the characteristic spectral line intensity, w is the characteristic spectral band width, and rms(σ) is the root mean square value of noise. The specific steps for calculating the signal-to-noise ratio are:
[0087] Step 1: Before obtaining the plasma spectrum signal of the sample to be tested, first obtain the background noise signal generated by the dark current and scattered light generated by the detector working process, and record it as ε∈R N , N is the number of wavelengths of the characteristic spectrum;
[0088] Step 2: The detected plasma spectrum signal of the sample to be tested is recorded as Y∈R N , calculate R SN When the denoised signal Y′=Y-ε, Y′∈R N , let the two adjacent trough positions of the central wavelength of the characteristic spectrum line be wavelength point a and wavelength point b, and the characteristic spectrum line intensity I is the integrated intensity of the characteristic spectrum line broadening line shape of the element to be measured, that is, the sum of the intensities between wavelength point a and wavelength point b:
[0089]
[0090] Step 3: Calculate the characteristic spectral line width, that is, the wavelength value λ1 of the first wavelength point and the wavelength value λ N The distance between them, the first wavelength point corresponds to the trough point on the right side of the characteristic spectrum line adjacent to the left side of the current characteristic spectrum line, and the Nth wavelength point refers to the trough point on the left side of the characteristic spectrum line adjacent to the right side of the current characteristic spectrum line:
[0091] w=λ N -λ1 (4)
[0092] Step 4: Calculate the RMS value of the noise, that is, calculate the RMS value of the noise signal excluding the broadening line range of the characteristic spectral line of the element to be measured:
[0093]
[0094] Among them, σ i is the noise signal size at the i-th wavelength position;
[0095] Step 5: Calculate the signal-to-noise ratio R by formula SN .
[0096] The final signal-to-noise ratio is input into the operation parameter adjustment unit as a LIBS signal quality evaluation quantity.
[0097] Operation parameter adjustment unit U4
[0098] The operating parameter adjustment unit is a key unit of the embodiment of the present invention, and includes a genetic optimization algorithm module U41, an FPGA trigger module U42 and a DAC module U43.
[0099] 1. Genetic optimization algorithm module U41
[0100] First, it is necessary to determine the parameters and optimization goals of the genetic optimization algorithm. In the embodiment of the present invention, the operating parameters delay time (D0.1), integration time (D0.2) and laser energy (D0.3) are recorded as the three genes of the individual, and the individual fitness function is the signal-to-noise ratio calculation function in the spectral signal quality evaluation unit U3. The ultimate goal of the optimization is to obtain the maximum signal-to-noise ratio max (R SNThe three genes corresponding to ) are the three optimal operating parameters X best =(x 1best ,x 2best ,x 3best ). Set the parameters in the genetic optimization algorithm: number of individuals U = 10, termination generation G = 100, crossover probability Pc = 0.9, mutation probability Pm = 0.05. Since the optimization problem contains three parameter variables, each variable has its corresponding upper and lower limits According to the controllable accuracy of each parameter, taking into account the convenience and speed of subsequent FPGA triggering and DAC modules, binary encoding is adopted, and the encoding accuracy ζ of the i-th variable is calculated as follows:
[0101]
[0102] Where l is the length of the binary coded symbol string. The basis for updating the parameter individuals in the algorithm is to select individuals with large fitness through roulette, and then obtain the next generation of individuals through single-point crossover, uniform mutation, etc. The updated parameter combination obtained in each round of iteration is converted from digital signal to analog signal through the DAC module and transmitted to the LIBS basic operation system for a new round of signal-to-noise ratio calculation, as shown in the following figure. Figure 3 shown.
[0103] In the intelligent online optimization method of the embodiment of the present invention, the dynamic update of the signal-to-noise ratio and the operating parameters is the key core point. During the optimization process, a storage space is established to cyclically record the maximum signal-to-noise ratio and the corresponding operating parameters obtained historically. According to the characteristics of the system signal, two termination conditions of the optimization algorithm are set: First, in general, in the number of iterations of the initial limited termination algebra, within the range of the operating parameter values, the optimal signal-to-noise ratio has a unique maximum value, that is, a global convergence state can be achieved:
[0104]
[0105] In the range of delay time x1 The value range of integration time x2 and the range of laser energy x3 There exists a set of parameter combinations X best =(x 1best ,x 2best ,x 3best ), from the k=1 generation to the termination generation k=G generation, the signal-to-noise ratio is k The maximum value finally converges to R SN (x 1best ,x 2best ,x 3best ), then the maximum signal-to-noise ratio max(R SN(X k )) The corresponding parameter combination (x 1best ,x 2best ,x 3best ) is the optimal operating parameter, and the iteration is terminated;
[0106] Secondly, if the signal-to-noise ratio is stable in a threshold range under different parameter conditions, it can be considered that the current characteristic spectrum is not greatly affected by these three operating parameters. In order to achieve rapid optimization and reduce the number of iterations and hardware operation time, consider using local convergence judgment conditions. When the optimal signal-to-noise ratio difference obtained by five adjacent generations of individuals is less than the acceptable deviation threshold, the following conditions are met at the same time:
[0107]
[0108] Including two adjacent iterations of individuals X i-1 , X i-2 The maximum signal-to-noise ratio difference △R SN1 Less than the deviation threshold κ, the two groups of individuals X in the next adjacent iteration i-1 , X i-3 The difference between the calculated maximum signal-to-noise ratios △R SN2 is also less than the deviation threshold κ, and the two groups of individuals X separated by two iterations i-1 , X i-4 The maximum signal-to-noise ratio difference △R SN3 The same requirement is that the deviation threshold κ is less than the two groups of individuals X separated by three generations. i-1 , X i-5 Its maximum signal-to-noise ratio difference △R SN4 is still less than the difference threshold κ, where i represents the iteration number, κ is set to 5% of the current analysis line signal intensity value, and the iteration is terminated immediately when the condition is met, and the last measured maximum signal-to-noise ratio max (R SN (X i-1 )) is taken as the optimal signal-to-noise ratio, and its corresponding operating parameters are taken as input parameters.
[0109] After obtaining the optimal operating parameter values through the above two convergence criteria, the current optimization work is stopped, and the LIBS detection system is operated with the current optimal operating parameters to obtain a stable LIBS spectral signal.
[0110] 2.FPGA trigger module U42
[0111] The FPGA programmable hardware platform is loaded with the above genetic optimization algorithm module, and the ADC module in the spectral signal quality evaluation unit is connected to the DAC module in this unit. The signal-to-noise ratio data transmitted by the spectral signal quality evaluation unit is applied to the genetic optimization algorithm, and the optimization algorithm is run at high speed to obtain the next set of operating parameter input values. After digital-to-analog conversion, it is transmitted to the LIBS system to trigger the laser and spectrometer to perform a new round of signal-to-noise ratio signal acquisition. The FPGA programmable hardware platform is used to realize the optimization of operating parameters by combining software and hardware. The high-speed operation speed saves the time of preparing a large amount of data and modeling in advance, and realizes real-time online optimization.
[0112] The present invention takes the delay time, integration time, laser energy and other operating parameters in the LIBS system as optimization objects, takes the obtained LIBS spectral signal signal-to-noise ratio as the optimization target, obtains the corresponding operating parameters by maximizing the signal-to-noise ratio, and focuses on the connectivity of the spectral signal acquisition, signal-to-noise ratio quality assessment and operating parameter adjustment module. A batch of operating parameters are initialized and transmitted to the plasma signal excitation unit and the spectral signal receiving unit through the trigger, and the spectrometer obtains the corresponding spectral signal. After conversion by the ADC module, the signal-to-noise ratio is calculated. Under the goal of maximizing the signal-to-noise ratio, the next set of parameter value ranges is obtained by the optimization algorithm, and after conversion by the DAC module, it is fed back to the hardware unit to obtain the next set of spectral signals, thereby searching for the operating parameters corresponding to the maximized signal-to-noise ratio, that is, the optimal operating parameters, so as to more accurately and quickly obtain a high signal-to-noise ratio and high stability laser induced breakdown spectral signal.
[0113] The embodiment of the present invention takes maximizing the signal-to-noise ratio of the spectral signal as the goal, uses a genetic optimization algorithm and field programmable logic gate array hardware, realizes real-time online adjustment of operating parameters such as delay time, integration time, laser energy, etc. in the LIBS excitation optical path system and the LIBS collection optical path system, directly performs signal-to-noise ratio quality evaluation and analysis on the signal obtained by changing the operating parameters, calculates the optimal operating parameters through the optimization algorithm, and feeds back to the hardware for adjustment. This method can be applied to different objects to be tested and quickly find the optimal operating parameters, and has the advantages of high accuracy, strong stability, and low investment cost. It can be used as a system calibration work before LIBS quantitative detection.
[0114] Embodiment 3
[0115] In Example 3 of the present invention, a laser induced breakdown spectroscopy system with online intelligent optimization of operating parameters is built. Under the guarantee of basic LIBS detection equipment, a high-performance computer is equipped to ensure the stable operation and visual presentation of this method. The specific implementation steps for obtaining high-quality laser induced breakdown spectroscopy signals are as follows: Figure 4 As shown, specifically including:
[0116] (1) Based on Figure 2 , build a LIBS system connected to an FPGA programmable hardware platform and configure a high-performance computer;
[0117] (2) Determine the basic parameters and optimization process of the genetic optimization algorithm module U41 in the operating parameter adjustment unit U4, the number of individuals X (i.e., individuals with delay time (D0.1), integration time (D0.2), and laser energy (D0.3) in the operating parameter data unit U0 as genes), the termination number, and the maximum signal-to-noise ratio R SN The optimization goal, the termination iteration number, the number of parameter groups in each batch and other parameters in the genetic optimization algorithm are determined, and the algorithm is embedded into the FPGA programmable hardware platform U42;
[0118] (3) Start the optimization program. First, in the genetic optimization algorithm of the operating parameter adjustment unit U4, the operating parameter group is randomly initialized and transmitted to the laser U11 and spectrometer U22 in the LIBS system through the FPGA trigger module U42;
[0119] (4) running the LIBS system, that is, obtaining the LIBS signals corresponding to the group of individuals through the plasma signal excitation unit U1 and the plasma spectrum signal receiving unit U2. It should be noted that the LIBS system needs to be run once each time the operation parameters contained in an individual are executed;
[0120] (5) The LIBS obtained from the plasma spectrum signal receiving unit U2 is converted into a digital signal through the spectrum signal quality evaluation unit U3 and the ADC module, and then transmitted to the FPGA programmable hardware platform U42 for signal-to-noise ratio calculation. Each set of operating parameters and their corresponding maximum signal-to-noise ratio value are stored in the system and used in the genetic optimization algorithm to search for the next set of operating parameters. The next set of operating parameters is input into the DAC module U43 to realize the conversion of digital signals to analog signals, and then transmitted to the LIBS basic operation system for a new round of signal-to-noise ratio calculation;
[0121] (6) If the current maximum signal-to-noise ratio target value approaches the convergence state, the closer the operating variable is to the optimal value, when the signal-to-noise ratio calculation result converges and meets the termination condition 1 of the optimization algorithm, the iteration can be terminated. If the signal-to-noise ratio calculation result has a slight fluctuation after the number of iterations exceeds 5, but it is within the deviation threshold range, that is, it meets the optimization iteration termination condition 2, the iteration can be terminated directly, and the individual corresponding to the maximum value is the optimal operating parameter (D0.1, D0.2, D0.3). However, when the number of iterations has reached the termination number of iterations set at the beginning, if the maximum signal-to-noise ratio value does not converge and there is a fluctuation beyond the acceptable range under different parameter values, it will return to step 3 and perform a new round of parameter optimization;
[0122] (7) Finally, after obtaining the optimal operating parameters, the entire optimization process is stopped, and the FPGA trigger module U42 directly transmits the optimal operating parameter values (D0.1, D0.2, D0.3) to the laser and spectrometer, runs the LIBS system, and obtains a stable LIBS spectral signal.
[0123] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent online optimized laser induced breakdown spectroscopy system, It is characterized in that The intelligent online optimized laser induced breakdown spectroscopy system comprises an operation parameter data unit, a plasma signal excitation unit, a spectrum signal receiving unit, a spectrum signal quality evaluation unit and an operation parameter adjustment unit which are connected in sequence, wherein: The operating parameter data unit is used to receive the operating parameter data output by the operating parameter adjustment unit, and send the operating parameter data to the plasma signal excitation unit and the spectrum signal receiving unit, wherein the operating parameters include delay time, integration time and laser energy; The plasma signal excitation unit is used to emit laser light according to the operating parameter data, and the laser light reaches the surface of the sample to be tested through a focusing light path; The spectral signal receiving unit is used to receive the spectral signal generated by the surface ionization of the sample to be tested according to the operation parameter data; The spectral signal quality evaluation unit is used to calculate the signal-to-noise ratio according to the spectral signal, wherein the spectral signal quality evaluation unit includes an ADC module and a signal-to-noise ratio calculation module, wherein: The ADC module is used to perform analog-to-digital conversion on the spectral signal; The signal-to-noise ratio calculation module includes a background noise signal acquisition module, a characteristic spectral line intensity calculation module, a characteristic spectral line width calculation module, a noise root mean square value calculation module and a signal-to-noise ratio calculation module which are connected in sequence, wherein: The background noise signal acquisition module is used to collect the background noise signal generated by the dark current and the scattered light before acquiring the spectral signal; The characteristic spectral line intensity calculation module is used to calculate the characteristic spectral line intensity according to the spectrum signal after analog-to-digital conversion, and the specific calculation formula is: Where I is the integrated intensity value of the characteristic spectrum of the element to be measured, a and b are the wavelength points of the two adjacent trough positions of the central wavelength of the characteristic spectrum, and Y j ′ is the signal strength after removing the background noise, and Y j ′=Y j -ε, ε is the background noise signal, Y j is the spectral intensity value at wavelength j; The characteristic spectral line width calculation module is used to calculate the characteristic spectral line width, and the specific calculation formula is: w=λ N -l 1 , Among them, w is the characteristic line width of the element to be measured, that is, the wavelength range spanned by the characteristic line of the element to be measured from the first wavelength point to the Nth wavelength point, λ 1 and λ N are the wavelength values of the 1st wavelength point and the Nth wavelength point of the characteristic spectrum line of the element to be measured respectively; The noise root mean square value calculation module is used to calculate the noise root mean square value, and the specific calculation formula is: Where, σ is the total noise of the characteristic spectral line of the element to be measured, rms(σ) is the root mean square value of the noise of the characteristic spectral line of the element to be measured, and σ i is the signal strength at the i-th wavelength position, i∈[1,a]∪[b,N]; The signal-to-noise ratio calculation module is used to calculate the signal-to-noise ratio, and the specific calculation formula is: The operating parameter adjustment unit is used to receive the signal-to-noise ratio, obtain the operating parameter corresponding to the maximum signal-to-noise ratio through an optimization algorithm, and send the operating parameter to the operating parameter data unit.
2. The intelligent online optimized laser induced breakdown spectroscopy system according to claim 1, It is characterized in that The plasma signal excitation unit includes a laser emitter, a laser reflector and a first focusing lens, wherein: The laser is used to emit high-power pulsed laser according to the received operating parameters; The laser reflecting mirror is used to reflect the high-power pulsed laser; The focusing lens is used to vertically focus the reflected light reflected by the laser reflecting mirror onto the surface of the sample to be measured.
3. The intelligent online optimized laser induced breakdown spectroscopy system according to claim 2, It is characterized in that The spectral signal receiving unit comprises a light signal detector, a spectrometer and a second focusing lens, wherein: The optical signal detector is used to collect the spectral signal focused by the second focusing lens after the surface of the sample to be tested is ionized in a 45° direction; The spectrometer is used to split the spectral signal and send the split spectral signal to the spectral signal quality evaluation unit.
4. The intelligent online optimized laser induced breakdown spectroscopy system according to claim 3, It is characterized in that The operating parameter adjustment unit includes a genetic optimization algorithm module, an FPGA trigger module and a DAC module connected in sequence, wherein: The genetic optimization algorithm module is used to obtain the operating parameters corresponding to the maximum signal-to-noise ratio through a genetic optimization algorithm; The FPGA trigger module is used to load and run the genetic optimization algorithm according to the signal-to-noise ratio output by the spectral signal quality evaluation unit, obtain the operating parameters corresponding to the maximum signal-to-noise ratio, and trigger the operating parameter data unit to send the operating parameter data to the plasma signal excitation unit and the spectral signal receiving unit; The DAC module is used to perform digital-to-analog conversion on the operating parameters and output the converted operating parameters to the operating parameter data unit.
5. The intelligent online optimized laser induced breakdown spectroscopy system according to claim 4, It is characterized in that The termination condition of the genetic optimization algorithm in the genetic optimization algorithm module is specifically: In the preset termination generation, within the range of the operating parameter values, the maximum signal-to-noise ratio has a unique maximum value or when the maximum signal-to-noise ratio differences of the five consecutive generations of individuals are all less than the preset deviation threshold, the iteration is terminated. The calculation formula of the corresponding operating parameter when the maximum signal-to-noise ratio has a unique maximum value is: Among them, X k is the kth iteration individual, R SN (X k ) is the signal-to-noise ratio of the kth iteration individual, (x 1best ,x 2best ,x 3best ) is the optimal operating parameter, R SN (x 1best ,x 2best ,x 3best ) is the signal-to-noise ratio corresponding to the maximum operating parameter, G is the termination algebra preset value, and Delay time x 1 The value range of and Delay time x 2 The value range of and Delay time x 3 The value range of When the maximum signal-to-noise ratio differences of five consecutive generations of individuals are all less than the preset deviation threshold, the calculation formula for the corresponding operating parameters is: Among them, R SN (X i-1 ), R SN (X i-2 ), R SN (X i-3 ), R SN (X i-4 ) and R SN (X i-5 ) are the individuals X of the five consecutive generations. i-1 , X i-2 , X i-3 , X i-4 and X i-5 The signal-to-noise ratio, R SN (x 1best ,x 2best ,x 3best ) is the signal-to-noise ratio corresponding to the maximum operating parameter, and κ is the deviation threshold.
Citation Information
Patent Citations
Orthogonal double-pulse laser-induced breakdown spectroscopy system and signal stability enhancing method
CN114894776A
Laser-induced breakdown spectroscopy analysis device
CN209027999U
Collinear different-focus signal enhanced laser-induced breakdown spectroscopy analysis device and method thereof
CN114894780A
Laser opto-ultrasonic dual detection method and device for detecting elements, defects and residual stress simultaneously
US20210396652A1
