[go: up one dir, main page]

CN113358600A - Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network - Google Patents

Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network Download PDF

Info

Publication number
CN113358600A
CN113358600A CN202010152520.XA CN202010152520A CN113358600A CN 113358600 A CN113358600 A CN 113358600A CN 202010152520 A CN202010152520 A CN 202010152520A CN 113358600 A CN113358600 A CN 113358600A
Authority
CN
China
Prior art keywords
gas
gas detection
neural network
artificial neural
chamber
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.)
Pending
Application number
CN202010152520.XA
Other languages
Chinese (zh)
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.)
Shandong University
Original Assignee
Shandong 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 Shandong University filed Critical Shandong University
Priority to CN202010152520.XA priority Critical patent/CN113358600A/en
Publication of CN113358600A publication Critical patent/CN113358600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/39Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using tunable lasers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/255Details, e.g. use of specially adapted sources, lighting or optical systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2201/00Features of devices classified in G01N21/00
    • G01N2201/06Illumination; Optics
    • G01N2201/061Sources
    • G01N2201/06113Coherent sources; lasers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2201/00Features of devices classified in G01N21/00
    • G01N2201/06Illumination; Optics
    • G01N2201/063Illuminating optical parts
    • G01N2201/0636Reflectors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2201/00Features of devices classified in G01N21/00
    • G01N2201/06Illumination; Optics
    • G01N2201/066Modifiable path; multiple paths in one sample
    • G01N2201/0668Multiple paths; optimisable path length

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Optics & Photonics (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

本发明属于气体检测技术领域,涉及气体检测气室、系统及方法。一种气体检测气室,其特征在于:所述气室两端分别安装有镜面相对的反射镜,所述反射镜为500mm曲率半径球面镜。本发明的气室两端安装曲率半径500mm的球面镜,该球面镜由很多小球面镜组成阵列,使入射光束在气室内可多次反射,增加有效光程,由于痕量气体浓度低吸收弱,有效增加气体对入射光的吸收度。本发明的方法,采用神经网络模型确定痕量气体成分后,对特定气体进行浓度计算,最终得到痕量气体成分与浓度。具有非线性映射能力强,训练速度快等优点。

Figure 202010152520

The invention belongs to the technical field of gas detection, and relates to a gas detection gas chamber, a system and a method. A gas detection gas chamber is characterized in that: two ends of the gas chamber are respectively installed with mirrors with opposite mirror surfaces, and the mirrors are spherical mirrors with a curvature radius of 500 mm. The spherical mirror with a curvature radius of 500mm is installed at both ends of the gas chamber of the present invention, and the spherical mirror is composed of many small spherical mirrors, so that the incident beam can be reflected multiple times in the gas chamber, and the effective optical path is increased. Absorbance of incident light by a gas. In the method of the present invention, after determining the trace gas composition using the neural network model, the concentration of the specific gas is calculated, and finally the trace gas composition and concentration are obtained. It has the advantages of strong nonlinear mapping ability and fast training speed.

Figure 202010152520

Description

气体检测气室、基于人工神经网络的激光光谱气体检测系统 及方法Gas detection gas chamber, laser spectrum gas detection system and method based on artificial neural network

技术领域technical field

本发明属于气体检测技术领域,涉及气体检测气室、系统及方法。The invention belongs to the technical field of gas detection, and relates to a gas detection gas chamber, a system and a method.

背景技术Background technique

对气体混合物中痕量成分进行快速、高精度识别和定量检测在诸多领域都具有重大需求。工业生产中排放的废气会污染空气环境,造成温室效应同时危害人体呼吸系统;生产过程中产生的有毒或易燃易爆气体,如果随意排放或发生泄露会造成极大的社会安全隐患。此外,在慢性恶性疾病医学诊断中,常规诊断手段周期长,伤害大,而通过检测病人呼吸气体标志物,则可快速有效无创地实现诊断目的。因此检测痕量气体成分和浓度,对保障空气质量、生产安全和医疗诊断等领域都具有重要意义。The rapid, high-precision identification and quantitative detection of trace constituents in gas mixtures is in great demand in many fields. Exhaust gas discharged from industrial production will pollute the air environment, cause a greenhouse effect and endanger the human respiratory system; toxic or flammable and explosive gases generated in the production process, if randomly discharged or leaked, will cause great social security risks. In addition, in the medical diagnosis of chronic malignant diseases, the conventional diagnostic methods have a long cycle and cause great harm, but by detecting the patient's respiratory gas markers, the purpose of diagnosis can be achieved quickly, effectively and non-invasively. Therefore, the detection of trace gas composition and concentration is of great significance to the fields of ensuring air quality, production safety and medical diagnosis.

气体检测技术中,传统的气敏检测法、气象检测法和化学发光法虽各具优点,但测量形式为单点,受限于光电子技术的水平,这些方法的检测灵敏度和精度均不高。而传统光学气体检测把激光光谱技术用于气体测量,精度和灵敏度高,实时性强,对于单一组分气体或谱线无明显混叠特征的多组分气体具有很好的识别和定量分析效果。但这种技术对于由于痕量有害气体浓度低、吸收度低且气体成分化学键类似造成特征谱线混叠的多组分气体,仍存在实施困难且精度低的问题。因此,传统光学气体检测虽被认为是一种新型气体检测技术,其局限性仍非常明显。In the gas detection technology, although the traditional gas-sensing detection method, meteorological detection method and chemiluminescence method have their own advantages, the measurement form is single-point, limited by the level of optoelectronic technology, and the detection sensitivity and accuracy of these methods are not high. The traditional optical gas detection uses laser spectroscopy technology for gas measurement, which has high accuracy and sensitivity, and strong real-time performance. It has a good identification and quantitative analysis effect for single-component gas or multi-component gas with no obvious spectral aliasing characteristics . However, this technique is still difficult to implement and has low precision for multi-component gases whose characteristic spectral lines are aliased due to the low concentration of trace harmful gases, low absorption and similar chemical bonds of gas components. Therefore, although traditional optical gas detection is considered as a new gas detection technology, its limitations are still very obvious.

光学频率梳(Optical Frequency Comb)技术在上述背景下应运而生。该技术凭借其频谱宽、脉宽窄、频率稳定度高、时域和频域特性可溯源至微波频率基准等优点,成为一种高精度高分辨率气体检测技术。国内外现已通过多种方式,例如光频梳腔衰荡光谱、光频梳腔增强光谱和双光频梳多外差光谱实现了光频梳。国外课题组将腔衰荡光频梳应用于气体吸收测定,使单根谱线灵敏度提高到到7×10-13cm-1,并实现工业废气及大气温室气体的吸收光谱探测,为监测空气净化等级提供解决方案。利用双光频梳多外差光谱技术将测量精度提高了10倍,并测量病人呼出气体的痕量成分。目前,在光学频率梳技术研究方面,欧美发达国家处于国际领先水平。而国内整体研究水平相对落后,以跟踪和拓展国外相关研究为主,尤其在光学频率梳气体检测应用方面差距十分明显。Optical frequency comb (Optical Frequency Comb) technology came into being under the above background. This technology has become a high-precision and high-resolution gas detection technology by virtue of its advantages of wide spectrum, narrow pulse width, high frequency stability, and traceability of time-domain and frequency-domain characteristics to the microwave frequency reference. At home and abroad, optical frequency combs have been realized by various methods, such as optical frequency comb cavity ring-down spectroscopy, optical frequency comb cavity enhancement spectroscopy and dual optical frequency comb multi-heterodyne spectroscopy. The foreign research group applied the cavity ring-down optical frequency comb to the gas absorption measurement, which increased the sensitivity of a single spectral line to 7×10 -13 cm -1 , and realized the absorption spectrum detection of industrial waste gas and atmospheric greenhouse gases. Purification grades provide the solution. Utilizing dual-optical frequency comb multi-heterodyne spectroscopy technology improves measurement accuracy by a factor of 10 and measures trace components in patient exhaled breath. At present, developed countries in Europe and the United States are at the international leading level in the research of optical frequency comb technology. The overall domestic research level is relatively backward, focusing on tracking and expanding foreign related research, especially in the application of optical frequency comb gas detection.

迄今,虽然光学频率梳技术能有效提高痕量气体检测的精度,但由于单独使用该技术无法对谱线混叠进行有效解耦,造成未能实现多组分气体中各种成分的高精度识别,成为光学频率梳技术亟待解决的科学问题。在这方面,人工神经网络(Artificial NeuralNetwork)技术的优势有望有效解决上述难题。人工神经网络能够提供一个强有力的解决算法,可通过对大量的输入输出间的映射关系反复训练学习,自动生成黑盒功能,从而实现气体识别,而不需建立气体响应的方程表达式。国外将人工神经网络应用于光学气体检测的研究已有一些报道:在电力生产中,利用该技术检测变压器油中气体(Gas in oil)含量和成分,以排除气体泄露可能带来的重大安全隐患;美国和日本已成功实现了对多达八种气体(H2、CO、CH4、C2H4、C2H2、C2H6、CO2、O2)的识别与含量检测。利用基于人工神经网络和支持向量机的智能嗅敏技术解决多组分气体分子吸收谱线混叠。生物医学相关研究中,应用人工神经网络光学气体检测系统已能成功区别癌症病人与健康人呼出气体标志物,对癌症诊断研究提供新的研究方向。从国际前沿分析,把人工神经网络与光学频率梳技术深度融合应该是未来的重要发展方向。So far, although optical frequency comb technology can effectively improve the accuracy of trace gas detection, it cannot effectively decouple spectral line aliasing by using this technology alone, resulting in failure to achieve high-precision identification of various components in multi-component gases. , which has become an urgent scientific problem to be solved in optical frequency comb technology. In this regard, the advantages of Artificial Neural Network technology are expected to effectively solve the above problems. The artificial neural network can provide a powerful solution algorithm, which can automatically generate a black box function through repeated training and learning of the mapping relationship between a large number of input and output, so as to realize the gas identification without establishing the equation expression of the gas response. There have been some reports on the application of artificial neural network to optical gas detection in foreign countries: in power production, the technology is used to detect the content and composition of gas in oil in transformer oil to eliminate major safety hazards that may be caused by gas leakage. ; The United States and Japan have successfully realized the identification and content detection of up to eight gases (H2, CO, CH4, C2H4, C2H2, C2H6, CO2, O2). Using intelligent olfactory technology based on artificial neural network and support vector machine to solve the aliasing of absorption spectrum of multi-component gas molecules. In biomedical related research, the application of artificial neural network optical gas detection system has been able to successfully distinguish the exhaled gas markers of cancer patients and healthy people, providing a new research direction for cancer diagnosis research. From the international frontier analysis, the deep integration of artificial neural network and optical frequency comb technology should be an important development direction in the future.

发明内容SUMMARY OF THE INVENTION

本发明的目的是针对上述现有技术的不足提供一种基于人工神经网络的集光学频率梳吸收光谱气体识别与浓度测量与一体的系统及方法。本发明具有非线性映射能力强,训练速度快,能够有效识别痕量气体成分,并对气体浓度进行高精度的检测的优点。The purpose of the present invention is to provide a system and method integrating optical frequency comb absorption spectrum gas identification and concentration measurement based on the artificial neural network based on the deficiencies of the above-mentioned prior art. The invention has the advantages of strong non-linear mapping capability, fast training speed, effective identification of trace gas components, and high-precision detection of gas concentration.

为了解决本发明的技术问题,本发明首先提供一种气体检测气室,所述气室两端分别安装有镜面相对的反射镜,所述反射镜为500mm曲率半径球面镜。In order to solve the technical problem of the present invention, the present invention first provides a gas detection gas chamber, two ends of the gas chamber are respectively installed with mirrors facing opposite mirrors, and the mirrors are spherical mirrors with a curvature radius of 500 mm.

进一步地,所述球面镜为若干个小球面镜组成的球面镜阵列。Further, the spherical mirror is a spherical mirror array composed of several small spherical mirrors.

进一步地,所述小球面镜固定在角度调节支架上。Further, the small spherical mirror is fixed on the angle adjustment bracket.

进一步地,所述的角度调节支架包括底板及底板上阵列分布的镜托,所述镜托与底板铰接;所述小球面镜镶嵌在所述镜托上。Further, the angle adjustment bracket includes a bottom plate and a mirror holder distributed in an array on the bottom plate, the mirror holder is hinged with the bottom plate, and the small spherical mirror is inlaid on the mirror holder.

进一步地,在所述气室的输入端,设有直径为5mm的入射/出射孔,所述的入射/出射孔位于所述反射镜的中心。Further, an incident/exit hole with a diameter of 5 mm is provided at the input end of the air chamber, and the incident/exit hole is located in the center of the reflector.

本发明解决其技术问题还提供一种基于人工神经网络的激光光谱气体检测系统,包括所述的气室、激光光源、数据采集卡、光电探测器和气体检测单元;所述气室与光学频率梳连接;所述光电探测器与气室连接,将气室的出射光转化为电信号,传输至数据采集卡;所述数据采集卡与气体检测单元连接,将采集的数据传给气体检测单元;所述气体检测单元对输入数据进行预处理,完成气体类别识别和浓度计算。The present invention solves its technical problem and also provides a laser spectrum gas detection system based on artificial neural network, including the gas chamber, laser light source, data acquisition card, photodetector and gas detection unit; the gas chamber and the optical frequency comb connection; the photodetector is connected with the gas chamber, and the outgoing light of the gas chamber is converted into electrical signals and transmitted to the data acquisition card; the data acquisition card is connected with the gas detection unit, and the collected data is transmitted to the gas detection unit ; The gas detection unit preprocesses the input data to complete gas type identification and concentration calculation.

作为本发明的一种优选方式,所述的气体检测单元包括气体识别模块和浓度计算模块,其中,所述的气体识别模块为人工神经网络模型。As a preferred mode of the present invention, the gas detection unit includes a gas identification module and a concentration calculation module, wherein the gas identification module is an artificial neural network model.

为了解决本发明的技术问题,本发明还提供一种基于人工神经网络的激光光谱气体检测方法,包括:(1)、构建识别多种气体种类的人工神经网络模型;In order to solve the technical problem of the present invention, the present invention also provides a laser spectrum gas detection method based on an artificial neural network, including: (1), constructing an artificial neural network model for identifying various types of gases;

(2)、向气室中依次通入待训练气体,数据采集卡将采集到的待训练气体的数据传给气体检测单元,并处理成输入特征向量,输入所述的人工神经网络模型,完成待测气体种类的识别;(2) Introduce the gas to be trained into the gas chamber in turn, the data acquisition card will transmit the collected data of the gas to be trained to the gas detection unit, and process it into an input feature vector, input the artificial neural network model, and complete Identification of the type of gas to be measured;

(3)、根据识别出的待测气体的成分,计算该待测气体的浓度x:(3), according to the identified composition of the gas to be measured, calculate the concentration x of the gas to be measured:

Figure BDA0002402949790000031
Figure BDA0002402949790000031

其中,

Figure BDA0002402949790000032
in,
Figure BDA0002402949790000032

Figure BDA0002402949790000033
为吸收线型,采用voigt线型;S(T)为气体分子吸收线强,
Figure BDA0002402949790000034
为1f归一化的2f信号强度,P为气室的压强,L为气体在气室内的光程长度。
Figure BDA0002402949790000033
is the absorption line type, using the voigt line type; S(T) is the gas molecular absorption line intensity,
Figure BDA0002402949790000034
is the 2f signal intensity normalized to 1f, P is the pressure of the gas chamber, and L is the optical path length of the gas in the gas chamber.

进一步地,所述的人工神经网络的构建中,训练样本的获取方法为:Further, in the construction of the artificial neural network, the acquisition method of the training sample is:

向气室依次通入m种痕量气体,进行数据采集;对每一种气体设置一个类别标签Yj,j=1,2,……,m,表示m种气体中的第j种气体;Introduce m kinds of trace gases into the gas chamber in turn to collect data; set a category label Y j for each gas, j=1, 2, ..., m, representing the jth gas among the m kinds of gases;

对于每种气体,数据采集卡将该气体的n组数据传送给气体检测单元,气体检测单元将每一组数据:频率X1、二次谐波X2进行归一化处理,并加上类别标签Yj;则得带标签的训练样本的特征向量:

Figure BDA0002402949790000035
i∈(0,n),j∈(1,m)。For each gas, the data acquisition card transmits the n sets of data of the gas to the gas detection unit, and the gas detection unit normalizes each set of data: frequency X 1 , second harmonic X 2 , and adds the category label Y j ; then get the feature vector of the labeled training sample:
Figure BDA0002402949790000035
i∈(0,n), j∈(1,m).

进一步地,所述的人工神经网络的构建中,网络模型的训练包括以下步骤:Further, in the construction of the described artificial neural network, the training of the network model includes the following steps:

(1)将训练样本的特征向量输入给神经网络输入层;初始化网络权重矩阵θ;(1) Input the feature vector of the training sample to the input layer of the neural network; initialize the network weight matrix θ;

(2)实施正向传播,计算输出激活值al(2) implement forward propagation, and calculate the output activation value a l ;

(3)计算代价函数

Figure BDA0002402949790000041
(3) Calculate the cost function
Figure BDA0002402949790000041

(4)进行反向传播,计算输出层误差δl=(al-Y).*al′,隐藏层误差

Figure BDA0002402949790000042
Figure BDA0002402949790000043
则代价函数对于每层权重的偏导数为
Figure BDA0002402949790000044
(4) Backpropagation is performed to calculate the output layer error δ l =(a l -Y).*a l′ , the hidden layer error
Figure BDA0002402949790000042
Figure BDA0002402949790000043
Then the partial derivative of the cost function with respect to the weights of each layer is
Figure BDA0002402949790000044

(5)进行梯度检测,检查数值计算的梯度与步骤(4)通过反向传播计算出的偏导数是否一致,若一致说明反向传播运行正常,则进行下一步;(5) Carry out gradient detection, check whether the gradient of numerical calculation is consistent with the partial derivative calculated by backpropagation in step (4), if the agreement indicates that the backpropagation is running normally, proceed to the next step;

(6)进行随机梯度下降法优化权重矩阵,重复(2)、(3)、(4)步,直到全局最优权重所对应的代价函数满足精度误差,神经网络模型训练完成。(6) Perform stochastic gradient descent method to optimize the weight matrix, repeat steps (2), (3), (4) until the cost function corresponding to the global optimal weight satisfies the accuracy error, and the neural network model training is completed.

进一步地,所述网络模型的训练中,激活函数采用sigmoid函数,即:

Figure BDA0002402949790000045
Figure BDA0002402949790000046
Further, in the training of the network model, the activation function adopts the sigmoid function, namely:
Figure BDA0002402949790000045
Figure BDA0002402949790000046

本发明与现有技术相比,具有的有益效果是:提供了一种气体检测气室、基于人工神经网络的激光光谱气体检测系统,气室两端安装曲率半径500mm的球面镜,该球面镜由很多小球面镜组成阵列,使入射光束在气室内可多次反射,增加有效光程,由于痕量气体浓度低吸收弱,有效增加气体对入射光的吸收度。本发明的方法,采用神经网络模型确定痕量气体成分后,对特定气体进行浓度计算,最终得到痕量气体成分与浓度。具有非线性映射能力强,训练速度快等优点。Compared with the prior art, the present invention has the beneficial effects of providing a gas detection gas chamber and a laser spectrum gas detection system based on an artificial neural network, and spherical mirrors with a curvature radius of 500 mm are installed at both ends of the gas chamber, and the spherical mirror is composed of many The small spherical mirrors form an array, so that the incident beam can be reflected multiple times in the gas chamber, increasing the effective optical path. Due to the low concentration of trace gas, the absorption is weak, and the absorption of the incident light by the gas is effectively increased. In the method of the present invention, after determining the trace gas composition by using the neural network model, the concentration of the specific gas is calculated, and finally the trace gas composition and concentration are obtained. It has the advantages of strong nonlinear mapping ability and fast training speed.

附图说明Description of drawings

图1是本发明提供的基于人工神经网络的激光光谱气体检测系统的结构连接图;Fig. 1 is the structural connection diagram of the laser spectrum gas detection system based on artificial neural network provided by the present invention;

图2是气室的侧视图;Figure 2 is a side view of a gas chamber;

图3是图2中反射镜的示意图;Fig. 3 is the schematic diagram of the reflector in Fig. 2;

图4是角度调节支架的侧视图;Figure 4 is a side view of the angle adjustment bracket;

图5是本发明提供的基于人工神经网络的激光光谱气体检测方法的流程图;Fig. 5 is the flow chart of the laser spectrum gas detection method based on artificial neural network provided by the present invention;

图6是人工神经网络的结构示意图。FIG. 6 is a schematic diagram of the structure of an artificial neural network.

具体实施方式Detailed ways

为了便于理解本发明,下面结合附图和具体实施例,对本发明进行更详细的说明。附图中给出了本发明的较佳的实施例。但是,本发明可以以许多不同的形式来实现,并不限于本说明书所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。In order to facilitate understanding of the present invention, the present invention will be described in more detail below with reference to the accompanying drawings and specific embodiments. Preferred embodiments of the invention are shown in the accompanying drawings. However, the present invention may be embodied in many different forms and is not limited to the embodiments described in this specification. Rather, these embodiments are provided so that a thorough and complete understanding of the present disclosure is provided.

为了解决现有技术中气体检测存在的问题,本实施例提供一种基于人工神经网络的激光光谱气体检测系统,如图1所示,该系统主要包括:激光控制器1、光学频率梳2、气室3、光电探测器4、调制解调器5、数据采集卡6、嵌有人工神经网络算法和气体相关参数用于浓度计算的气体检测单元7。其中,激光控制器1与光学频率梳2连接,产生扫描锯齿波信号,通过电流控制光学频率梳的激光脉冲和温度。In order to solve the problems existing in gas detection in the prior art, this embodiment provides a laser spectrum gas detection system based on artificial neural network. As shown in FIG. 1 , the system mainly includes: a laser controller 1, an optical frequency comb 2, Gas chamber 3, photodetector 4, modem 5, data acquisition card 6, gas detection unit 7 embedded with artificial neural network algorithm and gas-related parameters for concentration calculation. The laser controller 1 is connected to the optical frequency comb 2, generates a scanning sawtooth wave signal, and controls the laser pulse and temperature of the optical frequency comb through current.

多种气体吸收特征谱线不同,由于光学频率梳具有宽光谱和高精度等优势,本实施例中,选择掺铒光纤系统光学频率梳作为激光光源。The absorption characteristic lines of various gases are different. Since the optical frequency comb has the advantages of wide spectrum and high precision, in this embodiment, the optical frequency comb of an erbium-doped fiber system is selected as the laser light source.

如图2和3所示,气室3的两端分别设置有正对的反射镜31。每一端的反射镜31由尺寸为50×50mm2的球面镜阵列组成。球面镜阵列由64个6.25×6.25mm2大小的正方形球面镜34组成。正方形球面镜34镶嵌在镜托33上,镜托33通过万向铰35与底板36连接,镜托33、万向铰35和底板36构成了角度调节支架,如图4所示。As shown in FIGS. 2 and 3 , two opposite ends of the air chamber 3 are respectively provided with facing mirrors 31 . The mirrors 31 at each end consist of an array of spherical mirrors measuring 50 x 50 mm 2 . The spherical mirror array consists of 64 square spherical mirrors 34 with a size of 6.25×6.25 mm 2 . The square spherical mirror 34 is embedded on the mirror holder 33. The mirror holder 33 is connected to the base plate 36 through the universal hinge 35. The mirror holder 33, the universal hinge 35 and the base plate 36 constitute an angle adjustment bracket, as shown in FIG. 4 .

64个正方形球面镜34固定在角度调节支架上,通过手动调节,可以改变每一个正方形球面镜的反射角度。每个正方形球面镜可以在水平和垂直方向上独立调节,以便光束对准。64 square spherical mirrors 34 are fixed on the angle adjustment bracket, and the reflection angle of each square spherical mirror can be changed by manual adjustment. Each square spherical mirror can be independently adjusted horizontally and vertically for beam alignment.

在气室3的一端,设有一个直径5毫米的射入/射出口32,该射入/射出口32位于一端反射镜31的中部,该口即是激光的输入口,也是输出口。At one end of the air chamber 3, there is an injection/ejection port 32 with a diameter of 5 mm. The injection/ejection port 32 is located in the middle of the mirror 31 at one end. This port is the input port and the output port of the laser.

由光学频率梳2产生的激光通过光纤由射入/射出口32进入到气室3内,通过调整气室两端的正方形球面镜的角度,可以改变激光在气室内的反射次数,经过多次反射后,再经射入/射出口32输出。一般情况下,由于痕量气体浓度较低,在普通气室中吸收较弱,不利于后续的浓度检测。采用本实施例提供的气室,激光在气室内经过多次反射,可有效增加气体对激光的吸收度,更有利于后续浓度的检测和计算。反射镜涂层在近红外范围[1550nm,1825nm]具有高反射(>99.98%)。The laser generated by the optical frequency comb 2 enters the gas chamber 3 through the injection/ejection port 32 through the optical fiber. By adjusting the angles of the square spherical mirrors at both ends of the gas chamber, the number of laser reflections in the gas chamber can be changed. After multiple reflections , and then output through the injection/injection port 32. In general, due to the low concentration of trace gas, the absorption in the common gas chamber is weak, which is not conducive to subsequent concentration detection. With the gas chamber provided in this embodiment, the laser undergoes multiple reflections in the gas chamber, which can effectively increase the absorption of the gas to the laser, which is more conducive to the subsequent detection and calculation of the concentration. The mirror coating has high reflection (>99.98%) in the near infrared range [1550nm, 1825nm].

射入/射出口32通过光纤与光电探测器4连接。光电探测器4将从气室3中输出的反射光转化为电信号,并传输给调制解调器5经解调、低通滤波后,传输给数据采集卡6,数据采集卡将采集到的信号传输给气体检测单元7。调制解调器5还与光学频率梳2连接,产生调制信号将激光出射信号调制高频段,输入气室3。The incident/ejection port 32 is connected to the photodetector 4 through an optical fiber. The photodetector 4 converts the reflected light output from the air chamber 3 into an electrical signal, and transmits it to the modem 5 after demodulation and low-pass filtering, and then transmits it to the data acquisition card 6, and the data acquisition card transmits the collected signal to the Gas detection unit 7. The modem 5 is also connected with the optical frequency comb 2 to generate a modulation signal to modulate the high frequency band of the laser output signal and input it into the air chamber 3 .

气体检测单元7包括气体识别模块和浓度计算模块。其中,气体识别模块为人工神经网络模型。气体检测单元7对输入数据进行预处理,生成特征向量,使用人工神经网络对输入的特征向量进行多次迭代训练,通过训练学得气体识别模型,在确定痕量气体成分后,对特定气体进行浓度计算,最终得到痕量气体成分与浓度。The gas detection unit 7 includes a gas identification module and a concentration calculation module. Among them, the gas identification module is an artificial neural network model. The gas detection unit 7 preprocesses the input data, generates a feature vector, uses an artificial neural network to perform multiple iterative training on the input feature vector, and learns a gas recognition model through training. Concentration calculation, and finally obtain the trace gas composition and concentration.

本发明还提供了另一个实施例,本实施例是一种基于人工神经网络的激光光谱气体检测方法,该方法流程如5所示,以氧化亚氮(N2O)、一氧化氮(NO)、甲烷(CH4)、二氧化碳(CO2)四种痕量气体的检测为例,具体步骤为:The present invention also provides another embodiment. This embodiment is a laser spectrum gas detection method based on artificial neural network. The method flow is shown in 5. ), methane (CH 4 ), carbon dioxide (CO 2 ) four trace gases detection as an example, the specific steps are:

1、设置人工神经网络结构1. Set up the artificial neural network structure

根据待训练的4种气体:氧化亚氮(N2O)、一氧化氮(NO)、甲烷(CH4)、二氧化碳(CO2),设置输出层的神经元数量为4,由于输入特征数量为2,所以设定输入层神经元数量为2,并增加输入层偏置单元,设置为1。设置隐藏层数量1层,设置隐藏层神经元数量为4,并增加隐含层层偏置单元,设置为1。完成神经网络结构的设置,如图6所示。神经网络激活函数采用sigmoid型函数,通过激光控制器控制光源温度,控制气室温度,控制气体流速保证气室压强。According to the 4 gases to be trained: nitrous oxide (N 2 O), nitric oxide (NO), methane (CH 4 ), carbon dioxide (CO 2 ), set the number of neurons in the output layer to 4, due to the number of input features is 2, so set the number of neurons in the input layer to 2, and increase the bias unit of the input layer, set it to 1. Set the number of hidden layers to 1, set the number of hidden layer neurons to 4, and increase the hidden layer bias unit, set to 1. Complete the settings of the neural network structure, as shown in Figure 6. The activation function of the neural network adopts a sigmoid function, and the temperature of the light source is controlled by the laser controller, the temperature of the gas chamber is controlled, and the gas flow rate is controlled to ensure the pressure of the gas chamber.

2、打开激光控制器和光学频率梳,激光控制器产生的电流用以产生扫描锯齿波,和控制光学频率梳温度,调制解调器产生调制信号加给激光输出信号上,将输出信号调制高频段,通过光纤传入气室中。2. Turn on the laser controller and the optical frequency comb. The current generated by the laser controller is used to generate the scanning sawtooth wave and control the temperature of the optical frequency comb. The modem generates a modulation signal and adds it to the laser output signal, and modulates the output signal in the high frequency band. The optical fiber is introduced into the air chamber.

对于待训练的4种气体:氧化亚氮(N2O)、一氧化氮(NO)、甲烷(CH4)、二氧化碳(CO2),气室依次通入每种待训练气体,混合通入氮气,控制气室温度,通过控制气体流速控制气室压强。激光在气室中反射多次后从同一口射出,通过光纤传入光电探测器,对信号进行光电转换后传给调制解调器,调制解调器对电信号低通滤波后,将数据传送数据采集卡。For the 4 gases to be trained: nitrous oxide (N 2 O), nitric oxide (NO), methane (CH 4 ), carbon dioxide (CO 2 ), each gas to be trained is introduced into the air chamber in turn, and mixed Nitrogen, control the temperature of the gas chamber, and control the pressure of the gas chamber by controlling the gas flow rate. The laser is reflected in the gas chamber for many times and then emitted from the same port. It is transmitted to the photoelectric detector through the optical fiber, and the signal is photoelectrically converted and then transmitted to the modem. After the modem low-pass filters the electrical signal, the data is transmitted to the data acquisition card.

3、对每种待训练气体,数据采集卡将该气体的n组数据传送给气体检测单元,气体检测单元将数据:频率X1,二次谐波强度X2,使用归一化公式,进行特征缩放:

Figure BDA0002402949790000061
其中,x、
Figure BDA0002402949790000062
xmax分别为特征的输入值、平均值和最大值。3. For each gas to be trained, the data acquisition card transmits the n groups of data of the gas to the gas detection unit, and the gas detection unit transmits the data: frequency X 1 , second harmonic intensity X 2 , using the normalization formula, to carry out Feature scaling:
Figure BDA0002402949790000061
Among them, x,
Figure BDA0002402949790000062
x max is the input value, mean and maximum value of the feature, respectively.

为每种气体的每一组数据加上类别标签Yj,j∈1,4。则得到归一化后带标签的训练样本的特征向量:

Figure BDA0002402949790000063
i∈(0,n),j∈(1,4)。得到训练样本输入数据如下:A class label Y j , j ∈ 1,4 is added to each set of data for each gas. Then the eigenvectors of the normalized labeled training samples are obtained:
Figure BDA0002402949790000063
i∈(0,n), j∈(1,4). The input data of the training sample is obtained as follows:

Figure BDA0002402949790000071
Figure BDA0002402949790000071

Figure BDA0002402949790000072
Figure BDA0002402949790000072

Figure BDA0002402949790000073
Figure BDA0002402949790000073

Figure BDA0002402949790000074
Figure BDA0002402949790000074

其中:类别标签与气体类型的对应关系及表示形式为:Among them: the correspondence between the category label and the gas type and the representation form are:

N2O:Y1=(1,0,0,0);NO:Y2=(0,1,0,0);N 2 O: Y 1 =(1, 0, 0, 0); NO: Y 2 =(0, 1, 0, 0);

CH4:Y3=(0,0,1,0);CO2:Y4=(0,0,0,1)。CH 4 : Y 3 =(0, 0, 1, 0); CO 2 : Y 4 =(0, 0, 0, 1).

4、设置初始化的网络权重,可以通过将其权重向量按其输入的平方根(即输入的数量)进行缩放,从而将每个神经元的输出的方差标准化到1。令初始权重是0~1之间的随机浮点数,再通过

Figure BDA0002402949790000075
(n为每种气体的样本数量)进行缩放,这保证了网络中所有的神经元最初的输出分布大致相同,并在经验上提高了收敛速度。将偏置全部初始化为0。至此得到每层的初始化权重矩阵θ,θ=(θ1,θ2)。4. Set the initialized network weights, which can normalize the variance of each neuron's output to 1 by scaling its weight vector by the square root of its inputs (ie, the number of inputs). Let the initial weight be a random floating point number between 0 and 1, and then pass
Figure BDA0002402949790000075
(n is the number of samples for each gas), which ensures that all neurons in the network initially have roughly the same output distribution and empirically improves the speed of convergence. Initialize all offsets to 0. So far, the initialization weight matrix θ of each layer is obtained, θ=(θ 1 , θ 2 ).

5、将步骤3得到的训练样本的特征向量输入给设置好的神经网络输入层,进行正向传播,计算输入层、隐含层、输出层的状态值和激活值,最终结果为输出层的激活值。令

Figure BDA0002402949790000076
传输过程为:传递过程为x=a(1)→z(2)→a(2)→z(3)→a(3),具体为:5. Input the feature vector of the training sample obtained in step 3 into the set neural network input layer, carry out forward propagation, calculate the state value and activation value of the input layer, hidden layer, and output layer, and the final result is the output layer. activation value. make
Figure BDA0002402949790000076
The transmission process is: the transmission process is x=a (1) →z (2) →a (2) →z (3) →a (3) , specifically:

a(1)=x(1)a (1) = x (1 )

z(2)=θ2a(1)+b(2) z (2) = θ 2 a (1) + b (2)

a(2)=g(z(2))a (2) = g(z (2) )

z(3)=θ3a(2)+b(3) z (3) = θ 3 a (2) + b (3)

hθ(x)=a(3)=g(z(3))h θ (x) = a (3) = g(z (3) )

其中a(l),l∈1,2,3表示第l层的激活值,z(l),l∈1,2,3表示第l层的状态值,b(l)为第l层的偏置项,g(z(l)),l∈1,2,3是激活函数,激活函数采用sigmoid函数,即:where a (l) , l∈1,2,3 represent the activation value of the lth layer, z (l) , l∈1,2,3 represent the state value of the lth layer, b (l) is the lth layer The bias term, g(z (l) ), l∈1,2,3 is the activation function, and the activation function adopts the sigmoid function, namely:

Figure BDA0002402949790000081
Figure BDA0002402949790000081

函数hθ(x)为输出预测值。The function h θ (x) is the output predicted value.

6、计算代价函数

Figure BDA0002402949790000082
为下面梯度检测做准备。6. Calculate the cost function
Figure BDA0002402949790000082
Prepare for the gradient detection below.

7、实施反向传播,计算每层的传播误差,从输出层开始,对于输出层的传播误差为:7. Implement back propagation and calculate the propagation error of each layer. Starting from the output layer, the propagation error for the output layer is:

δ(3)=(a(3)-Y).*g′(z(3))δ (3) = (a (3) -Y).*g′(z (3) )

其中,Y表示气体的类别标签。where Y represents the class label of the gas.

隐含层的误差为:

Figure BDA0002402949790000086
The error of the hidden layer is:
Figure BDA0002402949790000086

其中:g′(z(l))=g(z(l))*(1-g(z(l)));Wherein: g'(z (l) )=g(z (l) )*(1-g(z (l) ));

.*表示点乘,即矩阵元素相乘。.* means dot multiplication, i.e. matrix element multiplication.

则代价函数对于l层的权重矩阵的偏导数:Then the partial derivative of the cost function with respect to the weight matrix of layer l:

Figure BDA0002402949790000083
Figure BDA0002402949790000083

Figure BDA0002402949790000084
Figure BDA0002402949790000084

其中,bD(l)为偏置项的偏导数。为了验证反向传播计算偏导数是否正确,需要进行梯度检测,代价函数对于权重的偏导数即此时θ取值时侯的代价函数的斜率,则

Figure BDA0002402949790000085
ε=1×10-4,若D=D(l)则说明反向传播正常。继续下一步。where bD (l) is the partial derivative of the bias term. In order to verify whether the partial derivative calculated by backpropagation is correct, gradient detection is required. The partial derivative of the cost function with respect to the weight is the slope of the cost function when θ takes the value, then
Figure BDA0002402949790000085
ε=1×10 -4 , if D=D (l) , it means that the backpropagation is normal. Proceed to the next step.

8、使用梯度下降法优化权重参数,使代价函数最小,即使输出预测与气体实际类别差别最小。梯度下降的优化公式为:8. Use the gradient descent method to optimize the weight parameters to minimize the cost function, even if the difference between the output prediction and the actual gas category is minimal. The optimization formula for gradient descent is:

θ(l)=θ(l)-αD(l) θ (l) = θ (l) - αD (l)

b(l)=b(l)-αbD(l) b (l) = b (l) - αbD (l)

α为训练步长参数,需要手动调整,通常默认初始值为0.01。若训练过慢,则增加α。若始终无法收敛,则减小α。每更新以此权重和偏置矩阵,就再进行一次正向反向神经网络的传播。判断误差是否满足精度要求。若满足,则进行下一步,继续进行优化。α is a training step parameter, which needs to be adjusted manually. Usually, the default initial value is 0.01. If the training is too slow, increase α. If it still fails to converge, decrease α. Each time this weight and bias matrix is updated, another forward and reverse neural network propagation is performed. Determine whether the error meets the accuracy requirements. If it is satisfied, go to the next step and continue to optimize.

9、当误差满足精度要求,即神经网络已经训练完成,则此时神经网络模型可以对通入气室的气体进行正确分类。9. When the error meets the accuracy requirements, that is, the neural network has been trained, then the neural network model can correctly classify the gas entering the gas chamber.

10、将待测气体(训练气体中的某一种)通入气室,对于通入气室的气体,气体检测单元将接收到的该气体的数据预处理成特征向量,输入人工神经网络进行识别,得到该待测气体的种类结果。10. Pass the gas to be tested (one of the training gases) into the gas chamber. For the gas that is passed into the gas chamber, the gas detection unit preprocesses the received data of the gas into a feature vector, and inputs it into the artificial neural network. Identify and obtain the type result of the gas to be tested.

11、对于该待测气体的种类,调用相应参数,按照如下公式计算浓度x:11. For the type of the gas to be measured, call the corresponding parameters, and calculate the concentration x according to the following formula:

Figure BDA0002402949790000091
Figure BDA0002402949790000091

其中:

Figure BDA0002402949790000092
in:
Figure BDA0002402949790000092

Figure BDA0002402949790000093
为吸收线型,采用voigt线型,S(T)为气体分子吸收线强,
Figure BDA0002402949790000094
为1f归一化的2f信号强度,P为气室压强,L为气体在气室内的光程长度。
Figure BDA0002402949790000095
可通过气体检测单元对信号预处理得到;L可通过气室的长度和激光在气室内的反射次数计算得到;P通过向气室中通入待测气体的流速计算得到。
Figure BDA0002402949790000093
is the absorption line type, using the voigt line type, S(T) is the gas molecular absorption line intensity,
Figure BDA0002402949790000094
is the 2f signal intensity normalized to 1f, P is the gas chamber pressure, and L is the optical path length of the gas in the gas chamber.
Figure BDA0002402949790000095
It can be obtained by preprocessing the signal by the gas detection unit; L can be calculated by the length of the gas chamber and the number of reflections of the laser in the gas chamber; P is calculated by the flow rate of the gas to be tested into the gas chamber.

对于上述4种气体,将S(T)等参数提前储存在气体检测单元的浓度计算模块。当神经网络对待测气体进行类别识别之后,自动调用并计算气体浓度。For the above four gases, parameters such as S(T) are stored in the concentration calculation module of the gas detection unit in advance. After the neural network recognizes the category of the gas to be tested, it will automatically call and calculate the gas concentration.

12、至此完成对待测痕量气体的种类识别和浓度测量。12. At this point, the type identification and concentration measurement of the trace gas to be measured are completed.

Claims (10)

1.一种气体检测气室,其特征在于:所述气室两端分别安装有镜面相对的反射镜,所述反射镜为500mm曲率半径球面镜。1. A gas detection gas chamber, characterized in that: the two ends of the gas chamber are respectively equipped with mirrors opposite to mirror surfaces, and the mirrors are spherical mirrors with a radius of curvature of 500 mm. 2.根据权利要求1所述的气体检测气室,其特征在于:所述球面镜为若干个小球面镜组成的球面镜阵列。2 . The gas detection gas chamber according to claim 1 , wherein the spherical mirror is a spherical mirror array composed of several small spherical mirrors. 3 . 3.根据权利要求2所述的气体检测气室,其特征在于:所述的小球面镜固定在角度调节支架上。3 . The gas detection gas chamber according to claim 2 , wherein the small spherical mirror is fixed on the angle adjustment bracket. 4 . 4.根据权利要求3所述的气体检测气室,其特征在于:所述的角度调节支架包括底板及底板上阵列分布的镜托,所述镜托与底板铰接;所述小球面镜镶嵌在所述镜托上。4 . The gas detection gas chamber according to claim 3 , wherein the angle adjustment bracket comprises a bottom plate and a mirror holder distributed in an array on the bottom plate, the mirror holder and the bottom plate are hinged; the small spherical mirror is embedded in the bottom plate. 5 . on the mirror holder. 5.根据权利要求1所述的气体检测气室,其特征在于,在所述气室的输入端,设有直径为5mm的入射/出射孔,所述的入射/出射孔位于所述反射镜的中心。5 . The gas detection gas chamber according to claim 1 , wherein the input end of the gas chamber is provided with an incident/exit hole with a diameter of 5 mm, and the incident/exit hole is located in the reflector. 6 . center of. 6.一种基于人工神经网络的激光光谱气体检测系统,其特征在于,包括:如权利要求1-5任一项所述的气室、激光光源、调制解调器、数据采集卡、光电探测器和气体检测单元;所述光电探测器与采样气室连接,将气室的出射光转化为电信号;所述调制解调器与光电探测器连接,接收光电探测器的电信号并解调,传输至数据采集卡;所述数据采集卡与气体检测单元连接,将采集的数据传给气体检测单元;所述气体检测单元对输入数据进行预处理,完成气体种类识别和浓度计算。6. A laser spectrum gas detection system based on artificial neural network, characterized in that, comprising: a gas chamber as claimed in any one of claims 1-5, a laser light source, a modem, a data acquisition card, a photodetector and a gas detection unit; the photodetector is connected to the sampling air chamber, and the outgoing light of the air chamber is converted into an electrical signal; the modem is connected to the photodetector, receives and demodulates the electrical signal of the photodetector, and transmits it to the data acquisition card the data acquisition card is connected with the gas detection unit, and transmits the collected data to the gas detection unit; the gas detection unit preprocesses the input data to complete the gas type identification and concentration calculation. 7.根据权利要求6所述的基于人工神经网络的激光光谱气体检测系统,其特征在于,所述的气体检测单元包括气体识别模块和浓度计算模块,其中,所述的气体识别模块为人工神经网络模型。7 . The laser spectrum gas detection system based on artificial neural network according to claim 6 , wherein the gas detection unit comprises a gas identification module and a concentration calculation module, wherein the gas identification module is an artificial neural network. 8 . network model. 8.一种基于人工神经网络的激光光谱气体检测方法,包括:8. A laser spectral gas detection method based on artificial neural network, comprising: (1)、构建识别多种气体种类的人工神经网络模型;(1) Construct an artificial neural network model to identify various gas species; (2)、向气室中通入待测气体,数据采集卡将采集到的待训练气体的数据传给气体检测单元,并处理成输入特征向量,输入所述的人工神经网络模型,完成待测气体种类的识别;(2) The gas to be tested is introduced into the gas chamber, and the data acquisition card transmits the collected data of the gas to be trained to the gas detection unit, and processes it into an input feature vector, input the artificial neural network model, and completes the waiting Identification of the type of gas to be measured; (3)、根据识别出的待测气体的成分,计算该待测气体的浓度x:(3), according to the identified composition of the gas to be measured, calculate the concentration x of the gas to be measured:
Figure FDA0002402949780000011
Figure FDA0002402949780000011
其中,
Figure FDA0002402949780000021
in,
Figure FDA0002402949780000021
Figure FDA0002402949780000022
为吸收线型,采用voigt线型;S(T)为气体分子吸收线强,s2f/1f为1f归一化的2f信号强度,P为气室的压强,L为气室内的光程长度。
Figure FDA0002402949780000022
is the absorption line type, using the voigt line type; S(T) is the gas molecular absorption line intensity, s 2f /1f is the 2f signal intensity normalized by 1f, P is the pressure of the gas chamber, and L is the optical path length in the gas chamber .
9.根据权利要求8所述的基于人工神经网络的光学频率梳激光光谱气体检测方法,其特征在于:人工神经网络的构建中,训练样本的获取方法为:9. The optical frequency comb laser spectrum gas detection method based on artificial neural network according to claim 8, is characterized in that: in the construction of artificial neural network, the acquisition method of training sample is: 向气室依次通入m种痕量气体,进行数据采集;对每一种气体设置一个类别标签Yj,j=1,2,……,m;Introduce m kinds of trace gases into the gas chamber in turn to collect data; set a category label Y j for each gas, j = 1, 2, ..., m; 对于每种气体,数据采集卡将该气体的n组数据传送给气体检测单元,气体检测单元将每一组数据:频率X1、二次谐波X2进行归一化处理,并加上类别标签Yj;则得带标签的训练样本的特征向量:
Figure FDA0002402949780000023
For each gas, the data acquisition card transmits the n sets of data of the gas to the gas detection unit, and the gas detection unit normalizes each set of data: frequency X 1 , second harmonic X 2 , and adds the category label Y j ; then get the feature vector of the labeled training sample:
Figure FDA0002402949780000023
10.根据权利要求8所述的基于人工神经网络的激光光谱气体检测方法,其特征在于:人工神经网络的构建中,网络模型的训练包括以下步骤:10. The laser spectrum gas detection method based on artificial neural network according to claim 8, is characterized in that: in the construction of artificial neural network, the training of network model comprises the following steps: (1)将训练样本的特征向量输入给神经网络输入层;初始化网络权重矩阵θ;(1) Input the feature vector of the training sample to the input layer of the neural network; initialize the network weight matrix θ; (2)实施正向传播,计算输出激活值al(2) implement forward propagation, and calculate the output activation value a l ; (3)计算代价函数
Figure FDA0002402949780000024
(3) Calculate the cost function
Figure FDA0002402949780000024
(4)进行反向传播,计算输出层误差δl=(al-Y).*al′,隐藏层误差
Figure FDA0002402949780000025
Figure FDA0002402949780000026
则代价函数对于每层权重的偏导数为
Figure FDA0002402949780000027
(4) Backpropagation is performed to calculate the output layer error δ l =(a l -Y).*a l′ , the hidden layer error
Figure FDA0002402949780000025
Figure FDA0002402949780000026
Then the partial derivative of the cost function with respect to the weights of each layer is
Figure FDA0002402949780000027
(5)进行梯度检测,检查数值计算的梯度与步骤(4)通过反向传播计算出的偏导数是否一致,若一致说明反向传播运行正常,则进行下一步;(5) Carry out gradient detection, check whether the gradient of numerical calculation is consistent with the partial derivative calculated by backpropagation in step (4), if the agreement indicates that the backpropagation is running normally, proceed to the next step; (6)进行随机梯度下降法优化权重矩阵,重复(2)、(3)、(4)步,直到全局最优权重所对应的代价函数满足精度误差,神经网络模型训练完成。(6) Perform stochastic gradient descent method to optimize the weight matrix, repeat steps (2), (3), (4) until the cost function corresponding to the global optimal weight satisfies the accuracy error, and the neural network model training is completed.
CN202010152520.XA 2020-03-06 2020-03-06 Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network Pending CN113358600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010152520.XA CN113358600A (en) 2020-03-06 2020-03-06 Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010152520.XA CN113358600A (en) 2020-03-06 2020-03-06 Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network

Publications (1)

Publication Number Publication Date
CN113358600A true CN113358600A (en) 2021-09-07

Family

ID=77524139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010152520.XA Pending CN113358600A (en) 2020-03-06 2020-03-06 Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network

Country Status (1)

Country Link
CN (1) CN113358600A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114295583A (en) * 2021-11-26 2022-04-08 中国地质调查局水文地质环境地质调查中心 A coherent measurement device for greenhouse gases
CN114384030A (en) * 2022-01-11 2022-04-22 山东大学 A Gas Laser Absorption Spectral Filtering Method Based on Convolutional Neural Network
CN114778472A (en) * 2022-06-27 2022-07-22 安徽中智新能科技有限责任公司 Greenhouse gas monitoring instrument based on spectral absorption technology and detection method thereof
CN116519622A (en) * 2023-02-03 2023-08-01 湖北工业大学 Complex mixed gas detection device and method based on optical path adjustable spectrum detection
CN119666827A (en) * 2024-12-27 2025-03-21 西南交通大学 A multi-component identification method based on catalytic luminescence and artificial neural network

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4410271A (en) * 1981-06-15 1983-10-18 Matthews Thomas G Multiple-reflection optical gas cell
CN1381721A (en) * 2002-06-04 2002-11-27 复旦大学 Portable intelligent electronic nose and its preparing process
CN1699971A (en) * 2004-10-16 2005-11-23 中国科学院安徽光学精密机械研究所 Method and apparatus for adjustable multiple reflection optical absorption
US20060061893A1 (en) * 2004-07-16 2006-03-23 Anderson Betty L Methods, systems, and devices for steering optical beams
CN104020114A (en) * 2014-05-23 2014-09-03 中国人民解放军海军医学研究所 Method for analyzing trace concentration of ammonia gas
CN104502292A (en) * 2014-12-24 2015-04-08 郑州光力科技股份有限公司 Light path system of trace gas sensor and air chamber
US20150241339A1 (en) * 2010-11-12 2015-08-27 Michail A. Maksyutenko Optical Gas Analyzer
CN205374298U (en) * 2016-01-15 2016-07-06 鞍山哈工激光科技有限公司 Trace gas concentration detection apparatus based on TDLAS
US20160331270A1 (en) * 2013-09-09 2016-11-17 Riken Gas analysis device and gas analysis method
CN106153567A (en) * 2016-06-22 2016-11-23 南京信息工程大学 Based on the pressure compensated infrared gas sensor of BP neutral net and detection method
CN107313808A (en) * 2016-06-12 2017-11-03 中国石油化工股份有限公司 Inflammable gas concentration monitor and the method for early warning

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4410271A (en) * 1981-06-15 1983-10-18 Matthews Thomas G Multiple-reflection optical gas cell
CN1381721A (en) * 2002-06-04 2002-11-27 复旦大学 Portable intelligent electronic nose and its preparing process
US20060061893A1 (en) * 2004-07-16 2006-03-23 Anderson Betty L Methods, systems, and devices for steering optical beams
CN1699971A (en) * 2004-10-16 2005-11-23 中国科学院安徽光学精密机械研究所 Method and apparatus for adjustable multiple reflection optical absorption
US20150241339A1 (en) * 2010-11-12 2015-08-27 Michail A. Maksyutenko Optical Gas Analyzer
US20160331270A1 (en) * 2013-09-09 2016-11-17 Riken Gas analysis device and gas analysis method
CN104020114A (en) * 2014-05-23 2014-09-03 中国人民解放军海军医学研究所 Method for analyzing trace concentration of ammonia gas
CN104502292A (en) * 2014-12-24 2015-04-08 郑州光力科技股份有限公司 Light path system of trace gas sensor and air chamber
CN205374298U (en) * 2016-01-15 2016-07-06 鞍山哈工激光科技有限公司 Trace gas concentration detection apparatus based on TDLAS
CN107313808A (en) * 2016-06-12 2017-11-03 中国石油化工股份有限公司 Inflammable gas concentration monitor and the method for early warning
CN106153567A (en) * 2016-06-22 2016-11-23 南京信息工程大学 Based on the pressure compensated infrared gas sensor of BP neutral net and detection method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
TIAN ET AL.: "Simultaneous inversion of methyl thiol, methane and water vapor concentration from wavelength modulation spectroscopy using neural network", 《PROC. OF SPIE》 *
夏金宝: "长光程高灵敏度甲烷和气溶胶传感器研究", 《中国优秀博硕士学位论文全文数据库(博士) 信息科技辑》 *
孔国利等: "基于TDLAS-WMS的液体无损探测识别电子鼻系统", 《电子器件》 *
王玲: "《数据挖掘学习方法》", 31 August 2017, 冶金工业出版社 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114295583A (en) * 2021-11-26 2022-04-08 中国地质调查局水文地质环境地质调查中心 A coherent measurement device for greenhouse gases
CN114295583B (en) * 2021-11-26 2023-12-26 中国地质调查局水文地质环境地质调查中心 Coherent measurement device for greenhouse gas
CN114384030A (en) * 2022-01-11 2022-04-22 山东大学 A Gas Laser Absorption Spectral Filtering Method Based on Convolutional Neural Network
CN114778472A (en) * 2022-06-27 2022-07-22 安徽中智新能科技有限责任公司 Greenhouse gas monitoring instrument based on spectral absorption technology and detection method thereof
CN116519622A (en) * 2023-02-03 2023-08-01 湖北工业大学 Complex mixed gas detection device and method based on optical path adjustable spectrum detection
CN116519622B (en) * 2023-02-03 2023-10-10 湖北工业大学 Complex mixed gas detection device and method based on optical pathlength adjustable spectrum detection
CN119666827A (en) * 2024-12-27 2025-03-21 西南交通大学 A multi-component identification method based on catalytic luminescence and artificial neural network

Similar Documents

Publication Publication Date Title
CN113358600A (en) Gas detection chamber, laser spectrum gas detection system based on artificial neural network and laser spectrum gas detection method based on artificial neural network
CN101308090B (en) Fire field multi- parameter laser wavelength modulated spectrum detection method and apparatus
CN113406021B (en) Optical frequency comb gas detection system and method based on neural network
CN103389283B (en) Turnable diode laser trace gas measurement device and method using high diffuse reflection square chamber to increase optical paths
CN103115879B (en) Method for measuring content of chlorophyll a, chlorophyll b and carotenoid in plant live leaf by utilizing absorption spectrum
CN101975759A (en) Transmission-type nondestructive measuring device and method of water content of plant leaves
CN104165853A (en) Spectroscopy water environment online measuring device
CN104777108B (en) The detection means and method of a kind of chlorophyll content
CN101852725A (en) A full-spectrum transmission non-destructive detection device and method for plant biochemical parameters
CN101776584A (en) High-spectrum comprehensive analysis early detection method for Bursaphelenchus xylophilus
CN103528991B (en) System and method for measuring organic matter content of soil
CN110411971A (en) A kind of on-Line Monitor Device of methane and non-methane total hydrocarbons content
CN201210140Y (en) Multi-parameter laser wavelength modulation spectrum detection apparatus used in fire field
Gorton et al. Measurement of the optical properties of leaves under diffuse light
CN211122522U (en) Device for rapid identification of fat and protein content in raw milk based on infrared spectroscopy
CN114965358B (en) Multi-component gas synchronized correction-free detection device and method based on a single detector
CN208705217U (en) Tubular type water quality transparency laser detector
CN206431046U (en) A kind of measurement apparatus of rice leaf tissue optical property parameter
CN120334143A (en) A portable rice wine alcohol content detection device and rapid detection method
CN218412261U (en) Hydrogen sulfide gas detection device based on ultraviolet dual-wavelength correlation spectroscopy
CN105784671B (en) A kind of Resonance Raman Spectra in Liquid core Optical Fiber on-line checking nitrite method
CN115266661A (en) Plant leaf chlorophyll fluorescence parameter detection device and method
CN108593597A (en) Natural gas leaking early warning monitoring device and method based on optical fiber FP lumen type probe
CN204177735U (en) A kind of spectroscopic methodology water body environment on-line measurement device
Fabian et al. Investigation of ethanol and methanol water mixtures in the visible wavelength area using fibre-optic evanescent field absorption sensors based on a u-shaped, a coil-shaped and a meander-shaped probe

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907