Simulation test method and simulation test platform for energy-storage battery management system
By designing the real-time simulation module and interface protocol conversion module of the energy storage system in the energy storage battery management system, and transmitting simulation results using high-speed communication protocols, the problem of inefficient testing in the existing technology is solved, and efficient and accurate simulation testing is achieved.
Patent Information
- Application Number
- PCT/CN2024/091757
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-31
- Filing Date
- 2024-05-08
- Publication Date
- 2025-02-06
AI Technical Summary
When testing energy storage battery management systems, the existing technology requires a large number of battery simulators and analog output interfaces, resulting in cumbersome test setup and debugging, difficult data processing and analysis, and inefficient simulation testing.
Design a simulation test method for energy storage battery management system, and perform real-time simulation of energy storage system through the real-time simulation module of the energy storage system, eliminating the battery simulator or analog interface, and transmit simulation results through high-speed communication protocols, combined with the interface protocol The conversion module converts the data format into a format recognized by the battery management control module.
It improves the simulation and testing efficiency of the energy storage system, realizes the rapid and accurate transmission of real-time simulation results of the energy storage system, reduces the difficulty of data processing and analysis, and improves the efficiency and accuracy of the test.
Smart Images

Figure CN2024091757_06022025_PF_FP_ABST
Abstract
Description
Energy storage battery management system simulation test method and simulation test platform
[0001] Cross-references
[0002] This application refers to Chinese patent application No. 2023109557359, entitled “Energy Storage Battery Management System Simulation Test Platform and Simulation Test Method”, filed on July 31, 2023, which is incorporated into this application in its entirety by reference. Technical Field
[0003] The present application relates to the field of simulation testing technology, and in particular to a simulation testing method for an energy storage battery management system, an energy storage battery management system simulation testing platform, an apparatus, a computer device, a storage medium, and a computer program product. Background Art
[0004] With the development of new power systems, grid-connected energy storage systems are becoming increasingly widely used. Due to the limited capacity and voltage of individual batteries, batteries are often connected in series or parallel to increase the system's capacity and improve power quality. In this context, extensive testing and data analysis are required to verify the effectiveness of energy storage battery management systems (BMS).
[0005] At present, testing the BMS of energy storage systems requires the use of battery simulators or analog output interfaces to simulate the operating conditions of single cells. For large-capacity energy storage systems, the number of battery cells involved is very large. If all battery simulators or analog output interfaces are used for simulation, the number of battery simulators or analog output interfaces required is also very large. In addition, the test setup and debugging process is very cumbersome, and the amount of data that needs to be transmitted is also very large. This greatly increases the difficulty of data processing and analysis, resulting in low efficiency of simulation testing.
[0006] Summary of the Invention
[0007] Based on this, it is necessary to provide a simulation test method for an energy storage battery management system, an energy storage battery management system simulation test platform, an apparatus, a computer device, a computer-readable storage medium and a computer program product that can improve the efficiency of simulation testing in order to address the above technical problems.
[0008] In a first aspect, the present application also provides a simulation test method for an energy storage battery management system, the method comprising:
[0009] Receive the real-time simulation results of the energy storage system sent by the real-time simulation module of the energy storage system through the high-speed communication protocol;
[0010] Converting the data format of the real-time simulation results of the energy storage system into the data format of the target communication protocol to obtain the real-time simulation results of the target energy storage system, and sending the real-time simulation results of the target energy storage system to the battery management control module, where the target communication protocol is a communication protocol supported by the battery management control module;
[0011] Receiving a battery management control message sent by the battery management control module in response to the real-time simulation results of the target energy storage system;
[0012] The data format of the battery management control message is converted into the data format of the high-speed communication protocol to obtain the target battery management control message, and the target battery management control message is sent to the energy storage system real-time simulation module through the high-speed communication protocol, so that the energy storage system real-time simulation module tests the battery management control module based on the battery management control message.
[0013] In the technical solution of the embodiment of the present application, the energy storage system is simulated in real time through the energy storage system real-time simulation module, eliminating the need for a battery simulator or analog interface, thereby improving test efficiency; the real-time simulation results of the energy storage system are transmitted through a high-speed communication protocol, which can achieve fast and accurate transmission of the real-time simulation results of the energy storage system, helping to improve the efficiency and accuracy of the test; by converting the data format of the real-time simulation results into a standardized data format recognizable by the battery management control module, normal communication and normal data transmission can be achieved, meeting different test requirements. In summary, the above solution can improve the simulation test efficiency of the energy storage system.
[0014] In some embodiments, converting the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol to obtain the real-time simulation result of the target energy storage system, and sending the real-time simulation result of the target energy storage system to the battery management control module includes:
[0015] The data format of the real-time simulation results of the energy storage system is converted into the CAN (Controller Area Network) protocol frame format to obtain the real-time simulation results of the target energy storage system consisting of multiple CAN data frames, and the real-time simulation results of the target energy storage system are sent to the battery management control module through the CAN protocol.
[0016] In the technical solution of the embodiment of the present application, data transmission is performed through the CAN protocol, which can ensure the real-time, reliability and stability of the data.
[0017] In some embodiments, the CAN data frame includes cell monitoring unit identification data;
[0018] Sending the real-time simulation results of the target energy storage system to the battery management control module includes:
[0019] According to the identification data of the battery cell monitoring unit, the CAN data frame in the real-time simulation result of the target energy storage system is sent to the slave battery management unit of the battery management control module, and the slave battery management unit is connected to the battery cell monitoring unit corresponding to the identification data of the battery cell monitoring unit.
[0020] In the technical solution of the embodiment of the present application, by establishing a mapping relationship between the battery cell monitoring unit and the CAN data frame, each CAN data frame is accurately sent to the slave battery management unit according to the CSC coding information carried in each CAN data frame, thereby realizing efficient management of the battery management control module and reducing the risk of system failure or error caused by CAN data frame sending errors.
[0021] In some embodiments, sending the CAN data frame in the real-time simulation result of the target energy storage system to the slave battery management unit of the battery management control module includes:
[0022] The CAN data frames in the real-time simulation results of the target energy storage system are sent to the slave battery management unit of the battery management control module through the built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit.
[0023] In the technical solution of the embodiment of the present application, a correspondence is established between the CAN interface board and the battery cell monitoring unit. Through the built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit, the real-time simulation results of the target energy storage system can be quickly and accurately sent to the slave battery management unit, thereby reducing the delay and error rate of data transmission and realizing efficient management of the battery management control module.
[0024] In a second aspect, the present application provides a simulation test platform for an energy storage battery management system. The platform includes: an energy storage system real-time simulation module, an interface protocol conversion module, and a battery management control module;
[0025] The energy storage system real-time simulation module is used to simulate the energy storage system in real time using the established energy storage system real-time simulation model, and send the energy storage system real-time simulation results to the interface protocol conversion module through a high-speed communication protocol;
[0026] An interface protocol conversion module is used to convert the data format of the real-time simulation results of the energy storage system into the data format of the target communication protocol, obtain the real-time simulation results of the target energy storage system, and send the real-time simulation results of the target energy storage system to the battery management control module, where the target communication protocol is a communication protocol supported by the battery management control module;
[0027] The battery management control module is used to respond to the real-time simulation results of the target energy storage system, generate a battery management control message, and send the battery management control message to the interface protocol conversion module so that the interface protocol conversion module converts the data format of the battery management control message into the data format of the high-speed communication protocol to obtain the target battery management control message, and then feeds the target battery management control message back to the energy storage system real-time simulation module through the high-speed communication protocol.
[0028] In the technical solution of the embodiment of the present application, different test scenarios can be simulated through the real-time simulation model of the energy storage system, and the energy storage system can be simulated in real time under different test scenarios, eliminating the need for a battery simulator or analog interface, thereby improving test efficiency; by transmitting the real-time simulation results of the energy storage system through a high-speed communication protocol, it is possible to achieve fast and accurate transmission of the real-time simulation results of the energy storage system, which helps to improve the efficiency and accuracy of the test; by setting an interface protocol conversion module, the real-time simulation module can be converted into a standardized data format that can be recognized by the battery management control module, and it can also support the conversion of different types of data to meet different test requirements. In summary, the simulation test efficiency of the energy storage system can be improved through the above-mentioned simulation test platform.
[0029] In some embodiments, the interface protocol conversion module includes a programmable logic unit and a communication interface unit that are communicatively connected to each other, the programmable logic unit is connected to the energy storage system real-time simulation module, and the communication interface unit is connected to the slave battery management unit in the battery management control module.
[0030] In the technical solution of the embodiment of the present application, conversion and data transmission between different protocols are achieved through the programming of the programmable logic unit, so that the interface protocol conversion module has high flexibility and can meet the needs of different systems. The communication interface unit can be connected to the slave battery management unit in the battery management control module, and the number of communication interface units can be expanded to support communication connections of more battery management control modules.
[0031] In some embodiments, the communication interface unit includes a CAN interface board;
[0032] A programmable logic unit is used to convert the real-time simulation result of the energy storage system into a real-time simulation result of the target energy storage system composed of multiple CAN data frames according to the CAN protocol frame format, and send the target simulation result to the CAN interface board;
[0033] The CAN interface board is used to send the real-time simulation results of the target energy storage system to the battery management control module via the CAN protocol.
[0034] In the technical solution of the embodiment of the present application, data transmission is performed through the CAN protocol, which can ensure the real-time, reliability and stability of data transmission.
[0035] In some embodiments, each CAN data frame includes battery cell monitoring unit identification data and a real-time simulation result of an energy storage system of a battery cell corresponding to the battery cell monitoring unit identification data;
[0036] The programmable logic unit is used to send each CAN data frame to the CAN interface board corresponding to the battery cell monitoring unit identification data according to the battery cell monitoring unit identification data.
[0037] In the technical solution of the embodiment of the present application, by establishing a mapping relationship between each battery cell monitoring unit and the CAN data frame, and sending each CAN data frame to the CAN interface board corresponding to the battery cell monitoring unit identification information according to the CSC encoding information carried in each CAN data frame, data transmission and communication between multiple CAN interface boards can be achieved, thereby improving scalability, and then expanding the number and communication capabilities of the CAN interface boards according to actual needs.
[0038] In some embodiments, the energy storage system real-time simulation module is used to send the energy storage system real-time simulation results to the interface protocol conversion module via a high-speed serial bus protocol.
[0039] In the technical solution of the embodiment of the present application, real-time simulation data is transmitted to the interface protocol conversion module through a high-speed fiber optic protocol, which can quickly transmit a large amount of data and reduce data transmission delays. In addition, due to the error detection and retransmission mechanism of the fiber optic protocol, the integrity and reliability of the data can be improved.
[0040] In some embodiments, the energy storage system real-time simulation module is used to send the energy storage system real-time simulation results to the interface protocol conversion module via a high-speed optical fiber protocol.
[0041] In the technical solution of the embodiment of the present application, the real-time simulation results of the energy storage system are transmitted to the interface protocol conversion module through a high-speed serial bus protocol, which not only enables high-speed transmission of the real-time simulation results of the energy storage system, but also eliminates the need for external programmable logic devices and saves hardware resources compared to high-speed optical fiber protocols.
[0042] In some embodiments, the energy storage system real-time simulation module is also used to determine the number of optical fibers to be enabled based on the communication management parameters of the battery management control module, the battery pack capacity parameters of the energy storage system, and the preset data transmission requirement parameters, and transmit the real-time simulation results of the energy storage system to the interface protocol conversion module through the high-speed optical fiber protocol and the enabled optical fiber.
[0043] In the technical solution of the embodiment of the present application, the actual number of optical fibers required is determined by the communication management parameters of the battery management control module, the battery pack capacity parameters of the energy storage system, and the preset data transmission requirement parameters. This enables data transmission to be achieved with as few hardware resources as possible while meeting the communication rate, data transmission distance, optical fiber capacity, and security requirements, thereby improving hardware resource utilization.
[0044] In some embodiments, the platform further includes a control terminal, the control terminal being communicatively connected to the interface protocol conversion module;
[0045] The control end is used to send a data modification message carrying communication fault configuration data to the interface protocol conversion module;
[0046] The interface protocol conversion module is used to modify the real-time simulation results of the target energy storage system to be transmitted according to the communication fault configuration data, and send the modified real-time simulation results of the target energy storage system to the battery management control module. It receives and sends the battery management control commands fed back by the battery management control module to the control end, so that the control end can evaluate the communication fault handling capability of the battery management control module.
[0047] In the technical solution of the embodiment of the present application, by introducing the control end to evaluate the communication fault capability of the battery management control module, it is possible to promptly detect abnormal communication fault handling of the battery management control module, take corresponding measures, and improve the reliability, safety and performance of the energy storage system.
[0048] In a third aspect, the present application further provides a simulation test device for an energy storage battery management system, the device comprising:
[0049] A first data receiving module is configured to receive a real-time simulation result of an energy storage system sent by the real-time simulation module of the energy storage system via a high-speed communication protocol;
[0050] A first data conversion module is configured to convert the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol, obtain the real-time simulation result of the target energy storage system, and send the real-time simulation result of the target energy storage system to the battery management control module, where the target communication protocol is a communication protocol supported by the battery management control module;
[0051] A second data receiving module is used to receive a battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system;
[0052] The second data conversion module is used to convert the data format of the battery management control message into the data format of the high-speed communication protocol to obtain a target battery management control message, and send the target battery management control message to the energy storage system real-time simulation module through the high-speed communication protocol, so that the energy storage system real-time simulation module can test the battery management control module according to the battery management control message.
[0053] In a fourth aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the embodiment of the above-mentioned energy storage battery management system simulation test method when executing the computer program.
[0054] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the embodiment of the above-mentioned energy storage battery management system simulation test method.
[0055] In a sixth aspect, the present application further provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in the embodiment of the above-mentioned energy storage battery management system simulation test method.
[0056] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on the drawings without inventive work. In the drawings:
[0058] FIG1 is a structural block diagram of a simulation test platform for an energy storage battery management system in some embodiments of the present application;
[0059] FIG2 is a structural block diagram of a simulation test platform for an energy storage battery management system in some other embodiments of the present application;
[0060] FIG3 is a structural block diagram of a simulation test platform for an energy storage battery management system in some other embodiments of the present application;
[0061] FIG4 is a schematic diagram showing the correspondence between high-speed communication protocol frames and CAN protocol frames in some embodiments of the present application;
[0062] FIG5 is a detailed structural block diagram of an energy storage battery management system simulation test platform in some embodiments of the present application;
[0063] FIG6 is a flow chart of a simulation test method for an energy storage battery management system in some embodiments of the present application;
[0064] FIG7 is a schematic diagram of a detailed flow chart of a simulation test method for an energy storage battery management system in other embodiments of the present application;
[0065] FIG8 is a structural block diagram of a simulation test device for an energy storage battery management system in some other embodiments of the present application;
[0066] FIG9 is a diagram showing the internal structure of a computer device in some embodiments of the present application. DETAILED DESCRIPTION
[0067] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.
[0068] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0069] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.
[0070] References herein to "embodiments" 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 this 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.
[0071] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0072] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.
[0073] With the development of new power systems, grid-connected energy storage systems are becoming increasingly widely used. Due to the limited capacity and voltage of individual batteries, batteries are often connected in series or parallel to increase the system's capacity and improve power quality. In this context, extensive testing and data analysis are required to verify the effectiveness of battery management systems (BMSs).
[0074] However, the traditional method of testing the energy storage battery management system (BMS) requires the use of a battery simulator or an analog output interface to simulate the operating conditions of a single battery. For large-capacity energy storage systems, the number of battery cells involved is very large. If all of them are simulated using a battery simulator or an analog output interface, the number of battery simulators or analog output interfaces required is very large. In addition, the test setup and debugging process is very cumbersome, and the amount of data that needs to be transmitted is also very large, which greatly increases the difficulty of data processing and analysis, thus resulting in low efficiency of simulation testing.
[0075] In order to solve the problem of low efficiency of energy storage system simulation testing, research has found that a real-time simulation module for the energy storage system can be designed. According to the basic structure of the energy storage system, a complete real-time simulation model of the energy storage system (hereinafter referred to as the simulation model) can be constructed. Through the simulation model and the set initial conditions and boundary conditions, the energy storage system can be simulated in real time, eliminating the need for a battery simulator or analog interface and improving test efficiency.
[0076] Considering the large number of single cells in a large-capacity energy storage system, the amount of data that needs to be transmitted is also very large, making data processing and analysis more difficult. In order to solve the problem of data transmission and processing, this application proposes a method of transmitting data through a high-speed communication protocol to achieve fast and accurate data transmission.
[0077] However, since the BMS system usually does not support high-speed communication protocols, in order to ensure normal communication between the real-time simulation module of the energy storage system and the BMS, this application designs an interface line protocol conversion module that can support different types of data conversion. In this way, through the coordinated cooperation of high-speed communication protocols and interface protocol conversion modules, fast and accurate data transmission can be achieved, the difficulty of data processing and analysis is reduced, and the efficiency of simulation testing is improved.
[0078] Based on the above considerations, a simulation test platform for an energy storage battery management system is proposed. The platform includes an energy storage system real-time simulation module, an interface protocol conversion module, and a battery management control module. Among them, the energy storage system real-time simulation module uses the constructed energy storage system real-time simulation model to perform real-time simulation of the energy storage system, and sends the real-time simulation results of the energy storage system to the interface protocol conversion module through a high-speed communication protocol. Then, the interface protocol conversion module performs protocol conversion on the real-time simulation results of the energy storage system, converts the real-time simulation results of the energy storage system into real-time simulation results of the target energy storage system that can be recognized by the battery management control module, and then sends the real-time simulation results of the target energy storage system to the battery management control module. The battery management control module responds to the real-time simulation results of the target energy storage system and generates a battery management control message. The battery management control message is sent to the interface protocol conversion module. The interface protocol conversion module feeds back the battery management control message to the energy storage system real-time simulation module through a high-speed communication protocol, so that the energy storage system real-time simulation module can test whether the battery management control module responds according to the preset expectations based on the battery management message, and then test and evaluate the performance and reliability of the battery management control module.
[0079] In some embodiments, as shown in FIG1 , a simulation test platform for an energy storage battery management system is provided, including an energy storage system real-time simulation module 120 , an interface protocol conversion module 140 , and a battery management control module 160 .
[0080] The energy storage system real-time simulation module 120 is used to perform real-time simulation of the energy storage system using the constructed real-time simulation model of the energy storage system, and send the real-time simulation results of the energy storage system to the interface protocol conversion module through a high-speed communication protocol.
[0081] The interface protocol conversion module 140 is used to convert the data format of the real-time simulation results of the energy storage system into the data format of the target communication protocol, obtain the real-time simulation results of the target energy storage system, and send the real-time simulation results of the target energy storage system to the battery management control module. The target communication protocol is a communication protocol supported by the battery management control module.
[0082] The battery management control module 160 is used to respond to the real-time simulation results of the target energy storage system, generate a battery management control message, and send the battery management control message to the interface protocol conversion module so that the interface protocol conversion module converts the data format of the battery management control message into the data format of the high-speed communication protocol to obtain the target battery management control message. The target battery management control message is then fed back to the energy storage system real-time simulation module via the high-speed communication protocol.
[0083] The energy storage battery management system includes the energy storage system and the battery management system. The real-time simulation results of the energy storage system include but are not limited to information such as battery cell temperature, battery cell voltage, and current.
[0084] In this embodiment, the energy storage system real-time simulation module 120 pre-builds a real-time simulation model of the energy storage system, wherein the real-time simulation model of the energy storage system is constructed based on the basic structure of the energy storage battery system (hereinafter referred to as the energy storage system). Specifically, the basic structure of the energy storage system includes a single cell, a battery box composed of several single cells, and a cabinet composed of several battery boxes. Combining several cabinets to obtain a complete energy storage battery system. After determining the basic structure of the energy storage system, the real-time simulation mathematical model of the single cell, the real-time simulation mathematical model of the battery box, and the real-time simulation mathematical model of the cabinet can be established on the real-time simulation platform according to the basic structure of the energy storage system. Then, according to the specific structure of the energy storage system, the simulation target is determined, including the type, scale, and operating mode of the energy storage system to be simulated, to construct a real-time simulation model of the energy storage system. Among them, the real-time simulation model of the energy storage system may also include an energy manager simulation model, an operating condition simulation model, and an inverter simulation model. Real-time simulation platforms include but are not limited to RTDS (Real Time Digital Simulator) and HYPERSIM. After building a real-time simulation model of the energy storage system, the simulation conditions can be preset, including parameters such as load demand, charging and discharging rates, and temperature.
[0085] The interface protocol conversion module 140 refers to a module for performing protocol conversion processing. Specifically, the interface protocol conversion module 140 can support mutual conversion between different types of data. In this embodiment, the interface protocol conversion module 140 is used to convert the high-speed communication protocol into a communication protocol supported by the battery management control module 160, such as the CAN protocol. The battery management control module 160 can be a BMS system of the energy storage system. Specifically, the energy storage system real-time simulation module 120 is connected to the battery management control module 160 through the interface protocol conversion module 140. High-speed communication protocols include but are not limited to high-speed fiber optic protocols, namely Fibre Channel protocols, universal serial bus protocols, namely USB (Universal Serial Bus), and high-speed serial bus protocols.
[0086] During specific implementation, the real-time simulation model of the energy storage system may be run on a CPU (Central Processing Unit), and the tester may set the initial conditions and boundary conditions of the real-time simulation model of the energy storage system based on the actual operation of the energy storage system. The initial conditions include parameters such as the initial state of the energy storage system, battery voltage, and battery current, and the boundary conditions include the input and output power of the system and the ambient temperature. Then, the energy storage system is simulated in real time using the real-time simulation model of the energy storage system and the set initial conditions and boundary conditions to obtain the real-time simulation results of the energy storage system. Then, the real-time simulation results of the energy storage system are packaged and organized into a real-time simulation result of the energy storage system in a standardized format that conforms to the selected high-speed communication protocol, and the real-time simulation results of the energy storage system are sent to the interface protocol conversion module 140 via the high-speed communication protocol.
[0087] After receiving the real-time simulation results of the energy storage system, the interface protocol conversion module 140 can perform protocol conversion on the real-time simulation results of the energy storage system, converting the high-speed communication protocol into a communication protocol supported by the BMS, such as the CAN protocol, that is, converting the real-time simulation results of the energy storage system from the data format of the high-speed communication protocol to the data format supported by the BMS. Specifically, the received real-time simulation results of the energy storage system can be parsed and decapsulated, and then the real-time simulation results of the energy storage system can be parsed according to the currently used high-speed communication protocol to extract the real-time simulation results of the energy storage system. The data format of the extracted real-time simulation results of the energy storage system can then be converted from the data format of the high-speed communication protocol to the data format supported by the BMS. The converted real-time simulation results of the energy storage system can be repackaged to obtain the real-time simulation results of the target energy storage system. Finally, the real-time simulation results of the target energy storage system can be sent to the BMS according to the communication protocol supported by the BMS.
[0088] After receiving the real-time simulation results of the target energy storage system, the BMS responds to the real-time simulation results. The specific response process may include parsing and processing the received real-time simulation results of the energy storage system, such as extracting key parameters such as cell voltage, current, and temperature for calculation and processing. Alternatively, the BMS may monitor battery status, such as battery charge and health status, based on the real-time simulation results of the energy storage system. If an abnormal condition is detected or exceeds a preset threshold, an alarm mechanism is triggered, notifying relevant personnel and enabling appropriate emergency measures to be taken. Alternatively, based on the real-time simulation results of the energy storage system and the preset control strategy, corresponding control actions are executed to generate battery management control messages. Battery management control messages include, but are not limited to, balancing control commands or charge and discharge control commands. For example, based on the battery charge and load conditions, commands for adjusting the battery's charging current and voltage may be generated to maintain the battery's health and extend its service life. After the battery management control message is generated, it may be packaged according to the communication protocol supported by the BMS and sent to the interface protocol conversion module 140.
[0089] After receiving the battery management control message, the interface protocol conversion module 140 performs protocol conversion on the battery management control message, converting it into the data format specified by the high-speed communication protocol. The converted battery management control message is then forwarded to the energy storage system real-time simulation module 120. Upon receiving the battery management control message, the energy storage system real-time simulation module 120 responds to the message, performs corresponding actions, adjusts the operating parameters of the energy storage system, and evaluates the effectiveness of the battery management message to test the reliability and performance of the BMS. This process forms a complete closed-loop BMS test system. Furthermore, the energy storage system real-time simulation module 120 can perform real-time simulation calculations on the adjusted energy storage system based on the new test task, obtain new energy storage system real-time simulation results, and repeat the above process to achieve comprehensive testing and verification of the BMS.
[0090] For example, the energy storage system real-time simulation module 120 can simulate the behavior of the energy storage system based on battery management control messages. If the battery management control message is a charging instruction, the battery charging process is simulated and parameters such as the battery charging rate and charging time are calculated. If the battery management control message is a balancing control instruction, balancing is initiated for cells with high control voltage, causing them to discharge through resistors. The module can also evaluate whether the current charging strategy meets requirements based on the battery level and load requirements in the battery management control message, and determine whether the strategy needs to be adjusted.
[0091] In the technical solution of the embodiment of the present application, different test scenarios can be simulated through the real-time simulation model of the energy storage system, and the energy storage system can be simulated in real time under different test scenarios, eliminating the need for a battery simulator or analog interface, thereby improving test efficiency; by transmitting the real-time simulation results of the energy storage system through a high-speed communication protocol, it is possible to achieve fast and accurate transmission of the real-time simulation results of the energy storage system, which helps to improve the efficiency and accuracy of the test; by setting an interface protocol conversion module, the real-time simulation module can be converted into a standardized data format that can be recognized by the battery management control module, and it can also support the conversion of different types of data to meet different test requirements. In summary, the simulation test efficiency of the energy storage system can be improved through the above-mentioned simulation test platform.
[0092] As shown in Figure 2, in some embodiments, the interface protocol conversion module 140 includes a programmable logic unit 142 and a communication interface unit 144 that are communicatively connected to each other, the programmable logic unit 142 is connected to the energy storage system real-time simulation module 120, and the communication interface unit 144 is connected to the slave battery management unit in the battery management control module 160.
[0093] The programmable logic unit 142 includes but is not limited to an FPGA (Field Programmable Gate Array) motherboard, a CPLD (Complex Programmable Logic Device), etc. The communication interface unit 144 includes but is not limited to a CAN interface unit, a serial port interface unit, a fiber optic interface unit, and an HDMI interface unit. The slave battery management unit in the battery management control module 160 refers to the SBMU (Slave Battery Management Unit) in the BMS, which is mainly used to monitor and manage each single cell in the power battery to ensure the safety and performance of the battery.
[0094] In this embodiment, the programmable logic unit 142 is communicatively connected to the communication interface board, the programmable logic unit 142 is connected to the energy storage system real-time simulation module 120, and the communication interface unit 144 can be connected to multiple SBMUs in the BMS through a data communication line to establish communication between the energy storage system real-time simulation module 120 and the interface protocol conversion module 140, as well as communication between the interface protocol conversion module 140 and the BMS.
[0095] In the technical solution of the embodiment of the present application, conversion and data transmission between different protocols are achieved through the programming of the programmable logic unit, so that the interface protocol conversion module has high flexibility and can meet the needs of different systems. The communication interface unit can be connected to the slave battery management unit in the battery management control module, and the number of communication interface units can be expanded to support communication connections of more battery management control modules.
[0096] In some embodiments, the communication interface unit 144 includes a plurality of CAN interface boards 1442 .
[0097] The programmable logic unit 142 is used to convert the real-time simulation results of the energy storage system into real-time simulation results of the target energy storage system composed of multiple CAN data frames according to the CAN protocol frame format, and send the target simulation results to the CAN interface board 1442.
[0098] The CAN interface board 1442 is used to send the real-time simulation results of the target energy storage system to the battery management control module 160 via the CAN protocol.
[0099] The CAN interface board 1442 is an important component of the CAN bus. It is the interface connecting the CAN bus and external devices. It is responsible for data transmission, conversion, filtering, buffering, protection and other processing to ensure the stability and reliability of CAN bus communication. Since in actual applications, BMS usually uses CAN protocol communication, in this embodiment, the communication interface unit 144 can be a CAN interface board 1442. Specifically, each CAN interface board 1442 can simulate the CAN interface of a CSC (Cell Supervision Circuit).
[0100] As shown in FIG3 , the programmable logic unit 142 is described as an FPGA mainboard 142, and the communication interface unit 144 is a plurality of CAN interface boards 1442. Specifically, the CAN bus of the CAN interface board 1442 can be connected to the CAN interface of the FPGA mainboard 142. The energy storage system real-time simulation module 120 can be directly connected to the FPGA mainboard 142, and the CAN interface board 1442 can communicate with the SBMU in the BMS via the CAN bus.
[0101] In a specific implementation, the energy storage system real-time simulation module 120 may package the energy storage system real-time simulation results into high-speed protocol frames and send them to the FPGA mainboard 142. The FPGA mainboard 142 decapsulates the energy storage system real-time simulation results and extracts the energy storage system real-time simulation results. The extracted energy storage system real-time simulation results are then converted to a protocol format, converting the data format of the energy storage system real-time simulation results from a high-speed communication protocol format to a CAN protocol frame format, thereby obtaining a target energy storage system real-time simulation result consisting of multiple CAN data frames. The converted target energy storage system real-time simulation result is then transmitted to the CAN interface board 1442. The CAN interface board 1442 then transmits the target energy storage system real-time simulation results to the SBMU in the BMS via the CAN bus and the CAN protocol. The SBMU then feeds the target energy storage system real-time simulation results back to the MBMU (Master Battery Management Unit). Specifically, the correspondence between the high-speed optical fiber protocol and the CAN protocol can be seen in FIG4 .
[0102] In the technical solution of the embodiment of the present application, data transmission is performed through the CAN protocol, which can ensure the real-time, reliability and stability of data transmission.
[0103] In other embodiments, each CAN data frame includes identification data of a single cell monitoring unit in the battery management control module 160 and real-time simulation results of the energy storage system for the cell corresponding to the identification data of the single cell monitoring unit. The programmable logic unit 142 is configured to send each CAN data frame to the CAN interface board 1442 corresponding to the identification data of the cell monitoring unit based on the identification data of the cell monitoring unit.
[0104] In this embodiment, to facilitate querying and locating relevant data for each cell, each CAN frame can store detailed temperature, voltage, and current data for multiple cells monitored by a CSC. During the data packaging process, the FPGA mainboard 142 packages the detailed temperature, voltage, and current data for multiple cells monitored by each CSC into a corresponding CAN data frame, using CSCs as the unit. Each CAN data frame can include heartbeat information, CSC identification data such as CSC code information, alarm fault information, cell statistical temperature, cell statistical voltage, cell current, cell balancing status data, and board temperature. The CSC code information can be used to locate the corresponding unique CAN data frame. After data conversion and packaging are completed, each CAN data frame can be sent to the CAN interface board 1442 corresponding to the CSC code information based on the CSC code information carried in each CAN data frame. After receiving the real-time simulation results of the target energy storage system composed of multiple CAN data frames, the CAN interface board 1442 can transmit the real-time simulation results of the target energy storage system to the corresponding SBMU via the CAN bus and CAN protocol according to the CSC code information. Specifically, one SBMU may communicate with multiple CSCs.
[0105] In the technical solution of the embodiment of the present application, by establishing a mapping relationship between each CSC and the CAN data frame, and sending each CAN data frame to the CAN interface board corresponding to the CSC identification information according to the CSC encoding information carried in each CAN data frame, data transmission and communication between multiple CAN interface boards can be realized, the scalability can be improved, and the number and communication capabilities of the CAN interface boards can be expanded according to actual needs.
[0106] In some embodiments, the energy storage system real-time simulation module 120 is configured to send the energy storage system real-time simulation results to the interface protocol conversion module 140 via a high-speed optical fiber protocol.
[0107] In practical applications, considering the need for high-speed data transmission, a high-speed fiber optic protocol can be used to transmit data to the interface protocol conversion module 140. Specifically, the real-time simulation model of the energy storage system can be run on the CPU motherboard. The CPU motherboard is connected to an external FPGA motherboard 142, and the real-time simulation results of the energy storage system are transmitted to the FPGA motherboard 142 of the interface protocol conversion module 140 via the SFP (Small Form-factor Pluggable) optical fiber of the external FPGA motherboard 142.
[0108] In the technical solution of the embodiment of the present application, real-time simulation data is transmitted to the interface protocol conversion module through a high-speed optical fiber protocol, which can quickly transmit a large amount of data, reduce data transmission latency, and due to the error detection and retransmission mechanism of the optical fiber protocol, can improve the integrity and reliability of the data.
[0109] In some embodiments, the energy storage system real-time simulation module 120 is further configured to determine the number of enabled optical fibers according to the communication management parameters of the battery management control module 160, the battery pack capacity parameters of the energy storage system, and the preset data transmission requirement parameters, and transmit the energy storage system real-time simulation results to the interface protocol conversion module 140 through the high-speed optical fiber protocol and the enabled optical fibers.
[0110] The communication management parameters of the battery management control module 160 include communication protocol, communication interface, communication rate, data transmission mode, and communication range, etc. The battery pack capacity parameters of the energy storage system include rated capacity, actual capacity, charging capacity, and remaining capacity, etc. The battery pack capacity parameters can represent the number of single cells. The high-speed optical fiber protocol includes but is not limited to protocols such as Aurora protocol or Gigabit Ethernet.
[0111] Continuing from the previous embodiment, in order to make full use of hardware resources, the actual number of required optical fibers can be determined before transmitting the energy storage system real-time simulation results to the interface protocol conversion module 140 through the high-speed optical fiber protocol. Specifically, the required optical fiber communication rate can be determined according to the communication rate requirement in the communication management parameters. For example, if the communication rate requirement is 100 Mbps (Megabits per second), then optical fibers supporting a rate of 100 Mbps need to be used. Then, determine the scale and layout of the energy storage system according to the battery pack capacity parameters of the energy storage system, determine the data transmission distance, and determine the optical fiber type and optical fiber length according to the data transmission distance. Calculate the required optical fiber capacity according to the data in the battery pack capacity parameters. On the premise of meeting the communication rate, data transmission distance, optical fiber capacity, and security requirements, determine the optimal actual number of required optical fibers.
[0112] In specific implementation, a sufficient number of optical fibers, such as N optical fibers, can be pre-connected. When the number of optical fibers M (M < N) is determined in the above manner, M optical fibers can be enabled from the N optical fibers. Then, transmit the energy storage system real-time simulation results to the interface protocol conversion module 140 through the high-speed optical fiber protocol and the enabled optical fibers. In some other embodiments, redundant optical fibers can be set to provide backup paths and bandwidth, so that when the current optical fiber fails, normal data transmission can be achieved through the redundant optical fibers.
[0113] In the technical solution of the embodiment of the present application, the actual number of optical fibers required is determined by the communication management parameters of the battery management control module, the battery pack capacity parameters of the energy storage system, and the preset data transmission requirement parameters. This enables data transmission to be achieved with as few hardware resources as possible while meeting the communication rate, data transmission distance, optical fiber capacity, and security requirements, thereby improving hardware resource utilization.
[0114] In some embodiments, the energy storage system real-time simulation module 120 is used to send the energy storage system real-time simulation results to the interface protocol conversion module 140 via a high-speed serial bus protocol.
[0115] In this embodiment, the high-speed serial bus protocol includes but is not limited to PCI Express (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard, hereinafter referred to as PCIE) protocol and Serial Attached SCSI (Serial Attached SCSI Interface, SAS) and the like.
[0116] In a specific implementation, using PCI Express as an example, the energy storage system real-time simulation model can run on a CPU motherboard equipped with a PCI Express high-speed serial bus. The CPU motherboard is connected to the FPGA motherboard 142 via the PCI Express high-speed serial bus on the CPU motherboard. The energy storage system real-time simulation module 120 simulates the energy storage system and, upon obtaining the real-time simulation results, directly transmits them to the FPGA motherboard 142 via the PCI Express high-speed serial bus. The FPGA motherboard 142 then performs protocol conversion to obtain the target energy storage system real-time simulation results.
[0117] In the technical solution of the embodiment of the present application, the real-time simulation results of the energy storage system are transmitted to the interface protocol conversion module through a high-speed serial bus protocol, which not only enables high-speed transmission of the real-time simulation results of the energy storage system, but also eliminates the need for external programmable logic devices compared to high-speed optical fiber protocols, thereby saving hardware resources.
[0118] As shown in FIG. 5 , in some embodiments, the platform further includes a control terminal 180 , which is communicatively connected to the interface protocol conversion module 140 .
[0119] The control terminal 180 is configured to send a data modification message carrying communication fault configuration data to the interface protocol conversion module 140 .
[0120] The interface protocol conversion module 140 is used to modify the real-time simulation results of the target energy storage system to be transmitted according to the communication fault configuration data, and send the modified real-time simulation results of the target energy storage system to the battery management control module 160, and receive and send the battery management control commands fed back by the battery management control module 160 to the control end, so that the control end can evaluate the communication fault handling capability of the battery management control module 160.
[0121] In this embodiment, the control terminal 180 may include but is not limited to a host computer. Due to the large number of single cells in a large-capacity energy storage system, the amount of data to be transmitted is very large. Therefore, communication failures may occur during data transmission, and the energy storage system real-time simulation module 120 can only simulate the battery operating conditions and cannot simulate communication failures. In this embodiment, in order to evaluate the communication failure handling capability of the battery management control module 160, a host computer can be introduced to evaluate the communication failure handling capability of the battery management control module 160 through the host computer.
[0122] In specific implementation, the FPGA motherboard 142 of the interface protocol conversion module 140 can be connected to a host computer, which can implement human-computer interaction through software. Through human-computer interaction with the host computer, the tester determines the specific goal of evaluating the BMS's communication fault handling capabilities, configures some communication fault configuration information online, such as CSC alarm and fault information, and then sends a communication fault test instruction carrying the communication configuration information to the interface protocol conversion module 140. After receiving the fault configuration information from the host computer, the FPGA motherboard 142 can execute a preset program based on the communication fault configuration information to modify the CAN frame data in the target energy storage system real-time simulation results to be transmitted, thereby obtaining the modified target energy storage system real-time simulation results. The modified target energy storage system real-time simulation results are then sent to the BMS. The BMS response message is received and sent to the host computer. Based on the response message, the host computer determines whether the BMS has responded accordingly based on the modified target energy storage system real-time simulation results to meet the expected design requirements. If the BMS responds accordingly, it can be determined that the BMS has the ability to handle communication faults. If the BMS does not respond accordingly, the BMS's communication fault handling capability assessment is determined to be unqualified. The above method can be used to evaluate the BMS's communication fault handling capability. Typically, the information transmitted by the CSC to the SBMU includes heartbeat signals, CSC coding information, alarm fault information, detailed cell temperature data, voltage data, statistical cell temperature data, statistical voltage data, balancing status, and board temperature. The SBMU can detect whether there are any abnormalities in the battery cell by monitoring the CSC's heartbeat information in the CAN data frame. For example, if the heartbeat signal does not change for a long time, it can be determined that the CSC communication of the battery cell is abnormal.
[0123] In other embodiments, a preset communication fault simulation program may be executed based on the communication fault configuration information to simulate the communication failure conditions of the BMS in the actual operating environment, such as data packet loss, signal interference, etc. Then, based on the response of the BMS, the performance of the BMS in the communication failure condition may be analyzed to evaluate whether the BMS's fault detection and alarm speed, fault recovery time, operation stability and other indicators meet the expected requirements.
[0124] In the technical solution of the embodiment of the present application, by introducing the control end to evaluate the communication fault capability of the battery management control module, it is possible to promptly detect abnormal communication fault handling of the battery management control module, take corresponding measures, and improve the reliability, safety and performance of the energy storage system.
[0125] According to some embodiments of the present application, referring to FIG5 , the present application provides an energy storage battery management system simulation test platform, comprising an energy storage system real-time simulation module 120, an interface protocol conversion module 140, a battery management control module 160 (i.e., the BMS in the figure), and a control terminal 180. The interface protocol conversion module 140 comprises an FPGA mainboard 142 and multiple CAN interfaces 144 that are communicatively connected to each other. The CAN bus of the CAN interface board 1442 can be connected to the CAN interface of the FPGA mainboard 142. The energy storage system real-time simulation module 120 can be directly connected to the FPGA mainboard 142, and the CAN interface board 1442 can communicate with the SBMU in the BMS via the CAN bus.
[0126] Among them, the energy storage system real-time simulation module 120 performs real-time simulation of the energy storage system through the constructed energy storage system real-time simulation model, and sends the real-time simulation results of the energy storage system to the FPGA mainboard 142 in the interface protocol conversion module 140 through the high-speed serial bus protocol.
[0127] The FPGA mainboard 142 decapsulates the real-time simulation results of the energy storage system, extracts the real-time simulation result data of the energy storage system, and then performs protocol conversion on the extracted real-time simulation results of the energy storage system, converting the data format of the real-time simulation results of the energy storage system in the high-speed communication protocol format from the high-speed communication protocol format to the CAN protocol frame format, thereby obtaining the real-time simulation results of the target energy storage system composed of multiple CAN data frames, wherein each CAN data frame includes the identification data of a single battery cell monitoring unit in the BMS160 and the real-time simulation result of the energy storage system of the battery cell corresponding to the identification data of the single battery cell monitoring unit.
[0128] Then, based on the cell monitoring unit identification data, each CAN data frame is sent to the CAN interface board 1442 corresponding to the cell monitoring unit identification data. CAN interface board 1442 then transmits the target energy storage system real-time simulation results to the SBMU in the BMS via the CAN bus and CAN protocol. The SBMU feeds the target energy storage system real-time simulation results back to the MBMU. In response to the target energy storage system real-time simulation results, the BMS generates a battery management control message and sends it to the interface protocol conversion module, which then feeds the battery management control message back to the energy storage system real-time simulation module 120 via a high-speed communication protocol.
[0129] After receiving the battery management control message, the energy storage system real-time simulation module 120 responds to the battery management control message, takes corresponding actions, adjusts the operating parameters of the energy storage system, and evaluates the effectiveness of the battery management message to test the reliability and performance of the BMS, forming a complete closed-loop BMS test system.
[0130] The tester interacts with the control terminal 180 to determine specific objectives for evaluating the BMS's communication fault handling capabilities. They then configure some communication fault configuration information online, such as CSC alarm and fault information. They then send a communication fault test instruction carrying this communication configuration information to the interface protocol conversion module 140. Upon receiving the fault configuration information from the control terminal 180, the FPGA mainboard 142 executes a pre-set program based on the communication fault configuration information to modify the CAN frame data in the transmitted target energy storage system real-time simulation results, obtaining the modified target energy storage system real-time simulation results. The modified target energy storage system real-time simulation results are then sent to the BMS. The control terminal 180 then receives a response message from the BMS and sends it to the control terminal 180. Based on the response message, the control terminal 180 determines whether the BMS has responded to the modified target energy storage system real-time simulation results and met the expected design requirements. If the BMS responds accordingly, the BMS is deemed capable of handling communication faults. If not, the BMS's communication fault handling capability assessment is deemed unqualified. Through the above method, the communication fault handling capability of the BMS can be evaluated.
[0131] In other embodiments, a preset communication fault simulation program may be executed based on the communication fault configuration information to simulate the communication failure conditions of the BMS in the actual operating environment, such as data packet loss, signal interference, etc. Then, based on the response of the BMS, the performance of the BMS in the communication failure condition may be analyzed to evaluate whether the BMS's fault detection and alarm speed, fault recovery time, operation stability and other indicators meet the expected requirements.
[0132] Based on the same inventive concept, the present application also provides a simulation test method for an energy storage battery management system.
[0133] The energy storage battery management system simulation test method provided in the embodiment of the present application can be applied to the energy storage battery management system simulation test platform as shown in Figure 1. The energy storage battery management system simulation test platform can be the energy storage battery management system simulation test platform described in any of the above energy storage battery management system simulation test platform embodiments, and can also be applied to a terminal that establishes a communication connection with the energy storage system real-time simulation module and the battery management control module. Among them, the energy storage system real-time simulation module is used to perform real-time simulation of the energy storage system, obtain the real-time simulation result of the energy storage system and send it to the terminal, the terminal converts the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol, obtains the real-time simulation result of the target energy storage system, and sends the real-time simulation result of the target energy storage system to the battery management control module, the target communication protocol is a communication protocol supported by the battery management control module, receives the battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system, converts the data format of the battery management control message into the data format of the high-speed communication protocol, obtains the target battery management control message, and sends the target battery management control message to the energy storage system real-time simulation module via the high-speed communication protocol, so that the energy storage system real-time simulation module tests the battery management control module based on the battery management control message.
[0134] In some embodiments, as shown in FIG6 , a simulation test method for an energy storage battery management system is provided. This method is described using the interface protocol conversion module in the energy storage battery management system simulation test platform in FIG1 as an example. It is understood that this method can also be applied to a terminal or server, or to a system including a terminal and a server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0135] Step S202 : receiving the real-time simulation result of the energy storage system sent by the real-time simulation module of the energy storage system via a high-speed communication protocol.
[0136] The real-time simulation results of the energy storage system include, but are not limited to, information such as cell temperature, cell voltage, and current. In specific implementations, the energy storage system real-time simulation module may utilize the constructed real-time simulation model of the energy storage system and the set initial and boundary conditions to perform real-time simulation of the energy storage system to obtain the real-time simulation results of the energy storage system. The real-time simulation results of the energy storage system are then packaged and organized into a format that complies with the selected high-speed communication protocol. The real-time simulation results of the energy storage system are then sent to the interface protocol conversion module via the high-speed communication protocol. The interface protocol conversion module receives the real-time simulation results of the energy storage system.
[0137] Step S204 , converting the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol to obtain the real-time simulation result of the target energy storage system, and sending the real-time simulation result of the target energy storage system to the battery management control module, where the target communication protocol is a communication protocol supported by the battery management control module.
[0138] In this embodiment, the battery management control module can also be a BMS. After receiving the real-time simulation results of the energy storage system, the interface protocol conversion module can perform protocol conversion on the real-time simulation results of the energy storage system, converting the data format of the real-time simulation results of the energy storage system from a high-speed communication protocol format to a data format supported by the BMS, obtaining the real-time simulation results of the target energy storage system, and sending the real-time simulation results of the target energy storage system to the BMS.
[0139] Step S206 , receiving a battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system.
[0140] After receiving the real-time simulation results of the target energy storage system, the BMS responds to them. This response process involves executing corresponding control actions based on the real-time simulation results and the preset control strategy, generating battery management control messages. These messages can be balancing control commands or charge and discharge control commands.
[0141] Step S208: Convert the data format of the battery management control message into the data format of the high-speed communication protocol to obtain a target battery management control message, and send the target battery management control message to the energy storage system real-time simulation module through the high-speed communication protocol, so that the energy storage system real-time simulation module tests the battery management control module based on the battery management control message.
[0142] Following the above, after the battery management control message is generated, it can be packaged according to the supported communication protocol and sent to the interface protocol conversion module. After receiving the battery management control message, the interface protocol conversion module performs protocol conversion on the battery management control message, converting it into the data format specified by the high-speed communication protocol to obtain the target battery management control message. The converted target battery management control message is then forwarded to the energy storage system real-time simulation module. After receiving the target battery management control message, the energy storage system real-time simulation module can respond to the target battery management control message, take corresponding actions, adjust the operating parameters of the energy storage system, and evaluate the effectiveness of the battery management message to test the reliability and performance of the BMS. The above process forms a complete closed-loop BMS test system, realizing performance testing and reliability testing of the BMS.
[0143] In the technical solution of the embodiment of the present application, the energy storage system is simulated in real time through the energy storage system real-time simulation module, eliminating the need for a battery simulator or analog interface, thereby improving test efficiency. The real-time simulation results of the energy storage system are transmitted through a high-speed communication protocol, which enables rapid and accurate transmission of the real-time simulation results of the energy storage system, thereby helping to improve the efficiency and accuracy of the test. By converting the real-time simulation module into a data format recognizable by the battery management control module, normal communication and data transmission can be achieved, meeting different test requirements. In summary, the above solution can improve the simulation test efficiency of the energy storage system.
[0144] As shown in FIG7 , in some embodiments, step S206 includes: step S226 , converting the data format of the real-time simulation result of the energy storage system into a CAN protocol frame format, obtaining a real-time simulation result of the target energy storage system composed of multiple CAN data frames, and sending the real-time simulation result of the target energy storage system to the battery management control module via the CAN protocol.
[0145] In practical applications, BMSs typically use CAN communication. Therefore, in this embodiment, the interface protocol conversion module and the BMS may communicate using the CAN protocol. Specifically, the energy storage system real-time simulation module may package the energy storage system real-time simulation results into high-speed protocol frames and send them to the interface protocol conversion module. The interface protocol conversion module decapsulates the energy storage system real-time simulation results and extracts the energy storage system real-time simulation result data. The extracted energy storage system real-time simulation results are then subjected to protocol conversion, converting the data format of the energy storage system real-time simulation results from the high-speed communication protocol to the CAN protocol, obtaining the target energy storage system real-time simulation results consisting of multiple CAN data frames. The target energy storage system real-time simulation results are then sent to the SBMU in the BMS via the CAN bus and the CAN protocol.
[0146] In the technical solution of the embodiment of the present application, data transmission is performed through the CAN protocol, which can ensure the real-time, reliability and stability of the data.
[0147] In some embodiments, the CAN data frame includes cell monitoring unit identification data.
[0148] Sending the real-time simulation results of the target energy storage system to the battery management control module includes: sending the CAN data frame in the real-time simulation results of the target energy storage system to the slave battery management unit of the battery management control module according to the identification data of the battery cell monitoring unit, and the slave battery management unit is connected to the battery cell monitoring unit corresponding to the identification data of the battery cell monitoring unit.
[0149] The identification data of the battery cell monitoring unit includes but is not limited to the battery cell monitoring unit coding data or identifier, etc. Specifically, in order to facilitate the query and positioning of the relevant data of each battery cell, each CAN frame may store the detailed temperature, voltage, current and other data of several battery cells monitored by a CSC. In the data packaging process, the detailed temperature, voltage and current and other data of several battery cells monitored by each CSC can be packaged into a corresponding CAN data frame with CSC as the unit. Each CAN data frame may include heartbeat information, CSC identification data such as CSC coding information, alarm fault information, battery cell statistical temperature, battery cell statistical voltage, battery cell current, battery cell balancing status data and board temperature, etc. The corresponding unique CAN data frame can be found through the CSC coding information. After obtaining the real-time simulation results of the target energy storage system composed of multiple CAN data frames, the real-time simulation results of the target energy storage system can be sent to the SBMU corresponding to the CSC coding information according to the CSC coding information through the CAN bus and CAN protocol.
[0150] In the technical solution of the embodiment of the present application, by establishing a mapping relationship between the battery cell monitoring unit and the CAN data frame, each CAN data frame is accurately sent to the slave battery management unit according to the CSC coding information carried in each CAN data frame, thereby realizing efficient management of the battery management control module and reducing the risk of system failure or error caused by CAN data frame sending errors.
[0151] In some embodiments, sending the CAN data frame in the real-time simulation result of the target energy storage system to the slave-controlled battery management unit of the battery management control module includes: sending the CAN data frame in the real-time simulation result of the target energy storage system to the slave-controlled battery management unit of the battery management control module through a built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit.
[0152] In this embodiment, the interface protocol conversion module includes an FPGA motherboard and multiple CAN interface boards, each of which simulates the CAN interface of a cell monitoring unit. The FPGA motherboard performs protocol conversion on the real-time simulation results of the energy storage system, converting the high-speed communication protocol into the CAN protocol. Specifically, it converts the real-time simulation results of the energy storage system in the high-speed communication protocol format into the real-time simulation results of the target energy storage system, consisting of multiple CAN data frames, according to the CAN protocol frame format. Based on the CSC representation data, such as the CSC encoding information, each CAN data frame in the real-time simulation results of the target energy storage system is then sent to the CAN interface board corresponding to the CSC encoding information.
[0153] In the technical solution of the embodiment of the present application, a correspondence is established between the CAN interface board and the battery cell monitoring unit. Through the built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit, the real-time simulation results of the target energy storage system can be quickly and accurately sent to the slave battery management unit, thereby reducing the delay and error rate of data transmission and realizing efficient management of the battery management control module.
[0154] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0155] Based on the same inventive concept, an embodiment of the present application further provides an energy storage battery management system simulation test device for implementing the above-mentioned energy storage battery management system simulation test method. The implementation solution provided by this device is similar to the implementation solution described in the above-mentioned method. Therefore, the specific limitations in one or more energy storage battery management system simulation test device embodiments provided below can be referred to the limitations of the energy storage battery management system simulation test method above, and will not be repeated here.
[0156] In some embodiments, as shown in FIG8 , a simulation test device for an energy storage battery management system is provided, the device comprising: a first data receiving module 810 , a first data conversion module 820 , a second data receiving module 830 , and a second data conversion module 840 , wherein:
[0157] The first data receiving module 810 is configured to receive the energy storage system real-time simulation results sent by the energy storage system real-time simulation module via a high-speed communication protocol.
[0158] The first data conversion module 820 is used to convert the data format of the real-time simulation results of the energy storage system into the data format of the target communication protocol, obtain the real-time simulation results of the target energy storage system, and send the real-time simulation results of the target energy storage system to the battery management control module. The target communication protocol is a communication protocol supported by the battery management control module.
[0159] The second data receiving module 830 is configured to receive a battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system.
[0160] The second data conversion module 840 is used to convert the data format of the battery management control message into the data format of the high-speed communication protocol to obtain a target battery management control message, and send the target battery management control message to the energy storage system real-time simulation module via the high-speed communication protocol, so that the energy storage system real-time simulation module can test the battery management control module according to the battery management control message.
[0161] In the technical solution of the embodiment of the present application, the energy storage system is simulated in real time through the energy storage system real-time simulation module, eliminating the need for a battery simulator or analog interface, thereby improving test efficiency; the real-time simulation results of the energy storage system are transmitted through a high-speed communication protocol, which can achieve fast and accurate transmission of the real-time simulation results of the energy storage system, helping to improve the efficiency and accuracy of the test; by converting the data format of the real-time simulation results into a standardized data format recognizable by the battery management control module, normal communication and normal data transmission can be achieved, meeting different test requirements. In summary, the above solution can improve the simulation test efficiency of the energy storage system.
[0162] In some embodiments, the first data conversion module 820 is also used to convert the data format of the real-time simulation results of the energy storage system into a CAN protocol frame format, obtain the real-time simulation results of the target energy storage system composed of multiple CAN data frames, and send the real-time simulation results of the target energy storage system to the battery management control module through the CAN protocol.
[0163] In some embodiments, the first data conversion module 820 is also used to send the CAN data frame in the real-time simulation result of the target energy storage system to the slave battery management unit of the battery management control module according to the battery cell monitoring unit identification data, and the slave battery management unit is connected to the battery cell monitoring unit corresponding to the battery cell monitoring unit identification data.
[0164] In some embodiments, the first data conversion module 820 is further configured to send the CAN data frame in the target energy storage system real-time simulation result to the slave battery management unit of the battery management control module via a built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit.
[0165] Each module in the above-mentioned apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0166] In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in Figure 9. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via wired or wireless communication, and the wireless communication may be achieved via Wi-Fi, a mobile cellular network, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements a simulation test method for an energy storage battery management system. The display unit of the computer device is used to form a visually visible image, and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0167] Those skilled in the art will understand that the structure shown in Figure 9 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0168] In some embodiments, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above-mentioned embodiments of the energy storage battery management system simulation test method when executing the computer program.
[0169] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned embodiments of the energy storage battery management system simulation test method are implemented.
[0170] In some embodiments, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned embodiments of the energy storage battery management system simulation test method.
[0171] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0172] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0173] Finally, it should be noted that 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 or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. A simulation test method for an energy storage battery management system, the method comprising: Receiving the real-time simulation results of the energy storage system sent by the real-time simulation module of the energy storage system through the high-speed communication protocol; Convert the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol to obtain the real-time simulation result of the target energy storage system, and send the real-time simulation result of the target energy storage system to the battery management control module, wherein the target communication protocol is a communication protocol supported by the battery management control module; Receiving a battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system; The data format of the battery management control message is converted into the data format of the high-speed communication protocol to obtain a target battery management control message, and the target battery management control message is sent to the energy storage system real-time simulation module through the high-speed communication protocol, so that the energy storage system real-time simulation module tests the battery management control module based on the battery management control message.
2. According to the method of claim 1, converting the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol to obtain the real-time simulation result of the target energy storage system, and sending the real-time simulation result of the target energy storage system to the battery management control module comprises: The data format of the real-time simulation result of the energy storage system is converted into a CAN protocol frame format to obtain a real-time simulation result of the target energy storage system composed of multiple CAN data frames, and the real-time simulation result of the target energy storage system is sent to the battery management control module through the CAN protocol.
3. The method according to claim 2, wherein the CAN data frame includes cell monitoring unit identification data; Sending the real-time simulation result of the target energy storage system to the battery management control module includes: According to the cell monitoring unit identification data, the CAN data frame in the real-time simulation result of the target energy storage system is sent to the slave battery management unit of the battery management control module, and the slave battery management unit is connected to the cell monitoring unit corresponding to the cell monitoring unit identification data.
4. According to the method of claim 3, the step of sending the CAN data frame in the real-time simulation result of the target energy storage system to the slave battery management unit of the battery management control module comprises: The CAN data frame in the real-time simulation result of the target energy storage system is sent to the slave battery management unit of the battery management control module through the built-in CAN interface board corresponding to the identification data of the battery cell monitoring unit.
5. A simulation test platform for an energy storage battery management system, the platform comprising: Interconnected energy storage system real-time simulation module, interface protocol conversion module and battery management control module; The energy storage system real-time simulation module is used to perform real-time simulation of the energy storage system through the constructed real-time simulation model of the energy storage system, and send the real-time simulation result of the energy storage system to the interface protocol conversion module through a high-speed communication protocol; The interface protocol conversion module is used to convert the data format of the real-time simulation result of the energy storage system into the target communication The data format of the protocol is used to obtain the real-time simulation result of the target energy storage system, and the real-time simulation result of the target energy storage system is sent to the battery management control module, wherein the target communication protocol is a communication protocol supported by the battery management control module; The battery management control module is used to respond to the real-time simulation result of the target energy storage system, generate a battery management control message, and send the battery management control message to the interface protocol conversion module, so that the interface protocol conversion module converts the data format of the battery management control message into the data format of the high-speed communication protocol to obtain the target battery management control message, and feeds back the target battery management control message to the energy storage system real-time simulation module through the high-speed communication protocol.
6. According to the platform of claim 5, the interface protocol conversion module includes a programmable logic unit and a communication interface unit that are communicatively connected to each other, the programmable logic unit is connected to the energy storage system real-time simulation module, and the communication interface unit is connected to the slave battery management unit in the battery management control module.
7. The platform according to claim 6, wherein the communication interface unit comprises a CAN interface board; The programmable logic unit is used to convert the real-time simulation result of the energy storage system into a real-time simulation result of a target energy storage system composed of multiple CAN data frames according to the CAN protocol frame format, and send the target simulation result to the CAN interface board; The CAN interface board is used to send the real-time simulation results of the target energy storage system to the battery management control module through the CAN protocol.
8. According to the platform of claim 7, each CAN data frame includes battery cell monitoring unit identification data and a real-time simulation result of an energy storage system of a battery cell corresponding to the battery cell monitoring unit identification data; The programmable logic unit is used to send each CAN data frame to the CAN interface board corresponding to the identification data of the battery cell monitoring unit according to the identification data of the battery cell monitoring unit.
9. According to the platform according to any one of claims 5 to 8, the energy storage system real-time simulation module is used to send the real-time simulation results of the energy storage system to the interface protocol conversion module through a high-speed serial bus protocol.
10. The platform according to any one of claims 5 to 8, wherein the energy storage system real-time simulation module is used to send the real-time simulation result of the energy storage system to the interface protocol conversion module through a high-speed optical fiber protocol.
11. According to the platform of claim 10, the real-time simulation module of the energy storage system is also used to determine the number of optical fibers to be enabled based on the communication management parameters of the battery management control module, the battery pack capacity parameters of the energy storage system and the preset data transmission requirement parameters, and transmit the real-time simulation results of the energy storage system to the interface protocol conversion module through the high-speed optical fiber protocol and the enabled optical fiber.
12. The platform according to any one of claims 5 to 8, further comprising a control terminal, wherein the control terminal is in communication connection with the interface protocol conversion module; The control end is used to send a data modification message carrying communication fault configuration data to the interface protocol conversion module; The interface protocol conversion module is used to modify the real-time simulation result of the target energy storage system to be transmitted according to the communication fault configuration data, and send the modified real-time simulation result of the target energy storage system to the battery management control module. The battery management control command fed back by the battery management control module is received and sent to the control end, so that the control end evaluates the communication fault processing capability of the battery management control module.
13. A simulation test device for an energy storage battery management system, the device comprising: A first data receiving module is used to receive the real-time simulation result of the energy storage system sent by the real-time simulation module of the energy storage system through a high-speed communication protocol; A first data conversion module, used to convert the data format of the real-time simulation result of the energy storage system into the data format of the target communication protocol, obtain the real-time simulation result of the target energy storage system, and send the real-time simulation result of the target energy storage system to the battery management control module, wherein the target communication protocol is a communication protocol supported by the battery management control module; A second data receiving module, used to receive a battery management control message sent by the battery management control module in response to the real-time simulation result of the target energy storage system; The second data conversion module is used to convert the data format of the battery management control message into the data format of the high-speed communication protocol to obtain a target battery management control message, and send the target battery management control message to the energy storage system real-time simulation module through the high-speed communication protocol, so that the energy storage system real-time simulation module tests the battery management control module according to the battery management control message.
14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
16. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for testing data storage system
CN114758718A
Energy storage simulation equipment and simulation method thereof
CN115598533A
Communication protocol design method for power grid source and grid load storage simulation sand table experiment
CN116192972A
SIMULATOR, SIMULATION METHOD AND SIMULATION PROGRAM
JP6355782B1
Cited By
Verification method and device for control strategy of energy storage system, and equipment
CN113849984A
A verification method, device and equipment for a control strategy of an energy storage system
CN113849984B
Network-on-chip simulation information analysis method, device and equipment and storage medium
CN119783602A
Data storage method, system and device, debugger, medium and product
CN120295925A
Method, device and equipment for correcting delay between optical interconnection link channels and storage medium
CN120499537A