Photoacoustic spectrum self-correction method based on first harmonic, gas detection method and gas detection system

Through the self-correction method based on the primary harmonic signal, the baseline of the photoacoustic spectral signal is fitted and deducted, and the normalized ratio is calculated, which solves the problem of uniformity interference factors in photoacoustic spectroscopy technology, and achieves a more accurate gas concentration Detection and higher signal-to-noise ratio.

CN119064283AActive Publication Date: 2024-12-03TSINGHUA UNIVERSITY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411203793.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-03
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

In photoacoustic spectroscopy, uniformity interference factors such as light intensity fluctuations, frequency mismatch and microphone sensitivity changes affect measurement accuracy. The existing self-correction methods lack suitable and accurate methods in resonance systems.

Method used

By using a self-correction method based on the primary harmonic signal, the primary harmonic signal of the electrical signal is obtained, the baseline is fitted and the baseline is deducted to obtain the fluctuating part of the signal, and the ratio of the peak-to-peak value to the bias value is calculated to realize the correction of light intensity fluctuations. , obtain a normalized ratio that is not affected by interference factors.

Benefits of technology

More accurate gas concentration detection in the resonance system is achieved, reducing the impact of light intensity fluctuations, frequency mismatch and microphone sensitivity changes on the detection results, and improving the accuracy of measurement and signal-to-noise ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119064283A_ABST
    Figure CN119064283A_ABST
Patent Text Reader

Abstract

The invention relates to a photoacoustic spectrum self-correction method based on first harmonic, a gas detection method and a gas detection system. The self-correction method comprises the following steps: acquiring a first harmonic signal of an electric signal; based on the signal size of the first harmonic signal in the non-absorption area, a baseline of the first harmonic signal is fitted, and the baseline is expressed as an n-order polynomial function with time as an independent variable and the signal size as a dependent variable; subtracting the base line from the first harmonic signal to obtain a fluctuation part signal of the first harmonic signal, and determining a peak-to-peak value and a reference time point of the fluctuation part signal; the reference time point is substituted into the base line, a bias value corresponding to the reference time point is obtained, the ratio of the peak-to-peak value to the bias value is calculated, a normalized ratio is obtained, and the normalized ratio is used for detecting the gas concentration of the gas. Therefore, a more perfect and more accurate photoacoustic spectrum self-correction method using the first harmonic signal can be realized, the method is more suitable for a resonance device, and more accurate gas concentration detection can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of photoacoustic spectroscopy gas detection, and in particular to a photoacoustic spectroscopy self-correction method based on first harmonic, a gas detection method and a gas detection system. Background Art

[0002] Gas detection plays an important role in many fields. Among the many gas detection technologies, photoacoustic spectroscopy (PAS) is a spectral gas detection technology based on the photoacoustic effect, which has the characteristics of no background, low gas consumption, high sensitivity, and large dynamic range. The basic principle of photoacoustic spectroscopy is that light with a wavelength matching the gas absorption peak is absorbed when passing through the gas, and is converted into a heat source through a non-radiative transition, thereby exciting an acoustic signal. The concentration of the gas can be inferred by detecting the acoustic signal with a microphone.

[0003] Photoacoustic spectroscopy can be divided into non-resonant photoacoustic spectroscopy and resonant photoacoustic spectroscopy. Among them, non-resonant photoacoustic spectroscopy usually uses a small-volume non-resonant photoacoustic cavity and a microphone. The sound pressure distribution in the cavity is uniform, the operating frequency is about 10Hz, and it is easily affected by low-frequency noise. Resonant photoacoustic spectroscopy uses high-frequency modulation and demodulation and resonance amplification effects to achieve a higher signal-to-noise ratio. According to the resonance amplification method, the three most common types of resonant photoacoustic spectroscopy are resonant cavity photoacoustic spectroscopy, cantilever beam enhanced photoacoustic spectroscopy, and quartz tuning fork enhanced photoacoustic spectroscopy. Resonant cavity photoacoustic spectroscopy uses a special cavity shape to make the sound wave form a standing wave resonance in the cavity to amplify the signal, and the operating frequency is usually in the kHz range. Cantilever beam enhanced photoacoustic spectroscopy uses a cantilever beam to detect the sound signal and amplifies the sound signal through the resonance of the cantilever beam itself. The operating frequency is usually also in the kHz range. Quartz tuning fork enhanced photoacoustic spectroscopy uses the resonance of the quartz tuning fork itself to amplify the sound signal generated between the two arms of the tuning fork. The operating frequency is usually the standard resonance frequency of a commercial quartz tuning fork, that is, 32.7kHz.

[0004] In photoacoustic spectroscopy, a type of uniformity interference factor will change the size of the acoustic signal, ultimately affecting the accuracy of the measurement. Such interference factors include light intensity fluctuations (drift of laser output light intensity, changes in attenuation loss in the optical path), frequency mismatch (drift of modulation frequency and demodulation frequency, changes in system resonance frequency caused by differences in gas properties), changes in microphone aging sensitivity, etc. Such uniformity interference factors are independent of wavelength and do not change the shape of the signal, but only the size of the signal, which is equivalent to multiplying a coefficient on the acoustic signal, which in turn affects the concentration inversion results.

[0005] To solve this problem, a background signal can be artificially introduced into the background-free photoacoustic spectrum, and the background signal can be used to normalize the measurement signal to obtain a new signal that is unrelated to uniformity interference factors such as light intensity fluctuations and frequency mismatches, thereby achieving self-correction. One method of using the background signal for normalization is the 2f / 1f method commonly used in tunable semiconductor absorption spectroscopy (TDLAS), which uses the first harmonic signal (background signal) of the original signal to normalize the second harmonic signal (measurement signal) to obtain a 2f / 1f signal with self-correction characteristics. Among them, the first harmonic signal is the component of the frequency components of the original signal whose frequency is equal to the modulation frequency; the second harmonic signal is the component of the frequency components of the original signal whose frequency is equal to twice the modulation frequency.

[0006] In the prior art, a graphite sheet can be placed in a non-resonant cavity as a solid absorber to introduce background signals and use the 2f / 1f method to achieve normalized self-correction. However, a non-resonant cavity has no resonant frequency, which can ensure the simultaneous measurement of the second harmonic signal and the first harmonic signal, but reduces the signal-to-noise ratio of the system.

[0007] The prior art can also use solid absorption to introduce background signals in the resonant photoacoustic spectroscopy system, and the 2f / 1f method is used to achieve normalized self-correction. Although the resonant photoacoustic spectroscopy system can easily achieve a higher signal-to-noise ratio, it only amplifies the signal component with a frequency equal to the resonant frequency, and has an inhibitory effect on the signal components of other frequencies, making it difficult to simultaneously and efficiently obtain the first harmonic signal and the second harmonic signal. Although the prior art can obtain the first harmonic and the second harmonic in different time periods through time-sharing modulation and demodulation, the measurement speed is reduced and there is no simultaneity. The prior art can also obtain the first harmonic and the second harmonic at the same time and ensure that the second harmonic matches the resonant frequency by design, but this sacrifices the sensitivity of the first harmonic measurement.

[0008] The prior art can also introduce background signals in a quartz tuning fork enhanced photoacoustic spectroscopy system by utilizing solid absorption on the surface of the tuning fork, and realize normalized self-correction using the first harmonic signal. Compared with the 2f / 1f method, this method only involves one frequency component and is more suitable for resonant photoacoustic spectroscopy. However, the 1f signal processing method in this technology ignores many factors and is not perfect and specific enough. For example, it does not consider the baseline shape and its causes and is not accurate enough, and does not consider the effect of gas absorption on solid acoustic signals. In addition, the system is a quartz tuning fork enhanced photoacoustic spectroscopy. The tiny size of the tuning fork makes it more difficult to adjust the optical path of the system, and the fixed high resonance frequency of the tuning fork also makes the data processing of the system more complicated.

[0009] In summary, the accuracy of photoacoustic spectroscopy is affected by uniformity interference factors such as light intensity fluctuation, frequency mismatch, and microphone sensitivity change. Among the existing normalized self-correction methods, there is a lack of more accurate and complete methods suitable for resonant systems that only use the first harmonic. Summary of the invention

[0010] In view of this, the present disclosure proposes a photoacoustic spectroscopy self-calibration method, a gas detection method and a gas detection system based on a first harmonic, which can realize a more complete and accurate photoacoustic spectroscopy self-calibration suitable for a resonant device and using a first harmonic signal, and realize accurate gas concentration detection.

[0011] According to one aspect of the present disclosure, a photoacoustic spectroscopy self-correction method is provided, comprising: obtaining a first harmonic signal of an electrical signal, the electrical signal being obtained by converting an acoustic signal, the acoustic signal being excited by incident light being absorbed and converted into a heat source when incident light passes through a gas and strikes a solid absorber; fitting a baseline of the first harmonic signal based on the signal size of the first harmonic signal in a non-absorption region, the baseline being represented as an nth-order polynomial function with time as an independent variable and signal size as a dependent variable, n≥2, the non-absorption region including a time range in which the gas does not absorb the incident light; comparing the first harmonic signal with the first harmonic signal; The baseline is subtracted to obtain the fluctuating part signal of the first harmonic signal, and the peak-to-peak value and the reference time point of the fluctuating part signal are determined, the reference time point includes the time point corresponding to the center of the absorption peak of the gas, and the peak-to-peak value includes the difference between the maximum value and the minimum value of the fluctuating part signal; the reference time point is substituted into the baseline to obtain the bias value corresponding to the reference time point, and the ratio between the peak-to-peak value and the bias value is calculated to obtain the normalized ratio, the bias value includes the signal size of the absorption peak center corresponding to the baseline, and the normalized ratio is used to detect the gas concentration of the gas.

[0012] In a possible implementation, acquiring the first harmonic signal of the electrical signal includes: demodulating the electrical signal using an orthogonal digital lock-in amplifier to obtain an initial first harmonic signal, wherein the initial first harmonic signal is the modulus of the first harmonic signal; identifying a rebound effect area of ​​the initial first harmonic signal, and inverting the signal size within the rebound effect area to obtain the first harmonic signal, wherein the rebound effect area includes a time range defined by two time points where the signal size is 0 and the derivatives are opposite.

[0013] In a possible implementation, the incident light is generated by a tunable laser, and the driving current of the tunable laser includes a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal; the low-frequency triangular scanning signal is used to scan the central wavelength of the incident light across the entire gas absorption peak, and the non-absorption zone includes a time range in which the central wavelength corresponding to the incident light is not within the gas absorption peak and the gas does not absorb the incident light; the gas's absorption of the incident light is less than 0.05.

[0014] According to another aspect of the present disclosure, a gas detection method is provided, comprising: using the self-correction method to determine the normalized ratio corresponding to the gas to be detected; obtaining the gas concentration of the gas to be detected based on the ratio-concentration relationship calibration curve corresponding to the gas to be detected and the normalized ratio corresponding to the gas to be detected, wherein the ratio-concentration relationship calibration curve is a curve obtained by obtaining the standard normalized ratios at different standard concentrations in advance using the self-correction method and performing linear fitting on the standard normalized ratios at different standard concentrations.

[0015] According to another aspect of the present disclosure, a gas detection system is provided, comprising: a laser modulation device, a tunable laser, a resonance device, a microphone and a computing device; the laser modulation device is used to output a driving current to the tunable laser, the driving current comprising a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal; the tunable laser is used to output incident light into a resonance cavity of the resonance device under the modulation of the driving current, the resonance cavity containing a gas to be detected and a solid absorber, the incident light being absorbed and converted into a heat source when passing through the gas to be detected and incident on the solid absorber, thereby exciting an acoustic signal; the microphone is used to collect the acoustic signal and convert the acoustic signal into an electrical signal; the computing device is used in the gas detection method to obtain the gas concentration of the gas to be detected.

[0016] In one possible implementation, the system further includes a device-type phase-locked amplifier, which is used to demodulate the electrical signal converted by the microphone, obtain a first harmonic signal of the electrical signal and send the first harmonic signal to the computing device; or, the system further includes a data acquisition card, which is used to acquire the electrical signal converted by the microphone and send the electrical signal to the computing device, and an orthogonal digital phase-locked amplifier is deployed in the computing device to demodulate the electrical signal using the orthogonal digital phase-locked amplifier to obtain the first harmonic signal of the electrical signal; wherein the demodulation frequency used to demodulate the electrical signal is the same as the resonance frequency of the resonance device.

[0017] In a possible implementation, the resonance cavity includes a T-shaped resonance cavity, the T-shaped resonance cavity includes a buffer cavity and a resonance tube, the first end of the resonance tube is connected to the first end of the buffer cavity, the second end of the resonance tube is a closed end, the second end of the buffer cavity is sealed with a window that can transmit spatial light, and the incident light is emitted from the second end of the buffer cavity; wherein the solid absorber is arranged at the closed end of the resonance tube, and the microphone is arranged at the closed end of the resonance tube, so that the solid absorber and the microphone are located at the antinode of the first-order longitudinal resonance mode of the T-shaped resonance cavity.

[0018] In a possible implementation, the tunable laser includes a fiber laser, or a spatial light laser; the fiber laser is used to generate fiber light, and the spatial light laser is used to generate spatial light; when the tunable laser adopts the fiber laser, the system also includes a fiber collimator, and a positioning groove of the fiber collimator is also provided on the incident port of the resonant cavity of the resonance device, and the fiber collimator is arranged in the positioning groove at the incident port of the resonant cavity, and the incident port of the resonant cavity includes the second end of the buffer cavity of the T-shaped resonant cavity; the fiber laser and the fiber collimator are connected by an optical fiber to transmit the fiber light output by the fiber laser, and the fiber collimator is used to convert the fiber light transmitted by the optical fiber into spatial light and inject it into the resonant cavity; wherein the incident light includes the spatial light.

[0019] In a possible implementation, the microphone includes a traditional microphone, or a cantilever microphone; when the microphone adopts the cantilever microphone, the resonance frequency of the cantilever microphone matches the resonance frequency of the resonance device.

[0020] In a possible implementation, the laser modulation device includes: a first signal generator, a superimposer and a laser controller; the first signal generator is used to generate a low-frequency triangular scanning signal and a high-frequency sinusoidal modulation signal and input them into the superimposer, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device; the superimposer is used to superimpose the low-frequency triangular scanning signal with the high-frequency sinusoidal modulation signal to obtain a driving signal and input it into the laser controller; the laser controller is used to output a driving current corresponding to the driving signal to the tunable laser to modulate the wavelength and light intensity output by the tunable laser.

[0021] In a possible implementation, the laser modulation device includes: a second signal generator and a laser controller; the second signal generator is used to generate a driving signal in which a low-frequency triangular scanning signal is superimposed on a high-frequency sinusoidal modulation signal and input it into the laser controller, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device; the laser controller is used to output a driving current corresponding to the driving signal to the tunable laser to modulate the wavelength and light intensity output by the tunable laser.

[0022] According to various aspects of the present disclosure, by fitting the baseline with an nth-order polynomial function based on the signal size of the first harmonic signal in the non-absorption region, the accuracy of the baseline fitting can be improved, and then the baseline can be subtracted from the first harmonic signal to obtain the accurate fluctuation part signal of the first harmonic signal, and then the peak-to-peak value of the fluctuation part signal and the offset value corresponding to the center of the absorption peak on the baseline are obtained. Since the peak-to-peak value is proportional to the gas concentration and the light intensity, and the offset value is only proportional to the light intensity, therefore, calculating the ratio of the peak-to-peak value to the offset value is equivalent to correcting the peak-to-peak value using the offset value, and a normalized ratio that is not affected by the light intensity fluctuation but is proportional to the concentration can be obtained, thereby realizing a photoacoustic spectroscopy self-correction method suitable for a resonant system and using only the first harmonic signal, which is conducive to realizing a photoacoustic spectroscopy system that is not affected by uniformity factors such as light intensity fluctuation, frequency mismatch, and microphone sensitivity changes, that is, it is conducive to accurate gas concentration detection and reducing the influence of various uniformity interference factors on gas concentration detection.

[0023] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0025] Figure 1 A schematic diagram showing a first harmonic signal obtained by numerical simulation using a self-programmed program according to an embodiment of the present disclosure.

[0026] Figure 2 A flow chart of a photoacoustic spectroscopy self-calibration method according to an embodiment of the present disclosure is shown.

[0027] Figure 3 A schematic diagram showing a first harmonic signal of 1000 ppm methane obtained using an orthogonal digital lock-in amplifier according to an embodiment of the present disclosure.

[0028] Figure 4 A schematic diagram showing a fluctuating signal of a first harmonic signal according to an embodiment of the present disclosure.

[0029] Figure 5 A flow chart of a gas detection method according to an embodiment of the present disclosure is shown.

[0030] Figure 6 A schematic diagram showing a calibration curve of normalized ratio versus concentration according to an embodiment of the present disclosure.

[0031] Figure 7 A block diagram of a gas detection system according to an embodiment of the present disclosure is shown.

[0032] Figure 8 A schematic diagram of a gas detection system according to an embodiment of the present disclosure is shown.

[0033] Fig. 9 A schematic diagram of another gas detection system according to an embodiment of the present disclosure is shown.

[0034] Fig.10 A schematic diagram of another gas detection system according to an embodiment of the present disclosure is shown.

[0035] Fig.11 A schematic diagram of another gas detection system according to an embodiment of the present disclosure is shown.

[0036] Fig.12 A schematic diagram of another gas detection system according to an embodiment of the present disclosure is shown.

[0037] Fig.13 A schematic diagram showing multiple gas concentration detection results of 1000 ppm methane standard gas according to an embodiment of the present disclosure.

[0038] Fig.14 A schematic diagram of a verification system according to an embodiment of the present disclosure is shown.

[0039] Fig.15 It shows that in the process of gradually increasing the light intensity attenuation using the optical fiber attenuator according to the embodiment of the present disclosure, V pp 、V bias , schematic diagram of the changes in Ratio.

[0040] Fig.16 The resonance cavity is filled with air according to the embodiment of the present disclosure, and when the resonance frequency is 820 Hz, the modulation and demodulation frequency f mod Schematic diagram of the inversion results of concentration inversion using Ratio and Vpp at 830Hz and 820Hz respectively.

[0041] Fig.17 A schematic diagram showing first harmonic signals measured at three gas concentrations (20 ppm, 50 ppm, and 100 ppm) according to an embodiment of the present disclosure.

[0042] Reference numerals

[0043] exist Figure 8 , Fig. 9 , Fig.10 , Fig.11 , Fig.12 In the figure: 701 is a laser modulation device, 7011 is a first signal generator, 7012 is a superimposer, 7013 is a laser controller, 7014 is a second signal generator, 702 is a tunable laser, 703 is a resonance device, 7031 is a buffer cavity, 7032 is a resonance tube, 7033 is a window, 7034 is a solid absorber, 7035 is an air inlet pipe, 7036 is an air outlet pipe, 7037 is a barometer, 7038 is a switch valve, 704 is a microphone, 705 is a computing device, 706 is a fiber collimator, 707 is an optical fiber, 708 is a device-type phase-locked amplifier, and 709 is a data acquisition card. DETAILED DESCRIPTION

[0044] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0045] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0046] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0047] It should be understood that the terms "first", "second", etc. in the claims, specifications and drawings of the present disclosure are used to distinguish different objects rather than to describe a specific order. The terms "include" and "comprise" used in the specifications and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0048] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0049] In order to solve the problems of uniformity interference factors such as light intensity fluctuation, frequency mismatch, and microphone sensitivity change in photoacoustic spectroscopy, the embodiment of the present invention proposes a photoacoustic spectroscopy self-correction method to adapt to the resonant photoacoustic spectroscopy system. The self-correction method is based on a more complete theoretical analysis of the first harmonic signal to be more in line with the actual situation, and provides a gas detection method and gas detection system based on the first harmonic self-correction of the resonant cavity, and provides the selection and design of the resonant cavity and the design of the hardware system.

[0050] The following Figures 1 to 6 The photoacoustic spectroscopy self-calibration method and the gas detection method of the embodiment of the present disclosure are described in detail. Figures 7 to 12 The gas detection system of the embodiment of the present disclosure is introduced in detail.

[0051] Before introducing the photoacoustic spectroscopy self-calibration method of the embodiment of the present disclosure, the conditions for the photoacoustic spectroscopy self-calibration method based on the first harmonic are first introduced in the embodiment of the present disclosure as follows: Condition 1, there is a solid absorber (such as graphite paper) in the gas detection system for implementing the self-calibration method, the absorption spectrum of the solid absorber is flat, and the absorbed light intensity can be converted into a heat source to excite the background sound signal; Condition 2, a tunable laser is used as a light source, and the driving current applied to the tunable laser is a signal current of low-frequency triangular scanning superimposed on high-frequency sinusoidal modulation. Constant temperature control is applied to the tunable laser, which will cause the wavelength and light intensity output by the tunable laser to change according to the law of the driving current to generate a harmonic signal; Condition 3 After the modulation described in condition 2 is applied to the tunable laser, the central wavelength scanning range of the tunable laser should cover a complete absorption peak or absorption peak group of the gas to be measured and include the non-absorption areas on both sides so as to obtain a baseline from the first harmonic; condition 4, the gas's absorption of light is relatively small, that is, it satisfies the small absorption approximation condition (absorbance <0.05). In the application of trace gas detection, this condition is easy to achieve, especially for photoacoustic spectroscopy with a large dynamic range; condition 5, the acoustic signal is demodulated using the same demodulation frequency as the high-frequency sinusoidal modulation frequency in condition 2 to obtain the first harmonic, which can make the modulation and demodulation frequency equal to the resonant frequency of the resonant photoacoustic spectroscopy system, so that the acoustic signal is maximized and efficiently detected.

[0052] Under the above conditions, the first harmonic can be theoretically derived. The derivation process takes into account the actual nonlinear relationship between the laser output light intensity and the driving current, rather than simply treating it as an ideal linear relationship; the derivation process also does not ignore the effect of gas absorption on the acoustic signal generated by the solid absorber. The derivation results show that the first harmonic signal consists of two parts: the first part is the baseline part (the baseline part can be understood as the first harmonic signal obtained when the gas concentration is 0 or the light is not absorbed by the gas at all), the baseline part is only proportional to the light intensity and has nothing to do with gas absorption; the second part is the fluctuation part, which is proportional to the light intensity and gas concentration. The derivation results also give the shape characteristics of the first harmonic. For the baseline part, considering the nonlinear relationship between the laser output light intensity and the current, the embodiment of the present disclosure proposes that the baseline part is not a constant, but a slightly curved oblique line, which can be fitted with an n-order polynomial function; for the fluctuation part, when the gas absorption peak is a single absorption peak, the shape of the fluctuation part is a double-peak structure with two peaks, one positive and one negative. In other cases, the shape of the fluctuation part is more complex. For example, Figure 1 The schematic diagram of the first harmonic signal obtained by numerical simulation of the self-compiled program is shown in FIG. 1 , where the absorption peak used for simulation is the isolated absorption peak of methane (CH4) at 1651 nm, wherein the abscissa is time and the ordinate is signal size, such as Figure 1 As shown in Figure 1, the shape of the first harmonic signal is a slightly curved baseline part superimposed on the fluctuating part. The simulation results are consistent with the above conclusions, and subsequent tests also agree with the experimental results.

[0053] Based on the above conditions and the theoretical analysis results of the first harmonic, Figure 2 FIG. 5 is a flow chart showing a method for self-calibration of photoacoustic spectroscopy according to an embodiment of the present disclosure. Figure 2 As shown, the self-calibration method includes: step S11 to step S14.

[0054] In step S11, a first harmonic signal of an electrical signal is obtained, wherein the electrical signal is obtained by converting an acoustic signal, and the acoustic signal is excited when incident light passes through a gas and strikes a solid absorber and is absorbed and converted into a heat source.

[0055] In practical applications, the incident light is generated by a tunable laser (also known as a tunable semiconductor laser). The driving current of the tunable laser includes a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal; wherein the low-frequency triangular scanning signal is a periodically changing signal, and its waveform is similar to a triangle. The low-frequency triangular scanning signal is used to drive the tunable semiconductor laser so that its output center wavelength increases or decreases approximately linearly with time, thereby scanning the absorption peak or absorption peak group of the gas. The high-frequency sinusoidal modulation signal is a periodic sine wave with a frequency much higher than the low-frequency scanning signal. The high-frequency sinusoidal modulation signal is superimposed on the low-frequency triangular scanning signal to perform high-frequency modulation on the output of the tunable laser. When the high-frequency sinusoidal modulation signal is superimposed on the low-frequency triangular scanning signal, the output of the tunable laser will be modulated by both signals at the same time. Specifically, the output wavelength and light intensity both change in the manner of low-frequency triangular scanning + high-frequency sinusoidal modulation. The modulation of the wavelength causes the gas to absorb light over time. Due to the characteristics of the tunable semiconductor laser, when the wavelength is modulated, the light intensity will also change in the same way. The triangular scanning signal causes the central wavelength of the incident light to change slowly over time and scans the central wavelength of the incident light across the entire gas absorption peak. The sinusoidal modulation signal causes the wavelength to change rapidly and slightly near the central wavelength.

[0056] As described above, the self-calibration method proposed in the embodiment of the present disclosure can be applicable to the small absorption approximate condition (that is, the absorbance of the gas to the incident light can be less than 0.05). When the absorbance is large (that is, the absorbance is greater than or equal to 0.05), an improved method known in the art can be adopted, for example, the logarithm of the first harmonic signal can be taken and then theoretical analysis and subsequent self-calibration process can be performed to obtain a photoacoustic spectroscopy self-calibration method that is not subject to the small absorption approximate condition, and the embodiment of the present disclosure does not limit this.

[0057] In practical applications, based on the basic principles of the photoacoustic effect, it can be known that the incident light generates heat sources after being absorbed by the gas and the solid absorber (such as graphite paper), and the two heat sources will emit acoustic signals. The acoustic signal is the acoustic signal to be measured excited by the heat source generated by the gas absorbing the incident light and the background-carrying signal excited by the heat source generated by the solid absorber absorbing the incident light. Among them, a microphone known in the art (such as a traditional microphone, or a cantilever beam microphone, etc.) can be used to collect the acoustic signal and convert it into an electrical signal. Among them, the acoustic signal excited by the solid heat source (i.e., the solid absorber absorbs the incident light to generate a heat source) generates the baseline part (background signal) of the first harmonic signal, and the solid heat source and the gas heat source (i.e., the gas absorbs the incident light to generate a heat source) jointly generate the fluctuation part (measurement signal) of the first harmonic signal.

[0058] In a possible implementation, obtaining the first harmonic signal of the electrical signal may include: using a device-type phase-locked amplifier known in the art to demodulate the electrical signal converted by the microphone to obtain the first harmonic signal of the electrical signal.

[0059] In a possible implementation, an orthogonal digital lock-in amplifier implemented by a program known in the art can also be used to demodulate the electrical signal. Considering that if an orthogonal digital lock-in amplifier is used, the modulus of the output first harmonic signal is obtained, which is not negative. This characteristic causes the first harmonic signal to be automatically inverted when the value is less than 0, resulting in a "rebound effect". Figure 3 A schematic diagram showing a first harmonic signal of 1000 ppm methane obtained using an orthogonal digital lock-in amplifier (ppm is a volume concentration, representing one part per million), as shown in FIG. Figure 3 As shown, the initial first harmonic signal output by the orthogonal digital phase-locked amplifier is used, wherein the initial first harmonic signal is the modulus of the first harmonic signal, and the modulus of the first harmonic signal can be used to replace the first harmonic signal. Even under the condition of satisfying the small absorption approximation, due to the relatively strong absorption, the initial first harmonic signal also has a "rebound effect" within a time range of about 2-2.5s (i.e., the time range corresponding to points a and b in the figure), and this effect will affect the subsequent calculation of the peak-to-peak value Vpp and the normalized ratio.

[0060] Therefore, the normal first harmonic signal can be restored by identifying the rebound effect area and inverting the signal size in the rebound effect area, such as Figure 3 The normal first harmonic signal is obtained by inverting the signal size in the rebound effect area of ​​the initial first harmonic signal shown in . Specifically, the first harmonic signal of the electrical signal can include: using an orthogonal digital lock-in amplifier to demodulate the electrical signal to obtain the initial first harmonic signal; identifying the rebound effect area of ​​the initial first harmonic signal, and inverting the signal size in the rebound effect area to obtain the first harmonic signal, the rebound effect area includes a time range defined by two time points where the signal size is 0 and the derivatives are opposite. In other words, the rebound effect area corresponds to the time range where the sign of the first harmonic signal obtained using the device-type lock-in amplifier is negative, but the orthogonal digital lock-in amplifier can only obtain the modulus and cannot output a negative value, so it is automatically inverted. For example, Figure 3 The time range between points a and b is the rebound effect area. In this way, the first harmonic signal obtained by the orthogonal digital lock-in amplifier can be matched with the first harmonic signal obtained by the lock-in amplifier device, avoiding the influence of the "rebound effect" when there is a relatively high concentration or strong absorption, while simplifying the system and ensuring the largest possible concentration measurement dynamic range under the condition of small absorption approximation.

[0061] In step S12, based on the signal size of the first harmonic signal in the non-absorption region, the baseline of the first harmonic signal is fitted, and the baseline is expressed as an nth-order polynomial function with time as the independent variable and the signal size as the dependent variable, n≥2, and the non-absorption region includes the time range in which the gas does not absorb the incident light.

[0062] It can be seen that since the intensity-current relationship and wavelength-current relationship of the tunable laser are not perfectly linear, there is a certain degree of nonlinearity, and the actual output center wavelength only changes linearly over time. Therefore, it is necessary to use an n-order polynomial function to more accurately fit the baseline of the first harmonic.

[0063] For example, Figure 1 The first harmonic signal shown can be obtained by using the non-absorption areas on both sides (i.e. Figure 1 The signal size of the time range before point c and after point d, that is, the time range when the central wavelength of the triangular scanning is outside the gas absorption peak, is fitted with a quadratic polynomial function to obtain the baseline of the first harmonic signal. The use of an n-order polynomial function to fit the baseline takes into account that the output light intensity and current of the tunable laser are not in an ideal linear relationship, and the baseline is not regarded as a constant. Therefore, a more accurate baseline of the first harmonic signal can be obtained, which is conducive to obtaining an accurate fluctuation signal in the first harmonic signal.

[0064] In practical applications, time points may be pre-specified to determine the non-absorption zone and the absorption zone of the first harmonic signal (for example, the time range before 1.5 seconds and after 3.5 seconds may be specified as the non-absorption zone, and the time range between 1.5 seconds and 3.5 seconds may be specified as the absorption zone), or, the non-absorption zone and the absorption zone may be identified by designing a relevant algorithm, which is not limited in the embodiments of the present disclosure. As described above, the low-frequency triangular scanning signal may be used to scan the central wavelength of the incident light across the entire gas absorption peak, whereby the non-absorption zone may specifically include a time range in which the central wavelength corresponding to the incident light is not within the gas absorption peak and the gas does not absorb the incident light.

[0065] It can be known that the electrical signal converted from the acoustic signal can be a voltage signal or a current signal. When the electrical signal is a voltage signal, the signal size of the first harmonic signal can be expressed as a volt value, that is, the unit can be volt (V), millivolt (mV), microvolt (μV), etc.; when the electrical signal is a current signal, the signal size of the first harmonic signal can be expressed as an ampere value, that is, the unit is ampere (A), milliampere (mA), microampere (μA), etc.

[0066] In practical applications, when the driving current of the tunable laser is in other forms, the nonlinear effect between light intensity and current is still considered, and other function forms known in the art can be used to fit the baseline, which is not limited in the embodiments of the present disclosure.

[0067] In step S13, the first harmonic signal is subtracted from the baseline to obtain the fluctuating part signal of the first harmonic signal in the absorption zone, and the peak-to-peak value and the reference time point of the fluctuating part signal are determined, wherein the absorption zone includes the time range in which the gas absorbs the incident light, the reference time point includes the time point corresponding to the center of the absorption peak of the gas (that is, the time point corresponding to when the central wavelength of the triangular scanning is located at the center of the absorption peak), and the peak-to-peak value includes the difference between the maximum value and the minimum value of the fluctuating part signal.

[0068] Subtracting the first harmonic signal from the baseline can be understood as subtracting the baseline from the first harmonic signal to obtain the fluctuation signal of the first harmonic signal in the absorption zone, wherein the absorption zone can also be understood as the time range containing the fluctuation signal, for example Figure 1 The time range between points c and d.

[0069] For example, Figure 1 Subtracting the first harmonic signal shown from the baseline of the first harmonic signal can give Figure 4 The fluctuation part signal of the first harmonic signal shown in FIG. 1 can then be used to find the peak of the fluctuation part signal (i.e., find the maximum and minimum values ​​of the fluctuation part signal) to obtain the peak-to-peak value (such as Figure 4 The peak value of the fluctuating signal V pp ); and, the reference time point (such as Figure 4 The time point corresponding to point e in the middle is the reference time point), which corresponds to the center of the absorption peak of the gas. Specifically, the reference time point is a special point in the shape of the fluctuation part signal (such as the zero-crossing point between the positive and negative peaks), which corresponds to the moment when the central wavelength of the low-frequency triangular scanning of the laser is located at the center of the absorption peak; or, the reference time point can be manually specified. For example, the middle value of the absorption zone (such as 2.5 seconds, the middle value between 1.5 seconds and 3.5 seconds) can be specified as the reference time point. The embodiment of the present disclosure does not limit the method for determining the reference time point.

[0070] In step S14, the reference time point is substituted into the baseline to obtain the bias value corresponding to the reference time point, and the ratio between the peak-to-peak value and the bias value is calculated to obtain a normalized ratio. The bias value includes the signal size of the baseline corresponding to the center of the absorption peak. The normalized ratio is used to detect the gas concentration of the gas.

[0071] Among them, the reference time point is brought into the baseline, that is, the reference time point is substituted into the n-order polynomial function corresponding to the baseline, and the signal size of the baseline corresponding to the reference time point is obtained (that is, the baseline signal size corresponding to when the central wavelength of the triangular scanning is at the center of the absorption peak), that is, the bias value V which is only proportional to the light intensity is obtained. bias, since the reference time point can correspond to the center of the gas absorption peak, the offset value can also be understood as the signal size corresponding to the center of the absorption peak. For example, Figure 4 The middle point e corresponds to Figure 1 The point e in Figure 1 Find the ordinate corresponding to point e in and get the offset value.

[0072] Then, the ratio between the peak-to-peak value and the offset value can be calculated, that is, the normalized ratio Ratio = V pp / V bias , as mentioned above, the peak-to-peak value V pp It is proportional to both gas concentration and light intensity. The bias value V bias It is only proportional to the light intensity, so calculate Ratio = V pp / V bias , a normalized ratio that is not affected by light intensity fluctuations but is proportional to the concentration alone can be obtained, which is equivalent to correcting the peak-to-peak value using the bias value of the first harmonic signal itself, that is, realizing the normalized self-correction of the photoacoustic spectroscopy.

[0073] It can be understood that since the normalized ratio is proportional to the gas concentration, it can be used for gas concentration calibration and inversion; at the same time, the normalized ratio is independent of uniformity interference factors such as light intensity, has self-correction capabilities, and can achieve accurate gas concentration detection.

[0074] According to the self-correction method of the embodiment of the present disclosure, by fitting the baseline with an nth-order polynomial function based on the signal size of the first harmonic signal in the non-absorption area, the accuracy of the baseline fitting can be improved, and then the baseline can be subtracted from the first harmonic signal to obtain the accurate fluctuation part signal of the first harmonic signal, and then the peak-to-peak value of the fluctuation part signal and the offset value corresponding to the center of the absorption peak on the baseline are obtained. Since the peak-to-peak value is proportional to the gas concentration and the light intensity, and the offset value is only proportional to the light intensity, therefore, calculating the ratio of the peak-to-peak value to the offset value is equivalent to correcting the peak-to-peak value with the offset value, and a normalized ratio that is not affected by the light intensity fluctuation but is proportional to the concentration can be obtained, thereby realizing a photoacoustic spectroscopy self-correction method suitable for a resonant system and using only the first harmonic signal, which is conducive to realizing a photoacoustic spectroscopy system that is not affected by uniformity factors such as light intensity fluctuation, frequency mismatch, and microphone sensitivity changes, that is, it is conducive to realizing accurate gas concentration detection and reducing the influence of various uniformity interference factors on gas concentration detection.

[0075] Based on the self-correction method provided by the above-mentioned embodiment of the present disclosure, the embodiment of the present disclosure also provides Figure 5 A flow chart of the gas detection method is shown as Figure 5 As shown, the gas detection method includes:

[0076] Step S21, using the self-calibration method provided in the above embodiment of the present disclosure, determining the normalized ratio corresponding to the gas to be detected, that is, the acoustic signal in the above step S11 may be excited by the incident light being absorbed when passing through the gas to be detected and the solid absorber and converted into a heat source, thereby obtaining the normalized ratio corresponding to the gas to be detected;

[0077] Step S22, based on the ratio-concentration relationship calibration curve corresponding to the gas to be detected and the normalized ratio corresponding to the gas to be detected, the gas concentration of the gas to be detected is obtained, wherein the ratio-concentration relationship calibration curve is a curve obtained by pre-obtaining the standard normalized ratios at different standard concentrations using the self-correction method provided in the above-mentioned embodiment of the present disclosure and performing linear fitting on the standard normalized ratios at different standard concentrations.

[0078] As described above, the normalized ratio is proportional to the gas concentration and can be used for gas concentration calibration and inversion. In practical applications, a series of standard gases with different concentrations can be used, and the self-calibration method of the embodiment of the present disclosure can be used to obtain the standard normalized ratio of the standard gas at different standard concentrations, and then the ratio-concentration relationship calibration curve can be fitted to complete the gas concentration calibration. It should be understood that different types of gases can be calibrated to obtain their respective corresponding ratio-concentration relationship calibration curves; in actual measurement, the self-calibration method of the embodiment of the present disclosure can be used to obtain the normalized ratio corresponding to the gas to be detected, and the ratio-concentration relationship calibration curve corresponding to the gas to be detected can be used to inversely calculate the gas concentration of the gas to be detected, that is, to complete the gas concentration inversion.

[0079] For example, Figure 6 As shown, the calibration curve of the normalized ratio Ratio and concentration and the corresponding linear regression relationship are shown. Linear fit goodness R 2 reaches 0.99995; and shows a peak-to-peak value V pp Calibration curve with concentration and corresponding linear regression equation Linear fit goodness R 2 The value of V is 0.99994, which further proves the accuracy of the baseline fitting of the embodiment of the present disclosure and the accuracy of the gas concentration calibration and inversion using the normalized ratio Ratio. pp The traditional method of gas concentration calibration and inversion is easily affected by uniformity interference factors such as light intensity. However, by using the gas detection method of the embodiment of the present invention, by using a normalized ratio Ratio that is only proportional to the concentration to detect gas concentration, the influence of uniformity interference factors such as light intensity on gas concentration detection can be reduced, thereby improving the accuracy of gas concentration detection.

[0080] Based on the above-mentioned photoacoustic spectroscopy self-calibration method and gas detection method, the present disclosure also provides the following Figure 7 A block diagram of a gas detection system is shown in FIG. Figure 7 As shown, the system includes:

[0081] Laser modulation device 701, tunable laser 702, resonance device 703, microphone 704 and calculation device 705;

[0082] The laser modulation device 701 is used to output a driving current to the tunable laser 702, wherein the driving current includes a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal;

[0083] The tunable laser 702 is used to output incident light to the resonance cavity (not shown in the figure) of the resonance device 703 under the modulation of the driving current. The resonance cavity contains the gas to be detected and the solid absorber. When the incident light passes through the gas to be detected and hits the solid absorber, it is absorbed and converted into a heat source to stimulate an acoustic signal, and the acoustic signal is amplified through the resonance of the resonance cavity.

[0084] The microphone 704 is used to collect sound signals and convert them into electrical signals;

[0085] The computing device 705 is used to execute the gas detection method of the above-mentioned embodiment of the present disclosure to obtain the gas concentration of the gas to be detected.

[0086] In practical applications, the laser modulation device 701, the tunable laser 702, the resonance device 703, and the microphone 704 can respectively adopt hardware devices known in the art, as long as they can realize the functions that need to be realized. The computing device 705 can be deployed with a software program for realizing the gas detection method of the above-mentioned embodiment of the present disclosure, so that the above-mentioned gas detection method can be executed in the computing device 705; wherein, the computing device 705 can adopt a computer, a server, a terminal, a tablet computer, a laptop computer, etc., and the present disclosure embodiment does not limit this.

[0087] In a possible implementation, the present disclosure also provides Figure 8 The gas detection system shown in Figure 8 As shown, the laser modulation device 701 may include: a first signal generator 7011, a superimposer 7012 and a laser controller 7013;

[0088] The first signal generator 7011 is used to generate a low-frequency triangular scanning signal (CH1) and a high-frequency sinusoidal modulation signal (CH2) and input them to the superimposer 7012, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device;

[0089] The superimposer 7012 is used to superimpose the low-frequency triangular scanning signal with the high-frequency sinusoidal modulation signal to obtain a driving signal and input it to the laser controller 7013;

[0090] The laser controller 7013 is used to output a driving current (LDC) corresponding to the driving signal to the tunable laser 702 to modulate the wavelength and light intensity of the incident light output by the tunable laser 702 .

[0091] The driving current can be understood as the signal current obtained by superimposing the low-frequency triangular scanning signal with the high-frequency sinusoidal modulation signal; the laser controller 7013 can also output the temperature control current (TEC) at the same time to control the temperature of the tunable laser 702, that is, to provide stable temperature control. It should be understood that the above-mentioned signal generator 7011, superimposer 7012 and laser controller 7013 can adopt devices known in the art, as long as they can realize the functional interface they need to realize, and the embodiment of the present disclosure is not limited to this.

[0092] In one possible implementation, Figure 8 As shown, the resonance cavity in the resonance device 703 can adopt a T-shaped resonance cavity, which includes a buffer cavity 7031 and a resonance tube 7032. The first end of the resonance tube 7032 is connected to the first end of the buffer cavity 7031, and the second end of the resonance tube 7032 is a closed end. The second end of the buffer cavity 7031 is sealed with a window 7033 that can transmit spatial light (such as infrared light), and the incident light is injected from the second end of the buffer cavity 7031; wherein, the solid absorber 7034 is arranged at the closed end of the resonance tube 7032, and the microphone 704 is arranged at the closed end of the resonance tube 7032, so that the solid absorber 7034 and the microphone 704 are located at the antinode of the first-order longitudinal resonance mode of the T-shaped resonance cavity.

[0093] Among them, the resonance device 703 is also provided with an air inlet pipe 7035, an air outlet pipe 7036 and a barometer 7037. The air inlet pipe 7035 is used to input the gas to be detected into the resonance cavity, the air outlet pipe 7036 is used to remove the gas to be detected from the resonance cavity, and the barometer 7037 is used to detect the gas pressure in the resonance cavity. Among them, the air inlet pipe 7035 and the air outlet pipe 7036 can also be provided with a switch valve 7038 respectively to control the inlet and outlet of the gas to be detected. It should be understood that the provision of the air inlet pipe 7035, the air outlet pipe 7036 and the barometer 7037 on the resonance device 703 is a possible implementation method provided by the embodiment of the present disclosure. In fact, the air inlet pipe and the air outlet pipe can be combined into one air inlet and outlet pipe, or a barometer may not be provided. Under the enlightenment of the present disclosure, those skilled in the art can customize the hardware structure contained in the resonance device 703, and the embodiment of the present disclosure is not limited to this.

[0094] Based on the T-shaped resonant cavity, the incident light can enter from the incident port (i.e., the window 7033) at the second end of the buffer cavity 7031, be absorbed by the gas to be detected in the resonant cavity and converted into the first heat source, and then hit the solid absorber 7034 to generate the second heat source. The acoustic signals excited by the two heat sources are converted into electrical signals by the microphone 704 together. The antinode of the first-order longitudinal resonance mode of the T-shaped resonant cavity is located at the closed end of the resonance tube 7032. Therefore, by selecting the T-shaped resonant cavity and placing the solid absorber 7034 at the closed end, it can be ensured that the heat sources from the solid and the gas are efficiently coupled with the resonant mode of the resonance device 703, and the acoustic signal of the photoacoustic spectrum is maximized in principle. In particular, the microphone 704 is placed at the closed end of the resonance tube 7032, and the maximum acoustic signal at the antinode of the resonant mode of the T-shaped resonant cavity can be collected, so that the computing device 705 can effectively execute the self-correction method of the embodiment of the present disclosure.

[0095] It should be understood that the above-mentioned T-shaped resonance cavity is a possible implementation method provided by the embodiment of the present disclosure. In fact, the resonance device 703 can also adopt any type of resonance cavity in the art. For example, a classic H-shaped resonance cavity can also be adopted. In the H-shaped resonance cavity, the resonance tube wall itself can be used as a solid absorber to absorb the incident light to generate a background sound signal. At this time, the microphone 704 can be placed at the midpoint of the resonance tube of the H-shaped resonance cavity to obtain the maximum sound signal at the antinode of the resonance mode of the H-shaped resonance cavity.

[0096] In a possible implementation, the microphone 704 may be a conventional microphone or a cantilever microphone; when the microphone 704 is a cantilever microphone, the resonance frequency of the cantilever microphone matches the resonance frequency of the resonance device 703, and the sound signal can be further amplified by the resonance of the cantilever beam of the cantilever microphone, thus achieving double resonance amplification and improving sensitivity. It should be understood that the mounting structure of the microphone 704 may be processed on the resonance device 703, so that the microphone 704 can be mounted at the antinode of the resonance cavity to collect the sound signal.

[0097] In a possible implementation, the tunable laser 702 may be a fiber laser; the fiber laser is used to generate fiber light; Figure 8As shown, in the case where the tunable laser 702 adopts a fiber laser, the gas detection system also includes a fiber collimator 706. A positioning groove for the fiber collimator 706 is also provided at the incident port of the resonance cavity of the resonance device 703. The fiber collimator 706 is arranged at the positioning groove at the incident port of the resonance cavity (such as the positioning groove at the incident port of a T-shaped resonance cavity or the incident port of an H-shaped resonance cavity, etc.) to ensure that once the fiber collimator 706 is inserted into the positioning groove, the desired optical path can be obtained, thereby eliminating the optical path adjustment process. Since the incident port of the T-shaped resonant cavity is also the second end of the buffer cavity 7031 of the T-shaped resonant cavity, the incident port of the resonant cavity includes the second end of the buffer cavity 7031 of the T-shaped resonant cavity, that is, a fiber collimator 706 can also be provided outside the window 7033 at the second end of the buffer cavity of the T-shaped resonant cavity. The fiber laser 702 and the fiber collimator 706 are connected by an optical fiber 707 to transmit the fiber light output by the fiber laser 702. The fiber collimator 706 is used to convert the fiber light transmitted by the optical fiber 707 into spatial light and inject it into the resonant cavity (such as being able to penetrate the window 7033 at the second end of the buffer cavity 7031 of the T-shaped resonant cavity and inject it into the T-shaped resonant cavity); wherein the incident light includes spatial light. It should be understood that when the tunable laser 702 adopts a fiber laser, the installation structure of the fiber collimator 706 can be processed on the resonance device 703 (that is, a fiber interface is reserved at the entrance of the resonance cavity) to install the fiber collimator 706. This can ensure that when the optical fiber 707 and the fiber collimator 706 are connected to the resonance cavity, the optical path in the cavity is automatically established, eliminating the need for optical path adjustment.

[0098] In a possible implementation, the tunable laser 702 may also be a spatial light laser (such as a mid-infrared laser), which is used to generate spatial light (such as mid-infrared light); it should be understood that the spatial light generated by the spatial light laser can be directly injected into the resonant cavity through the incident port of the resonant cavity (such as the spatial light generated by the spatial light laser can be directly injected into the T-shaped resonant cavity through the window 7033 at the second end of the buffer cavity 7031 of the T-shaped resonant cavity). Therefore, Fig. 9 In another gas detection system shown, the emission port of the spatial light laser 702 can be directly aligned with the incidence port of the resonance cavity (eg, aligned with the second end of the buffer cavity 7031 of the T-shaped resonance cavity) to facilitate the emission of incident light into the resonance cavity.

[0099] In one possible implementation, Figure 8As shown, the gas detection system also includes a device-type phase-locked amplifier 708, which is used to demodulate the electrical signal (CH3) converted by the microphone 704, obtain the first harmonic signal of the electrical signal and send the first harmonic signal to the computing device 705, so that the computing device 705 determines the gas concentration of the gas to be detected based on the first harmonic signal demodulated by the device-type phase-locked amplifier 708. Among them, the demodulation frequency of the device-type phase-locked amplifier 708 is equal to the above-mentioned high-frequency sinusoidal modulation frequency, that is, the demodulation frequency used to demodulate the electrical signal is the same as the resonance frequency of the resonance device 703, so that the first harmonic signal of the electrical signal can be demodulated. When the device-type phase-locked amplifier 708 is used, the signal generator 7011 can also send a synchronization signal (TTL1) to the device-type phase-locked amplifier 708 while outputting CH1 and CH2, wherein TTL1 is in sync with CH1 periodically, and can provide the device-type phase-locked amplifier 708 with a period start time information to notify the device-type phase-locked amplifier 708 to synchronously start signal demodulation. In addition, a reference channel is required between the signal generator 7011 and the device-type phase-locked amplifier 708 to input a reference signal to the device-type phase-locked amplifier 708. The reference signal is the high-frequency sinusoidal modulation signal (CH2) output by the signal generator 708, that is, the signal generator 7011 inputs a reference signal having the same phase as the high-frequency sinusoidal modulation signal (CH2) to the device-type phase-locked amplifier 708. The reference signal is used by the device-type phase-locked amplifier 708 to demodulate the electrical signal (CH3) converted by the microphone 704, that is, the device-type phase-locked amplifier 708 demodulates the electrical signal (CH3) based on the reference signal (i.e., CH2).

[0100] In a possible implementation, when the resonance frequency of the resonance device 703 is low, the phase delay between the wavelength modulation (FM) and the light intensity modulation (IM) of the tunable laser can be ignored, and the modulus of the first harmonic signal can be used to replace the first harmonic signal. Therefore, in the gas detection system, either a device-type lock-in amplifier or a program-written orthogonal digital lock-in amplifier can be used to demodulate the electrical signal to simplify the hardware structure of the gas detection system. The first harmonic signal obtained by both methods contains a baseline part and a fluctuation part, which can be used to solve the normalized ratio Ratio to achieve normalization and self-correction, and detect the gas concentration.

[0101] Therefore, when using a quadrature digital lock-in amplifier, Fig.10 and Fig.11The two gas detection systems shown in the figure, the gas detection system can also include a data acquisition card 709, which is used to collect the electrical signal (CH3) converted by the microphone 704 and send the electrical signal to the computing device 705, and the computing device 705 is also equipped with an orthogonal digital phase-locked amplifier, so as to demodulate the electrical signal using the orthogonal digital phase-locked amplifier to obtain the first harmonic signal of the electrical signal. Among them, the demodulation frequency of the orthogonal digital phase-locked amplifier is equal to the above-mentioned high-frequency sinusoidal modulation frequency, that is, the demodulation frequency used to demodulate the electrical signal is the same as the resonant frequency of the resonance device 703, so as to be able to demodulate the first harmonic signal of the electrical signal. When the orthogonal digital phase-locked amplifier is used, the signal generator 7011 can also send a synchronization signal (TTL1) to the data acquisition card 709 while outputting CH1 and CH2, wherein TTL1 is in step with the CH1 cycle, and can provide the data acquisition card 709 with the start time information of a cycle to notify the data acquisition card 709 to start signal acquisition synchronously.

[0102] Considering that in actual situations, there may also be a signal generator that can directly output a driving signal in which a low-frequency triangular scanning signal is superimposed on a high-frequency sinusoidal modulation signal. Therefore, in a possible implementation, Fig.12 As shown, the laser modulation device 701 may also include: a second signal generator 7014 and a laser controller 7013; the second signal generator 7014 is used to generate a driving signal of a low-frequency triangular scanning signal superimposed on a high-frequency sinusoidal modulation signal and input it to the laser controller 7013, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device 703; the laser controller 7013 is used to output a driving current corresponding to the driving signal to the tunable laser 702 to modulate the wavelength and light intensity output by the tunable laser. The second signal generator 7014 may be a signal generator known in the art that can directly output a driving signal of a low-frequency triangular scanning signal superimposed on a high-frequency sinusoidal modulation signal.

[0103] As described above, a "rebound effect" will occur when an orthogonal digital lock-in amplifier is used to demodulate an electrical signal. Therefore, the gas detection method deployed in the computing device 705 can restore a normal first harmonic signal by identifying the rebound effect area and inverting the signal size in the rebound effect area. The specific implementation method can refer to step S11 of the self-correction method of the above-mentioned embodiment of the present disclosure, which will not be described in detail here.

[0104] In practical applications, the above-mentioned gas detection system can be used to perform a gas detection on the gas to be detected to obtain the gas concentration. In order to improve the accuracy of gas concentration detection, multiple gas detections can be performed to obtain multiple gas concentrations, and the average value of the multiple gas concentrations can be calculated as the gas concentration detected by the gas to be detected. The embodiments of the present disclosure do not limit this. Fig.13The results of multiple gas concentration detections of 1000ppm methane standard gas using the system of the embodiment of the present disclosure are shown, and an average inversion result of 1013.45ppm is obtained, with a relative error of only about 1.3%. It can be seen that the gas detection system of the embodiment of the present disclosure can achieve relatively accurate gas concentration detection.

[0105] In order to verify the beneficial effects of the photoacoustic spectroscopy self-calibration method, gas detection method and gas detection system proposed in the embodiments of the present disclosure, based on the above Fig.10 The gas detection system shown in the present disclosure adopts Fig.14 A verification system is shown to verify the beneficial effects of the above method and system, such as Fig.14 As shown in the figure, the verification system is Fig.10 The gas detection system shown is provided with a fiber optic attenuator 141, a fiber optic coupler 142, a photodetector 143 and an oscilloscope 144.

[0106] The first harmonic-based photoacoustic spectroscopy self-correction method and gas detection method proposed in the embodiments of the present disclosure can protect the photoacoustic spectroscopy system from uniformity factors such as light intensity fluctuations, frequency mismatches, and microphone sensitivity changes. Fig.14 The verification system shown can be obtained Fig.15 and Fig.16 The experimental results shown in Fig.15 The optical fiber attenuator 141 is used to gradually increase the light intensity attenuation (state A to F) and the light intensity is not attenuated (state G where the attenuator is removed). pp and V bias Both decrease as the incident light intensity decreases and reach a maximum value when there is no attenuation, but the Ratio value remains basically unchanged during the whole process, which reflects the Ratio value's ability to resist light intensity fluctuations. Fig.16 The demodulation frequency f is shown when the resonance cavity is filled with air and the resonance frequency is 820Hz. mod The inversion results (i.e., the detected gas concentration) of the concentration inversion using the Ratio value and Vpp when the frequencies are 830Hz and 820Hz, respectively. The average value of the concentration inverted using the Ratio value remains basically unchanged (from 2.248 to 2.207), while the concentration value inverted using the Vpp value changes greatly (from 1.958 to 2.259). bias There is an obvious step, which proves that the use of the Ratio value for gas concentration detection has the ability to resist frequency mismatch. The above beneficial effects all prove the ability of the self-correction method and gas detection method of the disclosed embodiment to resist uniformity interference factors in the resonant photoacoustic spectroscopy.

[0107] The first harmonic-based photoacoustic spectroscopy self-calibration method and gas detection method proposed in the embodiments of the present disclosure only use the first harmonic signal for self-calibration (i.e., the 1f / 1f method). Compared with the existing 2f / 1f method, it is more suitable for a resonant device with only one resonant frequency, and can give full play to the acoustic amplification and high signal-to-noise ratio advantages of resonant photoacoustic spectroscopy without time-division multiplexing or sacrificing a certain frequency component. The one-hour continuous measurement results of 5ppm methane standard gas show that the 1σ standard deviation is less than 0.4ppm, and the Allan variance can reach 3.5ppb at 104s; the measurement experiment of methane in the air obtained an average value of 2.2ppm. The above results demonstrate the high sensitivity and high signal-to-noise ratio of the system.

[0108] The first harmonic-based photoacoustic spectroscopy self-correction method proposed in the embodiment of the present disclosure takes into account the nonlinearity between the actual light intensity and current of the laser, and uses an nth-order polynomial function to fit the baseline of the first harmonic signal, thereby ensuring the accuracy of the baseline fitting and facilitating improving the accuracy of concentration detection. Figure 1 The simulation results of the first harmonic shape shown in Fig.17 The shape characteristics of the first harmonic signal measured under the three gas concentrations (20ppm, 50ppm, 100ppm) shown in the figure are consistent, and it can be seen that Figure 1 The baseline obtained by quadratic fitting fits well with the first harmonic in the non-absorption region.

[0109] A gas detection system based on a resonant cavity is proposed in an embodiment of the present disclosure. In this system, a solid absorber is placed at the closed end of the resonant tube of the T-shaped resonant cavity, which can ensure that the heat sources from the solid and the gas are effectively coupled with the resonant mode of the cavity to increase the signal and improve the sensitivity. Compared with commercial quartz tuning forks, the resonant cavity has a larger size and simpler optical path adjustment. When using a fiber optic light source, it is only necessary to plug in the optical fiber to establish the optical path without the need for optical path adjustment. In addition, the use of a resonant cavity can obtain a lower resonant frequency, at which time the FM-IM phase delay of the laser can be ignored, so an orthogonal digital lock-in amplifier can be used to demodulate the signal to simplify the system.

[0110] The method and system proposed in the embodiments of the present disclosure can propose a correction method for the "rebound effect" that occurs when using an orthogonal digital phase-locked amplifier (i.e., inverting the signal size in the rebound effect area), which can expand the gas concentration detection dynamic range of the system when using a digital phase-locked amplifier, and at the same time simplify the gas detection system, achieve detection of higher concentrations of gas under small absorption approximation conditions.

[0111] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions, and this embodiment of the present disclosure is not limited.

[0112] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A photoacoustic spectroscopy self-calibration method, characterized in that: include: Acquiring a first harmonic signal of an electrical signal, wherein the electrical signal is obtained by converting an acoustic signal, wherein the acoustic signal is excited by the absorption and conversion into a heat source when the incident light passes through the gas and strikes the solid absorber; Based on the signal size of the first harmonic signal in the non-absorption region, fitting the baseline of the first harmonic signal, wherein the baseline is represented by an n-order polynomial function with time as an independent variable and the signal size as a dependent variable, n≥2, and the non-absorption region includes a time range in which the gas does not absorb incident light; Subtracting the first harmonic signal from the baseline to obtain a fluctuation part signal of the first harmonic signal, and determining a peak-to-peak value and a reference time point of the fluctuation part signal, wherein the reference time point includes a time point corresponding to the center of the absorption peak of the gas, and the peak-to-peak value includes a difference between a maximum value and a minimum value of the fluctuation part signal; The reference time point is substituted into the baseline to obtain the bias value corresponding to the reference time point, and the ratio between the peak-to-peak value and the bias value is calculated to obtain a normalized ratio, wherein the bias value includes the signal size of the center of the absorption peak corresponding to the baseline, and the normalized ratio is used to detect the gas concentration of the gas.

2. The method according to claim 1, characterized in that: The step of obtaining a first harmonic signal of an electrical signal comprises: Demodulating the electrical signal using an orthogonal digital lock-in amplifier to obtain an initial first harmonic signal, wherein the initial first harmonic signal is the modulus of the first harmonic signal; The rebound effect area of ​​the initial first harmonic signal is identified, and the signal size in the rebound effect area is inverted to obtain the first harmonic signal, wherein the rebound effect area includes a time range defined by two time points where the signal size is 0 and the derivatives are opposite.

3. The method according to claim 1, characterized in that The incident light is generated by a tunable laser, and the driving current of the tunable laser includes a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal; the low-frequency triangular scanning signal is used to scan the central wavelength of the incident light across the entire gas absorption peak, and the non-absorption region includes a time range in which the central wavelength corresponding to the incident light is not within the gas absorption peak and the gas does not absorb the incident light; The gas has an absorbance of less than 0.05 to incident light.

4. A gas detection method, characterized in that: include: Determine the normalized ratio corresponding to the gas to be detected by using the self-calibration method according to any one of claims 1 to 3; Based on the ratio-concentration relationship calibration curve corresponding to the gas to be detected and the normalized ratio corresponding to the gas to be detected, the gas concentration of the gas to be detected is obtained, wherein the ratio-concentration relationship calibration curve is a curve obtained by pre-obtaining the standard normalized ratios at different standard concentrations using the self-correction method described in any one of claims 1 to 3 and performing linear fitting on the standard normalized ratios at different standard concentrations.

5. A gas detection system, characterized in that: include: Laser modulation devices, tunable lasers, resonant devices, microphones, and computing devices; The laser modulation device is used to output a driving current to the tunable laser, wherein the driving current includes a signal current obtained by superimposing a low-frequency triangular scanning signal with a high-frequency sinusoidal modulation signal; The tunable laser is used to output incident light to the resonance cavity of the resonance device under the modulation of the driving current, wherein the resonance cavity contains a gas to be detected and a solid absorber, and when the incident light passes through the gas to be detected and strikes the solid absorber, it is absorbed and converted into a heat source to stimulate an acoustic signal; The microphone is used to collect the acoustic signal and convert the acoustic signal into an electrical signal; The calculation device is used to execute the gas detection method described in claim 4 to obtain the gas concentration of the gas to be detected.

6. The system according to claim 5, characterized in that The system further comprises a device-type phase-locked amplifier, which is used to demodulate the electrical signal converted by the microphone, obtain a first harmonic signal of the electrical signal and send the first harmonic signal to the computing device; or, The system also includes a data acquisition card, which is used to collect the electrical signal converted by the microphone and send the electrical signal to the computing device, wherein an orthogonal digital lock-in amplifier is deployed in the computing device, so as to demodulate the electrical signal using the orthogonal digital lock-in amplifier to obtain a first harmonic signal of the electrical signal; Wherein, a demodulation frequency used to demodulate the electrical signal is the same as the resonance frequency of the resonance device.

7. The system according to claim 5, characterized in that The resonant cavity comprises a T-shaped resonant cavity, the T-shaped resonant cavity comprises a buffer cavity and a resonant tube, the first end of the resonant tube is connected to the first end of the buffer cavity, the second end of the resonant tube is a closed end, the second end of the buffer cavity is sealed by a window sheet that can transmit spatial light, and the incident light is incident from the second end of the buffer cavity; The solid absorber is arranged at the closed end of the resonance tube, and the microphone is arranged at the closed end of the resonance tube, so that the solid absorber and the microphone are located at the antinode of the first-order longitudinal resonance mode of the T-shaped resonance cavity.

8. The system according to claim 5 or 7, characterized in that: The tunable laser includes a fiber laser, or a spatial light laser; the fiber laser is used to generate fiber light, and the spatial light laser is used to generate spatial light; In the case where the tunable laser adopts the optical fiber laser, the system further comprises an optical fiber collimator, and a positioning groove of the optical fiber collimator is further provided at the incident port of the resonant cavity of the resonant device, and the optical fiber collimator is arranged in the positioning groove at the incident port of the resonant cavity, and the incident port of the resonant cavity comprises the second end of the buffer cavity of the T-shaped resonant cavity; The fiber laser and the fiber collimator are connected by optical fiber to transmit the fiber light output by the fiber laser. The fiber collimator is used to convert the fiber light transmitted by the optical fiber into spatial light and inject it into the resonance cavity; wherein the incident light includes the spatial light.

9. The system according to claim 5 or 7, characterized in that: The microphone includes a conventional microphone, or a cantilever microphone; In the case that the microphone adopts the cantilever beam microphone, the resonance frequency of the cantilever beam microphone matches the resonance frequency of the resonance device.

10. The system according to claim 5, characterized in that The laser modulation device comprises: a first signal generator, a superimposer and a laser controller; The first signal generator is used to generate a low-frequency triangular scanning signal and a high-frequency sinusoidal modulation signal and input them into the superimposer, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device; The superimposer is used to superimpose the low-frequency triangular scanning signal with the high-frequency sinusoidal modulation signal to obtain a driving signal and input it into the laser controller; The laser controller is used to output a driving current corresponding to the driving signal to the tunable laser, so as to modulate the wavelength and light intensity output by the tunable laser.

11. The system according to claim 5, characterized in that The laser modulation device comprises: a second signal generator and a laser controller; The second signal generator is used to generate a driving signal of a low-frequency triangular scanning signal superimposed on a high-frequency sinusoidal modulation signal and input it to the laser controller, wherein the modulation frequency of the high-frequency sinusoidal modulation signal is the same as the resonance frequency of the resonance device; The laser controller is used to output a driving current corresponding to the driving signal to the tunable laser, so as to modulate the wavelength and light intensity output by the tunable laser.

Citation Information

Patent Citations

  • Photoacoustic spectrometry gas detection device capable of correcting resonant frequency of quartz tuning fork in real time

    CN104316466A

  • Multi-component substance detection method and device based on wavelength modulation spectrum technology

    CN113252601A

  • Gas concentration detection method based on multi-harmonic information fusion laser absorption spectrum technology

    CN115326751A

  • Gas concentration inversion method based on first harmonic phase

    CN117907241A

  • Instrument for measuring concentration and fuel cell system using the same

    JP2006292474A