Adaptive control method and system for multi-cabinet parallel operation of industrial and commercial energy storage cabinets
By adopting multi-cabinet parallel machine adaptive control method in industrial and commercial energy storage cabinets, the temporary host is dynamically elected, which solves the system stability problem caused by the failure of a single main controller, and improves the system reliability and utilization rate of the energy storage cabinet.
Patent Information
- Application Number
- CN202411939657.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-26
AI Technical Summary
In the existing industrial and commercial energy storage cabinet multi-cabinet parallel control scheme, a single main controller failure will lead to fragile stability of the entire system and slow control response speed. When multiple cabinets are paralleled, a fixed main cabinet failure will cause all energy storage cabinets to stop working.
A multi-cabinet parallel machine adaptive control method for industrial and commercial energy storage cabinets is adopted. Each energy storage cabinet is equipped with a host controller, and information interaction is conducted through the virtual protocol end, and temporary hosts are dynamically elected to ensure that the normal operation of other cabinets does not affect the failure of a single energy storage cabinet.
It improves the reliability of the system and the utilization rate of the energy storage cabinet, avoids system downtime caused by the failure of the fixed main cabinet, ensures that all energy storage cabinets operate consistently, and improves the control response speed and stability.
Smart Images

Figure CN119787546A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of industrial and commercial energy storage cabinet control, and in particular relates to a method and system for adaptively controlling multi-cabinet parallel operation of industrial and commercial energy storage cabinets. Background Art
[0002] After investigating the existing industrial and commercial energy storage manufacturers' multi-cabinet paralleling solutions, the methods of multi-storage cabinet paralleling are mainly divided into the following two types: The first one is as shown in the attached Figure 1 As shown in the figure, a main controller controls multiple actuators. The actuators do not perform control strategies and protection logic functions. All control strategies and protection logic functions are implemented by the main controller. All actuators are only responsible for receiving and executing the instructions of the main controller, and then returning the execution results to the main controller. During on-site construction, all sensors related to control need to be connected to the main controller. The main controller is responsible for receiving and storing the master station instructions, and distributing control instructions to all controllers according to the set charging and discharging strategies. At the same time, the main controller receives the fault alarm signals of all slaves, and issues protection instructions to the energy storage cabinets with fault alarms according to the set logic protection process. The main controller of this technical solution is the brain of all energy storage cabinets. All information flows in and out through the main controller, which has a large delay. When the number of energy storage cabinets is large, it is particularly easy to cause slow control response speed, and the failure to issue logic protection instructions in time will cause the accident to expand. If a single main controller fails, other normal energy storage cabinets will not be able to charge and discharge. The stability of the system is relatively fragile and heavily depends on the working status of the main controller. The second type is as shown in the attached Figure 2 As shown in the figure: one master controller and multiple slave controllers. The hardware resources of the master controller and the slave controller are exactly the same, but the responsibilities are different. The master controller is responsible for receiving the instructions issued by the master station, and accessing the status information of other slave controllers for instruction distribution. The amount of information required is small, and the information exchange speed between the master and slave controllers is very fast. The host only undertakes the work of instruction distribution. The logical protection strategy of the energy storage cabinet itself is implemented by the slave. The slave accesses all the device information in its own energy storage cabinet, and can quickly receive, process and output protection of the device status information. The fault alarm protection action response level can reach milliseconds. This solution has higher speed and reliability in logical protection response speed, but the master station control instruction distribution still relies on a single master controller. If the master control fails, all energy storage cabinets cannot execute the master station instructions. When the master controller fails, the user's operating income is directly reduced. Although the slave controller can be switched to the master controller through software configuration, it requires manual switching, and the sensors connected to the master controller also need to be manually replaced with the new master controller, which generates a certain amount of time and labor costs. Summary of the invention
[0003] (I) Purpose of the invention
[0004] The purpose of the present invention is to provide a method and system for adaptively controlling the parallel operation of multiple industrial and commercial energy storage cabinets. In this method, the failure of a single energy storage cabinet does not affect the normal execution of control instructions by other cabinets. The method can ensure that when multiple industrial and commercial energy storage cabinets are in operation, only one of the main cabinets is allowed to be responsible for policy adjustment at the same time, and the other cabinets receive the control of the main cabinet in a unified manner to ensure that all energy storage cabinets act in unison, thereby improving the reliability of the entire system.
[0005] (II) Technical solution
[0006] To solve the above problems, the first aspect of the present invention provides a method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets, each energy storage cabinet is equipped with a host controller, and the method is applied to the host controller. The method includes:
[0007] S1, receiving the general command sent by the master station;
[0008] S2, according to the status of each energy storage cabinet, each host controller defines a first publishing topic and publishes it to the virtual protocol terminal, and subscribes to the first publishing topic of other host controllers through the virtual protocol terminal, and analyzes and judges according to the information of the first publishing topic, wherein the information of the first publishing topic includes the device number of each host controller;
[0009] S3, combining the result of the analysis and judgment with the general instruction, defining a second publishing topic and publishing it to the virtual protocol end, and then subscribing and obtaining the second publishing topic instruction of other host controllers through the virtual protocol end;
[0010] S4, obtaining device numbers of other host controllers through the virtual protocol terminal, and prioritizing the device numbers, taking the host controller with the smallest device number and normal communication with the virtual protocol terminal as the temporary master, and the host controllers corresponding to other device numbers as temporary slaves, and executing the second publishing subject instruction corresponding to the temporary master;
[0011] S5: If the temporary host fails, return to step S4 and continue to execute until a host controller that meets the conditions is selected as a new temporary host.
[0012] Furthermore, the first publishing topic also includes: start / stop status information of each host controller, charging and discharging prohibition information, SOC upper limit value and lower limit value, and actual SOC.
[0013] Further, the subscribing to the first publishing topic information of other controllers through the virtual protocol terminal and performing analysis and judgment includes:
[0014] If the energy storage cabinet corresponding to the host controller is in a normal startup, no charging prohibition, no fault state, and the actual SOC of the battery is lower than the SOC upper limit value, then the energy storage cabinet is determined to be in a chargeable state;
[0015] If the host controller is in a normal startup, no discharge prohibition, no fault state and the actual SOC of the battery is higher than the SOC lower limit, it is determined that the energy storage cabinet is in a dischargeable state.
[0016] Furthermore, the combining the analysis and judgment result and the general instruction to define the second publishing topic includes:
[0017] Each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the total instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet.
[0018] Furthermore, all host controllers are connected to the main station network via 4G or Ethernet.
[0019] Further, each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, and calculates the corresponding execution power of each energy storage cabinet according to the total instruction, including: each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets in the same group, the total charging power or the total discharging power, and calculates the corresponding charging execution power or discharging execution power of each energy storage cabinet, wherein the total instruction includes the total charging power or the total discharging power.
[0020] In addition, the second aspect of the present invention provides an industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control system, in which each energy storage cabinet is equipped with a host controller, and the system comprises:
[0021] A general instruction receiving module is used to receive the general instruction sent by the master station;
[0022] A first publishing topic definition module is used to define first publishing topics according to the status of each energy storage cabinet and publish them to the virtual protocol terminal, and subscribe to the first publishing topics of other host controllers through the virtual protocol terminal, and analyze and judge according to the information of the first publishing topic, wherein the information of the first publishing topic includes the device number of each host controller;
[0023] A second publishing topic definition module is used for the host controller to define a second publishing topic and publish it to the virtual protocol end in combination with the result of the analysis and judgment and the general instruction, and then subscribe to and obtain the second publishing topic instruction of other host controllers through the virtual protocol end;
[0024] A temporary host determination module is used to obtain the device numbers of other host controllers through the virtual protocol terminal, and prioritize the device numbers, and use the host controller with the smallest device number and normal communication with the virtual protocol terminal as the temporary host, and the host controllers corresponding to other device numbers are all used as temporary slaves, and execute the second publishing subject instruction corresponding to the temporary host;
[0025] The fault detection module is used to return to the temporary host determination module to continue execution if the temporary host fails, until a host controller that meets the conditions is selected as a new temporary host.
[0026] Furthermore, the first publishing topic definition module also includes: start / stop status information of each host controller, charging and discharging prohibition information, SOC upper limit value and lower limit value, and actual SOC.
[0027] Furthermore, the first publishing topic definition module is also used to:
[0028] If the energy storage cabinet corresponding to the host controller is in a normal startup, no charging prohibition, no fault state, and the actual SOC of the battery is lower than the SOC upper limit value, then the energy storage cabinet is determined to be in a chargeable state;
[0029] If the energy storage cabinet corresponding to the host controller is in a normal startup, no discharge prohibition, no fault state and the actual SOC of the battery is higher than the SOC lower limit value, it is determined that the energy storage cabinet is in a dischargeable state.
[0030] Furthermore, the second publishing topic definition module is also used for:
[0031] Each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the total instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet.
[0032] Furthermore, all host controllers in the system are connected to the main station network via 4G or Ethernet.
[0033] (III) Beneficial effects
[0034] The above-mentioned technical scheme of the present invention has the following beneficial technical effects: the present invention provides a method and system for adaptively controlling multiple parallel industrial and commercial energy storage cabinets, which can ensure that when multiple industrial and commercial energy storage cabinets are in operation, only one of the main cabinets is allowed to be responsible for strategy adjustment at a certain moment, and the other cabinets are uniformly controlled by the main cabinet to ensure that all energy storage cabinets operate in a consistent manner. The method is used for information interaction between multiple host controllers and virtual protocol terminals. Each energy storage cabinet is equipped with a host controller, which is connected to the master station network. The design principle is: according to the status of each energy storage cabinet, each host controller defines a first publishing topic and publishes it to the virtual protocol terminal. All host controllers (main controllers) are gathered to a switch through a network cable to form a local area network. All main controllers in the local area network establish a data information bus (virtual protocol terminal). Each main controller subscribes to the first publishing topic information of other controllers through the virtual protocol terminal and analyzes and judges to determine the charging or discharging status of the corresponding energy storage cabinet, and then distributes the general instruction to each normally chargeable and dischargeable energy storage cabinet, and at the same time defines a second publishing topic and publishes it to the virtual protocol terminal, and then subscribes to and obtains the second publishing topic instructions of other host controllers through the virtual protocol terminal. Finally, by sorting the device numbers by priority, the host controller with the smallest device number and normal communication with the virtual protocol terminal is used as a temporary host, and the host controllers corresponding to other numbers are all used as temporary slaves, and the second publishing topic instructions corresponding to the temporary host are executed at the same time. When the temporary host fails, the host controller that meets the conditions is selected as the new temporary host according to the above-mentioned minimum device number priority principle. This method no longer sets a certain energy storage cabinet as the master cabinet when multiple cabinets are connected in parallel. Instead, capable energy storage cabinets are selected as temporary master cabinets by other energy storage cabinets in order. When the temporary master cabinet loses control capability, all energy storage cabinets will re-elect a new energy storage cabinet as the temporary master cabinet. This method can prevent all energy storage cabinets in the same group from stopping working due to a failure of a fixed master cabinet. Regardless of whether a single cabinet is operating independently or multiple cabinets are connected in parallel, the failure of a single energy storage cabinet does not affect the normal execution of control instructions by other cabinets. The technical solution of the present invention is used as a control solution for connecting multiple industrial and commercial energy storage cabinets in parallel, which greatly improves the utilization rate of the energy storage cabinets and the reliability of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a schematic diagram of the first control scheme for parallel operation of multiple energy storage cabinets in the prior art;
[0036] Figure 2 This is a schematic diagram of the second control scheme for parallel operation of multiple energy storage cabinets in the prior art;
[0037] Figure 3 It is a flow chart of the adaptive control method for parallel operation of multiple industrial and commercial energy storage cabinets of the present invention;
[0038] Figure 4 It is a schematic diagram of a specific embodiment of the multi-cabinet parallel adaptive control method of the present invention;
[0039] Figure 5 It is a flowchart of a specific embodiment of the multi-cabinet parallel adaptive control method of the present invention;
[0040] Figure 6 It is a flow chart of the adaptive control system for industrial and commercial energy storage cabinets in parallel. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0042] When industrial and commercial energy storage is in operation, it is necessary to monitor the transformer capacity and the actual user load in real time. The transformer capacity must not be exceeded during charging, and the actual user load must not be exceeded during discharging. Otherwise, the energy storage power will flow backwards, causing power to be reversed to the grid, which is not allowed. If multiple cabinets are operated independently, some energy storage cabinets will have power over-adjustments and over-adjustments in a short period of time, which will eventually cause power fluctuations in the user's terminal power environment. To this end, the present invention provides a method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets, in which each energy storage cabinet is equipped with a host controller, each cabinet is equipped with a main controller, and all main controllers are connected to a switch through a network cable to form a local area network. All main controllers in the local area network establish a data information bus, such as Figure 3 As shown, the method is used for information interaction between multiple host controllers and a virtual protocol end (information bus), all host controllers are connected to the master network, and all host controllers are connected to the master network via 4G or Ethernet using the MQTT protocol, such as Figure 4 As shown, one end of the host controller is connected to the virtual protocol end for communication, and the other end is connected to the corresponding execution controller, which is a power execution device in an industrial and commercial energy storage cabinet, such as an energy storage converter. The method specifically includes:
[0043] S1, receiving the total instruction sent by the master station. In this step, the host controller receives the total instruction sent by the master station, and the total instruction includes the total power of the master station (total charging power or total discharging power).
[0044] S2, according to the status of each energy storage cabinet, each host controller defines a first publishing topic and publishes it to the virtual protocol terminal. The first publishing topic is also called a single cabinet status topic, including the device number of each host controller, the start and stop status information of the energy storage cabinet corresponding to each host controller, the charging and discharging prohibition information, the SOC upper limit and lower limit, and the actual SOC (current power). The host controller subscribes to the first publishing topic information of other controllers through the virtual protocol terminal and analyzes and judges. Each energy storage cabinet subscribes to the "single cabinet status topic" to obtain the single cabinet status information published by the main controller of other energy storage cabinets, and its own status information is obtained by the main controller's own program. In this way, each main controller can obtain the status information of all main controllers in the local area network. The host controller receives the master station general instruction through 4G or Ethernet and the master station network, and stores the master station command inside the main controller. By subscribing to the "single cabinet status topic", the information of other energy storage cabinets can be obtained from the data information communication bus, and the start and stop status information, charging and discharging prohibition information, chargeable and dischargeable power, current power, etc. of other energy storage cabinets can be judged from the obtained information, and the comprehensive single cabinet status information is analyzed and calculated.
[0045] Further, the subscribing to the first publishing topic information of other controllers through the virtual protocol terminal and performing analysis and judgment includes:
[0046] (1) If the energy storage cabinet corresponding to the host controller is in a normal startup, no charging prohibition, no fault state, and the actual SOC of the battery is lower than the SOC upper limit value (the charging state of the battery, when the battery is fully discharged, the SOC is 0, when it is fully charged, the SOC of the battery is 1, reflecting the actual availability of the battery), then it is determined that the energy storage cabinet is in a chargeable state.
[0047] (2) If the energy storage cabinet corresponding to the host controller is in a normal startup, no prohibition, no fault state, and the actual battery SOC is higher than the SOC lower limit, the energy storage cabinet is determined to be in a dischargeable state. That is, if a single cabinet is in a normal startup, no prohibition, no fault state, and the actual battery SOC is higher than the minimum SOC lower limit, the energy storage cabinet is determined to be in a dischargeable state.
[0048] S3, combining the results of the analysis and judgment and the general instruction, each host controller defines a second publishing topic and publishes it to the virtual protocol terminal, and then subscribes to and obtains the second publishing topic instructions of other host controllers through the virtual protocol terminal. The combination of the results of the analysis and judgment and the general instruction to define the second publishing topic includes: each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the general instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet, specifically: each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets in the same group, the total charging power or the total discharging power, and calculates the corresponding charging execution power or discharging execution power of each energy storage cabinet, wherein the general instruction includes the total charging power or the total discharging power. The second publishing topic is also called the "Issuing Command Topic". After counting the rechargeable or dischargeable energy storage cabinets, the power that each energy storage cabinet needs to execute is calculated based on the chargeable and discharge power of the energy storage cabinet, and the single cabinet power, device number and other information that each energy storage cabinet needs to execute are sent through the message bus to form a frame of message and published to the data information bus as the "Issuing Command Topic". The device number in the Issuing Command Topic is the same as the device number in the Single Cabinet Status Topic. When executing instructions, each main controller (host controller) subscribes to the "Issuing Command Topic" of other main controllers from the information bus, and its own issuing command information is obtained by the main controller's own program.
[0049] S4, obtain the device number of each host controller through the virtual protocol end, and prioritize the device numbers, use the host controller with the smallest device number and normal communication with the virtual protocol end as the temporary host, and the host controllers corresponding to other numbers are all temporary slaves, and execute the second publishing theme instruction corresponding to the temporary host. After obtaining the instruction message information issued by all energy storage cabinets, each main controller first determines whether the communication status with the information bus is normal in order from small to large according to the device number, and preferentially executes the charge and discharge instructions issued by the main controller with the smallest device number and normal communication status, and treats it as a temporary host, and itself as a temporary slave. Through the "minimum device number" priority selection principle, it is ensured that at the same time, in the same local area network, only one main controller on the same data information bus can become a temporary host, and other slaves uniformly receive and execute the execution issued by the temporary host.
[0050] S5, if the temporary host fails, return to step S4 and continue to execute until a host controller that meets the conditions is selected as a new temporary host. When the temporary host loses communication with other master controllers due to a failure, each master controller subscribes to the first publishing topic, the second publishing topic and the communication status published by other master controllers in real time, and continues to select a master controller as the temporary host in the order of device numbers from small to large, and the other master controllers are temporary slaves.
[0051] Figure 5 This is a flow chart for judging the "temporary host" of an embodiment of the present invention. After the program is started, the communication status of the main controller, the main controller failure (CPU, memory, storage abnormal failure) and other conditions are judged in order according to the principle of device number from small to large. When a main controller meets all the conditions, it is selected as the "temporary host". After the "temporary host" is selected, the state of the main controller is judged in a loop. When the main controller does not meet the conditions of the "temporary host", the next main controller is selected as the "temporary host" according to the priority judgment principle of "smallest device number".
[0052] like Figure 6 As shown, the second aspect of the present invention provides an industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control system, in which each energy storage cabinet in the system is equipped with a host controller, and the system is used for information interaction between multiple host controllers and virtual protocol terminals, and all host controllers are connected to the master station network. All host controllers in the system are connected to the master station network via 4G or Ethernet, and the system includes:
[0053] A general instruction receiving module 21 is used to receive a general instruction sent by a master station;
[0054] The first publishing topic definition module 22 is used for each host controller to define a first publishing topic and publish it to the virtual protocol terminal according to the status of each energy storage cabinet, and subscribe to the first publishing topic information of other host controllers through the virtual protocol terminal and perform analysis and judgment, wherein the first publishing topic information includes the device number of each host controller. The first publishing topic definition module 22 is also used for: if the host controller is in a normal startup, no charging prohibition, no fault state and the actual battery SOC is lower than the SOC upper limit value, then determine that the energy storage cabinet corresponding to the host controller is in a charging state;
[0055] If the host controller is in a normal startup, no discharge prohibition, no fault state and the actual SOC of the battery is higher than the SOC lower limit value, it is determined that the energy storage cabinet corresponding to the host controller is in a discharge state.
[0056] The second publishing topic definition module 23 is used to combine the results of the analysis and judgment with the general instruction, each host controller defines a second publishing topic and publishes it to the virtual protocol terminal, and then subscribes to and obtains the second publishing topic instructions of other host controllers through the virtual protocol terminal. The second publishing topic definition module 23 is also used for: each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the general instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet.
[0057] A temporary host determination module 24 is used to obtain the device numbers of other host controllers through the virtual protocol terminal, and prioritize the device numbers, and use the host controller with the smallest device number and normal communication with the virtual protocol terminal as the temporary host, and the host controllers corresponding to other device numbers are all used as temporary slaves, and execute the second publishing subject instruction corresponding to the temporary host;
[0058] The fault checking module 25 is used to return to the temporary host determination module to continue execution if the temporary host fails, until a host controller that meets the conditions is selected as a new temporary host.
[0059] Furthermore, the first publishing topic definition module 22 also includes: start / stop status information of each host controller, charging and discharging prohibition information, SOC upper limit value, SOC lower limit value and actual SOC.
[0060] The present invention provides an industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control method and system. The use of the energy storage cabinet parallel master-slave adaptive scheme as the control scheme for industrial and commercial energy storage cabinet multi-cabinet parallel will greatly improve the utilization rate of the energy storage cabinet and improve the reliability of the entire system. This technical solution no longer sets a certain energy storage cabinet as the master cabinet when multiple cabinets are paralleled, but the capable energy storage cabinets are selected as temporary master cabinets by other energy storage cabinets in order. When the temporary master cabinet loses control ability, all energy storage cabinets will re-elect a new energy storage cabinet as the temporary master cabinet. According to this method, it can be avoided that all energy storage cabinets in the same group stop working due to the failure of the fixed master cabinet.
[0061] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the attached claims and their equivalents. Without departing from the scope of the present invention, a variety of substitutions and modifications may be made by those skilled in the art, and these substitutions and modifications should all fall within the scope of the present invention. It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in one or more boxes. Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes the following processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (Read-Only Memory, referred to as ROM) or a random access memory (Random Access Memory, referred to as RAM), etc. The steps in the method of the embodiment of the present invention can be adjusted in sequence, merged and deleted according to actual needs. The module units in the system terminal or device of the embodiment of the present invention can be merged, divided and deleted according to actual needs.
Claims
1. An adaptive control method for parallel operation of multiple industrial and commercial energy storage cabinets, characterized in that: Each energy storage cabinet is equipped with a host controller. The method is applied to the host controller. The method includes: S1, receiving the general command sent by the master station; S2, according to the state of the energy storage cabinet, define a first publishing topic and publish it to the virtual protocol terminal, and subscribe to the first publishing topic of other host controllers through the virtual protocol terminal, and analyze and judge according to the information of the first publishing topic, wherein the information of the first publishing topic includes the device number of the host controller; S3, combining the result of the analysis and judgment with the general instruction, defining a second publishing topic and publishing it to the virtual protocol end, and subscribing to and obtaining the second publishing topic instruction of other host controllers through the virtual protocol end; S4, obtaining device numbers of other host controllers through the virtual protocol terminal, and prioritizing the device numbers, taking the host controller with the smallest device number and normal communication with the virtual protocol terminal as the temporary master, and the host controllers corresponding to other device numbers as temporary slaves, and executing the second publishing subject instruction corresponding to the temporary master; S5: If the temporary host fails, return to step S4 and continue to execute until a host controller that meets the conditions is selected as a new temporary host.
2. The method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets according to claim 1 is characterized in that: The first publishing topic also includes: start / stop status information of each host controller, information on prohibiting charging and discharging, upper and lower limits of SOC, and actual SOC.
3. The method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets according to claim 2 is characterized in that: Subscribing to the first published topic information of other controllers through the virtual protocol terminal and performing analysis and judgment includes: If the energy storage cabinet corresponding to the host controller is in a normal startup, no charging prohibition, no fault state, and the actual SOC of the battery is lower than the SOC upper limit value, then the energy storage cabinet is determined to be in a chargeable state; If the energy storage cabinet corresponding to the host controller is in a normal startup, no discharge prohibition, no fault state and the actual SOC of the battery is higher than the SOC lower limit value, it is determined that the energy storage cabinet is in a dischargeable state.
4. The method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets according to claim 3 is characterized in that: Defining the second publishing topic in combination with the result of the analysis and judgment and the general instruction includes: Each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the total instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet.
5. The method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets according to claim 1 is characterized in that: All host controllers are connected to the main station network via 4G or Ethernet.
6. The method for adaptively controlling multiple parallel industrial and commercial energy storage cabinets according to claim 4 is characterized in that: Each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, and calculates the corresponding execution power of each energy storage cabinet according to the total instruction, including: Each host controller calculates the corresponding charging execution power or discharging execution power of each energy storage cabinet based on the chargeable or dischargeable state, total charging power or total discharging power of its own energy storage cabinet and other energy storage cabinets in the same group, where the total instruction includes the total charging power or the total discharging power.
7. An adaptive control system for industrial and commercial energy storage cabinets with multiple cabinets in parallel, characterized in that: Each energy storage cabinet in the system is equipped with a host controller, and the system includes: A general instruction receiving module is used to receive the general instruction sent by the master station; A first publishing topic definition module is used to define first publishing topics according to the status of each energy storage cabinet and publish them to the virtual protocol terminal, and subscribe to the first publishing topic information of other host controllers through the virtual protocol terminal, and perform analysis and judgment according to the information of the first publishing topic, wherein the information of the first publishing topic includes the device number of each host controller; A second publishing topic definition module, used to define a second publishing topic and publish it to the virtual protocol end in combination with the result of the analysis and judgment and the general instruction, and then subscribe to and obtain the second publishing topic instruction of other host controllers through the virtual protocol end; A temporary host determination module is used to obtain the device numbers of other host controllers through the virtual protocol terminal, and prioritize the device numbers, and use the host controller with the smallest device number and normal communication with the virtual protocol terminal as the temporary host, and the host controllers corresponding to other device numbers are all used as temporary slaves, and execute the second publishing subject instruction corresponding to the temporary host; The fault detection module is used to return to the temporary host determination module to continue execution if the temporary host fails, until a host controller that meets the conditions is selected as a new temporary host.
8. The industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control system according to claim 7, characterized in that: The first publishing topic definition module also includes: start / stop status information of each host controller, charging and discharging prohibition information, SOC upper limit value and lower limit value, and actual SOC.
9. The industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control system according to claim 8, characterized in that: The first publishing topic definition module is also used to: If the energy storage cabinet corresponding to the host controller is in a normal startup, no charging prohibition, no fault state, and the actual SOC of the battery is lower than the SOC upper limit value, then the energy storage cabinet is determined to be in a chargeable state; If the energy storage cabinet corresponding to the host controller is in a normal startup, no discharge prohibition, no fault state and the actual SOC of the battery is higher than the SOC lower limit value, it is determined that the energy storage cabinet is in a dischargeable state.
10. The industrial and commercial energy storage cabinet multi-cabinet parallel adaptive control system according to claim 7, characterized in that: The second publishing topic definition module is also used for: Each host controller combines the chargeable or dischargeable state of its own energy storage cabinet and other energy storage cabinets, calculates the corresponding execution power of each energy storage cabinet according to the total instruction, and then defines the second publishing topic according to the execution power of each energy storage cabinet.
Citation Information
Patent Citations
Distributed storage and charging system cluster and control method thereof
CN114265698A
Optimization method for virtual machine communication in binary simulation environment
CN115827168A
Low-voltage household energy storage control method, parallel operation system and circuit
CN115833322A
Modularized optical storage all-in-one machine and control method thereof
CN115842369A
Management method and management device of energy storage system, energy storage system and storage medium
CN117878895A