[go: up one dir, main page]

CN115979997B - A phase-locked amplification method based on linear convolution in TDLAS gas detection - Google Patents

A phase-locked amplification method based on linear convolution in TDLAS gas detection Download PDF

Info

Publication number
CN115979997B
CN115979997B CN202211654671.0A CN202211654671A CN115979997B CN 115979997 B CN115979997 B CN 115979997B CN 202211654671 A CN202211654671 A CN 202211654671A CN 115979997 B CN115979997 B CN 115979997B
Authority
CN
China
Prior art keywords
convolution
phase
gas detection
sequence
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211654671.0A
Other languages
Chinese (zh)
Other versions
CN115979997A (en
Inventor
蓝丽娟
王一博
阳春华
桂卫华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Original Assignee
Central South University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University filed Critical Central South University
Priority to CN202211654671.0A priority Critical patent/CN115979997B/en
Publication of CN115979997A publication Critical patent/CN115979997A/en
Application granted granted Critical
Publication of CN115979997B publication Critical patent/CN115979997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/20Air quality improvement or preservation, e.g. vehicle emission control or emission reduction by using catalytic converters

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

本发明公开了一种TDLAS气体检测中基于线性卷积的锁相放大方法,该方法将气体分子吸收光谱信号与正/余弦参考信号进行线性卷积,利用线性卷积中积分器的低通滤波特性可将卷积序列中的高频项近似为0,最后经过平方和即可获取多次谐波信号。本发明通过较为简便的方法实现了锁相放大功能,相比传统锁相放大方法,计算速度更快,占用资源更少。

The present invention discloses a phase-locked amplification method based on linear convolution in TDLAS gas detection. The method linearly convolves the gas molecule absorption spectrum signal with the sine/cosine reference signal, and uses the low-pass filtering characteristics of the integrator in the linear convolution to approximate the high-frequency terms in the convolution sequence to 0, and finally obtains multiple harmonic signals through square sum. The present invention realizes the phase-locked amplification function through a relatively simple method, and has faster calculation speed and less resource occupation than the traditional phase-locked amplification method.

Description

Phase-locked amplifying method based on linear convolution in TDLAS gas detection
Technical Field
The invention relates to the technical field of gas detection, in particular to a phase-locked amplification method based on linear convolution in TDLAS gas detection.
Background
With the rapid development of industry, new requirements are continuously put forward in the field of gas detection, such as industrial gas detection, vehicle tail gas detection, medicine bottle residual oxygen detection and the like.
At present, the tunable diode laser absorption spectrum (Tunable Diode Laser Absorption Spectroscopy, TDLAS) technology is an ideal high-sensitivity rapid trace gas detection method and is widely applied to various gas detection fields. The wavelength modulation spectrum (WAVELENGTH MODULATION SPECTROSCOPY, WMS) technology is often used in combination with the TDLAS technology, so that the detection system has an extremely high noise suppression capability. In a trace gas detection system based on the TDLAS-WMS technology, the phase-locked amplification technology plays a crucial role. Specifically, by using the lock-in amplification technology, multiple harmonics can be demodulated from the absorption spectrum signal by setting a reference signal, which becomes an important basis for gas analysis. Therefore, lock-in amplification technology plays a very important role in TDLAS-WMS based gas detection systems.
The existing phase-locked amplifying method mainly adopts a quadrature phase-locked method, but the method needs two-way multiplication and two-way low-pass filters, and when hardware resources are limited, the problems of performance degradation or filter order difficulty are solved.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a phase-locked amplification method based on linear convolution in TDLAS gas detection so as to realize harmonic extraction of gas absorption spectrum signals, and compared with a quadrature phase-locked amplification method, the phase-locked amplification method has less calculation resource occupation.
For this purpose, the invention adopts the following specific technical scheme:
A phase-locked amplifying method based on linear convolution in TDLAS gas detection comprises the following steps of 1, carrying out linear convolution on a gas molecule absorption spectrum signal and a sine/cosine reference signal, 2, approximating a high-frequency item in a convolution sequence to 0 by utilizing a low-pass filter characteristic of an integrator in the linear convolution, and 3, obtaining a plurality of harmonic signals through square sum.
In a possible design, step 1 further includes performing signal acquisition on the absorption spectrum signal at a sampling rate f s, and performing fourier expansion on the expression and representing the expression as a discrete sequence, where the following formula is shown:
Wherein I is the original light intensity, v 0 is the scanning wavelength amplitude, v m is the modulating wavelength amplitude, ω is the high-frequency cosine signal frequency, H r is the Fourier expansion series, and phi r is the Fourier expansion r-stage phase.
In one possible design, in step 1, the set sine/cosine reference signals are respectively: and carrying out linear convolution on the absorption spectrum signal discrete sequence and the reference signal discrete sequence to obtain two paths of convolution sequences X (n) and Y (n).
In one possible design, in step 2, when the high frequency sinusoidal signal frequency in the modulated signal is high enough (i.e., ω is large enough) and the sampling rate is sufficient, the following is taken as a divisor:
in one possible design, in step 2, the convolution sequence X (n) and the convolution sequence Y (n) may be approximated by the following formula:
in one possible design, in step 3, the sum of squares is applied to the two convolution sequences X (n) and Y (n) to obtain a discrete sequence Z (n) expressed as:
in one possible design, in step 3, the discrete sequence Z (n) is the k-th harmonic.
The invention also provides a gas detection device based on the TDLAS-WMS technology, which comprises a memory, a control processor and a computer program which is stored in the memory and can run on the control processor, wherein the control processor executes the program to realize the phase-locked amplifying method.
The invention also provides a gas detection system which comprises the gas detection device based on the TDLAS-WMS technology.
The present invention also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the aforementioned lock-in amplification method.
Compared with the prior art, the invention has the beneficial effects that:
The method has the beneficial effects that the method is rapid and accurate, can realize phase-locked demodulation of the absorption spectrum signals, and provides technical support for analyzing trace gas. Compared with a phase-locked amplifying method based on quadrature demodulation, the method does not need to be processed by a low-pass filter, and is faster in calculation speed and less in occupied resources.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flow chart of an embodiment of a phase-locked amplification method based on linear convolution in TDLAS gas detection according to the present invention;
Fig. 2 shows the first to fourth harmonics demodulated in the embodiment of the phase-locked amplifying method based on linear convolution in TDLAS gas detection according to the present invention.
Detailed Description
For the purpose of further illustrating the various embodiments, the present invention provides the accompanying drawings, which are a part of the disclosure of the present invention, and which are mainly used to illustrate the embodiments and, together with the description, serve to explain the principles of the embodiments, and with reference to these descriptions, one skilled in the art will recognize other possible implementations and advantages of the present invention, wherein elements are not drawn to scale, and like reference numerals are generally used to designate like elements.
The phase-locked amplifying method based on linear convolution for the TDLAS gas detection system provided by the embodiment comprises the following steps:
A set of gas detection system based on the TDLAS-WMS technology is built, a superposition signal of a low-frequency slope signal and a high-frequency cosine signal is used as a current modulation signal of a laser, and under the modulation mode, the laser light intensity output by the laser can be expressed as follows:
The laser is transmitted in free space and is absorbed by the gas to be detected, a photoelectric detector is arranged to convert an optical signal into an electric signal, and the spectral signal expression after gas absorption is as follows:
The signals are collected, the sampling rate is set to fs, and an N-point absorption spectrum signal discrete sequence I t (N) is obtained, and the expression is as follows:
setting sine/cosine k frequency-doubled reference signal sin (kωt)/cos (kωt), at a sampling rate fs, the discrete sequence of two reference signals can be expressed as:
the reference signal discrete sequence takes only one period, so the length of the discrete sequence is
Discrete sequence of absorption spectrum signal I t (n) and discrete sequence of sine reference signalPerforming linear convolution to obtain a convolution sequence X (n), wherein the expression is as follows:
To analyze the result of the above-described discrete sequence expansion, the absorbance spectrum signal is now fourier-expanded, and the following expression can be obtained:
representing the modified fourier expansion as a discrete sequence yields the following expression:
the convolution sequence X (n) can be expressed as:
It is known that an integrator can be simply considered as a low-pass filter, and when the frequency of the high-frequency sinusoidal signal in the modulated signal is high enough (i.e., ω is large enough) and the sampling rate is large enough, it can be divided into the following terms:
The convolution sequence X (n) may be approximated by:
discrete sequence of absorption spectrum signal I t (n) and discrete sequence of cosine reference signal Performing linear convolution to obtain a convolution sequence Y (n), wherein the expression is as follows:
With the convolution sequence X (n), fourier expansion is carried out on the absorption spectrum signal sequence items in the convolution sequence Y (n), and the expression of the convolution sequence Y (n) can be obtained as follows:
With the convolution sequence X (n), the convolution sequence Y (n) can also be approximated by the following expression due to the low-pass filtering function of the integrator:
Further, in order to finally realize the phase-locked amplifying function, the square sum of the two convolution sequences X (n) and Y (n) is performed to obtain a discrete sequence Z (n), and the expression is as follows:
Referring to the approximate expression of the convolution sequence X (n) and the convolution sequence Y (n), the discrete sequence Z (n) may be approximated as follows:
because the filter function of the integrator is limited, partial high-frequency noise still can exist in the obtained discrete signal, and the discrete sequence is k times of harmonic waves.
The invention also provides a gas detection device based on the TDLAS-WMS technology, which comprises a memory, a control processor and a computer program which is stored in the memory and can run on the control processor, wherein the control processor executes the program to realize the phase-locked amplifying method.
The invention also provides a gas detection system which comprises the gas detection device based on the TDLAS-WMS technology. The present invention also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the aforementioned lock-in amplification method. Examples of computer readable storage media include read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, nonvolatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, blu-ray or optical disk memory, hard Disk Drive (HDD), solid State Disk (SSD), card memory (such as a multimedia card, secure Digital (SD) card, or ultra-digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, hard disk, solid state disk, and any other device configured to store and provide and any associated data, data files and data structures to and to a computer program or processor or to cause the computer to execute the computer program or data storage.
In one example, the computer program and any associated data, data files, and data structures are distributed across networked computer systems such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed manner by one or more processors or computers.
The method has the beneficial effects that the method is rapid and accurate, can realize phase-locked demodulation of the absorption spectrum signals, and provides technical support for analyzing trace gas. Compared with a phase-locked amplifying method based on quadrature demodulation, the method does not need to be processed by a low-pass filter, and is faster in calculation speed and less in occupied resources.
Specifically, steam is selected as the gas to be measured, and the operation flow is shown in fig. 1.
Firstly, an experimental platform is built, and a steam laser, a laser controller ITC4001, a laser detector PDA10DTEC, a data acquisition card USB-6361 and a PC are connected according to requirements.
Setting 185mv-265mv and 10Hz sawtooth wave plus 20mv 6kHz sine wave as control current signals of a laser, stabilizing and outputting laser with a wave band 1392.45-1392.55 nm, absorbing the emitted laser by water vapor in air, receiving the laser by a laser detector PDA10DTEC, collecting the received gas absorption spectrum signals by a data collecting card, setting the sampling rate to 300K, and transmitting the collected signals to a PC for further data processing.
The sine/cosine reference signals with 1/2/3/4 frequency multiplication (6 kHz/12kHz/18kHz/24 kHz) are respectively taken, the discrete sequence of each reference signal under 300K sampling rate is obtained, and only one period is taken.
The acquired absorption spectrum signal discrete sequence is respectively linearly convolved with each frequency-doubled sine/cosine reference signal discrete sequence to respectively obtain two paths of signals corresponding to different orders X1(n)、Y1(n)/X2(n)、Y2(n)/X3(n)、Y3(n)/X4(n)、Y4(n).
And respectively performing square sum operation on the two paths of signals to obtain a discrete sequence Z 1(n)、Z2(n)、Z3(n)、Z4 (n) which is 1/2/3/4 th harmonic.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood and appreciated by those skilled in the art.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (5)

1.一种TDLAS气体检测中基于线性卷积的锁相放大方法,其特征在于,包括以下步骤,步骤1,将气体分子吸收光谱信号与正/余弦参考信号进行线性卷积;步骤2,利用线性卷积中积分器的低通滤波特性可将卷积序列中的高频项近似为0,步骤3,经过平方和的平方根即可获取多次谐波信号,步骤1还包括在采样率fs为下,对吸收光谱信号进行信号采集,对表达式进行傅里叶展开并表示为离散序列,如下式所示:1. A phase-locked amplification method based on linear convolution in TDLAS gas detection, characterized in that it includes the following steps: step 1, linearly convolving the gas molecule absorption spectrum signal with the sine/cosine reference signal; step 2, using the low-pass filtering characteristics of the integrator in the linear convolution to approximate the high-frequency terms in the convolution sequence to 0; step 3, obtaining multiple harmonic signals through the square root of the sum of squares, step 1 also includes signal acquisition of the absorption spectrum signal at a sampling rate of fs , Fourier expansion of the expression and expressing it as a discrete sequence, as shown in the following formula: 其中,I为原始光强,v0为扫描波长幅度,vm为调制波长幅度,ω为高频余弦信号频率,Hr为傅里叶展开级数,φr为傅里叶展开r级相位,步骤1中,设置正/余弦参考信号分别为:将吸收光谱信号离散序列与参考信号离散序列进行线性卷积得到两路卷积序列X(n)和Y(n),步骤2中,当调制信号中的高频正弦信号频率足够高,且采样率足够时,作如下的约分:Where I is the original light intensity, v0 is the scanning wavelength amplitude, vm is the modulation wavelength amplitude, ω is the high-frequency cosine signal frequency, Hr is the Fourier expansion series, φr is the Fourier expansion r-level phase. In step 1, the sine/cosine reference signals are set as follows: The absorption spectrum signal discrete sequence is linearly convolved with the reference signal discrete sequence to obtain two convolution sequences X(n) and Y(n). In step 2, when the frequency of the high-frequency sinusoidal signal in the modulation signal is high enough and the sampling rate is sufficient, the following reduction is performed: 步骤2中,卷积序列X(n)与卷积序列Y(n)可近似为下式:In step 2, the convolution sequence X(n) and the convolution sequence Y(n) can be approximated as follows: 步骤3中,对两卷积序列X(n)与Y(n)做平方和的平方根,得到离散序列Z(n),其表达式为:In step 3, the square root of the sum of the squares of the two convolution sequences X(n) and Y(n) is taken to obtain the discrete sequence Z(n), which is expressed as: 2.根据权利要求1所述的一种TDLAS气体检测中基于线性卷积的锁相放大方法,其特征在于,步骤3中,离散序列即为k次谐波。2. According to a phase-locked amplification method based on linear convolution in TDLAS gas detection according to claim 1, it is characterized in that in step 3, the discrete sequence is the kth harmonic. 3.一种基于TDLAS-WMS技术的气体检测装置,其特征在于,包括存储器、控制处理器及存储在所述存储器上并可在所述控制处理器上运行的计算机程序,所述控制处理器执行所述程序,以实现如权利要求1-2任一项所述的锁相放大方法。3. A gas detection device based on TDLAS-WMS technology, characterized in that it includes a memory, a control processor, and a computer program stored in the memory and executable on the control processor, wherein the control processor executes the program to implement the phase-locked amplification method as described in any one of claims 1 to 2. 4.一种气体检测系统,其特征在于,包括权利要求3所述的基于TDLAS-WMS技术的气体检测装置。4. A gas detection system, characterized in that it comprises the gas detection device based on TDLAS-WMS technology as described in claim 3. 5.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如权利要求1-2任一项所述的锁相放大方法。5. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the phase-locked amplification method as described in any one of claims 1-2.
CN202211654671.0A 2022-12-22 2022-12-22 A phase-locked amplification method based on linear convolution in TDLAS gas detection Active CN115979997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211654671.0A CN115979997B (en) 2022-12-22 2022-12-22 A phase-locked amplification method based on linear convolution in TDLAS gas detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211654671.0A CN115979997B (en) 2022-12-22 2022-12-22 A phase-locked amplification method based on linear convolution in TDLAS gas detection

Publications (2)

Publication Number Publication Date
CN115979997A CN115979997A (en) 2023-04-18
CN115979997B true CN115979997B (en) 2025-03-18

Family

ID=85969449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211654671.0A Active CN115979997B (en) 2022-12-22 2022-12-22 A phase-locked amplification method based on linear convolution in TDLAS gas detection

Country Status (1)

Country Link
CN (1) CN115979997B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116609293B (en) * 2023-06-05 2024-09-20 中南大学 Wavelength modulation harmonic signal acquisition method based on linear convolution

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062312A (en) * 2021-10-24 2022-02-18 中南大学 A lock-in amplification method and system in TDLAS gas detection

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107255627B (en) * 2017-05-15 2020-03-31 东南大学 Gas concentration measuring method based on series expansion and detection device thereof
CN110426370B (en) * 2018-12-11 2021-11-30 中国航空工业集团公司北京长城计量测试技术研究所 TDLAS line type fitting method based on direct mode
CN110160989B (en) * 2019-05-29 2020-08-28 中国科学技术大学 A kind of detection method and detection device of trace gas
CN111829982A (en) * 2020-08-07 2020-10-27 临沂市安福电子有限公司 Multi-component gas concentration detection and temperature error correction method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062312A (en) * 2021-10-24 2022-02-18 中南大学 A lock-in amplification method and system in TDLAS gas detection

Also Published As

Publication number Publication date
CN115979997A (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN115979997B (en) A phase-locked amplification method based on linear convolution in TDLAS gas detection
Asmerom et al. Solar forcing of Holocene climate: New insights from a speleothem record, southwestern United States
CN102346137B (en) Gas concentration measuring device
CN207198034U (en) Tera-hertz spectra analysis system and equipment
CN207730661U (en) Gas component detection device
CN114062312B (en) Phase-locked amplification method and system in TDLAS gas detection
CN111537470A (en) A TDLAS gas concentration detection method based on digital modulation
CN114545079A (en) Resonance detection method, device and equipment for photovoltaic grid-connected system and storage medium
JP2001343324A (en) Method for correcting base line of infrared ray absorption spectrum, and program recording medium therefor
CN116242610A (en) Bearing fault detection method and device and electronic equipment
CN115267351A (en) A digital-analog hybrid synchronous detection method and related device for weak signals
Li et al. Fourier and wavelet transform analysis of wavelength modulation spectroscopy signal
CN117092064B (en) A calibration-free harmonic signal demodulation method based on logarithmic method
CN114199820A (en) Gas concentration detection method and device
CN114397273A (en) Gas concentration measuring device and method based on second harmonic and fourth harmonic combination
CN115494020B (en) Trace gas detection method, device and system
CN117347272A (en) An adaptive digital lock-in amplifier and measurement system based on TDLAS
CN116609293B (en) Wavelength modulation harmonic signal acquisition method based on linear convolution
CN117110243A (en) Multicomponent trace gas detection demodulation method based on FPGA
CN108758356B (en) A kind of information processing method and system
US20040027262A1 (en) Method and device for detecting bits in a data signal
EP2130066B1 (en) Device and method for measuring the mass of a magnetic material, and analysis apparatus including such device
CN116973563B (en) Immunofluorescence chromatography determination method and device based on quadrature phase-locked amplification
Qin et al. Tandem demodulation lock-in amplifier based on digital signal processor for dual-modulated spectroscopy
EP3746765B1 (en) Method for determining a sedimentation or flotation rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant