A gas concentration detection method, device, medium and electronic equipment
By collecting the transmitted light intensity function and the incident light intensity, and combining the second-order polynomial and the target fitting function, the problem of insufficient fitting accuracy of the VOOGT linear function at multiple frequencies was solved, and higher accuracy gas concentration detection was achieved.
Patent Information
- Application Number
- CN202310679906.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2043-06-08
AI Technical Summary
Existing gas concentration detection methods fail to effectively consider the multi-frequency characteristics within the optical resonant cavity when using the VOOGT linear function, resulting in reduced fitting accuracy and larger inversion concentration errors.
By collecting the function of transmitted light intensity changing with time, and combining it with the incident light intensity of the optical resonant cavity, a second-order polynomial fitting and a target fitting function are used to adjust the absorption coefficient fitting process and improve the fitting accuracy of the absorption spectrum.
This improved the fitting accuracy of absorption spectra at different frequencies, reduced the error in gas concentration inversion, and improved the accuracy of detection.
Smart Images

Figure CN116559098B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of gas detection technology, and in particular to a gas concentration detection method, apparatus, medium and electronic equipment. Background Technology
[0002] Gas detection technology refers to the technique of determining gas concentration by utilizing the selective absorption of photons by gas molecules and the absorption spectrum of the gas. It can be applied in fields such as environmental monitoring, safety monitoring, and industrial production. For example, gas detection technology can be used to detect greenhouse gases in the atmosphere, identify the sources of greenhouse gas emissions, and provide a basis for environmental change research.
[0003] Off-axis integrator cavity output spectroscopy (OICS) is a commonly used gas detection technique, offering advantages such as high sensitivity, high selectivity, and real-time online detection. When using OICS to retrieve gas concentration, a scanning signal is applied to a laser via a function generator. The laser scanning signal output from the laser is then acquired by a data acquisition unit after passing through an optical resonant cavity. The acquired signal is then fitted using a VOOIT line-shape function to obtain the absorption spectrum.
[0004] However, the Voigt line shape function is symmetric about the center frequency and does not consider the influence of frequency. When using the Voigt line shape function, it is usually assumed that the characteristic frequency of the optical resonator is much higher than the highest frequency component of the absorbed signal, and that the optical resonator does not act as a low-pass filter for the absorbed signal. But in reality, when a scanning signal is applied to the laser for laser scanning, the laser in the optical resonator has multiple frequencies, and as the frequency increases, the fitting accuracy decreases. Summary of the Invention
[0005] This application provides a gas concentration detection method and apparatus that can reduce errors during gas concentration inversion.
[0006] In a first aspect, this application provides a gas concentration detection method, comprising: acquiring the intensity of transmitted light emitted from an optical resonant cavity, determining a transmitted light intensity function, wherein the transmitted light intensity function is used to represent the change of transmitted light intensity with time; fitting the medium in the optical resonant cavity based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity to obtain the absorption spectrum of the medium; and retrieving the gas concentration of the medium from the absorption spectrum.
[0007] In one exemplary embodiment, fitting the medium within the optical resonant cavity based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity to obtain the absorption spectrum of the medium includes: using a second-order polynomial to fit the incident light intensity of the optical resonant cavity; and determining the absorption spectrum of the medium within the optical resonant cavity based on the incident light intensity and the transmitted light intensity function.
[0008] In one exemplary embodiment, determining the absorption spectrum of the medium within the optical resonant cavity based on the incident light intensity and the transmitted light intensity function includes: determining the absorption coefficient of the medium based on the incident light intensity and the transmitted light intensity; and fitting the absorption coefficient using a target fitting function to obtain the absorption spectrum of the medium.
[0009] In one exemplary embodiment, before fitting the absorption coefficient with the target fitting function, the method further includes: determining a first peak value of the absorption coefficient based on the transmitted light intensity and the incident light intensity; fitting the absorption coefficient based on a preset initial fitting function to obtain a second peak value of the fitted absorption coefficient; and adjusting the initial fitting function based on the difference between the first peak value and the second peak value to obtain a target fitting function.
[0010] In one exemplary embodiment, the step of acquiring the transmitted light intensity transmitted from the optical resonant cavity and determining the transmitted light intensity function includes: determining the incident light intensity function of the incident light intensity, wherein the incident light intensity function is used to represent the change of the incident light intensity over time; and determining the transmitted light intensity function based on the transmittance of the optical resonant cavity and the incident light intensity function.
[0011] This scheme uses the transmitted light intensity emitted from the optical resonant cavity to determine the function of transmitted light intensity changing with time. This transmitted light intensity function takes into account the frequency variation of light; as the frequency changes, the light intensity also changes. By fitting the absorption spectrum based on this transmitted light intensity function, the fitting accuracy of the absorption spectrum at different frequencies can be improved, thus reducing the error in the inverted concentration and improving its accuracy.
[0012] Secondly, this application provides a gas concentration detection device, comprising: a signal acquisition module for acquiring the intensity of transmitted light emitted from an optical resonant cavity and determining a transmitted light intensity function, wherein the transmitted light intensity function represents the change of transmitted light intensity over time; a signal fitting module for fitting the medium within the optical resonant cavity based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity to obtain the absorption spectrum of the medium; and a concentration inversion module for inverting the gas concentration of the medium based on the absorption spectrum.
[0013] Thirdly, this application provides an electronic device including a memory and one or more processors. The memory stores one or more computer programs, each including instructions that, when executed by the processor, cause the electronic device to perform the gas concentration detection method as described in the first aspect.
[0014] Fourthly, this application provides a computer-readable medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the gas concentration detection method as described in the first aspect.
[0015] Fifthly, this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the gas concentration detection method as described in the first aspect.
[0016] Understandably, the beneficial effects achieved by the gas concentration detection device, electronic equipment, computer-readable medium, and computer program products provided above can be referred to the beneficial effects in the first aspect, and will not be repeated here. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0018] Figure 2 This is a schematic diagram illustrating an application scenario of the gas concentration detection method provided in the embodiments of this application;
[0019] Figure 3 This is a schematic flowchart of the gas concentration detection method provided in the embodiments of this application;
[0020] Figure 4 A graph illustrating the gas concentration detection method provided in the embodiments of this application;
[0021] Figure 5 This is a frame diagram of the gas concentration detection device provided in the embodiments of this application. Detailed Implementation
[0022] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. For example, "first chip" and "second chip" are only used to distinguish different chips and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" do not necessarily imply that they are different. It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. In the embodiments of this application, "at least one" means one or more, and "more than one" means two or more.
[0023] It should be noted that "at the time of..." in the embodiments of this application can be either at the instant when a certain situation occurs, or for a period of time after the occurrence of a certain situation. The embodiments of this application do not make specific limitations on this.
[0024] The electromagnetic spectrum is a special band within the electromagnetic spectrum, divided into ultraviolet, visible, and infrared bands. When light passes through a gas, gas molecules selectively absorb photons, causing them to transition from lower to higher energy states. Therefore, the intensity of light decreases after passing through a gas due to absorption by the gas molecules. By detecting the change in light intensity before and after passing through a gas, the absorption spectrum of the gas can be determined, and thus the gas concentration can be deduced.
[0025] Related techniques employ the Voigt line shape function to fit the absorption spectrum. When using the Voigt line shape function, it is typically assumed that the characteristic frequency of the optical resonator is much higher than the highest frequency component of the absorption signal, and that the optical resonator does not act as a low-pass filter for the absorption signal. As the laser scanning frequency increases, the fitting quality of the Voigt line shape function will decrease.
[0026] Based on this, this embodiment provides a gas concentration detection method that can adapt to different frequencies and improve the accuracy of fitting the absorption spectrum. This gas concentration detection method can be executed by electronic devices such as personal computers (PCs), tablets, virtual reality / augmented reality devices, or mobile phones, wearable devices, servers, etc., and this embodiment does not impose any special limitations on it.
[0027] Figure 1 A schematic diagram of the structure of an electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 1 The electronic device 100 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0028] like Figure 1 As shown, the electronic device 100 includes a central processing unit (CPU) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage section 108 into a random access memory (RAM) 103. The RAM 103 also stores various programs and data required for system operation. The CPU 101, ROM 102, and RAM 103 are interconnected via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0029] I / O interface 105 can also connect to the following components: input section 106, such as a keyboard and mouse; output section 107, including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; storage section 108, including, for example, a hard disk; and communication section 109, including, for example, a network interface card such as a LAN card and a modem. Communication section 109 performs communication processing via a network such as the Internet. Drive 110 is also connected to I / O interface 105 as needed. Removable media 111, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 110 as needed so that computer programs read from them can be installed into storage section 108 as needed.
[0030] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 109, and / or installed from removable medium 111. When the computer program is executed by central processing unit (CPU) 101, the gas concentration detection method of the embodiments of this application is performed.
[0031] Figure 2 A system architecture diagram of an application scenario according to an embodiment of this application is shown. For example... Figure 2 As shown, the system 200 may include a detection device and electronic equipment 100.
[0032] The detection device can detect optical signals and convert them into electrical signals, which are then sent to the electronic device 100. For example, the detection device specifically includes the following modules:
[0033] Signal generator 1, laser controller 2, laser 3, collimator 4, window glass 5, front high-reflection mirror 6, rear high-reflection mirror 7, focusing lens 8, photodetector 9, and data acquisition unit 10.
[0034] The rectangular cavity between the front high-reflection mirror 6 and the rear high-reflection mirror 7 is an optical resonant cavity. The gas to be detected can enter and exit the optical resonant cavity through the inlet and outlet ports on the side of the optical resonant cavity.
[0035] Signal generator 1 can receive a signal with a specific function waveform output by electronic device 100 and input the signal to laser controller 2. The specific function waveform may include a triangular wave signal, etc. Electronic device 100 can also control the scanning frequency of signal generator 1, which may include 50 Hz, 150 Hz, 300 Hz, etc.
[0036] Laser controller 2 controls laser 3 to emit light, which can be a periodic light signal with a specific function waveform. After being collimated by laser collimator 4, the light signal is coupled off-axis into the optical resonant cavity. After passing through the front high-reflection mirror 6 of the optical resonant cavity, a portion of the light signal undergoes multiple reflections within the cavity. After multiple reflections, the light signal is transmitted through the rear high-reflection mirror 7. The transmitted light signal is focused by focusing lens 8 and then enters photodetector 9.
[0037] The photodetector 9 can be an indium gallium arsenide photodetector, capable of converting optical signals into electrical signals. The data acquisition unit 10 can be a microcontroller with A / D or D / A conversion capabilities. The data acquisition unit 10 can acquire data from the photodetector 9, perform A / D conversion, and output the converted signal to the electronic device 100.
[0038] After receiving the signal sent by the data acquisition unit 10, the electronic device 100 can use the received signal to detect the gas concentration.
[0039] Figure 3 A schematic flowchart of the gas concentration detection method provided in the embodiments of this application is shown.
[0040] like Figure 3 As shown, the gas concentration detection method may include the following steps:
[0041] S31: Collect the transmitted light intensity from the optical resonant cavity and determine the transmitted light intensity function, which is used to represent the change of transmitted light intensity with time.
[0042] The electronic device 100 can acquire the transmitted light intensity emitted from the optical resonant cavity through the aforementioned detection device, and determine the function of transmitted light intensity changing with time, i.e., the transmitted light intensity function, based on the acquired transmitted light intensity. To fit the absorption coefficient of the medium, a periodic signal containing a complete absorption peak can be extracted from the acquired transmitted light signal as the transmitted light intensity.
[0043] Since the original transmitted light signal collected contains noise, it is necessary to fit the transmitted light intensity.
[0044] The transmitted light intensity is related to the light intensity within the optical resonant cavity. Specifically, the change in light intensity within the optical resonant cavity over time, dI / dt, can be expressed as:
[0045]
[0046] Where P(t) is the power of laser 3, T is the transmittance of the high-reflectivity mirror, and τ(t) is the time constant at time t.
[0047] In this embodiment, the light frequency changes with time, and different frequencies of light correspond to different time constants, which also change with time. The above formula (1) takes into account the different frequencies of light inside the cavity, and can more accurately simulate the change in light intensity.
[0048] The time constant τ(t) can be expressed as:
[0049] τ(t)=L / C(1-R+α(υ(t))L) (2)
[0050] Where α is the absorption coefficient of the medium inside the optical resonant cavity, R is the reflectivity of the optical resonant cavity, υ(t) is the frequency as a function of time, L is the length of the optical resonant cavity, and C is the speed of light.
[0051] The transmitted light intensity is related to the incident light intensity and transmittance of the optical resonator. For example, determining the transmitted light intensity function includes: determining the incident light intensity function, which represents the change of incident light intensity over time; and then determining the transmitted light intensity function based on the transmittance of the optical resonator and the incident light intensity function.
[0052] Assuming that the power of the incident light remains constant over a time interval Δt, the incident light intensity function can be expressed as:
[0053] I0=P(t′)Δt (3)
[0054] P(t′) is the power of the incident light at time t′ within the time interval Δt.
[0055] Under the influence of a highly reflective mirror, the intensity of the incident light entering the optical resonant cavity is TP(t′)Δt. After the light enters the optical resonant cavity, according to the light attenuation effect, the intensity of the light inside the cavity decreases with time, and the attenuation exponent is... Therefore, the light intensity within the time cavity is: This can be called the cavity response function. To determine the light intensity inside the cavity after a time interval Δt, we can use the cavity response function... Integrating, the change in intracavity light intensity between time t′ and t′+Δt is:
[0056]
[0057] At any time point t after the time interval Δt, the light intensity inside the cavity can be expressed as:
[0058]
[0059] Formula (5) can represent the evolution of light in the cavity as time changes from t′ to t.
[0060] According to the law of conservation of energy, light will escape after entering the optical cavity, so the intensity of transmitted light at time t can be expressed as:
[0061]
[0062] To ensure continuous transmitted light intensity, Δt can be made infinitesimally small. This can be achieved using the Maclaurin expansion. By simultaneously making Δt approach infinitesimal dt, the Riemann integral of formula (6) can be obtained:
[0063]
[0064] Formula (7) can be used to simulate the intensity of light transmitted through the cavity at any given time. Based on this formula (7), the absorption coefficient α can be fitted.
[0065] Next, S32: Based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity, the medium in the optical resonant cavity is fitted to obtain the absorption spectrum of the medium.
[0066] The absorption coefficient of the medium satisfies the following relationship:
[0067]
[0068] Among them, I out I0 is the intensity of transmitted light, and I0 is the intensity of incident light.
[0069] Incident light intensity refers to the power of the incident light, which can be set by the electronic device 100 or determined by the laser controller 2.
[0070] For example, S22 may specifically include: obtaining the incident light intensity of the optical resonator by fitting a second-order polynomial; and determining the absorption spectrum of the medium based on the incident light intensity and the transmitted light intensity.
[0071] To reduce the influence of the baseline signal of the optical resonator, a second-order polynomial can be used to fit the incident light baseline. The fitted signal can then be used as the incident light intensity, which can reduce the fitting error.
[0072] The power of the incident light is determined by a laser, and then the baseline of the incident light is fitted to obtain the change in incident light intensity over time, including the baseline; this is the incident light intensity function. The optical resonant cavity contains multiple lasers of different frequencies, each with varying intensity. The incident light intensity function obtained through fitting can capture the incident light intensity at any given time. In this embodiment, the power of the incident light changes over time, more closely approximating the actual frequency of the laser, resulting in a more accurate fitted absorption coefficient.
[0073] For example, by fitting a quadratic polynomial to the incident light, the incident light intensity function can be obtained. The specific representation is as follows:
[0074]
[0075]
[0076] In the matrix above, each row represents the frequency change over time, and the sum of each column represents the total power of light at all frequencies. A specific frequency v in the cavity... i Power P v The loss decreases as photons pass through the mirror and are absorbed by the gas. The loss τ per unit time... * It can be represented as:
[0077] τ * =exp (-dt / τ) (9)
[0078] Then, the absorption coefficient of the medium is determined based on the incident light intensity and the transmitted light intensity; the absorption coefficient is fitted using a target fitting function to obtain the absorption spectrum of the medium.
[0079] After obtaining the incident light intensity at any time through the polynomial fitting described above, the incident light intensity can be removed from the transmitted light intensity using formula (8) to obtain the value of the absorption coefficient α. Then, the change of the absorption coefficient with time, i.e., the absorption spectrum, is fitted using the target fitting function and the calculated value of the absorption coefficient. In this embodiment, the target fitting function is a pre-determined fitting function. Determining the target fitting function may include:
[0080] The first peak value of the absorption coefficient is calculated based on the transmitted light intensity and the incident light intensity. The absorption coefficient is then fitted based on a preset initial fitting function to obtain the second peak value of the fitted absorption coefficient. The initial fitting function is adjusted based on the difference between the first peak value and the second peak value to obtain the target fitting function.
[0081] The first peak value of the absorption coefficient can be calculated using formula (8). The second peak value can be derived from the initial fitting function, and the second peak value can be the absorption coefficient at the same time as the first peak value. For example, an initial fitting function is predetermined, such as an initial fitting function that introduces a slope coefficient based on the VOOTT linear function. This slope coefficient can be determined based on the difference between the second peak value and the first peak value obtained from the VOOTT linear function. For example, if the second peak value of the VOOTT linear function is greater than the first peak value, then the slope coefficient can include a negative constant. Then, by using the second peak value of the fitting function including the slope coefficient, and the difference between the second peak value and the first peak value, the fitting function is continuously adjusted to determine the final target fitting function.
[0082] For example, the process of adjusting the initial fitting function may include multiple adjustments. After each adjustment, the difference between the second peak and the first peak of the adjusted initial fitting function is redefined. Based on this difference, the initial fitting function is adjusted again until the difference equals 0 or is less than a preset value. The final initial fitting function obtained is the target fitting function. In other words, the target fitting function can be the function that minimizes the difference between the first peak and the second peak.
[0083] For example, the target fitting function can be:
[0084]
[0085] Where L is the optical cavity length in cm, γ L and γ d These are the Lorentz half-width and the Doppler half-width, respectively, and K is the Voigt linear function. This can be called the tilt coefficient. The value of the tilt coefficient can be determined through fitting, for example, the values of coefficients a, b, c, and d.
[0086] S ηη′ It is the spectral line intensity of the transition between states η and η′, and the unit is cm. -1 / (molecules·cm -2 S ηη′ It can be represented as:
[0087]
[0088] Among them, T o It is the temperature of the medium being measured; T ref The reference temperature defining the line intensity (typically 296 K); c2 is the second radiation constant hc / k; Q(T) is the sum of the internal partitions, also known as the total partition function; E η It is a lower state energy.
[0089] Under pressure p and temperature T o The Lorentz half-width of the lower gas can be determined by the following formula (12):
[0090]
[0091] Where n is the temperature dependence coefficient of the air broadening half-width, γ air Add half a width to the air.
[0092] The Doppler half-width is given by the following formula (13):
[0093]
[0094] Where k is the Boltzmann constant, m is the mass of the molecule, and C is the speed of light.
[0095] Combining formulas (10) to (13), the mapping relationship satisfied by the absorption coefficient α can be determined, i.e., the absorption spectrum of the medium. After fitting the absorption spectrum, the residual between the absorption spectrum and the original absorption coefficient can be calculated. The fitting accuracy can be determined through the residual. For example, the absorption spectrum is fitted under scanning signals of different frequencies to obtain fitting results at different frequencies. For instance, the absorption coefficient is fitted under scanning signal frequencies of 150Hz, 200Hz, and 300Hz to obtain the corresponding absorption spectra. (Reference) Figure 4 Curve 1 shows the residual between the absorption coefficient fitted using the target fitting function, i.e., formula (10), and the original absorption coefficient. Curve 2 shows the residual between the absorption coefficient fitted using the VOOTT line shape function and the original absorption coefficient. When the scanning signal is 150Hz, the fitted residual is as follows: Figure 4 As shown in (a); when the scanning signal is 200Hz, the fitting residual is as follows: Figure 4 As shown in (b), when the scanning signal is 300Hz, the fitting residual is as follows: Figure 4 As shown in (c) above, it can be seen that the residual between the target fitting function and the original absorption coefficient is smaller, indicating higher fitting accuracy.
[0096] Continue to refer to Figure 3 S33: Determine the gas concentration of the medium based on the absorption spectrum.
[0097] After obtaining the absorption spectrum, the area A of the absorption spectrum can be determined. S Then, based on the area A of the absorption spectrum... S With gas concentration c c The relationship between the gas concentration c is used to determine the gas concentration c. c According to Beer-Lambert's law, the gas concentration c c It can be represented as:
[0098]
[0099] Where b and t are the fitting coefficients, which can be determined through calibration experiments. After obtaining the corresponding fitting coefficients, the gas concentration of the medium can be obtained from the measured spectral line area.
[0100] In this embodiment, by using different time constants to fit the absorption spectrum of the gas, the actual change in light intensity within the cavity is more closely approximated, which can improve the fitting accuracy at different frequencies.
[0101] Furthermore, this embodiment also provides a gas concentration detection device, which can be used to perform the above-described gas concentration detection method. For example... Figure 5 As shown, the gas concentration detection device 50 may include:
[0102] The signal acquisition module 51 is used to acquire the transmitted light intensity from the optical resonant cavity and determine the transmitted light intensity function, which represents the change of transmitted light intensity with time; the signal fitting module 52 is used to fit the medium in the optical resonant cavity based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity to obtain the absorption spectrum of the medium; the concentration inversion module 53 is used to invert the gas concentration of the medium based on the absorption spectrum.
[0103] According to the gas concentration detection device of this embodiment, the transmitted light intensity transmitted from the optical resonant cavity is collected to determine the function of transmitted light intensity changing with time. This transmitted light intensity function takes into account the frequency change of light; as the frequency changes, the light intensity also changes. When fitting the absorption spectrum based on this transmitted light intensity function, the fitting accuracy of the absorption spectrum at different frequencies can be improved, thereby increasing the accuracy of the absorption spectrum fitting, reducing the error in the inverted concentration, and improving the accuracy of the inverted concentration.
[0104] In one exemplary embodiment, the signal fitting module 52 may specifically include: an incident light fitting module, used to obtain the incident light intensity of the optical resonant cavity by fitting with a second-order polynomial; and an absorption spectrum fitting module, used to determine the absorption spectrum of the medium in the optical resonant cavity based on the incident light intensity and the transmitted light intensity function.
[0105] In one exemplary embodiment, the absorption spectrum fitting module can be specifically used to: determine the absorption coefficient of the medium based on the incident light intensity and the transmitted light intensity; and fit the absorption coefficient using a target fitting function to obtain the absorption spectrum of the medium.
[0106] In one exemplary embodiment, the gas concentration detection device further includes: an initial value determination module, configured to determine a first peak value of the absorption coefficient based on the transmitted light intensity and the incident light intensity; a fitting value determination module, configured to fit the absorption coefficient based on a preset initial fitting function to obtain a second peak value of the fitted absorption coefficient; and a difference determination module, configured to adjust the initial fitting function based on the difference between the first peak value and the second peak value to obtain a target fitting function.
[0107] The specific details of each module or unit in the above-mentioned gas concentration detection device have been described in detail in the corresponding gas concentration detection method, so they will not be repeated here.
[0108] This application also provides an electronic device that may include a processor and a memory, the memory storing one or more computer programs. The computer programs may include instructions that, when executed by the electronic device, cause the electronic device to implement the gas concentration detection method as described in the above embodiments.
[0109] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which include instructions that, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.
[0110] It should be noted that the computer-readable medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0112] The units described in the embodiments of this disclosure can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the unit itself.
[0113] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0114] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for detecting gas concentration, characterized in that, include: The intensity of transmitted light transmitted from the optical resonant cavity is collected, and the intensity function of transmitted light is determined. The intensity function of transmitted light is used to represent the change of transmitted light intensity with time. Based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity, the medium within the optical resonant cavity is fitted to obtain the absorption spectrum of the medium, including: The incident light intensity of the optical resonator was obtained by fitting a second-order polynomial. Based on the incident light intensity and the transmitted light intensity function, the absorption spectrum of the medium within the optical resonant cavity is determined, including: The absorption coefficient of the medium is determined based on the incident light intensity and the transmitted light intensity. The absorption coefficient is fitted using a target fitting function to obtain the absorption spectrum of the medium; The gas concentration of the medium can be deduced from the absorption spectrum. The target fitting function is: Where L is the optical cavity length; γ L and γ d These are the Lorentz half-width and Doppler half-width, respectively; K is the Voigt linearity function; The values of a, b, c, and d are determined by fitting, representing the tilt coefficients; S ηη′ For states η and η ′ The intensity of the spectral lines transitioning between them.
2. The gas concentration detection method according to claim 1, characterized in that, Before fitting the absorption coefficient with the target fitting function, the method further includes: The first peak value of the absorption coefficient is determined based on the transmitted light intensity and the incident light intensity. The absorption coefficient is fitted based on a preset initial fitting function to obtain the second peak value of the fitted absorption coefficient; Based on the difference between the first peak value and the second peak value, the initial fitting function is adjusted to obtain the target fitting function.
3. The gas concentration detection method according to claim 1, characterized in that, The process of acquiring the intensity of transmitted light from the optical resonant cavity and determining the transmitted light intensity function includes: Determine the incident light intensity function, which represents the change of the incident light intensity over time; The transmitted light intensity function is determined based on the transmittance of the optical resonant cavity and the incident light intensity function.
4. A gas concentration detection device, characterized in that, For performing the gas concentration detection method as described in any one of claims 1-3, comprising: The signal acquisition module is used to acquire the intensity of transmitted light from the optical resonant cavity and determine the transmitted light intensity function, which represents the change of transmitted light intensity over time. The signal fitting module is used to fit the medium in the optical resonant cavity based on the transmitted light intensity function and the incident light intensity of the optical resonant cavity to obtain the absorption spectrum of the medium. The concentration inversion module is used to invert the gas concentration of the medium based on the absorption spectrum.
5. An electronic device, characterized in that, The device includes a processor and a memory, the memory storing one or more computer programs, the one or more computer programs including instructions that, when executed by the electronic device, cause the electronic device to perform the gas concentration detection method according to any one of claims 1-3.
Citation Information
Patent Citations
Intermediate infrared absorption spectra based method for multi-component mixed gas qualitative and quantitative analysis and system thereof
CN102539377A
Method for correcting temperature measurement result of radiation pyrometer in high-temperature high-pressure gas medium
CN110207831A