Gas concentration correction method and device for air conditioner

By making corrections based on the gas concentration, temperature or humidity difference after the air conditioner switches to the operating state, and using the product of the weight coefficient and the correction value for smoothing, the problem of the gas sensor in the air conditioner being disturbed by temperature and humidity is solved, and the output accuracy is improved.

CN115343415BActive Publication Date: 2025-10-14GUANGDONG MIDEA WHITE HOME APPLIANCE TECH INNOVATION CENT CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210708728.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2025-10-14
Estimated Expiration
2042-06-21

AI Technical Summary

Technical Problem

The gas sensor in the air conditioner is affected by the fluctuations in ambient temperature and humidity, which affects the output and causes a decrease in output accuracy. This is especially noticeable when the air conditioner is turned on or off or when the operating mode is changed.

Method used

By obtaining the gas concentration difference, temperature difference or humidity difference between the current time and the previous time, the gas concentration value is corrected, and smoothing is performed using the product of the weight coefficient and the correction value to gradually eliminate abnormal fluctuations caused by temperature and humidity changes.

Benefits of technology

The output accuracy of the gas sensor is improved, the sudden change of gas concentration caused by rapid changes in temperature and humidity is reduced, and the anti-interference ability of the sensor is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115343415B_ABST
    Figure CN115343415B_ABST
Patent Text Reader

Abstract

The application discloses a gas concentration correction method and device for an air conditioner. The gas concentration correction method for the air conditioner comprises the following steps: acquiring a gas concentration value at a current time; and correcting the gas concentration value to obtain a corrected concentration value based on a gas concentration difference, a temperature difference or a humidity difference between the current time and a previous time within a preset time period after the air conditioner switches the operation state. The application can improve the output accuracy of the sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air-conditioning equipment, and in particular to a gas concentration correction method and device for air-conditioning. Background Art

[0002] Air conditioners are typically equipped with gas sensors to detect carbon dioxide concentrations, leaked refrigerant gas concentrations, methanol concentrations, and other indicators. However, due to their inherent sensitivity, gas sensors are susceptible to interference from ambient temperature and humidity fluctuations, affecting output accuracy. While these effects can be mitigated through sensor-sensitive materials, hardware design, and software algorithms, the rapid fluctuations in temperature and humidity within the air conditioner during the short time it's turned on and off make existing sensor-based compensation methods very limited in their ability to withstand these interferences, leading to erratic sensor output. Summary of the Invention

[0003] The present application provides a gas concentration correction method and device for air conditioning, which can improve the accuracy of sensor output.

[0004] To achieve the above objectives, the present application provides a gas concentration correction method for air conditioning, the method comprising:

[0005] Get the gas concentration value at the current time;

[0006] Within a preset time period after the air conditioner switches to an operating state, the gas concentration value is corrected based on the gas concentration difference, temperature difference, or humidity difference between the current time and the previous time to obtain a corrected concentration value.

[0007] The step of correcting the gas concentration value based on the gas concentration difference, temperature difference, or humidity difference between the current time and the previous time within a preset time period after the air conditioner switches to the operating state includes:

[0008] The correction value is updated based on the difference in gas concentration between the current time and the previous time;

[0009] The difference between the gas concentration value and the correction value is used as the correction concentration value to smooth the gas concentration within a preset time period after the air conditioner switches to the operating state.

[0010] The step of updating the correction value based on the gas concentration difference between the current time and the previous time includes:

[0011] When the difference in gas concentration between the current time and the previous time is greater than a threshold, the correction value is updated to the sum of the product of the gas concentration difference and the weight coefficient and the correction value;

[0012] When the difference in gas concentration between the current time and the previous time is less than or equal to the threshold, the correction value remains unchanged.

[0013] wherein the preset time period after the air conditioner switches the operation state is divided into n sub preset time periods;

[0014] The weight coefficient of the a-th sub preset time period is greater than the weight coefficient of the b-th sub preset time period, wherein a and b are both integers greater than 0 and less than or equal to n, and a is less than b.

[0015] The method further comprises:

[0016] After the preset time period after the air conditioner switches the operation state, the difference between the gas concentration value and the correction value is taken as a corrected concentration value.

[0017] wherein the absolute value of the correction value gradually decreases to 0 until the preset time period after the air conditioner switches the operation state.

[0018] The step of obtaining the gas concentration value at the current time comprises:

[0019] obtaining a gas concentration detection value at the current time;

[0020] Compensating the gas concentration detection value at the current time by using the humidity or temperature at the current time to obtain the gas concentration value at the current time.

[0021] wherein the step of correcting the gas concentration value based on the gas concentration difference, the temperature difference or the humidity difference between the current time and the previous time during the preset time period after the air conditioner switches the operation state comprises:

[0022] correcting the temperature at the current time based on the temperature difference between the current time and the previous time to obtain a corrected temperature value;

[0023] temperature-compensating the gas concentration value by using the corrected temperature value to obtain a corrected concentration value.

[0024] wherein the step of correcting the gas concentration value based on the gas concentration difference, the temperature difference or the humidity difference between the current time and the previous time during the preset time period after the air conditioner switches the operation state comprises:

[0025] calculating the absolute humidity at the current time based on the temperature and the relative humidity at the current time;

[0026] correcting the absolute humidity based on the absolute humidity difference between the current time and the previous time to obtain a corrected humidity value;

[0027] temperature-compensating the gas concentration value by using the corrected humidity value to obtain a corrected concentration value.

[0028] To achieve the above object, the application further provides an air conditioner, which comprises a processor and a gas sensor coupled with each other; the processor is used for executing instructions to realize the above method.

[0029] To achieve the above object, the application further provides a computer readable storage medium, which is used for storing instructions / program data, the instructions / program data can be executed to realize the above method.

[0030] The application acquires the gas concentration value of the current time detected by the gas sensor of the air conditioner, so as to correct the gas concentration value based on the gas concentration difference, temperature difference or humidity difference between the current time and the last time in the case that the air conditioner is in the preset time period after switching to the running state at the current time, so as to solve the problem of abnormal output of the gas concentration value detected by the gas sensor due to the sharp change of temperature and humidity caused by the air conditioner switching to the running state (such as starting, shutting down or changing the running mode, etc.), and the gas concentration correction method of the application is independent of the sensor itself and has the sensor universality. BRIEF DESCRIPTION OF DRAWINGS

[0031] The accompanying drawings, which are included to provide a further understanding of the application and constitute a part of this application, illustrate certain illustrative embodiments of the application and together with the description serve to explain the application. In the drawings:

[0032] Figure 1 is a flowchart of an embodiment of the gas concentration correction method for air conditioner of the application;

[0033] Figure 2 is a structural schematic diagram of an embodiment of the air conditioner of the application;

[0034] Figure 3 is a structural schematic diagram of an embodiment of the computer readable storage medium of the application. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the application will be clearly and completely described below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only a part of the embodiments of the application, but not all the embodiments of the application. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the application. In addition, unless otherwise specified (such as "or in addition" or "or in the alternative"), the term "or" as used herein refers to non-exclusive "or" (i.e., "and / or"). And the various embodiments described herein are not necessarily mutually exclusive, because some embodiments can be combined with one or more other embodiments to form new embodiments.

[0036] Specifically,Figure 1 As shown, the gas concentration correction method for air conditioning of this embodiment includes the following steps. It should be noted that the following step numbers are only used to simplify the description and are not intended to limit the order of execution of the steps. The steps of this embodiment can be changed in any order without violating the technical concept of this application.

[0037] S101: Obtain the gas concentration value at the current time.

[0038] S102: Within a preset time period after the air conditioner switches to an operating state, the gas concentration value is corrected based on the gas concentration difference, temperature difference, or humidity difference between the current time and the previous time to obtain a corrected concentration value.

[0039] The gas concentration value detected by the gas sensor on the air conditioner at the current time can be obtained, so that when the current moment is within a preset time period after the air conditioner switches to the operating state, the gas concentration value can be corrected based on the gas concentration difference, temperature difference or humidity difference between the current time and the previous time. This can solve the problem of abnormal output of the gas concentration value detected by the gas sensor due to sudden changes in temperature and humidity caused by the switching of the air conditioner operating state (such as turning on, off or changing the operating mode, etc.). Moreover, the gas concentration correction method of the present application does not rely on the characteristics of the sensor itself and has sensor versatility.

[0040] In one implementation, if the current moment is within a preset time period after the air conditioner switches to an operating state, in step S120, the gas concentration difference between the gas concentration value at the current time and the gas concentration value at the previous time can be calculated, and the gas concentration value at the current time can be corrected based on the gas concentration difference to smooth the gas concentration value within the preset time period after the air conditioner switches to an operating state, so that the corrected gas concentration value changes smoothly, eliminating the situation where the gas concentration value changes suddenly due to a sharp change in temperature and humidity.

[0041] The "gas concentration value" in this embodiment may be the gas concentration value detected by the gas sensor, or may be a value obtained by processing the gas concentration value detected by the gas sensor. For example, the gas concentration value may be a value obtained by performing temperature and humidity compensation on the gas concentration value.

[0042] Furthermore, if multiple gas concentration detection values ​​are collected during both the current time period and the previous time period, the current time period's gas concentration detection value may be the average of the multiple gas concentration detection values ​​collected during the current time period, and the previous time period's gas concentration detection value may be the average of the multiple gas concentration detection values ​​collected during the previous time period. The current time period and the previous time period have the same duration, i.e., both are equal to the duration of the time period during which the gas concentration detection values ​​are collected. The duration of the time period during which the gas concentration detection values ​​are collected can be set based on actual circumstances and is not limited here; for example, it can be 1 second or 2 seconds. For example, assuming that the gas sensor collects gas concentration detection values ​​every 100 ms and the time period during which the gas concentration detection values ​​are collected is 1 second, the average of the 10 gas concentration detection values ​​collected during the current time period can be used as the gas concentration detection value for the current time period, and the average of the 10 gas concentration detection values ​​collected during the previous time period can be used as the gas concentration detection value for the previous time period. Furthermore, the possibility exists that only one gas concentration detection value is collected during the current time period. In this case, the single gas concentration detection value collected during the current time period can be used as the gas concentration detection value for the current time period.

[0043] In addition, when the gas concentration value referred to in this application is a value obtained after temperature and humidity compensation of the gas concentration detection value, the gas concentration detection value can be temperature compensated or humidity compensated using the current temperature or humidity to obtain the gas concentration value at the current time. If multiple temperature detections are performed within the current time period, the average of the multiple temperatures detected within the current time period can be used as the temperature at the current time. If multiple humidity detections are performed within the current time period, the average of the multiple humidity measurements within the current time period can be used as the humidity at the current time.

[0044] The above-mentioned step of "using the current temperature or the current humidity to perform humidity compensation on the gas concentration detection value" may include: calculating the absolute humidity AbH at the current time based on the current temperature T and the current humidity RH; performing humidity compensation on the gas concentration detection value at the current time based on the compensation curve (E-Abh) and the absolute humidity at the current time to obtain the gas concentration value at the current time.

[0045] Furthermore, the present application introduces a correction value L in the gas concentration correction method, and calculates the correction value by the gas concentration difference between the gas concentration value at the current time and the gas concentration value at the previous time, so as to accumulate and calculate the abnormal fluctuation by the correction value, and then uses the difference between the gas concentration value at the current moment and the correction value as the corrected concentration value, so that the difference between the corrected gas concentration value and the actual gas concentration value becomes smaller, which can solve the problem of abnormal gas concentration value output detected by the gas sensor due to the rapid changes in temperature and humidity caused by the switching of the air conditioner operating state.

[0046] The method for calculating the correction value L may include: when the difference in gas concentration between the current time and the previous time is greater than a threshold, updating the correction value to the sum of the product of the gas concentration difference and the weight coefficient and the correction value; and when the difference in gas concentration between the current time and the previous time is less than the threshold, the correction value remains unchanged. In this way, abnormal fluctuations can be accumulated and calculated through the correction value, so that the corrected gas concentration value changes smoothly, eliminating the problem of sudden changes in gas concentration value due to rapid changes in temperature and humidity. The threshold value can be set according to actual conditions and is not limited here. For example, if the detected gas is refrigerant gas, the threshold value can be 10 or 12.

[0047] The weight coefficient can be set according to actual conditions and is not limited here.

[0048] Additionally, the weight coefficient used may vary within the preset time period after the air conditioner switches its operating state. For example, the preset time period after the air conditioner switches its operating state is divided into n sub-preset time periods, and the weight coefficients for different sub-preset time periods may be different. Preferably, the weight coefficient for the ath sub-preset time period is greater than the weight coefficient for the bth sub-preset time period, where a and b are both integers greater than 0 and less than or equal to n, and a is less than b. This allows for the reduction of the temperature and humidity fluctuations as time passes after the air conditioner switches its operating state, so that the corrected gas concentration value reflects the actual gas concentration value. The value n can be set based on actual circumstances and is not limited here; for example, it can be 4 or 6. Furthermore, the division method of the preset time period after the air conditioner switches its operating state is not limited. For example, the preset time period after the air conditioner switches its operating state can be divided into n sub-preset time periods of equal length, or the n sub-preset time periods can be of unequal length.

[0049] In a specific example, assuming that the length of the preset time period is 400s, the preset time period after the air conditioner switches to the operating state can be divided into four sub-preset time periods of equal length, where, as shown in Table 1, the weight coefficient B of the first sub-preset time period (0≤t<100) is 70%, the weight coefficient B of the second sub-preset time period (100≤t<200) is 60%, the weight coefficient B of the third sub-preset time period (200≤t<300) is 50%, and the weight coefficient B of the fourth sub-preset time period (300≤t<400) is 40%.

[0050] Table 1: Weight coefficient table for each sub-preset time period

[0051] t 0≤t<100 100≤t<200 200≤t<300 300≤t<400 B 70% 60% 50% 40%

[0052] After the gas concentration value in the preset time period after the air conditioner switching operation state is corrected based on the above method, that is, if the current time is after the preset time period after the air conditioner switching operation state, the corrected value can be used to correct the gas concentration value at the current time. In addition, based on the fact that the measurement gas concentration fluctuates due to the air conditioner switching mode, and the gas concentration gradually returns to the normal level as time increases, that is, the gas concentration value and the true value of the gas concentration are approximately equal after a period of time after the air conditioner switching mode, the absolute value of the correction value gradually decreases to zero after the preset time period after the air conditioner switching operation state, so that the corrected concentration value processed by the correction value is equal to the true value of the gas concentration.

[0053] More preferably, the method of "updating the correction value to the difference between the correction value and the normal fluctuation value every first time" can be used, so that the absolute value of the correction value gradually decreases to zero after the preset time period after the air conditioner switching operation state. The first time can be set according to actual conditions, which is not limited herein, for example, it can be 1s or 3s, etc. The normal fluctuation value refers to the average fluctuation amplitude of the gas concentration every first time under normal circumstances.

[0054] In addition, the current running state of the air conditioner can be continuously queried, and the cumulative duration t of the air conditioner in the current running state is counted, and then it can be determined whether the air conditioner is in the preset time period after the switching operation state by judging whether the cumulative duration t is less than the preset time threshold. In addition, the cumulative duration t can be used to determine in which sub-preset time period the current time is, so as to confirm the weight coefficient of the current time.

[0055] In order to more accurately correct the gas concentration value, the time length of the preset time period corresponding to each running state can be set according to actual conditions, which is not limited, for example, the time length of the preset time period corresponding to the shutdown can be 400s, and the time length of the preset time period corresponding to the startup can be 350s.

[0056] In another implementation, if the current time is in the preset time period after the air conditioner switching operation state, in step S120, the temperature difference between the temperature at the current time and the temperature at the last time can be calculated, and the temperature at the current time is corrected based on the temperature difference to obtain a corrected temperature value. Then, the gas concentration value is temperature-compensated using the corrected temperature value at the current time to obtain a corrected concentration value, so as to smooth the temperature in the preset time period after the air conditioner switching operation state, so that the compensated gas concentration value changes gently, and the condition that the gas concentration value suddenly changes due to the sharp change of temperature and humidity is eliminated.

[0057] The "gas concentration value" mentioned in this implementation method may be the gas concentration detection value detected by the gas sensor. The current time refers to a period of time. If multiple gas concentration detection values ​​are collected during the current time period, the gas concentration detection value of the current time may be the average value of the multiple gas concentration detection values ​​collected during the current time period. The length of the current time can be set according to actual conditions and is not limited here. For example, it may be 1s or 2s. For example, assuming that the gas sensor collects a gas concentration detection value every 100ms and the length of the current time is 1s, the average value of the 10 gas concentration detection values ​​detected during the current time period may be used as the gas concentration detection value of the current time.

[0058] Furthermore, the present application introduces a first correction value N in the gas concentration correction method, calculates the first correction value by the temperature difference between the current temperature and the previous temperature, accumulates and calculates abnormal temperature fluctuations by the first correction value, and then uses the difference between the current temperature and the first correction value as the corrected temperature, so that the difference between the corrected temperature and the actual temperature becomes smaller, which can solve the problem of abnormal gas concentration value output by the gas sensor due to the rapid changes in temperature and humidity caused by the switching of the air conditioner operating state.

[0059] The method for calculating the first correction value N may include: when the temperature difference between the current time and the previous time is greater than a first threshold, updating the first correction value to the sum of the product of the temperature difference and the first weight coefficient and the first correction value; and when the temperature difference between the current time and the previous time is less than the first threshold, the first correction value remains unchanged. In this way, abnormal temperature fluctuations can be accumulated and calculated using the first correction value, so that the corrected temperature changes smoothly, eliminating the problem of sudden changes in gas concentration values ​​due to rapid changes in temperature and humidity. The first threshold can be set according to actual conditions and is not limited here. For example, if the detected gas is refrigerant gas, the first threshold can be 5°C.

[0060] In another implementation, if the current moment is within a preset time period after the air conditioner switches to the operating state, in step S120, the absolute humidity at the current time can be calculated based on the temperature and relative humidity at the current time, and then the humidity difference between the absolute humidity at the current time and the absolute humidity at the previous time is calculated, and the absolute humidity at the current time is corrected based on the humidity difference to obtain a corrected humidity value, and then the gas concentration value is humidity compensated using the corrected humidity value at the current time to obtain a corrected concentration value, so as to smooth the absolute humidity within the preset time period after the air conditioner switches to the operating state, so as to compensate the gas concentration value based on the smoothed absolute humidity, so that the compensated gas concentration value changes smoothly, eliminating the problem of sudden changes in gas concentration value due to rapid changes in temperature and humidity.

[0061] The "gas concentration value" mentioned in this implementation method may be the gas concentration detection value detected by the gas sensor. The current time refers to a period of time. If multiple gas concentration detection values ​​are collected during the current time period, the gas concentration detection value of the current time may be the average value of the multiple gas concentration detection values ​​collected during the current time period. The length of the current time can be set according to actual conditions and is not limited here. For example, it may be 1s or 2s. For example, assuming that the gas sensor collects a gas concentration detection value every 100ms and the length of the current time is 1s, the average value of the 10 gas concentration detection values ​​detected during the current time period may be used as the gas concentration detection value of the current time.

[0062] Furthermore, the present application introduces a second correction value M into the gas concentration correction method, and calculates the second correction value by the humidity difference between the absolute humidity at the current time and the absolute humidity at the previous time, so as to accumulate and calculate the abnormal humidity fluctuation through the second correction value, and then uses the difference between the absolute humidity at the current moment and the second correction value as the corrected humidity value, so that the difference between the corrected humidity and the actual humidity becomes smaller, which can solve the problem of the gas concentration value output by the gas sensor due to the sharp changes in temperature and humidity caused by the switching of the air conditioner operating state.

[0063] The method for calculating the second correction value M may include: when the humidity difference between the current time and the previous time is greater than a second threshold, updating the second correction value to the sum of the product of the humidity difference and the second weight coefficient and the second correction value; and when the humidity difference between the current time and the previous time is less than the second threshold, the second correction value remains unchanged. In this way, abnormal humidity fluctuations can be accumulated and calculated using the second correction value, so that the corrected humidity changes smoothly, eliminating the situation where the gas concentration value suddenly changes due to rapid changes in temperature and humidity. The second threshold can be set according to actual conditions and is not limited here. For example, if the detected gas is refrigerant gas, the second threshold can be 5°C.

[0064] The gas concentration correction method of the present application can be used to correct the gas concentration detection values ​​detected by various gas sensors that are easily affected by temperature and humidity, such as semiconductor sensors and catalytic combustion sensors. In addition, the above-mentioned gas sensors can also output the corrected gas concentration values ​​for the processor to receive and process.

[0065] The gas concentration correction method of the present application can be used to correct the refrigerant gas concentration, carbon dioxide concentration or methanol concentration detected by the gas sensor, and of course the concentrations of other types of gases can also be corrected.

[0066] In addition, based on the above method, the refrigerant gas concentration outside the refrigerant pipeline is corrected, and it is determined whether the corrected refrigerant gas concentration is greater than the refrigerant gas concentration threshold value; if so, it is determined that the refrigerant gas leaks, an alarm can be issued, and the harm to the personal safety and property safety of the user caused by the refrigerant gas leakage can be avoided. The refrigerant gas concentration value corrected by the above method is closer to the real value of the refrigerant gas concentration, and the output is more accurate. Therefore, the risk of false alarm can be reduced based on the corrected refrigerant gas concentration value.

[0067] Referring to Figure 2 , Figure 2 is a structural schematic diagram of an embodiment of the air conditioner 20. The air conditioner 20 includes a gas sensor 23 and a processor 22 coupled to each other. The processor 22 is configured to execute instructions to implement the method provided by any of the above embodiments of the present application and any non-conflicting combination thereof.

[0068] The air conditioner 20 can be a wall-mounted air conditioner, a cabinet air conditioner, a central air conditioner, or an air conditioner fresh air equipment, etc., which is not limited herein.

[0069] The processor 22 can also be referred to as a CPU (Central Processing Unit). The processor 22 can be an integrated circuit chip having a signal processing capability. The processor 22 can also 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 device, a discrete gate or transistor logic device, a discrete hardware component. The general-purpose processor can be a microprocessor, or the processor 22 can also be any conventional processor.

[0070] The air conditioner 20 can further include a memory 21 for storing instructions and data required for the processor 22 to run.

[0071] Referring to Figure 3 , Figure 3Schematic diagram of the structure of the computer-readable storage medium in the embodiment of the present application. The computer-readable storage medium 30 of the embodiment of the present application stores instruction / program data 31, which, when executed, implements the method provided by any embodiment of the above-mentioned method of the present application and any non-conflicting combination. Among them, the instruction / program data 31 can form a program file and be stored in the above-mentioned storage medium 30 in the form of a software product, so that a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) executes all or part of the steps of the various embodiments of the present application. The aforementioned storage medium 30 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a computer, server, mobile phone, tablet and other devices.

[0072] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0073] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0074] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0075] The above merely describes the embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the present application specification and drawings, is also included in the patent protection scope of the present application.

Claims

1. A gas concentration correction method for air conditioning, characterized in that: The method comprises: Get the gas concentration value at the current time; Within a preset time period after the air conditioner switches to an operating state, the gas concentration value is corrected based on the gas concentration difference, temperature difference, or humidity difference between the current time and the previous time to obtain a corrected concentration value; The step of correcting the gas concentration value based on the gas concentration difference, temperature difference or humidity difference between the current time and the previous time within a preset time period after the air conditioner switches to the operating state includes: The correction value is updated based on the difference in gas concentration between the current time and the previous time; Using the difference between the gas concentration value and the correction value as the correction concentration value to smooth the gas concentration within a preset time period after the air conditioner switches to an operating state; The step of updating the correction value based on the gas concentration difference between the current time and the previous time includes: When the difference in gas concentration between the current time and the previous time is greater than a threshold, updating the correction value to the sum of the product of the gas concentration difference and the weight coefficient and the correction value; When the difference in gas concentration between the current time and the previous time is less than or equal to the threshold, the correction value remains unchanged; Alternatively, the step of correcting the gas concentration value based on the gas concentration difference, temperature difference, or humidity difference between the current time and the previous time within a preset time period after the air conditioner switches to the operating state includes: Calculate the absolute humidity at the current time based on the temperature and relative humidity at the current time; Correcting the absolute humidity based on the absolute humidity difference between the current time and the previous time to obtain a corrected humidity value; The gas concentration value is temperature compensated using the corrected humidity value to obtain the corrected concentration value.

2. The correction method according to claim 1, wherein: The preset time period after the air conditioner switches to the operating state is divided into n sub-preset time periods; The weight coefficient of the ath sub-preset time period is greater than the weight coefficient of the bth sub-preset time period, wherein a and b are both integers greater than 0 and less than or equal to n, and a is less than b.

3. The correction method according to claim 1, wherein: The method further comprises: After a preset period of time after the air conditioner switches to an operating state, the difference between the gas concentration value and the correction value is used as a correction concentration value; Wherein, after the preset time period after the air conditioner switches to the operating state, the absolute value of the correction value gradually decreases until it reaches 0.

4. The correction method according to claim 1, wherein: The step of obtaining the gas concentration value at the current time includes: Get the gas concentration detection value at the current time; The gas concentration detection value at the current time is compensated using the humidity or temperature at the current time to obtain the gas concentration value at the current time.

5. An air conditioner, characterized in that: The air conditioner includes a processor and a gas sensor coupled to each other; the processor is configured to execute instructions to implement the steps of the method according to any one of claims 1 to 4.

6. A computer-readable storage medium having a program and / or instruction stored thereon, characterized in that: When the program and / or instructions are executed, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Oxygen concentration detection device

    JP1993060717A

  • Gas sensor characteristic compensation device and gas concentration measurement device

    JP2004093241A