Temperature compensation method and device, medium and air conditioner

By obtaining the load ratio and rate of change of the air conditioner, determining the load state and calculating the compensation temperature, the problem of insufficient temperature control accuracy of the air conditioner is solved, and effective correction of sensor temperature deviation and accuracy of temperature control are achieved.

CN120576464APending Publication Date: 2025-09-02TCL AIR CONDITIONER ZHONGSHAN CO LTD

Patent Information

Application Number
CN202510977603.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

Due to factors such as sensor installation location, environmental airflow distribution and equipment heat dissipation interference, existing air conditioners have different indoor ambient temperature and sensor detection temperature, affecting the temperature control accuracy.

Method used

By obtaining the load ratio and rate of change of the air conditioner, determining the load state, and calculating the compensation temperature based on the load state, compensating the sensor detection temperature, and obtaining the compensated target temperature.

Benefits of technology

It significantly improves the temperature control accuracy, effectively corrects the sensor temperature deviation, dynamically senses the operating status of the air conditioner, and scientifically calculates the compensated temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120576464A_ABST
    Figure CN120576464A_ABST
Patent Text Reader

Abstract

According to the temperature compensation method and device, the medium and the air conditioner, the load state is determined by obtaining the load ratio of the air conditioner and the first change rate of the air conditioner, then the compensation temperature is analyzed and determined in combination with the load state, the compensation temperature is used for conducting compensation treatment on the temperature detected by a sensor, and the compensated target temperature is obtained. According to the scheme, the temperature deviation of the sensor is effectively corrected by dynamically sensing the operation state of the air conditioner and scientifically calculating the compensation temperature, and the temperature control precision is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioning, and in particular to a temperature compensation method, device, medium and air conditioner. Background Art

[0002] Existing air conditioners often directly use sensor-detected temperature as the actual indoor ambient temperature. However, due to factors such as the sensor installation location, ambient airflow distribution, and equipment heat dissipation interference, the actual indoor ambient temperature often differs from the sensor-detected temperature, which will further lead to problems such as insufficient temperature control accuracy of the air conditioner. Summary of the Invention

[0003] Based on this, it is necessary to provide a temperature compensation method, device, medium and air conditioner to solve the problem that existing air conditioners are often unable to obtain the actual indoor ambient temperature.

[0004] In a first aspect, an embodiment of the present application provides a temperature compensation method, the method comprising:

[0005] Obtaining a load ratio and a first rate of change of the load ratio; wherein the load ratio is a ratio of a current load of the air conditioner to a rated load;

[0006] determining a load state according to a combination of the load ratio and the first change rate, and determining a compensation temperature according to the load state;

[0007] The sensor detected temperature is compensated based on the compensation temperature to determine a compensated target temperature.

[0008] In some embodiments of the present application, under current working conditions, the load ratio is obtained by:

[0009] Obtaining the equivalent heat capacity corresponding to the current operating condition, the temperature change value under the current load within a preset sampling interval, and the average operating power;

[0010] The load ratio is calculated according to the equivalent heat capacity, the temperature change value and the average operating power.

[0011] In some embodiments of the present application, a method for obtaining the first rate of change of the load ratio includes:

[0012] Obtaining the operating frequency of the compressor, the second rate of change of the operating frequency, the speed of the indoor fan, the third rate of change of the speed, a compressor calibration coefficient, and a fan calibration coefficient; wherein the compressor calibration coefficient is used to quantify the degree of influence of the second rate of change on the rate of change of the load ratio, and the fan calibration coefficient is used to quantify the degree of influence of the third rate of change on the rate of change of the load ratio;

[0013] The change rate of the load ratio is calculated according to the operating frequency, the second change rate, the rotational speed, the third change rate, the compressor calibration coefficient, and the fan calibration coefficient.

[0014] In some embodiments of the present application, the compressor calibration coefficient is obtained by:

[0015] Under the premise that the speed of the indoor fan is fixed, a first parameter set is obtained; wherein the first parameter set is a load ratio corresponding to different operating frequencies of the compressor;

[0016] fitting the compressor calibration coefficients according to the first parameter set;

[0017] The fan calibration coefficient is obtained by:

[0018] Under the premise that the operating frequency of the compressor is fixed, a second parameter set is obtained; wherein the second parameter set is a load ratio corresponding to different speeds of the indoor fan;

[0019] The compressor calibration coefficients are fitted according to the second parameter set.

[0020] In some embodiments of the present application, the load state includes a first load state, a second load state, and a third load state. Determining the load state according to a combination of the load ratio and the first change rate, and determining the compensation temperature according to the load state includes:

[0021] If the load ratio is less than a first load ratio threshold, determining the load state to be the first load state and determining the compensation temperature to be 0;

[0022] If the load ratio is greater than the first load ratio threshold and less than the second load ratio threshold, and / or the first change rate is less than 0, determining that the load state is the second load state, performing a first calculation process on the temperature change value under the current load within the sampling interval to obtain a first compensation value, and using the first compensation value as the compensation temperature;

[0023] If the load ratio is greater than the second load ratio threshold, and / or the first change rate is greater than 0, the load state is determined to be the third load state, and a second calculation process is performed on the temperature change value under the current load within the sampling interval to obtain a second compensation value, and the second compensation value is used as the compensated temperature; wherein the absolute value of the second compensation value is greater than the absolute value of the first compensation value.

[0024] In some embodiments of the present application, the first calculation process of the temperature change value under the current load within the sampling interval is a linear calculation process, which is expressed as:

[0025] Tcomp1 =α·ΔTs

[0026] In the above formula, T comp1 is the first compensation value; α is the linear compensation coefficient; ΔTs is the temperature change value under the current load within the sampling interval;

[0027] The second calculation process of the temperature change value under the current load within the sampling interval is an exponential calculation process, which is expressed as:

[0028] T comp2 =β·e k·ΔTs

[0029] In the above formula, T comp2 is the second compensation value; β is the basic compensation coefficient; and k is the exponential growth factor.

[0030] In some embodiments of the present application, before performing the first calculation process on the temperature change value under the current load within the sampling interval as an exponential calculation process, the method further includes:

[0031] The linear compensation coefficient is updated to represent:

[0032]

[0033] In the above formula, α new is the updated linear compensation coefficient; α old is the linear compensation coefficient before updating; γ is the learning rate between 0 and 1; ΔT rated is the temperature change value under rated load within the preset sampling interval, T old is the compensation temperature at the last sampling moment;

[0034] Before performing the second calculation process of the temperature change value under the current load within the sampling interval as the exponential calculation process, the method further includes:

[0035] The exponential growth factor is updated and expressed as:

[0036] k new =k old +a×sgn(ΔT rated -T old )

[0037] In the above formula, k new is the updated exponential growth factor; k old is the exponential growth factor before updating; a is the preset coefficient.

[0038] In a second aspect, an embodiment of the present application further provides a temperature compensation device, the temperature compensation device comprising:

[0039] A parameter acquisition module, configured to acquire a load ratio and a first rate of change of the load ratio; wherein the load ratio is a ratio of a current load of the air conditioner to a rated load;

[0040] a compensation temperature determination module, configured to determine a load state according to a combination of the load ratio and the first change rate, and determine a compensation temperature according to the load state;

[0041] The temperature compensation module is used to compensate the temperature detected by the sensor based on the compensation temperature and determine the compensated target temperature.

[0042] In a third aspect, an embodiment of the present application further provides an air conditioner, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above-mentioned temperature compensation method are implemented.

[0043] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned temperature compensation method are implemented.

[0044] In a fifth aspect, embodiments of the present application further provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in the embodiments of the present application.

[0045] The present invention provides a temperature compensation method, device, medium, and air conditioner. These methods first determine the load state by obtaining the air conditioner's load ratio and its first rate of change. Then, based on load state analysis, they determine a compensation temperature. This temperature is then used to compensate the sensor's detected temperature to obtain a compensated target temperature. This solution dynamically senses the air conditioner's operating state and scientifically calculates the compensation temperature, effectively correcting sensor temperature deviations and significantly improving temperature control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] in:

[0048] Figure 1A schematic flow chart of a temperature compensation method according to the first embodiment of the present application;

[0049] Figure 2 A flow chart of a temperature compensation method according to a second embodiment of the present application;

[0050] Figure 3 It is a structural diagram of the temperature compensation device;

[0051] Figure 4 This is the structural block diagram of the air conditioner. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0053] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0054] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0055] See also Figure 1 , Figure 1 This is a flow chart of the temperature compensation method provided in the first embodiment of the present application. Although the flow chart shows a logical order, in some cases, the steps shown or described may be performed in a different order than shown in the accompanying drawings. Specifically, the specific process of the temperature compensation method provided in the first embodiment of the present application is as follows:

[0056] S101, obtaining a load ratio and a first change rate of the load ratio.

[0057] Among them, the load ratio is the ratio of the current load of the air conditioner to the rated load. The current load refers to the cooling / heating capacity provided by the air conditioner under the current operating state. The first change rate of the load ratio refers to the change rate of the load ratio per unit time, reflecting the dynamic trend of the load change of the air conditioner.

[0058] Optionally, first, the operating frequency of the compressor is collected in real time through the control system of the air conditioner, and then the current load is calculated based on the operating frequency. Specifically, the current load can be calculated by the formula P current = k × f (where P current is the current load, k is a specific coefficient, and f is the compressor frequency). Subsequently, the rated load is obtained from the equipment specifications, and then the load ratio is obtained by dividing the current load by the rated load.

[0059] Optionally, by performing time series sampling on the load ratio (for example, sampling once every 5 seconds), calculating the difference in the load ratio between two adjacent samplings, and then dividing by the time interval (for example, Δt = 5 seconds), the first change rate of the load ratio is obtained, that is, ΔL / Δt = (L_t - L_(t - 1)) / Δt. Or, within a long time window (for example, 1 minute), multiple sets of load ratio data are collected, and the least squares method is used to fit the change curve of the load ratio over time, and the slope of the curve is calculated as the first change rate of the load ratio. Of course, it can also be other calculation methods, which are not specifically limited here.

[0060] S102, determine the load state according to the combination of the load ratio and the first change rate, and determine the compensation temperature according to the load state.

[0061] Among them, the load state refers to the classification of the operating characteristics of the air conditioner analyzed based on the combination of the load ratio and its first change rate. The compensation temperature refers to the temperature correction value calculated according to the current environmental conditions, which is used to correct the deviation between the temperature detected by the sensor and the actual indoor environmental temperature.

[0062] Optionally, first, the system presets a load state and compensation temperature classification table, including a low load stable state (load ratio < a1%, first change rate < b1% / minute), a medium load transition state (load ratio a1% - a2%, first change rate b1% - b2% / minute), and a high load dynamic state (load ratio > a2%, first change rate > b2% / minute). Among them, the low load state is assigned a compensation temperature of -T1°C, the medium load state is assigned 0°C, and the high load state is assigned +T2°C. Then, by obtaining the load ratio and its first change rate in real time and matching them with the classification table, the corresponding load state is determined. For example, if the load ratio is a3% and the first change rate is b3% / minute, falling within the range of the low load stable state, the compensation temperature is determined to be -T1°C. This method simplifies the determination process of the load state and the compensation temperature through discrete state classification.

[0063] Alternatively, the system first constructs a weighted load index based on the load ratio (L) and the first rate of change (ΔL / Δt), and the calculation formula is I=w1×L+w2×ΔL / Δt, where w1 and w2 are preset weights (for example, w1=0.7, w2=0.3). According to the size of the index I, the system divides the load state into low load (I<0.4), medium load (0.4≤I<0.8) and high load (I≥0.8). Subsequently, the compensation temperature is determined by linear interpolation, and the formula is T comp =a×I+b, where a and b are coefficients corresponding to different load states calibrated according to experimental data. For example, if I=0.6, the coefficients corresponding to the medium load state are a=1.2 and b=-0.3, then the calculated T comp =0.42°C. This method achieves a refined analysis of the load state and compensation temperature through a continuous mathematical model. Of course, other methods for determining the compensation temperature are also possible and are not specifically limited here.

[0064] S103 , performing compensation processing on the temperature detected by the sensor based on the compensation temperature, and determining a compensated target temperature.

[0065] The sensor-detected temperature refers to the temperature measured by the air conditioner's built-in temperature sensor during operation. This may be affected by factors such as the sensor's installation location, ambient airflow distribution, and heat dissipation. The target temperature is the temperature value obtained after compensation, reflecting the actual indoor ambient temperature.

[0066] Alternatively, the compensation process can be performed by directly adding the compensation temperature to the current sensor temperature and using the calculated result as the target temperature. Alternatively, to avoid compensation errors caused by sensor noise or transient fluctuations, the system collects multiple sets of sensor temperatures within a fixed time window (e.g., 30 seconds), calculates their average value, adds the average value to the compensation temperature, and uses the calculated result as the target temperature. Of course, other methods of determining the target temperature are also possible and are not specifically limited here.

[0067] The above embodiment first determines the load state by obtaining the air conditioner's load ratio and its first rate of change. The load state analysis then determines the compensation temperature, which is then used to compensate the sensor's detected temperature to obtain the compensated target temperature. This solution dynamically senses the air conditioner's operating state and scientifically calculates the compensation temperature, effectively correcting sensor temperature deviations and significantly improving temperature control accuracy.

[0068] See also Figure 2 , Figure 2This is a flow chart of a temperature compensation method provided in the second embodiment of the present application. Although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown in the accompanying drawings. Specifically, the specific process of the temperature compensation method provided in the second embodiment of the present application is as follows:

[0069] S201, obtaining an equivalent heat capacity corresponding to a current operating condition, a temperature change value under a current load within a preset sampling interval, and an average operating power.

[0070] Among them, equivalent heat capacity refers to the ability of a building or room to store heat, reflecting the heat required for the air conditioner to do work and change the room temperature within a certain period of time.

[0071] Optionally, the system searches for the equivalent heat capacity value under the corresponding working conditions from a preset equivalent heat capacity database based on the current working conditions (e.g., the detected indoor and outdoor ambient temperatures, room type, etc.). The database is established through experimental calibration under different working conditions. Alternatively, the system operates the air conditioner at rated load under the current working conditions, records the temperature changes within a preset sampling interval, and calculates the equivalent heat capacity C according to the following formula:

[0072]

[0073] In the above formula, P rated is the rated load. τ is the preset sampling interval. ΔT rated It is the temperature change value under rated load within the preset sampling interval.

[0074] Optionally, under the current load, the indoor temperature sensor continuously collects temperature data within a preset sampling interval (e.g., τ = 300 seconds), and the temperature difference between the start and end of the operation is calculated as the temperature change value. Simultaneously, the average current and average voltage of the air conditioner during the preset sampling interval are collected and multiplied to obtain the average operating power.

[0075] S202, calculating the load ratio according to the equivalent heat capacity, the temperature change value and the average operating power.

[0076] Optionally, the calculation formula of the load ratio L is:

[0077]

[0078] In the above formula, ΔT s is the temperature change under the current load within the preset sampling interval. P is the average operating power.

[0079] In the above S201-S202, considering that traditional room load calculation methods such as hourly calculation method and harmonic response method are relatively complicated, and the use scenario of household air conditioners is relatively simple, and the environmental variables (such as room size and thermal insulation performance) vary only slightly, the equivalent heat capacity corresponding to different working conditions is determined by experimental calibration, and then the equivalent heat capacity corresponding to the current working condition is obtained in the actual calculation, which can effectively simplify the load calculation process. Then, the actual output energy of the air conditioner (P×τ) is compared with the rated energy absorbed by the room heat capacity (C×ΔT s ) is normalized to indirectly infer the room's load ratio, thereby simplifying the calculation process.

[0080] S203 , obtaining the operating frequency of the compressor, the second change rate of the operating frequency, the speed of the indoor fan, the third change rate of the speed, the compressor calibration coefficient, and the fan calibration coefficient.

[0081] The operating frequency refers to the operating frequency of the air conditioner compressor in its current operating state. The second rate of change refers to the rate of change of the compressor operating frequency per unit time. The indoor fan speed refers to the speed of the air conditioner indoor fan in its current operating state. The third rate of change refers to the rate of change of the indoor fan speed per unit time. The compressor calibration factor quantifies the impact of the second rate of change on the rate of change of the load ratio, while the fan calibration factor quantifies the impact of the third rate of change on the rate of change of the load ratio.

[0082] Alternatively, because the compressor frequency directly determines the cooling / heating capacity, the fan speed affects the air circulation efficiency, and there is a coupling relationship between the compressor frequency and the internal fan speed, which jointly determine the dynamic change of the load, the following formula can be derived to express the rate of change of the dynamic calculation load ratio:

[0083]

[0084] In the above formula, K1 is the fan calibration coefficient. f is the operating frequency of the compressor. is the third rate of change. K2 is the compressor calibration coefficient. v is the speed of the indoor fan. is the second rate of change.

[0085] In some embodiments of the present application, a method for obtaining a compressor calibration coefficient K2 includes: obtaining a first parameter set under the premise that the indoor fan speed is fixed. The first parameter set is the load ratio corresponding to different operating frequencies of the compressor. The compressor calibration coefficient is fitted based on the first parameter set. A method for obtaining a fan calibration coefficient K1 includes: obtaining a second parameter set under the premise that the compressor operating frequency is fixed. The second parameter set is the load ratio corresponding to different indoor fan speeds. The compressor calibration coefficient is fitted based on the second parameter set.

[0086] Optionally, under a standard test environment, first fix the indoor fan speed, and then set and adjust multiple values ​​of the compressor operating frequency in sequence. For each frequency, after the system runs for a fixed time, measure the current load, and combine the equivalent heat capacity and temperature change value to calculate the load ratio through the formula L = (P × τ) / (C × ΔT_s) to generate a first parameter set. Then use linear regression or quadratic polynomials and other methods to fit the first parameter set to obtain the compressor calibration coefficient K2. Similarly, first fix the compressor frequency, and then set and adjust multiple values ​​of the indoor fan speed in sequence, and similarly calculate the load ratio to generate a second parameter set, and fit the fan calibration coefficient K1 through linear regression or quadratic polynomials and other methods. This embodiment determines the compressor calibration coefficient K2 and the fan calibration coefficient K1 through discrete test points and simple regression, which is suitable for scenarios with limited hardware computing power.

[0087] S204 , calculating the load ratio change rate according to the operating frequency, the second change rate, the rotational speed, the third change rate, the compressor calibration coefficient, and the fan calibration coefficient.

[0088] Optionally, the acquired operating frequency, second change rate, rotational speed, third change rate, compressor calibration coefficient and fan calibration coefficient are substituted into the above calculation formula to obtain the change rate of the load ratio.

[0089] The above S203-S204, by comprehensively considering the coupling effect of the compressor and fan operating parameters, achieves accurate characterization of the dynamic changes of the air-conditioning load, providing a reliable data basis for subsequent temperature compensation and operation optimization.

[0090] S205: If the load ratio is less than the first load ratio threshold, the load state is determined to be the first load state, and the compensation temperature is determined to be 0.

[0091] The first load ratio threshold refers to a load ratio boundary for distinguishing the first load state from the second load state. For example, the first load ratio threshold can be set to 30%.

[0092] It can be understood that if the load ratio is less than the first load ratio threshold, it is determined that the system's operating intensity is low. At this time, the influence of factors such as equipment heat dissipation and airflow interference is small, and the sensor temperature deviation can be ignored. Therefore, the compensation temperature is set to 0°C under the first load state, that is, no subsequent compensation is performed to avoid over-compensation.

[0093] S206, if the load ratio is greater than the first load ratio threshold and less than the second load ratio threshold, and / or the first change rate is less than 0, the load state is determined to be the second load state, and the temperature change value under the current load within the sampling interval is subjected to a first calculation process to obtain a first compensation value, and the first compensation value is used as the compensation temperature.

[0094] The second load ratio threshold refers to a load ratio boundary for distinguishing the second load state from the third load state. For example, the second load ratio threshold is 80%.

[0095] It can be understood that if the load ratio is greater than the first load ratio threshold and less than the second load ratio threshold, the system is considered to be operating at a moderate intensity. If the first rate of change is less than 0, the system's load ratio is considered to be in a dynamic trend of decreasing and then stabilizing. At this point, it can be determined that the impact of equipment heat dissipation and airflow disturbances on interference factors such as sensor temperature is relatively mild, requiring appropriate compensation to correct the deviation. The temperature change value under the current load within the sampling interval directly reflects the actual impact of air conditioning operation on indoor temperature. Therefore, a first calculation is performed on the temperature change value under the current load within the sampling interval to more conservatively quantify the sensor deviation and obtain a first compensation value as the compensation temperature, which is used for conservative compensation to appropriately correct the deviation.

[0096] In some embodiments of the present application, the first calculation process performed on the temperature change value under the current load within the sampling interval is a linear calculation process, which is expressed as:

[0097] T comp1 =α·ΔTs

[0098] In the above formula, T comp1 is the first compensation value. α is the linear compensation coefficient. ΔTs is the temperature change under the current load within the sampling interval.

[0099] Alternatively, the first calculation of the temperature change under the current load during the sampling interval can be performed using a piecewise linear process, with different compensation coefficients applied depending on the magnitude of ΔTs. Specifically, a smaller ΔTs results in more stable deviations and requires a slightly larger coefficient; a larger ΔTs may contain noise, requiring a more conservative approach and thus a slightly smaller coefficient. Other first calculation methods are also possible and are not specifically limited here.

[0100] The above embodiment achieves fast calculation and conservative correction of the first compensation value through conventional linear calculation processing or piecewise linear processing, thereby reducing the risk of over-compensation.

[0101] In some embodiments of the present application, considering that sensor performance or environmental conditions may change slightly, the fixed parameters may not continue to accurately reflect the actual deviation during the first calculation process, so it is necessary to update the parameters to dynamically adapt to these changes. Specifically, if the first calculation process is a linear calculation process, the linear compensation coefficient therein is updated, indicating:

[0102]

[0103] In the above formula, α new is the updated linear compensation coefficient. oldis the linear compensation coefficient before updating. γ is the learning rate between 0 and 1. ΔT rated is the temperature change value under rated load during the sampling interval, T old is the compensation temperature at the last sampling moment.

[0104] The above update formula based on gradient descent achieves dynamic optimization of the linear compensation coefficient, significantly improving the accuracy of the compensated temperature. Furthermore, by introducing the learning rate γ, the update process is stabilized and controllable, avoiding over-compensation or under-compensation issues.

[0105] S207, if the load ratio is greater than the second load ratio threshold, and / or the first change rate is greater than 0, the load state is determined to be a third load state, and a second calculation process is performed on the temperature change value under the current load within the sampling interval to obtain a second compensation value, and the second compensation value is used as the compensation temperature.

[0106] The absolute value of the second compensation value is greater than the absolute value of the first compensation value.

[0107] It can be understood that if the load ratio is greater than the first load ratio threshold and less than the second load ratio threshold, the system is considered to be operating at a high intensity. If the first rate of change is greater than 0, the system's load ratio is considered to be on an upward and unstable dynamic trend. In this case, it can be determined that equipment heat dissipation and airflow disturbances are significantly affecting interference factors such as sensor temperature, requiring more aggressive compensation to correct the deviation. The temperature change value under the current load within the sampling interval directly reflects the actual impact of air conditioning operation on indoor temperature. Therefore, a second calculation is performed on the temperature change value under the current load within the sampling interval to more aggressively quantify the sensor deviation and obtain a second compensation value as the compensation temperature, which is used for aggressive compensation to significantly correct the deviation.

[0108] In some embodiments of the present application, the second calculation process performed on the temperature change value under the current load within the sampling interval is an exponential calculation process, which is expressed as:

[0109] T comp2 =β·e k·ΔTs

[0110] In the above formula, T comp2 is the second compensation value. β is the basic compensation coefficient. Optionally, β is set to an initial value of 0.8 based on laboratory calibration. The coefficient can be 0.6, 0.8, or 1. If the actual equivalent heat capacity / the calibrated equivalent heat capacity is greater than 1, the coefficient is 1; otherwise, it is 0.6. k is the exponential growth factor.

[0111] Alternatively, the second calculation process performed on the temperature change value under the current load within the sampling interval is a quadratic power calculation process, which is expressed as:

[0112] T comp2=β·ΔTs 2

[0113] The quadratic function is used here because it rapidly increases the compensation amplitude. This quadratic processing allows for aggressive correction of high-load deviations, with simple calculations and significant results. Other secondary calculation methods are also possible and are not specifically limited here.

[0114] The above embodiment performs aggressive correction, which is suitable for scenarios with large sensor deviations under high load conditions, and balances accuracy and response speed.

[0115] In some embodiments of the present application, considering that sensor performance or environmental conditions may change slightly, the fixed parameters may not continue to accurately reflect the actual deviation during the second calculation process. Therefore, it is necessary to update the parameters to dynamically adapt to these changes. Specifically, if the second calculation process is an exponential calculation process, the exponential growth factor is updated, expressed as:

[0116] k new =k old +a×sgn(ΔT rated -T old )

[0117] In the above formula, k new is the updated exponential growth factor. k old is the exponential growth factor before the update. a is the preset coefficient.

[0118] The above update formula is updated by comparing the rated temperature change ΔT rated The compensation temperature T at the last sampling moment old The deviation direction of the temperature is determined by the sign function sgn and the preset coefficient a, and the exponential growth factor is incrementally adjusted to ensure that the compensation value can accurately reflect the actual temperature deviation under high load conditions.

[0119] S208 , performing compensation processing on the temperature detected by the sensor based on the compensation temperature, and determining a compensated target temperature.

[0120] In some embodiments of the present application, the principle of the above S208 is basically the same as that of S103 in the temperature compensation method provided in the first embodiment, and therefore will not be repeated here.

[0121] To facilitate better implementation of the temperature compensation method of the present application, the present application also provides a temperature compensation device based on the above temperature compensation method. The meanings of the terms are the same as those in the above temperature compensation method, and the specific implementation details can be referred to the description in the method embodiment.

[0122] See also Figure 3 , Figure 3This is a schematic diagram of the structure of the temperature compensation device provided in an embodiment of the present application, which may specifically include:

[0123] The parameter acquisition module 301 is used to obtain a load ratio and a first rate of change of the load ratio; wherein the load ratio is a ratio of the current load of the air conditioner to the rated load;

[0124] a compensation temperature determination module 302 for determining a load state according to a combination of the load ratio and the first change rate, and determining a compensation temperature according to the load state;

[0125] The temperature compensation module 303 is configured to compensate the temperature detected by the sensor based on the compensation temperature and determine a compensated target temperature.

[0126] In the above embodiment, parameter acquisition module 301 is used to obtain the air conditioner's load ratio and its first rate of change; compensation temperature determination module 302 is used to determine the compensation temperature based on load status analysis; and temperature compensation module 303 is used to compensate for the sensor-detected temperature. This solution effectively corrects sensor temperature deviations by dynamically sensing the air conditioner's operating status and scientifically calculating the compensation temperature, significantly improving temperature control accuracy.

[0127] In addition, the present application also provides an air conditioner, such as Figure 4 As shown, it shows a structural diagram of the air conditioner involved in this application, specifically:

[0128] The air conditioner may include one or more processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404, and other components. Figure 4 The air conditioner structure shown in the figure does not constitute a limitation on the air conditioner, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0129] Processor 401 is the control center of the air conditioner. It utilizes various interfaces and circuits to connect the various components of the air conditioner. By running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402, it performs various functions of the air conditioner and processes data, thereby providing overall monitoring of the air conditioner. Optionally, processor 401 may include one or more processing cores; preferably, processor 401 may integrate an application processor and a modem processor, wherein the application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

[0130] Memory 402 can be used to store software programs and modules. Processor 401 executes various functional applications and data processing by running the software programs and modules stored in memory 402. Memory 402 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the data storage area may store data generated based on the use of the air conditioner. Furthermore, memory 402 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 402 may also include a memory controller to provide processor 401 with access to memory 402.

[0131] The air conditioner also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power supply device debugging circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0132] The air conditioner may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0133] Although not shown, the air conditioner may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the air conditioner loads the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing the steps of any temperature compensation method provided in the embodiments of the present application: obtaining a load ratio and a first rate of change of the load ratio; wherein the load ratio is the ratio of the current load of the air conditioner to the rated load; determining a load state based on a combination of the load ratio and the first rate of change, and determining a compensation temperature based on the load state; and compensating the temperature detected by the sensor based on the compensation temperature to determine a compensated target temperature.

[0134] The above embodiment first determines the load state by obtaining the air conditioner's load ratio and its first rate of change. The load state analysis then determines the compensation temperature, which is then used to compensate the sensor's detected temperature to obtain the compensated target temperature. This solution dynamically senses the air conditioner's operating state and scientifically calculates the compensation temperature, effectively correcting sensor temperature deviations and significantly improving temperature control accuracy.

[0135] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0136] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0137] To this end, the present application provides a computer-readable storage medium having a computer program stored thereon. The computer program can be loaded by a processor to execute the steps in any temperature compensation method provided in the present application.

[0138] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0139] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0140] Since the instructions stored in the computer-readable storage medium can execute the steps in any temperature compensation method provided in the present application, the beneficial effects that can be achieved by any temperature compensation method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0141] The above is a detailed introduction to a temperature compensation method, device, air conditioner and computer-readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present invention.

Claims

1. A temperature compensation method, characterized in that: The method comprises: Obtaining a load ratio and a first rate of change of the load ratio; wherein the load ratio is a ratio of a current load of the air conditioner to a rated load; determining a load state according to a combination of the load ratio and the first change rate, and determining a compensation temperature according to the load state; The sensor detected temperature is compensated based on the compensation temperature to determine a compensated target temperature.

2. The temperature compensation method according to claim 1, wherein: Under the current working conditions, the load ratio is obtained in the following ways: Obtaining the equivalent heat capacity corresponding to the current operating condition, the temperature change value under the current load within a preset sampling interval, and the average operating power; The load ratio is calculated according to the equivalent heat capacity, the temperature change value and the average operating power.

3. The temperature compensation method according to claim 1, wherein: The method for obtaining the first change rate of the load ratio includes: Obtaining the operating frequency of the compressor, the second rate of change of the operating frequency, the speed of the indoor fan, the third rate of change of the speed, a compressor calibration coefficient, and a fan calibration coefficient; wherein the compressor calibration coefficient is used to quantify the degree of influence of the second rate of change on the rate of change of the load ratio, and the fan calibration coefficient is used to quantify the degree of influence of the third rate of change on the rate of change of the load ratio; The change rate of the load ratio is calculated according to the operating frequency, the second change rate, the rotational speed, the third change rate, the compressor calibration coefficient, and the fan calibration coefficient.

4. The temperature compensation method according to claim 3, wherein: The method for obtaining the compressor calibration coefficient includes: Under the premise that the speed of the indoor fan is fixed, a first parameter set is obtained; wherein the first parameter set is a load ratio corresponding to different operating frequencies of the compressor; fitting the compressor calibration coefficients according to the first parameter set; The fan calibration coefficient is obtained by: Under the premise that the operating frequency of the compressor is fixed, a second parameter set is obtained; wherein the second parameter set is a load ratio corresponding to different speeds of the indoor fan; The compressor calibration coefficients are fitted according to the second parameter set.

5. The temperature compensation method according to claim 1, wherein the load state comprises a first load state, a second load state, and a third load state, wherein: Determining a load state according to a combination of the load ratio and the first change rate, and determining a compensation temperature according to the load state, includes: If the load ratio is less than a first load ratio threshold, determining the load state to be the first load state and determining the compensation temperature to be 0; If the load ratio is greater than the first load ratio threshold and less than the second load ratio threshold, and / or the first change rate is less than 0, determining that the load state is the second load state, performing a first calculation process on the temperature change value under the current load within the sampling interval to obtain a first compensation value, and using the first compensation value as the compensation temperature; If the load ratio is greater than the second load ratio threshold, and / or the first change rate is greater than 0, the load state is determined to be the third load state, and a second calculation process is performed on the temperature change value under the current load within the sampling interval to obtain a second compensation value, and the second compensation value is used as the compensated temperature; wherein the absolute value of the second compensation value is greater than the absolute value of the first compensation value.

6. The temperature compensation method according to claim 5, characterized in that: The first calculation process of the temperature change value under the current load within the sampling interval is a linear calculation process, which is expressed as: T comp1 =α·ΔTs In the above formula, T comp1 is the first compensation value; α is the linear compensation coefficient; ΔTs is the temperature change value under the current load within the sampling interval; The second calculation process of the temperature change value under the current load within the sampling interval is an exponential calculation process, which is expressed as: T comp2 =β·e k·ΔTs In the above formula, T comp2 is the second compensation value; β is the basic compensation coefficient; and k is the exponential growth factor.

7. The temperature compensation method according to claim 6, characterized in that: Before performing the first calculation process of the temperature change value under the current load within the sampling interval as an exponential calculation process, the method further includes: The linear compensation coefficient is updated to represent: In the above formula, α new is the updated linear compensation coefficient; α old is the linear compensation coefficient before updating; γ is the learning rate between 0 and 1; ΔT rated is the temperature change value under rated load within the preset sampling interval, T old is the compensation temperature at the last sampling moment; Before performing the second calculation process of the temperature change value under the current load within the sampling interval as the exponential calculation process, the method further includes: The exponential growth factor is updated and expressed as: k new =k old +a×sgn(ΔT rated -T old ) In the above formula, k new is the updated exponential growth factor; k old is the exponential growth factor before updating; a is the preset coefficient.

8. A temperature compensation device, characterized in that: The temperature compensation device comprises: A parameter acquisition module, configured to acquire a load ratio and a first rate of change of the load ratio; wherein the load ratio is a ratio of a current load of the air conditioner to a rated load; a compensation temperature determination module, configured to determine a load state according to a combination of the load ratio and the first change rate, and determine a compensation temperature according to the load state; The temperature compensation module is used to compensate the temperature detected by the sensor based on the compensation temperature and determine the compensated target temperature.

9. A computer-readable storage medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.

10. An air conditioner, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Controller temperature compensation method and device and controller

    CN109990440A

  • Air conditioner detection temperature compensation method and device, storage medium and air conditioner

    CN110567090A

  • Method capable of achieving temperature compensation function by air conditioner temperature controller

    CN110594999A

  • Indoor environment temperature compensation method and device during air conditioner heating and air conditioner system

    CN115289644A

  • Multi-split air conditioning system

    CN119245189A

Cited By

  • Energy-saving control method and device for industrial low-temperature air conditioner

    CN122258467A