CN111679035A - Data compensation method, device, equipment and medium for gas analyzer - Google Patents

Data compensation method, device, equipment and medium for gas analyzer Download PDF

Info

Publication number
CN111679035A
CN111679035A CN202010501261.7A CN202010501261A CN111679035A CN 111679035 A CN111679035 A CN 111679035A CN 202010501261 A CN202010501261 A CN 202010501261A CN 111679035 A CN111679035 A CN 111679035A
Authority
CN
China
Prior art keywords
gas
value
gas analyzer
concentration
measured
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
CN202010501261.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.)
JUNFANG LIHUA TECHNOLOGY RESEARCH INSTITUTE BEIJING CHINA
Original Assignee
JUNFANG LIHUA TECHNOLOGY RESEARCH INSTITUTE BEIJING CHINA
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 JUNFANG LIHUA TECHNOLOGY RESEARCH INSTITUTE BEIJING CHINA filed Critical JUNFANG LIHUA TECHNOLOGY RESEARCH INSTITUTE BEIJING CHINA
Priority to CN202010501261.7A priority Critical patent/CN111679035A/en
Publication of CN111679035A publication Critical patent/CN111679035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G01N33/0008Details concerning storage of calibration data, e.g. in EEPROM

Landscapes

  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The application relates to a data compensation method, a device, equipment and a medium for a gas analyzer. The method comprises the following steps: acquiring a concentration value of the gas to be detected measured by a gas analyzer and an actual measurement value of an environmental interference factor; according to the concentration value of the gas to be detected and the measured value of the environmental interference factor, performing compensation calculation on the concentration value of the gas to be detected by using an environmental factor compensation model to obtain a concentration value of the gas to be detected after compensation calculation; wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer. The technical scheme that this application provided can carry out compensation calculation to gas analyzer's measuring result to the testing result that makes finally obtain is more accurate.

Description

Data compensation method, device, equipment and medium for gas analyzer
Technical Field
The invention relates to the technical field of gas detection, in particular to a data compensation method, a device, equipment and a medium for a gas analyzer.
Background
The gas analyzer is widely applied to the aspect of gas component and concentration analysis, but the application environment is different due to different application fields, for example, the gas analyzer is applied to the fields of chemical engineering, environmental protection, metallurgy, military industry and the like, so that the use environment is different, and the output data of the gas analyzer is inaccurate.
For the problem that the detection accuracy of the gas analyzer is affected by environmental factors, currently, a temperature compensation calculation module is mostly added, but because the environmental factors affecting the accuracy of the gas analyzer are numerous and not only the temperature factor is not the factor, even if the temperature compensation calculation is added, the detection result is still inaccurate.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method, an apparatus, a device and a medium for compensating data of a gas analyzer, so as to improve the accuracy of the detection result of the gas analyzer.
The invention provides a data compensation method for a gas analyzer, which comprises the following steps:
acquiring a concentration value of the gas to be detected measured by a gas analyzer and an actual measurement value of an environmental interference factor;
according to the concentration value of the gas to be detected and the measured value of the environmental interference factor, performing compensation calculation on the concentration value of the gas to be detected by using an environmental factor compensation model to obtain a concentration value of the gas to be detected after compensation calculation;
wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer.
Therefore, by establishing the environmental factor compensation model, the coefficient of the environmental interference factor is integrated and calculated, and the compensation calculation is formed by the coefficient and the measured value of the environmental interference factor, so that the concentration value of the gas to be measured, which is measured by the gas analyzer under the environmental condition, is compensated, and accurate gas analysis data is obtained.
As an implementation manner of the first aspect, the environmental disturbance factor includes an environmental temperature value, an environmental humidity value, and an environmental pressure value.
From above, the environmental disturbance factor in this step includes ambient temperature value, environment humidity value, ambient pressure value, through the factor of having considered the gas analysis appearance interference in the environment comprehensively, can improve the accuracy of gas analysis result.
As an implementation manner of the first aspect, the environment factor compensation model is determined according to the following formula:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a standard value of gas concentration, T, of a gas analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiIs the actual value, P, of a gas pressure sensor of a gas analyzer1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
In the above way, the ambient temperature value, the ambient humidity value and the ambient pressure value are used for compensating and calculating the concentration value of the gas to be measured, which is measured by the gas analyzer, so that factors which possibly interfere the result of the gas analyzer in the environment are comprehensively considered, and the measurement accuracy of the gas analyzer can be improved by reasonably setting compensation coefficients of the factors.
As an implementation manner of the first aspect, the determining process of the weighted value of each item is:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, wherein Z is the combination number of the total ambient temperature, the total ambient humidity and the total ambient pressure;
and performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
From the above, the technical features are set to set the five-dimensional corresponding relationship of temperature-humidity-pressure-standard gas concentration-measured standard gas concentration, so that the strength of the correlation between the temperature-humidity-pressure and the output result can be determined.
The invention provides a gas analyzer compensation device, which comprises:
the acquisition module is used for acquiring the concentration value of the gas to be detected measured by the gas analyzer and the measured value of the environmental interference factor;
the compensation calculation module is used for performing compensation calculation on the concentration value of the gas to be measured by using an environmental factor compensation model according to the concentration value of the gas to be measured and the measured value of the environmental interference factor to obtain the concentration value of the gas to be measured after compensation calculation; wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer.
As an implementation manner of the second aspect, the environmental interference factors include:
an ambient temperature value, an ambient humidity value, and an ambient pressure value.
As an implementation manner of the second aspect, the compensation calculation module includes an environmental factor compensation model determining unit, which is specifically configured to determine a concentration value of the gas to be measured after compensation calculation according to the following formula:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a standard value of gas concentration, T, of a gas analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiIs the actual value, P, of a gas pressure sensor of a gas analyzer1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
As an implementation manner of the second aspect, the environmental factor compensation model determining unit further includes a determining subunit for determining a weighted value of each item, and is specifically configured to:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, wherein Z is the combination number of the total ambient temperature, the total ambient humidity and the total ambient pressure;
and performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
The invention provides a data compensation device of a gas analyzer, which comprises:
a bus;
a communication interface connected to the bus;
at least one processor coupled to the bus; and
at least one memory coupled to the bus and storing program instructions that, when executed by the at least one processor, cause the at least one processor to perform the method of the first aspect.
The present invention provides a computer readable storage medium having stored thereon program instructions which, when executed by a computer, cause the computer to perform the method of the first aspect described above.
In summary, the present invention can solve the following problems: the method for analyzing the concentration of the collected gas or adding the temperature compensation analysis to the collected gas by the gas analyzer in the prior art is improved. Three compensation modules of temperature, humidity and pressure are added to form compensation calculation, so that more accurate data of the gas analyzer are obtained.
Drawings
Fig. 1 is a flow chart of a method for compensating data of a gas analyzer according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of an embodiment of a method for compensating data of a gas analyzer according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data compensation device of a gas analyzer according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data compensation device of a gas analyzer according to an embodiment of the present application.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In the following description, references to the terms "first \ second \ third, etc. or module a, module B, module C, etc. are used solely to distinguish between similar objects and do not denote a particular order or importance to the objects, but rather the specific order or sequence may be interchanged as appropriate to enable embodiments of the application described herein to be practiced in an order other than that shown or described herein.
In the following description, reference to reference numerals indicating steps, such as S110, S120 … …, etc., does not necessarily indicate that the steps are performed in this order, and the order of the preceding and following steps may be interchanged or performed simultaneously, where permissible.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The concentration of a certain gas measured by a gas analyzer is often the basis for the subsequent operation or control of the gas, and therefore, the accuracy of the measurement result of the gas analyzer is of no great importance. However, due to different use scenarios and fields, external environments are often different, and environmental factors have a large influence on the detection result of the gas analyzer. Therefore, under the condition that the use environment is not changed, the embodiment provides a data compensation method for the gas analyzer, which considers a plurality of environmental interference factors such as temperature, humidity and pressure in the environment, integrates and determines respective compensation coefficients thereof, and finally forms an environmental factor compensation model to perform compensation calculation on the analysis result of the gas analyzer, so as to improve the accuracy of the detection result.
As shown in fig. 1, the data compensation method for a gas analyzer according to this embodiment includes:
s100: and acquiring the concentration value of the gas to be detected measured and the measured value of the environmental interference factor measured by the gas analyzer.
In the present embodiment, the environmental disturbance factors generally include an environmental temperature value, an environmental humidity value, and an environmental pressure value. When there is a special application scenario that needs to consider other interference factors, the environmental interference factor in this step may also include interference factors in other application scenarios.
After acquiring the concentration value of the gas to be measured and the measured value of the environmental interference factor measured by the gas analyzer, the concentration value of the gas to be measured needs to be compensated and calculated, so step S200 is:
s200: and according to the concentration value of the gas to be detected and the measured value of the environmental interference factor, performing compensation calculation on the concentration value of the gas to be detected by using an environmental factor compensation model to obtain the concentration value of the gas to be detected after compensation calculation.
Wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer. Specifically, the environment factor compensation model is determined according to the following formula:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a standard value of gas concentration, T, of a gas analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiIs the actual value, P, of a gas pressure sensor of a gas analyzer1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
In this step, the gas analyzer span calibration factor K ═ K0*Yn*Ya. Wherein, K0Calibration factor, Y, for the last time span calibration was performed on a gas analyzernIs the true concentration value of the standard gas (the concentration value of the standard gas calibrated on a factory label), YaAfter the standard gas is introduced into the gas analyzer, the gas analyzer displays the measured concentration value.
In this step, the determination process of the weighted value of each item is as follows:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, and Z is the combined number of the total ambient temperature, the total ambient humidity and the total ambient pressure.
And performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
In this step, the calibration value is a real-time acquisition value of the gas analyzer during calibration. Specifically, the gas analyzer gas concentration calibration value is an actual measurement value of the gas analyzer for the standard gas at the latest calibration time, the calibration value of the gas analyzer temperature sensor is an actual measurement value of the temperature sensor of the gas analyzer at the latest calibration time, the calibration value of the gas analyzer humidity sensor is an actual measurement value of the humidity sensor of the gas analyzer at the latest calibration time, and the calibration value of the gas analyzer pressure sensor is an actual measurement value of the pressure sensor of the gas analyzer at the latest calibration time.
In this step, the standard value is a real-time acquisition value of the gas analyzer at the factory time. Specifically, the standard value of the gas concentration of the gas analyzer is a real-time collection value of the gas analyzer to the standard gas concentration at the factory time, the standard value of the gas analyzer temperature sensor is an environmental temperature value detected by the gas analyzer temperature sensor at the factory time, the standard value of the gas analyzer humidity sensor is an environmental humidity value detected by the gas analyzer humidity sensor at the factory time, and the standard value of the gas analyzer gas pressure sensor is an environmental pressure value detected by the gas analyzer gas pressure sensor at the factory time. For example, when the environmental temperature is 25 ℃, the environmental humidity is 40%, and the environmental pressure is 100Kpa at the time of shipment, then the standard value of the gas analyzer temperature sensor is 25 ℃, the standard value of the gas analyzer humidity sensor is 40%, and the standard value of the gas analyzer gas pressure sensor is 100 Kp.
Referring now to fig. 2, a specific embodiment of the present application will be described, which includes the following steps:
referring to step 1 and step 2 in fig. 2, n temperature points are preset, m humidity points corresponding to each temperature point are adjusted to form n × m test environments, and in each test environment, p standard gases with different concentrations are introduced into a gas analyzer to form n × m × p test points; controlling the temperature and humidity in a test environment to be unchanged, presetting r different pressure points, and passing standard gas with different concentrations at p points through a gas analyzer at each pressure point to form r × p test points; linear regression calculation is performed on n × m × p test points and r × p test points by using a linear regression method, weighted values of concentration, temperature, humidity and pressure, that is, model calculation parameters in step 2 in fig. 2, are respectively determined, and the calculation parameters (weighted values) are input into the environmental factor compensation model 9.
Referring to step 3 in fig. 2, calibration data of the gas analyzer is obtained, which includes a gas analyzer span calibration coefficient, a gas analyzer gas concentration calibration value, a gas analyzer temperature sensor calibration value, a gas analyzer humidity sensor calibration value, and a gas analyzer pressure sensor calibration value, and the calibration values are all input into the environmental factor compensation model 9.
Referring to steps 4 to 7 in fig. 2, the actual measurement values of the gas analyzer, including the concentration value of the gas to be measured by the gas analyzer, the actual measurement value of the temperature sensor of the gas analyzer, the actual measurement value of the humidity sensor of the gas analyzer, and the actual measurement value of the pressure sensor of the gas analyzer, are acquired by using the signals of the temperature sensor, the humidity sensor, the pressure sensor, and the gas analyzer of the gas analyzer, respectively, and are all input into the environmental factor compensation model 9.
Referring to step 8 in fig. 2, the standard values of the gas analyzer, including the standard value of the gas concentration of the gas analyzer, the standard value of the temperature sensor of the gas analyzer, the standard value of the humidity sensor of the gas analyzer, and the standard value of the pressure sensor of the gas analyzer, are obtained, and the measured values are input into the environmental factor compensation model 9.
Referring to steps 9-10 in fig. 2, the environmental factor compensation model performs compensation calculation on the gas concentration according to the above input data, and finally outputs a calculation result of the gas analyzer with sufficient compensation, i.e. the content 10 in fig. 2.
As shown in fig. 3, another embodiment of the present application further provides a gas analyzer data compensation apparatus, including: the device comprises an acquisition module and a compensation calculation module. And the acquisition module is used for acquiring the concentration value of the gas to be detected measured by the gas analyzer and the measured value of the environmental interference factor. The compensation calculation module is used for performing compensation calculation on the concentration value of the gas to be measured by using an environmental factor compensation model according to the concentration value of the gas to be measured and the measured value of the environmental interference factor to obtain the concentration value of the gas to be measured after compensation calculation; wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer.
The compensation calculation module comprises an environmental factor compensation model determination unit, and is specifically used for determining the concentration value of the gas to be measured after compensation calculation according to the following formula:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a standard value of gas concentration, T, of a gas analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiIs gas of a gas analyzerActual value of the pressure sensor, P1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
The environment factor compensation model determining unit further includes a determining subunit for determining a weighted value of each item, and is specifically configured to:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, wherein Z is the combination number of the total ambient temperature, the total ambient humidity and the total ambient pressure;
and performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
Fig. 4 is a schematic structural diagram of a computing device 5000 provided in an embodiment of the present application. The computing device 5000 includes: processor 5010, memory 5020, communications interface 5030, bus 5040.
It is to be appreciated that communication interface 5030 in computing device 5000 as shown in the figure may be used to communicate with other devices.
The processor 5010 may be coupled to a memory 5020. The memory 5020 may be used for storing the program codes and data. Accordingly, the memory 5020 may be a memory unit within the processor 5010, an external memory unit separate from the processor 5010, or a component including a memory unit within the processor 5010 and an external memory unit separate from the processor 5010.
Optionally, computing device 5000 may also include a bus 5040. The memory 5020 and the communication interface 5030 may be connected to the processor 5010 through a bus 5040. The bus 5040 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 5040 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one line is shown, but this does not represent only one bus or one type of bus.
It should be understood that, in the embodiment of the present application, the processor 5010 may employ a Central Processing Unit (CPU). The processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. Or the processor 5010 adopts one or more integrated circuits to execute the relevant programs, so as to implement the technical solutions provided by the embodiments of the present application.
The memory 5020 can include both read-only memory and random access memory, and provides instructions and data to the processor 5010. A portion of the processor 5010 may also include non-volatile random access memory. For example, the processor 5010 may also store information of the device type.
When the computing device 5000 is running, the processor 5010 executes the computer-executable instructions in the memory 5020 to perform the operational steps of the above-described method.
It should be understood that the computing device 5000 according to the embodiment of the present application may correspond to a corresponding main body for executing the method according to the embodiments of the present application, and the above and other operations and/or functions of each module in the computing device 5000 are respectively for implementing corresponding processes of each method of the embodiment, and are not described herein again for brevity.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present embodiments also provide a computer-readable storage medium, on which a computer program is stored, the program being used for executing a diversification problem generation method when executed by a processor, the method including at least one of the solutions described in the above embodiments.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application.

Claims (10)

1. A method of compensating data for a gas analyzer, comprising:
acquiring a concentration value of the gas to be detected measured by a gas analyzer and an actual measurement value of an environmental interference factor;
according to the concentration value of the gas to be detected and the measured value of the environmental interference factor, performing compensation calculation on the concentration value of the gas to be detected by using an environmental factor compensation model to obtain a concentration value of the gas to be detected after compensation calculation;
wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer.
2. The method of claim 1, wherein the environmental interference factors comprise:
an ambient temperature value, an ambient humidity value, and an ambient pressure value.
3. The method of claim 2, wherein the environmental factor compensation model is determined as follows:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a gasStandard value of gas concentration, T, of analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiIs the actual value, P, of a gas pressure sensor of a gas analyzer1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
4. The method of claim 3, wherein the weighted value of each item is determined by:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, wherein Z is the combination number of the total ambient temperature, the total ambient humidity and the total ambient pressure;
and performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
5. A gas analyzer data compensation apparatus, comprising:
the acquisition module is used for acquiring the concentration value of the gas to be detected measured by the gas analyzer and the measured value of the environmental interference factor;
the compensation calculation module is used for performing compensation calculation on the concentration value of the gas to be measured by using an environmental factor compensation model according to the concentration value of the gas to be measured and the measured value of the environmental interference factor to obtain the concentration value of the gas to be measured after compensation calculation; wherein the environmental factor compensation model is established according to a span calibration coefficient of the gas analyzer.
6. The apparatus of claim 5, wherein the environmental interference factors comprise:
an ambient temperature value, an ambient humidity value, and an ambient pressure value.
7. The apparatus according to claim 5, wherein the compensation calculating module includes an environmental factor compensation model determining unit, specifically configured to determine the concentration value of the compensated gas to be measured according to the following formula:
Y=K{a*[Xi-(X1-X0)]3+b*[Xi-(X1-X0)]2+c*[Xi-(X1-X0)]+d+e*[Ti-(T1-T0)]3+f*[Ti-(T1-T0)]*[Xi-(X1-X0)]+g*[Ti-(T1-T0)]+h*[Ri-(R1-R0)]3+i*[Ri-(R1-R0)]*[Xi-(X1-X0)]+j*[Ri-(R1-R0)]+k*[Pi-(P1-P0)]*[Xi-(X1-X0)]2+l*[Ti-(T1-T0)]*[Pi-(P1-P0)]}
in the above formula, Y is the concentration value of the gas to be measured after compensation calculation, K is the span calibration coefficient of the gas analyzer, a, b, c, d, e, f, g, h, i, j, K, l are the weighted values of each item, and X is the weighted value of each itemiIs the concentration value, X, of the gas to be measured by a gas analyzer1For gas concentration calibration values, X, of gas analyzers0Is a standard value of gas concentration, T, of a gas analyzeriIs the actual value, T, of a temperature sensor of a gas analyzer1For calibration of the gas analyzer temperature sensor, T0Is a standard value, R, of a temperature sensor of a gas analyzeriIs the actual value, R, of a humidity sensor of a gas analyzer1For calibration values of gas analyzer humidity sensors, R0Is the standard value of the humidity sensor of the gas analyzer, PiFor gas pressure sensors of gas analyzersMeasured value of (D), P1For calibration of the gas analyzer pressure sensor, P0The standard value of the gas pressure sensor of the gas analyzer.
8. The apparatus according to claim 7, wherein the environment factor compensation model determining unit further comprises a determining subunit for determining a weighted value of each term, and is specifically configured to:
acquiring measured values of a gas analyzer of K standard gases with different concentrations under a preset environmental condition; the preset environmental conditions comprise Z types, wherein Z is the combination number of the total ambient temperature, the total ambient humidity and the total ambient pressure;
and performing linear regression analysis on each combination, the concentration of the standard gas corresponding to the combination and the measured value of the gas analyzer corresponding to the combination to obtain the weighted value of each environmental condition and the concentration of the standard gas.
9. A gas analyzer data compensation apparatus, comprising:
a bus;
a communication interface connected to the bus;
at least one processor coupled to the bus; and
at least one memory coupled to the bus and storing program instructions that, when executed by the at least one processor, cause the at least one processor to perform the method of any of claims 1-4.
10. A computer-readable storage medium having stored thereon program instructions, which, when executed by a computer, cause the computer to perform the method of any of claims 1-4.
CN202010501261.7A 2020-06-04 2020-06-04 Data compensation method, device, equipment and medium for gas analyzer Pending CN111679035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010501261.7A CN111679035A (en) 2020-06-04 2020-06-04 Data compensation method, device, equipment and medium for gas analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010501261.7A CN111679035A (en) 2020-06-04 2020-06-04 Data compensation method, device, equipment and medium for gas analyzer

Publications (1)

Publication Number Publication Date
CN111679035A true CN111679035A (en) 2020-09-18

Family

ID=72434926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010501261.7A Pending CN111679035A (en) 2020-06-04 2020-06-04 Data compensation method, device, equipment and medium for gas analyzer

Country Status (1)

Country Link
CN (1) CN111679035A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112649549A (en) * 2020-12-21 2021-04-13 青岛明华电子仪器有限公司 Oxygen interference compensation method for FID detector
CN113252847A (en) * 2021-04-30 2021-08-13 北京科尔康安全设备制造有限公司 Detection method
CN114252558A (en) * 2021-12-20 2022-03-29 河南驰诚电气股份有限公司 Gas detector with self-diagnosis function
CN114544536A (en) * 2022-02-22 2022-05-27 青岛明华电子仪器有限公司 Generation method of nitrogen oxide concentration calibration model
CN115728445A (en) * 2022-10-15 2023-03-03 北京中立格林传感科技股份有限公司 Sensor calibration method, device, equipment and computer readable storage medium
CN116087131A (en) * 2023-04-11 2023-05-09 南京科力赛克安防科技有限公司 Data processing method and system of ultraviolet differential gas analyzer
CN116973520A (en) * 2023-09-21 2023-10-31 北京燕山时代仪表有限公司 Anti-interference method, system, terminal and storage medium for gas concentration detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331266A (en) * 2011-06-13 2012-01-25 无锡格林通安全装备有限公司 Multi-parameter gas sensor compensating method
CN102680518A (en) * 2012-05-31 2012-09-19 河南汉威电子股份有限公司 Compensation type gas sensor and humiture compensation method thereof
CN106404126A (en) * 2016-08-31 2017-02-15 赵雪至 Compensation method and metering device for flow measurement of multi-component gas
CN110018275A (en) * 2019-04-10 2019-07-16 南京能启能电子科技有限公司 A kind of gas detector with compensation function and compensation method
CN110426490A (en) * 2019-07-25 2019-11-08 北京市劳动保护科学研究所 A kind of the temperature and humidity drift compensation method and device of pernicious gas on-line computing model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331266A (en) * 2011-06-13 2012-01-25 无锡格林通安全装备有限公司 Multi-parameter gas sensor compensating method
CN102680518A (en) * 2012-05-31 2012-09-19 河南汉威电子股份有限公司 Compensation type gas sensor and humiture compensation method thereof
CN106404126A (en) * 2016-08-31 2017-02-15 赵雪至 Compensation method and metering device for flow measurement of multi-component gas
CN110018275A (en) * 2019-04-10 2019-07-16 南京能启能电子科技有限公司 A kind of gas detector with compensation function and compensation method
CN110426490A (en) * 2019-07-25 2019-11-08 北京市劳动保护科学研究所 A kind of the temperature and humidity drift compensation method and device of pernicious gas on-line computing model

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112649549A (en) * 2020-12-21 2021-04-13 青岛明华电子仪器有限公司 Oxygen interference compensation method for FID detector
CN113252847A (en) * 2021-04-30 2021-08-13 北京科尔康安全设备制造有限公司 Detection method
CN113252847B (en) * 2021-04-30 2024-01-23 北京科尔康安全设备制造有限公司 Detection method
CN114252558A (en) * 2021-12-20 2022-03-29 河南驰诚电气股份有限公司 Gas detector with self-diagnosis function
CN114544536A (en) * 2022-02-22 2022-05-27 青岛明华电子仪器有限公司 Generation method of nitrogen oxide concentration calibration model
CN114544536B (en) * 2022-02-22 2024-06-07 青岛明华电子仪器有限公司 Method for generating nitrogen oxide concentration calibration model
CN115728445A (en) * 2022-10-15 2023-03-03 北京中立格林传感科技股份有限公司 Sensor calibration method, device, equipment and computer readable storage medium
CN116087131A (en) * 2023-04-11 2023-05-09 南京科力赛克安防科技有限公司 Data processing method and system of ultraviolet differential gas analyzer
CN116973520A (en) * 2023-09-21 2023-10-31 北京燕山时代仪表有限公司 Anti-interference method, system, terminal and storage medium for gas concentration detector
CN116973520B (en) * 2023-09-21 2024-01-05 北京燕山时代仪表有限公司 Anti-interference method, system, terminal and storage medium for gas concentration detector

Similar Documents

Publication Publication Date Title
CN111679035A (en) Data compensation method, device, equipment and medium for gas analyzer
Giordani et al. Measurement, models, and uncertainty
CN103675022A (en) TDS detection method, detection device and detection system
CN115048613A (en) Index homogenization conversion method and device, electronic equipment and storage medium
Tian Design and implementation of distributed measurement systems using fieldbus-based intelligent sensors
CN112014037A (en) Method and system for detecting leakage by accumulation method
CN114034907B (en) Method and device for measuring current by current sensor based on annular tunnel magnetic resistance array
CN115728445A (en) Sensor calibration method, device, equipment and computer readable storage medium
Oosterhuis et al. Performance specifications and six sigma theory: clinical chemistry and industry compared
CN107607144B (en) Sensor baseline drift correction method and detection equipment
Radionov et al. Automated system design for experimental research of the technological process parameters of spacecraft waveguide paths induction soldering
CN115431302B (en) Robot joint idle stroke measuring method and device, electronic equipment and storage medium
CN108760042B (en) Optical sensor calibration method and device, mobile device, medium and electronic device
CN116702005A (en) Neural network-based data anomaly diagnosis method and electronic equipment
CN106501582B (en) Signal base line processing method and signal base line processing equipment
CN107607143B (en) Method for correcting baseline drift of sensor and detection equipment
CN110084298B (en) Method and device for detecting image similarity
CN112255298A (en) Sensitivity calibration system and method for gas odorous agent concentration measurement sensor
Jaeger et al. Issues and solutions in fitting, evaluating, and interpreting regression models
CN115308517B (en) Aging detection method and system for components, storage medium and equipment
CN112765011B (en) Quality control state judging method and device and electronic equipment
KR102441849B1 (en) Quantifying Method of Uncertainty of Measured Value by Close Match Span Calibration And The Apparatus Using The Same
Cięszczyk Sensors signal processing under influence of environmental disturbances
CN113407571B (en) Counting method based on weighing principle
CN115598309B (en) Method and system for monitoring and early warning of lead content in atmospheric environment

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