CN109696413A - Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method - Google Patents

Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method Download PDF

Info

Publication number
CN109696413A
CN109696413A CN201811562034.4A CN201811562034A CN109696413A CN 109696413 A CN109696413 A CN 109696413A CN 201811562034 A CN201811562034 A CN 201811562034A CN 109696413 A CN109696413 A CN 109696413A
Authority
CN
China
Prior art keywords
atmospheric pressure
infrared
gas chamber
pressure compensating
sensor
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
CN201811562034.4A
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201811562034.4A priority Critical patent/CN109696413A/en
Publication of CN109696413A publication Critical patent/CN109696413A/en
Pending legal-status Critical Current

Links

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
    • 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
    • G01N2021/3545Disposition for compensating effect of interfering gases

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (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 present invention provides a kind of sampling gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method, it samples gas chamber and passes through the three pieces of concave mirrors introduced, the number of infrared light reflection can be effectively increased, extend the distance that infrared light passes through under test gas medium, in the case where guaranteeing light path, chamber volume is effectively reduced, ensure that the miniaturization of sensor;In addition, carrying out atmospheric pressure compensating calculating to the voltage value that infrared gas sensor exports using quanta particle swarm optimization, to obtain the gas concentration value after atmospheric pressure compensating, counting accuracy is high.

Description

Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method
Technical field
The present invention relates to infrared gas sensor technical fields, calculate in particular to a kind of sampling gas chamber, based on QPSO The infrared gas sensor and atmospheric pressure compensating method of method.
Background technique
Infrared gas sensor with its measurement range wide, high sensitivity, fast response time, selectivity it is good, can continuously divide It many advantages, such as analysis and automatic control, is obtained widely in various fields such as chemical industry, electric power, monitored gas environment and coal minings Using.
Common optical gas detection technique has Optical interference techniques, optoacoustic spectroscopy, photoionization technology and on-dispersive Infrared detection technology, wherein the non-dispersive infrared gas sensor structure based on characteristic spectrum absorption approach is the simplest, adjustment Period is long, performance is stable, be not easy to be poisoned, signal-to-noise ratio is high and is easily integrated, and has huge market prospects and commercial value.Its base Present principles are the absorption lines that had different characteristics due to different gas molecules, and the difference of gas molecule structure causes intermolecular Energy level it is also not identical therefore also not identical to the absorbability of infra-red radiation at different frequency, and gas is to infra-red radiation Absorption relationship obey Lambert-Beer's law (Lambert-Beerlaw).Younghwan Park of South Korea et al. devises one Kind optimizes the on-dispersive carbon dioxide gas sensor of optical path and light intensity, and precision is well beyond industrial detection standard.Huaihe River Southern college of education has developed the underground detection of gas with multiple constituents instrument based on non-dispersive infrared absorption principle, by rotating filter wheel, Detection while realizing the concentration of three kinds of gas.
However, precision is by environment gas when being detected using non-dispersive infrared gas sensor to gas concentration The influence of pressure factor.Gas in the biggish Code in Hazardous Special Locations of atmospheric gas pressure variation range, unit volume is compressed, and gas is caused Intermolecular distance change, to make infra-red radiation absorbed energy increase, but the concentration of gas detection does not change Become, therefore, the concentration value measured is compared with true value, there is biggish deviation.In addition, gas temperature variation is very small in an experiment, Its influence to air pressure can be ignored.By calibrating gas state equation PV=nRT it is found that when mono- timing of gas volume V, in temperature In the case that T is constant, with the raising of pressure P, gas molecule molal quantity will increase, so as to cause the increasing of measurement value sensor Add.
Currently, eliminating there are mainly two types of the methods for detecting error caused by ambient pressure changes.First is that empirical formula method, i.e., Using least square method, to same concentration gas, the caused error under different air pressures carries out straight line fitting, is determined by iterative method The related coefficient of empirical equation, founding mathematical models carry out pressure compensation, but such method calculation amount is larger, in pressure change Biggish occasion is ineffective, and the use occasion of empirical equation has limitation;Second is that pressure control method, that is, use hardware circuit Module makes to detect ambient pressure holding dynamic equilibrium, to avoid measurement error caused by changing because of air pressure, but hardware circuit mould The addition of block increases power consumption, improves manufacturing cost and be unfavorable for device miniaturization.
In addition, the sampling gas chamber of existing infrared gas sensor generally uses direct-injection type air chamber structure, this structure Air chamber structure is simple, and disadvantage is that light path is short.So needing to obtain high performance infrared gas sensor by increasing gas Room length extends light path, and whole system volume will be caused to increase, be unfavorable for sensor miniaturization.
Summary of the invention
It is an object of that present invention to provide a kind of sampling gas chambers, infrared gas sensor and atmospheric pressure compensating based on QPSO algorithm Method carries out atmospheric pressure compensating calculating to the voltage value that infrared gas sensor exports using quanta particle swarm optimization, to obtain warp Gas concentration value after atmospheric pressure compensating, counting accuracy are high;In addition, sampling gas chamber using multiple reflections formula, can effectively increase To order of reflection, extend the distance that infrared light passes through under test gas medium has infrared light in the case where guaranteeing light path in gas chamber Effect reduces chamber volume, ensure that the miniaturization of sensor.
To reach above-mentioned purpose, in conjunction with Fig. 1, the present invention proposes a kind of sampling gas chamber, and the sampling gas chamber is along longitudinally It is provided with first end and the second end, wherein be provided with an air inlet on first end, an outlet is provided on the second end Mouthful;
The sampling gas chamber include electrical modulation infrared light supply, reflective mirror, pyroelectric detector, reflector, the first concave mirror, Two the second concave mirrors;
The electrical modulation infrared light supply is fixedly mounted on the top that sampling gas chamber closes on first end, and the reflective mirror is fixed In the lower section of electrical modulation infrared light supply, the reflecting surface of reflective mirror towards electrical modulation infrared light supply and in the axis of sampling gas chamber Heart line is in 45 degree of angles;
The pyroelectric detector is fixedly mounted on the bottom that sampling gas chamber closes on first end, and test surface is adjusted towards electricity Infrared light supply processed, the reflector side of being fixed thereon, the reflecting surface of reflector is towards pyroelectric detector;
The center of first end is arranged in first concave mirror, and the radius of curvature of the first concave mirror is R1
The center of the second end, the splicing line and sampling gas of the two are set after described two second concave mirror splicings The shaft centre line of room is overlapped, and the radius of curvature of the second concave mirror is R2
The R1>R2
In further embodiment, waterproof ventilated membrane is provided on the inside of the air inlet of the sampling gas chamber.
In further embodiment, the inner wall of the sampling gas chamber uses brass Gold plated Layer.
The present invention further mentions a kind of infrared gas sensor based on QPSO algorithm, and the infrared gas sensor includes red Outer sensor, baroceptor and microprocessing systems, wherein infrared sensor uses the aforementioned sampling with multiple reflections characteristic Gas chamber;
The infrared sensor, baroceptor are electrically connected with microprocessing systems respectively;
The infrared sensor uses the electrical modulation infrared light supply with single light source double light path characteristic, and two light beams are sampling It is received after multiple reflections by pyroelectric detector in gas chamber, two light beam institutes are defined as Measurement channel and ginseng through path respectively Compare channel;
Two light beams that the pyroelectric detector is issued in response to receiving electrical modulation infrared light supply, it is converted respectively At a measurement voltage U0With a reference voltage U1It is sent to microprocessing systems;
The baroceptor setting is configured to atmospheric pressure value in real-time detection sampling gas chamber in sampling gas chamber bottom, and The atmospheric pressure value of detection is converted into an air pressure voltage U2It is sent to microprocessing systems;
It is provided with an atmospheric pressure compensating module in the microprocessing systems, is configured with a quantum particle swarm in atmospheric pressure compensating module Algorithm model;
The microprocessing systems receive the measurement voltage U that pyroelectric detector is sent0With reference voltage U1And air pressure transmission The air pressure voltage U that sensor is sent2, after normalized, it is sent to atmospheric pressure compensating module and carries out atmospheric pressure compensating calculating, to obtain warp Gas concentration after atmospheric pressure compensating.
In further embodiment, the infrared gas sensor also has a display unit;
The display unit is electrically connected with microprocessing systems, to show the gas concentration after atmospheric pressure compensating.
Fig. 2 is the workflow schematic diagram of the infrared gas sensor proposed by the present invention based on QPSO algorithm.
In fact, the infrared sensor in the aforementioned infrared gas sensor based on QPSO algorithm can also be using other knots The sampling gas chamber of structure, it is only necessary to which the sampling gas chamber of use has to export measurement voltage U0With reference voltage U1Measurement channel With (such as the air pressure of the device of the reference channel infrared light supply of double light path characteristic (use) and measurement sampling gas room pressure Sensor etc.).
But under the premise of not increasing sensor bulk, on the one hand, since multiple reflections lead to optical path lengthening, compared with The infrared sensor of sampling gas chamber without multiple reflections characteristic, the infrared sensor that the present invention refers to can make to be initially obtained The gas concentration value without atmospheric pressure compensating detection numerical value it is more accurate, on the other hand, using QPSO algorithm to infrared sensing The voltage value of device detection does atmospheric pressure compensating calculating.Improvement in terms of the two enables infrared sensor proposed by the present invention to obtain Obtain the performance more accurate more than existing same volume infrared sensor.
In conjunction with Fig. 3, the present invention further mentions a kind of infrared gas sensor atmospheric pressure compensating method based on QPSO algorithm, described Atmospheric pressure compensating method includes:
S1: creation quanta particle swarm optimization model;
S2: the measurement voltage U that pyroelectric detector is sent is received0With reference voltage U1And the gas that baroceptor is sent Piezoelectricity presses U2, it is normalized;
S3: the data after normalized are sent to the input layer of the quanta particle swarm optimization model created, quantum After particle swarm algorithm model carries out atmospheric pressure compensating calculating to it, knot is calculated by the output layer output of quanta particle swarm optimization model Fruit, using the calculated result of output as the gas concentration after atmospheric pressure compensating.
In conjunction with Fig. 4, in further embodiment, in step S1, the method for creation quanta particle swarm optimization model include with Lower step:
S11: by the pyroelectric detector sense channel output voltage U of infrared gas sensor0, reference channel output electricity Press U1And the output voltage U of baroceptor2Microprocessing systems are sent to, voltage data is normalized, by normalizing Input sample of the processing data as quanta particle swarm optimization after change;
S12: the position of each particle in random initializtion population;
S13: all particle individual desired positions is averaged in calculating population;
S14: calculating the current fitness value of each particle, and be preferably adapted to angle value with the particle history and be compared, value The small conduct particle is preferably adapted to angle value;
S15: comparing the adaptive optimal control angle value of each particle in population, and minimum value is adapted to as current iteration global optimum Angle value, position is as global optimum position;
S16: more current global optimum and history global optimum are worth small conduct global optimum, and position is made For global optimum position;
S17: updating the position of each particle in population, and formula is as follows:
ui,j(t)~U (0,1)
S18: if meeting termination condition, the global optimum position of group is exported;Otherwise, return step S12 carries out next change Generation;
S19: according to the resulting parameter of above step, the quanta particle swarm optimization model in microprocessor is created.
The above technical solution of the present invention, compared with existing, significant beneficial effect is:
1) single light source dual-wavelength difference optical path detection model is used, since Measurement channel and reference channel are in same inspection It surveys under environment, therefore can eliminate to a certain extent and measure interference caused by environmental factor and light source shake etc., improve gas The precision of measurement of concetration.
2) the gold-plated processing of brass is made to plenum interior, guarantees gas chamber smooth enough, reduce infrared light in reflection process Loss, can effectively promote detection accuracy.
3) waterproof ventilated membrane is added in air inlet, steam can be prevented, which to enter sensor, influences gasmetry precision.
4) by the three pieces of concave mirrors introduced, the number of infrared light reflection can be effectively increased, extend infrared light pass through to The distance for surveying gas medium effectively reduces chamber volume in the case where guaranteeing light path, ensure that the miniaturization of sensor.
5) existing empirical equation penalty method and electricity are compensated for based on quanta particle swarm optimization (QPSO) atmospheric pressure compensating method The multinomial disadvantage of road penalty method, by pyroelectric detector Measurement channel, the output voltage of reference channel and baroceptor Output voltage is normalized, and is then sent into the input layer of quanta particle swarm optimization (QPSO) model, after algorithm process, Gas concentration after atmospheric pressure compensating is exported by output layer.This kind of method makes atmospheric pressure compensating process easier, accurate, and existing Having technology to compare has the features such as precision is high, at low cost, and structure is small.
It should be appreciated that as long as aforementioned concepts and all combinations additionally conceived described in greater detail below are at this It can be viewed as a part of the subject matter of the disclosure in the case that the design of sample is not conflicting.In addition, required guarantor All combinations of the theme of shield are considered as a part of the subject matter of the disclosure.
Can be more fully appreciated from the following description in conjunction with attached drawing present invention teach that the foregoing and other aspects, reality Apply example and feature.The features and/or benefits of other additional aspects such as illustrative embodiments of the invention will be below Description in it is obvious, or learnt in practice by the specific embodiment instructed according to the present invention.
Detailed description of the invention
Attached drawing is not intended to drawn to scale.In the accompanying drawings, identical or nearly identical group each of is shown in each figure It can be indicated by the same numeral at part.For clarity, in each figure, not each component part is labeled. Now, example will be passed through and the embodiments of various aspects of the invention is described in reference to the drawings, in which:
Fig. 1 is the structural schematic diagram of sampling gas chamber of the invention.
Fig. 2 is the flow chart of work methods of infrared sensor of the invention.
Fig. 3 is gas compensation method flow diagram of the invention.
Fig. 4 is the method flow diagram of creation quanta particle swarm optimization model of the invention.
Each label meaning is as follows in figure:
1 is pyroelectric detector, and 2 be reflector, and 3 be big concave mirror, and 4 be air inlet, and 5 be waterproof ventilated membrane, and 6 be reflective Mirror, 7 be infrared light supply, and 8 be two pieces of small concave mirrors, and 9 be gas outlet, and 10 be pyroelectric detector reference channel, and 11 be pyroelectricity Detector measurement channel, 12 be baroceptor, and 13 be microprocessing systems, and 14 be display unit.
Specific embodiment
In order to better understand the technical content of the present invention, special to lift specific embodiment and institute's accompanying drawings is cooperated to be described as follows.
Various aspects with reference to the accompanying drawings to describe the present invention in the disclosure, shown in the drawings of the embodiment of many explanations. Embodiment of the disclosure need not be defined on including all aspects of the invention.It should be appreciated that a variety of designs and reality presented hereinbefore Those of apply example, and describe in more detail below design and embodiment can in many ways in any one come it is real It applies, this is because conception and embodiment disclosed in this invention are not limited to any embodiment.In addition, disclosed by the invention one A little aspects can be used alone, or otherwise any appropriately combined use with disclosed by the invention.
In conjunction with Fig. 1, the present invention proposes a kind of sampling gas chamber, the sampling gas chamber along longitudinally be provided with first end and The second end, wherein be provided with an air inlet 4 on first end, a gas outlet 9 is provided on the second end.
The sampling gas chamber includes that electrical modulation infrared light supply 7, reflective mirror 6, pyroelectric detector 1, reflector 2, first are recessed 3, two the second concave mirrors 8 of face mirror.
The electrical modulation infrared light supply 7 is fixedly mounted on the top that sampling gas chamber closes on first end, and the reflective mirror 6 is solid Be scheduled on the lower section of electrical modulation infrared light supply 7, the reflecting surface of reflective mirror 6 towards electrical modulation infrared light supply 7 and with sampling gas chamber Shaft centre line is in 45 degree of angles.
The pyroelectric detector 1 is fixedly mounted on the bottom that sampling gas chamber closes on first end, test surface direction electricity Modulate infrared light supply 7,2 side of being fixed thereon of reflector, the reflecting surface of reflector 2 is towards pyroelectric detector 1.
The center of first end is arranged in first concave mirror 3, and the radius of curvature of the first concave mirror 3 is R1
The center of the second end, the splicing line of the two and sampling is arranged in described two second concave mirrors 8 after splicing The shaft centre line of gas chamber is overlapped, and the radius of curvature of the second concave mirror 8 is R2
The R1>R2
By three pieces of concave mirrors of introducing, the number of infrared light reflection can be effectively increased, extends infrared light across to be measured The distance of gas medium effectively reduces chamber volume in the case where guaranteeing light path, ensure that the miniaturization of sensor.
In further embodiment, it is provided with waterproof ventilated membrane 5 on the inside of the air inlet 4 of the sampling gas chamber, prevents steam Measurement accuracy is influenced into gas chamber.
In further embodiment, the inner wall of the sampling gas chamber uses brass Gold plated Layer, by sampling gas chamber inner wall Make the gold-plated processing of brass and guarantee smooth enough, reduces loss of the infrared light in reflection process, can effectively promote detection accuracy.
The present invention further mentions a kind of infrared gas sensor based on QPSO algorithm, and the infrared gas sensor includes red Outer sensor, baroceptor 12 and microprocessing systems 13, wherein infrared sensor is using aforementioned with multiple reflections characteristic Sample gas chamber.
The infrared sensor, baroceptor 12 are electrically connected with microprocessing systems 13 respectively.
The infrared sensor uses the electrical modulation infrared light supply 7 with single light source double light path characteristic, and two light beams are being adopted It is received after multiple reflections by pyroelectric detector 1 in sample gas chamber, two light beam institutes are defined as Measurement channel through path respectively 11 and reference channel 10.
Preferably, electrical modulation infrared light supply 7 uses single light source dual-wavelength difference optical path detection model, due to Measurement channel 11 It is under same detection environment with reference channel 10, therefore environmental factor and light source shake etc. can be eliminated to a certain extent and drawn The measurement interference risen, improves the precision of gas concentration measurement.
Two light beams that the pyroelectric detector 1 is issued in response to receiving electrical modulation infrared light supply 7, it is turned respectively Change a measurement voltage U into0With a reference voltage U1It is sent to microprocessing systems 13.
The setting of baroceptor 12 is configured to atmospheric pressure value in real-time detection sampling gas chamber in sampling gas chamber bottom, And the atmospheric pressure value of detection is converted into an air pressure voltage U2It is sent to microprocessing systems 13.
It is provided with an atmospheric pressure compensating module in the microprocessing systems 13, is configured with a quanta particle in atmospheric pressure compensating module Group's algorithm model.
The microprocessing systems 13 receive the measurement voltage U that pyroelectric detector 1 is sent0With reference voltage U1And air pressure The air pressure voltage U that sensor 12 is sent2, after normalized, it is sent to atmospheric pressure compensating module and carries out atmospheric pressure compensating calculating, to obtain It learns from else's experience the gas concentration after atmospheric pressure compensating.
In further embodiment, the infrared gas sensor also has a display unit 14.
The display unit 14 is electrically connected with microprocessing systems 13, to show the gas concentration after atmospheric pressure compensating.
Fig. 2 is the workflow schematic diagram of the infrared gas sensor proposed by the present invention based on QPSO algorithm.
In fact, the infrared sensor in the aforementioned infrared gas sensor based on QPSO algorithm can also be using other knots The sampling gas chamber of structure, it is only necessary to which the sampling gas chamber of use has to export measurement voltage U0With reference voltage U1Measurement channel 11 and reference channel 10 infrared light supply 7 of double light path characteristic (use) and measurement sampling gas room pressure device (such as Baroceptor 12 etc.).
In conjunction with Fig. 3, the present invention further mentions a kind of infrared gas sensor atmospheric pressure compensating method based on QPSO algorithm, described Atmospheric pressure compensating method includes:
S1: creation quanta particle swarm optimization model.
S2: the measurement voltage U that pyroelectric detector 1 is sent is received0With reference voltage U1And baroceptor 12 is sent Air pressure voltage U2, it is normalized.
S3: the data after normalized are sent to the input layer of the quanta particle swarm optimization model created, quantum After particle swarm algorithm model carries out atmospheric pressure compensating calculating to it, knot is calculated by the output layer output of quanta particle swarm optimization model Fruit, using the calculated result of output as the gas concentration after atmospheric pressure compensating.
In conjunction with Fig. 4, in further embodiment, in step S1, the method for creation quanta particle swarm optimization model include with Lower step:
S11: by the 1 sense channel output voltage U of pyroelectric detector of infrared gas sensor0, reference channel 10 it is defeated Voltage U out1And the output voltage U of baroceptor 122Microprocessing systems 13 are sent to, place is normalized to voltage data Reason, using the processing data after normalization as the input sample of quanta particle swarm optimization.
S12: the position of each particle in random initializtion population.
S13: all particle individual desired positions is averaged in calculating population.
S14: calculating the current fitness value of each particle, and be preferably adapted to angle value with the particle history and be compared, value The small conduct particle is preferably adapted to angle value.
S15: comparing the adaptive optimal control angle value of each particle in population, and minimum value is adapted to as current iteration global optimum Angle value, position is as global optimum position.
S16: more current global optimum and history global optimum are worth small conduct global optimum, and position is made For global optimum position.
S17: updating the position of each particle in population, and formula is as follows:
ui,j(t)~U (0,1)
S18: if meeting termination condition, the global optimum position of group is exported;Otherwise, return step S12 carries out next change Generation.
S19: according to the resulting parameter of above step, the quanta particle swarm optimization model in microprocessor is created.
The present invention is compared to empirical equation, without carrying out many experiments with peg model parameter, compared to circuit compensation method, The design for eliminating cumbersome circuit introduces.Procedure structure is simple, simplifies the process of atmospheric pressure compensating, and the present invention is examined in entire gas It surveys range and has all carried out atmospheric pressure compensating, there is better suitability.
Although the present invention has been disclosed as a preferred embodiment, however, it is not to limit the invention.Skill belonging to the present invention Has usually intellectual in art field, without departing from the spirit and scope of the present invention, when can be used for a variety of modifications and variations.Cause This, the scope of protection of the present invention is defined by those of the claims.

Claims (7)

1. a kind of sampling gas chamber, which is characterized in that the sampling gas chamber is provided with first end and the second end along longitudinally, Wherein, it is provided with an air inlet on first end, a gas outlet is provided on the second end;
The sampling gas chamber includes electrical modulation infrared light supply, reflective mirror, pyroelectric detector, reflector, the first concave mirror, two Second concave mirror;
The electrical modulation infrared light supply is fixedly mounted on the top that sampling gas chamber closes on first end, and the reflective mirror is fixed on electricity Modulate the lower section of infrared light supply, shaft centre line of the reflecting surface of reflective mirror towards electrical modulation infrared light supply and with sampling gas chamber In 45 degree of angles;
The pyroelectric detector is fixedly mounted on the bottom that sampling gas chamber closes on first end, and test surface is red towards electrical modulation Outer light source, the reflector side of being fixed thereon, the reflecting surface of reflector is towards pyroelectric detector;
The center of first end is arranged in first concave mirror, and the radius of curvature of the first concave mirror is R1
The center of the second end, the splicing line and sampling gas chamber of the two are set after described two second concave mirror splicings Shaft centre line overlapping, the radius of curvature of the second concave mirror are R2
The R1>R2
2. sampling gas chamber according to claim 1, which is characterized in that be provided on the inside of the air inlet of the sampling gas chamber anti- Water ventilated membrane.
3. sampling gas chamber according to claim 1, which is characterized in that the inner wall of the sampling gas chamber is gold-plated using brass Layer.
4. a kind of infrared gas sensor based on QPSO algorithm, which is characterized in that the infrared gas sensor includes infrared Sensor, baroceptor and microprocessing systems, wherein infrared sensor is using described in claim 1-3 any one Sample gas chamber;
The infrared sensor, baroceptor are electrically connected with microprocessing systems respectively;
The infrared sensor uses the electrical modulation infrared light supply with single light source double light path characteristic, and two light beams are in sampling gas chamber Interior to be received after multiple reflections by pyroelectric detector, two Measurement channels that light beam is defined as respectively through path and reference are logical Road;
Two light beams that the pyroelectric detector is issued in response to receiving electrical modulation infrared light supply, are converted into one for it respectively Measure voltage U0With a reference voltage U1It is sent to microprocessing systems;
The baroceptor setting is configured to atmospheric pressure value in real-time detection sampling gas chamber in sampling gas chamber bottom, and will visit The atmospheric pressure value of survey is converted into an air pressure voltage U2It is sent to microprocessing systems;
It is provided with an atmospheric pressure compensating module in the microprocessing systems, is configured with a quanta particle swarm optimization in atmospheric pressure compensating module Model;
The microprocessing systems receive the measurement voltage U that pyroelectric detector is sent0With reference voltage U1And baroceptor The air pressure voltage U of transmission2, after normalized, it is sent to atmospheric pressure compensating module and carries out atmospheric pressure compensating calculating, obtains through air pressure Compensated gas concentration.
5. the infrared gas sensor according to claim 4 based on QPSO algorithm, which is characterized in that the infrared-gas Sensor also has a display unit;
The display unit is electrically connected with microprocessing systems, to show the gas concentration after atmospheric pressure compensating.
6. a kind of infrared gas sensor atmospheric pressure compensating method based on QPSO algorithm, which is characterized in that the atmospheric pressure compensating side Method includes:
S1: creation quanta particle swarm optimization model;
S2: the measurement voltage U that pyroelectric detector is sent is received0With reference voltage U1And the air pressure electricity that baroceptor is sent Press U2, it is normalized;
S3: the data after normalized are sent to the input layer of the quanta particle swarm optimization model created, quanta particle After group's algorithm model carries out atmospheric pressure compensating calculating to it, calculated result is exported by the output layer of quanta particle swarm optimization model, it will The calculated result of output is as the gas concentration after atmospheric pressure compensating.
7. the infrared gas sensor atmospheric pressure compensating method according to claim 6 based on QPSO algorithm, which is characterized in that In step S1, create quanta particle swarm optimization model method the following steps are included:
S11: by the pyroelectric detector sense channel output voltage U of infrared gas sensor0, reference channel output voltage U1 And the output voltage U of baroceptor2Microprocessing systems are sent to, voltage data is normalized, will be normalized Input sample of the processing data as quanta particle swarm optimization afterwards;
S12: the position of each particle in random initializtion population;
S13: all particle individual desired positions is averaged in calculating population;
S14: the current fitness value of each particle is calculated, and is preferably adapted to angle value with the particle history and is compared, is worth small Angle value is preferably adapted to as the particle;
S15: compare the adaptive optimal control angle value of each particle in population, minimum value is as current iteration global optimum fitness Value, position is as global optimum position;
S16: more current global optimum and history global optimum are worth small conduct global optimum, and position is as complete Office's optimal location;
S17: updating the position of each particle in population, and formula is as follows:
ui,j(t)~U (0,1)
S18: if meeting termination condition, the global optimum position of group is exported;Otherwise, return step S12 carries out following iteration;
S19: according to the resulting parameter of above step, the quanta particle swarm optimization model in microprocessor is created.
CN201811562034.4A 2018-12-20 2018-12-20 Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method Pending CN109696413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811562034.4A CN109696413A (en) 2018-12-20 2018-12-20 Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811562034.4A CN109696413A (en) 2018-12-20 2018-12-20 Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method

Publications (1)

Publication Number Publication Date
CN109696413A true CN109696413A (en) 2019-04-30

Family

ID=66231954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811562034.4A Pending CN109696413A (en) 2018-12-20 2018-12-20 Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method

Country Status (1)

Country Link
CN (1) CN109696413A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111189793A (en) * 2020-02-18 2020-05-22 上海工程技术大学 Trapezoidal air chamber and air pressure compensation method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2094483A (en) * 1981-03-05 1982-09-15 Auergesellschaft Gmbh Ambient pressure compensation system for gas-analysis sensors
CN1699971A (en) * 2004-10-16 2005-11-23 中国科学院安徽光学精密机械研究所 Method and apparatus for adjustable multiple reflection optical absorption
CN102445433A (en) * 2011-12-26 2012-05-09 南京顺泰科技有限公司 SF6 decomposition gas infrared spectrum multi-component detection method and device
US20120300209A1 (en) * 2011-04-19 2012-11-29 Mark Francis Witinski Heterodyne Off-Axis Integrated Cavity Output Spectroscopy
CN105893694A (en) * 2016-04-21 2016-08-24 北京航空航天大学 Complex system designing method based on resampling particle swarm optimization algorithm
CN108760667A (en) * 2018-07-16 2018-11-06 武汉敢为科技有限公司 A kind of multi-channel assembled infrared gas detection device of single light source

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2094483A (en) * 1981-03-05 1982-09-15 Auergesellschaft Gmbh Ambient pressure compensation system for gas-analysis sensors
CN1699971A (en) * 2004-10-16 2005-11-23 中国科学院安徽光学精密机械研究所 Method and apparatus for adjustable multiple reflection optical absorption
US20120300209A1 (en) * 2011-04-19 2012-11-29 Mark Francis Witinski Heterodyne Off-Axis Integrated Cavity Output Spectroscopy
CN102445433A (en) * 2011-12-26 2012-05-09 南京顺泰科技有限公司 SF6 decomposition gas infrared spectrum multi-component detection method and device
CN105893694A (en) * 2016-04-21 2016-08-24 北京航空航天大学 Complex system designing method based on resampling particle swarm optimization algorithm
CN108760667A (en) * 2018-07-16 2018-11-06 武汉敢为科技有限公司 A kind of multi-channel assembled infrared gas detection device of single light source

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙以才 等: "《传感器非线性信号的智能处理与融合》", 31 May 2010, 冶金工业出版社 *
陈远鸣等: "基于改进型BP神经网络的SF_6气体传感器", 《电子测量与仪器学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111189793A (en) * 2020-02-18 2020-05-22 上海工程技术大学 Trapezoidal air chamber and air pressure compensation method thereof

Similar Documents

Publication Publication Date Title
CN205374298U (en) Trace gas concentration detection apparatus based on TDLAS
CN106596437B (en) Atmospheric NO 3 Free radical concentration on-line measuring system and method
CN101281125B (en) Method and apparatus for monitoring intelligent infrared multi-component harmful gas
CN106153567B (en) Based on the pressure compensated infrared gas sensor of BP neural network and detection method
CN103221793A (en) Optical absorption spectroscopy with multi-ass cell with adjustable optical path length
CN201199228Y (en) Intelligent instrument for monitoring infrared multi-component harmful gas
CN201837582U (en) Integrated optical ozone yield detection device
CN104020114A (en) Method for analyzing trace concentration of ammonia gas
CN103278472B (en) A kind of Fourier infrared spectrograph and sample gas absorption cell
CN110006837A (en) A kind of NDIR gas sensor system and humiture compensation method
KR20080085747A (en) Method and apparatus for gas concentration quantitative analysis
CN111693481A (en) Determination of SF6Method for calibrating non-dispersive infrared absorption spectrum of CO content in gas
CN102175638A (en) Device for rapidly and nondestructively detecting component content of yellow rice wine
CN115046943B (en) Water quality detection method, device and system and storage medium
CN113237845A (en) Integrated SO2Cross interference compensation device
CN106124407A (en) A kind of optical cavity, the aerosol extinction instrument with this optical cavity and the measuring method of Aerosol Extinction
CN109696413A (en) Sample gas chamber, the infrared gas sensor based on QPSO algorithm and atmospheric pressure compensating method
US4358679A (en) Calibration of analyzers employing radiant energy
CN116183537A (en) Anti-interference NDIR mixed gas detection method and system based on differential elimination element
CN101625306B (en) Device for measuring gas concentration
CN206772801U (en) A kind of double air chambers of tandem spectrochemical analysis for gases
CN115290587A (en) Multichannel solution concentration detection method and device based on hollow optical fiber
CN109115720A (en) A kind of long measurement method simultaneously with gas concentration of the effective journey of multi-way gas absorption cell
CN206740638U (en) A kind of double air chambers of parallel spectrochemical analysis for gases
CN114235701A (en) Real-time detection device for self-calibration of trace gas concentration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190430

RJ01 Rejection of invention patent application after publication