WO2024083027A1 - Energy block parallel communication method and apparatus - Google Patents
Energy block parallel communication method and apparatus Download PDFInfo
- Publication number
- WO2024083027A1 WO2024083027A1 PCT/CN2023/124271 CN2023124271W WO2024083027A1 WO 2024083027 A1 WO2024083027 A1 WO 2024083027A1 CN 2023124271 W CN2023124271 W CN 2023124271W WO 2024083027 A1 WO2024083027 A1 WO 2024083027A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- master device
- slave devices
- energy storage
- slave
- information
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 86
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000004146 energy storage Methods 0.000 claims abstract description 103
- 238000012545 processing Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000009434 installation Methods 0.000 abstract description 28
- 238000010276 construction Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 12
- 238000012544 monitoring process Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009413 insulation Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/28—Arrangements for balancing of the load in a network by storage of energy
- H02J3/32—Arrangements for balancing of the load in a network by storage of energy using batteries with converting means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Definitions
- the present application belongs to the field of power electronic control, and specifically relates to a method and device for parallel communication of energy blocks.
- Energy storage battery management systems generally adopt a three-level architecture, consisting of a master control module, a main control module, and a slave control module.
- the slave control module is responsible for the voltage and temperature acquisition of the single battery in the module and the battery balancing management;
- the master control module is responsible for the management of the entire battery cluster, providing real-time monitoring of battery cluster parameters, fault diagnosis, battery state of charge SOC (State of Charge, SOC) estimation, insulation detection, display alarm, remote monitoring, and uploading real-time battery data;
- the master control module is responsible for numerical calculation, performance analysis, alarm processing and record storage of real-time battery data uploaded by the master control and slave control.
- it can realize linkage control with the energy storage converter system (PCS) host, energy storage dispatch monitoring system, etc.
- PCS energy storage converter system
- the traditional energy storage system has high installation costs due to the parallel use of multiple units.
- the centralized arrangement of batteries can easily cause the entire energy storage system to completely fail when a single energy block fails, affecting the stability and safety of product use.
- the example of the present application provides an energy block parallel communication method and device, which enables the master and slave devices to communicate through a serial interface, reduces the installation construction workload and product installation costs, and ensures the stable operation of each energy block at a low cost. In addition, it also solves the impact of a single energy block failure on the entire energy storage system.
- an embodiment of the present application provides an energy block parallel communication method, which is applied to an energy storage system, wherein the energy storage system includes a master device and multiple slave devices, and the master device and the multiple slave devices communicate through a serial interface.
- the method includes: the master device receives a first request message sent by a server for obtaining operating information of the energy storage system, and generates first feedback information according to the first request message; the master device sends the first request message to multiple slave devices respectively, and receives second feedback information generated by at least some of the multiple slave devices according to the first request message respectively; the master device generates a first target feedback message carrying the operating information of the energy storage system according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
- the master and slave devices communicate through a serial interface, realizing local management and communication between the energy storage system and the server, reducing the installation construction workload and product installation cost, ensuring the stable operation of each energy block at a low cost, and also solving the impact of a single energy block failure on the entire energy storage system.
- an embodiment of the present application provides an energy block parallel communication device, the energy block parallel communication device is used to execute an energy block parallel communication method, the energy block parallel communication device includes:
- the receiving module is configured to receive, as a main device, a first request message for obtaining the operation information of the energy storage system sent by the server, and generate first feedback information according to the first request message;
- the generating module is configured to send the first request message to the plurality of slave devices respectively by the master device, and receive the first request message from the plurality of slave devices respectively. second feedback information generated by at least some of the slave devices in the device according to the first request message;
- the sending module is configured to generate a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and send the first target feedback message to the server.
- an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more instructions are suitable for being loaded by the processor and executing part or all of the method of the first aspect.
- an embodiment of the present application provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the method of the first aspect.
- FIG1 is a schematic diagram of a communication structure of a battery management system provided in an embodiment of the present application.
- FIG2 is a schematic diagram of the structure of an energy block parallel communication system provided in an embodiment of the present application.
- FIG3 is a schematic diagram of the structure of a household energy storage device system provided in an embodiment of the present application.
- FIG4 is a schematic flow chart of a method for parallel communication of energy blocks provided in an embodiment of the present application.
- FIG5A is a schematic diagram of a process of determining a new master device when a master device fails, provided by an embodiment of the present application;
- FIG5B is a schematic diagram of a process of determining a new master device when a master device fails, provided by an embodiment of the present application;
- FIG6 is a schematic diagram of the structure of an energy block parallel communication device provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- the current battery management system mainly includes three parts: a master control module, a main control module and a slave control module.
- the battery management system (Battery Management System, BMS) is composed of a master control module, a main control module and a slave control module, wherein the master control module mainly includes an energy management system Energy Management System, EMS) and a battery array unit (Battery Array Unit, BAU), the main control module mainly includes a battery cluster controller (Battery Cluster Unit, BCU), and the slave control module mainly includes a battery module controller (Battery Module Unit, BMU).
- BMS Battery Management System
- the master control module mainly includes an energy management system Energy Management System, EMS) and a battery array unit (Battery Array Unit, BAU)
- the main control module mainly includes a battery cluster controller (Battery Cluster Unit, BCU)
- the slave control module mainly includes a battery module controller (Battery Module Unit, BMU).
- BMU is responsible for the voltage and temperature collection and battery balancing management of the single battery in the module.
- An energy block may include more than one battery pack. When there are multiple battery packs in an energy block, each battery pack corresponds to a BMU;
- BCU is responsible for the management of the entire energy block, providing real-time monitoring of battery cluster parameters, fault diagnosis, battery state of charge SOC (State of Charge, SOC) estimation, insulation detection, display alarm, remote monitoring, and uploading real-time battery data;
- BAU is responsible for numerical calculation, performance analysis, alarm processing and record storage of real-time battery data uploaded by the master control and slave control. In addition, it can also realize linkage control with the host of the energy storage converter system, the energy storage dispatch monitoring system, etc.
- This method of communication redistribution between the master control energy management system EMS and the local management requires the installation of a master control energy management system EMS in the energy storage system, which has problems such as high installation difficulty and high installation cost.
- the present application proposes a method and device for parallel communication of energy blocks, which will be described below with reference to the accompanying drawings.
- FIG. 2 is a schematic diagram of the structure of an energy block parallel communication system provided in an embodiment of the present application; as shown in the figure, the energy block parallel communication system 200 in the figure includes a master device 201, a slave device 2021, a slave device 2022 and a server 203.
- the master device 201, the slave device 2021 and the slave device 2022 are simplified forms of the energy blocks appearing in FIG. 1 .
- the master device 201 is used to assign communication addresses to the slave devices 2021 and 2022, communicate with the slave devices 2021 and 2022 according to the communication addresses to obtain the operating information of the energy storage system (system rated power, system rated capacity, etc.), and communicate with the server 203 on behalf of the energy storage system including the master device 201, the slave devices 2021, and the slave devices 2022 to upload operating information or receive control instructions, etc.; the slave devices 2021 and 2022 are used to receive the communication address assigned by the master device and send operating information to the master device, etc.; the server 203 is used to communicate with the master device 201 to receive data sent by the master device 201 and send instructions to the master device 201, etc.
- FIG. 3 is a schematic diagram of the structure of a household energy storage device system provided by the embodiment of the present application; as shown in the figure, the energy storage system includes an energy block master device and several energy block slave devices, and the master device and the slave device are connected in parallel to the AC cable to power the electrical equipment, and the electrical equipment here can be any household appliance such as a television, a refrigerator, a lighting device, and a ventilation device.
- the master device and the slave device communicate through a communication cable and a serial interface.
- the master device assigns a communication address to the slave device, and communicates with the slave device according to the communication address to obtain the operating information of the energy storage system (system rated power, system rated capacity, etc.), and communicates with the server 203 on behalf of the energy storage system including the master device and all slave devices, uploads operating information or receives control instructions, etc.
- the operating information of the energy storage system system rated power, system rated capacity, etc.
- FIG. 4 is a flow chart of an energy block parallel communication method provided in an embodiment of the present application. As shown in FIG. 4 , it includes steps S401 - S403 .
- the master device receives a first request message sent by a server for obtaining operation information of an energy storage system, and generates first feedback information according to the first request message.
- the master device receives the first request message, where the first request message can be an instruction for obtaining the operation data of the energy storage system sent by the server to the master device. After the master device receives the instruction, it obtains its own The operation data generates first feedback information.
- the method before the master device sends a first request message to multiple slave devices respectively, and respectively receives second feedback information generated by at least some of the multiple slave devices based on the first request message, the method also includes: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through a serial interface based on unique address information.
- the master device and the slave device need to communicate through the communication address. Before the master device sends the first request message to the slave device through the serial interface, it is also necessary to allocate a unique communication address to the slave device. Each independent slave device corresponds to a unique communication address.
- the unique communication address here includes the address information allocated by the master device to each slave device and the address information of the master device.
- the master device and the slave device communicate according to the unique communication address. It should be noted that the master device and the slave device are connected through the serial interface. If any of the slave devices fails, the master device can directly bypass the slave device and communicate with the subsequent slave device without failure.
- the server and the master device, and the master device and the slave device can communicate through the RS485 communication protocol.
- the RS485 communication protocol is an improved protocol for the RS232 communication protocol. It adopts a differential transmission method to solve the common mode interference problem. The maximum distance can reach 1200 meters, and multiple transceiver devices are allowed to be connected to the same bus.
- the master device and all slave devices communicate on a bus through a serial interface.
- the master device assigns a unique communication address to each slave device according to the RS485 communication protocol.
- the master device sends a data packet with a unique communication address to the communication bus. If the communication address information on the data packet corresponding to the unique communication address is consistent with its own pass address information, it sends a response packet to the master device.
- the master device communicates on the serial interface in this way.
- the master and slave devices communicate through the serial interface, thereby realizing local management and communication between the energy storage system and the server, reducing the installation cost and construction workload of the additional installation of the master control system, avoiding possible failure of the master control system and thus causing the energy storage system to lose control, ensuring the stable operation of each energy block at a low cost, and avoiding the impact of a single energy block failure on the entire energy storage system.
- the master device assigns different address information to each of the multiple slave devices, including: the master device obtains the initial operating time of each slave device; the master device sorts the slave devices according to the initial operating time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
- the energy blocks need to be installed in sequence.
- the initial operation time of each energy block can be obtained, and then all energy blocks are sorted according to the initial operation time to obtain the installation order list of all energy blocks.
- the master device can assign different address information to the slave devices in sequence according to the installation order list.
- the method further includes: the master device obtains address information sorting results corresponding to multiple slave devices based on multiple address information corresponding to multiple slave devices; the master device sends the address information sorting results to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices based on the address information sorting results.
- the first installed energy block can be used as the master device of the energy storage system.
- the master device also allocates a communication address according to the installation order.
- the slave device with the first order in the installation order list determines whether the original master device has stopped running. When the original master device stops running, it is converted to the next master device to replace the original master device.
- the master device sends the installation order list to the slave devices.
- the first device is the master device
- the second and subsequent devices are slave devices
- the second slave device is also the first backup master device.
- the second slave device in sequence does not receive the first communication message from the master device within a preset time, it sends a verification message to the master device to detect whether the master device is still online. If no feedback message of the verification message is received after the preset time, it can be inferred that the master device is faulty, and the second slave device in sequence is converted into a master device.
- the main control module of the master device sends an indication message to the second slave device in sequence, instructing the slave device to be converted into a master device, and the original master device is shut down and stops running.
- FIG5A is a schematic diagram of determining a new master device when a master device fails in a real-time example provided in the present application.
- the three energy blocks in the figure are installed according to the installation order from left to right, so it is confirmed that the energy block installed first is master device 1.
- master device 1 fails, slave device 1 does not receive the first request message sent by master device 1 after a preset time, and after slave device 1 sends a verification message to master device 1, it does not receive the verification feedback message of the master device after a preset time.
- slave device 1 can determine that master device 1 fails, and slave device 1 is converted to master device 2 to manage the communication of the energy storage system and communicate with the server.
- master device 1 needs to be shut down due to a failure, disconnect the connection with the AC cable, and stop communication to ensure the normal operation of other energy blocks in the entire storage system.
- master device 1 needs to be shut down due to a failure, disconnect the connection with the AC cable, and stop communication to ensure the normal operation of other energy blocks in the entire storage system.
- only two slave devices are listed here, and the actual application scenario should include more slave devices.
- the master device and each slave device include at least one energy storage module
- the method further includes: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
- the remaining capacity of the energy storage module of the energy block can also be obtained. After the energy block is charged and discharged multiple times, the remaining storage capacity of the energy storage module of the energy block will decrease with the increase in the number of charging and discharging times. The higher the remaining capacity of the energy block, the more stable the energy block will run and the less likely it will fail.
- the master device obtains the remaining capacity of all slave devices, obtains the remaining capacity ranking of the slave devices, and sends the ranking to all slave devices. Referring to the example described in the above embodiment, the master device sends the installation order list to the slave device. When the master device fails, the slave device with the first remaining storage capacity can detect whether the master device is still online by sending a verification message, or receive the instruction information sent by the master device to convert it into a master device to replace the damaged master device.
- FIG. 5B is a flow chart of another method of determining a new master device when a master device fails in a real-time example of the present application.
- the remaining capacity of slave device 1 is 70%, and the remaining capacity of slave device 2 is 90%. Therefore, slave device 2 is ranked first and slave device 1 is ranked second.
- slave device 2 does not receive the first communication message sent by master device 1 after a preset time.
- slave device 2 sends a verification message to master device 1, it does not receive a verification feedback message from the master device after a preset time. Therefore, slave device 2 replaces the failed master device 1 as the new master device 2.
- Slave device 1 continues to be used as a slave device. For the sake of convenience of explanation, only two slave devices are cited here, and more slave devices should be included in the actual application scenario.
- a communication address is automatically assigned to each slave device according to the installation order of the master device, and when a master device fails, the slave device is automatically determined as a new master device according to the installation order, or the remaining storage capacity of the energy storage module of the slave device is obtained, and the slave device with the best performance, the smallest loss, and the most stable operation is determined as the new master device according to the remaining capacity of the energy storage module of the slave device, thereby ensuring that the normal operation of the energy storage system is not affected when a master device fails, and ensuring the stability of the operation of the energy storage system.
- the master device sends the first request message to multiple slave devices respectively, and receives at least one of the multiple slave devices respectively. Second feedback information generated by some slave devices according to the first request message.
- the first request message here can be an instruction for obtaining the operating data of the energy storage system sent by the server to the master device.
- the slave device After the master device sends the first request message to the slave device, the slave device generates second feedback information according to the content of the first request message and sends it to the master device.
- S403 The device generates a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
- the master device generates a first target feedback message according to the second feedback information and the first feedback information sent by the slave device.
- the first target feedback message here can be the operation data of any number of energy blocks in the energy storage system, the fault report information of the energy block, etc.
- Each slave device energy block corresponds to a second feedback message.
- the server receives and stores the first target feedback message.
- the first target feedback message can also be used for data analysis, safety monitoring, etc.
- the method further includes: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the method further includes: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives a second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
- the communication address of each slave device is integrated into pre-stored address information and sent to the cloud server for storage.
- the pre-stored address information can include the correspondence between the communication address and each slave device. If the master device fails to communicate, the master device used to replace the original master device can directly communicate with other slave devices based on the pre-stored address information stored in the cloud server without the need to reallocate addresses. In one case, the slave devices do not communicate with each other, so the slave devices do not know each other's unique address information. After one of the slave devices is transformed into the next master device, the unique address information needs to be reallocated to the other slave devices. At this time, the communication address of the original master device stored on the cloud server and the correspondence between the slave devices can be obtained, and the communication addresses of other slave devices can be obtained based on the correspondence between the communication address and the slave devices.
- the pre-stored address information of each slave device is sent to the cloud server by the master device and stored by the cloud server.
- the pre-stored address information of the slave device sent by the cloud server can be received without reallocating the communication addresses of other slave devices, thereby ensuring the efficiency of replacing the master device after the master device fails, and further ensuring the stability of the operation of the energy storage system.
- the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
- the server sends the first communication information to the main device to obtain the operation information of the energy storage system, which is used to obtain the operation information of the energy storage system from the main device.
- the first target feedback message is the information sent by the main device to the server, which may include the system rated power, system rated capacity, and the number of system energy storage converters (Power Conversion System, PCS) in operation.
- PCS Power Conversion System
- PCS is used to control the charging and discharging process of the battery, perform AC-DC conversion, and can directly supply power to AC loads without a power grid.
- the operation data of the energy storage system mainly includes the temperature information, voltage information, battery load and other operation data of each energy block.
- the method after the master device obtains part or all of the second feedback information sent by the slave device, the method also includes: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
- each slave device energy block corresponds to a second feedback information
- the second feedback information of any energy block in the slave device contains high-risk parameters in a high-risk state, such as temperature exceeding a preset threshold, voltage exceeding a preset threshold, etc.
- high-risk parameter exists in the second feedback information, it can be inferred that the energy block corresponding to the second feedback information has failed, and it is necessary to disconnect the AC connection of the failed energy block, and the failed energy block will stop storing or supplying energy.
- the method also includes: when the master device determines that there is a faulty slave device, collecting and processing fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
- the fault information here, i.e., the target feedback information, can be the operation log of the faulty device, which may include historical charge and discharge times, historical operating temperature, historical operating voltage, and other data. If the master device cannot obtain the fault information of the faulty energy block, it proves that the communication hardware of the faulty energy block has also failed.
- the master device needs to determine whether the historical feedback information of the faulty slave device is stored.
- the historical feedback information is the feedback information sent to the master device before the communication hardware of the faulty slave device fails.
- the master device sends the historical feedback information to the cloud server.
- the cloud server receives the fault information or historical feedback information, which can be used to analyze the cause and solution of the slave device failure.
- the faulty slave device can be inferred through the high-risk parameters, and the fault information of the faulty slave device is collected and sent to the server. If the faulty device cannot provide fault information, the feedback information sent by the faulty device is sent to the server as historical information.
- the server can analyze the cause of the fault of the faulty device according to the fault information or feedback information, match solutions, issue warnings, and other operations, thereby further ensuring the stability and safety of the energy storage system operation.
- multiple energy blocks in the energy storage system are divided into a master device and multiple slave devices to communicate through a serial interface, which reduces the installation cost of the additional installation of the master control system and avoids the possible failure of the master control system, which may lead to the instability of the energy storage system.
- the slave device fails, the slave device is automatically determined as the new master device according to the installation order, or the remaining storage capacity of the energy storage module of the slave device is obtained. According to the remaining storage capacity of the energy storage module of the slave device, the slave device with the best performance, the smallest loss, and the most stable operation is determined as the new master device.
- the unique address information of each slave device is sent to the cloud server, which is stored by the cloud server.
- the unique address information of the slave device sent by the cloud server can be received without re-allocating the communication address of other slave devices. It ensures that the energy storage system will not affect the normal operation of the system when the master device fails, thereby ensuring the stability of the operation of the energy storage system.
- the server can analyze the cause of the failure of the failed device, match solutions, issue warnings, etc. according to the fault information or feedback information sent by the master device, further ensuring the stability and safety of the operation of the energy storage system.
- the present application also provides an energy block parallel communication device 600, the device 600 It can be a computer program (including program code) running in a terminal.
- the device 600 can execute the method shown in Figures 2 and 3. Please refer to Figure 6, the device includes:
- the receiving module 601 is configured to receive, as a main device, a first request message for obtaining operation information of an energy storage system sent by a server, and generate first feedback information according to the first request message;
- the generating module 602 is configured to be used for the master device to send the first request message to the multiple slave devices respectively, and to receive the second feedback information generated by at least some of the multiple slave devices according to the first request message respectively;
- the sending module 603 is configured to generate a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and send the first target feedback message to the server.
- the sending module 603 before the master device sends the first request message to multiple slave devices respectively and respectively receives second feedback information generated by at least some of the multiple slave devices according to the first request message, the sending module 603 is also specifically used for: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through the serial interface according to the unique address information.
- the sending module 603 is also specifically used for: the master device obtains the initial running time of each slave device; the master device sorts the slave devices according to the initial running time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
- the sending module 603 is also specifically used for: the master device obtains the address information sorting results corresponding to the multiple slave devices according to the multiple address information corresponding to the multiple slave devices; the master device sends the address information sorting results to each slave device, so that when a communication failure occurs in the master device, the backup master device can be determined from the multiple slave devices according to the address information sorting results.
- the sending module 603 is further specifically used for: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, the backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
- the sending module 603 is further specifically used for: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the sending module 603 is further specifically used for: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives the second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
- the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
- the sending module 603 is further specifically used for: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
- the sending module 603 is also specifically used for: when the master device determines that there is a faulty slave device, collecting and processing the fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether the target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
- the above modules (receiving module 601, generating module 602, sending module 603) are used to execute the relevant steps of the above method.
- the receiving module 601 is used to execute the relevant content of step S401
- the generating module 602 is used to execute the relevant content of S402.
- Figure 7 is a structural diagram of an electronic device provided in an embodiment of the present application.
- the electronic device 700 described in this embodiment, as shown in Figure 7, includes a processor 701, a memory 702, a communication interface 703 and one or more programs.
- the processor 701 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the memory 702 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
- the memory 702 may exist independently and be connected to the processor 701 through a bus.
- the memory 702 may also be integrated with the processor 701.
- the communication interface 703 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
- the one or more programs are stored in the memory in the form of program code and are configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
- the master device receives a first request message sent by the server for obtaining the operating information of the energy storage system, and generates first feedback information according to the first request message; the master device sends the first request message to multiple slave devices respectively, and receives second feedback information generated by at least some of the multiple slave devices according to the first request message respectively; the master device generates a first target feedback message carrying the operating information of the energy storage system according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
- the method before the master device sends a first request message to multiple slave devices respectively, and respectively receives second feedback information generated by at least some of the multiple slave devices based on the first request message, the method also includes: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through a serial interface based on unique address information.
- the master device assigns different address information to each of the multiple slave devices, including: the master device obtains the initial operating time of each slave device; the master device sorts the slave devices according to the initial operating time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
- the method further includes: the master device obtains a plurality of address information corresponding to the plurality of slave devices according to the plurality of address information corresponding to the plurality of slave devices.
- the master device sends the address information sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices according to the address information sorting result.
- the master device and each slave device include at least one energy storage module
- the method further includes: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
- the method further includes: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the method further includes: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives a second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
- the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
- the method after the master device obtains part or all of the second feedback information sent by the slave device, the method also includes: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
- the method also includes: when the master device determines that there is a faulty slave device, collecting and processing fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
- the disclosed device can be implemented in other ways.
- the device embodiments described above are only schematic, such as the division of the modules, which is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or module can be electrical or other forms.
- modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network modules. Part or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or software functional modules.
- the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable memory.
- the technical solution of the present application can be essentially or partly or all or partly embodied in the form of a software product that contributes to the prior art.
- the computer software product is stored in a memory, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
Disclosed in the present invention are an energy block parallel communication method and apparatus, which are applied to an energy storage system. The system comprises a master device and a plurality of slave devices. The master device communicates with the plurality of slave devices by means of a serial interface. The method comprises: a master device receives a first request message issued by a server and used for obtaining the operation information of an energy storage system, and generates first feedback information according to the first request message; the master device separately sends the first request message to a plurality of slave devices, and separately receives second feedback information generated by at least some of the plurality of slave devices according to the first request message; and according to the first feedback information and the second feedback information, the master device generates a first target feedback message carrying the operation information of the energy storage system, and sends the first target feedback message to the server. Because the master device communicates with the slave devices by means of the serial interface, the installation construction workload and the installation cost are reduced, and the stable operation of each energy block is guaranteed. In addition, the influence of the fault of a single energy block on the whole energy storage system is prevented.
Description
本申请要求于2022年10月17日提交中国专利局、申请号为2022112847259、申请名称为“能量块并联通讯方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the Chinese Patent Office on October 17, 2022, with application number 2022112847259 and application name “Energy Block Parallel Communication Method and Device”, the entire contents of which are incorporated by reference in this application.
本申请属于电力电子控制领域,具体涉及一种能量块并联通讯方法及装置。The present application belongs to the field of power electronic control, and specifically relates to a method and device for parallel communication of energy blocks.
储能电池管理系统一般采用三级架构,由总控模块、主控模块和从控模块组成。从控模块——负责模组内单体电池的电压、温度采集及电池均衡管理;主控模块——负责整个电池簇的管理,提供对电池簇参数进行实时监控、故障诊断、电池荷电状态SOC(State of Charge,SOC)估算、绝缘检测、显示报警、远程监控,并上传电池实时数据;总控模块——负责对主控、从控上传的电池实时数据进行数值计算、性能分析、报警处理及记录存储,此外,可实现与储能变流系统(PCS)主机、储能调度监控系统等进行联动控制。Energy storage battery management systems generally adopt a three-level architecture, consisting of a master control module, a main control module, and a slave control module. The slave control module is responsible for the voltage and temperature acquisition of the single battery in the module and the battery balancing management; the master control module is responsible for the management of the entire battery cluster, providing real-time monitoring of battery cluster parameters, fault diagnosis, battery state of charge SOC (State of Charge, SOC) estimation, insulation detection, display alarm, remote monitoring, and uploading real-time battery data; the master control module is responsible for numerical calculation, performance analysis, alarm processing and record storage of real-time battery data uploaded by the master control and slave control. In addition, it can realize linkage control with the energy storage converter system (PCS) host, energy storage dispatch monitoring system, etc.
传统的储能系统多机并联使用安装成本较高。电池集中布置在一起容易在单个能量块故障时引起整个储能系统彻底瘫痪,影响产品使用的稳定性和安全性。The traditional energy storage system has high installation costs due to the parallel use of multiple units. The centralized arrangement of batteries can easily cause the entire energy storage system to completely fail when a single energy block fails, affecting the stability and safety of product use.
发明内容Summary of the invention
针对上述问题,本申请实例提供了一种能量块并联通讯方法及装置,使得主从设备通过串行接口进行通讯,减少了安装施工量及产品安装成本,低成本地保障每个能量块稳定运行,此外还解决了单个能量块故障对整个储能系统的影响。In response to the above problems, the example of the present application provides an energy block parallel communication method and device, which enables the master and slave devices to communicate through a serial interface, reduces the installation construction workload and product installation costs, and ensures the stable operation of each energy block at a low cost. In addition, it also solves the impact of a single energy block failure on the entire energy storage system.
为实现上述目的,第一方面,本申请实施例提供了一种能量块并联通讯方法,应用于储能系统,储能系统包括主设备和多个从设备,主设备和多个从设备通过串行接口进行通讯,该方法包括:主设备接收服务器下发的用于获取储能系统运行信息的第一请求消息,并根据第一请求消息生成第一反馈信息;主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息;主设备根据第一反馈信息和第二反馈信息生成携带储能系统运行信息的第一目标反馈消息,并向服务器发送第一目标反馈消息。To achieve the above-mentioned objectives, in a first aspect, an embodiment of the present application provides an energy block parallel communication method, which is applied to an energy storage system, wherein the energy storage system includes a master device and multiple slave devices, and the master device and the multiple slave devices communicate through a serial interface. The method includes: the master device receives a first request message sent by a server for obtaining operating information of the energy storage system, and generates first feedback information according to the first request message; the master device sends the first request message to multiple slave devices respectively, and receives second feedback information generated by at least some of the multiple slave devices according to the first request message respectively; the master device generates a first target feedback message carrying the operating information of the energy storage system according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
可以看出在本申请实施例中,主从设备通过串行接口进行通讯,实现了本地管理和储能系统与服务器的通讯减少了安装施工量及产品安装成本,低成本地保障每个能量块稳定运行,此外还解决了单个能量块故障对整个储能系统的影响。It can be seen that in the embodiment of the present application, the master and slave devices communicate through a serial interface, realizing local management and communication between the energy storage system and the server, reducing the installation construction workload and product installation cost, ensuring the stable operation of each energy block at a low cost, and also solving the impact of a single energy block failure on the entire energy storage system.
第二方面本申请实施例提供了一种能量块并联通讯装置,该能量块并联通讯装置用于执行能量块并联通讯方法,该能量块并联通讯装置包括:In a second aspect, an embodiment of the present application provides an energy block parallel communication device, the energy block parallel communication device is used to execute an energy block parallel communication method, the energy block parallel communication device includes:
接收模块,被配置为主设备接收服务器下发的用于获取储能系统运行信息的第一请求消息,并根据第一请求消息生成第一反馈信息;The receiving module is configured to receive, as a main device, a first request message for obtaining the operation information of the energy storage system sent by the server, and generate first feedback information according to the first request message;
生成模块,被配置为主设备将第一请求消息分别发送给多个从设备,并分别接收多个从
设备中的至少部分从设备根据第一请求消息生成的第二反馈信息;The generating module is configured to send the first request message to the plurality of slave devices respectively by the master device, and receive the first request message from the plurality of slave devices respectively. second feedback information generated by at least some of the slave devices in the device according to the first request message;
发送模块,被配置为主设备根据第一反馈信息和第二反馈信息生成携带储能系统运行信息的第一目标反馈消息,并向服务器发送第一目标反馈消息。The sending module is configured to generate a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and send the first target feedback message to the server.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由处理器执行,所述一条或多条指令适于由所述处理器加载并执行如第一方面的方法的部分或者全部。In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more instructions are suitable for being loaded by the processor and executing part or all of the method of the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,计算机程序使得计算机执行如第一方面的方法的部分或者全部。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the method of the first aspect.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1为本申请实施例提供的一种电池管理系统的通讯结构示意图;FIG1 is a schematic diagram of a communication structure of a battery management system provided in an embodiment of the present application;
图2为本申请实施例提供的一种能量块并联通讯系统的结构示意图;FIG2 is a schematic diagram of the structure of an energy block parallel communication system provided in an embodiment of the present application;
图3为本申请实施例提供的一种家用储能设备系统的结构示意图;FIG3 is a schematic diagram of the structure of a household energy storage device system provided in an embodiment of the present application;
图4为本申请实施例提供的一种能量块并联通讯方法的流程示意图;FIG4 is a schematic flow chart of a method for parallel communication of energy blocks provided in an embodiment of the present application;
图5A为本申请实施例提供的一种主设备故障确定新的主设备的流程示意图;FIG5A is a schematic diagram of a process of determining a new master device when a master device fails, provided by an embodiment of the present application;
图5B为本申请实施例提供的另一种主设备故障确定新的主设备的流程示意图;FIG5B is a schematic diagram of a process of determining a new master device when a master device fails, provided by an embodiment of the present application;
图6为本申请实施例提供的一种能量块并联通讯装置的结构示意图;FIG6 is a schematic diagram of the structure of an energy block parallel communication device provided in an embodiment of the present application;
图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或模块。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other steps or modules inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
下面结合附图对本申请的实施例进行描述。The embodiments of the present application are described below in conjunction with the accompanying drawings.
目前的电池管理系统主要包括总控模块、主控模块和从控模块三部分,请参见图1,图1为本申请实施例提供的一种电池管理系统的通讯结构示意图。如图所示电池管理系统(Battery Management System,BMS),总控模块、主控模块和从控模块组成,其中总控模块主要包括能量管理系统Energy Management System,EMS)和电池矩阵控制器(Battery Array Unit,BAU),主控模块主要包括电池簇控制器(Battery Cluster Unit,BCU),从控模块主要包括电池模组控制器(Battery Module Unit,BMU)。BMU负责模组内单体电池的电压、温度采集及电池均衡管理,在一个能量块中可能的包括不止一个电池组,在一个能量块中存在多个电池组的情况下一个电池组分别对应一个BMU;BCU负责整个能量块的管理,提供对电池簇参数进行实时监控、故障诊断、电池荷电状态SOC(State of Charge,SOC)估算、绝缘检测、显示报警、远程监控,并上传电池实时数据;BAU负责对主控、从控上传的电池实时数据进行数值计算、性能分析、报警处理及记录存储,此外,还可实现与储能变流系统主机、储能调度监控系统等进行联动控制。这样的总控能量管理系统EMS和本地管理进行通讯再分配的方式需要储能系统中安装一个总控能量管理系统EMS,存在安装难度较高和安装成本较高等问题。The current battery management system mainly includes three parts: a master control module, a main control module and a slave control module. Please refer to Figure 1, which is a communication structure diagram of a battery management system provided by an embodiment of the present application. As shown in the figure, the battery management system (Battery Management System, BMS) is composed of a master control module, a main control module and a slave control module, wherein the master control module mainly includes an energy management system Energy Management System, EMS) and a battery array unit (Battery Array Unit, BAU), the main control module mainly includes a battery cluster controller (Battery Cluster Unit, BCU), and the slave control module mainly includes a battery module controller (Battery Module Unit, BMU). BMU is responsible for the voltage and temperature collection and battery balancing management of the single battery in the module. An energy block may include more than one battery pack. When there are multiple battery packs in an energy block, each battery pack corresponds to a BMU; BCU is responsible for the management of the entire energy block, providing real-time monitoring of battery cluster parameters, fault diagnosis, battery state of charge SOC (State of Charge, SOC) estimation, insulation detection, display alarm, remote monitoring, and uploading real-time battery data; BAU is responsible for numerical calculation, performance analysis, alarm processing and record storage of real-time battery data uploaded by the master control and slave control. In addition, it can also realize linkage control with the host of the energy storage converter system, the energy storage dispatch monitoring system, etc. This method of communication redistribution between the master control energy management system EMS and the local management requires the installation of a master control energy management system EMS in the energy storage system, which has problems such as high installation difficulty and high installation cost.
针对上述问题,本申请提出一种能量块并联通讯方法及装置,下面结合附图进行说明。In response to the above problems, the present application proposes a method and device for parallel communication of energy blocks, which will be described below with reference to the accompanying drawings.
请参见图2,图2为本申请实施例提供的一种能量块并联通讯系统的结构示意图;如图所示,图中的能量块并联通讯系统200中包括主设备201,从设备2021,从设备2022以及服务器203。其中主设备201,从设备2021以及从设备2022为图1中出现的能量块的简化形式。主设备201用于向从设备2021和从设备2022分配通讯地址,根据通讯地址与从设备2021,和从设备2022进行通讯获取储能系统的运行信息(系统额定功率、系统额定容量等),并代表包括主设备201,从设备2021,从设备2022的储能系统与服务器203进行通讯上传运行信息或者接收控制指令等;从设备2021和从设备2022用于接收主设备分配的通讯地址,并向主设备发送运行信息等;服务器203用于与主设备201进行通讯接收主设备201发送的数据和向主设备201发送指令等。Please refer to FIG. 2 , which is a schematic diagram of the structure of an energy block parallel communication system provided in an embodiment of the present application; as shown in the figure, the energy block parallel communication system 200 in the figure includes a master device 201, a slave device 2021, a slave device 2022 and a server 203. The master device 201, the slave device 2021 and the slave device 2022 are simplified forms of the energy blocks appearing in FIG. 1 . The master device 201 is used to assign communication addresses to the slave devices 2021 and 2022, communicate with the slave devices 2021 and 2022 according to the communication addresses to obtain the operating information of the energy storage system (system rated power, system rated capacity, etc.), and communicate with the server 203 on behalf of the energy storage system including the master device 201, the slave devices 2021, and the slave devices 2022 to upload operating information or receive control instructions, etc.; the slave devices 2021 and 2022 are used to receive the communication address assigned by the master device and send operating information to the master device, etc.; the server 203 is used to communicate with the master device 201 to receive data sent by the master device 201 and send instructions to the master device 201, etc.
下面结合实际的运用场景对本申请实施例进行说明,请参见图3,图3为本申请实施例提供的一种家用储能设备系统的结构示意图;如图所示储能系统包括一个能量块主设备和若干个能量块从设备,主设备和从设备并联接入交流线缆为用电设备供电,这里的用电设备可以为电视机,电冰箱,照明设备,通风设备等任意家用电器。主设备和从设备通过通讯线缆和串行接口进行通讯,主设备向从设备分配通讯地址,根据通讯地址与从设备进行通讯获取储能系统的运行信息(系统额定功率、系统额定容量等),并代表包括主设备和所有从设备的储能系统与服务器203进行通讯,上传运行信息或者接收控制指令等。The following is an explanation of the embodiment of the present application in combination with the actual application scenario. Please refer to Figure 3, which is a schematic diagram of the structure of a household energy storage device system provided by the embodiment of the present application; as shown in the figure, the energy storage system includes an energy block master device and several energy block slave devices, and the master device and the slave device are connected in parallel to the AC cable to power the electrical equipment, and the electrical equipment here can be any household appliance such as a television, a refrigerator, a lighting device, and a ventilation device. The master device and the slave device communicate through a communication cable and a serial interface. The master device assigns a communication address to the slave device, and communicates with the slave device according to the communication address to obtain the operating information of the energy storage system (system rated power, system rated capacity, etc.), and communicates with the server 203 on behalf of the energy storage system including the master device and all slave devices, uploads operating information or receives control instructions, etc.
请参见图4,图4为本申请实施例提供的一种能量块并联通讯方法的流程示意图,如图4所示,包括步骤S401-S403。Please refer to FIG. 4 , which is a flow chart of an energy block parallel communication method provided in an embodiment of the present application. As shown in FIG. 4 , it includes steps S401 - S403 .
S401:主设备接收服务器下发的用于获取储能系统运行信息的第一请求消息,并根据第一请求消息生成第一反馈信息。S401: The master device receives a first request message sent by a server for obtaining operation information of an energy storage system, and generates first feedback information according to the first request message.
具体地,在本申请实施例中,主设备接收第一请求消息,这里的第一请求消息可以为服务器向主设备发送的获取储能系统的运行数据指令,主设备接收到该指令后,与获取自身的
运行数据生成第一反馈信息。Specifically, in the embodiment of the present application, the master device receives the first request message, where the first request message can be an instruction for obtaining the operation data of the energy storage system sent by the server to the master device. After the master device receives the instruction, it obtains its own The operation data generates first feedback information.
在一种可能的实施例中,在主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息之前,该方法还包括:主设备为多个从设备中的每个从设备分别分配不同的地址信息,以使主设备和每个从设备根据唯一地址信息连通串行接口进行通信。In a possible embodiment, before the master device sends a first request message to multiple slave devices respectively, and respectively receives second feedback information generated by at least some of the multiple slave devices based on the first request message, the method also includes: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through a serial interface based on unique address information.
具体地,主设备和从设备之间需要通过通讯地址进行通讯,在主设备将第一请求消息通过串行接口发送给从设备之前还需要为从设备分配唯一通信地址,每个独立的从设备对应一个唯一的通信地址,这里的唯一通信地址包括主设备为每个从设备分配地址信息和主设备的地址信息,主设备和从设备根据唯一通信地址进行通信。需要说明的是主设备和从设备之间通过串行接口进行连接如果其中的任意一个从设备发生故障此时主设备则可直接绕过该从设备和后面的没有故障的从设备进行通信。Specifically, the master device and the slave device need to communicate through the communication address. Before the master device sends the first request message to the slave device through the serial interface, it is also necessary to allocate a unique communication address to the slave device. Each independent slave device corresponds to a unique communication address. The unique communication address here includes the address information allocated by the master device to each slave device and the address information of the master device. The master device and the slave device communicate according to the unique communication address. It should be noted that the master device and the slave device are connected through the serial interface. If any of the slave devices fails, the master device can directly bypass the slave device and communicate with the subsequent slave device without failure.
示例性地,服务器和主设备,主设备和从设备之间可以通过RS485通信协议进行通信,RS485通信协议是针对RS232通信协议的一种改良协议,采用差分传输方式,解决共模干扰问题,最大距离可以到1200米,并且允许多个收发设备接到同一条总线上。主设备和所有从设备通过串行接口在一条总线上进行通信,主设备根据RS485通信协议为每个从设备分配唯一的通信地址,在主设备和从设备需要通信时,主设备向通信总线上发送一个带有唯一通信地址的数据包,该唯一通信地址对应的从设备读取到该数据包上的通信地址信息与自己的通行地址信息一致则向主设备发送一个应答包。主设备则通过此方式在串行接口上进行通信。Exemplarily, the server and the master device, and the master device and the slave device can communicate through the RS485 communication protocol. The RS485 communication protocol is an improved protocol for the RS232 communication protocol. It adopts a differential transmission method to solve the common mode interference problem. The maximum distance can reach 1200 meters, and multiple transceiver devices are allowed to be connected to the same bus. The master device and all slave devices communicate on a bus through a serial interface. The master device assigns a unique communication address to each slave device according to the RS485 communication protocol. When the master device and the slave device need to communicate, the master device sends a data packet with a unique communication address to the communication bus. If the communication address information on the data packet corresponding to the unique communication address is consistent with its own pass address information, it sends a response packet to the master device. The master device communicates on the serial interface in this way.
可以看出在本申请实施例中,主从设备通过串行接口进行通讯,实现了本地管理和储能系统与服务器的通讯,减少了额外安装总控系统的安装成本和施工量,避免了总控系统可能出现故障进而导致储能系统失控,低成本地保障每个能量块稳定运行,避免了单个能量块故障对整个储能系统的影响。It can be seen that in the embodiment of the present application, the master and slave devices communicate through the serial interface, thereby realizing local management and communication between the energy storage system and the server, reducing the installation cost and construction workload of the additional installation of the master control system, avoiding possible failure of the master control system and thus causing the energy storage system to lose control, ensuring the stable operation of each energy block at a low cost, and avoiding the impact of a single energy block failure on the entire energy storage system.
在一种可能的实施例中,主设备为多个从设备中的每个从设备分别分配不同的地址信息包括:主设备获取各从设备的初始运行时间;主设备按照各从设备的初始运行时间进行排序,确定各从设备的地址优先级,并按照地址优先级依次为每个从设备分配不同的地址信息。In a possible embodiment, the master device assigns different address information to each of the multiple slave devices, including: the master device obtains the initial operating time of each slave device; the master device sorts the slave devices according to the initial operating time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
具体地,在储能系统的安装过程中,能量块需要按顺序依次安装,此时可以获取各个能量块的初始运行时间,进而将所有能量块根据初始运行时间进行排序,以得到所有能量块的安装顺序名单。主设备可以根据安装顺序名单依次为从设备分配不同的地址信息。Specifically, during the installation of the energy storage system, the energy blocks need to be installed in sequence. At this time, the initial operation time of each energy block can be obtained, and then all energy blocks are sorted according to the initial operation time to obtain the installation order list of all energy blocks. The master device can assign different address information to the slave devices in sequence according to the installation order list.
在一种可能的实施例中,该方法还包括:主设备根据多个从设备对应的多个地址信息获得多个从设备对应的地址信息排序结果;主设备将地址信息排序结果发送给每个从设备,以在主设备发生通讯故障时,根据地址信息排序结果从多个从设备中确定备用主设备。In a possible embodiment, the method further includes: the master device obtains address information sorting results corresponding to multiple slave devices based on multiple address information corresponding to multiple slave devices; the master device sends the address information sorting results to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices based on the address information sorting results.
具体地,根据该安装顺序名单可以,将第一个安装的能量块作为该储能系统的主设备。主设备还根据安装顺序分配通信地址。当主设备发生故障无法通讯时,则根据安装顺序名单顺序第一的从设备判断原主设备是否停止运行,当原主设备停止运行后则转换为下一个主设备替代原主设备的功能。Specifically, according to the installation order list, the first installed energy block can be used as the master device of the energy storage system. The master device also allocates a communication address according to the installation order. When the master device fails and cannot communicate, the slave device with the first order in the installation order list determines whether the original master device has stopped running. When the original master device stops running, it is converted to the next master device to replace the original master device.
示例性地,主设备将该安装顺序名单发送至从设备,在这个安装顺序名单中,顺序第一的为主设备,第二以后的设备为从设备,顺序第二的从设备同时也为第一备用主设备,当顺
序第二的从设备在预设时长内没有接收到主设备的第一通信消息时,则向主设备发送验证消息,检测主设备是否还在线,如果在预设时间后没有接收到该验证消息的反馈消息则可推定主设备故障,该顺序第二的从设备则转化为主设备。在另一个示例中,若主设备的电池组及从控模块损坏,主控模块并没有损坏检测到故障信息,主设备的主控模块向顺序第二的从设备发送指示信息,指示该从设备转化为主设备,原主设备关闭停止运行。For example, the master device sends the installation order list to the slave devices. In the installation order list, the first device is the master device, the second and subsequent devices are slave devices, and the second slave device is also the first backup master device. When the second slave device in sequence does not receive the first communication message from the master device within a preset time, it sends a verification message to the master device to detect whether the master device is still online. If no feedback message of the verification message is received after the preset time, it can be inferred that the master device is faulty, and the second slave device in sequence is converted into a master device. In another example, if the battery pack and the slave control module of the master device are damaged, and the main control module is not damaged and detects the fault information, the main control module of the master device sends an indication message to the second slave device in sequence, instructing the slave device to be converted into a master device, and the original master device is shut down and stops running.
示例性地,请参见图5A,图5A为本申请实时例提供的一种主设备故障确定新的主设备的示意图,如图5A所示图中的三个能量块根据从左到右的安装顺序进行安装,因此确认最开始安装的能量块为主设备1,当主设备1发生故障后,从设备1在预设时间后没有接收到主设备1发送第一请求消息,从设备1向主设备1发送验证消息后,也没有在预设时间后接收到主设备的验证反馈消息,此时从设备1则可判断主设备1故障,从设备1则转换为主设备2管理本储能系统的通信和与服务器进行通信,此时主设备1因为发生故障则需要将其关闭,断开与交流线缆的连接,并停止通信,以保证整个储存系统其它能量块的正常运行。为便于解释说明此处仅例举两个从设备的情况,实际的运用场景中应该包括更多的从设备。For example, please refer to FIG5A, which is a schematic diagram of determining a new master device when a master device fails in a real-time example provided in the present application. As shown in FIG5A, the three energy blocks in the figure are installed according to the installation order from left to right, so it is confirmed that the energy block installed first is master device 1. When master device 1 fails, slave device 1 does not receive the first request message sent by master device 1 after a preset time, and after slave device 1 sends a verification message to master device 1, it does not receive the verification feedback message of the master device after a preset time. At this time, slave device 1 can determine that master device 1 fails, and slave device 1 is converted to master device 2 to manage the communication of the energy storage system and communicate with the server. At this time, master device 1 needs to be shut down due to a failure, disconnect the connection with the AC cable, and stop communication to ensure the normal operation of other energy blocks in the entire storage system. For the convenience of explanation, only two slave devices are listed here, and the actual application scenario should include more slave devices.
在一种可能的实施例中,主设备和各从设备均包括至少一个储能模块,该方法还包括:主设备获取各从设备中的储能模块的剩余容量;主设备对各从设备的储能模块的剩余容量进行排序,获得储能能力排序结果;主设备将储能能力排序结果发送给各从设备,以在主设备发生通讯故障时,根据储能能力排序结果从多个从设备中确定备用主设备。In a possible embodiment, the master device and each slave device include at least one energy storage module, and the method further includes: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
具体地,除了根据能量块的安装顺序确认替换的主设备外,还可以获取能量块的储能模块的剩余容量,由于能量块在多次充电放电后,能量块的储能模块的剩余存储能力将会随着充电放电的次数增加而变小,能量块的剩余容量越高能量块则运行得更稳定更不容易出现故障。在确定第一个主设备后,主设备获取所有从设备的剩余容量,得到从设备的剩余容量排名,并将该排名发送给所有从设备,参见上述实施例中描述的示例,主设备将该安装顺序名单发送至从设备,当主设备故障剩余存储能力排名第一的从设备可以通过发送验证消息,检测主设备是否还在线,或者接收主设备发送的指示信息转化为主设备替代损坏的主设备。Specifically, in addition to confirming the replacement master device according to the installation order of the energy block, the remaining capacity of the energy storage module of the energy block can also be obtained. After the energy block is charged and discharged multiple times, the remaining storage capacity of the energy storage module of the energy block will decrease with the increase in the number of charging and discharging times. The higher the remaining capacity of the energy block, the more stable the energy block will run and the less likely it will fail. After determining the first master device, the master device obtains the remaining capacity of all slave devices, obtains the remaining capacity ranking of the slave devices, and sends the ranking to all slave devices. Referring to the example described in the above embodiment, the master device sends the installation order list to the slave device. When the master device fails, the slave device with the first remaining storage capacity can detect whether the master device is still online by sending a verification message, or receive the instruction information sent by the master device to convert it into a master device to replace the damaged master device.
示例性地,请参见图5B,图5B为本申请实时例提供的另一种主设备故障确定新的主设备的流程示意图,如图所示从设备1的剩余容量为70%,从设备2的剩余容量为90%因此从设备2的排名为第一从设备1的排名为第2,在主设备1故障后,从设备2在预设时间后没有接收到主设备1发送的第一通信消息,从设备2向主设备1发送验证消息后,也没有在预设时间后接收到主设备的验证反馈消息,因此此时从设备2替换故障的主设备1作为新的主设备2。从设备1继续作为从设备使用。为便于解释说明此处仅例举两个从设备的情况,实际的运用场景中应该包括更多的从设备。For example, please refer to FIG. 5B , which is a flow chart of another method of determining a new master device when a master device fails in a real-time example of the present application. As shown in the figure, the remaining capacity of slave device 1 is 70%, and the remaining capacity of slave device 2 is 90%. Therefore, slave device 2 is ranked first and slave device 1 is ranked second. After master device 1 fails, slave device 2 does not receive the first communication message sent by master device 1 after a preset time. After slave device 2 sends a verification message to master device 1, it does not receive a verification feedback message from the master device after a preset time. Therefore, slave device 2 replaces the failed master device 1 as the new master device 2. Slave device 1 continues to be used as a slave device. For the sake of convenience of explanation, only two slave devices are cited here, and more slave devices should be included in the actual application scenario.
可以看出在本申请实施例中,通过主设备的安装顺序给每个从设备自动分配通讯地址,在主设备发生故障时自动根据安装顺序将从设备确定为新的主设备,或者获取从设备的储能模块的剩余存储能力,根据从设备的储能模块的剩余容量确定性能最佳,损耗最小,运行最稳定的从设备作为新的主设备,保证了储能系统在主设备发生故障时不会影响系统的正常运行,保证了储能系统运行的稳定性。It can be seen that in the embodiment of the present application, a communication address is automatically assigned to each slave device according to the installation order of the master device, and when a master device fails, the slave device is automatically determined as a new master device according to the installation order, or the remaining storage capacity of the energy storage module of the slave device is obtained, and the slave device with the best performance, the smallest loss, and the most stable operation is determined as the new master device according to the remaining capacity of the energy storage module of the slave device, thereby ensuring that the normal operation of the energy storage system is not affected when a master device fails, and ensuring the stability of the operation of the energy storage system.
S402:主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少
部分从设备根据第一请求消息生成的第二反馈信息。S402: The master device sends the first request message to multiple slave devices respectively, and receives at least one of the multiple slave devices respectively. Second feedback information generated by some slave devices according to the first request message.
具体地,这里的第一请求消息可以为服务器向主设备发送的获取储能系统的运行数据指令,主设备将第一请求消息发送至从设备后,从设备根据第一请求消息的内容生成第二反馈信息发送到主设备。Specifically, the first request message here can be an instruction for obtaining the operating data of the energy storage system sent by the server to the master device. After the master device sends the first request message to the slave device, the slave device generates second feedback information according to the content of the first request message and sends it to the master device.
S403:设备根据第一反馈信息和第二反馈信息生成携带储能系统运行信息的第一目标反馈消息,并向服务器发送第一目标反馈消息。S403: The device generates a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
具体地,主设备根据从设备发送的第二反馈信息和第一反馈信息生成第一目标反馈消息,这里的第一目标反馈消息可以为储能系统中任意数量能量块的运行数据,能量块的故障报告信息等。每一个从设备能量块分别对应一个第二反馈信息,第一目标反馈消息发送到服务器后,服务器接收第一目标反馈消息并存储,进一步地,第一目标反馈消息还可以用于数据分析,安全监控等用途。Specifically, the master device generates a first target feedback message according to the second feedback information and the first feedback information sent by the slave device. The first target feedback message here can be the operation data of any number of energy blocks in the energy storage system, the fault report information of the energy block, etc. Each slave device energy block corresponds to a second feedback message. After the first target feedback message is sent to the server, the server receives and stores the first target feedback message. Furthermore, the first target feedback message can also be used for data analysis, safety monitoring, etc.
在一种可能的实施例中,主设备为多个从设备中的每个从设备分别分配不同的地址信息之后,该方法还包括:主设备将预存地址信息发送给服务器,其中,预存地址信息包括各从设备分别对应的地址信息;相应地,在主设备发生通讯故障并从多个从设备中确定备用主设备之后,该方法还包括:备用主设备向服务器发送第二请求消息,第二请求消息用于获取预存地址信息;备用主设备接收云服务器返回的携带预存地址信息的第二目标反馈消息,并根据预存地址信息与多个从设备中的除备用主设备之外的其他从设备进行通讯。In a possible embodiment, after the master device assigns different address information to each of the multiple slave devices, the method further includes: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the method further includes: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives a second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
具体地,主设备为从设备分配通信地址后,将各个从设备的通信地址整合为预存地址信息发送至云服务器存储,这里的预存地址信息可以包括通信地址和各个从设备的对应关系,若主设备通信故障,用于替换原主设备的主设备则可以根据存储在云服务器中的通预存地址信息直接与其他从设备进行通信,而不需要重新进行地址分配。在一种情况下,从设备之间相互不通信,那么从设备之间也不知道彼此的唯一地址信息,在其中一个从设备变换为下一个主设备之后则需要重新对其他从设备分配唯一地址信息,此时就可以获取原主设备在云服务器上存储的通信地址和从设备的对应关系,根据该通信地址和从设备的对应关系获取其他从设备的通信地址。Specifically, after the master device assigns a communication address to the slave device, the communication address of each slave device is integrated into pre-stored address information and sent to the cloud server for storage. The pre-stored address information here can include the correspondence between the communication address and each slave device. If the master device fails to communicate, the master device used to replace the original master device can directly communicate with other slave devices based on the pre-stored address information stored in the cloud server without the need to reallocate addresses. In one case, the slave devices do not communicate with each other, so the slave devices do not know each other's unique address information. After one of the slave devices is transformed into the next master device, the unique address information needs to be reallocated to the other slave devices. At this time, the communication address of the original master device stored on the cloud server and the correspondence between the slave devices can be obtained, and the communication addresses of other slave devices can be obtained based on the correspondence between the communication address and the slave devices.
可以看出在本申请实施例中,通过主设备将每个从设备的预存地址信息发送给云服务器,由云服务器储存,当主设备故障需要下一个主设备替代原故障的主设备时则可以接收云服务器发送的从设备的预存地址信息,而不用再次分配其他从设备的通信地址,保证了主设备故障后替换主设备的效率,进而保证了储能系统运行的稳定性。It can be seen that in the embodiment of the present application, the pre-stored address information of each slave device is sent to the cloud server by the master device and stored by the cloud server. When the master device fails and the next master device is needed to replace the original failed master device, the pre-stored address information of the slave device sent by the cloud server can be received without reallocating the communication addresses of other slave devices, thereby ensuring the efficiency of replacing the master device after the master device fails, and further ensuring the stability of the operation of the energy storage system.
在一种可能的实施例中,第一目标反馈消息包括以下至少一项信息:储能系统的系统额定功率、系统额定容量、储能变流系统PCS运行台数以及储能系统运行数据。In a possible embodiment, the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
具体地,服务器向主设备发送第一通信信息获取储能系统运行信息,用于向主设备获取储能系统的运行信息,第一目标反馈消息为主设备向服务器发送的信息,其中可以包括系统额定功率、系统额定容量、系统储能变流器(Power Conversion System,PCS)运行台数,PCS用于控制蓄电池的充电和放电过程,进行交直流的变换,在无电网情况下可以直接为交流负荷供电。储能系统运行数据,主要包括各个能量块的温度信息,电压信息,电池负荷等运行数据。
Specifically, the server sends the first communication information to the main device to obtain the operation information of the energy storage system, which is used to obtain the operation information of the energy storage system from the main device. The first target feedback message is the information sent by the main device to the server, which may include the system rated power, system rated capacity, and the number of system energy storage converters (Power Conversion System, PCS) in operation. PCS is used to control the charging and discharging process of the battery, perform AC-DC conversion, and can directly supply power to AC loads without a power grid. The operation data of the energy storage system mainly includes the temperature information, voltage information, battery load and other operation data of each energy block.
在一种可能的实施例中,在主设备在获取到部分或全部从设备发送的第二反馈信息之后,方法还包括:主设备确定第二反馈信息中是否包括表征从设备处于高风险状态的高风险参数;若第二反馈信息中包括高风险参数,则确定高风险参数对应的从设备为故障从设备,并对故障从设备对应的目标反馈信息进行存储。In a possible embodiment, after the master device obtains part or all of the second feedback information sent by the slave device, the method also includes: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
具体地,每一个从设备能量块分别对应一个第二反馈信息,从设备中的任意一个能量块的第二反馈信中存在处于高风险状态的高风险参数,如温度超过预设阈值,电压超过预设阈值等。当第二反馈信息中存在任意一种高风险参数时则可推定该第二反馈信息对应的能量块发生了故障,则需要将断开故障能量块的交流连接,故障能量块将停止储能或者供能。Specifically, each slave device energy block corresponds to a second feedback information, and the second feedback information of any energy block in the slave device contains high-risk parameters in a high-risk state, such as temperature exceeding a preset threshold, voltage exceeding a preset threshold, etc. When any high-risk parameter exists in the second feedback information, it can be inferred that the energy block corresponding to the second feedback information has failed, and it is necessary to disconnect the AC connection of the failed energy block, and the failed energy block will stop storing or supplying energy.
在一种可能的实施例中,该方法还包括:当主设备确定存在发生故障的故障从设备时,对故障从设备对应的故障信息进行采集处理;若主设备采集到故障从设备对应的故障信息,则将故障信息发送到服务器;若主设备未采集到故障从设备的故障信息,则确定本地是否存储有故障从设备对应的目标反馈信息;若存储有故障从设备对应的目标反馈信息,则将目标反馈信息发送到服务器。In a possible embodiment, the method also includes: when the master device determines that there is a faulty slave device, collecting and processing fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
具体地,确认从设备发生故障后,需要收集故障能量块的故障信息,这里的故障信息即目标反馈信息可以为故障设备的运行日志,其中可以包括历史充放电次数,历史运行温度,历史运行电压,等数据。若主设备无法获取故障能量块的故障信息,则证明该故障能量块的通信硬件也发生了故障,主设备则需要确定是否存储有故障从设备的历史反馈信息,历史反馈信息为故障从设备的通信硬件发生故障前向主设备发送的反馈信息,主设备将该历史反馈信息发送到云服务器。云服务器接收到故障信息或者历史反馈信息可用于分析从设备故障的原因和解决方案。Specifically, after confirming that the slave device has failed, it is necessary to collect the fault information of the faulty energy block. The fault information here, i.e., the target feedback information, can be the operation log of the faulty device, which may include historical charge and discharge times, historical operating temperature, historical operating voltage, and other data. If the master device cannot obtain the fault information of the faulty energy block, it proves that the communication hardware of the faulty energy block has also failed. The master device needs to determine whether the historical feedback information of the faulty slave device is stored. The historical feedback information is the feedback information sent to the master device before the communication hardware of the faulty slave device fails. The master device sends the historical feedback information to the cloud server. The cloud server receives the fault information or historical feedback information, which can be used to analyze the cause and solution of the slave device failure.
可以看出在本申请实施例中,通过高风险参数可以推定得到发生故障的从设备,并收集故障从设备的故障信息发送至与服务器中,若故障设备无法提供故障信息则将故障设备的已发送的反馈信息作为历史信息发送至服务器中,服务器可以根据故障信息或者反馈信息可以进行分析故障设备的故障原因,匹配解决方案,发布警告等操作,进一步保证了储能系统运行的稳定性和安全性。It can be seen that in the embodiment of the present application, the faulty slave device can be inferred through the high-risk parameters, and the fault information of the faulty slave device is collected and sent to the server. If the faulty device cannot provide fault information, the feedback information sent by the faulty device is sent to the server as historical information. The server can analyze the cause of the fault of the faulty device according to the fault information or feedback information, match solutions, issue warnings, and other operations, thereby further ensuring the stability and safety of the energy storage system operation.
通过实施本申请实施例中的方法,将储能系统中的多个能量块分为一个主设备和多个从设备通过串行接口进行通信,减少了额外安装总控系统的安装成本,避免了总控系统可能出现故障进而导致储能系统的不稳定性。在主设备发生故障时自动根据安装顺序将从设备确定为新的主设备,或者获取从设备的储能模块的剩余存储能力,根据从设备的储能模块的剩余存储能力确定性能最佳,损耗最小,运行最稳定的从设备作为新的主设备将每个从设备的唯一地址信息发送给云服务器,由云服务器储存,当主设备故障需要下一个主设备替代原故障的主设备时则可以接收云服务器发送的从设备的唯一地址信息,而不用再次分配其他从设备的通信地址保证了储能系统在主设备发生故障时不会影响系统的正常运行,进而保证了储能系统运行的稳定性。当从设备出现故障后,服务器可以根据主设备发送的故障信息或者反馈信息可以进行分析故障设备的故障原因,匹配解决方案,发布警告等操作,进一步保证了储能系统运行的稳定性和安全性。By implementing the method in the embodiment of the present application, multiple energy blocks in the energy storage system are divided into a master device and multiple slave devices to communicate through a serial interface, which reduces the installation cost of the additional installation of the master control system and avoids the possible failure of the master control system, which may lead to the instability of the energy storage system. When the master device fails, the slave device is automatically determined as the new master device according to the installation order, or the remaining storage capacity of the energy storage module of the slave device is obtained. According to the remaining storage capacity of the energy storage module of the slave device, the slave device with the best performance, the smallest loss, and the most stable operation is determined as the new master device. The unique address information of each slave device is sent to the cloud server, which is stored by the cloud server. When the master device fails and the next master device is required to replace the original failed master device, the unique address information of the slave device sent by the cloud server can be received without re-allocating the communication address of other slave devices. It ensures that the energy storage system will not affect the normal operation of the system when the master device fails, thereby ensuring the stability of the operation of the energy storage system. When the slave device fails, the server can analyze the cause of the failure of the failed device, match solutions, issue warnings, etc. according to the fault information or feedback information sent by the master device, further ensuring the stability and safety of the operation of the energy storage system.
基于上述配置方法实施例的描述,本申请还提供一种能量块并联通讯装置600,该装置600
可以是运行于终端中的一个计算机程序(包括程序代码)。该装置600可以执行图2、图3、所示的方法。请参见图6,该装置包括:Based on the description of the above configuration method embodiment, the present application also provides an energy block parallel communication device 600, the device 600 It can be a computer program (including program code) running in a terminal. The device 600 can execute the method shown in Figures 2 and 3. Please refer to Figure 6, the device includes:
接收模块601,被配置为主设备接收服务器下发的用于获取储能系统运行信息的第一请求消息,并根据第一请求消息生成第一反馈信息;The receiving module 601 is configured to receive, as a main device, a first request message for obtaining operation information of an energy storage system sent by a server, and generate first feedback information according to the first request message;
生成模块602,被配置为用于主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息;The generating module 602 is configured to be used for the master device to send the first request message to the multiple slave devices respectively, and to receive the second feedback information generated by at least some of the multiple slave devices according to the first request message respectively;
发送模块603,被配置为主设备根据第一反馈信息和第二反馈信息生成携带储能系统运行信息的第一目标反馈消息,并向服务器发送第一目标反馈消息。The sending module 603 is configured to generate a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and send the first target feedback message to the server.
在一种可能的实施例中,在主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息之前,发送模块603还具体用于:主设备为多个从设备中的每个从设备分别分配不同的地址信息,以使主设备和每个从设备根据唯一地址信息连通串行接口进行通信。In a possible embodiment, before the master device sends the first request message to multiple slave devices respectively and respectively receives second feedback information generated by at least some of the multiple slave devices according to the first request message, the sending module 603 is also specifically used for: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through the serial interface according to the unique address information.
在一种可能的实施例中,在主设备为多个从设备中的每个从设备分别分配不同的地址信息方面,发送模块603还具体用于:主设备获取各从设备的初始运行时间;主设备按照各从设备的初始运行时间进行排序,确定各从设备的地址优先级,并按照地址优先级依次为每个从设备分配不同的地址信息。In a possible embodiment, in terms of the master device assigning different address information to each of the multiple slave devices, the sending module 603 is also specifically used for: the master device obtains the initial running time of each slave device; the master device sorts the slave devices according to the initial running time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
在一种可能的实施例中,确定备用主设备方面,发送模块603还具体用于:主设备根据多个从设备对应的多个地址信息获得多个从设备对应的地址信息排序结果;主设备将地址信息排序结果发送给每个从设备,以在主设备发生通讯故障时,根据地址信息排序结果从多个从设备中确定备用主设备。In a possible embodiment, in terms of determining the backup master device, the sending module 603 is also specifically used for: the master device obtains the address information sorting results corresponding to the multiple slave devices according to the multiple address information corresponding to the multiple slave devices; the master device sends the address information sorting results to each slave device, so that when a communication failure occurs in the master device, the backup master device can be determined from the multiple slave devices according to the address information sorting results.
在一种可能的实施例中,确定备用主设备方面,发送模块603还具体用于:主设备获取各从设备中的储能模块的剩余容量;主设备对各从设备的储能模块的剩余容量进行排序,获得储能能力排序结果;主设备将储能能力排序结果发送给各从设备,以在主设备发生通讯故障时,根据储能能力排序结果从多个从设备中确定备用主设备。In a possible embodiment, in terms of determining the backup master device, the sending module 603 is further specifically used for: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, the backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
在一种可能的实施例中,主设备为多个从设备中的每个从设备分别分配不同的地址信息之后,发送模块603还具体用于:主设备将预存地址信息发送给服务器,其中,预存地址信息包括各从设备分别对应的地址信息;相应地,在主设备发生通讯故障并从多个从设备中确定备用主设备之后,发送模块603还具体用于:备用主设备向服务器发送第二请求消息,第二请求消息用于获取预存地址信息;备用主设备接收云服务器返回的携带预存地址信息的第二目标反馈消息,并根据预存地址信息与多个从设备中的除备用主设备之外的其他从设备进行通讯。In a possible embodiment, after the master device assigns different address information to each of the multiple slave devices, the sending module 603 is further specifically used for: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the sending module 603 is further specifically used for: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives the second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
在一种可能的实施例中,第一目标反馈消息包括以下至少一项信息:储能系统的系统额定功率、系统额定容量、储能变流系统PCS运行台数以及储能系统运行数据。In a possible embodiment, the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
在一种可能的实施例中,在主设备在获取到部分或全部从设备发送的第二反馈信息之后,发送模块603还具体用于:主设备确定第二反馈信息中是否包括表征从设备处于高风险状态的高风险参数;若第二反馈信息中包括高风险参数,则确定高风险参数对应的从设备为故障从设备,并对故障从设备对应的目标反馈信息进行存储。
In a possible embodiment, after the master device obtains part or all of the second feedback information sent by the slave device, the sending module 603 is further specifically used for: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
在一种可能的实施例中,发送模块603还具体用于:当主设备确定存在发生故障的故障从设备时,对故障从设备对应的故障信息进行采集处理;若主设备采集到故障从设备对应的故障信息,则将故障信息发送到服务器;若主设备未采集到故障从设备的故障信息,则确定本地是否存储有故障从设备对应的目标反馈信息;若存储有故障从设备对应的目标反馈信息,则将目标反馈信息发送到服务器。In a possible embodiment, the sending module 603 is also specifically used for: when the master device determines that there is a faulty slave device, collecting and processing the fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether the target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
需要说明的是,上述各模块(接收模块601,生成模块602,发送模块603)用于执行上述方法的相关步骤。比如接收模块601用于执行步骤S401的相关内容,生成模块602用于执行S402的相关内容。It should be noted that the above modules (receiving module 601, generating module 602, sending module 603) are used to execute the relevant steps of the above method. For example, the receiving module 601 is used to execute the relevant content of step S401, and the generating module 602 is used to execute the relevant content of S402.
基于上述方法实施例和装置实施例的描述,请参见图7,图7为本申请实施例提供的一种电子设备的结构示意图,本实施例中所描述的电子设备700,如图7所示,该电子设备700包括处理器701、存储器702、通信接口703以及一个或多个程序,处理器701可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。存储器702可以是只读存储器(read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器702可以是独立存在,通过总线与处理器701相连接。存储器702也可以和处理器701集成在一起。通信接口703,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。上述一个或多个程序通过程序代码的形式被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Based on the description of the above method embodiments and device embodiments, please refer to Figure 7, which is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 700 described in this embodiment, as shown in Figure 7, includes a processor 701, a memory 702, a communication interface 703 and one or more programs. The processor 701 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program. The memory 702 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 702 may exist independently and be connected to the processor 701 through a bus. The memory 702 may also be integrated with the processor 701. The communication interface 703 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc. The one or more programs are stored in the memory in the form of program code and are configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
主设备接收服务器下发的用于获取储能系统运行信息的第一请求消息,并根据第一请求消息生成第一反馈信息;主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息;主设备根据第一反馈信息和第二反馈信息生成携带储能系统运行信息的第一目标反馈消息,并向服务器发送第一目标反馈消息。The master device receives a first request message sent by the server for obtaining the operating information of the energy storage system, and generates first feedback information according to the first request message; the master device sends the first request message to multiple slave devices respectively, and receives second feedback information generated by at least some of the multiple slave devices according to the first request message respectively; the master device generates a first target feedback message carrying the operating information of the energy storage system according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
在一种可能的实施例中,在主设备将第一请求消息分别发送给多个从设备,并分别接收多个从设备中的至少部分从设备根据第一请求消息生成的第二反馈信息之前,该方法还包括:主设备为多个从设备中的每个从设备分别分配不同的地址信息,以使主设备和每个从设备根据唯一地址信息连通串行接口进行通信。In a possible embodiment, before the master device sends a first request message to multiple slave devices respectively, and respectively receives second feedback information generated by at least some of the multiple slave devices based on the first request message, the method also includes: the master device assigns different address information to each of the multiple slave devices, so that the master device and each slave device communicate through a serial interface based on unique address information.
在一种可能的实施例中,主设备为多个从设备中的每个从设备分别分配不同的地址信息包括:主设备获取各从设备的初始运行时间;主设备按照各从设备的初始运行时间进行排序,确定各从设备的地址优先级,并按照地址优先级依次为每个从设备分配不同的地址信息。In a possible embodiment, the master device assigns different address information to each of the multiple slave devices, including: the master device obtains the initial operating time of each slave device; the master device sorts the slave devices according to the initial operating time, determines the address priority of each slave device, and assigns different address information to each slave device in turn according to the address priority.
在一种可能的实施例中,该方法还包括:主设备根据多个从设备对应的多个地址信息获
得多个从设备对应的地址信息排序结果;主设备将地址信息排序结果发送给每个从设备,以在主设备发生通讯故障时,根据地址信息排序结果从多个从设备中确定备用主设备。In a possible embodiment, the method further includes: the master device obtains a plurality of address information corresponding to the plurality of slave devices according to the plurality of address information corresponding to the plurality of slave devices. The master device sends the address information sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices according to the address information sorting result.
在一种可能的实施例中,主设备和各从设备均包括至少一个储能模块,该方法还包括:主设备获取各从设备中的储能模块的剩余容量;主设备对各从设备的储能模块的剩余容量进行排序,获得储能能力排序结果;主设备将储能能力排序结果发送给各从设备,以在主设备发生通讯故障时,根据储能能力排序结果从多个从设备中确定备用主设备。In a possible embodiment, the master device and each slave device include at least one energy storage module, and the method further includes: the master device obtains the remaining capacity of the energy storage module in each slave device; the master device sorts the remaining capacity of the energy storage module of each slave device to obtain an energy storage capacity sorting result; the master device sends the energy storage capacity sorting result to each slave device, so that when a communication failure occurs in the master device, a backup master device can be determined from multiple slave devices according to the energy storage capacity sorting result.
在一种可能的实施例中,主设备为多个从设备中的每个从设备分别分配不同的地址信息之后,该方法还包括:主设备将预存地址信息发送给服务器,其中,预存地址信息包括各从设备分别对应的地址信息;相应地,在主设备发生通讯故障并从多个从设备中确定备用主设备之后,该方法还包括:备用主设备向服务器发送第二请求消息,第二请求消息用于获取预存地址信息;备用主设备接收云服务器返回的携带预存地址信息的第二目标反馈消息,并根据预存地址信息与多个从设备中的除备用主设备之外的其他从设备进行通讯。In a possible embodiment, after the master device assigns different address information to each of the multiple slave devices, the method further includes: the master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each slave device; accordingly, after a communication failure occurs in the master device and a backup master device is determined from the multiple slave devices, the method further includes: the backup master device sends a second request message to the server, the second request message is used to obtain the pre-stored address information; the backup master device receives a second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
在一种可能的实施例中,第一目标反馈消息包括以下至少一项信息:储能系统的系统额定功率、系统额定容量、储能变流系统PCS运行台数以及储能系统运行数据。In a possible embodiment, the first target feedback message includes at least one of the following information: system rated power of the energy storage system, system rated capacity, number of operating energy storage conversion systems PCS, and energy storage system operating data.
在一种可能的实施例中,在主设备在获取到部分或全部从设备发送的第二反馈信息之后,方法还包括:主设备确定第二反馈信息中是否包括表征从设备处于高风险状态的高风险参数;若第二反馈信息中包括高风险参数,则确定高风险参数对应的从设备为故障从设备,并对故障从设备对应的目标反馈信息进行存储。In a possible embodiment, after the master device obtains part or all of the second feedback information sent by the slave device, the method also includes: the master device determines whether the second feedback information includes a high-risk parameter characterizing that the slave device is in a high-risk state; if the second feedback information includes a high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
在一种可能的实施例中,该方法还包括:当主设备确定存在发生故障的故障从设备时,对故障从设备对应的故障信息进行采集处理;若主设备采集到故障从设备对应的故障信息,则将故障信息发送到服务器;若主设备未采集到故障从设备的故障信息,则确定本地是否存储有故障从设备对应的目标反馈信息;若存储有故障从设备对应的目标反馈信息,则将目标反馈信息发送到服务器。In a possible embodiment, the method also includes: when the master device determines that there is a faulty slave device, collecting and processing fault information corresponding to the faulty slave device; if the master device collects the fault information corresponding to the faulty slave device, sending the fault information to the server; if the master device does not collect the fault information of the faulty slave device, determining whether target feedback information corresponding to the faulty slave device is stored locally; if the target feedback information corresponding to the faulty slave device is stored, sending the target feedback information to the server.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the modules, which is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or module can be electrical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块
上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network modules. Part or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be essentially or partly or all or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a memory, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims (12)
- 一种能量块并联通讯方法,应用于储能系统,所述储能系统包括主设备和多个从设备,所述主设备和所述多个从设备通过串行接口进行通讯,其特征在于,所述方法包括:An energy block parallel communication method is applied to an energy storage system, wherein the energy storage system includes a master device and multiple slave devices, and the master device and the multiple slave devices communicate through a serial interface, wherein the method includes:所述主设备接收服务器下发的用于获取所述储能系统运行信息的第一请求消息,并根据所述第一请求消息生成第一反馈信息;The master device receives a first request message sent by the server for obtaining the operation information of the energy storage system, and generates first feedback information according to the first request message;所述主设备将所述第一请求消息分别发送给所述多个从设备,并分别接收所述多个从设备中的至少部分从设备根据所述第一请求消息生成的第二反馈信息;The master device sends the first request message to the multiple slave devices respectively, and receives second feedback information generated by at least some of the multiple slave devices according to the first request message respectively;所述主设备根据所述第一反馈信息和所述第二反馈信息生成携带所述储能系统运行信息的第一目标反馈消息,并向所述服务器发送所述第一目标反馈消息。The master device generates a first target feedback message carrying the energy storage system operation information according to the first feedback information and the second feedback information, and sends the first target feedback message to the server.
- 根据权利要求1所述的方法,其中,在所述主设备将所述第一请求消息分别发送给所述多个从设备,并分别接收所述多个从设备中的至少部分从设备根据所述第一请求消息生成的第二反馈信息之前,所述方法还包括:The method according to claim 1, wherein, before the master device sends the first request message to the multiple slave devices respectively and respectively receives second feedback information generated by at least some of the multiple slave devices according to the first request message, the method further comprises:所述主设备为所述多个从设备中的每个从设备分别分配不同的地址信息,以使所述主设备和每个所述从设备根据所述唯一地址信息连通串行接口进行通信。The master device allocates different address information to each of the multiple slave devices, so that the master device and each of the slave devices communicate via a serial interface according to the unique address information.
- 根据权利要求2所述的方法,其中,所述主设备为所述多个从设备中的每个从设备分别分配不同的地址信息包括:The method according to claim 2, wherein the master device assigning different address information to each of the plurality of slave devices comprises:所述主设备获取各所述从设备的初始运行时间;The master device obtains the initial running time of each of the slave devices;所述主设备按照各所述从设备的初始运行时间进行排序,确定各所述从设备的地址优先级,并按照所述地址优先级依次为每个从设备分配不同的地址信息。The master device sorts the slave devices according to their initial operation time, determines the address priority of each slave device, and allocates different address information to each slave device in turn according to the address priority.
- 根据权利要求3所述的方法,其中,所述方法还包括:The method according to claim 3, wherein the method further comprises:所述主设备根据所述多个从设备对应的多个地址信息获得所述多个从设备对应的地址信息排序结果;The master device obtains a sorting result of the address information corresponding to the multiple slave devices according to the multiple address information corresponding to the multiple slave devices;所述主设备将所述地址信息排序结果发送给每个所述从设备,以在所述主设备发生通讯故障时,根据所述地址信息排序结果从所述多个从设备中确定备用主设备。The master device sends the address information sorting result to each of the slave devices, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices according to the address information sorting result.
- 根据权利要求2所述的方法,其中,所述主设备和各所述从设备均包括至少一个储能模块,所述方法还包括:The method according to claim 2, wherein the master device and each of the slave devices comprises at least one energy storage module, and the method further comprises:所述主设备获取各所述从设备中的所述储能模块的剩余容量;The master device obtains the remaining capacity of the energy storage module in each of the slave devices;所述主设备对各所述从设备的所述储能模块的剩余容量进行排序,获得储能能力排序结果;The master device sorts the remaining capacity of the energy storage modules of each of the slave devices to obtain an energy storage capacity sorting result;所述主设备将所述储能能力排序结果发送给各所述从设备,以在所述主设备发生通讯故障时,根据所述储能能力排序结果从所述多个从设备中确定备用主设备。The master device sends the energy storage capacity ranking result to each of the slave devices, so that when a communication failure occurs in the master device, a backup master device can be determined from the multiple slave devices according to the energy storage capacity ranking result.
- 根据权利要求4或5所述的方法,其中,所述主设备为所述多个从设备中的每个从设备分别分配不同的地址信息之后,所述方法还包括:The method according to claim 4 or 5, wherein after the master device assigns different address information to each of the plurality of slave devices, the method further comprises:所述主设备将预存地址信息发送给所述服务器,其中,所述预存地址信息包括各所述从设备分别对应的地址信息;The master device sends the pre-stored address information to the server, wherein the pre-stored address information includes the address information corresponding to each of the slave devices;相应地,所述在所述主设备发生通讯故障并从所述多个从设备中确定备用主设备之后, 所述方法还包括:Accordingly, after a communication failure occurs in the master device and a backup master device is determined from the plurality of slave devices, The method further comprises:所述备用主设备向所述服务器发送第二请求消息,所述第二请求消息用于获取所述预存地址信息;The standby master device sends a second request message to the server, where the second request message is used to obtain the pre-stored address information;所述备用主设备接收所述云服务器返回的携带所述预存地址信息的第二目标反馈消息,并根据所述预存地址信息与所述多个从设备中的除所述备用主设备之外的其他从设备进行通讯。The backup master device receives a second target feedback message carrying the pre-stored address information returned by the cloud server, and communicates with other slave devices among the multiple slave devices except the backup master device according to the pre-stored address information.
- 根据权利要求1所述的方法,其中,所述第一目标反馈消息包括以下至少一项信息:所述储能系统的系统额定功率、系统额定容量、储能变流系统PCS运行台数以及储能系统运行数据。The method according to claim 1, wherein the first target feedback message includes at least one of the following information: the system rated power of the energy storage system, the system rated capacity, the number of operating units of the energy storage conversion system PCS, and the energy storage system operation data.
- 根据权利要求1所述的方法,其中,在所述主设备在获取到所述部分或全部从设备发送的第二反馈信息之后,所述方法还包括:The method according to claim 1, wherein, after the master device obtains the second feedback information sent by the part or all of the slave devices, the method further comprises:所述主设备确定所述第二反馈信息中是否包括表征所述从设备处于高风险状态的高风险参数;Determining, by the master device, whether the second feedback information includes a high-risk parameter indicating that the slave device is in a high-risk state;若所述第二反馈信息中包括所述高风险参数,则确定所述高风险参数对应的从设备为故障从设备,并对所述故障从设备对应的目标反馈信息进行存储。If the second feedback information includes the high-risk parameter, it is determined that the slave device corresponding to the high-risk parameter is a faulty slave device, and the target feedback information corresponding to the faulty slave device is stored.
- 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises:当所述主设备确定存在发生故障的所述故障从设备时,对所述故障从设备对应的故障信息进行采集处理;When the master device determines that there is a faulty slave device, collecting and processing fault information corresponding to the faulty slave device;若所述主设备采集到所述故障从设备对应的故障信息,则将所述故障信息发送到所述服务器;If the master device collects the fault information corresponding to the faulty slave device, the master device sends the fault information to the server;若所述主设备未采集到所述故障从设备的故障信息,则确定本地是否存储有所述故障从设备对应的目标反馈信息;If the master device fails to collect the fault information of the faulty slave device, determining whether target feedback information corresponding to the faulty slave device is stored locally;若存储有所述故障从设备对应的目标反馈信息,则将所述目标反馈信息发送到所述服务器。If target feedback information corresponding to the faulty slave device is stored, the target feedback information is sent to the server.
- 一种能量块并联通讯装置,所述能量块并联通讯装置用于执行如权利要求1至9任一项所述的能量块并联通讯方法,包括:An energy block parallel communication device, the energy block parallel communication device is used to execute the energy block parallel communication method according to any one of claims 1 to 9, comprising:接收模块,被配置为所述主设备接收服务器下发的用于获取所述储能系统运行信息的第一请求消息,并根据所述第一请求消息生成第一反馈信息;a receiving module configured to receive, by the master device, a first request message sent by a server for obtaining the operation information of the energy storage system, and generate first feedback information according to the first request message;生成模块,被配置为所述主设备将所述第一请求消息分别发送给所述多个从设备,并分别接收所述多个从设备中的至少部分从设备根据所述第一请求消息生成的第二反馈信息;a generating module, configured to enable the master device to send the first request message to the multiple slave devices respectively, and to respectively receive second feedback information generated by at least some of the multiple slave devices according to the first request message;发送模块,被配置为所述主设备根据所述第一反馈信息和所述第二反馈信息生成携带所述储能系统运行信息的第一目标反馈消息,并向所述服务器发送所述第一目标反馈消息。The sending module is configured to generate, by the master device, a first target feedback message carrying the operation information of the energy storage system according to the first feedback information and the second feedback information, and send the first target feedback message to the server.
- 一种电子设备,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的能量块并联通讯方法中的步骤的指令。An electronic device comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor, and the programs include instructions for executing the steps in the energy block parallel communication method as described in any one of claims 1 to 9.
- 一种计算机可读存储介质,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9中任一项所述的能量块并联通 讯方法。 A computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the energy block and communication method according to any one of claims 1 to 9. Communication method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211284725.9 | 2022-10-17 | ||
CN202211284725.9A CN115664932B (en) | 2022-10-17 | 2022-10-17 | Energy block parallel communication method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024083027A1 true WO2024083027A1 (en) | 2024-04-25 |
Family
ID=84990337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/124271 WO2024083027A1 (en) | 2022-10-17 | 2023-10-12 | Energy block parallel communication method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115664932B (en) |
WO (1) | WO2024083027A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115664932B (en) * | 2022-10-17 | 2024-01-26 | 厦门海辰储能科技股份有限公司 | Energy block parallel communication method and device |
CN116937578B (en) * | 2023-09-18 | 2024-01-23 | 广东电网有限责任公司江门供电局 | Power grid monitoring system data processing method, device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842939A (en) * | 2012-09-28 | 2012-12-26 | 无锡华润矽科微电子有限公司 | Battery management system and battery management method |
WO2017185914A1 (en) * | 2016-04-25 | 2017-11-02 | 韩磊 | Electric automobile energy monitoring and swapping network in remote monitoring of cloud computing network architecture |
CN111586204A (en) * | 2020-05-12 | 2020-08-25 | 广州极飞科技有限公司 | Communication address allocation method, communication system, master device and slave device |
CN112162201A (en) * | 2020-09-22 | 2021-01-01 | 中国第一汽车股份有限公司 | Detection system and method for battery module |
CN112600264A (en) * | 2020-11-30 | 2021-04-02 | 蜂巢能源科技有限公司 | Control method and system of parallel battery packs, electronic equipment and vehicle |
CN115664932A (en) * | 2022-10-17 | 2023-01-31 | 厦门海辰储能科技股份有限公司 | Energy block parallel communication method and device |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102006004233A1 (en) * | 2006-01-30 | 2007-08-09 | Siemens Ag Österreich | Communication structure for solar inverters |
CN101630298B (en) * | 2009-07-28 | 2012-07-18 | 中兴通讯股份有限公司 | Serial bus slave address setting system |
CN103812962B (en) * | 2014-02-12 | 2017-03-22 | 南京欧帝科技股份有限公司 | Automatic device communication address allocation system based on serial interface and working method |
JP7052251B2 (en) * | 2017-08-10 | 2022-04-12 | 住友電気工業株式会社 | Power information collection system and power information collection method |
CN109842508B (en) * | 2017-11-27 | 2022-04-05 | 华为技术有限公司 | Multi-terminal cooperative work method, terminal equipment and multi-terminal cooperative system |
CN109995554A (en) * | 2017-12-29 | 2019-07-09 | 中国移动通信集团吉林有限公司 | The control method and cloud dispatch control device of multi-stage data center active-standby switch |
CN110120989B (en) * | 2019-04-19 | 2020-05-22 | 珠海格力电器股份有限公司 | Method and system for realizing automatic address allocation and matching among devices |
CN111586629A (en) * | 2020-04-24 | 2020-08-25 | 深圳市元征科技股份有限公司 | Vehicle remote diagnosis method in ZigBee mode and related device |
CN113992501A (en) * | 2020-07-09 | 2022-01-28 | 华为技术有限公司 | Fault positioning system, method and computing device |
CN112926083B (en) * | 2021-02-24 | 2023-01-24 | 万翼科技有限公司 | Interactive processing method based on building information model and related device |
CN114205842B (en) * | 2021-11-03 | 2024-02-02 | 深圳市九洲电器有限公司 | Device cooperation synchronization method, system, device, terminal device and storage medium |
CN114554469A (en) * | 2022-02-24 | 2022-05-27 | 盒马(中国)有限公司 | Data transmission method, bluetooth communication device, storage medium, and program product |
-
2022
- 2022-10-17 CN CN202211284725.9A patent/CN115664932B/en active Active
-
2023
- 2023-10-12 WO PCT/CN2023/124271 patent/WO2024083027A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842939A (en) * | 2012-09-28 | 2012-12-26 | 无锡华润矽科微电子有限公司 | Battery management system and battery management method |
WO2017185914A1 (en) * | 2016-04-25 | 2017-11-02 | 韩磊 | Electric automobile energy monitoring and swapping network in remote monitoring of cloud computing network architecture |
CN111586204A (en) * | 2020-05-12 | 2020-08-25 | 广州极飞科技有限公司 | Communication address allocation method, communication system, master device and slave device |
CN112162201A (en) * | 2020-09-22 | 2021-01-01 | 中国第一汽车股份有限公司 | Detection system and method for battery module |
CN112600264A (en) * | 2020-11-30 | 2021-04-02 | 蜂巢能源科技有限公司 | Control method and system of parallel battery packs, electronic equipment and vehicle |
CN115664932A (en) * | 2022-10-17 | 2023-01-31 | 厦门海辰储能科技股份有限公司 | Energy block parallel communication method and device |
Also Published As
Publication number | Publication date |
---|---|
CN115664932B (en) | 2024-01-26 |
CN115664932A (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2024083027A1 (en) | Energy block parallel communication method and apparatus | |
WO2021190196A1 (en) | Charging and discharging management method for parallel battery packs, electronic device, and electrical system | |
EP2629391B1 (en) | Method and system for setting up sequential ids for multiple slaves of a battery pack | |
US10168756B2 (en) | Backup power management for computing systems | |
CN111384455B (en) | BMS multi-machine parallel implementation system | |
WO2015066024A1 (en) | Multi-level data center consolidated power control | |
KR20130026249A (en) | Method and system for identifier allowcation of multi-slave in battery pack | |
EP4160863A1 (en) | Method and apparatus for scheduling resource in energy storage device pool, device, system, and medium | |
WO2024027192A1 (en) | Control system and method for multi-branch battery system | |
WO2023125637A1 (en) | Charging control method and system, electronic device, and computer-readable storage medium | |
WO2023125709A1 (en) | Bidirectional charger, power supply system, and power management method and apparatus | |
WO2024041383A1 (en) | Energy storage system and power supply control method for battery management system | |
CN117811171B (en) | Charging and discharging power distribution method, device, equipment and storage medium of energy storage equipment | |
CN116708374A (en) | Address allocation method for energy storage system | |
CN114597941A (en) | Modular energy storage converter, control method and device and electronic equipment | |
US20240201277A1 (en) | Energy storage system | |
CN109546695B (en) | Battery management method, device, equipment and system | |
KR101811125B1 (en) | A method of controlling an Energy Storage system with Peak-Cut Mode operation, and an apparatus thereof | |
CN115549247A (en) | Mixed power management method and system | |
CN114914920A (en) | Energy storage system and control method thereof | |
JP2020120493A (en) | Control system and program | |
KR102652000B1 (en) | Power management method performing power management apparatus managing energy storage system based on power conversion system for connection of different batteries and power management apparatus therefor | |
CN113949149B (en) | Data center control method and control system | |
CN218526112U (en) | Energy storage battery management system | |
EP4439281A1 (en) | Device management system and program management method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23879018 Country of ref document: EP Kind code of ref document: A1 |