A battery management system function test method and test hardware platform
By designing the battery management system functional test method and hardware platform, the problem of existing test methods that consume battery pack life and increase costs has been solved, enabling flexible testing of different application scenarios and improving test efficiency and adaptability.
Patent Information
- Application Number
- CN201910193316.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-14
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-03-14
AI Technical Summary
The existing testing methods of battery pack management systems reduce the life of the battery pack, waste energy, increase testing costs, and are difficult to adapt to different application scenarios and customer needs, resulting in complex and high-cost testing.
Design a battery management system functional testing method and hardware platform. By obtaining and editing test project files, it can determine and convert voltage, current, and temperature, and use micro-control units to conduct testing to support testing in a variety of environments and customer needs.
It realizes flexible and rapid testing of battery management system functions, reduces testing time and cost, adapts to various application scenarios, and improves testing efficiency and flexibility.
Smart Images

Figure CN109783394B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery management system detection, and in particular to a battery management system function testing method and a testing hardware platform. Background Art
[0002] The widespread use of storage batteries, especially lithium-ion batteries, has spawned a large number of manufacturers and institutions that produce, assemble and research battery management systems. At the same time, related peripheral industries such as installation, debugging and testing have also emerged.
[0003] In the prior art, many battery management system testing methods are to connect the battery pack and the battery management system (BMS) together, charge and discharge the battery pack to increase or decrease the voltage, change the charge and discharge current, or place it in a constant temperature box to change the temperature, just to test whether the BMS function is normal. Such operation not only shortens the service life of the battery pack, wastes energy and increases the testing cost, but also takes a lot of testing time, which is very unfavorable for rapid production and shipment.
[0004] The design and research of battery management systems face many complex application scenarios, and different functions or parameters need to be defined for different application scenarios and different application customers. Therefore, this poses a great challenge to the shipment test of battery management systems. The test items are numerous and complex, and different functional test solutions need to be provided for different solutions, which also increases the debugging and modification costs for a single test platform. If a programmable test system compatible with different functions can be designed, this problem will be greatly alleviated. Summary of the invention
[0005] The purpose of the present invention is to provide a battery management system function testing method and a testing hardware platform to achieve the function testing of the battery management system for different customer needs in various environments.
[0006] To achieve the above object, the present invention provides the following solutions:
[0007] A battery management system function testing method, the method comprising:
[0008] Obtain the test project file of the battery management system to be tested;
[0009] Editing the test project file of the battery management system to be tested to obtain an edited test project file;
[0010] The edited test project file is transferred to the PC host computer;
[0011] Determine whether the format of the edited test project file is a preset standard format, and obtain a first determination result;
[0012] If the first judgment result indicates that the format of the edited test project file is a pre-set standard format, the edited test project file is sent to a pre-built hardware test platform to test the battery management system to be tested;
[0013] If the first judgment result indicates that the format of the edited test item file is not a preset standard format, the test item file of the battery management system to be tested is re-edited.
[0014] Optionally, the hardware testing platform tests the battery management system to be tested according to the edited test project file, specifically including:
[0015] The hardware test platform performs the test according to the test start instruction sent by the PC host computer;
[0016] The hardware test platform converts the voltage, current, temperature and duration of the battery management system to be tested according to the conversion instructions sent by the PC host computer;
[0017] The hardware test platform completes the writing operation of the battery management system to be tested according to the writing instructions sent by the PC host computer;
[0018] The hardware test platform determines the status of the hardware test platform according to the read instruction sent by the PC host computer;
[0019] The hardware testing platform determines whether the current test step is completed according to the state of the hardware testing platform to obtain a first determination result;
[0020] If the first determination result indicates that the current test item is finished, the next item is tested until all items are tested.
[0021] Optionally, the editing of the test project file of the battery management system to be tested includes:
[0022] At least one of adding, deleting and modifying the test items in the test item file of the battery management system to be tested.
[0023] Optionally, the test project file of the battery management system to be tested is transmitted to a PC host computer in Excel or TXT format.
[0024] The present invention further provides a battery management system testing system, the system comprising:
[0025] A project file acquisition module is used to acquire the test project file of the battery management system to be tested;
[0026] An editing module, used for editing the test project file of the battery management system to be tested to obtain the edited test project file;
[0027] A transmission module, used for transmitting the edited test project file to a PC host computer;
[0028] A judgment module, used for judging whether the format of the edited test project file is a preset standard format, and obtaining a first judgment result;
[0029] A testing module, configured to send the edited test project file to a pre-built hardware testing platform to test the battery management system to be tested when the first judgment result indicates that the format of the edited test project file is a pre-set standard format;
[0030] The loop module is used to re-edit the test project file of the battery management system to be tested to obtain the edited test project file when the first judgment result indicates that the format of the edited test project file is not a preset standard format.
[0031] A battery management system function test hardware platform, the hardware platform comprising:
[0032] A voltage generating circuit, a current generating circuit, an equivalent temperature circuit, a power supply circuit and a micro control unit;
[0033] The input end of the voltage generating circuit, the input end of the current generating circuit and the input end of the equivalent temperature circuit are all connected to the micro control unit, and the output end of the voltage generating circuit, the output end of the current generating circuit and the output end of the equivalent temperature circuit are all connected to the battery management system to be tested;
[0034] The power supply circuit is connected to the voltage generating circuit, the current generating circuit, the equivalent temperature circuit and the micro control unit, and is used to supply power to the voltage generating circuit, the current generating circuit, the equivalent temperature circuit and the micro control unit;
[0035] The voltage generating circuit is used to simulate the cell voltage input of the BMS to be tested;
[0036] The current generating circuit is used to simulate the charging and discharging state of the BMS to be tested;
[0037] The equivalent temperature circuit is used to simulate the temperature detection of the BMS to be tested;
[0038] The micro control unit is used to control the output and adjustment of voltage, current and temperature, and to read or write information from the BMS to be tested.
[0039] Optionally, the voltage generating circuit specifically includes: a digital-to-analog converter, an operational amplifier circuit, and a feedback circuit;
[0040] The input end of the digital-to-analog converter is connected to the micro control unit, the output end of the digital-to-analog converter is connected to the input end of the operational amplifier circuit, the output end of the operational amplifier circuit is connected to the input end of the feedback circuit, and the output end of the feedback circuit is connected to the battery management system to be tested.
[0041] Optionally, the current generating circuit specifically includes a constant current source circuit and a digital programmable resistor chip;
[0042] The input end of the constant current source circuit is connected to the micro control unit, the output end of the constant current source circuit is connected to the input end of the digital programmable resistor chip, and the output end of the digital programmable resistor chip is connected to the battery management system to be tested.
[0043] Optionally, the platform further includes:
[0044] Display and buzzer;
[0045] The display and the buzzer are both connected to the micro control unit.
[0046] Optionally, the display is an LED display or an LCD display.
[0047] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0048] In the present invention, when testing the battery management system, firstly, a test project file of the battery management system to be tested is imported, and then the test project file of the battery management system to be tested is edited to obtain an edited test project file, wherein the file is edited, that is, the test items contained in the file are added, modified and deleted, etc., and finally the test file is imported into a hardware test platform to realize functional testing of the battery management system. The method and the hardware platform test steps in the present invention are free and flexible and can adapt to various environments and the needs of different customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 This is a flow chart of a method for testing the function of a battery management system according to an embodiment of the present invention;
[0051] Figure 2 This is a schematic diagram of the structure of a battery management system test system according to an embodiment of the present invention;
[0052] Figure 3 The figure is a schematic diagram of the structure of the hardware platform for functional testing of a battery management system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] The purpose of the present invention is to provide a battery management system function testing method and a testing hardware platform to achieve the function testing of the battery management system for different customer needs in various environments.
[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0056] Figure 1 The flowchart of the battery management system function test method according to the embodiment of the present invention is as follows: Figure 1 As shown, the method includes:
[0057] Step 101: Obtain a test project file of a battery management system to be tested;
[0058] Step 102: Edit the test project file of the battery management system to be tested to obtain an edited test project file;
[0059] The editing of the test project file of the battery management system to be tested comprises:
[0060] At least one of adding, deleting and modifying the test items in the test item file of the battery management system to be tested.
[0061] Step 103: transferring the edited test project file to a PC host computer;
[0062] The test project file of the battery management system to be tested is transferred to the PC host computer in Excel or TXT format
[0063] Step 104: determining whether the format of the edited test project file is a preset standard format, and obtaining a first determination result;
[0064] Step 105: If the first judgment result indicates that the format of the edited test project file is a pre-set standard format, the edited test project file is sent to a pre-built hardware test platform to test the battery management system to be tested;
[0065] The hardware testing platform tests the battery management system to be tested according to the edited test project file, specifically including:
[0066] The hardware test platform performs the test according to the test start instruction sent by the PC host computer;
[0067] The hardware test platform converts the voltage, current, temperature and duration of the battery management system to be tested according to the conversion instructions sent by the PC host computer;
[0068] The hardware test platform completes the writing operation of the battery management system to be tested according to the writing instructions sent by the PC host computer;
[0069] The hardware test platform determines the status of the hardware test platform according to the read instruction sent by the PC host computer;
[0070] The hardware testing platform determines whether the current test step is completed according to the state of the hardware testing platform to obtain a first determination result;
[0071] If the first judgment result indicates that the current test item is finished, the next item is tested until all items are tested;
[0072] If the first judgment result indicates that the format of the edited test item file is not a preset standard format, the test item file of the battery management system to be tested is re-edited.
[0073] Figure 2 FIG. 1 is a schematic diagram of the structure of a battery management system test system according to an embodiment of the present invention. Figure 2 As shown, the system comprises:
[0074] The project file acquisition module 201 is used to acquire the test project file of the battery management system to be tested;
[0075] An editing module 202, used for editing the test project file of the battery management system to be tested to obtain an edited test project file;
[0076] The transmission module 203 is used to transmit the edited test project file to the PC host computer;
[0077] A judgment module 204 is used to judge whether the format of the edited test project file is a preset standard format, and obtain a first judgment result;
[0078] The testing module 205 is used to send the edited test project file to a pre-built hardware testing platform to test the battery management system to be tested when the first judgment result indicates that the format of the edited test project file is a pre-set standard format;
[0079] The loop module 206 is used to re-edit the test project file of the battery management system to be tested to obtain the edited test project file when the first judgment result indicates that the format of the edited test project file is not a preset standard format.
[0080] Figure 3 FIG. 1 is a schematic diagram of the structure of the hardware platform for functional testing of a battery management system according to an embodiment of the present invention. Figure 3 As shown, the hardware platform includes:
[0081] A voltage generating circuit 301, a current generating circuit 302, an equivalent temperature circuit 303, a power supply circuit 304 and a micro control unit 305;
[0082] The input end of the voltage generating circuit 301, the input end of the current generating circuit 302 and the input end of the equivalent temperature circuit 303 are all connected to the micro control unit 305, and the output end of the voltage generating circuit 301, the output end of the current generating circuit 302 and the output end of the equivalent temperature circuit 303 are all connected to the battery management system to be tested;
[0083] The power supply circuit 304 is connected to the voltage generating circuit 301, the current generating circuit 302, the equivalent temperature circuit 303 and the micro control unit, and is used to supply power to the voltage generating circuit 301, the current generating circuit 302, the equivalent temperature circuit 303 and the micro control unit;
[0084] The voltage generating circuit is used to simulate the cell voltage input of the BMS to be tested.
[0085] The current generating circuit is used to simulate the charging and discharging state of the BMS to be tested.
[0086] The equivalent temperature circuit is used to simulate the temperature detection of the BMS to be tested.
[0087] The micro control unit is used for outputting and adjusting the above voltage, current and temperature, and reading or writing information from the BMS to be tested.
[0088] The voltage generating circuit specifically includes: a digital-to-analog converter, an operational amplifier circuit and a feedback circuit;
[0089] The input end of the digital-to-analog converter is connected to the micro control unit, the output end of the digital-to-analog converter is connected to the input end of the operational amplifier circuit, the output end of the operational amplifier circuit is connected to the input end of the feedback circuit, and the output end of the feedback circuit is connected to the battery management system to be tested.
[0090] The current generating circuit specifically includes a constant current source circuit and a digital programmable resistor chip;
[0091] The input end of the constant current source circuit is connected to the micro control unit, the output end of the constant current source circuit is connected to the input end of the digital programmable resistor chip, and the output end of the digital programmable resistor chip is connected to the battery management system to be tested.
[0092] The platform also includes:
[0093] Display and buzzer;
[0094] The display and the buzzer are both connected to the micro control unit.
[0095] The display is an LED display or an LCD display.
[0096] Specifically, the present invention selects a 4-series lithium-ion battery pack management system in a notebook computer application as a test object. The battery pack management system adopts I 2 C communication is used for flash parameter modification and command reading and writing. The battery pack controls the charging and discharging enabling switches through the charging MOSFET and the discharging MOSFET respectively, and the battery pack is connected to the Vcell of the system respectively. 1 ,Vcell 2 ,Vcell 3 ,Vcell 4 ,Vcell 5 End, Vcell 1 That is the ground (GND) of the system circuit, Vcell 5 The end is the highest voltage end. In addition, the system has two temperature sensors, one to obtain the battery core temperature value and the other to obtain the MOSFET temperature value.
[0097] The hardware test platform has been built, which consists of the main control chip STM32F103, DAC chip TLC5615, operational amplifier TS507, OP07, digital resistor AD5175, CAT5140, isolation chip DCDC1509, voltage regulator chip LM1117, 7805, LM317, etc. All conversion output voltages in the hardware test platform are isolated, and all platform control signals and communication signals with the BMS to be tested are also isolated from each other. The hardware test platform can control each module according to the instructions issued by the main control chip, so that each hardware module can output the corresponding voltage, current, temperature control resistance, etc. in a certain order.
[0098] The cell voltage, current and temperature in the BMS system to be tested are all provided by the hardware test platform. The connection between the test platform hardware and the BMS to be tested is as follows: Hardware test platform Vcell 1 (GND) is connected to the GND of the BMS to be tested, and the Vcell of the hardware test platform2 ,Vcell 3 ,Vcell 4 ,Vcell 5 The terminals are connected to the BMS cell access terminals to be tested, Vcell 5 The end is the highest voltage end, the temperature equivalent resistance output by the hardware test platform is connected to the thermistor terminal of the BMS to be tested, the two ends of the platform output current are respectively connected to the Battery- and Pack- of the BMS to be tested, and the communication line of the hardware test platform is connected to the corresponding communication line of the BMS to be tested.
[0099] At the same time, the test provided by the hardware test platform allows it to flow through the charging and discharging MOSFET, and confirms whether the MOS is open or closed by testing whether there is flow in the MOS line. This operation is also implemented through file instructions like other conversion operations.
[0100] The instructions sent by the hardware test platform to the BMS are made in response to the instructions of the PC host computer. The host computer instructions are extracted from the imported file data. The data in the file is written by the user according to the test requirements. Therefore, users can edit a variety of test plans according to different requirements to meet the needs of different plans or different customers.
[0101] The test file is selected to be input in excel or txt format. The definition rules are described below. The test file data is sent to the hardware test platform through the computer USB serial port. The hardware test platform completes the conversion of voltage, current, temperature, duration, sends instructions to the BMS to be tested, reads the BMS data to be tested, etc. according to the received data or instructions. In order to facilitate the test operation, the hardware platform also has LED, LCD display, buzzer prompt function, and the function of automatically storing test data and uploading it to the host computer in a timely manner.
[0102] The method of the present invention focuses on the flexibility of testing programmability. The programmable flexibility lies in the flexible editing of test files. There are various methods for editing test files. The present invention specifically selects the following method for implementation:
[0103] Using Excel as the data carrier, multiple tabs are set in an Excel file, and the function of each tab is determined by its name. The "Control" tab is set to select the test item function, which determines which functional items need to be tested, which do not need to be tested, and the test order of different items. There are 2 columns of data in this tab, with an unlimited number of rows (unlimited number of functional items). Column B is defined as the function name, which is the same as the corresponding test tag name. Column C is defined as the selection enable flag. Writing 1 means that the function participates in the test, and writing 0 means that it does not participate in the test.
[0104] For other tags, such as "COV" or "Inhabit_Susp", the test sequence information corresponding to the function is included. When the selection mark after the function in the "control" tag is "1", the function items marked as "1" are executed in sequence.
[0105] In the present invention, different definitions are given to the file content of each test item. The definition method can isolate the meaning of data based on the characteristics that 1, 2 or 4 bytes at the beginning or end of a data block (a fixed-length data packet) are equal to certain special values, and realize the selection of different operations according to different meaning data. The present invention selects two double-byte numbers 0xFFBB 0xFFBB as the start mark of a certain functional test item, and two double-byte numbers 0xFFEE 0xFFEE as the end mark of a certain functional test item. Each functional item contains multiple test steps, and each test step uses two double-byte numbers 0xFFAA0xFFAA as the end mark of the step. The first byte of the start data of each test step represents the function of the step, the beginning of 0xFB indicates that the step completes the modification of the threshold parameters related to the test function, the beginning of 0xFE indicates that the platform provides the voltage, current, temperature, duration, etc. set to the BMS to be tested, and the beginning of 0xFC or 0xFD indicates that the BMS to be tested is written or information is read.
[0106] As for the specific operations in the steps, such as how the data represents which parameters to modify, what voltage or current to convert to, and what instructions to read and write, the present invention will not provide further explanations. As long as the method used can achieve this purpose, the idea of the method of the present invention is to use a series of data sequences to complete different operations under different functions and steps. Any effect of programmable testing that achieves this purpose is within the protection scope of the method of the present invention.
[0107] To test a new function OTC in the BMS to be tested, create a new label named OTC in the Excel file, and write OTC in a row of column B in the control tab, and write 1 in column C of the row. Then in the OTC label, edit the test steps, enter different conversion contents respectively, and arrange them in a certain order to realize the editing of the OTC function test file.
[0108] For example, the condition is that when the battery temperature reaches 65 degrees Celsius during charging, the BMS needs to set the OTC flag to remind the user. Each test item contains multiple test steps. The label of the OTC test item needs to contain the following steps. Immediately after the end mark of the previous step 0xFFAA0xFFAA (all in hexadecimal), write 0xFE010x0ED80xFE020x0ED80xFE030x0ED80xFE040x0ED8 (the voltage of the four battery strings is set to 3800mV), 0xFE050x0276 (convert 63 degrees Celsius to the Tcel of the BMS to be tested) l terminal), 0xFE07 0x01F4 (indicates loading charging current 500mA), 0xFE08 0x0010 (wait 16 seconds to confirm that the BMS to be tested enters the charging state), 0xFFAA 0xFFAA (indicates the end of the above steps), 0xFDxx 0x0002 0x0040 0x0040 (indicates reading the charging status flag in a certain state and confirming entering the charging state), 0xFD51 0x0002 0x0000 0xC000 (reading safetys status confirms that the OTC flag is 0, that is, no OTC protection occurs), 0xFFAA0xFFAA (the above steps are completed), 0xFE050x029E (convert 67 degrees Celsius and input it to the Tcell end of the BMS to be tested), 0xFE080x000B (because the protection entry time is set to 10 seconds in advance, it waits for 11 seconds here to make the BMS to be tested enter the OTC protection state), 0xFD510x00020xC0000xC000 (read safety status to confirm that the OTC flag is 1, OTC protection occurs), 0xFFAA0xFFAA (the above steps are completed). So far, the test file of this condition in this example has been written.
[0109] The data is sent to the hardware platform through the host computer via USB communication. During the sending process, additional data rules can be set due to the interference of other USB identifier data. When the lower computer receives data that meets the rules, it is considered to be data in the platform test file. After receiving the test file data, if 0xFFBB0xFFBB is received, it is considered that the test preparation has started. Next, the step data starting with 0xFB is received, and the hardware platform modifies the parameters of the BMS system to be tested; when the step information starting with 0xFE is received, the corresponding voltage, current, temperature, and duration are converted; when the data starting with 0xFC is received, the BMS to be tested is written with instructions to control it, and when the data starting with 0xFD is received, the BMS to be tested is read, that is, the feedback status of the BMS is read back to the hardware platform for judgment. If the information response of the status sent by the hardware platform meets the corresponding BMS feedback status, it is considered that this test step is over. If all test steps in this functional project are over, the functional test is over.
[0110] The test results are saved in real time in the flash chip of the hardware test platform. When each functional item test is completed, the test information is fed back to the host computer, and the host computer records the test information in the corresponding folder of the computer. At the same time, the exported information is parsed into an easy-to-understand information sequence according to pre-defined rules for the convenience of the tester to view. Furthermore, new test functions or new test conditions or test steps in a certain function can be achieved through the above method. The programmability of the method of the present invention is reflected in that only a hardware platform and an importable file are needed to realize free and convenient test switching of different functions, different test conditions or test steps. The implementation method is simple, that is, the file content can be modified according to the format defined by the implementation.
[0111] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0112] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A battery management system function test method, characterized in that: The method comprises: Obtain the test project file of the battery management system to be tested; The test project file of the battery management system to be tested is edited to obtain an edited test project file, which specifically includes: Using Excel as the data carrier, multiple tabs are set in one Excel file, and the function of each tab is determined by its name; The Control tag is set to select the test item function, which determines which functional items need to be tested and which do not, as well as the test order of different items. There are 2 columns of data in this tag, with an unlimited number of rows. Column B is defined as the function name, which is the same as the corresponding test tag name. Column C is defined as the selection enable flag. Writing 1 means that the function participates in the test, and writing 0 means that it does not participate in the test. Other tags contain the test sequence information corresponding to the function; when the selection mark after the function in the Control tag is 1, the function items marked as 1 are executed in sequence; The tab page includes an OTC tab. In the Control tab page, write OTC in a row of column B and write 1 in column C of the row. In the OTC tab, edit the test steps, input different conversion contents respectively, and arrange them in a certain order to realize the editing of the OTC function test file. When charging, when the battery temperature reaches 65 degrees Celsius, the BMS sets the OTC flag to remind the user; when the battery temperature is lower than 65 degrees Celsius, read the safety status to confirm that the OTC flag is 0, that is, no OTC protection occurs; when the battery temperature is higher than 65 degrees Celsius, read the safety status to confirm that the OTC flag is 1, and OTC protection occurs; The edited test project file is transferred to the PC host computer; Determine whether the format of the edited test project file is a preset standard format, and obtain a first determination result; If the first judgment result indicates that the format of the edited test project file is a pre-set standard format, the edited test project file is sent to a pre-built hardware test platform to test the battery management system to be tested; If the first judgment result indicates that the format of the edited test item file is not a preset standard format, the test item file of the battery management system to be tested is re-edited.
2. The battery management system function testing method according to claim 1, characterized in that: The hardware testing platform tests the battery management system to be tested according to the edited test project file, specifically including: The hardware test platform performs the test according to the test start instruction sent by the PC host computer; The hardware test platform converts the voltage, current, temperature and duration of the battery management system to be tested according to the conversion instructions sent by the PC host computer; The hardware test platform completes the writing operation of the battery management system to be tested according to the writing instructions sent by the PC host computer; The hardware test platform determines the status of the hardware test platform according to the read instruction sent by the PC host computer; The hardware testing platform determines whether the current test step is completed according to the state of the hardware testing platform to obtain a first determination result; If the first determination result indicates that the current test item is finished, the next item is tested until all items are tested.
3. The battery management system function testing method according to claim 1, characterized in that: The editing of the test project file of the battery management system to be tested comprises: At least one of adding, deleting and modifying the test items in the test item file of the battery management system to be tested.
4. The battery management system function testing method according to claim 1, characterized in that: The test project file of the battery management system to be tested is transmitted to the PC host computer in Excel or TXT format.
5. A battery management system testing system, characterized in that: The system comprises: A project file acquisition module is used to acquire the test project file of the battery management system to be tested; The editing module is used to edit the test project file of the battery management system to be tested to obtain the edited test project file, specifically including: Using Excel as the data carrier, multiple tabs are set in one Excel file, and the function of each tab is determined by its name; The Control tag is set to select the test item function, which determines which functional items need to be tested and which do not, as well as the test order of different items. There are 2 columns of data in this tag, with an unlimited number of rows. Column B is defined as the function name, which is the same as the corresponding test tag name. Column C is defined as the selection enable flag. Writing 1 means that the function participates in the test, and writing 0 means that it does not participate in the test. Other tags contain the test sequence information corresponding to the function; when the selection mark after the function in the Control tag is 1, the function items marked as 1 are executed in sequence; The tab page includes an OTC tab. In the control tab page, write OTC in a row of column B and write 1 in column C of the row. In the OTC tab, edit the test steps, input different conversion contents respectively, and arrange them in a certain order to realize the editing of the OTC function test file. When charging, when the battery temperature reaches 65 degrees Celsius, the BMS sets the OTC flag to remind the user; when the battery temperature is lower than 65 degrees Celsius, read the safety status to confirm that the OTC flag is 0, that is, no OTC protection occurs; when the battery temperature is higher than 65 degrees Celsius, read the safety status to confirm that the OTC flag is 1, and OTC protection occurs; A transmission module, used for transmitting the edited test project file to a PC host computer; A judgment module, used for judging whether the format of the edited test project file is a preset standard format, and obtaining a first judgment result; A testing module, configured to send the edited test project file to a pre-built hardware testing platform to test the battery management system to be tested when the first judgment result indicates that the format of the edited test project file is a pre-set standard format; The loop module is used to re-edit the test project file of the battery management system to be tested to obtain the edited test project file when the first judgment result indicates that the format of the edited test project file is not a preset standard format.
6. A battery management system functional test hardware platform, characterized in that: The hardware platform is applied to the method according to any one of claims 1 to 5, and the hardware platform includes: A voltage generating circuit, a current generating circuit, an equivalent temperature circuit, a power supply circuit and a micro control unit; The input end of the voltage generating circuit, the input end of the current generating circuit and the input end of the equivalent temperature circuit are all connected to the micro control unit, and the output end of the voltage generating circuit, the output end of the current generating circuit and the output end of the equivalent temperature circuit are all connected to the battery management system to be tested; The power supply circuit is connected to the voltage generating circuit, the current generating circuit, the equivalent temperature circuit and the micro control unit, and is used to supply power to the voltage generating circuit, the current generating circuit, the equivalent temperature circuit and the micro control unit; The voltage generating circuit is used to simulate the cell voltage input of the BMS to be tested; The current generating circuit is used to simulate the charging and discharging state of the BMS to be tested; The equivalent temperature circuit is used to simulate the temperature detection of the BMS to be tested; The microcontroller unit is used to control the output and adjustment of voltage, current and temperature, and to read or write information from the BMS to be tested; The hardware platform also includes two temperature sensors, which are used to obtain the temperature value of the battery core and the temperature value of the MOSFET respectively.
7. The battery management system function test hardware platform according to claim 6, characterized in that: The voltage generating circuit specifically includes: a digital-to-analog converter, an operational amplifier circuit and a feedback circuit; The input end of the digital-to-analog converter is connected to the micro control unit, the output end of the digital-to-analog converter is connected to the input end of the operational amplifier circuit, the output end of the operational amplifier circuit is connected to the input end of the feedback circuit, and the output end of the feedback circuit is connected to the battery management system to be tested.
8. The battery management system function test hardware platform according to claim 6, characterized in that: The current generating circuit specifically includes a constant current source circuit and a digital programmable resistor chip; The input end of the constant current source circuit is connected to the micro control unit, the output end of the constant current source circuit is connected to the input end of the digital programmable resistor chip, and the output end of the digital programmable resistor chip is connected to the battery management system to be tested.
9. The battery management system function test hardware platform according to claim 6, characterized in that: The platform also includes: Display and buzzer; The display and the buzzer are both connected to the micro control unit.
10. The battery management system function test hardware platform according to claim 9, characterized in that: The display is an LED display or an LCD display.
Citation Information
Patent Citations
Device and method for automatically testing and calibrating parameters of battery management systems
CN102508167A
PCBA test method and PCBA test system
CN104978265A
Method and device for testing dynamic characteristics of battery
CN106291392A
UI automatic testing method of intelligent appliance application
CN106502904A
Battery management system standard DBC interface automatic testing system and method
CN106707065A
