Temperature correction method, correction device, and electronic device

CN117419443BActive Publication Date: 2026-10-16ZHUHAI GREE REFRIGERATION TECH CENT OF ENERGY SAVING & ENVIRONMENTAL PROTECTION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311381259.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2026-10-16
Estimated Expiration
2043-10-23

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提供一种温度的修正方法、修正装置、计算机可读存储介质和电子设备,以至少解决现有技术中空调器外环境温度测量不准确的问题

Benefits of technology

[0015] By applying the technical solution of this application, a correction degree and its corresponding total weight are determined based on the air conditioner's exhaust temperature and input voltage. The sum of the products of each correction degree and its corresponding total weight is calculated to obtain voltage correction parameters, and the correction temperature is determined based on these parameters. Compared to existing methods where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it can solve the problem of inaccurate ambient temperature measurement in existing technologies, achieving the goal of improving the accuracy of ambient temperature measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117419443B_ABST
    Figure CN117419443B_ABST
Patent Text Reader

Abstract

The application provides a temperature correction method, a correction device and an electronic device. The method comprises: obtaining an exhaust temperature of an air conditioner and an input voltage input into the air conditioner, wherein the exhaust temperature is the temperature of refrigerant discharged by a compressor of the air conditioner; determining correction degrees and total weights according to the exhaust temperature and the input voltage, wherein each correction degree is a parameter for characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight; calculating the sum of the product of each correction degree and the corresponding total weight to obtain a voltage correction parameter, and determining a corrected temperature according to the voltage correction parameter, wherein the voltage correction parameter is used to correct an external environment measurement temperature of the air conditioner to obtain the corrected temperature, and the external environment measurement temperature is the temperature of an outdoor environment measured by an outdoor unit of the air conditioner. Through the application, the accuracy of the outdoor environment temperature of the air conditioner in the prior art is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of external environment temperature measurement and correction for air conditioners, and more specifically, to a temperature correction method, correction device, computer-readable storage medium, and electronic device. Background Technology

[0002] The main board of an air conditioner outdoor unit usually has an NTC (Negative Temperature Coefficient Sensor) soldered on it. By analyzing the heat around the main board, the current is an important factor affecting the heat generation. However, the voltage in a user's home is not always the standard 220V. Changes in voltage will cause corresponding changes in current, thus affecting the test accuracy of the temperature sensor.

[0003] Therefore, a method is needed to correct the measurement results of the temperature sensor. Summary of the Invention

[0004] The main objective of this application is to provide a temperature correction method, correction device, computer-readable storage medium, and electronic device to at least solve the problem of inaccurate measurement of the external ambient temperature of air conditioners in the prior art.

[0005] To achieve the above objectives, according to one aspect of this application, a temperature correction method is provided, comprising: acquiring the exhaust temperature of an air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner; determining a correction degree and a total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight; calculating the sum of the products of the correction degree and the corresponding total weight to obtain a voltage correction parameter, and determining a corrected temperature based on the voltage correction parameter, wherein the voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the corrected temperature, and the measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0006] Optionally, determining the correction degree based on the exhaust temperature and the input voltage includes: determining a first membership degree based on the exhaust temperature, and obtaining a first mapping relationship between the first membership degree and the fuzzy score; determining a first fuzzy score corresponding to the first membership degree based on the first mapping relationship, wherein the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value; determining a second membership degree based on the input voltage, and obtaining a second mapping relationship between the second membership degree and the fuzzy score; determining a second fuzzy score corresponding to the second membership degree based on the second mapping relationship; obtaining a third mapping relationship between the first membership degree, the second membership degree, and the correction degree; and determining the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship.

[0007] Optionally, determining the total weight based on the exhaust temperature and the input voltage includes: determining multiple combinations based on the first fuzzy score and the second fuzzy score; calculating a first weight for the exhaust temperature in each combination and a second weight for the input voltage; and calculating the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

[0008] Optionally, calculating a first weight for the exhaust temperature in each of the combined cases and calculating a second weight for the input voltage includes: calculating the ratio of a target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores in each of the combined cases to obtain a first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the combined cases; and calculating the ratio of a target second fuzzy score of the input voltage to the sum of the second fuzzy scores to obtain a second weight, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the combined cases.

[0009] Optionally, determining multiple combinations based on the first fuzzy score and the second fuzzy score includes: determining non-zero values ​​in the first fuzzy score to obtain one or more non-zero first fuzzy scores; determining non-zero values ​​in the second fuzzy score to obtain one or more non-zero second fuzzy scores; and combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations.

[0010] Optionally, any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores can be combined to obtain multiple combinations, including: combining one of the non-zero first fuzzy scores with each of the non-zero second fuzzy scores until each of the non-zero first fuzzy scores and each of the non-zero second fuzzy scores is combined to obtain multiple combinations.

[0011] Optionally, determining the corrected temperature based on the voltage correction parameters includes: acquiring air conditioner parameters and corresponding first coefficients; calculating the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured value of the ambient temperature, the measured value of the external pipe temperature of the air conditioner, the external unit current of the air conditioner, and the external fan speed of the air conditioner; acquiring a second coefficient corresponding to the exhaust temperature; calculating the product of the exhaust temperature and the second coefficient to obtain a second value; acquiring an initial voltage correction parameter; calculating the difference between the initial voltage correction parameter and the voltage correction parameter to obtain a third value, wherein the initial voltage correction parameter is the voltage parameter before correction; and calculating the sum of the first value, the second value, and the third value to obtain the corrected temperature.

[0012] According to another aspect of this application, a temperature correction device is provided, comprising: an acquisition unit for acquiring the exhaust temperature of an air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner; a first determination unit for determining a correction degree and a total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight; and a second determination unit for calculating the sum of the products of the correction degree and the corresponding total weight to obtain a voltage correction parameter, and determining a correction temperature based on the voltage correction parameter, wherein the voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature, and the measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform any of the aforementioned correction methods.

[0014] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any of the aforementioned correction methods.

[0015] By applying the technical solution of this application, a correction degree and its corresponding total weight are determined based on the air conditioner's exhaust temperature and input voltage. The sum of the products of each correction degree and its corresponding total weight is calculated to obtain voltage correction parameters, and the correction temperature is determined based on these parameters. Compared to existing methods where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it can solve the problem of inaccurate ambient temperature measurement in existing technologies, achieving the goal of improving the accuracy of ambient temperature measurement. Attached Figure Description

[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0017] Figure 1 A schematic flowchart of a temperature correction method provided by an embodiment of this application is shown;

[0018] Figure 2 A schematic diagram of the external ambient temperature measurement system in a temperature correction method provided by an embodiment of this application is shown.

[0019] Figure 3 A schematic flowchart of a specific temperature correction method provided by an embodiment of this application is shown;

[0020] Figure 4 A structural block diagram of a temperature correction device provided in an embodiment of this application is shown.

[0021] The above figures include the following reference numerals:

[0022] 1. Outdoor unit mainboard; 2. Temperature sensor; 3. Outdoor fan; 4. Condenser external pipe temperature sensor; 5. Exhaust temperature sensor; 6. Data acquisition module; 7. Ambient temperature correction control module; 8. Ambient temperature related function control module; 9. Outdoor fan speed detection module; 10. Current detection module. Detailed Implementation

[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0026] As described in the background section, the ambient temperature measured in the prior art is prone to change with the voltage of the air conditioner, resulting in inaccurate ambient temperature measurement. To solve the problem of inaccurate ambient temperature measurement, embodiments of this application provide a temperature correction method, correction device, computer-readable storage medium, and electronic device.

[0027] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0028] This embodiment provides a method for correcting the temperature of a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0029] Figure 1 This is a flowchart of a temperature correction method according to an embodiment of this application. Figure 1 As shown, the method includes the following steps:

[0030] Step S201: Obtain the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner;

[0031] Specifically, the ambient temperature of the air conditioner is the ambient temperature measured by the temperature sensor (NTC) on the outdoor unit of the air conditioner. Since the temperature measured by the NTC is also easily affected by the heat of the outdoor unit's main board, and the heat of the outdoor unit's main board is related to the voltage of the air conditioner, and the voltage in the actual user's home is not always the standard 220V, this application corrects the temperature change based on the exhaust temperature and the input voltage. First, the exhaust temperature and the input voltage are obtained.

[0032] Step S202: Determine the correction degree and total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight.

[0033] Specifically, the correction degree and total weight can be determined based on the exhaust temperature and input voltage. The degree of correction to the input voltage can be represented by fuzzy language, for example: NB = very small, NS = small, ZO = moderate, PS = large, PB = very large, and the corresponding correction degrees are: "very small" correction degree 0℃, "small" correction degree 1℃, "moderate" correction degree 2℃, "large" correction degree 3℃, "very large" correction degree 4℃. The total weight is the weight corresponding to each correction degree.

[0034] Step S203: Calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and determine the correction temperature based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0035] Specifically, after determining the correction degree and weight, the product of the correction degree and the corresponding weight is calculated. The correction degree is the degree of correction, and there may be multiple degrees. Therefore, the voltage correction parameter can be obtained by calculating the sum of each correction degree and the corresponding weight. Then, the corrected temperature is calculated using the voltage correction parameter, thus correcting the temperature.

[0036] In this embodiment, a correction degree and its corresponding total weight are determined based on the air conditioner's exhaust temperature and input voltage. The sum of the products of each correction degree and its corresponding total weight is calculated to obtain voltage correction parameters, and the corrected temperature is determined based on these parameters. Compared to existing technologies where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it solves the problem of inaccurate ambient temperature measurement in existing technologies, achieving the goal of improving the accuracy of ambient temperature measurements.

[0037] In specific implementation, step S202 can be achieved through the following steps: First, determine the first membership degree based on the exhaust temperature, and obtain a first mapping relationship between the first membership degree and the fuzzy score. Then, determine the first fuzzy score corresponding to the first membership degree based on the first mapping relationship. Here, the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value. Second, determine the second membership degree based on the input voltage, and obtain a second mapping relationship between the second membership degree and the fuzzy score. Then, determine the second fuzzy score corresponding to the second membership degree based on the second mapping relationship. Third, obtain a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determine the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship. This method determines the correction degree based on the membership degrees of the exhaust temperature and the input voltage, thus accurately determining the correction degree corresponding to different exhaust temperatures and input voltages for accurate temperature correction.

[0038] Specifically, the membership degree corresponding to exhaust temperature is the first membership degree. Exhaust temperature is divided into different temperature ranges, and multiple fuzzy comments are set. Each fuzzy comment corresponds to an evaluation level and a fuzzy score. Similarly, the membership degree corresponding to input voltage is the second membership degree, also divided into multiple voltage ranges, and multiple fuzzy comments are set. Each fuzzy comment corresponds to an evaluation level and a fuzzy score. For example, exhaust temperature is represented by Tp, and the fuzzy comments for Tp are as follows: "NB = very low, NS = low, ZO = medium, PS = high, PB = very high". Input voltage is represented by Uin, and the fuzzy comments for Uin are as follows: "NB = very low, NS = low, ZO = medium, PS = high, PB = very high". Each of the above fuzzy comments corresponding to each range of exhaust temperature or input voltage has a fuzzy score, generally 0, 0.5, or 1, thus forming the mapping relationships. The above first, second, and third mapping relationships can be represented in the form of a graph or other forms. Taking an exhaust temperature Tp of 85℃ and a voltage Uin of 240V as an example, through the first mapping relationship, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, and PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, and PB=0. The third mapping relationship is represented in the form of a graph, where each column represents the fuzzy evaluation of the exhaust temperature, each row represents the fuzzy evaluation of the input voltage, and the elements in the table corresponding to each row and column are the correction degrees. Therefore, the correction degree can be determined through the first membership degree and the second membership degree.

[0039] To accurately calculate the total weight, in some optional implementations, step S202 can be achieved through the following steps: Step S2021: Determine multiple combinations based on the first fuzzy score and the second fuzzy score; Step S2022: Calculate the first weight of the exhaust temperature and the second weight of the input voltage for each combination; Step S2023: Calculate the product of the first weight and the second weight to obtain the total weight corresponding to each combination. This method calculates the total weight by multiplying the first weight of the exhaust temperature and the second weight of the input voltage, thus accurately calculating the total weight.

[0040] In the specific implementation process, as mentioned above, through the first mapping relationship, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, PB=0. The above combination of exhaust temperature and input voltage has the following four cases: Case ① When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is ZO (weight is 1 / (1+0.5)), and the correction degree is ZO (total weight w1 is 1 / (1+0.5)*1 / (1+0.5)=4 / 9); Case ② When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), and the correction degree is PS (total weight w2 is 1 / (1+0.5)*0.5 / (1+0.5)). Case ③: When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is ZO (weight is 1 / (1+0.5)), and the correction degree is PS (total weight w3 is 0.5 / (1+0.5)*1 / (1+0.5)=2 / 9); Case ④: When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), and the correction degree is PB (total weight w4 is 0.5 / (1+0.5)*0.5 / (1+0.5)=1 / 9). Then, multiply each of the above correction degrees by the total weight and add them together, that is, Z0*w1+PS*w2+PS*w3+PB*w4=2*4 / 9+3*2 / 9+3*2 / 9+4*1 / 9=2.7, and the voltage correction parameter is 2.7℃.

[0041] In some optional implementations, step S2022 can be achieved by the following steps: calculating the ratio of the target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores for each of the above-described combination cases to obtain a first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the above-described combination cases; calculating the ratio of the target second fuzzy score of the input voltage to the sum of the second fuzzy scores to obtain a second weight, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the above-described combination cases. This method calculates the first weight and the second weight according to the above steps, thus accurately calculating the weights under different conditions.

[0042] In the specific implementation process, as mentioned above, there are many different combinations of the first fuzzy score and the second fuzzy score. In each combination, the first weight is obtained by calculating the ratio of the first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores of the exhaust temperature. Similarly, the second weight is obtained by calculating the ratio of the second fuzzy score of each combination to the sum of the second fuzzy scores of the input voltage. For example, when the exhaust temperature is ZO (the first weight is 1 / (1+0.5)) and the voltage value is ZO (the second weight is 1 / (1+0.5)).

[0043] To determine multiple combinations, step S2021 above can be implemented through the following steps: determining non-zero values ​​among the first fuzzy scores to obtain one or more non-zero first fuzzy scores; determining non-zero values ​​among the second fuzzy scores to obtain one or more non-zero second fuzzy scores; and combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations. This method arranges and combines the first and second fuzzy scores, thus determining all possible combinations.

[0044] Specifically, as mentioned above, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, PB=0. The non-zero first fuzzy score is determined to be ZO=1, PS=0.5; the non-zero second fuzzy score is determined to be ZO=1, PS=0.5. This results in four possible combinations: exhaust temperature ZO, input voltage ZO; exhaust temperature ZO, input voltage PS; exhaust temperature PS, input voltage ZO; and exhaust temperature PS, input voltage PS. In practical applications, combinations based on the non-zero first and second fuzzy scores are used.

[0045] In some optional implementations, the combination of any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations can be achieved through the following steps: combining one of the non-zero first fuzzy scores with each of the non-zero second fuzzy scores until all the combinations of the non-zero first fuzzy scores and each of the non-zero second fuzzy scores are completed, thus obtaining multiple combinations. This method permutes and combines the non-zero first fuzzy scores and non-zero second fuzzy scores until all combinations are obtained, thus yielding all possible combinations.

[0046] In the specific implementation process, in order to avoid omissions, one of the non-zero first fuzzy scores is first combined with all the non-zero second fuzzy scores to obtain all the combinations corresponding to the non-zero first fuzzy score. Then, each of the remaining non-zero first fuzzy scores is combined with all the non-zero second fuzzy scores to obtain all the combinations.

[0047] To correct the temperature, step S203 can be achieved through the following steps: obtaining air conditioner parameters and corresponding first coefficients; calculating the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured ambient temperature, the measured temperature of the air conditioner's external pipe, the outdoor unit current, and the outdoor fan speed; obtaining the second coefficient corresponding to the exhaust temperature; calculating the product of the exhaust temperature and the second coefficient to obtain a second value; obtaining an initial voltage correction parameter; calculating the difference between the initial voltage correction parameter and the voltage correction parameter to obtain a third value, wherein the initial voltage correction parameter is the voltage parameter before correction; and calculating the sum of the first value, the second value, and the third value to obtain the corrected temperature. This method corrects the temperature based on the voltage correction parameter, thus correcting the ambient temperature to obtain a more accurate ambient temperature.

[0048] In the specific implementation process, the above steps can be expressed as the following formula: T 外环 = a*R + b*I + c*T 排气 +d*T 外管 +e*T NTC +f-Δ 电压 , where Δ 电压 The value of 2.7, calculated above, represents the measured ambient temperature T of the NTC. NTC External pipe temperature measurement value T 外管 Exhaust temperature T 排气 Outdoor unit current I, outdoor fan speed R, voltage correction parameter Δ 电压 In cooling mode, the coefficients a, b, c, d, e, and f range from 0.005 to 0.01, -0.8 to -1.2, -0.1 to 0.15, -0.6 to 1, -0.01 to 0.05, and -5 to -10. In heating mode, the coefficients a, b, c, d, e, and f range from 0.05 to 1, -0.05 to 0.07, and 2 to 5.

[0049] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the temperature correction method of this application will be described in detail below with reference to specific embodiments.

[0050] This embodiment relates to a specific method for temperature correction. Figure 2 A schematic diagram of an ambient temperature measurement system according to this application is shown. The system mainly includes an outdoor unit main board 1, a temperature sensing element 2, and an outdoor fan 3. The temperature sensing element 2 includes a condenser outer pipe temperature sensing element 4 and an exhaust temperature sensing element 5, used to obtain the outer pipe temperature and exhaust temperature respectively (the outer pipe temperature affects the heat dissipation of the main board, and the exhaust temperature affects the temperature of the compressor cavity; both affect the temperature at the NTC). The outdoor unit main board 1 mainly includes a data acquisition module 6, an ambient temperature correction control module 7, and an ambient temperature-related function control module 8. The data acquisition module 6 obtains the condenser outer pipe temperature and exhaust temperature from the temperature sensing element 2, and acquires the outdoor fan speed detected by the outdoor fan speed detection module 9, as well as the voltage and current detected by the outdoor unit voltage and current detection module 10 (the outdoor fan speed affects the heat dissipation of the outdoor unit main board, and the current directly reflects the heat generated by the outdoor unit main board, which also affects the NTC temperature). The data is then transmitted to the ambient temperature correction control module 7 to calculate the ambient temperature. The outer ring temperature correction control module 7 mainly consists of NTC correction model formulas. Based on the collected real-time NTC temperature, condenser external pipe temperature, exhaust temperature, outdoor unit voltage, current and outdoor fan speed, it calculates the corrected outer ring temperature, judges and uses the outer ring temperature according to the control logic, and finally inputs it into the outer ring temperature related function control module 8 for control. Figure 3 This application illustrates a specific method for temperature correction, comprising the following steps:

[0051] Step S1: Detect exhaust temperature Tp and input voltage Uin;

[0052] Step S2: Fuzzify Tp and Uin (determine the first fuzzy score corresponding to the first membership degree according to the first mapping relationship above, such as the first fuzzy score corresponding to the exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, PB=0; determine the second fuzzy score corresponding to the second membership degree according to the second mapping relationship above, such as the second fuzzy score corresponding to the voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, PB=0). The first mapping relationship is shown in the form of a table as shown in Table 1, and the second mapping relationship is shown in Table 2. The fuzzy comments of Tp are as follows: "NB=very low, NS=low, ZO=medium, PS=high, PB=very high". The input voltage is represented by Uin, and the fuzzy comments of Uin are as follows: "NB=very low, NS=low, ZO=medium, PS=high, PB=very high".

[0053] Table 1

[0054] NB 1 0 0 0 0 0 0 NS 0 1 0.5 0 0 0 0 ZO 0 0.5 1 1 1 0.5 0 PS 0 0 0 0 0.5 1 0 PB 0 0 0 0 0 0 1

[0055] Table 2

[0056] NB 1 0 0 0 0 0 0 NS 0 1 0.5 0 0 0 0 ZO 0 0.5 1 1 1 0.5 0 PS 0 0 0 0 0.5 1 0 PB 0 0 0 0 0 0 1

[0057] Step S3: Determine the required correction degree based on the fuzzy rule table (third mapping relationship). (The above combination of exhaust temperature and input voltage has the following 4 cases: Case ① When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is ZO (weight is 1 / (1+0.5)), and the correction degree is ZO (total weight w1 is 1 / (1+0.5)*1 / (1+0.5)=4 / 9); Case ② When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), and the correction degree is PS (total weight w2 is 1 / (1+0.5)*0.5 / (1+0.5)=2 / 9); Case ③ When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is...) ZO (weight is 1 / (1+0.5)), correction degree is PS (total weight w3 is 0.5 / (1+0.5)*1 / (1+0.5)=2 / 9); Case ④ When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), correction degree is PB (total weight w4 is 0.5 / (1+0.5)*0.5 / (1+0.5)=1 / 9)), the third mapping relationship is shown in Table 3, and the fuzzy evaluation is as follows: "NB = very small, NS = small, ZO = moderate, PS = large, PB = very large", and the corresponding correction degrees are: "very small" correction value 0℃, "small" correction value 1℃, "moderate" correction value 2℃, "large" correction value 3℃, "very large" correction value 4℃;

[0058] Table 3

[0059]

[0060] Step S4: Defuzzify the correction degree and determine the specific correction value (multiply each correction degree by the total weight and then add them together, i.e., Z0*w1+PS*w2+PS*w3+PB*w4=2*4 / 9+3*2 / 9+3*2 / 9+4*1 / 9=2.7, the voltage correction parameter is 2.7℃), and finally correct the temperature using the NTC correction model formula: T 外环 = a*R + b*I + c*T 排气 +d*T 外管 +e*T NTC +f-Δ 电压 , where Δ 电压The value of 2.7, calculated above, represents the measured ambient temperature T of the NTC. NTC External pipe temperature measurement value T 外管 Exhaust temperature T 排气 Outdoor unit current I, outdoor fan speed R, voltage correction parameter Δ 电压 In cooling mode, the coefficients a, b, c, d, e, and f range from 0.005 to 0.01, -0.8 to -1.2, -0.1 to 0.15, -0.6 to 1, -0.01 to 0.05, and -5 to -10. In heating mode, the coefficients a, b, c, d, e, and f range from 0.05 to 1, -0.05 to 0.07, and 2 to 5.

[0061] This application also provides a temperature correction device. It should be noted that the temperature correction device of this application can be used to execute the temperature correction method provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0062] The temperature correction device provided in the embodiments of this application will be described below.

[0063] Figure 4 This is a schematic diagram of a temperature correction device according to an embodiment of this application. Figure 4 As shown, the device includes:

[0064] The acquisition unit 10 is used to acquire the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner;

[0065] Specifically, the ambient temperature of the air conditioner is the ambient temperature measured by the temperature sensor (NTC) on the outdoor unit of the air conditioner. Since the temperature measured by the NTC is also easily affected by the heat of the outdoor unit's main board, and the heat of the outdoor unit's main board is related to the voltage of the air conditioner, and the voltage in the actual user's home is not always the standard 220V, this application corrects the temperature change based on the exhaust temperature and the input voltage. First, the exhaust temperature and the input voltage are obtained.

[0066] The first determining unit 20 is used to determine the correction degree and the total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight.

[0067] Specifically, the correction degree and total weight can be determined based on the exhaust temperature and input voltage. The degree of correction to the input voltage can be represented by fuzzy language, for example: NB = very small, NS = small, ZO = moderate, PS = large, PB = very large, and the corresponding correction degrees are: "very small" correction degree 0℃, "small" correction degree 1℃, "moderate" correction degree 2℃, "large" correction degree 3℃, "very large" correction degree 4℃. The total weight is the weight corresponding to each correction degree.

[0068] The second determining unit 30 is used to calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and to determine the correction temperature based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0069] Specifically, after determining the correction degree and weight, the product of the correction degree and the corresponding weight is calculated. The correction degree is the degree of correction, and there may be multiple degrees. Therefore, the voltage correction parameter can be obtained by calculating the sum of each correction degree and the corresponding weight. Then, the corrected temperature is calculated using the voltage correction parameter, thus correcting the temperature.

[0070] In this embodiment, a correction degree and its corresponding total weight are determined based on the air conditioner's exhaust temperature and input voltage. The sum of the products of each correction degree and its corresponding total weight is calculated to obtain voltage correction parameters, and the corrected temperature is determined based on these parameters. Compared to existing devices where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it solves the problem of inaccurate ambient temperature measurement in existing technologies, achieving the goal of improving the accuracy of ambient temperature measurement.

[0071] In the specific implementation process, the first determining unit includes a first determining module, a second determining module, and a third determining module. The first determining module is used to determine a first membership degree based on the exhaust temperature, and obtain a first mapping relationship between the first membership degree and the fuzzy score. It then determines a first fuzzy score corresponding to the first membership degree based on the first mapping relationship. The membership degree is the temperature range to which the exhaust temperature belongs, and the fuzzy score is the score of the evaluation level corresponding to each temperature range. Each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value. The second determining module is used to determine a second membership degree based on the input voltage, and obtain a second mapping relationship between the second membership degree and the fuzzy score. It then determines a second fuzzy score corresponding to the second membership degree based on the second mapping relationship. The third determining module is used to obtain a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determine the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship. The device determines the correction degree based on the membership degree of the exhaust temperature and the input voltage, thus accurately determining the correction degree corresponding to different exhaust temperatures and input voltages, and making accurate temperature corrections.

[0072] Specifically, the membership degree corresponding to exhaust temperature is the first membership degree. Exhaust temperature is divided into different temperature ranges, and multiple fuzzy comments are set. Each fuzzy comment corresponds to an evaluation level and a fuzzy score. Similarly, the membership degree corresponding to input voltage is the second membership degree, also divided into multiple voltage ranges, and multiple fuzzy comments are set. Each fuzzy comment corresponds to an evaluation level and a fuzzy score. For example, exhaust temperature is represented by Tp, and the fuzzy comments for Tp are as follows: "NB = very low, NS = low, ZO = medium, PS = high, PB = very high". Input voltage is represented by Uin, and the fuzzy comments for Uin are as follows: "NB = very low, NS = low, ZO = medium, PS = high, PB = very high". Each of the above fuzzy comments corresponding to each range of exhaust temperature or input voltage has a fuzzy score, generally 0, 0.5, or 1, thus forming the mapping relationships. The above first, second, and third mapping relationships can be represented in the form of a graph or other forms. Taking an exhaust temperature Tp of 85℃ and a voltage Uin of 240V as an example, through the first mapping relationship, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, and PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, and PB=0. The third mapping relationship is represented in the form of a graph, where each column represents the fuzzy evaluation of the exhaust temperature, each row represents the fuzzy evaluation of the input voltage, and the elements in the table corresponding to each row and column are the correction degrees. Therefore, the correction degree can be determined through the first membership degree and the second membership degree.

[0073] To accurately calculate the total weight, in some optional embodiments, the first determining unit further includes a fourth determining module, a first calculation module, and a second calculation module. The fourth determining module is used to determine multiple combinations based on the first fuzzy score and the second fuzzy score. The first calculation module is used to calculate a first weight for the exhaust temperature and a second weight for the input voltage in each combination. The second calculation module is used to calculate the product of the first weight and the second weight to obtain the total weight corresponding to each combination. This device calculates the total weight by multiplying the first weight of the exhaust temperature and the second weight of the input voltage, thus enabling accurate calculation of the total weight.

[0074] In the specific implementation process, as mentioned above, through the first mapping relationship, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, PB=0. The above combination of exhaust temperature and input voltage has the following four cases: Case ① When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is ZO (weight is 1 / (1+0.5)), and the correction degree is ZO (total weight w1 is 1 / (1+0.5)*1 / (1+0.5)=4 / 9); Case ② When the exhaust temperature is ZO (weight is 1 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), and the correction degree is PS (total weight w2 is 1 / (1+0.5)*0.5 / (1+0.5)). Case ③: When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is ZO (weight is 1 / (1+0.5)), and the correction degree is PS (total weight w3 is 0.5 / (1+0.5)*1 / (1+0.5)=2 / 9); Case ④: When the exhaust temperature is PS (weight is 0.5 / (1+0.5)), the voltage value is PS (weight is 0.5 / (1+0.5)), and the correction degree is PB (total weight w4 is 0.5 / (1+0.5)*0.5 / (1+0.5)=1 / 9). Then, multiply each of the above correction degrees by the total weight and add them together, that is, Z0*w1+PS*w2+PS*w3+PB*w4=2*4 / 9+3*2 / 9+3*2 / 9+4*1 / 9=2.7, and the voltage correction parameter is 2.7℃.

[0075] In some optional implementations, the first calculation module includes a first calculation submodule and a second calculation submodule. The first calculation submodule calculates the ratio of the target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores for each of the aforementioned combinations, obtaining a first weight. The target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the aforementioned combinations. The second calculation submodule calculates the ratio of the target second fuzzy score of the input voltage to the sum of the second fuzzy scores, obtaining a second weight. The target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the aforementioned combinations. The device calculates the first weight and the second weight according to the above steps, thus accurately calculating the weights under different conditions.

[0076] In the specific implementation process, as mentioned above, there are many different combinations of the first fuzzy score and the second fuzzy score. In each combination, the first weight is obtained by calculating the ratio of the first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores of the exhaust temperature. Similarly, the second weight is obtained by calculating the ratio of the second fuzzy score of each combination to the sum of the second fuzzy scores of the input voltage. For example, when the exhaust temperature is ZO (the first weight is 1 / (1+0.5)) and the voltage value is ZO (the second weight is 1 / (1+0.5)).

[0077] To determine multiple combinations, the fourth determining module includes a first determining submodule, a second determining submodule, and a first combining submodule. The first determining submodule determines non-zero values ​​in the first fuzzy scores, obtaining one or more non-zero first fuzzy scores. The second determining submodule determines non-zero values ​​in the second fuzzy scores, obtaining one or more non-zero second fuzzy scores. The first combining submodule combines any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations. This device arranges and combines the first and second fuzzy scores to determine all possible combinations.

[0078] Specifically, as mentioned above, the first fuzzy score corresponding to an exhaust temperature Tp of 85℃ is NB=0, NS=0, ZO=1, PS=0.5, PB=0. Through the second mapping relationship, the second fuzzy score corresponding to a voltage value Uin of 240V is NB=0, NS=0, ZO=1, PS=0.5, PB=0. The non-zero first fuzzy score is determined to be ZO=1, PS=0.5; the non-zero second fuzzy score is determined to be ZO=1, PS=0.5. This results in four possible combinations: exhaust temperature ZO, input voltage ZO; exhaust temperature ZO, input voltage PS; exhaust temperature PS, input voltage ZO; and exhaust temperature PS, input voltage PS. In practical applications, combinations based on the non-zero first and second fuzzy scores are used.

[0079] In some optional embodiments, the first combination submodule includes a second combination submodule, used to combine one of the non-zero first fuzzy scores and each of the non-zero second fuzzy scores until all the non-zero first fuzzy scores and each of the non-zero second fuzzy scores are combined, resulting in multiple combinations. The device arranges and combines the non-zero first fuzzy scores and non-zero second fuzzy scores until all combinations are obtained, thus acquiring all possible combinations.

[0080] In the specific implementation process, in order to avoid omissions, one of the non-zero first fuzzy scores is first combined with all the non-zero second fuzzy scores to obtain all the combinations corresponding to the non-zero first fuzzy score. Then, each of the remaining non-zero first fuzzy scores is combined with all the non-zero second fuzzy scores to obtain all the combinations.

[0081] To correct the temperature, the second determining unit includes a third calculation module, a fourth calculation module, a fifth calculation module, and a sixth calculation module. The third calculation module acquires the air conditioner parameters and their corresponding first coefficients, and calculates the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value. The air conditioner parameters include at least the measured ambient temperature, the measured temperature of the air conditioner's external pipe, the outdoor unit current, and the outdoor fan speed. The fourth calculation module acquires the second coefficient corresponding to the exhaust temperature and calculates the product of the exhaust temperature and the second coefficient to obtain a second value. The fifth calculation module acquires an initial voltage correction parameter and calculates the difference between the initial voltage correction parameter and the previous voltage correction parameter to obtain a third value. The initial voltage correction parameter is the voltage parameter before correction. The sixth calculation module calculates the sum of the first, second, and third values ​​to obtain the corrected temperature. This device corrects the temperature based on the voltage correction parameter, thus correcting for the ambient temperature and obtaining a more accurate ambient temperature reading.

[0082] In the specific implementation process, the above steps can be expressed as the following formula: T 外环 = a*R + b*I + c*T 排气 +d*T 外管 +e*T NTC +f-Δ 电压 , where Δ 电压 The value of 2.7, calculated above, represents the measured ambient temperature T of the NTC. NTC External pipe temperature measurement value T 外管 Exhaust temperature T 排气 Outdoor unit current I, outdoor fan speed R, voltage correction parameter Δ 电压 In cooling mode, the coefficients a, b, c, d, e, and f range from 0.005 to 0.01, -0.8 to -1.2, -0.1 to 0.15, -0.6 to 1, -0.01 to 0.05, and -5 to -10. In heating mode, the coefficients a, b, c, d, e, and f range from 0.05 to 1, -0.05 to 0.07, and 2 to 5.

[0083] The aforementioned temperature correction device includes a processor and a memory. The aforementioned acquisition unit, first determination unit, and second determination unit are all stored as program units in the memory, and the processor executes the aforementioned program units stored in the memory to achieve the corresponding functions. All of the aforementioned modules are located in the same processor; alternatively, the aforementioned modules may be located in different processors in any combination.

[0084] The processor contains a kernel, which retrieves the corresponding program unit from memory. One or more kernels can be configured, and adjusting kernel parameters can correct the ambient temperature measurement.

[0085] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0086] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the temperature correction method.

[0087] Specifically, the temperature correction methods include:

[0088] Step S201: Obtain the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner;

[0089] Specifically, the ambient temperature of the air conditioner is the ambient temperature measured by the temperature sensor (NTC) on the outdoor unit of the air conditioner. Since the temperature measured by the NTC is also easily affected by the heat of the outdoor unit's main board, and the heat of the outdoor unit's main board is related to the voltage of the air conditioner, and the voltage in the actual user's home is not always the standard 220V, this application corrects the temperature change based on the exhaust temperature and the input voltage. First, the exhaust temperature and the input voltage are obtained.

[0090] Step S202: Determine the correction degree and total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight.

[0091] Specifically, the correction degree and total weight can be determined based on the exhaust temperature and input voltage. The degree of correction to the input voltage can be represented by fuzzy language, for example: NB = very small, NS = small, ZO = moderate, PS = large, PB = very large, and the corresponding correction degrees are: "very small" correction degree 0℃, "small" correction degree 1℃, "moderate" correction degree 2℃, "large" correction degree 3℃, "very large" correction degree 4℃. The total weight is the weight corresponding to each correction degree.

[0092] Step S203: Calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and determine the correction temperature based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0093] Specifically, after determining the correction degree and weight, the product of the correction degree and the corresponding weight is calculated. The correction degree is the degree of correction, and there may be multiple degrees. Therefore, the voltage correction parameter can be obtained by calculating the sum of each correction degree and the corresponding weight. Then, the corrected temperature is calculated using the voltage correction parameter, thus correcting the temperature.

[0094] Optionally, determining the correction degree based on the exhaust temperature and the input voltage includes: determining a first membership degree based on the exhaust temperature, obtaining a first mapping relationship between the first membership degree and the fuzzy score, determining a first fuzzy score corresponding to the first membership degree based on the first mapping relationship, wherein the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value; determining a second membership degree based on the input voltage, obtaining a second mapping relationship between the second membership degree and the fuzzy score, determining a second fuzzy score corresponding to the second membership degree based on the second mapping relationship; obtaining a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determining the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship.

[0095] Optionally, determining the total weight based on the exhaust temperature and the input voltage includes: determining multiple combinations based on the first fuzzy score and the second fuzzy score; calculating the first weight of the exhaust temperature for each combination and calculating the second weight of the input voltage; and calculating the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

[0096] Optionally, calculating a first weight for the exhaust temperature in each of the above-mentioned combination cases and calculating a second weight for the input voltage includes: calculating the ratio of a target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores in each of the above-mentioned combination cases to obtain a first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the above-mentioned combination cases; calculating the ratio of a target second fuzzy score of the input voltage to the sum of the second fuzzy scores to obtain a second weight, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the above-mentioned combination cases.

[0097] Optionally, determining multiple combinations based on the first fuzzy score and the second fuzzy score includes: determining non-zero values ​​in the first fuzzy score to obtain one or more non-zero first fuzzy scores; determining non-zero values ​​in the second fuzzy score to obtain one or more non-zero second fuzzy scores; and combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations.

[0098] Optionally, any one of the above non-zero first fuzzy scores and any one of the above non-zero second fuzzy scores can be combined to obtain multiple combinations, including: combining one of the above non-zero first fuzzy scores with each of the above non-zero second fuzzy scores until each of the above non-zero first fuzzy scores and each of the above non-zero second fuzzy scores is combined to obtain multiple combinations.

[0099] Optionally, determining the corrected temperature based on the aforementioned voltage correction parameters includes: acquiring air conditioner parameters and corresponding first coefficients; calculating the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured ambient temperature, the measured external pipe temperature of the air conditioner, the external unit current of the air conditioner, and the external fan speed of the air conditioner; acquiring the second coefficient corresponding to the exhaust temperature; calculating the product of the exhaust temperature and the second coefficient to obtain a second value; acquiring initial voltage correction parameters; calculating the difference between the initial voltage correction parameters and the voltage correction parameters to obtain a third value, wherein the initial voltage correction parameters are the voltage parameters before correction; and calculating the sum of the first value, the second value, and the third value to obtain the corrected temperature.

[0100] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0101] Step S201: Obtain the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner;

[0102] Specifically, the ambient temperature of the air conditioner is the ambient temperature measured by the temperature sensor (NTC) on the outdoor unit of the air conditioner. Since the temperature measured by the NTC is also easily affected by the heat of the outdoor unit's main board, and the heat of the outdoor unit's main board is related to the voltage of the air conditioner, and the voltage in the actual user's home is not always the standard 220V, this application corrects the temperature change based on the exhaust temperature and the input voltage. First, the exhaust temperature and the input voltage are obtained.

[0103] Step S202: Determine the correction degree and total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight.

[0104] Specifically, the correction degree and total weight can be determined based on the exhaust temperature and input voltage. The degree of correction to the input voltage can be represented by fuzzy language, for example: NB = very small, NS = small, ZO = moderate, PS = large, PB = very large, and the corresponding correction degrees are: "very small" correction degree 0℃, "small" correction degree 1℃, "moderate" correction degree 2℃, "large" correction degree 3℃, "very large" correction degree 4℃. The total weight is the weight corresponding to each correction degree.

[0105] Step S203: Calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and determine the correction temperature based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0106] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0107] Optionally, determining the correction degree based on the exhaust temperature and the input voltage includes: determining a first membership degree based on the exhaust temperature, obtaining a first mapping relationship between the first membership degree and the fuzzy score, determining a first fuzzy score corresponding to the first membership degree based on the first mapping relationship, wherein the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value; determining a second membership degree based on the input voltage, obtaining a second mapping relationship between the second membership degree and the fuzzy score, determining a second fuzzy score corresponding to the second membership degree based on the second mapping relationship; obtaining a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determining the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship.

[0108] Optionally, determining the total weight based on the exhaust temperature and the input voltage includes: determining multiple combinations based on the first fuzzy score and the second fuzzy score; calculating the first weight of the exhaust temperature for each combination and calculating the second weight of the input voltage; and calculating the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

[0109] Optionally, calculating a first weight for the exhaust temperature in each of the above-mentioned combination cases and calculating a second weight for the input voltage includes: calculating the ratio of a target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores in each of the above-mentioned combination cases to obtain a first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the above-mentioned combination cases; calculating the ratio of a target second fuzzy score of the input voltage to the sum of the second fuzzy scores to obtain a second weight, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the above-mentioned combination cases.

[0110] Optionally, determining multiple combinations based on the first fuzzy score and the second fuzzy score includes: determining non-zero values ​​in the first fuzzy score to obtain one or more non-zero first fuzzy scores; determining non-zero values ​​in the second fuzzy score to obtain one or more non-zero second fuzzy scores; and combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations.

[0111] Optionally, any one of the above non-zero first fuzzy scores and any one of the above non-zero second fuzzy scores can be combined to obtain multiple combinations, including: combining one of the above non-zero first fuzzy scores with each of the above non-zero second fuzzy scores until each of the above non-zero first fuzzy scores and each of the above non-zero second fuzzy scores is combined to obtain multiple combinations.

[0112] Optionally, determining the corrected temperature based on the aforementioned voltage correction parameters includes: acquiring air conditioner parameters and corresponding first coefficients; calculating the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured ambient temperature, the measured external pipe temperature of the air conditioner, the external unit current of the air conditioner, and the external fan speed of the air conditioner; acquiring the second coefficient corresponding to the exhaust temperature; calculating the product of the exhaust temperature and the second coefficient to obtain a second value; acquiring initial voltage correction parameters; calculating the difference between the initial voltage correction parameters and the voltage correction parameters to obtain a third value, wherein the initial voltage correction parameters are the voltage parameters before correction; and calculating the sum of the first value, the second value, and the third value to obtain the corrected temperature.

[0113] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0114] Step S201: Obtain the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner;

[0115] Step S202: Determine the correction degree and total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight.

[0116] Step S203: Calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and determine the correction temperature based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner.

[0117] Optionally, determining the correction degree based on the exhaust temperature and the input voltage includes: determining a first membership degree based on the exhaust temperature, obtaining a first mapping relationship between the first membership degree and the fuzzy score, determining a first fuzzy score corresponding to the first membership degree based on the first mapping relationship, wherein the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value; determining a second membership degree based on the input voltage, obtaining a second mapping relationship between the second membership degree and the fuzzy score, determining a second fuzzy score corresponding to the second membership degree based on the second mapping relationship; obtaining a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determining the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship.

[0118] Optionally, determining the total weight based on the exhaust temperature and the input voltage includes: determining multiple combinations based on the first fuzzy score and the second fuzzy score; calculating the first weight of the exhaust temperature for each combination and calculating the second weight of the input voltage; and calculating the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

[0119] Optionally, calculating a first weight for the exhaust temperature in each of the above-mentioned combination cases and calculating a second weight for the input voltage includes: calculating the ratio of a target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores in each of the above-mentioned combination cases to obtain a first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the above-mentioned combination cases; calculating the ratio of a target second fuzzy score of the input voltage to the sum of the second fuzzy scores to obtain a second weight, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the above-mentioned combination cases.

[0120] Optionally, determining multiple combinations based on the first fuzzy score and the second fuzzy score includes: determining non-zero values ​​in the first fuzzy score to obtain one or more non-zero first fuzzy scores; determining non-zero values ​​in the second fuzzy score to obtain one or more non-zero second fuzzy scores; and combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores to obtain multiple combinations.

[0121] Optionally, any one of the above non-zero first fuzzy scores and any one of the above non-zero second fuzzy scores can be combined to obtain multiple combinations, including: combining one of the above non-zero first fuzzy scores with each of the above non-zero second fuzzy scores until each of the above non-zero first fuzzy scores and each of the above non-zero second fuzzy scores is combined to obtain multiple combinations.

[0122] Optionally, determining the corrected temperature based on the aforementioned voltage correction parameters includes: acquiring air conditioner parameters and corresponding first coefficients; calculating the sum of the products of each air conditioner parameter and its corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured ambient temperature, the measured external pipe temperature of the air conditioner, the external unit current of the air conditioner, and the external fan speed of the air conditioner; acquiring the second coefficient corresponding to the exhaust temperature; calculating the product of the exhaust temperature and the second coefficient to obtain a second value; acquiring initial voltage correction parameters; calculating the difference between the initial voltage correction parameters and the voltage correction parameters to obtain a third value, wherein the initial voltage correction parameters are the voltage parameters before correction; and calculating the sum of the first value, the second value, and the third value to obtain the corrected temperature.

[0123] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0124] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0125] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0126] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0127] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0128] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0129] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0130] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0132] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0133] 1) In the temperature correction method of this application, the correction degree and the corresponding total weight are determined based on the exhaust temperature and input voltage of the air conditioner; the sum of the products of each correction degree and its corresponding total weight is calculated to obtain the voltage correction parameter, and the corrected temperature is determined based on the voltage correction parameter. Compared with the prior art, where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it can solve the problem of inaccurate ambient temperature measurement in the prior art, achieving the goal of improving the accuracy of ambient temperature measurement.

[0134] 2) In the temperature correction device of this application, the correction degree and the corresponding total weight are determined based on the exhaust temperature and input voltage of the air conditioner; the sum of the products of each correction degree and its corresponding total weight is calculated to obtain the voltage correction parameter, and the corrected temperature is determined based on the voltage correction parameter. Compared with the prior art, where the measured ambient temperature fluctuates with changes in the air conditioner's input voltage, this application can correct the measured ambient temperature, making the measured ambient temperature more accurate. Therefore, it can solve the problem of inaccurate ambient temperature measurement in the prior art, achieving the goal of improving the accuracy of ambient temperature measurement.

[0135] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for temperature correction, characterized in that, include: The exhaust temperature and input voltage of the air conditioner are obtained, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner; The correction degree and total weight are determined based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction to the input voltage, and each correction degree corresponds to a total weight; The voltage correction parameter is obtained by summing the products of the correction degree and the corresponding total weight, and the correction temperature is determined based on the voltage correction parameter. The voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature. The measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner. Determining the correction degree based on the exhaust temperature and the input voltage includes: determining a first membership degree based on the exhaust temperature, and obtaining a first mapping relationship between the first membership degree and the fuzzy score; determining a first fuzzy score corresponding to the first membership degree based on the first mapping relationship, wherein the membership degree is the temperature range to which the exhaust temperature belongs, the fuzzy score is the score of the evaluation level corresponding to each temperature range, each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value; determining a second membership degree based on the input voltage, and obtaining a second mapping relationship between the second membership degree and the fuzzy score; determining a second fuzzy score corresponding to the second membership degree based on the second mapping relationship; obtaining a third mapping relationship between the first membership degree, the second membership degree, and the correction degree; and determining the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship. Determining the total weight based on the exhaust temperature and the input voltage includes: determining multiple combinations based on the first fuzzy score and the second fuzzy score; calculating a first weight for the exhaust temperature in each combination and a second weight for the input voltage; and calculating the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

2. The correction method according to claim 1, characterized in that, Calculate a first weight for the exhaust temperature in each of the aforementioned combinations, and calculate a second weight for the input voltage, including: Calculate the ratio of the target first fuzzy score of the exhaust temperature to the sum of the first fuzzy scores for each of the combined cases to obtain the first weight, wherein the target first fuzzy score is the first fuzzy score corresponding to the exhaust temperature in each of the combined cases; The second weight is obtained by calculating the ratio of the target second fuzzy score of the input voltage to the sum of the second fuzzy scores, wherein the target second fuzzy score is the second fuzzy score corresponding to the input voltage in each of the combined cases.

3. The correction method according to claim 1, characterized in that, Multiple combinations are determined based on the first fuzzy score and the second fuzzy score, including: Determine the non-zero values ​​in the first fuzzy score to obtain one or more non-zero first fuzzy scores; Determine the non-zero values ​​in the second fuzzy score to obtain one or more non-zero second fuzzy scores; By combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores, multiple combinations can be obtained.

4. The correction method according to claim 3, characterized in that, Combining any one of the non-zero first fuzzy scores and any one of the non-zero second fuzzy scores yields multiple possible combinations, including: The non-zero first fuzzy score and each non-zero second fuzzy score are combined until each non-zero first fuzzy score and each non-zero second fuzzy score are combined to obtain multiple combinations.

5. The correction method according to claim 1, characterized in that, Determining the correction temperature based on the voltage correction parameters includes: Obtain the air conditioner parameters and corresponding first coefficients, calculate the sum of the products of each air conditioner parameter and the corresponding first coefficient to obtain a first value, wherein the air conditioner parameters include at least the measured value of the external ambient temperature, the measured value of the external pipe temperature of the air conditioner, the external unit current of the air conditioner, and the external fan speed of the air conditioner; Obtain the second coefficient corresponding to the exhaust temperature, calculate the product of the exhaust temperature and the second coefficient, and obtain the second value; Obtain the initial voltage correction parameter, calculate the difference between the initial voltage correction parameter and the voltage correction parameter, and obtain the third value, wherein the initial voltage correction parameter is the voltage parameter before correction; The corrected temperature is obtained by summing the first value, the second value, and the third value.

6. A temperature correction device, characterized in that, include: An acquisition unit is used to acquire the exhaust temperature of the air conditioner and the input voltage of the air conditioner, wherein the exhaust temperature is the temperature of the refrigerant discharged by the compressor of the air conditioner; The first determining unit is configured to determine a correction degree and a total weight based on the exhaust temperature and the input voltage, wherein the correction degree is a parameter characterizing the degree of correction of the input voltage, and each correction degree corresponds to a total weight; The second determining unit is used to calculate the sum of the products of the correction degree and the corresponding total weight to obtain the voltage correction parameter, and to determine the correction temperature based on the voltage correction parameter, wherein the voltage correction parameter is used to correct the measured temperature of the external environment of the air conditioner to obtain the correction temperature, and the measured temperature of the external environment is the temperature of the outdoor environment measured by the outdoor unit of the air conditioner. The first determining unit includes a first determining module, a second determining module, and a third determining module. The first determining module is used to determine a first membership degree based on the exhaust temperature, and obtain a first mapping relationship between the first membership degree and a fuzzy score. It then determines a first fuzzy score corresponding to the first membership degree based on the first mapping relationship. The membership degree is the temperature range to which the exhaust temperature belongs, and the fuzzy score is the score of an evaluation level corresponding to each temperature range. Each evaluation level corresponds to a fuzzy comment, and the fuzzy score is zero or a non-zero value. The second determining module is used to determine a second membership degree based on the input voltage, and obtain a second mapping relationship between the second membership degree and a fuzzy score. It then determines a second fuzzy score corresponding to the second membership degree based on the second mapping relationship. The third determining module is used to obtain a third mapping relationship between the first membership degree, the second membership degree, and the correction degree, and determine the correction degree corresponding to the first membership degree and the second membership degree based on the third mapping relationship. The first determining unit further includes a fourth determining module, a first calculating module, and a second calculating module, wherein the fourth determining module is used to determine multiple combinations based on the first fuzzy score and the second fuzzy score; the first calculating module is used to calculate a first weight of the exhaust temperature in each combination and a second weight of the input voltage; the second calculating module is used to calculate the product of the first weight and the second weight to obtain the total weight corresponding to each combination.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the correction method according to any one of claims 1 to 5.

8. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing the correction method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Control method and device for air conditioner

    CN110749053A

  • Temperature correction method of temperature controller, electronic equipment and computer storage medium

    CN114354016A