Battery management controller and testing device thereof, electronic equipment and vehicle

By designing the test device of the battery management controller and using simulated sampling information and test instructions for testing, the existing BMS testing technology has been solved, and an efficient test environment and cost-reducing effect is achieved.

CN222600105UActive Publication Date: 2025-03-11BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421290722.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2025-03-11
Estimated Expiration
2034-06-06

AI Technical Summary

Technical Problem

The existing BMS testing technology relies on complex peripheral hardware, which is costly and has low debugging efficiency, making it difficult to effectively improve the BMS functional testing efficiency.

Method used

Design a test device for a battery management controller, including a battery information simulation sampling module and a test control module. By simulating the battery sampling information and sending test instructions, the software functional test of the battery management controller is realized without relying on an external battery analog cabinet.

Benefits of technology

Simplifies test bench connection operations, provides a simple test environment, reduces costs and improves test efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222600105U_ABST
    Figure CN222600105U_ABST
Patent Text Reader

Abstract

The utility model discloses a battery management controller and a test device thereof, an electronic device and a vehicle, the test device of the battery management controller comprises a battery information simulation sampling module and a test control module, the battery information simulation sampling module is connected with the battery management controller to be tested; the battery information simulation sampling module outputs battery simulation sampling information to the battery management controller; the test control module is connected with the battery management controller, the test control module communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs testing based on the battery simulation sampling information and the test instruction information. The test device can test the software function of the battery management controller without depending on an external battery simulation cabinet, so that the connection operation of the test bench is simplified, a simple test environment is provided for the battery management controller, and the cost is reduced and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of vehicles, in particular to a battery management controller and a testing device thereof, electronic equipment and a vehicle. Background Art

[0002] Power batteries are an important part of electric vehicles, and BMS (Battery Management Controller) is an important component of electric vehicles. The main functions of BMS are to monitor and protect battery voltage and temperature, analyze battery status, and effectively manage battery energy to ensure the safety, stability and reliability of power batteries during use. Therefore, in the field of BMS testing technology, it is of great significance to study how to improve the efficiency of BMS functional testing.

[0003] BMC (Battery Management Controller) is an important part of BMS. For BMC software function testing, there are currently mainly customized HIL (Hardware in the loop) benches and self-made tooling test benches based on the HIL test mechanism. HIL bench testing has high effectiveness and authenticity, but at the same time, HIL testing needs to rely heavily on complex peripheral hardware testing, which requires high costs and is complicated to operate during the debugging process, resulting in low debugging efficiency. Utility Model Content

[0004] The utility model aims to solve at least one of the technical problems existing in the prior art.

[0005] To this end, one purpose of the utility model is to provide a test device for a battery management controller, which uses a battery information simulation sampling module to output battery simulation sampling information to the battery management controller, uses a test control module to send test instruction information to the battery management controller, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information. The test device can implement the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0006] Therefore, a second objective of the present invention is to provide an electronic device.

[0007] Therefore, the third objective of the present invention is to provide a battery management controller.

[0008] To this end, a fourth objective of the present invention is to provide a vehicle.

[0009] To achieve the above-mentioned purpose, the first aspect of the utility model discloses a testing device for a battery management controller, comprising: a battery information simulation sampling module, which is connected to a battery management controller to be tested and is used to output battery simulation sampling information to the battery management controller; a test control module, which is connected to the battery management controller and is used to communicate with the battery management controller and send test instruction information to the battery management controller so that the battery management controller can perform testing based on the battery simulation sampling information and the test instruction information.

[0010] According to the test device of the battery management controller of the utility model, a battery information simulation sampling module and a test control module are provided. The battery information simulation sampling module is connected to the battery management controller to be tested, and the battery information simulation sampling module outputs battery simulation sampling information to the battery management controller; the test control module is connected to the battery management controller, and the test control module communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs testing based on the battery simulation sampling information and the test instruction information. The test device can realize the testing of the software functions of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0011] In addition, the test device of the battery management controller according to the utility model may also have the following additional technical features:

[0012] In some examples, the battery information simulation sampling module includes: a first communication unit, and the battery information simulation sampling module is communicatively connected to the battery management controller through the first communication unit.

[0013] In some examples, the first communication unit includes at least one communication port, and the battery information simulation sampling module is communicatively connected to the battery management controller through the at least one communication port.

[0014] In some examples, the communication port includes: any one of a CAN communication port, a CANFD communication port, a LIN communication port, a MOST communication port, a FlexRay communication port, a VAN communication port, and an Ethernet communication port.

[0015] In some examples, the communication port is configured to be writable into a custom communication protocol and to communicate with the battery manager based on the custom communication protocol.

[0016] In some examples, the battery information simulation sampling module further includes: a communication configuration unit, the communication configuration unit is connected to the first communication unit and is used to switch the communication port in the first communication unit.

[0017] In some examples, the battery information simulation sampling module further includes: a simulation sampling information input unit, which is used to receive the battery simulation sampling information input by a user and output the battery simulation sampling information to the battery management controller through the first communication unit.

[0018] In some examples, the analog sampling information input unit includes: at least one of a battery voltage information analog sampling input subunit, a battery temperature information analog sampling input subunit, a battery high voltage terminal information analog sampling input subunit, a battery insulation information analog sampling input subunit, a battery current information analog sampling input subunit, a shunt temperature information analog sampling input subunit, and a battery balancing information analog sampling input subunit.

[0019] In some examples, the test control module includes: a second communication unit, the test control module is communicatively connected to the battery management controller through the second communication unit; a simulation unit, the simulation unit is connected to the second communication unit, the simulation unit is used to provide the vehicle electronic controller with the test instruction information to the battery management controller, and transmit the test instruction information to the battery management controller through the second communication unit.

[0020] In some examples, the test control module includes: a display unit, which is connected to the battery management controller and is used to display test data and test results of the battery management controller.

[0021] In some examples, it also includes: a power supply module, which is respectively connected to the test control module and the battery management controller, and is used to control the start and stop state of the voltage output to the battery management controller and / or the size of the electrical output voltage according to the voltage control instruction output by the test control module, wherein the voltage control instruction is pre-stored in the battery management controller or received from the user.

[0022] To achieve the above-mentioned purpose, the second aspect of the present invention discloses an electronic device, which includes the testing device of the battery management controller described in the first aspect of the present invention.

[0023] According to the electronic device of the utility model, a test device is provided. When testing the battery management controller, the test device uses the battery information simulation sampling module to output the battery simulation sampling information to the battery management controller, and uses the test control module to send the test instruction information to the battery management controller. The battery management controller performs the test based on the battery simulation sampling information and the test instruction information. The test device can implement the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0024] To achieve the above-mentioned purpose, the third aspect of the present invention discloses a battery management controller, which is tested by using the test device of the battery management controller described in the first aspect of the present invention.

[0025] According to the battery management controller of the utility model, a test device is provided. When testing the battery management controller, the test device uses the battery information simulation sampling module to output battery simulation sampling information to the battery management controller, and uses the test control module to send test instruction information to the battery management controller. The battery management controller performs the test based on the battery simulation sampling information and the test instruction information. The test device can implement the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0026] To achieve the above-mentioned objective, the fourth aspect of the present utility model discloses a vehicle, which includes the battery management controller described in the third aspect of the present utility model.

[0027] According to the vehicle of the utility model, a battery management controller is provided with a test device. When testing the battery management controller, the test device uses a battery information simulation sampling module to output battery simulation sampling information to the battery management controller, and uses a test control module to send test instruction information to the battery management controller. The battery management controller performs the test based on the battery simulation sampling information and the test instruction information. The test device can implement the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0028] In addition, the vehicle according to the utility model may also have the following additional technical features:

[0029] In some examples, the vehicle includes a pure electric vehicle or a plug-in hybrid electric vehicle.

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

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

[0032] Figure 1 It is a structural schematic diagram of a test device for a battery management controller according to an embodiment of the utility model;

[0033] Figure 2 It is a structural schematic diagram of a battery information simulation sampling module according to an embodiment of the utility model;

[0034] Figure 3 is a structural schematic diagram of a battery information simulation sampling module according to another embodiment of the utility model;

[0035] Figure 4 is a structural schematic diagram of a battery information simulation sampling module according to another embodiment of the utility model;

[0036] Figure 5 is a structural schematic diagram of an analog sampling input unit according to an embodiment of the utility model;

[0037] Figure 6 is a structural schematic diagram of a test control module according to an embodiment of the utility model;

[0038] Figure 7 is a structural schematic diagram of a test control module according to another embodiment of the utility model;

[0039] Figure 8 It is a structural schematic diagram of a test device for a battery management controller according to another embodiment of the utility model. DETAILED DESCRIPTION

[0040] The embodiments of the present utility model are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present utility model are described in detail below.

[0041] Reference below Figure 1-Figure 8 A battery management controller and a test device thereof, an electronic device and a vehicle according to an embodiment of the utility model are described.

[0042] Figure 1The figure is a schematic diagram of a test device for a battery management controller according to an embodiment of the utility model. The test device 100 for a battery management controller can be applied to electronic devices of electric vehicles, wherein the electric vehicle can be any electric vehicle using a power battery as energy source, such as a pure electric vehicle and a plug-in hybrid electric vehicle.

[0043] like Figure 1 As shown, the test device 100 of the battery management controller includes: a battery information simulation sampling module 110, which is connected to the battery management controller to be tested and is used to output battery simulation sampling information to the battery management controller; a test control module 120, which is connected to the battery management controller and is used to communicate with the battery management controller and send test instruction information to the battery management controller so that the battery management controller performs a test based on the battery simulation sampling information and the test instruction information. Thus, the test device 100 of the battery management controller uses the battery information simulation sampling module 110 to replace the battery module of the HIL bench and the control system and the BMS, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information sent by the test control module 120. The test device can realize the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs but also helps to improve test efficiency.

[0044] At the same time, the battery information simulation sampling module 110 in the test device 100 of the battery management controller separates the battery management control module and the battery acquisition module as different independent test objects, which is conducive to the understanding of the test function mechanism, simplifies the test steps, and helps to further improve the test efficiency.

[0045] Thus, according to the test device 100 of the battery management controller of the utility model, a battery information simulation sampling module 110 and a test control module 120 are provided. The battery information simulation sampling module 110 is connected to the battery management controller to be tested, and the battery information simulation sampling module 110 outputs battery simulation sampling information to the battery management controller; the test control module 120 is connected to the battery management controller, and the test control module 120 communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information. The test device can realize the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0046] Figure 2FIG. 1 is a schematic diagram of a battery information simulation sampling module according to an embodiment of the present utility model. Figure 2 As shown, in one embodiment of the present utility model, the battery information simulation sampling module 110 includes: a first communication unit 1101, and the battery information simulation sampling module 110 is connected to the battery management controller through the first communication unit 1101. By setting the first communication unit 1101 to the battery information simulation sampling module 110, it is convenient to communicate with different battery management controllers. Different communication protocols can also be defined through the first communication unit 1101 to improve the communication compatibility between the battery information simulation sampling module 110 and different battery management controllers, so as to realize more simulation functions of battery-related information to correspond to the changing battery management controller function test requirements.

[0047] In one embodiment of the utility model, the first communication unit 1101 includes at least one communication port, and the battery information simulation sampling module 110 is communicatively connected to the battery management controller through at least one communication port; by setting at least one communication port to the first communication unit 1101, it is convenient to communicate with different battery management controllers, and different communication protocols can be defined for each communication port to improve the communication compatibility between the battery information simulation sampling module 110 and different battery management controllers, thereby realizing more battery-related information simulation functions to meet the changing battery management controller function testing requirements.

[0048] In one embodiment of the utility model, the communication port includes: any one of a CAN (Controller Area Network) communication port, a CANFD communication port, a LIN (Local Interconnect Network) communication port, a MOST (Media Oriented Systems Transport) communication port, a FlexRay communication port, a VAN (Vehicle Area Network) communication port, and an Ethernet communication port; by setting the communication port to any one of a CAN communication port, a CANFD communication port, a LIN communication port, a MOST communication port, a FlexRay communication port, a communication port, and an Ethernet communication port, and the communication port follows the corresponding communication protocol, it is not only convenient for the battery information simulation sampling module 110 to communicate with different battery management controllers, but also can improve the communication compatibility between the battery information simulation sampling module 110 and different battery management controllers, thereby realizing more simulation functions of battery-related information to correspond to the changing functional testing requirements of the battery management controller.

[0049] In one embodiment of the utility model, the communication port is configured to be able to write a custom communication protocol and to communicate with the battery manager based on the custom communication protocol; by configuring the communication port to be able to write a custom communication protocol, the communication compatibility between the battery information simulation sampling module 110 and different battery management controllers can be further improved, thereby realizing more battery-related information simulation functions to correspond to the changing battery management controller function testing requirements.

[0050] Figure 3 FIG. 1 is a schematic diagram of a battery information simulation sampling module according to another embodiment of the present utility model. Figure 3 As shown, in one embodiment of the utility model, the battery information simulation sampling module 110 also includes: a communication configuration unit 1102, the communication configuration unit 1102 is connected to the first communication unit 1101, and is used to switch the communication port in the first communication unit 1101; by switching the communication port in the first communication unit 1101 through the communication configuration unit 1102, the communication protocol and communication port that meet the test requirements and the battery management controller to be tested can be quickly switched, thereby helping to improve the efficiency of the test.

[0051] Figure 4 FIG. 1 is a schematic diagram of the structure of a battery information simulation sampling module according to another embodiment of the present utility model. Figure 4As shown, in one embodiment of the present utility model, the battery information simulation sampling module 110 also includes: a simulation sampling information input unit 1103, the simulation sampling information input unit 1103 is used to receive the battery simulation sampling information input by the user, and output the battery simulation sampling information to the battery management controller through the first communication unit 1101.

[0052] Specifically, the simulation sampling information input unit 1103 can provide an information input interface to the user, through which the user can input the required simulation sampling information. For example, the information input interface provided by the simulation sampling information input unit 1103 can be set on a touch screen (such as a central control screen), and the user uses the touch screen to input or select a test item, that is, battery simulation sampling information, and the simulation sampling information input unit 1103 receives the battery simulation sampling information input by the user, and outputs the battery simulation sampling information to the battery management controller through the first communication unit 1101. Through the simulation sampling information input unit 1103 and the first communication unit 1101, the battery simulation sampling information input by the user according to the test requirements can be directly transmitted to the battery management controller, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information, thereby helping to improve the efficiency of the test.

[0053] Figure 5 FIG. 1 is a schematic diagram of the structure of an analog sampling input unit according to an embodiment of the present utility model. Figure 5 As shown, in one embodiment of the present utility model, the analog sampling information input unit 1103 includes: at least one of a battery voltage information analog sampling input subunit 11031, a battery temperature information analog sampling input subunit 11032, a battery high voltage end information analog sampling input subunit 11033, a battery insulation information analog sampling input subunit 11034, a battery current information analog sampling input subunit 11035, a shunt temperature information analog sampling input subunit 11036 and a battery balancing information analog sampling input subunit 11037.

[0054] Specifically, the multiple subunits included in the simulation sampling information input unit 1103 can provide multiple information input sub-interfaces to the user, and the user can input the required simulation sampling information through the sub-interfaces. For example, the multiple information input sub-interfaces provided by the multiple subunits included in the simulation sampling information input unit 1103 can be set on a touch screen (such as a central control screen), and the user uses the touch screen to input or select the test sub-items corresponding to the subunits, that is, different battery simulation sampling information. Therefore, the battery simulation sampling information input by the user can be received through the simulation sampling information input unit 1103, and the battery simulation sampling information is output to the battery management controller through the first communication unit 1101, which helps to improve the efficiency of the test.

[0055] Specifically, in this embodiment, the analog sampling information input unit 1103 includes: at least one of a battery voltage information analog sampling input subunit 11031, a battery temperature information analog sampling input subunit 11032, a battery high voltage end information analog sampling input subunit 11033, a battery insulation information analog sampling input subunit 11034, a battery current information analog sampling input subunit 11035, a shunt temperature information analog sampling input subunit 11036 and a battery balancing information analog sampling input subunit 11037.

[0056] Specifically, the battery voltage information simulation sampling input subunit 11031 battery voltage sampling simulation may include the sampling value information of all single cell voltages, the highest single cell voltage sampling value and its serial number, the lowest single cell voltage sampling value and its serial number, the single cell voltage sampling disconnection fault and its serial number, the single cell voltage sampling short circuit fault and its serial number, the battery collector chip abnormality and its serial number. Among them, the battery collector chip has the function of collecting battery temperature and battery voltage. Therefore, when the battery voltage sampling function is abnormal, the battery collector chip will be judged as abnormal.

[0057] The battery temperature information analog sampling input subunit 11032 may include all battery cell temperature sampling value information, the highest temperature sampling value and its serial number, the lowest temperature sampling value and its serial number, the temperature sampling disconnection fault and its serial number, the temperature sampling capacitor breakdown fault and its serial number, and the battery collector chip abnormality and its serial number. Among them, the battery collector chip has the function of collecting battery temperature and battery voltage. Therefore, when the battery temperature sampling function is abnormal, the battery collector chip will be judged to be abnormal. Among them, the temperature includes battery cell temperature sampling, copper busbar connection point temperature sampling, and module connection temperature sampling.

[0058] The battery high voltage end information analog sampling input subunit 11033 may include battery positive high voltage (pack+) sampling value simulation, battery negative high voltage (pack-) sampling value simulation, battery load end positive high voltage (link+) sampling simulation value, battery load end negative high voltage (link-) sampling simulation value, and each high voltage sampling line break fault simulation.

[0059] The battery insulation information simulation sampling input subunit 11034 may include the insulation value of the pack+ end to the ground, the insulation value of the pack- end to the ground, the insulation value of the link+ end to the ground, the insulation value of the link- end to the ground, and other insulation fault related information simulation.

[0060] The battery current information analog sampling input subunit 11035 may include current magnitude simulation, current direction simulation, and current zero drift simulation, and is suitable for Hall current sampling simulation or shunt current sampling simulation.

[0061] The shunt temperature information analog sampling input subunit 11036 may include temperature sampling value simulation, line break simulation, and capacitor breakdown simulation.

[0062] The battery balancing information simulation sampling input subunit 11037 may include each cell voltage balancing start-up state (on and off) simulation, balancing time simulation, and balancing related fault simulation, such as balancing open circuit simulation and balancing short circuit simulation.

[0063] Therefore, the battery simulation sampling information input by the user can be received through the simulation sampling information input unit 1103, and the battery simulation sampling information can be output to the battery management controller through the first communication unit 1101, thereby helping to improve the efficiency of the test.

[0064] Figure 6 is a schematic diagram of the structure of a test control module according to an embodiment of the utility model, such as Figure 6 As shown, in one embodiment of the utility model, the test control module 120 includes: a second communication unit 1201, and the test control module 120 is communicated with the battery management controller through the second communication unit 1201; a simulation unit 1202, and the simulation unit 1202 is connected to the second communication unit 1201, and the simulation unit 1202 is used to provide the vehicle electronic controller with test instruction information for the battery management controller, and transmit the test instruction information to the battery management controller through the second communication unit 1201.

[0065] Specifically, this embodiment sets a second communication unit 1201 to the test control module 120 to facilitate communication connection between the test control module 120 and different battery management controllers. Different communication protocols can also be defined through the second communication unit 1201 to improve the communication compatibility and test efficiency between the test control module 120 and different battery management controllers, thereby realizing simulation functions of more battery-related information to cope with the changing battery management controller function testing requirements.

[0066] At the same time, in this embodiment, by setting a simulation unit 1202 to the test control module 120, the simulation unit 1202 provides the vehicle electronic controller with test instruction information for the battery management controller, and transmits the test instruction information to the battery management controller through the second communication unit 1201. Among them, the test instruction information provided by the simulation unit 1202 can be pre-stored or received from user input. Therefore, the battery management controller performs testing based on the battery simulation sampling information and the test instruction information sent by the test control module 120, which helps to improve the efficiency of the test.

[0067] Figure 7 is a schematic diagram of the structure of a test control module according to another embodiment of the utility model, such as Figure 7As shown, in one embodiment of the utility model, the test control module 120 includes: a display unit 1203, the display unit 1203 is connected to the battery management controller, and is used to display the test data and test results of the battery management controller; by setting the display unit 1203 to the test control module 120, the display unit 1203 is connected to the battery management controller, the display unit 1203 displays the test data and test results of the battery management controller, and the tester can intuitively see the test data and test results of the battery management controller through the display unit 1203.

[0068] Figure 8 FIG. 1 is a schematic diagram of a test device for a battery management controller according to another embodiment of the present invention. Figure 8 As shown, in one embodiment of the utility model, the test device 100 of the battery management controller further includes: a power module 130, which is connected to the test control module 120 and the battery management controller respectively, and is used to control the start and stop state of the voltage output to the battery management controller and / or the size of the electrical output voltage according to the voltage control instruction output by the test control module 120. Among them, the voltage control instruction is pre-stored in the battery management controller, or received by the user input; through the power module 130, it is convenient to provide the battery management controller with the voltage required for the test, and at the same time, through the voltage control instruction output by the test control module 120, the start and stop state of the voltage output to the battery management controller and the size of the electrical output voltage can be controlled by the power module 130, so as to meet different test needs, thereby helping to enrich the test content of the test device 100 of the battery management controller.

[0069] In a specific embodiment of the utility model, the test device 100 of the battery management controller comprises a battery information simulation sampling module 110 and a corresponding first communication unit 1101, a test control module 120 and a corresponding second communication unit 1201, a power module 130, and a battery management controller to be tested. The test control module 120 is connected to the BMC to be tested via a communication line, and the battery information simulation sampling module 110 is connected to the BMC to be tested via a communication line. The power module 130 is connected to the BMC to be tested via a hard line, and the power module 130 is connected to the corresponding communication device.

[0070] In a specific implementation, the communication connection device can be a communication device with different communication formats such as controller area network CAN, CANFD, LIN, MOST, FlexRay network, VAN, Ethernet, etc. The network communication method described here is explained using CAN communication as an example. The BMC to be tested has two communication buses, namely the power network and the subnet. If there is no subnet between the main controller and the acquisition controller in the battery management system, a set of subnet communication protocols is customized. The content of the customized subnet communication protocol should at least include the battery information simulation sampling module 110. The network communication method is explained using CAN communication as an example, and other communication methods are also applicable. The power network is the network communication channel used for information exchange between the BMC and other ECUs (Electric Control Units) of the vehicle. The subnet is a network communication channel used for information exchange between the BMC and the acquisition controller.

[0071] In a specific implementation, the functions of the battery information simulation sampling module 110 include a CAN communication configuration unit, a battery voltage simulation unit, a temperature sampling simulation unit, a battery high voltage end sampling simulation unit, a battery insulation sampling simulation unit, a current sampling simulation unit, a shunt temperature sampling simulation unit, and a battery balancing simulation unit. The battery voltage sampling simulation unit may include the sampling value information of all single cell voltages, the highest single cell voltage sampling value and its sequence number, the lowest single cell voltage sampling value and its sequence number, the single cell voltage sampling disconnection fault and its sequence number, the single cell voltage sampling short circuit fault and its sequence number, and the battery collector chip abnormality and its sequence number. Among them, the battery collector chip has the function of collecting battery temperature and battery voltage. Therefore, when the battery voltage sampling function is abnormal, the battery collector chip will be judged as abnormal in the corresponding position.

[0072] In the specific implementation, the battery temperature sampling simulation unit includes all the battery cell temperature sampling value information, the highest temperature sampling value and its serial number, the lowest temperature sampling value and its serial number, the temperature sampling disconnection fault and its serial number, the temperature sampling capacitor breakdown fault and its serial number, the battery collector chip abnormality and its serial number. Among them, the battery collector chip has the function of collecting battery temperature and battery voltage. Therefore, when the battery voltage sampling function is abnormal, the battery collector chip will be judged as abnormal. The temperature includes battery cell temperature sampling, copper busbar connection point temperature sampling, and module connection temperature sampling.

[0073] In the specific implementation, the simulation of battery high-voltage end sampling includes battery positive high-voltage (pack+) sampling value simulation, battery negative high-voltage (pack-) sampling value simulation, battery load end positive high-voltage (link+) sampling simulation value, battery load end negative high-voltage (link-) sampling simulation value, and each high-voltage sampling line break fault simulation.

[0074] In a specific implementation, the battery insulation sampling simulation includes the insulation value of the pack+ end to the ground, the insulation value of the pack- end to the ground, the insulation value of the link+ end to the ground, the insulation value of the link- end to the ground, and other insulation fault related information simulation.

[0075] In a specific implementation, the battery current sampling simulation unit includes current magnitude simulation, current direction simulation, and current zero drift simulation, and is suitable for Hall current sampling simulation or shunt current sampling simulation.

[0076] In a specific implementation, the shunt temperature sampling simulation includes temperature sampling value simulation, line break simulation, and capacitor breakdown simulation.

[0077] In a specific implementation, the battery balancing simulation includes the simulation of the voltage balancing start-up state (on and off) of each cell, the balancing time simulation, and the balancing related fault simulation, such as the balancing open circuit simulation and the balancing short circuit simulation.

[0078] In a specific implementation, the power module 130 has an output voltage control and adjustment function, which is implemented by the voltage control instruction issued by the control module 120, including controlling the output of the voltage, adjusting the voltage, and adjusting the load current. The voltage control instruction issued by the control module 120 can be pre-stored or received from a user input.

[0079] In a specific implementation, the test control module 120 has the following functions: it can detect and display each signal of each message sent from the BMC power network; it can simulate the interaction signals between other nodes of the vehicle and the BMC; it can automatically track and save the data messages of the CAN bus network; it can set CAN initialization parameters, set the bus baud rate, set the normal transceiver mode and the listen-only mode, set the single filter and dual filter modes; and it supports the software-related parameter calibration function according to project needs.

[0080] In the specific implementation, if the actual application scenario communication unit between the BMC and the collector is not CAN, a subnet communication unit that is consistent with the communication type of the monitoring host computer can be added. After adding the software test communication unit interface, the BMC has two mode states, which can be recorded as test mode and normal mode, and supports the identification of data transmission of the collection simulation host computer. When the BMC is connected to the battery collector, it enters the normal working mode state, receives the voltage and temperature data information processed by the collector, and performs relevant logical function judgments and implementations. When the BMC is not connected to the battery collector, if it receives data information sent to the collection subnet by the battery collection simulation host computer, it enters the test mode working state, and equates the data information on the collection subnet with the battery-related data information transmitted by the collector in the working mode state, and performs relevant logical function judgments and implementations.

[0081] In a specific implementation, according to the subnet communication protocol, the battery information simulation sampling module 110 can be completely independently developed and implemented, or it can be developed and implemented through the database files corresponding to the protocol and configured in third-party software; the test control module 120 can be completely independently developed and implemented according to the power network communication protocol, or it can be developed and implemented through the database files corresponding to the protocol and configured in third-party software.

[0082] In a specific implementation, the charge and discharge test process of the test device 100 using the battery management controller is summarized as follows:

[0083] Connect the BMC to be tested to various test equipment and test tools, build a software function test environment, adjust the battery information simulation sampling module 110, the test control module 120 and the power module 130, so that the BMC can normally receive battery-related data and enter a normal working state without any abnormal alarm information. After the BMC receives the data information sent to the subnet by the battery information simulation sampling module 110 and the data information sent to the power network by the test control module 120, it will perform functional logic judgment on the data information: whether the battery status information is normal (normal means that the battery-related sampling information is normal, and the interaction information between the vehicle and the BMC is normal), and whether there is an abnormal alarm fault at present.

[0084] The specific implementation steps are as follows:

[0085] Step S01: Connect the BMC to various test equipment and test tools to build a test environment.

[0086] Step S02: adjust the power module 130 to output the normal working voltage required by the BMC, and adjust the communication state of the battery information simulation sampling module 110 to simulate sending the data input by the battery collector end and the high voltage collection module end to the subnet.

[0087] Step S03: Observe whether the BMC can normally receive the data information sent to the acquisition subnet by the battery information simulation sampling module 110, if yes, go to step S04, otherwise go to step S02. The BMC to be tested receives the data information sent to the subnet by the battery information simulation sampling module 110, which is equivalent to the battery information sampling data at the battery collector end and the high-voltage acquisition module end, and performs logical judgment on the battery status information.

[0088] Step S04: Observe whether the battery status data information on the test control module 120 is normal, if yes, go to step S05, otherwise go to step S03.

[0089] (The BMC to be tested determines whether the battery status information is normal according to the current test environment: if it is, it enters the high-voltage power-on ready state; if not, it re-determines whether the battery status information is normal according to the received data information;)

[0090] Step S05: in the test control module 120, a high voltage power-on instruction is sent to other ECUs of the simulated vehicle on the power network in a simulated manner;

[0091] Step S06: Observe the test control module 120 to check whether the BMC can enter the charge and discharge process and maintain a normal charge and discharge state under the current conditions. If yes, proceed to step 07; otherwise, proceed to step 05. The BMC to be tested determines whether the software can enter the charge and discharge process according to the current test environment and conditions. If yes, it enters the charge and discharge process state; if not, it re-performs a logical judgment on entering the charge and discharge process according to the received data information.

[0092] Step S07: observe the test control module 120, and the BMC enters the charging and discharging state.

[0093] Step S08: Observe the data information displayed by the test control module 120, test the data information that needs to be verified, and check whether the actual result is equal to the expected result (within the tolerance range). If so, proceed to step S09, otherwise proceed to step S10.

[0094] Step S09: Observe that the test result of the test control module 120 is: passed (the actual result is consistent with the expected result).

[0095] Step S10: Observe that the test result of the test control module 120 is: failed (the actual result is inconsistent with the expected result).

[0096] The steps and processes of the above specific embodiments can be applied to manual testing of software functions as well as automated testing of software functions. The implementation of automated testing of software functions requires the use of the same communication device for the functions of the battery information simulation sampling module 110 and the test control module 120 with the help of a third-party testing tool, and the development of corresponding functions in the same software project, so that the same testing device can simultaneously meet the needs of collecting subnet battery information simulation and monitoring of test data on the BMC power network, thereby realizing automated testing of software functions.

[0097] The steps of setting up the test environment include: connecting the positive and negative wiring harness terminals of the BMC low-voltage power supply to the positive and negative output terminals of the power module 130. If the controller has other necessary wake-up hard-wire signals, the wake-up signal also needs to be connected to the positive terminal of the program-controlled voltage output; powering the power module 130 (after 220V household electricity, the power module 130 can support the output of DC low voltage), connecting the communication control line of the module power module 130 to the PC (Personal Computer) terminal, opening the test control module 120 in the PC terminal, configuring the CAN communication channel, starting the test control module 120, and adjusting the low-voltage program-controlled voltage to a normal output state; connecting the BMC subnet to the test CAN device and to the PC, starting the battery information simulation sampling module 110, and adjusting the battery sub-sampling information as needed. According to the signal logic relationship between the BMC subnet and the power network, adjust the information interaction between the subnet and the power network so that the BMC enters a normal working state.

[0098] In summary, according to the test device 100 of the battery management controller of the utility model, a battery information simulation sampling module 110 and a test control module 120 are provided. The battery information simulation sampling module 110 is connected to the battery management controller to be tested, and the battery information simulation sampling module 110 outputs battery simulation sampling information to the battery management controller; the test control module 120 is connected to the battery management controller, and the test control module 120 communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs testing based on the battery simulation sampling information and the test instruction information. The test device can realize the testing of the software functions of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0099] A further embodiment of the present invention provides an electronic device, which includes the test device 100 for a battery management controller described in any one of the above embodiments of the present invention. Therefore, the specific implementation of the electronic device is similar to the specific implementation of the test device 100 for a battery management controller described above. For details, please refer to the description of the test device 100 for a battery management controller described above. To reduce redundancy, it will not be repeated here.

[0100] In a specific embodiment, the electronic device can be used in an electric vehicle. The electric vehicle can be any electric vehicle that uses a power battery as energy source, such as a pure electric vehicle and a plug-in hybrid electric vehicle.

[0101] According to the electronic device of the utility model, a battery information simulation sampling module 110 and a test control module 120 are provided. The battery information simulation sampling module 110 is connected to the battery management controller to be tested, and the battery information simulation sampling module 110 outputs the battery simulation sampling information to the battery management controller; the test control module 120 is connected to the battery management controller, and the test control module 120 communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information. The test device can realize the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0102] A further embodiment of the present invention provides a battery management controller, which is tested using the battery management controller test device 100 described in any one of the above embodiments of the present invention. Therefore, the specific test method of the battery management controller is similar to the specific implementation method of the battery management controller test device 100 described above, and the details can be found in the description of the battery management controller test device 100 described above, which will not be repeated here to reduce redundancy.

[0103] In a specific embodiment, the battery management controller can be used in an electric vehicle. The electric vehicle can be any electric vehicle that uses a power battery as energy source, such as a pure electric vehicle and a plug-in hybrid electric vehicle.

[0104] According to the battery management controller of the utility model, when testing the battery management controller, the test device 100 of the battery management controller is provided with a battery information simulation sampling module 110 and a test control module 120, the battery information simulation sampling module 110 is connected to the battery management controller to be tested, and the battery information simulation sampling module 110 outputs battery simulation sampling information to the battery management controller; the test control module 120 is connected to the battery management controller, the test control module 120 communicates with the battery management controller, sends test instruction information to the battery management controller, and the battery management controller performs testing based on the battery simulation sampling information and the test instruction information. The test device can realize the testing of the software functions of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0105] A further embodiment of the present invention provides a vehicle, which includes the battery management controller described in any one of the above embodiments of the present invention.

[0106] In a specific embodiment, the vehicle may be any electric vehicle that uses a power battery as energy source, such as a pure electric vehicle and a plug-in hybrid electric vehicle.

[0107] According to the vehicle of the utility model, its battery management controller has a test device 100 for the battery management controller, and the test device 100 for the battery management controller is provided with a battery information simulation sampling module 110 and a test control module 120. The battery information simulation sampling module 110 is connected to the battery management controller to be tested, and the battery information simulation sampling module 110 outputs battery simulation sampling information to the battery management controller; the test control module 120 is connected to the battery management controller, and the test control module 120 communicates with the battery management controller and sends test instruction information to the battery management controller, and the battery management controller performs a test based on the battery simulation sampling information and the test instruction information. The test device can realize the test of the software function of the battery management controller without relying on an external battery simulation cabinet, thereby simplifying the test bench connection operation and providing a simple test environment for the battery management controller, which not only helps to reduce costs, but also helps to improve test efficiency.

[0108] In addition, other structures and functions of the vehicle according to the above embodiments of the present invention are well known to ordinary technicians in the field and will not be described in detail to reduce redundancy.

[0109] 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 utility model. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example.

[0110] Although the embodiments of the present invention 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 invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A test device for a battery management controller, characterized in that: include: A battery information simulation sampling module, the battery information simulation sampling module is connected to the battery management controller to be tested, and is used to output battery simulation sampling information to the battery management controller; A test control module is connected to the battery management controller and is used to communicate with the battery management controller and send test instruction information to the battery management controller so that the battery management controller performs a test based on the battery simulation sampling information and the test instruction information.

2. The test device for the battery management controller according to claim 1, characterized in that: The battery information simulation sampling module includes: A first communication unit, the battery information simulation sampling module is communicatively connected with the battery management controller through the first communication unit.

3. The test device for the battery management controller according to claim 2, characterized in that: The first communication unit includes at least one communication port, and the battery information simulation sampling module is communicatively connected with the battery management controller via at least one of the communication ports.

4. The test device for a pool management controller according to claim 3, characterized in that: The communication port includes: any one of a CAN communication port, a CANFD communication port, a LIN communication port, a MOST communication port, a FlexRay communication port, a VAN communication port, and an Ethernet communication port.

5. The test device for the battery management controller according to claim 3, characterized in that: The communication port is configured to be capable of being written with a custom communication protocol and capable of communicating with the battery manager based on the custom communication protocol.

6. The test device for a battery management controller according to any one of claims 3 to 5, characterized in that: The battery information simulation sampling module also includes: A communication configuration unit, wherein the communication configuration unit is connected to the first communication unit and is used to switch the communication port in the first communication unit.

7. The test device for a battery management controller according to claim 2, characterized in that: The battery information simulation sampling module also includes: The analog sampling information input unit is used to receive the battery analog sampling information input by a user, and output the battery analog sampling information to the battery management controller through the first communication unit.

8. The test device for the battery management controller according to claim 7, characterized in that: The analog sampling information input unit includes: at least one of a battery voltage information analog sampling input subunit, a battery temperature information analog sampling input subunit, a battery high voltage terminal information analog sampling input subunit, a battery insulation information analog sampling input subunit, a battery current information analog sampling input subunit, a shunt temperature information analog sampling input subunit and a battery balancing information analog sampling input subunit.

9. The test device for a battery management controller according to claim 1, characterized in that: The test control module comprises: A second communication unit, the test control module is communicatively connected with the battery management controller via the second communication unit; A simulation unit, wherein the simulation unit is connected to the second communication unit, and the simulation unit is used to provide the vehicle electronic controller with the test instruction information for the battery management controller, and transmit the test instruction information to the battery management controller through the second communication unit.

10. The test device for a battery management controller according to claim 1, characterized in that: The test control module comprises: A display unit is connected to the battery management controller and is used to display test data and test results of the battery management controller.

11. The test device for a battery management controller according to claim 1, characterized in that: Also includes: A power supply module, which is respectively connected to the test control module and the battery management controller, and is used to control the start and stop state of the voltage output to the battery management controller and / or the size of the electrical output voltage according to the voltage control instruction output by the test control module, wherein the voltage control instruction is pre-stored in the battery management controller or received from user input.

12. An electronic device, characterized in that: A testing device comprising a battery management controller as described in any one of claims 1-11.

13. A battery management controller, characterized in that: A testing device comprising a battery management controller as described in any one of claims 1-11.

14. A vehicle, characterized in that: Comprising a battery management controller as claimed in claim 13.