Summary of the invention
The invention provides a kind of gas measuring method and device.
According to a first aspect of the invention, a kind of gas measurement device is provided, comprises:
Gas concentration signal detecting unit, for extracting gases from testing environment or in monitored air flue, detects the concentration characterization signal of tested gas;
Environmental gas concentration detecting unit, is placed in testing environment, for measuring the concentration of interference gas in testing environment;
Processing unit, be connected to receive the data coming from gas concentration signal detecting unit and environmental gas concentration detecting unit with gas concentration signal detecting unit and environmental gas concentration detecting unit respectively, described processing unit is configured to carry out zero point correction calculating based on the concentration characterization signal of the tested gas of concentration of the interference gas during Z-operation of school, and the concentration characterization signal of tested gas when measuring based on zero point correction result of calculation and Real-time Obtaining normal calculates the concentration of tested gas.
According to a second aspect of the invention, provide a kind of gas measurement device, comprise gas concentration signal detecting unit, processing unit, result output unit and environmental gas concentration detecting unit;
Described gas concentration signal detecting unit is used for extracting gases from environment or in monitored air flue, detects the concentration characterization signal of tested gas;
Described environmental gas concentration detecting unit is placed in testing environment, for measuring the concentration of interference gas in testing environment;
Described processing unit is connected with gas concentration signal detecting unit, environmental gas concentration detecting unit and result output unit respectively, the concentration characterization signal of the tested gas that the concentration of the interference gas that reception environment gas concentration detecting unit exports and gas concentration detecting signal unit detect, and the concentration of the tested gas drawn is outputted to result output unit.
According to a third aspect of the invention we, provide a kind of gas measuring method, comprise school zero step and normal measuring process, its lieutenant colonel zero step comprises:
Gas concentration signal detecting unit, when carrying out school Z-operation, extracts environmental gas from testing environment, detects the concentration characterization signal of tested gas;
The concentration characterization signal of the tested gas that processing unit receiver gases concentration signal detecting unit exports, and the concentration of interference gas testing environment is obtained from environmental gas concentration detecting unit;
The concentration characterization signal of tested gas during processing unit high-ranking officers Z-operation and the concentration of interference gas substitute into gas concentration transformation equation during school zero, gas concentration transformation equation during school zero being solved, obtaining the conversion coefficient for revising the concentration characterization signal of tested gas when normal measurement or offset;
Described normal measuring process comprises:
Gas concentration signal detecting unit is extracting gases from monitored air flue, detects the concentration characterization signal of tested gas;
The concentration characterization signal of the tested gas that processing unit receiver gases concentration signal detecting unit exports in real time, according to the conversion coefficient obtained in the step of school zero or offset, the concentration characterization signal to the tested gas of Real-time Obtaining is revised, and obtains tested gas concentration.
The application is the concentration value of interference gas in real-time environment due to what obtained by environmental gas concentration detecting unit, more close even equal with the concentration value of interference gas in real environment, carry out school zero time, in the environment detect this environmental gas concentration detecting unit, the concentration value of interference gas calculates zero point correction coefficient (i.e. conversion coefficient or offset) as known gas concentration result, the zero point correction coefficient that concentration value calculates accordingly is not subject to or is not substantially subject to the interference of interference gas concentration change in ambient atmosphere, more accurate compared with the method for the hypothesis concentration known value adopted in prior art or adsorbent, therefore the accuracy of gas measurement device to gas concentration measurement result can be improved.
Embodiment one:
As shown in Figure 1, in one embodiment, gas measurement device comprises gas concentration signal detecting unit 10, environmental gas concentration detecting unit 20 and processing unit 30.
Gas concentration signal detecting unit 10 is for from extracting gases in environment or monitored air flue, detect the concentration characterization signal of tested gas, the concentration characterization signal of tested gas can be such as the electric signal relevant to tested gas concentration, or those skilled in the art think that adoptable other characterizes the signal of tested gas concentration.In the present embodiment, gas concentration signal detecting unit is NDIR (Non-Dispersive Infrared) spectral analysis gas concentration signal detecting unit, and in other embodiments, gas concentration signal detecting unit also can adopt other principles to detect gas concentration.When needs carry out school Z-operation, gas concentration signal detecting unit 10 extracting gases from testing environment carries out tested gas concentration detection, when carrying out normal gas concentration measurement, gas concentration signal detecting unit 10 carries out tested gas concentration detection from extracting gases in monitored air flue.In an instantiation, gas concentration signal detecting unit 10 by air pump and/or gas circuit from extracting gases in testing environment or monitored air flue, monitored air flue also can according to equipment need be designed to different shapes, and/or there is different spatial accommodations.
Environmental gas concentration detecting unit 20 is for measuring the concentration of interference gas in testing environment, it is placed in testing environment, environmental gas concentration detecting unit 20 can be arranged on gas measurement device and can the position of contact environment gas, such as can be arranged on certain position of the hull outside of gas measurement device, also can be arranged on the enclosure interior of gas measurement device, but need passing hole or passage to make environmental gas concentration detecting unit 20 touch environmental gas; Environmental gas concentration detecting unit 20 also can be placed on separately the outside of gas measurement device, and testing result is sent to processing unit 30 by wired or wireless mode.Environmental gas concentration detecting unit 20 can adopt solid electrolyte battery principle, namely produces corresponding electric signal according to the concentration of different environmental gas.
Processing unit 30 is connected with gas concentration signal detecting unit 10 and environmental gas concentration detecting unit 20 respectively, to carry out communication with gas concentration detecting signal unit 10 and environmental gas concentration detecting unit 20, such as gas concentration signal detecting unit 10 is controlled, receive the data etc. coming from gas concentration signal detecting unit 10 and environmental gas concentration detecting unit 20.Processing unit 30 can be wired electrical connection with the connected mode of gas concentration signal detecting unit 10 and environmental gas concentration detecting unit 20, also can be wireless connections, gas concentration signal detecting unit 10 and environmental gas concentration detecting unit 20 send the data to processing unit 30 respectively by wireless communication mode.
Environmental gas concentration when processing unit 30 obtains school Z-operation from environmental gas concentration detecting unit 20, and the gas concentration characterization signal during school Z-operation of receiver gases concentration signal detecting unit 20 output and gas concentration characterization signal when normally measuring, processing unit 30 carries out zero point correction calculating according to the gas concentration characterization signal gathered when the concentration of interference gas in the testing environment during Z-operation of school and school Z-operation, calculates the concentration of tested gas according to the gas concentration characterization signal of Real-time Obtaining when zero point correction result of calculation and normal measurement.
In a kind of instantiation, the condition judgment that processing unit 30 can be used for according to presetting needs carry out school zero or normally measure, when processing unit 30 detect meet school zero condition time, then perform school zero program, school Z-operation control signal is sent to gas concentration signal detecting unit 10, control gas concentration signal detecting unit 10 and perform school Z-operation, from testing environment, extracting gases carries out tested gas concentration detection.School zero condition can be a timing condition, after the time arrives, is and meets school zero condition.School zero condition can be the concentration of the tested gas detected and a setting threshold range are compared, when exceeding setting threshold range, think and meet school zero condition, enter school zero program, this situation illustrates that the concentration of the tested gas of actual measurement may exist comparatively big error, needs to recalculate conversion coefficient or offset.When processing unit 30 detects satisfied normal measuring condition, then perform normal process of measurement, normal measuring control signal is sent to gas concentration signal detecting unit 10, control gas concentration signal detecting unit 10 and perform normal measurement, in monitored air flue, extracting gases carries out tested gas concentration detection.School Z-operation terminates can as normal measuring condition, and the normal measuring command of operator's input also can as normal measuring condition.
In an instantiation, environmental gas concentration detecting unit can be the gas sensor corresponding with tested gas, and such as, tested gas is carbon dioxide, then corresponding gas sensor is carbon dioxide gas sensor; If tested gas is ether, then corresponding gas sensor is ether gas sensor.Gas sensor can adopt the mode of chemistry to carry out the concentration of certain gas in testing environment, and testing process is slower.Also other gas concentration detector device can be adopted to carry out the concentration of the tested gas in measurement environment according to content those skilled in the art disclosed in the present application.The concentration of the tested gas that environmental gas concentration detecting unit 20 can constantly provide it to detect, in a kind of instantiation, processing unit 30 can gather the concentration value of environmental gas concentration detecting unit 20 output by its I/O mouth at interval of certain hour, concentration value and the time of tested gas is recorded when gathering, when school zero, its time concentration value that is consistent with the school zero-time or immediate tested gas is only adopted to participate in calculation of transform coefficients.In another kind of instantiation, processing unit 30 also can work as the concentration value just reading tested gas when carrying out school Z-operation to environmental gas concentration detecting unit 20.
In the above-described embodiments, what gas concentration signal detecting unit 10 detected is the concentration characterization signal relevant with tested gas concentration, and such as electric signal, in subsequent calculations, need the concentration according to certain transformation relation formula, concentration characterization signal being transformed into tested gas.For how, concentration characterization signal is transformed into the concentration of tested gas, those skilled in the art can according to different measurement mechanisms and measuring method setting transformation relation formula.Transformation relation formula can be a transformation matrix, also can be one simply plus-minus revise relational expression, also transformation matrix with simply add and subtract the combination revising relational expression, claim this transformation relation formula to be gas concentration transformation equation in the application.Under normal circumstances, have three kinds of parameters in gas concentration transformation equation, the first is the concentration results of tested gas, and the second is gas concentration characterization signal sampled value, and gas concentration characterization signal sampled value can be a sampled value, also can be one group of sampled value.The third is conversion coefficient or offset, and this conversion coefficient or offset are used for revising the concentration characterization signal of tested gas, to draw tested gas concentration.In three kinds of parameters known two kinds, namely solve by the other side's journey, obtain the third.Only be described by way of example herein.
Suppose that gas concentration transformation equation is:
Y
0=f(A
n,X
0)-----------------------(1)
Wherein: Y
0for the concentration results of tested gas, be the last tested gas concentration value exported, X
0for the concentration characterization signal sampled value of a group or a tested gas, A
nfor conversion coefficient or the offset of a group or a gasmetry, f () is the calculation relational expression between tested gas concentration result and tested gas concentration characterization signal sampled value.
In practical operation, the transformation relation formula used in the Z-operation process of school can be identical with the transformation relation formula used in proper testing process, also can be different.Usually, transformation relation formula is the transformation relation formula used in the Z-operation process of school, is also the transformation relation formula used in proper testing process.
When adopting equation (1) to calculate the concentration of tested gas, carrying out in the Z-operation process of school, first supposing that the concentration of current tested gas is concentration known, using the concentration results Y of concentration known as the tested gas in equation (1)
0, the concentration characterization signal of the current tested gas collected by gas concentration signal detecting unit 10 is as the concentration characterization signal sampled value X of tested gas in equation (1)
0, concentration value Y
0with sampled signal X
0equation (1) must be met, therefore can obtain one group of conversion coefficient or offset A according to equation (1)
0, also referred to as zero point correction coefficient A
0.By A in follow-up calculating
0bring in gas concentration transformation equation as conversion coefficient or offset A
n, be used for revising the concentration characterization signal of the tested gas measured in real time, obtain revised tested gas concentration value.Because system drifting has impact to gasmetry result, so zero point correction coefficient A
0whether accurately directly affect the accuracy of gas concentration measurement result.
In the embodiment of the present application, when school Z-operation, gas concentration signal detecting unit 10 extracting gases from testing environment, tested gas and interference gas, through detecting, obtaining the concentration characterization signal of interference gas, and exporting to processing unit 30, processing unit 30 obtains the sampled value of the concentration characterization signal of the tested gas of interference gas through sampling, and as the concentration characterization signal sampled value X in equation (1)
0.On the other hand, interference gas concentration when processing unit 30 obtains school Z-operation from environmental gas concentration detecting unit 20 testing environment, using this interference gas concentration as the concentration results Y in equation (1)
0, zero point correction coefficient A can be calculated according to equation (1)
0.
When normally measuring, gas concentration signal detecting unit 10 is from extracting gases in monitored air flue, detect the gas concentration characterization signal of tested gas, and export to processing unit 30, processing unit 30 obtains the sampled value X of the concentration characterization signal of tested gas through sampling
0'.By sampled value X
0' and school Z-operation time the zero point correction coefficient A that draws
0substitute into equation (1), the concentration value of real-time tested gas can be calculated.
And adopt in the prior art of adsorbent, when school Z-operation, be that the concentration value of interference gas is assumed to 0, using the interference gas concentration value of hypothesis as the Y in equation (1)
0, i.e. Y
0=0.But when adsorbent lost efficacy or can not adsorb the interference gas in testing environment completely, the concentration that gas concentration signal detecting unit 10 performs the interference gas that school Z-operation extracts from testing environment is not 0, the characterization signal that the concentration characterization signal of the interference gas namely detected not is interference gas concentration when being 0, therefore according to the zero point correction coefficient A that equation (1) calculates
0error will be there is.
Owing in the embodiment of the present application being the Y actual concentration value of interference gas in actual for environmental gas concentration detecting unit 20 testing environment recorded substituted in equation (1)
0, and the concentration that simultaneously gas concentration signal detecting unit 10 performs the interference gas that school Z-operation extracts from testing environment is also this concentration or closely this concentration, therefore by zero point correction coefficient A that equation (1) calculates
0more accurate.
Due to zero point correction coefficient A in the embodiment of the present application
0calculated by the actual concentration value of interference gas in the actual testing environment recorded of environmental gas concentration detecting unit 20, there is not the situation being assumed to be a given value (such as adopt in the prior art of adsorbent and the concentration value of interference gas is assumed to 0), so avoid default and environment actual value is not inconsistent the error caused.Therefore, adopt the embodiment in the application, how to change regardless of interference gas in environment, all can calculate zero point correction coefficient more accurately, thus improve the accuracy of measurement result.
For reducing system drifting and the aging error brought, at interval of a period of time, gas measurement device will carry out once school Z-operation as required, demarcate conversion coefficient.The school zero-time can be arranged according to the specific requirement of the needs measured and gas measurement device.Therefore the measuring process of gas concentration measurement comprises school zero step and normal measuring process, is called one-period, adopts the zero point correction coefficient obtained during the school Z-operation in this cycle as conversion coefficient in normal measuring process from this time school zero to school zero next time.
In the step of school zero, gas concentration signal detecting unit extracts environmental gas from testing environment, detects the concentration characterization signal of tested gas; The concentration characterization signal of the tested gas that processing unit receiver gases concentration signal detecting unit exports, and the concentration of interference gas testing environment is obtained from environmental gas concentration detecting unit; Then processing unit carries out zero point correction calculating according to the concentration characterization signal of the tested gas during Z-operation of school and the concentration of interference gas, obtains the conversion coefficient in tested gas concentration transformation equation or offset.
In normal measuring process, gas concentration signal detecting unit is extracting gases from monitored air flue, detects the concentration characterization signal of tested gas; The concentration characterization signal of the tested gas that processing unit receiver gases concentration signal detecting unit exports in real time, according to the conversion coefficient obtained in the concentration characterization signal of real-time tested gas and school zero step or offset, calculate tested gas concentration through gas concentration transformation equation.
Be illustrated in figure 2 in a kind of instantiation and adopt above-mentioned gas measurement mechanism to carry out the process flow diagram of gas concentration measurement, each cycle comprises following measuring process:
Step S11, starts school zero step.After processing unit monitors and meets school zero condition, such as monitor after the school zero-time arrives, then control gas concentration signal detecting unit and perform school Z-operation, school zero step comprises step S12 to S14.
Step S12, gas concentration signal detecting unit processing unit control under from environment extracting air, detect the concentration characterization signal of tested gas.
Step S13, the gas concentration characterization signal that processing unit receiver gases concentration signal detecting unit exports, and the concentration obtaining interference gas from environmental gas concentration detecting unit.
Step S14, processing unit carries out zero point correction calculating according to the gas concentration characterization signal when concentration of interference gas in the testing environment during Z-operation of school and school Z-operation, obtains zero point correction coefficient A according to equation (1)
0, and by zero point correction coefficient A
0as the conversion coefficient in gas concentration calculating transformation equation tested during normal measurement or offset.
Step S15, start normal measuring process, (the normal measuring command of such as user's input when processing unit receives normal measuring command, or according to measuring the clocked flip order of the normal measurement that interval sets), or when processing unit judges that school Z-operation terminates and do not receive the finish command, then perform and normally measure operation.Normal measurement comprises step S16 to S17.
Step S16, processing unit controls gas concentration signal detecting unit extracting gases from monitored air flue, and gas concentration signal detecting unit detects the concentration characterization signal of tested gas.
Step S17, the concentration characterization signal of the tested gas that processing unit receiver gases concentration signal detecting unit exports in real time, according to the conversion coefficient obtained in the concentration characterization signal of real-time tested gas and school zero step or offset, calculate tested gas concentration through equation (1).
Step S18, processing unit judges whether to arrive the school zero-time, if so, then turns to and performs step S11, if also do not arrive the school zero-time, then turns to and performs step S15.After carrying out once new school Z-operation, during normal measurement, adopt the conversion coefficient newly calculated or offset.
Below for tested gas be carbon dioxide, gas concentration signal detecting unit is described in detail for NDIR (Non-Dispersive Infrared) spectral analysis gas concentration signal detecting unit.
Gas concentration signal detecting unit comprises reference channel, Measurement channel, light detecting device, zero mouthful, school and gas circuit, the optical filter corresponding with tested atmospheric carbon dioxide is provided with in Measurement channel, only by the light of specific band, gas in the light irradiation tunnel of this specific band, and act on (such as transmission through carbon dioxide, reflection or refraction) afterwards light intensity change, light detecting device be arranged on through carbon dioxide act on after light path on, detect in reference channel in the light intensity and Measurement channel exported through carbon dioxide act on after light intensity, in an instantiation, the light intensity of detection is converted to corresponding electric signal by light detecting device, and be transferred to processing unit.
Environmental gas concentration detecting unit is carbon dioxide gas sensor, specifically can use existing carbon dioxide gas sensor, certainly, it will be appreciated by those skilled in the art that carbon dioxide gas sensor also can adopt emerging carbon dioxide gas sensor in the future.Environmental gas concentration detecting unit can be arranged on any position touching environmental gas of gas measurement device, in an instantiation, environmental gas concentration detecting unit is arranged near zero mouthful, school, and the density of carbon dioxide gas in the environment making it detect is closer to the density of carbon dioxide gas in the environmental gas extracted during the Z-operation of school.
Processing unit can be an independently process chip, also can integrate with the primary processor of equipment.In an instantiation, processing unit is electrically connected with the light detecting device of gas concentration signal detecting unit and carbon dioxide gas sensor respectively, gathers the electric signal relevant to tested gas concentration that light detecting device exports and the electric signal of being correlated with density of carbon dioxide gas in environment that carbon dioxide gas sensor exports.
When school Z-operation, gas concentration signal detecting unit is zero mouthful of extracting gases from testing environment through school, and the gas of extraction is passed to reference channel and Measurement channel through gas circuit.In Measurement channel, penetrated the gas of extraction by the illumination setting wave band, detect the light intensity of light after gas effect of setting wave band, light intensity is converted to electric signal and exports to processing unit.The electric signal that processing unit sampling reference channel and Measurement channel export, obtains the sampled value of the concentration characterization signal of carbon dioxide in environment.On the other hand, the concentration of processing unit interference gas from testing environment during environmental gas concentration detecting unit acquisition school Z-operation, the sampled value of the concentration characterization signal of the concentration of this interference gas and carbon dioxide is substituted into transformation equation, zero point correction coefficient can be calculated.
When normally measuring, gas concentration signal detecting unit 10 is through gas circuit from extracting gases in monitored air flue, and gas is passed to reference channel and Measurement channel through gas circuit.In Measurement channel, penetrated the gas of extraction by the illumination setting wave band, detect the light intensity of light after gas effect of setting wave band, light intensity is converted to electric signal and exports to processing unit.The electric signal that processing unit sampling reference channel and Measurement channel export, obtains the sampled value of carbon dioxide (i.e. tested gas).The zero point correction coefficient drawn when sampled value and school Z-operation is substituted into transformation equation, the concentration value of carbon dioxide can be calculated.