Data processing method of battery management system and battery management system

By setting up an independent cyclic queue for each battery pack for pre-fault working parameters cache, distributed fault recording is achieved, which solves the problem that failure recording equipment in the battery management system is prone to single point failure and poor real-time performance, and improves the system's Real-time responsiveness and stability reduce costs.

CN118943527APending Publication Date: 2024-11-12SHANGHAI SIGEYUAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410980890.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Failed wave recording equipment in existing battery management systems is prone to single point failure, which has poor real-time performance, affects the fault recording effect, and is costly.

Method used

By setting up a battery management system (BMS) for each battery pack, using a cyclic queue to cache pre-fault working parameters, it realizes distributed fault recording, reduces data transmission time, and ensures immediate capture and recording of fault data.

Benefits of technology

It improves the system's real-time response capability and stability, reduces costs, enhances the flexibility and accuracy of fault recording, and avoids the risk of single point of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118943527A_ABST
    Figure CN118943527A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method of a battery management system and the battery management system, and belongs to the field of battery fault recording. The data processing method of the battery management system comprises the following steps: acquiring working parameters of each PACK at a current acquisition moment; caching working parameters of a target PACK in the at least one PACK at the current acquisition moment to at least one circular queue corresponding to the target PACK; and under the condition that the target PACK fails, pulling at least part of the working parameters from at least one circular queue corresponding to the target PACK. According to the data processing method of the battery management system, the BMS is independently arranged for each PACK to construct the independent circular queue to cache the working parameters before the fault, the fault recording function can be directly achieved through the MCU of the BMS, distributed fault recording is achieved, the real-time response capability of the system is improved, and the stability and reliability of the whole system are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of battery fault recording, and in particular relates to a data processing method for a battery management system and a battery management system. Background Art

[0002] As the core component of energy storage in the energy storage system, the stability and reliability of the battery management system (BMS) are crucial to the safe operation of the entire system. In the related art, a dedicated fault recording device is usually set up to collect the working parameters corresponding to the system or each battery pack for fault recording. However, this method has the risk of single point failure. Once the dedicated fault recording device fails, the fault recording capability of the entire system will be seriously affected, resulting in the inability to perform effective fault recording for all battery packs, affecting the fault recording effect; in addition, the real-time performance of the fault recording method is also poor. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a data processing method and a battery management system for a battery management system, which significantly reduces the data transmission time, ensures that fault data can be captured and recorded in real time, improves the real-time response capability of the system, ensures the stability and reliability of the entire system, and effectively saves costs.

[0004] In a first aspect, the present application provides a data processing method for a battery management system, which is applied to an energy storage system, wherein the energy storage system includes at least one PACK, each of the PACKs is correspondingly provided with a battery management system, and a random access memory of the battery management system includes at least one circular queue; the method includes:

[0005] Obtaining the working parameters of each PACK at the current acquisition moment;

[0006] Cache the working parameters of a target PACK in the at least one PACK at the current acquisition time into at least one circular queue corresponding to the target PACK;

[0007] In the event of a failure of the target PACK, at least part of the operating parameters are pulled from at least one circular queue corresponding to the target PACK.

[0008] According to the data processing method of the battery management system of the present application, by individually setting up a BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own MCU to achieve distributed fault recording, significantly reducing data transmission time, ensuring that fault data can be captured and recorded in real time, improving the real-time response capability of the system, ensuring the stability and reliability of the entire system, and effectively saving costs.

[0009] According to an embodiment of the present application, caching the working parameters of the target PACK in the at least one PACK at the current acquisition time to at least one circular queue corresponding to the target PACK includes:

[0010] Based on the category of the operating parameter, the operating parameter is cached in a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK.

[0011] According to an embodiment of the present application, when the target PACK includes a plurality of battery cells, caching the operating parameter to a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK based on the category of the operating parameter includes:

[0012] The operating parameters of the same category among the operating parameters corresponding to the battery cells are cached in the same circular queue.

[0013] According to an embodiment of the present application, caching the working parameters of the target PACK in the at least one PACK at the current acquisition time to at least one circular queue corresponding to the target PACK includes:

[0014] When the circular queue is full, the working parameters at the earliest collection time are deleted from the circular queue, and the working parameters at the current collection time are cached in the circular queue.

[0015] According to an embodiment of the present application, the obtaining of the working parameters of each PACK at the current acquisition time includes:

[0016] Based on the categories of the working parameters, determining the target collection period corresponding to each category;

[0017] Based on the target acquisition period, working parameters under a category corresponding to the target acquisition period are acquired.

[0018] According to an embodiment of the present application, in the case where the target PACK fails, pulling at least part of the working parameters from at least one circular queue corresponding to the target PACK includes:

[0019] Pull the working parameters of each collection time within a first time period before the fault occurs from at least one circular queue corresponding to the target PACK, and obtain the working parameters of each collection time within a second time period after the fault occurs.

[0020] In a second aspect, the present application provides a data processing device for a battery management system, which is applied to an energy storage system, wherein the energy storage system includes at least one PACK, each of which is correspondingly provided with a battery management system, and a random access memory of the battery management system includes at least one circular queue; the device includes:

[0021] A first processing module, used for obtaining the working parameters of each PACK at the current acquisition moment;

[0022] A second processing module, configured to cache the working parameters of a target PACK in the at least one PACK at the current acquisition moment to at least one circular queue corresponding to the target PACK;

[0023] The third processing module is configured to, when the target PACK fails, pull at least part of the working parameters from at least one circular queue corresponding to the target PACK.

[0024] According to the data processing device of the battery management system of the present application, by individually setting up a BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own MCU to achieve distributed fault recording, significantly reducing data transmission time, ensuring that fault data can be captured and recorded in real time, improving the real-time response capability of the system, ensuring the stability and reliability of the entire system, and effectively saving costs.

[0025] In a third aspect, the present application provides a battery management system based on the data processing method of the battery management system described in the first aspect, comprising:

[0026] A random access memory, wherein the random access memory includes at least one circular queue, and the storage capacity of the circular queue is determined based on the recording demand data space; the battery management system is used to be set in a one-to-one correspondence with the PACK.

[0027] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the data processing method of the battery management system as described in the first aspect above is implemented.

[0028] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method of the battery management system as described in the first aspect above.

[0029] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0030] By setting up a separate BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own MCU, realizing distributed fault recording, significantly reducing data transmission time, ensuring that fault data can be captured and recorded in real time, improving the system's real-time response capability, ensuring the stability and reliability of the entire system, and effectively saving costs.

[0031] Furthermore, by setting up multiple circular queues to perform classified caching based on the categories of working parameters, it is possible to support independent creation of circular queues for categories of different working parameters according to specific needs, so that users can freely adjust the storage length of data in each circular queue and the number of circular queues, which not only provides a high degree of customization, but also significantly enhances the flexibility of fault recording configuration, thereby being able to adapt to a variety of application scenarios.

[0032] Furthermore, by setting up a circular queue to cache the working parameters, the oldest working parameters are overwritten by the latest working parameters when the storage capacity of the circular queue is full. This ensures that the working parameters for a period of time can be stored in the circular queue, ensuring the real-time and timeliness of the cached data, thereby improving the subsequent recording effect and effectively saving RAM space.

[0033] Furthermore, by caching the data before the fault occurs into a circular queue, when a fault occurs, the data in the circular queue within the first time period before the fault occurs can be immediately written to the flash, and the data within the second time period after the fault occurs can be directly written to the flash. This allows the data to be preserved to the maximum extent even in the event of an abnormal power outage in the system, and the changes in electrical parameters before and after the fault occur can be recorded in detail, providing key information for fault diagnosis and system maintenance, strengthening the fault recording function, and improving the accuracy and timeliness of fault recording, thereby improving the safety and maintenance efficiency of the energy storage system.

[0034] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0036] Figure 1 This is one of the flow charts of the data processing method of the battery management system provided in the embodiment of the present application;

[0037] Figure 2 This is the second flow chart of the data processing method of the battery management system provided in the embodiment of the present application;

[0038] Figure 3 is a schematic diagram of the structure of a battery management system provided in an embodiment of the present application;

[0039] Figure 4 is a structural schematic diagram of a data processing device for a battery management system provided in an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0042] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0043] In the following, in combination with the accompanying drawings, the data processing method of the battery management system, the data processing device of the battery management system, the battery management system, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0044] The data processing method of the battery management system may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.

[0045] The terminal includes but is not limited to portable communication devices such as mobile phones or tablet computers. It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer.

[0046] It will be appreciated that the terminal may include one or more other physical user interface devices, such as a physical keyboard, mouse and joystick, or may also be a terminal including a display and a touch-sensitive surface.

[0047] The data processing method of the battery management system provided in the embodiment of the present application can be executed by the battery management system or a functional module or functional entity in the battery management system that can implement the data processing method of the battery management system. The data processing method of the battery management system provided in the embodiment of the present application is described below using the battery management system as an example of the execution body.

[0048] like Figure 1 As shown, the data processing method of the battery management system includes: step 110, step 120 and step 130.

[0049] The data processing method of the battery management system is applied to the energy storage system.

[0050] The energy storage system includes at least one battery pack (PACK), each PACK is correspondingly provided with a battery management system (BMS), and the random access memory (RAM) of the battery management system includes at least one circular queue.

[0051] A PACK may include one or more battery cells.

[0052] like Figure 3 As shown, the battery management system may include: a microcontroller unit (MCU) module, an analog front end (AFE) chip and a flash memory (Flash) module that are communicatively connected to the microcontroller unit module.

[0053] Among them, the RAM can be set in the MCU.

[0054] In some embodiments, the MCU and the Flash module can be connected via SPI communication, the MCU and the analog front-end chip can be connected via IIC communication, and the MCU and the PC can be connected via a network cable or CAN communication.

[0055] Step 110, obtaining the working parameters of each PACK at the current acquisition time;

[0056] In this step, the operating parameters are the real-time operating data of each battery cell in the PACK.

[0057] The working parameters are data used for fault recording, and the working parameters can be selected based on the fault recording requirements.

[0058] In some embodiments, the data information required to be recorded by the fault recording of the BMS may include: voltage, current, temperature, SOX, fault information, battery mode status, and battery safety information.

[0059] The operating parameters may include, but are not limited to: current value of the battery cell, voltage value of the battery cell, temperature value of the battery cell, SOX, fault information, battery mode status, and battery safety information.

[0060] The current acquisition time is also the storage time of caching the working parameters.

[0061] In the actual execution process, the working parameters can be periodically obtained based on a certain collection cycle.

[0062] In some embodiments, step 110 may include:

[0063] Based on the categories of working parameters, determine the target collection period corresponding to each category;

[0064] Based on the target collection period, the working parameters under the category corresponding to the target collection period are obtained.

[0065] In this embodiment, the target acquisition period is a storage period for storing the working parameters in the circular queue.

[0066] The target acquisition periods corresponding to different types of working parameters may be the same or different.

[0067] The target acquisition period can be set based on the fault recording requirements, such as based on national standards.

[0068] In some embodiments, the target acquisition period corresponding to the current value can be set to 30ms or 50ms; the target acquisition period corresponding to the voltage value can be set to 1s or 2s; the target acquisition period corresponding to the temperature value can be set to 5s or 6s, etc.

[0069] Taking the minimum requirements of the national standard as an example, the current recording cycle is 50ms, the voltage, SOX, fault information, battery mode status and battery safety information recording cycle is 1s, and the temperature recording cycle is 5s.

[0070] For example, the current value of the battery cell may be acquired every 50 ms, the voltage value of the battery cell may be acquired every 1 s, and the temperature value of the battery cell may be acquired every 5 s.

[0071] Of course, in other embodiments, the categories of the required recording working parameters and the target acquisition period corresponding to each category may also be selected based on actual needs, and this application does not limit this.

[0072] Step 120: Cache the working parameters of the target PACK in the at least one PACK at the current acquisition time into at least one circular queue corresponding to the target PACK;

[0073] In this step, the target PACK may be any PACK among all PACKs.

[0074] It can be understood that, in the present application, each PACK is individually provided with a battery management system, and the working parameters corresponding to each PACK are individually cached in a circular queue corresponding to the PACK.

[0075] The current acquisition moment is a moment that changes accordingly with the passage of time. The operating parameters acquired at each acquisition moment may be stored in a circular queue corresponding to the PACK to which the operating parameters belong.

[0076] In some embodiments, the storage capacity of the circular queue is determined based on the recording demand data space.

[0077] Among them, the recording required data space is the data capacity required for recording.

[0078] In some embodiments, the storage capacity of the circular queue may be half of the required data space for recording.

[0079] For example, when the actual recording data space required is n bytes, a circular queue of n / 2 bytes in size can be created in the RAM, where n is a positive integer.

[0080] In some embodiments, step 120 may include:

[0081] Based on the category of the working parameter, the working parameter is cached in a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK.

[0082] In this embodiment, multiple circular queues may be set in the same battery management system, and different circular queues are used to cache different types of operating parameters.

[0083] In the actual execution process, a corresponding number of circular queues may be created based on the number of categories of working parameters for which fault recording is required.

[0084] Continuing with the example that the working parameters include the current value of the battery cell, the voltage value of the battery cell and the temperature value of the battery cell, multiple circular queues can be set, such as: circular queue A, circular queue B and circular queue C.

[0085] The circular queue A is used to cache the current value of the battery cell, the circular queue B is used to cache the voltage value of the battery cell, and the circular queue C is used to cache the temperature value of the battery cell.

[0086] The storage capacity of the circular queue can be determined based on the recording demand data space corresponding to the working parameters under the category used by the circular queue to store.

[0087] It is understandable that the storage capacities of the circular queues corresponding to different categories may be the same or different, and may be set based on actual needs.

[0088] For example, in the actual execution process, at a fixed time interval (i.e., the target acquisition period), the current value can be stored in circular queue A with a storage period of every 50 ms, the voltage value can be stored in circular queue B with a storage period of every 1 s, and the temperature value can be stored in circular queue C with a storage period of every 5 s.

[0089] For each PACK, the corresponding cache process is similar and will not be described in detail in this application.

[0090] It should be noted that, in the actual implementation process, for an energy storage system including multiple PACKs, each PACK can execute steps 110 to 120 in parallel without interfering with each other.

[0091] According to the data processing method of the battery management system provided in the embodiment of the present application, by setting multiple circular queues to perform classified caching based on the categories of working parameters, it can support the independent creation of circular queues for different categories of working parameters according to specific needs, so that the user can freely adjust the storage length of the data in each circular queue, as well as the number of circular queues, which not only provides a high degree of customization, but also significantly enhances the flexibility of the fault recording configuration, thereby being able to adapt to a variety of application scenarios.

[0092] In some embodiments, when the target PACK includes multiple battery cells, based on the category of the operating parameter, caching the operating parameter to a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK includes:

[0093] The operating parameters of the same category among the operating parameters corresponding to each battery cell are cached in the same circular queue.

[0094] In this embodiment, when a plurality of battery cells are arranged in the same PACK, the same category of operating parameters corresponding to the battery cells may be cached in the same circular queue among the plurality of circular queues arranged in the PACK.

[0095] For example, when the target PACK includes m battery cells connected in series, the voltage values ​​of the m battery cells and the total battery voltage of the PACK, n temperatures and 1 current value can be obtained at the current acquisition time. The battery management system corresponding to the target PACK is provided with a circular queue A, a circular queue B and a circular queue C; wherein,

[0096] Circular queue A can be used to store a 50ms queue of current values;

[0097] The circular queue B can be used to store a 1s queue of voltage values. For example, the total battery voltage of the PACK and m voltage values ​​at the current collection time are cached in the circular queue B in the form of a structure every 1s.

[0098] Circular queue C can be used as a 5s queue to store temperature data.

[0099] In some embodiments, caching the working parameters of the target PACK in the at least one PACK at the current acquisition time to at least one circular queue corresponding to the target PACK may include:

[0100] When the circular queue is full, the working parameters at the earliest collection time are deleted from the circular queue, and the working parameters at the current collection time are cached in the circular queue.

[0101] In this embodiment, the working parameters cached in the circular queue may be sorted in sequence based on the storage time (ie, the collection time), and each cached parameter corresponds to a collection time.

[0102] When the storage capacity of the circular queue is full, the oldest working parameters can be overwritten with the latest working parameters to ensure that the circular queue can store the working parameters at the latest collection time and the working parameters in the previous period close to the current collection time.

[0103] According to the data processing method of the battery management system provided in the embodiment of the present application, a circular queue is set to cache the working parameters. When the storage capacity of the circular queue is full, the oldest working parameters are overwritten with the latest working parameters. This ensures that the working parameters within the latest period of time can be stored in the circular queue, ensures the real-time and timeliness of the cached data, thereby improving the subsequent recording effect and effectively saving RAM space.

[0104] Step 130 : When the target PACK fails, pull at least part of the working parameters from at least one circular queue corresponding to the target PACK.

[0105] In this step, the target PACK failure may include, but is not limited to, overvoltage, undervoltage, overtemperature, undertemperature, and overcurrent failure of each battery cell in the target PACK.

[0106] In actual implementation, fault detection can be performed by the BMS in the PACK.

[0107] It should be noted that, in the present application, the circular queue stores and updates the stored working parameters in real time.

[0108] At least part of the working parameters pulled from at least one circular queue corresponding to the target PACK are used for fault recording.

[0109] The fault recording of BMS needs to record data information including: voltage, current, temperature, SOX, fault information, battery mode status and battery safety information, etc.

[0110] In the event of a fault being detected, the BMS responds quickly and writes the fault code and timestamp to the Flash module via SPI. The BMS then quickly writes the operating parameters cached in each circular queue to the Flash module, providing critical historical data for fault analysis.

[0111] The fault code may be a number of type Uint32, that is, the fault code has 32 bits; every two bits represent a fault, and a total of 16 types of faults can be represented.

[0112] Taking the battery cell overvoltage fault as an example, 00 can indicate no cell overvoltage fault, 01 indicates a first-level cell overvoltage fault, 10 indicates a second-level cell overvoltage fault, and 11 indicates a third-level cell overvoltage fault.

[0113] In addition, the fault code may also include the remaining reserved bits corresponding to serious faults such as battery total voltage overvoltage, single cell undervoltage, total voltage undervoltage, overtemperature, undertemperature, and overcurrent.

[0114] In some embodiments, pulling at least part of the operating parameters from at least one circular queue corresponding to the target PACK may include:

[0115] Pull the working parameters within a first time period before the fault occurs from at least one circular queue corresponding to the target PACK.

[0116] In this embodiment, the first duration can be customized based on the user, such as being set to 5 minutes, 6 minutes or other durations, etc., which is not limited in this application.

[0117] Taking the first time length of 5 minutes and the target collection period corresponding to the voltage value of 1 second as an example, in the actual execution process, the voltage value can be written to the circular queue once every 1 second, and a total of 300 voltage values ​​are written within 5 minutes, that is, the 300 voltage values ​​written within the previous 5 minutes are pulled from the circular queue.

[0118] In this application, by setting up a BMS for each PACK separately to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly realized through the BMS's own micro control unit module, realizing distributed fault recording, significantly reducing the data transmission time, and ensuring that the fault data can be captured and recorded in real time, thereby greatly improving the real-time response capability of the system; through the reuse of the BMS system, the RAM cache and Flash storage resources existing in the BMS system are used for fault recording, thereby achieving effective cost control;

[0119] In addition, there is no need to set up special fault recording equipment, so each battery pack has independent fault recording capabilities, thus eliminating the risk of single point failure. Even if the BMS of a battery pack fails, the fault recording functions of other battery packs can still operate normally, ensuring the stability and reliability of the entire system.

[0120] According to the data processing method of the battery management system provided in the embodiment of the present application, by individually setting up a BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own micro control unit module, thereby realizing distributed fault recording, significantly reducing the data transmission time, ensuring that the fault data can be captured and recorded in real time, improving the speed of fault processing, improving the real-time response capability of the system, ensuring the stability and reliability of the entire system, and effectively saving costs.

[0121] like Figure 2 As shown, in some embodiments, step 130 may include:

[0122] Pull the working parameters of each collection time within a first time period before the fault occurs from at least one circular queue corresponding to the target PACK, and obtain the working parameters of each collection time within a second time period after the fault occurs.

[0123] In this embodiment, the first duration and the second duration may be equal or unequal.

[0124] The specific values ​​of the first duration and the second duration can be customized by the user, such as being set to 5 minutes, 6 minutes or other durations, etc., and this application does not limit this.

[0125] In the actual execution process, if no fault occurs, the collected working parameters can be cached in the circular queue first, so that after a fault occurs later, the working parameters at each collection time within the first time period before the fault occurs can be pulled from the circular queue.

[0126] After a fault occurs, the collected working parameters can be directly obtained.

[0127] In some embodiments, obtaining the working parameters at each collection time within the second time period after the fault occurs may include obtaining the working parameters based on a target collection period corresponding to the working parameter category.

[0128] For example, when a fault is detected, the BMS responds quickly and writes the fault code and timestamp to Flash via SPI. The BMS then quickly writes the operating parameters cached in each circular queue 5 minutes before the fault occurs to Flash, providing critical historical data for fault analysis.

[0129] At the same time, the BMS synchronously obtains the working parameters corresponding to the target PACK after the fault occurs based on the target acquisition cycle, and writes the obtained working parameters directly into the Flash, such as the current value every 50 milliseconds, the voltage value every 1 second, and the temperature value every 5 seconds, and continuously writes the working parameters of 5 minutes after the flash fault.

[0130] After completing the above process, the fault recording task is completed.

[0131] According to the data processing method of the battery management system provided in the embodiment of the present application, the data when no fault occurs is cached in a circular queue so that when a fault occurs, the data within the first time period before the fault occurs in the circular queue can be immediately written to the flash, and the data within the second time period after the fault occurs can be directly written to the flash. This allows the data to be preserved to the maximum extent even in the event of an abnormal power outage in the system, and the changes in electrical parameters before and after the fault occur can be recorded in detail to provide key information for fault diagnosis and system maintenance, strengthen the fault recording function, and improve the accuracy and timeliness of the fault recording, thereby improving the safety and maintenance efficiency of the energy storage system. In addition, by storing the data locally, the data transmission time is also reduced, while the risk of hardware disconnection is reduced.

[0132] Through the efficient and low-cost fault recording strategy provided in this application, the BMS in the energy storage system can provide comprehensive monitoring for the battery pack, ensuring that key data can be quickly and accurately recorded and stored when a fault occurs, providing strong support for fault diagnosis and system maintenance.

[0133] The data processing method for a battery management system provided in the embodiment of the present application can be executed by a data processing device of the battery management system. In the embodiment of the present application, the data processing device of the battery management system is used as an example to illustrate the data processing method for a battery management system provided in the embodiment of the present application.

[0134] An embodiment of the present application also provides a data processing device for a battery management system.

[0135] like Figure 4 As shown, the data processing device of the battery management system is applied to an energy storage system, the energy storage system includes at least one PACK, each PACK is correspondingly provided with a battery management system, and the random access memory of the battery management system includes at least one circular queue; the data processing device of the battery management system includes: a first processing module 410, a second processing module 420 and a third processing module 430.

[0136] The first processing module 410 is used to obtain the working parameters of each PACK at the current collection time;

[0137] The second processing module 420 is used to cache the working parameters of the target PACK in the at least one PACK at the current acquisition time to at least one circular queue corresponding to the target PACK;

[0138] The third processing module 430 is configured to, when the target PACK fails, pull at least part of the working parameters from at least one circular queue corresponding to the target PACK.

[0139] According to the data processing device of the battery management system provided in the embodiment of the present application, by individually setting up a BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own micro control unit module to realize distributed fault recording, significantly reduce the data transmission time, ensure that the fault data can be captured and recorded in time, improve the real-time response capability of the system, ensure the stability and reliability of the entire system, and effectively save costs.

[0140] In some embodiments, the second processing module 420 may also be used to:

[0141] Based on the category of the working parameter, the working parameter is cached in a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK.

[0142] In some embodiments, when the target PACK includes multiple battery cells, the second processing module 420 may also be used to:

[0143] The operating parameters of the same category among the operating parameters corresponding to each battery cell are cached in the same circular queue.

[0144] In some embodiments, the second processing module 420 may also be used to:

[0145] When the circular queue is full, the working parameters at the earliest collection time are deleted from the circular queue, and the working parameters at the current collection time are cached in the circular queue.

[0146] In some embodiments, the first processing module 410 may also be used to:

[0147] Based on the categories of working parameters, determine the target collection period corresponding to each category;

[0148] Based on the target collection period, the working parameters under the category corresponding to the target collection period are obtained.

[0149] In some embodiments, the third processing module 430 may also be used to:

[0150] The operating parameters at each acquisition time within a first time period before the fault occurs and the operating parameters at each acquisition time within a second time period after the fault occurs are pulled from at least one circular queue corresponding to the target PACK.

[0151] The data processing device of the battery management system in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0152] The data processing device of the battery management system in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0153] The data processing device of the battery management system provided in the embodiment of the present application can realize Figure 1 to Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0154] The embodiments of the present application also provide a battery management system based on the data processing method of the battery management system as described in any embodiment.

[0155] like Figure 3 As shown, the battery management system may include: a microcontroller unit module (MCU), an analog front end (AFE) chip and a flash memory module that are communicatively connected to the microcontroller unit module.

[0156] Among them, a random access memory (RAM) can be set in the MCU.

[0157] The random access memory (RAM) includes at least one circular queue, and the storage capacity of the circular queue is determined based on the required data space for recording.

[0158] It can be understood that there can be multiple battery management systems, and multiple battery management systems are set in a one-to-one correspondence with multiple PACKs.

[0159] The battery management system can execute the data processing method of the battery management system described in any of the above embodiments, and this application will not elaborate on it here.

[0160] According to the battery management system provided in the embodiment of the present application, by individually setting up a BMS for each PACK to build an independent circular queue to cache the working parameters before the fault, the fault recording function can be directly implemented through the BMS's own MCU, thereby realizing distributed fault recording, significantly reducing the data transmission time, ensuring that the fault data can be captured and recorded in real time, improving the real-time response capability of the system, ensuring the stability and reliability of the entire system, and effectively saving costs.

[0161] In some embodiments, the analog front-end chip may have a 16-bit analog-to-digital converter (ADC).

[0162] In this embodiment, the analog front-end chip may be a chip of the bq76952 model, which has a 16-bit analog-to-digital converter (ADC) and has higher measurement accuracy.

[0163] According to the battery management system provided in the embodiment of the present application, by providing an analog front-end chip with a 16-bit analog-to-digital converter, it is possible to provide high-precision sampling capabilities, so that the AFE chip can capture more subtle changes when processing analog signals, thereby significantly improving the measurement resolution and data quality of the entire system.

[0164] Continue to refer Figure 3 In some embodiments, the MCU and the Flash module can exchange data via the SPI protocol to ensure accurate recording and storage of data.

[0165] In some embodiments, the MCU and the analog front-end chip can communicate via the IIC protocol.

[0166] In some embodiments, the MCU can be connected to the PC via a network cable or CAN communication to facilitate the import of fault recording data into the host computer software on the PC, and further parse and export it to an Excel file, providing users with convenient data viewing and analysis.

[0167] For example, during the actual execution process, the host computer software on the PC side can be started.

[0168] Establish a connection with the battery management system via an Ethernet cable or CAN bus.

[0169] Import the fault recording data from the flash memory module to the host computer software.

[0170] Use the functions of the host computer software to parse the fault recording data and export it into Excel format.

[0171] Users can easily view and analyze this data in Excel.

[0172] In some embodiments, the storage capacity of the circular queue is half of the data space required for recording.

[0173] According to the battery management system provided in the embodiment of the present application, based on the actual recording demand data space, only a circular queue with a size of half the recording demand data space needs to be created in the MCU's RAM to cache the working parameters before the fault occurs to meet the fault recording, which significantly saves RAM space.

[0174] In some embodiments, a plurality of circular queues may be provided in a battery management system, and different circular queues are used to store different types of operating parameters.

[0175] According to the battery management system provided in the embodiment of the present application, it supports the independent creation of circular queues for categories of different working parameters according to specific needs, so that users can freely adjust the storage length of data in each circular queue and the number of circular queues. It not only provides a high degree of customization, but also significantly enhances the flexibility of fault recording configuration, so as to adapt to a variety of application scenarios.

[0176] In some embodiments, Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the program is executed by the processor 501, each process of the data processing method embodiment of the above-mentioned battery management system is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0177] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0178] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the data processing method embodiment of the above-mentioned battery management system are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0179] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0180] An embodiment of the present application also provides a computer program product, including a computer program, which implements the data processing method of the battery management system when executed by a processor.

[0181] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0182] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the data processing method embodiment of the above-mentioned battery management system, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0183] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0184] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0186] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0187] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0188] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A data processing method for a battery management system, characterized in that: Applied to an energy storage system, the energy storage system includes at least one PACK, each of the PACKs is correspondingly provided with a battery management system, and the random access memory of the battery management system includes at least one circular queue; the method includes: Obtaining the working parameters of each PACK at the current acquisition moment; Cache the working parameters of a target PACK in the at least one PACK at the current acquisition time into at least one circular queue corresponding to the target PACK; In the event of a failure of the target PACK, at least part of the operating parameters are pulled from at least one circular queue corresponding to the target PACK.

2. The data processing method of the battery management system according to claim 1, characterized in that: The step of caching the working parameters of the target PACK in the at least one PACK at the current acquisition moment to at least one circular queue corresponding to the target PACK comprises: Based on the category of the operating parameter, the operating parameter is cached in a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK.

3. The data processing method of the battery management system according to claim 2, characterized in that: In the case where the target PACK includes a plurality of battery cells, the step of caching the operating parameter in a circular queue corresponding to the category in at least one circular queue corresponding to the target PACK based on the category of the operating parameter comprises: The operating parameters of the same category among the operating parameters corresponding to the battery cells are cached in the same circular queue.

4. The data processing method of the battery management system according to any one of claims 1 to 3, characterized in that: The step of caching the working parameters of the target PACK in the at least one PACK at the current acquisition moment to at least one circular queue corresponding to the target PACK comprises: When the circular queue is full, the working parameters at the earliest collection time are deleted from the circular queue, and the working parameters at the current collection time are cached in the circular queue.

5. The data processing method of the battery management system according to any one of claims 1 to 3, characterized in that: The obtaining of the working parameters of each PACK at the current acquisition time includes: Based on the categories of the working parameters, determining the target collection period corresponding to each category; Based on the target acquisition period, working parameters under a category corresponding to the target acquisition period are acquired.

6. The data processing method of a battery management system according to any one of claims 1 to 3, characterized in that: In the case where the target PACK fails, pulling at least part of the working parameters from at least one circular queue corresponding to the target PACK includes: Pull the working parameters of each collection time within a first time period before the fault occurs from at least one circular queue corresponding to the target PACK, and obtain the working parameters of each collection time within a second time period after the fault occurs.

7. A data processing device for a battery management system, characterized in that: Applied to an energy storage system, the energy storage system includes at least one PACK, each of the PACKs is correspondingly provided with a battery management system, and the random access memory of the battery management system includes at least one circular queue; the device includes: A first processing module, used for obtaining the working parameters of each PACK at the current acquisition moment; A second processing module, configured to cache the working parameters of a target PACK in the at least one PACK at the current acquisition moment to at least one circular queue corresponding to the target PACK; The third processing module is configured to, when the target PACK fails, pull at least part of the working parameters from at least one circular queue corresponding to the target PACK.

8. A battery management system based on the data processing method of the battery management system according to any one of claims 1 to 6, characterized in that: include: A random access memory, wherein the random access memory includes at least one circular queue, and the storage capacity of the circular queue is determined based on the recording demand data space; the battery management system is used to be set in a one-to-one correspondence with the PACK.

9. The battery management system according to claim 8, characterized in that: The storage capacity of the circular queue is half of the required data space for recording.

10. The battery management system according to claim 8, characterized in that: Different circular queues are used to store different types of working parameters.

11. The battery management system according to any one of claims 8 to 10, characterized in that: Also includes: The analog front-end chip includes a 16-bit analog-to-digital converter.

12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method of the battery management system as described in any one of claims 1 to 6 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data processing method of the battery management system according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • System operation state monitoring method and system for fault occurrence of battery management system

    CN119127653A

  • Method and system for monitoring system operation status when battery management system failure occurs

    CN119127653B