CN111735489A - Temperature and humidity calibration method and device for detector, computer equipment and storage medium - Google Patents

Temperature and humidity calibration method and device for detector, computer equipment and storage medium Download PDF

Info

Publication number
CN111735489A
CN111735489A CN202010538483.6A CN202010538483A CN111735489A CN 111735489 A CN111735489 A CN 111735489A CN 202010538483 A CN202010538483 A CN 202010538483A CN 111735489 A CN111735489 A CN 111735489A
Authority
CN
China
Prior art keywords
calibration
humidity
temperature
value
target
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
CN202010538483.6A
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.)
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Original Assignee
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering 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 Oceans King Lighting Science and Technology Co Ltd, Oceans King Dongguan Lighting Technology Co Ltd, Shenzhen Oceans King Lighting Engineering Co Ltd filed Critical Oceans King Lighting Science and Technology Co Ltd
Priority to CN202010538483.6A priority Critical patent/CN111735489A/en
Publication of CN111735489A publication Critical patent/CN111735489A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K15/00Testing or calibrating of thermometers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The embodiment of the invention discloses a temperature and humidity calibration method of a detector, which comprises the steps of obtaining a temperature and humidity calibration request of the detector; determining a target calibration subprogram corresponding to the target calibration mode according to the corresponding relation between the preset calibration mode and the calibration subprogram, wherein the target calibration subprogram comprises calibration logic of the temperature and the humidity of the detector; and executing a target calibration subprogram, calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value, realizing accurate calibration of the temperature and the humidity of the detector, ensuring the consistency of the target temperature value and the target humidity value of the detector, being applicable to detectors in different environments, improving the efficiency of temperature and humidity calibration of the detector and also improving the wide applicability of the temperature and humidity calibration method of the detector. In addition, a temperature and humidity calibration device, computer equipment and a storage medium of the detector are also provided.

Description

Temperature and humidity calibration method and device for detector, computer equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a temperature and humidity calibration method and device for a detector, computer equipment and a storage medium.
Background
In some explosion-proof dangerous places such as military affairs, chemical engineering, oil fields, coal mines and the like, and in some severe environments with high temperature and high humidity such as metallurgy steel making houses, coastal areas and the like, the detection of the environmental temperature and humidity conditions requires that a detection instrument has high requirements, such as precision requirements, measurement range and the like; the precision error is taken as the most important condition for judging the performance of a temperature and humidity detector and is a serious obstacle for improving the performance of the temperature and humidity detector, and the existing temperature and humidity error software compensation scheme is that a plurality of sensors are arranged in the detector, and an optimal value is obtained by comparing feedback data of a plurality of test points, but the method cannot effectively solve the problem of the precision error caused by product aging and high-temperature and high-humidity conditions.
In view of this, it is an urgent need to solve the problem of providing a temperature and humidity detector that can improve the detection accuracy of the temperature and humidity detector and reduce the temperature and humidity accuracy error.
Disclosure of Invention
In view of the above, it is necessary to provide a temperature and humidity calibration method and apparatus for a detector, a computer device, and a storage medium to improve the accuracy and reliability of temperature and humidity detection of the detector.
A method for calibrating a temperature and humidity of a detector, the method comprising:
acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
A temperature and humidity calibration apparatus for a detector, the apparatus comprising:
the temperature and humidity calibration system comprises a mode acquisition module, a mode selection module and a control module, wherein the mode acquisition module is used for acquiring a temperature and humidity calibration request of a detector, and the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
the calibration program determining module is used for determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and the calibration module is used for executing the target calibration subprogram, calibrating the initial temperature value and the initial humidity value and obtaining a target temperature value and a target humidity value.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
According to the temperature and humidity calibration method and device for the detector, the computer equipment and the storage medium, the temperature and humidity calibration request of the detector is obtained, and the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value; determining a target calibration subprogram corresponding to the target calibration mode according to the corresponding relation between the preset calibration mode and the calibration subprogram, wherein the target calibration subprogram comprises calibration logic of the temperature and the humidity of the detector; and executing a target calibration subprogram, calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value, realizing accurate calibration of the temperature and the humidity of the detector, ensuring the consistency of the target temperature value and the target humidity value of the detector, being applicable to detectors in different environments, improving the efficiency of temperature and humidity calibration of the detector and also improving the wide applicability of the temperature and humidity calibration method of the detector.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow chart of a temperature and humidity calibration method for a detector according to an embodiment;
FIG. 2 is a flow diagram of a calibration method of the target calibration subroutine in one embodiment;
FIG. 3 is a flowchart of a calibration method of a target calibration subroutine in another embodiment;
FIG. 4 is a flow chart of a calibration method of the target calibration subroutine in yet another embodiment;
FIG. 5 is a flow chart of a temperature and humidity calibration method for a detector according to another embodiment;
FIG. 6 is a block diagram of a temperature and humidity calibration apparatus of a detector according to an embodiment;
FIG. 7 is a block diagram of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
As shown in fig. 1, in an embodiment, a temperature and humidity calibration method for a detector is provided, where the temperature and humidity calibration method for a detector may be applied to a terminal or a server, and this embodiment is exemplified by being applied to a server. The temperature and humidity calibration method of the detector specifically comprises the following steps:
step 102, acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value.
The temperature and humidity calibration request of the detector refers to a request for calibrating the temperature and humidity of the detector triggered by a client. Specifically, the temperature and humidity calibration request may be triggered by a specific control or instruction for the client. The initial temperature value refers to a temperature value acquired by the detector at the current moment, and the initial humidity value refers to a humidity value acquired by the detector at the current moment. In one embodiment, the initial temperature value and the initial humidity value are acquired by a sensor chip detector equipped with an SHT31 sensor. The temperature and humidity calibration request comprises a target calibration mode, and the target calibration mode is a calibration mode required for selecting the temperature and humidity of the detector. It is understood that the calibration mode is different for different detectors, such as aged detectors and detectors that have just been shipped, for example, the calibration mode is different for different detection environments, detection times, and the like. Therefore, the target calibration mode is used as a basis for determining the temperature and humidity calibration mode of the detector.
And 104, determining a target calibration subprogram corresponding to the target calibration mode according to the corresponding relation between the preset calibration mode and the calibration subprogram, wherein the target calibration subprogram comprises calibration logic of the temperature and the humidity of the detector.
The calibration subroutine is an application program for executing a function corresponding to an instruction or a request, and the calibration subroutine in this embodiment is an application program for calibrating the temperature and humidity of the detector. Specifically, the server stores mapping tables of calibration subroutines corresponding to different calibration modes in advance, and finds out a target calibration subroutine matched with the target calibration mode from the mapping tables according to a corresponding relation between the preset calibration mode and the calibration subroutine, wherein the target calibration subroutine includes calibration logics of the temperature and the humidity of the detector, and the calibration logics refer to calibration strategies configured for different calibration modes, for example, calibration is performed according to a calculation mode corresponding to a mathematical model or compensation is directly performed on the basis of an initial temperature value and an initial humidity value. In this embodiment, different target calibration modes configure different target calibration subroutines to form a mapping table. Furthermore, different target calibration subprograms are stored in the server, temperature and humidity calibration requirements of different detectors are fully considered, and the target calibration subprograms do not need to be separately reconfigured for a certain detector, so that not only can the software and hardware cost be saved, but also the integrated management and maintenance of the target calibration subprograms are realized, and the efficiency of temperature and humidity calibration of the detectors is improved.
And 106, executing a target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
Specifically, the server calibrates the initial temperature value and the initial humidity value according to a calibration logic included in the target calibration subroutine by executing the target calibration subroutine, understandably, aiming at different calibration modes, the corresponding calibration subroutine is adopted for calibration, so that accurate calibration of the temperature and the humidity of the detector is realized, the consistency of the target temperature value and the target humidity value of the detector is ensured, and the method is applicable to detectors in different environments, thereby not only improving the efficiency of temperature and humidity calibration of the detector, but also improving the wide applicability of the temperature and humidity calibration method of the detector.
According to the temperature and humidity calibration method of the detector, a temperature and humidity calibration request of the detector is obtained, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value; determining a target calibration subprogram corresponding to the target calibration mode according to the corresponding relation between the preset calibration mode and the calibration subprogram, wherein the target calibration subprogram comprises calibration logic of the temperature and the humidity of the detector; and executing a target calibration subprogram, calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value, realizing accurate calibration of the temperature and the humidity of the detector, ensuring the consistency of the target temperature value and the target humidity value of the detector, being applicable to detectors in different environments, improving the efficiency of temperature and humidity calibration of the detector and also improving the wide applicability of the temperature and humidity calibration method of the detector.
As shown in fig. 2, in one embodiment, when the target calibration mode is the auto-calibration mode, the steps of the target calibration subroutine include:
when the target calibration mode is the auto calibration mode, the target calibration subroutine includes the steps of:
step 106A, respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
step 106B, determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
and step 106C, respectively carrying out calibration compensation on the initial temperature value and the initial humidity value according to the temperature calibration value and the humidity calibration value to obtain a target temperature value and a target humidity value.
The automatic calibration mode refers to a mode of calibration according to a specific calibration rule, and is suitable for the detector under a normal temperature and normal humidity environment, for example, calibration is performed according to a mathematical model. The manual calibration refers to dynamic calibration according to calibration requirements, that is, the calibration value or the compensation value can be edited according to the field environment, and the calibration value or the compensation value can be recorded in the no-power-off memory, so that the manual calibration is suitable for detectors used in high-temperature and high-humidity environments for a long time, such as seasides, steel mills and other environments. The combined calibration mode is a calibration mode combining an automatic calibration mode and a manual calibration mode, is suitable for a detector with large errors caused by aging or high-temperature and high-humidity environments and the like, is not calibrated without the calibration mode, and is suitable for a detector with small error precision.
In this embodiment, the calibration procedure of the target calibration subroutine corresponding to the automatic calibration mode is as follows: respectively determining a temperature calibration interval and a humidity calibration interval corresponding to an initial temperature value and an initial humidity value, determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval, taking the humidity collected by a detector as an example, taking a relative humidity interval of 80% RH-85% RH as one of the calibration intervals, a humidity calibration value corresponding to the calibration interval of +/-1% RH, 85% RH-90% RH as the other calibration interval, and a humidity calibration value corresponding to the calibration interval of +/-2% RH, respectively performing compensation calculation according to the corresponding temperature calibration value and humidity calibration value on the basis of the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value. It can be understood that, in this embodiment, calibration is performed automatically according to the calibration interval of the initial temperature value and the initial humidity value, so that calibration efficiency is improved.
As shown in fig. 3, in one embodiment, when the target calibration mode is the manual calibration mode, the steps of the target calibration subroutine include:
step 106D, receiving the input temperature compensation value and humidity compensation value;
and step 106E, respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a target temperature value and a target humidity value.
In this embodiment, the calibration procedure of the target calibration subroutine corresponding to the manual calibration mode is as follows: and receiving the input temperature compensation value and humidity compensation value, wherein the temperature compensation value and the humidity compensation value can be input by a user or can be data generated after the environment monitoring equipment detects the environment where the detector is located. After the temperature compensation value and the humidity compensation value are determined, the server respectively calibrates and compensates the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a target temperature value and a target humidity value, so that the temperature and the humidity of the detector are calibrated.
As shown in fig. 4, in one embodiment, when the target calibration mode is the joint calibration mode, the step of the target calibration subroutine includes:
step 106F, respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
step 106G, determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
step 106H, respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value;
step 106I, receiving an input temperature compensation value and an input humidity compensation value;
and 106J, respectively calibrating and compensating the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value to obtain a target temperature value and a target humidity value.
In this embodiment, the calibration procedure of the target calibration subroutine corresponding to the joint calibration mode is as follows: determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value, respectively, then determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval, respectively performing calibration compensation on the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value, wherein the calibration process is consistent with the automatic calibration mode in the steps 106A to 106C, then continuously receiving the input temperature compensation value and the input humidity compensation value, respectively performing calibration compensation on the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value, wherein the calibration process is consistent with the manual calibration mode in the steps 106C to 106D, understandably, the calibration is continuously performed on the first temperature value and the first humidity value obtained in the automatic calibration mode, the accuracy of calibration is further guaranteed, the precision of calibration is greatly improved, and the reliability of the detector is further improved.
In one embodiment, when the target calibration mode is the no calibration mode, the step of the target calibration subroutine comprises:
the initial temperature value and the initial humidity value are determined as a target temperature value and a target humidity value, respectively.
In this embodiment, the calibration procedure of the target calibration subroutine corresponding to the calibration-free mode is as follows: the initial temperature value and the initial humidity value are directly determined as the target temperature value and the target humidity value, namely, calibration is not carried out, so that the speed of determining the target temperature value and the target humidity value is increased.
In one embodiment, before determining the temperature calibration interval and the humidity calibration interval corresponding to the initial temperature value and the initial humidity value, respectively, the method further includes:
the method comprises the steps of obtaining an original temperature sample and an original humidity sample, and establishing a mathematical model based on the original temperature sample and the original humidity sample, wherein the mathematical model comprises a temperature calibration interval, a humidity calibration interval, a corresponding temperature calibration value and a corresponding humidity calibration value.
Specifically, a large number of original temperature samples and original humidity samples of the detector are collected, a test is performed, and a mathematical model is constructed according to errors of different original temperature samples and original humidity samples, wherein the mathematical model is used for determining a calibration rule, preferably, the calibration rule is that the mathematical model comprises a temperature calibration interval and a humidity calibration interval and corresponding temperature calibration value and humidity calibration value, namely, errors of different degrees are compensated to different degrees. The mathematical model in this embodiment may be a functional expression as follows:
Figure BDA0002537929630000081
wherein f (x) is expressed as a temperature calibration value or a humidity calibration value, I1,I2……InRepresenting n temperature or humidity calibration intervals, f1(x),f1(x)……fn(x) Respectively represent I1,I2……InThe temperature calibration value or the humidity calibration value corresponding to the n temperature calibration intervals or the humidity calibration intervals. Understandably, the different degrees of compensation of the errors of different degrees are realized by adopting the mathematical model, and the calibration efficiency is greatly improved.
As shown in fig. 5, in an embodiment, after the executing the target calibration subroutine to calibrate the initial temperature value and the initial humidity value to obtain the target temperature value and the target humidity value, the method further includes:
step 106K, respectively obtaining a plurality of target temperature values and a plurality of target humidity values to form an updated temperature sample and an updated humidity sample;
and 106L, updating the mathematical model based on the updated temperature sample and the updated humidity sample to obtain an updated mathematical model, wherein the updated mathematical model comprises an updated temperature calibration interval, an updated humidity calibration interval, a corresponding updated temperature calibration value and an updated humidity calibration value.
Specifically, the target temperature value and the target humidity value obtained in step 106 are continuously used as an updated temperature sample and an updated humidity sample, and the mathematical model is continuously calibrated and updated to obtain an updated mathematical model, so that the accuracy of the updated mathematical model is further improved, and the calibration precision is further improved.
As shown in fig. 6, in an embodiment, a temperature and humidity calibration apparatus for a detector is provided, the apparatus including:
a mode obtaining module 602, configured to obtain a temperature and humidity calibration request of a detector, where the temperature and humidity calibration request includes a target calibration mode, an initial temperature value, and an initial humidity value;
a calibration procedure determining module 604, configured to determine, according to a correspondence between a preset calibration mode and a calibration subroutine, a target calibration subroutine corresponding to the target calibration mode, where the target calibration subroutine includes calibration logic of a temperature and a humidity of the detector;
a calibration module 606, configured to execute the target calibration subroutine, and calibrate the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
In one embodiment, the calibration module comprises:
the interval determining unit is used for respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
the calibration value determining unit is used for determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
and the first calibration unit is used for respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature calibration value and the humidity calibration value to obtain the target temperature value and the target humidity value.
In one embodiment, the calibration module further comprises:
a compensation value acquisition unit for receiving an input temperature compensation value and humidity compensation value;
and the second calibration unit is used for respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, the calibration module further comprises:
the interval determining unit is used for respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
the calibration value determining unit is used for determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
the first temperature and humidity determination unit is used for respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value;
a compensation value acquisition unit for receiving an input temperature compensation value and humidity compensation value;
and the third calibration unit is used for respectively calibrating and compensating the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, the calibration module further comprises:
a fourth calibration unit, configured to determine the initial temperature value and the initial humidity value as the target temperature value and the target humidity value, respectively.
In one embodiment, the temperature and humidity calibration of the detector further comprises: the model establishing module is used for acquiring an original temperature sample and an original humidity sample and establishing a mathematical model based on the original temperature sample and the original humidity sample, wherein the mathematical model comprises a temperature calibration interval, a humidity calibration interval, a corresponding temperature calibration value and a corresponding humidity calibration value.
In one embodiment, the temperature and humidity calibration of the detector further comprises:
the update sample module is used for respectively obtaining a plurality of target temperature values and a plurality of target humidity values to form an update temperature sample and an update humidity sample;
and the model updating module is used for updating the mathematical model based on the updated temperature sample and the updated humidity sample to obtain an updated mathematical model, and the updated mathematical model comprises an updated temperature calibration interval, an updated humidity calibration interval, a corresponding updated temperature calibration value and an updated humidity calibration value.
FIG. 7 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a server including, but not limited to, a high performance computer and a cluster of high performance computers. As shown in fig. 7, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by the processor, the processor can realize the temperature and humidity calibration method of the detector. The internal memory may also store a computer program, and when the computer program is executed by the processor, the processor may execute the temperature and humidity calibration method of the detector. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the temperature and humidity calibration method for a detector provided in the present application may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 7. The memory of the computer device can store various program templates which form the temperature and humidity calibration device of the detector. For example, the mode acquisition module 602, the calibration procedure determination module 604, and the calibration module 606.
A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value; determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector; and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
In one embodiment, when the target calibration mode is an auto calibration mode, the step of the target calibration subroutine comprises: respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value; determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval; and respectively carrying out calibration compensation on the initial temperature value and the initial humidity value according to the temperature calibration value and the humidity calibration value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a manual calibration mode, the step of the target calibration subroutine comprises: receiving an input temperature compensation value and an input humidity compensation value; and respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a joint calibration mode, the step of the target calibration subroutine comprises: respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value; determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval; respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value; receiving an input temperature compensation value and an input humidity compensation value; and respectively calibrating and compensating the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a no calibration mode, the step of the target calibration subroutine comprises: and determining the initial temperature value and the initial humidity value as the target temperature value and the target humidity value respectively.
In one embodiment, before the determining the temperature calibration interval and the humidity calibration interval corresponding to the initial temperature value and the initial humidity value, respectively, the method further includes: the method comprises the steps of obtaining an original temperature sample and an original humidity sample, and establishing a mathematical model based on the original temperature sample and the original humidity sample, wherein the mathematical model comprises a temperature calibration interval, a humidity calibration interval and corresponding temperature calibration value and humidity calibration value.
In an embodiment, after the executing the target calibration subroutine to calibrate the initial temperature value and the initial humidity value to obtain the target temperature value and the target humidity value, the method further includes: respectively obtaining a plurality of target temperature values and a plurality of target humidity values to form an updated temperature sample and an updated humidity sample; and updating the mathematical model based on the updated temperature sample and the updated humidity sample to obtain an updated mathematical model, wherein the updated mathematical model comprises an updated temperature calibration interval, an updated humidity calibration interval, and a corresponding updated temperature calibration value and an updated humidity calibration value.
A computer-readable storage medium storing a computer program, the computer program when executed by a processor implementing the steps of: acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value; determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector; and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
In one embodiment, when the target calibration mode is an auto calibration mode, the step of the target calibration subroutine comprises: respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value; determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval; and respectively carrying out calibration compensation on the initial temperature value and the initial humidity value according to the temperature calibration value and the humidity calibration value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a manual calibration mode, the step of the target calibration subroutine comprises: receiving an input temperature compensation value and an input humidity compensation value; and respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a joint calibration mode, the step of the target calibration subroutine comprises: respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value; determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval; respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value; receiving an input temperature compensation value and an input humidity compensation value; and respectively calibrating and compensating the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
In one embodiment, when the target calibration mode is a no calibration mode, the step of the target calibration subroutine comprises: and determining the initial temperature value and the initial humidity value as the target temperature value and the target humidity value respectively.
In one embodiment, before the determining the temperature calibration interval and the humidity calibration interval corresponding to the initial temperature value and the initial humidity value, respectively, the method further includes: the method comprises the steps of obtaining an original temperature sample and an original humidity sample, and establishing a mathematical model based on the original temperature sample and the original humidity sample, wherein the mathematical model comprises a temperature calibration interval, a humidity calibration interval and corresponding temperature calibration value and humidity calibration value.
In an embodiment, after the executing the target calibration subroutine to calibrate the initial temperature value and the initial humidity value to obtain the target temperature value and the target humidity value, the method further includes: respectively obtaining a plurality of target temperature values and a plurality of target humidity values to form an updated temperature sample and an updated humidity sample; and updating the mathematical model based on the updated temperature sample and the updated humidity sample to obtain an updated mathematical model, wherein the updated mathematical model comprises an updated temperature calibration interval, an updated humidity calibration interval, and a corresponding updated temperature calibration value and an updated humidity calibration value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A temperature and humidity calibration method of a detector is characterized by comprising the following steps:
acquiring a temperature and humidity calibration request of a detector, wherein the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and executing the target calibration subroutine, and calibrating the initial temperature value and the initial humidity value to obtain a target temperature value and a target humidity value.
2. The temperature and humidity calibration method of a detector according to claim 1, wherein when the target calibration mode is an automatic calibration mode, the step of the target calibration subroutine includes:
respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
and respectively carrying out calibration compensation on the initial temperature value and the initial humidity value according to the temperature calibration value and the humidity calibration value to obtain the target temperature value and the target humidity value.
3. The temperature and humidity calibration method of a detector according to claim 1, wherein when the target calibration mode is a manual calibration mode, the step of the target calibration subroutine includes:
receiving an input temperature compensation value and an input humidity compensation value;
and respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
4. The temperature and humidity calibration method for a detector according to claim 1, wherein when the target calibration mode is a combined calibration mode, the step of the target calibration subroutine includes:
respectively determining a temperature calibration interval and a humidity calibration interval corresponding to the initial temperature value and the initial humidity value;
determining a corresponding temperature calibration value and a corresponding humidity calibration value according to the temperature calibration interval and the humidity calibration interval;
respectively calibrating and compensating the initial temperature value and the initial humidity value according to the temperature compensation value and the humidity compensation value to obtain a first temperature value and a first humidity value;
receiving an input temperature compensation value and an input humidity compensation value;
and respectively calibrating and compensating the first temperature value and the first humidity value according to the temperature compensation value and the humidity compensation value to obtain the target temperature value and the target humidity value.
5. The temperature and humidity calibration method for a detector according to claim 1, wherein when the target calibration mode is a no calibration mode, the step of the target calibration subroutine includes:
and determining the initial temperature value and the initial humidity value as the target temperature value and the target humidity value respectively.
6. The method according to claim 2, further comprising, before the determining the temperature calibration interval and the humidity calibration interval corresponding to the initial temperature value and the initial humidity value, respectively:
the method comprises the steps of obtaining an original temperature sample and an original humidity sample, and establishing a mathematical model based on the original temperature sample and the original humidity sample, wherein the mathematical model comprises a temperature calibration interval, a humidity calibration interval and corresponding temperature calibration value and humidity calibration value.
7. The temperature and humidity calibration method for a detector according to claim 6, wherein after the performing the target calibration subroutine to calibrate the initial temperature value and the initial humidity value to obtain the target temperature value and the target humidity value, the method further comprises:
respectively obtaining a plurality of target temperature values and a plurality of target humidity values to form an updated temperature sample and an updated humidity sample;
and updating the mathematical model based on the updated temperature sample and the updated humidity sample to obtain an updated mathematical model, wherein the updated mathematical model comprises an updated temperature calibration interval, an updated humidity calibration interval, and a corresponding updated temperature calibration value and an updated humidity calibration value.
8. The utility model provides a temperature and humidity calibrating device of detector which characterized in that, the temperature and humidity calibrating device of detector includes:
the temperature and humidity calibration system comprises a mode acquisition module, a mode selection module and a control module, wherein the mode acquisition module is used for acquiring a temperature and humidity calibration request of a detector, and the temperature and humidity calibration request comprises a target calibration mode, an initial temperature value and an initial humidity value;
the calibration program determining module is used for determining a target calibration subprogram corresponding to the target calibration mode according to a corresponding relation between a preset calibration mode and a calibration subprogram, wherein the target calibration subprogram comprises calibration logic of temperature and humidity of a detector;
and the calibration module is used for executing the target calibration subprogram, calibrating the initial temperature value and the initial humidity value and obtaining a target temperature value and a target humidity value.
9. Computer device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor, when executing said computer program, carries out the steps of the temperature and humidity calibration method of a detector according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for calibrating the temperature and humidity of a detector according to any one of claims 1 to 7.
CN202010538483.6A 2020-06-13 2020-06-13 Temperature and humidity calibration method and device for detector, computer equipment and storage medium Pending CN111735489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010538483.6A CN111735489A (en) 2020-06-13 2020-06-13 Temperature and humidity calibration method and device for detector, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010538483.6A CN111735489A (en) 2020-06-13 2020-06-13 Temperature and humidity calibration method and device for detector, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111735489A true CN111735489A (en) 2020-10-02

Family

ID=72649029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010538483.6A Pending CN111735489A (en) 2020-06-13 2020-06-13 Temperature and humidity calibration method and device for detector, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111735489A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138046A (en) * 2021-11-26 2022-03-04 珠海格力电器股份有限公司 Sampling circuit calibration control method and system and photovoltaic air conditioner

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090267898A1 (en) * 2008-04-24 2009-10-29 Sony Corporation Input apparatus and control system
CN102353722A (en) * 2011-06-24 2012-02-15 汪月银 Rapid-setting method of parameters of flaw detector
CN105094168A (en) * 2014-05-23 2015-11-25 西卡西伯特博士及屈恩有限及两合公司 Method and apparatus for controlling the temperature of a calibration volume of a device for comparative calibration of temperature sensors
CN105241580A (en) * 2015-09-16 2016-01-13 深圳市金立通信设备有限公司 Temperature calibration method and terminal
CN105352630A (en) * 2015-12-24 2016-02-24 深圳市博巨兴实业发展有限公司 Segmental linear calibration system and method for temperature sensor chip
CN106275464A (en) * 2016-08-26 2017-01-04 杨百川 A kind of air speed automatic protective system
CN106370570A (en) * 2016-08-25 2017-02-01 北京小米移动软件有限公司 Calibration method and calibration apparatus for measured value of particulate matters
CN108760082A (en) * 2018-05-29 2018-11-06 深圳小辣椒科技有限责任公司 A kind of smart mobile phone temperature taking method and system
CN109405884A (en) * 2018-12-03 2019-03-01 无锡华润矽科微电子有限公司 The system and method for realization humidity calibration function based on Temperature Humidity Sensor
CN111024986A (en) * 2019-12-19 2020-04-17 北京源清慧虹信息科技有限公司 Ultrasonic anemorumbometer data calibration method, device and equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090267898A1 (en) * 2008-04-24 2009-10-29 Sony Corporation Input apparatus and control system
CN102353722A (en) * 2011-06-24 2012-02-15 汪月银 Rapid-setting method of parameters of flaw detector
CN105094168A (en) * 2014-05-23 2015-11-25 西卡西伯特博士及屈恩有限及两合公司 Method and apparatus for controlling the temperature of a calibration volume of a device for comparative calibration of temperature sensors
CN105241580A (en) * 2015-09-16 2016-01-13 深圳市金立通信设备有限公司 Temperature calibration method and terminal
CN105352630A (en) * 2015-12-24 2016-02-24 深圳市博巨兴实业发展有限公司 Segmental linear calibration system and method for temperature sensor chip
CN106370570A (en) * 2016-08-25 2017-02-01 北京小米移动软件有限公司 Calibration method and calibration apparatus for measured value of particulate matters
CN106275464A (en) * 2016-08-26 2017-01-04 杨百川 A kind of air speed automatic protective system
CN108760082A (en) * 2018-05-29 2018-11-06 深圳小辣椒科技有限责任公司 A kind of smart mobile phone temperature taking method and system
CN109405884A (en) * 2018-12-03 2019-03-01 无锡华润矽科微电子有限公司 The system and method for realization humidity calibration function based on Temperature Humidity Sensor
CN111024986A (en) * 2019-12-19 2020-04-17 北京源清慧虹信息科技有限公司 Ultrasonic anemorumbometer data calibration method, device and equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138046A (en) * 2021-11-26 2022-03-04 珠海格力电器股份有限公司 Sampling circuit calibration control method and system and photovoltaic air conditioner
CN114138046B (en) * 2021-11-26 2024-05-03 珠海格力电器股份有限公司 Sampling circuit calibration control method and system and photovoltaic air conditioner

Similar Documents

Publication Publication Date Title
CN109060899B (en) Method, device and equipment for compensating measurement result of electrochemical sensor
CN109388856B (en) Temperature field prediction method based on sensing data fusion
CN111505740B (en) Weather prediction method, weather prediction device, computer equipment and storage medium
CN109714201B (en) Network system reliability evaluation method and device, computer equipment and storage medium
CN110990645B (en) Power consumption monitoring method and device, computer equipment and storage medium
CN111735489A (en) Temperature and humidity calibration method and device for detector, computer equipment and storage medium
CN111104644A (en) Reliability evaluation method and device, computer equipment and storage medium
CN112001520A (en) Weather forecasting method and device, computer equipment and storage medium
CN111024986B (en) Ultrasonic anemorumbometer data calibration method, device and equipment and storage medium
CN112326882B (en) Air quality sensor processing method and device
CN111241663A (en) Engine data evaluation method and device, computer equipment and storage medium
CN111679600B (en) Comparison method of control system, control terminal and computer readable storage medium
CN111274686B (en) Batch microsatellite test method and device
CN112731815A (en) Method for improving analog quantity acquisition precision
CN115828055B (en) Method and device for monitoring sampling data, computer equipment and storage medium
CN117496051A (en) BIM model construction method and system combined with laser radar
CN117150669A (en) Mechanical structure system failure probability estimation method, system and readable storage medium
CN113703007A (en) Altitude data monitoring and displaying method, device, equipment and storage medium
CN116660611B (en) Measuring method, measuring platform, equipment and medium of heavy current mobile measuring platform
CN112417605A (en) Vehicle door predeformation analysis method, system, terminal and storage medium
CN111060127A (en) Vehicle starting point positioning method and device, computer equipment and storage medium
CN114492004A (en) Failure-occurring product reliability evaluation method, device, equipment and medium
CN116933102B (en) Rubber quality inspection method, device, medium, equipment and program product
CN117174212A (en) Screening method, screening device, screening equipment and storage medium for gas-sensitive material
CN116559093B (en) Gas moisture determination method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201002