Massive power module information and cell information synchronous acquisition method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIANGHUANGQI JINGNENG ZHIHUI CLEAN ENERGY CO LTD
- Filing Date
- 2026-07-09
- Publication Date
- 2026-08-07
AI Technical Summary
[0005]本申请提供一种海量功率模块信息与电芯信息同步采集方法和装置,用以解决背景技术中提到的难以获得精确同步的功率模块信息和电芯信息,从而导致储能系统控制的响应速度和精度低问题
[0012]The method and apparatus for synchronously acquiring massive power module information and cell information provided in this application generate a synchronous acquisition trigger signal through the battery management system at the beginning of each preset synchronous acquisition cycle and send the synchronous acquisition trigger signal to multiple acquisition units. After receiving the synchronous acquisition trigger signal, each acquisition unit performs a sample-and-hold operation on the corresponding analog channel, and acquires the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time. Then, the locked instantaneous state information is converted into digital information, and the digital information is associated and encapsulated with timestamp information to generate a synchronous data packet with a unified timestamp and stored in the local cache. According to the data upload trigger signal, the synchronous data packet is uploaded to the system hub through the data bus. The system hub performs time association and alignment of digital information belonging to the same synchronous acquisition cycle according to the timestamp information on the synchronous data packet, obtains a set of synchronous acquisition data, and reports it to the battery management system. This embodiment achieves precise synchronization of acquisition triggering by synchronously acquiring trigger signals, and generates timestamps based on local hardware timers for associated encapsulation during analog-to-digital conversion, ensuring that each piece of digital information has a precise "acquisition time" identifier. This solves the problems of asynchronous acquisition triggering and inconsistent data timestamps in the prior art, providing precise synchronization information for monitoring energy storage systems and significantly improving the reliability of system control.
Smart Images

Figure CN122525404A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage system technology, and in particular to a method and device for synchronously acquiring massive power module information and cell information. Background Technology
[0002] With the rapid growth of new energy power generation, energy storage systems have become key equipment supporting the stable operation of the power grid. Especially in application scenarios such as grid-connected energy storage, energy storage systems need to simulate the characteristics of synchronous generators and respond to grid frequency fluctuations at the millisecond level. This requires the battery management system to obtain real-time and accurate operating status information of power modules and cells.
[0003] In large-scale energy storage systems, the number of power modules and battery cells is often enormous. For example, a 30MW-class energy storage power station typically contains dozens of power modules and tens of thousands of battery cells. How to achieve synchronous acquisition of power module and battery cell information under such massive equipment conditions has become a key technical challenge restricting the control accuracy of energy storage systems.
[0004] In existing technologies, the acquisition of power module information and cell information typically employs independent channels and different acquisition cycles. This leads to asynchronous triggering of the acquisition of power module information and cell information. Furthermore, in existing technologies, timestamp generation relies on software processing, resulting in protocol stack latency and preventing atomic binding between acquired data and timestamps. It is difficult to determine whether the two types of data correspond to the system state at the same moment, making it challenging to obtain accurately synchronized power module and cell state data in energy storage systems. This impacts the response speed and accuracy of grid-based control. Therefore, how to achieve accurate synchronous acquisition of massive amounts of power module and cell information is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] This application provides a method and apparatus for synchronously acquiring massive amounts of power module information and battery cell information, in order to solve the problem mentioned in the background art of difficulty in obtaining accurately synchronized power module information and battery cell information, which leads to low response speed and accuracy of energy storage system control.
[0006] In a first aspect, this application provides a method for synchronously acquiring massive power module information and battery cell information, applied to an energy storage system. The energy storage system includes: multiple power modules, multiple battery cells, multiple system hubs, a battery management system, and multiple acquisition units. The multiple acquisition units include power acquisition sub-units corresponding to power modules and battery cell acquisition sub-units corresponding to battery cells. The power acquisition sub-units are connected to at least one of the power modules, the battery cell acquisition sub-units are connected to at least one of the battery cells, the system hubs are connected to at least one of the acquisition units, and the system hubs are connected to the battery management system. The method includes: At the start of each preset synchronous acquisition cycle, the battery management system generates a synchronous acquisition trigger signal and sends the synchronous acquisition trigger signal to the plurality of acquisition units. The synchronous acquisition trigger signal carries a synchronous acquisition time, which lags behind the time when each acquisition unit receives the synchronous acquisition trigger signal. The battery management system controls each of the acquisition units to perform a sample-and-hold operation on the corresponding analog channel after receiving the synchronous acquisition trigger signal, and to acquire the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time when the synchronous acquisition time arrives. The instantaneous state information includes: the input voltage, output voltage, output current, and module temperature of the power module, as well as the terminal voltage, charging and discharging current, and surface temperature of the battery cell. The battery management system controls each of the acquisition units to convert the locked instantaneous state information into digital information, and associates and encapsulates the digital information with timestamp information to generate a synchronization data packet with a unified timestamp and stores it in the local cache. The timestamp information is generated by each acquisition unit based on the local hardware timer after receiving the synchronization acquisition trigger signal. The battery management system controls each of the acquisition units to upload the synchronization data packet to the system hub via the data bus according to the data upload trigger signal; The battery management system controls the system hub to perform time association and alignment of digital information belonging to the same synchronization acquisition cycle based on the timestamp information on the synchronization data packet, and then reports a set of synchronization acquisition data to the battery management system.
[0007] Secondly, this application provides a device for synchronously acquiring massive power module information and battery cell information, comprising: The generation module is used to generate a synchronous acquisition trigger signal at the beginning of each preset synchronous acquisition cycle. The synchronous acquisition trigger signal carries the synchronous acquisition time, which is delayed by the time when each acquisition unit receives the synchronous acquisition trigger signal. The transmitting module is used to send synchronous acquisition trigger signals to multiple acquisition units; The control module is used by the battery management system to control each acquisition unit to perform sample-and-hold operations on the corresponding analog channels after receiving a synchronization acquisition trigger signal. When the synchronization acquisition time arrives, it acquires the instantaneous voltage corresponding to the instantaneous state information at the synchronization acquisition time. This instantaneous state information includes: the input voltage, output voltage, output current, and module temperature of the power module, as well as the terminal voltage, charging / discharging current, and surface temperature of the battery cell. The module also controls each acquisition unit to convert the locked instantaneous state information into digital information, associates and encapsulates the digital information with timestamp information, generates a synchronization data packet with a unified timestamp, and stores it in a local cache. The timestamp information is generated by each acquisition unit based on its local hardware timer after receiving the synchronization acquisition trigger signal. Furthermore, the module controls each acquisition unit to upload the synchronization data packet to the system hub via the data bus according to the data upload trigger signal. Finally, the module controls the system hub to perform time association and alignment of digital information belonging to the same synchronization acquisition cycle based on the timestamp information on the synchronization data packet, obtains a set of synchronization acquisition data, and reports it to the battery management system.
[0008] Thirdly, this application provides an electronic device, including: a processor and a memory; The memory stores the instructions that the computer executes; The processor executes computer execution instructions stored in memory, causing the processor to perform the method as described in any of the first aspects.
[0009] Fourthly, embodiments of this application provide an energy storage system, including: multiple power modules, multiple battery cells, multiple system hubs, a battery management system, and multiple acquisition units. The multiple acquisition units include power acquisition sub-units corresponding to the power modules and battery cell acquisition sub-units corresponding to the battery cells. The power acquisition sub-units are connected to at least one of the power modules, the battery cell acquisition sub-units are connected to at least one of the battery cells, the system hubs are connected to at least one of the acquisition units, and the system hubs are connected to the battery management system. The battery management system is used to perform the method described in any one of the first aspects.
[0010] Fifthly, embodiments of this application provide a readable storage medium including a program or instructions that, when run on a computer, execute the method described in any of the first aspects above.
[0011] Sixthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method as described in any of the first aspects.
[0012] The method and apparatus for synchronously acquiring massive power module information and cell information provided in this application generate a synchronous acquisition trigger signal through the battery management system at the beginning of each preset synchronous acquisition cycle and send the synchronous acquisition trigger signal to multiple acquisition units. After receiving the synchronous acquisition trigger signal, each acquisition unit performs a sample-and-hold operation on the corresponding analog channel, and acquires the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time. Then, the locked instantaneous state information is converted into digital information, and the digital information is associated and encapsulated with timestamp information to generate a synchronous data packet with a unified timestamp and stored in the local cache. According to the data upload trigger signal, the synchronous data packet is uploaded to the system hub through the data bus. The system hub performs time association and alignment of digital information belonging to the same synchronous acquisition cycle according to the timestamp information on the synchronous data packet, obtains a set of synchronous acquisition data, and reports it to the battery management system. This embodiment achieves precise synchronization of acquisition triggering by synchronously acquiring trigger signals, and generates timestamps based on local hardware timers for associated encapsulation during analog-to-digital conversion, ensuring that each piece of digital information has a precise "acquisition time" identifier. This solves the problems of asynchronous acquisition triggering and inconsistent data timestamps in the prior art, providing precise synchronization information for monitoring energy storage systems and significantly improving the reliability of system control. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram of the structure of an energy storage system provided in an embodiment of this application; Figure 2 A flowchart illustrating a method for synchronously acquiring massive power module information and battery cell information according to an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a device for synchronously acquiring massive power module information and battery cell information according to an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0015] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application are described clearly and completely below. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are also within the scope of protection of this application.
[0016] Figure 1 This is a schematic diagram of the structure of an energy storage system provided in one embodiment of this application. Figure 1 As shown, the energy storage system includes: multiple power modules 110, multiple battery cells 120, multiple system hubs 130, a battery management system 140, and multiple acquisition units 150. The multiple acquisition units 150 include a power acquisition subunit 151 corresponding to a power module and a cell acquisition subunit 152 corresponding to a battery cell. The power acquisition subunit 151 is connected to at least one power module 110, the cell acquisition subunit 152 is connected to at least one battery cell 120, the system hub 130 is connected to at least one acquisition unit 150, and the system hub 130 is connected to the battery management system 140.
[0017] It should be noted that the power module 110 is the power section of the energy storage converter, including power electronic devices such as IGBTs, inductors, capacitors, and buses, responsible for the bidirectional AC / DC conversion of electrical energy. Additionally, the control section of the energy storage converter is the converter controller, including DSP / FPGA, sampling circuits, drive circuits, and communication interfaces, responsible for the control algorithm and operation management of the power module, and capable of collecting power module information. Therefore, the power acquisition subunit 151 mentioned in this embodiment can be the converter controller. In this case, the converter controller is connected to the battery management system and sends the collected power module information to the battery management system.
[0018] In the energy storage system, the battery management system 140 is used to monitor the system, such as estimating the battery's SOH and SOC, and monitoring for overvoltage, undervoltage, overtemperature, and overcurrent. Upon detecting abnormalities, it executes protective actions (such as disconnecting contactors) to prevent battery fires, explosions, or lifespan degradation. Therefore, it needs to collect power module information and cell information. Power module information includes the power module's input voltage, output voltage, output current, and module temperature, while cell information includes the cell's terminal voltage, charging / discharging current, and surface temperature.
[0019] In this application, since the number of power modules 110 and cells 120 in the energy storage system is often very large, in order to improve the acquisition efficiency, voltage sensors, current sensors and temperature sensors with strong voltage resistance and fast dynamic response are used to collect the input voltage, output voltage, output current and module temperature of the power modules, as well as the terminal voltage, charging and discharging current and surface temperature of the cells, so as to achieve high-precision data acquisition with a sampling frequency of not less than 1kHz.
[0020] The voltage sensor, current sensor, and temperature sensor send the collected data to the corresponding acquisition unit 150, which then sends the data to the corresponding system hub 130, and finally to the BMS host in the battery management system 140.
[0021] Optionally, the power acquisition subunit 151 can also be an external acquisition subunit used to acquire power module information and send the power module information to the system hub 130, which then sends the power module to the battery management system 140.
[0022] based on Figure 1 The energy storage system shown illustrates the method for synchronously collecting massive power module information and cell information in this application.
[0023] Figure 2 A flowchart illustrating a method for synchronously acquiring massive power module information and battery cell information according to an embodiment of this application. The execution entity of the method may be... Figure 1 The battery management system in the system, more specifically, can be the main BMS, such as Figure 2 As shown, the method includes: S201. At the beginning of each preset synchronous acquisition cycle, the battery management system generates a synchronous acquisition trigger signal and sends the synchronous acquisition trigger signal to multiple acquisition units.
[0024] The synchronous acquisition trigger signal carries the synchronous acquisition time, which lags behind the time when each acquisition unit receives the synchronous acquisition trigger signal.
[0025] In this step, the preset synchronization acquisition period can be user-defined. At the end of each preset synchronization acquisition period, the battery management system generates a synchronization acquisition trigger signal. Alternatively, the user can also control the battery management system to generate the synchronization acquisition trigger signal in real time according to the control requirements of the energy storage system.
[0026] The synchronous acquisition trigger signal is used to trigger the acquisition unit to perform the acquisition action. Therefore, to ensure synchronous acquisition by the acquisition units, the synchronous acquisition trigger signal must carry the synchronous acquisition time. This synchronous acquisition time is a future absolute point in time. Because there is a communication link delay in the transmission of the synchronous acquisition trigger signal from the battery management system to each acquisition unit, this absolute point in time lags behind the time when each acquisition unit receives the synchronous acquisition trigger signal.
[0027] Optionally, each acquisition unit needs a certain amount of software processing time to parse the synchronous acquisition trigger signal, as well as hardware preparation time (such as the setup time of the sample-and-hold circuit) reserved to ensure sampling accuracy. Therefore, when setting the synchronous acquisition time, it is also necessary to consider the software processing time and hardware preparation time to ensure that all acquisition units have sufficient time to complete parsing and preparation after receiving the synchronous acquisition trigger signal, and start acquisition at the same synchronous acquisition time.
[0028] Optionally, the synchronous acquisition trigger signal can be a periodic hardware synchronization pulse signal generated by the battery management system based on an internal clock or an external satellite timing signal. For example, when the pulse signal is a rising edge, the synchronous acquisition trigger signal is obtained. Generating the synchronous acquisition trigger signal in hardware ensures the determinism and high precision of the signal, eliminates the delay uncertainty caused by software processing, and ensures that all acquisition units start sampling at the same physical moment.
[0029] Optionally, in one specific implementation of S201, the battery management system can send a synchronous acquisition trigger signal via broadcast to ensure that the acquisition units can receive the same synchronous acquisition trigger signal as simultaneously as possible. This avoids the communication load and time difference caused by sending one by one, and lays the foundation for all subsequent acquisition units to start sampling at the same time.
[0030] S202. The battery management system controls each acquisition unit to perform a sample-and-hold operation on the corresponding analog channel after receiving the synchronous acquisition trigger signal, and to acquire the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time when the synchronous acquisition time arrives.
[0031] The instantaneous status information includes: the input voltage, output voltage, output current, and module temperature of the power module, as well as the terminal voltage, charging and discharging current, and surface temperature of the battery cell.
[0032] In this step, the acquisition unit typically includes a sample-and-hold circuit, which consists of an analog switch and a storage capacitor. When the acquisition unit receives a synchronization trigger signal, it closes the analog switch, causing the storage capacitor to begin tracking changes in the input analog signal—that is, sampling and tracking. The voltage on the storage capacitor changes in real time with the input signal, effectively continuously tracking the analog quantity. The input signal is information acquired by acquisition devices such as voltage sensors, current sensors, and temperature sensors.
[0033] Upon receiving the synchronous acquisition trigger signal, the acquisition unit determines the time difference between the current moment and the synchronous acquisition moment, and starts an internal hardware timer to count down. When the local timer counts down to zero, i.e., when the synchronous acquisition moment arrives, the acquisition unit immediately acquires the instantaneous voltage corresponding to the instantaneous state information. The instantaneous state information includes: the power module's input voltage, output voltage, output current, and module temperature, as well as the battery cell's terminal voltage, charging / discharging current, and surface temperature.
[0034] S203 The battery management system controls each acquisition unit to convert the locked instantaneous state information into digital information, and associates and encapsulates the digital information with timestamp information to generate a synchronization data packet with a unified time stamp and stores it in the local cache.
[0035] The timestamp information is generated by each acquisition unit based on its local hardware timer after receiving the synchronization acquisition trigger signal.
[0036] In this step, after obtaining the instantaneous voltage corresponding to the instantaneous state information, analog-to-digital conversion is performed to obtain digital information. After obtaining the digital information, it is stored in the data register. At the same time, the count value of the current local timer (i.e., the timestamp information) is stored in the timestamp register. The values of the data register and the timestamp register are then read, encapsulated, and the timestamp, device identifier, channel number, data type, and digital value are combined into a data packet. This data packet is the synchronization data packet with a unified timestamp, which is then written to the local circular buffer to await uploading.
[0037] Optionally, the acquisition unit can be designed internally with software to create independent processing threads for different data categories (such as voltage, current, and temperature of the power module, and terminal voltage, charging and discharging current, and surface temperature of the battery cell). Each thread executes specialized processing tasks for that type of data in parallel, including analog-to-digital conversion, filtering, and noise reduction, thereby improving data processing efficiency.
[0038] The method further includes: S2031. Each acquisition unit uses an edge processing algorithm to process digital information and obtain abnormal information.
[0039] Specifically, the acquisition unit is embedded with edge computing algorithms, such as decision tree models or support vector machines based on threshold comparison. After obtaining digital information, the digital information is used for inference calculation in real time through edge computing algorithms to monitor anomalies. When abnormal data is detected, the acquisition unit immediately generates an abnormal event flag, which is used to indicate abnormal information. The flag is associated with the synchronous data packet and reported, while triggering local alarms or rapid protection actions, thus realizing the identification and early warning of abnormal information.
[0040] S204 The battery management system controls each acquisition unit to upload synchronization data packets to the system hub via the data bus according to the data upload trigger signal.
[0041] In this step, the data upload trigger signal is the control command that starts the acquisition unit from uploading data to the system hub. It is generated uniformly by the BMS host and forwarded by the system hub. After receiving the data upload trigger signal, the acquisition unit reads the corresponding synchronization data packet from its local cache and uploads it to the system hub.
[0042] Optionally, when generating the data upload trigger signal, the polling order of the power module or battery cell or the order of event trigger priority from high to low can be considered. Through the data upload trigger signal, the preset communication sequence of each acquisition unit can be set in advance, so that the corresponding acquisition unit can use the data transmission channel according to the preset communication sequence to upload the synchronization data packet to the system hub through the data bus.
[0043] The acquisition unit and the system hub use an RS485 bus as the physical layer communication medium, and the communication protocol is Modbu protocol.
[0044] S205. The battery management system control hub aligns digital information belonging to the same synchronization acquisition cycle based on the timestamp information on the synchronization data packet, forms a set of synchronization acquisition data, and then reports it to the battery management system.
[0045] In this step, because the acquisition frequency is no less than 1kHz, and the transmission time of data packets varies due to differences in transmission paths, the synchronization data packets received by the system hub are not arranged in the order of synchronization acquisition time or timestamp information. Therefore, after receiving the synchronization data packets, the system hub parses out the timestamp information and temporarily stores it in the buffer according to the timestamp information.
[0046] When a new synchronization data packet arrives, the system hub determines the corresponding insertion position in the buffer based on its timestamp information and stores the synchronization data packet in chronological order. Therefore, since all data packets' timestamps are based on the same time base, even if the data packets arrive in different orders due to differences in transmission paths, the system hub can correctly place them to the corresponding time points using their timestamps.
[0047] Subsequently, the system hub can continuously scan the buffer using a sliding time window mechanism to identify data belonging to the same synchronization acquisition cycle. At each sliding position, the system hub extracts all data packets whose timestamps fall within the current window, obtains a complete set of synchronization acquisition data corresponding to that synchronization acquisition cycle, and uploads it to the BMS host.
[0048] The system hub and BMS host communicate based on the IEC61850 standard and OPC UA protocol, transmitting synchronously acquired data via optical fiber.
[0049] In this embodiment, at the beginning of each preset synchronous acquisition cycle, a synchronous acquisition trigger signal is generated by the battery management system and sent to multiple acquisition units. After receiving the synchronous acquisition trigger signal, each acquisition unit performs a sample-and-hold operation on the corresponding analog channel. When the synchronous acquisition time arrives, it acquires the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time. Then, it converts the locked instantaneous state information into digital information, associates and encapsulates the digital information with timestamp information, generates a synchronous data packet with a unified timestamp, and stores it in the local cache. According to the data upload trigger signal, the synchronous data packet is uploaded to the system hub through the data bus. The system hub performs time association and alignment of digital information belonging to the same synchronous acquisition cycle according to the timestamp information on the synchronous data packet, obtains a set of synchronous acquisition data, and reports it to the battery management system. This embodiment achieves precise synchronization of acquisition triggering by synchronously acquiring trigger signals, and generates timestamps based on local hardware timers for associated encapsulation during analog-to-digital conversion, ensuring that each piece of digital information has a precise "acquisition time" identifier. This solves the problems of asynchronous acquisition triggering and inconsistent data timestamps in the prior art, providing precise synchronization information for monitoring energy storage systems and significantly improving the reliability of system control.
[0050] Optionally, one specific implementation of S205 is as follows: S2051. The system hub allocates the received synchronization data to the corresponding time window in real time according to the timestamp information on the synchronization data packet. S2052. Perform interpolation processing on the data within the same time window to compensate for the differences in the acquisition time of different acquisition units, generate synchronous estimated values at the same acquisition time, and obtain a set of synchronous acquisition data.
[0051] Specifically, for S2051 and S2052, although a synchronous acquisition time is sent through a synchronous acquisition trigger signal, causing the acquisition units to acquire data at the synchronous acquisition time, due to hardware trigger errors, clock drift, and other reasons, the actual acquisition time of each acquisition unit may deviate by a few microseconds to tens of microseconds, resulting in "asynchronous acquisition". In this case, interpolation can be used to calculate the value that each acquisition unit should have acquired at the synchronous acquisition time using the actual acquisition amount acquired by the acquisition unit.
[0052] The interpolation methods differ for different data categories. For example, linear interpolation can be used for voltage and current, while nearest neighbor interpolation can be used for temperature.
[0053] Let's take voltage as an example to illustrate the interpolation process: The voltage value collected by the first acquisition unit at time T0-20μs is V1, the voltage value collected by the second acquisition unit at time T0 is V2, and the voltage value collected by the third acquisition unit at time T0+10μs is V3, where T0 is the synchronous acquisition time.
[0054] Since the timestamp information of the first and third acquisition units does not correspond to the acquisition time T0, it is necessary to estimate the voltage value acquired by the first and third acquisition units at time T0. The linear interpolation method is used for estimation. At this time, the voltage value acquired by the first and third acquisition units at time T0 is obtained according to the following formula.
[0055]
[0056] Among them, V T0 V1 represents the voltage value acquired by the acquisition unit at time T0, and V2 represents the voltage value acquired by the acquisition unit at the actual acquisition time. t V1 represents the actual voltage value collected at time 1, and V2 represents the voltage value of the acquisition unit to be estimated at the actual acquisition time. t The actual voltage value collected at 2 o'clock.
[0057] Based on the above method, the system hub obtains a set of synchronized estimates with perfectly aligned time axes. These values represent the theoretical state of all power modules and cells at the same physical moment (i.e., the synchronous acquisition moment), thereby obtaining synchronized acquisition data at the same physical moment, eliminating data misalignment errors caused by asynchronous acquisition moments, and realizing the synchronous acquisition of power module information and cell information.
[0058] Optionally, prior to S201, the method further includes: S2001, The battery management system sends a clock synchronization signal to the system hub and the acquisition unit to synchronize the local clocks of the battery management system, the system hub, and the acquisition unit.
[0059] The clock synchronization signal is used to control the system hub and acquisition unit to adjust the local clock according to the clock synchronization signal.
[0060] Specifically, the battery management system acts as the master clock, sending IEEE 1588 precision time protocol synchronization messages to each system hub via Ethernet. The system hubs, acting as boundary clocks, receive and parse the messages, adjust their local clocks, and then forward synchronization pulses to the connected acquisition units via the synchronization bus. The acquisition units, acting as slave clocks, calibrate hardware timers to achieve full network clock synchronization, ensuring that each acquisition unit acquires data at the same time and guaranteeing the accuracy of subsequent data alignment based on timestamp information.
[0061] Figure 3 This is a schematic diagram of the structure of a device for synchronously acquiring massive power module information and battery cell information according to an embodiment of this application, as shown below. Figure 3 As shown, the mass power module information and battery cell information synchronous acquisition device includes: a generation module 301, a transmission module 302, and a control module 303. In this embodiment, the mass power module information and battery cell information synchronous acquisition device is embedded in... Figure 1 In the battery management system shown.
[0062] The generation module 301 is used to generate a synchronous acquisition trigger signal at the beginning of each preset synchronous acquisition cycle. The synchronous acquisition trigger signal carries the synchronous acquisition time, which is delayed by the time when each acquisition unit receives the synchronous acquisition trigger signal. The transmitting module 302 is used to send the synchronous acquisition trigger signal to multiple acquisition units; The control module 303 is used by the battery management system to control each acquisition unit to perform sample-and-hold operations on the corresponding analog channels after receiving a synchronization acquisition trigger signal, and to acquire the instantaneous voltage corresponding to the instantaneous state information at the synchronization acquisition time when the synchronization acquisition time arrives. The instantaneous state information includes: the input voltage, output voltage, output current, and module temperature of the power module, and the terminal voltage, charging and discharging current, and surface temperature of the battery cell. The control module 303 also controls each acquisition unit to convert the locked instantaneous state information into digital information, associates and encapsulates the digital information with timestamp information, generates a synchronization data packet with a unified timestamp, and stores it in the local cache. The timestamp information is generated by each acquisition unit based on the local hardware timer after receiving the synchronization acquisition trigger signal. The control module 303 also controls each acquisition unit to upload the synchronization data packet to the system hub through the data bus according to the data upload trigger signal. Finally, the control module 303 controls the system hub to perform time association and alignment of digital information belonging to the same synchronization acquisition cycle according to the timestamp information on the synchronization data packet, obtain a set of synchronization acquisition data, and report it to the battery management system.
[0063] Optionally, the generation module 301 generates a synchronous acquisition trigger signal, specifically used for: The battery management system generates periodic hardware synchronization pulse signals based on an internal clock or external satellite timing signals.
[0064] Optionally, the control module 303 controls each acquisition unit to upload synchronization data packets to the system hub via the data bus according to the data upload trigger signal, specifically for: Each acquisition unit, based on the data upload trigger signal, uploads the synchronization data packet to the system hub via the data bus according to the Modbus protocol; Alternatively, the control module 303 controls the system hub to report the synchronously acquired data to the battery management system, specifically for: Based on the IEC61850 standard and the OPC UA protocol, the system hub reports the synchronously acquired data to the battery management system via fiber optic communication.
[0065] Optionally, the control module 303 controls each acquisition unit to upload synchronization data packets to the system hub via the data bus according to the data upload trigger signal, specifically for: The battery management system controls each acquisition unit to upload synchronization data packets to the system hub via the data bus according to the data upload trigger signal and the preset communication sequence.
[0066] Optionally, the control module 303 controls the system hub to perform time correlation and alignment of digital information belonging to the same synchronization acquisition cycle based on the timestamp information on the synchronization data packet, forming a set of synchronization acquisition data, specifically used for: The battery management system controls the system hub to allocate the received synchronization data to the corresponding time window in real time based on the timestamp information on the synchronization data packet; Interpolation is performed on the data within the same time window to compensate for the differences in the acquisition time of different acquisition units, generating synchronous estimated values at the same acquisition time, and obtaining a set of synchronously acquired data.
[0067] Optionally, before the control module 303 controls each acquisition unit to associate and encapsulate digital information with timestamp information, and generates a synchronization data packet with a unified timestamp before storing it in the local cache, it is also used for: Each acquisition unit is controlled to use an edge processing algorithm to process digital information and obtain abnormal information; The digital information and timestamp information are associated and encapsulated to generate a synchronization data packet with a unified timestamp, which is then stored in the local cache, including: The abnormal information, digital information and timestamp information are associated and encapsulated to generate a synchronization data packet with a unified timestamp and then stored in the local cache.
[0068] Optionally, before the generation module 301 generates the synchronous acquisition trigger signal, the sending module 302 is also used for: A clock synchronization signal is sent to the system hub and acquisition unit. The clock synchronization signal is used to control the system hub and acquisition unit to adjust their local clocks according to the clock synchronization signal, so as to synchronize the local clocks of the battery management system, system hub and acquisition unit.
[0069] The massive power module information and battery cell information synchronous acquisition device provided in this application embodiment can be referred to the above method embodiment for its specific implementation process. Its implementation principle and technical effect are similar, and will not be repeated here.
[0070] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may be a BMS host, such as... Figure 4 As shown, the electronic device includes a processor 401 and a memory 402.
[0071] The memory 402 stores computer-executed instructions.
[0072] The processor 401 executes the computer execution instructions stored in the memory 402, causing the processor 401 to perform the method described in any of the above embodiments.
[0073] The electronic device provided in this application embodiment can be referred to the above method embodiment for its specific implementation process. The implementation principle and technical effect are similar, and will not be repeated here.
[0074] In the above Figure 4 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0075] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.
[0076] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0077] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method shown in the above-described method embodiments.
[0078] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0079] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0080] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for synchronously acquiring massive power module information and battery cell information, characterized in that, The invention is applied to an energy storage system, which includes: multiple power modules, multiple battery cells, multiple system hubs, a battery management system, and multiple acquisition units. Each acquisition unit includes a power acquisition subunit corresponding to a power module and a battery cell acquisition subunit corresponding to a battery cell. The power acquisition subunit is connected to at least one of the power modules, the battery cell acquisition subunit is connected to at least one of the battery cells, the system hub is connected to at least one of the acquisition units, and the system hub is connected to the battery management system. The method includes: At the start of each preset synchronous acquisition cycle, the battery management system generates a synchronous acquisition trigger signal and sends the synchronous acquisition trigger signal to the plurality of acquisition units. The synchronous acquisition trigger signal carries a synchronous acquisition time, which lags behind the time when each acquisition unit receives the synchronous acquisition trigger signal. The battery management system controls each of the acquisition units to perform a sample-and-hold operation on the corresponding analog channel after receiving the synchronous acquisition trigger signal, and to acquire the instantaneous voltage corresponding to the instantaneous state information at the synchronous acquisition time when the synchronous acquisition time arrives. The instantaneous state information includes: the input voltage, output voltage, output current, and module temperature of the power module, as well as the terminal voltage, charging and discharging current, and surface temperature of the battery cell. The battery management system controls each of the acquisition units to convert the locked instantaneous state information into digital information, and associates and encapsulates the digital information with timestamp information to generate a synchronization data packet with a unified timestamp and stores it in the local cache. The timestamp information is generated by each acquisition unit based on the local hardware timer after receiving the synchronization acquisition trigger signal. The battery management system controls each of the acquisition units to upload the synchronization data packet to the system hub via the data bus according to the data upload trigger signal; The battery management system controls the system hub to perform time association and alignment of digital information belonging to the same synchronization acquisition cycle based on the timestamp information on the synchronization data packet, and then reports a set of synchronization acquisition data to the battery management system.
2. The method according to claim 1, characterized in that, The battery management system generates a synchronous acquisition trigger signal, including: The battery management system generates periodic hardware synchronization pulse signals based on an internal clock or external satellite timing signals.
3. The method according to claim 1, characterized in that, The battery management system controls each of the acquisition units to upload the synchronization data packet to the system hub via the data bus according to the data upload trigger signal, including: Each of the acquisition units uploads the synchronization data packet to the system hub via the data bus based on the Modbus protocol according to the data upload trigger signal; Alternatively, the battery management system may control the system hub to report the acquired synchronously collected data to the battery management system, including: Based on the IEC61850 standard and the OPC UA protocol, the system hub reports the synchronously acquired data to the battery management system via fiber optic communication.
4. The method according to claim 3, characterized in that, The battery management system controls each of the acquisition units to upload the synchronization data packet to the system hub via the data bus according to the data upload trigger signal, including: The battery management system controls each of the acquisition units to upload the synchronization data packets to the system hub via the data bus according to the data upload trigger signal and a preset communication sequence.
5. The method according to claim 1, characterized in that, The battery management system's control hub uses the timestamp information on the synchronization data packet to perform time-associative alignment of digital information belonging to the same synchronization acquisition cycle, forming a set of synchronization acquisition data, including: The battery management system controls the system hub to allocate the received synchronization data to the corresponding time window in real time according to the timestamp information on the synchronization data packet; Interpolation is performed on the data within the same time window to compensate for the differences in the acquisition time of different acquisition units, generating synchronous estimated values at the same acquisition time, and obtaining the set of synchronously acquired data.
6. The method according to claim 1, characterized in that, Before the battery management system controls each acquisition unit to associate and encapsulate the digital information with the timestamp information, and generates a synchronization data packet with a unified timestamp before storing it in the local cache, it also includes: Each of the acquisition units uses an edge processing algorithm to process the digital information and obtain abnormal information; The step of associating and encapsulating the digital information with the timestamp information to generate a synchronization data packet with a unified timestamp and then storing it in the local cache includes: The abnormal information, the digital information, and the timestamp information are associated and encapsulated to generate a synchronization data packet with a unified timestamp, which is then stored in the local cache.
7. The method according to any one of claims 1-6, characterized in that, Before the battery management system generates the synchronous acquisition trigger signal, it also includes: The battery management system sends a clock synchronization signal to the system hub and the acquisition unit. The clock synchronization signal is used to control the system hub and the acquisition unit to adjust their local clocks according to the clock synchronization signal, so as to synchronize the local clocks of the battery management system, the system hub, and the acquisition unit.
8. An electronic device, characterized in that, include: Processor and memory; Memory is used to store instructions executed by the computer; A processor for executing computer execution instructions stored in memory, causing the processor to perform the method according to any one of claims 1-7.
9. An energy storage system, characterized in that, include: The system comprises multiple power modules, multiple battery cells, multiple system hubs, a battery management system, and multiple acquisition units. The multiple acquisition units include power acquisition sub-units corresponding to the power modules and battery cell acquisition sub-units corresponding to the battery cells. The power acquisition sub-units are connected to at least one of the power modules, the battery cell acquisition sub-units are connected to at least one of the battery cells, the system hubs are connected to at least one of the acquisition units, and the system hubs are connected to the battery management system. The battery management system is used to perform the method according to any one of claims 1-7.
10. A computer program product, characterized in that, include: A computer program that, when executed by a processor, implements the method of any one of claims 1-7.