Air quality detection method and device, air conditioning equipment and readable storage medium

By acquiring the resistance value and operating conditions of the air quality sensor, and utilizing the concentration conversion function and resistance correction factor, the detection error problem caused by external interference of the air quality sensor is solved, thus improving the accuracy of air quality detection.

CN123154401APending Publication Date: 2026-11-24GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510677370.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Air quality sensors are prone to data distortion and deviation due to external interference, resulting in significant detection errors. This is especially true during the heating period of air conditioning equipment, when TVOC sensor data becomes severely distorted.

Method used

During the operation of air conditioning equipment, the current resistance value and operating conditions of the air quality sensor are obtained. The air quality concentration value is determined by the concentration conversion relationship function and the resistance correction factor to eliminate interference from external factors.

Benefits of technology

This improves the accuracy of air quality detection, reduces detection errors, and ensures the accuracy of air quality sensors under different operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123154401A_ABST
    Figure CN123154401A_ABST
Patent Text Reader

Abstract

This application discloses an air quality detection method, apparatus, air conditioning equipment, and readable storage medium, relating to the field of air conditioning equipment technology. The air quality detection method includes: during the operation of the air conditioning equipment, acquiring the current resistance value of an air quality sensor on the air conditioning equipment and acquiring the current operating condition of the air conditioning equipment; and determining the air quality concentration value of the environment in which the air conditioning equipment is located at the current moment based on the current resistance value and the operating condition. This application can improve the accuracy of air quality detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of air conditioning equipment technology, and in particular to an air quality detection method, apparatus, air conditioning equipment, and readable storage medium. Background Technology

[0002] Air quality sensors are widely used in air conditioning equipment. As a crucial component of front-end sensing, air quality sensors need to perform reliable, stable, and accurate detection in order to trigger air conditioning equipment to provide early warnings and purification, thereby ensuring healthy ambient air.

[0003] However, air quality sensors are easily affected by external factors, which can cause distortion and deviation in the detection data, resulting in large detection errors. Summary of the Invention

[0004] The main objective of this application is to provide an air quality detection method, apparatus, air conditioning equipment, and readable storage medium, with the aim of improving the accuracy of air quality detection.

[0005] To achieve the above objectives, this application provides an air quality detection method, the method comprising:

[0006] During the operation of the air conditioning equipment, the current resistance value of the air quality sensor on the air conditioning equipment is obtained, and the current operating condition of the air conditioning equipment is obtained.

[0007] Based on the current resistance value and the operating conditions, determine the air mass concentration value of the environment in which the air conditioning equipment is located at the current moment.

[0008] In one embodiment, the step of determining the air mass concentration value of the environment where the air conditioning device is located at the current moment based on the current resistance value and the operating conditions includes:

[0009] Obtain the concentration conversion relationship functions associated with the aforementioned operating conditions;

[0010] From the resistance value ranges corresponding to each of the concentration conversion relationship functions, determine the target resistance value range in which the current resistance value is located;

[0011] The current resistance value is substituted into the concentration conversion function corresponding to the target resistance value range to calculate the air mass concentration value of the environment where the air conditioning device is located at the current moment.

[0012] In one embodiment, the step of obtaining the concentration conversion relationship functions associated with the operating conditions includes:

[0013] When the air conditioning equipment is in the operating condition, acquire multiple resistance values ​​of the air quality sensor within a preset period;

[0014] Based on each resistance value, determine the critical resistance value corresponding to each preset concentration range;

[0015] Based on the resistance critical value corresponding to each preset concentration value interval, a mapping relationship function between resistance and concentration corresponding to each preset concentration value interval is determined, which serves as the concentration conversion relationship function associated with the operating condition.

[0016] In one embodiment, the resistance threshold includes an upper resistance limit and a lower resistance limit;

[0017] The step of determining the mapping function between resistance and concentration for each preset concentration value interval based on the resistance critical value corresponding to each preset concentration value interval includes:

[0018] For any of the preset concentration value ranges, obtain the concentration difference between the upper and lower concentration limits of the preset concentration value range, and the resistance difference between the upper and lower resistance limits of the corresponding preset concentration value range;

[0019] Calculate the ratio of the concentration difference to the resistance difference to obtain the slope of the mapping function between resistance and concentration corresponding to the preset concentration range;

[0020] The reference concentration value is obtained by multiplying the slope by the lower limit of the resistance.

[0021] Calculate the difference between the lower limit of concentration and the reference concentration value to obtain the intercept of the mapping function between resistance and concentration corresponding to the preset concentration range;

[0022] Based on the slope and the intercept, a mapping function between resistance and concentration corresponding to the preset concentration value range is generated.

[0023] In one embodiment, each of the preset concentration value intervals includes a first preset concentration value interval and a second preset concentration value interval;

[0024] The step of determining the resistance critical value corresponding to each preset concentration value range based on each resistance value includes:

[0025] Obtain the minimum and maximum resistance values ​​among the resistance values, and determine the average resistance value among the resistance values;

[0026] The minimum resistance value and the average resistance value are respectively used as the lower limit and upper limit of the resistance value in the first preset concentration range;

[0027] The average resistance value and the maximum resistance value are respectively used as the lower limit and upper limit of the resistance value range of the second preset concentration value range.

[0028] In one embodiment, the step of determining the air mass concentration value of the environment where the air conditioning device is located at the current moment based on the current resistance value and the operating conditions further includes:

[0029] Obtain the resistance correction factor associated with the operating condition;

[0030] Based on the resistance correction factor, the current resistance value is corrected to obtain the target resistance value;

[0031] Based on the mapping relationship between resistance value and air mass concentration value under standard operating conditions, the air mass concentration value corresponding to the target resistance value is obtained, which is used as the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

[0032] In one embodiment, the step of obtaining the resistance correction factor associated with the operating condition includes:

[0033] The resistance deviation of the air quality sensor between the operating condition and the standard operating condition of the air conditioning device is obtained and used as a resistance correction factor associated with the operating condition.

[0034] Furthermore, to achieve the above objectives, this application also provides an air quality detection device, the device comprising:

[0035] The acquisition module is used to acquire the current resistance value of the air quality sensor on the air conditioning equipment during operation, and to acquire the current operating condition of the air conditioning equipment.

[0036] The determination module is used to determine the air mass concentration value of the environment in which the air conditioning equipment is located at the current moment based on the current resistance value and the operating conditions.

[0037] In addition, to achieve the above objectives, this application also provides an air conditioning device, the air conditioning device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the air quality detection method as described above.

[0038] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the air quality detection method described above.

[0039] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the air quality detection method as described above.

[0040] This application provides an air quality detection method. During the operation of an air conditioning device, the current resistance value of the air quality sensor on the air conditioning device is first obtained, and the current operating condition of the air conditioning device is also obtained. Then, based on the current resistance value and the operating condition, the air quality concentration value of the environment where the air conditioning device is located at the current moment is determined.

[0041] Therefore, the technical solution provided in this application considers the influence of the current operating condition of the air conditioning equipment on the detection results when detecting air quality. The operating condition not only reflects the working status of the air conditioning equipment but also the environmental conditions in which it is located. Thus, by simultaneously combining the current resistance value of the air quality sensor and the current operating condition of the air conditioning equipment to determine the air quality detection results, this application can, to a certain extent, eliminate the detection error caused by external factors affecting the air quality sensor, thereby improving the accuracy of air quality detection. Attached Figure Description

[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 A schematic flowchart of the air quality detection method provided in the first embodiment of this application;

[0045] Figure 2 A schematic flowchart illustrating the air quality detection method provided in the second embodiment of this application;

[0046] Figure 3 A schematic flowchart of the air quality detection method provided in the third embodiment of this application;

[0047] Figure 4 This is a schematic diagram of the module structure of the air quality detection device provided in the embodiments of this application;

[0048] Figure 5This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0049] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0051] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0052] Air quality sensors are widely used in air conditioning equipment. As a crucial component of front-end sensing, air quality sensors need to perform reliable, stable, and accurate detection in order to trigger air conditioning equipment to provide early warnings and purification, thereby ensuring healthy ambient air.

[0053] However, air quality sensors are easily affected by external factors (such as environmental changes, the operating status of air conditioning equipment, etc.), which can cause distortion and deviation in the detection data, resulting in large detection errors.

[0054] In particular, household-grade TVOC (Total Volatile Organic Compounds) sensors typically only collect the current voltage signal and directly convert it into an air quality concentration value. However, during heating periods, TVOC levels rise rapidly, causing severe distortion and deviation in the TVOC sensor's detection data, resulting in significant detection errors.

[0055] Based on this, this application provides an air quality detection method. During the operation of an air conditioning device, the current resistance value of the air quality sensor on the air conditioning device is first obtained, and the current operating condition of the air conditioning device is obtained. Then, based on the current resistance value and the operating condition, the air quality concentration value of the environment where the air conditioning device is located at the current moment is determined.

[0056] Therefore, the technical solution provided in this application considers the influence of the current operating condition of the air conditioning equipment on the detection results when detecting air quality. The operating condition not only reflects the working status of the air conditioning equipment but also the environmental conditions in which it is located. Thus, by simultaneously combining the current resistance value of the air quality sensor and the current operating condition of the air conditioning equipment to determine the air quality detection results, this application can, to a certain extent, eliminate the detection error caused by external factors affecting the air quality sensor, thereby improving the accuracy of air quality detection.

[0057] The subject of the air quality detection method of this application can be an air conditioning device, or a server, central controller, wired controller, or other device that regulates the air by controlling other devices. It can also be a control system or control circuit with corresponding functions. This embodiment does not specifically limit it in this regard.

[0058] The following description uses an air conditioning device as the main implementer to illustrate the various embodiments.

[0059] Based on this, this application proposes an air quality detection method according to a first embodiment, please refer to... Figure 1 The air quality detection method includes steps S10 to S20:

[0060] Step S10: During the operation of the air conditioning equipment, obtain the current resistance value of the air quality sensor on the air conditioning equipment and obtain the current operating condition of the air conditioning equipment.

[0061] It should be noted that the current resistance value refers to the resistance value of the air quality sensor at the current moment. Operating conditions can be used to characterize the working state of the air conditioning equipment and the environmental conditions in which it is located. For example, assuming the operating condition is heating mode, it can characterize that the air conditioning equipment is in a heating state and that the ambient temperature is low. Operating conditions may include, but are not limited to, the functions currently being used by the air conditioning equipment and / or its current operating mode; this embodiment does not specifically limit these.

[0062] Additionally, it should be noted that when acquiring the current resistance value of the air quality sensor on the air conditioning equipment and the current operating condition of the air conditioning equipment, the data can be acquired in real time or periodically at certain time intervals. This embodiment does not impose any specific limitations on this.

[0063] Step S20: Determine the air mass concentration value of the environment where the air conditioning equipment is located at the current moment based on the current resistance value and operating conditions.

[0064] It should be noted that the air quality concentration value (Index) is also known as the relative air quality value.

[0065] It is understandable that, since the detection result needs to be determined by combining the current resistance value and the operating conditions, the final detection result will be different under different operating conditions, even if the resistance value of the air quality sensor is the same. For example, under the air quality detection method provided in this embodiment, the resistance value and detection result (i.e., air quality concentration value) of the air quality sensor when the air conditioning equipment is in cooling mode and heating mode can be referred to in Table 1 below:

[0066] Table 1:

[0067]

[0068]

[0069] This embodiment provides an air quality detection method. During the operation of an air conditioning device, the current resistance value of the air quality sensor on the air conditioning device is first obtained, and the current operating condition of the air conditioning device is also obtained. Then, based on the current resistance value and the operating condition, the air quality concentration value of the environment where the air conditioning device is located at the current moment is determined.

[0070] Therefore, the technical solution provided in this embodiment considers the influence of the current operating condition of the air conditioning equipment on the detection results when detecting air quality. The operating condition not only reflects the working status of the air conditioning equipment but also the environmental conditions in which it is located. Thus, by simultaneously combining the current resistance value of the air quality sensor and the current operating condition of the air conditioning equipment to determine the air quality detection result, this embodiment can, to a certain extent, eliminate the detection error caused by external factors affecting the air quality sensor, thereby improving the accuracy of air quality detection.

[0071] Based on the first embodiment described above, a second embodiment of the air quality detection method of this application is proposed. For the second embodiment, please refer to... Figure 2 Step S20 may include steps S21 to S23:

[0072] Step S21: Obtain the concentration conversion relationship functions associated with the operating conditions;

[0073] It should be noted that the concentration conversion function is used to characterize the mapping relationship between resistance and concentration. The concentration conversion function can be a linear function or a nonlinear function; this embodiment does not impose a specific limitation on this. Generally speaking, the number of concentration conversion functions associated with the operating conditions is the same as the number of concentration value intervals set under standard operating conditions. Essentially, the same concentration value interval corresponds to different concentration conversion functions under different operating conditions.

[0074] In one feasible implementation, step S21 may include steps S211 to S213:

[0075] Step S211: When the air conditioning equipment is in operation, acquire multiple resistance values ​​of the air quality sensor within a preset period;

[0076] It should be noted that the preset period can be a default time period, or it can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on this.

[0077] Step S212: Determine the critical resistance value corresponding to each preset concentration value range based on each resistance value.

[0078] It should be noted that the preset concentration range refers to the concentration range set under standard operating conditions. The resistance threshold can include an upper resistance limit and a lower resistance limit. The upper resistance limit corresponds to the upper concentration limit of the preset concentration range, and the lower resistance limit corresponds to the lower concentration limit of the preset concentration range. When determining the resistance threshold corresponding to each preset concentration range based on each resistance value, linear calibration, range calibration, or other methods can be used to determine the resistance threshold for each preset concentration range.

[0079] In one feasible implementation, each preset concentration value range may include a first preset concentration value range and a second preset concentration value range; step S212 may include steps S201 to S203:

[0080] Step S201: Obtain the minimum and maximum resistance values ​​among all resistance values, and determine the average resistance value of all resistance values;

[0081] Step S202: The minimum resistance value and the average resistance value are respectively used as the lower limit value and the upper limit value of the resistance in the first preset concentration value range;

[0082] Step S203: The average resistance value and the maximum resistance value are respectively used as the lower limit and upper limit of the resistance value in the second preset concentration range.

[0083] It should be noted that the lower limit and upper limit of the resistance in the first preset concentration range constitute the resistance value range corresponding to the first preset concentration range; the lower limit and upper limit of the resistance in the second preset concentration range constitute the resistance value range corresponding to the second preset concentration range.

[0084] This embodiment does not specifically limit the implementation of step S212. For example, in other feasible implementations, the minimum resistance value and the intermediate resistance value among the resistance values ​​can be used as the lower limit and upper limit of the resistance value of the first preset concentration value range, respectively, and the intermediate resistance value and the maximum resistance value among the resistance values ​​can be used as the lower limit and upper limit of the resistance value of the second preset concentration value range, respectively.

[0085] Step S213: Based on the resistance critical value corresponding to each preset concentration value interval, determine the mapping relationship function between resistance and concentration corresponding to each preset concentration value interval, and use it as the concentration conversion relationship function associated with the operating conditions.

[0086] It should be noted that the mapping function is used to characterize the mapping relationship between resistance and concentration. Generally speaking, different preset concentration value ranges correspond to different mapping relationships between resistance and concentration.

[0087] In this embodiment, by utilizing the resistance value of the air quality sensor over a certain period when the air conditioning equipment is in operation, the mapping relationship between the resistance and concentration of the air quality sensor under this operating condition is analyzed, so as to accurately analyze the various concentration conversion relationship functions associated with the air quality sensor under this operating condition.

[0088] This embodiment does not specifically limit the implementation of step S21. For example, in other feasible implementations, the concentration conversion relationship functions associated with different operating conditions can be pre-defined and recorded using a relationship table. Thus, the concentration conversion relationship functions associated with the current operating condition can be quickly determined by looking up the table.

[0089] Furthermore, in one feasible implementation, the resistance threshold may include an upper resistance limit and a lower resistance limit; when the concentration conversion function is a linear function, step S213 may include steps S204 to S208:

[0090] Step S204: For any preset concentration value range, obtain the concentration difference between the upper and lower limits of the concentration in the preset concentration value range, and the resistance difference between the upper and lower limits of the resistance corresponding to the preset concentration value range.

[0091] Step S205: Calculate the ratio of the concentration difference to the resistance difference to obtain the slope of the mapping function between resistance and concentration corresponding to the preset concentration range;

[0092] It should be noted that the implementation process of steps S204 to S205 above can be expressed as the following formula 1:

[0093] k=(I max -I min ) / (R max -R min ) Formula 1;

[0094] Where k is the slope, R max R is the upper limit of the resistance. min I is the lower limit of the resistance. max I represents the upper limit of concentration. min This is the lower limit of concentration.

[0095] Step S206: Calculate the product of the slope and the lower limit of resistance to obtain the baseline concentration value;

[0096] Step S207: Calculate the difference between the lower limit of concentration and the reference concentration value to obtain the intercept of the mapping function between resistance and concentration corresponding to the preset concentration range.

[0097] It should be noted that the implementation process of steps S206 to S207 above can be expressed as the following formula 2:

[0098] b = I min -k*R min Formula 2;

[0099] Where b is the intercept, I min R represents the lower limit of concentration, k is the slope, and R is the lower limit of concentration. min This is the lower limit of the resistance value.

[0100] Step S208: Based on the slope and intercept, generate a mapping function between resistance and concentration corresponding to a preset concentration value range.

[0101] It should be noted that the mapping function generated based on the slope and intercept can be expressed as the following formula 3:

[0102] Formula 3: y = kx + b;

[0103] Where y represents the air quality concentration value variable, x represents the resistance value variable, k is the slope, and b is the intercept.

[0104] This embodiment does not specifically limit the implementation of step S213. For example, in other feasible implementations, when the concentration conversion relationship function is a nonlinear function, for any preset concentration value range, the upper limit of the concentration range and the upper limit of the resistance corresponding to the preset concentration value range are used as the output and input values ​​of the basic relationship of the nonlinear function, respectively, to obtain the first relationship; and the lower limit of the concentration range and the lower limit of the resistance corresponding to the preset concentration value range are used as the output and input values ​​of the basic relationship of the nonlinear function, respectively, to obtain the second relationship; then, using the first and second relationships, the coefficient values ​​of the constant coefficients in the basic relationship can be solved; then, substituting these coefficient values ​​into the basic relationship can generate the mapping relationship function between resistance and concentration corresponding to the preset concentration value range.

[0105] Step S22: Determine the target resistance value range of the current resistance value from the resistance value range corresponding to each concentration conversion relationship function;

[0106] Step S23: Substitute the current resistance value into the concentration conversion function corresponding to the target resistance value range to calculate the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

[0107] As described above, this embodiment sets different concentration conversion function associations for different operating conditions. Therefore, after obtaining the concentration conversion function associated with the current operating condition of the air conditioning equipment, by determining the target resistance range within the resistance range corresponding to each concentration conversion function, the concentration conversion function of the air quality sensor under the current operating condition can be determined. Then, by substituting the current resistance value into the concentration conversion function corresponding to the target resistance range, the detection error caused by external factors can be eliminated to a certain extent, thus accurately determining the air quality concentration value of the environment where the air conditioning equipment is located at the current moment, thereby improving the detection accuracy of air quality.

[0108] For example, to help understand the implementation flow of the air quality detection method formed by combining the various embodiments in this embodiment, it is assumed that each preset concentration value range includes a first preset concentration value range of (1, 100) and a second preset concentration value range of (100, 200), the air conditioning device is currently operating in heating mode, and in heating mode, the resistance values ​​of the air quality sensor within a certain period are 9680, 15125, 18145 and 18150 respectively; wherein, the minimum resistance value is 9680, the maximum resistance value is 18150 and the average resistance value is 15275;

[0109] For the first preset concentration range, the corresponding slope k1 = (100-1) / (15275-9680) ≈ 0.0177, and the corresponding intercept b1 = 1-k1*9680 ≈ -170.34; therefore, the concentration conversion function corresponding to the first preset concentration range is y = 0.0177*x - 170.34.

[0110] For the second preset concentration range, the corresponding slope k2 = (200-100) / (18150-15275)≈0.03478, and the corresponding intercept b2 = 100-k2*15275≈-431.3; therefore, the concentration conversion function corresponding to the second preset concentration range is y = 0.03478*x-431.3.

[0111] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the air quality detection method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0112] Based on the first and / or second embodiments described above, a third embodiment of the air quality detection method of this application is proposed. In the third embodiment, please refer to... Figure 3 Step S20 may also include steps S24 to S26:

[0113] Step S24: Obtain the resistance correction factor associated with the operating condition;

[0114] It should be noted that the resistance correction factor is used to correct the resistance value of the air quality sensor to the resistance value under standard operating conditions.

[0115] In one feasible implementation, step S24 may include step S241:

[0116] Step S241: Obtain the resistance deviation of the air quality sensor between the air conditioning equipment in operating condition and in standard operating condition, as the resistance correction factor associated with the operating condition.

[0117] This embodiment does not specifically limit the implementation of step S24. For example, in other feasible implementations, the resistance correction factors associated with different operating conditions can be pre-set and recorded using a relational table. Thus, the resistance correction factor associated with the current operating condition can be quickly determined by looking up the table.

[0118] Furthermore, in one feasible implementation, step S241 may include: acquiring a first target resistance value of the air quality sensor when the air conditioning device is in operating condition, and a second target resistance value when the air conditioning device is in standard operating condition; calculating the difference between the first target resistance value and the second target resistance value to obtain the resistance deviation.

[0119] The first target resistance value and the second target resistance value can both be the maximum resistance value, the minimum resistance value, the average resistance value, or the intermediate resistance value, etc., and this embodiment does not make specific limitations on them.

[0120] In another feasible implementation, step S241 may include: acquiring a first target resistance value of the air quality sensor when the air conditioning device is in operating condition, and a third target resistance value when the air conditioning device is in a composite operating condition including the operating condition; calculating the difference between the third target resistance value and the first target resistance value to obtain the resistance deviation.

[0121] The first target resistance value and the third target resistance value can be the maximum resistance value, the minimum resistance value, the average resistance value, or the intermediate resistance value, etc., and this embodiment does not make specific limitations on them.

[0122] For example, assuming the air conditioning unit is currently operating with only heating function enabled, a combined operating condition could be operating with both heating and fresh air functions enabled simultaneously. Based on this, if the first target resistance value of the air quality sensor under this operating condition is δ... heat The third target resistance value under this combined operating condition is δheatfresh Then the resistance correction factor associated with this operating condition can be δ. heatfresh -δ heat .

[0123] The above are only two feasible implementations of step S241 provided in this embodiment. This embodiment does not specifically limit the specific implementation of step S241.

[0124] Step S25: Based on the resistance correction factor, correct the current resistance value to obtain the target resistance value;

[0125] It should be noted that the current resistance value can be corrected by subtracting the resistance correction factor from the current resistance value, thus obtaining the target resistance value.

[0126] Step S26: Based on the mapping relationship between resistance value and air mass concentration value under standard operating conditions, obtain the air mass concentration value corresponding to the target resistance value, and use it as the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

[0127] This embodiment associates different resistance correction factors with different operating conditions. Therefore, after obtaining the resistance correction factor associated with each operating condition, the current resistance value is corrected using this factor to obtain the resistance value under standard operating conditions, thus yielding the target resistance value. Then, by utilizing this target resistance value and the mapping relationship between the resistance value under standard operating conditions and the air quality concentration value, the air quality concentration value of the environment where the air conditioning equipment is located can be accurately determined at the current moment. Therefore, this embodiment, by using the resistance correction factor associated with the operating conditions to correct the resistance value of the air quality sensor, can, to a certain extent, eliminate the detection error caused by external factors affecting the air quality sensor, thereby improving the accuracy of air quality detection.

[0128] This application also provides an air quality detection device; please refer to... Figure 4 The device includes:

[0129] The acquisition module 10 is used to acquire the current resistance value of the air quality sensor on the air conditioning equipment and the current operating condition of the air conditioning equipment during the operation of the air conditioning equipment.

[0130] The determination module 20 is used to determine the air mass concentration value of the environment where the air conditioning equipment is located at the current moment based on the current resistance value and operating conditions.

[0131] In one embodiment, the determining module 20 is further configured to:

[0132] Obtain the concentration conversion relationship functions associated with the operating conditions;

[0133] From the resistance value range corresponding to each concentration conversion function, determine the target resistance value range in which the current resistance value is located;

[0134] The current resistance value is substituted into the concentration conversion function corresponding to the target resistance value range to calculate the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

[0135] In one embodiment, the determining module 20 is further configured to:

[0136] When the air conditioning equipment is in operation, acquire multiple resistance values ​​of the air quality sensor within a preset period;

[0137] Based on each resistance value, determine the critical resistance value corresponding to each preset concentration range;

[0138] Based on the critical resistance value corresponding to each preset concentration range, a mapping function between resistance and concentration corresponding to each preset concentration range is determined, which serves as the concentration conversion function associated with the operating conditions.

[0139] In one embodiment, the resistance threshold includes an upper resistance limit and a lower resistance limit; the determining module 20 is further configured to:

[0140] For any preset concentration range, obtain the concentration difference between the upper and lower limits of the concentration in the preset concentration range, and the resistance difference between the upper and lower limits of the resistance corresponding to the preset concentration range;

[0141] Calculate the ratio of the concentration difference to the resistance difference to obtain the slope of the mapping function between resistance and concentration corresponding to the preset concentration range;

[0142] The baseline concentration value is obtained by multiplying the slope by the lower limit of resistance.

[0143] Calculate the difference between the lower limit of concentration and the reference concentration value to obtain the intercept of the mapping function between resistance and concentration corresponding to the preset concentration range;

[0144] Based on the slope and intercept, a mapping function between resistance and concentration is generated for a preset concentration range.

[0145] In one embodiment, each preset concentration value range includes a first preset concentration value range and a second preset concentration value range; the determining module 20 is further configured to:

[0146] Obtain the minimum and maximum resistance values ​​among all resistance values, and determine the average resistance value among all resistance values;

[0147] The minimum resistance value and the average resistance value are respectively used as the lower limit and upper limit of the resistance value in the first preset concentration range;

[0148] The average resistance value and the maximum resistance value are used as the lower limit and upper limit of the resistance value in the second preset concentration range, respectively.

[0149] In one embodiment, the determining module 20 is further configured to:

[0150] Obtain the resistance correction factor associated with the operating conditions;

[0151] Based on the resistance correction factor, the current resistance value is corrected to obtain the target resistance value;

[0152] Based on the mapping relationship between resistance value and air mass concentration value under standard operating conditions, the air mass concentration value corresponding to the target resistance value is obtained as the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

[0153] In one embodiment, the determining module 20 is further configured to:

[0154] The resistance deviation of the air quality sensor between the operating condition and the standard condition of the air conditioning equipment is obtained and used as a resistance correction factor associated with the operating condition.

[0155] The air quality detection device provided in this application can improve the detection accuracy of air quality. Compared with the prior art, the beneficial effects of the air quality detection device provided in this application are the same as those of the air quality detection method provided in the above embodiments, and other technical features of the air quality detection device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0156] This application also provides an air conditioning device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the air quality detection method in the above embodiments.

[0157] The following is for reference. Figure 5 It shows a structural schematic diagram of an air conditioning device suitable for implementing the embodiments of this application. Figure 5 The air conditioning device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this application.

[0158] like Figure 5As shown, the air conditioning device may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 102 or a program loaded from a storage device 103 into a random access memory 104. The random access memory 104 also stores various programs and data required for the operation of the air conditioning device. The processing unit 101, the read-only memory 102, and the random access memory 104 are interconnected via a bus 105. An input / output interface 106 is also connected to the bus 105. Typically, the following systems can be connected to the input / output interface 106: input devices 107 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 108 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 103 including, for example, magnetic tape, hard disk, etc.; and communication devices 109. The communication device 109 allows the air conditioning device to communicate wirelessly or wiredly with other devices to exchange data. Although the diagram shows air conditioning equipment with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0159] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from read-only memory 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.

[0160] The air conditioning device provided in this application, employing the air quality detection method described in the above embodiments, can improve the accuracy of air quality detection. Compared with the prior art, the beneficial effects of the air conditioning device provided in this application are the same as those of the air quality detection method provided in the above embodiments, and other technical features of the air conditioning device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0161] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0162] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.

[0163] This application also provides a computer-readable storage medium storing a computer program that can run on a processor, the computer program being used to execute the air quality detection method in the above embodiments.

[0164] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0165] The aforementioned computer-readable storage medium may be included in the air conditioning equipment; or it may exist independently and not be assembled into the air conditioning equipment.

[0166] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the air conditioning device, cause the air conditioning device to: acquire the current resistance value of the air quality sensor on the air conditioning device and acquire the current operating condition of the air conditioning device during operation; and determine the air quality concentration value of the environment in which the air conditioning device is located at the current moment based on the current resistance value and the operating condition.

[0167] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0168] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0169] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0170] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described air quality detection method, which can improve the detection accuracy of air quality. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the air quality detection method provided in the above embodiments, and will not be repeated here.

[0171] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the air quality detection method described above.

[0172] The computer program product provided in this application can improve the accuracy of air quality detection. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the air quality detection method provided in the above embodiments, and will not be repeated here.

[0173] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. An air quality detection method, characterized in that, The method includes: During the operation of the air conditioning equipment, the current resistance value of the air quality sensor on the air conditioning equipment is obtained, and the current operating condition of the air conditioning equipment is obtained. Based on the current resistance value and the operating conditions, determine the air mass concentration value of the environment in which the air conditioning equipment is located at the current moment.

2. The air quality detection method as described in claim 1, characterized in that, The step of determining the air mass concentration value of the environment where the air conditioning equipment is located at the current moment based on the current resistance value and the operating conditions includes: Obtain the concentration conversion relationship functions associated with the aforementioned operating conditions; From the resistance value ranges corresponding to each of the concentration conversion relationship functions, determine the target resistance value range in which the current resistance value is located; The current resistance value is substituted into the concentration conversion function corresponding to the target resistance value range to calculate the air mass concentration value of the environment where the air conditioning device is located at the current moment.

3. The air quality detection method as described in claim 2, characterized in that, The step of obtaining the concentration conversion relationship functions associated with the operating conditions includes: When the air conditioning equipment is in the operating condition, acquire multiple resistance values ​​of the air quality sensor within a preset period; Based on each resistance value, determine the critical resistance value corresponding to each preset concentration range; Based on the resistance critical value corresponding to each preset concentration value interval, a mapping relationship function between resistance and concentration corresponding to each preset concentration value interval is determined, which serves as the concentration conversion relationship function associated with the operating condition.

4. The air quality detection method as described in claim 3, characterized in that, The resistance threshold includes an upper resistance value and a lower resistance value; The step of determining the mapping function between resistance and concentration for each preset concentration value interval based on the resistance critical value corresponding to each preset concentration value interval includes: For any of the preset concentration value ranges, obtain the concentration difference between the upper and lower concentration limits of the preset concentration value range, and the resistance difference between the upper and lower resistance limits of the corresponding preset concentration value range; Calculate the ratio of the concentration difference to the resistance difference to obtain the slope of the mapping function between resistance and concentration corresponding to the preset concentration range; The reference concentration value is obtained by multiplying the slope by the lower limit of the resistance. Calculate the difference between the lower limit of concentration and the reference concentration value to obtain the intercept of the mapping function between resistance and concentration corresponding to the preset concentration range; Based on the slope and the intercept, a mapping function between resistance and concentration corresponding to the preset concentration value range is generated.

5. The air quality detection method as described in claim 4, characterized in that, Each of the preset concentration value ranges includes a first preset concentration value range and a second preset concentration value range; The step of determining the resistance critical value corresponding to each preset concentration value range based on each resistance value includes: Obtain the minimum and maximum resistance values ​​among the resistance values, and determine the average resistance value among the resistance values; The minimum resistance value and the average resistance value are respectively used as the lower limit and upper limit of the resistance value in the first preset concentration range; The average resistance value and the maximum resistance value are respectively used as the lower limit and upper limit of the resistance value range of the second preset concentration value range.

6. The air quality detection method as described in claim 1, characterized in that, The step of determining the air mass concentration value of the environment where the air conditioning equipment is located at the current moment based on the current resistance value and the operating conditions further includes: Obtain the resistance correction factor associated with the operating condition; Based on the resistance correction factor, the current resistance value is corrected to obtain the target resistance value; Based on the mapping relationship between resistance value and air mass concentration value under standard operating conditions, the air mass concentration value corresponding to the target resistance value is obtained, which is used as the air mass concentration value of the environment where the air conditioning equipment is located at the current moment.

7. The air quality detection method as described in claim 6, characterized in that, The step of obtaining the resistance correction factor associated with the operating condition includes: The resistance deviation of the air quality sensor between the operating condition and the standard operating condition of the air conditioning device is obtained and used as a resistance correction factor associated with the operating condition.

8. An air quality detection device, characterized in that, The device includes: The acquisition module is used to acquire the current resistance value of the air quality sensor on the air conditioning equipment during operation, and to acquire the current operating condition of the air conditioning equipment. The determination module is used to determine the air mass concentration value of the environment in which the air conditioning equipment is located at the current moment based on the current resistance value and the operating conditions.

9. An air conditioning device, characterized in that, The air conditioning device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the air quality detection method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the air quality detection method as described in any one of claims 1 to 7.