Power energy storage battery system, communication method, device and equipment
By adopting a ring Ethernet topology in the battery energy storage system, the automatic setting of device addresses and unicast data transmission are realized, which solves the problems of communication delay and time-consuming and labor-consuming update of device addresses caused by CAN bus, and improves the stability and data transmission efficiency of the battery management system.
Patent Information
- Application Number
- CN202510239859.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2045-03-03
AI Technical Summary
In the existing battery energy storage system, the use of the CAN bus as the data communication bus causes data communication delays and packet loss, the battery management system is unstable, and the device address update is time-consuming and labor-intensive and prone to errors.
The ring Ethernet topology is adopted, and a ring network is formed through the main control unit and the first and second Ethernet interfaces of the N main control units to realize the automatic setting of device addresses and unicast data packet transmission, improving communication efficiency and stability.
The device address setting process is simplified, the device address setting efficiency and accuracy are improved, and the battery management system is enhanced.
Smart Images

Figure CN119743345B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage batteries, and specifically to an electric energy storage battery system, a communication method, a device, and equipment. Background Art
[0002] With the continuous development of new power systems, the large-scale application of energy storage is one of the effective means to build a new power system based on new energy sources. Electrochemical energy storage systems have great development potential in this new power system. To improve the operating efficiency of electrochemical energy storage and reduce manufacturing costs, the capacity of electrochemical energy storage system units and the voltage level of energy storage systems are also constantly increasing with technological development.
[0003] The battery management system (BMS) is a crucial component of energy storage systems. Conventional power storage battery systems often use the CAN bus as their primary data communication bus. As the capacity and voltage levels of energy storage systems continue to increase, the operating voltage of common high-voltage battery systems can now exceed 1500V. This significantly increases the data communication traffic within the BMS. Continuing to use the existing CAN bus architecture for data communication will cause data communication delays and packet loss throughout the system, leading to asynchronous data collection within the BMS and delayed battery management control, thus impacting the safe and stable operation of the entire energy storage system.
[0004] When using the CAN bus as a data communication bus, devices connected to the bus must have a unique communication address that cannot be the same as the communication address of other devices on the bus, otherwise data transmission and reception conflicts will occur. Therefore, the current common method is to require engineering commissioning personnel to visit the equipment site and manually modify the device addresses of the master and main controllers one by one before the entire battery management system is operational. When a device fails and needs to be replaced, the communication address of the device must be queried and the communication address of the replaced device must be set again. This method is not only time-consuming and labor-intensive, but also prone to errors and other problems caused by manual settings. Summary of the Invention
[0005] This application provides an electric energy storage battery system, communication method, apparatus, and device to address the problems of battery control delays, unstable operation, and time-consuming, labor-intensive, and error-prone device address updates caused by current battery energy storage systems using the CAN bus as the basic data communication bus. This system achieves efficient and stable management of the battery energy storage system, improves the efficiency and convenience of device address updates, and enhances the accuracy of device addresses.
[0006] The present application provides an electric energy storage battery system, comprising:
[0007] A master control unit, the master control unit comprising a first Ethernet interface and a second Ethernet interface;
[0008] N main control units, each of the N main control units includes the first Ethernet interface and the second Ethernet interface, the first Ethernet interface of the master control unit is connected to the first Ethernet interface of the first master control unit, the second Ethernet interface of the master control unit is connected to the second Ethernet interface of the Nth master control unit, the first Ethernet interface of the Kth master control unit is connected to the second Ethernet interface of the K-1th master control unit, and the second Ethernet interface of the Kth master control unit is connected to the first Ethernet interface of the K+1th master control unit, so that the master control unit and the N main control units form a ring network topology, where N is an integer greater than 1, and K is an integer greater than 1 and less than N;
[0009] Each of the main control units is used to obtain battery information of a corresponding battery cluster, and the master control unit is used to manage and monitor the battery array according to the battery information from the N main control units.
[0010] According to the power storage battery system provided in the present application, each main control unit includes a microcontroller MCU chip, and the MCU chip is connected to the first Ethernet interface and the second Ethernet interface respectively.
[0011] The present application provides a communication method for an electric energy storage battery system, which is applied to any of the above-mentioned electric energy storage battery systems, and the method includes:
[0012] The master control unit obtains a network configuration request, where the network configuration request is used to instruct the N master control units to perform network configuration;
[0013] The master control unit sends a target message to the first master control unit;
[0014] The main control unit determines the device addresses of the N main control units in sequence according to the target message, and obtains the device address of each main control unit;
[0015] The Nth main control unit sends a response message to the general control unit according to the device address of each main control unit, where the response message is used to indicate that the network configuration of the N main control units is completed.
[0016] According to the communication method of the electric energy storage battery system provided in the present application, the main control unit determines the device addresses of the N main control units in sequence according to the target message, including: the first main control unit determines the device address of the first main control unit according to the target message; updates the target message according to the device address of the first main control unit; performs the following operations on the remaining N-1 main control units in sequence until the Nth main control unit updates the target message: the current main control unit obtains the updated target message sent by the previous main control unit of the current main control unit; obtains the device address of the current main control unit according to the updated target message; updates the target message according to the device address of the current main control unit; the current main control unit sends the updated target message to the next main control unit of the current main control unit; and determines that the next main control unit of the current main control unit is the current main control unit.
[0017] According to the communication method of the electric energy storage battery system provided in the present application, after the network configuration of the N main control units is completed, the method further includes: the main control unit obtains the device address of the Mth main control unit, where M is an integer greater than 1 and less than or equal to N; the main control unit sends a unicast data message to the Mth main control unit according to the device address.
[0018] According to the communication method of the electric energy storage battery system provided in the present application, the sending of a unicast data message to the Mth main control unit according to the device address includes: determining whether there is a communication abnormality in the M-1 main control units before the Mth main control unit; if the communication abnormality does not exist, the main control unit sends the unicast data message to the Mth main control unit through the first Ethernet interface; if the communication abnormality exists, the main control unit sends the unicast data message to the Mth main control unit through the second Ethernet interface.
[0019] According to the communication method of the electric energy storage battery system provided in the present application, the method also includes: each of the main control units sends a unicast data message to the main control unit through the first Ethernet interface and the second Ethernet interface respectively; the determining whether there is a communication abnormality in the first M-1 main control units of the Mth main control unit includes: determining whether the first Ethernet interface and the second Ethernet interface of the main control unit respectively obtain unicast data messages from the first M-1 main control units; if so, determining that there is no communication abnormality in the first M-1 main control units; if not, determining that there is a communication abnormality in the first M-1 main control units.
[0020] The present application provides a communication device for an electric energy storage battery system, which is applied to any of the above-mentioned electric energy storage battery systems, and the device includes:
[0021] An acquiring unit, configured for the master control unit to acquire a network configuration request, wherein the network configuration request is used to instruct the N master control units to perform network configuration;
[0022] A first sending unit, configured for the master control unit to send a target message to the first main control unit;
[0023] a determining unit, configured for the main control unit to sequentially determine the device addresses of the N main control units according to the target message, to obtain the device address of each main control unit;
[0024] The second sending unit is configured for the Nth main control unit to send a response message to the general control unit according to the device address of each main control unit, where the response message is used to indicate that the network configuration of the N main control units is completed.
[0025] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the communication method of any of the above-mentioned power storage battery systems is implemented.
[0026] The present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned communication methods for the electric energy storage battery system.
[0027] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned communication methods for the electric energy storage battery system.
[0028] The power storage battery system, communication method, apparatus, and device provided herein utilize a first Ethernet interface and a second Ethernet interface to form a ring network topology with a master control unit and N master control units. This allows the power storage battery system to exchange data via an Ethernet bus, improving battery management efficiency and stability. Furthermore, Ethernet can be used to automatically set device addresses, improving efficiency and accuracy in device address setting. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0030] Figure 1 This is one of the structural diagrams of the power energy storage battery system provided in this application.
[0031] Figure 2 This is one of the flow charts of the communication method of the electric energy storage battery system provided in this application.
[0032] Figure 3 This is the second flow chart of the communication method of the electric energy storage battery system provided in this application.
[0033] Figure 4 It is a structural diagram of the communication device of the power energy storage battery system provided in this application.
[0034] Figure 5 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION
[0035] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0036] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0037] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0038] Currently, battery energy storage systems use the CAN bus as the basic data communication bus, which can cause battery control delays, unstable operation, and time-consuming, labor-intensive, and error-prone device address updates.
[0039] In response to the above problems, the embodiments of the present application provide a power storage battery system, a communication method, an apparatus and a device. The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] See also Figure 1 , Figure 1 This is one of the structural schematic diagrams of the power storage battery system provided in this application. The power storage battery system includes a master control unit, the master control unit including a first Ethernet interface and a second Ethernet interface; N main control units, each of the N main control units including the first Ethernet interface and the second Ethernet interface, the first Ethernet interface of the master control unit connected to the first Ethernet interface of the first main control unit, the second Ethernet interface of the master control unit connected to the second Ethernet interface of the Nth main control unit, the first Ethernet interface of the Kth main control unit connected to the second Ethernet interface of the K-1th main control unit, and the second Ethernet interface of the Kth main control unit connected to the first Ethernet interface of the K+1th main control unit, so that the master control unit and the N main control units form a ring network topology, N is an integer greater than 1, and K is an integer greater than 1 and less than N; each main control unit is used to obtain battery information of a corresponding battery cluster, and the master control unit is used to manage and monitor the battery array based on the battery information from the N main control units.
[0041] In a specific implementation, if N is 4, the values of K are 2 and 3, respectively. This means that the first Ethernet interface of the master control unit is connected to the first Ethernet interface of main control unit 1, the second Ethernet interface of main control unit 1 is connected to the first Ethernet interface of main control unit 2, the second Ethernet interface of main control unit 2 is connected to the first Ethernet interface of main control unit 3, the second Ethernet interface of main control unit 3 is connected to the first Ethernet interface of main control unit 4, and the second Ethernet interface of main control unit 4 is connected to the second Ethernet interface of the master control unit. The first and second Ethernet communication interfaces are data communication service interfaces.
[0042] In specific implementations, the master control unit is primarily responsible for collecting and monitoring information such as the battery cluster's charge and discharge current, cluster-level voltage, cluster-level insulation status, and contactor and disconnector status. It also collects and manages information collected by all slave controls within the cluster and, based on this data, performs tasks such as battery status assessment. The entire cluster can be activated and deactivated by controlling the contactors within the high-voltage box.
[0043] The master control unit is primarily responsible for managing and monitoring the battery array. It connects downward to the main control units of each battery cluster to implement battery array charge and discharge control, fault diagnosis, and protection. It also connects to the air conditioning, fire protection, and water cooling equipment inside the container. It also connects upward to systems such as the Energy Management System (EMS) and the Power Conversion System (PCS) to exchange information and provide feedback on the operating status of the battery array, ensuring the safe and reliable operation of the energy storage system.
[0044] In a specific implementation, the master control unit further includes a CPU, and the CPU is configured to transmit data through the first Ethernet interface and the second Ethernet interface of the master control unit.
[0045] In a specific implementation, the power energy storage battery system may also include slave control units, with each master control unit connected to multiple slave control units. The slave control unit is primarily responsible for monitoring and controlling individual battery modules, collecting key information such as cell voltage and temperature, and transmitting this information to the master control unit. It also has a balancing control function, enabling balanced optimization of the energy of the cells within the battery module. This allows the power energy storage battery system of this solution to achieve cell-level, cluster-level, and stack-level management of the energy storage system based on the slave control units, master control unit, and master control unit.
[0046] As can be seen, in this embodiment, the master control unit and N main control units form a ring Ethernet topology. The master control unit is connected using a dual Ethernet structure, forming a physical ring, which can prevent the occurrence of Ethernet ring network storms. At the same time, data exchange is carried out via the Ethernet bus, which greatly improves the communication rate compared to the CAN bus, enhancing battery management efficiency and stability.
[0047] In a possible embodiment, each main control unit includes a microcontroller MCU chip, and the MCU chip is connected to the first Ethernet interface and the second Ethernet interface respectively.
[0048] The MCU chip is configured to transmit data via the first Ethernet interface and the second Ethernet interface of the corresponding main control unit. The MCU control chip uses MAC layer Ethernet for data communication.
[0049] See also Figure 2 In one possible embodiment, the present application provides a communication method for an electric energy storage battery system, which is applied to the electric energy storage battery system in any of the above embodiments and includes the following steps.
[0050] S201: The master control unit obtains a network configuration request, where the network configuration request is used to instruct the N main control units to perform network configuration.
[0051] After the master control unit completes its power-on initialization configuration, it can send a network configuration request to the master control unit via the host computer. For example, by clicking on the Ethernet ring Internet Protocol (IP) configuration on the display screen, the master control unit will receive the network configuration request, which is used to instruct N master control units to perform IP configuration.
[0052] S202: The master control unit sends a target message to the first main control unit.
[0053] After receiving a network configuration request, the master control unit can first send a broadcast message. When all master control units on the ring network receive the broadcast message, they reinitialize the device IP and enter network configuration mode. The master control unit then sends a target message to automatically assign a ring network IP. This target message can be a Link Layer Discovery Protocol (LLDP) message.
[0054] S203: The main control unit determines the device addresses of the N main control units in sequence according to the target message to obtain the device address of each main control unit.
[0055] Among them, all the main control units perform IP automatic configuration in sequence based on the connection sequence with the main control unit and the LLDP message to obtain the device address corresponding to each main control device.
[0056] S204 , the Nth main control unit sends a response message to the general control unit according to the device address of each main control unit, where the response message is used to indicate that the network configuration of the N main control units is completed.
[0057] After the last master control unit on the ring network completes the device address setting, it will send a message to the main control unit to inform the total number of master control units online, completing the device address setting of the ring network. The response message can be an updated LLDP message.
[0058] As can be seen, this embodiment automatically sets device addresses on the ring Ethernet bus based on network configuration requests, resolving the traditional CAN bus issue where engineering commissioning personnel must visit the equipment site and manually modify the device addresses of the master and main controllers one by one. This simplifies the workflow and improves work efficiency.
[0059] In a possible embodiment, the main control unit determines the device addresses of the N main control units in sequence according to the target message, including: the first main control unit determines the device address of the first main control unit according to the target message; updates the target message according to the device address of the first main control unit; performs the following operations on the remaining N-1 main control units in sequence until the Nth main control unit updates the target message: the current main control unit obtains the updated target message sent by the previous main control unit of the current main control unit; obtains the device address of the current main control unit according to the updated target message; updates the target message according to the device address of the current main control unit; the current main control unit sends the updated target message to the next main control unit of the current main control unit; and determines that the next main control unit of the current main control unit is the current main control unit.
[0060] In specific implementations, after each cluster's master control unit enters network configuration mode, the master control unit sends an LLDP message with destination address 1 through its first Ethernet interface. This message is received only by master control unit 1, which is physically closest to the master control unit. Upon receiving this message, master control unit 1's first Ethernet interface sets its own IP address to 1, adds a flag indicating that address 1 already exists to the received message, and reassembles a new LLDP message, which is then sent through its second Ethernet interface.
[0061] After receiving the message from master control unit 1, master control unit 2 parses the message and finds that the device with IP address 1 already exists. It then configures its own IP address to 2 and writes a flag indicating that address 2 already exists into the message. It then reassembles a new LLDP message and sends it through the second Ethernet interface. At this point, master control unit 1 also receives the message from master control unit 2 and does nothing based on the message content. The same process is repeated for the Nth device, with the IP address increasing gradually.
[0062] The last master control unit N sends the final LLDP message through the second Ethernet interface. After the second Ethernet interface of the master control unit receives the message, it parses the message content to obtain the total number of master control units online, completing the entire ring network IP setting.
[0063] It can be seen that in this embodiment, device address setting is performed step by step based on LLDP messages, which can improve the efficiency of device address setting.
[0064] The device address setting process of the main control unit can be found in Figure 3 As shown, the host computer first initiates the ring network link setup, then the master control unit broadcasts the ring network IP setup. At this point, all master control units enter configuration mode, and then the master control unit sends an IP address setup message. Master control unit 1, which is physically closest to the master control unit, receives the message and sets its own address. It then resends the address setup message, which now includes the address identifier of master control unit 1. Master control unit 2 then receives the message and sets its own address, resending the address setup message. This address setup message now includes the address identifiers of both master control unit 1 and master control unit 2. Each master control unit sets its own address in sequence based on its connection order, until master control unit N receives the message and sets its own address. It then resends the address setup message, which now includes the address identifiers of master control unit 1 through master control unit N. The master control unit receives the address setup message, parses the content, and completes the ring network IP setup.
[0065] In a possible embodiment, after the network configuration of the N main control units is completed, the method further includes: the main control unit obtains the device address of the Mth main control unit, where M is an integer greater than 1 and less than or equal to N; and the main control unit sends a unicast data message to the Mth main control unit according to the device address.
[0066] The master control unit uses two independent Ethernet transceiver controllers, and the software can control the sending of Ethernet data packets from either port. For example, the master control unit can default to communicating via the first Ethernet interface. In this case, the master control unit can send unicast data packets to the Mth master control unit via the first Ethernet interface using the device address of the Mth master control unit.
[0067] It can be seen that in this embodiment, the master control unit sends unicast data packets to the corresponding main control units based on the device addresses, which can improve the efficiency of data transmission and save transmission resources.
[0068] In a possible embodiment, sending a unicast data packet to the Mth main control unit according to the device address includes: determining whether there is a communication abnormality in the M-1 main control units before the Mth main control unit; if there is no communication abnormality, the main control unit sends the unicast data packet to the Mth main control unit through the first Ethernet interface; if there is a communication abnormality, the main control unit sends the unicast data packet to the Mth main control unit through the second Ethernet interface.
[0069] In a specific implementation, the master control unit can use the first Ethernet interface by default to send and receive data packets. In this case, when a break occurs in the entire ring network, the master control unit will automatically identify the ring network break location and switch the Ethernet communication port. This allows data to be sent and received from another direction without affecting the data communication of the entire ring network, thereby ensuring the reliability of Ethernet communication. For example, if there are 4 master control units in the ring network, when the master control unit needs to send a unicast data packet to the third master control unit, if the ring network before the third master control unit breaks, then when sending unicast data packets to the third and fourth master control units, they will be sent through the second Ethernet interface. That is, as long as any of the M-1 master control units before the Mth master control unit has a communication anomaly, the Mth and subsequent master control units will send data packets through the second Ethernet interface.
[0070] It can be seen that in this embodiment, the master control unit can automatically identify the location of the ring network disconnection and switch the Ethernet communication interface, thereby improving the reliability of Ethernet communication.
[0071] In a possible embodiment, the method further includes: each of the master control units sends a unicast data packet to the main control unit through the first Ethernet interface and the second Ethernet interface respectively; determining whether there is a communication abnormality in the first M-1 master control units of the Mth master control unit includes: determining whether the first Ethernet interface and the second Ethernet interface of the main control unit respectively obtain unicast data packets from the first M-1 master control units; if so, determining that there is no communication abnormality in the first M-1 master control units; if not, determining that there is a communication abnormality in the first M-1 master control units.
[0072] Among them, after the ring network address is set, each cluster master control unit will upload monitoring data normally according to the newly assigned address, and the uploaded data will be sent out through the first Ethernet interface and the second Ethernet interface of the master control unit at the same time. The main control unit will receive the same content message from different ring network directions from the first Ethernet interface and the second Ethernet interface at the same time. After the reception is completed, the main control unit will verify the message, filter out the same message and transmit it to the application for processing. Even if there is a circuit breaker in the ring network communication link, the main control unit will receive the monitoring message in a single direction, which will not affect the normal data upload, thereby ensuring the reliability of the ring network communication. At the same time, the main control unit can monitor the location of the Ethernet ring network disconnection and upload the abnormal information of the ring network disconnection to the EMS background system, and the on-site staff will carry out maintenance.
[0073] In a specific implementation, for example, to determine whether communication anomalies exist between the two master control units preceding the third master control unit, the master control unit can determine whether it has received data packets from the first and second master control units via the first Ethernet communication interface. If so, the ring network is considered normal. A unicast data packet can then be sent to the third master control unit via the first Ethernet interface. If not, the task ring network is disrupted, and the master control unit then sends a unicast data packet to the third master control unit via the second Ethernet interface.
[0074] It can be seen that, in this embodiment, sending data packets through the first Ethernet interface and the second Ethernet interface at the same time can improve the reliability of data transmission.
[0075] The communication device of the power energy storage battery system provided in the present application is described below. The communication device of the power energy storage battery system described below and the communication method of the power energy storage battery system described above can be referenced to each other.
[0076] See also Figure 4 , Figure 4Schematic diagram of the structure of a communication device for an electric energy storage battery system provided in the present application. The communication device 400 for an electric energy storage battery system is applied to the electric energy storage battery system in any of the above embodiments, and includes: an acquisition unit 401, configured for the master control unit to acquire a network configuration request, wherein the network configuration request is used to instruct the N master control units to perform network configuration; a first sending unit 402, configured for the master control unit to send a target message to the first master control unit; a determination unit 403, configured for the master control unit to sequentially determine the device addresses of the N master control units based on the target message to obtain the device address of each master control unit; and a second sending unit 404, configured for the Nth master control unit to send a response message to the master control unit based on the device address of each master control unit, wherein the response message is used to indicate that the network configuration of the N master control units is complete.
[0077] In one possible embodiment, in terms of the main control unit determining the device addresses of the N main control units in sequence according to the target message, the determination unit 403 is specifically used to: the first main control unit determines the device address of the first main control unit according to the target message; updates the target message according to the device address of the first main control unit; performs the following operations on the remaining N-1 main control units in sequence until the Nth main control unit updates the target message: the current main control unit obtains the updated target message sent from the previous main control unit of the current main control unit; obtains the device address of the current main control unit according to the updated target message; updates the target message according to the device address of the current main control unit; the current main control unit sends the updated target message to the next main control unit of the current main control unit; and determines that the next main control unit of the current main control unit is the current main control unit.
[0078] In a possible embodiment, the communication device 400 of the power energy storage battery system further includes a third sending unit. After the network configuration of the N main control units is completed, the third sending unit is specifically configured to: the main control unit obtains the device address of the Mth main control unit, where M is an integer greater than 1 and less than or equal to N; and the main control unit sends a unicast data message to the Mth main control unit according to the device address.
[0079] In a possible embodiment, in terms of sending a unicast data packet to the Mth master control unit according to the device address, the third sending unit is specifically used to: determine whether there is a communication abnormality in the M-1 master control units before the Mth master control unit; if there is no communication abnormality, the main control unit sends the unicast data packet to the Mth master control unit through the first Ethernet interface; if there is a communication abnormality, the main control unit sends the unicast data packet to the Mth master control unit through the second Ethernet interface.
[0080] In a possible embodiment, the communication device 400 of the electric energy storage battery system further includes a fourth sending unit, wherein the fourth sending unit is specifically configured to: each of the main control units sends a unicast data message to the main control unit through the first Ethernet interface and the second Ethernet interface respectively; in terms of determining whether there is a communication abnormality among the first M-1 main control units of the M-th main control unit, the third sending unit is specifically configured to: determine whether the first Ethernet interface and the second Ethernet interface of the main control unit respectively obtain unicast data messages from the first M-1 main control units; if so, determine that there is no communication abnormality among the first M-1 main control units; if not, determine that there is a communication abnormality among the first M-1 main control units.
[0081] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of the electronic device provided by this application. Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 may invoke logic instructions in the memory 530 to execute a communication method for an electric energy storage battery system, the method comprising: the main control unit obtaining a network configuration request, the network configuration request being used to instruct the N main control units to perform network configuration; the main control unit sending a target message to the first main control unit; the main control unit sequentially determining the device addresses of the N main control units based on the target message to obtain the device address of each main control unit; and the Nth main control unit sending a response message to the main control unit based on the device address of each main control unit, the response message being used to indicate that the network configuration of the N main control units is complete.
[0082] Furthermore, the logic instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0083] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the communication method of the electric energy storage battery system provided by the above-mentioned methods, the method comprising: the main control unit obtains a network configuration request, and the network configuration request is used to instruct the N main control units to perform network configuration; the main control unit sends a target message to the first main control unit; the main control unit determines the device addresses of the N main control units in sequence according to the target message, and obtains the device address of each main control unit; the Nth main control unit sends a response message to the main control unit according to the device address of each main control unit, and the response message is used to indicate that the network configuration of the N main control units is completed.
[0084] On the other hand, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements a communication method for an electric energy storage battery system as described above, the method comprising: the main control unit obtains a network configuration request, and the network configuration request is used to instruct the N main control units to perform network configuration; the main control unit sends a target message to the first main control unit; the main control unit determines the device addresses of the N main control units in sequence according to the target message, and obtains the device address of each main control unit; the Nth main control unit sends a response message to the main control unit according to the device address of each main control unit, and the response message is used to indicate that the network configuration of the N main control units is completed.
[0085] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0086] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. An electric energy storage battery system, characterized in that: include: A master control unit, the master control unit comprising a first Ethernet interface and a second Ethernet interface; N main control units, each of the N main control units includes the first Ethernet interface and the second Ethernet interface, the first Ethernet interface of the master control unit is connected to the first Ethernet interface of the first master control unit, the second Ethernet interface of the master control unit is connected to the second Ethernet interface of the Nth master control unit, the first Ethernet interface of the Kth master control unit is connected to the second Ethernet interface of the K-1th master control unit, and the second Ethernet interface of the Kth master control unit is connected to the first Ethernet interface of the K+1th master control unit, so that the master control unit and the N main control units form a ring network topology, where N is an integer greater than 1, and K is an integer greater than 1 and less than N; Each main control unit is used to obtain battery information of a corresponding battery cluster, and the main control unit is used to manage and monitor the battery array according to the battery information from the N main control units; The master control unit is further configured to obtain a network configuration request, the network configuration request being used to instruct the N master control units to perform network configuration; and to send a broadcast message to the N master control units, the broadcast message being used to instruct the N master control units to initialize device addresses and enter a network configuration mode; and to send a target message to the first master control unit; The first master control unit is used to determine the device address of the first master control unit according to the target message; and to update the target message according to the device address of the first master control unit; the remaining N-1 master control units are used to perform the following operations in sequence until the Nth master control unit updates the target message: the current master control unit obtains the updated target message sent by the previous master control unit of the current master control unit; obtains the device address of the current master control unit according to the updated target message; updates the target message according to the device address of the current master control unit; the current master control unit sends the updated target message to the next master control unit of the current master control unit; Determining the next master control unit of the current master control unit as the current master control unit; The Nth main control unit is used to send a response message to the main control unit according to the updated target message, and the response message is used to indicate that the network configuration of the N main control units is completed.
2. The electric energy storage battery system according to claim 1, characterized in that: Each main control unit includes a microcontroller MCU chip, and the MCU chip is connected to the first Ethernet interface and the second Ethernet interface respectively.
3. A communication method for an electric energy storage battery system, characterized in that: Applied to the power energy storage battery system according to claim 1 or 2, the method comprises: The master control unit obtains a network configuration request, where the network configuration request is used to instruct the N master control units to perform network configuration; The master control unit sends a broadcast message to the N main control units, wherein the broadcast message is used to instruct the N main control units to initialize device addresses and enter a network configuration mode; The master control unit sends a target message to the first master control unit; The first main control unit determines a device address of the first main control unit according to the target message; Updating the target message according to the device address of the first main control unit; The following operations are sequentially performed on the remaining N-1 master control units until the Nth master control unit updates the target message: the current master control unit obtains an updated target message sent from a master control unit preceding the current master control unit; obtains a device address of the current master control unit according to the updated target message; updates the target message according to the device address of the current master control unit; the current master control unit sends the updated target message to a master control unit next to the current master control unit; and determines that the master control unit next to the current master control unit is the current master control unit; The Nth main control unit sends a response message to the general control unit according to the updated target message, where the response message is used to indicate that the network configuration of the N main control units is completed.
4. The method according to claim 3, characterized in that After the network configuration of the N main control units is completed, the method further includes: The master control unit obtains the device address of the Mth master control unit, where M is an integer greater than 1 and less than or equal to N; The master control unit sends a unicast data message to the Mth master control unit according to the device address.
5. The method according to claim 4, characterized in that The sending a unicast data message to the Mth main control unit according to the device address includes: Determine whether there is a communication abnormality among the M-1 main control units before the M-th main control unit; If the communication abnormality does not exist, the master control unit sends a unicast data message to the Mth main control unit through the first Ethernet interface; If the communication anomaly exists, the master control unit sends the unicast data message to the Mth main control unit through the second Ethernet interface.
6. The method according to claim 5, characterized in that The method further comprises: Each of the main control units sends a unicast data message to the main control unit through the first Ethernet interface and the second Ethernet interface respectively; The determining whether there is a communication abnormality among the M-1 main control units before the M-th main control unit includes: Determining whether the first Ethernet interface and the second Ethernet interface of the master control unit respectively obtain unicast data packets from the first M-1 master control units; If yes, it is determined that there is no communication anomaly among the first M-1 main control units; If not, it is determined that there is a communication anomaly among the first M-1 main control units.
7. A communication device for an electric energy storage battery system, characterized in that: Applicable to the power energy storage battery system according to claim 1 or 2, the device comprises: An acquiring unit, configured for the master control unit to acquire a network configuration request, wherein the network configuration request is used to instruct the N master control units to perform network configuration; A first sending unit, configured for the master control unit to send a broadcast message to the N master control units, wherein the broadcast message is used to instruct the N master control units to initialize device addresses and enter a network configuration mode; and configured for the master control unit to send a target message to the first master control unit; a determining unit, configured for the first master control unit to determine a device address of the first master control unit according to the target message; and to update the target message according to the device address of the first master control unit; and to sequentially perform the following operations on the remaining N-1 master control units until the Nth master control unit updates the target message: the current master control unit obtains an updated target message sent from a master control unit previous to the current master control unit; obtains the device address of the current master control unit according to the updated target message; updates the target message according to the device address of the current master control unit; the current master control unit sends the updated target message to a master control unit next to the current master control unit; and determines that the master control unit next to the current master control unit is the current master control unit; The second sending unit is configured for the Nth main control unit to send a response message to the general control unit according to the updated target message, where the response message is used to indicate that the network configuration of the N main control units is completed.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the communication method of the electric energy storage battery system according to any one of claims 3 to 6 are implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the communication method of the electric energy storage battery system according to any one of claims 3 to 6 are implemented.
Citation Information
Patent Citations
Energy storage battery management system
CN116192598A
Redundant communication implementation device and method of battery management system
CN119341893A