[go: up one dir, main page]

CN111521647B - Gas concentration detection method, system, computer equipment and storage medium - Google Patents

Gas concentration detection method, system, computer equipment and storage medium Download PDF

Info

Publication number
CN111521647B
CN111521647B CN202010216940.XA CN202010216940A CN111521647B CN 111521647 B CN111521647 B CN 111521647B CN 202010216940 A CN202010216940 A CN 202010216940A CN 111521647 B CN111521647 B CN 111521647B
Authority
CN
China
Prior art keywords
gas
voltage
gas sensor
analysis model
sensing
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
CN202010216940.XA
Other languages
Chinese (zh)
Other versions
CN111521647A (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.)
Southern University of Science and Technology
Original Assignee
Southern University of Science and Technology
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 Southern University of Science and Technology filed Critical Southern University of Science and Technology
Priority to CN202010216940.XA priority Critical patent/CN111521647B/en
Publication of CN111521647A publication Critical patent/CN111521647A/en
Application granted granted Critical
Publication of CN111521647B publication Critical patent/CN111521647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/04Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
    • G01N27/12Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance of a solid body in dependence upon absorption of a fluid; of a solid body in dependence upon reaction with a fluid, for detecting components in the fluid
    • 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

  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

本申请公开了一种气体浓度检测方法、系统、计算机设备及存储介质,涉及气敏传感技术领域,该气体浓度检测方法,应用于气敏传感器中,所述气敏传感器包括加热电极和气敏材料,所述加热电极用于对所述气敏材料进行加热,包括:利用脉冲电压驱动所述加热电极对所述气敏材料加热,获取在所述脉冲电压的脉冲宽度中所述气敏传感器输出的电压数据,得到电压数组;将所述电压数组输入至目标气敏数据分析模型中,得到所述目标气敏数据分析模型输出的所述气敏传感器的阻抗;根据所述气敏传感器的阻抗确定所述待检测气体的浓度。本申请可以降低气体浓度检测过程中的功耗,并且可以快速响应,缩短检测时长。

Figure 202010216940

The application discloses a gas concentration detection method, system, computer equipment and storage medium, and relates to the field of gas sensor technology. The gas concentration detection method is applied to a gas sensor, and the gas sensor includes a heating electrode and a gas sensor. material, the heating electrode is used to heat the gas-sensing material, including: using a pulse voltage to drive the heating electrode to heat the gas-sensing material, and obtaining the gas sensor in the pulse width of the pulse voltage output voltage data to obtain a voltage array; input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas sensor output by the target gas-sensing data analysis model; Impedance determines the concentration of the gas to be detected. The application can reduce the power consumption in the gas concentration detection process, and can respond quickly and shorten the detection time.

Figure 202010216940

Description

气体浓度检测方法、系统、计算机设备及存储介质Gas concentration detection method, system, computer equipment and storage medium

技术领域technical field

本申请涉及气敏传感技术领域,特别是涉及一种气体浓度检测方法、系统、计算机设备及存储介质。The present application relates to the technical field of gas sensing, in particular to a gas concentration detection method, system, computer equipment and storage medium.

背景技术Background technique

气敏传感器可以用于检测空气中特定一种或者多种气体的浓度,这样人们可以根据环境中某一种或者多种气体的浓度判断环境中的空气质量。Gas sensors can be used to detect the concentration of one or more gases in the air, so that people can judge the air quality in the environment according to the concentration of one or more gases in the environment.

现有技术中,检测气体浓度的方法是:对气敏传感器进行上电加热,当温度达到气敏传感器上涂覆的气敏材料的最佳工作温度后,采集气敏传感器输出的电压数据,根据气敏传感器输出的电压数据确定被测气体的浓度。In the prior art, the method for detecting the gas concentration is as follows: the gas sensor is powered on and heated, and when the temperature reaches the optimum working temperature of the gas sensor material coated on the gas sensor, the voltage data output by the gas sensor is collected, Determine the concentration of the measured gas according to the voltage data output by the gas sensor.

然而,上述检测方法中,气敏传感器的温度从常温加热到气敏材料的最佳工作温度的过程耗时较长,且功耗较大。However, in the above detection method, the process of heating the temperature of the gas sensor from normal temperature to the optimum working temperature of the gas sensor material takes a long time and consumes a lot of power.

发明内容Contents of the invention

基于此,有必要针对现有的检测方法存在的耗时长、功耗大的问题,提供一种气体浓度检测方法、系统、计算机设备及存储介质。Based on this, it is necessary to provide a gas concentration detection method, system, computer equipment and storage medium for the problems of long time consumption and high power consumption in existing detection methods.

一种气体浓度检测方法,应用于气敏传感器中,气敏传感器包括加热电极和气敏材料,加热电极用于对气敏材料进行加热,该方法包括:A gas concentration detection method applied to a gas sensor, the gas sensor includes a heating electrode and a gas sensitive material, the heating electrode is used to heat the gas sensitive material, the method includes:

利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;Use the pulse voltage to drive the heating electrode to heat the gas-sensitive material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain a voltage array;

将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;Input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model;

根据气敏传感器的阻抗确定待检测气体的浓度。Determine the concentration of the gas to be detected according to the impedance of the gas sensor.

在本申请的一个实施例中,将电压数组输入至目标气敏数据分析模型中之前,该方法还包括:In one embodiment of the present application, before inputting the voltage array into the target gas sensing data analysis model, the method further includes:

获取训练样本集合,训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本;Obtain a training sample set, the training sample set includes several groups of samples composed of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array;

根据训练样本集合,训练初始神经网络模型,得到目标气敏数据分析模型。According to the training sample set, the initial neural network model is trained to obtain the target gas-sensing data analysis model.

在本申请的一个实施例中,将电压数组输入至目标气敏数据分析模型中之前,包括:In one embodiment of the present application, before inputting the voltage array into the target gas sensing data analysis model, it includes:

获取气敏传感器的规格;Obtain the specifications of the gas sensor;

根据气敏传感器的规格从目标气敏数据分析模型组中确定目标气敏数据分析模型,气敏分析模型组中包括多种气敏数据分析模型。A target gas-sensing data analysis model is determined from the target gas-sensing data analysis model group according to the specifications of the gas-sensing sensor, and the gas-sensing analysis model group includes multiple gas-sensing data analysis models.

在本申请的一个实施例中,将电压数组输入至目标气敏数据分析模型中之前,该方法还包括:In one embodiment of the present application, before inputting the voltage array into the target gas sensing data analysis model, the method further includes:

对电压数组进行归一化预处理。Perform normalization preprocessing on the voltage array.

在本申请的一个实施例中,气敏传感器还包括测试电极,测试电极与加热电极相连,气敏材料涂覆在测试电极的表面,气敏材料为金属氧化物。In one embodiment of the present application, the gas sensor further includes a test electrode, the test electrode is connected to the heating electrode, and the gas-sensing material is coated on the surface of the test electrode, and the gas-sensing material is a metal oxide.

在本申请的一个实施例中,加热电极为采用微纳加工工艺制备的微加热电极。In one embodiment of the present application, the heating electrode is a micro-heating electrode prepared by a micro-nano fabrication process.

在本申请的一个实施例中,脉冲电压的脉冲宽度大于0.1s,小于等于20s。In an embodiment of the present application, the pulse width of the pulse voltage is greater than 0.1s and less than or equal to 20s.

一种气体浓度检测系统,应用于气敏传感器中,气敏传感器包括加热电极和气敏材料,加热电极用于对气敏材料进行加热,该系统包括:A gas concentration detection system, applied to a gas sensor, the gas sensor includes a heating electrode and a gas sensitive material, the heating electrode is used to heat the gas sensitive material, the system includes:

获取模块,用于利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;The obtaining module is used to use the pulse voltage to drive the heating electrode to heat the gas sensitive material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain a voltage array;

分析模块,用于将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;The analysis module is used to input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model;

检测模块,用于根据气敏传感器的阻抗确定待检测气体的浓度。The detection module is used to determine the concentration of the gas to be detected according to the impedance of the gas sensor.

一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该计算机程序被该处理器执行时实现以下步骤:A computer device, including a memory and a processor, the memory stores a computer program, and the computer program is executed by the processor to achieve the following steps:

利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;Use the pulse voltage to drive the heating electrode to heat the gas-sensitive material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain a voltage array;

将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;Input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model;

根据气敏传感器的阻抗确定待检测气体的浓度。Determine the concentration of the gas to be detected according to the impedance of the gas sensor.

一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:

利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;Use the pulse voltage to drive the heating electrode to heat the gas-sensitive material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain a voltage array;

将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;Input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model;

根据气敏传感器的阻抗确定待检测气体的浓度。Determine the concentration of the gas to be detected according to the impedance of the gas sensor.

本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present application at least include:

上述气体浓度检测方法、系统、计算机设备及存储介质,可以提高速度减少功耗。该气体浓度检测方法,应用于气敏传感器中,气敏传感器包括加热电极和气敏材料,加热电极用于对气敏材料进行加热。具体的,利用脉冲电压驱动加热电极对气敏材料加热,采集在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组。将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗。根据气敏传感器的阻抗确定待检测气体的浓度。本实施例中,通过采集在脉冲电压的脉冲持续期内气敏传感器输出的电压数据,然后对电压数据通过目标气敏数据分析模型进行处理,得到气敏传感器的阻抗,进而确定待检测气体的浓度。其中,在施加脉冲电压时,就可以采集数据。而不需要等到热敏材料达到最佳工作温度后再采集数据。因此,相比于传统直流电压加热方式的气敏传感器缩短了气敏材料从常温升高至最佳工作温度这个过程所耗费的时间,功耗低,响应速度快。并且本实施例中,通过目标气敏数据分析模型对采集到的电压数据进行深度学习提高了气体浓度的检测准确率,相比于一般的脉冲电压加热方式的气敏传感器准确率更高。The above gas concentration detection method, system, computer equipment and storage medium can improve speed and reduce power consumption. The gas concentration detection method is applied to a gas sensor. The gas sensor includes a heating electrode and a gas-sensing material, and the heating electrode is used to heat the gas-sensing material. Specifically, the pulse voltage is used to drive the heating electrode to heat the gas-sensing material, and the voltage data output by the gas-sensing sensor within the pulse width of the pulse voltage is collected to obtain a voltage array. The voltage array is input into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model. Determine the concentration of the gas to be detected according to the impedance of the gas sensor. In this embodiment, by collecting the voltage data output by the gas sensor within the pulse duration of the pulse voltage, and then processing the voltage data through the target gas sensor data analysis model, the impedance of the gas sensor is obtained, and then the gas to be detected is determined. concentration. Among them, when the pulse voltage is applied, data can be collected. There is no need to wait until the thermally sensitive material has reached its optimum operating temperature before collecting data. Therefore, compared with the gas sensor of the traditional DC voltage heating method, it shortens the time it takes for the gas sensor material to rise from normal temperature to the optimal working temperature, and has low power consumption and fast response speed. And in this embodiment, the deep learning of the collected voltage data through the target gas sensor data analysis model improves the detection accuracy of the gas concentration, which is higher than the general pulse voltage heating gas sensor accuracy.

附图说明Description of drawings

图1为本申请实施例提供的气体浓度检测方法的实施环境的示意图;Fig. 1 is a schematic diagram of the implementation environment of the gas concentration detection method provided by the embodiment of the present application;

图2为本申请实施例提供的一种气体浓度检测方法的流程图;FIG. 2 is a flow chart of a gas concentration detection method provided in an embodiment of the present application;

图3为本申请实施例提供的脉冲电压的示意图;Fig. 3 is the schematic diagram of the pulse voltage provided by the embodiment of the present application;

图4为本申请实施例提供的气敏传感器输出的电压信号的示意图;4 is a schematic diagram of the voltage signal output by the gas sensor provided in the embodiment of the present application;

图5为本申请实施例提供的采样得到的电压数组的示意图;FIG. 5 is a schematic diagram of a sampled voltage array provided in an embodiment of the present application;

图6为本申请实施例提供的初始神经网络模型的框架图;Fig. 6 is the frame diagram of the initial neural network model provided by the embodiment of the present application;

图7为本申请实施例提供的训练过程中的对比示意图;Fig. 7 is a comparative schematic diagram during the training process provided by the embodiment of the present application;

图8为本申请实施例提供的对气敏数据分析模型的验证过程示意图;Fig. 8 is a schematic diagram of the verification process of the gas-sensing data analysis model provided by the embodiment of the present application;

图9为本申请实施例提供的另一种气体浓度检测方法的流程图;FIG. 9 is a flow chart of another gas concentration detection method provided in the embodiment of the present application;

图10为本申请实施例提供的一种气体浓度检测系统的模块图;FIG. 10 is a block diagram of a gas concentration detection system provided in an embodiment of the present application;

图11为本申请实施例提供的一种计算机设备的模块图。FIG. 11 is a block diagram of a computer device provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

气敏传感技术可以用于检测空气中特定一种或者多种气体的浓度,这样人们可以根据环境中某一种或者多种气体的浓度判断环境中的空气质量。因此,气敏传感技术在人们日常生活、工业生产以及科研活动等应用领域具有重要作用。例如可以检测威胁人们生活健康的甲醛,苯系物和其他一些挥发性有机物等。在工业生产以及科研活动等领域可以用于检测环境中有毒气体浓度,从而预判是否存在有毒气体泄漏的情况发生。Gas sensing technology can be used to detect the concentration of one or more specific gases in the air, so that people can judge the air quality in the environment according to the concentration of one or more gases in the environment. Therefore, gas sensing technology plays an important role in the application fields of people's daily life, industrial production and scientific research activities. For example, it can detect formaldehyde, benzene series and other volatile organic compounds that threaten people's life and health. In the fields of industrial production and scientific research activities, it can be used to detect the concentration of toxic gases in the environment, so as to predict whether there is a leakage of toxic gases.

现有技术中,利用气敏传感技术检测待测气体浓度的方法是:对气敏传感器进行上电加热,当温度达到气敏传感器上涂覆的气敏材料的最佳工作温度后,采集气敏传感器输出的电压数据,根据气敏传感器输出的电压数据确定被测气体的浓度。In the prior art, the method of detecting the concentration of the gas to be measured by using the gas sensing technology is: power on the gas sensor and heat it, and when the temperature reaches the optimum working temperature of the gas sensitive material coated on the gas sensor, collect The voltage data output by the gas sensor is used to determine the concentration of the gas to be measured according to the voltage data output by the gas sensor.

虽然加热电极可以提高气敏材料的工作性能,但是气敏材料从常温加热到最佳工作温度的过程中,需要花费较长的时间,并且,加热过程中的功耗较大。并且,当气敏材料的温度到达最佳工作温度后,仍需要保持气敏材料一直处于该最佳工作温度,才可以采集到准确的数据,也就是说,在整个数据采集过程中,加热电极也需要保持在持续加热状态,因此功耗更大。Although the heating electrode can improve the working performance of the gas-sensing material, it takes a long time to heat the gas-sensing material from normal temperature to the optimal working temperature, and the power consumption in the heating process is relatively large. Moreover, when the temperature of the gas-sensing material reaches the optimum working temperature, it is still necessary to keep the gas-sensing material at the optimum working temperature so that accurate data can be collected, that is to say, during the entire data collection process, the heating electrode It also needs to be kept in a constant heating state, so it consumes more power.

目前一些研究机构提出使用机器学习的方式分析气敏传感信号,如“利用前馈神经网络进行气体定性分析”(仪器仪表学报,2000,467:471-473)将信号处理后的结果用于定性识别气氛中是否存在某种特定气体,然而该工作仅仅是早期关于气敏检测的定性分析,无法定量分析检测气体的浓度;来自“Improving gas identification accuracy of atemperature-modulated gas sensor using an ensemble of classifiers(中文译文:利用集成分类器提高温度调制型气体传感器的气体识别精度)”(Sensors and Actuators B:Chemical,2013,187:241-246.)(中文译文:传感器和执行器B:化学,2013,187:241-246)这篇文献的工作主要通过调节加热脉冲幅值调节气敏传感器衬底温度,将气敏传感器衬底温度加热至最佳工作温度,将气敏传感器在最佳工作温度下的输出的电压数据输入支持向量机(SVM)算法中进行气敏分析,虽然该方案采用了脉冲电压进行加热,但是其过程是利用脉冲电压将气敏传感器从常温加热到最佳工作温度,然后对气敏传感器输出的电压数据进行处理,从而定性分析待测气体的种类。一方面该方法中的加热过程依然需要花费较长时间。另一方面,该方法不能实现对待测气体的浓度进行定量测量。At present, some research institutions propose to use machine learning to analyze gas sensing signals, such as "Using Feedforward Neural Networks for Gas Qualitative Analysis" (Journal of Instrumentation, 2000, 467:471-473) to use the results of signal processing for Qualitatively identify whether there is a specific gas in the atmosphere, but this work is only an early qualitative analysis of gas-sensing detection, and cannot quantitatively analyze the concentration of the detected gas; from "Improving gas identification accuracy of temperature-modulated gas sensor using an ensemble of classifiers (Chinese translation: Improving gas identification accuracy of temperature-modulated gas sensors using integrated classifiers)” (Sensors and Actuators B: Chemical,2013,187:241-246.) (Chinese translation: Sensors and Actuators B: Chemistry, 2013 ,187:241-246) The work in this literature mainly adjusts the substrate temperature of the gas sensor by adjusting the heating pulse amplitude, heats the substrate temperature of the gas sensor to the optimum working temperature, and keeps the gas sensor at the optimum working temperature The output voltage data below is input into the support vector machine (SVM) algorithm for gas sensing analysis. Although the scheme uses pulse voltage for heating, the process is to use pulse voltage to heat the gas sensor from normal temperature to the optimal working temperature. Then, the voltage data output by the gas sensor is processed to qualitatively analyze the type of gas to be measured. On the one hand, the heating process in this method still takes a long time. On the other hand, this method cannot realize the quantitative measurement of the concentration of the gas to be measured.

本申请提出一种气体浓度检测方法,可以提高速度减少功耗。该方法中,通过采集在脉冲电压的脉冲持续期内气敏传感器输出的电压数据,然后对电压数据通过目标气敏数据分析模型进行处理,得到气敏传感器的阻抗,进而确定待检测气体的浓度。由此可知,本实施例中,在脉冲电压的一个脉冲持续期的时长内采集气敏传感器输出的电压数据,不需要等到热敏材料达到最佳工作温度后再采集数据。因此,缩短了气敏材料从常温升高至最佳工作温度这个过程所耗费的时长。相应的,也降低了对气敏材料加热过程中的功耗。The present application proposes a gas concentration detection method, which can improve speed and reduce power consumption. In this method, the voltage data output by the gas sensor during the pulse duration of the pulse voltage is collected, and then the voltage data is processed through the target gas sensor data analysis model to obtain the impedance of the gas sensor, and then determine the concentration of the gas to be detected . It can be seen that, in this embodiment, the voltage data output by the gas sensor is collected within one pulse duration of the pulse voltage, and there is no need to wait for the heat-sensitive material to reach the optimum working temperature before collecting data. Therefore, the time it takes for the gas-sensitive material to rise from normal temperature to the optimum working temperature is shortened. Correspondingly, the power consumption in the process of heating the gas-sensitive material is also reduced.

下面,将对本申请实施例提供的气体浓度检测方法所涉及到的实施环境进行简要说明。Below, the implementation environment involved in the gas concentration detection method provided in the embodiment of the present application will be briefly described.

请参考图1,该实施环境可以包括气敏传感器和计算机设备(图中未示出),气敏传感器包括测试电极102和加热电极101,在工作情况下,加热电极101的两端存在脉冲电压,利用脉冲电压驱动加热电极101,使得加热电极101进行加热。测试电极102是用于承载气敏材料的电极。Please refer to Fig. 1, this implementation environment can include gas sensor and computer equipment (not shown in the figure), gas sensor includes test electrode 102 and heating electrode 101, under working condition, there is pulse voltage at both ends of heating electrode 101 , the heating electrode 101 is driven by a pulse voltage, so that the heating electrode 101 is heated. The test electrode 102 is an electrode for carrying gas-sensitive materials.

可选的,测试电极102为插指形状,测试电极102在非工作状态下处于断路状态。测试电极102上涂覆气敏材料后,且气敏材料处于常温状态时,测试电极102的阻抗非常高。当气敏材料的温度升高,并且气敏材料感应到待检测气体的情况下,测试电极102两端的阻抗会迅速降低。Optionally, the test electrode 102 is in the shape of a finger, and the test electrode 102 is in an open circuit state in a non-working state. After the gas-sensing material is coated on the testing electrode 102 and the gas-sensing material is at normal temperature, the impedance of the testing electrode 102 is very high. When the temperature of the gas-sensing material rises and the gas-sensing material senses the gas to be detected, the impedance at both ends of the test electrode 102 will decrease rapidly.

本实施例中,气敏传感器还包括负载电阻(图中未示出),负载电阻与测试电极102串联后,与直流电源连接。在非工作状态,测试电极102处于断路状态,该串联电路断开。而在工作状态,测试电极102导通,该串联电路导通,可以测量负载电阻在该串联电路中所分得的电压数据,该负载电阻所分得的电压数据即为需要采集的电压数据。In this embodiment, the gas sensor further includes a load resistor (not shown in the figure), which is connected to a DC power supply after being connected in series with the test electrode 102 . In the non-working state, the test electrode 102 is in an open circuit state, and the series circuit is disconnected. In the working state, the test electrode 102 is turned on, the series circuit is turned on, and the voltage data obtained by the load resistance in the series circuit can be measured, and the voltage data obtained by the load resistance is the voltage data to be collected.

气敏传感器还包括信号采集设备,信号采集设备用于采集负载电阻的电压信号采集设备与计算机设备相连,用于接收计算机设备发送的采集指令,信号采集设备接收到采集指令后,对气敏传感器输出的电压信号进行数据采集。具体的,由于随着气敏材料的温度升高,测试电极的阻抗迅速降低,串联电路中的总电阻发生变化,因此,负载电阻所分得的电压数据也处于连续变化状态。本实施例中,信号采集设备可以对该处于连续变化状态的电压数据进行数据采集,得到多个离散的电压数据组成的电压数组。The gas sensor also includes signal acquisition equipment. The signal acquisition equipment is used to collect the voltage signal acquisition equipment of the load resistance and is connected to the computer equipment to receive the acquisition instructions sent by the computer equipment. After the signal acquisition equipment receives the acquisition instructions, it The output voltage signal is used for data acquisition. Specifically, as the temperature of the gas-sensitive material increases, the impedance of the test electrode decreases rapidly, and the total resistance in the series circuit changes, so the voltage data obtained by the load resistance is also in a state of continuous change. In this embodiment, the signal acquisition device can perform data acquisition on the voltage data in a continuously changing state to obtain a voltage array composed of multiple discrete voltage data.

计算机设备中预先存储有目标气敏数据分析模型,计算机设备可以获取信号采集设备采集到的电压数组,并将电压数组中的电压数据按照时序顺序输入至目标气敏数据分析模型,目标气敏数据分析模型可以输出对应于输入的电压数组的气敏传感器的阻抗,并根据气敏传感器的阻抗确定待检测气体的浓度。The target gas-sensing data analysis model is pre-stored in the computer equipment, and the computer equipment can obtain the voltage array collected by the signal acquisition device, and input the voltage data in the voltage array to the target gas-sensing data analysis model in sequence, and the target gas-sensing data The analysis model can output the impedance of the gas sensor corresponding to the input voltage array, and determine the concentration of the gas to be detected according to the impedance of the gas sensor.

请参考图2,其示出了本申请实施例提供的一种气体浓度检测方法的流程图,该气体浓度检测方法可以应用于图1所示实施环境中的气敏传感器中,该气敏传感器包括加热电极和气敏材料,加热电极用于对气敏材料进行加热,如图2所示,该气体浓度检测方法可以包括以下步骤:Please refer to FIG. 2, which shows a flow chart of a gas concentration detection method provided by an embodiment of the present application. The gas concentration detection method can be applied to the gas sensor in the implementation environment shown in FIG. 1. The gas sensor Including a heating electrode and a gas-sensing material, the heating electrode is used to heat the gas-sensing material, as shown in Figure 2, the gas concentration detection method may include the following steps:

步骤201,计算机设备利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组。Step 201 , the computer device uses the pulse voltage to drive the heating electrode to heat the gas-sensing material, acquires the voltage data output by the gas-sensing sensor within the pulse width of the pulse voltage, and obtains a voltage array.

在对待测气体的浓度进行检测时,计算机设备可以向气敏传感器发送加热指令,加热电极接收到加热指令后,通过脉冲电路给加热电极施加脉冲电压对气敏传感器进行加热。本实施例中,如图3所示,脉冲电压一般包括上升沿、下降沿以及上升沿和下降沿之间的处于高电平状态的脉冲宽度。其中,上升沿表示脉冲电压的起始时间点,下降沿表示脉冲电压的结束时间点,脉冲宽度表示脉冲持续时长。图3中的在脉冲宽度中的上升的曲线为气敏传感器输出的电压信号。本实施例中,脉冲持续时长与采集气敏传感器输出的电压数据的采样时长相等。When detecting the concentration of the gas to be measured, the computer equipment can send a heating instruction to the gas sensor, and after the heating electrode receives the heating instruction, a pulse voltage is applied to the heating electrode through the pulse circuit to heat the gas sensor. In this embodiment, as shown in FIG. 3 , the pulse voltage generally includes a rising edge, a falling edge, and a pulse width in a high level state between the rising edge and the falling edge. Wherein, the rising edge represents the start time point of the pulse voltage, the falling edge represents the end time point of the pulse voltage, and the pulse width represents the duration of the pulse. The rising curve in the pulse width in FIG. 3 is the voltage signal output by the gas sensor. In this embodiment, the pulse duration is equal to the sampling time for collecting the voltage data output by the gas sensor.

本实施例中,气敏传感器输出的电压信号为连续的模拟信号,如图4所示,其示出了在脉冲加热过程中,气敏传感器输出的电压信号的示意图,横轴表示时间,每单位时间为0.01s。纵轴表示电压。计算机设备还可以向信号采集设备发送采集指令,信号采集设备接收到采集指令后,可以按照预先设定好的采样频率对图3中示出的脉冲持续时长内的气敏传感器输出的电压信号进行采样,得到气敏传感器输出的电压数据。可选的,对电压信号进行离散采样后可以得到电压数组,电压数组中包括多个离散的电压数据,如图5所示,可以采样的时间序列和采样得到的电压数据序列映射到的坐标系中,该坐标系中,X轴是将1s的采样时间划分为100份,每份代表的时长为0.01s,Y轴是将电压信号归一化后划分到100格中,采样得到的电压数据可以在Y轴找到对应的数值。In this embodiment, the voltage signal output by the gas sensor is a continuous analog signal, as shown in Figure 4, which shows a schematic diagram of the voltage signal output by the gas sensor during the pulse heating process, the horizontal axis represents time, and each The unit time is 0.01s. The vertical axis represents voltage. The computer equipment can also send acquisition instructions to the signal acquisition equipment. After the signal acquisition equipment receives the acquisition instructions, it can perform the voltage signal output by the gas sensor within the pulse duration shown in Figure 3 according to the preset sampling frequency. Sampling to obtain the voltage data output by the gas sensor. Optionally, after discretely sampling the voltage signal, a voltage array can be obtained, and the voltage array includes multiple discrete voltage data, as shown in Figure 5, the time series that can be sampled and the coordinate system to which the sampled voltage data series are mapped , in this coordinate system, the X-axis divides the sampling time of 1s into 100 parts, and each part represents a duration of 0.01s. The Y-axis divides the voltage signal into 100 divisions after normalization, and the voltage data obtained by sampling You can find the corresponding value on the Y axis.

本实施例中,对一个脉冲电压的脉冲宽度对应的脉冲持续时长内的电压信号按照预设采样频率采样后,得到的多个离散的电压数据组成一个电压数组。In this embodiment, after the voltage signal within the pulse duration corresponding to the pulse width of a pulse voltage is sampled according to a preset sampling frequency, a plurality of discrete voltage data obtained form a voltage array.

本实施例中,信号采集设备可以将采集到的电压数组自动上传给计算机设备,这样计算机设备就可以获取电压数组。In this embodiment, the signal collection device can automatically upload the collected voltage array to the computer device, so that the computer device can obtain the voltage array.

步骤202,将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗。Step 202, inputting the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model.

可选的,该电压数组中的电压数据具有时序上的先后顺序。将电压数组输入至目标气敏数据分析模型中时,是按照电压数组中的电压数据的时序输入的。Optionally, the voltage data in the voltage array has a time sequence. When the voltage array is input into the target gas sensing data analysis model, it is input according to the time sequence of the voltage data in the voltage array.

可选的,目标气敏数据分析模型可以是神经网络模型、支持向量机模型、极限学习模型等。Optionally, the target gas-sensing data analysis model may be a neural network model, a support vector machine model, an extreme learning model, and the like.

本实施例中,由于电压数组是在脉冲电压的脉冲持续期内采集到的电压数据,而在脉冲持续期内,一方面加热电极加热时长较短,因此,气敏材料可能并不能达到最佳工作温度。而当气敏材料未达到最佳工作温度时,说明气敏传感器输出的电压数据仍处于变化状态。本实施例中仅对脉冲持续期内的电压信号进行采样,说明采样的对象不完整,因此,采用现有技术中的方案,直接根据电压数据求取取气敏传感器的阻抗的话,得到的气敏传感器的阻抗是不准确的。基于此,本实施例提出通过软件算法,将采集到的电压数组中的电压数据映射到气敏传感器的阻抗,并在此过程中对采集到的电压数组的精度不足的问题进行补偿,从而确保采用本技术方案检测出的气体浓度是准确的。In this embodiment, since the voltage array is the voltage data collected during the pulse duration of the pulse voltage, and during the pulse duration, on the one hand, the heating time of the heating electrode is relatively short, so the gas-sensitive material may not be optimal. Operating temperature. And when the gas-sensing material does not reach the optimum working temperature, it means that the voltage data output by the gas-sensing sensor is still in a state of change. In this embodiment, only the voltage signal within the duration of the pulse is sampled, indicating that the sampled object is incomplete. Therefore, if the solution in the prior art is used to obtain the impedance of the gas sensor directly according to the voltage data, the obtained gas Sensitive sensor impedance is not accurate. Based on this, this embodiment proposes to use a software algorithm to map the voltage data in the collected voltage array to the impedance of the gas sensor, and compensate for the lack of accuracy of the collected voltage array in the process, so as to ensure The gas concentration detected by the technical scheme is accurate.

可选的,在将电压数组输入至目标气敏数据分析模型中之前,本实施例还可以包括获取该目标气敏数据分析模型的步骤:Optionally, before inputting the voltage array into the target gas-sensing data analysis model, this embodiment may also include the step of obtaining the target gas-sensing data analysis model:

一种可选的实现方式是,训练目标气敏数据分析模型,包括以下步骤:An optional implementation is to train the target gas-sensing data analysis model, including the following steps:

步骤A1,获取训练样本集合。Step A1, obtain a training sample set.

其中,训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本。Wherein, the training sample set includes several groups of samples composed of different voltage arrays and the impedance of the gas sensor corresponding to the voltage arrays.

本实施例中,获取训练样本集的过程可以是:In this embodiment, the process of obtaining the training sample set may be:

在气体浓度稳定的气敏检测设备中放置两个气敏传感器,例如气敏传感器A和气敏传感器B,其中,气敏传感器A为本实施例中提出的利用脉冲电压加热的气敏传感器。气敏传感器B为标准气敏传感器,用气敏传感器B测量出的气敏传感器的阻抗作为标准的气敏传感器的阻抗,以便于对气敏传感器A检测到的电压数组对应的阻抗进行训练校正。Two gas sensors, such as gas sensor A and gas sensor B, are placed in the gas detection device with stable gas concentration, wherein gas sensor A is the gas sensor proposed in this embodiment using pulse voltage heating. Gas sensor B is a standard gas sensor, and the impedance of the gas sensor measured by gas sensor B is used as the impedance of the standard gas sensor, so as to facilitate training and correction of the impedance corresponding to the voltage array detected by gas sensor A .

计算机设备分别向气敏传感器A和气敏传感器B发出加热指令,气敏传感器A中,在脉冲电压的脉冲持续期内采集电压数据。其中,可以对气敏传感器A加载多次脉冲电压,获取每一次的脉冲电压的脉冲持续期内的电压数组。需要说明的是,相邻两次脉冲电压之间具有间隔时长,该间隔时长的长度可以是不固定的,但每次加载脉冲电压时,气敏传感器A的气敏材料需要处于常温状态。The computer equipment sends heating commands to the gas sensor A and the gas sensor B respectively, and in the gas sensor A, the voltage data is collected during the pulse duration of the pulse voltage. Wherein, multiple pulse voltages can be applied to the gas sensor A, and a voltage array within the pulse duration of each pulse voltage can be obtained. It should be noted that there is an interval between two adjacent pulse voltages, and the length of the interval may not be fixed, but each time the pulse voltage is applied, the gas sensitive material of the gas sensor A needs to be in a normal temperature state.

可选的,在气体浓度不变的情况下,每一次加载脉冲电压,可以获得一个电压数组。Optionally, under the condition that the gas concentration is constant, a voltage array can be obtained each time the pulse voltage is applied.

进一步的,可以通过阀门等控制设备缓慢降低气体浓度,将气体浓度降低至预设浓度后,在预设浓度下,多次加载脉冲电压,并获得多个电压数组。以此类推,缓慢降低气体浓度,并获取到多个电压数组。Furthermore, the gas concentration can be slowly reduced through control devices such as valves, and after the gas concentration is reduced to a preset concentration, the pulse voltage is applied multiple times at the preset concentration to obtain multiple voltage arrays. By analogy, the gas concentration is slowly reduced, and multiple voltage arrays are obtained.

另一方面,气敏传感器B,通过直流加热电阻加热,当气敏传感器B的气敏材料达到最佳工作温度时,采集气敏传感器B输出的电压数据,并根据该电压数据计算得到气敏传感器B的阻抗。On the other hand, the gas sensor B is heated by a DC heating resistor. When the gas sensitive material of the gas sensor B reaches the optimum working temperature, the voltage data output by the gas sensor B is collected, and the gas sensor is calculated based on the voltage data. Impedance of sensor B.

在缓慢降低气体浓度时,在每个预设浓度下,获取气敏传感器B的阻抗。When the gas concentration is slowly reduced, the impedance of the gas sensor B is obtained at each preset concentration.

在每个预设浓度下,气敏传感器B的阻抗作为气敏传感器A在该预设浓度下检测到的电压数组对应的准确的气敏传感器的阻抗。At each preset concentration, the impedance of the gas sensor B is used as the impedance of the accurate gas sensor corresponding to the voltage array detected by the gas sensor A at the preset concentration.

本实施例中,通过不同的电压数组以及各电压数组对应的气敏传感器的阻抗组成若干组样本。In this embodiment, several groups of samples are composed of different voltage arrays and the impedance of the gas sensor corresponding to each voltage array.

步骤A2,根据训练样本集合,训练初始神经网络模型,得到目标气敏数据分析模型。Step A2, according to the training sample set, train the initial neural network model to obtain the target gas-sensing data analysis model.

如图6所示,其示出了初始神经网络模型的框架图。本实施例中,初始神经网络模型是一个标准的全链接层网络结构,第一层和最后一层分别为训练数据输入层或训练结果输出层,而中间的隐藏层的数量为3-5层,每层有100-1000个神经元。As shown in Figure 6, it shows the frame diagram of the initial neural network model. In this embodiment, the initial neural network model is a standard full-link layer network structure, the first layer and the last layer are respectively the training data input layer or the training result output layer, and the number of hidden layers in the middle is 3-5 layers , each layer has 100-1000 neurons.

进一步的,本实施例中,在采集到足够多的数据后,随机挑选部分数据组合得到测试样本集合,测试样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本。测试样本集合中的样本不参与训练过程。当采用训练样本集训练好模型后,采用测试样本集合对训练好的模型进行预测。从而判断预测数据与实际数据之间的差距。Further, in this embodiment, after enough data is collected, some data combinations are randomly selected to obtain a test sample set. The test sample set includes a number of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array. group samples. The samples in the test sample set do not participate in the training process. After the model is trained with the training sample set, the trained model is predicted with the test sample set. In order to judge the gap between the predicted data and the actual data.

其中,图7示出了在训练过程中训练样本集合与测试样本集合的损失函数在逐渐降低,其中,1表示训练样本集对应的损失曲线,2表示测试样本集对应的损失曲线,这意味着训练模型在训练过程中逐渐的靠近正确的模型,最终稳定在正确模型范围内。图8示出了预测数据和实际数据之间的差距,其中,3表示实际数据对应的曲线,实际数据检测出来的准确的气体浓度,4表示预测数据对应的曲线,预测数据为气体数据分析模型输出的气体浓度。其中,横坐标代表预测数据的个数,即表示要预测的是第几个数据;纵坐标代表的是气体浓度浓度。当预测数据和实际数据之间的差距小于差距阈值时,则认为模型已经训练完成,即得到目标气敏数据分析模型。Among them, Figure 7 shows that the loss function of the training sample set and the test sample set is gradually decreasing during the training process, where 1 represents the loss curve corresponding to the training sample set, and 2 represents the loss curve corresponding to the test sample set, which means The training model gradually approaches the correct model during the training process, and finally stabilizes within the range of the correct model. Figure 8 shows the gap between the predicted data and the actual data, wherein, 3 represents the curve corresponding to the actual data, the accurate gas concentration detected by the actual data, 4 represents the curve corresponding to the predicted data, and the predicted data is a gas data analysis model Output gas concentration. Among them, the abscissa represents the number of predicted data, that is, the number of data to be predicted; the ordinate represents the gas concentration. When the gap between the predicted data and the actual data is smaller than the gap threshold, it is considered that the model has been trained, that is, the target gas-sensing data analysis model is obtained.

需要说明的是,本实施例中,在获取训练样本集时所采用的气敏传感器的生产规格决定了气敏传感数据分析模型的应用对象。即与获取训练样本集时所采用的气敏传感器的生产规格相同的气敏传感器,才可以采用该目标气敏数据分析模型对电压数组进行预测。It should be noted that in this embodiment, the production specification of the gas sensor used when obtaining the training sample set determines the application object of the gas sensor data analysis model. That is, the gas sensor with the same production specifications as the gas sensor used when obtaining the training sample set can use the target gas sensor data analysis model to predict the voltage array.

另一种可选的实现方式中,可以针对不同规格的气敏传感器,采用上述步骤A1和步骤A2所公开的内容针对不同规格的气敏传感器,训练得到不同的气敏数据分析模型。In another optional implementation, different gas sensor data analysis models can be trained for gas sensors of different specifications by using the content disclosed in the above step A1 and step A2.

将该多个不同的气敏数据分析模型以气敏数据分析模型组的形式存储在计算机设备中。气敏数据分析模型组中还存储有每一种气敏数据分析模型对应的气敏传感器的规格。The multiple different gas-sensing data analysis models are stored in the computer device in the form of a gas-sensing data analysis model group. The specifications of the gas sensor corresponding to each gas-sensing data analysis model are also stored in the gas-sensing data analysis model group.

可以获取正在进行气体浓度检测的气敏传感器的规格。Specifications of gas sensors that are detecting gas concentrations can be acquired.

然后在气敏数据分析模型组中查找该气敏传感器的规格所对应的气敏数据分析模型,将该气敏传感器的规格所对应的气敏数据分析模型确定为目标气敏数据分析模型。Then search the gas-sensing data analysis model corresponding to the specification of the gas-sensing sensor in the gas-sensing data analysis model group, and determine the gas-sensing data analysis model corresponding to the specification of the gas-sensing sensor as the target gas-sensing data analysis model.

步骤203,根据气敏传感器的阻抗确定待检测气体的浓度。Step 203, determine the concentration of the gas to be detected according to the impedance of the gas sensor.

气敏传感器的阻抗即气敏传感器中的检测电机的阻抗。The impedance of the gas sensor is the impedance of the detection motor in the gas sensor.

通过获取负载电阻两端的电压数据,计算负载电阻的电流,从而计算出与负载电阻串联的检测电极的阻抗。检测电极的阻抗与待检测气体的浓度成比例关系。By obtaining the voltage data at both ends of the load resistance, the current of the load resistance is calculated, thereby calculating the impedance of the detection electrode connected in series with the load resistance. The impedance of the detection electrode is proportional to the concentration of the gas to be detected.

因此,可以通过气敏传感器的阻抗以及检测电极的阻抗与待检测气体的浓度之间的比例关系计算出待检测气体的浓度。Therefore, the concentration of the gas to be detected can be calculated from the proportional relationship between the impedance of the gas sensor and the impedance of the detection electrode and the concentration of the gas to be detected.

本实施例中的气体浓度检测方法,通过采集在脉冲电压的脉冲持续期内气敏传感器输出的电压数据,然后对电压数据通过目标气敏数据分析模型进行处理,得到气敏传感器的阻抗,进而确定待检测气体的浓度。由此可知,本实施例中,在脉冲电压的一个脉冲持续期的时长内采集气敏传感器输出的电压数据,不需要等到热敏材料达到最佳工作温度后再采集数据。因此,缩短了气敏材料从常温升高至最佳工作温度这个过程所耗费的时长。相应的,也降低了对气敏材料加热过程中的功耗。In the gas concentration detection method in this embodiment, by collecting the voltage data output by the gas sensor within the pulse duration of the pulse voltage, and then processing the voltage data through the target gas sensor data analysis model, the impedance of the gas sensor is obtained, and then Determine the concentration of the gas to be detected. It can be seen that, in this embodiment, the voltage data output by the gas sensor is collected within one pulse duration of the pulse voltage, and there is no need to wait for the heat-sensitive material to reach the optimum working temperature before collecting data. Therefore, the time it takes for the gas-sensitive material to rise from normal temperature to the optimum working temperature is shortened. Correspondingly, the power consumption in the process of heating the gas-sensitive material is also reduced.

在一种可选的实现方式中,如图9所示,其示出了一种气体浓度检测方法,该方法包括以下步骤:In an optional implementation, as shown in Figure 9, it shows a gas concentration detection method, the method includes the following steps:

步骤901,利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组。Step 901 , use the pulse voltage to drive the heating electrode to heat the gas-sensing material, acquire the voltage data output by the gas-sensing sensor within the pulse width of the pulse voltage, and obtain a voltage array.

本实施例中,可以参考步骤201公开的内容,在此不做赘述。In this embodiment, reference may be made to the content disclosed in step 201, and details are not repeated here.

步骤902,对电压数组进行归一化预处理。Step 902, perform normalization preprocessing on the voltage array.

对电压数组中按照时序排列的电压数据进行归一化预处理的过程可以包括以下内容:The process of normalizing and preprocessing the voltage data arranged in time series in the voltage array may include the following:

根据电压数组中的电压数据拟合出一条电压曲线。Fit a voltage curve based on the voltage data in the voltage array.

根据电压数组建立一个二维坐标系,X轴为时间,Y轴为电压数据。在该坐标系中拟合出一条电压曲线。Establish a two-dimensional coordinate system based on the voltage array, the X axis is time, and the Y axis is voltage data. Fit a voltage curve in this coordinate system.

计算电压数组中的各电压数据到该电压曲线的垂直距离。Calculate the vertical distance from each voltage data in the voltage array to the voltage curve.

在该二维坐标系中,对于每个电压数据所对应的点,在电压曲线上查找到一个切点,该电压数据到对应切点之间的距离为最短距离,计算出该电压数据对应的最短距离。In the two-dimensional coordinate system, for each point corresponding to the voltage data, a tangent point is found on the voltage curve, the distance between the voltage data and the corresponding tangent point is the shortest distance, and the corresponding tangent point of the voltage data is calculated. shortest distance.

对于每个电压数据所对应的最短距离,判断该最短距离是否小于距离阈值,当小于距离阈值时,保留该电压数据。当最短距离大于等于距离阈值时,舍弃该电压数据。For the shortest distance corresponding to each voltage data, it is judged whether the shortest distance is smaller than the distance threshold, and if the shortest distance is smaller than the distance threshold, the voltage data is kept. When the shortest distance is greater than or equal to the distance threshold, the voltage data is discarded.

这样可以保证所有的电压数据均处于该电压曲线附近一定范围内,从而保证电压数组中的电压数据的线性规律。In this way, it can be ensured that all the voltage data are within a certain range around the voltage curve, thereby ensuring the linearity of the voltage data in the voltage array.

步骤903,将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗。Step 903: Input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model.

可以参考步骤202公开的内容,在此不做赘述。Reference may be made to the content disclosed in step 202, and details are not repeated here.

步骤904,根据气敏传感器的阻抗确定待检测气体的浓度。Step 904, determine the concentration of the gas to be detected according to the impedance of the gas sensor.

可以参考步骤203公开的内容,在此不做赘述。Reference may be made to the content disclosed in step 203, and details are not repeated here.

本实施例,通过对电压数组中的电压数据进行归一化处理,使得电压数组中的电压数据的特征更加清晰,从而有利于其在目标气敏数据分析模型中进行数据分析和映射,从而提高检测出来的气体浓度的准确度。In this embodiment, by normalizing the voltage data in the voltage array, the characteristics of the voltage data in the voltage array are clearer, which facilitates data analysis and mapping in the target gas-sensing data analysis model, thereby improving The accuracy of the detected gas concentration.

在本申请的一个实施例中,气敏传感器还包括测试电极,测试电极与加热电极相连,气敏材料涂覆在测试电极的表面,气敏材料为金属氧化物。In one embodiment of the present application, the gas sensor further includes a test electrode, the test electrode is connected to the heating electrode, and the gas-sensing material is coated on the surface of the test electrode, and the gas-sensing material is a metal oxide.

以金属氧化物为气敏材料的气敏传感器具有成本低廉,制作简单,灵敏度高,寿命长和对湿度敏感度低等优势。Gas sensors using metal oxides as gas-sensing materials have the advantages of low cost, simple fabrication, high sensitivity, long life and low sensitivity to humidity.

可选的,本实施例中,加热电极为采用微纳加工工艺制备的微加热电极。Optionally, in this embodiment, the heating electrode is a micro-heating electrode prepared by a micro-nano fabrication process.

采用微纳加工工艺制备的微加热电极,具有加热速度快,效率高的特点。并且通过控制微加热电极的幅值可以快速地提高气敏材料的温度。The micro-heating electrode prepared by micro-nano processing technology has the characteristics of fast heating speed and high efficiency. And the temperature of the gas-sensing material can be rapidly increased by controlling the amplitude of the micro-heating electrode.

本实施例中,基于微纳加工工艺制备的微加热电极,可以控制加热电极的脉冲电压的脉冲宽度低于20s。进一步的,脉冲电压的脉冲宽度最低可达到0.1s。也就是说,本实施例中,脉冲电压在脉冲持续时长在[0.1s,20s]的范围内时,就可以使得涂覆有气敏材料的测试电极的阻抗产生较大的变化,从而可以采集电压数据。目前,根据已公开的现有文献或者专利,采用直流加热电阻加热的气敏传感器的响应时长均比较长,暂未出现响应时长在[0.1s,20s]的范围内技术。In this embodiment, the pulse width of the pulse voltage of the heating electrode can be controlled to be less than 20 s based on the micro heating electrode prepared by the micro-nano processing technology. Further, the minimum pulse width of the pulse voltage can reach 0.1s. That is to say, in this embodiment, when the pulse voltage is within the range of [0.1s, 20s], the impedance of the test electrode coated with the gas-sensitive material can be greatly changed, so that the pulse voltage can be collected voltage data. At present, according to the published existing literature or patents, the response time of the gas sensor heated by DC heating resistance is relatively long, and there is no technology with a response time in the range of [0.1s, 20s].

本实施例中,最快仅需要0.1s的脉冲持续时长即可完成数据采集分析,所产生的功耗也仅是在该0.1s的脉冲持续时长内产生的功耗。相比于现有技术中直流加热的气敏传感器,降低了至少30-50倍功耗。因此,本气体浓度检测方法具有超低功耗,快速响应的特点。In this embodiment, only a pulse duration of 0.1s is required to complete data collection and analysis at the fastest, and the power consumption generated is only within the pulse duration of 0.1s. Compared with the direct current heating gas sensor in the prior art, the power consumption is reduced by at least 30-50 times. Therefore, the gas concentration detection method has the characteristics of ultra-low power consumption and fast response.

请参考图10,其示出了本申请实施例提供的一种气体浓度检测系统的框图,该气体浓度检测系统可以配置在实施环境中的计算机设备中。该气体浓度检测系统应用于气敏传感器中,气敏传感器包括加热电极和气敏材料,加热电极用于对气敏材料进行加热,如图10所示,该气体浓度检测系统可以包括获取模块1001、分析模块1002和检测模块1003。Please refer to FIG. 10 , which shows a block diagram of a gas concentration detection system provided by an embodiment of the present application. The gas concentration detection system may be configured in a computer device in an implementation environment. The gas concentration detection system is applied to a gas sensor. The gas sensor includes a heating electrode and a gas-sensitive material. The heating electrode is used to heat the gas-sensitive material. As shown in FIG. 10 , the gas concentration detection system may include an acquisition module 1001, An analysis module 1002 and a detection module 1003 .

获取模块1001,用于利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;The acquisition module 1001 is used to use the pulse voltage to drive the heating electrode to heat the gas-sensitive material, acquire the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain a voltage array;

分析模块1002,用于将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;The analysis module 1002 is used to input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model;

检测模块1003,用于根据气敏传感器的阻抗确定待检测气体的浓度。The detection module 1003 is used to determine the concentration of the gas to be detected according to the impedance of the gas sensor.

在本申请的一个实施例中,分析模块1002还用于获取训练样本集合,训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本;根据训练样本集合,训练初始神经网络模型,得到目标气敏数据分析模型。In one embodiment of the present application, the analysis module 1002 is also used to obtain a training sample set, which includes several groups of samples composed of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array; according to the training sample set , train the initial neural network model, and obtain the target gas-sensing data analysis model.

在本申请的一个实施例中,分析模块1002还用于获取气敏传感器的规格;根据气敏传感器的规格从气敏数据分析模型组中确定目标气敏数据分析模型,气敏分析模型组中包括多种气敏数据分析模型。In one embodiment of the present application, the analysis module 1002 is also used to obtain the specifications of the gas sensor; determine the target gas-sensing data analysis model from the gas-sensing data analysis model group according to the specifications of the gas-sensing sensor, and the gas-sensing analysis model group Including a variety of gas-sensing data analysis models.

在本申请的一个实施例中,分析模块1002还用于对电压数组进行归一化预处理。In an embodiment of the present application, the analysis module 1002 is also used to perform normalization preprocessing on the voltage array.

在本申请的一个实施例中,气敏传感器还包括测试电极,测试电极与加热电极相连,气敏材料涂覆在测试电极的表面,气敏材料为金属氧化物。In one embodiment of the present application, the gas sensor further includes a test electrode, the test electrode is connected to the heating electrode, and the gas-sensing material is coated on the surface of the test electrode, and the gas-sensing material is a metal oxide.

在本申请的一个实施例中,加热电极为采用微纳加工工艺制备的微加热电极。In one embodiment of the present application, the heating electrode is a micro-heating electrode prepared by a micro-nano fabrication process.

在本申请的一个实施例中,脉冲电压的脉冲宽度大于0.1s,小于等于20s。In an embodiment of the present application, the pulse width of the pulse voltage is greater than 0.1s and less than or equal to 20s.

关于气体浓度检测系统的具体限定可以参见上文中对于气体浓度检测方法的限定,在此不再赘述。上述气体浓度检测系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the gas concentration detection system, refer to the above-mentioned limitations on the gas concentration detection method, which will not be repeated here. Each module in the above-mentioned gas concentration detection system can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

在本申请的一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图11所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该数据库可以用于存储目标气敏数据分析模型,该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种气体浓度检测方法。In one embodiment of the present application, a computer device is provided. The computer device may be a server, and its internal structure may be as shown in FIG. 11 . The computer device includes a processor, memory, network interface and database connected by a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs and databases. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database can be used to store target gas-sensing data analysis models, and the network interface of the computer equipment is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, a gas concentration detection method is realized.

本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 11 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在本申请的一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现以下步骤:In one embodiment of the present application, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;根据气敏传感器的阻抗确定待检测气体的浓度。Use the pulse voltage to drive the heating electrode to heat the gas-sensing material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain the voltage array; input the voltage array into the target gas-sensing data analysis model to obtain the target gas-sensing data Analyze the impedance of the gas sensor output by the model; determine the concentration of the gas to be detected according to the impedance of the gas sensor.

在本申请的一个实施例中,处理器执行计算机程序时还实现以下步骤:获取训练样本集合,训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本;根据训练样本集合,训练初始神经网络模型,得到目标气敏数据分析模型。In one embodiment of the present application, when the processor executes the computer program, the following steps are also implemented: obtaining a training sample set, the training sample set includes several groups of samples composed of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array ; According to the training sample set, train the initial neural network model to obtain the target gas-sensing data analysis model.

在本申请的一个实施例中,处理器执行计算机程序时还实现以下步骤:获取气敏传感器的规格;根据气敏传感器的规格从气敏数据分析模型组中确定目标气敏数据分析模型,气敏分析模型组中包括多种气敏数据分析模型。In one embodiment of the present application, when the processor executes the computer program, the following steps are also implemented: acquiring the specifications of the gas sensor; determining the target gas sensor data analysis model from the gas sensor data analysis model group according to the gas sensor specifications, The sensitivity analysis model group includes a variety of gas-sensing data analysis models.

在本申请的一个实施例中,处理器执行计算机程序时还实现以下步骤:对电压数组进行归一化预处理。In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: performing normalization preprocessing on the voltage array.

本申请实施例提供的计算机设备,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principles and technical effects of the computer equipment provided by the embodiments of the present application are similar to those of the above-mentioned method embodiments, and will not be repeated here.

在本申请的一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

利用脉冲电压驱动加热电极对气敏材料加热,获取在脉冲电压的脉冲宽度中气敏传感器输出的电压数据,得到电压数组;将电压数组输入至目标气敏数据分析模型中,得到目标气敏数据分析模型输出的气敏传感器的阻抗;根据气敏传感器的阻抗确定待检测气体的浓度。Use the pulse voltage to drive the heating electrode to heat the gas-sensing material, obtain the voltage data output by the gas sensor in the pulse width of the pulse voltage, and obtain the voltage array; input the voltage array into the target gas-sensing data analysis model to obtain the target gas-sensing data Analyze the impedance of the gas sensor output by the model; determine the concentration of the gas to be detected according to the impedance of the gas sensor.

在本申请的一个实施例中,计算机程序被处理器执行时还可以实现以下步骤:获取训练样本集合,训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本;根据训练样本集合,训练初始神经网络模型,得到目标气敏数据分析模型。In one embodiment of the present application, when the computer program is executed by the processor, the following steps can also be implemented: obtaining a training sample set, the training sample set includes a number of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array. Group samples; according to the training sample set, train the initial neural network model to obtain the target gas-sensing data analysis model.

在本申请的一个实施例中,计算机程序被处理器执行时还可以实现以下步骤:获取气敏传感器的规格;根据气敏传感器的规格从气敏数据分析模型组中确定目标气敏数据分析模型,气敏分析模型组中包括多种气敏数据分析模型。In one embodiment of the present application, when the computer program is executed by the processor, the following steps can also be implemented: obtaining the specification of the gas sensor; determining the target gas sensor data analysis model from the gas sensor data analysis model group according to the specification of the gas sensor , the gas-sensing analysis model group includes a variety of gas-sensing data analysis models.

在本申请的一个实施例中,计算机程序被处理器执行时还可以实现以下步骤:对电压数组进行归一化预处理。In an embodiment of the present application, when the computer program is executed by the processor, the following steps may also be implemented: performing normalization preprocessing on the voltage array.

本申请实施例提供的计算机可读存储介质,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principles and technical effects of the computer-readable storage medium provided by the embodiments of the present application are similar to those of the above-mentioned method embodiments, and details are not repeated here.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (10)

1.一种气体浓度检测方法,其特征在于,应用于气敏传感器中,所述气敏传感器包括测试电极、加热电极、气敏材料以及负载电阻,所述测试电极与所述加热电极相连,所述气敏材料涂覆在所述测试电极的表面,所述负载电阻与所述测试电极串联后与直流电源连接,所述加热电极用于对所述气敏材料进行加热,所述方法包括:1. A gas concentration detection method, characterized in that it is applied in a gas sensor, and the gas sensor includes a test electrode, a heating electrode, a gas sensitive material and a load resistance, and the test electrode is connected to the heating electrode, The gas-sensitive material is coated on the surface of the test electrode, the load resistor is connected in series with the test electrode and connected to a DC power supply, the heating electrode is used to heat the gas-sensitive material, and the method includes : 利用脉冲电压驱动所述加热电极对所述气敏材料加热,获取在所述脉冲电压的脉冲宽度中所述气敏传感器输出的电压数据,得到电压数组,其中,脉冲持续时长与采集所述电压数据的采样时长相等;Using the pulse voltage to drive the heating electrode to heat the gas-sensitive material, obtain the voltage data output by the gas sensor within the pulse width of the pulse voltage, and obtain a voltage array, wherein the duration of the pulse is related to the voltage collected The sampling time of the data is equal; 将所述电压数组输入至目标气敏数据分析模型中,得到所述目标气敏数据分析模型输出的所述气敏传感器的阻抗,所述目标气敏数据分析模型为神经网络模型;Input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model, and the target gas-sensing data analysis model is a neural network model; 根据所述气敏传感器的阻抗确定所述待检测气体的浓度;determining the concentration of the gas to be detected according to the impedance of the gas sensor; 其中,所述气敏传感器还包括信号采集设备,所述信号采集设备对负载电阻处于连续变化状态的电压数据进行数据采集,得到多个离散的电压数据组成的所述电压数组。Wherein, the gas sensor further includes a signal acquisition device, and the signal acquisition device performs data acquisition on the voltage data in which the load resistance is in a state of continuous change, and obtains the voltage array composed of a plurality of discrete voltage data. 2.根据权利要求1所述的方法,其特征在于,所述将所述电压数组输入至目标气敏数据分析模型中之前,所述方法还包括:2. The method according to claim 1, wherein before the input of the voltage array into the target gas sensing data analysis model, the method further comprises: 获取训练样本集合,所述训练样本集合包括由不同的电压数组和与电压数组对应的气敏传感器的阻抗组成的若干组样本;Obtain a training sample set, the training sample set includes several groups of samples composed of different voltage arrays and the impedance of the gas sensor corresponding to the voltage array; 根据所述训练样本集合,训练初始神经网络模型,得到所述目标气敏数据分析模型。According to the training sample set, an initial neural network model is trained to obtain the target gas-sensing data analysis model. 3.根据权利要求1或2所述的方法,其特征在于,所述将所述电压数组输入至目标气敏数据分析模型中之前,包括:3. The method according to claim 1 or 2, wherein, before inputting the voltage array into the target gas sensing data analysis model, it includes: 获取所述气敏传感器的规格;Obtain the specifications of the gas sensor; 根据所述气敏传感器的规格从气敏数据分析模型组中确定所述目标气敏数据分析模型,所述气敏分析模型组中包括多种气敏数据分析模型。The target gas-sensing data analysis model is determined from a gas-sensing data analysis model group according to the specifications of the gas-sensing sensor, and the gas-sensing analysis model group includes multiple gas-sensing data analysis models. 4.根据权利要求1或2所述的方法,其特征在于,所述将所述电压数组输入至目标气敏数据分析模型中之前,所述方法还包括:4. The method according to claim 1 or 2, wherein, before inputting the voltage array into the target gas sensing data analysis model, the method further comprises: 对所述电压数组进行归一化预处理。Perform normalization preprocessing on the voltage array. 5.根据权利要求1或2所述的方法,其特征在于,所述气敏材料为金属氧化物。5. The method according to claim 1 or 2, wherein the gas-sensitive material is a metal oxide. 6.根据权利要求1或2所述的方法,其特征在于,所述加热电极为采用微纳加工工艺制备的微加热电极。6. The method according to claim 1 or 2, wherein the heating electrode is a micro-heating electrode prepared by a micro-nano fabrication process. 7.根据权利要求1或2所述的方法,其特征在于,所述脉冲电压的脉冲宽度大于0.1s,小于等于20s。7. The method according to claim 1 or 2, characterized in that the pulse width of the pulse voltage is greater than 0.1s and less than or equal to 20s. 8.一种气体浓度检测系统,其特征在于,应用于气敏传感器中,所述气敏传感器包括测试电极、加热电极、气敏材料以及负载电阻,所述测试电极与所述加热电极相连,所述气敏材料涂覆在所述测试电极的表面,所述负载电阻与所述测试电极串联后与直流电源连接,所述加热电极用于对所述气敏材料进行加热,所述系统包括:8. A gas concentration detection system, characterized in that it is applied in a gas sensor, the gas sensor includes a test electrode, a heating electrode, a gas sensitive material and a load resistor, the test electrode is connected to the heating electrode, The gas-sensitive material is coated on the surface of the test electrode, the load resistor is connected in series with the test electrode to a DC power supply, the heating electrode is used to heat the gas-sensitive material, and the system includes : 获取模块,用于利用脉冲电压驱动所述加热电极对所述气敏材料加热,获取在所述脉冲电压的脉冲宽度中所述气敏传感器输出的电压数据,得到电压数组,其中,脉冲持续时长与采集所述电压数据的采样时长相等;An acquisition module, configured to use a pulse voltage to drive the heating electrode to heat the gas-sensitive material, acquire voltage data output by the gas sensor within the pulse width of the pulse voltage, and obtain a voltage array, wherein the pulse duration is It is equal to the sampling duration for collecting the voltage data; 分析模块,用于将所述电压数组输入至目标气敏数据分析模型中,得到所述目标气敏数据分析模型输出的所述气敏传感器的阻抗,所述目标气敏数据分析模型为神经网络模型;An analysis module, configured to input the voltage array into the target gas-sensing data analysis model to obtain the impedance of the gas-sensing sensor output by the target gas-sensing data analysis model, and the target gas-sensing data analysis model is a neural network Model; 检测模块,用于根据所述气敏传感器的阻抗确定所述待检测气体的浓度;a detection module, configured to determine the concentration of the gas to be detected according to the impedance of the gas sensor; 其中,所述气敏传感器还包括信号采集设备,所述信号采集设备对负载电阻处于连续变化状态的电压数据进行数据采集,得到多个离散的电压数据组成的所述电压数组。Wherein, the gas sensor further includes a signal acquisition device, and the signal acquisition device performs data acquisition on the voltage data in which the load resistance is in a state of continuous change, and obtains the voltage array composed of a plurality of discrete voltage data. 9.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。9. A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program step. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。10. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN202010216940.XA 2020-03-25 2020-03-25 Gas concentration detection method, system, computer equipment and storage medium Active CN111521647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010216940.XA CN111521647B (en) 2020-03-25 2020-03-25 Gas concentration detection method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010216940.XA CN111521647B (en) 2020-03-25 2020-03-25 Gas concentration detection method, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111521647A CN111521647A (en) 2020-08-11
CN111521647B true CN111521647B (en) 2023-04-21

Family

ID=71901317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010216940.XA Active CN111521647B (en) 2020-03-25 2020-03-25 Gas concentration detection method, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111521647B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882416B (en) * 2021-01-13 2022-01-04 大连理工大学 A circuit for adaptively reducing power consumption of current input device
CN113720968B (en) * 2021-07-29 2024-04-05 深圳市天得一环境科技有限公司 Gas concentration detection method, device, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902485A (en) * 2003-11-12 2007-01-24 纳幕尔杜邦公司 System and method for sensing and analyzing gases
CN103558260A (en) * 2013-11-18 2014-02-05 武汉理工大学 Method and system for improving dynamic detection sensitivity of semiconductor resistance type gas-sensitive element
CN107505566A (en) * 2015-11-13 2017-12-22 大连民族大学 The method of testing of semiconductor gas sensor
CN110095508A (en) * 2019-05-24 2019-08-06 西安交通大学 The method and apparatus of gas identification is carried out based on single sensor
CN110869754A (en) * 2017-05-05 2020-03-06 墨尔本皇家理工大学 Multi-gas sensing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3868419B2 (en) * 2002-12-27 2007-01-17 日本特殊陶業株式会社 Gas sensor
JP2006343306A (en) * 2004-11-15 2006-12-21 Denso Corp Gas concentration detector
CN107543845B (en) * 2016-06-23 2020-05-26 华邦电子股份有限公司 gas sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902485A (en) * 2003-11-12 2007-01-24 纳幕尔杜邦公司 System and method for sensing and analyzing gases
CN103558260A (en) * 2013-11-18 2014-02-05 武汉理工大学 Method and system for improving dynamic detection sensitivity of semiconductor resistance type gas-sensitive element
CN107505566A (en) * 2015-11-13 2017-12-22 大连民族大学 The method of testing of semiconductor gas sensor
CN110869754A (en) * 2017-05-05 2020-03-06 墨尔本皇家理工大学 Multi-gas sensing system
CN110095508A (en) * 2019-05-24 2019-08-06 西安交通大学 The method and apparatus of gas identification is carried out based on single sensor

Also Published As

Publication number Publication date
CN111521647A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN102590450B (en) Based on the array odor detection element of MEMS technology
Vergara et al. Chemical gas sensor drift compensation using classifier ensembles
CN111521647B (en) Gas concentration detection method, system, computer equipment and storage medium
CN105388187B (en) The test method of the semiconductor gas sensor of controlled humidity
CN109784390B (en) A kind of artificial intelligence olfactory dynamic response spectrum gas detection and identification method
CN206601354U (en) A kind of simple experiment system detected based on electric nasus system to pork freshness
CN116720078A (en) A system and method for continuous collection and data model construction of intelligent sensors
CN116718647A (en) Gas sensor gas-sensitive performance adaptation method
Wang et al. Artificial olfaction based on tafel curve for quantitative detection of acetone ethanol gas mixture
US6664776B2 (en) Method and system for voltammetric characterization of a liquid sample
WO2021148059A2 (en) Apparatus and method for using light to adjust sensitivity of silicon nanowire sensor
Vergara et al. Gas sensor drift mitigation using classifier ensembles
KR20220142030A (en) Fast gas classification method in transient state using Recurrent neural network in an electronic nose system equipped with a gas sensor array
CN114994262B (en) Data acquisition method, smell detection method, data storage system and device
Santos et al. Hand held electronic nose for VOC detection
CN112782233B (en) A Gas Identification Method Based on Array Gas Sensor
Chen et al. A gas concentration estimation method based on multivariate relevance vector machine using MOS gas sensor arrays
KR102031900B1 (en) Semiconductor sensor for detecting chemical materials, detection method and detection system using the same
Katta et al. The I/O transform of a chemical sensor
CN111272060A (en) A method for quantifying the size of opening defects in the width direction of non-conductive materials based on single-pair electrode capacitance imaging detection technology
Lozanoa et al. Detection of pollutants in water using a wireless network of electronic noses
CN118858550B (en) Method for qualitatively identifying and quantitatively measuring gas based on broad-spectrum sensor array
CN103163047A (en) Method for detecting colony total amount and viscosity of unpackaged milk
Svendsen et al. Silicon nanowire as virus sensor in a total analysis system
Arroyo Muñoz et al. Evolution of wireless sensor network for air quality measurements

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