Compressor, control method and control device thereof and air conditioner

By determining the frequency control algorithm with negative correlation with the accuracy based on the temperature difference value and controlling the compressor in combination with the target frequency increment, the problems of temperature overshoot and oscillation in the existing air-regulating energy control methods are solved, and higher energy saving and user experience are achieved.

CN120101362APending Publication Date: 2025-06-06GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411536203.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The existing air conditioning energy control method is based on linear PID algorithm, which is prone to temperature overshoot and oscillation, resulting in unnecessary energy loss and cannot effectively improve energy saving and user experience.

Method used

A compressor control method is proposed, and the frequency control algorithm is determined based on the temperature difference between the current indoor ambient temperature and the set temperature. The accuracy of the frequency control algorithm is negatively correlated with the temperature difference, and the compressor is controlled through the target frequency increment and the current operating frequency.

Benefits of technology

It improves the energy saving of the air conditioner and the user experience, and has high stability and temperature control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120101362A_ABST
    Figure CN120101362A_ABST
Patent Text Reader

Abstract

The invention discloses a compressor, a control method and device of the compressor and an air conditioner, and the control method of the compressor comprises the steps that a frequency control algorithm of the compressor is determined according to the temperature difference value between the current indoor environment temperature and the set temperature, and the precision of the frequency control algorithm and the temperature difference value are in a negative correlation relationship; determining a target frequency increment of the compressor according to a frequency control algorithm and the temperature difference value; and controlling the compressor according to the target frequency increment and the current operation frequency of the compressor. According to the control method, the energy-saving performance of the air conditioner and the use experience feeling of a user are improved, and the stability and the temperature control precision are high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of compressors, and in particular to a compressor control method, a compressor control device, a computer-readable storage medium, a compressor and an air conditioner. Background Art

[0002] In the hot summer, the inverter air conditioner can be used to cool the indoor air to create a cool environment for the user, or in the cold winter, the inverter air conditioner can be used to heat the indoor air to create a warm environment for the user. However, the inverter air conditioner consumes a lot of electricity and often becomes the main power-consuming appliance in the home.

[0003] The current air conditioning energy-saving control method in the relevant technology is based on the linear PID (Proportional-Integral-Derivative) algorithm, which calculates the compressor frequency increment according to the difference between the indoor ambient temperature and the set temperature, thereby maintaining the indoor ambient temperature within a certain range of the set temperature. However, the conventional linear PID algorithm is prone to temperature overshoot and oscillation, causing unnecessary energy loss, resulting in energy loss and discomfort. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a compressor control method, which includes: determining a frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; determining a target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; controlling the compressor according to the target frequency increment and the current operating frequency of the compressor, thereby improving the energy saving of the air conditioner and the user experience, and having high stability and temperature control accuracy.

[0005] A second object of the present invention is to provide a control device for a compressor.

[0006] A third object of the present invention is to provide a computer-readable storage medium.

[0007] A fourth object of the present invention is to provide a compressor.

[0008] A fifth object of the present invention is to provide an air conditioner.

[0009] To achieve the above-mentioned purpose, the first aspect of the embodiment of the present invention proposes a method for controlling a compressor, the method comprising: determining a frequency control algorithm for the compressor based on a temperature difference between a current indoor ambient temperature and a set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; determining a target frequency increment of the compressor based on the frequency control algorithm and the temperature difference; and controlling the compressor based on the target frequency increment and the current operating frequency of the compressor.

[0010] According to the control method of the compressor of the embodiment of the present invention, the frequency control algorithm of the compressor is determined according to the temperature difference between the current indoor ambient temperature and the set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference; the compressor is controlled according to the target frequency increment and the current operating frequency of the compressor. Thus, the method can improve the energy saving of the air conditioner and the user experience, and has high stability and temperature control accuracy.

[0011] In addition, the control method of the compressor according to the above embodiment of the present invention may also have the following additional technical features:

[0012] According to one embodiment of the present invention, a frequency control algorithm for the compressor is determined based on the temperature difference between the current indoor ambient temperature and the set temperature, including: when the absolute value of the temperature difference is greater than a first preset temperature threshold, determining that the frequency control algorithm is a first control algorithm; when the absolute value of the temperature difference is between a second preset temperature threshold and the first preset temperature threshold, and lasts for a first preset time, determining that the frequency control algorithm is a first hybrid control algorithm, wherein the first hybrid control method is obtained by combining the first control algorithm and the second control algorithm based on a dynamic reward and punishment mechanism, and the accuracy of the second control algorithm is greater than that of the first control algorithm; when the absolute value of the temperature difference is less than the second preset temperature threshold, and lasts for a second preset time, determining that the frequency control algorithm is a second hybrid control method, wherein the second hybrid control method is obtained by combining the first control algorithm and the second control algorithm, and the frequency increment determined according to the first control algorithm gradually decreases with the running time of the compressor.

[0013] According to one embodiment of the present invention, when the frequency control algorithm is the first control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the current frequency adjustment interval of the compressor from multiple frequency adjustment intervals according to the temperature difference, and determining the current working stage of the compressor from multiple working stages according to the running time of the compressor; according to the current frequency adjustment interval and the current working stage, obtaining the target frequency increment by querying a pre-constructed fuzzy rule table, wherein in the fuzzy rule table, a frequency increment is set for each combination of each frequency adjustment interval and each working stage.

[0014] According to one embodiment of the present invention, the current frequency adjustment interval of the compressor is determined from multiple frequency adjustment intervals based on the temperature difference, including: determining the membership of the temperature difference in each frequency adjustment interval based on the first membership function; and determining the current frequency adjustment interval based on the membership of each frequency adjustment interval.

[0015] According to one embodiment of the present invention, the current working stage of the compressor is determined from multiple working stages based on the operating time of the compressor, including: determining the membership of the operating time in each working stage based on the second membership function; and determining the current working stage based on the membership of each working stage.

[0016] According to an embodiment of the present invention, a plurality of frequency adjustment intervals are divided according to temperature differences.

[0017] According to an embodiment of the present invention, the plurality of working stages are divided according to a thermal balance model and an operating time of the air conditioner.

[0018] According to one embodiment of the present invention, when the frequency control algorithm is the first hybrid control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the first frequency increment according to the first control algorithm and the temperature difference, and determining the second frequency increment according to the second control algorithm and the temperature difference; determining the current reward according to the current indoor ambient temperature and the set temperature; determining the first weight of the first control algorithm and the second weight of the second control algorithm according to the current reward; and determining the target frequency increment according to the first frequency increment, the second frequency increment, the first weight, and the second weight.

[0019] According to one embodiment of the present invention, determining a current reward based on a current indoor ambient temperature and a set temperature includes: obtaining a historical indoor ambient temperature; determining a standard deviation of the historical indoor ambient temperature, and determining an average value of the absolute value of the difference between the historical indoor ambient temperature and the set temperature; and determining the current reward based on the standard deviation and the average value.

[0020] According to one embodiment of the present invention, the first weight of the first control algorithm and the second weight of the second control algorithm are respectively determined according to the current reward, including: when the current reward is less than or equal to a preset reward threshold, the first weight and the second weight are kept unchanged, wherein the initial value of the first weight is the first preset weight, and the initial value of the second weight is the second preset weight; when the current reward is greater than the preset reward threshold, the first weight and the second weight are respectively updated according to the standard deviation and the average.

[0021] According to one embodiment of the present invention, the first weight and the second weight are updated according to the standard deviation and the average value, respectively, including: when the standard deviation is greater than the first set value and the average value is less than the second set value, the first weight is increased and the second weight is decreased; when the standard deviation is less than the first set value and the average value is greater than the second set value, the first weight is decreased and the second weight is increased.

[0022] According to one embodiment of the present invention, determining a target frequency increment based on a first frequency increment, a second frequency increment, a first weight, and a second weight includes: determining a first product of the first frequency increment and the first weight, and determining a second product of the second frequency increment and the second weight; and determining the sum of the first product and the second product as the target frequency increment.

[0023] According to one embodiment of the present invention, when the frequency control algorithm is a second hybrid control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the first frequency increment according to the first control algorithm and the temperature difference, and determining the second frequency increment according to the second control algorithm and the temperature difference; determining the target frequency increment according to the first frequency increment, the second frequency increment, the weight corresponding to the first control algorithm and the weight corresponding to the second control algorithm, wherein the weight corresponding to the first control algorithm is adjusted downward at a first preset rate, and the weight of the second control algorithm is adjusted upward at a second preset rate.

[0024] According to one embodiment of the present invention, the first control algorithm is a fuzzy control algorithm, and the second control algorithm is a PID control algorithm.

[0025] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a control device for a compressor, which includes: a first determination module, which is used to determine the frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature when the air conditioner is operating in energy-saving mode, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; a second determination module, which is used to determine the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; and a control module, which is used to control the compressor according to the target frequency increment and the current operating frequency of the compressor.

[0026] According to the control device of the compressor of the embodiment of the present invention, the first determination module is used to determine the frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature when the air conditioner is running in energy-saving mode, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; the second determination module is used to determine the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; the control module is used to control the compressor according to the target frequency increment and the current operating frequency of the compressor. Thus, the device can improve the energy saving performance of the air conditioner and the user experience, and has high stability and temperature control accuracy.

[0027] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium on which a compressor control program is stored. When the compressor control program is executed by a processor, the above compressor control method is implemented.

[0028] According to the computer-readable storage medium of the embodiment of the present invention, by implementing the above-mentioned compressor control method when executed, the energy saving performance of the air conditioner and the user experience can be improved, and the stability and temperature control accuracy are high.

[0029] To achieve the above-mentioned purpose, a compressor is proposed in an embodiment of the fourth aspect of the present invention, comprising a memory, a processor, and a compressor control program stored in the memory and executable on the processor. When the processor executes the compressor control program, the above-mentioned compressor control method is implemented.

[0030] The compressor according to the embodiment of the present invention can improve the energy saving performance of the air conditioner and the user experience by executing the above-mentioned compressor control method, and has high stability and temperature control accuracy.

[0031] To achieve the above-mentioned object, a fifth aspect of the present invention provides an air conditioner, including the above-mentioned compressor control device, or the above-mentioned compressor.

[0032] According to the air conditioner of the embodiment of the present invention, the energy saving performance of the air conditioner and the user experience can be improved through the above-mentioned compressor control device or the above-mentioned compressor, and the stability and temperature control accuracy are high.

[0033] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a flow chart of a method for controlling a compressor according to an embodiment of the present invention;

[0035] Figure 2is a flowchart of a method for controlling a compressor according to a specific example of the present invention;

[0036] Figure 3 is a block diagram of a control device for a compressor according to an embodiment of the present invention;

[0037] Figure 4 is a block diagram of a compressor according to an embodiment of the present invention;

[0038] Figure 5 is a block diagram of an air conditioner according to an embodiment of the present invention;

[0039] Figure 6 FIG. 4 is a block diagram of an air conditioner according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0041] The following describes a compressor control method, a compressor control device, a compressor and an air conditioner, and a storage medium according to embodiments of the present invention with reference to the accompanying drawings.

[0042] Figure 1 4 is a flow chart of a method for controlling a compressor according to an embodiment of the present invention.

[0043] like Figure 1 As shown, the control method of the compressor according to the embodiment of the present invention may include the following steps:

[0044] S1, determining a frequency control algorithm for the compressor according to a temperature difference between a current indoor ambient temperature and a set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference.

[0045] Specifically, the user can input the control command of the air conditioner through the control panel of the air conditioner, or input the control command of the air conditioner through the remote control of the air conditioner, or input the control command of the air conditioner through the intelligent control terminal of the air conditioner, such as a smart phone with an air conditioner control APP installed. The user selects the operation mode of the air conditioner on the command input device, wherein the operation mode includes cooling mode, heating mode, cooling energy-saving mode and heating energy-saving mode. When the air conditioner receives the control command sent by the user, it enters the corresponding operation mode according to the control command. During the operation of the air conditioner, the current indoor ambient temperature and the set temperature are obtained. The indoor ambient temperature can be obtained through the indoor temperature sensor, and the set temperature is set by the user. The air conditioner is usually equipped with a remote control. The user can set the desired temperature through the temperature setting button on the remote control. These settings will be transmitted to the air conditioner through infrared signals. For example, in the summer with a higher temperature, the set temperature can be 20°C, and in the winter with a lower temperature, the set temperature can be 28°C. The set temperature can be read through the serial port. After obtaining the indoor ambient temperature and the set temperature, the temperature difference can be determined by subtracting the set temperature from the indoor ambient temperature, and the frequency control algorithm is determined according to the temperature difference.

[0046] When the accuracy of the frequency control algorithm is relatively high, although the indoor ambient temperature can be stabilized at the set temperature, it is easy to have temperature overshoot and oscillation problems, resulting in unnecessary energy loss; when the accuracy of the frequency control algorithm is relatively low, although the temperature overshoot can be suppressed, the indoor ambient temperature is difficult to stabilize at the set temperature, and there is a steady-state error, resulting in a poor user experience. When the temperature difference is large, the main goal at this time is to reduce the temperature difference, rather than stabilize the indoor ambient temperature at the set temperature. Therefore, there is no need to accurately control the frequency of the compressor, and a frequency control algorithm with poor accuracy can be used. As the air conditioner runs, the temperature difference gradually decreases, and the indoor ambient temperature needs to be stabilized at the set temperature. Therefore, a frequency control algorithm with higher accuracy is used to maintain the indoor ambient temperature at the set temperature. Therefore, the accuracy of the frequency control algorithm is negatively correlated with the temperature difference, that is, the larger the temperature difference, the lower the accuracy of the frequency control algorithm.

[0047] For example, suppose the user selects the cooling energy-saving mode on the command input device, and the air conditioner is turned on and enters the cooling energy-saving mode. When the air conditioner just starts running, the temperature difference is large and the accuracy of the frequency control algorithm is low. As the air conditioner runs, the temperature difference gradually decreases and the accuracy of the frequency control algorithm gradually increases.

[0048] S2, determining a target frequency increment of the compressor according to a frequency control algorithm and the temperature difference.

[0049] Specifically, there is a correlation between the operating frequency of the compressor and the temperature difference. The larger the temperature difference, the higher the operating frequency of the compressor, and the smaller the temperature difference, the smaller the operating frequency of the compressor. Based on the determined frequency control algorithm, the frequency adjustment amount of the compressor, that is, the target frequency increment, is determined according to the temperature difference.

[0050] S3, controlling the compressor according to the target frequency increment and the current operating frequency of the compressor.

[0051] Specifically, after determining the target frequency increment, the compressor can be controlled according to the target frequency increment and the current operating frequency, that is, the current operating frequency of the compressor plus the target frequency increment is used as the final operating frequency, so that the compressor can be controlled according to this frequency.

[0052] In the above embodiment, frequency control algorithms of different precisions are selected according to the temperature difference, and coordinated control is performed through frequency control algorithms of different precisions, thereby solving the problem of high energy loss caused by controlling only through a control algorithm with higher precision, and the problem of indoor ambient temperature being difficult to completely stabilize at the target temperature caused by controlling only through a control algorithm with lower precision, which will also cause steady-state errors and cause discomfort, thereby improving the energy saving of the air conditioner and the user experience, and having higher stability and temperature control accuracy.

[0053] In some embodiments, the frequency control algorithm of the compressor is determined based on the temperature difference between the current indoor ambient temperature and the set temperature, including: when the absolute value of the temperature difference is greater than the first preset temperature threshold, determining that the frequency control algorithm is the first control algorithm; when the absolute value of the temperature difference is between the second preset temperature threshold and the first preset temperature threshold, and lasts for a first preset time, determining that the frequency control algorithm is a first hybrid control algorithm, wherein the first hybrid control method is obtained by combining the first control algorithm and the second control algorithm based on a dynamic reward and punishment mechanism, and the accuracy of the second control algorithm is greater than that of the first control algorithm; when the absolute value of the temperature difference is less than the second preset temperature threshold and lasts for a second preset time, determining that the frequency control algorithm is a second hybrid control method, wherein the second hybrid control method is obtained by combining the first control algorithm and the second control algorithm, and the frequency increment determined according to the first control algorithm gradually decreases with the running time of the compressor.

[0054] Specifically, after the air conditioner receives a control instruction to start running, at this time, the temperature difference between the indoor environmental temperature and the set temperature is relatively large. When the absolute value of the temperature difference is greater than the first preset temperature threshold, it is determined that the frequency control algorithm is the first control algorithm with relatively low precision. As the air conditioner runs, the temperature difference between the indoor environmental temperature and the set temperature gradually decreases. When the absolute value of the temperature difference is between the first preset temperature threshold and the second preset temperature threshold and lasts for the first preset duration, the frequency control algorithm is determined to be the first hybrid control algorithm. When adopting the first hybrid control algorithm, the target frequency increment is obtained by adjusting the frequency increment determined by using the first control algorithm and the frequency increment determined by using the second control algorithm through a dynamic reward and punishment mechanism. As the air conditioner continues to run, the temperature difference between the indoor environmental temperature and the set temperature continues to decrease. When the absolute value of the temperature difference is less than the second preset temperature threshold and lasts for the second preset duration, the frequency control algorithm is determined to be the second hybrid control algorithm. When adopting the second hybrid control algorithm, the frequency increment determined according to the first control algorithm gradually decreases with the running time of the compressor. Therefore, the precision of the second hybrid control algorithm is greater than that of the first hybrid control algorithm.

[0055] Further, in some embodiments, the first control algorithm is a fuzzy control algorithm, and the second control algorithm is a PID (proportional integral derivative control) control algorithm.

[0056] Specifically, the fuzzy control algorithm obtains the frequency increment by defining fuzzy variables, designing fuzzy rules, performing fuzzy inference, and finally defuzzifying. The PID control algorithm takes the set temperature as the set value, the current indoor environmental temperature as the process variable, and the difference between the set value and the process variable as the error, so that the frequency increment can be determined according to the proportional gain, integral gain, derivative gain, current error, integral of the error, and derivative of the error.

[0057] For example, the first preset temperature threshold is a, the second preset temperature threshold is b, the first preset duration is t1, and the second preset duration is t2. When the absolute value of the temperature difference > a, the frequency control algorithm is the fuzzy control algorithm; when b ≤ the absolute value of the temperature difference ≤ a and lasts for the first preset duration t1, the frequency control algorithm is the first hybrid control algorithm, that is, combining the fuzzy control algorithm and the PID control algorithm based on a dynamic reward and punishment mechanism. The specific combination method will be described in detail in the following part; when the absolute value of the temperature difference < b and lasts for the second preset duration t2, the frequency control algorithm is the second hybrid control algorithm, that is, combining the fuzzy control algorithm and the PID control algorithm. The proportion of the frequency increment determined by the fuzzy control algorithm in the target frequency increment gradually decreases with time, and the indoor temperature is mainly stabilized near the set temperature through the PID control algorithm.

[0058] In some embodiments, when the frequency control algorithm is the first control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the current frequency adjustment interval of the compressor from multiple frequency adjustment intervals according to the temperature difference, and determining the current working stage of the compressor from multiple working stages according to the running time of the compressor; according to the current frequency adjustment interval and the current working stage, obtaining the target frequency increment by querying a pre-constructed fuzzy rule table, wherein in the fuzzy rule table, a frequency increment is set for each combination of each frequency adjustment interval and each working stage.

[0059] Specifically, multiple frequency adjustment intervals and multiple working stages are fuzzy sets of fuzzy control algorithms. According to the temperature difference, it can be determined which frequency adjustment interval the current frequency adjustment interval belongs to, and according to the running time, it can be determined which working stage the current working stage belongs to. Because in the fuzzy rule table, for each combination of frequency adjustment interval and each working stage, a corresponding frequency increment is set, so according to the current frequency adjustment interval and the current working stage, the corresponding frequency increment can be found, and the frequency increment is used as the target frequency increment.

[0060] In some embodiments, the current frequency adjustment interval of the compressor is determined from multiple frequency adjustment intervals based on the temperature difference, including: determining the membership of the temperature difference in each frequency adjustment interval based on the first membership function; and determining the current frequency adjustment interval based on the membership of each frequency adjustment interval.

[0061] Specifically, the first membership function (such as a trigonometric function) is used to calculate the membership of the temperature difference in each frequency adjustment interval. The membership indicates the degree to which an element belongs to a fuzzy set, and its value range is between 0 and 1. For example, 0 indicates that the element does not belong to the fuzzy set at all, 1 indicates that the element completely belongs to the fuzzy set, and a value between 0 and 1 indicates that the element partially belongs to the fuzzy set. The closer the value is to 1, the higher the degree to which the element belongs to the set. Therefore, the frequency adjustment interval with the highest membership can be used as the current frequency adjustment interval.

[0062] In some embodiments, the current working stage of the compressor is determined from multiple working stages based on the operating time of the compressor, including: determining the membership of the operating time in each working stage based on a second membership function; and determining the current working stage based on the membership of each working stage.

[0063] It is understandable that the current working stage is determined in a similar manner to the current frequency adjustment interval. The membership of the running time in each working stage is first determined by the second membership function, and then the working stage with the highest membership can be used as the current working stage.

[0064] It should be noted that the first membership function and the second membership function can be the same function or different functions, and need to be set according to the fuzzy set, and there is no specific limitation here.

[0065] In some embodiments, the multiple frequency adjustment intervals are divided according to temperature differences.

[0066] For example, assuming that there are three frequency adjustment intervals, namely, the frequency increase interval, the frequency stabilization interval and the frequency reduction interval, when the temperature difference is large, the temperature needs to be adjusted quickly, so the frequency of the compressor is higher. As the temperature difference gradually decreases, the frequency of the compressor gradually decreases.

[0067] Therefore, when the air conditioner is in the cooling operation state, multiple frequency adjustment intervals can be divided according to the following method: when the temperature difference is greater than the first preset difference, the first frequency adjustment interval is a frequency increase interval; when the temperature difference is less than or equal to the first preset difference and greater than or equal to the second preset difference, the second frequency adjustment interval is a frequency stabilization interval; when the temperature difference is less than the second preset difference, the third frequency adjustment interval is a frequency reduction interval.

[0068] When the air conditioner is in the heating operation state, multiple frequency adjustment intervals can be divided according to the following method: when the temperature difference is less than the third preset difference, the first frequency adjustment interval is the frequency increase interval; when the temperature difference is less than or equal to the fourth preset difference and greater than or equal to the third preset difference, the second frequency adjustment interval is the frequency stabilization interval; when the temperature difference is greater than the fourth preset difference, the third frequency adjustment interval is the frequency reduction interval.

[0069] In some embodiments, the plurality of working stages are divided according to a heat balance model and operating time of the air conditioner.

[0070] For example, assuming there are three working stages, they can be divided into the rapid temperature adjustment stage, the wall temperature radiation stage and the load balance stage according to the heat balance model. Wall temperature radiation refers to the phenomenon that the wall affects the room temperature through radiation, that is, the wall temperature will affect the indoor ambient temperature. In particular, when the wall temperature is higher than the indoor air temperature, it will heat the interior of the room through radiation. Wall temperature radiation takes into account the thermal conductivity of building materials, the thickness of the wall and the influence of the external ambient temperature. This factor will affect the time the air conditioner needs to run. If the wall continues to radiate heat into the room, the air conditioner needs to run longer or more frequently to maintain the set room temperature. Load balance refers to the balance of heat load and cold load that the air conditioning system needs to deal with in the process of maintaining indoor comfort. For example, the heat load includes internal heat sources (such as people, lamps, electrical appliances, etc.) and external heat sources (such as solar radiation entering the room through windows), and the cold load is mainly the cooling capacity of the air conditioner. Load balance means that under the combined effect of various heat sources and cold sources, the air conditioner adjusts the running time to maintain the set room temperature.

[0071] In an optional embodiment, multiple working stages are divided according to the following method: when the operating time is less than the first preset operating time, the first working stage is the rapid temperature adjustment stage; when the operating time is greater than or equal to the first preset operating time and less than or equal to the second preset operating time, the second working stage is the wall temperature radiation stage; when the operating time is greater than the second preset operating time, the third working stage is the load balancing stage.

[0072] It should be noted that the frequency adjustment intervals and working stages are not limited to three, nor are they limited to the above-mentioned division method. The number and division method of the frequency adjustment intervals and working stages can be set according to actual conditions, and no specific restrictions are made here.

[0073] When determining fuzzy rules, for example, when the air conditioner is cooling, when the indoor ambient temperature is higher than the set temperature, the greater the difference, the greater the operating frequency is required to ensure that the air conditioner cools down quickly so that the indoor ambient temperature reaches the set temperature. On the contrary, when the indoor ambient temperature is lower than the set temperature, the operating frequency of the air conditioner needs to be limited to a smaller value to ensure that the indoor ambient temperature returns to the set temperature. For another example, when the air conditioner is just turned on, since the specific heat of air is relatively small compared to the wall, the compressor frequency should be adjusted quickly with the change of indoor ambient temperature to avoid temperature overshoot and cause user discomfort. Subsequently, after the air conditioner has been running for a period of time, when the air temperature remains stable, the wall temperature will gradually cool down as the indoor air temperature decreases. At this time, the indoor heat load decreases slowly, and the air conditioner should slowly reduce the compressor frequency over time. Finally, when the outdoor temperature remains unchanged, the indoor and outdoor loads remain basically unchanged after a long period of time, and the frequency remains basically stable.

[0074] Therefore, the fuzzy rule table can be constructed based on the following rules: the frequency increment corresponding to the frequency increase interval is greater than the frequency increment corresponding to the frequency stability interval, the frequency increment corresponding to the frequency stability interval is greater than the frequency increment corresponding to the frequency decrease interval; the frequency increment corresponding to the rapid temperature adjustment stage is greater than the frequency increment corresponding to the wall temperature radiation stage, and greater than the frequency increment corresponding to the load balance stage. According to the above rules, a fuzzy rule table as shown in Table 1 can be constructed.

[0075] Table 1

[0076]

[0077] As shown in Table 1, when the current working stage is in the rapid temperature adjustment stage and the current frequency adjustment interval is in the frequency increase zone, the frequency increment is c1, and c1 is a positive number; when the current working stage is in the wall temperature radiation stage and the current frequency adjustment interval is in the frequency increase zone, the frequency increment is c2, and c2 is a positive number less than c1, for example, c2 can be the product of c1 and the first proportional coefficient, wherein the first proportional coefficient is less than 1 (for example, 0.5); when the current working stage is in the load balancing stage and the current frequency adjustment interval is in the frequency increase zone, the frequency increment is c3, and c3 is a positive number less than c2, for example, c3 can be the product of c1 and the second proportional coefficient, wherein the second proportional coefficient (for example, 0.2) is less than the first proportional coefficient; when the current working stage is in the rapid temperature adjustment stage and the current frequency adjustment interval is in the frequency stability zone, the frequency increment is c4, c4<c1, because the current frequency adjustment interval is in the frequency stability zone, the frequency increment can be set to 0, that is, the current operating frequency is kept unchanged; when the current working stage is in the wall temperature radiation stage and the current frequency adjustment interval is If the current working stage is in the frequency stability interval, the frequency increment is c5, c5≤c4, because in the wall temperature radiation stage, the wall will radiate temperature outward, and the current operating frequency can be appropriately reduced, so it can be a negative number; if the current working stage is in the load balancing stage and the current frequency adjustment interval is in the frequency stability interval, the frequency increment is c6, c6<c3, where c6 can also be 0; if the current working stage is in the rapid temperature adjustment stage and the current frequency adjustment interval is in the frequency reduction zone, the frequency increment is c7, and c7 is a negative number; if the current working stage is in In the wall temperature radiation stage, and the current frequency adjustment interval is in the frequency reduction zone, the frequency increment is c8, and c8 is a negative number greater than c7. For example, c8 can be the product of c7 and the third proportional coefficient, wherein the third proportional coefficient is less than 1 (for example, 0.5); in the current working stage, it is in the load balancing stage, and the current frequency adjustment interval is in the frequency reduction zone, then the frequency increment is c9, and c9 is a negative number greater than c8. For example, c9 can be the product of c7 and the fourth proportional coefficient, wherein the fourth proportional coefficient (for example, 0.2) is smaller than the third proportional coefficient.

[0078] Therefore, the temperature difference obtained by the air-conditioning sensor and the compressor operation time can be input into the fuzzy set and fuzzy processing can be performed to obtain its membership relative to each fuzzy set. After obtaining the membership of the fuzzy set, it is defuzzified to obtain the corresponding compressor target frequency increment.

[0079] In some embodiments, when the frequency control algorithm is a first hybrid control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the first frequency increment according to the first control algorithm and the temperature difference, and determining the second frequency increment according to the second control algorithm and the temperature difference; determining the current reward according to the current indoor ambient temperature and the set temperature; determining the first weight of the first control algorithm and the second weight of the second control algorithm according to the current reward; and determining the target frequency increment according to the first frequency increment, the second frequency increment, the first weight, and the second weight.

[0080] Specifically, based on the first control algorithm, the method of determining the first frequency increment according to the temperature difference has been described in detail in the above content, and will not be repeated here. Based on the second control algorithm, the set temperature is used as the set value, the current indoor ambient temperature is used as the process variable, and the difference between the set value and the process variable is used as the error, so that the second frequency increment can be determined according to the proportional gain, the integral gain, the differential gain, the current error, the integral of the error and the differential of the error. Substituting the current indoor ambient temperature and the set temperature into the reward function, the current reward can be obtained. Then, according to the current reward, the weight of the first control algorithm and the weight of the second control algorithm are adjusted to obtain the first weight and the second weight. After obtaining the first weight and the second weight, the target frequency increment is determined according to the first frequency increment and the first weight and the second frequency increment and the second weight, wherein the sum of the first weight and the second weight is 1, that is, when the first weight is α, the second weight is 1-α.

[0081] In some embodiments, determining a current reward based on a current indoor ambient temperature and a set temperature includes: obtaining historical indoor ambient temperatures; determining a standard deviation of the historical indoor ambient temperatures, and determining an average of the absolute values ​​of the differences between the historical indoor ambient temperatures and the set temperature; and determining the current reward based on the standard deviation and the average.

[0082] For example, the current reward may be determined based on the standard deviation of multiple historical indoor ambient temperatures and the absolute average of the temperature differences between multiple historical indoor ambient temperatures and the set temperature. For example, the current reward may be determined by the following formula:

[0083] R=ρ 1 *B(x)+ρ 2 *Z(x)

[0084] Among them, ρ 1is the volatility weight coefficient, ρ 2 is the weight coefficient of accuracy, ρ 1 and ρ 2 are hyperparameters respectively. B(x) is the standard deviation of multiple historical indoor ambient temperatures, which is used to measure the volatility of the temperature curve. Z(x) is the average of the absolute values ​​of the temperature differences between multiple historical indoor ambient temperatures and the set temperature, which is used to measure the dynamic performance of cooling / heating.

[0085] In some embodiments, the first weight of the first control algorithm and the second weight of the second control algorithm are respectively determined according to the current reward, including: when the current reward is less than or equal to a preset reward threshold, the first weight and the second weight are kept unchanged, wherein the initial value of the first weight is the first preset weight, and the initial value of the second weight is the second preset weight; when the current reward is greater than the preset reward threshold, the first weight and the second weight are respectively updated according to the standard deviation and the average.

[0086] Specifically, after determining the current reward, the weight coefficients corresponding to the first frequency increment and the second frequency increment may be adjusted according to the current reward. For example, when adjusting the weight coefficients corresponding to the first frequency increment and the second frequency increment according to the current reward, the size of the current reward may be judged. When the current reward is greater than or equal to a preset threshold, the weight coefficient adjustment value may be determined based on the standard deviation and the average value. For example, the weight coefficient adjustment may be determined based on the proportion of the standard deviation and the average value in the current reward. When the current reward is less than the preset threshold, in order to ensure temperature stability, robustness, and prevent the negative effects of excessive adjustment, the weight coefficients corresponding to the first frequency increment and the second frequency increment may be kept unchanged.

[0087] In some embodiments, the first weight and the second weight are updated according to the standard deviation and the average value, respectively, including: when the standard deviation is greater than the first set value and the average value is less than the second set value, the first weight is increased and the second weight is decreased; when the standard deviation is less than the first set value and the average value is greater than the second set value, the first weight is decreased and the second weight is increased.

[0088] For example, when determining the weight coefficient adjustment value according to the standard deviation and the absolute average value, the size of the standard deviation value and the size of the average value can be judged. When the standard deviation is greater than the first set value and the absolute average value is less than the second set value, it means that the current temperature fluctuation is large, and the first weight can be increased and the second weight can be reduced, which is equivalent to making the proportion of fuzzy control larger and larger. When the standard deviation is less than the first set value and the absolute average value is greater than the second set value, it means that the current temperature control accuracy is poor, and the first weight can be reduced and the second weight can be increased, which is equivalent to making the proportion of PID control larger and larger to reduce the deviation of temperature control.

[0089] In some embodiments, determining a target frequency increment based on a first frequency increment, a second frequency increment, a first weight, and a second weight includes: determining a first product of the first frequency increment and the first weight, and determining a second product of the second frequency increment and the second weight; and determining a sum of the first product and the second product as the target frequency increment.

[0090] That is to say, according to the first frequency increment, the second frequency increment, the first weight and the second weight obtained above, the first frequency increment and the first weight are multiplied to obtain a first product, the second frequency increment and the second weight are multiplied to obtain a second product, and the first product and the second product are summed to obtain the target frequency increment.

[0091] In some embodiments, when the frequency control algorithm is a second hybrid control algorithm, the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference, including: determining the first frequency increment according to the first control algorithm and the temperature difference, and determining the second frequency increment according to the second control algorithm and the temperature difference; determining the target frequency increment according to the first frequency increment, the second frequency increment, the weight corresponding to the first control algorithm, and the weight corresponding to the second control algorithm, wherein the weight corresponding to the first control algorithm is adjusted downward at a first preset rate, and the weight of the second control algorithm is adjusted upward at a second preset rate.

[0092] It is understandable that when the second hybrid control algorithm is used, because the temperature difference is small, the current indoor ambient temperature needs to be maintained at the set temperature, so the first weight is reduced at a preset rate to reduce the proportion of the frequency increment calculated according to the first control algorithm (fuzzy control algorithm), and gradually increase the proportion of the frequency increment calculated according to the second control algorithm (PID control algorithm), so that the indoor ambient temperature is stabilized near the set temperature. The first preset rate and the second preset rate can be the same rate.

[0093] If the user changes the set temperature or the absolute value of the difference between the indoor ambient temperature and the set temperature exceeds a certain threshold due to external disturbances, the first hybrid control algorithm can be used again to control the compressor (i.e., based on the dynamic reward and punishment mechanism, the first frequency increment and the second frequency increment, the target frequency increment of the compressor is obtained).

[0094] Combine the following Figure 2 The control method of the present invention will be described.

[0095] As a specific example, the compressor control method of the present invention may include the following steps:

[0096] S101, when the air conditioner receives a control instruction, the air conditioner is turned on and operates in an energy-saving mode to obtain the indoor ambient temperature and the set temperature.

[0097] S102, calculating the temperature difference between the indoor ambient temperature and the set temperature.

[0098] S103, determine whether the temperature difference is greater than a first preset temperature threshold. If yes, execute step S104; if no, execute step S106.

[0099] S104, determining a target frequency increment of the compressor according to the fuzzy control algorithm and the temperature difference.

[0100] S105: Control the compressor according to the target frequency increment and the current operating frequency.

[0101] S106, determine whether the temperature difference is greater than or equal to a second preset temperature threshold and lasts for a first preset time. If yes, execute step S107; if not, execute step S114.

[0102] S107, adopting the first hybrid control algorithm.

[0103] S108, determining a first frequency increment and a second frequency increment.

[0104] S109, determining a current reward according to a standard deviation of a plurality of historical indoor temperatures and an average value of absolute values ​​of temperature differences between a plurality of historical indoor temperatures and a set temperature.

[0105] S110, determine whether the current reward is greater than or equal to a preset threshold. If yes, execute step S111; if not, execute step S112.

[0106] S111, determining a weight coefficient adjustment value according to the standard deviation and the absolute mean value, and adjusting the first weight and the second weight according to the weight coefficient adjustment value.

[0107] S112, keep the first weight and the second weight unchanged.

[0108] S113, determining a target frequency increment according to the first frequency increment, the first weight, the second frequency increment, and the second weight, and proceeding to step S105.

[0109] S114, adopt the second hybrid control method.

[0110] S115, determining a first frequency increment and a second frequency increment.

[0111] S116, reduce the first weight according to the first preset rate, increase the second weight according to the second preset rate, obtain the target frequency increment of the compressor according to the first frequency increment, the first weight, the second frequency increment and the second weight, and enter step S105.

[0112] In summary, according to the control method of the compressor of the embodiment of the present invention, the frequency control algorithm of the compressor is determined according to the temperature difference between the current indoor ambient temperature and the set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; the target frequency increment of the compressor is determined according to the frequency control algorithm and the temperature difference; the compressor is controlled according to the target frequency increment and the current operating frequency of the compressor. Therefore, the method can improve the energy saving of the air conditioner and the user experience, and has high stability and temperature control accuracy.

[0113] Corresponding to the above embodiment, the present invention further proposes a control device for a compressor.

[0114] like Figure 3 As shown, the compressor control device 100 according to the embodiment of the present invention includes: a first determination module 110 , a second determination module 120 and a control module 130 .

[0115] The first determination module 110 is used to determine the frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature when the air conditioner is running in the energy-saving mode, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference. The second determination module 120 is used to determine the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference. The control module 130 is used to control the compressor according to the target frequency increment and the current operating frequency of the compressor.

[0116] According to one embodiment of the present invention, the first determination module 110 is also used for: when the absolute value of the temperature difference is greater than the first preset temperature threshold, determining that the frequency control algorithm is the first control algorithm; when the absolute value of the temperature difference is between the second preset temperature threshold and the first preset temperature threshold and lasts for a first preset time, determining that the frequency control algorithm is a first hybrid control algorithm, wherein the first hybrid control method is obtained by combining the first control algorithm and the second control algorithm based on a dynamic reward and punishment mechanism, and the accuracy of the second control algorithm is greater than that of the first control algorithm; when the absolute value of the temperature difference is less than the second preset temperature threshold and lasts for a second preset time, determining that the frequency control algorithm is a second hybrid control method, wherein the second hybrid control method is obtained by combining the first control algorithm and the second control algorithm, and the frequency increment determined according to the first control algorithm gradually decreases with the running time of the compressor.

[0117] According to one embodiment of the present invention, the second determination module 120 is also used for: when the frequency control algorithm is the first control algorithm, determining the current frequency adjustment interval of the compressor from multiple frequency adjustment intervals according to the temperature difference, and determining the current working stage of the compressor from multiple working stages according to the running time of the compressor; according to the current frequency adjustment interval and the current working stage, obtaining the target frequency increment by querying a pre-constructed fuzzy rule table, wherein in the fuzzy rule table, a frequency increment is set for each combination of each frequency adjustment interval and each working stage.

[0118] According to an embodiment of the present invention, the second determination module 120 is further used to: determine the membership of the temperature difference in each frequency adjustment interval based on the first membership function; and determine the current frequency adjustment interval according to the membership of each frequency adjustment interval.

[0119] According to an embodiment of the present invention, the second determination module 120 is further used to: determine the membership of the running time in each working stage based on the second membership function; and determine the current working stage according to the membership of each working stage.

[0120] According to an embodiment of the present invention, a plurality of frequency adjustment intervals are divided according to temperature differences.

[0121] According to an embodiment of the present invention, the plurality of working stages are divided according to a thermal balance model and an operating time of the air conditioner.

[0122] According to one embodiment of the present invention, the second determination module 120 is also used for: when the frequency control algorithm is the first hybrid control algorithm, determining the first frequency increment according to the first control algorithm and the temperature difference, and determining the second frequency increment according to the second control algorithm and the temperature difference; determining the current reward according to the current indoor ambient temperature and the set temperature; determining the first weight of the first control algorithm and the second weight of the second control algorithm according to the current reward; and determining the target frequency increment according to the first frequency increment, the second frequency increment, the first weight and the second weight.

[0123] According to one embodiment of the present invention, the second determination module 120 is further used to: determine the standard deviation of the historical indoor ambient temperature, and determine the average value of the absolute value of the difference between the historical indoor ambient temperature and the set temperature; and determine the current reward based on the standard deviation and the average value.

[0124] According to one embodiment of the present invention, the second determination module 120 is also used to: when the current reward is less than or equal to a preset reward threshold, keep the first weight and the second weight unchanged, wherein the initial value of the first weight is the first preset weight, and the initial value of the second weight is the second preset weight; when the current reward is greater than the preset reward threshold, update the first weight and the second weight according to the standard deviation and the average, respectively.

[0125] According to one embodiment of the present invention, the second determination module 120 is also used to: when the standard deviation is greater than the first set value and the average value is less than the second set value, increase the first weight and decrease the second weight; when the standard deviation is less than the first set value and the average value is greater than the second set value, decrease the first weight and increase the second weight.

[0126] According to one embodiment of the present invention, the second determination module 120 is further used to: determine a first product of the first frequency increment and the first weight, and determine a second product of the second frequency increment and the second weight; and determine the sum of the first product and the second product as the target frequency increment.

[0127] According to one embodiment of the present invention, the second determination module 120 is also used to: when the frequency control algorithm is a second hybrid control algorithm, determine the first frequency increment according to the first control algorithm and the temperature difference, and determine the second frequency increment according to the second control algorithm and the temperature difference; determine the target frequency increment according to the first frequency increment, the second frequency increment, the weight corresponding to the first control algorithm and the weight corresponding to the second control algorithm, wherein the weight corresponding to the first control algorithm is adjusted downward at a first preset rate, and the weight of the second control algorithm is adjusted upward at a second preset rate.

[0128] According to one embodiment of the present invention, the first control algorithm is a fuzzy control algorithm, and the second control algorithm is a PID control algorithm.

[0129] It should be noted that for details not disclosed in the control device of the compressor in the embodiment of the present invention, please refer to the details disclosed in the control method of the compressor in the embodiment of the present invention, and the details will not be repeated here.

[0130] According to the control device of the compressor of the embodiment of the present invention, the first determination module is used to determine the frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature when the air conditioner is running in energy-saving mode, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; the second determination module is used to determine the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; the control module is used to control the compressor according to the target frequency increment and the current operating frequency of the compressor. Thus, the device can improve the energy saving performance of the air conditioner and the user experience, and has high stability and temperature control accuracy.

[0131] Corresponding to the above embodiment, the present invention also proposes a computer-readable storage medium.

[0132] The computer-readable storage medium of the embodiment of the present invention stores a compressor control program, and the program implements the above-mentioned compressor control method when executed by a processor.

[0133] According to the computer-readable storage medium of the embodiment of the present invention, by executing the above-mentioned compressor control method, the energy saving performance of the air conditioner and the user experience can be improved, and the stability and temperature control accuracy are high.

[0134] Corresponding to the above embodiment, the present invention also proposes a compressor.

[0135] like Figure 4 As shown, the compressor 200 of the embodiment of the present invention may include: a memory 210, a processor 220, and a compressor control program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the compressor control program, the above-mentioned compressor control method is implemented.

[0136] The compressor according to the embodiment of the present invention can improve the energy saving performance of the air conditioner and the user experience by executing the above-mentioned compressor control method, and has high stability and temperature control accuracy.

[0137] Corresponding to the above embodiment, the present invention also proposes an air conditioner.

[0138] like Figure 5 As shown, the air conditioner 300 of the embodiment of the present invention may include the above-mentioned compressor control device 100, or, as shown in FIG. Figure 6 As shown, the air conditioner 300 according to the embodiment of the present invention may further include the compressor 200 mentioned above.

[0139] According to the air conditioner of the embodiment of the present invention, the energy saving performance of the air conditioner and the user experience can be improved through the above-mentioned compressor control device or the above-mentioned compressor, and the stability and temperature control accuracy are high.

[0140] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0141] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0142] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0143] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0144] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0145] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for controlling a compressor, characterized in that: The method comprises: Determining a frequency control algorithm for the compressor according to a temperature difference between a current indoor ambient temperature and a set temperature, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; determining a target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; The compressor is controlled according to the target frequency increment and the current operating frequency of the compressor.

2. The method according to claim 1, characterized in that The frequency control algorithm of the compressor is determined according to the temperature difference between the current indoor ambient temperature and the set temperature, including: When the absolute value of the temperature difference is greater than a first preset temperature threshold, determining that the frequency control algorithm is a first control algorithm; When the absolute value of the temperature difference is between the second preset temperature threshold and the first preset temperature threshold and lasts for a first preset time, determining that the frequency control algorithm is a first hybrid control algorithm, wherein the first hybrid control method is obtained by combining the first control algorithm and the second control algorithm based on a dynamic reward and punishment mechanism, and the accuracy of the second control algorithm is greater than that of the first control algorithm; When the absolute value of the temperature difference is less than the second preset temperature threshold and lasts for a second preset time, the frequency control algorithm is determined to be a second hybrid control method, wherein the second hybrid control method is obtained by combining the first control algorithm and the second control algorithm, and the frequency increment determined according to the first control algorithm gradually decreases with the running time of the compressor.

3. The method according to claim 2, characterized in that In the case where the frequency control algorithm is a first control algorithm, determining a target frequency increment of the compressor according to the frequency control algorithm and the temperature difference includes: Determining a current frequency adjustment interval of the compressor from a plurality of frequency adjustment intervals according to the temperature difference, and determining a current working stage of the compressor from a plurality of working stages according to the running time of the compressor; According to the current frequency adjustment interval and the current working stage, the target frequency increment is obtained by querying a pre-constructed fuzzy rule table, wherein in the fuzzy rule table, a frequency increment is correspondingly set for each combination of the frequency adjustment interval and each working stage.

4. The method according to claim 3, characterized in that Determining a current frequency adjustment interval of the compressor from a plurality of frequency adjustment intervals according to the temperature difference includes: Determine the membership of the temperature difference in each frequency adjustment interval based on the first membership function; The current frequency adjustment interval is determined according to the membership degree of each frequency adjustment interval.

5. The method according to claim 3, characterized in that: Determining a current working stage of the compressor from a plurality of working stages according to the running time of the compressor includes: Determine the membership of the running time in each of the working stages based on a second membership function; The current working stage is determined according to the membership degree of each working stage.

6. The method according to claim 3, characterized in that The multiple frequency adjustment intervals are divided according to the temperature difference.

7. The method according to claim 3, characterized in that The plurality of working stages are divided according to a heat balance model of the air conditioner and the operating time.

8. The method according to claim 2, characterized in that: In a case where the frequency control algorithm is the first hybrid control algorithm, determining the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference includes: determining a first frequency increment according to the first control algorithm and the temperature difference, and determining a second frequency increment according to the second control algorithm and the temperature difference; Determine a current reward according to the current indoor ambient temperature and the set temperature; Determine a first weight of the first control algorithm and a second weight of the second control algorithm respectively according to the current reward; The target frequency increment is determined according to the first frequency increment, the second frequency increment, the first weight, and the second weight.

9. The method according to claim 8, characterized in that Determining a current reward according to the current indoor ambient temperature and the set temperature includes: Get historical indoor ambient temperature; Determine the standard deviation of the historical indoor ambient temperature, and determine the average of the absolute values ​​of the differences between the historical indoor ambient temperature and the set temperature; The current reward is determined based on the standard deviation and the average.

10. The method according to claim 9, characterized in that Determining a first weight of the first control algorithm and a second weight of the second control algorithm respectively according to the current reward includes: When the current reward is less than or equal to a preset reward threshold, the first weight and the second weight are kept unchanged, wherein the initial value of the first weight is the first preset weight, and the initial value of the second weight is the second preset weight; When the current reward is greater than a preset reward threshold, the first weight and the second weight are updated according to the standard deviation and the average value, respectively.

11. The method according to claim 10, characterized in that Updating the first weight and the second weight according to the standard deviation and the average value respectively includes: When the standard deviation is greater than a first set value and the average value is less than a second set value, the first weight is increased and adjusted, and the second weight is decreased; When the standard deviation is smaller than the first set value and the average value is larger than the second set value, the first weight is adjusted downward and the second weight is adjusted upward.

12. The method according to any one of claims 8 to 10, characterized in that: Determining the target frequency increment according to the first frequency increment, the second frequency increment, the first weight, and the second weight includes: determining a first product of the first frequency increment and the first weight, and determining a second product of the second frequency increment and the second weight; A sum of the first product and the second product is determined as the target frequency increment.

13. The method according to claim 2, characterized in that In a case where the frequency control algorithm is the second hybrid control algorithm, determining the target frequency increment of the compressor according to the frequency control algorithm and the temperature difference includes: determining a first frequency increment according to the first control algorithm and the temperature difference, and determining a second frequency increment according to the second control algorithm and the temperature difference; The target frequency increment is determined according to the first frequency increment, the second frequency increment, the weight corresponding to the first control algorithm, and the weight corresponding to the second control algorithm, wherein the weight corresponding to the first control algorithm is decreased and adjusted at a first preset rate, and the weight of the second control algorithm is increased and adjusted at a second preset rate.

14. The method according to claim 2, characterized in that The first control algorithm is a fuzzy control algorithm, and the second control algorithm is a PID control algorithm.

15. A control device for a compressor, characterized in that: The device comprises: A first determination module is used to determine the frequency control algorithm of the compressor according to the temperature difference between the current indoor ambient temperature and the set temperature when the air conditioner is running in the energy-saving mode, wherein the accuracy of the frequency control algorithm is negatively correlated with the temperature difference; A second determination module, configured to determine a target frequency increment of the compressor according to the frequency control algorithm and the temperature difference; A control module is used to control the compressor according to the target frequency increment and the current operating frequency of the compressor.

16. A computer-readable storage medium, characterized in that: A compressor control program is stored thereon, and when the compressor control program is executed by a processor, a compressor control method according to any one of claims 1 to 14 is implemented.

17. A compressor, characterized in that: The invention comprises a memory, a processor and a control program of a compressor which is stored in the memory and can be run on the processor. When the processor executes the control program of the compressor, the control method of the compressor according to any one of claims 1 to 14 is implemented.

18. An air conditioner, characterized in that: A control device for a compressor comprising the control device of claim 15, or a compressor according to claim 17.

Citation Information

Cited By

  • Compressor and control method therefor and control device thereof, and air conditioner

    WO2026091776A1