CN112557595A - Automatic calibration circuit for hydrogen sensor module output and calibration method thereof - Google Patents

Automatic calibration circuit for hydrogen sensor module output and calibration method thereof Download PDF

Info

Publication number
CN112557595A
CN112557595A CN202011374913.1A CN202011374913A CN112557595A CN 112557595 A CN112557595 A CN 112557595A CN 202011374913 A CN202011374913 A CN 202011374913A CN 112557595 A CN112557595 A CN 112557595A
Authority
CN
China
Prior art keywords
hydrogen sensor
digital
temperature range
concentration
sensor module
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
CN202011374913.1A
Other languages
Chinese (zh)
Inventor
沈方平
吴楠
朱洋凯
钱伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Xinmagnesium Electronic Technology Co ltd
Original Assignee
Suzhou Xinmagnesium Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Xinmagnesium Electronic Technology Co ltd filed Critical Suzhou Xinmagnesium Electronic Technology Co ltd
Priority to CN202011374913.1A priority Critical patent/CN112557595A/en
Publication of CN112557595A publication Critical patent/CN112557595A/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

Abstract

The invention provides an automatic output calibration circuit of a hydrogen sensor module, which comprises the hydrogen sensor module and is characterized in that the hydrogen sensor module comprises a hydrogen sensor and a signal conditioning circuit which are electrically connected, wherein the signal conditioning circuit is connected with a single chip microcomputer, and the single chip microcomputer is connected with a digital-to-analog converter; pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with the single chip microcomputer, and a DAOUT pin of the digital-to-analog converter is connected with a divider resistor R1 and a resistor R2, then is an MCU _ ADCIN1 and is connected to the single chip microcomputer; the single chip microcomputer finishes setting of a digital-analog linear function by acquiring an MCU _ ADCIN1 output value and a DA _ SDA input value so as to realize automatic calibration; the method has the advantages of automatic calibration, simplicity, convenience and accurate calibration.

Description

Automatic calibration circuit for hydrogen sensor module output and calibration method thereof
Technical Field
The invention belongs to the technical field of sensors, and particularly relates to an automatic output calibration circuit of a hydrogen sensor module and a calibration method thereof.
Background
The hydrogen sensor module generally adopts digital-to-analog converter to output voltage, because errors such as resistance value, generally when first power-on use, the voltage of output is not the accurate voltage that needs, always floats or floats down, needs to calibrate it, need overcome the influence that other environmental errors caused when the calibration, for example, the temperature.
Disclosure of Invention
The invention aims to provide an automatic output calibration circuit of a hydrogen sensor module and a calibration method thereof, which aim to solve the problem of calibrating the up-drift and the down-drift generated by errors such as resistance value of the hydrogen sensor module under the condition of overcoming the influence of environmental errors.
The invention provides the following technical scheme:
a hydrogen sensor module output automatic calibration circuit and a calibration method thereof comprise a hydrogen sensor module, wherein the hydrogen sensor module comprises a hydrogen sensor and a signal conditioning circuit which are electrically connected, the signal conditioning circuit is connected with a single chip microcomputer, and the single chip microcomputer is connected with a digital-to-analog converter; pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with the single chip microcomputer, and a DAOUT pin of the digital-to-analog converter is connected with a divider resistor R1 and a resistor R2, then is an MCU _ ADCIN1 and is connected to the single chip microcomputer; the single chip microcomputer finishes setting of a digital-analog linear function by collecting an output value of the MCU _ ADCIN1 and an input value of the DA _ SDA, and accordingly automatic calibration is achieved.
Preferably, pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with a resistor bank RA1, and a resistor bank RA1 is connected with a 3.3V power supply voltage for improving the driving capability.
Preferably, a capacitor C1 and a capacitor C2 are connected to the DAOUT pin of the digital-to-analog converter, and the capacitor C1 and the capacitor C2 are used for filtering.
Preferably, the single chip microcomputer is connected with a 3.3V power supply voltage, and the digital-to-analog converter is connected with a 5V power supply voltage.
A calibration method of an automatic calibration circuit for the output of a hydrogen sensor module comprises the following steps:
s1, setting a measuring point, and arranging a hydrogen sensor and a temperature sensor at the measuring point; s2, presetting a correction temperature range, and dividing the correction temperature range into N temperature ranges T; s3, selecting one temperature range T from the N temperature ranges as a standard temperature range TSign boardAnd at the same time markQuasi temperature range TSign boardThe concentration obtained by the internal hydrogen sensor is standard concentration QSign board
S4, collecting test samples: s401, changing the hydrogen concentration and the temperature of the test point to obtain the corresponding temperature TMeasuringAnd the concentration QMeasuring(ii) a S402, counting the temperature TMeasuringIn the standard temperature range TSign boardConcentration in case of (2) QMeasuringAnd recording as a test sample; s403, presetting the number of the test samples to be S, stopping the test when the number of the test samples reaches S, and calculating the average value of the S test samples to be
Figure BDA0002807924590000024
Then in the standard temperature range TSign boardInner, mean value
Figure BDA0002807924590000025
Is the concentration of the hydrogen sensor;
s5, actual sample collection: s501, presetting the time period for actual sample collection as H, and placing a hydrogen sensor and a temperature sensor in an actual measurement environment in the time period H; s502, obtaining corresponding temperature T according to time periodsFruit of Chinese wolfberryAnd the concentration QFruit of Chinese wolfberry(ii) a S503, counting the temperature TFruit of Chinese wolfberryConcentration Q within the corresponding temperature range TFruit of Chinese wolfberryAnd recording as an actual sample; s504, calculating the average value of the concentration in each temperature range T in the time period H through actual samples
Figure BDA0002807924590000021
Then, within each temperature range T, the average value
Figure BDA0002807924590000022
Is the concentration of the hydrogen sensor;
s6, obtaining correction coefficient in each temperature range T
Figure BDA0002807924590000023
Figure BDA0002807924590000031
S7, passing correction coefficient
Figure BDA0002807924590000032
Correcting the voltage value DAOUT output by the hydrogen sensor, outputting a zero point and a full scale by using a serial port of the singlechip, and saving the voltage values of the zero point and the full scale and the input value DA _ SDA of the digital-to-analog converter at the moment; and S8, acquiring a linear function relation between the digital-to-analog converter input value DA _ SDA and the output voltage DAOUT through S7, and calibrating to remove the upper drift or the lower drift.
The invention has the beneficial effects that:
according to the automatic output calibration circuit and the calibration method of the hydrogen sensor module, the voltage value output by DAOUT is collected, the setting of a linear function of input value-output voltage of a digital-to-analog converter is directly completed by taking a point in the MCU in combination with the input value DA _ SDA of the digital-to-analog converter from the MCU, manual setting through a serial port is not needed, and convenience and rapidness are achieved; meanwhile, the influence of the temperature on the whole process is eliminated by setting the temperature sensor and collecting a large amount of data, so that the calibration result is more accurate.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic circuit diagram of the present invention;
FIG. 2 is a schematic flow diagram of the process of the present invention.
Detailed Description
As shown in fig. 1, the automatic calibration circuit for the output of the hydrogen sensor module and the calibration method thereof comprise a hydrogen sensor module, wherein the hydrogen sensor module comprises a hydrogen sensor and a signal conditioning circuit which are electrically connected, a single chip microcomputer is connected to the signal conditioning circuit, and a digital-to-analog converter is connected to the single chip microcomputer; pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with the single chip microcomputer, and a DAOUT pin of the digital-to-analog converter is connected with a divider resistor R1 and a resistor R2, is then MCU _ ADCIN1 and is connected to the single chip microcomputer; and pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with a resistor bank RA1, and a resistor bank RA1 is connected with a 3.3V power supply voltage for improving the driving capability. The singlechip is connected with 3.3V power supply voltage, and the digital-to-analog converter is connected with 5V power supply voltage. And a capacitor C1 and a capacitor C2 are connected to the DAOUT pin of the digital-to-analog converter, and the capacitor C1 and the capacitor C2 are used for filtering. The single chip microcomputer finishes setting of a digital-analog linear function by collecting an output value of the MCU _ ADCIN1 and an input value of the DA _ SDA, and accordingly automatic calibration is achieved.
As shown in fig. 2, the calibration method of the hydrogen sensor module output auto-calibration circuit includes the following steps:
s1, setting a measuring point, and arranging a hydrogen sensor and a temperature sensor at the measuring point;
s2, presetting a correction temperature range, and dividing the correction temperature range into N temperature ranges T;
s3, selecting one temperature range T from the N temperature ranges as a standard temperature range TSign boardSimultaneous standard temperature range TSign boardThe concentration obtained by the internal hydrogen sensor is standard concentration QSign board
S4, collecting test samples:
s401, changing the hydrogen concentration and the temperature of the test point to obtain the corresponding temperature TMeasuringAnd the concentration QMeasuring
S402, counting the temperature TMeasuringIn the standard temperature range TSign boardConcentration in case of (2) QMeasuringAnd recording as a test sample;
s403, presetting the number of the test samples to be S, stopping the test when the number of the test samples reaches S, and calculating the average value of the S test samples to be
Figure BDA0002807924590000041
Then in the standard temperature range TSign boardInner, mean value
Figure BDA0002807924590000042
Is the concentration of the hydrogen sensor;
s5, actual sample collection:
s501, presetting the time period for actual sample collection as H, and placing a hydrogen sensor and a temperature sensor in an actual measurement environment in the time period H;
s502, obtaining corresponding temperature T according to time periodsFruit of Chinese wolfberryAnd the concentration QFruit of Chinese wolfberry
S503, counting the temperature TFruit of Chinese wolfberryConcentration Q within the corresponding temperature range TFruit of Chinese wolfberryAnd recording as an actual sample;
s504, calculating the average value of the concentration in each temperature range T in the time period H through actual samples
Figure BDA0002807924590000051
Then, within each temperature range T, the average value
Figure BDA0002807924590000052
Is the concentration of the hydrogen sensor;
s6, obtaining correction coefficient in each temperature range T
Figure BDA0002807924590000053
Figure BDA0002807924590000054
S7, passing correction coefficient
Figure BDA0002807924590000055
Correcting the voltage value DAOUT output by the hydrogen sensor, outputting a zero point and a full scale by using a serial port of the singlechip, and saving the voltage values of the zero point and the full scale and the input value DA _ SDA of the digital-to-analog converter at the moment;
and S8, acquiring a linear function relation between the digital-to-analog converter input value DA _ SDA and the output voltage DAOUT through S7, and calibrating to remove the upper drift or the lower drift.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. An automatic output calibration circuit of a hydrogen sensor module comprises the hydrogen sensor module, and is characterized in that the hydrogen sensor module comprises a hydrogen sensor and a signal conditioning circuit which are electrically connected, wherein the signal conditioning circuit is connected with a single chip microcomputer, and the single chip microcomputer is connected with a digital-to-analog converter; pins SYNC, SA _ SCL and DA _ SDA of the digital-to-analog converter are connected with the single chip microcomputer, and a DAOUT pin of the digital-to-analog converter is connected with a divider resistor R1 and a resistor R2, then is an MCU _ ADCIN1 and is connected to the single chip microcomputer; the single chip microcomputer finishes setting of a digital-analog linear function by collecting an output value of the MCU _ ADCIN1 and an input value of the DA _ SDA, and accordingly automatic calibration is achieved.
2. The automatic calibration circuit for the output of the hydrogen sensor module of claim 1, wherein pins SYNC, SA _ SCL and DA _ SDA of the DAC are connected with a resistor RA1, and a power supply voltage of 3.3V is connected with the resistor RA1 for improving the driving capability.
3. The hydrogen sensor module output automatic calibration circuit as claimed in claim 1, wherein a capacitor C1 and a capacitor C2 are connected to the DAOUT pin of the digital-to-analog converter, and the capacitor C1 and the capacitor C2 are used for filtering.
4. The hydrogen sensor module output automatic calibration circuit according to claim 1, wherein the single chip microcomputer is connected with a 3.3V power supply voltage, and the digital-to-analog converter is connected with a 5V power supply voltage.
5. A calibration method of an automatic calibration circuit for the output of a hydrogen sensor module is characterized by comprising the following steps:
s1, setting a measuring point, and arranging a hydrogen sensor and a temperature sensor at the measuring point;
s2, presetting a correction temperature range, and dividing the correction temperature range into N temperature ranges T;
s3, selecting one temperature range T from the N temperature ranges as a standard temperature range TSign boardSimultaneous standard temperature range TSign boardThe concentration obtained by the internal hydrogen sensor is standard concentration QSign board
S4, collecting test samples:
s401, changing the hydrogen concentration and the temperature of the test point to obtain the corresponding temperature TMeasuringAnd the concentration QMeasuring
S402, counting the temperature TMeasuringIn the standard temperature range TSign boardConcentration in case of (2) QMeasuringAnd recording as a test sample;
s403, presetting the number of the test samples to be S, stopping the test when the number of the test samples reaches S, and calculating the average value of the S test samples to be
Figure FDA0002807924580000021
Then in the standard temperature range TSign boardInner, mean value
Figure FDA0002807924580000022
Is the concentration of the hydrogen sensor;
s5, actual sample collection:
s501, presetting the time period for actual sample collection as H, and placing a hydrogen sensor and a temperature sensor in an actual measurement environment in the time period H;
s502, obtaining corresponding temperature T according to time periodsFruit of Chinese wolfberryAnd the concentration QFruit of Chinese wolfberry
S503, counting the temperature TFruit of Chinese wolfberryConcentration Q within the corresponding temperature range TFruit of Chinese wolfberryAnd recording as an actual sample;
s504, calculating each time in the time period H through actual samplesAverage value of concentration in individual temperature range T
Figure FDA0002807924580000023
Then, within each temperature range T, the average value
Figure FDA0002807924580000024
Is the concentration of the hydrogen sensor;
s6, obtaining correction coefficient in each temperature range T
Figure FDA0002807924580000025
Figure FDA0002807924580000026
S7, passing correction coefficient
Figure FDA0002807924580000027
Correcting the voltage value DAOUT output by the hydrogen sensor, outputting a zero point and a full scale by using a serial port of the singlechip, and saving the voltage values of the zero point and the full scale and the input value DA _ SDA of the digital-to-analog converter at the moment;
and S8, acquiring a linear function relation between the digital-to-analog converter input value DA _ SDA and the output voltage DAOUT through S7, and calibrating to remove the upper drift or the lower drift.
CN202011374913.1A 2020-11-30 2020-11-30 Automatic calibration circuit for hydrogen sensor module output and calibration method thereof Pending CN112557595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011374913.1A CN112557595A (en) 2020-11-30 2020-11-30 Automatic calibration circuit for hydrogen sensor module output and calibration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011374913.1A CN112557595A (en) 2020-11-30 2020-11-30 Automatic calibration circuit for hydrogen sensor module output and calibration method thereof

Publications (1)

Publication Number Publication Date
CN112557595A true CN112557595A (en) 2021-03-26

Family

ID=75046708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011374913.1A Pending CN112557595A (en) 2020-11-30 2020-11-30 Automatic calibration circuit for hydrogen sensor module output and calibration method thereof

Country Status (1)

Country Link
CN (1) CN112557595A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111766A (en) * 2004-11-30 2008-01-23 霍尼韦尔国际公司 Nano-crystalline and/or metastable metal hydrides as hydrogen source for sensor calibration and self-testing
CN102944583A (en) * 2012-11-30 2013-02-27 重庆大学 Metal-oxide gas sensor array concentration detecting method based on drift compensation
CN103837750A (en) * 2012-11-22 2014-06-04 中国科学院电子学研究所 Temperature drift and time drift real-time difference compensation method for electric-field sensor
CN104165868A (en) * 2014-08-25 2014-11-26 西安近代化学研究所 Solid propellant smog optical transmittance measuring method
CN104965009A (en) * 2015-07-20 2015-10-07 湖北大学 Hydrogen concentration detector
CN206583845U (en) * 2017-03-24 2017-10-24 湖北大学 Adaptive density of hydrogen detection circuit based on hydrogen gas sensor
CN108344522A (en) * 2018-02-09 2018-07-31 武汉盛硕电子有限公司 A kind of high-precision measurement circuit that band is calibrated automatically and method
CN109738669A (en) * 2019-01-11 2019-05-10 北京麦斯泰克科技有限公司 A kind of temperature drift compensation method of piezoelectric acceleration transducer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111766A (en) * 2004-11-30 2008-01-23 霍尼韦尔国际公司 Nano-crystalline and/or metastable metal hydrides as hydrogen source for sensor calibration and self-testing
CN103837750A (en) * 2012-11-22 2014-06-04 中国科学院电子学研究所 Temperature drift and time drift real-time difference compensation method for electric-field sensor
CN102944583A (en) * 2012-11-30 2013-02-27 重庆大学 Metal-oxide gas sensor array concentration detecting method based on drift compensation
CN104165868A (en) * 2014-08-25 2014-11-26 西安近代化学研究所 Solid propellant smog optical transmittance measuring method
CN104965009A (en) * 2015-07-20 2015-10-07 湖北大学 Hydrogen concentration detector
CN206583845U (en) * 2017-03-24 2017-10-24 湖北大学 Adaptive density of hydrogen detection circuit based on hydrogen gas sensor
CN108344522A (en) * 2018-02-09 2018-07-31 武汉盛硕电子有限公司 A kind of high-precision measurement circuit that band is calibrated automatically and method
CN109738669A (en) * 2019-01-11 2019-05-10 北京麦斯泰克科技有限公司 A kind of temperature drift compensation method of piezoelectric acceleration transducer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱梅梅: "便携式多气体检测仪设计", 《中国知网硕士电子期刊》 *

Similar Documents

Publication Publication Date Title
US7979227B2 (en) Calibration in a laboratory reference method
US10268226B1 (en) Voltage generating device and calibrating method thereof
CN103730096B (en) White balance adjustment method and system, liquid crystal display manufacture method
CN102096057B (en) Calibration method and device of capacitance measurement circuit
CN211528541U (en) Resistance measuring circuit of programmable constant current source
CN101634595B (en) High-precision platinum resistor temperature measuring system and temperature measuring method based on same
CN105424767A (en) Humidity-sensor-chip mass production testing device and method
CN112557595A (en) Automatic calibration circuit for hydrogen sensor module output and calibration method thereof
CN112152621A (en) Multi-channel high-precision AD acquisition correction circuit and rapid correction method thereof
CN109829479A (en) A kind of sorter model information automatic update system and replacing sensor method for sensor
CN210466456U (en) Paper quantity detection device based on capacitive sensor
US4691168A (en) High purity water calibrating device
CN108170193B (en) Output adjusting method and system of power supply substrate of display device
CN106571824A (en) Signal processing circuit
CN101281055B (en) Cotton fibre air-flow instrument as well as method for eliminating weight and mic measuring value drift
CN105258767A (en) High precision weighing system of electronic balance
CN210835059U (en) nA-level current measuring system for test equipment
CN113514168A (en) Multi-channel temperature sensor testing device
CN109298238A (en) A kind of frequency measurement method and its measuring system
CN108759782A (en) A kind of number quadrant
CN220153731U (en) Sensor access detection unit based on weighing instrument
CN201497594U (en) High-precision platinum resistance temperature measuring device
CN210375385U (en) Electronic scale circuit and electronic scale
CN214748336U (en) Biochemical medicine electronic volume meter based on single chip microcomputer control
CN214583317U (en) High-precision physical quantity measuring device

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