A photovoltaic air conditioning system power control method and device, electronic equipment and medium

By determining the target rotation speed and adjusting the compressor speed in the photovoltaic air conditioning system, the problem of mismatch between power generation and power consumption efficiency in the photovoltaic air conditioning system was solved, achieving stable operation and improved safety of the photovoltaic air conditioning system and the power grid, and reducing system costs.

CN116753604BActive Publication Date: 2026-02-27HUNAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310664666.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-06
Publication Date
2026-02-27
Estimated Expiration
2043-06-06

AI Technical Summary

Technical Problem

In existing technologies, the power generation of photovoltaic systems in photovoltaic air conditioning systems is mismatched with the power consumption efficiency of air conditioning systems, which leads to impacts and effects on the power grid and its equipment, and there is a lack of stable power control methods.

Method used

By determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor, the target speed is determined based on their magnitude relationship. By adjusting the current speed and the speed change rate, the power generation of the photovoltaic system and the power consumption of the air conditioning system meet the preset conditions. The compressor speed is directly controlled by building load flexibility and variable frequency air conditioning technology to achieve matching.

Benefits of technology

It improves the stability and security of the photovoltaic air conditioning system and the power grid, reduces the impact on the power grid, improves the power response speed and matching of the photovoltaic air conditioning system, and reduces system investment and operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116753604B_ABST
    Figure CN116753604B_ABST
Patent Text Reader

Abstract

The application discloses a photovoltaic air conditioner system power control method and device, electronic equipment and medium, and relates to the technical field of photovoltaic air conditioners. The current power generation power, the current power consumption power and the current rotating speed of the compressor are determined first, and the target rotating speed of the compressor is obtained according to the size relationship between the current power generation power and the current power consumption power. Then, it is judged whether the preset rotating speed condition is met between the current rotating speed and the target rotating speed of the compressor. If not, the current rotating speed and the change speed of the current rotating speed need to be adjusted, so that the current power generation power of the photovoltaic system and the power consumption power of the air conditioner system meet the preset power condition, the current power generation power of the photovoltaic system and the actual power consumption power required by the air conditioner system are matched, the impact and influence on the power grid and its equipment are reduced, the power grid and the photovoltaic air conditioner system can be stably operated, and the safety of the power grid and the photovoltaic air conditioner system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of photovoltaic air conditioning, and particularly relates to a photovoltaic air conditioning system power control method and device, an electronic device and a medium. BACKGROUND

[0002] The world is experiencing a global energy crisis, and with the rapid development of economy and technology, the power load of China and the world is also growing rapidly. One of the most promising solutions to these challenges is the large-scale deployment of renewable energy, especially solar photovoltaics, because it is almost everywhere in the world and has great application potential. However, photovoltaic power generation has the characteristics of intermittency, volatility and unpredictability. When the power generation of the photovoltaic system in the photovoltaic air conditioning system suddenly changes, the power grid needs to urgently supply power to the air conditioning system in the photovoltaic air conditioning system or urgently accept the power of the photovoltaic system in the photovoltaic air conditioning system, both of which will impact the power grid and its equipment.

[0003] In the prior art, there is no stable method to match the power generation of the photovoltaic system in the photovoltaic air conditioning system with the power consumption efficiency of the air conditioning system. SUMMARY

[0004] The purpose of the present application is to provide a photovoltaic air conditioning system power control method, device, electronic device and medium, so that the current power generation of the photovoltaic system matches the actual power consumption of the air conditioning system, reduces the impact on the power grid and its equipment, and enables the power grid and the photovoltaic air conditioning system to operate stably, improving the safety of the power grid and the photovoltaic air conditioning system.

[0005] To solve the above technical problems, the present application provides a photovoltaic air conditioning system power control method, comprising:

[0006] determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor of the air conditioning system;

[0007] determining the target speed of the compressor based on the size relationship between the current power generation and the current power consumption;

[0008] determining whether the current speed and the target speed meet a preset speed condition;

[0009] if the preset speed condition is not met, adjusting the current speed and the change speed of the current speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption, so that the current speed and the target speed meet the preset speed condition, and so that the current power generation and the power consumption of the air conditioning system meet a preset power condition.

[0010] Optionally, after determining the current power consumption of the air conditioning system, further comprising:

[0011] determining a current indoor parameter of the air conditioning system and a current outdoor parameter of the air conditioning system, the current indoor parameter comprising: a current indoor temperature of the air conditioning system and / or a current indoor humidity of the air conditioning system; the current outdoor parameter comprising: a current outdoor temperature of the air conditioning system and / or a current outdoor humidity of the air conditioning system;

[0012] determining a disturbance to the current power consumption according to the current indoor parameter and the current outdoor parameter;

[0013] determining a power of the current power consumption excluding the disturbance based on the disturbance and the current power consumption;

[0014] correspondingly, the determining the target rotating speed of the compressor based on the size relationship between the current power generation and the current power consumption comprises:

[0015] determining the target rotating speed of the compressor based on the size relationship between the current power generation and the power excluding the disturbance.

[0016] Optionally, before the determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system, further comprising:

[0017] determining a current indoor temperature of the air conditioning system, a historical indoor temperature of the air conditioning system, a current outdoor temperature of the air conditioning system and a historical outdoor temperature of the air conditioning system;

[0018] determining a temperature prediction result of the air conditioning system in a preset time period based on the current indoor temperature, the historical indoor temperature, the current outdoor temperature, the historical outdoor temperature and a preset fitting model;

[0019] judging whether a plurality of temperature values in the temperature prediction result are all located in a preset temperature interval;

[0020] if the plurality of temperature values in the temperature prediction result are all located in the preset temperature interval, entering the step of determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system.

[0021] Optionally, the determining the target rotating speed of the compressor based on the size relationship between the current power generation and the current power consumption comprises:

[0022] judging whether the current power generation is equal to the current power consumption;

[0023] If the current power generation is not equal to the current power consumption, determining a target rotating speed of the compressor based on the current power generation.

[0024] Optionally, the determining of the target rotating speed of the compressor based on the current power generation comprises:

[0025] determining a rotating speed range of the compressor to obtain a maximum rotating speed of the rotating speed range and a minimum rotating speed of the rotating speed range;

[0026] taking the current power generation as a target power consumption of the air conditioning system;

[0027] determining a rotating speed of the compressor corresponding to the target power consumption;

[0028] judging whether the rotating speed of the compressor is greater than the maximum rotating speed or whether the rotating speed of the compressor is less than the minimum rotating speed;

[0029] if the rotating speed of the compressor is greater than the maximum rotating speed or the rotating speed of the compressor is less than the minimum rotating speed, taking the maximum rotating speed as the target rotating speed or taking the minimum rotating speed as the target rotating speed.

[0030] Optionally, the judging of whether the preset rotating speed condition is met between the current rotating speed and the target rotating speed comprises:

[0031] judging whether the current rotating speed is equal to the target rotating speed;

[0032] if the current rotating speed is equal to the target rotating speed, determining that the preset rotating speed condition is met between the current rotating speed and the target rotating speed;

[0033] if the current rotating speed is not equal to the target rotating speed, determining that the preset rotating speed condition is not met between the current rotating speed and the target rotating speed.

[0034] Optionally, the adjusting of the current rotating speed and a change speed of the current rotating speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption comprises:

[0035] determining a historical voltage of a grid-connected node of the photovoltaic system and the air conditioning system and a current voltage of the grid-connected node;

[0036] determining a change speed of an actual rotating speed of the compressor based on the historical voltage, the current voltage, the historical power generation, the historical power consumption, the current power generation and the current power consumption;

[0037] PID control is applied to the current power consumption and the current power generation.

[0038] The result of the PID control is transmitted to the compressor frequency converter, so that the compressor frequency converter controls the actual speed of the compressor based on the rate of change of the actual speed of the compressor, the result of the PID control, and the current speed.

[0039] Determine whether the actual rotational speed is equal to the target rotational speed;

[0040] If the actual rotational speed is not equal to the target rotational speed, then return to the step of performing PID control on the current power consumption and the current power generation.

[0041] If the actual rotational speed is equal to the target rotational speed, then the adjustment of the current rotational speed is determined to be successful.

[0042] To address the aforementioned technical problems, the present invention also provides a power control device for a photovoltaic air conditioning system, comprising:

[0043] The first determining unit is used to determine the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor of the air conditioning system.

[0044] The second determining unit is used to determine the target speed of the compressor based on the relationship between the current power generation and the current power consumption.

[0045] The judgment unit is used to determine whether the current rotational speed and the target rotational speed meet a preset rotational speed condition;

[0046] The adjustment unit is used to adjust the current rotational speed and the rate of change of the current rotational speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation, and the current power consumption when the preset rotational speed conditions are not met, so as to make the current rotational speed and the target rotational speed meet the preset rotational speed conditions, and to make the current power generation and the power consumption of the air conditioning system meet the preset power conditions.

[0047] To address the aforementioned technical problems, the present invention also provides an electronic device, comprising:

[0048] Memory, used to store computer programs;

[0049] A processor is used to execute the computer program to implement the steps of the power control method for the photovoltaic air conditioning system as described above.

[0050] To solve the above technical problems, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the photovoltaic air conditioner system power control method.

[0051] The application aims to provide a photovoltaic air conditioner system power control method, device, electronic equipment and medium, which determines the current power generation, the current power consumption and the current speed of the compressor, obtains the target speed of the compressor according to the size relationship between the current power generation and the current power consumption, and then judges whether the preset speed condition is met between the current speed and the target speed of the compressor. If not, the current speed and the change speed of the current speed need to be adjusted, so that the current power generation of the photovoltaic system and the power consumption of the air conditioner system meet the preset power condition, so that the current power generation of the photovoltaic system matches the actual power consumption required by the air conditioner system, reduces the impact and influence on the power grid and its equipment, and makes the power grid and the photovoltaic air conditioner system can be stably operated, and the safety of the power grid and the photovoltaic air conditioner system is improved. BRIEF DESCRIPTION OF DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only belong to the embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of the provided drawings.

[0053] Figure 1 A process flow chart of a photovoltaic air conditioner system power control method provided by the application;

[0054] Figure 2 A photovoltaic power generation and air conditioner power consumption curve diagram in a day provided by the application;

[0055] Figure 3 A process flow chart of another photovoltaic air conditioner system power control method provided by the application;

[0056] Figure 4 A grid-connected photovoltaic direct-drive air conditioner system principle diagram provided by the application;

[0057] Figure 5 A grid-connected photovoltaic air conditioner system physical diagram provided by the application;

[0058] Figure 6 A PID closed-loop feedback control logic diagram provided by the application;

[0059] Figure 7 A schematic diagram of air conditioner power response speed provided by the application;

[0060] Figure 8 Another air conditioner power response speed schematic diagram provided by the present application;

[0061] Figure 9 A summer photovoltaic direct-drive air conditioner system control strategy schematic diagram provided by the present application;

[0062] Figure 10 A structure schematic diagram of a photovoltaic air conditioner system power control device provided by the present application;

[0063] Figure 11 A structure schematic diagram of an electronic device provided by the present application. DETAILED DESCRIPTION

[0064] The core of the present application is to provide a photovoltaic air conditioner system power control method, device, electronic equipment and medium, so that the current power generation power of the photovoltaic system matches the actual power consumption power required by the air conditioner system, reduces the impact and influence on the power grid and its equipment, and makes the power grid and the photovoltaic air conditioner system can be stably operated, and the safety of the power grid and the photovoltaic air conditioner system is improved.

[0065] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0066] Please refer to Figure 1 , Figure 1 A process flow chart of a photovoltaic air conditioner system power control method provided by the present application. The method comprises:

[0067] S11: determining the current power generation power of the photovoltaic system, the current power consumption power of the air conditioner system and the current speed of the compressor of the air conditioner system;

[0068] In the present application, in order to match the power generation power of the photovoltaic system with the actual power consumption power required by the air conditioner system, the current power generation power of the photovoltaic system, the current power consumption power of the air conditioner system and the current speed of the compressor of the air conditioner system need to be determined first, so as to ensure the completeness of the scheme.

[0069] It should be noted that in practical applications, the air conditioning operation energy consumption accounts for a large proportion of building energy consumption and terminal energy consumption in China, and is one of the main factors of forming the peak-valley difference of building energy consumption. The refrigeration demand of air conditioning and solar radiation have strong correlation, and in the refrigeration season, when the solar radiation is strong, it is also the time when the refrigeration demand is large. In order to solve the above problems, the building load flexibility is considered to be used to adjust the air conditioning power by directly changing the speed of the air conditioning compressor (main energy consumption component), so as to realize accurate consumption of distributed photovoltaic. This not only can reduce the influence of photovoltaic power generation and air conditioning power consumption on the power grid, but also can reduce the capacity of energy storage battery, reduce the investment cost and operation cost of the system.

[0070] S12: determining the target speed of the compressor based on the size relationship between the current power generation and the current power consumption;

[0071] In the present application, in order to make the air conditioning system consume as much electricity as possible generated by the photovoltaic system, the target speed of the compressor needs to be determined based on the size relationship between the current power generation of the photovoltaic system and the current power consumption of the air conditioning system, that is, the target power consumption of the air conditioning system, so as to facilitate subsequent control of the speed of the compressor and make the whole control process more accurate.

[0072] S13: judging whether the preset speed condition is met between the current speed and the target speed;

[0073] In the present application, after the target speed of the compressor is determined, it is also necessary to judge whether the preset speed condition is met between the current speed of the compressor and the target speed of the compressor, that is, whether the preset power condition is met between the current power consumption of the air conditioning system and the target power consumption of the air conditioning system. If the preset speed condition is not met, it proves that the speed of the compressor, that is, the current power consumption of the air conditioning system, needs to be adjusted, which improves the accuracy of the judgment process.

[0074] S14: if the preset speed condition is not met, the current speed and the change speed of the current speed are adjusted based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption, so as to make the preset speed condition be met between the current speed and the target speed, and make the preset power condition be met between the current power generation and the power consumption of the air conditioning system.

[0075] In the present application, if the preset speed condition is not met between the current speed of the compressor and the target speed of the compressor, the current speed and the change speed of the current speed need to be adjusted based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption, so that the preset speed condition is met between the current speed of the compressor and the target speed of the compressor, and finally the preset power condition is met between the current power generation of the photovoltaic system and the power consumption of the air conditioning system, that is, the air conditioning power response speed is improved by directly controlling the compressor speed, and the matching of the air conditioning power consumption and the photovoltaic power generation is improved, so that the air conditioning system can consume the power generated by the photovoltaic system as much as possible, and the stability and safety of the photovoltaic air conditioning system and the power grid are improved.

[0076] It should be noted that the application scenario of the photovoltaic air conditioning system power control strategy of the present application is a residential grid-connected photovoltaic air conditioning system and a distributed grid-connected photovoltaic air conditioning system, and the application of the present application needs to consider the building thermal inertia, that is, the slow response ability of the building to heat absorption and release when the heat changes. The purpose of the present application is to improve the thermal inertia of the building, so that the building can better maintain the indoor temperature stable, improve the comfort and energy saving effect. Moreover, the control strategy of the present application can reduce the impact of the photovoltaic air conditioning system on the power grid for the residential grid-connected photovoltaic air conditioning system and the distributed grid-connected photovoltaic air conditioning system. Only the effect of reducing the impact on the power grid is particularly obvious because the number of photovoltaic air conditioning systems in the distributed grid-connected photovoltaic air conditioning system is larger.

[0077] The renewable energy industry in China will continue to grow at a high speed. Photovoltaic power generation, as an important renewable energy source, has been strongly supported by the government. In the field of building, the application of photovoltaic power generation mainly includes roof photovoltaic, building integrated photovoltaic (BIPV, Building Integrated Photovoltaic), etc. With the continuous development and application of distributed photovoltaic, it has brought great challenges to the power grid. On the one hand, the uncertainty of photovoltaic power generation may cause reliability and power quality problems, including voltage deviation beyond regulatory limits, bidirectional power flow leading to protection system failure and overload, and harmonic distortion of current and voltage waveform, etc. On the other hand, there is a mismatch between photovoltaic power generation and electricity consumption in time. According to the research of the U.S. Department of Energy (DOE, Department of Energy), when the proportion of renewable energy power generation in the electricity market exceeds 20%, the power infrastructure needs to reduce at least 30% of solar power generation. Therefore, how to consume photovoltaic power on site and reduce the impact of renewable resource power generation on the power grid is a problem to be solved. Power operators hope that users will consume the electricity they generate (i.e. distributed photovoltaic power generation) themselves and not upload it to the grid, while also maintaining a relatively stable state of electricity consumption to avoid impacting the grid. Users also hope to reduce their demand for the grid in order to reduce operating costs (i.e. electricity bills). The power of photovoltaic power generation is difficult to control, so we want to change the building electricity load to achieve the matching of distributed photovoltaic power generation and building electricity consumption.

[0078] In building electricity load, air conditioning load accounts for a large proportion, and has a strong correlation with photovoltaic. In the refrigeration season, when the solar radiation condition is good, the photovoltaic power is high, and at this time the building refrigeration demand is also often large. As shown in Figure 2 The area represented by M in the figure represents the part of photovoltaic power that can be directly supplied to air conditioning electricity. In addition, due to the existence of building thermal inertia and thermal comfort temperature interval, there is a lot of adjustment space for air conditioning operation. The main energy consumption component of variable frequency air conditioner is compressor. For household variable frequency air conditioner compressor, it can theoretically achieve minute-level control, that is, change the compressor frequency to the target value within tens of seconds, that is, change the air conditioner power to the target power. Therefore, we consider using the flexibility of building load to match photovoltaic power generation and indoor environmental conditions by directly controlling the compressor speed to realize the matching of photovoltaic power generation and air conditioning electricity, so as to consume as much distributed photovoltaic power generation as possible and reduce the impact of photovoltaic power generation on the grid and the demand and influence of air conditioning electricity on the grid.

[0079] It should be noted that distributed photovoltaic power generation: install solar panels on buildings (roof, facade, etc.), convert solar energy into electricity to supply users.

[0080] Photovoltaic self-consumption rate and self-satisfaction rate: the photovoltaic self-consumption rate refers to the proportion of the electricity directly used to meet the local load demand in the total generated electricity of the building distributed photovoltaic system. The photovoltaic self-satisfaction rate refers to the proportion of the electricity generated by the building distributed photovoltaic system to meet the local (building) load demand in the total load demand. Both reflect the utilization efficiency of the photovoltaic system and the degree of external dependence.

[0081] Variable frequency air conditioner: a variable frequency air conditioner is an air conditioning equipment capable of adjusting the operating frequency of the compressor. Generally, a household variable frequency air conditioner can adjust the operating frequency of the compressor according to the difference between the indoor temperature and the set temperature, and the indoor and outdoor temperature difference, and the power of the air conditioner is positively correlated with the frequency of the compressor. The variable frequency air conditioner with temperature control has a certain response time when adjusting the power, that is, when the set temperature is changed, there is usually a power change time of 5-10 minutes. The operating frequency of the compressor of the traditional variable frequency air conditioner is usually divided into 5-10 gears corresponding to different operating frequencies. When the temperature difference between the indoor temperature and the set temperature, and the indoor and outdoor temperature difference meet the corresponding conditions, the operating frequency of the compressor will be adjusted to the corresponding gear.

[0082] Photovoltaic air conditioner: Photovoltaic air conditioner generally refers to using photovoltaic panel to generate electricity and directly acting as driving energy for vapor compression air conditioning system. According to the form of driving air conditioning system, photovoltaic air conditioner can be divided into direct current air conditioner and alternating current air conditioner. Among them, photovoltaic direct current air conditioner can be directly driven by photovoltaic direct current; photovoltaic alternating current air conditioner often needs to add inverter 3 between photovoltaic panel and air conditioning equipment to convert direct current into alternating current and then supply power to air conditioner. Because traditional air conditioner uses power grid (alternating current) for power supply, photovoltaic alternating current air conditioner is more widely used, and its transformation cost is also lower. According to whether the photovoltaic air conditioner system is connected to the grid, it can be divided into off-grid photovoltaic air conditioner and grid-connected photovoltaic air conditioner. Off-grid photovoltaic air conditioner system refers to that the system is not connected to the grid, and all energy is supplied by photovoltaic power generation, which often needs to be equipped with large energy storage equipment for energy scheduling. Grid-connected photovoltaic system refers to that the system is connected to the grid and can be further divided into systems with and without reverse flow. The system with reverse flow refers to that the power between the system and the grid can flow in both directions, that is, photovoltaic power generation can be uploaded to the grid, and the grid can supplement power to the air conditioning system when photovoltaic power generation is insufficient. The system without reverse flow refers to that the power between the system and the grid can only flow in one direction, usually only the grid can supplement power to the system, and photovoltaic power generation cannot be uploaded to the grid. In this study, the grid-connected photovoltaic variable frequency air conditioner system with reverse flow is aimed at, which is suitable for alternating current and direct current systems. Photovoltaic, air conditioner and power grid are connected through inverter 3 (or DC / DC (Direct Current / Direct Current, direct current / direct current) converter), and the electricity generated by photovoltaic is supplied to the air conditioner through inverter 3 (converter) (i.e. photovoltaic direct drive air conditioner). When photovoltaic is insufficient (i.e. photovoltaic power is less than the required power of air conditioner), the grid is supplemented; when photovoltaic is abundant (i.e. photovoltaic power is greater than the required power of air conditioner), the excess part is uploaded to the grid.

[0083] Building load flexibility: Under the premise of not harming the interests of users, the power of flexible load is reduced, transferred or increased to change the load curve of the building, so as to match the distributed photovoltaic power generation. In this study, only the adjustability of air conditioning load is considered, that is, air conditioning load flexibility.

[0084] Air conditioning load flexibility: Human body has a certain acceptable range of environmental temperature, that is, the range of thermal comfort temperature. Due to the range of thermal comfort temperature and the thermal inertia of building, users can adjust the air conditioning load within the range of thermal comfort to improve the matching degree of photovoltaic power generation and air conditioning power supply without affecting the thermal comfort feeling of users.

[0085] Building thermal inertia: Building thermal inertia refers to the slow response ability of building to heat absorption and release when the heat changes. Buildings with high thermal inertia can better maintain stable indoor temperature, improve comfort and energy saving effect.

[0086] It should also be noted that in my country, distributed photovoltaic (PV) power is currently mainly used in industrial buildings. Because the penetration rate of PV power generation is still relatively low, the intermittency and volatility of its generation have a relatively small impact on the power grid. For economic reasons, few projects are equipped with battery storage; most adopt a strategy of self-consumption of distributed PV power with surplus electricity fed into the grid. However, when power markets with high PV penetration experience grid inability to handle the surge in PV demand, the common solution is "curtailment," resulting in wasted electricity. This problem will become increasingly severe as PV penetration gradually increases.

[0087] In some studies on the design optimization of photovoltaic (PV) air conditioning systems, the capacity ratio of PV systems to air conditioning systems is typically optimized for specific regions and buildings. By changing the capacity and installation parameters of the PV system, as well as the capacity of the air conditioning system, the self-consumption rate and self-sufficiency rate of the PV system are improved while ensuring comfort. However, related research results indicate that this approach is not very effective in improving system compatibility. Taking an office building in Tianjin as an example, when the total annual PV power generation is 120% of the building's total electricity demand, only 29.5% of the building's electricity consumption actually comes from the PV power generation system. Moreover, the excessively high penetration rate of distributed PV also places a huge burden on the power grid.

[0088] In the research on the operation optimization of photovoltaic air conditioning systems, conventional control methods (such as start-stop control and PID control) or advanced control methods (such as model predictive control and machine learning methods) are typically used to reset the air conditioning setpoint (i.e., change the air conditioning operating state and thus change the air conditioning power) considering indoor and outdoor temperatures and photovoltaic power generation. However, changing the air conditioning power through temperature control often has a long response time (compared to the fluctuation time of photovoltaic power generation), making it difficult to effectively solve the impact of photovoltaic fluctuations on the power grid. Advanced control methods also often require the establishment of accurate models to predict system operation in order to pre-adjust the air conditioning temperature setpoint to improve the power response speed. However, in actual engineering, it is difficult to obtain data suitable for establishing system models and training predictive models.

[0089] It should also be noted that this invention addresses the issue of improving the power matching and power response capabilities of photovoltaic direct-drive air conditioning systems to enhance the absorption of building-distributed photovoltaic power generation. It proposes a control method that directly controls the compressor speed to change the operating power of the air conditioner, such as... Figure 3 As shown in the diagram, the system first collects the current air conditioner operating power, photovoltaic power generation, compressor operating speed, and indoor temperature. The controller calculates the air conditioner compressor operating status for the next moment based on the operating strategy and sends a command to the compressor inverter. Upon receiving the command, the compressor inverter adjusts the compressor speed to the set value, and the air conditioner operating power changes accordingly.

[0090] It also needs to be explained that the grid-connected photovoltaic direct-drive air conditioning system is composed of a photovoltaic system (photovoltaic array 1), an air conditioning system (air conditioning unit 2), a power grid, an inverter 3 (grid-connected inverter or converter), a data acquisition module (temperature and humidity meter 4), and a controller (control cabinet 5). The schematic diagram is shown in Figure 4 , and the physical diagram is shown in Figure 5 . In an alternating current system, the direct current generated by the distributed photovoltaic system is converted into alternating current by the inverter 3 to supply the energy-consuming equipment, which includes the control cabinet 5, the air conditioning system, and the measuring instrument; while in a direct current system, the process of converting direct current into alternating current is not needed. When the photovoltaic power generated is more than the power consumed by the energy-consuming equipment, the excess part is uploaded to the power grid through the grid-connected inverter; and when the photovoltaic power generated is less than the power consumed by the energy-consuming equipment, the power from the power grid is supplemented through the grid-connected inverter. There are two one-way electricity meters and one bidirectional electricity meter in the grid-connected inverter, which respectively measure the photovoltaic system power generation, the energy-consuming equipment power consumption, and the power grid charging / discharging power. The control cabinet 5 includes a data acquisition module and a programmable controller, a circuit breaker, a weak current power supply, etc., which communicates with the air conditioning system, the indoor temperature and humidity meter, and the inverter 3, and supplies the electric energy from the inverter 3 to each energy-consuming equipment (the energy consumption of each device is collectively referred to as the photovoltaic air conditioning system power consumption or the air conditioning power consumption in the following). The data acquisition module and the programmable controller (controller) include a signal I / O port, a programmable controller, and a power supply port. The signal I / O port communicates with the inverter 3, the air conditioning system, and the indoor temperature and humidity meter, acquires the photovoltaic power generation, the air conditioning system power consumption, the indoor temperature, the real-time speed of the compressor, and other signals; the programmable controller (controller) calculates the running state of the air conditioning compressor at the next moment through these signals and control strategies and algorithms, and sends the instructions to the air conditioning compressor frequency converter to realize the control of the air conditioning power. The control strategies and algorithms are input or modified through the programmable module; and the power supply port is connected with the control cabinet 5 to obtain energy.

[0091] The embodiment provides a photovoltaic air conditioning system power control method, which first determines the current power generation, the current power consumption, and the current speed of the compressor, and obtains the target speed of the compressor through the size relationship between the current power generation and the current power consumption, and then judges whether the current speed and the target speed of the compressor satisfy a preset speed condition, if not, the current speed and the change speed of the current speed need to be adjusted, so that the current power generation of the photovoltaic system and the power consumption of the air conditioning system satisfy a preset power condition, so that the current power generation of the photovoltaic system matches the actual power consumption of the air conditioning system, reduces the impact and influence on the power grid and its equipment, and enables the power grid and the photovoltaic air conditioning system to operate stably, thereby improving the safety of the power grid and the photovoltaic air conditioning system.

[0092] On the basis of the above embodiment:

[0093] As an optional embodiment, after determining the current power consumption of the air conditioning system, further comprising:

[0094] determining the current indoor parameter of the air conditioning system and the current outdoor parameter of the air conditioning system, the current indoor parameter comprising: the current indoor temperature of the air conditioning system and / or the current indoor humidity of the air conditioning system; the current outdoor parameter comprising: the current outdoor temperature of the air conditioning system and / or the current outdoor humidity of the air conditioning system;

[0095] determining the disturbance to the current power consumption according to the current indoor parameter and the current outdoor parameter;

[0096] determining the power of the current power consumption after excluding the disturbance based on the disturbance and the current power consumption;

[0097] correspondingly, determining the target rotating speed of the compressor based on the size relationship between the current power generation and the power of the current power consumption, comprising:

[0098] determining the target rotating speed of the compressor based on the size relationship between the current power generation and the power after excluding the disturbance.

[0099] In the present application, considering the disturbance of the current indoor parameter of the air conditioning system and the current outdoor parameter of the air conditioning system to the current power consumption of the air conditioning system, the current indoor parameter of the air conditioning system and the current outdoor parameter of the air conditioning system can be determined after the current power consumption of the air conditioning system is determined, and the disturbance to the current power consumption of the air conditioning system can be determined through the current indoor parameter of the air conditioning system and the current outdoor parameter of the air conditioning system, and the power of the current power consumption after excluding the disturbance can be determined based on the disturbance to the current power consumption and the current power consumption of the air conditioning system, and correspondingly, the target rotating speed of the compressor can be determined based on the size relationship between the current power generation of the photovoltaic system and the power of the current power consumption after excluding the disturbance, which excludes the disturbance of the environmental parameter to the current power consumption of the air conditioning system and more accurately obtains the target rotating speed of the compressor.

[0100] As an optional embodiment, before determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system, further comprising:

[0101] determining the current indoor temperature of the air conditioning system, the historical indoor temperature of the air conditioning system, the current outdoor temperature of the air conditioning system and the historical outdoor temperature of the air conditioning system;

[0102] determining the temperature prediction result of the air conditioning system in the preset time period based on the current indoor temperature, the historical indoor temperature, the current outdoor temperature, the historical outdoor temperature and the preset fitting model;

[0103] determine whether the several temperature values in the temperature prediction result are all located in the preset temperature interval;

[0104] If the several temperature values in the temperature prediction result are all located in the preset temperature interval, a step of determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system is entered.

[0105] In the present application, in order to ensure that the air conditioning system can consume photovoltaic power generation as much as possible under the premise of thermal comfort temperature interval, the current indoor temperature, the historical indoor temperature, the current outdoor temperature and the historical outdoor temperature of the air conditioning system need to be determined first, and the temperature prediction result of the air conditioning system in a preset time period is determined based on the current indoor temperature, the historical indoor temperature, the current outdoor temperature, the historical outdoor temperature and a preset fitting model, and then whether the temperature in the current and the preset time period is suitable can be determined by judging whether the several temperature values in the temperature prediction result are all located in the preset temperature interval. If the several temperature values in the temperature prediction result are all located in the preset temperature interval, the step of determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system can be performed. The reliability of the environment is ensured, and the thermal comfort feeling and the stable operation of the system are ensured, so that the current power generation of the photovoltaic system, the current power consumption of the air conditioning system and the current rotating speed of the compressor of the air conditioning system can be obtained more accurately.

[0106] It should be noted that in the present application, the current indoor temperature, the historical indoor temperature, the current outdoor temperature, the historical outdoor temperature and the preset fitting model are used to fit the temperature prediction result of a preset time period after the current temperature, that is, it is necessary to ensure that the temperature in the future period of time is located within the preset temperature interval. At this time, the power of the photovoltaic air conditioning system is controlled, which can greatly reduce the influence of environmental temperature on power control. For example, the environmental temperature suddenly rises or falls, but at this time, the power control still continues the previous control logic, which may cause the power generation of the photovoltaic system and the power consumption of the air conditioning system to not meet the preset power condition, which will affect the building and the power grid.

[0107] It also needs to be explained that, in addition to considering whether the indoor temperature is in the preset temperature range, the control strategy of the photovoltaic air conditioning system in summer (cooling season) is: Step 1: First, set the upper limit and lower limit of the indoor temperature, obtain the photovoltaic power generation power of the photovoltaic variable frequency air conditioner, the air conditioner running power, the air conditioner compressor running speed, the indoor temperature, determine the allowed range of the air conditioner compressor running speed, and the feedback control time frequency. Step 2: Determine whether the indoor temperature is in the set temperature range; if the result is no, go to step 3; otherwise, go to step 4; Step 3: Determine whether the indoor temperature is lower than the lower limit of the set temperature range; if the result is yes, the air conditioner stops; otherwise, set the air conditioner compressor speed to the highest speed; Step 4: Determine whether the photovoltaic power generation power is greater than the air conditioner power consumption; if the result is yes, go to step 5; otherwise, go to step 6; Step 5: Determine whether the compressor speed is less than the allowed maximum speed; if the result is yes, calculate the increment value of the compressor speed set value based on the difference between the photovoltaic power generation power and the air conditioner power consumption, and adjust the compressor speed of the air conditioning system; otherwise, maintain the compressor speed unchanged; Step 6: Determine whether the compressor speed is greater than the allowed minimum speed; if the result is yes, calculate the decrement value of the compressor speed set value based on the difference between the photovoltaic power generation power and the air conditioner power consumption, and adjust the compressor speed of the air conditioning system; otherwise, maintain the compressor speed unchanged. The overall control process is shown in Figure 6 It needs to be explained that steps 5 and 6 take into account the speed range of the compressor in actual application.

[0108] It also needs to be explained that, in addition to considering the temperature range, the advantages of the scheme proposed by the present application are: 1. The method of directly controlling the compressor speed to change the air conditioner running power greatly improves the response speed and accuracy of the air conditioner power to the distributed photovoltaic power fluctuation. As shown in Figure 7 and Figure 8 are two 1.5 ton air conditioner power response speed diagrams, Figure 7 is the power change curve of the proposed system when adjusting the compressor speed, when the power changes by 0.54kW, the time taken from the adjustment instruction to the system power reaching the target value is 57 seconds; Figure 8 is the power change curve of the ordinary household variable frequency air conditioner when adjusting the temperature, when the temperature set value changes by 2℃, the time taken from the temperature set value change to the system power stabilizing is 7 minutes and 50 seconds, and the power change is 0.3kW.

[0109] 2. The system, control method and control strategy can quickly reduce the impact of photovoltaic power fluctuation on the power grid and reduce the change of power demand and voltage of the power grid.

[0110] 3. The system, control method and control strategy can realize higher photovoltaic self-consumption rate and self-satisfaction rate in actual operation compared with traditional household air conditioners. In a distributed photovoltaic system equipped with energy storage, the capacity of the energy storage system can be greatly reduced, and the investment cost and operation cost of the system can be reduced at the same time.

[0111] As an optional embodiment, the target rotating speed of the compressor is determined based on the size relationship between the current power generation and the current power consumption, including:

[0112] It is judged whether the current power generation is equal to the current power consumption.

[0113] If the current power generation is not equal to the current power consumption, the target rotating speed of the compressor is determined based on the current power generation.

[0114] In the present application, the method for determining the target rotating speed of the compressor based on the size relationship between the current power generation and the current power consumption is to judge whether the current power generation of the photovoltaic system is equal to the current power consumption of the air conditioning system, i.e. whether the electric energy generated by the photovoltaic system is all consumed by the air conditioning system. If the current power generation is not equal to the current power consumption, the target rotating speed of the compressor needs to be determined based on the current power generation, which improves the accuracy of the determination process.

[0115] As an optional embodiment, the target rotating speed of the compressor is determined based on the current power generation, including:

[0116] The rotating speed range of the compressor is determined to obtain the maximum rotating speed of the rotating speed range and the minimum rotating speed of the rotating speed range.

[0117] The current power generation is taken as the target power consumption of the air conditioning system.

[0118] The rotating speed of the compressor corresponding to the target power consumption is determined.

[0119] It is judged whether the rotating speed of the compressor is greater than the maximum rotating speed or the rotating speed of the compressor is less than the minimum rotating speed.

[0120] If the rotating speed of the compressor is greater than the maximum rotating speed or the rotating speed of the compressor is less than the minimum rotating speed, the maximum rotating speed is taken as the target rotating speed or the minimum rotating speed is taken as the target rotating speed.

[0121] In the present application, considering the speed range of the compressor, the current power generation of the photovoltaic system is first taken as the target power consumption of the air conditioning system, and because the power consumption of the air conditioning system has a corresponding relationship with the speed of the compressor, the corresponding speed of the compressor is determined through the determined target power consumption, and then it is judged whether the speed of the compressor is greater than the maximum speed or the speed of the compressor is less than the minimum speed, that is, whether the speed corresponding to the target power consumption exceeds the speed range of the compressor, if it exceeds, the maximum or minimum value in the speed range of the compressor needs to be taken as the target speed of the compressor, which takes into account the speed range of the compressor in practice, improves the reliability and stability of the scheme.

[0122] It should be noted that in actual application, the compressor speed has a threshold value, for example, according to the percentage, the allowable running range of the set speed is 30%-100% speed, that is, 100% speed is the highest speed of the compressor, and the speed cannot be further improved.

[0123] As an optional embodiment, the method for judging whether the current speed and the target speed meet the preset speed condition comprises:

[0124] judging whether the current speed is equal to the target speed;

[0125] If the current speed is equal to the target speed, it is determined that the current speed and the target speed meet the preset speed condition;

[0126] If the current speed is not equal to the target speed, it is determined that the current speed and the target speed do not meet the preset speed condition.

[0127] In the present application, the method for judging whether the current speed and the target speed meet the preset speed condition is to judge whether the current speed of the compressor is equal to the target speed of the compressor, if the current speed of the compressor is equal to the target speed of the compressor, it proves that the current speed and the target speed meet the preset speed condition, otherwise, it proves that the current speed and the target speed do not meet the preset speed condition, which improves the accuracy of the judgment process.

[0128] It should be noted that if the current speed of the compressor is equal to the target speed, it proves that the speed of the compressor does not need to be controlled, and the electric energy generated by the current photovoltaic system is all consumed by the air conditioning system, but this is the most ideal case, in actual application, generally limited by the speed range of the compressor and other factors, even after control, the speed of the compressor will not be equal to the target speed, and a part of the electric energy needs to be transmitted to the power grid, the present scheme can consume as much electric energy generated by the photovoltaic system as possible.

[0129] As an optional embodiment, the current rotating speed and the change speed of the current rotating speed are adjusted based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption, including:

[0130] determining the historical voltage of the grid-connected node of the photovoltaic system and the air conditioning system and the current voltage of the grid-connected node;

[0131] determining the change speed of the actual rotating speed of the compressor based on the historical voltage, the current voltage, the historical power generation, the historical power consumption, the current power generation and the current power consumption;

[0132] performing PID control on the current power consumption and the current power generation;

[0133] transmitting the result of the PID control to the compressor frequency converter controller, so that the compressor frequency converter controller controls the actual rotating speed of the compressor based on the change speed of the actual rotating speed of the compressor, the result of the PID control and the current rotating speed;

[0134] judging whether the actual rotating speed is equal to the target rotating speed;

[0135] if the actual rotating speed is not equal to the target rotating speed, returning to the step of performing the PID control on the current power consumption and the current power generation;

[0136] if the actual rotating speed is equal to the target rotating speed, determining that the adjustment on the current rotating speed is successful.

[0137] In the present application, the specific process of adjusting the current rotating speed is as follows: first, the historical voltage of the grid-connected node of the photovoltaic system and the air conditioning system and the current voltage of the grid-connected node are determined, then the change speed of the actual rotating speed of the compressor is determined based on the historical voltage, the current voltage, the historical power generation, the historical power consumption, the current power generation and the current power consumption, then the PID control is performed on the current power consumption and the current power generation, finally the result of the PID control is transmitted to the compressor frequency converter controller, so that the compressor frequency converter controller controls the actual rotating speed of the compressor based on the change speed of the actual rotating speed of the compressor, the result of the PID control and the current rotating speed, and finally the size relationship between the actual rotating speed of the compressor and the target rotating speed is judged, if the actual rotating speed is not equal to the target rotating speed, the control signal of the compressor needs to be determined again, and the subsequent judgment is repeated until the actual rotating speed of the compressor is equal to the target rotating speed, through the cycle control and judgment, the current rotating speed is accurately adjusted to the target rotating speed.

[0138] It should be noted that for the residential grid-connected photovoltaic air conditioning system or distributed grid-connected photovoltaic air conditioning system, the corresponding grid node bearing value at this time is determined by the power fluctuation value of the photovoltaic air conditioning system itself and the voltage fluctuation value of the grid-connected node. Considering the bearing value of the grid, the application determines the change speed of the actual speed of the compressor based on the historical voltage of the grid-connected node, the current voltage of the grid-connected node, the historical power generation, the historical power consumption, the current power generation and the current power consumption, that is, how long the current speed of the compressor needs to reach the target speed, the speed of this change process, and the bearing value of the grid. Therefore, the application considers the bearing value of the grid, determines the change speed of the actual speed of the compressor, controls the power of the photovoltaic air conditioning system and the bearing value of the grid to be in a balanced state, and is more convenient for actual operation. In addition, for the impact and influence of distributed photovoltaic system power generation on the grid through the air conditioning system, the faster the power consumption of the air conditioning system changes, the better. However, we control the change speed of the compressor speed in order to maintain the life and performance of the air conditioning system, that is, when the speed changes frequently and quickly, it will affect the life of the compressor and the performance of the air conditioning system.

[0139] It should also be noted that in actual application, the change time of the speed of the compressor corresponds to the acceleration time and the deceleration time, and the application can also determine the fastest speed of the change speed of the speed of the compressor, that is, the change time of the speed of the compressor has the smallest limit, for example: the minimum time can only be set to 1 minute, and there is generally no maximum time limit.

[0140] It should also be noted that in the data interaction process of the air conditioning system and the control cabinet 5, the air conditioning system sends the current value of the compressor speed to the data acquisition module and the controller, the inverter 3 sends the power generation and power consumption values to the data acquisition module and the controller, and then the data acquisition module and the controller send the compressor speed setting value instruction to the air conditioning system, thereby adjusting the current speed.

[0141] It should also be noted that the principle of PID control is to use the sum of the proportional gain, the differential gain and the integral gain of the difference between the current power generation and the current power consumption as the change amount of the speed of the compressor, which can accurately obtain the change amount of the speed of the compressor. The sum of the change amount of the speed of the compressor and the current speed of the compressor can determine the actual speed of the compressor, which is convenient for adjusting the current speed of the compressor.

[0142] It is also necessary to point out that in this application, we use the Proportional-Integral-Derivative (PID) closed-loop feedback control method to adjust and optimize the operating state of the air conditioner compressor. PID controller is a feedback control mechanism widely used in engineering field, its main goal is to convert the error signal of the device (i.e. the difference between the expected input and the actual output) into a useful control signal, so that the device can still run stably under the influence of various disturbance factors. In our model, the reference input of the control system is the photovoltaic power generation power, which defines the target state we want to achieve; while the actual output of the control system is the speed of the air conditioner compressor and the running power of the air conditioner. Considering the complexity of the actual application environment, we also introduce disturbance factors, i.e. the indoor and outdoor temperature and humidity changes, which will affect the operation of the system. Finally, we get the actual feedback signal by detecting the power of the air conditioner, and use the PID controller to adjust it, so that the actual output can be as close as possible to the expected reference input. The PID closed-loop feedback control logic diagram when the temperature is in the set temperature interval is shown in Figure 9 .

[0143] It is also necessary to point out that in actual application, PID control is adopted to control the speed of the compressor, Figure 9 where KP is the proportional gain, Ki is the integral gain, and kd is the derivative gain. The input x of the whole PID control is the real-time photovoltaic power generation power, i.e. is the real-time photovoltaic power generation power. After proportional, integral and differential control, the controller sends instructions to the compressor, while the indoor temperature and the outdoor temperature will affect the operation of the compressor, and the output y is the actual speed of the compressor, while the feedback x' is the real-time power of the air conditioner, i.e. is the real-time power of the air conditioner, Figure 9 where the controller is the compressor frequency converter.

[0144] It also needs to be explained that in the PID control, because the proportional gain KP considers the current error, that is, in order to regulate the current power generation of the photovoltaic system and the current power consumption of the air conditioning system, the deviation of the two power values is multiplied by the proportional kp to obtain the proportional gain. The larger the proportional gain kp is, the more aggressive the regulation is. Taking the heater as an example, if the current heating value of the heater is close to the target value, the heater needs to be "lightly" heated, that is, the proportional kp is small, and vice versa. The differential control kd considers the future error. After calculating the first order derivative of the error value between the current power generation of the photovoltaic system and the current power consumption of the air conditioning system, it is multiplied by the constant kd. The purpose is to make the current power consumption of the air conditioning system tend to 0 "change speed" to the target power consumption of the air conditioning system (the current power generation of the photovoltaic system). The integral gain Ki is the integral of the error value between the current power generation of the photovoltaic system and the current power consumption of the air conditioning system multiplied by the constant ki. The purpose is to make the power consumption of the air conditioning system accurately reach the current power generation of the photovoltaic system. For example: when the heating device is in a very cold place and wants to heat from 45℃ to 50℃, but the weather is too cold, the proportional gain thinks that the current temperature is close to the target temperature, so it only needs to be lightly heated, but the differential gain thinks that the heating and heat dissipation are equal, and the temperature does not fluctuate, so it does not need to be adjusted. Only proportional gain and differential gain will make the temperature stay at 45℃ forever and never reach 50℃. Therefore, the integral gain is introduced, and an integral amount is set. As long as the deviation exists, the deviation needs to be integrated (accumulated) and reflected in the adjustment force. In this way, 45℃ will eventually reach 50℃ over time.

[0145] Please refer to Figure 10 , Figure 10 A structure diagram of a photovoltaic air conditioning system power control device provided by the application. The device comprises:

[0146] The first determination unit 11 is configured to determine the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current rotating speed of the compressor of the air conditioning system.

[0147] The second determination unit 12 is configured to determine the target rotating speed of the compressor based on the size relationship between the current power generation and the current power consumption.

[0148] The judgment unit 13 is configured to judge whether the current rotating speed and the target rotating speed satisfy a preset rotating speed condition.

[0149] The adjusting unit 14 is configured to adjust the current rotating speed and the change speed of the current rotating speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation and the current power consumption when the preset rotating speed condition is not met, so that the preset rotating speed condition is met between the current rotating speed and the target rotating speed, and the preset power condition is met between the current power generation and the power consumption of the air conditioning system.

[0150] The photovoltaic air conditioning system power control device provided by the embodiment has the same beneficial effects as the method, and therefore the description of the embodiment of the photovoltaic air conditioning system power control device can refer to the description of the embodiment of the method.

[0151] Please refer to Figure 11 , Figure 11 The structure of the electronic device provided by the embodiment is shown in the figure. The structure includes:

[0152] The memory 20 is configured to store the computer program.

[0153] The processor 21 is configured to execute the computer program to implement the steps of the photovoltaic air conditioning system power control method.

[0154] The electronic device provided by the embodiment can include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.

[0155] The processor 21 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one of a hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 21 can also include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state, also known as a central processing unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 can be integrated with a graphics processing unit (GPU) that is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 can also include an artificial intelligence (AI) processor that is configured to process machine learning-related computing operations.

[0156] The memory 20 can include one or more computer-readable storage media that can be non-transitory. The memory 20 can also include high-speed random access memory and nonvolatile, computer-readable storage media such as one or more magnetic disk storage devices, flash memory devices. In this embodiment, the memory 20 is used at least to store the following computer program 201, wherein the computer program is loaded and executed by the processor 21 and can implement the related steps of the photovoltaic air conditioner system power control method disclosed in any of the foregoing embodiments. In addition, the resources stored by the memory 20 can also include an operating system 202 and data 203, etc., and the storage mode can be temporary storage or permanent storage. The operating system 202 can include Windows, Unix, Linux, etc. The data 203 can include but is not limited to the photovoltaic air conditioner system power control method, etc.

[0157] In some embodiments, the electronic device can further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0158] Those skilled in the art can understand that, Figure 11 The structure shown in the foregoing embodiments does not constitute a limitation on the electronic device, and can include more or fewer components than those shown in the drawings.

[0159] The present embodiment aims to provide an electronic device, wherein the memory 20 is used to store a computer program, and the processor 21 is used to execute the computer program to implement the steps of the photovoltaic air conditioner system power control method as described above, so that the process of control is more efficient and accurate.

[0160] The present application also provides an embodiment of a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the photovoltaic air conditioner system power control method as described above.

[0161] It can be understood that if the method in the foregoing embodiments is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and executes all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0162] The computer readable storage medium provided by the embodiment corresponds to the method described above, and has the same beneficial effects as the method. Therefore, the embodiments of the computer readable storage medium are described in the description of the embodiments of the method, and will not be described here.

[0163] It should be noted that the relational terms herein such as first and second and the like are used solely to distinguish one entity or action from another, without necessarily requiring or implying any actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by an "including a" statement does not exclude the existence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0164] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A power control method for a photovoltaic air conditioning system, characterized in that, include: Determine the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor of the air conditioning system; The target speed of the compressor is determined based on the relationship between the current power generation and the current power consumption. Determine whether the current rotational speed and the target rotational speed meet a preset rotational speed condition; If the preset rotational speed condition is not met, the current rotational speed and the rate of change of the current rotational speed are adjusted based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation, and the current power consumption, so that the current rotational speed and the target rotational speed meet the preset rotational speed condition, and the current power generation and the power consumption of the air conditioning system meet the preset power condition. Adjusting the current rotation speed and the rate of change of the current rotation speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation, and the current power consumption includes: Determine the historical voltage of the grid connection node of the photovoltaic system and the air conditioning system, as well as the current voltage of the grid connection node; The actual speed change rate of the compressor is determined based on the historical voltage, the current voltage, the historical power generation, the historical power consumption, the current power generation, and the current power consumption. PID control is applied to the current power consumption and the current power generation. The result of the PID control is transmitted to the compressor frequency converter, so that the compressor frequency converter controls the actual speed of the compressor based on the rate of change of the actual speed of the compressor, the result of the PID control, and the current speed. Determine whether the actual rotational speed is equal to the target rotational speed; If the actual rotational speed is not equal to the target rotational speed, then return to the step of performing PID control on the current power consumption and the current power generation. If the actual rotational speed is equal to the target rotational speed, then the adjustment of the current rotational speed is determined to be successful.

2. The power control method for a photovoltaic air conditioning system as described in claim 1, characterized in that, After determining the current power consumption of the air conditioning system, the following steps are also included: Determine the current indoor parameters and the current outdoor parameters of the air conditioning system, wherein the current indoor parameters include: the current indoor temperature and / or the current indoor humidity of the air conditioning system; and the current outdoor parameters include: the current outdoor temperature and / or the current outdoor humidity of the air conditioning system. The disturbance to the current power consumption is determined based on the current indoor parameters and the current outdoor parameters, wherein the disturbance is the change in indoor and outdoor temperature and humidity; Based on the disturbance and the current power consumption, determine the power of the current power consumption after eliminating the disturbance; Accordingly, determining the target speed of the compressor based on the relationship between the current power generation and the current power consumption includes: The target speed of the compressor is determined based on the relationship between the current power generation and the power after eliminating the disturbance; The process of obtaining the power after eliminating the disturbance includes: Test the power of the air conditioner; Obtain the actual air conditioner power; The actual air conditioning power is adjusted using a PID controller to obtain the power after eliminating the disturbance.

3. The power control method for a photovoltaic air conditioning system as described in claim 1, characterized in that, Before determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the air conditioning system's compressor, the method further includes: Determine the current indoor temperature of the air conditioning system, the historical indoor temperature of the air conditioning system, the current outdoor temperature of the air conditioning system, and the historical outdoor temperature of the air conditioning system; Based on the current indoor temperature, the historical indoor temperature, the current outdoor temperature, the historical outdoor temperature, and a preset fitting model, the temperature prediction result of the air conditioning system within a preset time period is determined; Determine whether all temperature values ​​in the temperature prediction result are within a preset temperature range; If several temperature values ​​in the temperature prediction results are all within the preset temperature range, then proceed to the step of determining the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor of the air conditioning system.

4. The power control method for a photovoltaic air conditioning system as described in claim 1, characterized in that, Determining the target speed of the compressor based on the relationship between the current power generation and the current power consumption includes: Determine whether the current power generation is equal to the current power consumption; If the current power generation is not equal to the current power consumption, then the target speed of the compressor is determined based on the current power generation.

5. The power control method for a photovoltaic air conditioning system as described in claim 4, characterized in that, Determining the target speed of the compressor based on the current power generation includes: Determine the speed range of the compressor to obtain the maximum speed and the minimum speed within the speed range; The current power generation capacity is taken as the target power consumption of the air conditioning system; Determine the compressor speed corresponding to the target power consumption; Determine whether the compressor speed is greater than the maximum speed or whether the compressor speed is less than the minimum speed; If the compressor speed is greater than the maximum speed or less than the minimum speed, then the maximum speed is taken as the target speed or the minimum speed is taken as the target speed.

6. The power control method for a photovoltaic air conditioning system as described in claim 1, characterized in that, The step of determining whether the current rotational speed and the target rotational speed meet a preset rotational speed condition includes: Determine whether the current rotational speed is equal to the target rotational speed; If the current rotational speed is equal to the target rotational speed, then it is determined that the current rotational speed and the target rotational speed satisfy a preset rotational speed condition; If the current rotational speed is not equal to the target rotational speed, it is determined that the current rotational speed and the target rotational speed do not meet the preset rotational speed condition.

7. A power control device for a photovoltaic air conditioning system, characterized in that, include: The first determining unit is used to determine the current power generation of the photovoltaic system, the current power consumption of the air conditioning system, and the current speed of the compressor of the air conditioning system. The second determining unit is used to determine the target speed of the compressor based on the relationship between the current power generation and the current power consumption. The judgment unit is used to determine whether the current rotational speed and the target rotational speed meet a preset rotational speed condition; An adjustment unit is used to adjust the current rotation speed and the rate of change of the current rotation speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation, and the current power consumption when the preset rotation speed condition is not met, so as to make the current rotation speed and the target rotation speed meet the preset rotation speed condition, and to make the current power generation and the power consumption of the air conditioning system meet the preset power condition; Adjusting the current rotation speed and the rate of change of the current rotation speed based on the historical power generation of the photovoltaic system, the historical power consumption of the air conditioning system, the current power generation, and the current power consumption includes: Determine the historical voltage of the grid connection node of the photovoltaic system and the air conditioning system, as well as the current voltage of the grid connection node; The actual speed change rate of the compressor is determined based on the historical voltage, the current voltage, the historical power generation, the historical power consumption, the current power generation, and the current power consumption. PID control is applied to the current power consumption and the current power generation. The result of the PID control is transmitted to the compressor frequency converter, so that the compressor frequency converter controls the actual speed of the compressor based on the rate of change of the actual speed of the compressor, the result of the PID control, and the current speed. Determine whether the actual rotational speed is equal to the target rotational speed; If the actual rotational speed is not equal to the target rotational speed, then return to the step of performing PID control on the current power consumption and the current power generation. If the actual rotational speed is equal to the target rotational speed, then the adjustment of the current rotational speed is determined to be successful.

8. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the power control method for a photovoltaic air conditioning system as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power control method for a photovoltaic air conditioning system as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Controlling method enabling solar photovoltaic air conditioning system to independently operate

    CN109668282A

  • Method and device for solar air conditioning

    WO2015079165A1