CN109556646B - Gas sensor calibration method and device, storage medium and terminal - Google Patents

Gas sensor calibration method and device, storage medium and terminal Download PDF

Info

Publication number
CN109556646B
CN109556646B CN201811433725.4A CN201811433725A CN109556646B CN 109556646 B CN109556646 B CN 109556646B CN 201811433725 A CN201811433725 A CN 201811433725A CN 109556646 B CN109556646 B CN 109556646B
Authority
CN
China
Prior art keywords
reference value
sensor
gas sensor
storage unit
read
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.)
Active
Application number
CN201811433725.4A
Other languages
Chinese (zh)
Other versions
CN109556646A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811433725.4A priority Critical patent/CN109556646B/en
Publication of CN109556646A publication Critical patent/CN109556646A/en
Application granted granted Critical
Publication of CN109556646B publication Critical patent/CN109556646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)

Abstract

The invention discloses a gas sensor calibration method, a gas sensor calibration device, a storage medium and a terminal, wherein the method comprises the following steps: determining whether the gas sensor is in first power-on operation; reading a sensor reference value from a storage unit under the condition that the non-first-time power-on operation is determined, wherein the sensor reference value in the storage unit is determined and written into the storage unit in the prior use process of the gas sensor; and performing volatile gas detection by using the read sensor reference value as the reference value of the gas sensor. By means of the method, the problem that the sensor needs to spend time for self calibration again when the existing abnormal power failure is electrified again is solved, and the technical effects of improving the detection accuracy of the gas sensor and improving the user experience are achieved.

Description

Gas sensor calibration method and device, storage medium and terminal
Technical Field
The invention belongs to the field of equipment control technology, and particularly relates to a gas sensor calibration method, a gas sensor calibration device, a storage medium and a terminal.
Background
At present, the continuous updating of the reference value of the sensor of the volatile gas sensor carried on the air conditioner in the self-calibration initialization time can cause the inaccurate output value, so that the sensor can not be used, and the initialization self-calibration time is relatively long, so that the time that the sensor can not be used is relatively long.
The data acquired during this period is only suitable for initializing the calibration reference value and is not suitable for calculating the output value, and the initialization of self-calibration needs to be re-performed to update the reference value after the abnormal power failure of the sensor.
An effective solution is not provided at present for the problems of the volatile gas sensor on the air conditioner in the initialization self-calibration process.
Disclosure of Invention
The invention aims to provide a gas sensor calibration method, a gas sensor calibration device, a storage medium and a terminal aiming at the defects, so as to solve the problem that in the prior art, when the power is turned on again after abnormal power failure, the sensor needs to spend time for self calibration again, and achieve the effects of shortening the self calibration time and improving the measurement accuracy of the gas sensor.
The invention provides a gas sensor calibration method, which comprises the following steps:
determining whether the gas sensor is in first power-on operation;
reading a sensor reference value from a storage unit under the condition that the non-first-time power-on operation is determined, wherein the sensor reference value in the storage unit is determined and written into the storage unit in the prior use process of the gas sensor;
and performing volatile gas detection by using the read sensor reference value as the reference value of the gas sensor.
In one embodiment, after determining whether the gas sensor is operating for a first power-up, the method further comprises:
determining a reference value by initializing a self-calibration process under the condition of determining that the power-on operation is performed for the first time;
and writing the determined reference value into the storage unit.
In one embodiment, the method further includes, during the volatile gas detection using the read sensor reference value as the reference value of the gas sensor:
acquiring a reference value of the sensor in real time;
comparing the reference value obtained in real time with the read reference value;
and replacing the reference value obtained in real time with the reference value stored in the storage unit under the condition that the reference value obtained in real time is larger than the read reference value.
In one embodiment, after performing volatile gas detection using the read sensor reference value as the reference value of the gas sensor, the method further includes:
detecting an air output resistance value;
calculating a difference between the air output resistance value and a reference value of the gas sensor;
and taking the determined difference as the value of the volatile gas in the air.
In one embodiment, performing volatile gas detection using the read sensor reference value as the reference value of the gas sensor includes: taking the read sensor reference value as a basic reference value; carrying out initialization self-calibration according to the basic reference value; and performing volatile gas detection by using the corrected reference value as the reference value of the gas sensor.
In accordance with the above method, another aspect of the present invention provides a gas sensor calibration apparatus, including:
the first determination module is used for determining whether the gas sensor is in first power-on operation;
the reading module is used for reading the sensor reference value from the storage unit under the condition that the non-first-time power-on operation is determined, wherein the sensor reference value in the storage unit is determined and written into the storage unit in the previous use process of the gas sensor;
and the generation module is used for performing volatile gas detection by taking the read sensor reference value as the reference value of the gas sensor.
In one embodiment, the above apparatus further comprises:
the second determination module is used for determining a reference value by initializing a self-calibration process under the condition that the gas sensor is determined to be in first power-on operation after determining whether the gas sensor is in first power-on operation;
and the writing module is used for writing the determined reference value into the storage unit.
In one embodiment, the generating module comprises:
the acquisition unit is used for acquiring the reference value of the sensor in real time in the process of carrying out volatile gas detection by taking the read reference value of the sensor as the reference value of the gas sensor;
the comparison unit is used for comparing the reference value obtained in real time with the read reference value;
and the replacing unit is used for replacing the reference value acquired in real time with the reference value stored in the storage unit under the condition that the reference value acquired in real time is larger than the read reference value.
In one embodiment, the above apparatus further comprises:
the detection module is used for detecting the air output resistance value after volatile gas detection is carried out on the read sensor reference value as the reference value of the gas sensor;
the calculation module is used for calculating the difference value between the air output resistance value and the reference value of the gas sensor;
and the third determination module is used for taking the determined difference value as the value of the volatile gas in the air.
In one embodiment, the gas sensor is a gas sensor mounted on an air conditioner.
In one embodiment, the generating module may specifically use the read sensor reference value as a base reference value; carrying out initialization self-calibration according to the basic reference value; and performing volatile gas detection by using the corrected reference value as the reference value of the gas sensor.
In accordance with the above apparatus, a further aspect of the present invention provides a terminal, including: the gas sensor calibration device described above.
In accordance with the above method, a further aspect of the present invention provides a storage medium comprising: the storage medium has stored therein a plurality of instructions; the plurality of instructions for being loaded by a processor and executing the gas sensor calibration method described above.
In accordance with the above method, a further aspect of the present invention provides a terminal, including: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; wherein the plurality of instructions are configured to be stored by the memory and loaded by the processor to perform the gas sensor calibration method described above.
Therefore, according to the scheme of the invention, the reference value is stored in the storage unit by setting the storage unit, wherein the reference value is determined and written in the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and the initialization calibration process is not required to be carried out every time.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a schematic diagram of an initialization self-calibration waveform of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating a method for calibrating a gas sensor according to an embodiment of the present invention;
FIG. 3 is an interactive schematic view of a gas sensor of the present invention;
FIG. 4 is a waveform illustrating an incoming baseline value according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a gas sensor calibration apparatus in the apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The problems that data cannot be effectively used in the conventional sensor initialization self-calibration process, the initialization self-calibration time is too long, and the sensor needs to spend time for self-calibration again when the power is turned on again after abnormal power failure are solved. In this example, a control flow is provided, which can calibrate the detection value during the initial calibration process of the sensor by saving the reference value of the volatile gas sensor during the operation of the air conditioner, so as to avoid the problem of too long calibration time in the self-calibration process.
At present, the output value of a volatile gas sensor used by an air conditioner is calculated according to a reference value, and relatively clean air needs to be searched as reference value data during the initialization self-calibration time period. The initialization flow is as shown in fig. 1, in which a relatively gentle line is an output resistance value of the sensor in the initialization self-calibration time period, and a relatively curved line is a sensor internal reference value. The resistance value is determined by the current air quality, and the cleaner air sensor outputs higher resistance value. When the sensor detects that the air is cleaner and cleaner when the self-calibration is initialized at the beginning, the reference value of the sensor changes all the time, and when the sensor encounters unclean air, the output value of the resistor is reduced, which is reflected in the first descending trend of a more gentle line. The reference value of the descending trend in the period is not changed, and the highest value acquired before is taken as the reference value. The second rising peak is seen when a subsequent encounter with cleaner air than before occurs. The reference value is updated to the output value of the second encounter with clean air. This reference value update continues to run until the end within the initial self-calibration period.
The volatile gas value finally given by the sensor is calculated according to the difference value between the current air output resistance value and the reference value, so that the volatile gas value output by the sensor is inaccurate due to the fact that the reference value is continuously updated in the self-calibration time period of the sensor. Generally, the sensor initialization self-calibration time is 20-30 minutes, and the user experience is poor due to the excessively long initialization time.
According to an embodiment of the present invention, a method for calibrating a gas sensor is provided, as shown in fig. 2, which is a schematic flow chart of an embodiment of the method of the present invention. The gas sensor calibration method may include:
step 201: determining whether the gas sensor is in first power-on operation;
step 202: reading a sensor reference value from a storage unit under the condition that the non-first-time power-on operation is determined, wherein the sensor reference value in the storage unit is determined and written into the storage unit in the prior use process of the gas sensor;
step 203: and performing volatile gas detection by using the read sensor reference value as the reference value of the gas sensor.
Considering that the reference value is not stored in the storage unit at the time of the first operation, the reference value needs to be determined through a self-calibration process, and the reference value can be used as a basis for updating the reference value subsequently. Specifically, after determining whether the gas sensor is powered on for the first time, the reference value may be determined by initializing a self-calibration process under the condition that the gas sensor is powered on for the first time; and writing the determined reference value into the storage unit. That is, only when it is determined that the power-on operation is performed for the first time, the complete self-calibration process is triggered, and the subsequent self-calibration process can perform self-calibration based on the reference value in the storage unit and update the reference value in the storage unit in real time.
Specifically, the volatile gas detection may further include, in a process of detecting the read sensor reference value as the reference value of the gas sensor:
s1: acquiring a reference value of the sensor in real time;
s2: comparing the reference value obtained in real time with the read reference value;
s3: and replacing the reference value obtained in real time with the reference value stored in the storage unit under the condition that the reference value obtained in real time is larger than the read reference value.
For example: and when the sensor is initialized and calibrated, the main controller of the air conditioner acquires a sensor reference value J in real time. Judging the magnitude relation between the sensor reference value J and the history reference value Jmax in the storage unit: if J is greater than Jmax, rewriting the history reference value Jmax in the storage unit into J; if J is not greater than Jmax, the history reference value Jmax in the storage unit is not changed. The company tells you that the sensor reference value can be dynamically acquired and stored, and reference value values are provided for other processes. Since the stored reference value is the value obtained when the sensor normally operates, the value can represent the reference value when the environment is optimal for air, and the detection of the volatile gas value in the current environment by taking the reference value as the sensor reference value can effectively improve the effectiveness of the detection value of the sensor.
For a normal power-on procedure, if the power-on is not the first time, the sensor reference value read from the storage unit can be used as a basic reference value; carrying out initialization self-calibration according to the basic reference value; and performing volatile gas detection by using the corrected reference value as the reference value of the gas sensor. Since the initialization self-calibration is performed by using the reference value read by the memory cell as the base reference value, the calibration process is faster and the calibration result is more accurate. If the power is on after abnormal power failure, the reference value can be directly read from the storage unit, and the self-calibration process is skipped, so that the implementation is faster.
Based on the reference value, the gas sensor can perform volatile gas detection, and during the volatile gas detection, the air output resistance value can be detected; calculating a difference between the air output resistance value and a reference value of the gas sensor; and taking the determined difference as the value of the volatile gas in the air.
The gas sensor may be, but is not limited to, a gas sensor mounted on an air conditioner.
The above method is described below with reference to a specific example, however, it should be noted that the specific example is only for better describing the present application and is not to be construed as limiting the present application.
As shown in fig. 3, the sensor reference value may be read from the sensor itself and stored in the air conditioner storage unit, or may be read from the air conditioner storage unit and written into the sensor to change the reference value in the sensor. Specifically, when the sensor starts to operate, the operating state of the sensor may be acquired, and then, it may be determined which sensor reference value update procedure is performed according to the operating state of the sensor.
Sensors typically exist in only two states: the sensor initializes a self-calibration state and a normal working state of the sensor. In the use process of the air conditioner, two more special states exist: the state when the air conditioner is installed and used for the first time and the abnormal power failure condition in the use process of the air conditioner.
Since a default reference value cannot be written in the air conditioning storage unit because of the difference from the factory test environment, the sensor output is abnormal if the default reference value is used. Therefore, the first power-on after the installation is completed requires the sensor to self-calibrate for initialization. For the condition of abnormal power failure in the using process of the air conditioner, after the abnormal power failure is repeatedly electrified every time, the sensor defaults to enter an initialization process.
Thus, the sensor states can be defined as four: 1. the method comprises the steps of firstly using a sensor, 2, abnormal power failure of the sensor, 3, normal power-on initialization of the sensor, and 4, reference value of the sensor during normal operation.
1) First use of the sensor:
because the air conditioner is powered on for the first time and the sensor reference is not stored in the storage unit, if the air conditioner is judged to be powered on for the first time, the sensor is enabled to enter an initialization self-calibration process by default. And after the initialization self-calibration process is finished, the main air conditioner controller acquires the reference value of the sensor and writes the reference value into the storage unit for storage.
2) Sensor initialization self-calibration after abnormal power failure:
when the air conditioner main controller identifies that the air conditioner is abnormally powered down or the sensor is abnormally powered down and then is powered up again, as shown in fig. 4, a reference value is transmitted to skip a self-calibration process so as to quickly recover the work of the air conditioner and the sensor.
3) Normal power-on sensor initialization conditions:
when the air conditioner is normally powered on and operated, the sensor reference value stored in the storage unit is read, the sensor is informed to skip the self-calibration process and receive the reference value to directly start detection and output. The transmitted reference value is the reference value in the historical running state, so that the detection of the output value by the reference value can more accurately represent the volatile gas value in the environment.
4) And (3) during normal operation:
and when the sensor is initialized and calibrated, the main controller of the air conditioner acquires a sensor reference value J in real time. Judging the magnitude relation between the sensor reference value J and the history reference value Jmax in the storage unit: if J is greater than Jmax, rewriting the history reference value Jmax in the storage unit into J; if J is not greater than Jmax, the history reference value Jmax in the storage unit is not changed. The company tells you that the sensor reference value can be dynamically acquired and stored, and reference value values are provided for other processes. Since the stored reference value is the value obtained when the sensor normally operates, the value can represent the reference value when the environment is optimal for air, and the detection of the volatile gas value in the current environment by taking the reference value as the sensor reference value can effectively improve the effectiveness of the detection value of the sensor.
By the aid of the scheme, the initialization self-calibration time of the sensor can be effectively shortened, and the numerical value obtained by the sensor during initialization self-calibration can be effectively used, so that the using effect of a user is indirectly improved, further, the problem that time is needed to be spent again for self-calibration after abnormal power failure of an air conditioner or abnormal power failure of the sensor can be solved, and the detection output value can be calibrated according to the historical reference value of the sensor, so that the accuracy of detection data is improved.
After a large number of tests, the technical scheme of the embodiment is adopted, and a storage unit is arranged to store a reference value in the storage unit, wherein the reference value is determined and written into the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and an initialization calibration process is not needed to be carried out each time.
According to an embodiment of the invention, a gas sensor calibration apparatus corresponding to the gas sensor calibration method is also provided. Referring to fig. 5, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The gas sensor calibration device may include:
a first determining module 501, configured to determine whether the gas sensor is powered on for the first time;
a reading module 502, configured to read a sensor reference value from a storage unit in a case where it is determined that the operation is not a first power-on operation, where the sensor reference value in the storage unit is determined and written in the storage unit during a previous use of the gas sensor;
a generating module 503, configured to perform volatile gas detection on the read sensor reference value as the reference value of the gas sensor.
In one embodiment, the apparatus may further include: the second determination module is used for determining a reference value by initializing a self-calibration process under the condition that the gas sensor is determined to be in first power-on operation after determining whether the gas sensor is in first power-on operation; and the writing module is used for writing the determined reference value into the storage unit.
In one embodiment, the generating module 503 may include: the acquisition unit is used for acquiring the reference value of the sensor in real time in the process of carrying out volatile gas detection by taking the read reference value of the sensor as the reference value of the gas sensor; the comparison unit is used for comparing the reference value obtained in real time with the read reference value; and the replacing unit is used for replacing the reference value acquired in real time with the reference value stored in the storage unit under the condition that the reference value acquired in real time is larger than the read reference value.
In one embodiment, the apparatus may further include: the detection module is used for detecting the air output resistance value after volatile gas detection is carried out on the read sensor reference value as the reference value of the gas sensor; the calculation module is used for calculating the difference value between the air output resistance value and the reference value of the gas sensor; and the third determination module is used for taking the determined difference value as the value of the volatile gas in the air.
In one embodiment, the gas sensor is a gas sensor mounted on an air conditioner.
In one embodiment, the generating module 503 may specifically use the read sensor reference value as a base reference value; carrying out initialization self-calibration according to the basic reference value; and performing volatile gas detection by using the corrected reference value as the reference value of the gas sensor.
Since the processes and functions implemented by the apparatus of this embodiment substantially correspond to the embodiments, principles and examples of the method shown in fig. 1 to 4, the description of this embodiment is not detailed, and reference may be made to the related descriptions in the foregoing embodiments, which are not repeated herein.
Through a large number of tests, the technical scheme of the invention is adopted, and the reference value is stored in the storage unit by setting the storage unit, wherein the reference value is determined and written in the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and the initialization calibration process is not needed to be carried out every time.
According to an embodiment of the invention, a terminal corresponding to the gas sensor calibration device is also provided. The terminal may include: the gas sensor calibration device described above.
Since the processes and functions implemented by the terminal of this embodiment substantially correspond to the embodiments, principles, and examples of the apparatus shown in fig. 5, reference may be made to the related descriptions in the foregoing embodiments for details which are not described in detail in the description of this embodiment, and no further description is given here.
Through a large number of tests, the technical scheme of the invention is adopted, and the reference value is stored in the storage unit by setting the storage unit, wherein the reference value is determined and written in the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and the initialization calibration process is not needed to be carried out every time.
There is also provided, in accordance with an embodiment of the present invention, a storage medium corresponding to a method of calibrating a gas sensor. The storage medium may include: the storage medium has stored therein a plurality of instructions; the plurality of instructions for being loaded by a processor and executing the gas sensor calibration method described above.
Since the processing and functions implemented by the storage medium of this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 4, details are not described in the description of this embodiment, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention is adopted, and the reference value is stored in the storage unit by setting the storage unit, wherein the reference value is determined and written in the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and the initialization calibration process is not needed to be carried out every time.
According to the embodiment of the invention, a terminal corresponding to the gas sensor calibration method is also provided. The terminal can include: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; wherein the plurality of instructions are configured to be stored by the memory and loaded by the processor to perform the gas sensor calibration method described above.
Since the processing and functions implemented by the terminal of this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 4, details are not described in the description of this embodiment, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention is adopted, and the reference value is stored in the storage unit by setting the storage unit, wherein the reference value is determined and written in the storage unit in the previous use process of the gas sensor, so that the reference value in the storage unit can be directly obtained when the sensor is restarted or restarted after abnormal power failure, and the initialization calibration process is not needed to be carried out every time.
In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (9)

1. A method of calibrating a gas sensor, comprising:
determining whether the gas sensor is in first power-on operation;
under the condition that the non-first-time power-on operation is determined, when the sensor is restarted or abnormally powered down and restarted, the reference value of the sensor is directly read from the storage unit without carrying out an initialization calibration process; wherein the sensor reference value in the storage unit is determined and written into the storage unit during previous use of the gas sensor;
performing volatile gas detection using the read sensor reference value as a reference value of the gas sensor, including: taking the read sensor reference value as a basic reference value; carrying out initialization self-calibration according to the basic reference value; performing volatile gas detection by using the corrected reference value as a reference value of the gas sensor;
after volatile gas detection is performed using the read sensor reference value as the reference value of the gas sensor, the method further includes:
detecting an air output resistance value;
calculating a difference between the air output resistance value and a reference value of the gas sensor;
and taking the determined difference as the value of the volatile gas in the air.
2. The method of claim 1, wherein after determining whether the gas sensor is operating for a first power-up, the method further comprises:
determining a reference value by initializing a self-calibration process under the condition of determining that the power-on operation is performed for the first time;
and writing the determined reference value into the storage unit.
3. The method according to claim 1, wherein in the volatile gas detection using the read sensor reference value as the reference value of the gas sensor, further comprising:
acquiring a reference value of the sensor in real time;
comparing the reference value obtained in real time with the read reference value;
and replacing the reference value obtained in real time with the reference value stored in the storage unit under the condition that the reference value obtained in real time is larger than the read reference value.
4. A gas sensor calibration device, comprising:
the first determination module is used for determining whether the gas sensor is in first power-on operation;
the reading module is used for directly reading the reference value of the sensor from the storage unit without initializing a calibration flow when the sensor is restarted or abnormally powered down and restarted under the condition that the non-first-time power-on operation is determined; wherein the sensor reference value in the storage unit is determined and written into the storage unit during previous use of the gas sensor;
the generating module is used for performing volatile gas detection by taking the read sensor reference value as the reference value of the gas sensor; the generation module is specifically used for taking the read sensor reference value as a basic reference value; carrying out initialization self-calibration according to the basic reference value; performing volatile gas detection by using the corrected reference value as a reference value of the gas sensor;
further comprising:
the detection module is used for detecting the air output resistance value after volatile gas detection is carried out on the read sensor reference value as the reference value of the gas sensor;
the calculation module is used for calculating the difference value between the air output resistance value and the reference value of the gas sensor;
and the third determination module is used for taking the determined difference value as the value of the volatile gas in the air.
5. The apparatus of claim 4, further comprising:
the second determination module is used for determining a reference value by initializing a self-calibration process under the condition that the gas sensor is determined to be in first power-on operation after determining whether the gas sensor is in first power-on operation;
and the writing module is used for writing the determined reference value into the storage unit.
6. The apparatus of claim 4, wherein the generating module comprises:
the acquisition unit is used for acquiring the reference value of the sensor in real time in the process of carrying out volatile gas detection by taking the read reference value of the sensor as the reference value of the gas sensor;
the comparison unit is used for comparing the reference value obtained in real time with the read reference value;
and the replacing unit is used for replacing the reference value acquired in real time with the reference value stored in the storage unit under the condition that the reference value acquired in real time is larger than the read reference value.
7. A terminal, comprising: a gas sensor calibration device according to any one of claims 4 to 6.
8. A storage medium having a plurality of instructions stored therein; the plurality of instructions for being loaded by a processor and for performing the gas sensor calibration method of any one of claims 1 to 3.
9. A terminal, comprising:
a processor for executing a plurality of instructions;
a memory to store a plurality of instructions;
wherein the plurality of instructions are for storage by the memory and for loading and execution by the processor of a gas sensor calibration method according to any one of claims 1 to 3.
CN201811433725.4A 2018-11-28 2018-11-28 Gas sensor calibration method and device, storage medium and terminal Active CN109556646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811433725.4A CN109556646B (en) 2018-11-28 2018-11-28 Gas sensor calibration method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811433725.4A CN109556646B (en) 2018-11-28 2018-11-28 Gas sensor calibration method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN109556646A CN109556646A (en) 2019-04-02
CN109556646B true CN109556646B (en) 2020-01-07

Family

ID=65867774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811433725.4A Active CN109556646B (en) 2018-11-28 2018-11-28 Gas sensor calibration method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109556646B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112229025A (en) * 2020-10-13 2021-01-15 珠海格力电器股份有限公司 Air purifier control method and device, air purifier and storage medium
CN114965867A (en) * 2021-02-26 2022-08-30 杭州三花研究院有限公司 Gas concentration detection method, gas detection device and control method thereof
WO2022179558A1 (en) * 2021-02-26 2022-09-01 杭州三花研究院有限公司 Gas concentration measurement method and gas measurement device
CN114010064B (en) * 2021-11-25 2023-01-24 珠海格力电器股份有限公司 Cooking apparatus, cooking apparatus control method, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685223A (en) * 2002-07-29 2005-10-19 世主工程株式会社 Portable gas sensor and method for calibrating the same
CN101587068A (en) * 2009-05-27 2009-11-25 陈小英 Multi-sensor gas analyzer
JP2014066530A (en) * 2012-09-25 2014-04-17 Riken Keiki Co Ltd Intermittently-driven combustible gas detector
CN104485923A (en) * 2014-11-03 2015-04-01 佛山市顺德区美的洗涤电器制造有限公司 Dish washer, turbidity sensor calibration control method and device
CN105021501A (en) * 2014-04-25 2015-11-04 周志斌 Sensor and detection method for mass concentration of suspended particulate matters in air
CN106933127A (en) * 2017-01-17 2017-07-07 杭州老板电器股份有限公司 A kind of control method of gas sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6997032B2 (en) * 2003-04-08 2006-02-14 Invensys Systems, Inc. Flowmeter zeroing techniques

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685223A (en) * 2002-07-29 2005-10-19 世主工程株式会社 Portable gas sensor and method for calibrating the same
CN101587068A (en) * 2009-05-27 2009-11-25 陈小英 Multi-sensor gas analyzer
JP2014066530A (en) * 2012-09-25 2014-04-17 Riken Keiki Co Ltd Intermittently-driven combustible gas detector
CN105021501A (en) * 2014-04-25 2015-11-04 周志斌 Sensor and detection method for mass concentration of suspended particulate matters in air
CN104485923A (en) * 2014-11-03 2015-04-01 佛山市顺德区美的洗涤电器制造有限公司 Dish washer, turbidity sensor calibration control method and device
CN106933127A (en) * 2017-01-17 2017-07-07 杭州老板电器股份有限公司 A kind of control method of gas sensor

Also Published As

Publication number Publication date
CN109556646A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109556646B (en) Gas sensor calibration method and device, storage medium and terminal
US7983870B2 (en) Integrated circuit and method for determining the operating range of an integrated circuit
CN102890657A (en) Method for reducing data read-write errors of EEPROM (electrically erasable programmable read-only memory)
CN103577332A (en) Control device for vehicle and error processing method in control device for vehicle
US7243260B2 (en) Programmable controller unit and method of automatically restoring memory
CN102737724A (en) System and method for testing nonvolatile random access memory (NVRAM)
WO2022156512A1 (en) Method and apparatus for firmware upgrade, device, and storage medium
CN114138527A (en) Method, device and medium for improving performance of server
CN112910353A (en) Motor control method, device and system based on sensor deviation self-correction
CN108490289B (en) Electronic equipment testing method and device and electronic equipment
CN113851180A (en) System for detecting SSD (solid State disk) standby power reliability, test fixture and SSD
US8856597B2 (en) Validation of a system using a design of experiments processing technique
CN108387688B (en) Sensor correction and gas detection method, device and equipment and readable storage medium
CN111045600A (en) Method and device for writing data into memory and storage medium
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
CN111291239B (en) Method, device, equipment and storage medium for testing unit
CN113035266B (en) Hard disk performance test method, device, computer equipment and storage medium
JP2019213142A (en) Information processing device, processor, and optical fiber inspection method
CN112415292B (en) Piezoelectric device on-line detection device and method
KR102172840B1 (en) System for controlling and monitoring object
CN110781043B (en) Quality detection method and device for storage product, storage medium and equipment
CN111400092A (en) Memory, program burning method thereof and liquid crystal display device
JP2019087118A (en) On-vehicle control device
TWI726434B (en) Control method for solving abnormal operation of me
CN113687998A (en) Control method for eliminating abnormal operation of management engine

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
GR01 Patent grant
GR01 Patent grant