Battery cell parameter value processing method, analog front-end simulator and test system

By simulating the front-end emulator to receive and process the battery cell parameter values, the problems of complex wiring and difficult automation testing in the battery management unit test system are solved, the testing efficiency and comprehensiveness are improved, and the information accuracy and stability are ensured.

CN118566626BActive Publication Date: 2024-11-15CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411038051.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the existing battery management unit (BMU) testing system, the wiring between the battery emulator and the analog front-end chip is complex, resulting in low testing efficiency, difficult to implement automated testing, and the parameter values ​​of each acquisition channel cannot be independently controlled, affecting the comprehensiveness of the test. .

Method used

Provide a method for processing battery cell parameter values, which receives the battery cell parameter values ​​sent by the terminal device through a simulation front-end emulator, determines and sends them to the battery management unit, simplifies the wiring process, supports automated testing, and can independently control various channels. parameter value.

Benefits of technology

It reduces the difficulty of wiring before testing, improves testing efficiency, realizes automated testing, enhances the comprehensiveness of testing and the effectiveness of information transmission, and ensures the accuracy and stability of battery management unit status and balanced information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566626B_ABST
    Figure CN118566626B_ABST
Patent Text Reader

Abstract

The present application discloses a method for processing battery cell parameter values, an analog front-end emulator, and a test system, the method comprising: receiving a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end emulator; determining a second battery cell parameter value of each channel in the second channel set; and sending the second battery cell parameter value of each channel in the second channel set to a battery management unit, so that the battery management unit determines and sends the battery cell status information and / or balancing information to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or balancing information. The present application can improve the test efficiency and comprehensiveness of the status and / or balancing function test of the battery management unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to testing technology, and in particular to a method for processing battery cell parameter values, 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 over discharge 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 BMU has the function of determining the battery state (SOX).

[0003] At present, the scheme adopted for testing the BMU includes: the battery emulator has multiple output channels, and the multiple output channels are connected to the multiple acquisition channels of the analog front end (Analog Front End, AFE) chip in the BMS slave board. For example, one output channel can be connected to one or more acquisition channels. The battery emulator is used to simulate the parameter values ​​of multiple battery cells and output them through the multiple output channels. The multiple acquisition channels of the AFE chip collect the parameter values ​​of the multiple battery cells through the multiple output channels connected thereto. The AFE chip sends the collected parameter values ​​of the multiple battery cells to the BMU, so that the BMU determines the status information and / or the balance information, and then tests the BMU through the status information and / or the balance information determined by the BMU.

[0004] Under this scheme, first, the wiring between the battery emulator and the AFE chip is complicated, which increases the difficulty of wiring before testing and reduces the test efficiency of the BMU test; second, when performing the next test after completing one test, according to the test requirements, the tester may be required to change the wiring between the battery emulator and the AFE chip, which is not conducive to realizing automated testing, increases the time cost of testing, and further reduces the test efficiency of the BMU test; third, an output channel of the battery emulator may be connected to multiple acquisition channels in the AFE chip, resulting in the inability to independently control the parameter values ​​collected by each acquisition channel in the AFE chip, thereby failing to cover the test requirements that require independent control of the parameter values ​​collected by each acquisition channel, and the test comprehensiveness is low. Summary of the invention

[0005] In view of the above problems, the present application provides a testing system that can solve the problems of low testing efficiency and low testing comprehensiveness in testing the status and / or balancing function of a battery management unit.

[0006] In a first aspect, the present application provides a method for processing battery cell parameter values, which is applied to an analog front-end emulator, and the method includes: receiving a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end emulator; when the first channel set is the same as the second channel set, determining a second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; when 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 excluding the first channel set; determining a second battery cell parameter value of each channel in the second channel set 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; sending the second battery cell parameter value of each channel in the second channel set to a battery management unit, so that the battery management unit determines and sends the status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or balancing information.

[0007] In the technical scheme of the embodiment of the present application, first, the first battery cell parameter value obtained by the simulation front-end emulator is sent by the terminal device. The simulation front-end emulator obtains the first battery cell parameter value, which does not rely on the complex wiring between the simulation front-end emulator and the terminal device. It only needs to simulate the communication connection between the simulation front-end emulator and the terminal device, which reduces the wiring difficulty before testing and improves the test efficiency of the state and / or balancing function 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 state and / or balancing function 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, so as 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; the embodiment of the present application also has the following technical effects: when the first channel set is the same as the second channel set, in a test process, the simulation front-end emulator The device receives the first battery cell parameter value of all channels sent by the terminal device, and sends the second battery cell parameter value of all channels to the battery management unit. The battery management unit can determine the state information and / or balancing information of the battery cells corresponding to all channels, so as to test the determination capability of the battery management unit for all channels and / or balancing information. Compared with testing the determination capability of the battery management unit for some channels and / or balancing information, the test efficiency can be improved. When the first channel set is different from the second channel set, the analog front-end emulator will determine the battery cell parameter value of the third channel set by itself, and then determine the battery cell parameter value of the second channel set to be sent to the battery management unit according to the received battery cell parameter value of the first channel set and the battery cell parameter value of the third channel set determined by itself, so that the battery cell parameter value of each channel in the second channel set is uniquely determined, thereby improving the reliability of the transmitted battery cell parameter value. 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.In addition, the problem that when the battery management unit needs to obtain the battery cell parameter value of each channel in the second channel set to calculate the state information and / or balancing information of the battery cell, the analog front-end module needs to sample the battery cell parameter value of each channel in the second channel set, and if the battery cell parameter value of each channel in the second channel set cannot be collected, the battery management unit cannot calculate the state information and / or balancing information of the battery cell. In the embodiment of the present application, regardless of whether the first channel set received by the analog front-end module is the same as the second channel set, the analog front-end module can determine the battery cell parameter value of each channel in the second channel set. Therefore, the embodiment of the present application can improve the effectiveness of the test. Further, the embodiment of the present application can also test part of the channel set when the first channel set is different from the second channel set, solving the problem of being unable to test part of the channels, thereby improving the comprehensiveness of the test. ;

[0008] In some embodiments, determining the third battery cell parameter value of each channel in the third channel set includes: determining the third battery cell parameter value of each channel in the third channel set as a default parameter value in response to first control information sent by the terminal device; or, determining the third battery cell parameter value of each channel in the third channel set as an invalid parameter value in response to second control information sent by the terminal device. In the technical solution of the embodiment of the present application, the battery cell parameter value of the third channel set can be controlled by the terminal device, which improves the controllability of the battery cell parameter value of the third channel set; in addition, the battery cell parameter value of the third channel set determined by the analog front-end emulator is a default parameter value or an invalid parameter value, which improves the flexibility of determining the battery cell parameter value of the third channel set compared to the solution in which the battery cell parameter value of the third channel set is only one battery cell parameter value.

[0009] In some embodiments, 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, the second battery cell parameter value of each channel in the second channel set is determined, including: merging 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 to obtain the second battery cell parameter value of each channel in the second channel set. In the technical solution of the embodiment of the present application, when the analog front-end emulator receives the first battery parameter value of the first channel set, it will also send the first battery parameter value of the first channel set to the battery management unit, and will not wait for the first battery parameter value of the first channel set to change. The first battery parameter value of the first channel set obtained by the battery management unit is the battery parameter value of the first channel set provided by the terminal device for the test, so that the battery management unit to be tested can perform state and / or balance determination according to the battery parameter value of the first channel set provided by the test, instead of using other battery parameter values ​​that are greatly different from the battery parameter value of the first channel set provided by the test for state and / or balance determination, thereby improving the state and / or balance determination of the battery management unit. The test accuracy of the state and / or balance determination function is improved; in addition, the analog front-end emulator sends the third battery cell parameter value of the third channel set to the battery management unit, and the third battery cell parameter value is not affected by the measurement error and / or parameter value fluctuation, so that the state information and / or balance information of each battery cell corresponding to the third channel set determined by the battery management unit is stable, and the battery management unit can store the correspondence between the third battery cell parameter value and the corresponding state information and / or balance information, thereby eliminating the need to recalculate the state information and / or balance information of each battery cell corresponding to the third channel set, thereby improving the efficiency of the battery management unit in determining the state information and / or balance information of each battery cell corresponding to the third channel set.

[0010] In some embodiments, 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, including: using measurement errors and / or maximum fluctuation values ​​to compensate for the first battery cell parameter value of each channel in the first channel set to obtain a fourth battery cell parameter value for each channel in the first channel set; combining the fourth 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 to obtain the second battery cell parameter value for each channel in the second channel set. In the technical solution of the embodiment of the present application, the analog front-end emulator receives the first battery parameter value of the first channel set, and uses the measurement error and / or the maximum fluctuation value to compensate for the first battery parameter value of the first channel set, so as to simulate the situation that when the analog front-end chip collects real battery cells, due to measurement errors and / or parameter value fluctuations, there is a deviation between the real battery cell parameter value and the collected battery cell parameter value. In this way, the second battery cell parameter value of the first channel set sent by the analog front-end emulator to the battery management unit is a parameter value affected by the measurement error and / or parameter value fluctuation, and then the test can simulate as much as possible in the application of the battery management unit, in order to determine the status information and / or the balancing information, the battery management unit needs to receive the battery cell affected by the measurement error and / or parameter value fluctuation from the analog front-end chip The parameter value improves the authenticity of the functional test of the battery management unit determining the status information and / or balancing information of each battery cell corresponding to the first channel set; in addition, the analog front-end emulator sends the third battery cell parameter value of the third channel set to the battery management unit, and the third battery cell parameter value is not affected by the measurement error and / or parameter value fluctuation, so that the status information and / or balancing information of each battery cell corresponding to the third channel set determined by the battery management unit is stable, and the battery management unit can store the correspondence between the third battery cell parameter value and the corresponding status information and / or balancing information, thereby eliminating the need to recalculate the status information and / or balancing information of each battery cell corresponding to the third channel set, thereby improving the efficiency of the battery management unit in determining the status information and / or balancing information of each battery cell corresponding to the third channel set.

[0011] In some embodiments, 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, including: combining 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 to obtain the fifth battery cell parameter value of each channel in the second channel set; using measurement error and / or maximum fluctuation value to compensate for the fifth battery cell parameter value of each channel in the second channel set to obtain the second battery cell parameter value of each channel in the second channel set. In the technical solution of the embodiment of the present application, after the analog front-end emulator combines the received first battery cell parameter value and the self-determined third battery cell parameter value to obtain the fifth battery cell parameter value of the second channel set, the measurement error and / or the maximum fluctuation value will be used to compensate the fifth battery cell parameter value of the second channel set, thereby being able to simulate the situation where the analog front-end chip, when collecting real battery cells, causes a deviation between the real battery cell parameter value and the collected battery cell parameter value due to measurement errors and / or parameter value fluctuations. In this way, the second battery cell parameter value of the second channel set sent by the analog front-end emulator to the battery management unit is a parameter value affected by measurement errors and / or parameter value fluctuations, and thus the test can simulate as much as possible the battery management unit in the application of the battery management unit, in order to determine the status information and / or balancing information, the battery cell parameter value that is affected by the measurement error and / or parameter value fluctuation that needs to be received from the analog front-end chip, thereby improving the authenticity of the functional test of the battery management unit determining the status information and / or balancing information of each battery cell corresponding to the second channel set.

[0012] In some embodiments, 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 second channel set, including: determining the 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; or, using measurement error and / or maximum fluctuation value to compensate for the first battery cell parameter value of each channel in the second channel set to obtain the second battery cell parameter value of each channel in the second channel set. In the technical solution of the embodiment of the present application, during a test process, the analog front-end emulator receives the first battery cell parameter value of all channels sent by the terminal device, and sends the second battery cell parameter value 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 as to be able to test the determination ability of the battery management unit for all channels, which can improve the test efficiency compared with the determination ability of the battery management unit for some channels; if the analog front-end emulator receives the battery parameter value of the second channel set, it will not wait for the battery parameter value of the second channel set to change, but directly send the battery parameter value of the second channel set to the battery management unit. The battery parameter value of the second channel set obtained by the battery management unit is the battery parameter value of the second channel set provided by the terminal device for the test, so that the battery management unit to be tested can determine the status and / or balancing according to the battery parameter value of the second channel set provided by the test, instead of using the battery parameter value of the second channel set provided by the test. The state and / or balance of other battery parameter values ​​of the battery parameter values ​​of the set with large differences are determined, thereby improving the test accuracy of the state and / or balance determination function of the battery management unit; if the analog front-end emulator receives the battery parameter values ​​of the second channel set, the battery parameter values ​​of the second channel set are compensated by the measurement error and / or the maximum fluctuation value, so as to simulate the situation that when the analog front-end chip collects the real battery cells, due to the measurement error and / or parameter value fluctuation, the real battery cell parameter value deviates from the collected battery cell parameter value. In this way, the compensated battery parameter values ​​of the second channel set sent by the analog front-end emulator to the battery management unit are parameter values ​​affected by the measurement error and / or parameter value fluctuation, and then the test can simulate as much as possible in the application of the battery management unit, in order to determine the state information and / or balance information, the battery management unit needs to receive the battery cell parameter values ​​affected by the measurement error and / or parameter value fluctuation from the analog front-end chip, thereby improving the authenticity of the functional test of the battery management unit determining the state information and / or balance information of each battery cell corresponding to the second channel set.

[0013] In some embodiments, the method further includes: receiving the measurement error and / or maximum fluctuation value sent by the terminal device; or determining the measurement error and / or maximum fluctuation value according to the temperature value in the first battery cell parameter value of each channel. In the technical solution of the embodiment of the present application, if the analog front-end emulator receives the measurement error and / or maximum fluctuation value sent by the terminal device, the analog front-end emulator can compensate the battery cell parameter value according to the control of the terminal device, thereby improving the controllability of the battery cell parameter value sent by the analog front-end emulator by the terminal device; if the analog front-end emulator determines the measurement error and / or maximum fluctuation value according to the temperature value in the first battery cell parameter value of each channel, the measurement error and / or maximum fluctuation value determined by the analog front-end emulator conforms to the temperature value, which is more in line with the temperature scenario required for the test compared to the solution in which the measurement error and / or maximum fluctuation value is a fixed value, and improves the reliability of the determined measurement error and / or maximum fluctuation value. In addition, the analog front-end emulator can determine the measurement error and / or maximum fluctuation value according to the temperature value of the channel sent by the receiving terminal device, without the need for the terminal device to send the measurement error and / or maximum fluctuation value, thereby reducing the amount of data sent by the terminal device to the analog front-end emulator.

[0014] In a second aspect, the present application provides an analog front-end emulator, which includes: a first communication unit, used to receive a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end emulator; a determination unit, used to: when the first channel set is the same as the second channel set, determine the second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; when the first channel set is different from the second channel set, determine the third battery cell parameter value of each channel in the third channel set; the third channel set is a set of the second channel set excluding the first channel set; 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, determine the second battery cell parameter value of each channel in the second channel set; a second communication unit, used to send the second battery cell parameter value of each channel in the second channel set to a battery management unit, so that the battery management unit determines and sends the status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or balancing information.

[0015] 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 a first battery cell parameter value of each channel in a first channel set sent by the terminal device, wherein the first channel set is included in a second channel set simulated by the analog front-end emulator; when the first channel set is the same as the second channel set, determine the second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; when the first channel set is different from the second channel set, determine the third battery cell parameter value of each channel in the third channel set; the third channel set is a set of the second channel set excluding the first channel set; determine the second battery cell parameter value of each channel in the second channel set 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; the battery management unit is used to determine and send the battery cell status information and / or balancing information to the terminal device according to the second battery cell parameter value of each channel in the second channel set; the terminal device is used to determine the test result of the battery management unit according to the status information and / or balancing information.

[0016] 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

[0017] 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.

[0018] Figure 1 The architecture of the test system of some embodiments is shown as follows Figure 1 ;

[0019] Figure 2 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 1 ;

[0020] Figure 3 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 2 ;

[0021] Figure 4 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 3 ;

[0022] Figure 5 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 4 ;

[0023] Figure 6 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 5 ;

[0024] Figure 7 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 6 ;

[0025] Figure 8 A schematic diagram of the structure of an AFE simulator provided in an embodiment of the present application;

[0026] Fig. 9 The architecture of the test system of some embodiments is shown in FIG. Figure 2 ;

[0027] Fig.10 The architecture of the test system of some embodiments is shown in FIG. Figure 3 .

[0028] Description of reference numerals:

[0029] Testing system 100;

[0030] 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;

[0031] First communication unit 1051; determination unit 1052; second communication unit 1053. DETAILED DESCRIPTION

[0032] 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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 BMU projects has increased dramatically and has been frequently iterated. As a key verification link in the BMU R&D stage, the importance of hardware-in-the-loop (HIL) testing has gradually become more prominent.

[0037] HIL testing plays an extremely important role in the development process of BMU. The HIL test system can replace other device components other than BMU and the controlled object through simulation models, while the BMU 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 BMU. 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 test manpower. Therefore, it plays an irreplaceable role in the BMU development process.

[0038] The SOX module or SOX function in the BMU can estimate, evaluate or determine at least one of the following: State of Charge (SOC), State of Energy (SOE), State of Health (SOH), State of Power (SOP), State of Temperature (SOT). To test the SOX module or SOX function in the BMU, the BMU needs to obtain the parameter value of each battery cell in one or more battery cells, and the parameter value includes at least one of the following: voltage value and temperature value.

[0039] Reference Figure 1 , Figure 1 The architecture of the test system of some embodiments is shown as follows 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 AFE chip in a BMS slave board, and the AFE chip is also referred to as an analog front-end 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 state information and / or 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] The battery management unit 101 is communicatively connected with the terminal device 102, and the battery management unit 101 sends the determined status information and / or balancing information of the battery cell to the terminal device 102, so that the terminal device 102 determines the test result of the status and / or balancing determination function of the battery management unit 101 based on the status information and / or balancing information of the battery cell.

[0044] Figure 1The embodiments have the following problems: first, the wiring between the battery emulator 103 and the CMC is complicated, which increases the difficulty of wiring before testing and reduces the test efficiency of the status function test of the battery management unit 101; second, when performing the next test after completing one test, according to the test requirements, the tester may be required to change the wiring between the battery emulator 103 and the CMC, which is not conducive to realizing automated testing, increases the time cost of the test, and further reduces the test efficiency of the status function test of the battery management unit 101; third, an output channel of the battery emulator 103 may be connected to multiple acquisition channels in the CMC, resulting in the inability to independently control the parameter values ​​collected by each acquisition channel in the CMC, thereby failing to cover the test requirements that require independent control of the parameter values ​​collected by each acquisition channel, and the test comprehensiveness is low.

[0045] Based on the above problems, an embodiment of the present application proposes a method for processing battery cell parameter values, which is applied to an analog front-end emulator. The method includes: receiving a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end emulator; when the first channel set is the same as the second channel set, determining a second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; when 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 excluding the first channel set; determining a second battery cell parameter value of each channel in the second channel set 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; sending the second battery cell parameter value of each channel in the second channel set to a battery management unit, so that the battery management unit determines and sends the battery cell status information and / or balancing information to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or balancing information.

[0046] In this way, 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 battery management unit status and / or balancing function test; 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 battery management unit status and / or balancing function test; 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, so as 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; the embodiment of the present application also has the following technical effects: when the first channel set is the same as the second channel set, in a test process, the analog front-end emulator receives the terminal The terminal device sends the first battery cell parameter value of all channels, and sends the second battery cell parameter value 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 as to test the determination capability of the battery management unit for all channels and / or balancing information. Compared with testing the determination capability of the battery management unit for some channels and / or balancing information, the test efficiency can be improved. When the first channel set is different from the second channel set, the simulation front-end emulator will determine the battery cell parameter value of the third channel set by itself, and then determine the battery cell parameter value of the second channel set to be sent to the battery management unit according to the received battery cell parameter value of the first channel set and the battery cell parameter value of the third channel set determined by itself, so that the battery cell parameter value of each channel in the second channel set is uniquely determined, thereby improving the reliability of the transmitted battery cell parameter value. 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.In addition, the problem that when the battery management unit needs to obtain the battery cell parameter value of each channel in the second channel set to calculate the state information and / or balancing information of the battery cell, the analog front-end module needs to sample the battery cell parameter value of each channel in the second channel set, and if the battery cell parameter value of each channel in the second channel set cannot be collected, the battery management unit cannot calculate the state information and / or balancing information of the battery cell. In the embodiment of the present application, regardless of whether the first channel set received by the analog front-end module is the same as the second channel set, the analog front-end module can determine the battery cell parameter value of each channel in the second channel set. Therefore, the embodiment of the present application can improve the effectiveness of the test. Further, the embodiment of the present application can also test part of the channel set when the first channel set is different from the second channel set, solving the problem of being unable to test part of the channels, thereby improving the comprehensiveness of the test. ;

[0047] The BMU 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.

[0048] 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.

[0049] The analog front-end simulator (AFE simulator) in the embodiment of the present application is used to simulate the channels of the AFE chip in the battery management system BMS slave board. For example, the AFE simulator is used to simulate / emulate one or more AFE chips in the BMS slave board. The AFE simulator can simulate the channels of one or more AFE chips in the BMS slave board (i.e., the second channel set in the embodiment of the present application).

[0050] The analog front-end simulator in the embodiment of the present application may also be referred to as an analog front-end simulator (AFE simulator). The output of the analog front-end simulator has the same information type as the output of the analog front-end chip, which are both battery cell parameter values ​​corresponding to the channel.

[0051] 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.

[0052] The connection method 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 can obtain 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. 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 (CAN) communication connection. Each of the multiple channels of the analog front-end chip can be connected to a 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 can be connected to multiple channels of the battery emulator to sample the voltage value and / or temperature value output by the battery emulator.

[0053] 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.

[0054] 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.

[0055] Reference Figure 2 , Figure 2 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 method comprising:

[0056] S201. Receive a first battery cell parameter value of each channel in a first channel set sent by a terminal device.

[0057] The first channel set is included in the second channel set simulated by the analog front-end simulator. After S201, step S202 or S203 may be performed.

[0058] S202 : When the first channel set is the same as the second channel set, determine a second battery cell parameter value for each channel in the second channel set according to the first battery cell parameter value for each channel in the second channel set.

[0059] S203 . 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.

[0060] S204 , determining a second battery cell parameter value for each channel in the second channel set according to the first battery cell parameter value for each channel in the first channel set and the third battery cell parameter value for each channel in the third channel set.

[0061] S205. 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 status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or balancing information.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] In some embodiments, a CAN open environment (CANoe) project can be built in the terminal device, and the CANoe project sends the battery cell parameter value to the analog front-end simulator through the terminal device. In addition, in other embodiments, the CANoe project also sends the measurement error and / or the maximum fluctuation value to the analog front-end simulator through the terminal device.

[0066] In any embodiment of the present application, 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.

[0067] In some embodiments, receiving the first battery cell parameter value of each channel in the first channel set sent by the terminal device may include: receiving the first battery cell parameter value of each channel in the first channel set sent by the terminal device and the channel identifier of each channel, wherein the channel identifier of a channel uniquely corresponds to the first battery cell parameter value of a channel.

[0068] In some embodiments, the battery cell parameter value may include a battery cell voltage value and / or a battery cell temperature value.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] In some embodiments, based on 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 simulation front-end simulator is determined, including: based on the first battery cell parameter value of each channel in the first channel set and the channel identification of each channel, the second battery cell parameter value of each channel in the second channel set simulated by the simulation front-end simulator and the channel identification of each channel are determined.

[0074] 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.

[0075] 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.

[0076] In some embodiments, the third channel set is the set of the second channel set minus the first channel set. For example, the second channel set includes 100 channels, the first channel set includes channels with channel identifiers 0 to 49, the second channel set includes channels with channel identifiers 0 to 99, and the third channel set includes channels with channel identifiers 50 to 99. For another example, the second channel set includes 100 channels, the first channel set includes channels with channel identifiers 0, the second channel set includes channels with channel identifiers 0 to 99, and the third channel set includes channels with channel identifiers 1 to 99.

[0077] 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.

[0078] 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.

[0079] In some embodiments, the third battery cell parameter value may be a default parameter value or an invalid parameter value. For example, the third battery cell parameter value may be a default parameter value. For another example, the third battery cell parameter value may be an invalid parameter value. In some embodiments, the default parameter value or the invalid parameter value may be pre-stored by the analog front-end emulator. In other embodiments, the default parameter value or the invalid parameter value may be sent by the terminal device to the analog front-end emulator.

[0080] 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.

[0081] 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.

[0082] 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.

[0083] 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 and a channel identifier of each channel to the battery management unit.

[0084] 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.

[0085] In some embodiments, the state information of the battery cells may include the state information of each battery cell corresponding to the second channel set. In some embodiments, the balancing information of the battery cells may include the balancing information of at least some of the battery cells among all the battery cells corresponding to the second channel set. Among them, at least some of the battery cells may be the battery cells that need to be balanced among all the battery cells.

[0086] In some embodiments, the state information may include a first state value, and the first state value may include at least one of the following: a first SOC value, a first SOE value, a first SOH value, a first SOP value, a first SOT value, a first internal resistance value, etc. The first internal resistance value may include a first direct current resistance (DCR) value.

[0087] For example, the SOC value can be determined by the voltage value. Exemplarily, the first channel set includes voltage channel 1, and the voltage value corresponding to voltage channel 1 is 3800mV millivolts, then the first SOC of the battery cell 1 corresponding to channel 1 is determined to be 100%. For another example, the SOT value can be determined by the temperature value. Exemplarily, the first channel set includes temperature channel 1, and the temperature value corresponding to temperature channel 1 is 20 degrees Celsius, then the first SOT of the battery cell 1 corresponding to temperature channel 1 is determined to be 20 degrees Celsius. For another example, the DCR value can be determined by the temperature value and the voltage value. Exemplarily, the first channel set includes temperature channel 1 and voltage channel 1, the temperature value corresponding to temperature channel 1 is a first temperature value, and the voltage value corresponding to voltage channel 1 is a first voltage value, then according to the first temperature and the first voltage value, the DCR value of the battery cell 1 corresponding to temperature channel 1 and voltage channel 1 is determined to be a first DCR value.

[0088] In some embodiments, the balancing information may include the identification of the battery cell and the balancing time of the battery cell. For example, when the battery management unit determines that the battery cell 0 and the battery cell 1 need to be balanced according to the second battery cell parameter value, the balancing time of the battery cell 0 and the battery cell 1 is determined according to the voltage values ​​of the battery cell 0 and the battery cell 1, that is, the balancing information includes the identification of the battery cell 0 and the battery cell 1, and the balancing time of the battery cell 0 and the battery cell 1.

[0089] The terminal device determines the test result of the battery management unit according to the status information and / or the balancing information, including: the terminal device determines the status test result of the battery management unit according to the status information, and / or the terminal device determines the balancing test result of the battery management unit according to the balancing information.

[0090] In the technical scheme of the embodiment of the present application, first, the first battery cell parameter value obtained by the simulation front-end emulator is sent by the terminal device. The simulation front-end emulator obtains the first battery cell parameter value, which does not rely on the complex wiring between the simulation front-end emulator and the terminal device. It only needs to simulate the communication connection between the simulation front-end emulator and the terminal device, which reduces the wiring difficulty before testing and improves the test efficiency of the state and / or balancing function 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 state and / or balancing function 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, so as 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; the embodiment of the present application also has the following technical effects: when the first channel set is the same as the second channel set, in a test process, the simulation front-end emulator The device receives the first battery cell parameter value of all channels sent by the terminal device, and sends the second battery cell parameter value of all channels to the battery management unit. The battery management unit can determine the state information and / or balancing information of the battery cells corresponding to all channels, so as to test the determination capability of the battery management unit for all channels and / or balancing information. Compared with testing the determination capability of the battery management unit for some channels and / or balancing information, the test efficiency can be improved. When the first channel set is different from the second channel set, the analog front-end emulator will determine the battery cell parameter value of the third channel set by itself, and then determine the battery cell parameter value of the second channel set to be sent to the battery management unit according to the received battery cell parameter value of the first channel set and the battery cell parameter value of the third channel set determined by itself, so that the battery cell parameter value of each channel in the second channel set is uniquely determined, thereby improving the reliability of the transmitted battery cell parameter value. 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.In addition, the problem that when the battery management unit needs to obtain the battery cell parameter value of each channel in the second channel set to calculate the state information and / or balancing information of the battery cell, the analog front-end module needs to sample the battery cell parameter value of each channel in the second channel set, and if the battery cell parameter value of each channel in the second channel set cannot be collected, the battery management unit cannot calculate the state information and / or balancing information of the battery cell. In the embodiment of the present application, regardless of whether the first channel set received by the analog front-end module is the same as the second channel set, the analog front-end module can determine the battery cell parameter value of each channel in the second channel set. Therefore, the embodiment of the present application can improve the effectiveness of the test. Further, the embodiment of the present application can also test part of the channel set when the first channel set is different from the second channel set, solving the problem of being unable to test part of the channels, thereby improving the comprehensiveness of the test. ;

[0091] 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.

[0092] exist Figure 1 In the embodiment of the present application, 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 AFF 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 bench switching and further improving the test efficiency.

[0093] exist Figure 1In 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.

[0094] 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 1 In 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.

[0095] 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.

[0096] 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.

[0097] 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.

[0098] 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.

[0099] 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.

[0100] In the technical solution of the embodiment of the present application, the battery cell parameter values ​​of the third channel set can be controlled by the terminal device, which improves the controllability of the battery cell parameter values ​​of the third channel set; in addition, the battery cell parameter values ​​of the third channel set determined by the analog front-end simulator are default parameter values ​​or invalid parameter values, which improves the flexibility of determining the battery cell parameter values ​​of the third channel set compared to the solution in which the battery cell parameter value of the third channel set is only one battery cell parameter value.

[0101] Reference Figure 3 , Figure 3 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. Compared with Figure 2 The difference of the embodiment is that Figure 2 S204 may include:

[0102] S301 , combining a first battery cell parameter value of each channel in a first channel set and a third battery cell parameter value of each channel in a third channel set to obtain a second battery cell parameter value of each channel in a second channel set.

[0103] In the technical solution of the embodiment of the present application, when the analog front-end emulator receives the first battery parameter value of the first channel set, it will also send the first battery parameter value of the first channel set to the battery management unit, and will not wait for the first battery parameter value of the first channel set to change. The first battery parameter value of the first channel set obtained by the battery management unit is the battery parameter value of the first channel set provided by the terminal device for testing, so that the battery management unit to be tested can determine the state and / or balance according to the battery parameter value of the first channel set provided by the test, instead of using other battery parameter values ​​that are greatly different from the battery parameter value of the first channel set provided by the test to determine the state and / or balance, thereby improving the state and / or balance of the battery management unit. The test accuracy of the state and / or balance determination function is improved; in addition, the analog front-end emulator sends the third battery cell parameter value of the third channel set to the battery management unit, and the third battery cell parameter value is not affected by the measurement error and / or parameter value fluctuation, so that the state information and / or balance information of each battery cell corresponding to the third channel set determined by the battery management unit is stable, and the battery management unit can store the correspondence between the third battery cell parameter value and the corresponding state information and / or balance information, thereby eliminating the need to recalculate the state information and / or balance information of each battery cell corresponding to the third channel set, thereby improving the efficiency of the battery management unit in determining the state information and / or balance information of each battery cell corresponding to the third channel set.

[0104] Reference Figure 4 , Figure 4 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. Compared with Figure 2 The difference of the embodiment is that Figure 2 S204 may include:

[0105] S401 , using measurement error and / or maximum fluctuation value to compensate for a first battery cell parameter value of each channel in a first channel set, to obtain a fourth battery cell parameter value of each channel in the first channel set.

[0106] S402 , combining the fourth 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 to obtain the second battery cell parameter value of each channel in the second channel set.

[0107] In some embodiments, the measurement error may be one measurement error, and one measurement error may be used to compensate the first battery cell parameter value of each channel in the first channel set. In other embodiments, the measurement error may include the measurement error of each channel in the first channel set, and the measurement error of each channel in the first channel set may be used to compensate the first battery cell parameter value of each channel in the first channel set.

[0108] In some embodiments, the maximum fluctuation value may be a maximum fluctuation value, and the first battery cell parameter value of each channel in the first channel set can be compensated by using the maximum fluctuation value. In other embodiments, the maximum fluctuation value may include the maximum fluctuation value of each channel in the first channel set, and the first battery cell parameter value of each channel in the first channel set can be compensated by using the maximum fluctuation value of each channel in the first channel set.

[0109] For example, if the first battery cell parameter value of a channel is 3300 millivolts and the corresponding measurement error is 1 millivolt, the fourth battery cell parameter value obtained after compensating the first battery cell parameter value of the channel is 3301 millivolts. For another example, if the first battery cell parameter value of a channel is 3300 millivolts and the corresponding measurement error is -2 millivolts, the fourth battery cell parameter value obtained after compensating the first battery cell parameter value of the channel is 3298 millivolts.

[0110] For example, when the first battery cell parameter value of a channel is 3300 mV and the corresponding maximum fluctuation value is 2 mV, the fourth battery cell parameter value obtained after compensating the first battery cell parameter value of the channel can be in the range of 3298 to 3302 mV, for example, 3298 mV, 3299 mV, 3300 mV, 3301 mV or 3302 mV, etc.

[0111] In the technical solution of the embodiment of the present application, the analog front-end emulator receives the first battery parameter value of the first channel set, and uses the measurement error and / or the maximum fluctuation value to compensate for the first battery parameter value of the first channel set, so as to simulate the situation that when the analog front-end chip collects real battery cells, due to measurement errors and / or parameter value fluctuations, there is a deviation between the real battery cell parameter value and the collected battery cell parameter value. In this way, the second battery cell parameter value of the first channel set sent by the analog front-end emulator to the battery management unit is a parameter value affected by the measurement error and / or parameter value fluctuation, and then the test can simulate as much as possible in the application of the battery management unit, in order to determine the status information and / or the balancing information, the battery management unit needs to receive the battery cell affected by the measurement error and / or parameter value fluctuation from the analog front-end chip The parameter value improves the authenticity of the functional test of the battery management unit determining the status information and / or balancing information of each battery cell corresponding to the first channel set; in addition, the analog front-end emulator sends the third battery cell parameter value of the third channel set to the battery management unit, and the third battery cell parameter value is not affected by the measurement error and / or parameter value fluctuation, so that the status information and / or balancing information of each battery cell corresponding to the third channel set determined by the battery management unit is stable, and the battery management unit can store the correspondence between the third battery cell parameter value and the corresponding status information and / or balancing information, thereby eliminating the need to recalculate the status information and / or balancing information of each battery cell corresponding to the third channel set, thereby improving the efficiency of the battery management unit in determining the status information and / or balancing information of each battery cell corresponding to the third channel set.

[0112] Reference Figure 5 , Figure 5 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 4 , this method is applied to the analog front-end simulator. Compared with Figure 2 The difference of the embodiment is that Figure 2 S204 may include:

[0113] S501 , combining a first battery cell parameter value of each channel in a first channel set and a third battery cell parameter value of each channel in a third channel set to obtain a fifth battery cell parameter value of each channel in a second channel set.

[0114] S502 : Using the measurement error and / or the maximum fluctuation value, compensate the fifth battery cell parameter value of each channel in the second channel set to obtain the second battery cell parameter value of each channel in the second channel set.

[0115] In some embodiments, the maximum fluctuation value may be a maximum fluctuation value, and the fifth battery cell parameter value of each channel in the second channel set can be compensated by using the maximum fluctuation value. In other embodiments, the maximum fluctuation value may include the maximum fluctuation value of each channel in the second channel set, and the fifth battery cell parameter value of each channel in the second channel set can be compensated by using the maximum fluctuation value of each channel in the second channel set.

[0116] In the technical solution of the embodiment of the present application, after the analog front-end emulator combines the received first battery cell parameter value and the self-determined third battery cell parameter value to obtain the fifth battery cell parameter value of the second channel set, the measurement error and / or the maximum fluctuation value will be used to compensate the fifth battery cell parameter value of the second channel set, thereby being able to simulate the situation where the analog front-end chip, when collecting real battery cells, causes a deviation between the real battery cell parameter value and the collected battery cell parameter value due to measurement errors and / or parameter value fluctuations. In this way, the second battery cell parameter value of the second channel set sent by the analog front-end emulator to the battery management unit is a parameter value affected by measurement errors and / or parameter value fluctuations, and thus the test can simulate as much as possible the battery management unit in the application of the battery management unit, in order to determine the status information and / or balancing information, the battery cell parameter value that is affected by the measurement error and / or parameter value fluctuation that needs to be received from the analog front-end chip, thereby improving the authenticity of the functional test of the battery management unit determining the status information and / or balancing information of each battery cell corresponding to the second channel set.

[0117] In some embodiments, the first channel set is the same as the second channel set, so that the first battery cell parameter value of each channel in the first channel set received by the analog front-end emulator is the first battery cell parameter value of each channel in the second channel set.

[0118] Reference Figure 6 , Figure 6 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 5 , this method is applied to the analog front-end simulator. Compared with Figure 2 The difference of the embodiment is that Figure 2 S202 may include:

[0119] S601 : When the first channel set and the second channel set are the same, determine the 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.

[0120] Reference Figure 7 , Figure 7 Schematic diagram of a method for processing battery cell parameter values ​​in some embodiments Figure 6 , this method is applied to the analog front-end simulator. Compared with Figure 2 The difference of the embodiment is that Figure 2 S202 may include:

[0121] S701 , using measurement error and / or maximum fluctuation value to compensate for a first battery cell parameter value of each channel in a second channel set, to obtain a second battery cell parameter value of each channel in the second channel set.

[0122] In the technical solution of the embodiment of the present application, during a test process, the analog front-end emulator receives the first battery cell parameter value of all channels sent by the terminal device, and sends the second battery cell parameter value 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 as to be able to test the determination ability of the battery management unit for all channels, which can improve the test efficiency compared with the determination ability of the battery management unit for some channels; if the analog front-end emulator receives the battery parameter value of the second channel set, it will not wait for the battery parameter value of the second channel set to change, but directly send the battery parameter value of the second channel set to the battery management unit. The battery parameter value of the second channel set obtained by the battery management unit is the battery parameter value of the second channel set provided by the terminal device for the test, so that the battery management unit to be tested can determine the status and / or balancing according to the battery parameter value of the second channel set provided by the test, instead of using the battery parameter value of the second channel set provided by the test. The state and / or balance of other battery parameter values ​​of the battery parameter values ​​of the set with large differences are determined, thereby improving the test accuracy of the state and / or balance determination function of the battery management unit; if the analog front-end emulator receives the battery parameter values ​​of the second channel set, the battery parameter values ​​of the second channel set are compensated by the measurement error and / or the maximum fluctuation value, so as to simulate the situation that when the analog front-end chip collects the real battery cells, due to the measurement error and / or parameter value fluctuation, the real battery cell parameter value deviates from the collected battery cell parameter value. In this way, the compensated battery parameter values ​​of the second channel set sent by the analog front-end emulator to the battery management unit are parameter values ​​affected by the measurement error and / or parameter value fluctuation, and then the test can simulate as much as possible in the application of the battery management unit, in order to determine the state information and / or balance information, the battery management unit needs to receive the battery cell parameter values ​​affected by the measurement error and / or parameter value fluctuation from the analog front-end chip, thereby improving the authenticity of the functional test of the battery management unit determining the state information and / or balance information of each battery cell corresponding to the second channel set.

[0123] In some embodiments, the measurement error and / or the maximum fluctuation value may be obtained in the following manner: receiving the measurement error and / or the maximum fluctuation value sent by the terminal device.

[0124] In some embodiments, the measurement error and / or the maximum fluctuation value is input by the tester to the CANoe project, so that the CANoe project also sends the measurement error and / or the maximum fluctuation value to the analog front-end emulator through the terminal device.

[0125] In some embodiments, the measurement error can be determined based on the sampling error of each channel of the applied analog front-end chip. For example, the sampling error of each channel of the analog front-end chip can be determined as the measurement error of each channel of the analog front-end emulator.

[0126] In some embodiments, the maximum fluctuation value can be determined based on the maximum fluctuation information of each channel of the applied analog front-end chip. For example, the maximum fluctuation information of each channel of the analog front-end chip can be determined as the maximum fluctuation value of each channel of the analog front-end simulator.

[0127] In some embodiments, the maximum fluctuation value may be determined according to the aging degree of the battery cells in the vehicle when the battery management unit is applied to the entire vehicle.

[0128] Taking into account the impact of temperature values ​​on measurement errors and / or maximum fluctuation values, in other embodiments, the measurement errors and / or maximum fluctuation values ​​may be obtained in the following manner: determining the measurement errors and / or maximum fluctuation values ​​based on the temperature value in the first battery cell parameter value of each channel.

[0129] For example, when the analog front-end emulator receives the first battery cell parameter value for each channel in the first channel set, the temperature value of the temperature channel corresponding to battery cells 1 to 5 is the first temperature value, and the measurement error and / or maximum fluctuation value of the voltage channel and / or temperature channel corresponding to battery cells 1 to 5 is determined based on the first temperature value.

[0130] In the technical scheme of the embodiment of the present application, if the analog front-end emulator receives the measurement error and / or maximum fluctuation value sent by the terminal device, the analog front-end emulator can compensate for the battery cell parameter value according to the control of the terminal device, thereby improving the controllability of the terminal device over the battery cell parameter value sent by the analog front-end emulator; if the analog front-end emulator determines the measurement error and / or maximum fluctuation value according to the temperature value in the first battery cell parameter value of each channel, the measurement error and / or maximum fluctuation value determined by the analog front-end emulator conforms to the temperature value, which is more in line with the temperature scenario required for the test compared to the scheme in which the measurement error and / or maximum fluctuation value are fixed values, thereby improving the reliability of the determined measurement error and / or maximum fluctuation value; in addition, the analog front-end emulator can determine the measurement error and / or maximum fluctuation value according to the temperature value of the channel sent by the receiving terminal device, without the need for the terminal device to send the measurement error and / or maximum fluctuation value, thereby reducing the amount of data sent by the terminal device to the analog front-end emulator.

[0131] 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.

[0132] Figure 8 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 8 As shown, the analog front end emulator 105 may include:

[0133] The first communication unit 1051 is used to receive a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by an analog front-end simulator;

[0134] The determining unit 1502 is used to: determine the second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set when the first channel set is the same as the second channel set; 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 the set of the second channel set excluding the first channel set; determine the second battery cell parameter value of each channel in the second channel set 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;

[0135] The second communication unit 1053 is 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 status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit based on the status information and / or balancing information.

[0136] In some embodiments, the determination unit 1052 is also used to: determine that the third battery cell parameter value of each channel in the third channel set is a default parameter value in response to the first control information sent by the terminal device; or determine that the third battery cell parameter value of each channel in the third channel set is an invalid parameter value in response to the second control information sent by the terminal device.

[0137] In some embodiments, the first communication unit 1051 is further used to: receive first control information or second control information sent by the terminal device.

[0138] In some embodiments, the determination unit 1052 is further used to: merge 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 to obtain the second battery cell parameter value of each channel in the second channel set.

[0139] In some embodiments, the determination unit 1052 is also used to: use the measurement error and / or the maximum fluctuation value to compensate the first battery cell parameter value of each channel in the first channel set to obtain the fourth battery cell parameter value of each channel in the first channel set; combine the fourth 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 to obtain the second battery cell parameter value of each channel in the second channel set.

[0140] In some embodiments, the determination unit 1052 is further used to: combine 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 to obtain the fifth battery cell parameter value of each channel in the second channel set; use the measurement error and / or the maximum fluctuation value to compensate the fifth battery cell parameter value of each channel in the second channel set to obtain the second battery cell parameter value of each channel in the second channel set.

[0141] In some embodiments, the determination unit 1052 is further configured to: determine the 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] In some embodiments, the determination unit 1052 is further used to: use the measurement error and / or the maximum fluctuation value to compensate the first battery cell parameter value of each channel in the second channel set to obtain the second battery cell parameter value of each channel in the second channel set.

[0143] In some embodiments, the first communication unit 1051 is further used to: receive a measurement error and / or a maximum fluctuation value sent by a terminal device.

[0144] In some embodiments, the determination unit 1052 is further configured to: determine the measurement error and / or the maximum fluctuation value according to the temperature value in the first battery cell parameter value of each channel.

[0145] 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.

[0146] It should be noted that in the embodiments of the present application, if the above-mentioned method for processing 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.

[0147] Reference Fig. 9 , Fig. 9 The architecture of the test system of some embodiments is shown as follows 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.

[0148] The analog front-end emulator 105 is used to receive the first battery cell parameter value of each channel in the first channel set sent by the terminal device 102, wherein the first channel set is included in the second channel set simulated by the analog front-end emulator; when the first channel set is the same as the second channel set, the 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 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 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;

[0149] The battery management unit 101 is used to determine and send battery cell status information and / or balancing information to the terminal device 102 according to the second battery cell parameter value of each channel in the second channel set;

[0150] The terminal device 102 is used to determine the test result of the battery management unit 101 according to the state information (hereinafter referred to as the first state value for the convenience of description) and / or the balancing information.

[0151] 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 SOX 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 SOX module obtains the second battery cell parameter value output by the first communication module, the SOX module determines the first state value and outputs the first state value, the second communication module obtains the first state value output by the SOX module, and the second interface of the battery management unit 101 receives the first state value output by the second communication module to send to the terminal device 102.

[0152] 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, outputs the balancing information, the second communication module obtains the balancing information output by the balancing module, and the second interface of the battery management unit 101 receives the balancing information output by the second communication module to send to the terminal device 102.

[0153] Exemplarily, the first communication module may be a daisy chain communication module, and the second communication module may be a CAN communication module.

[0154] In some embodiments, the terminal device 102 is further used to obtain a functional test case before sending the first battery cell parameter value to the analog front-end emulator; the functional test case is used to test whether the battery management unit 101 has a target function, the target function is a function of determining a state of a first estimation type, and the functional test case includes the first battery cell parameter value and the first estimation type of the battery cell;

[0155] The battery management unit 101 may determine a status test result of the battery management unit 101 according to the first status value.

[0156] In some embodiments, determining a status test result of the battery management unit 101 according to the first status value includes: determining whether a functional test case passes according to the second estimation type and the first estimation type of the first status value.

[0157] In some embodiments, the second state value may be a first expected state value, and the first state value may be a first actual state value. In some embodiments, the first expected state value and the first actual state value may be the same or different.

[0158] In some embodiments, the functional test case also includes indication information of the first calculation accuracy. The terminal device 102 is used to send indication information of the first calculation accuracy to the battery management unit 101 before sending the first battery cell parameter value to the analog front-end emulator. The battery management unit 101 is used to receive the first calculation accuracy. The battery management unit 101 determines the first state value according to the first calculation accuracy and the second battery cell parameter value. In some embodiments, in the functional test, the first calculation accuracy is a lower calculation accuracy so that the battery management unit 101 can quickly determine the state information to quickly perform the functional test, thereby improving the efficiency of the functional test. In other embodiments, the first calculation accuracy can be pre-set by the battery management unit 101.

[0159] In some embodiments, the first estimation type includes at least one of the following estimation types: SOC, SOE, SOH, SOP, SOT, internal resistance. In some embodiments, the second estimation type includes at least one of the following estimation types: SOC, SOE, SOH, SOP, SOT, internal resistance. The number of estimation types included in the second estimation type is less than or equal to the number of estimation types included in the first estimation type.

[0160] In some embodiments, determining whether a functional test case passes is determined based on the second estimation type and the first estimation type of the first state value, including: when the second estimation type is the same as the first estimation type, determining that the functional test case passes; when the second estimation type is different from the first estimation type, determining that the functional test case fails.

[0161] In some embodiments, if it is determined whether the functional test case passes, the functional test is completed, and the terminal device 102 controls the next functional test case until all functional test cases are completed. In different functional test cases, the parameter values ​​of each channel and / or the channel identifiers of each channel sent by the terminal device 102 to the analog front-end emulator 105 are different, and / or the estimation type indication information sent by the terminal device 102 to the battery management unit 101 is different.

[0162] 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 SOX module so that the SOX 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 SOX module so that the SOX module processes it. In some embodiments, after the SOX 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.

[0163] In the technical solution of the embodiment of the present application, the terminal device 102 is also used to obtain a functional test case, and to determine whether the functional test case passes based on the second estimation type and the first estimation type of the first state value, so that the test system can automatically test the function of the battery management unit 101 without manual operation, thereby improving the test efficiency of the functional test of the state and / or balancing determination function of the battery management unit 101.

[0164] In some embodiments, the terminal device 102 is also used to obtain a first performance test case before sending a first battery cell parameter value to the analog front-end emulator; the first performance test case is used to test whether the performance of the battery management unit 101 for state estimation is met; the first performance test case includes the first battery cell parameter value and the second state value of the battery cell; according to the first state value, determining the state test result of the battery management unit 101, including: determining whether the first performance test case is passed according to the first state value and the second state value.

[0165] In some embodiments, the first performance test case also includes indication information of a second calculation precision. The terminal device 102 is used to send indication information of the second calculation precision to the battery management unit 101 before sending the first battery cell parameter value to the analog front-end emulator. The battery management unit 101 is used to receive the second calculation precision. The battery management unit 101 determines the first state value according to the second calculation precision and the second battery cell parameter value. In some embodiments, in the performance test, the second calculation precision is a higher calculation precision, so that the battery management unit 101 can obtain higher-precision state information, thereby enabling the performance test of the battery management unit 101 to be accurate. For example, the second calculation precision is higher than the first calculation precision. In other embodiments, the first calculation precision and the second calculation precision may be the same. In other embodiments, the second calculation precision may be pre-set by the battery management unit 101.

[0166] In some embodiments, determining whether a first performance test case passes is determined based on a first state value and a second state value, including: when the difference between the first state value and the second state value is less than or equal to a preset state error value, determining that the first performance test case passes; when the difference between the first state value and the second state value is greater than a preset state error value, determining that the first performance test case fails.

[0167] In any embodiment of the present application, the state error values ​​corresponding to different estimation types are the same or different.

[0168] In some embodiments, it is determined whether the first performance test case passes, then the performance test is completed, and the terminal device 102 controls the next first performance test case until all first performance test cases are completed. In different first performance test cases, the parameter values ​​of each channel and / or the channel identifiers of each channel used by the terminal device 102 to send to the analog front-end emulator 105 are different, and / or the state error values ​​used by the terminal device 102 to send to the battery management unit 101 are different, and / or the duration of the terminal device 102 sending to the analog front-end emulator 105 is different.

[0169] In some embodiments, performance testing and functional testing can be performed simultaneously. For example, when the terminal device 102 obtains the first state value, it can not only determine whether the functional test case passes according to the second estimation type and the first estimation type of the first state value, but also determine whether the first performance test case passes according to the first state value and the second state value. In this way, the performance test and the functional test can be completed using one first state value, thereby improving the test efficiency.

[0170] In the technical solution of the embodiment of the present application, since the terminal device 102 is also used to obtain the first performance test case and determine whether the first performance test case passes based on the first status value and the second status value, the test system can automatically test the performance of the battery management unit 101 without manual operation, thereby improving the test efficiency of the performance test of the status and / or balancing determination function of the battery management unit 101.

[0171] In some embodiments, the first performance test case also includes a state error value; determining whether the first performance test case passes based on the first state value and the second state value includes: when the difference value between the first state value and the second state value is less than or equal to the state error value, determining that the first performance test case passes; when the difference value between the first state value and the second state value is greater than the state error value, determining that the first performance test case fails.

[0172] In the technical solution of the embodiment of the present application, the terminal device 102 determines whether the first performance test case is passed by comparing the difference value between the first state value and the second state value with the state error value, which can reflect whether the state calculation accuracy of the battery management unit 101 meets the requirements. Therefore, the test system can further test the state calculation accuracy of the battery management unit 101, thereby improving the comprehensiveness of the performance test.

[0173] In some embodiments, the first performance test case also includes a first duration; after the terminal device 102 receives the first status value, the terminal device 102 is also used to determine a second duration; the second duration is the duration from the terminal device 102 sending the first battery cell parameter value to the analog front-end emulator 105 to the terminal device 102 receiving the first status value; based on the first status value and the second status value, determining whether the first performance test case passes, including: when the second duration is less than or equal to the first duration, determining that the first performance test case passes; when the second duration is greater than the second duration, determining that the first performance test case fails.

[0174] In some embodiments, the method of determining whether a test case passes according to a state error value can be used in combination with the method of determining whether a test case passes according to a first duration. For example, when the difference between the first state value and the second state value is less than or equal to the state error value, and the second duration is less than or equal to the first duration, the first performance test case is determined to pass; when the difference between the first state value and the second state value is greater than the state error value, and / or the second duration is greater than the second duration, the first performance test case is determined to fail.

[0175] In the technical solution of the embodiment of the present application, the terminal device 102 sends a first battery cell parameter value to the analog front-end emulator, and the second time duration when the terminal device 102 receives the first state value is compared with the first time duration to determine whether the first performance test case is passed, which can reflect whether the state calculation time duration of the battery management unit 101 meets the requirements. Therefore, the test system can further test the state calculation time duration of the battery management unit 101, thereby improving the comprehensiveness of the performance test.

[0176] In some embodiments, the terminal device 102 is further used to obtain an interface test case before sending the first battery cell parameter value to the analog front-end emulator 105; the interface test case is used to test whether the battery management unit 101 has a specified function, and the specified function is a function of calculating the state of each battery cell in all battery cells associated with the second channel set; the interface case includes a channel identifier and a battery parameter value of each channel in the second channel set;

[0177] Determining a test result of the battery management unit 101 according to the first state value includes:

[0178] In the case that the first channel set is the same as the second channel set, whether the interface test case is passed is determined according to whether the first status value includes status values ​​of all battery cells.

[0179] In some embodiments, determining whether an interface test case passes is based on whether the first status value includes the status values ​​of all battery cells, including: determining that the interface test case passes when the first status value includes the status values ​​of all battery cells; and determining that the interface test case fails when the first status value does not include the status values ​​of all battery cells.

[0180] 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 101 has the ability to independently perform state calculations on each battery cell among all the battery cells associated with the second channel set, thereby avoiding the inability to test the ability to independently perform state calculations on each battery cell among all the battery cells due to battery emulator channel multiplexing, thereby improving the comprehensiveness of the test.

[0181] In some embodiments, before the terminal device 102 sends the first battery cell parameter value to the analog front-end emulator 105, the terminal device 102 is also used to send estimation type indication information to the battery management unit 101; the estimation type indication information is used to indicate the state of estimation performed by the battery management unit 101; the battery management unit 101 is also used to receive the estimation type indication information; and determine the first state value of the battery cell according to the second battery cell parameter value, including: determining the first state value of the battery cell according to the second battery cell parameter value and the estimation type indication information.

[0182] In some embodiments, the estimation type indication information may indicate one or more estimation types. Exemplarily, the estimation type indication information may be used to indicate at least one of the following estimation types: SOC, SOE, SOH, SOP, SOT, internal resistance. For example, when the estimation type indication information includes SOC, the first state value of the battery cell includes the SOC value. For another example, when the estimation type indication information includes SOC and SOP, the first state value of the battery cell includes the SOC value and the SOP value.

[0183] In the technical solution of the embodiment of the present application, the terminal device 102 sends estimation type indication information to the battery management unit 101, and the specific functional unit in the battery management unit 101 for estimating the state indicated by the estimation type indication information determines the first state value according to the second battery cell parameter value, without the need for other functional units other than the specific functional unit to participate in the calculation, which is beneficial to reducing the power consumption of the battery management unit 101; in addition, the state estimated by the battery management unit 101 is configured by the terminal device 102 sending estimation type indication information to the battery management unit 101. The battery management unit 101 can flexibly estimate each functional state according to the configuration, and the estimation type of each functional state is different, which improves the flexibility of testing the battery management unit 101.

[0184] In some embodiments, before the terminal device 102 sends the first battery cell parameter value to the analog front-end emulator 105, the terminal device 102 is also used to send calculation method indication information and / or charge and discharge indication information to the battery management unit 101; the battery management unit 101 is also used to receive the calculation method indication information and the charge and discharge indication information; determine the first state value of the battery cell according to the second battery cell parameter value and the estimated type indication information, including: determining the first state value of the battery cell according to the second battery cell parameter value and the estimated type indication information, and according to the calculation method indication information and the charge and discharge indication information.

[0185] In some embodiments, the calculation method indication information may include one of the following: open circuit voltage method, ampere-hour integration method, internal resistance method, neural network, Kalman filter method, etc.

[0186] In some embodiments, the charge and discharge indication information is used to indicate whether the battery cell is in a charging state or a discharging state.

[0187] In the technical solution of the embodiment of the present application, the calculation method used by the battery management unit 101 for state estimation is configured by sending calculation method indication information by the terminal device 102 to the battery management unit 101. The battery management unit 101 can perform state estimation according to the flexibly configured calculation method, thereby improving the flexibility of testing the battery management unit 101; the state estimation value of the battery cell under charging is different from the state estimation value under discharging. The terminal device 102 sends charging and discharging indication information to the battery management unit 101, so that the battery management unit 101 can perform corresponding state estimation according to the charging or discharging conditions, thereby improving the accuracy of the state estimation of the battery management unit 101.

[0188] In some embodiments, the battery management unit 101 may determine a balancing test result of the battery management unit 101 according to the balancing information.

[0189] In some embodiments, determining a result of a balancing test of the battery management unit 101 based on balancing information includes: determining that the balancing test of the battery management unit 101 has passed when the balancing information includes balancing indication information of at least one battery cell and / or a first balancing time of at least one battery cell; and determining that the balancing test of the battery management unit 101 has failed when the balancing information does not include balancing indication information of at least one battery cell and / or a first balancing time of at least one battery cell.

[0190] In the technical solution of the embodiment of the present application, the control device is also used to test the equalization determination function of the battery management unit, thereby improving the comprehensiveness of the test.

[0191] In some embodiments, the control device 102 is further used to obtain a second performance test case before sending the first battery cell parameter value to the analog front-end emulator 105; the second 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 second performance test case includes the first battery cell parameter value, and the second balancing time of all battery cells associated with the first channel set and the balancing time error value;

[0192] The equalization test result of the battery management unit 101 is determined according to the equalization information, including: when the equalization information contains the first equalization time of at least one battery cell, and the difference between the first equalization time and the second equalization time is less than or equal to the equalization time error value, determining that the second performance test case has passed; when the equalization information contains the first equalization time of at least one battery cell, and the difference between the first equalization time and the second equalization time is greater than the equalization time error value, determining that the second performance test case has not passed.

[0193] In some embodiments, the test of the second performance test case can also be used in combination with the test of the balancing determination function, that is, by sending the first battery cell parameter value once, both the second performance test case and the balancing determination function can be tested.

[0194] In the technical solution of the embodiment of the present application, the control device determines whether the second 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.

[0195] In some embodiments, the control device 102 is further used to obtain a third performance test case before sending the first battery cell parameter value to the analog front-end emulator 105; the third performance test case is used to test whether the duration of the equalization calculation performed by the battery management unit 101 meets the requirements; the third performance test case includes the first battery cell parameter value and the first transmission and reception duration;

[0196] The control device 102 is further configured to determine a second transmission and reception duration after receiving the balancing information; the second transmission and reception duration is the duration from when the control device 102 sends the first battery cell parameter value to the analog front-end simulator 105 to when the control device 102 receives the balancing information;

[0197] The equalization test result of the battery management unit 101 is determined according to the equalization information, including: when the second transceiver duration is less than or equal to the first transceiver duration, determining that the third performance test case has passed; when the second transceiver duration is greater than the first transceiver duration, determining that the third performance test case has failed.

[0198] In some embodiments, the test of the third performance test case can also be used in combination with the test of the second performance test case and / or the test of the balance determination function. For example, by sending the first battery cell parameter value once, the test of the third performance test case, the test of the second performance test case, and the test of the balance determination function can be performed.

[0199] In the technical solution of the embodiment of the present application, the control device sends a first battery cell parameter value to the analog front-end emulator, and the second transmission and reception time until the control device receives the balancing information is compared with the first transmission and reception time to determine whether the third 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.

[0200] In some embodiments, the control device 102 is further used to obtain an interface test case before sending the first battery cell parameter value 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 a function of determining the balance of each battery cell in all battery cells associated with the second channel set; the interface case includes an identifier and a channel parameter value of each channel in the second channel set;

[0201] Determining the equalization test result of the battery management unit 101 according to the equalization information, including: determining whether the interface test case is passed according to whether the terminal device 102 receives each equalization information sent by the battery management unit 101 in sequence after sending the channel 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;

[0202] Each balancing information includes instruction information for balancing each battery cell among all battery cells associated with the second channel set and / or a first balancing time length of each battery cell.

[0203] 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.

[0204] In some embodiments, the control device 102 is further 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 to the analog front-end emulator 105; the battery management unit 101 is further used to receive the balancing prohibition condition or the balancing permission condition;

[0205] Determining the balancing information of the battery cell according to the second battery cell parameter value includes: determining the balancing information according to the second battery cell parameter value and according to the balancing prohibition condition or the balancing permission condition.

[0206] 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.

[0207] 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.

[0208] 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 control device, thereby improving the flexibility of the balancing calculation test of the battery management unit.

[0209] In some embodiments, the terminal device 102 is also used to execute, before the terminal device 102101 sends the first battery cell parameter value to the analog front-end emulator 105: obtaining a parameter table; the parameter table includes the parameter value of each channel in the second channel set; creating at least one test case according to the parameter table; at least one test case includes at least one of a functional test case, a performance test case, and an interface test case; at least one of the functional test case, the performance test case, and the interface test case includes the first battery cell parameter value.

[0210] In some embodiments, the terminal device may parse each test case to obtain the first battery cell parameter value of each channel in the first channel set, and optionally, may also obtain the channel identifier of each channel. Optionally, the terminal device may parse each test case to obtain an expected result.

[0211] In some embodiments, the multiple parameter values ​​of any channel may be arranged in order from large to small or from small to large. In some embodiments, the multiple parameter values ​​of any channel may include at least one of the following: normal value, abnormal value, critical value, etc.

[0212] In the technical solution of the embodiment of the present application, at least one test case is created according to a parameter table, and the test case can be created by capturing parameter values ​​in the parameter table through a table capture tool, which can improve the efficiency of creating test cases.

[0213] In some 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 in response to the data input operation of at least one input box associated with the first channel set before the terminal device 102 sends the first battery cell parameter value to the analog front-end simulator 105, and optionally, the corresponding channel identifier can also be obtained. In some embodiments, the program control panel can be created in a CAN Open Environment (CANoe) project.

[0214] In the technical solution of the embodiment of the present application, the tester inputs parameter values ​​into the input box, so that the terminal device 102 obtains the channel identification and battery parameter value of each channel in the first channel set, and then the terminal device 102 can quickly obtain the channel identification and battery parameter value of each channel in the first channel set, which is conducive to improving test efficiency.

[0215] In some embodiments, the program control panel further includes a real state display frame and / or an expected state display frame. In some scenarios, the terminal device 102 controls the display of the first state information and / or the balance information in the real state display frame. In some scenarios, the terminal device 102 controls the display of the second state information in the expected state display frame.

[0216] In some embodiments, the program control panel further includes a real duration display box and / or an expected duration display box. In some scenarios, the terminal device 102 controls the display of the second duration in the real duration display box. In some scenarios, the terminal device 102 controls the display of the first duration in the expected duration display box.

[0217] 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 the indication information of the functional test case passing in the test result box when the functional test case passes, and display the indication information of the functional test case failing in the test result box when the functional test case fails. In some scenarios, the terminal device 102 is also used to display the indication information of the performance test case passing in the test result box when the performance test case passes, and display the indication information of the performance test case failing in the test result box when the performance test case fails. In some scenarios, the terminal device 102 is also used to display the indication information of the interface test case passing in the test result box when the interface test case passes, and display the indication information of the interface test case failing in the test result box when the interface test case fails.

[0218] Related technology In HIL testing, a BMS SOX and / or balancing module testing strategy based on a battery simulator is adopted. This testing 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, the frequent reuse of voltage and temperature channels, and the poor accuracy and stability of the test environment, the test efficiency is low or even the test cannot be performed.

[0219] 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 SOX and / or balancing modules, 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 function points each functional module can be divided into (for example, function points used to estimate SOC, function points used to estimate SOH), and for each relatively independent function point, write a test item for the software or system function, and test each item with equivalent data of normal values ​​and abnormal values. 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 on the test execution process.

[0220] However, the related art has at least one of the following problems:

[0221] The battery simulator is expensive and bulky, with many tooling harnesses and a large number of CMCs, which increases the difficulty of tooling installation. When HIL testers switch between test benches, they are not only inefficient but also have a high error rate.

[0222] 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 SOX and / or balancing module, the voltage and temperature settings do not reach the threshold of the functional point, and the test is inaccurate, resulting in test item failure;

[0223] 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;

[0224] 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 SOX and / or balancing modules. Repetitive testing work still requires manual testing.

[0225] 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, an analog front-end simulator is used to replace the combination of a battery simulator + multiple CMCs, and a BMS SOX and / or balancing module testing strategy based on an analog front-end simulator is designed.

[0226] In order to solve the problems of difficult installation of battery simulators, large number of CMCs, low switching efficiency and high error rate of test benches, the embodiment of the present application proposes to use an analog front-end simulator to replace the combination of battery simulator + multiple CMCs, directly connect the analog front-end simulator and the BMU under test through a daisy chain, and the BMU and the analog front-end simulator communicate in the form of differential signals, and perform CAN communication control on the analog front-end simulator through the terminal device. Therefore, the embodiment of the present application can reduce tooling costs and reduce the manpower costs of test bench construction and maintenance.

[0227] 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 SOX and / or balancing module, the embodiment of the present application proposes a test strategy for SOX and / or balancing module based on analog front-end simulator design. When obtaining quantitative results, HIL testers test the accuracy of SOX and / or balancing module calculation, such as data processing accuracy, time control accuracy, etc., increase extreme working condition testing and limit 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 SOX and / or balancing module, reduce the extra time spent on the maintenance of test cases and test execution process of SOX and / or balancing module, and improve the test efficiency and test quality of SOX and / or balancing module.

[0228] 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 SOX and / or balancing module, the embodiment of the present application proposes a test strategy for the SOX and / or balancing module based on an analog front-end emulator. When the analog front-end 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.

[0229] In order to solve the problem of not being able to identify corresponding battery cells due to channel multiplexing, the embodiment of the present application proposes a solution in which the terminal device can independently output the parameter value of each channel in the first channel set, thereby solving the problem that the SOX and / or balancing module test cannot identify the corresponding battery cells due to channel multiplexing and cannot be tested, thereby improving the test coverage of the SOX and / or balancing module.

[0230] 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 SOX and / or balancing module designed based on the analog front-end emulator. When the voltage and temperature of the battery cell are controllable, the partially repetitive tests of the SOX and / or balancing module can be designed with an automated script to perform semi-automated or automated testing. Therefore, because the voltage and temperature of the battery cell are highly controllable, the SOX and / or balancing module can be semi-automated or automated, which greatly reduces the manpower cost of the SOX and / or balancing module testing, improves the utilization rate of the testing resources, and guarantees the test delivery.

[0231] In an embodiment of the present application, an analog front-end emulator is used to replace the combination of a battery emulator + multiple CMCs, the analog front-end emulator and the BMU under test are connected through a daisy chain, the BMU and the analog front-end emulator communicate in the form of differential signals, the analog front-end emulator supports CAN signal control, and CAN communication can be established between the terminal device and the analog front-end emulator.

[0232] In any embodiment of the present application, the terminal device is controlled accordingly through the CANoe project.

[0233] The workflow of the BMS SOX and / or balancing module test strategy based on the analog front-end simulator is as follows: HIL testers first conduct demand analysis according to the test plan, distinguish functional test items, performance test items, interface test items, etc. according to the system and software requirements of the SOX and / or balancing modules, 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 analog front-end simulator to complete environmental closed-loop debugging and software acceptance testing. During the test execution, testers need to follow the SOX and / or balancing module test case steps to complete the test result judgment, test problem confirmation, test data storage, etc. of the SOX and / or balancing modules, and finally write the test report of the SOX and / or balancing module, and then output it after review.

[0234] The following explains the principles of the BMS SOX and / or equalization module test strategy based on an analog front-end simulator:

[0235] First, the test bench environment is built. HIL testers use the analog front-end simulator to replace the combination of battery simulator + multiple CMCs, directly connect the analog front-end simulator and the BMU under test through a daisy chain, and use the CAN communication device to connect the CANoe project and the analog front-end simulator. The CANoe project is built in the terminal device, and the CAN database (DataBase CAN, DBC) file of the analog front-end simulator control message is added to the CANoe project, and the corresponding system variables are established. Based on this, the program control script is designed, and the channel enable and channel physical value setting instructions are issued using the system variable control message to realize the control configuration of the voltage and temperature of all single battery cells. The tester designs the program control panel and assigns values ​​to the system variables through the panel to configure the test parameters and monitor the operating status of the test system. The test bench environment is closed-loop debugged, the environmental accuracy comparison table is cancelled, and it is verified that there is no deviation between the given value set by the CANoe system variable and the voltage and temperature measurement values ​​of the battery cell output by the analog front-end simulator.

[0236] Then, the SOX and / or the equalization module based on the analog front-end simulator is tested, and the test includes at least one of a functional test, a performance test, and an interface test.

[0237] In the test strategy of the SOX and / or balancing module functional test based on the analog front-end simulator, the HIL tester can use at least one of the analysis methods such as the functional 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 analog front-end 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 SOX and / or balancing module according to the requirements and execute the test cases in sequence after passing the review. Based on the test environment of the analog front-end simulator, the HIL tester can use real data to test the correctness of the SOX and / or balancing module functions under voltage, temperature overload, saturation and other extreme conditions, and use the combination test method to execute related test cases, test the SOX and / or balancing module functions item by item, and improve the test adequacy of the key SOX and / or balancing module functions. Based on the test environment of the simulated front-end emulator, HIL testers can use automated testing tools to test the special functions and functional boundaries of the SOX and / or balancing modules, including at least one of the key control processes, state transitions (corresponding to the above-mentioned estimation type transitions), and mode switching (corresponding to the above-mentioned calculation method conversions and / or charge and discharge switching) of the SOX and / or balancing modules, provided that the program control scripts are sound.

[0238] In the test strategy of SOX and / or balancing module performance test based on the simulation front-end simulator, based on the test environment of the simulation front-end simulator, HIL testers can analyze typical test scenarios of SOX and / or balancing module performance, such as the data change of SOC (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 SOX and / or balancing modules. Based on the test environment of the simulation front-end simulator, HIL testers analyze according to the performance requirements of SOX and / or balancing modules. For related performance tests with large amounts of data, such as testing based on the battery cell parameter table, data preparation is required in the early stage of the test. According to the actual situation, the automated test tool is used to quickly batch create test cases for the battery cell parameter table. According to the test environment, the corresponding test tools are developed to perform automated testing, and the test report is automatically generated after the test is completed.

[0239] In the test strategy of SOX and / or equalization module interface testing based on the simulation front-end simulator, based on the test environment of the simulation front-end simulator, HIL testers can perform interface testing based on the functional requirements of the SOX and / or equalization modules in combination with functional testing, including normal interface function testing and interface exception handling testing.

[0240] Reference Fig.10, Fig.10 The architecture of the test system of some embodiments is shown in FIG. Figure 3 The test system includes: a battery management unit 101, a terminal device 102, and an analog front-end emulator 105; the terminal device 102 is communicatively connected to the analog front-end emulator 105, the analog front-end emulator 105 is communicatively connected to the battery management unit 101, and the analog front-end emulator 105 is communicatively connected to the terminal device 102. The terminal device 102 is communicatively connected to the battery management unit 101 via the CAN protocol. For example, the terminal device 102 is communicatively connected to the battery management unit 101 via the CAN communication device 106.

[0241] The terminal device 102 is also 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 battery management unit 101, and control the relay box (Rleay-Box) 108.

[0242] The terminal device 102 is also connected to a low voltage DC power supply 109 so that the low voltage DC power supply 109 injects low voltage into the battery management unit 101 and the VT system 107. The terminal device 102 is also connected to an insulation resistance box 110 so that the insulation resistance box 110 injects insulation resistance into the relay box 108. The terminal device 102 is also connected to a high voltage DC power supply 111 so that the high voltage DC power supply 111 injects high voltage into the relay box. The analog front end simulator 105 is used to store the cell voltage and cell temperature of each channel.

[0243] The battery management unit 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.

[0244] The terminal device 102 outputting information may include: a CANoe project installed in the terminal device 102 outputting information through the terminal device 102 .

[0245] Some application examples of this application are described below:

[0246] For the SOX module full charge real SOC correction function test:

[0247] Test item description: In charging mode, after the full charge flag is set, the current characteristic voltage (maximum voltage, minimum voltage) is ≥3800mV, and the corrected characteristic SOC (maximum real SOC, minimum real SOC) is 100%.

[0248] The actions of the test method include: A. Power on and wake up the BMU; B. Set all SOC initial values ​​to 50%; C. Set all voltage initial values ​​to 3300mV; D. Run the charging script; E. Set all voltages to 3800mV.

[0249] The expected results of the test method include: A. BMU wakes up successfully; B. Maximum real SOC = 50%; Minimum real SOC = 50%; C. Maximum voltage = 3300mV; Minimum voltage = 3300mV; D. BMU enters charging; E. Maximum voltage = 3800mV; Minimum voltage = 3800mV; Maximum real SOC = 100%; Minimum real SOC = 100%.

[0250] Comparison of testing strategies:

[0251] Based on the test strategy of the battery simulator, due to the voltage error in the actual environment, the execution of steps C and E will be judged as failure. Failure scenario 1: After executing step C, the maximum output voltage = 3310mV, the minimum voltage = 3290mV, after executing step E, the maximum output voltage = 3810mV, the minimum voltage = 3790mV, the maximum real SOC = 100%, the minimum real SOC = 94%. Failure scenario 2: After executing step C, the maximum output voltage = 3295mV, the minimum voltage = 3290mV, after executing step E, the maximum output voltage = 3795mV, the minimum voltage = 3790mV, the maximum real SOC = 96%, the minimum real SOC = 94%. Considering the impact of the actual environment, HIL testers need to add a voltage tolerance of ±20mV to the judgment results of steps C and E, and step E needs to be modified to set all voltages to 3810mV to meet the expected results.

[0252] Based on the test strategy of the analog front-end simulator, after executing steps C and E, the output is the same as the given value, and the output maximum voltage, minimum voltage, maximum true SOC, and minimum true SOC meet the expected results. The test passes, the boundary value is tested, and the time wasted in maintaining test cases and test execution is reduced.

[0253] For the open circuit voltage (OCV) parameter performance test of the SOX module:

[0254] Test item description: When the static correction condition (voltage fluctuation ±2 mV) is met, the BMU performs a linear table lookup based on the OCV parameters, and corrects the characteristic SOC (maximum true SOC, minimum true SOC) to the corresponding OCV table lookup calculated value according to the current characteristic voltage (maximum voltage, minimum voltage).

[0255] The actions of the test method include: A. Power on and wake up the BMU; B. Set all SOC initial values ​​to 50%; C. Set all voltage initial values ​​to 3120mV; D. Wait for 1 hour; E. Continue to set the SOC to 0-100% and the corresponding voltage value, and repeat AD.

[0256] The expected results of the test method include: A. BMU wake-up is successful; B. Maximum real SOC = 50%; Minimum real SOC = 50%; C. Maximum voltage = 3120mV; Minimum voltage = 3120mV; D. Maximum voltage = 3120mV; Minimum voltage = 3120mV; Maximum real SOC = 50%; Minimum real SOC = 50%; E. The maximum real SOC and the minimum real SOC are corrected by looking up the OCV parameter table.

[0257] Comparison of testing strategies:

[0258] Based on the test strategy of the battery simulator, due to the voltage error and voltage fluctuation in the actual environment, it will be judged as a failure when executing steps C and D. Failure scenario 1: After executing step C, the maximum output voltage = 3130mV, the minimum voltage = 3110mV, after executing step D, the maximum output voltage = 3130mV, the minimum output voltage = 3110mV, the maximum real SOC = 60%, the minimum real SOC = 45%. Failure scenario 2: After executing step C, the maximum output voltage = 3315mV and the fluctuation is ±5mV, the minimum output voltage = 3310mV and the fluctuation is ±5mV, after executing step D, the maximum output voltage = 3315mV and the fluctuation is ±5mV, the minimum output voltage = 3310mV and the fluctuation is ±5mV, the maximum real SOC = 50%, the minimum real SOC = 50%, that is, the voltage value fluctuates too much, and the SOC cannot be calculated, resulting in the inability to correct the SOC value. Taking into account the impact of actual environmental issues, HIL testers need to increase the voltage tolerance of ±20mV in the judgment results of steps C and D. At the same time, the output result of the actual SOC in step D needs to be recalculated after table lookup before judgment to meet the expected results.

[0259] Based on the test strategy of the analog front-end simulator, after executing steps C and D, the output is the same as the given value, and the output maximum voltage, minimum voltage, maximum true SOC, and minimum true SOC meet the expected results. The test passes, the performance is tested, and the time wasted in maintaining test cases and test execution is reduced.

[0260] In addition, the OCV parameter table lookup test is a repetitive test. HIL testers can use table capture tools to quickly create test cases for the OCV parameter table in batches, and then develop corresponding test tools according to the test environment to perform automated testing. After the test is completed, a test report is automatically generated, which greatly reduces manpower waste and improves test coverage.

[0261] For the SOX module's cell discharge DC resistance (DCR) interface test:

[0262] Test item description: The discharge DCR of the battery cell is two-dimensionally looked up according to the temperature and the actual SOC. The DCR of each battery cell needs to be calculated and output separately. The discharge DCR corresponding to different temperatures is tested when the actual SOC is 50%.

[0263] The actions of the test method include: A. Power on to wake up the BMU; B. Set the initial SOC value of cell 1 to 50%; C. Set the initial temperature value of cell 1 to -30~55℃; D. Set cells 1~100 respectively according to the discharge DCR table, and repeat AC.

[0264] The expected results of the test method include: A. BMU wake-up is successful; B. The actual SOC of battery cell 1 = 50%; C. The temperature of battery cell 1 = -30~55℃; The discharge DCR of battery cell 1 = 3.65~0.25 milliohms (mohm); D. The output of battery cells 1~100 is calculated independently according to the discharge DCR table.

[0265] Comparison of testing strategies:

[0266] Based on the test strategy of the battery simulator, due to the temperature error of the actual environment, the battery cells are uncontrollable, and the execution of step C will be judged as failure, and the interface test of cells 1 to 100 in step D cannot be met. Failure scenario 1: After executing step C, the output of cell temperature No. 1 = -29°C, and discharge DCR of cell No. 1 = 3.6mohm. After the output of step C, the HIL tester needs to re-check the table and calculate before making a judgment. In addition, due to the multiplexing of the battery simulator channel, the tested battery cell cannot be confirmed, and step D cannot test the discharge DCR of the battery cells one by one.

[0267] Based on the test strategy of the analog front-end simulator, the battery cell is controllable. After executing step C, the output is the same as the given value. The output temperature of battery cell No. 1 and the discharge DCR of battery cell No. 1 meet the expected results. The test passes, the performance point is tested, and the time wasted in maintaining test cases and test execution is reduced. For all battery cell discharge DCR interface tests, HIL testers can use the table capture tool to quickly batch create test cases for all battery cell discharge DCR tables, 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 the functional test and interface test can be completed at the same time, which greatly reduces the waste of manpower and improves the test coverage.

[0268] The balancing module balancing function is turned on for testing:

[0269] Test item description: Single cell voltage minus minimum voltage ≥ 100mV, after standing for 60 minutes, start balancing.

[0270] The actions of the test method include: A. Power on to wake up the BMU; B. Set the initial values ​​of all voltages to 3700mV; C. Set the voltage of cell No. 1 to 3800mV; D. Wait for 1h; E. Set the voltages of cells No. 1 to 100 in sequence, and repeat A to D.

[0271] 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.

[0272] Comparison of testing strategies:

[0273] 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.

[0274] Based on the test strategy of the analog front-end simulator, the test environment is consistent with the actual environment. After executing steps B and C, the output is as much as given, and the output voltage of cell 1, minimum voltage, and balanced start-up results can all meet the expected results. The test passes, and the boundary value is tested, reducing the time wasted in maintaining 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.

[0275] The embodiment of the present application is based on the BMS SOX module test strategy of the analog front-end simulator. The voltage and temperature of the battery cell are highly controllable, and the HIL test work of the SOX module is greatly improved, such as the actual SOC temperature of the SOC module using the lower limit table lookup, the online calculation of the SOH module, the actual SOE calculation of the SOE module, the current charging window table lookup of the charging module, and other testing work.

[0276] 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.

[0277] 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.

[0278] 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.

[0279] 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.

[0280] 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.

[0281] 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.

[0282] 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.

[0283] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0284] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0285] 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.

[0286] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer storage medium. When the program is executed, the steps of the above-mentioned method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), disks or optical disks. 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 be essentially or partly embodied in the form of a software product, which is stored in a storage medium and includes several instructions for the simulation front-end simulator to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, disks or optical disks.

[0287] 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.

[0288] 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.

[0289] 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 there can be three relationships. For example, A and / or B can represent: 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 associated objects before and after are in an "or" relationship.

[0290] It should be noted that in each embodiment involved in the present application, all steps may be executed or part of the steps may be executed as long as a complete technical solution can be formed.

[0291] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for processing battery cell parameter values, characterized in that: The method is applied to an analog front-end simulator, and the method comprises: Receiving a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end simulator; In a case where the first channel set is the same as the second channel set, determining a second battery cell parameter value for each channel in the second channel set according to the first battery cell parameter value for 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; Determine a second battery cell parameter value for each channel in the second channel set according to the first battery cell parameter value for each channel in the first channel set and the third battery cell parameter value for each channel in the third channel set; The second battery cell parameter value of each channel in the second channel set is sent to the battery management unit so that the battery management unit determines and sends the status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or the balancing information.

2. The method according to claim 1, characterized in that The determining of the third battery cell parameter value of each channel in the third channel set includes: In response to the first control information sent by the terminal device, determining that the third battery cell parameter value of each channel in the third channel set is a default parameter value; or, In response to the second control information sent by the terminal device, it is determined that the third battery cell parameter value of each channel in the third channel set is an invalid parameter value.

3. The method according to claim 1, characterized in that The determining, 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, the second battery cell parameter value of each channel in the second channel set comprises: 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 are combined to obtain the second battery cell parameter value of each channel in the second channel set.

4. The method according to claim 1, characterized in that: The determining, 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, the second battery cell parameter value of each channel in the second channel set comprises: Using the measurement error and / or the maximum fluctuation value, compensating the first battery cell parameter value of each channel in the first channel set to obtain a fourth battery cell parameter value of each channel in the first channel set; The fourth 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 are combined to obtain the second battery cell parameter value of each channel in the second channel set.

5. The method according to claim 1, characterized in that The determining, 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, the second battery cell parameter value of each channel in the second channel set comprises: Combining 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 to obtain a fifth battery cell parameter value of each channel in the second channel set; The fifth battery cell parameter value of each channel in the second channel set is compensated by using the measurement error and / or the maximum fluctuation value to obtain the second battery cell parameter value of each channel in the second channel set.

6. The method according to claim 1, characterized in that The determining, according to the first battery cell parameter value of each channel in the second channel set, the second battery cell parameter value of each channel in the second channel set comprises: Determine the 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; or, The first battery cell parameter value of each channel in the second channel set is compensated by using the measurement error and / or the maximum fluctuation value to obtain the second battery cell parameter value of each channel in the second channel set.

7. The method according to any one of claims 4 to 6, characterized in that: The method further comprises: receiving the measurement error and / or the maximum fluctuation value sent by the terminal device; or, The measurement error and / or the maximum fluctuation value is determined according to the temperature value in the first battery cell parameter value of each channel.

8. An analog front-end emulator, characterized in that: The analog front end simulator comprises: A first communication unit, configured to receive a first battery cell parameter value of each channel in a first channel set sent by a terminal device; wherein the first channel set is included in a second channel set simulated by the analog front-end simulator; a determining unit, configured to: determine, when the first channel set is the same as the second channel set, a second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; determine, when the first channel set is different from the second channel set, 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 excluding the first channel set; determine, 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, a second battery cell parameter value of each channel in the second channel set; The second communication unit is 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 status information and / or balancing information of the battery cell to the terminal device, so that the terminal device determines the test result of the battery management unit according to the status information and / or the balancing 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 a first battery cell parameter value of each channel in a first channel set sent by the terminal device, wherein the first channel set is included in a second channel set emulated by the analog front-end emulator; when the first channel set is the same as the second channel set, determine the second battery cell parameter value of each channel in the second channel set according to the first battery cell parameter value of each channel in the second channel set; when the first channel set is different from the second channel set, determine the 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 excluding the first channel set; determine the second battery cell parameter value of each channel in the second channel set 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; The battery management unit is used to determine and send battery cell status information and / or balancing information to the terminal device according to the second battery cell parameter value of each channel in the second channel set; The terminal device is used to determine the test result of the battery management unit according to the status information and / or the balancing information.