Air conditioner control method and device, cloud computing equipment, electronic equipment and medium

By dividing the power range of the power supply system and combining it with the ambient temperature and working mode, the compressor speed and electric auxiliary heating function of the air conditioner are controlled, which solves the problem of unreasonable use of electricity by the air conditioner in the photovoltaic energy storage system, and achieves a higher photovoltaic absorption rate and user comfort.

CN121953473APending Publication Date: 2026-05-01FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD
Filing Date
2024-10-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

When existing air conditioners are equipped with photovoltaic energy storage systems in homes, they fail to effectively utilize the electrical energy when photovoltaic power is abundant, resulting in unreasonable consumption of battery or grid power, which affects the household's energy self-sufficiency rate and user comfort.

Method used

By acquiring data from photovoltaic and battery devices in the power supply system, power ranges are divided, and combined with the current ambient temperature and operating mode, the compressor speed and electric auxiliary heating function of the air conditioner are controlled to optimize the air conditioner's operation. This aims to increase the photovoltaic absorption rate when photovoltaic power is sufficient and to rationally consume battery or grid power when photovoltaic power is insufficient.

Benefits of technology

It has improved the photovoltaic absorption rate, optimized household energy utilization, and enhanced users' temperature experience and the efficiency of air conditioner use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121953473A_ABST
    Figure CN121953473A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of an air conditioner, cloud computing equipment, electronic equipment and a medium, power is supplied to a load through a power supply system, the power supply system comprises a photovoltaic device and a battery device, the load comprises the air conditioner, and the control method of the air conditioner comprises the steps that target data of the power supply system is obtained, the target data of the power supply system comprises photovoltaic power data of a photovoltaic device and battery data of a battery device; based on target data of the power supply system, determining a target interval in which the power of the photovoltaic device is located from the plurality of power intervals obtained by division; the current working mode and the current environment temperature of the air conditioner are determined; and controlling the rotating speed of a compressor of the air conditioner based on the target interval, the current working mode and the current environment temperature. According to the method, the rotating speed of the compressor of the air conditioner is adjusted by combining the power surplus degree of the photovoltaic device and the current environment temperature, the photovoltaic consumption rate is increased when photovoltaic power is sufficient, and better temperature experience can be brought to a user.
Need to check novelty before this filing date? Find Prior Art

Description

Air conditioner control methods, devices, cloud computing equipment, electronic equipment and media Technical Field

[0001] This application relates to the technical fields of air conditioners, photovoltaic equipment, etc., and in particular to a control method, device, cloud computing equipment, electronic equipment and medium for an air conditioner. Background Technology

[0002] Current air conditioners prioritize user comfort above all else. For example, when the room temperature deviates from the user's set temperature, the air conditioner will provide cooling or heating at the optimal speed to maintain the room temperature near the set temperature. However, when a home is equipped with a photovoltaic energy storage system, this type of air conditioner does not take into account the status of the photovoltaic and energy storage systems, resulting in the air conditioner failing to provide a better user experience.

[0003] The existing air conditioning operation mode consumes excessive battery or grid power when photovoltaic power is insufficient, and cannot effectively absorb photovoltaic power when photovoltaic power is sufficient, resulting in the photovoltaic and energy storage system not being able to play its maximum value and the household energy self-sufficiency rate being low. Summary of the Invention

[0004] Therefore, the purpose of this application is to propose a control method, device, cloud computing equipment, electronic equipment, medium, and computer program product based on a regulator. The air conditioner control method of this application combines the power surplus of the photovoltaic device and the current ambient temperature to adjust the compressor speed and heating state of the air conditioner. When the photovoltaic power is sufficient, it can improve the photovoltaic absorption rate. When the photovoltaic power is insufficient, it can more rationally consume battery or grid power. Furthermore, it takes into account the user's comfort zone and can provide the user with a better temperature experience.

[0005] This application provides a method for controlling an air conditioner, which supplies power to a load via a power supply system. The power supply system includes a photovoltaic device and a battery device, and the load includes the air conditioner. The method includes: acquiring target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of the photovoltaic device and battery data of the battery device; determining, based on the target data of the power supply system, a target range in which the power of the photovoltaic device is located from a plurality of power ranges, wherein the plurality of power ranges includes at least two of a power surplus range, a power deficiency range, and a power transition range, and the range boundaries of the plurality of power ranges are associated with at least a photovoltaic surplus power threshold and a battery threshold; determining the current operating mode and the current ambient temperature of the air conditioner; and controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

[0006] For example, the battery threshold includes a first energy threshold, and the power range division includes: when the photovoltaic power is greater than the photovoltaic surplus power threshold and the remaining battery energy is greater than the first energy threshold, it is the power surplus range.

[0007] For example, the photovoltaic surplus power threshold includes a first surplus power threshold and a second surplus power threshold, and the power surplus interval includes a first surplus interval and a second surplus interval, wherein the power surplus degree of the second surplus interval is greater than that of the first surplus interval; the power interval division further includes: when the photovoltaic power is greater than the first surplus power threshold and less than or equal to the second surplus power threshold, and the remaining battery charge is greater than the first charge threshold, it is the first surplus interval; when the photovoltaic power is greater than the second surplus power threshold, and the remaining battery charge is greater than the first charge threshold, it is the second surplus interval.

[0008] For example, the battery threshold includes a second power threshold, which is less than the first power threshold; the power supply system also includes a grid power supply device, and the boundaries of the plurality of power intervals are also associated with a grid power draw threshold, wherein the grid power draw includes the power drawn by the load from the grid power supply device; the power interval division further includes: when the remaining battery power is less than the second power threshold and the battery device draws power, or when the grid power draw is greater than the grid power draw threshold, it is a power deficiency interval.

[0009] For example, the second power threshold includes a third power threshold and a fourth power threshold, wherein the fourth power threshold is less than the third power threshold, and the insufficient range includes a first insufficient range, a second insufficient range, and a third insufficient range; the power range division further includes: the first insufficient range when the remaining battery power is less than the third power threshold, greater than the fourth power threshold, and the battery device is being powered, and the grid power draw is less than or equal to the grid power draw threshold; the second insufficient range when the remaining battery power is less than or equal to the fourth power threshold, and the grid power draw is less than or equal to the grid power draw threshold; and the third insufficient range when the grid power draw is greater than or equal to the grid power draw threshold.

[0010] For example, the battery threshold includes a second power threshold, which is less than the first power threshold; the battery data also includes battery charging data; the power range division further includes: when the remaining battery power is less than the second power threshold and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold, it is a power insufficiency range.

[0011] For example, the second power threshold includes a third power threshold and a fourth power threshold, wherein the fourth power threshold is less than the third power threshold, and the power insufficiency interval includes a first insufficiency interval and a second insufficiency interval; the power interval division further includes: the first insufficiency interval when the remaining battery power is less than the third power threshold but greater than the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold; and the second insufficiency interval when the remaining battery power is less than or equal to the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold.

[0012] For example, the power range division further includes: when the photovoltaic power is less than the first surplus power threshold, or when the remaining battery power is less than the first power threshold, it is the power transition range; or when the remaining battery power is greater than the second power threshold and the grid power is less than or equal to the grid power threshold, it is the power transition range.

[0013] For example, the power range division further includes: when the photovoltaic power is less than or equal to the photovoltaic surplus power threshold and the remaining battery charge is greater than or equal to the second charge threshold, or when the remaining battery charge is less than or equal to the first charge threshold and the charging power of the battery device is greater than or equal to the charging power threshold, the power transition range is defined as such.

[0014] For example, controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in a non-comfortable or comfortable range: when the target range is the power surplus range, if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a first speed limit, wherein the first speed limit corresponding to the second surplus range is greater than the first speed limit corresponding to the first surplus range; when the target range is the power transition range, if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a second speed limit or maintaining the current speed, wherein the second speed limit is less than the first speed limit.

[0015] For example, controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes: when the current ambient temperature is in an uncomfortable range; when the target range is the power insufficiency range; and if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on the second speed limit.

[0016] For example, controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes: when the current ambient temperature is in a comfortable range; when the target range is a first insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a third speed limit, wherein the third speed limit is less than the second speed limit; when the target range is a second insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a fourth speed limit, wherein the fourth speed limit is less than the third speed limit; when the target range is a third insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a fifth speed limit, wherein the fifth speed limit is less than the fourth speed limit.

[0017] For example, the method further includes: controlling the electric auxiliary heating function of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

[0018] For example, controlling the electric auxiliary heating function of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes: if the current operating mode is cooling mode and the current ambient temperature is in an uncomfortable range, maintaining the electric auxiliary heating function of the air conditioner in a closed state; if the current operating mode is heating mode: if the target range is a first surplus range, maintaining the electric auxiliary heating function of the air conditioner in its current state; if the target range is a second surplus range, turning on the electric auxiliary heating function of the air conditioner; if the target range is a power transition range, maintaining the electric auxiliary heating function of the air conditioner in its current state or restoring the on state of the electric auxiliary heating function of the air conditioner to the user-set state; and if the target range is a power deficiency range, restoring the on state of the electric auxiliary heating function of the air conditioner to the user-set state.

[0019] For example, controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in the comfort range and the target range is the power deficiency range, increasing the compressor speed or keeping the compressor speed constant in the cooling mode if the current ambient temperature continues to rise or in the heating mode if the current ambient temperature continues to fall; and decreasing the compressor speed or keeping the compressor speed constant in the heating mode if the current ambient temperature continues to fall or in the heating mode if the current ambient temperature continues to rise.

[0020] For example, controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in the comfort range and the target range is the power transition range, in cooling mode or heating mode, increasing the compressor speed if the current compressor speed is less than the default speed, keeping the compressor speed unchanged if the current compressor speed is the default speed, and decreasing the compressor speed if the current compressor speed is greater than the default speed.

[0021] Another embodiment of the application provides a control device for an air conditioner, which supplies power to a load via a power supply system, the power supply system including a photovoltaic device and a battery device, the load including the air conditioner, and the device comprising: an acquisition module for acquiring target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of the photovoltaic device and battery data of the battery device; a first determination module for determining, based on the target data of the power supply system, a target range in which the power of the photovoltaic device is located from a plurality of power ranges, wherein the plurality of power ranges includes at least two of a power surplus range, a power deficiency range, and a power transition range, and the range boundaries of the plurality of power ranges are associated with at least a photovoltaic surplus power threshold and a battery threshold; a second determination module for determining the current operating mode and the current ambient temperature of the air conditioner; and a control module for controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

[0022] Another embodiment of the application provides a cloud computing device for performing the steps of the method of any of the above embodiments.

[0023] Another embodiment of this application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method of any of the above embodiments.

[0024] Another embodiment of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method of any of the above embodiments.

[0025] Another embodiment of this application provides a computer program product, which includes instructions that, when executed by a processor of a computer device, enable the computer device to perform the steps of the method described in any of the above embodiments.

[0026] In the above embodiments, a power supply system is used to supply power to the load. The power supply system includes a photovoltaic device and a battery device, and the load includes an air conditioner. The control method for the air conditioner includes: acquiring target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of the photovoltaic device and battery data of the battery device; determining the target range in which the power of the photovoltaic device is located among multiple power ranges obtained based on the target data of the power supply system; determining the current operating mode and current ambient temperature of the air conditioner; and controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature. This method combines the power surplus of the photovoltaic device and the current ambient temperature to adjust the compressor speed of the air conditioner. When photovoltaic power is sufficient, it improves the photovoltaic absorption rate and can bring a better temperature experience to users. Attached Figure Description

[0027] Figure 1 is a flowchart of the control method for an air conditioner provided in an embodiment of this application;

[0028] Figure 2 is a partition diagram provided in the embodiments of this application;

[0029] Figure 3 is a partition diagram provided by another embodiment of this application;

[0030] Figure 4 is a schematic diagram of the power variation trend of the photovoltaic device provided in the embodiments of this application;

[0031] Figure 5 is a schematic diagram of the control device for an air conditioner provided in an embodiment of this application;

[0032] Figure 6 is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0033] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0034] Current air conditioners prioritize user comfort above all else. In some cases, when the room temperature deviates from the user's set temperature, the air conditioner will provide cooling or heating at the optimal speed to maintain the room temperature near the set temperature. However, when a home is equipped with a photovoltaic (PV) energy storage system, this type of air conditioner operation does not take into account the status of the PV and storage systems. This operating mode consumes excessive battery or grid power when PV is insufficient, and cannot effectively absorb PV power when it is abundant. Consequently, the PV-storage system cannot reach its full potential, resulting in low household energy self-sufficiency.

[0035] Based on this, the present invention proposes a control method for an air conditioner, which adjusts the compressor speed of the air conditioner by combining the target range of the photovoltaic device and the current ambient temperature. When there is sufficient photovoltaic power, the photovoltaic absorption rate is improved, which can bring a better temperature experience to users.

[0036] Figure 1 is a flowchart of a control method of a controller according to an embodiment of this application.

[0037] As shown in Figure 1, the control methods for the air conditioner include S101-S104.

[0038] S101, acquire target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of photovoltaic device and battery data of battery device.

[0039] S102, based on the target data of the power supply system, determine the target range in which the power of the photovoltaic device is located from the multiple power ranges obtained.

[0040] S103, determine the current operating mode of the air conditioner and the current ambient temperature.

[0041] S104, based on the target range, the current operating mode and the current ambient temperature, control the compressor speed of the air conditioner.

[0042] The multiple power ranges include at least two of the following: a power surplus range, a power deficiency range, and a power transition range. The boundaries of the multiple power ranges are at least associated with a photovoltaic surplus power threshold and a battery threshold.

[0043] For example, the air conditioner control method of this application is applied to a scenario where photovoltaic equipment is installed in a home. Power is supplied to the load through a power supply system, which includes a photovoltaic device and a battery device, such as a storage battery. The load includes an air conditioner. Of course, for all appliances in the house, the power sources include photovoltaic devices, battery devices, and the power grid. The photovoltaic device can supply power to the load (e.g., the air conditioner) and can also charge the battery device. This application aims to improve the user experience of the air conditioner by controlling the air conditioner to increase its consumption of photovoltaic power when there is a surplus of photovoltaic power.

[0044] For example, firstly, target data for the power supply system is acquired. This target data includes photovoltaic power data from the photovoltaic device and battery data from the battery device. Based on this target data, the target power range of the photovoltaic device is determined from multiple power ranges. For example, these power ranges can be divided into a power surplus range, a power deficiency range, and a power transition range. Then, the current operating mode and current ambient temperature of the air conditioner are determined. The current operating mode of the air conditioner includes heating and cooling modes, and the current ambient temperature is, for example, the current room temperature. Based on the target range, the current operating mode, and the current ambient temperature, the compressor speed of the air conditioner is controlled.

[0045] The air conditioner control method of this application adjusts the compressor speed of the air conditioner in conjunction with the target range of the photovoltaic device. When the photovoltaic power is sufficient, it can improve the photovoltaic absorption rate and when the photovoltaic power is insufficient, it can more rationally consume battery or grid power.

[0046] As an example, battery data includes the remaining battery power; based on the target data of the power supply system, the target range of the photovoltaic device is determined, including: when the photovoltaic power is greater than the surplus power threshold and the remaining battery power is greater than the upper limit of the power, the target range indicates that the power of the photovoltaic device is in the surplus range.

[0047] For example, battery data includes the remaining battery charge (SOC). SOC (State of Charge) represents the available state of the remaining battery charge, i.e., the remaining charge. When the remaining battery charge is greater than a first charge threshold, this first charge threshold can be denoted as SOC_up_thr. This first charge threshold can be understood as the upper limit of the charge capacity, expressed as a percentage, for example, 80%. When the remaining battery charge (SOC) is greater than 80%, it indicates that the battery has sufficient energy reserves. Furthermore, as the remaining battery charge (SOC) increases, the maximum charging power decreases. At this point, if the photovoltaic power is greater than the photovoltaic surplus power threshold, it indicates that there is surplus photovoltaic power, and this range is defined as the power surplus range. Photovoltaic power = grid-connected power + curtailed power. If there is no valid data for curtailed power, it is defaulted to 0. In this case, air conditioners can be used to consume more photovoltaic power.

[0048] As an example, the photovoltaic surplus power threshold includes a first surplus power threshold and a second surplus power threshold; the power surplus range includes a first surplus range and a second surplus range, with the power surplus degree in the second surplus range being greater than that in the first surplus range; the power range division also includes:

[0049] The first surplus range is defined as the situation where the photovoltaic power is greater than the first surplus power threshold and less than or equal to the second surplus power threshold, and the remaining battery capacity is greater than the first capacity threshold.

[0050] The second surplus range is defined as the condition where the photovoltaic power exceeds the second surplus power threshold and the remaining battery charge exceeds the first charge threshold.

[0051] For example, the surplus range can be further divided into a first surplus range and a second surplus range, wherein the power surplus in the second surplus range is greater than that in the first surplus range. The photovoltaic surplus power threshold includes a first surplus power threshold and a second surplus power threshold, denoted as Surplus_f1 and Surplus_f2, respectively. The units for both the first and second surplus power thresholds are kW. Where n is the number of air conditioners with the linkage function enabled at the current time, and f(i) represents the threshold for air conditioner power variation.

[0052] For example, when the remaining battery charge (SOC) is greater than a first charge threshold, the surplus range is further divided based on the range of photovoltaic power. If the photovoltaic power is greater than the first surplus power threshold Surplus_f1 and less than or equal to the second surplus power threshold Surplus_f2, this range is determined to be the first surplus range. If the photovoltaic power is greater than the second surplus power threshold Surplus_f2, this range is determined to be the second surplus range. Obviously, the power surplus in the second surplus range is greater than that in the first surplus range. The second surplus power threshold Surplus_f2 is greater than the first surplus power threshold Surplus_f1.

[0053] As an example, the battery threshold includes a second energy threshold, which is less than the first energy threshold; the power supply system also includes a grid power supply device, and the boundaries of multiple power ranges are also associated with grid power draw thresholds, wherein grid power draw includes the power drawn by the load from the grid power supply device; the power range division also includes:

[0054] The power shortage interval is defined as the situation where the remaining battery power is less than the second power threshold and the battery device is drawing power, or the power drawn from the grid is greater than the grid power threshold.

[0055] For example, the second power threshold can be denoted as SOC_low_thr, with the unit being percentage. This second power threshold is understood as a lower limit for power consumption; for example, it can be set to 10%. The grid power consumption threshold is denoted as Supply_q1. When the remaining battery power (SOC) is less than the lower limit and the battery is still drawing power from the system, it indicates that the battery has very little remaining power and is still supplying power to the load. This also indicates that the photovoltaic system has stopped generating electricity or its power generation is insufficient to support the household load, thus defining this interval as a power deficiency interval. Conversely, even if the remaining battery power (SOC) is high (e.g., greater than the second power threshold), if the grid power consumption exceeds the grid power consumption threshold (i.e., grid power is being drawn), it indicates that the household load is very high, and the photovoltaic system combined with the battery discharge cannot support the household load. This interval is also defined as a power deficiency interval, and in this case, the air conditioning settings need to be adjusted to reduce power consumption.

[0056] As an example, the second power threshold includes a third power threshold and a fourth power threshold, where the fourth power threshold is lower than the third power threshold. The power insufficiency range includes a first insufficiency range, a second insufficiency range, and a third insufficiency range. The power range division also includes:

[0057] The first insufficient range is defined as the situation where the remaining battery power is less than the third power threshold, greater than the fourth power threshold and the battery device is being powered, and the grid power is less than or equal to the grid power threshold.

[0058] The second insufficient range is defined as the situation where the remaining battery power is less than or equal to the fourth power threshold and the battery device is drawing power, and the grid power draw is less than or equal to the grid power draw threshold.

[0059] When the power taken from the grid is greater than or equal to the power taken from the grid threshold, it falls into the third insufficient range.

[0060] For example, this application further divides the power shortage interval into a first shortage interval, a second shortage interval, and a third shortage interval. The second power threshold includes a third power threshold and a fourth power threshold. It can be understood that the second power threshold is a lower limit value for power, and the third and fourth power thresholds are one of these lower limits, with the fourth power threshold being less than the third power threshold. The third power threshold is denoted as SOC_low_thr1, and the fourth power threshold is denoted as SOC_low_thr2. The third power threshold SOC_low_thr1 is greater than the fourth power threshold SOC_low_thr2. When the remaining battery power SOC is less than the third power threshold SOC_low_thr1, greater than the fourth power threshold SOC_low_thr2, and the grid power draw is less than or equal to the grid power draw threshold Supply_q1, it is determined to be the first shortage interval. When the remaining battery power SOC is less than or equal to the fourth power threshold SOC_low_thr2, and the grid power draw is less than or equal to the grid power draw threshold Supply_q1, it is determined to be the second shortage interval. The power shortage interval other than the first and second shortage intervals is the third shortage interval. It is understandable that the third insufficiency interval is defined as any period of time, regardless of the SOC, where the power drawn from the grid exceeds the power draw threshold Supply_q1.

[0061] This application provides two examples of methods for determining the insufficient power range. In addition to the above example of determining the target range table as the insufficient power range when the remaining battery power is less than the lower limit of the battery power and the power drawn from the battery device or the grid is greater than the grid power threshold, the following example is also included.

[0062] As an example, the battery threshold includes a second energy threshold, which is less than the first energy threshold; the battery data also includes battery charging data; the power range division also includes: when the remaining battery energy is less than the second energy threshold and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold, it is a power insufficiency range.

[0063] For example, let the charging power threshold be denoted as charge_q1. The battery device is charged through the photovoltaic device. Therefore, when the remaining battery charge SOC is less than the second charge threshold and the charging power of the battery device is less than the charging power threshold, it indicates that the battery is not charging. This also indicates that the photovoltaic has stopped generating electricity or the power generation is insufficient to support the household load, and is determined to be in the power shortage range. At this time, the air conditioner settings can be adjusted to reduce the power consumption of the air conditioner.

[0064] As an example, the second power threshold includes a third power threshold and a fourth power threshold, the fourth power threshold being lower than the third power threshold, and the insufficient power range includes a first insufficient power range and a second insufficient power range; the power range division also includes:

[0065] The first insufficient range is defined as the situation where the remaining battery power is less than the third power threshold but greater than the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold.

[0066] The second insufficient range is defined as the situation where the remaining battery power is less than or equal to the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold.

[0067] For example, based on the division of the power insufficiency range according to the above-mentioned situation where the remaining battery capacity is less than the second capacity threshold and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold, the power insufficiency range is further subdivided into a first insufficiency range and a second insufficiency range. The second capacity threshold includes a third capacity threshold and a fourth capacity threshold, denoted as SOC_low_thr1 and SOC_low_thr2. The third capacity threshold SOC_low_thr1 is greater than the fourth capacity threshold SOC_low_thr2. When the remaining battery capacity SOC is less than the third capacity threshold SOC_low_thr1 and greater than the fourth capacity threshold SOC_low_thr2, and the charging power of the battery device is less than the charging power threshold charge_q1, it is determined to be the first insufficiency range. When the remaining battery capacity SOC is less than or equal to the fourth capacity threshold SOC_low_thr2, and the charging power of the battery device is less than the charging power threshold charge_q1, it is classified as the second insufficiency range.

[0068] As an example, the power range division also includes: a power transition range when the photovoltaic power is less than the first surplus power threshold, or when the remaining battery capacity is less than the first capacity threshold; or

[0069] The power transition range is defined as the condition where the remaining battery power is greater than the second power threshold and the grid power draw is less than or equal to the grid power draw threshold.

[0070] For example, this application sets a power transition interval between a power surplus interval and a power shortage interval, specifically for the first method of dividing the power shortage interval. The power transition interval is defined as the situation where the photovoltaic power is less than a first surplus power threshold, or the remaining battery charge is less than a first charge threshold. Alternatively, the power transition interval is defined as the situation where the remaining battery charge is greater than a second charge threshold and the grid power draw is less than or equal to the grid power draw threshold.

[0071] As an example, the power range division also includes: a power transition range when the photovoltaic power is less than or equal to the photovoltaic surplus power threshold and the remaining battery charge is greater than or equal to the second charge threshold, or when the remaining battery charge is less than or equal to the first charge threshold and the charging power of the battery device is greater than or equal to the charging power threshold.

[0072] For example, regarding the second method of dividing the power shortage range, if the photovoltaic power is less than or equal to the photovoltaic surplus power threshold and the remaining battery charge is greater than or equal to the second charge threshold, the range is determined to be a power transition range. Alternatively, if the remaining battery charge is less than or equal to the first charge threshold and the charging power of the battery device is greater than or equal to the charging power threshold, the range is determined to be a power transition range.

[0073] Figure 2 is a partition diagram of an embodiment of this application.

[0074] As shown in Figure 2, when the remaining battery charge (SOC) is greater than the first charge threshold (SOC_up_thr) and the photovoltaic power is greater than the first surplus power threshold (Surplus_f1), it is considered a power surplus interval. This power surplus interval can be further subdivided into power surplus area A (first surplus interval) and power surplus area B (second surplus interval). When the photovoltaic power is greater than the first surplus power threshold (Surplus_f1) and less than or equal to the second surplus power threshold (Surplus_f2), it is defined as the first surplus interval. When the photovoltaic power is greater than the second surplus power threshold (Surplus_f2), it is defined as the second surplus interval. When the remaining battery charge (SOC) is less than the second charge threshold (SOC_low_thr) and the power drawn from the battery device or the grid is greater than the grid power threshold (Supply_q1), it is considered a power deficiency interval. This power deficiency interval can be further subdivided into power deficiency area A (first deficiency interval), power deficiency area B (second deficiency interval), and power deficiency area C (third deficiency interval). When the remaining battery charge (SOC) is less than the third charge threshold (SOC_low_thr1) and greater than the fourth charge threshold (SOC_low_thr2), and the grid power draw is less than or equal to the grid power draw threshold (Supply_q1), it is identified as the first insufficient range. When the remaining battery charge (SOC) is less than or equal to the fourth charge threshold (SOC_low_thr2), and the grid power draw is less than or equal to the grid power draw threshold (Supply_q1), it is identified as the second insufficient range. When the grid power draw is greater than the grid power draw threshold (Supply_q1), it is identified as the third insufficient range. All ranges other than the power surplus and power deficiency ranges are transitional ranges. This zoning method is the first zoning method.

[0075] Figure 3 is a partition diagram of another embodiment of this application.

[0076] As shown in Figure 3, when the remaining battery charge (SOC) is greater than the first charge threshold (SOC_up_thr) and the photovoltaic power is greater than the first surplus power threshold (Surplus_f1), it is considered a power surplus interval. The surplus interval shown in Figure 3 is also divided into a first surplus interval and a second surplus interval, using the same method as in the first partitioning method, which will not be repeated here. When the remaining battery charge (SOC) is less than the second charge threshold (SOC_low_thr) and the charging power of the battery device is less than the charging power threshold (charge_q1), it is considered a power deficiency interval. This power deficiency interval can be further subdivided into a power deficiency zone A (first deficiency interval) and a power deficiency zone B (second deficiency interval). As shown in Figure 3, the power deficiency interval can be divided into upper and lower deficiency intervals based on the remaining battery charge (SOC). When the remaining battery charge (SOC) is less than the third charge threshold (SOC_low_thr1) and greater than the fourth charge threshold (SOC_low_thr2), it is determined to be the first deficiency interval. When the remaining battery charge (SOC) is less than or equal to the fourth charge threshold (SOC_low_thr2), it is determined to be the second deficiency interval. Except for the power surplus range and the power deficiency range, all other ranges are transitional ranges. This type of zoning is the second zoning method.

[0077] Regarding the first partitioning method, referring to Figure 2, there exists a situation where, during the transition interval (battery SOC greater than SOC_low_thr), if the grid power draw at a certain moment exceeds the grid power draw threshold Supply_q1, the system directly jumps from the power transition interval to the power shortage interval, regardless of the battery SOC value. This is equivalent to having no battery SOC as a buffer (i.e., battery SOC is not considered), leading to drastic air conditioning switching due to redundancy. Therefore, in the second partitioning method, the definition of grid power draw exceeding the threshold (grid power draw > grid power draw threshold Supply_q1) is removed from the power shortage interval, ensuring that the remaining battery SOC acts as a buffer during the transition between the power shortage interval and the transition interval.

[0078] This application utilizes the battery to provide a transition zone, thereby avoiding the problem of frequent changes in the air conditioner's set temperature when photovoltaic fluctuations occur.

[0079] Figure 4 is a schematic diagram of the transition between intervals according to an embodiment of this application.

[0080] For the second zoning method, since the transition interval needs to restore the user's set value, in order to avoid frequent changes in air conditioning settings due to fluctuations in photovoltaic and load, the transition interval and the surplus or shortage interval are set. Therefore, different condition values ​​are set to ensure that there is a certain SOC threshold for each interval change, for example, a 5% SOC threshold.

[0081] For example, as shown in Figure 4, condition 1 characterizes the situation where the power change trend of the photovoltaic device changes from the insufficient range to the transition range. In this case, as can be seen from Figure 3, in order to enter the transition range from the insufficient range, the remaining battery charge SOC needs to be greater than the second charge threshold SOC_low_thr or the charging power of the battery device needs to be greater than the charging power threshold charge_q1. In order to prevent the device from jumping back and forth between the transition range and the insufficient range, when entering the transition range from the insufficient range, the second charge threshold is set to be 5% higher than the original second charge threshold. For example, if the original second charge threshold is 50%, then the remaining battery charge SOC needs to be ≥55% in order to enter the transition range from the insufficient range.

[0082] Similarly, there is a certain SOC threshold for transitioning from the transition zone to the under-supplied zone. As shown in Figure 4, condition 2 characterizes the power change trend of the photovoltaic device from the surplus zone to the transition zone. In this case, as shown in Figure 3, to transition from the transition zone to the under-supplied zone, the remaining battery SOC needs to be less than the second energy threshold SOC_low_thr and the charging power of the battery device needs to be less than the charging power threshold charge_q1. To prevent the device from jumping back and forth between the transition zone and the under-supplied zone, the lower limit of the energy threshold set when transitioning from the transition zone to the under-supplied zone can be 5% lower than the original second energy threshold. For example, if the original second energy threshold is 55%, the device will only transition from the transition zone to the under-supplied zone when the remaining battery SOC is ≤50% and the battery is not charging. It can be understood that the second energy threshold SOC_low_thr can be different depending on the different trends, such as 55% or 50%. For example, the threshold for transitioning from the under-supplied zone is 55%, and the threshold for transitioning from the transition zone to the under-supplied zone is 50%.

[0083] For example, as shown in Figure 4, condition 3 characterizes the situation where the power change trend of the photovoltaic device transitions from the transition range to the surplus range. In this case, as can be seen from Figure 3, to transition from the transition range to the surplus range, the remaining battery charge (SOC) needs to be greater than the first charge threshold (SOC_up_thr) and the grid power consumption needs to be greater than the grid power consumption threshold (Supply_q1). To prevent the device from fluctuating between the transition range and the surplus range, the first charge threshold can be set higher than the original first charge threshold when transitioning from the transition range to the surplus range. For example, if the original first charge threshold is 75%, the device will only transition from the transition range to the surplus range when the remaining battery charge (SOC) is ≥ 80% and the grid power consumption is ≥ the grid power consumption threshold (Supply_q1).

[0084] For example, similarly, there is a certain SOC threshold for transitioning from the surplus range to the transition range. As shown in Figure 4, condition 4 characterizes the power change trend of the photovoltaic device from the surplus range to the transition range. In this case, as can be seen from Figure 3, to transition from the surplus range to the transition range, the remaining battery SOC needs to be less than the first energy threshold SOC_up_thr, or the grid power draw needs to be less than the grid power draw threshold Supply_q1. To prevent fluctuations between the transition range and the surplus range, the first energy threshold set when transitioning from the surplus range to the transition range can be lower than the original first energy threshold. For example, if the original first energy threshold is 80%, only when the remaining battery SOC ≤ 75% or the grid power draw needs to be less than the grid power draw threshold Supply_q1 will the device transition from the surplus range to the transition range. It can be understood that the first energy threshold SOC_up_thr can be different depending on the different trends, such as 75% or 80%. For example, 75% is required when transitioning from the surplus range to the transition range, and 80% is required when transitioning from the transition range to the surplus range.

[0085] This application adjusts the compressor speed of the air conditioner for different ranges and different current ambient temperatures.

[0086] For example, the current ambient temperature can be used to determine whether the current environment is in a comfortable or uncomfortable zone. For instance, the comfortable zone is defined as follows: in a cooling scenario, the current ambient temperature is lower than the user-set temperature; in a heating scenario, the current ambient temperature is higher than the user-set temperature. This means the current ambient temperature meets the user's needs. The opposite of the comfortable zone is the uncomfortable zone, where the current ambient temperature does not meet the user's needs. The current ambient temperature can be obtained through data acquisition devices such as temperature sensors.

[0087] This application adjusts the compressor speed of the air conditioner. Compared to changing the set temperature of the air conditioner, changing the compressor speed can directly change the power consumption of the air conditioner, that is, it can directly increase or decrease the consumption of photovoltaic power. Controlling the compressor speed will cause the factor of temperature suitability to be discarded. Therefore, this application distinguishes between the comfort zone and the non-comfort zone.

[0088] This application increases air conditioning power consumption and improves photovoltaic absorption rate by raising the compressor speed limit when there is abundant photovoltaic power, and also plays a role in storing cold or heat in the house. When there is less photovoltaic power, this invention reduces air conditioning power consumption by lowering the maximum speed limit of the air conditioning compressor.

[0089] The following is a detailed explanation of how to adjust the compressor speed of an air conditioner.

[0090] As an example, based on the target interval, the current operating mode, and the current ambient temperature, controlling the compressor speed of an air conditioner includes, when the current ambient temperature is in a non-comfortable interval or a comfortable interval:

[0091] When the target interval is a power surplus interval, if the current operating mode is the cooling mode or the heating mode, controlling the compressor speed of the air conditioner based on a first speed limit value, wherein the first speed limit value corresponding to the second surplus interval is greater than the first speed limit value corresponding to the first surplus interval;

[0092] When the target interval is a power transition interval, if the current operating mode is the cooling mode or the heating mode, controlling the compressor speed of the air conditioner based on a second speed limit value or maintaining the current speed, wherein the second speed limit value is less than the first speed limit value.

[0093] Exemplarily, regardless of whether the current ambient temperature is in a non-comfortable interval or a comfortable interval, if the target interval is a power surplus interval and it is necessary to increase the photovoltaic consumption of the air conditioner, then raising the compressor speed limit of the air conditioner to the first speed limit value. In this application, the speed limit of the compressor is divided into six gears, namely gears A, B, C, D, E, and F. Among them, A < B < C < D < E < F, gear D is the default normal operation highest limit gear of the air conditioner, A is the lowest gear, and F is the highest gear. The higher the gear, the better the cooling or heating effect. Since the power surplus interval is refined into a first surplus interval and a second surplus interval, and the power surplus degree of the second surplus interval is greater than that of the first surplus interval, if the target interval is the second surplus interval, the compressor speed limit of the air conditioner can be adjusted to gear F, and if the target interval is the first surplus interval, the speed limit of the air conditioner can be adjusted to gear E.

[0094] Exemplarily, if the power of the photovoltaic device is in the power transition interval, keep the settings of the air conditioner unchanged. For example, maintaining the current compressor speed of the air conditioner or adjusting the compressor speed to gear D. For the transition interval in the first zoning method, keep the current compressor speed of the air conditioner unchanged, and for the transition zone in the second zoning method, adjust the compressor speed to gear D.

[0095] As an example, based on the target interval, the current operating mode, and the current ambient temperature, controlling the compressor speed of an air conditioner includes, when the current ambient temperature is in a non-comfortable interval:

[0096] When the target interval is a power shortage interval, if the current operating mode is the cooling mode or the heating mode, controlling the compressor speed of the air conditioner based on a second speed limit value.

[0097] For example, if the current ambient temperature is in an uncomfortable range and the target range is a power shortage range, the photovoltaic power of the photovoltaic device should be reduced when the power of the photovoltaic device is in a power shortage range. Then, if the current ambient temperature is in an uncomfortable range, in order to improve the user's temperature experience, the compressor speed limit should be kept within the normal range, that is, the air conditioner speed limit should be adjusted to D level.

[0098] As an example, the control method for air conditioners also includes controlling the electric auxiliary heating function of the air conditioner based on the target temperature range, the current operating mode, and the current ambient temperature.

[0099] For example, in addition to controlling the air conditioner's speed based on the target temperature range, the current operating mode, and the current ambient temperature, this application also controls the air conditioner's electric auxiliary heating function based on the target temperature range, the current operating mode, and the current ambient temperature.

[0100] As an example, the electric auxiliary heating function of the air conditioner is controlled based on the target temperature range, the current operating mode, and the current ambient temperature, including when the current ambient temperature is in an uncomfortable range:

[0101] If the current operating mode is cooling mode, keep the air conditioner's electric auxiliary heating function off.

[0102] If the current operating mode is heating mode:

[0103] When the target range is the first surplus range, maintain the air conditioner's electric auxiliary heating function in its current state; when the target range is the second surplus range, turn on the air conditioner's electric auxiliary heating function.

[0104] When the target range is a power transition range, maintain the air conditioner's electric auxiliary heating function in its current state or restore the air conditioner's electric auxiliary heating function to the user-set state.

[0105] If the target range is a power deficiency range, restore the electric auxiliary heating function of the air conditioner to the user-set state.

[0106] For example, if the current operating mode is cooling mode, the air conditioner's electric auxiliary heating function is normally off. In this case, the air conditioner's electric auxiliary heating function remains off. If the user accidentally turns it on, it can be turned off. In heating mode, the air conditioner's electric auxiliary heating function is adjusted according to the surplus power of the photovoltaic system. If the target range is the first surplus range, the air conditioner's electric auxiliary heating function remains in its current state (if the electric auxiliary heating function is currently on, it remains on; if the electric auxiliary heating function is not on, it remains off). If the target range is the second surplus range, indicating that the photovoltaic power is abundant, the air conditioner's electric auxiliary heating function is turned on. If the target range is a power transition range, for the transition range under the first zoning method, the air conditioner's electric auxiliary heating function remains in its current state; for the transition range under the second zoning method, the air conditioner's electric auxiliary heating function is restored to the user-set state. If the target range is a power shortage range, the photovoltaic consumption of the air conditioner should be reduced. However, the current ambient temperature is in an uncomfortable range. In order to provide a better temperature experience for users, the electric auxiliary heating function of the air conditioner should be restored to the user-set state.

[0107] The adjustment strategies for situations where the current ambient temperature is in an uncomfortable range are summarized in Table 1 below:

[0108] Table 1

[0109]

[0110] Among them, power surplus area A is the first surplus area, and power surplus area B is the second surplus area.

[0111] As an example, the compressor speed of the air conditioner is controlled based on the target range, the current operating mode, and the current ambient temperature, including when the current ambient temperature is within the comfort range:

[0112] When the target range is the first insufficient range: if the current working mode is cooling mode or heating mode, the compressor speed of the air conditioner is controlled based on the third speed limit, wherein the third speed limit is less than the second speed limit;

[0113] When the target range is the second insufficient range: if the current operating mode is cooling mode or heating mode, the compressor speed of the air conditioner is controlled based on the fourth speed limit, where the fourth speed limit is less than the third speed limit;

[0114] When the target range is the third insufficient range: if the current operating mode is cooling mode or heating mode, the compressor speed of the air conditioner is controlled based on the fifth speed limit, where the fifth speed limit is less than the fourth speed limit.

[0115] For example, when the current ambient temperature is within the comfortable range, the situations where the target range is a power surplus range and a power transition range are the same as when the current ambient temperature is within the uncomfortable range, and will not be elaborated upon here. When the target range is a power deficiency range, it is necessary to reduce the photovoltaic consumption of the air conditioner, and this will be discussed in three scenarios: the first deficiency range, the second deficiency range, and the third deficiency range. When the target range is the first deficiency range, the compressor speed limit of the air conditioner can be adjusted to the third speed limit, level C. When the target range is the second deficiency range, the compressor speed limit can be adjusted to the fourth speed limit, level B. When the target range is the third deficiency range, the compressor speed limit can be adjusted to the fifth speed limit, level A. It can be understood that the more insufficient the photovoltaic power, the smaller the speed limit of the air conditioner should be, and the more photovoltaic consumption can be reduced.

[0116] It should be noted that the maximum speed limit of the air conditioner compressor can be adjusted every T minutes.

[0117] The adjustment strategies mentioned above, assuming the current ambient temperature is within a comfortable range, are summarized in Table 2 below:

[0118] Table 2

[0119]

[0120]

[0121] Among them, power surplus area A is the first surplus area, power surplus area B is the second surplus area, power deficiency area A is the first deficiency area, power deficiency area B is the second deficiency area, and power deficiency area C is the third deficiency area.

[0122] It should be noted that when the current ambient temperature is within a comfortable range, the adjustment of the electric auxiliary heating function can be referenced to the situation when the current ambient temperature is within an uncomfortable range.

[0123] Given that the current ambient temperature is within a comfortable range, this application also proposes another adjustment scheme.

[0124] As an example, the compressor speed of the air conditioner is controlled based on the target temperature range, the current operating mode, and the current ambient temperature, including when the current ambient temperature is within the comfort range and the target temperature range is a power-deficient range:

[0125] In cooling mode, if the current ambient temperature continues to rise, or in heating mode, if the current ambient temperature continues to fall, increase the compressor speed of the air conditioner or keep the compressor speed constant.

[0126] If the ambient temperature continues to decrease in cooling mode or continues to rise in heating mode, reduce the compressor speed of the air conditioner or keep the compressor speed constant.

[0127] For example, when the target range is a power deficiency range, if the current ambient temperature continues to rise in cooling mode or continues to fall in heating mode, it indicates that the air conditioner's cooling or heating capacity is continuously decreasing, and the air conditioner's power consumption is constantly decreasing. For user comfort, the air conditioner's speed can be appropriately increased or kept constant to improve the cooling or heating capacity to some extent. For example, the change in the current ambient temperature within a certain period can be used to determine whether the current ambient temperature is continuously rising or falling. For example, if the compressor has been running for more than Y minutes (e.g., 10 minutes), and the difference between the current ambient temperature and the ambient temperature Y minutes ago is greater than a certain difference threshold, it indicates that the current ambient temperature is continuously rising or falling. The compressor speed limit can be appropriately increased or kept constant, for example, by adjusting from setting A to setting B, or from setting B to setting C, or from setting C to setting D, or keeping setting D unchanged.

[0128] For example, when the target range is a power deficiency range, if the current ambient temperature continues to decrease in cooling mode or continues to increase in heating mode, it indicates that the air conditioner's cooling or heating capacity is continuously increasing, and the air conditioner's energy consumption is constantly increasing. To reduce photovoltaic energy consumption, the compressor speed limit can be appropriately reduced or kept constant, thus reducing the cooling or heating capacity to some extent. Similarly, the change in the current ambient temperature over a certain period can be used to determine whether the current ambient temperature is continuously rising or falling. The compressor speed limit can be appropriately reduced or kept constant, for example, by adjusting from D to C, or from C to B, or from B to A, or keeping A unchanged. If the current ambient temperature does not continuously decrease or continuously increase as described above, the current compressor speed can be kept constant.

[0129] As an example, the compressor speed of the air conditioner is controlled based on the target range, the current operating mode, and the current ambient temperature, including when the current ambient temperature is within the comfort range and the target range is within the power transition range:

[0130] In cooling or heating mode, if the current compressor speed is lower than the default speed, the compressor speed will be increased; if the current compressor speed is the default speed, the compressor speed will remain unchanged; if the current compressor speed is higher than the default speed, the compressor speed will be decreased.

[0131] For example, regarding the second partitioning method, if the target range is a power transition range, and if the current compressor speed is lower than the default speed (default speed is D), and the current compressor speed is in gears A, B, or C, the compressor speed limit should be appropriately increased by one gear level. For example, adjusting from gear A to gear B, from gear B to gear C, and from gear C to gear D. If the current compressor speed is in gear D, the compressor speed should remain unchanged. If the current compressor speed is higher than the default speed (D), the compressor speed should be appropriately decreased, for example, adjusting from gear F to gear E, and from gear E to gear D.

[0132] The adjustment strategies for the other example above, where the current ambient temperature is within the comfortable range, are summarized in Table 3 below:

[0133] Table 3

[0134]

[0135]

[0136] As shown in Table 3 above, when the current ambient temperature is within the comfortable range and the target range is a power surplus range, the air conditioning compressor speed limit is increased. For the first zone mode, when the current ambient temperature is within the comfortable range and the target range is a power transition range, the system operates according to the power shortage condition and actions when transitioning from the power shortage range to the power transition range. The system operates according to the power surplus condition and actions when transitioning from the power surplus range to the power transition range.

[0137] The air conditioner control method of this application has the following advantages:

[0138] 1) When there is a lot of photovoltaic power, this invention increases the power consumption of air conditioning by increasing the compressor speed limit, thereby improving the photovoltaic absorption rate and playing a role in storing cold or heat in the house.

[0139] 2) When there is less photovoltaic power, this invention reduces the power consumption of air conditioners by lowering the maximum speed limit of the air conditioner compressor.

[0140] 3) This invention utilizes the battery to provide a transition zone, thereby avoiding the problem of frequent changes in the air conditioner's set temperature when photovoltaic fluctuations occur.

[0141] 4) By setting comfort and non-comfort zones for the air conditioner, this invention ensures user comfort while limiting the operating power of the air conditioner.

[0142] 5) This invention judges temperature changes in the insufficient zone and adjusts the speed in advance to prioritize comfort when comfort is affected, thereby avoiding the problem of the control logic jumping back and forth between the comfort zone and the uncomfortable zone.

[0143] 6) This invention adopts a power-gradual-increase mode in the surplus region, thereby avoiding the impact on comfort caused by sudden increases and decreases in air conditioning power during photovoltaic fluctuations.

[0144] It should be noted that when there are multiple air conditioners, one air conditioner can be operated every Tmin, and this method will be executed by the cloud to avoid operating all air conditioners at the same time.

[0145] The air conditioner control method of this application increases air conditioner power consumption and improves photovoltaic absorption rate when there is surplus photovoltaic power by adjusting the compressor speed or activating the electric auxiliary heating function, and also plays a role in storing cold or heat for the house. When photovoltaic power is low, air conditioner power consumption is reduced by adjusting the air conditioner compressor speed and the on / off switch of the electric heater. Furthermore, the battery provides a transition range, thereby avoiding the problem of frequent changes in air conditioner compressor speed when photovoltaic power fluctuates.

[0146] This application also proposes a control device for an air conditioner.

[0147] As an example, as shown in Figure 5, a power supply system supplies power to a load, which includes a photovoltaic device and a battery device. The load includes an air conditioner. The control device for the air conditioner includes: an acquisition module 501, used to acquire target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of the photovoltaic device and battery data of the battery device; a first determination module 502, used to determine the target range of the photovoltaic device's power from multiple power ranges obtained from the target data of the power supply system, wherein the multiple power ranges include at least two of the following: a power surplus range, a power deficiency range, and a power transition range, and the range boundaries of the multiple power ranges are associated with at least a photovoltaic surplus power threshold and a battery threshold; a second determination module 503, used to determine the current operating mode and current ambient temperature of the air conditioner; and a control module 504, used to control the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

[0148] This application also proposes a cloud computing device.

[0149] In this embodiment, the cloud computing device is used to execute the steps of the control method for the air conditioner described above.

[0150] This application also proposes a computer-readable storage medium.

[0151] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, it implements the steps of the control method for the air conditioner described above.

[0152] Figure 6 is a block diagram of an electronic device provided in an embodiment of this application.

[0153] This application provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the control method of the air conditioner described above.

[0154] As shown in Figure 6, for ease of understanding, an embodiment of this application illustrates a specific electronic device.

[0155] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0156] As shown in Figure 6, the device includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. The RAM 603 may also store various programs and data required for the operation of the electronic device. The computing unit 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0157] Multiple components in the electronic device are connected to the I / O interface 605. These components include: an input unit 606, such as a keyboard or mouse; an output unit 607, such as various types of displays or speakers; a storage unit 608, such as a disk or optical disk; and a communication unit 609, such as a network interface card (NIC), a modem, or a wireless transceiver. The communication unit 609 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0158] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods described above, such as the control method for an air conditioner. For example, in some embodiments, the control method for an air conditioner may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, the control method for an air conditioner described above can be executed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the control method for an air conditioner by any other suitable means (e.g., by means of firmware).

[0159] 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 sequential list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this application, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0160] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0161] In the description of this application, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this application, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0162] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0163] Furthermore, the terms "first," "second," etc., used in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying relative importance, or implicitly specifying the number of technical features indicated in this embodiment. Therefore, features defined with terms such as "first" and "second" in the embodiments of this application can explicitly or implicitly indicate that the embodiment includes at least one of those features. In the description of this application, the word "multiple" means at least two or more, such as two, three, four, etc., unless otherwise explicitly and specifically defined in the embodiments.

[0164] In this application, unless otherwise explicitly specified or limited in the embodiments, the terms "installation," "connection," "joining," and "fixing" appearing in the embodiments should be interpreted broadly. For example, a connection can be a fixed connection, a detachable connection, or an integral part; it can also be a mechanical connection, an electrical connection, etc. Of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication between two components, or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific implementation.

[0165] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0166] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A control method for an air conditioner, characterized in that, The method involves supplying power to a load via a power supply system, the power supply system including a photovoltaic device and a battery device, and the load including the air conditioner. The method includes: acquiring target data of the power supply system, wherein the target data includes photovoltaic power data of the photovoltaic device and battery data of the battery device; based on the target data of the power supply system, determining the target power range of the photovoltaic device from multiple power ranges, wherein the multiple power ranges include at least two of a power surplus range, a power deficiency range, and a power transition range, and the boundaries of the multiple power ranges are associated with at least a photovoltaic surplus power threshold and a battery threshold; determining the current operating mode and current ambient temperature of the air conditioner; and controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

2. The control method according to claim 1, characterized in that, The battery threshold includes a first energy threshold, and the power range division includes: when the photovoltaic power is greater than the photovoltaic surplus power threshold and the remaining battery energy is greater than the first energy threshold, it is the power surplus range.

3. The control method according to claim 2, characterized in that, The photovoltaic surplus power threshold includes a first surplus power threshold and a second surplus power threshold. The power surplus range includes a first surplus range and a second surplus range, wherein the power surplus degree of the second surplus range is greater than that of the first surplus range. The power range division further includes: when the photovoltaic power is greater than the first surplus power threshold and less than or equal to the second surplus power threshold, and the remaining battery charge is greater than the first charge threshold, it is the first surplus range; when the photovoltaic power is greater than the second surplus power threshold, and the remaining battery charge is greater than the first charge threshold, it is the second surplus range.

4. The control method according to claim 3, characterized in that, The battery threshold includes a second power threshold, which is less than the first power threshold; the power supply system also includes a grid power supply device, and the boundaries of the multiple power intervals are also associated with grid power draw thresholds, wherein grid power draw includes the power drawn by the load from the grid power supply device; the power interval division further includes: when the remaining battery power is less than the second power threshold and the load draws power from the battery device, or when the grid power draw is greater than the grid power draw threshold, the interval is defined as the power deficiency interval.

5. The control method according to claim 4, characterized in that, The second power threshold includes a third power threshold and a fourth power threshold, wherein the fourth power threshold is less than the third power threshold. The power insufficiency interval includes a first insufficiency interval, a second insufficiency interval, and a third insufficiency interval. The power interval division further includes: the first insufficiency interval when the remaining battery power is less than the third power threshold but greater than the fourth power threshold and the battery device is drawing power from it, and the grid power draw is less than or equal to the grid power draw threshold; the second insufficiency interval when the remaining battery power is less than or equal to the fourth power threshold and the battery device is drawing power from it, and the grid power draw is less than or equal to the grid power draw threshold; and the third insufficiency interval when the grid power draw is greater than or equal to the grid power draw threshold.

6. The control method according to claim 2, characterized in that, The battery threshold includes a second power threshold, which is less than the first power threshold; the battery data also includes battery charging data; the power range division further includes: when the remaining battery power is less than the second power threshold and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold, it is a power insufficiency range.

7. The control method according to claim 6, characterized in that, The second power threshold includes a third power threshold and a fourth power threshold, wherein the fourth power threshold is less than the third power threshold, and the power insufficiency interval includes a first insufficiency interval and a second insufficiency interval; the power interval division further includes: the first insufficiency interval when the remaining battery power is less than the third power threshold but greater than the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold; and the second insufficiency interval when the remaining battery power is less than or equal to the fourth power threshold, and the battery charging data indicates that the charging power of the battery device is less than the charging power threshold.

8. The control method according to claim 5, characterized in that, The power range division further includes: when the photovoltaic power is less than the first surplus power threshold, or when the remaining battery power is less than the first power threshold, it is a power transition range; or when the remaining battery power is greater than the second power threshold and the grid power is less than or equal to the grid power threshold, it is a power transition range.

9. The control method according to claim 6 or 7, characterized in that, The power range division further includes: when the photovoltaic power is less than or equal to the photovoltaic surplus power threshold and the remaining battery power is greater than or equal to the second power threshold, or when the remaining battery power is less than or equal to the first power threshold and the charging power of the battery device is greater than or equal to the charging power threshold, the power transition range is defined as follows.

10. The control method according to claim 1, characterized in that, The method of controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in a non-comfortable or comfortable range: when the target range is the power surplus range, if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a first speed limit, wherein the first speed limit corresponding to the second surplus range is greater than the first speed limit corresponding to the first surplus range; when the target range is the power transition range, if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a second speed limit or maintaining the current speed, wherein the second speed limit is less than the first speed limit.

11. The control method according to claim 10, characterized in that, The method of controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes: when the current ambient temperature is in an uncomfortable range; when the target range is the power insufficiency range; and when the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on the second speed limit.

12. The control method according to claim 10 or 11, characterized in that, The method of controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes: when the current ambient temperature is within a comfortable range; when the target range is a first insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a third speed limit, wherein the third speed limit is less than the second speed limit; when the target range is a second insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a fourth speed limit, wherein the fourth speed limit is less than the third speed limit; when the target range is a third insufficient range; if the current operating mode is a cooling mode or a heating mode, controlling the compressor speed of the air conditioner based on a fifth speed limit, wherein the fifth speed limit is less than the fourth speed limit.

13. The control method according to claim 1, characterized in that, The method further includes controlling the electric auxiliary heating function of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

14. The control method according to claim 13, characterized in that, The method of controlling the electric auxiliary heating function of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in an uncomfortable range: if the current operating mode is cooling mode, maintaining the electric auxiliary heating function of the air conditioner in a turned-off state; if the current operating mode is heating mode: if the target range is a first surplus range, maintaining the electric auxiliary heating function of the air conditioner in its current state; if the target range is a second surplus range, turning on the electric auxiliary heating function of the air conditioner; if the target range is a power transition range, maintaining the electric auxiliary heating function of the air conditioner in its current state or restoring the on state of the electric auxiliary heating function of the air conditioner to the user-set state; and if the target range is a power deficiency range, restoring the on state of the electric auxiliary heating function of the air conditioner to the user-set state.

15. The control method according to claim 1 or 10, characterized in that, The method of controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in the comfort range and the target range is the power insufficiency range, increasing the compressor speed or keeping the compressor speed constant in the air conditioner if the current ambient temperature continues to rise in cooling mode or continues to fall in heating mode; and decreasing the compressor speed or keeping the compressor speed constant in the air conditioner if the current ambient temperature continues to fall in cooling mode or continues to rise in heating mode.

16. The control method according to claim 1 or 10, characterized in that, The method of controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature includes, when the current ambient temperature is in the comfort range and the target range is the power transition range, in cooling mode or heating mode, increasing the compressor speed if the current compressor speed is less than the default speed, keeping the compressor speed unchanged if the current compressor speed is the default speed, and decreasing the compressor speed if the current compressor speed is greater than the default speed.

17. A control device for an air conditioner, characterized in that, A power supply system provides power to a load, the power supply system including a photovoltaic device and a battery device, the load including the air conditioner, and the device comprising: an acquisition module for acquiring target data of the power supply system, wherein the target data of the power supply system includes photovoltaic power data of the photovoltaic device and battery data of the battery device; a first determination module for determining, based on the target data of the power supply system, the target range of the photovoltaic device's power from multiple power ranges, wherein the multiple power ranges include at least two of a power surplus range, a power deficiency range, and a power transition range, and the range boundaries of the multiple power ranges are associated with at least a photovoltaic surplus power threshold and a battery threshold; a second determination module for determining the current operating mode and current ambient temperature of the air conditioner; and a control module for controlling the compressor speed of the air conditioner based on the target range, the current operating mode, and the current ambient temperature.

18. A cloud computing device, characterized in that, The cloud computing device is used to perform the steps of the method according to any one of claims 1-16.

19. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-16.

20. 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 steps of the method according to any one of claims 1-16.