Photovoltaic air conditioner and control method and device thereof, storage medium and program product

By adjusting the target drive line voltage and target operating frequency of the compressor, and deciding whether to switch to mains power operation based on the target drive line voltage, the stability problem caused by the decrease in energy conversion efficiency of photovoltaic air conditioners is solved, and the stable operation of photovoltaic air conditioners is achieved.

CN119436338APending Publication Date: 2025-02-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411914267.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The energy conversion efficiency of photovoltaic air conditioners has decreased, resulting in a decrease in stability.

Method used

After the energy conversion rate of photovoltaic power generation decreases, adjust the target driving line voltage and target operating frequency of the compressor, and decide whether to switch to mains power operation based on the target driving line voltage to ensure the stable operation of the photovoltaic air conditioner.

Benefits of technology

It effectively improves the stability of photovoltaic air conditioners under photovoltaic power generation conditions, ensuring that the air conditioners can still operate stably when the energy conversion rate decreases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119436338A_ABST
    Figure CN119436338A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device for a photovoltaic air conditioner, the photovoltaic air conditioner, a storage medium and a computer program product, and the method comprises the steps that when the photovoltaic air conditioner operates in a photovoltaic power generation mode, whether the energy conversion rate of photovoltaic power generation is decreased or not is determined according to the real-time operation frequency and the real-time driving line voltage of a compressor; if it is determined that the energy conversion rate of photovoltaic power generation is decreased, the target driving line voltage and the target operation frequency of the compressor are determined according to the real-time driving line voltage; determining whether the photovoltaic air conditioner is switched to commercial power operation or not according to the target driving line voltage; and if it is determined that the photovoltaic air conditioner is not switched to the mains supply for operation, the photovoltaic air conditioner is controlled to operate according to the target driving line voltage and the target operation frequency. According to the scheme, after the energy conversion rate of photovoltaic power generation is reduced, the target driving line voltage and the target operation frequency of the compressor are adjusted, and stable operation of the photovoltaic air conditioner is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of air conditioning, and specifically relates to a control method and device for a photovoltaic air conditioner, a photovoltaic air conditioner, a storage medium and a computer program product. Background Art

[0002] Photovoltaic air conditioners are powered by solar photovoltaic power generation technology. However, due to unstable factors such as photovoltaic panels, inverters, and solar radiation intensity, the conversion efficiency of solar energy into electrical energy is affected, thereby reducing the stability of solar photovoltaic power generation devices and terminal products such as photovoltaic air conditioners and water heaters.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The purpose of the present invention is to provide a control method, device, photovoltaic air conditioner, storage medium and computer program product for a photovoltaic air conditioner, so as to solve the problem that the energy conversion efficiency of photovoltaic power generation decreases in related schemes, resulting in reduced stability of the photovoltaic air conditioner, so as to achieve the effect of ensuring stable operation of the photovoltaic air conditioner by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases.

[0005] The present invention provides a control method for a photovoltaic air conditioner, which can be operated under photovoltaic power generation or under mains power; the method comprises: when the photovoltaic air conditioner is operated under photovoltaic power generation, obtaining a real-time operating frequency of a compressor and a real-time drive line voltage of the compressor; determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage; if it is determined that the energy conversion rate of photovoltaic power generation decreases, determining a target drive line voltage and a target operating frequency of the compressor according to the real-time drive line voltage; determining whether the photovoltaic air conditioner is switched to mains power operation according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to mains power operation, controlling the operation of the photovoltaic air conditioner according to the target drive line voltage and the target operating frequency.

[0006] In some embodiments, determining whether the energy conversion rate of photovoltaic power generation decreases based on the real-time operating frequency and the real-time drive line voltage includes: judging whether the real-time operating frequency is equal to the preset operating frequency; if the real-time operating frequency is equal to the preset operating frequency, determining whether the energy conversion rate of photovoltaic power generation decreases based on the real-time drive line voltage.

[0007] In some embodiments, determining whether the energy conversion rate of photovoltaic power generation decreases based on the real-time drive line voltage includes: judging whether the real-time drive line voltage is less than a preset drive line voltage; if the real-time drive line voltage is less than the preset drive line voltage, judging whether the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase; if the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase, determining that the energy conversion rate of photovoltaic power generation decreases.

[0008] In some embodiments, the target drive line voltage and target operating frequency of the compressor are determined based on the real-time drive line voltage, including: calculating the difference between the real-time drive line voltage before the preset time and the current real-time drive line voltage at every preset time, and recording the result as a voltage change; subtracting the voltage change from the current real-time drive line voltage as the target drive line voltage of the compressor; and matching the target operating frequency of the compressor according to the target drive line voltage of the compressor from the preset correspondence between the drive line voltage and the operating frequency of the compressor.

[0009] In some embodiments, determining whether the photovoltaic air conditioner switches to AC power operation is based on the target drive line voltage, including: judging the size relationship between the target drive line voltage and a preset voltage threshold; if the target drive line voltage is greater than or equal to the preset voltage threshold, determining that the photovoltaic air conditioner does not switch to AC power operation; if the target drive line voltage is less than the preset voltage threshold, determining that the photovoltaic air conditioner switches to AC power operation.

[0010] In some embodiments, a photovoltaic power generation module is provided; the photovoltaic power generation module is used to supply power to the photovoltaic air conditioner so that the photovoltaic air conditioner operates under photovoltaic power generation; the photovoltaic power generation module is also used to supply power to other electrical equipment; the method further includes: when the photovoltaic power generation module is generating electricity, judging whether the photovoltaic air conditioner meets the operating conditions; if the photovoltaic air conditioner does not meet the operating conditions, controlling the photovoltaic power generation module to supply power to the other electrical equipment; if the photovoltaic air conditioner meets the operating conditions, judging whether the photovoltaic air conditioner is operating; if the photovoltaic air conditioner is operating, controlling the photovoltaic power generation module to supply power only to the photovoltaic air conditioner; if the photovoltaic air conditioner is not operating, controlling the photovoltaic power generation module to supply power to the other electrical equipment.

[0011] Matching the above method, the present invention provides a control device for a photovoltaic air conditioner on the other hand, which can operate under photovoltaic power generation or under mains power; the device includes: an acquisition unit, configured to acquire the real-time operating frequency of the compressor and the real-time drive line voltage of the compressor when the photovoltaic air conditioner operates under photovoltaic power generation; a control unit, configured to determine whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage; the control unit is also configured to determine the target drive line voltage and target operating frequency of the compressor according to the real-time drive line voltage if it is determined that the energy conversion rate of photovoltaic power generation decreases; the control unit is also configured to determine whether the photovoltaic air conditioner switches to mains power operation according to the target drive line voltage; the control unit is also configured to control the operation of the photovoltaic air conditioner according to the target drive line voltage and the target operating frequency if it is determined that the photovoltaic air conditioner does not switch to mains power operation.

[0012] In some embodiments, the control unit determines whether the energy conversion rate of photovoltaic power generation decreases based on the real-time operating frequency and the real-time drive line voltage, including: judging whether the real-time operating frequency is equal to the preset operating frequency; if the real-time operating frequency is equal to the preset operating frequency, determining whether the energy conversion rate of photovoltaic power generation decreases based on the real-time drive line voltage.

[0013] In some embodiments, the control unit determines whether the energy conversion rate of photovoltaic power generation decreases based on the real-time drive line voltage, including: judging whether the real-time drive line voltage is less than a preset drive line voltage; if the real-time drive line voltage is less than the preset drive line voltage, judging whether the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase; if the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase, determining that the energy conversion rate of photovoltaic power generation decreases.

[0014] In some embodiments, the control unit determines the target drive line voltage and target operating frequency of the compressor based on the real-time drive line voltage, including: calculating the difference between the real-time drive line voltage before the preset time and the current real-time drive line voltage at every preset time, and recording the result as a voltage change; subtracting the voltage change from the current real-time drive line voltage as the target drive line voltage of the compressor; and matching the target operating frequency of the compressor according to the target drive line voltage of the compressor from the preset correspondence between the drive line voltage and the operating frequency of the compressor.

[0015] In some embodiments, the control unit determines whether the photovoltaic air conditioner switches to mains operation based on the target drive line voltage, including: judging the size relationship between the target drive line voltage and a preset voltage threshold; if the target drive line voltage is greater than or equal to the preset voltage threshold, determining that the photovoltaic air conditioner does not switch to mains operation; if the target drive line voltage is less than the preset voltage threshold, determining that the photovoltaic air conditioner switches to mains operation.

[0016] In some embodiments, a photovoltaic power generation module is provided; the photovoltaic power generation module is used to supply power to the photovoltaic air conditioner so that the photovoltaic air conditioner operates under photovoltaic power generation; the photovoltaic power generation module is also used to supply power to other electrical equipment; the control unit is also configured to determine whether the photovoltaic air conditioner meets the operating conditions when the photovoltaic power generation module is generating electricity; if the photovoltaic air conditioner does not meet the operating conditions, control the photovoltaic power generation module to supply power to the other electrical equipment; if the photovoltaic air conditioner meets the operating conditions, determine whether the photovoltaic air conditioner is operating; if the photovoltaic air conditioner is operating, control the photovoltaic power generation module to supply power only to the photovoltaic air conditioner; if the photovoltaic air conditioner is not operating, control the photovoltaic power generation module to supply power to the other electrical equipment.

[0017] Matching the above-mentioned device, the present invention further provides a photovoltaic air conditioner on the other hand, including: the control device of the photovoltaic air conditioner mentioned above.

[0018] In accordance with the above method, the present invention provides a storage medium on the other hand, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned photovoltaic air conditioner control method.

[0019] In accordance with the above method, the present invention provides a computer program product on another aspect, wherein the computer program product includes a computer program, and when the computer program product is processed and executed, the steps of the above photovoltaic air conditioner control method are implemented.

[0020] According to the scheme of the present invention, when the photovoltaic air conditioner is operated with photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time driving line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target driving line voltage and target operating frequency of the compressor are determined according to the real-time driving line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target driving line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target driving line voltage and the target operating frequency. Thus, by adjusting the target driving line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0021] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic flow chart of an embodiment of a photovoltaic air conditioner control method of the present invention;

[0024] Figure 2 A schematic structural diagram of an embodiment of a photovoltaic air conditioner control device of the present invention;

[0025] Figure 3 A schematic flow chart of another embodiment of a control method for a photovoltaic air conditioner according to the present invention;

[0026] Figure 4 Flowchart of the power supply logic for photovoltaic power generation modules.

[0027] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:

[0028] 102 - acquisition unit; 104 - control unit. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0030] The energy conversion rate of photovoltaic power generation refers to the efficiency of photovoltaic panels in converting solar energy into electrical energy. Due to the instability of solar energy itself, such as the fluctuation of solar radiation, cloudy and sunny days, etc., which will affect the energy conversion of photovoltaic power generation, there is instability in the energy conversion of photovoltaic power generation. Since this instability will affect the operating status of air conditioners or other electrical equipment, it will have a certain impact on the life of the compressor or the operating stability of the air conditioner over time.

[0031] Therefore, the present invention provides a control method for a photovoltaic air conditioner, which adjusts the target drive line voltage and target operating frequency of the compressor when the energy conversion rate of photovoltaic power generation decreases, thereby improving the stability of the operation of the photovoltaic air conditioner. At the same time, if the target drive line voltage cannot meet the operating requirements of the air conditioner, the air conditioner is controlled to operate with the mains power, so that the photovoltaic air conditioner continues to operate stably.

[0032] According to an embodiment of the present invention, a control method for a photovoltaic air conditioner is provided, wherein the photovoltaic air conditioner can be operated under photovoltaic power generation or under city power. Figure 1 The schematic diagram of the flow chart of an embodiment of the method of the present invention is shown. The control method of the photovoltaic air conditioner may include: step S110 to step S150.

[0033] In step S110, when the photovoltaic air conditioner is operated by photovoltaic power generation, the real-time operating frequency of the compressor and the real-time driving line voltage of the compressor are obtained.

[0034] The drive line voltage of the compressor is a voltage amplitude, which is the voltage on the control line of the compressor operation, and is used to control the speed and operating status of the compressor. The system obtains the real-time operating frequency F and real-time drive line voltage U of the compressor at regular intervals, for example, once every 30 seconds. Then, based on the real-time operating frequency F and real-time drive line voltage U, it is determined whether the energy conversion rate of photovoltaic power generation has decreased, and then it is determined whether to adjust the target drive line voltage and target operating frequency of the compressor to ensure stable operation of the air conditioner.

[0035] In step S120, it is determined whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time driving line voltage.

[0036] When photovoltaic power generation is unstable, then at a certain compressor frequency, if the compressor drive line voltage cannot meet the preset compressor drive line voltage, it means that the photovoltaic power generation energy conversion rate decreases.

[0037] In some embodiments, in step S120, the specific process of determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time driving line voltage includes: step S210 and step S220.

[0038] Step S210, determining whether the real-time operating frequency is equal to the preset operating frequency.

[0039] Step S220: If the real-time operating frequency is equal to the preset operating frequency, determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time driving line voltage.

[0040] Preset operating frequency F 预设 It is determined according to the working mode of the air conditioner, which includes cooling, heating, and the air conditioner running according to the ambient temperature set by the user. The compressor drive line voltage and the compressor operating frequency in different working modes are different. The system will store the preset compressor drive line voltage and compressor operating frequency in the memory, which includes EEPROM and other devices. Compressor operating frequency F 预设 Both correspond to the compressor drive line voltage U 预设 .

[0041] When the real-time operating frequency F and the preset operating frequency F 预设 After the same, the subsequent judgment is made to improve the accuracy of the judgment on the energy conversion rate of photovoltaic power generation. Specifically, since there is a corresponding relationship between the operating frequency of the compressor and the drive line voltage, only when F=F 预设 Only then can the real-time driving line voltage U and the preset driving line voltage U be accurately 预设 The size relationship can be used to determine whether the energy conversion rate of photovoltaic power generation has decreased.

[0042] In some embodiments, in step S220, the specific process of determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time drive line voltage includes: judging whether the real-time drive line voltage is less than the preset drive line voltage; if the real-time drive line voltage is less than the preset drive line voltage, judging whether the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase; if the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase, determining that the energy conversion rate of photovoltaic power generation decreases.

[0043] The preset drive line voltage is based on the correspondence between the compressor drive line voltage and the compressor operating frequency of the air conditioner in different working modes stored in the system, and the preset operating frequency F is used. 预设 Match the preset drive line voltage F 预设 .

[0044] If the energy conversion rate of photovoltaic power generation is lower than the normal range, the drive line voltage of the compressor will also decrease. When the real-time drive line voltage U is less than the preset drive line voltage U 预设 When , it indicates that the photovoltaic power generation energy conversion rate may be on a downward trend. Then calculate U and U 预设 The absolute value of the difference ΔU, ΔU = |UU 预设 |. Then, the change in the size of ΔU is continuously determined. If the energy conversion rate of photovoltaic power generation continues to decrease, the real-time drive line voltage U will also continue to decrease, and ΔU will continue to increase. Therefore, when it is determined that ΔU continues to increase, it is determined that the energy conversion rate of photovoltaic power generation has decreased.

[0045] Optionally, when judging whether the energy conversion rate of photovoltaic power generation has decreased based on ΔU, ΔU is calculated every certain period of time, and a total of n ΔU are calculated. If the next ΔU in each group of adjacent ΔU is always greater than the previous ΔU, it is determined that the energy conversion rate of photovoltaic power generation has decreased. For example, ΔU is calculated every 30 seconds, and the absolute value of the difference at the 30th second is ΔU 30 , the absolute value of the difference at 60 seconds is ΔU 60 The absolute value of the difference at 90 seconds is ΔU 90 ...the absolute value of the difference at the nth second is ΔUn , if ΔU 30 <ΔU 60 <ΔU 90 ...<ΔU n , it is believed that the energy conversion rate of photovoltaic power generation is on a downward trend.

[0046] At step S130 , if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target driving line voltage and the target operating frequency of the compressor are determined according to the real-time driving line voltage.

[0047] The operation of the air conditioner is mainly achieved through the drive line voltage of the compressor and the operating frequency of the compressor. Appropriate compressor drive line voltage and operating frequency can improve the stability of the operation of the air conditioner unit.

[0048] In some implementations, in step S130, the specific process of determining the target drive line voltage and the target operating frequency of the compressor according to the real-time drive line voltage includes: steps S310 to S330.

[0049] Step S310 , calculating the difference between the real-time driving line voltage before the preset time and the current real-time driving line voltage every preset time, and recording the result as the voltage variation.

[0050] Step S320: subtracting the voltage variation from the current real-time drive line voltage to record the result as the target drive line voltage of the compressor.

[0051] As the real-time drive line voltage decreases, the compressor's original target drive line voltage is always greater than the real-time drive line voltage, causing the compressor speed to fail to reach the rated speed, reducing the amount of refrigerant circulating per unit time, and reducing the air conditioner's cooling or heating capacity. At the same time, when the drive line voltage is insufficient, the compressor motor needs to increase the current to maintain operation, which will increase the heating of the motor winding and shorten the service life of the compressor. Insufficient drive line voltage may also cause the compressor frequency to start or operate in a low-efficiency range, causing pressure fluctuations in the air conditioner, impacting various components in the air conditioner, and further reducing the stability of the air conditioner.

[0052] Therefore, when it is determined that the real-time drive line voltage is insufficient, it is necessary to reduce the target drive line voltage of the compressor. The reduction method is to calculate the final voltage value after the drive line voltage is reduced in the next preset time according to the voltage change of the drive line voltage in the previous preset time, and determine the final voltage value as the target drive line voltage in the next preset time, and then adjust it in this cycle. For example, in the 0th to 30th second, the real-time drive line voltage of the compressor is reduced from 200V to 190V, and the real-time drive line voltage at the 30th second is 190V, and the voltage change is 200-190=10V. Then, in the 30th to 60th second, it is considered that the voltage change is still 10V, and the real-time drive line voltage at the 60th second is calculated to be 190V-10V=180V, and 180V is determined as the target drive line voltage in the 30th to 60th second. In the 60th to 90th second, the new target drive line voltage is further calculated according to the actual voltage change in the 30th to 60th second, and this cycle is repeated. Since the drive line voltage decreases continuously during the reduction process, that is, the drive line voltage will not drop from 190V to 180V immediately during the 30th to 60th second, but requires a certain amount of time, so during this period of time, the real-time drive line voltage is always higher than the new target drive line voltage, so that the air conditioner can operate stably during this period of time, and the new target drive line voltage is repeatedly determined in the next time period, so that the air conditioner is always in a stable state in this cycle.

[0053] Step S330 , matching the target operating frequency of the compressor according to the target driving line voltage of the compressor from the preset corresponding relationship between the driving line voltage and the operating frequency of the compressor.

[0054] If the compressor drive line voltage is reduced and the operating frequency is too high, the temperature change will be too large, which will reduce the user experience and affect the life of the compressor. Therefore, after obtaining the new target drive line voltage, the new target operating frequency must be determined. According to the corresponding relationship between the compressor drive line voltage and the compressor operating frequency of the air conditioner in different operating modes stored in the system, the new target drive line voltage is used to match the new target operating frequency.

[0055] In step S140, it is determined whether the photovoltaic air conditioner is switched to mains operation according to the target drive line voltage.

[0056] As the target drive line voltage of the compressor decreases, photovoltaic power generation may not be able to meet the operating requirements of the compressor, so the air conditioner needs to switch to AC operation to ensure the stability of the air conditioner operation.

[0057] In some embodiments, in step S140, the specific process of determining whether the photovoltaic air conditioner switches to mains operation based on the target drive line voltage includes: judging the size relationship between the target drive line voltage and a preset voltage threshold; if the target drive line voltage is greater than or equal to the preset voltage threshold, determining that the photovoltaic air conditioner does not switch to mains operation; if the target drive line voltage is less than the preset voltage threshold, determining that the photovoltaic air conditioner switches to mains operation.

[0058] The preset voltage threshold is the minimum voltage value to ensure the normal operation of the compressor. The normal operation of the compressor can only be guaranteed when the drive line voltage of the compressor is ≥ the preset voltage threshold. When the target drive line voltage is < the preset voltage threshold, it means that the real-time drive line voltage of the compressor may drop below the preset voltage threshold, and the compressor cannot be guaranteed to operate at the minimum level. Therefore, the air conditioner is switched to AC operation to allow the air conditioner to continue to operate normally.

[0059] In step S150 , if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target driving line voltage and the target operating frequency.

[0060] If the new target drive line voltage of the compressor can meet the operating requirements of the compressor, photovoltaic power generation will continue to be used to power the air conditioner. After the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor will be dynamically adjusted to match the operating state of the compressor with the current photovoltaic power generation, so that the air conditioner can operate stably.

[0061] Figure 3 FIG. 1 is a flow chart of another embodiment of the control method of the photovoltaic air conditioner of the present invention. Figure 3 As shown, the method includes:

[0062] Step 1: Obtain the preset drive line voltage U of the compressor of the air conditioner in the current working mode 预设 , preset operating frequency F 预设 .

[0063] Step 2: Obtain the current drive line voltage U and the current operating frequency F of the compressor at regular intervals.

[0064] Step 3, in F 预设 = F, determine whether U 预设 >U. If U 预设 >U, it is considered that the energy conversion rate of photovoltaic power generation may be on a downward trend, and then step 4 is executed; if U 预设 ≤U, go to step 2.

[0065] Step 4, calculate ΔU=|U 预设-U|, determine whether ΔU continues to increase. If ΔU continues to increase, it is considered that the energy conversion rate of photovoltaic power generation is in a downward trend, and then step 5 is executed; if ΔU does not continue to increase, step 3 is executed.

[0066] Step 5: Calculate the change ΔU1 of the drive line voltage from the current moment to time t before, and subtract ΔU1 from the drive line voltage at the current moment to determine the target drive line voltage U from the current moment to time t after. 目标 .

[0067] Step 6: Determine whether U 目标 ≥U 电压最低值 . If U 目标 ≥U 电压最低值 , then according to U 目标 Match F 目标 , using U 目标 and F 目标 Control the air conditioner operation. 目标 <U 电压最低值 , the air conditioner is controlled to switch to AC power operation.

[0068] In some embodiments, a photovoltaic power generation module is provided; the photovoltaic power generation module is used to power the photovoltaic air conditioner so that the photovoltaic air conditioner operates under photovoltaic power generation; the photovoltaic power generation module is also used to power other electrical equipment, such as an air-energy water heater.

[0069] In some embodiments, the method further includes: when the photovoltaic power generation module is generating electricity, determining whether the photovoltaic air conditioner meets the operating conditions; if the photovoltaic air conditioner does not meet the operating conditions, controlling the photovoltaic power generation module to supply power to the other electrical equipment, and supplying power to the photovoltaic air conditioner from the city power; if the photovoltaic air conditioner meets the operating conditions, determining whether the photovoltaic air conditioner is running; if the photovoltaic air conditioner is running, controlling the photovoltaic power generation module to supply power only to the photovoltaic air conditioner; if the photovoltaic air conditioner is not running, controlling the photovoltaic power generation module to supply power to the other electrical equipment.

[0070] The operating conditions of photovoltaic air conditioners include whether the energy conversion rate and stability of the photovoltaic power generation module meet the requirements for normal operation of the air conditioner, whether the ambient temperature needs to be adjusted, etc. Considering the stability and power generation of photovoltaic power generation, when the air conditioner needs to be operated or is in operation, photovoltaic power generation will give priority to powering the air conditioner to ensure normal operation of the air conditioner. If the air conditioner is not in operation, the photovoltaic power generation module will power other devices.

[0071] Figure 4 The power supply logic flow chart for photovoltaic power generation modules is as follows: Figure 4 As shown, including:

[0072] Step 11, at night, the AC power is used to power the air conditioner and water heater. During the day, the photovoltaic power generation module generates electricity normally, and it is determined whether the air conditioner meets the operating state. If the air conditioner does not meet the operating state, the air energy water heater is turned on and powered by the AC power; if the air conditioner meets the operating state, step 12 is executed.

[0073] Step 12, determine whether the air conditioner is running. If the air conditioner is running, turn off the air-energy water heater so that the photovoltaic power generation module only supplies power to the air conditioner; if the air conditioner is not running, the photovoltaic power generation module does not supply power to the air-energy water heater.

[0074] By adopting the technical solution of this embodiment, when the photovoltaic air conditioner is operated by photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time drive line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor are determined according to the real-time drive line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target drive line voltage and target operating frequency. Thus, by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0075] According to an embodiment of the present invention, a control device for a photovoltaic air conditioner corresponding to the control method for a photovoltaic air conditioner is also provided. The photovoltaic air conditioner can be operated under photovoltaic power generation or under city power. Figure 2 The control device of the photovoltaic air conditioner may include:

[0076] The acquisition unit 102 is configured to acquire the real-time operating frequency of the compressor and the real-time driving line voltage of the compressor when the photovoltaic air conditioner is operated by photovoltaic power generation. The specific functions and processing of the acquisition unit 102 refer to step S110.

[0077] The drive line voltage of the compressor is a voltage amplitude, which is the voltage on the control line of the compressor operation, and is used to control the speed and operating status of the compressor. The system obtains the real-time operating frequency F and real-time drive line voltage U of the compressor at regular intervals, for example, once every 30 seconds. Then, based on the real-time operating frequency F and real-time drive line voltage U, it is determined whether the energy conversion rate of photovoltaic power generation has decreased, and then it is determined whether to adjust the target drive line voltage and target operating frequency of the compressor to ensure stable operation of the air conditioner.

[0078] The control unit 104 is configured to determine whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage. The specific functions and processing of the control unit 104 refer to step S120.

[0079] When photovoltaic power generation is unstable, then at a certain compressor frequency, if the compressor drive line voltage cannot meet the preset compressor drive line voltage, it means that the photovoltaic power generation energy conversion rate decreases.

[0080] In some implementations, the specific process of the control unit 104 determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage includes:

[0081] The control unit 104 is further configured to determine whether the real-time operating frequency is equal to the preset operating frequency. The specific functions and processing of the control unit 104 refer to step S210.

[0082] The control unit 104 is further configured to determine whether the energy conversion rate of photovoltaic power generation decreases according to the real-time drive line voltage if the real-time operating frequency is equal to the preset operating frequency. The specific functions and processing of the control unit 104 refer to step S220.

[0083] Preset operating frequency F 预设 It is determined according to the working mode of the air conditioner, which includes cooling, heating, and the air conditioner running according to the ambient temperature set by the user. The compressor drive line voltage and the compressor operating frequency in different working modes are different. The system will store the preset compressor drive line voltage and compressor operating frequency in the memory, which includes EEPROM and other devices. Compressor operating frequency F 预设 Both correspond to the compressor drive line voltage U 预设 .

[0084] When the real-time operating frequency F and the preset operating frequency F 预设 After the same, the subsequent judgment is made to improve the accuracy of the judgment on the energy conversion rate of photovoltaic power generation. Specifically, since there is a corresponding relationship between the operating frequency of the compressor and the drive line voltage, only when F=F 预设 Only then can the real-time driving line voltage U and the preset driving line voltage U be accurately 预设 The size relationship can be used to determine whether the energy conversion rate of photovoltaic power generation has decreased.

[0085] In some embodiments, the control unit 104 determines whether the energy conversion rate of photovoltaic power generation decreases according to the real-time drive line voltage. The specific process includes: determining whether the real-time drive line voltage is less than the preset drive line voltage; if the real-time drive line voltage is less than the preset drive line voltage, determining whether the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase; if the absolute value of the difference between the real-time drive line voltage and the preset drive line voltage continues to increase, determining that the energy conversion rate of photovoltaic power generation decreases.

[0086] The preset drive line voltage is based on the correspondence between the compressor drive line voltage and the compressor operating frequency of the air conditioner in different working modes stored in the system, and the preset operating frequency F is used. 预设 Match the preset drive line voltage F 预设 .

[0087] If the energy conversion rate of photovoltaic power generation is lower than the normal range, the drive line voltage of the compressor will also decrease. When the real-time drive line voltage U is less than the preset drive line voltage U 预设 When , it indicates that the photovoltaic power generation energy conversion rate may be on a downward trend. Then calculate U and U 预设 The absolute value of the difference ΔU, ΔU = |UU 预设 |. Then, the change in the size of ΔU is continuously determined. If the energy conversion rate of photovoltaic power generation continues to decrease, the real-time drive line voltage U will also continue to decrease, and ΔU will continue to increase. Therefore, when it is determined that ΔU continues to increase, it is determined that the energy conversion rate of photovoltaic power generation has decreased.

[0088] Optionally, when judging whether the energy conversion rate of photovoltaic power generation has decreased based on ΔU, ΔU is calculated every certain period of time, and a total of n ΔU are calculated. If the next ΔU in each group of adjacent ΔU is always greater than the previous ΔU, it is determined that the energy conversion rate of photovoltaic power generation has decreased. For example, ΔU is calculated every 30 seconds, and the absolute value of the difference at the 30th second is ΔU 30 , the absolute value of the difference at 60 seconds is ΔU 60 The absolute value of the difference at 90 seconds is ΔU 90 ...the absolute value of the difference at the nth second is ΔU n , if ΔU 30 <ΔU 60 <ΔU 90 ...<ΔU n , it is believed that the energy conversion rate of photovoltaic power generation is on a downward trend.

[0089] The control unit 104 is further configured to determine the target drive line voltage and target operating frequency of the compressor according to the real-time drive line voltage if it is determined that the energy conversion rate of photovoltaic power generation decreases. The specific functions and processing of the control unit 104 refer to step S130.

[0090] The operation of the air conditioner is mainly achieved through the drive line voltage of the compressor and the operating frequency of the compressor. Appropriate compressor drive line voltage and operating frequency can improve the stability of the operation of the air conditioner unit.

[0091] In some implementations, the specific process of the control unit 104 determining the target drive line voltage and the target operating frequency of the compressor according to the real-time drive line voltage includes:

[0092] The control unit 104 is further configured to calculate the difference between the real-time drive line voltage before the preset time and the current real-time drive line voltage at every preset time, and record the result as the voltage variation. The specific functions and processing of the control unit 104 refer to step S310.

[0093] The control unit 104 is further configured to record the result of subtracting the voltage variation from the current real-time drive line voltage as the target drive line voltage of the compressor. The specific functions and processing of the control unit 104 refer to step S320.

[0094] As the real-time drive line voltage decreases, the compressor's original target drive line voltage is always greater than the real-time drive line voltage, causing the compressor speed to fail to reach the rated speed, reducing the amount of refrigerant circulating per unit time, and reducing the air conditioner's cooling or heating capacity. At the same time, when the drive line voltage is insufficient, the compressor motor needs to increase the current to maintain operation, which will increase the heating of the motor winding and shorten the service life of the compressor. Insufficient drive line voltage may also cause the compressor frequency to start or operate in a low-efficiency range, causing pressure fluctuations in the air conditioner, impacting various components in the air conditioner, and further reducing the stability of the air conditioner.

[0095] Therefore, when it is determined that the real-time drive line voltage is insufficient, it is necessary to reduce the target drive line voltage of the compressor. The reduction method is to calculate the final voltage value after the drive line voltage is reduced in the next preset time according to the voltage change of the drive line voltage in the previous preset time, and determine the final voltage value as the target drive line voltage in the next preset time, and then adjust it in this cycle. For example, in the 0th to 30th second, the real-time drive line voltage of the compressor is reduced from 200V to 190V, and the real-time drive line voltage at the 30th second is 190V, and the voltage change is 200-190=10V. Then, in the 30th to 60th second, it is considered that the voltage change is still 10V, and the real-time drive line voltage at the 60th second is calculated to be 190V-10V=180V, and 180V is determined as the target drive line voltage in the 30th to 60th second. In the 60th to 90th second, the new target drive line voltage is further calculated according to the actual voltage change in the 30th to 60th second, and this cycle is repeated. Since the drive line voltage decreases continuously during the reduction process, that is, the drive line voltage will not drop from 190V to 180V immediately during the 30th to 60th second, but requires a certain amount of time, so during this period of time, the real-time drive line voltage is always higher than the new target drive line voltage, so that the air conditioner can operate stably during this period of time, and the new target drive line voltage is repeatedly determined in the next time period, so that the air conditioner is always in a stable state in this cycle.

[0096] The control unit 104 is further configured to match the target operating frequency of the compressor according to the target driving line voltage of the compressor from the preset correspondence between the driving line voltage and the operating frequency of the compressor. The specific functions and processing of the control unit 104 refer to step S330.

[0097] If the compressor drive line voltage is reduced and the operating frequency is too high, the temperature change will be too large, which will reduce the user experience and affect the life of the compressor. Therefore, after obtaining the new target drive line voltage, the new target operating frequency must be determined. According to the corresponding relationship between the compressor drive line voltage and the compressor operating frequency of the air conditioner in different operating modes stored in the system, the new target drive line voltage is used to match the new target operating frequency.

[0098] The control unit 104 is further configured to determine whether the photovoltaic air conditioner is switched to the mains operation according to the target driving line voltage. The specific functions and processing of the control unit 104 refer to step S140.

[0099] As the target drive line voltage of the compressor decreases, photovoltaic power generation may not be able to meet the operating requirements of the compressor, so the air conditioner needs to switch to AC operation to ensure the stability of the air conditioner operation.

[0100] In some embodiments, the control unit 104 determines whether the photovoltaic air conditioner switches to the mains operation according to the target drive line voltage, including: judging the size relationship between the target drive line voltage and a preset voltage threshold; if the target drive line voltage is greater than or equal to the preset voltage threshold, determining that the photovoltaic air conditioner does not switch to the mains operation; if the target drive line voltage is less than the preset voltage threshold, determining that the photovoltaic air conditioner switches to the mains operation.

[0101] The preset voltage threshold is the minimum voltage value to ensure the normal operation of the compressor. The normal operation of the compressor can only be guaranteed when the drive line voltage of the compressor is ≥ the preset voltage threshold. When the target drive line voltage is < the preset voltage threshold, it means that the real-time drive line voltage of the compressor may drop below the preset voltage threshold, and the compressor cannot be guaranteed to operate at the minimum level. Therefore, the air conditioner is switched to AC operation to allow the air conditioner to continue to operate normally.

[0102] The control unit 104 is further configured to control the operation of the photovoltaic air conditioner according to the target drive line voltage and the target operating frequency if it is determined that the photovoltaic air conditioner is not switched to the mains operation. The specific functions and processing of the control unit 104 refer to step S150.

[0103] If the new target drive line voltage of the compressor can meet the operating requirements of the compressor, photovoltaic power generation will continue to be used to power the air conditioner. After the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor will be dynamically adjusted to match the operating state of the compressor with the current photovoltaic power generation, so that the air conditioner can operate stably.

[0104] Figure 3 FIG. 1 is a flow chart of another embodiment of the control method of the photovoltaic air conditioner of the present invention. Figure 3 As shown, the method includes:

[0105] Step 1: Obtain the preset drive line voltage U of the compressor of the air conditioner in the current working mode 预设 , preset operating frequency F 预设 .

[0106] Step 2: Obtain the current drive line voltage U and the current operating frequency F of the compressor at regular intervals.

[0107] Step 3, in F 预设 = F, determine whether U 预设 >U. If U 预设 >U, it is considered that the energy conversion rate of photovoltaic power generation may be on a downward trend, and then step 4 is executed; if U 预设 ≤U, go to step 2.

[0108] Step 4, calculate ΔU=|U 预设 -U|, determine whether ΔU continues to increase. If ΔU continues to increase, it is considered that the energy conversion rate of photovoltaic power generation is in a downward trend, and then step 5 is executed; if ΔU does not continue to increase, step 3 is executed.

[0109] Step 5: Calculate the change ΔU1 of the drive line voltage from the current moment to time t before, and subtract ΔU1 from the drive line voltage at the current moment to determine the target drive line voltage U from the current moment to time t after. 目标 .

[0110] Step 6: Determine whether U 目标 ≥U 电压最低值 . If U 目标 ≥U 电压最低值 , then according to U 目标 Match F 目标 , using U 目标 and F 目标 Control the air conditioner operation. 目标 <U 电压最低值 , the air conditioner is controlled to switch to AC power operation.

[0111] In some embodiments, a photovoltaic power generation module is provided; the photovoltaic power generation module is used to power the photovoltaic air conditioner so that the photovoltaic air conditioner operates under photovoltaic power generation; the photovoltaic power generation module is also used to power other electrical equipment, such as an air-energy water heater.

[0112] In some embodiments, the control unit 104 is further configured to: when the photovoltaic power generation module is generating electricity, determine whether the photovoltaic air conditioner meets the operating conditions; if the photovoltaic air conditioner does not meet the operating conditions, control the photovoltaic power generation module to supply power to the other electrical equipment, and use the city power to supply power to the photovoltaic air conditioner. If the photovoltaic air conditioner meets the operating conditions, determine whether the photovoltaic air conditioner is running; if the photovoltaic air conditioner is running, control the photovoltaic power generation module to supply power only to the photovoltaic air conditioner; if the photovoltaic air conditioner is not running, control the photovoltaic power generation module to supply power to the other electrical equipment.

[0113] The operating conditions of photovoltaic air conditioners include whether the energy conversion rate and stability of the photovoltaic power generation module meet the requirements for normal operation of the air conditioner, whether the ambient temperature needs to be adjusted, etc. Considering the stability and power generation of photovoltaic power generation, when the air conditioner needs to be operated or is in operation, photovoltaic power generation will give priority to powering the air conditioner to ensure normal operation of the air conditioner. If the air conditioner is not in operation, the photovoltaic power generation module will power other devices.

[0114] Figure 4 The power supply logic flow chart for photovoltaic power generation modules is as follows: Figure 4 As shown, including:

[0115] Step 11, at night, the AC power is used to power the air conditioner and water heater. During the day, the photovoltaic power generation module generates electricity normally, and it is determined whether the air conditioner meets the operating state. If the air conditioner does not meet the operating state, the air energy water heater is turned on and powered by the AC power; if the air conditioner meets the operating state, step 12 is executed.

[0116] Step 12, determine whether the air conditioner is running. If the air conditioner is running, turn off the air-energy water heater so that the photovoltaic power generation module only supplies power to the air conditioner; if the air conditioner is not running, the photovoltaic power generation module does not supply power to the air-energy water heater.

[0117] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0118] According to the technical solution of the present invention, when the photovoltaic air conditioner is operated with photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time drive line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor are determined according to the real-time drive line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target drive line voltage and target operating frequency. Thus, by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0119] According to an embodiment of the present invention, a photovoltaic air conditioner corresponding to the control device of the photovoltaic air conditioner is also provided. The photovoltaic air conditioner may include: the control device of the photovoltaic air conditioner described above.

[0120] Since the processing and functions implemented by the photovoltaic air conditioner of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned devices, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0121] According to the technical solution of the present invention, when the photovoltaic air conditioner is operated with photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time drive line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor are determined according to the real-time drive line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target drive line voltage and target operating frequency. Thus, by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0122] According to an embodiment of the present invention, a storage medium corresponding to a control method for a photovoltaic air conditioner is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the control method for the photovoltaic air conditioner described above.

[0123] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0124] According to the technical solution of the present invention, when the photovoltaic air conditioner is operated with photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time drive line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor are determined according to the real-time drive line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target drive line voltage and target operating frequency. Thus, by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0125] According to an embodiment of the present invention, a computer program product corresponding to the control method of a photovoltaic air conditioner is also provided. The computer program product includes a computer program, and when the computer program product is processed and executed, the steps of the control method of the photovoltaic air conditioner are implemented.

[0126] Since the processing and functions implemented by the computer program product of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.

[0127] According to the technical solution of the present invention, when the photovoltaic air conditioner is operated with photovoltaic power generation, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time operating frequency and real-time drive line voltage of the compressor; if it is determined that the energy conversion rate of photovoltaic power generation decreases, the target drive line voltage and target operating frequency of the compressor are determined according to the real-time drive line voltage; whether the photovoltaic air conditioner is switched to the mains operation is determined according to the target drive line voltage; if it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target drive line voltage and target operating frequency. Thus, by adjusting the target drive line voltage and target operating frequency of the compressor after the energy conversion rate of photovoltaic power generation decreases, the stable operation of the photovoltaic air conditioner is ensured.

[0128] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

[0129] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A control method for a photovoltaic air conditioner, characterized in that: The photovoltaic air conditioner can be operated under photovoltaic power generation or under city power; the method comprises: When the photovoltaic air conditioner is operated by photovoltaic power generation, obtaining the real-time operating frequency of the compressor and the real-time driving line voltage of the compressor; Determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage; If it is determined that the energy conversion rate of photovoltaic power generation decreases, determining a target drive line voltage and a target operating frequency of the compressor according to the real-time drive line voltage; Determining whether the photovoltaic air conditioner is switched to mains operation according to the target drive line voltage; If it is determined that the photovoltaic air conditioner is not switched to the mains operation, the operation of the photovoltaic air conditioner is controlled according to the target driving line voltage and the target operating frequency.

2. The control method of photovoltaic air conditioner according to claim 1, characterized in that: Determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time driving line voltage includes: Determining whether the real-time operating frequency is equal to the preset operating frequency; If the real-time operating frequency is equal to the preset operating frequency, whether the energy conversion rate of photovoltaic power generation decreases is determined according to the real-time driving line voltage.

3. The control method of photovoltaic air conditioner according to claim 2, characterized in that: Determining whether the energy conversion rate of photovoltaic power generation decreases according to the real-time driving line voltage includes: Determining whether the real-time driving line voltage is less than a preset driving line voltage; If the real-time driving line voltage is less than the preset driving line voltage, determining whether the absolute value of the difference between the real-time driving line voltage and the preset driving line voltage continues to increase; If the absolute value of the difference between the real-time driving line voltage and the preset driving line voltage continues to increase, it is determined that the energy conversion rate of photovoltaic power generation decreases.

4. The control method of the photovoltaic air conditioner according to any one of claims 1 to 3, characterized in that: Determining a target drive line voltage and a target operating frequency of the compressor according to the real-time drive line voltage includes: At every preset time, calculating the difference between the real-time driving line voltage before the preset time and the current real-time driving line voltage, and recording the result as a voltage variation; Recording the result of subtracting the voltage change amount from the current real-time drive line voltage as the target drive line voltage of the compressor; The target operating frequency of the compressor is matched according to the target driving line voltage of the compressor from the preset corresponding relationship between the driving line voltage and the operating frequency of the compressor.

5. The control method of the photovoltaic air conditioner according to claim 1 or 4, characterized in that: Determining whether the photovoltaic air conditioner is switched to mains operation according to the target drive line voltage includes: Determining a magnitude relationship between the target drive line voltage and a preset voltage threshold; If the target drive line voltage is greater than or equal to a preset voltage threshold, it is determined that the photovoltaic air conditioner is not switched to mains operation; If the target drive line voltage is less than a preset voltage threshold, it is determined that the photovoltaic air conditioner is switched to mains operation.

6. The control method of the photovoltaic air conditioner according to any one of claims 1 to 5, characterized in that: A photovoltaic power generation module is provided; the photovoltaic power generation module is used to supply power to the photovoltaic air conditioner, so that the photovoltaic air conditioner operates under photovoltaic power generation; the photovoltaic power generation module is also used to supply power to other electrical equipment; The method further comprises: When the photovoltaic power generation module is generating electricity, determining whether the photovoltaic air conditioner meets the operating conditions; If the photovoltaic air conditioner does not meet the operating conditions, controlling the photovoltaic power generation module to supply power to the other electrical equipment; If the photovoltaic air conditioner meets the operating conditions, determining whether the photovoltaic air conditioner is running; If the photovoltaic air conditioner is running, controlling the photovoltaic power generation module to only supply power to the photovoltaic air conditioner; If the photovoltaic air conditioner is not running, the photovoltaic power generation module is controlled to supply power to the other electrical equipment.

7. A control device for a photovoltaic air conditioner, characterized in that: The photovoltaic air conditioner can be operated under photovoltaic power generation or under city power; the device comprises: An acquisition unit is configured to acquire a real-time operating frequency of the compressor and a real-time driving line voltage of the compressor when the photovoltaic air conditioner is operated by photovoltaic power generation; a control unit configured to determine whether the energy conversion rate of photovoltaic power generation decreases according to the real-time operating frequency and the real-time drive line voltage; The control unit is further configured to determine a target drive line voltage and a target operating frequency of the compressor according to the real-time drive line voltage if it is determined that the energy conversion rate of photovoltaic power generation decreases; The control unit is further configured to determine whether the photovoltaic air conditioner is switched to mains operation according to the target drive line voltage; The control unit is further configured to control the operation of the photovoltaic air conditioner according to the target drive line voltage and the target operating frequency if it is determined that the photovoltaic air conditioner is not switched to mains operation.

8. A photovoltaic air conditioner, characterized in that: include: The control device for a photovoltaic air conditioner as claimed in claim 7.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the control method of the photovoltaic air conditioner according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.