Balancing function test method and device of battery management system and electronic equipment
By supercharged testing of the battery cell when the equalization circuit of the battery management system is in an unconducting state, and sending an equalization command to turn on the equalization circuit when the equalization condition is met, the problem of difficulty in testing the equalization function of the battery management system in the prior art is solved, and automated testing and efficient equalization function verification are realized in the dormant state.
Patent Information
- Application Number
- CN202510034283.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-04-15
AI Technical Summary
The prior art is difficult to effectively test the balancing function of the battery management system, especially when the battery management system is in a dormant state.
When the equalization circuit in the first control unit of the battery management system is in an unconducting state, the connected battery cell is pressurized to determine whether the preset equalization condition is met, and when the conditions are met, the equalization command is sent through the second control unit, the control equalization circuit is turned on to determine the execution result of the equalization command.
It realizes automated testing of the balance function in the sleep state of the battery management system, improves the comprehensiveness and efficiency of the test, and ensures the effectiveness of the balance function.
Smart Images

Figure CN119828010A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicles, and in particular to a method, device and electronic equipment for testing the equalization function of a battery management system. Background Art
[0002] In the manufacturing process of power batteries, there are inevitably inconsistencies due to differences in production processes, uneven materials and other issues. In addition, the operating conditions of electric vehicles during use lead to uncertainties in the battery pack's charging and discharging methods, current size and discharge time, resulting in different thermal environments within the battery pack, and differences in the capacity of each battery cell after a period of use.
[0003] In order to reduce the impact of the difference in capacity of each battery cell, the current commonly used balancing method is passive balancing, that is, releasing the cells with higher power through the balancing circuit to improve battery consistency. In order to obtain the effectiveness of the balancing strategy in practical applications, how to test the effect of the balancing function is a problem that needs to be solved. Summary of the invention
[0004] The embodiments of the present application provide a method, a device and an electronic device for testing the balancing function of a battery management system to solve the problem of how to test the effect of the balancing function.
[0005] To solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for testing an equalization function of a battery management system, the method comprising:
[0007] When a balancing circuit in a first control unit in a battery management system BMS is in a non-conducting state, boosting a first battery cell in the battery cells connected to the balancing circuit, and detecting whether the battery cell meets a preset balancing condition;
[0008] When the battery cell meets the balancing condition, after sending a balancing instruction to the first control unit through the second control unit in the BMS, the second control unit is controlled to enter a dormant state;
[0009] Turning on the balancing circuit according to the balancing instruction by the first control unit;
[0010] The execution result of the balancing instruction is determined according to the current of the balancing circuit after being turned on, and the test result of the balancing function of the BMS is determined based on the execution result.
[0011] Optionally, determining the execution result of the balancing instruction according to the current of the balancing circuit after being turned on includes:
[0012] collecting the current of the balancing circuit after being turned on;
[0013] In a case where the current is greater than or equal to a first preset current value, determining that the equalization instruction is executed successfully;
[0014] When the current is less than the first preset current value, it is determined that the execution of the balancing instruction fails.
[0015] Optionally, the detecting whether the battery cell meets a preset balancing condition includes:
[0016] Detecting a first voltage value of the first battery cell, and detecting a second voltage value of at least one second battery cell in the battery cells;
[0017] When the difference between the first voltage value and the second voltage value is greater than or equal to a preset threshold, determining that the battery cell meets the preset balancing condition;
[0018] When the difference between the first voltage value and the second voltage value is smaller than the preset threshold, it is determined that the battery cell does not meet the preset balancing condition.
[0019] Optionally, detecting a second voltage value of at least one second battery cell in the battery cells includes:
[0020] The minimum voltage value in the battery cell is detected, wherein the minimum voltage value is the second voltage value, and the cell corresponding to the minimum voltage value is the second cell.
[0021] Optionally, after controlling the second control unit to enter a sleep state, the method further includes:
[0022] Control the second control unit to wake up according to a preset time interval;
[0023] The second control unit detects an electrical parameter of a battery cell connected to the balancing circuit in a wake-up state, wherein the electrical parameter includes at least one of a voltage and a current;
[0024] The second control unit sends a balancing instruction to the first control unit according to the electrical parameter in the awake state.
[0025] Optionally, the second control unit is electrically connected to a bench in a hardware-in-the-loop HIL system; and the controlling the second control unit to enter a dormant state comprises:
[0026] Powering off the second control unit and detecting the current of the rack;
[0027] When the current of the rack is less than a second preset current value, it is determined that the second control unit enters a sleep state.
[0028] In a second aspect, an embodiment of the present application provides a device for testing an equalization function of a battery management system, the device comprising:
[0029] A first detection module, used for boosting a first battery cell connected to the balancing circuit in a first control unit in a battery management system BMS when the balancing circuit is in a non-conducting state, and detecting whether the battery cell meets a preset balancing condition;
[0030] a sending module, configured to control the second control unit in the BMS to enter a dormant state after sending a balancing instruction to the first control unit when the battery cell meets the balancing condition;
[0031] A conduction module, configured to conduct the equalization circuit according to the equalization instruction through the first control unit;
[0032] A determination module is used to determine an execution result of the balancing instruction according to the current of the balancing circuit after being turned on, and determine a test result of the balancing function of the BMS based on the execution result.
[0033] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method for testing the balancing function of the battery management system described in the first aspect are implemented.
[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the equalization function testing method of the battery management system described in the first aspect are implemented.
[0035] In a fifth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method for testing the equalization function of the battery management system as described in the first aspect.
[0036] In an embodiment of the present application, a method for testing the battery balancing function of a BMS is provided when the second control unit is in a dormant state. When the second control unit is in a dormant state, an automated test of the balancing function of the battery management system is performed, thereby improving the comprehensiveness of the test. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 This is one of the flow charts of a method for testing the equalization function of a battery management system provided in an embodiment of the present application;
[0039] Figure 2 It is a structural diagram of a battery management system balancing function test system provided in an embodiment of the present application;
[0040] Figure 3 This is the second flowchart of a method for testing the equalization function of a battery management system provided in an embodiment of the present application;
[0041] Figure 4 is a schematic diagram of a test result of an equalization function of a battery management system provided in an embodiment of the present application;
[0042] Figure 5 It is a structural schematic diagram of a battery management system balancing function test device provided in an embodiment of the present application;
[0043] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] The embodiments of the present application provide a method, a device and an electronic device for testing the balancing function of a battery management system to solve the problem of how to test the effect of the balancing function.
[0046] See also Figure 1 , Figure 1 is a flow chart of a method for testing the equalization function of a battery management system provided in an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0047] Step 101: when a balancing circuit in a first control unit in a battery management system BMS is in a non-conducting state, boosting a first battery cell connected to the balancing circuit, and detecting whether the battery cell meets a preset balancing condition;
[0048] Step 102: When the battery cell meets the balancing condition, after sending a balancing instruction to the first control unit through the second control unit in the BMS, the second control unit is controlled to enter a dormant state;
[0049] Step 103, turning on the equalization circuit according to the equalization instruction by the first control unit;
[0050] Step 104: determining an execution result of the balancing instruction according to the current of the balancing circuit after being turned on, and determining a test result of the balancing function of the BMS based on the execution result.
[0051] The battery management system (BMS) may include a first control unit and a second control unit, and the first control unit and the second control unit jointly control the battery management system. In some embodiments, the second control unit may be a BMS controller, and the first control unit may be a BMS sub-board.
[0052] The first control unit includes a balancing circuit. The balancing circuit may include a plurality of chips. The plurality of chips are respectively connected to a plurality of battery cells. The balancing circuit is used to balance the electric quantity of the plurality of battery cells.
[0053] The test system can be found in Figure 2 As shown, the Hardware in the Loop (HIL) system is connected to the BMS controller and the cell channel simulation system, and the BMS sub-board is connected to the cell channel simulation system. The HIL main system provides the voltage of the cell channel simulation system.
[0054] In the first control unit (such as Figure 2 When the balancing circuit in the BMS subboard (shown in FIG. 1 ) is not turned on, the cell voltages of all battery cells can be set to the same voltage value, and the current in the balancing circuit is 0 A. When the first battery cell in the battery cell is boosted, it is detected whether the battery cell meets the preset balancing condition.
[0055] The preset equalization condition may be that the difference between the voltage of the first cell and the average voltage of other battery cells is greater than a preset threshold, or the difference between the voltage of the first cell and the voltage of the second cell with the smallest voltage among the voltage cells is greater than a preset threshold. The first cell may be one or more cells in the battery cell, and the second cell may also be one or more cells in the battery cell. When there are multiple battery cells that need to be equalized, the multiple cells may be pressurized sequentially or simultaneously.
[0056] In addition, when current balancing is required, the current value may be detected to determine whether a balancing condition is reached.
[0057] When the battery cell meets the balancing condition, the second control unit sends a balancing instruction to the first control unit, so that the first control unit controls the balancing circuit to perform the power balancing function according to the balancing instruction. After the second control unit completes sending the balancing instruction, the second control unit is powered off and enters a dormant state.
[0058] The first control unit turns on the balancing circuit according to the balancing instruction, and the balancing circuit connects each battery cell to balance the power of the battery cells.
[0059] In order to obtain the result of power balancing, the current in the balancing circuit after conduction can be obtained, and the current value can be detected by an instrument or calculated according to a formula. If the current in the balancing circuit changes from 0A or a smaller current value close to 0A that has never been conducted to a larger current value, it means that the power balancing function works as expected when the second control unit is in a dormant state, and the above larger current value can be set according to the actual test circuit.
[0060] After acquiring the current of the equalizing circuit after conduction, the test system may determine the execution result of the equalizing instruction according to the acquired current, or may determine the execution result of the equalizing instruction manually.
[0061] The embodiment of the present application provides a method for testing the BMS balancing function when the second control unit is in sleep mode, which expands the test scope of the BMS function and improves the automation and efficiency of the test.
[0062] Optionally, in some implementations, determining the execution result of the balancing instruction according to the current of the balancing circuit after being turned on includes:
[0063] collecting the current of the balancing circuit after being turned on;
[0064] In a case where the current is greater than or equal to a first preset current value, determining that the equalization instruction is executed successfully;
[0065] When the current is less than the first preset current value, it is determined that the execution of the balancing instruction fails.
[0066] After the balancing circuit is turned on, the current in the balancing circuit is collected. If the current is greater than or equal to the first preset current value, it indicates that the balancing instruction is executed successfully; if the current is less than the first preset threshold, it indicates that the balancing instruction fails to be executed. The first preset threshold can be set according to the actual circuit situation.
[0067] The balancing function of the BMS is evaluated according to the balancing instruction. For example, when the balancing instruction is successfully executed, it indicates that the balancing function of the BMS is good; when the balancing instruction fails to be executed, it indicates that the balancing function of the BMS is poor.
[0068] Optionally, in some implementations, the detecting whether the battery cell meets a preset balancing condition includes:
[0069] Detecting a first voltage value of the first battery cell, and detecting a second voltage value of at least one second battery cell in the battery cells;
[0070] When the difference between the first voltage value and the second voltage value is greater than or equal to a preset threshold, determining that the battery cell meets the preset balancing condition;
[0071] When the difference between the first voltage value and the second voltage value is smaller than the preset threshold, it is determined that the battery cell does not meet the preset balancing condition.
[0072] During the process of boosting the first cell, the voltage value of the first cell may be detected. When the difference between the voltage value of the first cell and the voltage value of the second cell reaches a preset threshold, it indicates that the equilibrium condition is met.
[0073] In addition, the first unit boost value may be preset to a value, and the difference between the preset value and the voltage value of the second unit is greater than a preset threshold value.
[0074] The second cell may be other battery cells among all the battery cells except the first cell, and the second cell may also be one of the battery cells among the battery cells except the first cell.
[0075] When the balancing condition is met, the balancing circuit performs a balancing function on the power of the single cell.
[0076] Optionally, in some embodiments, the detecting a second voltage value of at least one second cell in the battery cells comprises:
[0077] The minimum voltage value in the battery cell is detected, wherein the minimum voltage value is the second voltage value, and the cell corresponding to the minimum voltage value is the second cell.
[0078] During a specific test, one or more second monomers may be selected according to the test situation.
[0079] Optionally, in some implementations, after controlling the second control unit to enter a sleep state, the method further includes:
[0080] Control the second control unit to wake up according to a preset time interval;
[0081] The second control unit detects an electrical parameter of a battery cell connected to the balancing circuit in a wake-up state, wherein the electrical parameter includes at least one of a voltage and a current;
[0082] The second control unit sends a balancing instruction to the first control unit according to the electrical parameter in the awake state.
[0083] After the second control unit goes into sleep mode, it can be awakened at a preset time interval. For example, it can be awakened once every half an hour. During each awakening, the voltage, current and other parameters of the battery cells are detected, and the balance condition is determined based on the electrical parameters. When the balance condition is met, the second control unit sends a balance instruction to the first control unit. When the balance condition is not met, the second control unit does not send a balance instruction to the first control unit and can continue to enter the sleep state.
[0084] According to the above method, the second control unit can be awakened and dormant periodically, and detect whether it is necessary to send an equalization instruction during the awakening period. In this way, the battery management system can be tested when the second control unit is in a dormant state, which can improve the comprehensiveness of the test.
[0085] Optionally, in some embodiments, the second control unit is electrically connected to a gantry in the HIL system; and the controlling the second control unit to enter a dormant state comprises:
[0086] Powering off the second control unit and detecting the current of the rack;
[0087] When the current of the rack is less than a second preset current value, it is determined that the second control unit enters a sleep state.
[0088] The HIL system is connected to the second control unit via a hard line, and the HIL system is connected to the battery cell and provides an analog voltage to the battery cell.
[0089] After the second control unit is powered off, the current of the rack is detected. If the current of the rack is less than the second preset current value, it indicates that the second control unit has entered a dormant state. The second preset current value can be set according to actual conditions.
[0090] Through the above method, the accuracy of the sleep state test can be improved.
[0091] In order to facilitate further understanding of the present embodiment, the present application is described in detail below through specific embodiments.
[0092] When testing the balancing function, when the vehicle is powered on, the balancing instructions sent by the BMS (battery management system) can be received. By reading these instructions, the effectiveness of the balancing strategy can be determined. However, when the battery management system is in sleep mode, it is impossible to receive CAN signals to obtain instructions. At this time, it is necessary to set up a test environment to test the effectiveness of the balancing strategy in the BMS sleep state, and to implement automated testing to ensure that the test is fully effective and shorten the test time.
[0093] See also Figure 2 , the embodiments of the present application can be based on Figure 2 The test system shown is implemented, and the test system includes a host computer, a BMS controller (ie, the second control unit), a BMS sub-board (ie, the first control unit), a HIL main system, and a battery cell channel simulation system.
[0094] The controller under test is a BMS controller and its sub-board, the BMS sub-board includes a balancing circuit, and the battery cell channel simulation system includes a battery cell;
[0095] The BMS controller is hard-wired to the HIL system and is tested using the analog voltage provided by the HIL system;
[0096] The voltage of the single cell is provided with a simulated voltage by the HIL system, and the HIL system includes a BMS bench.
[0097] Environment model setting: The environment model is set in the HIL system and can automatically perform the test. It includes the logic signals, communication signals and analog signals of the controller under test. The environment model is downloaded to the lower computer (HIL system) by generating code, so that it can automatically perform the test.
[0098] like Figure 3 As shown, according to the number of cells, they are connected to the corresponding battery cell channel simulation system. Each chip of the daughter board is connected to the battery cell respectively, and each daughter board chip is connected to each battery cell respectively. When the BMS controller detects that a certain cell needs to be balanced, it sends the corresponding channel instruction to the BMS daughter board, and the BMS daughter board turns on the corresponding balancing circuit to discharge. When the BMS controller is in sleep mode and powered off, the single cell channel simulation system collects the daughter board channel current to determine the correctness of the balance.
[0099] The specific test plan is as follows:
[0100] In the HIL control system, the problem of setting the environmental model and the voltage of all single cells are set to the same value, such as 3.2V, to observe the non-conducting state of the balancing channel circuit. At this moment, the balancing channel circuits in the daughter board chip are all in the non-conducting state, and the observed recovery current should float around 0A.
[0101] Balance trigger test: When the cell (first cell) voltage is pulled up to the balance threshold, the battery's state of charge (SOC) correction produces a difference, and the BMS controller sends a balance command to the BMS daughter board. At this moment, the BMS controller is powered off and enters a sleep state, and the recovery current of the battery cell with the corresponding sequence number of the high voltage is observed. At this time, the BMS main board is under high voltage, and the daughter board channel current is used to determine whether the balance channel is correctly opened.
[0102] Among them, the on-current of the balancing channel (i.e., the balancing circuit) can be measured by an instrument or obtained by calculation, which is not limited here. When the recovery current = on-current, and the current is near the preset current value, it can be judged that the BMS sub-board executes the balancing instruction sent by the BMS controller when the BMS controller is in the sleep state, and the balancing circuit performs balanced discharge. When the chip collects voltage, it is not a full-cycle collection, and there will be a line break detection in the middle, which can be detected based on the balancing duty cycle. Therefore, when testing the current, it can be judged that a large current output is detected within a moment, and the balancing test in the sleep state can be achieved.
[0103] For example, it is determined whether the current of each battery cell (i.e., battery cell) is greater than a preset current value (i.e., a first preset current value). The preset current value can be set according to the actual test circuit, for example, half of the balancing current, or any slightly larger current value, or a value determined according to the current of the test circuit, which is not limited here. If the current of each battery cell is greater than the current value, 1 is output; if it is less than the current value, 0 is output, thereby realizing the test of the true balancing state of each battery cell channel. The above process is as follows: Figure 4 As shown, it should be noted that Figure 4 The process shown is only one implementation mode and does not constitute a limitation to this embodiment.
[0104] When the BMS strategy is configured with the self-wake-up sleep balance function, self-wake-up is performed within a period to determine the sleep balance requirement, and this method can also be used to test the effectiveness.
[0105] In the embodiment of the present application, the state of a specific single cell is set to detect whether the balancing function in the dormant state works as expected, and the BMS is simulated to automatically wake up after a certain period to detect whether it continues to execute the dormant balancing command.
[0106] Take the case where the No. 1 cell enters the discharge balance mode after the vehicle is powered off as an example, and perform a dormant balance test. The test method for other cells to be tested is the same as that for this use case. After powering on, create a cell SOC inconsistency condition to ensure that a dormant balance requirement is issued before powering off. By observing the bench current and the balance channel current, the power-off state and the balance start-up state are judged, and the test case shown in Table 1 is obtained.
[0107] Table 1
[0108]
[0109] As can be seen from the above table, at time W5, a balancing requirement is detected and the balancing function is executed. After the balancing function is executed, the current of the single cell (ie, the battery cell) is greater than 0.07.
[0110] Furthermore, taking the self-wake-up sleep balancing test of the above-mentioned monomer as an example, self-wake-up sleep balancing means that there is a demand for sleep balancing before the BMS controller is powered off. The BMS mainboard will then self-wake up at a certain interval to detect whether it will continue to perform sleep balancing and turn on the corresponding discharge channel. The conditions for issuing sleep balancing are consistent with the above-mentioned embodiments. It is assumed that the self-wake-up time is 30 minutes, and the controller power-on current is 0.2A after 1800 seconds. At this time, it is judged that sleep balancing is still in demand, and the state changes of the mainboard and subboard after sleep are visualized by current changes, and the test case shown in Table 2 is obtained:
[0111] Table 2
[0112]
[0113]
[0114] Convert the above use cases into Python executable interface use cases, download the environment model to the lower computer, and automatically execute it through Python calling the device interface to analyze the consistency between the actual results and the expected results.
[0115] In the embodiment of the present application, a closed-loop simulation of the controller current and the BMS daughter board balancing circuit current recovery is established in the HIL test environment, so that the battery sleep balancing and self-wake-up become testable, and the actual execution channel opening and closing of the BMS controller balancing instruction can be verified, and the effectiveness of the BMS daughter board balancing circuit can be tested.
[0116] The environmental model of this application is not only applicable to sleep balancing, but also to normal charge and discharge balancing and high-voltage balancing. This test scheme further ensures that the balancing strategy is fully verified and improves efficiency through automated testing of use cases.
[0117] With respect to a test method for the passive balancing function of an electric vehicle battery management system, in which the balancing function of the BMS software is verified under actual operating conditions to ensure that the voltage difference of the battery at the charging end is reasonably balanced, the embodiment of the present application tests the balancing function of the BMS controller in a sleep state, changes the environment and method, and solves the problem of testing in a state where it is impossible to directly receive commands through conventional CAN signals.
[0118] A method for verifying the effectiveness of the equalization function of a battery management system is implemented by connecting a test battery assembly to a bench host computer. This method verifies whether the equalization function of the BMS is effective through a variety of preset test conditions (such as charging, discharging, and standing, etc.), and uses detailed capacity detection and equalization current comparison to ensure the accuracy of the equalization function. In the above method, the final equalization instruction is only sent through INCAN. In the embodiment of the present application, compared with the above method, the test system realizes the opening of the equalization channel by connecting to the real BMS daughter board system, which can improve the test accuracy.
[0119] A new type of BMS testing method and system, which is specially designed to test the performance and reliability of the battery management system by simulating various charging and discharging scenarios. This method can accurately evaluate the responsiveness and fault handling capabilities of the BMS in complex practical application scenarios. The object to be tested is the battery pack as a whole, and the effectiveness of balancing is judged by testing the state of the battery pack under various conditions such as charging and discharging. This method cannot determine whether a specific battery cell that should be balanced is actually turned on, and cannot determine the state of the passive balancing of the battery cell. If the application layer logic is wrong, some channels of the battery cells that should not be balanced will be turned on, over-discharging, and reducing battery life. Compared with the above method, the verification of the actual execution effect of the balancing circuit control sub-board of the present application is not only compatible with active state working condition tests such as charging and discharging, but also can realize automatic testing when the BMS mainboard is in sleep or self-wake-up state.
[0120] The embodiment of the present application simulates the performance of the BMS in normal working conditions and various extreme working conditions, including no-load, accuracy, protection function and power consumption detection. The control computer, programmable logic controller (PLC), power supply module and detection module are used to extensively test the performance and protection function of the BMS in various working conditions, including no-load detection, accuracy detection, protection function detection and power consumption detection, aiming to comprehensively evaluate the various functions of the BMS. It mainly tests that the basic functions of the BMS can be realized, but does not guarantee the reliable realization of the BMS balancing function.
[0121] The embodiment of the present application realizes:
[0122] Balance test in sleep state: Automated test of the balance function in the BMS sleep state, which solves the problem of being unable to test in the inactive state and increases the comprehensiveness of the test.
[0123] Self-wake-up function test: The self-wake-up function of BMS can ensure that BMS can automatically wake up and perform balancing when necessary, improving the practicality and reliability of the system.
[0124] Testing under high-voltage conditions such as charging and discharging can obtain the true balancing effect of each battery cell, ensure the correctness of channel opening, and eliminate the possibility of hardware failure.
[0125] The BMS balancing and self-wake-up functions in the dormant state can improve the reliability and safety of the battery system. It allows testing the self-wake-up function of the BMS to ensure that the system can maintain its functionality and responsiveness even when the BMS is not active.
[0126] In addition, when the BMS is active, it can also verify the correctness of the balancing of each battery cell channel and eliminate various balancing issues such as channel errors or hardware failures.
[0127] See also Figure 5 , Figure 5 is a structural diagram of a battery management system balancing function test device provided in an embodiment of the present application, such as Figure 5 As shown, the battery management system balancing function test device 500 includes:
[0128] A first detection module 501 is used to boost the voltage of a first battery cell connected to the balancing circuit in the first control unit in the battery management system BMS, and detect whether the battery cell meets a preset balancing condition when the balancing circuit in the first control unit in the battery management system BMS is in a non-conducting state;
[0129] A sending module 502, configured to control the second control unit in the BMS to enter a dormant state after sending a balancing instruction to the first control unit when the battery cell meets the balancing condition;
[0130] A conduction module 503, configured to conduct the equalization circuit according to the equalization instruction through the first control unit;
[0131] The determination module 504 is used to determine the execution result of the balancing instruction according to the current of the balancing circuit after being turned on, and determine the test result of the balancing function of the BMS based on the execution result.
[0132] Optionally, the determining module includes:
[0133] A collection submodule, used for collecting the current of the equalization circuit after being turned on;
[0134] A first determination submodule, configured to determine that the equalization instruction is successfully executed when the current is greater than or equal to a first preset current value;
[0135] The second determining submodule is used to determine that the execution of the balancing instruction fails when the current is less than the first preset current value.
[0136] Optionally, the first detection module 501 includes:
[0137] A first detection submodule, used to detect a first voltage value of the first cell, and detect a second voltage value of at least one second cell in the battery cells;
[0138] A third determination submodule, configured to determine that the battery cell satisfies the preset balancing condition when the difference between the first voltage value and the second voltage value is greater than or equal to a preset threshold;
[0139] The fourth determination submodule is configured to determine that the battery cell does not meet the preset balancing condition when the difference between the first voltage value and the second voltage value is smaller than the preset threshold value.
[0140] Optionally, the detection submodule is specifically used for:
[0141] The minimum voltage value in the battery cell is detected, wherein the minimum voltage value is the second voltage value, and the cell corresponding to the minimum voltage value is the second cell.
[0142] Optionally, the device further comprises:
[0143] A wake-up module, used to control the second control unit to wake up according to a preset time interval;
[0144] A second detection module, configured for the second control unit to detect an electrical parameter of a battery cell connected to the balancing circuit in an awake state, wherein the electrical parameter includes at least one of a voltage and a current;
[0145] The second control unit determines whether to send a balancing instruction to the first control unit according to the electrical parameter in the awake state.
[0146] Optionally, the second control unit is electrically connected to a gantry in a hardware-in-the-loop HIL system; the sending module 502 includes:
[0147] A second detection submodule, used to power off the second control unit and detect the current of the rack;
[0148] The fifth determining submodule is used to determine that the second control unit enters a sleep state when the current of the rack is less than a second preset current value.
[0149] The battery management system's equalization function test device can achieve Figure 1 The various processes implemented in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described again here.
[0150] The equalization function test device of the battery management system in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, etc., and can also be a server, a network attached storage (NAS), a personal computer (PC), etc., which is not specifically limited in the embodiment of the present application.
[0151] like Figure 6 As shown, an embodiment of the present application further provides an electronic device 600, comprising: a processor 601, a memory 602, and a program stored in the memory 602 and executable on the processor 601. When the program is executed by the processor 601, each process of the embodiment of the equalization function test method of the above-mentioned battery management system is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0152] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the embodiment of the equalization function test method of the battery management system described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0153] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0154] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0155] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0156] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for testing the equalization function of a battery management system, characterized in that: include: When a balancing circuit in a first control unit in a battery management system BMS is in a non-conducting state, boosting a first battery cell in the battery cells connected to the balancing circuit, and detecting whether the battery cell meets a preset balancing condition; When the battery cell meets the balancing condition, after sending a balancing instruction to the first control unit through the second control unit in the BMS, the second control unit is controlled to enter a dormant state; Turning on the balancing circuit according to the balancing instruction by the first control unit; The execution result of the balancing instruction is determined according to the current of the balancing circuit after being turned on, and the test result of the balancing function of the BMS is determined based on the execution result.
2. The method according to claim 1, characterized in that The step of determining the execution result of the balancing instruction according to the current of the balancing circuit after being turned on includes: collecting the current of the balancing circuit after being turned on; In a case where the current is greater than or equal to a first preset current value, determining that the equalization instruction is executed successfully; When the current is less than the first preset current value, it is determined that the execution of the balancing instruction fails.
3. The method according to claim 2, characterized in that The detecting whether the battery cell meets a preset balancing condition includes: Detecting a first voltage value of the first battery cell, and detecting a second voltage value of at least one second battery cell in the battery cells; When the difference between the first voltage value and the second voltage value is greater than or equal to a preset threshold, determining that the battery cell meets the preset balancing condition; When the difference between the first voltage value and the second voltage value is smaller than the preset threshold, it is determined that the battery cell does not meet the preset balancing condition.
4. The method according to claim 3, characterized in that The detecting a second voltage value of at least one second cell in the battery cells comprises: The minimum voltage value in the battery cell is detected, wherein the minimum voltage value is the second voltage value, and the cell corresponding to the minimum voltage value is the second cell.
5. The method according to any one of claims 1 to 4, characterized in that After controlling the second control unit to enter a dormant state, the method further includes: Control the second control unit to wake up according to a preset time interval; The second control unit detects an electrical parameter of a battery cell connected to the balancing circuit in a wake-up state, wherein the electrical parameter includes at least one of a voltage and a current; The second control unit sends a balancing instruction to the first control unit according to the electrical parameter in the awake state.
6. The method according to any one of claims 1 to 4, characterized in that The second control unit is electrically connected to a bench in a hardware-in-the-loop HIL system; and the controlling the second control unit to enter a dormant state includes: Powering off the second control unit and detecting the current of the rack; When the current of the rack is less than a second preset current value, it is determined that the second control unit enters a sleep state.
7. A battery management system balancing function test device, characterized in that: include: A first detection module, used for boosting a first battery cell connected to the balancing circuit in a first control unit in a battery management system BMS when the balancing circuit is in a non-conducting state, and detecting whether the battery cell meets a preset balancing condition; a sending module, configured to control the second control unit in the BMS to enter a dormant state after sending a balancing instruction to the first control unit when the battery cell meets the balancing condition; A conduction module, configured to conduct the equalization circuit according to the equalization instruction through the first control unit; A determination module is used to determine an execution result of the balancing instruction according to the current of the balancing circuit after being turned on, and determine a test result of the balancing function of the BMS based on the execution result.
8. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method for testing the equalization function of a battery management system as claimed in any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for testing the equalization function of a battery management system according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method for the equalization function of a battery management system as claimed in any one of claims 1 to 6.