Fault status information processing method, analog front-end simulator and test system
The analog front-end emulator facilitates efficient and cost-effective testing of BMUs by simulating circuit states, addressing the inefficiencies and costs associated with manual chip damage in existing methods.
Patent Information
- Application Number
- CN202411037642.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing methods for testing equalization fault in battery management units (BMUs) damage the analog front-end chip, leading to reduced test efficiency and increased costs due to the need for manual intervention and chip replacement.
An analog front-end emulator processes fault status information by receiving and determining the state information of balancing circuits, allowing the battery management unit to perform multiple fault tests without damaging the emulator, thereby improving test efficiency and reducing costs.
The solution enables efficient and reliable testing of balancing fault functions in BMUs by simulating circuit states, enhancing test efficiency and reducing costs without manual intervention or chip damage.
Smart Images

Figure CN118567900B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to testing technology, and in particular to a method for processing fault status information, an analog front-end simulator and a testing system. Background Art
[0002] The Battery Management System (BMS) is an indispensable and important component of electric vehicles. It is the hub for managing and monitoring power batteries. It manages, maintains, and monitors each module of the battery. It is responsible for preventing overcharge and overdischarge of the battery, extending the battery life, and helping the battery to operate normally. The Battery Management Unit (BMU) is the core component of the BMS. The battery management unit has the function of determining the balancing information.
[0003] At present, the scheme adopted for equalization fault test of battery management unit includes: when performing equalization fault test, battery management unit controls at least part of the equalization circuit in analog front end (Analog Front End, AFE) chip to open, and obtains the status information of at least part of the equalization circuit. If the analog front end chip needs to set fault status information, the tester needs to manually open, short or heat the equalization circuit in the analog front end chip to make the analog front end chip set the corresponding fault status information. However, this method will damage the analog front end chip. When performing the next equalization fault test, the damaged analog front end chip needs to be replaced, which not only reduces the test efficiency of testing the equalization fault function of the battery management unit, but also increases the test cost of testing the equalization fault function of the battery management unit. Summary of the invention
[0004] In view of the above problems, the present application provides a method for processing fault status information, an analog front-end emulator and a test system, which can solve the problems of low test efficiency and high test cost for testing the equalization fault function of a battery management unit.
[0005] In a first aspect, the present application provides a method for processing fault status information, which is applied to an analog front-end emulator, and the method includes: receiving first status information of each equalizing circuit in a first equalizing circuit set sent by a terminal device; the first status information of at least some of the equalizing circuits in the first equalizing circuit set is first fault status information, and the first equalizing circuit set is included in a second equalizing circuit set simulated by the analog front-end emulator; when the first equalizing circuit set is the same as the second equalizing circuit set, determining the second status information of each equalizing circuit in the second equalizing circuit set according to the first status information of each equalizing circuit in the second equalizing circuit set; when the first equalizing circuit set is different from the second equalizing circuit set, determining the fault status of each equalizing circuit in the first equalizing circuit set according to the first status information of each equalizing circuit in the first equalizing circuit set. The method comprises the steps of: determining the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; determining the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least part of the balancing circuits is the second fault state information; sending the second state information of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines the balancing circuit fault information according to the second state information of each balancing circuit in the second balancing circuit set and sends it to the terminal device, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0006] In the technical solution of the embodiment of the present application, the balancing circuit fault information determined by the battery management unit is determined based on the second state information of each balancing circuit in the second balancing circuit set sent by the analog front-end emulator. The second state information of each balancing circuit in the second balancing circuit set sent by the analog front-end emulator enables the battery management unit to determine different balancing circuit fault information, thereby realizing multiple balancing fault tests of the battery management unit. In this way, multiple balancing fault tests of the battery management unit can be realized without the need for the tester to operate the analog front-end emulator or to damage the analog front-end emulator, which not only improves the test efficiency of testing the balancing fault function of the battery management unit, but also reduces the test cost of testing the balancing fault function of the battery management unit. The embodiment of the present application further has the following effects: during a test process, the analog front-end emulator receives the first state information of all balancing circuits sent by the terminal device, and sends the second state information of all balancing circuits to the battery management unit. The battery management unit can determine all balancing circuits. Corresponding balancing circuit fault information can be tested for all balancing circuits, the ability of the battery management unit to determine the balancing circuit fault information, which can improve the test efficiency compared to the ability of the battery management unit to determine the balancing circuit fault information for part of the balancing circuit; when the first balancing circuit set is different from the second balancing circuit set, the analog front-end emulator will determine the third state information of each balancing circuit in the third balancing circuit set by itself, and determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set, so that the second state information of each balancing circuit in the second balancing circuit set is uniquely determined, thereby improving the reliability of the second state information of each balancing circuit in the second balancing circuit set, and also solving the problem that when the analog front-end emulator receives the state information of part of the balancing circuit, it cannot send the state information of all the balancing circuits to the battery management unit, thereby improving the effectiveness of information transmission.
[0007] In some embodiments, before receiving the first status information of each balancing circuit in the first balancing circuit set sent by the terminal device, the method also includes: receiving the first battery cell parameter value of each channel in the first channel set sent by the terminal device; determining the second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator according to the first battery cell parameter value of each channel in the first channel set; wherein the first channel set is included in the second channel set; sending the second battery cell parameter value of each channel in the second channel set to the battery management unit, so that the battery management unit determines and sends the balancing information of the first balancing circuit set to the terminal device, so that the terminal device determines that the balancing determination test of the battery management unit passes according to the balancing information; wherein the difference between the voltage value of the voltage channel corresponding to the first balancing circuit set and the voltage value of the voltage channel corresponding to the third balancing circuit set is greater than a preset value; the third balancing circuit set is a set of the second balancing circuit set minus the first balancing circuit set. In the technical scheme of the embodiment of the present application, first, the first battery cell parameter value obtained by the analog front-end emulator is sent by the terminal device. The analog front-end emulator obtains the first battery cell parameter value, which does not rely on the complex wiring between the analog front-end emulator and the terminal device. It only needs to simulate the communication connection between the front-end emulator and the terminal device, which reduces the wiring difficulty before testing and improves the test efficiency of the balanced determination test of the battery management unit; second, after each test is completed, the next test can be carried out without changing the test connection line, which is conducive to realizing automated testing, reducing the time cost of testing, and further improving the test efficiency of the balanced determination test of the battery management unit; third, the first battery cell parameter value of each channel in the first channel set is sent by the terminal device, and the terminal device can independently control the first battery cell parameter value of each channel in the first channel set, thereby being able to cover the test requirements that require independent control of the parameter values collected by each acquisition channel, thereby improving the comprehensiveness of the test.
[0008] In some embodiments, after sending the second battery cell parameter value of each channel in the second channel set to the battery management unit, the method also includes: receiving the balancing current value of each balancing circuit in the first balancing circuit set sent by the terminal device; determining the balancing current value of each balancing circuit in the second balancing circuit set according to the balancing current value of each balancing circuit in the first balancing circuit set; sending the balancing current value of each balancing circuit in the second balancing circuit set to the sent battery management unit, so that the battery management unit determines and sends the balancing circuit startup information to the terminal device, so that the terminal device determines the test result of the startup judgment function of the balancing circuit of the battery management unit according to the balancing circuit startup information. In the technical solution of the embodiment of the present application, the battery management unit also has a function of judging whether the balancing circuit is turned on. The balancing current value of each balancing circuit in the first balancing circuit set is received by the analog front-end emulator, and the balancing current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the test result of the startup judgment function of the balancing circuit of the battery management unit can be determined, which solves the problem that there is no real balancing circuit in the analog front-end emulator, resulting in the battery management unit being unable to obtain the balancing current value of the balancing circuit, and then resulting in the battery management unit being unable to determine whether the first balancing circuit set is turned on, thereby improving the comprehensiveness of the test system applied to the analog front-end emulator for the balancing test of the battery management unit.
[0009] In some embodiments, after sending the second status information of each balancing circuit in the second balancing circuit set to the battery management unit, the method also includes: receiving the zero current value of each balancing circuit in at least some of the balancing circuits sent by the terminal device; determining the target current value of each balancing circuit in the second balancing circuit set according to the zero current value of each balancing circuit in at least some of the balancing circuits; the target current value of each balancing circuit in at least some of the balancing circuits is a zero current value; sending the target current value of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends the balancing circuit shutdown information to the terminal device, so that the terminal device determines the test result of the shutdown judgment function of the balancing circuit of the battery management unit according to the balancing circuit shutdown information. In the technical solution of the embodiment of the present application, the battery management unit also has a shutdown judgment function of the balancing circuit. The zero current value of each balancing circuit in at least part of the balancing circuits is received by the analog front-end emulator, and the target current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the test result of the shutdown judgment function of the balancing circuit of the battery management unit can be determined, which solves the problem that there is no real balancing circuit in the analog front-end emulator, resulting in the battery management unit being unable to obtain the balancing current value of the balancing circuit, resulting in the battery management unit being unable to determine whether at least part of the faulty balancing circuit is disconnected, thereby improving the comprehensiveness of the balancing test of the battery management unit by the test system applied to the analog front-end emulator.
[0010] In some embodiments, the first fault state information is the same as the second fault state information, and the first fault state information includes at least one of the following: fault type indication information, fault current value, fault temperature value; or, the first fault state information includes fault current value and / or fault temperature value, and the second fault state information includes fault type indication information. In the technical solution of the embodiment of the present application, the first fault state information is the same as the second fault state information, so that the analog front-end simulator does not need to convert the first fault state information of each equalizing circuit of at least part of the equalizing circuit, thereby reducing the calculation cost of the analog front-end simulator; the first fault state information includes fault current value and / or fault temperature value, and the second fault state information includes fault type indication information, and the number of characters required for the fault type indication information is less than the number of characters of the fault current value and / or fault temperature value, thereby reducing the amount of data of the second fault state information sent by the analog front-end simulator to the battery management unit, and then more state information of the equalizing circuit can be transmitted within a fixed time, thereby improving the transmission efficiency of the state information.
[0011] In some embodiments, the first state information of a part of the balancing circuits in the first balancing circuit set is the first fault state information, the first state information of another part of the balancing circuits in the first balancing circuit set is the first balancing state information, and the second state information of the other part of the balancing circuits is the second balancing state information; the first balancing state information is the same as the second balancing state information, and the first balancing state information includes at least one of the following: balancing indication information, balancing current value, balancing temperature value; or, the first balancing state information includes balancing current value and / or balancing temperature value, and the second balancing state information includes balancing indication information. In the technical solution of the embodiment of the present application, the first balancing state information is the same as the second balancing state information, so that the analog front-end simulator does not need to convert the first balancing state information of each balancing circuit of another part of the balancing circuits in the first balancing circuit set, thereby reducing the calculation cost of the analog front-end simulator; the first balancing state information includes balancing current value and / or balancing temperature value, and the second balancing state information includes balancing indication information, and the number of characters required for the balancing indication information is less than the number of characters of the balancing current value and / or balancing temperature value, thereby reducing the amount of data of the second balancing state information sent by the analog front-end simulator to the battery management unit, thereby more balancing circuit state information can be transmitted within a fixed time, and the transmission efficiency of the state information is improved.
[0012] In some embodiments, the second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator is determined based on the first battery cell parameter value of each channel in the first channel set, including: when the first channel set is the same as the second channel set, the received first battery cell parameter value of each channel in the second channel set is determined as the second battery cell parameter value of each channel in the second channel set; when the first channel set is different from the second channel set, the third battery cell parameter value of each channel in the third channel set is determined; the third channel set is the set of the second channel set excluding the first channel set; the second battery cell parameter value of each channel in the second channel set is determined based on the first battery cell parameter value of each channel in the first channel set and the third battery cell parameter value of each channel in the third channel set. In the technical solution of the embodiment of the present application, when the first channel set and the second channel set are the same, in a test process, the simulation front-end emulator receives the first battery cell parameter values of all channels sent by the terminal device, and sends the second battery cell parameter values of all channels to the battery management unit. The battery management unit can determine the status information and / or balancing information of the battery cells corresponding to all channels, so that the battery management unit can test the determination ability of the status information and / or balancing information of all channels. Compared with testing the determination ability of the status information and / or balancing information of the battery management unit for some channels, the test efficiency can be improved; when the first channel set and the second channel set are different, the simulation front-end emulator will determine the battery cell parameter values of the third channel set by itself, and then determine the battery cell parameter values of the second channel set to be sent to the battery management unit according to the received battery cell parameter values of the first channel set and the battery cell parameter values of the third channel set determined by itself, so that the battery cell parameter values of each channel in the second channel set are uniquely determined, thereby improving the reliability of the transmitted battery cell parameter values. In addition, the problem that the battery cell parameter values of all channels cannot be sent to the battery management unit when the battery cell parameter values of some channels are received is solved, thereby improving the effectiveness of information transmission.
[0013] In a second aspect, the present application provides an analog front-end emulator, which includes: a first communication unit, used to receive first status information of each equalizing circuit in a first equalizing circuit set sent by a terminal device; the first status information of at least some of the equalizing circuits in the first equalizing circuit set is first fault status information, and the first equalizing circuit set is included in a second equalizing circuit set simulated by the analog front-end emulator; a determination unit, used to: when the first equalizing circuit set and the second equalizing circuit set are the same, determine the second status information of each equalizing circuit in the second equalizing circuit set according to the first status information of each equalizing circuit in the second equalizing circuit set; when the first equalizing circuit set and the second equalizing circuit set are different, determine the second status information of each equalizing circuit in the first equalizing circuit set according to the first status information of each equalizing circuit in the first equalizing circuit set. second state information; determining the third state information of each balancing circuit in the third balancing circuit set; the third balancing circuit set is the set of the second balancing circuit set minus the first balancing circuit set; determining the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least some balancing circuits is second fault state information; a second communication unit, used to send the second state information of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines the balancing circuit fault information according to the second state information of each balancing circuit in the second balancing circuit set and sends it to the terminal device, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0014] In a third aspect, the present application provides a test system, characterized in that the test system includes: a terminal device, an analog front-end emulator and a battery management unit; the analog front-end emulator is used to: receive first status information of each balancing circuit in a first balancing circuit set sent by the terminal device; the first status information of at least some balancing circuits in the first balancing circuit set is first fault status information, and the first balancing circuit set is included in a second balancing circuit set simulated by the analog front-end emulator; when the first balancing circuit set is the same as the second balancing circuit set, the second status information of each balancing circuit in the second balancing circuit set is determined according to the first status information of each balancing circuit in the second balancing circuit set; when the first balancing circuit set is different from the second balancing circuit set, the first balancing circuit set is determined according to the first status information of each balancing circuit in the first balancing circuit set. The invention relates to a method for controlling a battery management unit to provide a battery management unit with second state information of each balancing circuit in a set; determining the third state information of each balancing circuit in a third balancing circuit set; the third balancing circuit set is a set of the second balancing circuit set minus the first balancing circuit set; determining the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least some balancing circuits is second fault state information; sending the second state information of each balancing circuit in the second balancing circuit set to a battery management unit; the battery management unit is used to determine and send the balancing circuit fault information to the terminal device according to the second state information of each balancing circuit in the second balancing circuit set; the terminal device is used to determine the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0015] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.
[0017] Figure 1 The architecture of the test system of some embodiments is shown in FIG. Figure 1 ;
[0018] Figure 2 is a flowchart of a method for processing fault status information in some embodiments;
[0019] Figure 3 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 1 ;
[0020] Figure 4 is a flowchart of a method for processing a current value of an equalizing circuit in some embodiments;
[0021] Figure 5 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 2 ;
[0022] Figure 6 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 3 ;
[0023] Figure 7 A schematic diagram of the structure of an analog front-end simulator provided in an embodiment of the present application;
[0024] Figure 8 The architecture of the test system of some embodiments is shown in FIG. Figure 2 ;
[0025] Fig. 9 The architecture of the test system of some embodiments is shown in FIG. Figure 3 .
[0026] Description of reference numerals:
[0027] Testing system 100;
[0028] Battery management unit 101; terminal device 102; battery simulator 103; CMC unit 104; analog front end simulator 105; CAN communication device 106; VT system 107; VT board 1071; relay box 108; low voltage DC power supply 109; insulation resistance box 110; high voltage DC power supply 111;
[0029] First communication unit 1051; determination unit 1052; second communication unit 1053. DETAILED DESCRIPTION
[0030] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the embodiments of this application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions.
[0032] It should be noted that in the examples of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0033] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict. In the description of the present application, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0034] With the development of the new energy industry, the battery market, mainly power batteries and energy storage batteries, continues to expand. As a result, the number of battery management unit projects has increased dramatically and has been frequently iterated. As a key verification link in the research and development stage of battery management units, the importance of hardware-in-the-Loop (HIL) testing has gradually become more prominent.
[0035] HIL testing plays an extremely important role in the development process of the battery management unit. The HIL test system can replace the battery management unit and other device components other than the controlled object through simulation models, while the battery management unit and the controlled object are connected to the simulation system in a closed loop to perform function and performance tests on each module or component in the battery management unit. Due to the long cycle of vehicle verification and the constraints of testers, test environment, natural conditions, etc., it is impossible to ensure that the development nodes are completed on time. The HIL test system can simulate the vehicle test environment to verify part or all of the control strategies at different stages of project development, execute dangerous test cases in the actual vehicle test environment, reduce the constraints of external environmental conditions, greatly shorten the test cycle and development costs, and liberate testing manpower. Therefore, it plays an irreplaceable role in the development process of the battery management unit.
[0036] There may be at least one battery cell in a battery pack whose state of charge (SOC) value is significantly different from the SOC values of other battery cells. If at least one battery cell is not discharged or charged to make the SOC values of the battery cells in the battery pack roughly consistent, the energy transmission capacity of the battery pack will be limited.
[0037] The balancing module or balancing function in the battery management unit can perform balancing control on at least one battery cell. In any embodiment of the present application, balancing at least one battery cell may include discharging control or charging control on at least one battery cell. For example, each battery cell in the battery pack is connected in parallel to a balancing circuit, and the battery management unit can control the conduction or disconnection of at least one balancing circuit to charge or discharge at least one battery cell connected in parallel with the at least one balancing circuit through the at least one balancing circuit.
[0038] The balancing circuit in any embodiment of the present application may also be referred to as a balancing loop.
[0039] Reference Figure 1 , Figure 1 The architecture of the test system of some embodiments is shown in FIG. Figure 1 The test system 100 includes: a battery management unit 101, a terminal device 102, a battery simulator 103, and a battery cell management controller (CMC) unit 104. The CMC unit 104 includes one or more CMCs (for example, CMC-1 and CMC-2). It should be noted that Figure 1 It is shown that the CMC unit 104 includes CMC-1 and CMC-2, but the embodiments of the present application are not limited thereto. For example, in an actual scenario, the CMC unit 104 may include CMC-1 to CMC-N, where N is an integer greater than or equal to 1. In some embodiments, the battery emulator 103 may also be referred to as a battery simulator. In some embodiments, the CMC unit 104 may be replaced with an analog front-end chip in a BMS slave board, which is also referred to as an AFE chip. In some embodiments, the battery management unit 101 may be replaced with a BMS mainboard.
[0040] The terminal device 102 is in communication connection with the battery emulator 103. The terminal device 102 sends the specified parameter value of at least one battery cell to the battery emulator 103. The battery emulator 103 simulates the target parameter value of at least one battery cell according to the specified parameter value of at least one battery cell. The parameter value includes a temperature value and / or a voltage value. Due to the influence of the accuracy of the battery emulator 103, there is a deviation between the specified parameter value and the target parameter value.
[0041] The battery emulator 103 is communicatively connected with a plurality of CMCs. The battery emulator 103 has a plurality of voltage channels and a plurality of temperature channels, and the plurality of voltage channels and the plurality of temperature channels are connected to a plurality of CMCs, and a CMC is connected to at least one voltage channel and / or at least one temperature channel of the battery emulator 103. In the case where the CMC unit 104 includes a plurality of CMCs, the plurality of CMCs may be connected in sequence and connected to the battery management unit 101. In some embodiments, the connection of the plurality of CMCs and the connection of the CMC to the battery management unit 101 correspond to a daisy chain communication mode.
[0042] The multiple CMCs send the specific parameter values of the battery cells collected from the battery simulator 103 to the battery management unit 101. The SOX module or SOX function in the battery management unit 101 determines the balancing information of the battery cells according to the specific parameter values of the battery cells. Due to the influence of sampling accuracy, there is a deviation between the specific parameter value and the target parameter value.
[0043] Figure 1 In order to test the balancing fault, the balancing circuit in the CMC board (i.e., the BMS slave board) needs to be destroyed. For example, when testing the open circuit fault of the balancing circuit, the tester needs to manually remove the resistance in the balancing circuit, the CMC board sets the balancing circuit open circuit fault, and sends the indication information of the balancing circuit open circuit fault to the battery management unit. For another example, when testing the short circuit fault of the balancing circuit, the tester needs to manually short-circuit the two ends of the balancing circuit, the CMC board sets the balancing circuit short circuit fault, and sends the indication information of the balancing circuit short circuit fault to the battery management unit. For another example, when testing the over-temperature fault of the balancing circuit, the tester needs to hold a hot air gun to heat the CMC board until the temperature of the area corresponding to the balancing circuit exceeds the temperature threshold, for example, the temperature rises to 80 degrees Celsius, the CMC sets the balancing circuit over-temperature fault, and sends the indication information of the balancing circuit over-temperature fault to the battery management unit. However, this method will damage the CMC board every time the battery management unit is tested for a balancing fault. When the next balancing fault test is performed, the damaged CMC board needs to be replaced. This will not only reduce the test efficiency of testing the balancing fault function of the battery management unit, but also increase the test cost of testing the balancing fault function of the battery management unit.
[0044] Based on the above problems, an embodiment of the present application proposes a method for processing fault status information, which is applied to an analog front-end emulator, and the method includes: receiving first status information of each balancing circuit in a first balancing circuit set sent by a terminal device; the first status information of at least some of the balancing circuits in the first balancing circuit set is first fault status information; according to the first status information of each balancing circuit in the first balancing circuit set, determining the second status information of each balancing circuit in a second balancing circuit set simulated by the analog front-end emulator; the first balancing circuit set is included in the second balancing circuit set, and the second status information of at least some of the balancing circuits is second fault status information; sending the second status information of each balancing circuit in the second balancing circuit set to a battery management unit, so that the battery management unit determines and sends the balancing circuit fault information to the terminal device according to the second status information of each balancing circuit in the second balancing circuit set, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0045] In this way, the balancing circuit fault information determined by the battery management unit is determined based on the second state information of each balancing circuit in the second balancing circuit set sent by the analog front-end emulator. The second state information of each balancing circuit in the second balancing circuit set is sent to the analog front-end emulator through the terminal device, so that the battery management unit determines different balancing circuit fault information, thereby realizing multiple balancing fault tests of the battery management unit. In this way, multiple balancing fault tests of the battery management unit can be realized without the need for the tester to operate the analog front-end emulator or to damage the analog front-end emulator, which not only improves the test efficiency of testing the balancing fault function of the battery management unit, but also reduces the test cost of testing the balancing fault function of the battery management unit. In addition, it further has the following effects: during a test process, the analog front-end emulator receives the first state information of all balancing circuits sent by the terminal device, and sends the second state information of all balancing circuits to the battery management unit. The battery management unit can determine the balancing circuits corresponding to all balancing circuits. The balancing circuit fault information can be obtained, thereby being able to test the ability to determine the balancing circuit fault information of the battery management unit for all balancing circuits, which can improve the test efficiency compared to testing the ability to determine the balancing circuit fault information of the battery management unit for part of the balancing circuits; when the first balancing circuit set is different from the second balancing circuit set, the analog front-end emulator will determine the third state information of each balancing circuit in the third balancing circuit set by itself, and determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set, so that the second state information of each balancing circuit in the second balancing circuit set is uniquely determined, thereby improving the reliability of the second state information of each balancing circuit in the second balancing circuit set, and also solving the problem that when the analog front-end emulator receives the state information of part of the balancing circuit, it cannot send the state information of all the balancing circuits to the battery management unit, thereby improving the effectiveness of information transmission.
[0046] The battery management unit of the embodiment of the present application can be applied to an electrical device. For example, the electrical device may include a vehicle, a ship or an aircraft, etc. For another example, the electrical device may include a mobile phone, a tablet, a laptop computer, an electric toy, an electric tool, a battery car, an electric car, a ship, a spacecraft, etc. Among them, the electric toy may include a fixed or mobile electric toy, for example, a game console, an electric car toy, an electric ship toy, and an electric airplane toy, etc., and the spacecraft may include an airplane, a rocket, a space shuttle, and a spacecraft, etc. The vehicle in the embodiment of the present application may include a fuel car, a gas car, a new energy car, an electric bicycle, an electric motorcycle, or a scooter, etc. In some embodiments, the new energy vehicle may be a pure electric vehicle, a hybrid vehicle, or an extended-range vehicle, etc.
[0047] The terminal device of the embodiment of the present application may include: a computer, a server, a display device, a mobile phone, a vehicle-mounted device, a virtual reality (VR) device or an augmented reality (AR) device, etc. Among them, the computer may include a tablet computer (Pad), a laptop computer, a computer with wireless transceiver function, a handheld computer or a desktop computer, etc.
[0048] The analog front-end emulator (AFE emulator) in the embodiment of the present application may also be referred to as an analog front-end simulator (AFE simulator). The analog front-end emulator is used to emulate / simulate one or more analog front-end chips in the BMS slave board. The analog front-end emulator can simulate the channels of one or more analog front-end chips in the BMS slave board (i.e., the second channel set in the embodiment of the present application). In addition, the analog front-end emulator is used to emulate and / or simulate one or more equalizing circuits in the BMS slave board. The analog front-end emulator can simulate the equalizing circuits of one or more analog front-end chips in the BMS slave board (i.e., the second equalizing circuit set in the embodiment of the present application).
[0049] The output of the analog front-end simulator and the output of the analog front-end chip have the same information type, which are both battery cell parameter values corresponding to the channels and / or, both are status information of the balancing circuit.
[0050] The analog front-end simulator and the analog front-end chip obtain battery cell parameter values in different ways. The battery cell parameter values of multiple channels obtained by the analog front-end simulator are sent by the terminal device, while the battery cell parameter values of multiple channels obtained by the analog front-end chip are obtained by collecting battery simulators or real multiple battery cells.
[0051] The connection mode of the analog front-end emulator is different from that of the analog front-end chip. The analog front-end emulator is connected to the terminal device in a communication manner, so that the analog front-end emulator obtains the parameter values of the battery cells of one or more channels by sending the parameter values of the battery cells of one or more channels through the terminal device, or the analog front-end emulator obtains the status information of one or more equalizing circuits by sending the status information of one or more equalizing circuits through the terminal device. For example, in some embodiments, the communication connection between the analog front-end emulator and the terminal device can be a controller area network bus (Controller Area Network, CAN) communication connection. Each of the multiple channels of the analog front-end chip can be connected to the battery cell to sample the voltage value of the battery cell, and / or can be connected to the thermistor corresponding to the battery cell to obtain the temperature value of the battery cell, or each of the multiple channels of the analog front-end chip is connected to multiple channels of the battery emulator to sample the voltage value and / or temperature value output by the battery emulator, or the analog front-end chip can send the status information of the equalizing circuit to the battery management unit.
[0052] The wiring method of the interface for outputting information of the analog front-end emulator is the same as the wiring method of the interface for outputting information of the analog front-end chip, and both are connected to the battery management unit. For example, the communication method between the analog front-end emulator and the battery management unit can be the same as the communication method between the analog front-end chip and the battery management unit.
[0053] It should be noted that the channel in any embodiment of the present application may also be referred to as a sampling channel. The battery cell in any embodiment of the present application may be replaced by a battery cell or a battery cell cell.
[0054] Reference Figure 2 , Figure 2 The present invention is a flowchart of a method for processing fault status information in some embodiments, the method is applied to an analog front-end simulator, and the method includes:
[0055] S201. Receive first status information of each equalizing circuit in a first equalizing circuit set sent by a terminal device; the first status information of at least some of the equalizing circuits in the first equalizing circuit set is first fault status information, and the first equalizing circuit set is included in a second equalizing circuit set simulated by an analog front-end simulator.
[0056] After S201 , S202 or S203 may be executed.
[0057] S202: When the first balancing circuit set is the same as the second balancing circuit set, determine second state information of each balancing circuit in the second balancing circuit set according to first state information of each balancing circuit in the second balancing circuit set.
[0058] The second state information of at least part of the equalization circuit is second fault state information.
[0059] S203 . When the first balancing circuit set is different from the second balancing circuit set, determine second status information of each balancing circuit in the first balancing circuit set according to first status information of each balancing circuit in the first balancing circuit set.
[0060] S204 , determining third state information of each balancing circuit in a third balancing circuit set; the third balancing circuit set is a set of the second balancing circuit set minus the first balancing circuit set.
[0061] S205 . Determine second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set.
[0062] The second state information of at least part of the equalization circuit is second fault state information.
[0063] S206. Send second status information of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends balancing circuit fault information to the terminal device, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0064] In some embodiments, the communication connection between the terminal device and the analog front-end emulator may be a controller area network (CAN) communication connection. In this way, the terminal device may send a CAN message to the analog front-end emulator, and the CAN message includes a channel identifier of the channel and a battery cell parameter value. The embodiment of the present application does not limit the connection method of the communication connection between the terminal device and the analog front-end emulator. Exemplarily, the communication connection between the terminal device and the analog front-end emulator may be other communication connections, and other communication connections may include a serial peripheral interface (SPI) communication connection, an integrated circuit bus (IIC) communication connection, a universal asynchronous receiver / transmitter (UART) communication connection, or a universal serial bus (USB) communication connection, etc.
[0065] In some embodiments, the communication connection between the analog front-end emulator and the battery management unit can be a daisy chain communication connection, and communicate through differential signals. The embodiment of the present application does not limit the connection mode of the communication connection between the analog front-end emulator and the battery management unit. For example, the communication connection between the analog front-end emulator and the battery management unit can be other communication connections, and other communication connections may include CAN communication connection, SPI communication connection, IIC communication connection, UART communication connection or USB communication connection, etc. In some embodiments, the battery management unit is used to connect the interface of the analog front-end emulator, and can also be used to connect the analog front-end chip in the BMS slave board. For example, in one implementation scenario, after the battery management unit is tested, the battery management unit is assembled on the vehicle, and the interface of the battery management unit for connecting the analog front-end emulator is connected to the analog front-end chip in the BMS slave board.
[0066] In some embodiments, the communication connection between the terminal device and the battery management unit may include a CAN communication connection. The embodiment of the present application does not limit the connection mode of the communication connection between the terminal device and the battery management unit. For example, the communication connection between the terminal device and the battery management unit may be other communication connections, and other communication connections may include SPI communication connection, IIC communication connection, UART communication connection or USB communication connection, etc.
[0067] In some embodiments, a CAN open environment (CANoe) project may be built in a terminal device, and the CANoe project sends the status information of the balancing circuit and / or the following battery cell parameter values to an analog front-end simulator through the terminal device.
[0068] In some embodiments, the terminal device may send the status information of each equalizing circuit and the identification of each equalizing circuit at the same time, so that the analog front-end emulator may receive the identification of each equalizing circuit at the same time as receiving the status information of each equalizing circuit. In any embodiment of the present application, the analog front-end emulator may determine the identification of each equalizing circuit at the same time as determining the status information of each equalizing circuit. In any embodiment of the present application, the analog front-end emulator may send the identification of each equalizing circuit at the same time as sending the status information of each equalizing circuit.
[0069] In some embodiments, the terminal device may send the channel identification of each channel while sending the battery cell parameter value of each channel, so that the analog front-end emulator may receive the channel identification of each channel while receiving the battery cell parameter value of each channel. In any embodiment of the present application, the analog front-end emulator may determine the channel identification of each channel while determining the battery cell parameter value of each channel. In any embodiment of the present application, the analog front-end emulator may send the channel identification of each channel while sending the battery cell parameter value of each channel.
[0070] In some embodiments, receiving the first state information of each balancing circuit in the first balancing circuit set sent by the terminal device may include: receiving the first state information of each balancing circuit in the first balancing circuit set sent by the terminal device and the identifier of each balancing circuit, wherein the identifier of one balancing circuit uniquely corresponds to the state information of one balancing circuit.
[0071] In some embodiments, the first equalizing circuit set may include one equalizing circuit or multiple equalizing circuits. When the first channel set includes one equalizing circuit, the fault parameter value of each equalizing circuit in the first equalizing circuit set is the fault parameter value of the one equalizing circuit.
[0072] The first state information and / or the second state information may include at least one of the following: indication information of whether there is a fault, indication information of the type of fault when there is a fault, current value, and temperature value. For example, both the first state information and the second state information include indication information of whether there is a fault, and indication information of the type of fault when there is a fault. For another example, both the first state information and the second state information include current value and / or temperature value. For another example, the first state information includes current value and / or temperature value, and the second state information includes indication information of whether there is a fault, and indication information of the type of fault when there is a fault.
[0073] In some embodiments, a fault type indication information may be used to indicate one of the following fault types: a short circuit fault of a balancing circuit, an open circuit fault of a balancing circuit, an over-temperature fault of a balancing circuit, etc. Exemplarily, the fault type indication information is 00, 00 may indicate a short circuit fault of a balancing circuit, the fault type indication information is 01, 01 may indicate an open circuit fault of a balancing circuit, the fault type indication information is 10, 10 may indicate an over-temperature fault of a balancing circuit, and the fault type indication information is 11, 11 may indicate other balancing circuit faults. Exemplarily again, each fault type may correspond to a fault code, for example, the fault type indication information may include a fault code of a short circuit fault of a balancing circuit, a fault code of an open circuit fault of a balancing circuit, or a fault code of an over-temperature fault of a balancing circuit, etc.
[0074] In some embodiments, the fault status information includes fault type indication information. In other embodiments, the fault status information includes a fault current value and / or a fault temperature value.
[0075] In some embodiments, the fault current value may be 0 or a current value greater than the current threshold. When the fault current value is 0, it indicates that the fault of the balancing circuit is an open circuit fault of the balancing circuit. When the fault current value is a current value greater than the current threshold, it indicates that the fault of the balancing circuit is a short circuit fault of the balancing circuit. In some embodiments, the fault temperature value may be a temperature value greater than the temperature threshold, indicating that the fault of the balancing circuit is an over-temperature fault of the balancing circuit.
[0076] In any embodiment of the present application, one balancing circuit corresponds to one battery cell and / or one voltage channel. For example, X balancing circuits correspond to X battery cells and / or X voltage channels one by one, where X is an integer greater than or equal to 1.
[0077] For example, the analog front-end emulator receives first fault status information of each equalizing circuit in the first equalizing circuit set sent by the terminal device, and the analog front-end emulator determines second fault information of each equalizing circuit in the first equalizing circuit set based on the received information.
[0078] For another example, the analog front-end emulator receives first fault status information of each equalizing circuit that is balanced in a part of the first equalizing circuit set sent by the terminal device, and first equalizing status information of each equalizing circuit that is balanced in another part. The analog front-end emulator determines second fault status information of each equalizing circuit that is balanced in a part of the first equalizing circuit set, and second equalizing status information of each equalizing circuit that is balanced in another part based on the received information.
[0079] In some embodiments, the third state information of each equalizing circuit in the third equalizing circuit set may be pre-stored in the analog front end. In other embodiments, the third state information of each equalizing circuit in the third equalizing circuit set may be sent by the terminal device to the analog front end emulator.
[0080] In some embodiments, the third state information of each balancing circuit in the third balancing circuit set may be third balancing state information, or may be third fault state information, or may be invalid state information.
[0081] For example, the third balancing state information may include at least one of the following: balancing indication information, balancing current value, and balancing temperature value. For example, the third fault state information may include at least one of the following: fault type indication information, fault current value, and fault temperature value. For example, the invalid state information may include invalid values such as FF or Null.
[0082] In some embodiments, when the second state information includes fault type indication information, the third balancing state information or the third fault state information may include: non-fault indication information or fault type indication information. In some embodiments, when the second state information includes a fault current value and / or a fault temperature value, the third balancing state information may include: a balancing current value and / or a balancing temperature value, or the third fault state information may include: a fault current value and / or a fault temperature value.
[0083] In some embodiments, the third state information of different equalization circuits may be the same.
[0084] In some embodiments, S205 may include: combining the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set to obtain the second state information of each balancing circuit in the second balancing circuit set.
[0085] In some embodiments, the second state information of each balancing circuit in the second balancing circuit set and the identification of each balancing circuit can be determined based on the first state information of each balancing circuit in the second balancing circuit set and the identification of each balancing circuit. In some embodiments, the second state information of each balancing circuit in the second balancing circuit set and the identification of each balancing circuit can be determined based on the second state information of each balancing circuit in the second balancing circuit set and the identification of each balancing circuit, and based on the third state information of each balancing circuit in the third balancing circuit set and the identification of each balancing circuit.
[0086] In some embodiments, the first equalizing circuit set is the same as the second equalizing circuit set. For example, the second equalizing circuit set includes 100 equalizing circuits, and both the first equalizing circuit set and the second equalizing circuit set are equalizing circuits with IDs 0 to 99.
[0087] In some other embodiments, the first balancing circuit set is different from the second balancing circuit set. For example, the second balancing circuit set includes 100 balancing circuits, the first balancing circuit set includes 50 balancing circuits, the first balancing circuit set is balancing circuits with identifiers 0 to 49, and the second balancing circuit set is balancing circuits with identifiers 0 to 99. For another example, the second balancing circuit set includes 100 balancing circuits, the first balancing circuit set includes 50 balancing circuits, the first balancing circuit set is balancing circuits with identifiers 50 to 99, and the second balancing circuit set is balancing circuits with identifiers 0 to 99. For another example, the second balancing circuit set includes 100 balancing circuits, the first balancing circuit set includes 50 balancing circuits, the first balancing circuit set is balancing circuits with odd or even identifiers, and the second balancing circuit set is balancing circuits with identifiers 0 to 99. For another example, the second balancing circuit set includes 100 balancing circuits, the first balancing circuit set includes 1 balancing circuit, the first balancing circuit set is balancing circuits with identification N (N is any one of 0 to 99), and the second balancing circuit set is balancing circuits with identification 0 to 99.
[0088] In some embodiments, sending the second status information of each balancing circuit in the second balancing circuit set to the battery management unit may include: sending the second status information of each balancing circuit in the second balancing circuit set and an identifier of each balancing circuit to the battery management unit.
[0089] In some embodiments, sending the second status information of each balancing circuit in the second balancing circuit set to the battery management unit may include: sending the second status information of each balancing circuit in the second balancing circuit set to the battery management unit in the order of the balancing circuit identifiers.
[0090] In some embodiments, the number of balancing circuits in the second balancing circuit set may be a fixed value. In some embodiments, before sending the first status information of each balancing circuit in the first balancing circuit set, the terminal device may configure the number of balancing circuits in the second balancing circuit set to the analog front-end emulator. In this way, the number of balancing circuits in the second balancing circuit set may be flexibly configured by the terminal device and may be flexibly modified by the configuration. It can be understood that before sending the first status information of each balancing circuit in the first balancing circuit set, the terminal device may configure the number of balancing circuits in the second balancing circuit set to the battery management unit; or, the terminal device may determine the number of balancing circuits in the second balancing circuit set according to the pre-configuration information of the battery management unit, and configure the number of balancing circuits in the second balancing circuit set to the analog front-end emulator.
[0091] In the technical solution of the embodiment of the present application, the balancing circuit fault information determined by the battery management unit is determined based on the second state information of each balancing circuit in the second balancing circuit set sent by the analog front-end emulator. The second state information of each balancing circuit in the second balancing circuit set sent by the analog front-end emulator enables the battery management unit to determine different balancing circuit fault information, thereby realizing multiple balancing fault tests of the battery management unit. In this way, multiple balancing fault tests of the battery management unit can be realized without the need for the tester to operate the analog front-end emulator or to damage the analog front-end emulator, which not only improves the test efficiency of testing the balancing fault function of the battery management unit, but also reduces the test cost of testing the balancing fault function of the battery management unit. The embodiment of the present application further has the following effects: during a test process, the analog front-end emulator receives the first state information of all balancing circuits sent by the terminal device, and sends the second state information of all balancing circuits to the battery management unit. The battery management unit can determine all balancing circuits. Corresponding balancing circuit fault information can be tested for all balancing circuits, the ability of the battery management unit to determine the balancing circuit fault information, which can improve the test efficiency compared to the ability of the battery management unit to determine the balancing circuit fault information for part of the balancing circuit; when the first balancing circuit set is different from the second balancing circuit set, the analog front-end emulator will determine the third state information of each balancing circuit in the third balancing circuit set by itself, and determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set, so that the second state information of each balancing circuit in the second balancing circuit set is uniquely determined, thereby improving the reliability of the second state information of each balancing circuit in the second balancing circuit set, and also solving the problem that when the analog front-end emulator receives the state information of part of the balancing circuit, it cannot send the state information of all the balancing circuits to the battery management unit, thereby improving the effectiveness of information transmission.
[0092] Reference Figure 3 , Figure 3 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 1 The method is applied to an analog front-end simulator. The steps in the method may be before S201, or the steps in the method may be after S206, or the steps in the method may be synchronized with the above-mentioned S201 to S206. The method includes:
[0093] S301. Receive a first battery cell parameter value of each channel in a first channel set sent by a terminal device.
[0094] S302. Determine, according to the first battery cell parameter value of each channel in the first channel set, the second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator; wherein the first channel set is included in the second channel set.
[0095] S303, sending the second battery cell parameter value of each channel in the second channel set to the battery management unit, so that the battery management unit determines and sends the balancing information of the first balancing circuit set to the terminal device, so that the terminal device determines that the balancing determination test of the battery management unit passes according to the balancing information.
[0096] The difference between the voltage value of the voltage channel corresponding to the first equalizing circuit set and the voltage value of the voltage channel corresponding to the third equalizing circuit set is greater than a preset value; the third equalizing circuit set is the set of the second equalizing circuit set minus the first equalizing circuit set. In any embodiment of the present application, while receiving, confirming or sending the battery cell parameter value of each channel, the channel identifier of each channel can also be received, confirmed or sent.
[0097] In some embodiments, the battery cell parameter value may include a battery cell voltage value and / or a battery cell temperature value.
[0098] In some embodiments, the first battery cell parameter value of each channel in the first channel set and the channel identifier of each channel: the identifiers of channels 0 to 59, the battery cell parameter values corresponding to channels 0 to 39 are all 3300 millivolts (mV), and the battery cell parameter values corresponding to channels 40 to 59 are all 30 degrees Celsius. For another example, the first battery cell parameter value of each channel in the first channel set and the channel identifier of each channel include: the identifiers of voltage channels 0 to 39, the battery cell parameter values corresponding to voltage channels 0 to 39 are all 3300 millivolts, the identifiers of temperature channels 0 to 19, and the battery cell parameter values corresponding to temperature channels 0 to 19 are all 30 degrees Celsius.
[0099] In any embodiment of the present application, one temperature channel may correspond to one or more voltage channels, and one battery cell corresponds to one voltage channel.
[0100] Exemplarily, the first channel set may include P voltage channels, P is an integer greater than or equal to 1, and the first battery cell parameter value of each channel in the first channel set includes P voltage values corresponding to the P voltage channels one-to-one, and the channel identifier of each corresponding channel is the P channel identifier corresponding to the P voltage values one-to-one. Exemplarily, the first channel set may include Q temperature channels corresponding to the Q channel identifiers one-to-one, Q is an integer greater than or equal to 1, and the first battery cell parameter value of each channel in the first channel set includes Q temperature values corresponding to the Q temperature channels one-to-one, and the channel identifier of each corresponding channel is the Q channel identifier corresponding to the Q temperature values one-to-one. Exemplarily, the first channel set may include P voltage channels and Q temperature channels, and the first battery cell parameter value of each channel in the first channel set includes: P voltage values corresponding to the P voltage channels one-to-one, and Q temperature values corresponding to the Q temperature channels one-to-one, and the channel representation of each corresponding channel is P channel identifiers and Q channel identifiers.
[0101] In an embodiment of the present application, the voltage value of a channel can uniquely represent the voltage value of a battery cell, and the P voltage values corresponding to the P voltage channels represent the voltage values of the P battery cells. In an embodiment of the present application, the temperature value of a channel can represent the temperature value of one or more battery cells. In some embodiments, the temperature value of a channel can be the temperature value of a thermistor corresponding to M battery cells. M is an integer greater than or equal to 1.
[0102] In some embodiments, the first channel set is the same as the second channel set. For example, the second channel set includes 100 channels, and both the first channel set and the second channel set are channels with channel IDs 0 to 99.
[0103] In other embodiments, the first channel set is different from the second channel set. For example, the second channel set includes 100 channels, the first channel set includes 50 channels, the first channel set is channels with channel identification 0 to channel identification 49, and the second channel set is channels with channel identification 0 to channel identification 99. For another example, the second channel set includes 100 channels, the first channel set includes 50 channels, the first channel set is channels with channel identification 50 to channel identification 99, and the second channel set is channels with channel identification 0 to channel identification 99. For another example, the second channel set includes 100 channels, the first channel set includes 50 channels, the first channel set is channels with channel identification being odd or even, and the second channel set is channels with channel identification 0 to channel identification 99. For another example, the second channel set includes 100 channels, the first channel set includes 1 channel, the first channel set is channels with channel identification N (N is any one of 0 to 99), and the second channel set is channels with channel identification 0 to channel identification 99.
[0104] In some embodiments, the second battery cell parameter value of each channel in the first channel set in the second channel set is the same as or different from or at least partially the same as the first battery cell parameter value of each channel in the first channel set.
[0105] In some embodiments, the first channel set may include one or more voltage channels and / or one or more temperature channels, and the second channel set may include a first number of voltage channels and a second number of temperature channels. In some embodiments, at least one of the following may be a fixed value: the number of channels in the second channel set, the first number, the second number, the arrangement of voltage channels and temperature channels. In other embodiments, before sending the first battery cell parameter value, the terminal device may configure at least one of the following to the analog front-end emulator: the number of channels in the second channel set, the first number, the second number, the arrangement of voltage channels and temperature channels. In this way, at least one of the number of channels in the second channel set, the first number, the second number, the arrangement of voltage channels and temperature channels can be flexibly configured by the terminal device and can be flexibly modified by configuration. It can be understood that, before sending the first battery cell parameter value, the terminal device may configure at least one of the following to the battery management unit: the number of channels in the second channel set, the first number, the second number, the arrangement of the voltage channels and the temperature channels; or, the terminal device may determine at least one of the following based on the pre-configuration information of the battery management unit: the number of channels in the second channel set, the first number, the second number, the arrangement of the voltage channels and the temperature channels, and configure at least one of the following to the analog front-end emulator: the number of channels in the second channel set, the first number, the second number, the arrangement of the voltage channels and the temperature channels.
[0106] In some embodiments, the ratio between the first number and the second number may be the same as the ratio between the total number of voltage channels of all or part of the analog front-end chips in the BMS slave board and the total number of temperature channels. In some embodiments, the first number may be the number of battery cells in a battery pack. In other embodiments, the first number may be the total number of voltage channels of all or part of the analog front-end chips in the BMS slave board.
[0107] In some embodiments, sending the second battery cell parameter value of each channel in the second channel set to the battery management unit may include: sending the second battery cell parameter value of each channel in the second channel set to the battery management unit in the order of channel identification. For example, first send the second battery cell parameter value of voltage channel 0 and temperature channel 0 corresponding to battery cell 0, then send the second battery cell parameter value of voltage channel 1 and temperature channel 1 corresponding to battery cell 1, until the second battery cell parameter value of voltage channel K and temperature channel K corresponding to the last battery cell K is sent. For another example, first send the second battery cell parameter value of channel 0, then send the second battery cell parameter value of channel 1, until the second battery cell parameter value of the last channel K is sent. K is an integer greater than or equal to 2.
[0108] In some embodiments, the balancing information may include the identifier and balancing duration of each balancing circuit in the first balancing circuit set. For example, when the battery management unit determines that battery cell 0 and battery cell 1 need to be balanced, the balancing duration of battery cell 0 and battery cell 1 is determined according to the voltage values of battery cell 0 and battery cell 1, that is, the balancing information includes the identifier of battery cell 0 and battery cell 1, and the balancing duration of battery cell 0 and battery cell 1.
[0109] In some embodiments, the voltage value of the voltage channel corresponding to the third equalization circuit set may be a voltage default value. Exemplarily, the voltage default value may be stored in the analog front-end emulator. Again exemplarily, the voltage default value may be sent by the terminal device to the analog front-end emulator. In some embodiments, in the voltage channel corresponding to the third equalization circuit set, the voltage values of different voltage channels may be the same or within a preset voltage range.
[0110] In the technical scheme of the embodiment of the present application, first, the first battery cell parameter value obtained by the analog front-end emulator is sent by the terminal device. The analog front-end emulator obtains the first battery cell parameter value, which does not rely on the complex wiring between the analog front-end emulator and the terminal device. It only needs to simulate the communication connection between the front-end emulator and the terminal device, which reduces the wiring difficulty before testing and improves the test efficiency of the balanced determination test of the battery management unit; second, after each test is completed, the next test can be carried out without changing the test connection line, which is conducive to realizing automated testing, reducing the time cost of testing, and further improving the test efficiency of the balanced determination test of the battery management unit; third, the first battery cell parameter value of each channel in the first channel set is sent by the terminal device, and the terminal device can independently control the first battery cell parameter value of each channel in the first channel set, thereby being able to cover the test requirements that require independent control of the parameter values collected by each acquisition channel, thereby improving the comprehensiveness of the test.
[0111] exist Figure 1 In the embodiment of the present invention, multiple output channels of the battery simulator are connected to multiple channels of the analog front-end chip, and the tester needs to make complex line connections to complete the test system. However, in the embodiment of the present application, the analog front-end simulator only needs to communicate with the terminal device, and the line connection is simple, without the need for complex line connections. Therefore, the embodiment of the present application can reduce the manpower cost of bench construction and maintenance, improve the efficiency of bench construction, and thus improve the test efficiency.
[0112] exist Figure 1 In the embodiment, the battery emulator generally includes a single-control output channel and a multiplexed output channel. A single-control output channel can be connected to a channel in the analog front-end chip, and a multiplexed output channel can be connected to multiple channels of the analog front-end chip. In order to test multiple test cases, it is usually necessary to switch the connection between the output channel of the battery emulator and the channel of the analog front-end module to apply different test cases. However, in the embodiment of the present application, the parameter value of the channel obtained by the analog front-end emulator is sent by the terminal device, and there is no need to switch the connection of the already built test system, thereby reducing the time required for the test bench switching and further improving the test efficiency.
[0113] exist Figure 1 In the embodiment, the battery emulator has a multiplexed output channel, so the parameter values collected by multiple channels of the analog front-end chip are all the parameter values of a battery cell, and / or, the temperature values collected by multiple channels are all the parameter values of a thermistor, so that it is impossible to control the parameter values collected by each channel of the analog front-end chip separately, so that the test cannot cover the test cases with specific requirements, for example, it is impossible to test the test cases with different voltage values of each battery cell. However, in the embodiment of the present application, the terminal device directly sends the parameter values of each channel to the analog front-end emulator, so that it can control the parameter values of each channel of the analog front-end emulator separately, so that the test can cover the test cases with various voltage requirements, thereby improving the test coverage.
[0114] Taking the second battery cell parameter value of each channel in the first channel set as the same as the first battery cell parameter value of each channel in the first channel set, Figure 1In the embodiment, affected by the test environment, there is a difference between the parameter value obtained by the channel of the analog front-end chip and the parameter value sent by the terminal device to the battery emulator. In order to make up for this difference, the tester needs to manually adjust the battery parameters of the battery emulator, so it is difficult to perform automated or semi-automated testing on the battery management unit. However, in the embodiment of the present application, the parameter value of the specific channel sent by the terminal device to the analog front-end emulator is the same as the parameter value of the specific channel received by the battery management unit, and the voltage value and / or temperature value of the channel are highly controllable, which is conducive to automated or semi-automated testing of the battery management unit, greatly improving the test efficiency, greatly reducing the manpower cost of testing the SOX function, and improving the utilization of test resources.
[0115] exist Figure 1 In the embodiment, in order to implement the equalization fault test of the battery management unit, the tester needs to manually operate the CMC board so that the CMC board sets the fault status information. However, the manual operation of the CMC board by the tester may damage the CMC board, resulting in the CMC board being unable to set the fault type indication information or the fault parameter value. For example, the tester manually removes the resistor in the equalization circuit, the tester manually shorts the two ends of the equalization circuit, and uses a hot air gun to heat the CMC board, which may cause damage to the CMC board, and further may cause the CMC board to be unable to set the fault status information. In addition, in the case of damage to the CMC board, a new CMC board needs to be replaced for the next test. However, in the embodiment of the present application, the terminal device sends the first status information of each equalization circuit in the first equalization circuit set to the analog front-end emulator, so that the analog front-end emulator sends the second status information of each equalization circuit in the second equalization circuit set to the battery management unit. In this way, there is no need to destroy the analog front-end emulator in the test system, which not only improves the test efficiency of the equalization fault test of the battery management unit, but also reduces the test cost of the equalization fault test of the battery management unit.
[0116] In some embodiments, after sending the second battery cell parameter value of each channel in the second channel set to the battery management unit, the method also includes: receiving the balancing current value of each balancing circuit in the first balancing circuit set sent by the terminal device; determining the balancing current value of each balancing circuit in the second balancing circuit set according to the balancing current value of each balancing circuit in the first balancing circuit set; sending the balancing current value of each balancing circuit in the second balancing circuit set to the sent battery management unit, so that the battery management unit determines and sends the balancing circuit startup information to the terminal device, so that the terminal device determines the test result of the startup judgment function of the balancing circuit of the battery management unit according to the balancing circuit startup information.
[0117] In some embodiments, the balancing current value may refer to the current value passing through the balancing circuit when the battery cells can be balanced normally through the balancing circuit. In other embodiments, the balancing current value may refer to the current value when the balancing circuit is not faulty.
[0118] In some embodiments, when the first balancing circuit set is the same as the second balancing circuit set, the balancing current value of each balancing circuit in the first balancing circuit set is the balancing current value of each balancing circuit in the second balancing circuit set.
[0119] In some embodiments, when the first balancing circuit set is different from the second balancing circuit set, determining the balancing current value of each balancing circuit in the second balancing circuit set according to the balancing current value of each balancing circuit in the first balancing circuit set includes: obtaining the balancing current value of each balancing circuit in the third balancing circuit set, combining the balancing current value of each balancing circuit in the first balancing circuit set and the balancing current value of each balancing circuit in the third balancing circuit set, and obtaining the balancing current value of each balancing circuit in the second balancing circuit set. The third balancing circuit set is the set of the second balancing circuit set minus the first balancing circuit set;
[0120] In some embodiments, the balancing current value of each balancing circuit in the third balancing circuit set may be a fixed current value or an invalid current value. Exemplarily, the invalid current value may be FF or Null, etc. In some embodiments, the fixed current value or the invalid current value may be pre-stored in the analog front-end emulator. In other embodiments, the fixed current value or the invalid current value may be sent by the terminal device to the analog front-end emulator. In some embodiments, the fixed current value may be zero or non-zero.
[0121] In the technical solution of the embodiment of the present application, the battery management unit also has a function of judging whether the balancing circuit is turned on. The balancing current value of each balancing circuit in the first balancing circuit set is received by the analog front-end emulator, and the balancing current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the test result of the startup judgment function of the balancing circuit of the battery management unit can be determined, which solves the problem that there is no real balancing circuit in the analog front-end emulator, resulting in the battery management unit being unable to obtain the balancing current value of the balancing circuit, and then resulting in the battery management unit being unable to determine whether the first balancing circuit set is turned on, thereby improving the comprehensiveness of the test system applied to the analog front-end emulator for the balancing test of the battery management unit.
[0122] Reference Figure 4 , Figure 4The flowchart of the method for processing the current value of the equalization circuit in some embodiments is shown. The method is applied to an analog front-end simulator. The steps in the method may be after S206, or the steps in the method may be before S201, or the steps in the method may be synchronized with the above-mentioned S201 to S206. The method includes:
[0123] S401. Receive a zero current value of each equalizing circuit in at least part of the equalizing circuits sent by a terminal device.
[0124] S402: Determine a target current value of each balancing circuit in a second balancing circuit set according to a zero current value of each balancing circuit in at least some of the balancing circuits; the target current value of each balancing circuit in at least some of the balancing circuits is a zero current value.
[0125] S403. Send the target current value of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends balancing circuit shutdown information to the terminal device, so that the terminal device determines the test result of the shutdown judgment function of the balancing circuit of the battery management unit according to the balancing circuit shutdown information.
[0126] In some embodiments, the zero current value may mean that the current value is zero.
[0127] In some embodiments, when at least some of the balancing circuits are the same as the second balancing circuit set, the zero current value of each balancing circuit in at least some of the balancing circuits is the target current value of each balancing circuit in the second balancing circuit set.
[0128] In some embodiments, when at least some of the balancing circuits are different from the second balancing circuit set, determining the target current value of each balancing circuit in the second balancing circuit set according to the zero current value of each balancing circuit in at least some of the balancing circuits includes: obtaining the balancing current value of each balancing circuit in the fourth balancing circuit set, combining the zero current value of each balancing circuit in at least some of the balancing circuits and the balancing current value of each balancing circuit in the fourth balancing circuit set, and obtaining the target current value of each balancing circuit in the second balancing circuit set. The fourth balancing circuit set is the set of the second balancing circuit set excluding at least some of the balancing circuits;
[0129] In some embodiments, the balancing current value of each balancing circuit in the fourth balancing circuit set may be a fixed current value or an invalid current value. Exemplarily, the invalid current value may be FF or Null, etc. In some embodiments, the fixed current value or the invalid current value may be pre-stored in the analog front-end emulator. In other embodiments, the fixed current value or the invalid current value may be sent by the terminal device to the analog front-end emulator. In some embodiments, the fixed current value may be zero or non-zero.
[0130] In the technical solution of the embodiment of the present application, the battery management unit also has a shutdown judgment function of the balancing circuit. The zero current value of each balancing circuit in at least part of the balancing circuits is received by the analog front-end emulator, and the target current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the test result of the shutdown judgment function of the balancing circuit of the battery management unit can be determined, which solves the problem that there is no real balancing circuit in the analog front-end emulator, resulting in the battery management unit being unable to obtain the balancing current value of the balancing circuit, resulting in the battery management unit being unable to determine whether at least part of the faulty balancing circuit is disconnected, thereby improving the comprehensiveness of the balancing test of the battery management unit by the test system applied to the analog front-end emulator.
[0131] In some embodiments, the first fault status information is the same as the second fault status information, and the first fault status information includes at least one of the following: fault type indication information, fault current value, and fault temperature value.
[0132] In the technical solution of the embodiment of the present application, the first fault state information is the same as the second fault state information, so that the analog front-end simulator does not need to convert the first fault state information of each equalizing circuit of at least part of the equalizing circuit, thereby reducing the computational cost of the analog front-end simulator.
[0133] In some other embodiments, the first fault status information includes a fault current value and / or a fault temperature value, and the second fault status information includes fault type indication information.
[0134] In the technical solution of the embodiment of the present application, the first fault status information includes a fault current value and / or a fault temperature value, and the second fault status information includes a fault type indication information, and the number of characters required for the fault type indication information is less than the number of characters of the fault current value and / or the fault temperature value, thereby reducing the amount of data of the second fault status information sent by the analog front-end emulator to the battery management unit, and thus more status information of the balancing circuit can be transmitted within a fixed time, thereby improving the transmission efficiency of the status information.
[0135] In some embodiments, the first state information of a portion of the balancing circuits in the first balancing circuit set is first fault state information, the first state information of another portion of the balancing circuits in the first balancing circuit set is first balancing state information, and the second state information of another portion of the balancing circuits is second balancing state information.
[0136] In some embodiments, the first balancing state information is the same as the second balancing state information, and the first balancing state information includes at least one of the following: balancing indication information, balancing current value, and balancing temperature value.
[0137] In the technical solution of the embodiment of the present application, the first balancing state information is the same as the second balancing state information, so that the analog front-end simulator does not need to convert the first balancing state information of each balancing circuit of another part of the balancing circuits in the first balancing circuit set, thereby reducing the computational cost of the analog front-end simulator.
[0138] In some other embodiments, the first balancing state information includes a balancing current value and / or a balancing temperature value, and the second balancing state information includes balancing indication information.
[0139] In the technical solution of the embodiment of the present application, the first balancing state information is the same as the second balancing state information, so that the analog front-end simulator does not need to convert the first balancing state information of each balancing circuit of another part of the balancing circuits in the first balancing circuit set, thereby reducing the calculation cost of the analog front-end simulator; the first balancing state information includes the balancing current value and / or the balancing temperature value, and the second balancing state information includes the balancing indication information, and the number of characters required for the balancing indication information is less than the number of characters of the balancing current value and / or the balancing temperature value, thereby reducing the amount of data of the second balancing state information sent by the analog front-end simulator to the battery management unit, and thus more status information of the balancing circuit can be transmitted within a fixed time, thereby improving the transmission efficiency of the status information.
[0140] Reference Figure 5 , Figure 5 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 2 , this method is applied to the analog front-end simulator, Figure 5 In the embodiment compared to Figure 3 The difference between the embodiments is that S302 includes:
[0141] S501 : When the first channel set is the same as the second channel set, determine the received first battery cell parameter value of each channel in the second channel set as the second battery cell parameter value of each channel in the second channel set.
[0142] Reference Figure 6 , Figure 6 Schematic diagram of a method for processing battery cell parameter values in some embodiments Figure 3 , this method is applied to the analog front-end simulator, Figure 6 In the embodiment compared to Figure 3 The difference between the embodiments is that S302 includes:
[0143] S601 . When the first channel set is different from the second channel set, determine a third battery cell parameter value of each channel in a third channel set; the third channel set is a set obtained by removing the first channel set from the second channel set.
[0144] S602 : Determine a second battery cell parameter value for each channel in the second channel set according to a first battery cell parameter value for each channel in the first channel set and a third battery cell parameter value for each channel in the third channel set.
[0145] For example, the second channel set includes 100 channels, the first channel set includes channels with channel identifier 0 to channel identifier 49, the second channel set includes channels with channel identifier 0 to channel identifier 99, and the third channel set includes channels with channel identifier 50 to channel identifier 99. For another example, the second channel set includes 100 channels, the first channel set includes channels with channel identifier 0, the second channel set includes channels with channel identifier 0 to channel identifier 99, and the third channel set includes channels with channel identifier 1 to 99.
[0146] In some embodiments, the third channel set may include one or more voltage channels and / or one or more current channels. In some embodiments, the voltage values of different voltage channels in the third channel set may be the same, or the voltage values of at least two different voltage channels are different. In some embodiments, the voltage values of different temperature channels in the third channel set may be the same, or the temperature values of at least two different temperature channels are different. For example, the voltage values of different voltage channels in the third channel set may be the same and be a first fixed value. For example, the temperature values of different temperature channels in the third channel set may be the same and be a second fixed value. For example, the voltage values of at least two different voltage channels in the third channel set are different, and the voltage value of each voltage channel in the third channel set is in a first preset voltage range. For example, the temperature values of at least two different temperature channels in the third channel set are different, and the temperature value of each temperature channel in the third channel set is in a first preset temperature range.
[0147] In some embodiments, at least one of the first fixed value, the second fixed value, the first preset voltage range, and the first preset temperature range may be pre-stored in the analog front-end emulator, or may be sent by the terminal device to the analog front-end emulator, or may be randomly generated by the analog front-end emulator, or may be determined by the analog front-end emulator based on the first battery cell parameter value of each channel in the first channel set.
[0148] In some embodiments, determining the third battery cell parameter value of each channel in the third channel set includes: in response to first control information sent by the terminal device, determining the third battery cell parameter value of each channel in the third channel set as a default parameter value.
[0149] In some embodiments, determining the third battery cell parameter value of each channel in the third channel set includes: in response to second control information sent by the terminal device, determining that the third battery cell parameter value of each channel in the third channel set is an invalid parameter value.
[0150] In some embodiments, the default parameter value may be a valid parameter value. For example, the valid parameter value includes a preset parameter value or a fixed parameter value. In some embodiments, the default parameter value may be a preset parameter value, and the preset parameter value may be pre-stored in the analog front end simulator. In some embodiments, the default parameter value may be a fixed parameter value. For example, the preset parameter values of the voltage channel are all fixed voltage values, and the preset parameter values of the temperature channel are all fixed temperature values. Exemplarily, the fixed voltage value is 3300 millivolts, and the fixed temperature value is 25 degrees Celsius.
[0151] In some embodiments, a valid parameter value may be a value with a determined value, for example, a valid parameter value may be 3300 (mV) or 25 (degrees Celsius). In some embodiments, an invalid parameter value may be a value without a determined value, for example, an invalid parameter value may be FF or Null, etc.
[0152] In some embodiments, a valid parameter value may be a value within a preset range (e.g., a second preset voltage range and a second preset temperature range). In some embodiments, an invalid parameter value may be a value outside the preset range. For example, a valid voltage value may be a value within the second preset voltage range, and / or a valid temperature value may be a value within the second preset temperature range. For example, an invalid voltage value may be a value outside the second preset voltage range, and / or an invalid temperature value may be a value outside the second preset temperature range. For example, an invalid parameter value for a voltage channel may be 4000 (millivolts), and an invalid parameter value for a temperature channel may be 200 (degrees Celsius). In some embodiments, the preset range may be predefined. For example, the preset range may be input by a tester to a terminal device so that the terminal device sends it to the analog front-end emulator.
[0153] In the technical solution of the embodiment of the present application, when the first channel set and the second channel set are the same, in a test process, the simulation front-end emulator receives the first battery cell parameter values of all channels sent by the terminal device, and sends the second battery cell parameter values of all channels to the battery management unit. The battery management unit can determine the status information and / or balancing information of the battery cells corresponding to all channels, so that the battery management unit can test the determination ability of the status information and / or balancing information of all channels. Compared with testing the determination ability of the status information and / or balancing information of the battery management unit for some channels, the test efficiency can be improved; when the first channel set and the second channel set are different, the simulation front-end emulator will determine the battery cell parameter values of the third channel set by itself, and then determine the battery cell parameter values of the second channel set to be sent to the battery management unit according to the received battery cell parameter values of the first channel set and the battery cell parameter values of the third channel set determined by itself, so that the battery cell parameter values of each channel in the second channel set are uniquely determined, thereby improving the reliability of the transmitted battery cell parameter values. In addition, the problem that the battery cell parameter values of all channels cannot be sent to the battery management unit when the battery cell parameter values of some channels are received is solved, thereby improving the effectiveness of information transmission.
[0154] Based on the foregoing embodiments, an embodiment of the present application provides an analog front-end emulator, which includes the units included and the modules included in the units, and can be implemented by a first communication unit, a determination unit and a second communication unit in a terminal device; of course, it can also be implemented by a specific logic circuit.
[0155] Figure 7 A schematic diagram of the structure of an analog front-end simulator provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the analog front end emulator 105 may include:
[0156] The first communication unit 1051 is used to receive first state information of each equalizing circuit in the first equalizing circuit set sent by the terminal device; the first state information of at least some equalizing circuits in the first equalizing circuit set is first fault state information, and the first equalizing circuit set is included in the second equalizing circuit set simulated by the analog front-end simulator;
[0157] The determining unit 1052 is used to: determine the second state information of each equalizing circuit in the second equalizing circuit set according to the first state information of each equalizing circuit in the second equalizing circuit set when the first equalizing circuit set is the same as the second equalizing circuit set; determine the second state information of each equalizing circuit in the first equalizing circuit set according to the first state information of each equalizing circuit in the first equalizing circuit set when the first equalizing circuit set is different from the second equalizing circuit set; determine the third state information of each equalizing circuit in the third equalizing circuit set; the third equalizing circuit set is the set of the second equalizing circuit set excluding the first equalizing circuit set; determine the second state information of each equalizing circuit in the second equalizing circuit set according to the second state information of each equalizing circuit in the first equalizing circuit set and the third state information of each equalizing circuit in the third equalizing circuit set; the second state information of at least some of the equalizing circuits is the second fault state information;
[0158] The second communication unit 1053 is used to send the second status information of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends the balancing circuit fault information to the terminal device according to the second status information of each balancing circuit in the second balancing circuit set, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
[0159] In some embodiments, the first communication unit 1051 is further used to: receive a first battery cell parameter value of each channel in the first channel set sent by the terminal device;
[0160] The determining unit 1052 is further configured to: determine a second battery cell parameter value of each channel in a second channel set simulated by the analog front-end simulator according to a first battery cell parameter value of each channel in the first channel set; wherein the first channel set is included in the second channel set;
[0161] The second communication unit 1053 is further used to: send the second battery cell parameter value of each channel in the second channel set to the battery management unit, so that the battery management unit determines and sends the balancing information of the first balancing circuit set to the terminal device, so that the terminal device determines that the balancing determination test of the battery management unit passes according to the balancing information;
[0162] The difference between the voltage value of the voltage channel corresponding to the first equalizing circuit set and the voltage value of the voltage channel corresponding to the third equalizing circuit set is greater than a preset value; the third equalizing circuit set is the set of the second equalizing circuit set minus the first equalizing circuit set.
[0163] In some embodiments, the first communication unit 1051 is further configured to: receive a balancing current value of each balancing circuit in the first balancing circuit set sent by a terminal device;
[0164] The determining unit 1052 is further configured to: determine the balancing current value of each balancing circuit in the second balancing circuit set according to the balancing current value of each balancing circuit in the first balancing circuit set;
[0165] The second communication unit 1053 is also used to: send the balancing current value of each balancing circuit in the second balancing circuit set to the sent battery management unit, so that the battery management unit determines and sends the balancing circuit startup information to the terminal device, so that the terminal device determines the test result of the startup judgment function of the balancing circuit of the battery management unit according to the balancing circuit startup information.
[0166] In some embodiments, the first communication unit 1051 is further configured to: receive a zero current value of each equalizing circuit in at least part of the equalizing circuits sent by a terminal device;
[0167] The determining unit 1052 is further configured to: determine a target current value of each balancing circuit in the second balancing circuit set according to a zero current value of each balancing circuit in at least some of the balancing circuits; the target current value of each balancing circuit in at least some of the balancing circuits is a zero current value;
[0168] The second communication unit 1053 is also used to: send the target current value of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends the balancing circuit shutdown information to the terminal device, so that the terminal device determines the test result of the shutdown judgment function of the balancing circuit of the battery management unit according to the balancing circuit shutdown information.
[0169] In some embodiments, the first fault status information is the same as the second fault status information, and the first fault status information includes at least one of the following: fault type indication information, fault current value, and fault temperature value.
[0170] In some embodiments, the first fault status information includes a fault current value and / or a fault temperature value, and the second fault status information includes fault type indication information.
[0171] In some embodiments, the first state information of a part of the balancing circuits in the first balancing circuit set is first fault state information, the first state information of another part of the balancing circuits in the first balancing circuit set is first balancing state information, and the second state information of another part of the balancing circuits is second balancing state information; the first balancing state information is the same as the second balancing state information, and the first balancing state information includes at least one of the following: balancing indication information, balancing current value, and balancing temperature value.
[0172] In some embodiments, the first state information of a part of the balancing circuits in the first balancing circuit set is first fault state information, the first state information of another part of the balancing circuits in the first balancing circuit set is first balancing state information, and the second state information of another part of the balancing circuits is second balancing state information; the first balancing state information includes balancing current value and / or balancing temperature value, and the second balancing state information includes balancing indication information.
[0173] In some embodiments, the determination unit 1052 is further used to: when the first channel set is the same as the second channel set, determine the received first battery cell parameter value of each channel in the second channel set as the second battery cell parameter value of each channel in the second channel set.
[0174] In some embodiments, the determination unit 1052 is also used to: determine the third battery cell parameter value of each channel in the third channel set when the first channel set is different from the second channel set; the third channel set is a set of the second channel set minus the first channel set; determine the second battery cell parameter value of each channel in the second channel set based on the first battery cell parameter value of each channel in the first channel set and the third battery cell parameter value of each channel in the third channel set.
[0175] The description of the above simulation front-end simulator embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the simulation front-end simulator embodiment of this application, please refer to the description of the method embodiment of this application for understanding.
[0176] It should be noted that in the embodiments of the present application, if the above-mentioned method for determining the battery cell parameter value is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer storage medium. Based on this understanding, the technical solution of the embodiments of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling an analog front-end simulator to execute all or part of the methods of each embodiment of the present application.
[0177] Reference Figure 8 , Figure 8 The architecture of the test system of some embodiments is shown in FIG. Figure 2 The test system 100 includes: a battery management unit 101, a terminal device 102, and an analog front-end emulator 105. In some embodiments, the terminal device 102 is communicatively connected to the analog front-end emulator 105, and the analog front-end emulator 105 is communicatively connected to the battery management unit 101; the terminal device 102 is communicatively connected to the battery management unit 101.
[0178] The analog front-end emulator 105 is used to: receive the first state information of each balancing circuit in the first balancing circuit set sent by the terminal device 102; the first state information of at least part of the balancing circuits in the first balancing circuit set is the first fault state information, and the first balancing circuit set is included in the second balancing circuit set simulated by the analog front-end emulator; when the first balancing circuit set is the same as the second balancing circuit set, determine the second state information of each balancing circuit in the second balancing circuit set according to the first state information of each balancing circuit in the second balancing circuit set; when the first balancing circuit set is different from the second balancing circuit set, determine the second state information of each balancing circuit in the first balancing circuit set according to the first state information of each balancing circuit in the first balancing circuit set; determine the third state information of each balancing circuit in the third balancing circuit set; the third balancing circuit set is the set of the second balancing circuit set minus the first balancing circuit set; determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least part of the balancing circuits is the second fault state information; send the second state information of each balancing circuit in the second balancing circuit set to the battery management unit 101;
[0179] The battery management unit 101 is used to determine and send balancing circuit fault information to the terminal device 102 according to the second state information of each balancing circuit in the second balancing circuit set;
[0180] The terminal device 102 is used to determine the equalization fault test result of the battery management unit 101 according to the equalization circuit fault information.
[0181] In some embodiments, the analog front-end simulator 105 is further used to: receive a first battery cell parameter value of each channel in the first channel set sent by the terminal device 102; determine and send to the battery management unit 101 a second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator 105 according to the first battery cell parameter value of each channel in the first channel set; wherein the first channel set is included in the second channel set;
[0182] The battery management unit 101 is further used to: determine and send balancing information of the first balancing circuit set to the terminal device 102 according to the second battery cell parameter value of each channel in the second channel set;
[0183] The terminal device 102 is further used to determine, based on the balancing information, whether the balancing test of the battery management unit 101 has passed.
[0184] In some embodiments, the analog front-end emulator 105 is also used to: receive the balancing current value of each balancing circuit in the first balancing circuit set sent by the terminal device 102; determine and send the balancing current value of each balancing circuit in the second balancing circuit set to the battery management unit 101 based on the balancing current value of each balancing circuit in the first balancing circuit set.
[0185] The battery management unit 101 is further used to: determine and send balancing circuit start information to the terminal device 102 according to the balancing current value of each balancing circuit in the second balancing circuit set;
[0186] The terminal device 102 is further used to determine the test result of the activation judgment function of the balancing circuit of the battery management unit 101 according to the balancing circuit activation information.
[0187] In some embodiments, the analog front-end emulator 105 is further configured to: receive a zero current value of each equalizing circuit in at least part of the equalizing circuits sent by the terminal device 102;
[0188] According to the zero current value of each balancing circuit in at least some of the balancing circuits, determine and send to the battery management unit 101 a target current value of each balancing circuit in the second balancing circuit set; the target current value of each balancing circuit in at least some of the balancing circuits is a zero current value;
[0189] The battery management unit 101 is further used to: determine and send balancing circuit closing information to the terminal device 102 according to the target current value of each balancing circuit in the second balancing circuit set;
[0190] The terminal device 102 is further used to determine the test result of the shutdown judgment function of the equalization circuit of the battery management unit 101 according to the equalization circuit shutdown information.
[0191] In some embodiments, the battery management unit 101 includes: a first interface, a second interface, a first communication module, a second communication module, and a balancing module. After the first interface in the battery management unit 101 receives the second battery cell parameter value, the first communication module obtains the second battery cell parameter value output by the first interface in the battery management unit 101, the balancing module obtains the second battery cell parameter value output by the first communication module, the balancing module determines the balancing information, and outputs at least one of the balancing circuit fault information, balancing information, balancing circuit start information, and balancing circuit shutdown information, the second communication module obtains at least one of the balancing circuit fault information, balancing information, balancing circuit start information, and balancing circuit shutdown information output by the balancing module, and the second interface of the battery management unit 101 receives at least one of the balancing circuit fault information, balancing information, balancing circuit start information, and balancing circuit shutdown information output by the second communication module, so as to send it to the terminal device 102. Exemplarily, the first communication module may be a daisy chain communication module, and the second communication module may be a CAN communication module.
[0192] In some embodiments, determining a result of a balancing fault test of a battery management unit based on balancing circuit fault information includes: determining that the balancing fault test of the battery management unit has passed when the balancing circuit fault information includes fault type indication information of at least part of the balancing circuit, and determining that the balancing fault test of the battery management unit has failed when the balancing circuit fault information does not include fault type indication information of at least part of the balancing circuit.
[0193] In some embodiments, determining a test result of a start-up judgment function of a balancing circuit of a battery management unit according to balancing circuit start-up information includes: determining that the test of the start-up judgment function of the balancing circuit of the battery management unit passes when the balancing circuit start-up information indicates that each balancing circuit in a first balancing circuit set is turned on, and determining that the test of the start-up judgment function of the balancing circuit of the battery management unit fails when the balancing circuit start-up information does not indicate that each balancing circuit in the first balancing circuit set is turned on.
[0194] In some embodiments, determining a test result of a shutdown judgment function of a balancing circuit of a battery management unit based on balancing circuit shutdown information includes: determining that the test of the shutdown judgment function of the balancing circuit of the battery management unit passes when the balancing circuit shutdown information indicates that each of at least some of the balancing circuits is shut down, and determining that the test of the shutdown judgment function of the balancing circuit of the battery management unit fails when the balancing circuit shutdown information does not indicate that each of at least some of the balancing circuits is shut down.
[0195] In some embodiments, the terminal device 102 is also used to obtain a first performance test case before sending the first battery cell parameter value of each channel in the first channel set to the analog front-end emulator 105; the first performance test case is used to test whether the accuracy of the balancing time calculated by the battery management unit 101 meets the requirements; the first performance test case includes the first battery cell parameter value of each channel in the first channel set, the second balancing time of all battery cells associated with the first channel set, and the balancing time error value; when the balancing information includes the first balancing time of all battery cells associated with the first channel set, and the difference between the first balancing time and the second balancing time is less than or equal to the balancing time error value, it is determined that the first performance test case has passed; when the balancing information includes the first balancing time of all battery cells associated with the first channel set, and the difference between the first balancing time and the second balancing time is greater than the balancing time error value, it is determined that the first performance test case has failed.
[0196] In the technical solution of the embodiment of the present application, the terminal device determines whether the first performance test case is passed by comparing the difference between the first balancing time and the second balancing time with the balancing time error value, which can reflect whether the balancing calculation accuracy of the battery management unit meets the requirements. Therefore, the test system can further test the accuracy of the balancing calculation of the battery management unit, thereby improving the comprehensiveness of the test.
[0197] In some embodiments, the terminal device 102 is also used to obtain a second performance test case before sending the first battery cell parameter value of each channel in the first channel set to the simulation front-end emulator 105; the second performance test case is used to test whether the duration of the battery management unit 101 to perform balancing calculation meets the requirements; the second performance test case includes the first battery cell parameter value and the first transmission and reception duration of each channel in the first channel set; the terminal device 102 is also used to determine the second transmission and reception duration after receiving the balancing information; the second transmission and reception duration is the duration from the terminal device 102 sending the first battery cell parameter value of each channel in the first channel set to the simulation front-end emulator 105 to the terminal device 102 receiving the balancing information; when the second transmission and reception duration is less than or equal to the first transmission and reception duration, it is determined that the second performance test case has passed; when the second transmission and reception duration is greater than the first transmission and reception duration, it is determined that the second performance test case has failed.
[0198] In the technical solution of the embodiment of the present application, the terminal device sends the first battery cell parameter value of each channel in the first channel set to the analog front-end emulator, and the second transmission and reception time until the terminal device receives the balancing information is compared with the first transmission and reception time to determine whether the second performance test case is passed, which can reflect whether the balancing calculation time of the battery management unit meets the requirements. Therefore, the test system can further test the balancing calculation time of the battery management unit, thereby improving the comprehensiveness of the performance test.
[0199] In some embodiments, the terminal device 102 is also used to obtain an interface test case before sending the first battery cell parameter value of each channel in the first channel set to the analog front-end emulator 105; obtain the interface test case; the interface test case is used to test whether the battery management unit 101 has a specific function, and the specific function is the function of determining the balancing of each battery cell in all battery cells associated with the second channel set; the interface case includes the identifier and battery cell parameter value of each channel in the second channel set; the terminal device 102 determines whether the interface test case passes based on whether each balancing information sent by the battery management unit 101 is received in sequence after sending the battery cell parameter value of each battery cell in all battery cells associated with the second channel set to the analog front-end emulator 105 in sequence; wherein each balancing information includes indication information for balancing each battery cell in all battery cells associated with the second channel set and / or the first balancing time of each battery cell.
[0200] In the technical solution of the embodiment of the present application, through the interface test case, it is possible to test whether the battery management unit has the ability to independently determine the balancing of each battery cell among all the battery cells associated with the second channel set, thereby solving the problem of being unable to test the ability to independently determine the balancing of each battery cell among all the battery cells due to the multiplexing of the battery emulator channels, and improving the comprehensiveness of the test.
[0201] In some embodiments, the terminal device 102 is also used to send a balancing prohibition condition or a balancing permission condition to the battery management unit 101 before sending the first battery cell parameter value of each channel in the first channel set to the analog front-end emulator 105; the battery management unit 101 is also used to receive the balancing prohibition condition or the balancing permission condition; the battery management unit 101 can determine the balancing information based on the second target information, and based on the balancing prohibition condition or the balancing permission condition.
[0202] In some embodiments, the equalization prohibition condition may include at least one of the following: equalization circuit failure, equalization time equal to 0, SOC value of battery cell less than or equal to 20%, voltage value of battery cell less than or equal to 3000 mV, temperature of battery cell greater than or equal to 100 degrees Celsius, temperature value of battery cell less than or equal to 0 degrees Celsius, initialization of battery management unit 101 is not completed, battery management unit 101 is dormant or ready to sleep, battery cell is in charging state and SOC value is greater than or equal to first SOC threshold. For example, in vehicle application, if the temperature of battery cell is low, the internal resistance of battery cell will be high, resulting in inaccurate voltage value of measured battery cell, so the equalization information determined by battery management unit 101 is inaccurate, so battery management unit 101 determines not to equalize the battery cell.
[0203] In some embodiments, the equalization permission condition may include at least one of the following: the equalization circuit is not faulty, the equalization time is greater than 0, the SOC value of the battery cell is greater than or equal to 25%, the voltage value of the battery cell is greater than or equal to 3200 millivolts, the temperature of the battery cell is less than or equal to 80 degrees Celsius, the temperature of the battery cell is greater than 0 degrees Celsius, the battery management unit 101 is initialized, the battery management unit 101 is in working state, the battery cell is in charging state and the SOC value is less than the second SOC threshold. The first SOC threshold and the second SOC threshold may be the same, or the first SOC threshold is greater than the second SOC threshold.
[0204] In some embodiments, determining that the equalization determination test of the battery management unit 101 has passed according to the equalization information of the first equalization circuit set includes: determining that the equalization determination test of the battery management unit 101 has passed according to the equalization information of the first equalization circuit set and according to the equalization permission condition or the equalization prohibition condition. Exemplarily, when the equalization information of the first equalization circuit set sent by the battery management unit 101 is received and the second battery cell parameter value corresponding to the first equalization circuit set meets the equalization permission condition or does not meet the equalization prohibition condition, it is determined that the equalization determination test of the battery management unit 101 has passed.
[0205] In some embodiments, the first interface of the battery management unit 101 is used to receive information, and the information can be transmitted to the first communication module, and the first communication module transmits the information to the balancing module so that the balancing module processes it. In some embodiments, the second interface of the battery management unit 101 is used to receive information, and the information can be transmitted to the second communication module, and the second communication module transmits the information to the balancing module so that the balancing module processes it. In some embodiments, after the balancing module determines the information, it can transmit the information to the second communication module, and the second communication module transmits the information to the second interface of the battery management unit 101 so that the second interface of the battery management unit 101 sends it.
[0206] In the technical solution of the embodiment of the present application, the battery management unit can determine the balancing information of the battery cells according to the balancing prohibition conditions or balancing permission conditions flexibly configured by the terminal device, thereby improving the flexibility of the balancing calculation test of the battery management unit.
[0207] In some embodiments, the terminal device 102 is also used to execute the following before sending the first battery cell parameter value of each channel in the first channel set to the analog front-end emulator 105: obtaining a parameter table; the parameter table includes the channel parameter value of each channel in the second channel set, and the first state information of each balancing circuit in the second balancing circuit set; according to the parameter table, creating at least one test case for the battery management unit 101; each test case in the at least one test case is used to determine the balancing fault test result of the battery management unit 101 or the balancing determination test result of the battery management unit 101.
[0208] In some embodiments, the terminal device can parse a test case to obtain the first state information of each balancing circuit in the first balancing circuit set, and optionally, the identification of each balancing circuit. In some embodiments, the terminal device can parse a test case to obtain the first battery cell parameter value of each channel in the first channel set, and optionally, the channel identification of each channel. In some embodiments, the terminal device parses each test case and obtains the expected result.
[0209] In some embodiments, the multiple channel parameter values of any channel may be arranged in order from large to small or from small to large. In some embodiments, the multiple channel parameter values of any channel may include at least one of the following: normal value, abnormal value, critical value, etc.
[0210] In other embodiments, the fault type indication information of different balancing circuits may be the same or different. In other embodiments, the fault current values of different balancing circuits may be the same or different. In other embodiments, the fault temperature values of different balancing circuits may be the same or different.
[0211] In the technical solution of the embodiment of the present application, since the test case is created according to the parameter table, the test case can be created by capturing the channel parameter values in the parameter table through a table capture tool, which can improve the efficiency of test case creation.
[0212] In other embodiments, the terminal device 102 is further used to display a program control panel; the program control panel includes one or more input boxes associated with the second channel set simulated by the analog front-end simulator 105; the terminal device 102 is further used to obtain the first battery cell parameter value of each channel in the first channel set in response to a data input operation for at least one input box associated with the first channel set before the terminal device 102 sends the first battery cell parameter value of each channel in the first channel set to the analog front-end simulator 105. In some embodiments, the program control panel can be created in a CAN open environment (CANoe) project.
[0213] In the technical solution of the embodiment of the present application, the tester inputs the channel parameter value into the input box, so that the terminal device obtains the identification and channel parameter value of each channel in the first channel set, and then the terminal device can quickly obtain the identification and channel parameter value of each channel in the first channel set, which is conducive to improving test efficiency.
[0214] In some further embodiments, the program control panel includes one or more input boxes associated with the second equalizing circuit set simulated by the analog front-end emulator 105; the terminal device 102 is also used to obtain the first status information of each equalizing circuit in the first equalizing circuit set in response to a data input operation of at least one input box associated with the first equalizing circuit set before the terminal device 102 sends the first status information of each equalizing circuit in the first equalizing circuit set to the analog front-end emulator 105.
[0215] In the technical solution of the embodiment of the present application, the tester inputs information into the input box, so that the terminal device obtains the first state information of each equalizing circuit in the first equalizing circuit set, and then the terminal device can quickly obtain the first state information of each equalizing circuit in the first equalizing circuit set, which is conducive to improving test efficiency.
[0216] In some embodiments, the program control panel further includes a real balance duration display box and / or an expected balance duration display box. In some scenarios, the terminal device 102 controls the display of the first balance duration in the real balance duration display box. In some scenarios, the terminal device 102 controls the display of the second balance duration in the expected balance duration display box.
[0217] In some embodiments, the program control panel further includes a real receiving and sending duration display box and / or an expected receiving and sending duration display box. In some scenarios, the terminal device 102 controls the display of the second receiving and sending duration in the real receiving and sending duration display box. In some scenarios, the terminal device 102 controls the display of the first receiving and sending duration in the expected receiving and sending duration display box.
[0218] In some embodiments, the program control panel also includes a test result box. In some scenarios, the terminal device 102 is also used to display an indication of the test passing in the test result box if the test passes, and display an indication of the test failing in the test result box if the test fails.
[0219] Related technologies use a BMS balancing module test strategy based on a battery simulator in HIL testing. This test strategy uses a combination of a battery simulator + multiple CMCs (or a battery simulator + multiple AFE chips). Due to the high cost and insufficient quantity of battery simulators, multiple reuse of voltage and temperature channels, and poor accuracy and stability of the test environment, the test efficiency is low or even impossible to test.
[0220] CMC is responsible for monitoring the voltage and / or temperature of the battery cells, and implementing balancing control on the battery cells, etc. If the number of channels of the battery emulator is insufficient, the channels can be allocated in the form of single control + multiplexing, and the sampling connection between the battery emulator and the CMC can be realized through a one-to-one or one-to-many tooling (that is, an output channel of the battery emulator can be connected to one or more sampling channels of the CMC through a one-to-one or one-to-many line. In any embodiment of the present application, the sampling channel of the CMC can be understood in the same way as the sampling channel of the AFE). Multiple CMCs are connected through a daisy chain, and the CMC and the BMU under test are connected through a daisy chain. The BMU communicates with the first CMC in the form of a differential signal, enters the subsequent CMCs in turn, and finally communicates with all CMCs. Since the test environment and the actual environment are quite different when testing the equalization module, which affects the test results, HIL testers often use functional testing methods. According to system and software requirements, for each functional module, they specifically analyze how many functional points each functional module can be divided into (for example, the equalization circuit fault handling function, the equalization circuit start-up judgment function and the equalization determination function, etc.), and write a test item for each relatively independent functional point of the software or system function, and test each item with equivalent data of normal values and abnormal values. During the execution of the equalization fault test, HIL testers need to manually operate the CMC board. After building the test bench, HIL testers need to perform environmental closed-loop debugging and generate an environmental accuracy comparison table to reduce the extra time spent in the test execution process.
[0221] However, the related art has at least one of the following problems:
[0222] The battery simulator is expensive and bulky, with many tooling harnesses and a large number of CMCs on the CMC board, which increases the difficulty of tooling installation. When HIL testers switch between test benches, their efficiency is low and their error rate is high.
[0223] The accuracy of the battery simulator is low, and the test environment is quite different from the actual environment. When the HIL tester tests the balancing module, the voltage and temperature settings are not within the threshold of the functional point, and the test is inaccurate, resulting in test item failure;
[0224] The reuse of battery emulator channels and the aging of equipment will lead to reduced output stability of the battery emulator, large voltage and temperature fluctuations, and the inability to test;
[0225] The battery simulator has a small number of single controls for voltage and temperature, and the control capability is poor, which is insufficient to meet the needs of automated testing of the balancing module. Repetitive testing still requires manual testing.
[0226] When testing a balancing fault, manually operating the CMC board may damage the CMC board and there is a risk of test failure. After the test, a new CMC board needs to be replaced.
[0227] In order to reduce the adverse effects of environmental changes on testing work, improve the efficiency and quality of testing work, and realize automated testing, the embodiment of the present application adopts an AFE simulator to replace the combination of a battery simulator + multiple CMCs, and designs a BMS balancing module testing strategy based on the AFE simulator.
[0228] In order to solve the problems of difficult installation of battery simulators, a large number of CMCs, low switching efficiency and high error rate of test benches, the embodiment of the present application proposes to use an AFE simulator to replace the combination of battery simulators + multiple CMCs, directly connect the AFE simulator and the BMU under test through a daisy chain, and the BMU and AFE simulator communicate in the form of differential signals, and perform CAN communication control on the AFE simulator through the terminal device 102. Therefore, the embodiment of the present application can reduce tooling costs and reduce the manpower costs of test bench construction and maintenance.
[0229] In order to solve the problem of low accuracy of battery simulator, large deviation between voltage and temperature setting value and measured value, and inability to determine the performance of the equalization module, the embodiment of the present application proposes a test strategy for the equalization module designed based on the AFE simulator. When obtaining quantitative results, the HIL tester tests the accuracy of the calculation of the equalization module, such as data processing accuracy, time control accuracy, etc., adds extreme working condition testing and limits the acceptable output data range. Therefore, the embodiment of the present application can make the setting value and measured value of voltage and temperature have no deviation, can test the boundary or endpoint of the functional limit, and meet the relevant requirements of performance testing at the same time, solve the problem of test failure caused by inaccurate test of the equalization module, reduce the extra time spent on the maintenance of the test cases and test execution process of the equalization module, and improve the test efficiency and test quality of the equalization module.
[0230] In order to solve the problem that the output stability of the battery emulator is low and the voltage and temperature fluctuations are large, resulting in the inability to test some functions of the balancing module, the embodiment of the present application proposes a test strategy for the balancing module based on the AFE emulator. When the AFE emulator receives specific parameters of a channel, it outputs the specific parameters of the channel, so that the voltage and temperature of the battery cell can be controlled.
[0231] In order to solve the problem that the corresponding battery cells cannot be identified due to channel multiplexing, the embodiment of the present application proposes a solution in which the terminal device can independently output the channel parameter value of each channel in the first channel set. This solves the problem that the balancing module test cannot identify the corresponding battery cells due to channel multiplexing and cannot be tested, thereby improving the test coverage of the balancing module.
[0232] In order to solve the problem that the number of single controls for the voltage and temperature of the battery emulator is small, the control capability is poor, and the automated testing cannot be realized, the embodiment of the present application proposes a test strategy for the equalization module based on the AFE emulator. When the voltage and temperature of the battery cell are controllable, the partially repetitive tests of the equalization module can be designed with an automated script to perform semi-automatic or automated testing. Therefore, because the voltage and temperature of the battery cell are highly controllable, the equalization module can be semi-automated or automated tested, which greatly reduces the manpower cost of the equalization module test, improves the utilization rate of the test resources, and guarantees the test delivery.
[0233] In order to solve the problem that manual operation of the CMC board causes a high damage rate of the CMC board and increases the test cost, the embodiment of the present application proposes that the terminal device can configure the test parameters, set the fault injection or fault parameter value, etc., and send it to the AFE simulator. In this way, the terminal device controls the output of the signal of the physical layer (corresponding to the first state information of each equalizing circuit in the above-mentioned first equalizing circuit set), so that the state information of the equalizing fault can be output through the AFE simulator. In this way, when testing the equalizing fault, the CMC board can be controlled by simulating the AFE simulator without damaging the CMC board.
[0234] In an embodiment of the present application, an AFE emulator is used to replace the combination of a battery emulator + multiple CMCs, the AFE emulator and the BMU under test are connected through a daisy chain, the BMU and the AFE emulator communicate in the form of differential signals, the AFE emulator supports CAN signal control, and CAN communication can be established between the terminal device 102 and the AFE emulator.
[0235] In any embodiment of the present application, the terminal device 102 is controlled accordingly through the CANoe project.
[0236] The workflow of the BMS balancing module test strategy based on the AFE simulator is as follows: HIL testers first conduct a demand analysis according to the test plan, and distinguish between functional test items, performance test items, interface test items, etc. according to the system and software requirements of the balancing module, determine the functional points, write test cases and pass the review. At the same time, HIL testers need to build a test bench based on the AFE simulator to complete environmental closed-loop debugging and software acceptance testing. During the test execution, testers need to follow the steps of the balancing module test case to complete the test result determination, test problem confirmation, test data storage, etc. of the balancing module, and finally write a test report for the balancing module, and then output it after review.
[0237] The following describes the principle of the BMS equalization module test strategy based on the AFE simulator:
[0238] First, the test bench environment is built. HIL testers use AFE simulators to replace the combination of battery simulators + multiple CMCs, directly connect the AFE simulator and the BMU under test through a daisy chain, and use CAN communication equipment to connect the CANoe project and the AFE simulator. Build a CANoe project in the terminal device, add the CAN database (DataBase CAN, DBC) file of the AFE simulator control message in the CANoe project, establish the corresponding system variables, and design program control scripts based on this, use the system variable control message to issue channel enable and channel physical value setting instructions to achieve the control configuration of all single battery cell voltages and temperatures. Testers design program control panels and assign values to system variables through the panel to configure test parameters and monitor the operating status of the test system. Closed-loop debugging of the test bench environment, cancel the environmental accuracy comparison table, and verify that there is no deviation between the given values set by the CANoe system variables and the voltage and temperature measurement values of the battery cells output by the AFE simulator.
[0239] Then, the equalization module based on the AFE simulator is tested, and the test includes at least one of a function test, a performance test, and an interface test.
[0240] In the test strategy of the function test of the equalization module based on the AFE simulator, the HIL tester can use at least one of the analysis methods such as the function decomposition analysis method, the equivalence class analysis method, the boundary value analysis method, the decision table analysis method, and the guessing error method to determine the composition of the software function. Based on the test environment of the AFE simulator, the HIL tester can confirm the output of the function and the expected output result and the judgment condition according to the input boundary value, and use the black box method to write the test cases of the equalization module according to the requirements and execute the test cases in sequence after passing the review. Based on the test environment of the AFE simulator, the HIL tester can use real data to test the correctness of the equalization module function under voltage, temperature overload, saturation and other extreme conditions, and use the combination test method to execute relevant test cases to test the functions of the equalization module item by item, so as to improve the test adequacy of the key equalization module functions. Based on the test environment of the AFE simulator, the HIL tester can use the automated test tool to test the special functions and functional boundaries of the equalization module for at least one of the key control flow and calculation strategy (corresponding to the above-mentioned equalization permission condition or equalization prohibition condition) of the equalization module under the condition of sound program control script.
[0241] In the test strategy of the performance test of the balancing module based on the AFE simulator, based on the test environment of the AFE simulator, HIL testers can analyze typical test scenarios of the performance of the balancing module, such as the data changes during the balancing time (increasing / decreasing strategy), and can use the boundary value method to design test cases, explain in detail how to set the execution conditions, obtain quantitative results under the worst conditions, and evaluate the performance results of the balancing module. Based on the test environment of the AFE simulator, HIL testers analyze according to the performance requirements of the balancing module. For related performance tests with large amounts of data, data preparation is required in the early stage of the test. According to the actual situation, automated test tools are used to quickly batch create test cases for the battery cell parameter table. According to the test environment, corresponding test tools are developed to perform automated testing, and test reports are automatically generated after the test is completed.
[0242] In the test strategy of the equalization module interface test based on the AFE simulator, based on the test environment of the AFE simulator, the HIL tester can perform interface testing according to the functional requirements of the equalization module in combination with functional testing, including normal interface function testing and interface exception handling testing.
[0243] Reference Fig. 9 , Fig. 9 The architecture of the test system of some embodiments is shown in FIG. Figure 3The test system includes: a BMU 101, a terminal device 102, and an AFE emulator 105; a first interface of the terminal device 102 is communicatively connected to a first interface of the AFE emulator 105, a second interface of the AFE emulator 105 is communicatively connected to a first interface of the BMU 101, and a second interface of the terminal device 102 is communicatively connected to a second interface of the BMU 101 via a CAN protocol. For example, the second interface of the terminal device 102 is communicatively connected to a second interface of the BMU 101 via a CAN communication device 106.
[0244] The third interface of the terminal device 102 is connected to the VT board 1071 of the virtualization technology (VT) system 107, so as to control at least one of the voltage output, resistance output, voltage acquisition, pulse width modulation (PWM) wave output, switch, power switching, etc. of the BMU 101, and control the relay box (Rleay-Box) 108.
[0245] The fourth interface of the terminal device 102 is connected to the low voltage DC power supply 109 so that the low voltage DC power supply 109 injects low voltage into the BMU 101 and the VT system 107. The fifth interface of the terminal device 102 is connected to the insulation resistance box 110 so that the insulation resistance box 110 injects insulation resistance into the relay box 108. The sixth interface of the terminal device 102 is connected to the high voltage DC power supply 111 so that the high voltage DC power supply 111 injects high voltage into the relay box. The AFE simulator 105 is used to store the cell voltage and cell temperature of each channel.
[0246] The BMU 101 may include at least one of the following functions: high and low voltage sampling, high and low side driving, power management, CAN communication, SOX, balancing, etc.
[0247] The terminal device 102 outputting information may include: a CANoe project installed in the terminal device 102 outputting information through the terminal device 102 .
[0248] Some application examples of this application are described below:
[0249] The balancing module balancing function is turned on for testing:
[0250] Test item description: Single cell voltage minus minimum voltage ≥ 100mV, after standing for 60 minutes, start balancing.
[0251] The actions of the test method include: A. Power on to wake up the BMU; B. Set the initial values of all voltages to 3700 mV; C. Set the voltage of cell No. 1 to 3800 mV; D. Wait for 1 hour; E. Set the voltages of cells No. 1 to 100 in sequence, and repeat A to D.
[0252] The expected results of the test method include: A. BMU wake-up is successful; B. The initial value of all voltages is = 3700mV; C. Cell voltage No. 1 = 3800mV; D. Cell balancing is turned on for cell No. 1, the balancing current is > 40mA, and the balancing time is 10min; E. Cell voltages No. 1 to No. 100 are balanced in sequence.
[0253] Comparison of testing strategies:
[0254] Based on the test strategy of the battery simulator, due to the voltage error in the actual environment, Fail will be judged when executing steps B and C, and the repeatability test of step E needs to be tested manually. Failure scenario 1: After executing step C, the initial voltage value is 3710mV. After executing step C, the output voltage of cell No. 1 = 3805mV. Considering the impact of actual environmental problems, HIL testers need to add a voltage tolerance of ±20mV to the judgment results of steps B and C, and step C needs to be modified to "set the voltage of cell No. 1 to 3805mV". After executing step D, it meets the expected results. The battery simulator channel is reused and the tested battery cell cannot be confirmed. In order to reasonably use the test resources, step E needs to perform a point-grabbing function test.
[0255] Based on the test strategy of the AFE simulator, the test environment is consistent with the actual environment. After executing steps B and C, the output is as much as given. The output voltage of cell No. 1, the minimum voltage, and the balanced start result can all meet the expected results. The test passes, and the boundary value is tested, which reduces the time wasted in the maintenance of test cases and test execution. In addition, HIL testers can use the case generation tool to quickly batch create test cases for single cell equalization, and then develop corresponding test tools according to the test environment to perform automated testing. After the test is completed, the test report is automatically generated, and performance testing and interface testing can be completed at the same time, which greatly reduces manpower waste and improves test coverage.
[0256] Equalization circuit open circuit fault test of the equalization module:
[0257] Test item description: MOS cannot be closed or the resistor is burned out and the circuit is open, and the balancing circuit is reported as open.
[0258] The test method includes: A. Find the two resistors corresponding to the balancing circuit in the CMC board (such as R233 and R235 of the balancing circuit of cell 1) and remove them; B. Power on to wake up the BMU; C. Wait for 10 seconds.
[0259] The expected results of the test method include: A. R233 and R235 are removed successfully; B. BMU wakes up successfully; C. Single cell No. 1 reports an open circuit fault in the balancing circuit.
[0260] Comparison of testing strategies:
[0261] Based on the test strategy of the battery simulator, you first need to prepare a spare board, manually remove the two balancing resistors in the CMC board, and then connect the BMU under test to perform the test. This method can only test the open circuit fault of the balancing circuit of a certain battery cell separately. After the test is completed, it needs to be replaced with a spare board to continue testing other functions.
[0262] Based on the test strategy of the AFE simulator, by configuring the test parameters of the open-circuit fault of the balancing circuit, the control instructions are issued using the CANOE project, and then the AFE simulator will control the signal output of the physical layer to report the open-circuit fault of the balancing circuit. After the functional test is completed and the test system is relatively stable, the HIL tester can write a test script, design a programmable control panel for the balancing fault, and test the balancing circuit fault of all cells in turn.
[0263] The embodiment of the present application is based on the BMS balancing module test strategy of the AFE simulator. The voltage and temperature of the battery cell are highly controllable, and the physical signal of the fault type indication information or fault parameter value is output according to the configured test parameters. It can solve the pain points and difficulties of the BMS balancing module test strategy based on the battery simulator, and the HIL test work of the balancing module has been greatly improved, such as the calculation of imbalance, calculation of balancing time, sleep balancing, balancing circuit short circuit fault, balancing circuit overtemperature fault and other test work. For example, sleep balancing is that before the BMU goes to sleep, it controls the balancing circuit in the BMS slave board to turn on to balance the battery cells, and then the battery management power goes to sleep. After the balancing time is reached, the BMS slave board stops balancing the battery cells.
[0264] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0265] The above-mentioned analog front-end emulator, the first communication unit, the determination unit or the second communication unit may include any one of the following or an integration of multiple of the following: a general-purpose processor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), an embedded neural network processor (neural-network processing units, NPU), a controller, a microcontroller, a microprocessor, a programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. It can be understood that the electronic device that implements the above-mentioned processor function can also be other, and the embodiments of the present application are not specifically limited. The analog front-end emulator or processor can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0266] It should be understood that the "one embodiment" or "an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some implementations" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some implementations" or "some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0267] Unless otherwise specified, the simulation front-end simulator performs any step in the embodiment of the present application, and each unit of the simulation front-end simulator may perform the step. Unless otherwise specified, the embodiment of the present application does not limit the order in which the simulation front-end simulator performs the above steps. In addition, the methods used to process data in different embodiments may be the same method or different methods. It should also be noted that any step in the embodiment of the present application can be independently executed by the simulation front-end simulator, that is, when the simulation front-end simulator performs any step in the above embodiment, it may not rely on the execution of other steps.
[0268] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0269] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0270] In addition, all functional units in the embodiments of the present application may be integrated into one unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0271] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0272] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0273] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0274] A person skilled in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, the aforementioned program can be stored in a computer storage medium, and when the program is executed, the execution includes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), disks or optical disks, and other media that can store program codes.
[0275] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for the simulation front-end simulator to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0276] In the embodiments of the present application, the descriptions of the same steps and the same contents in different embodiments can refer to each other. In the embodiments of the present application, the term "and" does not affect the order of the steps. For example, the simulation front-end simulator executes A and executes B, which may be the simulation front-end simulator first executes A and then executes B, or the simulation front-end simulator first executes B and then executes A, or the simulation front-end simulator executes A and executes B at the same time.
[0277] As used in the embodiments of the present application, the singular forms "a", "an", "said" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0278] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. It should be noted that in each embodiment involved in the present application, all steps can be executed or part of the steps can be executed, as long as a complete technical solution can be formed. The above is only an implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the scope of protection of the present application.
Claims
1. A method for processing fault status information, characterized in that: The method is applied to an analog front-end simulator, and the method comprises: receiving first state information of each equalizing circuit in a first equalizing circuit set sent by a terminal device; the first state information of at least part of the equalizing circuits in the first equalizing circuit set is first fault state information, and the first equalizing circuit set is included in a second equalizing circuit set simulated by the analog front-end simulator; In a case where the first balancing circuit set is the same as the second balancing circuit set, determining second status information of each balancing circuit in the second balancing circuit set according to first status information of each balancing circuit in the second balancing circuit set; In a case where the first equalizing circuit set is different from the second equalizing circuit set, determining second state information of each equalizing circuit in the first equalizing circuit set according to first state information of each equalizing circuit in the first equalizing circuit set; Determine third state information of each equalizing circuit in a third equalizing circuit set; the third equalizing circuit set is a set of the second equalizing circuit set minus the first equalizing circuit set; Determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least part of the balancing circuits is second fault state information; The second status information of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the battery management unit determines and sends the balancing circuit fault information to the terminal device according to the second status information of each balancing circuit in the second balancing circuit set, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
2. The method according to claim 1, characterized in that Before receiving first status information of each equalizing circuit in the first equalizing circuit set sent by the terminal device, the method further includes: Receiving a first battery cell parameter value of each channel in a first channel set sent by the terminal device; Determine, according to the first battery cell parameter value of each channel in the first channel set, the second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator; wherein the first channel set is included in the second channel set; Sending a second battery cell parameter value of each channel in the second channel set to the battery management unit, so that the battery management unit determines and sends balancing information of the first balancing circuit set to the terminal device, so that the terminal device determines that the balancing determination test of the battery management unit passes according to the balancing information; Among them, the difference between the voltage value of the voltage channel corresponding to the first equalizing circuit set and the voltage value of the voltage channel corresponding to the third equalizing circuit set is greater than a preset value; the third equalizing circuit set is a set of the second equalizing circuit set minus the first equalizing circuit set.
3. The method according to claim 2, characterized in that After sending the second battery cell parameter value of each channel in the second channel set to the battery management unit, the method further includes: receiving a balancing current value of each balancing circuit in the first balancing circuit set sent by the terminal device; Determining a balancing current value of each balancing circuit in the second balancing circuit set according to a balancing current value of each balancing circuit in the first balancing circuit set; The balancing current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the battery management unit determines and sends the balancing circuit startup information to the terminal device, so that the terminal device determines the test result of the startup judgment function of the balancing circuit of the battery management unit according to the balancing circuit startup information.
4. The method according to claim 1, characterized in that: After sending the second status information of each balancing circuit in the second balancing circuit set to the battery management unit, the method further includes: receiving a zero current value of each equalizing circuit in at least part of the equalizing circuits sent by the terminal device; determining a target current value of each balancing circuit in the second balancing circuit set according to the zero current value of each balancing circuit in the at least part of the balancing circuits; the target current value of each balancing circuit in the at least part of the balancing circuits is a zero current value; The target current value of each balancing circuit in the second balancing circuit set is sent to the battery management unit, so that the battery management unit determines and sends balancing circuit shutdown information to the terminal device, so that the terminal device determines the test result of the shutdown judgment function of the balancing circuit of the battery management unit according to the balancing circuit shutdown information.
5. The method according to any one of claims 1 to 4, characterized in that: The first fault status information is the same as the second fault status information, and the first fault status information includes at least one of the following: fault type indication information, fault current value, and fault temperature value; or, The first fault status information includes a fault current value and / or a fault temperature value, and the second fault status information includes fault type indication information.
6. The method according to claim 5, characterized in that The first state information of a part of the balancing circuits in the first balancing circuit set is first fault state information, the first state information of another part of the balancing circuits in the first balancing circuit set is first balancing state information, and the second state information of the another part of the balancing circuits is second balancing state information; The first balancing state information is the same as the second balancing state information, and the first balancing state information includes at least one of the following: balancing indication information, balancing current value, and balancing temperature value; or, The first balancing state information includes a balancing current value and / or a balancing temperature value, and the second balancing state information includes balancing indication information.
7. The method according to claim 2 or 3, characterized in that: The determining, according to the first battery cell parameter value of each channel in the first channel set, the second battery cell parameter value of each channel in the second channel set simulated by the analog front-end simulator comprises: In the case where the first channel set is the same as the second channel set, determining the received first battery cell parameter value of each channel in the second channel set as the second battery cell parameter value of each channel in the second channel set; In the case where the first channel set is different from the second channel set, determining a third battery cell parameter value of each channel in a third channel set; the third channel set is a set of the second channel set minus the first channel set; A second battery cell parameter value of each channel in the second channel set is determined according to the first battery cell parameter value of each channel in the first channel set and the third battery cell parameter value of each channel in the third channel set.
8. An analog front-end emulator, characterized in that: The analog front end simulator comprises: A first communication unit is used to receive first status information of each equalizing circuit in a first equalizing circuit set sent by a terminal device; the first status information of at least part of the equalizing circuits in the first equalizing circuit set is first fault status information, and the first equalizing circuit set is included in a second equalizing circuit set simulated by the analog front-end simulator; a determining unit, configured to: determine, when the first equalizing circuit set is the same as the second equalizing circuit set, second state information of each equalizing circuit in the second equalizing circuit set according to first state information of each equalizing circuit in the second equalizing circuit set; determine, when the first equalizing circuit set is different from the second equalizing circuit set, second state information of each equalizing circuit in the first equalizing circuit set according to first state information of each equalizing circuit in the first equalizing circuit set; determine third state information of each equalizing circuit in a third equalizing circuit set; the third equalizing circuit set is a set of the second equalizing circuit set excluding the first equalizing circuit set; determine second state information of each equalizing circuit in the second equalizing circuit set according to second state information of each equalizing circuit in the first equalizing circuit set and third state information of each equalizing circuit in the third equalizing circuit set; the second state information of at least some of the equalizing circuits is second fault state information; The second communication unit is used to send the second status information of each balancing circuit in the second balancing circuit set to the battery management unit, so that the battery management unit determines and sends the balancing circuit fault information to the terminal device according to the second status information of each balancing circuit in the second balancing circuit set, so that the terminal device determines the balancing fault test result of the battery management unit according to the balancing circuit fault information.
9. A testing system, characterized in that: The test system comprises: a terminal device, an analog front-end emulator and a battery management unit; The analog front-end emulator is used to: receive first state information of each balancing circuit in a first balancing circuit set sent by the terminal device; the first state information of at least part of the balancing circuits in the first balancing circuit set is first fault state information, and the first balancing circuit set is included in a second balancing circuit set emulated by the analog front-end emulator; when the first balancing circuit set is the same as the second balancing circuit set, determine the second state information of each balancing circuit in the second balancing circuit set according to the first state information of each balancing circuit in the second balancing circuit set; when the first balancing circuit set is different from the second balancing circuit set, determine the second state information of each balancing circuit in the first balancing circuit set according to the first state information of each balancing circuit in the first balancing circuit set; determine the third state information of each balancing circuit in a third balancing circuit set; the third balancing circuit set is a set of the second balancing circuit set excluding the first balancing circuit set; determine the second state information of each balancing circuit in the second balancing circuit set according to the second state information of each balancing circuit in the first balancing circuit set and the third state information of each balancing circuit in the third balancing circuit set; the second state information of at least part of the balancing circuits is second fault state information; send the second state information of each balancing circuit in the second balancing circuit set to the battery management unit; The battery management unit is used to determine and send balancing circuit fault information to the terminal device according to the second state information of each balancing circuit in the second balancing circuit set; The terminal device is used to determine the equalization fault test result of the battery management unit according to the equalization circuit fault information.
