A power flow direction automatic switching method and system of a micro-grid
By monitoring the number and direction of cloud formations using an all-sky imager, and controlling relays to automatically switch the photovoltaic microgrid on and off from the external power grid, the problem of power generation fluctuations in the photovoltaic microgrid affecting the power grid is solved, thus achieving grid stability and islanded operation of the photovoltaic microgrid.
Patent Information
- Application Number
- CN202211530728.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-01
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-12-01
AI Technical Summary
Fluctuations in the power generation of photovoltaic microgrids can significantly impact the operation of the external power grid, leading to instability in power supply.
By monitoring the number and movement direction of clouds in the sky in real time using an all-sky imager, and controlling the closing and opening of relays according to preset conditions, the photovoltaic microgrid can be automatically switched on and off with the external power grid, ensuring grid stability.
It effectively reduces the impact of photovoltaic microgrid grid connection on the external power grid, ensures the power supply stability of the power grid and the islanded operation of photovoltaic microgrids, and reduces the phenomenon of frequent grid disconnection and reconnection.
Smart Images

Figure CN115940160B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of microgrid switching technology, specifically to an automatic power flow direction switching method and system for microgrids. Background Technology
[0002] With socio-economic development, energy and the environment have become major global issues. Energy shortages and environmental degradation are becoming increasingly prominent, making the development and utilization of green energy the most effective way for countries worldwide to address the energy crisis and environmental degradation. Solar energy, with its abundant resources and clean, pollution-free operation, has become a promising renewable energy source for development and utilization. Grid-connected photovoltaic (PV) power generation technology, as the main method of PV power generation, is gaining increasing recognition and attention, and is gradually becoming the mainstream application of PV power generation. Distributed generation systems (microgrid systems) are developing rapidly due to their advantages such as low pollution, high energy efficiency, and flexible installation locations.
[0003] Photovoltaic microgrids are one of the main forms of clean energy utilization. After generating electricity, photovoltaic microgrids are connected to the external power grid, which can effectively alleviate the power supply pressure of the grid and create additional economic benefits for users. However, photovoltaic power generation is easily affected by meteorological conditions such as sunlight and temperature. Therefore, photovoltaic power generation is intermittent and irregular, which leads to large fluctuations in the power generation of photovoltaic microgrids. In this case, photovoltaic microgrids will have a significant impact on the overall operation of the external power grid. Summary of the Invention
[0004] The main objective of this invention is to provide an automatic power flow switching method and system for microgrids, which aims to solve the problem that large fluctuations in the power generation of photovoltaic microgrids can cause significant impacts on the overall operation of the external power grid.
[0005] The technical solution proposed in this invention is as follows: An automatic power flow switching method for a microgrid, applied to an automatic power flow switching system for a microgrid; the system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay; the photovoltaic power generation modules are electrically connected to the input terminal of the inverter; the output terminal of the inverter is electrically connected to a local load; the output terminal of the inverter is electrically connected to the external power grid through the first relay; the first relay and the all-sky imager are communicatively connected to the server; the all-sky imager is positioned close to the photovoltaic power generation modules; the method includes: The server acquires sky images taken by the all-sky imager every first preset time interval; The server performs image analysis on the sky image to determine whether the number of cloud clusters in the sky at the current moment is greater than a first preset number. If so, the server determines whether the first relay is closed at the current moment; If the first relay is closed at the current moment, the server controls the first relay to open.
[0006] Preferably, the server performs image analysis on the sky image to determine whether the number of cloud clusters in the sky at the current moment is greater than a first preset number, and then further includes: If so, the server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to determine the direction of movement of the clouds in the sky, and marks the clouds whose direction of movement passes through the sun's position point as clouds to be blocked. The server determines whether the number of cloud clusters to be blocked is greater than a second preset number, wherein the second preset number is less than the first preset number; If the number is greater than the second preset number, the server will determine whether the first relay is closed at the current moment, and then proceed with the following steps.
[0007] Preferably, the server determines whether the number of cloud clusters to be blocked is greater than a second preset number, and then further includes: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to obtain the speed of the cloud to be blocked. The server determines whether the travel speed is greater than a preset speed; If the speed exceeds the preset speed, the server will determine whether the first relay is closed at the current moment, and proceed with the subsequent steps.
[0008] Preferably, the server performs image analysis on the sky image to determine whether the number of cloud clusters in the sky at the current moment is greater than a first preset number, and then further includes: If not, the server performs image analysis on the sky image to determine whether the number of clouds in the sky at the current moment is less than a third preset number, wherein the third preset number is less than the second preset number; If the number is less than the third preset number, the server determines whether the first relay has tripped at the current moment; If the first relay is tripped at the current moment, the server controls the first relay to close.
[0009] Preferably, the server determines whether the number of cloud clusters to be blocked is greater than a second preset number, and then further includes: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment to mark the cloud clusters that are closest to the sun's position as target cloud clusters; The server performs image analysis on the sky image at the current moment and the sky image collected at the previous first preset time interval to obtain the speed of the cloud cluster to be blocked. The server calculates the remaining time based on the distance between the target cloud and the sun's location, as well as the travel speed. The remaining time is expressed as the time required for the target cloud to move to the point where it blocks the sun. The server determines whether the first relay has tripped at the current moment; If the first relay trips at the current moment, the server controls the first relay to close, and the closed position is maintained for the remaining duration. If the first relay is closed at the current moment, the server controls the first relay to open after the remaining time.
[0010] Preferred options also include: The server obtains the sunset and sunrise times of the location of the photovoltaic power generation components, and obtains the nighttime time interval based on the sunset and sunrise times; When the current time is within the nighttime period, the server controls the first relay to trip.
[0011] Preferably, the system further includes a smart meter electrically connected to the local load; the smart meter is communicatively connected to the server; the method further includes: The server obtains the real-time output power of the photovoltaic power generation module based on the inverter; The server obtains the real-time power demand of the local load based on the smart meter. The server obtains the number of times the real-time output power is less than the real-time demand power within a first preset time period in the past, and determines whether the number of times is greater than a preset number. If so, the server controls the first relay to trip; If not, the server controls the first relay to close.
[0012] Preferably, the system further includes a battery electrically connected to both the photovoltaic power generation module and the inverter; a second relay is provided between the battery and the photovoltaic power generation module; a third relay is provided between the battery and the inverter; both the second relay and the third relay are communicatively connected to the server; the server acquires the number of times the real-time output power is less than the real-time demand power within a first preset time period, and determines whether the number is greater than a preset number, and then further includes: If not, the server determines whether the remaining power of the battery is greater than a first preset power value; If the remaining power of the battery is greater than the first preset power value, the server controls the first relay to close. If the remaining power of the battery is not greater than the first preset power value, the server controls the first relay and the third relay to open, and the second relay to close.
[0013] Preferably, the server acquires the number of times the real-time output power was less than the real-time demand power within a first preset time period, and determines whether the number of times is greater than a preset number, and then further includes: If so, the server controls the first relay to trip and determines whether the remaining power of the battery is greater than the second preset power value; If the remaining power of the battery is greater than the second preset power value, the server controls the second relay to open and the third relay to close.
[0014] This invention also proposes an automatic power flow switching system for a microgrid, applicable to the automatic power flow switching method for a microgrid as described in any of the above-mentioned methods; the system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay; the photovoltaic power generation modules are electrically connected to the input terminal of the inverter; the output terminal of the inverter is electrically connected to a local load; the output terminal of the inverter is electrically connected to the external power grid through the first relay; the first relay and the all-sky imager are communicatively connected to the server; the all-sky imager is positioned close to the photovoltaic power generation modules.
[0015] The above technical solution can achieve the following beneficial effects: The automatic power flow switching method for microgrids proposed in this invention can perform real-time analysis based on sky images to determine whether frequent alternations between sunny and cloudy conditions will occur. If the number of clouds in the sky at the current moment is greater than a first preset number, it indicates that there are many clouds in the sky, which easily leads to frequent alternations between sunny and cloudy conditions, resulting in large fluctuations in the power generation of photovoltaic power generation modules. In this case, grid connection will impact the external power grid, which is not conducive to the power supply stability of the grid, and thus leads to frequent disconnection of the photovoltaic microgrid from the grid. Therefore, if the first relay is closed at the current moment, the server needs to control the first relay to open, that is, disconnect the photovoltaic microgrid from the external power grid, so that the photovoltaic microgrid operates in island mode, thereby reducing the impact on the external power grid and ensuring the overall stability of the external power grid. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0017] Figure 1 This is a flowchart of the first embodiment of the automatic power flow switching method for a microgrid proposed in this invention. Detailed Implementation
[0018] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0019] This invention proposes an automatic power flow direction switching method and system for microgrids.
[0020] As attached Figure 1 As shown, in the first embodiment of the automatic power flow switching method for a microgrid proposed in this invention, the method is applied to an automatic power flow switching system for a microgrid; the system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay; the photovoltaic power generation modules are electrically connected to the input terminal of the inverter; the output terminal of the inverter is electrically connected to a local load; the output terminal of the inverter is electrically connected to the external power grid through the first relay; the first relay and the all-sky imager are communicatively connected to the server; the all-sky imager is positioned close to the photovoltaic power generation modules; this embodiment includes the following steps: Step S110: The server acquires sky images taken by the all-sky imager every first preset time interval (e.g., 1 minute).
[0021] Step S120: The server performs image analysis on the sky image to determine whether the number of clouds in the sky at the current moment is greater than a first preset number (e.g., 10).
[0022] Specifically, if the number of clouds in the sky at the current moment is greater than 10, it indicates that there are many clouds in the sky, and the phenomenon of alternating sunny and cloudy weather is likely to occur frequently. This will lead to large fluctuations in the power generation of photovoltaic power generation modules. After grid connection, it will cause an impact on the external power grid, which is not conducive to the stability of power supply. Therefore, it is necessary to disconnect from the grid and make the photovoltaic microgrid operate in isolation.
[0023] If so, proceed to step S130: The server determines whether the first relay is closed at the current moment.
[0024] Step S140: If the first relay is closed at the current moment, the server controls the first relay to open.
[0025] The automatic power flow switching method for microgrids proposed in this invention can perform real-time analysis based on sky images to determine whether frequent alternations between sunny and cloudy conditions will occur. If the number of clouds in the sky at the current moment is greater than a first preset number, it indicates that there are many clouds in the sky, which easily leads to frequent alternations between sunny and cloudy conditions, resulting in large fluctuations in the power generation of photovoltaic power generation modules. In this case, grid connection will impact the external power grid, which is not conducive to the power supply stability of the grid, and thus leads to frequent disconnection of the photovoltaic microgrid from the grid. Therefore, if the first relay is closed at the current moment, the server needs to control the first relay to open, that is, disconnect the photovoltaic microgrid from the external power grid, so that the photovoltaic microgrid operates in island mode, thereby reducing the impact on the external power grid and ensuring the overall stability of the external power grid.
[0026] In the second embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the first embodiment, step S120 is followed by the following steps: If so, proceed to step S210: The server performs image analysis on the sky image at the current moment and the sky image collected at the previous first preset time interval to determine the direction of movement of the clouds in the sky, and marks the clouds whose direction of movement passes through the sun's position point as clouds to be obscured.
[0027] Specifically, the clouds that will block the sun in the future are those that will cause alternating periods of sunshine and overcast skies.
[0028] Step S220: The server determines whether the number of cloud clusters to be blocked is greater than a second preset number (e.g., 5), wherein the second preset number is less than the first preset number.
[0029] Step S230: If the number is greater than the second preset number, the server determines whether the first relay is closed at the current moment, and performs the following steps.
[0030] Specifically, if the number of clouds to be shaded is greater than the second preset number, it means that there are many clouds to be shaded in the sky, and the phenomenon of alternating sunny and cloudy weather will occur frequently in the future. This will cause large fluctuations in the power generation of photovoltaic power generation modules, which will impact the external power grid after grid connection and will not be conducive to the stability of power supply. Therefore, it is necessary to disconnect from the grid and make the photovoltaic microgrid operate in isolation.
[0031] In the third embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the second embodiment, step S220 is followed by the following steps: Step S310: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to obtain the speed of the cloud to be obscured.
[0032] Specifically, if the number of clouds to be obscured is not greater than the second preset number, it means that although the number of clouds to be obscured in the sky is not large, it is necessary to further judge the movement speed of the clouds to be obscured in order to determine whether it is necessary to disconnect the grid.
[0033] Step S320: The server determines whether the travel speed is greater than the preset speed (3 pixels / second).
[0034] Step S330: If the speed is greater than the preset speed, the server determines whether the first relay is closed at the current moment, and performs the following steps.
[0035] Specifically, if the travel speed is greater than the preset speed, it means that the frequency of alternating sunny and cloudy skies will be faster. Therefore, it is necessary to disconnect from the grid to ensure the overall stability of the external power grid.
[0036] In the fourth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the second embodiment, step S120 is followed by the following steps: If not, proceed to step S410: The server performs image analysis on the sky image to determine whether the number of clouds in the sky at the current moment is less than a third preset number (e.g., 2), wherein the third preset number is less than the second preset number.
[0037] Step S420: If the number is less than the third preset number, the server determines whether the first relay has tripped at the current moment.
[0038] Step S430: If the first relay is open at the current moment, the server controls the first relay to close.
[0039] Specifically, if the number of clouds in the sky is less than 2, it means the sky is clear and there is no need to disconnect the grid.
[0040] In the fifth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the second embodiment, step S220 is followed by the following steps: Step S510: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment to mark the cloud cluster to be obscured that is closest to the sun's position as the target cloud cluster.
[0041] Specifically, if the number of clouds to be obscured is not greater than the second preset number, it means that although the number of clouds to be obscured in the sky is not large, further judgment is needed on when the cloud that will obscure the sun (the target cloud) will obscure the sun, so as to determine when it is appropriate to disconnect the grid.
[0042] Step S520: The server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to obtain the speed of the cloud cluster to be obscured.
[0043] Step S530: The server obtains the remaining time based on the distance between the target cloud and the sun's position and the travel speed, wherein the remaining time is expressed as the time required for the target cloud to move to the point where it blocks the sun.
[0044] Step S540: The server determines whether the first relay has tripped at the current moment.
[0045] Step S550: If the first relay is tripped at the current moment, the server controls the first relay to close, and the closing time is the remaining time.
[0046] Step S560: If the first relay is closed at the current moment, the server controls the first relay to open after the remaining time.
[0047] Specifically, the remaining time here is the time required for the target cloud to move to the point where it blocks the sun. During this time, the sun will not be blocked, and the grid can remain connected until the target cloud moves to the point where it blocks the sun.
[0048] In the sixth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the first embodiment, this embodiment further includes the following steps: Step S610: The server obtains the sunset and sunrise times of the location of the photovoltaic power generation components, and obtains the nighttime time interval based on the sunset and sunrise times.
[0049] Step S620: When the current time is within the nighttime period, the server controls the first relay to trip.
[0050] This embodiment provides a technical solution for disconnecting photovoltaic power generation modules from the external power grid at night.
[0051] In the seventh embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the first embodiment, the system further includes a smart meter electrically connected to the local load; the smart meter is communicatively connected to the server; this embodiment also includes the following steps: Step S710: The server obtains the real-time output power of the photovoltaic power generation module based on the inverter.
[0052] Step S720: The server obtains the real-time power demand of the local load based on the smart meter.
[0053] Step S730: The server obtains the number of times the real-time output power is less than the real-time demand power within the past first preset time period (1 hour), and determines whether the number is greater than the preset number (e.g., 2 times).
[0054] If so, proceed to step S740: the server controls the first relay to trip.
[0055] Specifically, if the real-time output power of the photovoltaic power generation module is less than the required power more than twice in the past hour, it means that the power generation of the photovoltaic power generation module is insufficient to supply the local load; that is, it is necessary to disconnect from the grid so that the power generation of the photovoltaic power generation module can be fully output to the local load.
[0056] If not, proceed to step S750: the server controls the first relay to close.
[0057] Specifically, if the real-time output power of the photovoltaic power generation module has not been less than the required power more than twice in the past hour, it means that the power generation of the photovoltaic power generation module is sufficient to supply the local load, that is, it can maintain grid connection.
[0058] In the eighth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the seventh embodiment, the system further includes a battery electrically connected to both the photovoltaic power generation module and the inverter; a second relay is provided between the battery and the photovoltaic power generation module; a third relay is provided between the battery and the inverter; both the second relay and the third relay are communicatively connected to the server; after step S730, the system further includes the following steps: If not, proceed to step S810: The server determines whether the remaining power of the battery is greater than a first preset power value (e.g., 80% of the battery's maximum capacity).
[0059] Step S820: If the remaining power of the battery is greater than the first preset power value, the server controls the first relay to close.
[0060] Specifically, if the real-time output power of the photovoltaic power generation module does not fall below the required power more than twice in the past hour, it means that the power generation of the photovoltaic power generation module is sufficient to supply the local load, and the grid connection can be maintained. At this time, it is further determined whether the remaining power of the battery is greater than the first preset power value. If it is greater than the first preset power value, it means that the battery power is sufficient and does not need to be charged. At this time, the grid connection can be maintained so that the excess power generated by the photovoltaic power generation module can be transmitted to the external power grid.
[0061] Step S830: If the remaining power of the battery is not greater than the first preset power value, the server controls the first relay and the third relay to open, and the second relay to close (charge).
[0062] Specifically, if the power level is not greater than the first preset power value, it means that the battery needs to be charged. At this time, the grid connection can be disconnected so that the excess power generated by the photovoltaic power generation module can be sent to the battery for charging.
[0063] In the ninth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the eighth embodiment, after step S730, the following steps are further included: If so, proceed to step S910: the server controls the first relay to trip and determines whether the remaining power of the battery is greater than the second preset power value (30% of the maximum battery capacity).
[0064] Specifically, if the real-time output power of the photovoltaic power generation module is less than the required power more than twice in the past hour, it indicates that the power generation of the photovoltaic power generation module is insufficient to supply the local load; further assessment of the battery's charge level is required.
[0065] Step S920: If the remaining power of the battery is greater than the second preset power value, the server controls the first relay to open, the second relay to open, and the third relay to close.
[0066] Specifically, if the battery charge is greater than the second preset charge value, it means that the remaining charge of the battery can still supply the local load. In this case, the second relay is controlled to open and the third relay is controlled to close, so that the battery can supply power to the local load and disconnect the grid.
[0067] In the tenth embodiment of the automatic power flow switching method for a microgrid proposed in this invention, based on the ninth embodiment, a fourth relay is further provided between the local load and the external power grid; the fourth relay is communicatively connected to the server; after step S730, the following steps are also included: Step S1010: If the remaining power of the battery is not greater than the second preset power value, the server controls the first relay, the second relay and the third relay to open, and the fourth relay to close.
[0068] Specifically, if the battery charge is not greater than the second preset charge value, it means that the remaining battery charge is sufficient to supply the local load. In this case, the first, second, and third relays are all disconnected, and the fourth relay is closed; that is, the local load is supplied with additional power through the external power grid.
[0069] This invention also proposes an automatic power flow switching system for a microgrid. This system is applied to the automatic power flow switching method for a microgrid as described in any of the above-mentioned methods. The system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay. The photovoltaic power generation modules are electrically connected to the input terminal of the inverter. The output terminal of the inverter is electrically connected to a local load. The output terminal of the inverter is electrically connected to the external power grid through the first relay. The first relay and the all-sky imager are communicatively connected to the server. The all-sky imager is positioned close to the photovoltaic power generation modules.
[0070] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0071] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0072] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A method for automatic power flow direction switching in a microgrid, characterized in that, An automatic power flow switching system for microgrids; the system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay; the photovoltaic power generation modules are electrically connected to the input terminal of the inverter; the output terminal of the inverter is electrically connected to a local load; the output terminal of the inverter is electrically connected to the external power grid through the first relay; the first relay and the all-sky imager are communicatively connected to the server; The all-sky imager is positioned close to the photovoltaic power generation module; the method includes: The server acquires sky images taken by the all-sky imager every first preset time interval; The server performs image analysis on the sky image to determine whether the number of cloud clusters in the sky at the current moment is greater than a first preset number. If so, the server determines whether the first relay is closed at the current moment; If the first relay is closed at the current moment, the server controls the first relay to open. If not, the server performs image analysis on the sky image to determine whether the number of clouds in the sky at the current moment is less than a third preset number, wherein the third preset number is less than a second preset number; If the number is less than the third preset number, the server determines whether the first relay has tripped at the current moment; If the first relay is tripped at the current moment, the server controls the first relay to close. The server performs image analysis on the sky image to determine whether the number of cloud clusters in the sky at the current moment is greater than a first preset number, and then further includes: If so, the server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to determine the direction of movement of the clouds in the sky, and marks the clouds whose direction of movement passes through the sun's position point as clouds to be blocked. The server determines whether the number of cloud clusters to be blocked is greater than a second preset number, wherein the second preset number is less than the first preset number; If the number is greater than the second preset number, the server will determine whether the first relay is closed at the current moment, and then proceed with the following steps.
2. The automatic power flow switching method for a microgrid according to claim 1, characterized in that, The server determines whether the number of cloud clusters to be obscured is greater than a second preset number, and then further includes: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment and the sky image collected before the first preset time period to obtain the speed of the cloud cluster to be blocked. The server determines whether the travel speed is greater than a preset speed; If the speed exceeds the preset speed, the server will determine whether the first relay is closed at the current moment, and proceed with the subsequent steps.
3. The automatic power flow switching method for a microgrid according to claim 1, characterized in that, The server determines whether the number of cloud clusters to be obscured is greater than a second preset number, and then further includes: If the number is not greater than the second preset number, the server performs image analysis on the sky image at the current moment to mark the cloud clusters that are closest to the sun's position as target cloud clusters; The server performs image analysis on the sky image at the current moment and the sky image collected at the previous first preset time interval to obtain the speed of the cloud cluster to be blocked. The server calculates the remaining time based on the distance between the target cloud and the sun's location, as well as the travel speed. The remaining time is expressed as the time required for the target cloud to move to the point where it blocks the sun. The server determines whether the first relay has tripped at the current moment; If the first relay trips at the current moment, the server controls the first relay to close, and the closed position is maintained for the remaining duration. If the first relay is closed at the current moment, the server controls the first relay to open after the remaining time.
4. The automatic power flow switching method for a microgrid according to claim 1, characterized in that, Also includes: The server obtains the sunset and sunrise times of the location of the photovoltaic power generation components, and obtains the nighttime time interval based on the sunset and sunrise times; When the current time is within the nighttime period, the server controls the first relay to trip.
5. The automatic power flow switching method for a microgrid according to claim 1, characterized in that, The system further includes a smart meter electrically connected to the local load; the smart meter is communicatively connected to the server; the method further includes: The server obtains the real-time output power of the photovoltaic power generation module based on the inverter; The server obtains the real-time power demand of the local load based on the smart meter. The server obtains the number of times the real-time output power is less than the real-time demand power within a first preset time period in the past, and determines whether the number of times is greater than a preset number. If so, the server controls the first relay to trip; If not, the server controls the first relay to close.
6. The automatic power flow switching method for a microgrid according to claim 5, characterized in that, The system further includes a battery electrically connected to both the photovoltaic power generation module and the inverter; a second relay is provided between the battery and the photovoltaic power generation module; a third relay is provided between the battery and the inverter; both the second and third relays are communicatively connected to the server; the server acquires the number of times the real-time output power is less than the real-time demand power within a first preset time period, and determines whether the number is greater than a preset number, and then further includes: If not, the server determines whether the remaining power of the battery is greater than a first preset power value; If the remaining power of the battery is greater than the first preset power value, the server controls the first relay to close. If the remaining power of the battery is not greater than the first preset power value, the server controls the first relay and the third relay to open, and the second relay to close.
7. The automatic power flow switching method for a microgrid according to claim 6, characterized in that, The server acquires the number of times the real-time output power was less than the real-time demand power within a first preset time period, and determines whether the number of times is greater than a preset number. The process then further includes: If so, the server controls the first relay to trip and determines whether the remaining power of the battery is greater than the second preset power value; If the remaining power of the battery is greater than the second preset power value, the server controls the second relay to open and the third relay to close.
8. An automatic power flow switching system for a microgrid, characterized in that, An automatic power flow switching method for a microgrid as described in any one of claims 1-7; the system includes a server, an all-sky imager, photovoltaic power generation modules, an inverter, and a first relay; the photovoltaic power generation modules are electrically connected to the input terminal of the inverter; the output terminal of the inverter is electrically connected to a local load; the output terminal of the inverter is electrically connected to an external power grid via the first relay; the first relay and the all-sky imager are communicatively connected to the server; The all-sky imager is positioned close to the photovoltaic power generation module.
Citation Information
Patent Citations
Grid-connection and grid-retraction selection method based on refined output of photovoltaic power station
CN108321840A
Grid-connected and off-grid operation switching system and switching method for micro-grid
CN111245023A
