Energy control method and apparatus, computer device, and storage medium

By obtaining the photovoltaic power supply power, battery capacity and micro-inverse setting power, and dynamically adjusting the battery charge and discharge power, the problem of difficult power when the micro-inverse solar panel is connected to the public power grid is solved, and the effect of efficient energy utilization and extended battery life is achieved.

WO2025092891A1PCT designated stage expired Publication Date: 2025-05-08GUANGZHOU RIMSEA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/128851
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-01
Filing Date
2024-10-31
Publication Date
2025-05-08

AI Technical Summary

Technical Problem

When the micro-inverse solar panel is connected to the public power grid, the electrical energy generated by the photovoltaic power generation system is difficult to control, resulting in unreasonable charging and discharging timing and power of the energy storage battery, which can easily have a negative impact on the battery performance and waste of resources.

Method used

By obtaining the photovoltaic power supply power, battery capacity and micro-inverse power, the battery usage parameters, including charging power and discharge power, are determined. According to the micro-inverse setting power, the battery is controlled to enter the operating mode of charging and discharging while charging or not discharging, and adjust the charging and discharging power according to the photovoltaic power supply power to achieve efficient utilization of electrical energy.

Benefits of technology

By dynamically adjusting the battery's charging and discharging power, it improves energy utilization and battery performance, reduces the risk of overcharge and discharge of batteries, extends battery life, and maximizes the use of solar power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024128851_08052025_PF_FP_ABST
    Figure CN2024128851_08052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to an energy control method and apparatus, a computer device, a storage medium, and a computer program product. The method comprises: acquiring photovoltaic supply power, battery capacity, and micro-inverter set power, wherein the micro-inverter set power is used to indicate power provided by a micro-inverter to a load; and on the basis of the photovoltaic supply power, the battery capacity, and the micro-inverter set power, determining power consumption parameters of a battery, wherein the power consumption parameters comprise charging power and discharging power. According to the method, by means of controlling the charging and discharging power of the battery, solar energy converted by a photovoltaic panel can be matched with energy required by the load, thereby improving energy utilization and battery performance.
Need to check novelty before this filing date? Find Prior Art

Description

Energy control method, device, computer equipment and storage medium Technical Field

[0001] The present application relates to the field of new energy management technology, and in particular to an energy control method, apparatus, computer equipment, storage medium, and computer program product. Background Art

[0002] With the development of the new energy industry, various technologies have emerged to rationalize the use, control, and improvement of new energy sources. For example, solar panels are used to convert solar energy into direct current (DC) electricity, and central inverters convert DC into alternating current (AC) electricity for household and industrial use, reducing reliance on traditional energy sources. However, this traditional approach inevitably results in a certain degree of solar energy waste, and damage to a single solar panel can cause system failures.

[0003] Currently, by integrating a micro-inverter on each solar panel, each panel can directly convert electrical energy into AC power. This micro-inverter solar panel can improve the efficiency of the entire system and reduce power loss, and also enable each panel to operate independently.

[0004] However, when micro-inverter solar panels are connected to the public power grid, the electricity generated by the photovoltaic power generation system and the electricity transmitted to the public power grid are difficult to control. If energy storage batteries are added to the system, the interaction between the energy storage batteries and the public power grid needs to consider factors such as the grid's acceptance capacity, electricity prices and electricity fee calculations. If the charging and discharging timing and power of the energy storage batteries are unreasonable, it is easy to have a negative impact on battery performance and cause waste of resources. Summary of the Invention

[0005] Based on this, it is necessary to provide an energy control method, device, computer equipment, computer-readable storage medium and computer program product that can improve energy utilization and battery performance by controlling the charging and discharging power of the battery to address the above technical problems.

[0006] In a first aspect, the present application provides an energy control method, comprising:

[0007] Obtaining photovoltaic power supply power, battery capacity, and microinverter set power, where the microinverter set power is used to represent the power provided by the microinverter to the load;

[0008] Based on the photovoltaic power supply power, battery capacity and micro-inverter setting power, the power usage parameters of the battery are determined, and the power usage parameters include charging power and discharging power.

[0009] In one embodiment, the power usage parameter of the battery is determined based on the photovoltaic power supply power, the battery capacity, and the micro-inverter setting power, including at least one of the following two items:

[0010] Item 1: When the micro-inverter set power is greater than the target value, the battery is controlled to enter a charge-and-discharge operation mode, and the charging power is adjusted based on the photovoltaic power supply power, so that the adjusted charging power is equal to the photovoltaic power supply power;

[0011] Item 2: When the micro-inverter set power is less than or equal to the target value, the battery is controlled to enter a charge-only mode, and the charging power is adjusted based on the photovoltaic power supply power, so that the adjusted charging power is equal to the photovoltaic power supply power.

[0012] In one embodiment, determining the battery power parameters based on the photovoltaic power supply power, battery capacity, and micro-inverter setting power further includes:

[0013] When the micro-inverter set power is greater than a target value, if the battery capacity is less than a first preset capacity threshold, the discharge power is determined based on a magnitude relationship between half of the charging power and the micro-inverter set power.

[0014] In one embodiment, determining the discharge power based on a magnitude relationship between half of the charging power and the micro-inverter setting power includes:

[0015] When half of the charging power is greater than the micro-inverter setting power, adjusting the discharge power based on the micro-inverter setting power, so that the adjusted discharge power is equal to the micro-inverter setting power;

[0016] When half of the charging power is less than or equal to the micro-inverter set power, the discharging power is adjusted based on the charging power, and the adjusted discharging power is half of the charging power.

[0017] In one embodiment, determining the battery power parameters based on the photovoltaic power supply power, the battery capacity, and the micro-inverter setting power further includes:

[0018] When the micro-inverter setting power is greater than a target value, if the battery capacity is greater than or equal to a first preset capacity threshold, adjusting the discharge power based on the micro-inverter setting power, so that the adjusted discharge power is equal to the micro-inverter setting power;

[0019] The change in the battery capacity is monitored, and the discharge power is adjusted based on the change in the battery capacity.

[0020] In one embodiment, monitoring the change in the battery capacity and adjusting the discharge power based on the change in the battery capacity includes:

[0021] If the battery capacity increases or remains unchanged, the discharge power is maintained unchanged;

[0022] If the battery capacity decreases to less than a second preset capacity threshold, the discharging power is adjusted based on the charging power, and the adjusted discharging power is equal to half of the charging power.

[0023] In one embodiment, when the micro-inverter set power is less than or equal to the target value, the battery is controlled to enter a charge-only mode, and the charging power is adjusted based on the photovoltaic power supply power. After the adjusted charging power is equal to the photovoltaic power supply power, the method further includes:

[0024] Based on the photovoltaic power supply, the charging power and the discharging power of the battery are determined.

[0025] In one embodiment, determining the charging power and discharging power of the battery based on the photovoltaic power supply power includes:

[0026] When the photovoltaic power supply power is not 0, if the battery capacity reaches the rated capacity, the charging power and the discharging power of the battery are determined based on the relationship between the photovoltaic power supply power and the micro-inverter setting power.

[0027] In one embodiment, if the battery capacity reaches the rated capacity, the charging power and discharging power of the battery are determined based on the relationship between the photovoltaic power supply power and the micro-inverter setting power, including:

[0028] When the photovoltaic power supply power is greater than or equal to the micro-inverter setting power, controlling the charging power and the discharging power to be 0;

[0029] When the photovoltaic power supply power is less than the micro-inverter setting power, the value of the charging power is adjusted to the photovoltaic power supply power, and the value of the discharging power is adjusted to the micro-inverter setting power.

[0030] In one embodiment, determining the charging power and discharging power of the battery based on the photovoltaic power supply power further includes:

[0031] When the photovoltaic power supply power is 0, the charging power is controlled to be 0 and the discharging power is controlled to be the micro-inverter setting power;

[0032] When the battery capacity is less than a second preset capacity threshold, the charging power and the discharging power are controlled to be 0.

[0033] In a second aspect, the present application further provides an energy control device, comprising:

[0034] A parameter acquisition module is used to obtain photovoltaic power supply power, battery capacity and micro-inverter setting power, wherein the micro-inverter setting power is used to represent the power provided by the micro-inverter to the load;

[0035] The power parameter determination module is used to determine the power parameters of the battery based on the photovoltaic power supply power, battery capacity and micro-inverter setting power, and the power parameters include charging power and discharging power.

[0036] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above-described method when executed by a processor.

[0038] In a fifth aspect, the present application further provides a computer program product, which includes a computer program that implements the steps of the above method when executed by a processor.

[0039] The aforementioned energy control method, apparatus, computer device, storage medium, and computer program product obtain the photovoltaic power supply, battery capacity, and microinverter set power, where the microinverter set power represents the power provided by the microinverter to the load; and determine the battery's power parameters based on the photovoltaic power supply, battery capacity, and microinverter set power, where the power parameters include charging power and discharging power. By adjusting the battery's charge and discharge power, the battery's power parameters can be adjusted to best meet load requirements, maximize solar power utilization, and reduce the risk of overcharging and discharging the battery, thereby improving energy efficiency and battery performance. Therefore, the aforementioned method can improve energy utilization and battery performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] FIG1 is a diagram illustrating an application environment of an energy control method according to an embodiment;

[0042] FIG2 is a schematic flow chart of an energy control method according to an embodiment;

[0043] FIG3 is a schematic diagram of a process for determining a battery operating mode based on a microinverter power setting in one embodiment;

[0044] FIG4 is a schematic diagram of a process for determining discharge power based on half of the charging power and the micro-inverter setting power in one embodiment;

[0045] FIG5 is a schematic diagram of a process for adjusting discharge power based on battery capacity in one embodiment;

[0046] FIG6 is a schematic diagram of a process for adjusting discharge power based on battery capacity in one embodiment;

[0047] FIG7 is a schematic diagram of a process for determining the charging and discharging power based on the relationship between the photovoltaic power supply power and the micro-inverter setting power after the battery reaches the rated capacity in one embodiment;

[0048] FIG8 is a schematic diagram of a process for determining discharge power based on battery capacity when the photovoltaic power supply power is 0 in one embodiment;

[0049] FIG9 is a schematic flow chart of an energy control method according to an embodiment;

[0050] FIG10 is a block diagram of an energy control device according to an embodiment;

[0051] FIG11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0053] The energy control method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the photovoltaic panel 102, the battery 104, and the micro-inverter 106 communicate with the server 108 through the network. The database 110 can store the data that the server 108 needs to process, including the photovoltaic power supply power, the battery capacity, the micro-inverter setting power, the battery charging power and the discharging power. The database 110 can be integrated on the server 108, or it can be placed on the cloud or other network servers. The server 108 obtains and processes the photovoltaic power supply power provided by the photovoltaic panel 102, the battery capacity provided by the battery 104, and the micro-inverter setting power provided by the micro-inverter 106 through the communication network, and then generates the battery charging power and discharging power, and adjusts the charging and discharging power of the battery 104 through the network so that the energy converted by the photovoltaic panel matches the energy required by the load as much as possible without damaging the battery performance. Among them, the server 108 can be implemented as an independent server or a server cluster consisting of multiple servers.

[0054] In some embodiments, as shown in FIG2 , an energy control method is provided. The method is described by taking the server 108 in FIG1 as an example, and includes the following steps:

[0055] S202: Acquire photovoltaic power supply power, battery capacity, and micro-inverter set power, where the micro-inverter set power is used to represent the power provided by the micro-inverter to the load.

[0056] Photovoltaic power refers to the electrical energy generated by photovoltaic components, such as solar panels (photovoltaic cells), at a specific moment in time. This power value is typically measured in watts (W). As a key performance indicator of solar power systems, photovoltaic power can be used to measure the energy conversion capacity of solar power systems. In practice, photovoltaic power can be obtained through a variety of methods, not limited here. For example, a dedicated solar monitoring system can be installed, which uses sensors to measure the output power of solar panels. Some solar power system vendors offer remote monitoring services that regularly monitor system performance and provide reports, including power supply power.

[0057] Battery capacity is a measure of the amount of energy a battery can store, typically expressed in ampere-hours (Ah) or kilowatt-hours (kWh). It indicates how much energy a battery can provide over a given period of time. There are many ways to obtain battery capacity, which are not limited here. For example, you can equip the battery system with monitoring equipment and use the monitoring system's interface or application to obtain the battery's real-time status, including the battery's current state of charge and capacity.

[0058] The microinverter set power refers to the output set power of the microinverter, which is used to indicate the power the microinverter provides to the load. A microinverter is a device used in solar power systems. Its main function is to convert the direct current generated by solar panels into alternating current and supply it to the load or the grid. Unlike traditional centralized inverters, each solar panel is typically equipped with an independent microinverter, which makes the system more flexible and monitorable. Microinverters often have adjustable power output to adapt to different operating conditions and needs. For example, the microinverter can be equipped with a monitoring system, and the microinverter power setting can be accessed through an interface or application connected to the monitoring system, thereby adjusting the microinverter set power.

[0059] S204: Determine battery power parameters based on photovoltaic power supply power, battery capacity, and micro-inverter setting power. The power parameters include charging power and discharging power.

[0060] A battery's charge and discharge power is a measure of the amount of electrical power a battery can provide or receive over a given period of time, typically measured in watts (W). A battery's charge power is the power it can handle when receiving charging current, while its discharge power is the power it can provide when delivering current to a load.

[0061] Specifically, determining the battery's power parameters (charging power and discharging power) usually requires considering factors such as the design of the solar system, the battery's capacity, and the load. In the present application, the battery's power parameters are determined based on the photovoltaic power supply power, battery capacity, and micro-inverter setting power. In specific implementation, the appropriate battery charging power and discharging power can be selected by real-time monitoring of the photovoltaic power supply power, battery capacity, and micro-inverter setting power to ensure battery safety and maximize the use of solar power. For example, when solar energy resources are sufficient, the battery can obtain a larger charging power to store more energy, while on cloudy days or under low solar radiation conditions, the battery can discharge to meet the load demand, thereby avoiding power outages or energy shortages.

[0062] In this embodiment, by collecting real-time data of the solar energy system, including photovoltaic power supply, battery capacity, and micro-inverter setting power, the battery charging power and discharging power are set so that the battery can balance between solar power supply and load demand. That is, the battery charging and discharging power can be automatically adjusted according to real-time data to meet load demand and maximize the use of solar energy resources, reducing dependence on traditional power grids. In addition, real-time monitoring of battery capacity and controlling the charging and discharging power according to the battery capacity can extend the life of the battery and prevent the battery from being in an overcharged or over-discharged state for a long time. In summary, this method of real-time monitoring and dynamic management of battery charging and discharging power helps to improve the efficiency and reliability of the solar power supply system.

[0063] In some embodiments, as shown in FIG3 , determining the battery power parameters based on the photovoltaic power supply power, the battery capacity, and the micro-inverter setting power includes the following steps:

[0064] S302: Determine whether the micro-inverter setting power is greater than the target value.

[0065] The microinverter set power represents the power provided by the microinverter to the load. In a specific embodiment, the target value can be 0. If the microinverter set power is greater than 0, it indicates that there is a load and the PV system is required to supply power to the load. If the microinverter set power is equal to 0, it indicates that there is no load or the PV system is not required to supply power to the load. Generally speaking, the microinverter set power will not be less than 0.

[0066] S304: When the micro-inverter power setting is greater than the target value, the battery is controlled to enter a charge-and-discharge operation mode, and the charging power is adjusted based on the photovoltaic power supply power, so that the adjusted charging power is equal to the photovoltaic power supply power.

[0067] When the micro-inverter power setting is greater than the target value, the battery is controlled to enter the charge-and-discharge working mode. In this case, the charging power is adjusted based on the photovoltaic power supply power. The adjusted charging power is equal to the photovoltaic power supply power, so as to make full use of the electricity generated by the photovoltaic panel to meet the battery charging and load requirements at the same time.

[0068] S306: When the micro-inverter power setting is less than or equal to the target value, the battery is controlled to enter a charge-only mode, and the charging power is adjusted based on the photovoltaic power supply power, so that the adjusted charging power is equal to the photovoltaic power supply power.

[0069] When the micro-inverter power setting is less than or equal to the target value, there is no load or the photovoltaic system does not need to supply power to the load, and the battery is controlled to enter a charging-only mode. In this case, the charging power is adjusted based on the photovoltaic power supply power. The adjusted charging power is equal to the photovoltaic power supply power to fully utilize the electricity generated by the photovoltaic panels and convert it all into electricity stored in the battery to provide electricity to the load when needed.

[0070] In this embodiment, the battery's operating mode is determined based on the microinverter's set power, including a simultaneous charge-discharge mode and a charge-only mode. In the simultaneous charge-discharge mode, the photovoltaic power supply is used as the charging power to fully utilize solar energy resources, allowing the battery to charge and simultaneously meet load demand. In the charge-only mode, the photovoltaic power supply is used as the charging power to maximize solar power storage. The battery stores power but does not use it to meet load demand. By controlling the battery's operating mode through real-time monitoring of the microinverter's set power, better management of the battery's charge and discharge operations is achieved.

[0071] In some embodiments, determining the battery power parameters based on the photovoltaic power supply power, the battery capacity, and the micro-inverter setting power further includes:

[0072] When the micro-inverter set power is greater than the target value, if the battery capacity is less than the first preset capacity threshold, the discharge power is determined based on the relationship between half of the charging power and the micro-inverter set power.

[0073] The first preset capacity threshold can be manually set as one of the critical values ​​for adjusting the battery discharge power. For example, the first preset capacity threshold is set to 10% of the battery's rated capacity. When the microinverter set power is greater than the target value and the battery capacity is less than 10% of the battery's rated capacity, the battery's charging power is the photovoltaic power supply. The discharge power at this time needs to be determined based on the relationship between half of the charging power and the microinverter set power. This allows the battery to still be used and meet load demand even when the battery capacity is low.

[0074] In this embodiment, the battery discharge power needs to be determined based on the relationship between half of the charging power and the micro-inverter setting power. At this time, the battery charging power is the photovoltaic power supply power. Both the photovoltaic power supply power and the micro-inverter setting power need to be obtained in real time to dynamically adjust the charging and discharging power according to real-time data and battery status. The above scheme allows for reasonable management of the battery discharge operation when the battery capacity is limited, ensuring the efficiency of the system and the health of the battery.

[0075] In some embodiments, as shown in FIG4 , determining the discharge power based on the relationship between half of the charging power and the micro-inverter set power includes the following steps:

[0076] S402: Determine whether half of the charging power is greater than the micro-inverter set power.

[0077] At this time, the charging power is the photovoltaic power supply power, which actually determines whether half of the photovoltaic power supply power is greater than the micro-inverter set power. The above steps can help determine whether the discharge power can cover the micro-inverter set power to meet the load requirements if the discharge power is half of the charging power.

[0078] S404: When half of the charging power is greater than the micro-inverter setting power, the discharging power is adjusted based on the micro-inverter setting power, so that the adjusted discharging power is equal to the micro-inverter setting power.

[0079] In practical applications, when half of the charging power is greater than the micro-inverter setting power, the discharge power value can be adjusted to the micro-inverter setting power value, which means that the battery will meet the load demand with the size of the micro-inverter setting power to ensure that while the battery's discharge power can meet the load demand, as much solar energy converted into electricity as possible is stored in the battery to maximize the utilization of solar energy resources.

[0080] S406: When half of the charging power is less than or equal to the micro-inverter set power, the discharging power is adjusted based on the charging power, and the adjusted discharging power is half of the charging power.

[0081] When half of the charging power is less than or equal to the micro-inverter set power, the discharge power is adjusted to half of the charging power. At this point, the discharge power cannot meet the micro-inverter set power, and the shortfall needs to be supplemented by the public grid to meet the load demand. When the battery's discharge power is half of the charging power, the battery capacity continues to accumulate, preventing the battery from being in a low-power state for long periods of time, extending the battery's service life and ensuring that the battery can meet load demand as much as possible while protecting battery performance when photovoltaic resources are limited or load demand is high.

[0082] In this embodiment, the battery discharge power is determined by real-time monitoring of the photovoltaic power supply, battery capacity, and microinverter set power in the photovoltaic system. When the discharge power meets the microinverter set power, the difference between the photovoltaic power supply and the microinverter set power is used as stored energy in the battery. When the discharge power does not meet the microinverter set power, the discharge power is set to half the charging power to protect the battery, and the remaining energy is supplemented by the public grid. This dynamic monitoring and adjustment method dynamically adjusts the charge and discharge power based on real-time data and battery status to meet system requirements as much as possible, helping to balance the performance and efficiency of the photovoltaic system under different conditions.

[0083] In some embodiments, as shown in FIG5 , determining the battery power parameters based on the photovoltaic power supply power, the battery capacity, and the micro-inverter setting power further includes the following steps:

[0084] S502: When the micro-inverter set power is greater than the target value, if the battery capacity is greater than or equal to a first preset capacity threshold, adjusting the discharge power based on the micro-inverter set power, and the adjusted discharge power is equal to the micro-inverter set power.

[0085] The first preset capacity threshold can be manually set as one of the critical values ​​for adjusting the battery discharge power, and is the same concept as the first preset capacity threshold mentioned above. For example, if the first preset capacity threshold is set to 10%, when the micro-inverter setting power is greater than the target value and the battery capacity is greater than or equal to 10% of the rated capacity, the battery will not be damaged due to low power. Therefore, the discharge power can be set to the micro-inverter setting power, which means that the battery will provide power equal to the micro-inverter setting power to meet the load demand. The above solution helps ensure that the system can maximize the utilization of solar energy resources and provide power to the load when the battery capacity allows.

[0086] S504: Monitor the change of battery capacity, and adjust the discharge power based on the change of battery capacity.

[0087] Real-time monitoring of battery capacity and setting of battery capacity thresholds are performed. Based on the difference between the real-time monitored battery capacity and the set capacity threshold, the discharge power is updated to maximize battery capacity and provide power as needed. A battery management system or monitoring device can be used to monitor battery parameters such as voltage, current, and temperature in real time to reflect battery capacity.

[0088] Specifically, if the battery capacity is close to or below a capacity threshold, the discharge power is reduced to extend the battery's runtime. If the battery capacity is high, the discharge power can be determined based on the micro-inverter power setting to meet the load demand. This solution is a dynamic response process, adjusting the discharge power based on actual changes in battery capacity. This process can be implemented through algorithms in the battery management system to automatically control the discharge power.

[0089] In this embodiment, real-time monitoring of battery capacity changes is combined with microinverter power settings to optimize battery charging and discharging. This real-time monitoring and dynamic adjustment ensures a reliable power supply under varying conditions, maximizes solar resource utilization, and maintains battery health.

[0090] In some embodiments, as shown in FIG6 , monitoring a change in battery capacity and adjusting discharge power based on the change in battery capacity include the following steps:

[0091] S602: If the battery capacity increases, the discharge power is maintained unchanged.

[0092] At this time, the discharge power is the micro-inverter setting power, and the charging power is the photovoltaic power supply power. If the battery capacity increases, it means that the charging power is greater than or equal to the discharge power, and the photovoltaic power supply power can cover the micro-inverter setting power. Therefore, there is no need to adjust the discharge power to achieve full utilization of solar energy.

[0093] S604: If the battery capacity decreases to less than a second preset capacity threshold, the discharge power is adjusted based on the charging power, and the adjusted discharge power is equal to half of the charging power.

[0094] The second preset capacity threshold is typically related to the inherent properties of the battery and is used to indicate over-discharge capacity. When the battery capacity is lower than the second preset capacity threshold, the battery may overheat, be damaged, have a reduced lifespan, or experience safety issues due to the low capacity. Therefore, it is not recommended that the battery capacity be lower than the second preset capacity threshold. When the battery capacity is detected to be less than the second preset capacity threshold, the discharge power is adjusted based on the charging power. The adjusted discharge power is equal to half of the charging power, which means that the battery will meet the load demand with half of the current charging power. The insufficient load demand will be supplemented by the public grid. At the same time, the remaining photovoltaic power supply will be used to charge the battery to ensure that the battery capacity does not continue to decrease and the battery is not over-discharged, thereby extending the battery life.

[0095] In this embodiment, the battery capacity is monitored in real time. If the battery capacity increases or remains unchanged, the discharge power is maintained. If the battery capacity decreases to less than a second preset capacity threshold, the discharge power is adjusted based on the charging power, with the adjusted discharge power equal to half the charging power. This solution ensures that even when the battery capacity decreases, the system can still provide a reliable power supply and maintain the battery's health, while fully utilizing solar resources to meet load demand as much as possible.

[0096] In some embodiments, when the micro-inverter power setting is equal to 0, the battery is controlled to enter a charge-only mode, and the charging power is adjusted based on the photovoltaic power supply power. After the adjusted charging power is equal to the photovoltaic power supply power, the following steps are further included:

[0097] Based on the photovoltaic power supply, the charging power and discharging power of the battery are determined.

[0098] PV power generation fluctuates over time. For example, during the day, PV power generation is dependent on factors like light intensity and temperature, while at night, it is zero. Therefore, real-time monitoring of PV power generation and adjusting battery charging and discharging power based on this information helps maximize the conversion of solar energy into battery energy storage or to meet load demands, improving the efficiency and cost-effectiveness of solar systems.

[0099] In some embodiments, determining the charging power and discharging power of the battery based on the photovoltaic power supply includes:

[0100] When the photovoltaic power supply power is not 0, if the battery capacity reaches the rated capacity, the battery charging power and discharging power are determined based on the relationship between the photovoltaic power supply power and the micro-inverter setting power.

[0101] When the photovoltaic power supply power is not zero, it means that the photovoltaic system can still convert solar energy. If the battery capacity reaches the rated capacity at this time, it means that the battery can no longer be charged. At this time, it is necessary to determine the battery charging power and discharging power based on the relationship between the photovoltaic power supply power and the microinverter setting power to maximize the use of available solar energy resources and manage the battery charging and discharging according to system requirements.

[0102] In this embodiment, the volatility of photovoltaic power supply is taken into account, and the relationship between photovoltaic power supply power and micro-inverter setting power is used as a consideration for determining battery charging power and discharging power. This is conducive to making full use of solar energy to meet load demand under different environmental factors and reducing dependence on the public power grid.

[0103] In some embodiments, as shown in FIG7 , if the battery capacity reaches the rated capacity, the charging power and discharging power of the battery are determined based on the relationship between the photovoltaic power supply power and the microinverter setting power, including:

[0104] S702: When the photovoltaic power supply power is greater than or equal to the micro-inverter set power, the charging power and the discharging power are controlled to be 0.

[0105] At this point, the battery has reached its full capacity, and the PV power supply is greater than or equal to the micro-inverter power setting, meaning the PV power supply is sufficient to meet the load demand. Specifically, the current battery capacity is monitored to ensure it has reached or is close to the rated capacity, and the PV power supply is monitored in real time to ensure it is greater than or equal to the micro-inverter power setting. If so, the battery will no longer charge or discharge, and both the charging and discharging powers will be set to zero to ensure the battery does not waste power or be affected by overcharging. At this point, the PV panel directly powers the load, and the PV power supply is entirely determined by the micro-inverter power setting. This solution helps maintain the health of the battery, preventing unnecessary charging or discharging, while ensuring the system continues to operate and meet load demand.

[0106] S704: When the photovoltaic power supply power is less than the micro-inverter set power, the discharge power is adjusted based on the micro-inverter set power, and the adjusted discharge power is equal to the micro-inverter set power.

[0107] The photovoltaic power supply power is less than the micro-inverter setting power, which means that the photovoltaic power supply power is not enough to meet the micro-inverter setting power, so the battery needs to discharge to power the load.

[0108] In one specific embodiment, the current photovoltaic power supply and the microinverter set power are monitored. If the photovoltaic power supply is less than the microinverter set power, the discharge power is set to the microinverter set power, and the charging power is set to the photovoltaic power supply. Because the charging power is less than the discharge power, the battery charge will continue to decrease. However, because the battery capacity is initially set to the rated capacity, there is no need to worry about the battery over-discharging in a short period of time. This helps ensure that the battery's stored power can still meet load demand even when the photovoltaic power supply is at a low level.

[0109] In another specific embodiment, when the battery capacity reaches the rated capacity, if the photovoltaic power supply power cannot cover the micro-inverter setting power, the photovoltaic panel and the battery will directly power the load at the same time. The battery's charging power is 0, and the discharge power is the difference between the micro-inverter setting power and the photovoltaic power supply power. In this state, the battery capacity continues to decay. When the battery capacity decays to a certain threshold, the battery charging and discharging mode is activated, and all the electricity generated by the photovoltaic panel is charged into the battery, and the battery discharge covers the load. For example, when the battery capacity decays to 90% of the rated capacity, the battery's charging power is no longer 0, but is adjusted to the photovoltaic power supply power, and the discharge power is the micro-inverter setting power.

[0110] In this embodiment, the battery capacity has reached its rated capacity. The battery charge and discharge power is determined based on the relationship between the photovoltaic power supply and the micro-inverter set power. If the photovoltaic power supply can fully meet the micro-inverter set power, there is no need to use the battery storage power. If the photovoltaic power supply cannot meet the micro-inverter set power, the battery storage power needs to be used to supplement it. The above solution maximizes the utilization of solar energy resources when solar power is sufficient, and stores the converted electrical energy in the battery, so that the battery can be used to meet the load demand when the photovoltaic power supply is insufficient. This helps to improve the efficiency and economy of the system.

[0111] In some embodiments, as shown in FIG8 , determining the charging power and discharging power of the battery based on the photovoltaic power supply power further includes the following steps:

[0112] S802: When the photovoltaic power supply is 0, the charging power is controlled to be 0, and the discharge power is adjusted based on the micro-inverter setting power, and the adjusted discharge power is equal to the micro-inverter setting power.

[0113] A PV power supply of 0 means that no solar energy is being converted into electricity. For example, at night, when there is no available solar energy, the PV power supply is 0. At this time, the battery has no charging source, so the charging power is 0. The load is fully met by the stored energy in the battery, alleviating pressure on the public grid.

[0114] S804: When the battery capacity is less than a second preset capacity threshold, control the charging power and the discharging power to be 0.

[0115] The second preset capacity threshold is the battery's over-discharge capacity. If the battery capacity remains below this threshold, it will cause damage to the battery itself and may also cause safety issues. Therefore, when the battery capacity is detected to be less than the second preset capacity threshold and the photovoltaic power supply is zero, the battery's charge and discharge power is controlled to zero. At this point, neither the photovoltaic panel nor the battery can provide power to the load, and the load's power demand is met by the public grid.

[0116] This embodiment describes adjusting the battery's charge and discharge power when the photovoltaic power supply is zero. This solution ensures that even when the photovoltaic power supply is zero, the battery can still use stored energy to power the load, fully collecting and utilizing solar energy. Furthermore, when the battery capacity drops to a second preset capacity threshold, the battery is controlled to stop discharging, preventing continued operation with insufficient capacity, thereby extending the battery's lifespan.

[0117] In order to more clearly illustrate the energy control method provided by this application, a specific embodiment is described below with reference to FIG9 . The specific embodiment includes the following steps:

[0118] S902: Obtain photovoltaic power supply power, battery capacity, and micro-inverter set power, where the micro-inverter set power is used to represent the power provided by the micro-inverter to the load.

[0119] S904: Determine whether the micro-inverter setting power is greater than 0.

[0120] S906: When the micro-inverter set power is greater than 0, the charging power is adjusted based on the photovoltaic power supply power, and the adjusted charging power is equal to the photovoltaic power supply power.

[0121] S908: Determine the relationship between half of the photovoltaic power supply power and the micro-inverter setting power.

[0122] S910: When half of the photovoltaic power supply power is greater than the micro-inverter set power, the discharge power is adjusted based on the micro-inverter set power, and the adjusted discharge power is equal to the micro-inverter set power.

[0123] S912: When half of the photovoltaic power supply power is less than or equal to the micro-inverter set power, the discharge power is adjusted based on the charging power, and the adjusted discharge power is half of the charging power.

[0124] S914: Determine the relationship between the battery capacity and 10% of the rated capacity.

[0125] S916: When the battery capacity is greater than 10% of the rated capacity, the discharge power is adjusted based on the micro-inverter set power, and the adjusted discharge power is equal to the micro-inverter set power.

[0126] S918: Determine the relationship between the battery capacity and 5% of the rated capacity.

[0127] S920: When the micro-inverter setting power is less than or equal to 0 and the battery capacity is greater than or equal to 5% of the battery rated capacity, the battery charging power is adjusted to the photovoltaic power supply power, and the discharge power is adjusted based on the micro-inverter setting power. The adjusted discharge power is equal to the micro-inverter setting power.

[0128] S922: Determine the relationship between the battery capacity and the rated capacity.

[0129] S924: When the battery capacity reaches the rated capacity, the battery charging power is set to 0, and the photovoltaic panel directly provides energy to the load.

[0130] S926: Determine the relationship between the photovoltaic power supply power and the micro-inverter setting power.

[0131] S928: When the photovoltaic power supply power is less than the micro-inverter set power, adjust the battery charging power to the photovoltaic power supply power, and adjust the discharge power based on the micro-inverter set power, so that the adjusted discharge power is equal to the micro-inverter set power.

[0132] S930: Determine the relationship between the photovoltaic power supply power and 0.

[0133] S932: If the photovoltaic power supply is equal to 0, the battery charging power is adjusted to 0, and the discharge power is adjusted based on the micro-inverter setting power, so that the adjusted discharge power is equal to the micro-inverter setting power.

[0134] S934: Determine the relationship between the battery capacity and 5% of the rated capacity.

[0135] S936: When the battery capacity is less than 5% of the rated capacity, the battery charge and discharge power is set to 0.

[0136] In this embodiment, when the battery is in the state of charging and discharging, if the charging power is the photovoltaic power supply power and the discharging power is the micro-inverter setting power, when the photovoltaic power supply power is greater than the micro-inverter setting power, the excess energy will be stored in the battery. When the photovoltaic power supply power is less than the micro-inverter setting power, the battery will supplement the energy and output it to the load. When the battery capacity reaches the rated capacity, continuing to charge and discharge simultaneously will cause overvoltage in the battery cells. Frequent battery cycling is not good for battery health. At this time, charging is cut off and the battery output is turned off. The photovoltaic power supply power is directly used to provide power to the load. The photovoltaic power supply power is completely determined by the micro-inverter setting power. When it is detected that the photovoltaic power is low, the battery is switched back to the charging and discharging mode. If the battery capacity is less than the second preset capacity threshold, when the photovoltaic power supply is low in the morning, if the battery is activated and the output is set according to the customer, but the photovoltaic power supply is insufficient to meet the micro-inverter set power, the battery will enter a hiccup state, that is, the charging and discharging state and the over-discharge output shutdown state frequently switch, seriously affecting the energy conversion efficiency and damaging the health of the battery. The battery can only work normally when the photovoltaic power supply is greater than the micro-inverter set power. At this time, the battery discharge power is set to half of the charging power, and the other half of the power is stored in the battery. The battery capacity is slowly charged to the first preset capacity threshold, or the photovoltaic power supply is greater than the micro-inverter set power.

[0137] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0138] Based on the same inventive concept, embodiments of the present application further provide an energy control device for implementing the aforementioned energy control method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations in one or more energy control device embodiments provided below can be found in the above-described limitations on the energy control method and are not further elaborated here.

[0139] In an exemplary embodiment, as shown in FIG10 , an energy control device 1000 is provided, comprising: a parameter acquisition module 1002 and an electricity parameter determination module 1004 , wherein:

[0140] The parameter acquisition module 1002 is used to obtain the photovoltaic power supply, battery capacity and micro-inverter setting power, where the micro-inverter setting power is used to represent the power provided by the micro-inverter to the load;

[0141] The power parameter determination module 1004 is used to determine the power parameters of the battery based on the photovoltaic power supply power, the battery capacity and the micro-inverter setting power. The power parameters include charging power and discharging power.

[0142] In some embodiments, the power usage parameter determination module is specifically configured to:

[0143] When the micro-inverter set power is greater than the target value, the battery is controlled to enter a simultaneous charge-discharge mode, and the photovoltaic power supply is determined as the charging power. At this time, if the battery capacity is less than a first preset capacity threshold, if half of the charging power is greater than the micro-inverter set power, the discharge power value is adjusted to the micro-inverter set power value; if half of the charging power is less than or equal to the micro-inverter set power, the discharge power value is set to half of the charging power.

[0144] When the micro-inverter set power is less than or equal to the target value, the battery is controlled to enter a charge-only mode, and the charging power is adjusted based on the photovoltaic power supply, with the adjusted charging power equal to the photovoltaic power supply. At this time, if the battery capacity is greater than or equal to a first preset capacity threshold, the discharge power is set to the micro-inverter set power. Changes in battery capacity are monitored. If the battery capacity increases or remains unchanged, the discharge power is maintained unchanged. If the battery capacity decreases to less than a second preset capacity threshold, the discharge power is controlled to half the charging power. When the photovoltaic power supply is not zero, if the battery capacity reaches the rated capacity, and the photovoltaic power supply is greater than or equal to the micro-inverter set power, the charging and discharging powers are controlled to zero. If the photovoltaic power supply is less than the micro-inverter set power, the charging power is set to the photovoltaic power supply, and the discharging power is the micro-inverter set power. When the photovoltaic power supply is zero, the charging power is controlled to zero, and the discharging power is controlled to the micro-inverter set power. When the battery capacity is less than the second preset capacity threshold, the charging and discharging powers are controlled to zero.

[0145] Each module in the aforementioned energy control device may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0146] In an exemplary embodiment, a computer device is provided, which may be a server. Its internal structure diagram may be as shown in FIG11 . The computer device includes a processor, memory, an input / output (I / O) interface, and a communication interface. The processor, memory, and I / O interface are connected via a system bus, and the communication interface is connected to the system bus via the I / O interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and computer program in the non-volatile storage medium. The database of the computer device is configured to store photovoltaic power supply, battery capacity, and microinverter set power. The I / O interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals via a network connection. When executed by the processor, the computer program implements an energy control method.

[0147] Those skilled in the art will understand that the structure shown in FIG11 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0148] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method when executing the computer program.

[0149] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0150] In some embodiments, a computer program product is provided, comprising a computer program, which implements the steps of the above method when executed by a processor.

[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0152] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-described method embodiments. Any reference to a memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0153] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0154] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. An energy control method, characterized in that: The method comprises: Obtaining photovoltaic power supply power, battery capacity and micro-inverter setting power, wherein the micro-inverter setting power is used to represent the power provided by the micro-inverter to the load; Based on the photovoltaic power supply power, battery capacity and micro-inverter setting power, the power usage parameters of the battery are determined, and the power usage parameters include charging power and discharging power.

2. The method according to claim 1, characterized in that The determining of the battery power parameters based on the photovoltaic power supply power, the battery capacity and the micro-inverter setting power includes at least one of the following two items: The first item is, when the micro-inverter setting power is greater than the target value, the battery is controlled to enter a charging and discharging working mode, and the charging power is adjusted based on the photovoltaic power supply power, and the adjusted charging power is equal to the photovoltaic power supply power; The second item is that when the micro-inverter setting power is less than or equal to the target value, the battery is controlled to enter a charge-only working mode, and the charging power is adjusted based on the photovoltaic power supply power, and the adjusted charging power is equal to the photovoltaic power supply power.

3. The method according to claim 1, characterized in that The step of determining the power consumption parameters of the battery based on the photovoltaic power supply power, the battery capacity and the micro-inverter setting power further includes: When the micro-inverter setting power is greater than a target value, if the battery capacity is less than a first preset capacity threshold, the discharge power is determined based on a magnitude relationship between half of the charging power and the micro-inverter setting power.

4. The method according to claim 3, characterized in that The determining the discharge power based on the magnitude relationship between half of the charging power and the micro-inverter setting power includes: When half of the charging power is greater than the micro-inverter setting power, adjusting the discharging power based on the micro-inverter setting power, the adjusted discharging power is equal to the micro-inverter setting power; When half of the charging power is less than or equal to the micro-inverter setting power, the discharging power is adjusted based on the charging power, and the adjusted discharging power is half of the charging power.

5. The method according to claim 2, characterized in that: The method of determining the power consumption parameters of the battery based on the photovoltaic power supply power, the battery capacity and the micro-inverter setting power further includes: When the micro-inverter setting power is greater than the target value, if the battery capacity is greater than or equal to a first preset capacity threshold, the discharge power is adjusted based on the micro-inverter setting power, and the adjusted discharge power is equal to the micro-inverter setting power; The change in the battery capacity is monitored, and the discharge power is adjusted based on the change in the battery capacity.

6. The method according to claim 5, characterized in that The monitoring the change of the battery capacity and adjusting the discharge power based on the change of the battery capacity includes: If the battery capacity increases or remains unchanged, the discharge power is maintained unchanged; If the battery capacity decreases to less than a second preset capacity threshold, the discharging power is adjusted based on the charging power, and the adjusted discharging power is equal to half of the charging power.

7. The method according to claim 2, characterized in that When the micro-inverter setting power is less than or equal to the target value, the battery is controlled to enter a charge-only working mode, and the charging power is adjusted based on the photovoltaic power supply power. After the adjusted charging power is equal to the photovoltaic power supply power, the method further includes: Based on the photovoltaic power supply power, the charging power and the discharging power of the battery are determined.

8. The method according to claim 7, characterized in that The determining the charging power and discharging power of the battery based on the photovoltaic power supply power includes: When the photovoltaic power supply power is not 0, if the battery capacity reaches the rated capacity, the charging power and discharging power of the battery are determined based on the magnitude relationship between the photovoltaic power supply power and the micro-inverter setting power.

9. The method according to claim 8, characterized in that If the battery capacity reaches the rated capacity, the charging power and discharging power of the battery are determined based on the magnitude relationship between the photovoltaic power supply power and the micro-inverter setting power, including: When the photovoltaic power supply power is greater than or equal to the micro-inverter setting power, controlling the charging power and the discharging power to be 0; When the photovoltaic power supply power is less than the micro-inverter setting power, the value of the charging power is adjusted to the value of the photovoltaic power supply power, and the value of the discharging power is adjusted to the value of the micro-inverter setting power.

10. The method according to claim 7, characterized in that The determining the charging power and discharging power of the battery based on the photovoltaic power supply power further includes: When the photovoltaic power supply power is 0, the charging power is controlled to be 0 and the discharging power is equal to the micro-inverter setting power; When the battery capacity is less than a second preset capacity threshold, the charging power and the discharging power are controlled to be 0.

11. An energy control device, characterized in that: The device comprises: A parameter acquisition module is used to acquire photovoltaic power supply power, battery capacity and micro-inverter setting power, wherein the micro-inverter setting power is used to represent the power provided by the micro-inverter to the load; The power consumption parameter determination module is used to determine the power consumption parameters of the battery based on the photovoltaic power supply power, the battery capacity and the micro-inverter setting power, and the power consumption parameters include charging power and discharging power.

12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, 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 10 are implemented.

Citation Information

Patent Citations

  • Ship power supply method based on storage battery and ship power supply device based on storage battery

    CN113783279A

  • Round robin switching type uninterrupted photovoltaic power generation system and method

    CN114598011A

  • Wind-solar-diesel storage integrated power supply system and method

    CN114977304A

  • Control method of optical storage system, optical storage system and storage medium

    CN116191509A

  • Energy control method and device, computer equipment and storage medium

    CN117614062A