Off-grid and grid-connected control method and device, equipment and storage medium
By determining the main grid switching conditions in the microgrid and sending switching instructions, combined with the voltage loop reference to adjust the current, the problem of poor microgrid switching stability is solved and a more stable grid connection process is achieved.
Patent Information
- Application Number
- CN202410540045.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, microgrids have poor switching stability when switching from off-grid to grid-connected, making it difficult to effectively control.
By determining whether the main grid meets the target switching conditions, switching instructions are sent to the microgrid components to switch the microgrid units from the off-grid state to the grid-connected state, and during the switching process, the voltage loop of the main grid is used as a reference to send wave-generating instructions. To adjust the current and ensure the stability of energy transmission.
It improves the switching stability when the microgrid is integrated into the main grid, reduces grid-connected fluctuations caused by current adjustment from off-grid to grid-connected, and enhances the stable operation of the power grid.
Smart Images

Figure CN118589577A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power grid technology, and specifically relates to an off-grid and on-grid control method, device, equipment and storage medium. Background Art
[0002] Grid-connected and off-grid switching refers to the process of switching between connecting to the main grid and disconnecting from the main grid. When the main grid is normal, multiple machines are connected to the grid, and the power of the grid can reach the off-grid port through the relay of the grid-connected port of each energy storage inverter, providing power to the load. When multiple machines are connected to the grid, the output port of each energy storage inverter is connected in parallel to transmit energy to the grid. When multiple machines are off-grid and in parallel, the output port of each energy storage inverter is connected in parallel to provide energy to the off-grid load. Switching from off-grid to grid-connected operation can be achieved by adding a bypass mode or by carrier synchronization, but the switching stability is currently poor during the off-grid to grid-connected switching process. Summary of the invention
[0003] In view of the deficiencies in the prior art, the object of the present invention is to provide a grid-connected and off-grid control method, device, equipment and storage medium, which solve the problem of poor grid-connected stability in the prior art.
[0004] According to one aspect of the present application, a grid-connected control method is disclosed, the method comprising:
[0005] Determining whether the main power grid meets a target switching condition, wherein the target switching condition includes a first target switching condition;
[0006] When it is determined that the main grid meets the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction;
[0007] Obtaining the switching results of each microgrid unit;
[0008] Determine a first target microgrid unit that completes the grid-connected operation among the microgrid units;
[0009] The main grid is controlled to send a first wave generation instruction to the first target microgrid unit, wherein the first wave generation instruction instructs the voltage loop of the main grid to be given as a reference for the current loop of the first target microgrid unit.
[0010] Further, the controlling the main grid to send a first wave transmission instruction to the first target microgrid unit includes:
[0011] The main grid is controlled to send a first wave transmission instruction to the first target microgrid unit based on the RS485 communication protocol.
[0012] Furthermore, the first wave generation instruction includes any one or more combinations of the operation status bit of the main power grid, the inverter wave generation flag bit, the host phase lock completion flag bit, the power frequency zero-crossing signal flag bit and the grid-side relay closing action flag bit.
[0013] In an implementable solution, when it is determined that the main grid meets the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component includes:
[0014] Acquiring reference state information and target state information of the main power grid within a target time period;
[0015] When the target state information matches the reference state information, determining that the main power grid satisfies a first target switching condition;
[0016] The main grid is controlled to send a first switching instruction to the microgrid component.
[0017] In another feasible solution, when it is determined that the main grid satisfies the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component includes:
[0018] Acquire first state information of the main power grid at a current moment;
[0019] When the first state information is a networked state, obtaining the second state information of the main power grid at a previous moment;
[0020] When the first state information matches the second state information, determining that the main power grid meets a first target switching condition;
[0021] The main grid is controlled to send a first switching instruction to the microgrid component.
[0022] Furthermore, after obtaining the switching results of each microgrid unit, the method further includes:
[0023] Determine the off-grid microgrid unit that has not completed the grid-connected operation among the microgrid units
[0024] Detecting a communication network status between the off-grid microgrid unit and the main grid unit;
[0025] When the communication network state between the off-grid microgrid unit and the main grid unit meets the communication condition, the main grid unit is controlled to send the first switching instruction to the off-grid microgrid unit again.
[0026] Further, the target switching condition further includes a second target switching condition. After determining whether the main power grid meets the target switching condition, the method further includes:
[0027] When it is determined that the main grid meets the second target switching condition, the main grid is controlled to send a second switching instruction to the microgrid component, so that each of the microgrid units in the microgrid component switches from a grid-connected state to an off-grid state in response to the second switching instruction, and when a second target microgrid unit that completes the off-grid operation is determined, the main grid is controlled to send a second wave transmission instruction to the second target microgrid unit.
[0028] According to another aspect of the present application, a grid-connected control device is also disclosed, the device comprising:
[0029] A switching condition determination module, used to determine whether the main power grid meets the target switching condition, wherein the target switching condition includes a first target switching condition;
[0030] A first switching instruction sending module is used to control the main grid to send a first switching instruction to the microgrid component when it is determined that the main grid meets the first target switching condition, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction;
[0031] A switching result acquisition module, used to obtain the switching results of each microgrid unit;
[0032] A grid-connected operation determination module, used to determine a first target microgrid unit that completes the grid-connected operation among the microgrid units;
[0033] The first wave generation instruction sending module is used to control the main grid to send a first wave generation instruction to the first target microgrid unit, wherein the first wave generation instruction indicates that the voltage loop of the main grid is given as a reference for the current loop of the first target microgrid unit.
[0034] Furthermore, the first wave transmission instruction sending module is specifically used to control the main power grid to send the first wave transmission instruction to the first target microgrid unit based on the RS485 communication protocol.
[0035] Furthermore, the first wave generation instruction includes any one or more combinations of the operation status bit of the main power grid, the inverter wave generation flag bit, the host phase lock completion flag bit, the power frequency zero-crossing signal flag bit and the grid-side relay closing action flag bit.
[0036] Furthermore, the first switching instruction sending module is specifically used to obtain reference state information and target state information of the main grid within a target time period; when the target state information matches the reference state information, determine that the main grid meets the first target switching condition; and control the main grid to send a first switching instruction to the microgrid component.
[0037] Furthermore, the device also includes:
[0038] An off-grid operation determination module, used to determine an off-grid microgrid unit that has not completed the grid-connected operation among the microgrid units;
[0039] A communication status detection module, used to detect the communication network status between the off-grid microgrid unit and the main grid unit;
[0040] The first switching instruction sending module is also used to control the main grid unit to send the first switching instruction to the off-grid microgrid unit again when the communication network status between the off-grid microgrid unit and the main grid unit meets the communication condition.
[0041] Further, the target switching condition further includes a second target switching condition, and the device further includes:
[0042] A second switching instruction sending module is used to control the main grid to send a second switching instruction to the microgrid component when it is determined that the main grid meets the second target switching condition, so that each of the microgrid units in the microgrid component switches from a grid-connected state to an off-grid state in response to the second switching instruction;
[0043] The second wave generation instruction switching module is used to control the main grid to send a second wave generation instruction to the second target microgrid unit when it is determined that the second target microgrid unit has completed the off-grid operation.
[0044] According to another aspect of the present application, an electronic device is also disclosed, including:
[0045] processor;
[0046] a memory for storing instructions executable by the processor;
[0047] The processor is configured to execute the instructions to implement the off-grid and on-grid control method as claimed in any one of claims 1 to 7.
[0048] According to another aspect of the present application, a computer-readable storage medium is also disclosed. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the off-grid control method as described in any one of claims 1 to 7.
[0049] The present invention discloses an off-grid control method, device, equipment and storage medium. The off-grid control method includes determining whether a main grid satisfies a target switching condition, wherein the target switching condition includes a first target switching condition; when it is determined that the main grid satisfies the first target switching condition, controlling the main grid to send a first switching instruction to a microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction; obtaining the switching result of each microgrid unit; determining a first target microgrid unit that completes the grid-connected operation among the microgrid units;
[0050] The main grid is controlled to send a first wave-generating instruction to the first target microgrid unit, wherein the first wave-generating instruction indicates that the voltage loop of the main grid is given as a reference for the current loop of the first target microgrid unit. The main grid of the present invention sends a wave-generating instruction to the microgrid, so that the microgrid performs current regulation before grid connection under the reference of the voltage loop of the main grid, thereby improving the switching stability when the microgrid is connected to the main grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0052] Figure 1 It is a flow chart of the off-grid and on-grid control method of the present invention;
[0053] Figure 2 It is another flow chart of the off-grid control method of the present invention;
[0054] Figure 3 It is another flow chart of the off-grid control method of the present invention;
[0055] Figure 4 It is another flow chart of the off-grid control method of the present invention;
[0056] Figure 5 It is another flow chart of the off-grid control method of the present invention;
[0057] Figure 6 It is a structural diagram of the off-grid and grid-connected control device of the present invention;
[0058] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The technical scheme in the embodiment of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiment of the present invention. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] According to one aspect of the present application, a grid-connected control method is disclosed, the method comprising:
[0061] S100: Determine whether the main power grid meets the target switching condition.
[0062] Specifically, before determining whether the main grid meets the target switching conditions, it is also possible to first determine whether the main grid and the slave grid are in a startup state. If the main grid and the slave grid are in a startup state, then continue to perform the step of determining whether the main grid meets the target switching conditions. If the main grid and the slave grid are not started, then start the main grid and the slave grid first. When the main grid is not started, first determine whether the main grid meets the startup conditions. For example, it is possible to determine whether the main grid meets the startup conditions based on whether the control system of the main grid is stable, and the main grid is started when the control system of the main grid is stable. Similarly, the microgrid is started when the control system of the microgrid is stable.
[0063] The target switching condition includes a first target switching condition. In one example, when the current operating voltage of the main power grid is stable within the target voltage range and the operating frequency is stable within the target frequency range, the main power grid is considered to meet the first target switching condition. It can be understood that this example is only a preferred example. In actual applications, the requirements for meeting the first target switching condition can be preset, and are not specifically limited here.
[0064] S102. When it is determined that the main grid meets the first target switching condition, control the main grid to send a first switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction.
[0065] Specifically, the microgrid component includes a plurality of microgrid units. When it is determined that the main grid meets the first target switching condition, the main grid is controlled to send a first switching instruction to each microgrid unit in the microgrid component. The first switching instruction is used to instruct the microgrid unit to switch from an off-grid state to a grid-connected state. After receiving the first switching instruction, each microgrid unit in the microgrid component performs an operation of switching from an off-grid state to a grid-connected state in response to the first switching instruction.
[0066] S104: Obtain the switching result of each microgrid unit.
[0067] Specifically, when each microgrid unit executes the operation of switching from an off-grid state to a grid-connected state in response to the first switching instruction, the switching may be successful or may fail. Therefore, it is necessary to obtain the switching result of each microgrid unit to determine the next control instruction based on the obtained switching result.
[0068] S106: Determine a first target microgrid unit that completes the grid-connected operation among the microgrid units.
[0069] Specifically, based on the switching results of each microgrid unit, a first target microgrid unit for completing the switching from off-grid to grid-connected is determined.
[0070] S108. Control the main grid to send a first wave transmission instruction to the first target microgrid unit.
[0071] Specifically, after determining the first target microgrid unit that has completed the switch from off-grid to grid-connected, a first wave-generating instruction is sent to the first target microgrid unit. The first wave-generating instruction indicates that the voltage loop of the main grid is given as a reference for the current loop of the first target microgrid unit. That is, the current of the first target microgrid unit is pre-adjusted before switching from off-grid state to grid-connected state with reference to the voltage value of the main grid given in the first wave-generating instruction, so that the first target microgrid can match the voltage and frequency of the main grid when switching from off-grid to grid-connected, ensuring the effective transmission of energy and the stable operation of the grid, reducing the grid-connected fluctuation caused by the microgrid current adjustment after off-grid to grid-connected, thereby improving the stability of the first target microgrid switching from off-grid to grid-connected.
[0072] Further, in one example, controlling the main grid to send the first wave transmission instruction to the first target microgrid unit may be controlling the main grid to send the first wave transmission instruction to the first target microgrid unit based on the RS485 communication protocol. It can be understood that the advantages of the RS485 communication method include high baud rate, strong anti-interference and low bit error rate. Among them, the RS485 communication protocol satisfies the frame structure in Table 1 below:
[0073] Table 1
[0074]
[0075] Further, the first wave-generating instruction includes any one or more combinations of the operation status bit of the main grid, the inverter wave-generating flag bit, the host phase-locking completion flag bit, the power frequency zero-crossing signal flag bit, and the grid-side relay closing action flag bit. Among them, the operation status bit is a series of binary digits (bits) used to indicate the current operation status of the grid. It can provide key information such as whether the grid is operating normally, whether there is an abnormality or a special state. The inverter wave-generating flag bit is used to indicate a series of signals or flags of the inverter output waveform state when the inverter converts the DC power supply into AC power and injects it into the main grid. These flags can help monitor and control the operation status of the system to ensure that the power quality output by the inverter meets the grid requirements. In some examples, the inverter wave-generating flag bit can be an output waveform type flag bit, an output frequency flag bit, an output voltage level flag bit, etc. The host phase-locking completion flag bit is used to indicate that the microgrid has successfully completed the synchronization process with the main grid voltage Signal or status bit. It can be understood that during the switching process, the host always drives the slave to switch together, so the reference object is the host, and after the host phase-locking is completed, the slave will be notified. This phase-locking process mainly exists in the process of switching from off-grid to grid-connected. Even if the slave has a certain delay time, it is not a big problem, because the master and slave can be constrained to send waves together by using the power frequency zero-crossing signal and the wave-sending flag. When the master completes the phase-locking, it will notify the slave.
[0076] In one feasible solution, Figure 2 As shown, a step of controlling the main grid to send a first switching instruction to the microgrid component when it is determined that the main grid meets the first target switching condition is given. Specifically, the step includes:
[0077] S200: Acquire reference state information and target state information of the main power grid within a target time period.
[0078] Specifically, the reference state information is used to indicate the preset reference voltage value, the safe frequency value and other parameter values to be achieved when the main power grid is operating normally. The target state information in the target time period refers to the voltage value and frequency value of the main power grid at multiple intervals in the time period from the target moment to the current moment, and the average value of the voltage values at multiple intervals is used as the target voltage value, and the average value of multiple frequencies at multiple intervals is used as the target frequency value.
[0079] It is understandable that the voltage value and frequency value of the reference state information and the target voltage value and target frequency value of the target state information obtained here are not limited to the voltage value and frequency value described above. In practical applications, they may also include current value, resistance value and other information, which can be set according to actual needs and are not specifically limited here. It should be further explained that the parameters obtained by the target state information refer to the set parameters of the reference state information, that is, when the reference state information only sets the reference voltage and reference frequency, only the target voltage and target frequency are obtained when the target state information is obtained, so as to facilitate the subsequent corresponding comparison and matching of the target value and the reference value.
[0080] S202: When the target state information matches the reference state information, determine that the main power grid meets a first target switching condition.
[0081] Specifically, the target state information matches the reference state information, which means that the parameter information in the target state information matches the parameter information in the reference state information, for example, the target voltage satisfies the setting of the reference voltage, and the target frequency satisfies the setting of the reference frequency. When the target state information matches the reference state information, it is determined that the main power grid meets the first target switching condition.
[0082] S204: Control the main grid to send a first switching instruction to the microgrid component.
[0083] Specifically, when it is determined that the main grid meets the first target switching condition, the grid is controlled to send a first switching instruction to the microgrid component, wherein the first switching instruction is used to instruct each microgrid unit in the microgrid component to switch from an off-grid state to a grid-connected state.
[0084] In another feasible solution, Figure 3 As shown, when it is determined that the main grid meets the first target switching condition, controlling the main grid to send the first switching instruction to the microgrid component can also be achieved by the following steps. Specifically, the steps include:
[0085] S300: Obtain first status information of the main power grid at the current moment.
[0086] S302: When the first status information is a networked state, obtain the second status information of the main power grid at a previous moment.
[0087] Specifically, the first state information of the main grid at the current moment is used to characterize the network information of the main grid at the current moment. When it is determined that the main grid is in a networked state at the current moment, the second state information of the main grid at the previous moment is obtained. The second state information of the main grid at the previous moment refers to the network information of the main grid at the previous moment.
[0088] S304: When the first state information matches the second state information, determine that the main power grid meets a first target switching condition.
[0089] Specifically, the first state information matches the second state information, which means that the main power grid is connected to the network at both the current moment and the previous moment. At this time, it is determined that the main power grid meets the first target switching condition.
[0090] S306: Control the main grid to send a first switching instruction to the microgrid component.
[0091] Specifically, when it is determined that the main grid meets the first target switching condition, the main grid is controlled to send a first switching instruction to the microgrid component.
[0092] Further, such as Figure 4 As shown, another off-grid and on-grid control method is provided. Specifically, after the method matches and obtains the switching results of each microgrid unit, the method includes:
[0093] S400, determine whether the main grid meets the target switching conditions.
[0094] The target switching condition includes a first target switching condition.
[0095] S402. When it is determined that the main grid meets the first target switching condition, control the main grid to send a first switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction.
[0096] S404: Obtain the switching results of each microgrid unit.
[0097] Specifically, the related introduction of steps S400-S404 can refer to the related introduction of steps S100-S104, which will not be repeated here.
[0098] S406: Determine the off-grid microgrid units that have not completed the grid-connected operation among the microgrid units.
[0099] Specifically, the off-grid microgrid units that have not completed the off-grid to grid-connected switching are determined based on the switching results of each microgrid unit.
[0100] S408, detecting the communication network status between the off-grid microgrid unit and the main grid unit.
[0101] S410: When the communication network status between the off-grid microgrid unit and the main grid unit meets the communication condition, control the main grid unit to send the first switching instruction to the off-grid microgrid unit again.
[0102] Specifically, after determining the off-grid microgrid unit that has not completed the off-grid to grid-connected switching, it is possible to further detect whether the current communication status between the off-grid microgrid unit and the main grid unit is normal. When the communication is normal, the main grid can be controlled to send the first switching instruction to the microgrid unit again.
[0103] Furthermore, the target switching condition further includes a second target switching condition. When the target switching condition includes the second target switching condition, the off-grid control method can also be as follows: Figure 5 The steps shown, specifically, include:
[0104] S500: Determine whether the main power grid meets the target switching condition.
[0105] S502. When it is determined that the main grid meets the second target switching condition, the main grid is controlled to send a second switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from a grid-connected state to an off-grid state in response to the second switching instruction, and when a second target microgrid unit that completes the off-grid operation is determined, the main grid is controlled to send a second wave transmission instruction to the second target microgrid unit.
[0106] According to another aspect of the present application, a grid-connected control device is also disclosed, such as Figure 6 As shown, the device comprises:
[0107] A switching condition determination module, used to determine whether the main power grid meets the target switching condition, wherein the target switching condition includes a first target switching condition;
[0108] A first switching instruction sending module is used to control the main grid to send a first switching instruction to the microgrid component when it is determined that the main grid meets the first target switching condition, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction;
[0109] A switching result acquisition module, used to obtain the switching result of each microgrid unit;
[0110] A grid-connected operation determination module, used to determine a first target microgrid unit that completes the grid-connected operation among the microgrid units;
[0111] The first wave generation instruction sending module is used to control the main grid to send a first wave generation instruction to the first target microgrid unit, wherein the first wave generation instruction instructs the voltage loop of the main grid to be given as a reference for the current loop of the first target microgrid unit.
[0112] Furthermore, the first wave generation instruction sending module is specifically used to control the main grid to send the first wave generation instruction to the first target microgrid unit based on the RS485 communication protocol.
[0113] Furthermore, the first wave generation instruction includes any one or more combinations of the main grid operation status bit, the inverter wave generation flag bit, the host phase lock completion flag bit, the power frequency zero-crossing signal flag bit, and the grid-side relay closing action flag bit.
[0114] Furthermore, the first switching instruction sending module is specifically used to obtain reference state information and target state information of the main grid within a target time period; when the target state information matches the reference state information, it is determined that the main grid meets the first target switching condition; and the main grid is controlled to send the first switching instruction to the microgrid component.
[0115] Furthermore, the device also includes:
[0116] An off-grid operation determination module is used to determine an off-grid microgrid unit that has not completed the grid-connected operation among the microgrid units;
[0117] A communication status detection module is used to detect the communication network status between the off-grid microgrid unit and the main grid unit;
[0118] The first switching instruction sending module is also used to control the main grid unit to send the first switching instruction to the off-grid microgrid unit again when the communication network status between the off-grid microgrid unit and the main grid unit meets the communication condition.
[0119] Further, the target switching condition further includes a second target switching condition, and the device further includes:
[0120] A second switching instruction sending module is used to control the main grid to send a second switching instruction to the microgrid component when it is determined that the main grid meets the second target switching condition, so that each microgrid unit in the microgrid component switches from a grid-connected state to an off-grid state in response to the second switching instruction;
[0121] The second wave generation instruction switching module is used to control the main grid to send a second wave generation instruction to the second target microgrid unit when it is determined that the second target microgrid unit has completed the off-grid operation.
[0122] In this example, the switching condition determination module determines whether the main grid meets the target switching condition, wherein the target switching condition includes the first target switching condition; when determining that the main grid meets the first target switching condition, the first switching instruction sending module controls the main grid to send the first switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction; the switching result acquisition module is used to obtain the switching result of each microgrid unit; the grid-connected operation determination module is used to determine the first target microgrid unit that completes the grid-connected operation among each microgrid unit; the first wave-generating instruction sending module is used to control the main grid to send the first wave-generating instruction to the first target microgrid unit, wherein the first wave-generating instruction indicates that the voltage loop of the main grid is given as a reference for the current loop of the first target microgrid unit. In this example, the main grid sends the wave-generating instruction to the microgrid, so that the microgrid performs current regulation before grid connection under the reference of the voltage loop of the main grid, thereby improving the switching stability of the microgrid when it is connected to the main grid.
[0123] above Figure 6 The off-grid and grid-connected control device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the electronic device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0124] According to another aspect of the present application, an electronic device is also disclosed, including:
[0125] processor;
[0126] a memory for storing processor-executable instructions;
[0127] The processor is configured to execute instructions to implement the off-grid and on-grid control method described above.
[0128] Specifically, Figure 7 As shown, the electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (for example, one or more processors) and a memory 720, and one or more storage media 730 (for example, one or more mass storage devices) storing application programs 733 or data 732. Among them, the memory 720 and the storage medium 730 can be temporary storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the electronic device 700. Furthermore, the processor 710 can be configured to communicate with the storage medium 730 and execute a series of instruction operations in the storage medium 730 on the electronic device 700.
[0129] The electronic device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input and output interfaces 750, and / or one or more operating systems 731, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 7 The structure of the electronic device shown does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0130] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the logistics express management method.
[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0132] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0133] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0134] According to another aspect of the present application, a computer-readable storage medium is also disclosed. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the off-grid control method as claimed in any one of claims 1 to 7.
[0135] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.
Claims
1. A grid-connected control method, characterized in that: The method comprises: Determining whether the main power grid meets a target switching condition, wherein the target switching condition includes a first target switching condition; When it is determined that the main grid meets the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction; Obtaining the switching results of each microgrid unit; Determine a first target microgrid unit that completes the grid-connected operation among the microgrid units; The main grid is controlled to send a first wave generation instruction to the first target microgrid unit, wherein the first wave generation instruction instructs the voltage loop of the main grid to be given as a reference for the current loop of the first target microgrid unit.
2. The off-grid control method according to claim 1, characterized in that: The controlling the main grid to send a first wave transmission instruction to the first target microgrid unit comprises: The main grid is controlled to send a first wave transmission instruction to the first target microgrid unit based on the RS485 communication protocol.
3. The off-grid control method according to claim 1 or 2, characterized in that: The first wave generation instruction includes any one or more combinations of the operation status bit of the main power grid, the inverter wave generation flag bit, the host phase lock completion flag bit, the power frequency zero-crossing signal flag bit and the grid-side relay closing action flag bit.
4. The off-grid and on-grid control method according to claim 1, characterized in that: When it is determined that the main grid meets the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component includes: Acquiring reference state information and target state information of the main power grid within a target time period; When the target state information matches the reference state information, determining that the main power grid satisfies a first target switching condition; The main grid is controlled to send a first switching instruction to the microgrid component.
5. The off-grid and on-grid control method according to claim 1, characterized in that: When it is determined that the main grid meets the first target switching condition, controlling the main grid to send a first switching instruction to the microgrid component includes: Acquire first state information of the main power grid at a current moment; When the first state information is a networked state, obtaining the second state information of the main power grid at a previous moment; When the first state information matches the second state information, determining that the main power grid meets a first target switching condition; The main grid is controlled to send a first switching instruction to the microgrid component.
6. The off-grid and on-grid control method according to claim 1, characterized in that: After obtaining the switching results of each microgrid unit, the method further includes: Determine an off-grid microgrid unit that has not completed the grid-connected operation among the microgrid units; Detecting a communication network status between the off-grid microgrid unit and the main grid unit; When the communication network state between the off-grid microgrid unit and the main grid unit meets the communication condition, the main grid unit is controlled to send the first switching instruction to the off-grid microgrid unit again.
7. The off-grid and on-grid control method according to claim 1, characterized in that: The target switching condition further includes a second target switching condition. After determining whether the main power grid meets the target switching condition, the method further includes: When it is determined that the main grid meets the second target switching condition, the main grid is controlled to send a second switching instruction to the microgrid component, so that each of the microgrid units in the microgrid component switches from a grid-connected state to an off-grid state in response to the second switching instruction, and when a second target microgrid unit that completes the off-grid operation is determined, the main grid is controlled to send a second wave transmission instruction to the second target microgrid unit.
8. An off-grid control device, characterized in that: The device comprises: A switching condition determination module, used to determine whether the main power grid meets the target switching condition, wherein the target switching condition includes a first target switching condition; A first switching instruction sending module is used to control the main grid to send a first switching instruction to the microgrid component when it is determined that the main grid meets the first target switching condition, so that each microgrid unit in the microgrid component switches from an off-grid state to a grid-connected state in response to the first switching instruction; A switching result acquisition module, used to obtain the switching results of each microgrid unit; A grid-connected operation determination module, used to determine a first target microgrid unit that completes the grid-connected operation among the microgrid units; The first wave generation instruction sending module is used to control the main grid to send a first wave generation instruction to the first target microgrid unit, wherein the first wave generation instruction indicates that the voltage loop of the main grid is given as a reference for the current loop of the first target microgrid unit.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the off-grid and on-grid control method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the off-grid control method according to any one of claims 1 to 7.
Citation Information
Cited By
Energy storage off-grid parallel operation method and energy storage off-grid parallel operation system
CN120474064A
Energy storage off-grid parallel machine method and energy storage off-grid parallel machine system
CN120474064B
Energy storage off-grid parallel operation method for switching grid-connected working mode to off-grid working mode
CN121076880A
Energy storage off-grid parallel operation system
CN121076881A
Energy storage off-grid parallel operation method for switching off-grid working mode to grid-connected working mode
CN121076882A
