CN114791419A - Automatic correction method for concentration measurement value of gas sensor - Google Patents

Automatic correction method for concentration measurement value of gas sensor Download PDF

Info

Publication number
CN114791419A
CN114791419A CN202110091931.7A CN202110091931A CN114791419A CN 114791419 A CN114791419 A CN 114791419A CN 202110091931 A CN202110091931 A CN 202110091931A CN 114791419 A CN114791419 A CN 114791419A
Authority
CN
China
Prior art keywords
value
minimum
array
data
measurement value
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
CN202110091931.7A
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.)
Suzhou Hexing Technology Co ltd
Original Assignee
Suzhou Hexing Technology Co ltd
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 Suzhou Hexing Technology Co ltd filed Critical Suzhou Hexing Technology Co ltd
Priority to CN202110091931.7A priority Critical patent/CN114791419A/en
Publication of CN114791419A publication Critical patent/CN114791419A/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/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/3504Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light for analysing gases, e.g. multi-gas analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0006Calibrating gas analysers

Landscapes

  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Combustion & Propulsion (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The invention provides an automatic correction method of a concentration measurement value of a gas sensor, which is used for automatically correcting the concentration measurement value deviation caused by factors such as transportation vibration, installation operation and component aging after long-term use of the sensor without manual intervention and correction. The method comprises the steps of periodically observing gas concentration measurement values in set time, calculating the mean value and the standard deviation of the measurement values in each period, obtaining the minimum measurement value in the set time by taking the minimum Euclidean distance as an evaluation standard after linear planning and combining a Grabbs test method, and then comparing the minimum measurement value with a gas concentration default value in an atmosphere stable environment to further obtain a correction value. The method is different from a correction method based on trend judgment and prediction, but directly and accurately calculates the minimum correction value, has good stability, can effectively eliminate misjudgment caused by fluctuation or partial abnormity of observation data, and completes accurate and automatic correction of the concentration measurement value of the gas sensor on the premise of not increasing the design complexity of the sensor, monitoring equipment and manual intervention.

Description

Automatic correction method for concentration measurement value of gas sensor
Technical Field
The invention relates to an automatic correction method for concentration measurement value deviation of a gas sensor, which is created by the company due to factors such as transportation vibration, installation operation and component aging after long-term use.
Background
The company develops and produces a gas sensor, which is hereinafter referred to as a sensor for short, and a measurement target gas is referred to as a gas A for short.
The sensor uses the principle of non-dispersive infrared to measure the concentration level of gas a in the target environment. The infrared light source emits into the gas sampling cavity, the gas absorbs infrared light with specific wavelength, the infrared detector detects the infrared signal after absorption and transmits the infrared signal to the microcontroller, and the microcontroller identifies the signal to calculate the concentration level.
Disclosure of Invention
After transportation vibration, installation operation and long-term use, the sensor deviates from a factory-leaving state, namely, measured values deviate in the same gas concentration level.
The method is different from a correction method based on trend judgment and prediction, but directly and accurately calculates the minimum correction value, has good stability, can effectively eliminate misjudgment caused by fluctuation or partial abnormity of observation data, and completes accurate and automatic correction of the concentration measurement value of the gas sensor on the premise of not increasing the design complexity of the sensor, monitoring equipment and manual intervention.
Drawings
Fig. 1 is a functional block diagram explaining the algorithm function.
Fig. 2 is a data processing flow chart explaining the processing flow of the algorithm.

Claims (4)

1. A method for automatically correcting a concentration measured value of a gas sensor comprises the following steps: step 1, taking k gas concentration measurement values every T period, taking m sections of data within 24 hours a day, and recording the data sets as follows: c ═ C i ]=[C 1 ,C 2 ,C 3 ...,C m ],i=1,2,3...m C i =[C ij ]=[C i1 ,C i2 ,C i3 ...,C ik ]Step 2. calculate the mean and standard deviation of the m pieces of data, and record the array as: (u, sigma) ═ u [ (u) i ,σ i )]=[(u 1 ,σ 1 ),(u 2 ,σ 2 ),(u 3 ,σ 3 ),...,(u m ,σ m )]Step 3, establishing a minimum Euclidean distance evaluation standard, and searching characteristic parameters (u, sigma) to a linear planning area after linear planningThe sum of the distances of each given edge of the domain is the minimum value, and then the data C corresponding to the minimum value is searched t (t e m), the minimum value of concentration measurements in a day; and 4, repeating the steps 1-3, completing the measurement for N days, obtaining N minimum measurement values, and recording an array as follows: c N =[C tl ]=[C t1 ,C t2 ,...,C tN ]N combines the grabbs test method to eliminate abnormal data under a set confidence coefficient, and a minimum measured value C within N days is obtained N_nmin (ii) a Step 5, gas concentration default value C in atmosphere stable environment ref And then, the correction value is:
Figure FDA0002912181320000011
the corrected concentration measurement value is a real-time measurement value plus a correction value and is recorded as:
Figure FDA0002912181320000012
2. the method of claim 1, wherein step 2 further comprises:
step 2-1, calculating the average value of the ith section in the m sections of data:
Figure FDA0002912181320000013
step 2-2, calculating the standard deviation of the ith section in the m sections of data:
Figure FDA0002912181320000014
3. the method of claim 1, wherein the step 3 further comprises:
step 3-1, finding out the minimum value of the mean value in the array (u, sigma)
u min =min{u i ,i=1,2,3...,m}
Setting u min Corresponding to the x-th section in the m-section data, obtaining an observation sample with the minimum mean value (u) min ,σ x );
Step 3-2, finding out the minimum value of the standard deviation of the array (u, sigma):
σ min =min{σ i ,i=1,2,3...,m}
setting sigma min Corresponding to the y-th section of the m sections of data, the observation sample with the minimum standard deviation (u) is obtained y ,σ min );
Step 3-3, carrying out normalization and coordinate transformation on the array (u, sigma)
U=u/u min -1
V=σ/σ min -1
The transformed array (U, σ) is denoted as (U, V), and the observed samples in steps 3-1 and 3-2 are denoted as: (0, V) x ),(U y ,0)。
Step 3-4, coordinate system in the following figure, from (0, 0), (0, V) x ),(U y 0) three points constitute a linear programming region, and any element (U) in the array (U, V) i ,V i ) The sum of the distances to each side of the linear programming region is
D i =d 1_i +d 2_i +d 3_i . Searching for D according to the minimum Euclidean distance evaluation criterion i Minimum value of (2)
D min =min{D i ,i=1,2,...,m}
Step 3-5, setting D min Corresponding to the z-th segment in the m-segment data, the mean value u z I.e. the minimum value in the m concentration measurements during the day.
Figure FDA0002912181320000021
4. The method for automatically correcting the concentration measurement value of the gas sensor according to claim 1, wherein the step 4 further comprises:
step 4-1, repeating the steps 1 to 3, completing the measurement for N days, obtaining N minimum measurement values, and recording an array as follows:
C N =[C tl ]=[C t1 ,C t2 ,...,C tN ],l=1,2,3...,N
step 4-2, combining the Grabbs test method to calculate the array [ C t1 ,C t2 ,...,C tN ]Mean value of C N_mean Abandoning larger than mean value C N_mean The remaining M elements are recombined and sorted according to a rule from small to large. Is recorded as:
C M =[C′ t1 ,C′ t2 ...,C′ tM ]and C' t1 <C′ t2 <…<C′ tM
Step 4-3, calculating C M Standard deviation of C M_std And a median value C M_mid And obtaining the residual error of the maximum value and the minimum value:
C M_max_RMR =C′ tM -C M_mid
C M_min_RMR =C′ t1 -C M_mid
the larger residual is defined as a suspicious outlier:
SUS=max(C M_max_RMR ,C M_min_RMR )
step 4-4, calculating a critical value of the suspicious abnormal value according to a formula:
G sus =SUS/C M_std
step 4-5, according to C M The number M of elements, search the critical value G corresponding to the Grabbs critical value table 95 Judgment G sus Whether or not greater than G 95 If yes, the suspected outliers are discarded.
Repeating the steps 4-1 to 4-5, eliminating all abnormal values, and finally obtaining the minimum measured value C within N days N_min
CN202110091931.7A 2021-01-23 2021-01-23 Automatic correction method for concentration measurement value of gas sensor Pending CN114791419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110091931.7A CN114791419A (en) 2021-01-23 2021-01-23 Automatic correction method for concentration measurement value of gas sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110091931.7A CN114791419A (en) 2021-01-23 2021-01-23 Automatic correction method for concentration measurement value of gas sensor

Publications (1)

Publication Number Publication Date
CN114791419A true CN114791419A (en) 2022-07-26

Family

ID=82459827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110091931.7A Pending CN114791419A (en) 2021-01-23 2021-01-23 Automatic correction method for concentration measurement value of gas sensor

Country Status (1)

Country Link
CN (1) CN114791419A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116380980A (en) * 2023-04-10 2023-07-04 哲弗智能系统(上海)有限公司 Method and device for determining gas concentration, electronic equipment and medium
CN118310983A (en) * 2024-06-11 2024-07-09 武汉天虹环保产业股份有限公司 Gas concentration detection method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116380980A (en) * 2023-04-10 2023-07-04 哲弗智能系统(上海)有限公司 Method and device for determining gas concentration, electronic equipment and medium
CN118310983A (en) * 2024-06-11 2024-07-09 武汉天虹环保产业股份有限公司 Gas concentration detection method and system

Similar Documents

Publication Publication Date Title
CN114791419A (en) Automatic correction method for concentration measurement value of gas sensor
Hazan et al. Automatic processing of atmospheric CO 2 and CH 4 mole fractions at the ICOS Atmosphere Thematic Centre
CN110018275A (en) A kind of gas detector with compensation function and compensation method
AU2016300166B2 (en) Gas detection apparatus and method
CN109813269B (en) On-line calibration data sequence matching method for structure monitoring sensor
RU2009101300A (en) CORRECTION OF INFLUENCE OF DEVIATION OF THE DEVICE AT DENSITY LOGGING DURING DRILLING
CN114994261A (en) Remote calibration method for sensor for ambient air monitoring
CN106018331B (en) The method for estimating stability and pretreatment optimization method of multi-channel spectral system
CN116298765A (en) High-temperature high-humidity reverse bias test system
Di Natale et al. Sensor-array calibration time reduction by dynamic modelling
CN116644368A (en) Outlier identification method based on improved Grabbs test method
CN104516991A (en) Gamma sensor full-temperature range compensation method
CN112595767B (en) Calibration method, system and equipment of semiconductor type gas sensor
CN116759014B (en) Random forest-based gas type and concentration prediction method, system and device
CN116208152B (en) High-precision analog quantity acquisition device and method
CN114076743B (en) Temperature compensation method and system based on NDIR (non-dispersive infra-red) gas sensor and computer readable storage medium
CN116187596A (en) Method and device for predicting biochemical oxygen demand based on online data correction
CN113888841B (en) Gas alarm system
CN108226907B (en) Ranging calibration method and device for laser ranging equipment
CN117969774B (en) Automatic change bird's nest and detect and grading system
CN116858753B (en) Method and system for measuring algae concentration in water body
CN117245976B (en) Forming process control method and system for thermoplastic composite material
Kamun The Modified Two-Part Bayesian Linear Regression Model for Estimating Error in Small Samples
CN117131469B (en) Error checking method of intelligent differential pressure transmitter
CN116879121B (en) Air particulate matter concentration real-time monitoring system based on optical fiber sensing technology

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