Humidity parameter correction method, device, equipment and storage medium

By obtaining the temperature of the dry-bulb and wet-bulb temperature sensing packages and the voltage of the humidity sensors, the correction value of the humidity sensor is dynamically corrected, which solves the problem of insufficient detection accuracy of the humidity sensor at different temperatures, realizes efficient and accurate humidity correction, and reduces system complexity and maintenance costs.

CN120253960BActive Publication Date: 2025-09-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510741039.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-09-12
Estimated Expiration
2045-06-05

AI Technical Summary

Technical Problem

The detection results of existing humidity sensors under high or low temperature conditions are easily affected by the ambient temperature, resulting in reduced detection accuracy and stability. The existing correction methods are complex and costly, making them difficult to apply in cost-sensitive and environmentally complex industrial and agricultural scenarios.

Method used

By obtaining the temperature of the dry-bulb and wet-bulb temperature sensors, as well as the voltage and correction value of the humidity sensor, the humidity is calculated and the correction value is corrected to establish the accuracy of the humidity sensor. The dry-bulb and wet-bulb temperature relationship and the output voltage of the humidity sensor are used for correction, and the correction value of the sensor is dynamically adjusted to adapt to different temperature environments.

Benefits of technology

The detection accuracy of the humidity sensor under different temperature conditions is improved, the system complexity and cost are reduced, the efficient and accurate calibration of the humidity sensor is achieved, and the maintenance cost and failure risk are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120253960B_ABST
    Figure CN120253960B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention relate to a humidity parameter correction method, apparatus, device, and storage medium. The method includes: obtaining a first temperature of a dry-bulb temperature sensor, a second temperature of a wet-bulb temperature sensor, and a voltage and a first correction value of a humidity sensor within a space where a device is located; calculating a first humidity within the space based on the voltage, the first temperature, and the first correction value; determining a second humidity corresponding to the first and second temperatures, with a one-to-one correspondence between the first, second, and second humidity; and correcting the first correction value based on the first and second humidity. Consequently, the correction value of the humidity sensor can be accurately adjusted based on the dry-bulb and wet-bulb temperatures and the humidity sensor voltage, thereby adjusting the humidity sensor parameters based on the accurate correction values ​​and improving the detection accuracy of the humidity sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of sensor technology, and in particular to a humidity parameter calibration method, apparatus, device, and storage medium. Background Art

[0002] Humidity sensors, as key detection components, are widely used in air conditioning, electrical appliances, industrial automation, and agricultural environmental monitoring. Existing humidity sensors mostly use a capacitive structure, and their detection results are easily affected by ambient temperature fluctuations. In particular, large humidity offsets can occur under high or low temperature conditions, affecting the accuracy and stability of sensor detection.

[0003] Currently, common techniques for correcting temperature-induced humidity deviations include parameter compensation algorithms, neural network-based learning correction methods, or built-in temperature compensation circuits. However, these solutions often rely on complex hardware circuits or extensive computing resources, increasing costs and system complexity, making them difficult to implement on a large scale in cost-sensitive and environmentally complex industrial and agricultural environments.

[0004] Therefore, at this stage, there is an urgent need for a humidity correction method that does not require high computing power, has a simple structure, and can be applied to humidity sensors of different models, so as to achieve accurate correction of humidity detection results under different temperature environments. Summary of the Invention

[0005] In view of this, in order to solve the above technical problems or part of the technical problems, embodiments of the present invention provide a humidity parameter correction method, device, equipment and storage medium.

[0006] In a first aspect, an embodiment of the present invention provides a humidity parameter calibration method, comprising:

[0007] Acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located;

[0008] calculating a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0009] determining a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one;

[0010] The first correction value is corrected according to the first humidity and the second humidity.

[0011] In one possible implementation, calculating the first humidity in the space according to the voltage, the first temperature, and the first correction value includes:

[0012] The first humidity is calculated according to the following formula:

[0013] RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature.

[0014] In one possible implementation, correcting the first correction value according to the first humidity and the second humidity includes:

[0015] determining whether a first difference between the first humidity and the second humidity is greater than a first threshold;

[0016] If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

[0017] In a possible implementation, after obtaining the corrected second correction value, the method further includes:

[0018] When a second difference between the second correction value and the first correction value is greater than a second threshold, generating first prompt information for display;

[0019] When the second difference between the second correction value and the first correction value is less than or equal to the second threshold value, the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located are executed at every preset time interval.

[0020] In one possible implementation, the method further includes:

[0021] If the first difference is less than or equal to the first threshold, performing the step of obtaining the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the device is located under multiple target operating conditions of the device;

[0022] If the first difference under each target operating condition is less than or equal to the first threshold, a second prompt message is generated for display.

[0023] In one possible implementation, the method further includes:

[0024] Comparing the second correction values ​​obtained after calibration under the same working conditions within multiple time periods;

[0025] When the comparison result indicates that the plurality of second correction values ​​are on an increasing trend, a third prompt message is generated for display.

[0026] In a second aspect, an embodiment of the present invention provides a humidity parameter correction device, comprising:

[0027] an acquisition module, configured to acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located;

[0028] a calculation module, configured to calculate a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0029] a determining module, configured to determine a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one;

[0030] A correction module is used to correct the first correction value according to the first humidity and the second humidity.

[0031] In a third aspect, an embodiment of the present invention provides an air conditioning device for implementing the method described in the first aspect, the air conditioning device comprising: a dry-bulb temperature sensing package, a wet-bulb temperature sensing package, a humidity sensor, and a processing unit;

[0032] The dry-bulb temperature sensing package is used to obtain a first temperature and send the first temperature to the processing unit;

[0033] The wet-bulb temperature sensor is used to obtain a second temperature and send the second temperature to the processing unit;

[0034] The humidity sensor is configured to send a voltage to the processing unit according to the humidity in the space where the air conditioning equipment is located;

[0035] The processing unit is configured to calibrate a first correction value of the humidity sensor according to the voltage, the first temperature, and the second temperature.

[0036] In a fourth aspect, an embodiment of the present invention provides a computer device, comprising: a processor and a memory, wherein the processor is configured to execute a humidity parameter correction program stored in the memory to implement the humidity parameter correction method described in any one of the first aspects above.

[0037] In a fifth aspect, an embodiment of the present invention provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the humidity parameter correction method described in any one of the first aspects above.

[0038] The humidity parameter correction scheme provided in an embodiment of the present invention obtains a first temperature of the dry-bulb temperature sensor, a second temperature of the wet-bulb temperature sensor, and a voltage and first correction value of the humidity sensor within the space where the device is located; calculates the first humidity within the space based on the voltage, the first temperature, and the first correction value; determines the second humidity corresponding to the first and second temperatures, with a one-to-one correspondence between the first, second, and second humidity; and corrects the first correction value based on the first and second humidity. This allows the correction value of the humidity sensor to be accurately adjusted based on the dry-bulb and wet-bulb temperatures and the humidity sensor voltage, thereby adjusting the humidity sensor parameters based on the accurate correction values ​​and improving the detection accuracy of the humidity sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic flow chart of a humidity parameter correction method provided by an embodiment of the present invention;

[0040] Figure 2 A schematic flow chart of another humidity parameter correction method provided by an embodiment of the present invention;

[0041] Figure 3 A schematic flow chart of another humidity parameter calibration method provided in an embodiment of the present invention;

[0042] Figure 4 A schematic flow chart of another humidity parameter correction method provided by an embodiment of the present invention;

[0043] Figure 5 A schematic structural diagram of a humidity parameter correction device provided by an embodiment of the present invention;

[0044] Figure 6 A schematic structural diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0046] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below with reference to the accompanying drawings. The embodiments do not limit the embodiments of the present invention.

[0047] Figure 1A flow chart of a humidity parameter correction method provided by an embodiment of the present invention is shown as follows: Figure 1 As shown, the method specifically includes:

[0048] S11. Acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located.

[0049] The humidity parameter correction method provided in the embodiment of the present invention can be applied to scenarios where space humidity is monitored, for example, the space where air conditioning equipment is located, and the monitoring process room (tobacco drying, fruit drying, medicine drying, etc.). The specific execution subject can be a computer device, which may include but is not limited to: servers, desktop computers, etc., to accurately adjust the correction value of the humidity sensor according to the temperature of the dry-bulb temperature sensor and the wet-bulb temperature sensor and the humidity sensor voltage.

[0050] In this embodiment, two sets of dry-bulb temperature sensing packages and wet-bulb temperature sensing packages and humidity sensors are pre-installed in the space where humidity needs to be detected, so as to record the temperature and humidity parameters during the process.

[0051] Specifically, during operation, the device needs to collect the following data in real time: The dry-bulb temperature sensor is used as the first temperature, reflecting the actual ambient temperature. A temperature sensor wrapped in wet gauze is used as the wet-bulb temperature sensor, and the wet-bulb temperature of the wet-bulb temperature sensor is obtained as the second temperature, indirectly reflecting the humidity in the air. Furthermore, the humidity sensor's output voltage is obtained, representing the raw electrical signal detected by the humidity sensor, typically as an analog value or digital voltage. Furthermore, the device obtains the first correction value (humidity parameter) corresponding to the current humidity sensor model through a table lookup or database query. This first correction value is an individual compensation value to correct for deviations in the humidity sensor due to manufacturing errors. The wet-bulb sensor is affected by both temperature and humidity. Before shipment, the device undergoes self-testing to obtain a standard temperature and humidity matrix S. When the humidity sensor is first produced, X standard points are tested and the first correction value C is calculated and stored in a memory chip.

[0052] Specifically, the first correction value is obtained by measuring the relationship between the humidity sensor's output voltage and the actual humidity value. Each humidity sensor has certain process variations before shipment, so a unified model cannot be used. Therefore, pre-shipment calibration is required. X standard point tests are performed under a controlled environment (e.g., in a test chamber with humidity levels of 30%, 50%, and 70%). The corresponding relationship between the humidity sensor's output voltage and the actual humidity value is measured. To calculate the corresponding correction value for the humidity sensor, a linear regression solution can be used: Substitute the standard points into a linear regression model, for example: Humidity = A * Voltage + B, and solve for coefficients A and B. Singular Value Decomposition (SVD): When there are many samples and the data is irregular, SVD is used to create a more robust fitting model. Result Storage: The correction value (or coefficient matrix) for each sensor is burned into or stored in the sensor chip or device controller chip at the factory. During runtime, the system uses this correction value to calculate the current sensor's output value, resulting in more accurate humidity results and improved detection accuracy across the entire temperature range. In this embodiment, since the humidity sensor may have new deviations or faults during use, it is necessary to calibrate the first correction value determined at the factory in real time to make the data detected by the humidity sensor more accurate.

[0053] S12. Calculate a first humidity in the space according to the voltage, the first temperature, and the first correction value.

[0054] In this embodiment, the first humidity is calculated according to the following formula:

[0055] RH = ((V0 - c) / (5.225 - 0.009Td) + 0.00112Td - 0.188) / 0.0062, where RH is the first humidity, that is, the relative humidity after the humidity sensor's detection value is corrected based on the existing first correction value. V0 is the output voltage of the humidity sensor, c is the first correction value, and Td is the first temperature. (5.225 - 0.009Td) is the denominator used to correct for changes in sensor sensitivity with temperature, (0.00112Td - 0.188) is the temperature drift term used to correct humidity based on temperature, and 0.0062 is the humidity unit conversion factor.

[0056] S13: Determine a second humidity corresponding to the first temperature and the second temperature.

[0057] In this embodiment, the humidity corresponding to different first temperatures and second temperatures is pre-constructed, and the corresponding relationship is stored. The first temperature, the second temperature and the second humidity correspond one to one. After determining the current first temperature and the second temperature, the second humidity can be determined from the stored corresponding relationship. The second humidity is used as a reference humidity for comparison with the first humidity.

[0058] The calculation method of the second humidity may include: using the first temperature Td and the second temperature Tw to calculate the reference second humidity RH2 through a preset dry-bulb formula, that is: RH2=f(Td,Tw)

[0059] Specifically, RH2=100×e(Tw)-γ(Td-Tw) / e(Td), where: e(T) is the saturated water vapor pressure at temperature T, in kPa; γ is the wet-bulb constant (approximately 0.00066×P), and P is the atmospheric pressure, in kPa. The Tetens formula for calculating saturated water vapor pressure is:

[0060] e(T)=6.112×exp(17.62×T / (243.12+T))

[0061] S14. Correct the first correction value according to the first humidity and the second humidity.

[0062] In this embodiment, the first humidity is the corrected humidity value output by the humidity sensor, and the second humidity is a more accurate humidity value in the current space. The first correction value is adjusted so that the first humidity and the second humidity are equal or the difference is less than the set threshold value to achieve correction of the first correction value. After correction, the second correction value is obtained. When the humidity sensor detects the humidity, the second correction value is used to correct the output voltage of the humidity sensor to make the humidity sensor more accurate.

[0063] The humidity parameter correction method provided in an embodiment of the present invention obtains a first temperature of a dry-bulb temperature sensor, a second temperature of a wet-bulb temperature sensor, and a voltage and a first correction value of a humidity sensor within a space where a device is located; calculates a first humidity within the space based on the voltage, the first temperature, and the first correction value; determines a second humidity corresponding to the first and second temperatures, with a one-to-one correspondence between the first, second, and second humidities; and corrects the first correction value based on the first and second humidities. Consequently, the correction value of the humidity sensor can be accurately adjusted based on the dry-bulb and wet-bulb temperatures and the humidity sensor voltage, thereby adjusting the humidity sensor parameters based on the accurate correction values ​​and improving the detection accuracy of the humidity sensor.

[0064] Figure 2 A flow chart of another humidity parameter correction method provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the method specifically includes:

[0065] S21, obtaining a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located;

[0066] S22. Calculating a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0067] S23: Determine a second humidity corresponding to the first temperature and the second temperature, where the first temperature, the second temperature, and the second humidity correspond one to one.

[0068] In this embodiment, steps S21-S23 are similar to steps S11-S13, and can be specifically referred to. Figure 1 For the sake of brevity, the relevant content will not be elaborated here.

[0069] S24. Determine whether a first difference between the first humidity and the second humidity is greater than a first threshold; if the first difference is greater than the first threshold, correct the first correction value so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

[0070] In this embodiment, the first difference ΔRH is calculated by obtaining the first humidity RH1 obtained based on the current first correction value c and the second humidity RH2 calculated using the dry-bulb temperature and wet-bulb temperature. The difference between the two is calculated as: ΔRH = |RH1-RH2|. A determination is made as to whether the first difference exceeds a preset first threshold δ (e.g., 3%, which can be set based on the specific sensor accuracy). If ΔRH > δ, the current first correction value c fails to meet the accuracy requirement. If ΔRH ≤ δ, the original correction value c is maintained without adjustment. If the first difference exceeds the first threshold, since the first humidity RH = ((V0-c) / (5.225-0.009Td) + 0.00112Td-0.188) / 0.0062, the correction value c is used as the unknown variable, and the formula is equated with the value of the second humidity RH2. A new second correction value c′ is derived, which is used to accurately equate the corrected first humidity to the second humidity.

[0071] Therefore, the effectiveness of the current correction can be judged by the difference between the first humidity and the second humidity; if it exceeds the allowable error range, the dry-bulb and wet-bulb humidity formula is used to reversely calculate the second correction value; thus, adaptive correction of sensor errors is achieved, which contributes to long-term stable operation.

[0072] In one possible embodiment, if the first difference is less than or equal to the first threshold, the steps of obtaining the first temperature of the dry-bulb temperature sensor, the second temperature of the wet-bulb temperature sensor, and the voltage and the first correction value of the humidity sensor in the space where the device is located are performed for multiple target operating conditions of the device; if the first difference under each target operating condition is less than or equal to the first threshold, a second prompt message is generated for display.

[0073] In this embodiment, if the first difference is less than or equal to the first threshold, it indicates that the current humidity sensor error is small, and the multi-condition verification process begins. Data is collected and judged for multiple target operating conditions. Multiple typical operating conditions are preset (such as different temperature and humidity combinations, wind speed variations, and different equipment operating modes). The following parameters are repeatedly collected under each operating condition: the first temperature, the second temperature, the humidity sensor voltage, and the first correction value. ΔRH is calculated for each target operating condition and compared with the first threshold. If ΔRH is ≤ the first threshold for all target operating conditions, it indicates that the current humidity sensor is in good condition and the correction value is accurate and stable. A second prompt message is generated, such as: "The humidity correction value is stable, and the sensor is operating normally." This is used for display or system recording. This verification under multiple operating conditions enhances the system's ability to determine the stability of the correction value, reduces unnecessary repeated calibration, and strengthens the system's self-test capabilities and sensor credibility feedback mechanism.

[0074] S25. When the second difference between the second correction value and the first correction value is greater than the second threshold, a first prompt message is generated for display; when the second difference between the second correction value and the first correction value is less than or equal to the second threshold, the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located are executed at every preset time interval.

[0075] In this embodiment, the second difference Δc is calculated, and the difference between the second correction value c′ and the first correction value c is compared: Δc=|c′-c|, and it is determined whether it exceeds the preset second threshold value. , if Δc> , indicating that the current correction value changes significantly, which may be caused by sensor abnormality or environmental mutation; if Δc≤ , it is considered that the correction value changes are normal and enters the periodic detection mode. The first prompt information is generated when the sensor is in operation. The prompt can be a text prompt, an alarm signal or a device log record. The specific content is, for example: "The humidity correction value offset is too large, please check the sensor status or recalibrate." It is used to remind the user or system to perform maintenance or review.

[0076] When it is judged that Δc≤ Time: Enters the timed detection mode and executes step S21 again at a preset interval (e.g., 5 minutes) to continuously calibrate the first correction value. This allows for timely detection of abnormalities such as drastic changes in the sensor correction value. Under normal conditions, regular calibration improves the long-term stability of the sensor, effectively reducing maintenance costs and false alarm rates.

[0077] In one possible implementation, a comparison is performed on the second correction values ​​obtained after correction under the same operating conditions within multiple time periods; when the comparison result indicates that the multiple second correction values ​​are on an increasing trend, a third prompt message is generated for display.

[0078] In this embodiment, during the operation of the device, multi-cycle data sampling is performed for the same target working condition (such as a constant temperature and humidity combination and operating mode); a round of humidity correction process is completed in each cycle to obtain the corresponding second correction value c′(t), where t represents the time cycle number; a correction value sequence is formed: {c′(1), c′(2), …, c′(n)}, and a trend analysis is performed on the correction value sequence. The differences between the cycles in the correction value sequence are compared to analyze whether there is a growth trend; the growth trend can be judged by the linear regression slope being greater than zero, the continuous difference being a positive number, or the moving average growth; for example: c′(2)-c′(1)>0, c′(3)-c′(2)>0, etc. When the trend judgment result is "increasing trend", the system automatically generates a third prompt message, such as: "The humidity correction value continues to rise, it is recommended to check the sensor aging or drift risk"; "Sensor performance may decline, it is recommended to maintain or replace it." A circular queue can be used to store correction values ​​over multiple cycles; a trend analysis module can be run after each calibration is completed; and prompt information can be output through pop-up windows on the front-end interface, log uploads, or device-side control signals. This allows for trend monitoring of long-term sensor accuracy, providing early warning before problems accumulate and leading to performance degradation, and reducing the risk of system misjudgment due to sensor aging.

[0079] The humidity parameter correction method provided by this invention effectively improves the detection accuracy of humidity sensors under different temperature conditions, resolving the existing issue of humidity detection being significantly affected by ambient temperature and prone to deviation. By integrating the one-to-one correspondence between dry-bulb and wet-bulb temperatures, a baseline humidity (second humidity) is established and compared with the first humidity output by the humidity sensor. When the difference exceeds a set threshold, the sensor's initial correction value is dynamically corrected to produce a more accurate second correction value. Furthermore, through historical multi-point correction trend analysis, the system can determine whether sensor performance is experiencing persistent drift and generate prompt information accordingly, enabling long-term monitoring and early warning of changes in sensor accuracy, significantly reducing maintenance costs and the risk of failure.

[0080] The embodiment of the present invention provides an air conditioning device for achieving the following Figure 1 and 2In the method shown, the air conditioning equipment includes: a dry-bulb temperature sensor, a wet-bulb temperature sensor, a humidity sensor, and a processing unit; the dry-bulb temperature sensor is used to obtain a first temperature and send the first temperature to the processing unit; the wet-bulb temperature sensor is used to obtain a second temperature and send the second temperature to the processing unit; the humidity sensor is used to send a voltage to the processing unit according to the humidity in the space where the air conditioning equipment is located; the processing unit is used to calibrate the first correction value of the humidity sensor according to the voltage, the first temperature, and the second temperature. The specific correction method is as follows Figure 1 and 2 The contents are similar, so for the sake of brevity, they will not be repeated here.

[0081] Figure 3 Another humidity parameter correction method provided by the embodiment of the present invention is as follows: Figure 3 As shown, the method specifically includes: after the unit is powered on, it first determines whether the dry-bulb temperature sensor is faulty (short-circuited / open-circuited). It then obtains the actual dry-bulb temperature Td and wet-bulb temperature Tw, as well as the humidity sensor voltage V0 and a first correction value c. The first humidity RH is calculated using a formula and compared with the second humidity RH2 = f(Td.Tw). If the values ​​are consistent or the difference between the two values ​​is less than or equal to a first threshold, a self-test program is executed (which can be several temperature and humidity comparison points under fixed operating conditions). The self-test may include: 1. The unit automatically starts operating, runs several specific operating conditions, and verifies whether X standard points are consistent with the actual measured values, determining whether the characteristic values ​​are consistent. 2. After the program is completed, a completion command is issued. If the values ​​are inconsistent or the difference between the two values ​​is greater than the first threshold, a second correction value c' is calculated when the first and second humidities are equal. The value c' is then evaluated. If the difference between c' and c is greater than the second threshold, the user is prompted to replace the sensor. If the difference is consistent, the test program is executed again until the device self-test is completed and the user is prompted.

[0082] Figure 4 Another humidity parameter correction method provided by an embodiment of the present invention includes: before executing the acquisition of the first temperature of the dry-bulb temperature sensor package, the second temperature of the wet-bulb temperature sensor package, and the voltage and first correction value of the humidity sensor in the space where the equipment is located, when the unit in the space starts to operate, the dry-bulb temperature sensor package monitors the dry-bulb temperature Td in real time, and the humidity sensor detects the feedback voltage V0 in real time, and determines whether Td and V0 are within a preset range. If so, the unit operates normally, and the relative humidity (first humidity RH) is calculated based on the feedback voltage value, and the accurate first humidity is output for supply to the unit. If not, the unit stops operating and feedback is given for the corresponding fault.

[0083] Figure 5 A schematic diagram of the structure of a humidity parameter correction device provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the device specifically includes:

[0084] An acquisition module 51 is configured to acquire a first temperature of a dry-bulb temperature sensor package, a second temperature of a wet-bulb temperature sensor package, and a voltage and a first correction value of a humidity sensor within a space where the device is located;

[0085] a calculation module 52, configured to calculate a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0086] A determination module 53 is configured to determine a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one;

[0087] The correction module 54 is configured to correct the first correction value according to the first humidity and the second humidity.

[0088] In one possible implementation, the calculation module is specifically configured to calculate the first humidity according to the following formula:

[0089] RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature.

[0090] In one possible implementation, the correction module is specifically configured to determine whether a first difference between the first humidity and the second humidity is greater than a first threshold;

[0091] If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

[0092] In one possible implementation, the generating module 55 is configured to generate first prompt information for display when a second difference between the second correction value and the first correction value is greater than a second threshold;

[0093] The acquisition module is further configured to, when a second difference between the second correction value and the first correction value is less than or equal to a second threshold value, execute the acquisition of the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located at intervals of a preset duration.

[0094] In one possible implementation, the acquisition module is further configured to, if the first difference is less than or equal to the first threshold, execute the step of acquiring the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and first correction value of the humidity sensor in the space where the device is located under multiple target operating conditions of the device;

[0095] The generation module is further configured to generate second prompt information for display if the first difference under each target operating condition is less than or equal to the first threshold.

[0096] In a possible implementation, the generating module is further configured to compare the second correction values ​​obtained after correction under the same operating conditions within multiple time periods;

[0097] When the comparison result indicates that the plurality of second correction values ​​are on an increasing trend, a third prompt message is generated for display.

[0098] The device provided in this embodiment can be Figure 5 The device shown in , can perform the following Figure 1-2 All steps of the humidity parameter correction method are achieved Figure 1-2 For details on the technical effects of the humidity parameter correction method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description will not be repeated here.

[0099] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention is provided. Figure 6 The computer device 600 shown includes: at least one processor 601, memory 602, at least one network interface 604 and other user interfaces 603. The various components in the computer device 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 605 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 605 is not described in detail. Figure 6 Various buses are labeled as bus system 605.

[0100] The user interface 603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).

[0101] It is understood that the memory 602 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0102] In some embodiments, the memory 602 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 6021 and application programs 6022 .

[0103] The operating system 6021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and handling hardware-based tasks. Application programs 6022 include various application programs, such as a media player and a browser, for implementing various application services. Programs implementing the methods of the embodiments of the present invention may be included in application programs 6022.

[0104] In an embodiment of the present invention, by calling a program or instruction stored in the memory 602, specifically, a program or instruction stored in the application 6022, the processor 601 is configured to execute the method steps provided in each method embodiment, for example, including:

[0105] Acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located;

[0106] calculating a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0107] determining a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one;

[0108] The first correction value is corrected according to the first humidity and the second humidity.

[0109] In one possible implementation, the first humidity is calculated according to the following formula:

[0110] RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature.

[0111] In one possible implementation, determining whether a first difference between the first humidity and the second humidity is greater than a first threshold;

[0112] If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

[0113] In one possible implementation, when a second difference between the second correction value and the first correction value is greater than a second threshold, first prompt information is generated for display;

[0114] When the second difference between the second correction value and the first correction value is less than or equal to the second threshold value, the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located are executed at every preset time interval.

[0115] In one possible implementation, if the first difference is less than or equal to the first threshold, the step of obtaining the first temperature of the dry-bulb temperature sensor package, the second temperature of the wet-bulb temperature sensor package, and the voltage and first correction value of the humidity sensor in the space where the device is located is performed for multiple target operating conditions of the device.

[0116] If the first difference under each target operating condition is less than or equal to the first threshold, a second prompt message is generated for display.

[0117] In one possible implementation, comparison is performed on the second correction values ​​obtained after correction under the same operating conditions within multiple time periods;

[0118] When the comparison result indicates that the plurality of second correction values ​​are on an increasing trend, a third prompt message is generated for display.

[0119] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 601. Processor 601 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 601 or by software instructions. The above processor 601 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 602 , and the processor 601 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.

[0120] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.

[0121] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0122] The computer device provided in this embodiment may be Figure 6 The device shown in , can perform Figure 1-2 All steps of the humidity parameter correction method are achieved Figure 1-2 For details on the technical effects of the humidity parameter correction method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description will not be repeated here.

[0123] Embodiments of the present invention also provide a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid-state drive; or a combination of the aforementioned types of memory.

[0124] When one or more programs in the storage medium can be executed by one or more processors, the humidity parameter correction method executed on the device side can be implemented.

[0125] The processor is configured to execute a humidity parameter correction program stored in the memory to implement the following steps of a humidity parameter correction method executed on the device side:

[0126] Acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located;

[0127] calculating a first humidity in the space according to the voltage, the first temperature, and the first correction value;

[0128] determining a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one;

[0129] The first correction value is corrected according to the first humidity and the second humidity.

[0130] In one possible implementation, the first humidity is calculated according to the following formula:

[0131] RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature.

[0132] In one possible implementation, determining whether a first difference between the first humidity and the second humidity is greater than a first threshold;

[0133] If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

[0134] In one possible implementation, when a second difference between the second correction value and the first correction value is greater than a second threshold, first prompt information is generated for display;

[0135] When the second difference between the second correction value and the first correction value is less than or equal to the second threshold value, the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located are executed at every preset time interval.

[0136] In one possible implementation, if the first difference is less than or equal to the first threshold, the step of obtaining the first temperature of the dry-bulb temperature sensor package, the second temperature of the wet-bulb temperature sensor package, and the voltage and first correction value of the humidity sensor in the space where the device is located is performed for multiple target operating conditions of the device.

[0137] If the first difference under each target operating condition is less than or equal to the first threshold, a second prompt message is generated for display.

[0138] In one possible implementation, comparison is performed on the second correction values ​​obtained after correction under the same operating conditions within multiple time periods;

[0139] When the comparison result indicates that the plurality of second correction values ​​are on an increasing trend, a third prompt message is generated for display.

[0140] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0141] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0142] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A humidity parameter correction method, characterized in that: include: Acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located; Calculating a first humidity in the space according to the voltage, the first temperature, and the first correction value includes: The first humidity is calculated according to the following formula: RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature; determining a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one; Correcting the first correction value according to the first humidity and the second humidity includes: determining whether a first difference between the first humidity and the second humidity is greater than a first threshold; If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

2. The method according to claim 1, characterized in that After obtaining the corrected second correction value, the method further includes: When a second difference between the second correction value and the first correction value is greater than a second threshold, generating first prompt information for display; When the second difference between the second correction value and the first correction value is less than or equal to the second threshold value, the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the acquisition device is located are executed at every preset time interval.

3. The method according to claim 1, characterized in that The method further comprises: If the first difference is less than or equal to the first threshold, performing the step of obtaining the first temperature of the dry-bulb temperature sensing package, the second temperature of the wet-bulb temperature sensing package, and the voltage and the first correction value of the humidity sensor in the space where the device is located under multiple target operating conditions of the device; If the first difference under each target operating condition is less than or equal to the first threshold, a second prompt message is generated for display.

4. The method according to claim 1, wherein The method further comprises: Comparing the second correction values ​​obtained after calibration under the same working conditions within multiple time periods; When the comparison result indicates that the plurality of second correction values ​​are on an increasing trend, a third prompt message is generated for display.

5. A humidity parameter correction device, characterized in that: include: an acquisition module, configured to acquire a first temperature of a dry-bulb temperature sensing package, a second temperature of a wet-bulb temperature sensing package, and a voltage and a first correction value of a humidity sensor in a space where the device is located; a calculation module, configured to calculate a first humidity in the space according to the voltage, the first temperature, and the first correction value; a determining module, configured to determine a second humidity corresponding to the first temperature and the second temperature, wherein the first temperature, the second temperature, and the second humidity correspond one to one; a correction module, configured to correct the first correction value according to the first humidity and the second humidity; The calculation module is specifically configured to calculate the first humidity according to the following formula: RH=((V0-c) / (5.225-0.009Td)+0.00112Td-0.188) / 0.0062, where RH is the first humidity, V0 is the voltage, c is the first correction value, and Td is the first temperature; The correction module is specifically configured to determine whether a first difference between the first humidity and the second humidity is greater than a first threshold; If the first difference is greater than the first threshold, the first correction value is corrected so that the first humidity is equal to the second humidity, thereby obtaining a corrected second correction value.

6. An air conditioning device, characterized in that: For implementing the method according to claim 1, the air conditioning equipment comprises: a dry-bulb temperature sensing package, a wet-bulb temperature sensing package, a humidity sensor, and a processing unit; The dry-bulb temperature sensing package is used to obtain a first temperature and send the first temperature to the processing unit; The wet-bulb temperature sensor is used to obtain a second temperature and send the second temperature to the processing unit; The humidity sensor is configured to send a voltage to the processing unit according to the humidity in the space where the air conditioning equipment is located; The processing unit is configured to calibrate a first correction value of the humidity sensor according to the voltage, the first temperature, and the second temperature.

7. A computer device, characterized in that: include: A processor and a memory, wherein the processor is configured to execute a humidity parameter correction program stored in the memory to implement the humidity parameter correction method according to any one of claims 1 to 4.

8. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the humidity parameter correction method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Humidity sensor numerical value compensation method, device, and air quality detector

    CN104067120A

  • Electronic hygrometer humidity calibration equipment and calibration method thereof

    CN116148314A