Battery management system test platform

Through the combination of the hardware interface module, waveform processing module, FPGA model logic module and battery model simulation unit of the battery management system test platform, the complexity and cost problems of traditional BMS testing are solved, and efficient and flexible battery management system testing is achieved.

CN120254736APending Publication Date: 2025-07-04SHANGHAI VEHINFO TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510424682.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Traditional BMS testing methods have problems such as complex design, redundancy in connection, energy loss, poor adaptability and difficulty in injection of faults, and cannot meet the needs of efficient, flexible and low-cost testing.

Method used

A battery management system test platform is adopted, including hardware interface module, waveform processing module, FPGA model logic module, real-time processing controller and battery model simulation unit. Through analog signal conversion and closed-loop testing, large-scale battery cluster simulation and multiple types of fault injection are supported to achieve high-precision dynamic parameter adjustment.

Benefits of technology

Improves the efficiency and coverage of BMS testing, simplifies the testing process, reduces costs, and improves the flexibility and accuracy of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120254736A_ABST
    Figure CN120254736A_ABST
Patent Text Reader

Abstract

The invention discloses a battery management system test platform comprising a hardware interface module used for connecting a BMS controller to be tested, receiving a differential message signal sent by the BMS controller, and sending the differential message signal to a waveform processing module; the waveform processing module is used for receiving the differential message signal, converting the differential message signal into an SPI (Serial Peripheral Interface) message signal and transmitting the SPI message signal to the FPGA model logic module; the FPGA model logic module is used for extracting the battery cell data in the SPI message signal and transmitting the battery cell data to the real-time processing controller; and the real-time processing controller is used for calling the battery model simulation unit according to the battery cell data and receiving a calling feedback result of the battery model simulation unit so as to complete a closed-loop test of the BMS controller. The platform supports large-scale battery cluster simulation, multi-type fault injection and high-precision dynamic parameter adjustment, and improves the BMS test efficiency and coverage rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery management system testing, and particularly to a battery management system test platform. Background Art

[0002] Traditional BMS testing methods rely on physical battery packs and AFE daughter boards, and have the following defects: complex design, requiring processing of multi-channel analog signals and high-precision analog-to-digital conversion; redundant connections, with multiple AFE daughter boards being prone to connection errors; energy loss, with the continuous power consumption of AFE chips affecting system energy efficiency; poor adaptability, requiring frequent hardware adjustments to adapt to different BMS controllers; and difficulty in fault injection, making it difficult to simulate various working conditions and link layer faults.

[0003] Existing technologies cannot meet the efficient, flexible, and low-cost BMS testing requirements. Therefore, a testing solution based on model simulation is urgently needed. Summary of the Invention

[0004] To solve the technical problems in the background art, the present invention proposes a battery management system test platform.

[0005] The battery management system test platform proposed by the present invention includes:

[0006] A hardware interface module for connecting to the BMS controller to be tested, receiving the differential message signal sent by the BMS controller, and sending the differential message signal to the waveform processing module;

[0007] A waveform processing module for receiving the differential message signal, converting the differential message signal into an SPI message signal, and transmitting the SPI message signal to the FPGA model logic module;

[0008] An FPGA model logic module for extracting the cell data from the SPI message signal and transmitting the cell data to the real-time processing controller;

[0009] A real-time processing controller for calling the battery model simulation unit according to the cell data and receiving the call feedback result of the battery model simulation unit to complete the closed-loop test of the BMS controller;

[0010] A battery model simulation unit for constructing a battery model in real time according to the control instructions of the real-time control terminal to implement the battery voltage signal and insulation resistance parameters corresponding to the control instructions;

[0011] The battery model simulation unit is further configured to control the battery model to complete battery operation operations according to the call instructions of the real-time processing controller, and feed back the battery operation operation results to the real-time processing controller after conversion by the FPGA model logic module.

[0012] Preferably, it further includes:

[0013] The AFE communication model simulation unit is used to form a complete closed-loop simulation environment with the BMS controller to be tested, and is deployed in the FPGA model logic module of the daisy chain simulation board. It is communicatively connected to the BMS controller to be tested through the FPGA model logic module.

[0014] Preferably, the real-time control terminal is used to obtain the battery voltage signal and insulation resistance parameters configured by the user, generate a control instruction according to the battery voltage signal and insulation resistance parameters, and transmit the control instruction to the battery model simulation unit.

[0015] Preferably, it further includes: an I / O signal electrical fault injection unit, which is used to inject ground short circuit, power short circuit, signal open circuit and virtual connection faults into the BMS controller to be tested. The I / O signal electrical fault injection unit includes a sensor fault routing board and an actuator fault routing board.

[0016] Preferably, it further includes:

[0017] The user interaction module is used to provide a visual interface to support test scenario customization and real-time monitoring. The user interaction module is communicatively connected to the real-time processing controller and the real-time control terminal respectively.

[0018] Preferably, it further includes:

[0019] The electrical fault injection unit is used to inject electrical fault modes into the BMS controller to be tested. The electrical fault modes include but are not limited to battery cell short circuit, open circuit, and reverse polarity faults.

[0020] Preferably, the BMS controller to be tested includes a real main board and at least one slave board. The battery management system test platform supports hardware-in-the-loop testing of the main board and slave boards simultaneously.

[0021] Preferably, it further includes:

[0022] The battery simulation power supply is used to provide the battery pack total positive / negative relay voltage signal to the BMS controller to be tested through the high-voltage output board.

[0023] In the present invention, the proposed battery management system test platform receives the differential signal of the BMS controller through the hardware interface module, converts it into an SPI message through the waveform processing module and inputs it into the FPGA model logic module; simulates the daisy chain communication of multiple AFE chips through the AFE communication model simulation unit, and the real-time processing controller calls the battery model to generate cell data and feedback it to the BMS to form a full closed-loop test. It supports large-scale battery cluster simulation, multi-type fault injection and high-precision dynamic parameter adjustment, improving the BMS test efficiency and coverage. Description of the Drawings

[0024] Figure 1 Schematic diagram of the platform architecture of a battery management system test platform proposed by the present invention;

[0025] Figure 2 Schematic diagram of the implementation architecture of a battery management system test platform proposed by the present invention. Specific implementation manner

[0026] Referring to Figure 1 and Figure 2 A battery management system test platform proposed by the present invention includes:

[0027] A hardware interface module, which is used to connect to the BMS controller to be tested, receive the differential message signal sent by the BMS controller, and send the differential message signal to the waveform processing module.

[0028] In this embodiment, the BMS controller to be tested includes a real main board and at least one slave board, and the battery management system test platform supports hardware-in-the-loop testing of the main board and the slave board simultaneously.

[0029] Specifically, the BMS controller to be tested is connected to the hardware interface module through a shielded twisted pair, and the hardware interface module is connected to the real-time control terminal through a pcie interface.

[0030] Specifically, the hardware interface module is further configured to receive the differential waveform after the battery model responds to the message and perform data interaction with the real-time control terminal.

[0031] A waveform processing module, which is used to receive the differential message signal, convert the differential message signal into an SPI message signal, and transmit the SPI message signal to the FPGA model logic module.

[0032] The FPGA model logic module is used to extract the cell data in the SPI message signal and transmit the cell data to the real-time processing controller.

[0033] Specifically, after the waveform processing module receives a specific differential message waveform, it is converted into a corresponding SPI message format, and the received corresponding SPI message waveform is processed into a corresponding differential waveform; the FPGA model logic module receives the SPI waveform converted by the waveform processing module, processes the waveform received through the FPGA chip pins, and outputs the corresponding response SPI message waveform, which is sent to the waveform processing module through the FPGA pins for further processing.

[0034] The real-time processing controller is used to call the battery model simulation unit according to the cell data and receive the call feedback result of the battery model simulation unit to complete the closed-loop test of the BMS controller.

[0035] Specifically, the real-time processing controller is the lower computer of the RTPC.

[0036] The battery model simulation unit is used to construct a battery model in real time according to the control instructions of the real-time control terminal, so as to realize the battery voltage signal and insulation resistance parameters corresponding to the control instructions.

[0037] The battery model simulation unit is also used to control the battery model to complete the battery operation according to the call instruction of the real-time processing controller, and feedback the battery operation result to the real-time processing controller after being converted by the FPGA model logic module.

[0038] The AFE communication model simulation unit is used to form a complete closed-loop simulation environment with the BMS controller to be tested, and is deployed in the FPGA model logic module of the daisy chain simulation board, and is communicatively connected to the BMS controller to be tested through the FPGA model logic module.

[0039] In this embodiment, the real-time control terminal is used to obtain the battery voltage signal and insulation resistance parameters configured by the user, generate control instructions according to the battery voltage signal and insulation resistance parameters, and transmit the control instructions to the battery model simulation unit.

[0040] Specifically, the real-time control terminal also interacts with the hardware interface module through the PCIE interface. The main interaction method adopts the XDMA communication method, and is connected to the upper computer software control module through the network cable for data interaction.

[0041] In this embodiment, it further includes: an I / O signal electrical fault injection unit, which is used to inject ground short circuit, power short circuit, signal open circuit and virtual connection faults into the BMS controller to be tested. The I / O signal electrical fault injection unit includes a sensor fault routing board and an actuator fault routing board.

[0042] In this embodiment, it further includes: a user interaction module, which is used to provide a visual interface to support test scenario customization and real-time monitoring. The user interaction module is communicatively connected to the real-time processing controller and the real-time control terminal respectively.

[0043] Specifically, the user configures the test environment through an intuitive interface. The system interface supports drag-and-drop operations. The user can customize the test scenario and adjust the test interface parameters according to needs.

[0044] In this embodiment, it further includes: an electrical fault injection unit, which is used to inject electrical fault modes into the BMS controller to be tested. The electrical fault modes include but are not limited to battery cell short circuit, open circuit, and reverse polarity faults.

[0045] In this embodiment, it further includes: a battery simulation power supply, which is used to provide the battery pack total positive / total negative relay voltage signal to the BMS controller to be tested through a high-voltage output board.

[0046] In this embodiment, as Figure 2 shown, after the BMS controller is powered on, it sends the corresponding command frame waveform, which is transmitted to the waveform processing module through differential twisted pair wires. The waveform processing module converts the differential waveform signal into a four-wire signal (CS, SCK, MOSI, MISO) in SPI format, and inputs the four-wire signal into the FPGA logic module. The FPGA logic module processes the signal and outputs the corresponding response frame waveform, which is then converted into the corresponding differential signal and input to the BMS controller through the twisted pair wires. At the same time, the response frame waveform is transmitted to the real-time control terminal through the PCIE interface using the XDMA communication method, and runs through the existing C code. The operation result is input to the configured user interface through the Ethernet, and data acquisition, modification, and observation are performed on the signal interfaces dragged on the upper computer interface. The user management module modifies the parameters of the dragged input interface, and the modified data is transmitted to the real-time control terminal through the Ethernet and written into the FPGA logic module. The interface parameters are modified accordingly, and a data response frame is fed back after the next master control reads the command frame and transmits it, so as to complete the simulation test of the AFE communication model simulation unit based on the AFE chip ADBMS1818 logic construction instead of the physical AFE chip in the BMS test. For example, when the master control sends a read command to read 18 voltage parameters, the normal physical AFE chip ADBMS1818 completes voltage acquisition by connecting the chip voltage input pin to the corresponding battery input; this test method can drag the corresponding voltage input interface through the user interface and modify the voltage parameters in the visual user interface. After the BMS controller sends a read voltage command, the simulation is run through the AFE communication model simulation unit and the response frame of the read command is sent; the sent message data exactly corresponds to the modified voltage parameters in the user configuration module. Thus, the physical AFE chip ADBMS1818 is completely discarded in the BMS controller test system.

[0047] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution and inventive concept of the present invention, makes equivalent substitutions or changes, and all should be covered by the protection scope of the present invention.

Claims

1. A battery management system test platform, characterized in that Including: A hardware interface module, which is used to connect to the BMS controller to be tested, receive the differential message signal sent by the BMS controller, and send the differential message signal to the waveform processing module; A waveform processing module, which is used to receive the differential message signal, convert the differential message signal into an SPI message signal, and transmit the SPI message signal to the FPGA model logic module; An FPGA model logic module, which is used to extract the cell data in the SPI message signal and transmit the cell data to the real-time processing controller; A real-time processing controller, which is used to call the battery model simulation unit according to the cell data and receive the call feedback result of the battery model simulation unit to complete the closed-loop test of the BMS controller; A battery model simulation unit, which is used to construct a battery model in real time according to the control instruction of the real-time control terminal to realize the battery voltage signal and insulation resistance parameters corresponding to the control instruction; The battery model simulation unit is also used to control the battery model to complete the battery operation according to the call instruction of the real-time processing controller, and feedback the battery operation result to the real-time processing controller after conversion by the FPGA model logic module.

2. The battery management system test platform according to claim 1, wherein, Also including: An AFE communication model simulation unit, which is used to form a complete closed-loop simulation environment with the BMS controller to be tested, is deployed in the FPGA model logic module of the daisy chain simulation board, and is communicatively connected to the BMS controller to be tested through the FPGA model logic module.

3. The battery management system test platform according to claim 1, characterized in that, The real-time control terminal is used to obtain the battery voltage signal and insulation resistance parameters configured by the user, generate a control instruction according to the battery voltage signal and insulation resistance parameters, and transmit the control instruction to the battery model simulation unit.

4. The battery management system test platform according to claim 1, characterized in that, Also including: An I / O signal electrical fault injection unit, which is used to inject ground short circuit, power short circuit, signal open circuit and virtual connection faults into the BMS controller to be tested. The I / O signal electrical fault injection unit includes a sensor fault routing board and an actuator fault routing board.

5. The battery management system test platform according to claim 1, characterized in that, Also including: A user interaction module, which is used to provide a visual interface to support test scenario customization and real-time monitoring. The user interaction module is communicatively connected to the real-time processing controller and the real-time control terminal respectively.

6. The battery management system test platform according to claim 1, wherein, Also including: An electrical fault injection unit, which is used to inject electrical fault modes into the BMS controller to be tested. The electrical fault modes include but are not limited to battery cell short circuit, open circuit, and reverse polarity faults.

7. The battery management system test platform according to claim 1, characterized in that, The BMS controller to be tested includes a real main board and at least one slave board. The battery management system test platform supports hardware-in-the-loop testing of the main board and slave boards simultaneously.

8. The battery management system test platform according to claim 1, characterized in that, Also including: A battery simulation power supply, which is used to provide the battery pack total positive / negative relay voltage signal to the BMS controller to be tested through a high-voltage output board.

Citation Information

Cited By

  • Testing device and method based on FPGA

    CN122386006A