A battery cell information collection method and information collection system

Through the combination of FPGA, bridge chip and AFE chip, parallel collection and pre-processing of multiple daisy chain information is realized, which solves the problems of poor collection performance and high cost in the existing technology, and significantly improves the efficiency of battery cell information collection. efficiency and performance.

CN118315695BActive Publication Date: 2024-09-20ORIENTAL SUNENG (SHANDONG) TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410725104.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-20
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

The existing battery cell information collection system cannot process the information of multiple daisy chains in parallel, resulting in poor collection performance, slow data processing speed and high cost.

Method used

Using FPGA and bridge chips and multiple AFE chips, the FPGA can be used to read information from multiple daisy chains in parallel, and after the data storage and pre-processing is completed, it can be sent to the microcontroller through a high-speed communication interface, simplifying the protocol between the microcontroller and FPGA. Adapt to different types of bridge chips and AFE chips.

Benefits of technology

It significantly improves the efficiency and performance of battery cell information collection and pre-processing, reduces system costs, increases collection speed while balancing costs, adapts to multiple chip types, and achieves a high level of system integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118315695B
    Figure CN118315695B
Patent Text Reader

Abstract

A battery cell information collection method and information collection system, belonging to the field of battery cell information collection. In order to solve the defects of the existing battery cell information collection system that cannot collect battery cell information on multiple daisy chains in parallel, poor collection performance, slow data processing speed, and high cost, the present invention uses a single-chip microcomputer to send a collection command to an FPGA; the FPGA parses the collection command, controls multiple AFE chips through a bridge chip to read all battery cell information on multiple daisy chains in parallel; stores all battery cell information on the FPGA; and the FPGA sends all battery cell information to the single-chip microcomputer. The present invention is mainly used to collect battery cell information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of battery monomer information collection, and in particular relates to a battery monomer information collection method and an information collection system thereof. Background Art

[0002] With the development of energy storage and the improvement of industry standards, the energy storage capacity of energy storage systems is getting larger and larger, and the number of battery systems that need to be collected is increasing. At present, the mainstream battery cell information collection front end uses a dedicated collection chip, which completes the information collection of all cells by forming a daisy chain of collection chips. In engineering practice, a battery cluster is equipped with a daisy chain and a single-chip microcomputer, which is a classic architecture.

[0003] The current technical solution is difficult to improve the performance of the system, because the data transmission time of the dedicated acquisition chip is fixed (usually a few milliseconds), and the communication time of the microcontroller reading the battery cell data one by one is proportional to the number of dedicated chips on a daisy chain. When the number of dedicated acquisition chips on a daisy chain reaches a certain level, the cycle of reading each dedicated acquisition chip will significantly affect the system performance, and even affect whether the entire energy storage system can work normally and safely.

[0004] In the prior art, a multi-core microcontroller is usually used as the main control chip. A battery cluster uses multiple daisy chains. The core of each microcontroller reads the collected information of all dedicated collection chips on a daisy chain, and multiple cores work in parallel. However, a multi-core microcontroller is not suitable for parallel work in this scenario. The specific reasons are as follows:

[0005] First, each core of a multi-core MCU must independently process software functions related to communication and fault handling with a dedicated acquisition chip. From a software perspective, if a multi-core MCU is used to achieve this, in order to increase the acquisition speed, each core must have a set of programs to collect data from the daisy chain, and multiple cores with the same or highly similar programs must work in parallel. However, doing so is generally not in line with software design methodology, and there will be a lot of identical code, which is very redundant and not easy to improve later. And usually multi-core MCUs are not used to run the same code, but to run multiple different applications;

[0006] Secondly, multi-core MCUs are more suitable for sequential control and calculation of the control process, but not for parallel work. The cost performance of multi-core MCUs is low;

[0007] Finally, judging from the trend of technological development, the process flexibility of collecting battery cell voltage and temperature is low.

[0008] In addition, the following technical solutions also exist in the prior art: using the CAN slave solution, that is, a battery cluster is configured with a master microcontroller and multiple slave microcontrollers, and each slave microcontroller communicates with the master microcontroller through the CAN bus. When collecting data, the slave microcontroller also collects battery cell information through a daisy chain. In this technical solution, the slave microcontrollers are scattered on circuit boards different from the master microcontroller. Whether it is a circuit board or a slave microcontroller, multiple configurations are required. Since cost is an important consideration in system design, the above solution was rejected due to its high cost.

[0009] Therefore, there is a need for a battery cell information collection method and information collection system that can collect and pre-process battery cell information on multiple daisy chains in parallel, has strong compatibility, low cost, high collection performance, and fast data processing speed. Summary of the invention

[0010] The purpose of the present invention is to solve the defects of the existing battery cell information acquisition system, that is, the inability to collect battery cell information on multiple daisy chains in parallel, poor acquisition performance, slow data processing speed and high cost. A battery cell information acquisition method and an information acquisition system are provided, which can collect and pre-process battery cell information on multiple daisy chains in parallel, have strong compatibility, low cost, high acquisition performance and fast data processing speed.

[0011] A battery cell information collection method according to the present invention comprises the following steps:

[0012] S1: The MCU sends a collection command to the FPGA;

[0013] S2: FPGA parses the acquisition command and controls multiple AFE chips through the bridge chip to read all battery cell information on multiple daisy chains in parallel;

[0014] S3: storing all the battery cell information on the FPGA;

[0015] S4: FPGA sends all the battery cell information to the single chip microcomputer.

[0016] Further: in S1, the acquisition command specifically acquires information of all battery cells.

[0017] Furthermore: the acquisition command sends an acquisition instruction to the FPGA through protocol 1.

[0018] The beneficial effect of adopting the above technical solution is that the single chip microcomputer sends the acquisition command to the FPGA through protocol 1, so that the protocol between the single chip microcomputer and the FPGA can be simplified, and protocol 1 can be adapted to a variety of bridge chips and AFE chips.

[0019] Furthermore: in S2, the FPGA implements parallel reading of all battery cell information on multiple daisy chains through protocol 2.

[0020] The beneficial effect of adopting the above technical solution is: by designing multiple IO ports of FPGA for daisy chain communication, complex timing logic can be accurately implemented and the efficiency of data collection is very high.

[0021] Further: in S2, each of the daisy chains includes a plurality of AFE chips.

[0022] A battery cell information acquisition system described in the present invention comprises a single chip microcomputer, an FPGA, a bridge chip and a plurality of AFE chips, wherein the plurality of AFE chips form a daisy chain, the FPGA is connected to the daisy chain via the bridge chip, and the single chip microcomputer is bidirectionally connected to the FPGA.

[0023] Further: the FPGA includes a bridge communication sub-module, a single-chip communication sub-module, a protocol conversion sub-module, a FIFO sub-module and a pre-processing sub-module, the bridge communication sub-module is bidirectionally connected to the bridge chip, the single-chip communication sub-module is bidirectionally connected to the single-chip, the output end of the protocol conversion sub-module is connected to the input end of the pre-processing sub-module, the output end of the pre-processing sub-module is connected to the input end of the FIFO sub-module, and the output end of the FIFO sub-module is connected to the input end of the protocol conversion sub-module.

[0024] Furthermore: the FPGA realizes the decoupling of the single-chip microcomputer and the bridge chip through a protocol conversion submodule; the protocol conversion submodule is used to parse the acquisition command issued by the single-chip microcomputer.

[0025] Furthermore: the original data enters the FIFO submodule through the pre-processing submodule, each daisy chain of collected data corresponds to a FIFO submodule, and the FIFO submodule is used to cache data; the pre-processing submodule is used to convert the format of the original collected data; the FIFO submodule is used to temporarily cache the battery cell data.

[0026] Furthermore: the single-chip microcomputer communication submodule sends all battery cell information to the single-chip microcomputer through protocol 3, and the protocol conversion submodule is used to realize USB communication between FPGA and single-chip microcomputer.

[0027] The beneficial effect of adopting the above technical solution is: a data format conversion protocol based on the USB protocol is implemented between the single-chip microcomputer and the FPGA through protocol 1 and protocol 3, and the advantages of USB high-speed transmission can be utilized.

[0028] The beneficial effects of the present invention are:

[0029] This method completes the information collection and pre-processing of multiple daisy chains in parallel by setting a hardware, and then transmits it to the single-chip microcomputer through a high-speed communication interface, and the single-chip microcomputer completes the calculation and control, which is more conducive to the highly integrated development of the system. The present invention realizes the decoupling of the single-chip microcomputer program from the bridge chip (bridge chip) and AFE chip (analog front-end chip) type by setting a protocol conversion submodule inside the FPGA. When adapting to different types of bridge chips and AFE chips, only a small part of the protocol conversion module in the FPGA needs to be modified to achieve compatibility with other mainstream chips on the market.

[0030] The present invention uses FPGA+bridge+AFE to complete parallel collection and pre-processing of battery cell information on multiple daisy chains of a battery cluster. Since FPGA is particularly suitable for parallel processing, the present invention can significantly improve the collection efficiency and pre-processing performance of battery cell information in the energy storage system while balancing product costs. The present invention can effectively improve the system's data collection and processing speed, and can effectively improve the collection performance by more than 4 times when using 4 daisy chain communications. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a circuit block diagram of the battery cell information acquisition system;

[0032] Figure 2 It is the circuit diagram inside the FPGA;

[0033] Figure 3 is the system state transition diagram;

[0034] Figure 4 This is a schematic diagram of the format conversion principle of protocol 1;

[0035] Figure 5 This is a schematic diagram of the format conversion principle of protocol 2;

[0036] Figure 6 This is a schematic diagram of the protocol 3 format conversion principle. DETAILED DESCRIPTION

[0037] The following are only preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a technician familiar with the technical field within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. The embodiments described below are only used to explain the present invention and cannot be interpreted as limitations on the present invention. The protection scope of the present invention should be based on the protection scope of the claims. The embodiments of the present invention are described in detail below. In order to facilitate the description of the present invention and simplify the description, the technical terms used in the specification of the present invention should be interpreted in a broad sense, including but not limited to conventional replacement schemes not mentioned in this application, and also including direct implementation methods and indirect implementation methods.

[0038] Example 1

[0039] Combination Figure 1-Figure 6 To illustrate this embodiment, a method for collecting battery cell information disclosed in this embodiment includes the following steps:

[0040] S1: The single-chip microcomputer sends a collection command to the FPGA to collect information of all battery cells; the collection command sends a collection instruction to the FPGA through protocol 1;

[0041] S2: The FPGA implements parsing of the acquisition command through a protocol conversion submodule, and controls multiple AFE chips through a bridge chip to read all battery cell information on multiple daisy chains in parallel; the FPGA implements parallel reading of all battery cell information on multiple daisy chains through protocol 2; each of the daisy chains includes multiple AFE chips.

[0042] like Figure 3 As shown, this embodiment takes reading 48 AFE nodes and 4 daisy chains as an example; in this embodiment, taking 12 AFE chips on each daisy chain as an example, the reading completion time is about 36 milliseconds;

[0043] S3: storing all the battery cell information on the FPGA; when the raw data of all the battery cell information is received, the raw data enters the FIFO submodule through the pre-processing submodule, and each daisy chain of collected data corresponds to a FIFO submodule for caching data;

[0044] S4: FPGA sends all battery cell information to the MCU. FPGA uses protocol 3 ( Figure 6 As shown in the figure, the content in the FIFO submodule is sent to the microcontroller. At this point, a complete acquisition and pre-processing process is completed.

[0045] An AFE chip refers to an AFE chip that integrates ADC, amplifier, reference source, excitation circuit, and modulation and demodulation circuit. Based on its own advantages, it can collect information on energy storage battery cells very accurately.

[0046] The FIFO submodule (First In First Out, data storage module) is a first-in-first-out data storage buffer module.

[0047] Example 2

[0048] This embodiment is explained in conjunction with Example 1. This embodiment discloses a battery cell information acquisition system, including a single-chip microcomputer, an FPGA, a bridge chip and multiple AFE chips. The multiple AFE chips form a daisy chain. The FPGA is connected to the daisy chain through the bridge chip. The single-chip microcomputer and the FPGA are bidirectionally connected. This embodiment includes a single-chip microcomputer, an FPGA, a bridge chip, multiple AFE chips and other necessary circuits; wherein the FPGA, the bridge chip and the multiple AFE chips together constitute a single-cell battery acquisition and pre-processing module, wherein, as Figure 1 As shown, the FPGA is connected to a daisy chain consisting of multiple AFE chips through a bridge chip. By setting the FPGA between the MCU and the AFE chip, the MCU sends the acquisition command through the FPGA, and the protocol between the MCU and the FPGA can be simplified, and the protocol can be easily adapted to a variety of bridge chips and AFE chips.

[0049] In this embodiment, the AFE chip can also be replaced by an ASIC (application-specific integrated circuit). If an ASIC needs to be implemented, the implementation principles and connection sequence of protocols 1, 2, and 3 implemented by the FPGA described in this embodiment and the internal sub-modules, together with the bridge chip, are integrated on an integrated circuit chip.

[0050] like Figure 2 As shown, the FPGA includes a bridge communication submodule, a single-chip communication submodule, a protocol conversion submodule, a FIFO submodule and a pre-processing submodule. The bridge communication submodule is connected to the bridge chip for bidirectional communication, the single-chip communication submodule is connected to the single-chip for bidirectional communication, the output end of the protocol conversion submodule is connected to the input end of the pre-processing submodule, the output end of the pre-processing submodule is connected to the input end of the FIFO submodule, and the output end of the FIFO submodule is connected to the input end of the protocol conversion submodule.

[0051] like Figure 4 and Figure 6 The format conversion principle of protocol 1 and protocol 3 shown in the figure is that inside the FPGA, the submodule communicating with the single-chip microcomputer realizes a high-speed communication interface with the single-chip microcomputer through protocol 3 (for example, using USB communication mode); the protocol conversion module realizes USB communication between the FPGA and the single-chip microcomputer through protocol 1 and protocol 3.

[0052] Protocol 1 and Protocol 3 are data format conversion protocols based on USB, involving the protocol conversion submodule inside the FPGA. The process of collecting battery cell information, that is, the process of writing values ​​in the sampling control register to control the AFE chip to start sampling and read out the sampling results at the corresponding AFE chip node on the daisy chain. Protocol 1 and Protocol 3 realize the data format conversion based on the USB protocol between the microcontroller and the FPGA, and can take advantage of the high-speed USB transmission (the transmission rate is usually 12Mbps).

[0053] Protocol 1 is defined as follows: In the data field of the USB data packet, the 0th and 1st bytes are 0 or 1 to indicate whether to read or write a register, the 2nd and 3rd bytes indicate the address of the daisy chain, the 4th and 5th bytes indicate the relative address of each AFE chip node in each daisy chain, the 6th and 7th bytes indicate the register address to be read or written, if it is to read a register, the 8th and 9th bytes are empty; if it is to write a register, the 8th and 9th bytes are the values ​​to be written to the register. In daisy chain communication, the data sent by the FPGA to the bridge chip, except for the necessary daisy chain communication start byte, the other data bytes are information extracted from the data field in the USB data packet.

[0054] Protocol 3 is defined as follows: in the data processed by the previous processing submodule, every two bytes represent the voltage value of a battery cell, and protocol 3 converts these voltage values ​​into data fields in the USB data packet according to the order of the battery cells.

[0055] like Figure 5 The format conversion principle of protocol 2 is shown, and the protocol conversion module implements the SPI-based communication protocol between the FPGA and the bridge chip through protocol 2; the format conversion principle schematic diagrams of protocols 1, 2 and 3 vary depending on the type of AFE chip.

[0056] Protocol 2 is the format conversion protocol for FPGA to receive AFE data, which involves the protocol conversion submodule and the pre-processing submodule. The format of the received data is determined by the matching AFE chip, and the original information of the battery cell (non-voltage value) is extracted from the SPI data segment and converted into the actual battery cell voltage value.

[0057] like Figure 2 As shown, the pre-processing submodule realizes the format conversion of the original collected data; the FIFO submodule realizes the temporary cache of the battery cell data; the FPGA realizes the decoupling of the microcontroller and the bridge chip through the protocol conversion submodule; the protocol conversion submodule is used to parse the collection commands issued by the microcontroller.

[0058] The original data enters the FIFO submodule through the pre-processing submodule. Each daisy chain of collected data corresponds to a FIFO submodule, and the FIFO submodule is used to cache data; the pre-processing submodule is used to convert the format of the original collected data; the FIFO submodule is used to temporarily cache the battery cell data.

Claims

1. A battery cell information collection system, characterized in that: It includes a single-chip microcomputer, an FPGA, a bridge chip and a plurality of AFE chips, wherein the plurality of AFE chips form a plurality of parallel daisy chains, the FPGA is connected to the daisy chain through the bridge chip, and the single-chip microcomputer is bidirectionally connected to the FPGA; The FPGA includes a bridge communication submodule, a single-chip communication submodule, a protocol conversion submodule, a FIFO submodule and a pre-processing submodule. The bridge communication submodule is connected to the bridge chip for bidirectional communication. The single-chip microcomputer communication submodule is connected to the single-chip microcomputer for bidirectional communication. The single-chip microcomputer communication submodule sends all battery cell information to the single-chip microcomputer through protocol 3. The protocol conversion submodule is used to realize USB communication between the FPGA and the single-chip microcomputer. The protocol 3 is defined as follows: in the data processed by the pre-processing submodule, every two bytes represent the voltage value of a battery cell, and the protocol 3 converts these voltage values ​​into data fields in the USB data packet according to the order of the battery cells; The output end of the protocol conversion submodule is connected to the input end of the pre-processing submodule, and the FPGA realizes the decoupling of the single-chip microcomputer and the bridge chip through the protocol conversion submodule; the protocol conversion submodule is used to parse the acquisition command issued by the single-chip microcomputer; The output end of the pre-processing submodule is connected to the input end of the FIFO submodule, and the original data enters the FIFO submodule through the pre-processing submodule. Each daisy chain of collected data corresponds to a FIFO submodule, and the FIFO submodule is used to cache data; The pre-processing submodule is used to convert the format of the original collected data; The FIFO submodule is used to temporarily cache battery cell data; The output end of the FIFO submodule is connected to the input end of the protocol conversion submodule.

2. The information collection method of a battery cell information collection system according to claim 1, characterized in that: The steps include: S1: The MCU sends a collection command to the FPGA; S2: FPGA parses the acquisition command and controls multiple AFE chips through the bridge chip to read all battery cell information on multiple daisy chains in parallel; S3: storing all the battery cell information on the FPGA; S4: FPGA sends all the battery cell information to the single chip microcomputer.

3. A battery cell information collection method according to claim 2, characterized in that: In S1, the acquisition command specifically acquires information of all battery cells.

4. A battery cell information collection method according to claim 2, characterized in that: The acquisition command sends an acquisition instruction to the FPGA through protocol 1, and the protocol 1 is defined as: in the data field of the USB data packet, the 0th byte and the 1st byte are 0 or 1 to indicate whether to read or write a register, the 2nd byte and the 3rd byte indicate the address of the daisy chain, the 4th byte and the 5th byte indicate the relative address of each AFE chip node in each daisy chain, the 6th byte and the 7th byte indicate the register address to be read or written, if it is to read the register, the 8th byte and the 9th byte are empty; if it is to write the register, the 8th byte and the 9th byte are the values ​​to be written to the register.

5. A battery cell information collection method according to claim 2, characterized in that: In S2, the FPGA implements parallel reading of all battery cell information on multiple daisy chains through Protocol 2. Protocol 2 is a format conversion protocol for FPGA to receive AFE data, involving a protocol conversion submodule and a pre-processing submodule. The format of the received data is determined according to the matching AFE chip, and the original battery cell information is extracted from the SPI data segment and converted into the actual battery cell voltage value.

6. A battery cell information collection method according to claim 2, characterized in that: In S2, each of the daisy chains includes a plurality of AFE chips.