Air conditioner defrosting method and device, air conditioner and computer readable storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2026-08-11
AI Technical Summary
[0002]在室外环境温度低于0度且空调制热时,空调外机的冷凝器会结霜,而若空调制热运行时间长,则结霜会将冷凝器的翅片堵上,导致冷凝器与空气的热交换作用降低,从而影响空调的制热效果,因此在外机结霜时需要考虑化霜
[0024] The defrosting method for air conditioners provided in this application embodiment can easily determine the current operating power based on the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power.
Smart Images

Figure CN117267888B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioner heating and defrosting technology, and more specifically, to an air conditioner defrosting method, apparatus, air conditioner, and computer-readable storage medium. Background Technology
[0002] When the outdoor ambient temperature is below 0 degrees Celsius and the air conditioner is in heating mode, the condenser of the outdoor unit will frost over. If the air conditioner runs in heating mode for a long time, the frost will block the condenser fins, reducing the heat exchange between the condenser and the air, thus affecting the heating effect of the air conditioner. Therefore, defrosting should be considered when the outdoor unit is frosted over.
[0003] In existing technologies, the heating device is often directly controlled to operate at maximum power during defrosting, but this method results in high energy consumption. Summary of the Invention
[0004] The problem solved by this invention is how to reduce the energy consumption of the heating device during defrosting.
[0005] To address the aforementioned issues, embodiments of this application provide an air conditioner defrosting method, apparatus, air conditioner, and computer-readable storage medium.
[0006] In a first aspect, the present invention provides a defrosting method for an air conditioner, applied to an air conditioner including a heating device, the method comprising:
[0007] The system acquires a pre-stored proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature, and determines whether the air conditioner meets the first defrost condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature; the defrost point temperature is the temperature at the location in the air conditioner to be defrosted.
[0008] If the first defrosting condition is met, the defrosting point temperature of the air conditioner is controlled by PID according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient to obtain the power adjustment parameters of the heating device.
[0009] Based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, the current operating power is calculated, and the heating device is controlled to operate at the current operating power.
[0010] The defrosting method for an air conditioner provided in this application embodiment allows the air conditioner to perform PID control on the defrosting point temperature of the air conditioner based on the integral coefficient, derivative coefficient, and proportional coefficient during the defrosting process. This determines the current operating power that the heating device should use and controls the heating device to operate according to the current operating power. Therefore, the air conditioner will not continuously operate at the maximum operating power during the defrosting process, thereby reducing the energy consumption of the heating device.
[0011] In an optional implementation, the step of performing PID control on the defrost point temperature of the air conditioner based on pre-stored integral coefficients, derivative coefficients, and proportional coefficients to obtain the power adjustment parameters of the heating device includes:
[0012] The defrost point temperature of the air conditioner is acquired every first preset time interval;
[0013] Calculate the current defrost point temperature difference based on the currently obtained defrost point temperature and the first preset defrost point temperature;
[0014] The defrost point temperature difference of the air conditioner is calculated based on the current defrost point temperature difference and the stored historical defrost point temperature difference; and the temperature difference deviation value of the air conditioner is calculated based on the current defrost point temperature difference and the previously obtained current defrost point temperature difference.
[0015] Based on the integral coefficient, the derivative coefficient, the proportional coefficient, the current defrost point temperature difference, the defrost point temperature difference, the first preset duration, and the temperature difference deviation value, PID control is performed on the defrost point temperature of the air conditioner to obtain the power adjustment parameters of the heating device.
[0016] The air conditioner defrosting method provided in this application embodiment allows the air conditioner to acquire the defrost point temperature every first preset time interval, and calculate the current defrost point temperature difference, the defrost point temperature difference, and the temperature difference deviation value. Based on the integral coefficient, derivative coefficient, proportional coefficient, current defrost point temperature difference, defrost point temperature difference, the first preset time interval, and the temperature difference deviation value, PID control is performed on the defrost point temperature of the air conditioner to obtain the power adjustment parameters of the heating device. This method allows for continuous adjustment of the heating device power based on previously acquired data during the air conditioner defrosting process, thus avoiding lag in temperature changes, ensuring stable defrost point temperature control, reducing energy consumption, and improving user comfort.
[0017] In an optional implementation, the step of performing PID control on the defrost point temperature of the air conditioner based on the integral coefficient, the derivative coefficient, the proportional coefficient, the current defrost point temperature difference, the defrost point temperature difference, the first preset duration, and the temperature difference deviation value to obtain the power adjustment parameters of the heating device includes:
[0018] The defrost point temperature of the air conditioner is controlled using PID according to the following formula:
[0019] Result=Kp*Error+Kp*t / Ti*Serror+Kp*Td / t*Ferror
[0020] Wherein, Result represents the power adjustment parameter, Kp represents the proportional coefficient, Error represents the current defrost point temperature difference, t represents the first preset duration, Ti represents the integral coefficient, Serror represents the defrost point temperature difference, Td represents the differential coefficient, and Ferror represents the temperature difference deviation value.
[0021] In an optional implementation, calculating the current operating power based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device includes:
[0022] If the ratio of the power adjustment parameter to the preset adjustment parameter is less than 1, then the product of the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power is determined as the current operating power;
[0023] If the ratio of the power adjustment parameter to the preset adjustment parameter is greater than or equal to 1, then the maximum operating power is determined as the current operating power.
[0024] The defrosting method for air conditioners provided in this application embodiment can easily determine the current operating power based on the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power.
[0025] In an optional implementation, the first defrosting conditions include the current outdoor ambient temperature being lower than a preset outdoor ambient temperature, the proportional coefficient not being a default value, and the current defrosting point temperature being lower than a second preset defrosting point temperature; wherein, the preset outdoor ambient temperature is greater than 0 degrees.
[0026] The air conditioner defrosting method provided in this application embodiment addresses the issue that the condenser continuously releases heat during the heating process, so the air conditioner may already be frosted when the ambient temperature is below 0 degrees Celsius. Based on this, a preset outdoor ambient temperature above 0 degrees Celsius can be set to suppress frosting in advance, ensuring that the air conditioner's function is not affected by frosting. Furthermore, considering that even if the air conditioner is frosted when the outdoor ambient temperature is high, it can defrost automatically due to the ambient temperature, the current outdoor ambient temperature being lower than the preset outdoor ambient temperature is used as one of the first defrosting conditions, which can further save energy.
[0027] In an optional implementation, the method further includes:
[0028] Based on the proportional coefficient, the outdoor ambient temperature, and the current defrost point temperature, it is determined whether the air conditioner meets the second defrost condition; the second defrost condition includes the current outdoor ambient temperature being lower than the preset outdoor ambient temperature, the proportional coefficient being the default value, and the current defrost point temperature being lower than the second preset defrost point temperature for a duration of a second preset duration.
[0029] If the second defrosting condition is met, the heating device is controlled to operate at the maximum operating power. In an optional embodiment, the method further includes:
[0030] When the heating device is controlled to operate at the maximum operating power, if the current defrost point temperature reaches the third preset defrost point temperature, the heating time of the heating device is recorded.
[0031] Based on the heating time, the preset heating time, and the default value, calculate the updated value corresponding to the proportional coefficient, and update the default value according to the updated value to obtain the updated proportional coefficient.
[0032] In the air conditioner defrosting method provided in this application embodiment, if the proportional coefficient is the default value, it indicates that the proportional coefficient has not been updated and the air conditioner is defrosting for the first time. Therefore, the air conditioner can control the heating device to operate at maximum power during the first defrost. Considering the influence of environmental factors, the default value may not be suitable for the user's environment. Therefore, when the current defrost point temperature reaches the third preset defrost point temperature, the air conditioner can record the heating time of the heating device, calculate an update value based on the heating time, the preset heating time, and the default value, and update the default value accordingly to make the proportional coefficient more adaptable to the current environment.
[0033] In an optional implementation, the method further includes:
[0034] When the heating device is controlled to operate at the current operating power, the defrost point temperature of the air conditioner is acquired every third preset time interval.
[0035] If the current defrost point temperature is less than or equal to the previously obtained defrost point temperature, and the difference between the previously obtained defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold, then the proportional coefficient is adjusted downward according to the first preset adjustment parameter, and the differential coefficient is adjusted upward according to the second preset adjustment parameter, to obtain the updated proportional coefficient and differential coefficient.
[0036] The defrosting method for an air conditioner provided in this application embodiment allows the air conditioner to acquire the defrost point temperature every second preset time interval while controlling the heating device to operate at the current operating power. If the currently acquired defrost point temperature is less than or equal to the previously acquired defrost point temperature, and the difference between the previously acquired defrost point temperature and a preset temperature threshold is greater than or equal to the preset threshold, the proportional coefficient is lowered according to a first preset adjustment parameter, and the derivative parameter is raised according to a second preset adjustment parameter. Therefore, even when the defrost point temperature peak has occurred and the temperature fluctuation is large, the air conditioner can reduce the fluctuation range of the defrost point temperature near the preset temperature threshold by adjusting the proportional coefficient and the derivative coefficient, thus keeping the defrost point temperature in a stable state near the preset temperature threshold, thereby ensuring user comfort while saving energy.
[0037] Secondly, the present invention provides an air conditioner defrosting device, applied to an air conditioner, the air conditioner including a heating device, the device comprising:
[0038] The acquisition module is used to acquire a pre-stored proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature, and to determine whether the air conditioner meets the first defrost condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature; the defrost point temperature is the temperature at the location to be defrosted in the air conditioner.
[0039] The calculation module is used to perform PID control on the defrost point temperature of the air conditioner according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient if the first defrost condition is met, so as to obtain the power adjustment parameters of the heating device.
[0040] The control module is used to calculate the current operating power based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, and to control the heating device to operate at the current operating power.
[0041] The defrosting device for an air conditioner provided in this application embodiment allows the air conditioner to perform PID control on the defrosting point temperature of the air conditioner based on the integral coefficient, derivative coefficient, and proportional coefficient during the defrosting process. This determines the current operating power that the heating device should use and controls the heating device to operate according to the current operating power. Therefore, the air conditioner will not always operate at the maximum operating power during the defrosting process, thereby reducing the energy consumption of the heating device.
[0042] Thirdly, the present invention provides an air conditioner, including a processor and a heating device, wherein the processor is connected to the heating device, and the processor is configured to execute a computer program to implement the method described in any of the foregoing embodiments.
[0043] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any of the foregoing embodiments. Attached Figure Description
[0044] Figure 1 A block diagram of an air conditioner provided in an embodiment of this application;
[0045] Figure 2 A schematic flowchart of an air conditioner defrosting method provided in an embodiment of this application;
[0046] Figure 3 Another schematic flowchart of the defrosting method for an air conditioner provided in an embodiment of this application;
[0047] Figure 4 This is a block diagram of an air conditioner defrosting device provided in an embodiment of this application.
[0048] Explanation of reference numerals in the attached figures:
[0049] 10-Air conditioner; 100-Heating device; 110-Processor; 200-Acquisition module; 210-Computation module; 220-Control module. Detailed Implementation
[0050] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0051] First, the air conditioner provided in the embodiments of this application will be described in conjunction with the illustrations. Specifically, Figure 1 For a block diagram of the air conditioner 10 provided in the embodiments of this application, please refer to... Figure 1 The air conditioner 10 includes a heating device 100 and a processor 110, and the heating device 100 is connected to the processor 110.
[0052] Optionally, the heating device can operate at a certain operating power to defrost the area to be defrosted; the processor can execute a computer program to implement the air conditioner defrosting method provided in this application embodiment.
[0053] The following is based on the above. Figure 1 The air conditioner is the main actuator in this application. The defrosting method for an air conditioner provided in this embodiment is illustrated with a flowchart. Specifically, Figure 2 For a flowchart illustrating an air conditioner defrosting method provided in this application embodiment, please refer to [link / reference]. Figure 2 The method includes:
[0054] Step S20: Obtain the pre-stored proportional coefficient, current outdoor ambient temperature, and current defrost point temperature, and determine whether the air conditioner meets the first defrost condition based on the proportional coefficient, current outdoor ambient temperature, and current defrost point temperature.
[0055] Optionally, the defrost point temperature is the temperature at the location to be defrosted in the air conditioner.
[0056] Optionally, the air conditioner can obtain the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature at regular intervals.
[0057] Step S21: If the first defrosting condition is met, then the defrosting point temperature of the air conditioner is controlled by PID according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient to obtain the power adjustment parameters of the heating device.
[0058] Step S22: Calculate the current operating power based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, and control the heating device to operate at the current operating power.
[0059] In this embodiment, if the air conditioner meets the first defrosting condition, the defrosting operation with controlled power can be performed.
[0060] Optionally, the air conditioner can first calculate the power adjustment parameters using PID control, and then calculate the current operating power based on these power adjustment parameters.
[0061] Optionally, the preset adjustment parameter can be a parameter that the user sets in advance and stores in the air conditioner. In one possible implementation, the preset adjustment parameter can be 1000.
[0062] The defrosting method for an air conditioner provided in this application embodiment allows the air conditioner to perform PID control on the defrosting point temperature based on a pre-stored integral coefficient, derivative coefficient, and proportional coefficient, after determining that the air conditioner meets the first defrosting condition according to a proportional coefficient, the current outdoor ambient temperature, and the current defrosting point temperature. This obtains the power adjustment parameters of the heating device. In this case, the air conditioner can calculate the current operating power that should be used based on the power adjustment parameters, the preset adjustment parameters, and the maximum operating power of the heating device, and control the heating device to operate at the current operating power.
[0063] Understandably, this method allows for PID control of the defrosting point temperature of the air conditioner during the defrosting process, based on integral, derivative, and proportional coefficients. This determines the current operating power that the heating device should use and controls the heating device to operate according to this current operating power. Therefore, the air conditioner will not continuously operate at maximum power during the defrosting process, thereby reducing the energy consumption of the heating device.
[0064] In this embodiment, the first defrosting condition may include the current outdoor ambient temperature being lower than the preset outdoor ambient temperature, the proportional coefficient not being the default value, and the current defrosting point temperature being lower than the second preset defrosting point temperature.
[0065] Optionally, the second preset defrost point temperature can be determined according to the actual application environment of the air conditioner. In one possible implementation, the second preset defrost temperature can be -15℃.
[0066] Alternatively, existing technologies typically determine defrosting based on changes in outdoor ambient temperature or internal coil temperature; for example, defrosting begins when the outdoor ambient temperature is below 0 degrees Celsius. However, considering that the condenser needs to continuously release heat during the heating process, the air conditioner may already be frosted when the ambient temperature is below 0 degrees Celsius. In this case, to ensure that the air conditioner's heating function is not affected by frosting, it is necessary to suppress frosting in advance.
[0067] In addition, considering that when the outdoor ambient temperature is high, even if the air conditioner frosts due to the heat released by the condenser, it can defrost on its own based on the ambient temperature.
[0068] In summary, in order to suppress frost formation in advance and further reduce power consumption, a preset outdoor ambient temperature greater than 0 degrees can be set, and the current outdoor ambient temperature being lower than the preset outdoor ambient temperature can be used as one of the first defrosting conditions.
[0069] Optionally, considering that some parameters in the air conditioner are at default values during the first defrost, and these default values may not be suitable for the actual application of the air conditioner, some parameters can be adjusted during the first defrost to make them more suitable for the operating environment of the air conditioner. In this case, the operating power of the heating device should not be directly adjusted during the first defrost.
[0070] In this embodiment, the air conditioner can adjust the operating power of the heating device even when it is not the first time defrosting. Based on this, the air conditioner can also determine whether it is the first time defrosting based on whether certain parameters are at their default values.
[0071] In this embodiment, the parameter can be a proportional coefficient. It is understood that if the proportional coefficient is not the default value, it means that the air conditioner is not defrosting for the first time, so the operating power of the heating device can be adjusted.
[0072] Optionally, the air conditioner can determine whether it can begin the first defrost based on the second defrost condition. To facilitate parameter adjustment, the air conditioner can control the heating device to operate at maximum power during the first defrost process.
[0073] Specifically, the air conditioner can determine whether it meets the second defrosting condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrosting point temperature. If the air conditioner meets the second defrosting condition, the heating device will be controlled to operate at maximum power.
[0074] Optionally, the second defrosting condition may include the current outdoor ambient temperature being lower than the preset outdoor ambient temperature, the proportional coefficient being the default value, and the current defrosting point temperature being lower than the second preset defrosting point temperature for a duration that reaches the second preset duration.
[0075] Understandably, since the proportional coefficient is the default value, this indicates that the air conditioner is defrosting for the first time.
[0076] In this embodiment, during the first defrosting, not only does the defrosting point temperature need to be lower than the second preset defrosting point temperature, but the duration of the lower defrosting point temperature also needs to be ensured to reach a certain duration.
[0077] Optionally, the second preset duration can be set according to the actual application situation. In one possible implementation, the second preset duration can be 20 minutes.
[0078] Optionally, since the temperature change of the heating device has a certain lag during heating, that is, the defrosting point temperature will only change after the heating device has been working for a period of time, if a curve is plotted based on the defrosting point temperature and time, the first half of the curve will remain basically consistent regardless of whether the scaling factor is the default value or not. In the second half of the curve, the defrosting point temperature gradually approaches the set defrosting point temperature. Therefore, the second half of the curve is an adjustable heating process, which is prone to errors. These errors are mainly reflected in the speed and stability of reaching the set defrosting point temperature.
[0079] In other words, when the defrost point temperature is close to the set defrost point temperature, fluctuations often occur.
[0080] Based on this, the air conditioner can update the proportional coefficient by amplifying the above differences, that is, the effect of amplification time on the proportional coefficient.
[0081] Specifically, the air conditioner can collect the defrost point temperature in real time while controlling the heating device to operate at maximum power. If the current defrost point temperature reaches the third preset defrost point temperature, the heating time of the heating device is recorded.
[0082] Optionally, the third preset defrost point temperature refers to the set defrost point temperature during defrosting. That is, if the defrost point temperature reaches the third preset defrost point temperature, it means that defrosting is complete.
[0083] Optionally, in order to ensure complete defrosting during the first defrost, the third preset defrost temperature can be set relatively high, for example, 5°C.
[0084] Optionally, the heating time refers to the defrosting time of the first defrost.
[0085] Optionally, the air conditioner can also calculate the updated value corresponding to the proportional coefficient based on the heating time, the preset heating time, and the default value, and update the default value based on the updated value to obtain the updated proportional coefficient.
[0086] Optionally, the preset heating time refers to the theoretically required defrosting time.
[0087] In one possible implementation, the air conditioner can calculate the updated value corresponding to this proportional coefficient using the following formula:
[0088] kp = (t1 / t0) 2 ×kp1
[0089] Where kp represents the update value, t1 represents the heating duration, t0 represents the preset heating duration, and kp1 represents the default value.
[0090] Optionally, the default value can be 200.
[0091] Optionally, the rate of change in ambient temperature also affects the fluctuation of the defrost point temperature. That is, when the outdoor ambient temperature changes rapidly, the fluctuation of the defrost point temperature will also be larger. This not only increases energy consumption but also reduces user comfort. Therefore, considering that adjusting the proportional coefficient based solely on data from the initial defrost cycle may not be sufficient to reduce the fluctuation of the defrost point temperature, the air conditioner can also adjust the proportional and derivative coefficients each time it defrosts.
[0092] Understandably, the proportional coefficient is used to characterize the amplification factor, while the derivative coefficient is used to overcome the hysteresis of the controlled object. That is, if the proportional coefficient is large, the amplification factor is large and the curve fluctuation is large, while the derivative coefficient is large, which can reduce overshoot and reduce the amplitude. Therefore, by adjusting the proportional coefficient and the derivative coefficient, the fluctuation of the defrost point temperature near the preset temperature threshold can be reduced, so that the defrost point temperature can be kept in a stable state near the preset temperature threshold, ensuring user comfort while saving energy.
[0093] Specifically, in Figure 2 On this basis, Figure 3 For another schematic flowchart of the air conditioner defrosting method provided in this application embodiment, please refer to [link / reference]. Figure 3 The method also includes:
[0094] Step S10: While controlling the heating device to operate at the current operating power, the defrost point temperature of the air conditioner is obtained every third preset time interval.
[0095] Optionally, the third preset duration can be set according to the actual application situation, such as 30 seconds.
[0096] Step S11: If the currently obtained defrost point temperature is less than or equal to the previously obtained defrost point temperature, and the difference between the previously obtained defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold, then the proportional coefficient is lowered according to the first preset adjustment parameter, and the differential coefficient is raised according to the second preset adjustment parameter, so as to obtain the updated proportional coefficient and differential coefficient.
[0097] Optionally, if the currently obtained defrost point temperature is less than or equal to the previously obtained defrost point temperature, it indicates that the previously obtained defrost point temperature is the peak value of the defrost point temperature. If the difference between the previously obtained defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold, it indicates that the actual peak value of the defrost point temperature deviates significantly from the preset peak value, i.e., the fluctuation range is large. Optionally, the preset temperature threshold can be the same as the aforementioned third preset defrost point temperature, or it can be slightly lower than the third preset defrost point temperature; the preset threshold can be set to 3℃.
[0098] Optionally, the reduced proportional coefficient can be the difference between the original proportional coefficient and the first preset adjustment parameter, i.e., kp. n+1 =kp n -m; the adjusted differential coefficient can be the sum of the original differential coefficient and the second preset adjustment parameter, i.e., Td. n+1 =Td n +n.
[0099] Among them, kp n+1 The proportional coefficient kp represents the down-adjusted ratio. n The proportional coefficient Td before the downregulation n+1 Characterized by the up-adjusted differential coefficient, Td n The differential coefficient before the up-adjustment.
[0100] Optionally, the initial value of the differential coefficient can be 80.
[0101] Optionally, the first preset adjustment parameter and the second preset adjustment parameter can be set according to the actual application. In one possible implementation, the first preset adjustment parameter can be 5, and the second preset adjustment parameter can be 1. Optionally, the air conditioner can store the adjusted proportional coefficient and derivative coefficient after adjustment, so as to recall them when calculating the power adjustment parameters.
[0102] In another possible implementation, the air conditioner may not need to determine whether the defrost point temperature peak has occurred, but instead directly adjust the proportional coefficient and differential coefficient based on whether the difference between the obtained defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold.
[0103] That is, if the difference between the currently obtained defrosting point temperature and the preset temperature threshold is greater than or equal to the preset threshold, the proportional coefficient is lowered according to the first preset adjustment parameter, and the differential coefficient is raised according to the second preset adjustment parameter to obtain the updated proportional coefficient and differential coefficient.
[0104] Optionally, the air conditioner can continuously perform PID control on the defrosting point temperature during the defrosting process, that is, obtain the defrosting point temperature of the air conditioner once every first preset time interval.
[0105] Optionally, the first preset duration can be set according to the actual application. In one possible implementation, the first preset duration can be 20 seconds.
[0106] Optionally, after obtaining the defrost point temperature, the air conditioner can calculate the current defrost point temperature difference based on the currently obtained defrost point temperature and the first preset defrost point temperature, calculate the defrost point temperature difference of the air conditioner based on the current defrost point temperature difference and the stored historical defrost point temperature differences, and calculate the temperature difference deviation value of the air conditioner based on the current defrost point temperature difference and the previously obtained current defrost point temperature difference.
[0107] In this embodiment, the current defrost point temperature difference refers to the difference between the first preset defrost point temperature and the currently obtained defrost point temperature.
[0108] Optionally, the defrost point temperature difference can be the sum of the historical defrost point temperature difference and the current defrost point temperature difference. It is understood that when the defrost point temperature difference is obtained again, the currently calculated defrost point temperature difference can be used as the historical defrost point temperature difference for the next calculation.
[0109] Optionally, the temperature difference deviation value refers to the difference between the current defrost point temperature difference calculated now and the current defrost point temperature difference calculated last time.
[0110] Optionally, in the first calculation, since there is no difference in the current defrost point temperature from the previous calculation, it can be treated as 0 for calculation.
[0111] Optionally, after calculating the above parameters, the air conditioner can perform PID control on the defrost point temperature based on the integral coefficient, derivative coefficient, proportional coefficient, current defrost point temperature difference, defrost point temperature difference, first preset duration, and temperature difference deviation value to obtain the power adjustment parameters of the heating device.
[0112] In this embodiment, the defrost point temperature of the air conditioner can be controlled by PID using the following formula:
[0113] Result=Kp*Error+Kp*t / Ti*Serror+Kp*Td / t*Ferror
[0114] Wherein, Result represents the power adjustment parameter, Kp represents the proportional coefficient, Error represents the current defrosting point temperature difference, t represents the first preset duration, Ti represents the integral coefficient, Serror represents the defrosting point temperature difference, Td represents the derivative coefficient, and Ferror represents the temperature difference deviation value.
[0115] Optionally, the integral coefficient can be 20.
[0116] Optionally, the air conditioner may store preset adjustment parameters, so that the air conditioner can calculate the current operating power based on the ratio of the power adjustment parameters to the preset adjustment parameters and the maximum operating power of the heating device.
[0117] Specifically, the air conditioner can determine the current operating power by multiplying the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power when the ratio is less than 1; and it can determine the maximum operating power as the current operating power when the ratio of the power adjustment parameter to the preset adjustment parameter is greater than or equal to 1.
[0118] In this embodiment, if the value of the power adjustment parameter is between 0 and the preset adjustment parameter, the air conditioner can determine the current operating power by multiplying the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power; if the value of the power adjustment parameter is greater than or equal to the preset adjustment parameter, the air conditioner can directly determine the maximum operating power as the current operating power.
[0119] This application also provides an air conditioner defrosting device. Figure 4 Please refer to the block diagram of an air conditioner defrosting device provided in the embodiments of this application. Figure 4 The defrosting device for the air conditioner includes an acquisition module 200, a calculation module 210, and a control module 220.
[0120] The acquisition module 200 is used to acquire the pre-stored proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature, and to determine whether the air conditioner meets the first defrost condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature; the defrost point temperature is the temperature at the location in the air conditioner that needs to be defrosted.
[0121] Understandably, the acquisition module 200 can also be used to perform the above step S20.
[0122] The calculation module 210 is used to perform PID control on the defrost point temperature of the air conditioner according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient if the first defrost condition is met, so as to obtain the power adjustment parameters of the heating device.
[0123] Understandably, the operation module 210 can also be used to perform the above step S21.
[0124] The control module 220 is used to calculate the current operating power based on the power adjustment parameters, preset adjustment parameters and the maximum operating power of the heating device, and to control the heating device to operate at the current operating power.
[0125] Understandably, the control module 220 can also be used to perform the above step S22.
[0126] Optionally, the calculation module 210 is further configured to acquire the defrost point temperature of the air conditioner every first preset time interval; calculate the current defrost point temperature difference based on the currently acquired defrost point temperature and the first preset defrost point temperature; calculate the defrost point temperature difference of the air conditioner based on the current defrost point temperature difference and the stored historical defrost point temperature differences; and calculate the temperature difference deviation value of the air conditioner based on the current defrost point temperature difference and the previously acquired current defrost point temperature difference; and perform PID control on the defrost point temperature of the air conditioner based on the integral coefficient, derivative coefficient, proportional coefficient, current defrost point temperature difference, defrost point temperature difference, first preset time interval, and temperature difference deviation value to obtain the power adjustment parameters of the heating device.
[0127] Optionally, the calculation module 210 is also used to perform PID control on the defrost point temperature of the air conditioner according to the following formula:
[0128] Result=Kp*Error+Kp*t / Ti*Serror+Kp*Td / t*Ferror
[0129] Wherein, Result represents the power adjustment parameter, Kp represents the proportional coefficient, Error represents the current defrosting point temperature difference, t represents the first preset duration, Ti represents the integral coefficient, Serror represents the defrosting point temperature difference, Td represents the derivative coefficient, and Ferror represents the temperature difference deviation value.
[0130] Optionally, the control module 220 is further configured to determine the current operating power by multiplying the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power if the ratio of the power adjustment parameter to the preset adjustment parameter is less than 1; and to determine the maximum operating power as the current operating power if the ratio of the power adjustment parameter to the preset adjustment parameter is greater than or equal to 1.
[0131] Optionally, the acquisition module 200 is further configured to determine whether the air conditioner meets the second defrosting conditions based on the proportional coefficient, the current outdoor ambient temperature, and the current defrosting point temperature; the second defrosting conditions include the current outdoor ambient temperature being lower than the preset outdoor ambient temperature, the proportional coefficient being the default value, and the duration for which the current defrosting point temperature is lower than the second preset defrosting point temperature reaching the second preset duration.
[0132] Optionally, the control module 220 is also used to control the heating device to operate at maximum operating power if the second defrosting condition is met.
[0133] Optionally, the control module 220 is further configured to, when controlling the heating device to operate at maximum operating power, if the current defrost point temperature reaches the third preset defrost point temperature, record the heating duration of the heating device; calculate the updated value corresponding to the proportional coefficient based on the heating duration, the preset heating duration, and the default value, and update the default value based on the updated value to obtain the updated proportional coefficient.
[0134] Optionally, the control module 220 is further configured to acquire the defrost point temperature of the air conditioner every third preset time interval when the heating device is controlled to operate at the current operating power; if the currently acquired defrost point temperature is less than or equal to the previously acquired defrost point temperature, and the difference between the previously acquired defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold, then the proportional coefficient is lowered according to the first preset adjustment parameter, and the derivative coefficient is raised according to the second preset adjustment parameter, to obtain the updated proportional coefficient and derivative coefficient.
[0135] Understandably, the control module 220 can also be used to execute the above steps S10 to S11.
[0136] The defrosting device for an air conditioner provided in this application embodiment allows the air conditioner to obtain power adjustment parameters for the heating device by means of an acquisition module, a calculation module, and a control module. This is done when the air conditioner meets the first defrosting condition based on a proportional coefficient, the current outdoor ambient temperature, and the current defrosting point temperature. The defrosting point temperature is then controlled by PID control based on pre-stored integral, derivative, and proportional coefficients. In this case, the air conditioner can calculate the appropriate current operating power based on these power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, and control the heating device to operate at the current operating power.
[0137] Understandably, through this device, the air conditioner can perform PID control on the defrosting point temperature of the air conditioner based on the integral coefficient, derivative coefficient, and proportional coefficient during the defrosting process. This determines the current operating power that the heating device should use and controls the heating device to operate according to the current operating power. Therefore, the air conditioner will not always operate at the maximum operating power during the defrosting process, thereby reducing the energy consumption of the heating device.
[0138] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, can implement the air conditioner defrosting method provided in this application.
[0139] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A defrosting method for an air conditioner, characterized in that, Applied to an air conditioner, the air conditioner including a heating device, the method includes: The system acquires a pre-stored scaling factor, the current outdoor ambient temperature, and the current defrost point temperature. Based on these factors, it determines whether the air conditioner meets the first defrost condition. The defrost point temperature is the temperature at the defrost location within the air conditioner. The first defrost condition includes the current outdoor ambient temperature being lower than a preset outdoor ambient temperature, the scaling factor not being a default value, and the current defrost point temperature being lower than a second preset defrost point temperature. The preset outdoor ambient temperature is greater than 0 degrees Celsius. If the first defrosting condition is met, the defrosting point temperature of the air conditioner is controlled by PID according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient to obtain the power adjustment parameters of the heating device. Based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, the current operating power is calculated, and the heating device is controlled to operate at the current operating power. Based on the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature, it is determined whether the air conditioner meets the second defrost condition; the second defrost condition includes the current outdoor ambient temperature being lower than a preset outdoor ambient temperature, the proportional coefficient being a default value, and the current defrost point temperature being lower than the second preset defrost point temperature for a duration that reaches a second preset duration. If the second defrosting condition is met, the heating device is controlled to operate at the maximum operating power. When the heating device is controlled to operate at the maximum operating power, if the current defrost point temperature reaches the third preset defrost point temperature, the heating time of the heating device is recorded. Based on the heating time, the preset heating time, and the default value, calculate the updated value corresponding to the proportional coefficient, and update the default value according to the updated value to obtain the updated proportional coefficient.
2. The method according to claim 1, characterized in that, The step of performing PID control on the defrost point temperature of the air conditioner based on the pre-stored integral coefficient, derivative coefficient, and proportional coefficient to obtain the power adjustment parameters of the heating device includes: The defrost point temperature of the air conditioner is acquired every first preset time interval; Calculate the current defrost point temperature difference based on the currently obtained defrost point temperature and the first preset defrost point temperature; The defrost point temperature difference of the air conditioner is calculated based on the current defrost point temperature difference and the stored historical defrost point temperature difference; and the temperature difference deviation value of the air conditioner is calculated based on the current defrost point temperature difference and the previously obtained current defrost point temperature difference. Based on the integral coefficient, the derivative coefficient, the proportional coefficient, the current defrost point temperature difference, the defrost point temperature difference, the first preset duration, and the temperature difference deviation value, PID control is performed on the defrost point temperature of the air conditioner to obtain the power adjustment parameters of the heating device.
3. The method according to claim 2, characterized in that, The step of performing PID control on the defrost point temperature of the air conditioner based on the integral coefficient, the derivative coefficient, the proportional coefficient, the current defrost point temperature difference, the defrost point temperature difference, the first preset duration, and the temperature difference deviation value to obtain the power adjustment parameters of the heating device includes: The defrost point temperature of the air conditioner is controlled using PID according to the following formula: Result=Kp*Error+Kp*(t / Ti)*Serror+Kp*(Td / t)*Ferror Wherein, Result represents the power adjustment parameter, Kp represents the proportional coefficient, Error represents the current defrost point temperature difference, t represents the first preset duration, Ti represents the integral coefficient, Serror represents the defrost point temperature difference, Td represents the differential coefficient, and Ferror represents the temperature difference deviation value.
4. The method according to claim 1, characterized in that, The step of calculating the current operating power based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device includes: If the ratio of the power adjustment parameter to the preset adjustment parameter is less than 1, then the product of the ratio of the power adjustment parameter to the preset adjustment parameter and the maximum operating power is determined as the current operating power; If the ratio of the power adjustment parameter to the preset adjustment parameter is greater than or equal to 1, then the maximum operating power is determined as the current operating power.
5. The method according to claim 1, characterized in that, The method further includes: When the heating device is controlled to operate at the current operating power, the defrost point temperature of the air conditioner is acquired every third preset time interval. If the currently obtained defrost point temperature is less than or equal to the previously obtained defrost point temperature, and the difference between the previously obtained defrost point temperature and the preset temperature threshold is greater than or equal to the preset threshold, then the proportional coefficient is adjusted downward according to the first preset adjustment parameter, and the differential coefficient is adjusted upward according to the second preset adjustment parameter, to obtain the updated proportional coefficient and differential coefficient.
6. A defrosting device for an air conditioner, characterized in that, Applied to an air conditioner, the air conditioner including a heating device, the device comprising: The acquisition module is used to acquire a pre-stored proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature, and to determine whether the air conditioner meets the first defrost condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrost point temperature; the defrost point temperature is the temperature at the defrost location in the air conditioner; the first defrost condition includes the current outdoor ambient temperature being lower than a preset outdoor ambient temperature, the proportional coefficient not being a default value, and the current defrost point temperature being lower than a second preset defrost point temperature; wherein, the preset outdoor ambient temperature is greater than 0 degrees. The calculation module is used to perform PID control on the defrost point temperature of the air conditioner according to the pre-stored integral coefficient, derivative coefficient and proportional coefficient if the first defrost condition is met, so as to obtain the power adjustment parameters of the heating device. The control module is used to calculate the current operating power based on the power adjustment parameters, preset adjustment parameters, and the maximum operating power of the heating device, and to control the heating device to operate at the current operating power. The acquisition module is further configured to determine whether the air conditioner meets the second defrosting condition based on the proportional coefficient, the current outdoor ambient temperature, and the current defrosting point temperature; the second defrosting condition includes the current outdoor ambient temperature being lower than a preset outdoor ambient temperature, the proportional coefficient being a default value, and the current defrosting point temperature being lower than the second preset defrosting point temperature for a duration of a second preset duration; the control module is further configured to control the heating device to operate at the maximum operating power if the second defrosting condition is met. The control module is further configured to, when controlling the heating device to operate at the maximum operating power, record the heating duration of the heating device if the current defrosting point temperature reaches the third preset defrosting point temperature; calculate the update value corresponding to the proportional coefficient based on the heating duration, the preset heating duration, and the default value, and update the default value based on the update value to obtain the updated proportional coefficient.
7. An air conditioner, characterized in that, The device includes a processor and a heating device, the processor being connected to the heating device, the processor being configured to execute a computer program to implement the method according to any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-5.
Citation Information
Patent Citations
Control method and device for electric heater of air-conditioning outdoor unit
CN107084491A
Non-stop defrosting air conditioner and not-stop defrosting method
CN108386960A