A battery management system automated testing method, device and system

Through the testing software, the test data is generated and sent to the battery management system, and the response comparison is performed directly, which solves the problems of high testing costs and low accuracy in the existing technology, and achieves more efficient and accurate battery management system testing.

CN113093034BActive Publication Date: 2025-02-11SUNGROW ENERGY STORAGE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110371932.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-07
Publication Date
2025-02-11
Estimated Expiration
2041-04-07

AI Technical Summary

Technical Problem

The testing solution of the existing battery management system requires peripheral equipment such as battery cell simulators, high voltage sources, etc., which leads to high testing costs and low testing accuracy.

Method used

The test software generates the test data corresponding to the to-diagnostic items of the battery management system and sends it directly to the battery management system, triggers its response and compares the response results with the preset response status to obtain the diagnostic results.

Benefits of technology

It reduces the cost of the test system, improves the test accuracy and efficiency, avoids the problem of low analog signal accuracy of peripheral equipment, and enhances the degree of automation of tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113093034B_ABST
    Figure CN113093034B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and system for automated testing of a battery management system, which obtains test data corresponding to the items to be diagnosed of the battery management system, and directly sends the test data to the battery management system so that the battery management system runs the corresponding processing logic to obtain a response result that matches the test data. The response result obtained by the battery management system for the test data is obtained, and the response result is compared with the preset corresponding state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed. It can be seen from the above process that the scheme does not require the setting of peripheral auxiliary equipment (such as battery cell simulators, high-voltage sources, etc.), and the test data corresponding to the items to be diagnosed of the battery management system are directly generated by the test software, thereby reducing the cost of the test system. At the same time, the test data of the scheme is directly generated by the test software, which improves the test efficiency and degree of automation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of testing technology, and in particular relates to an automatic testing method, device and system for a battery management system. Background Art

[0002] BMS (Battery Management System) monitors and manages battery information, such as the voltage, current, temperature, state of charge (SOC), and balancing control of single cells, to ensure battery safety, improve battery utilization, and prevent overcharging and over-discharging of batteries. It can be seen that the stability and reliability of BMS software are crucial to the entire battery system. Therefore, functional testing of BMS software is an important measure to ensure its stability and reliability.

[0003] One BMS test scheme in the related art is to adjust the output parameters of peripheral devices (such as battery cell simulators, high-voltage sources, etc.) through computer software or manually, the signals generated by the peripheral devices are transmitted to the BMS, and the BMS runs the internal logic to obtain the operation results and transmits them to the computer to complete a test. Then, the output parameters of the peripheral devices are changed again, and the next item is tested, and the cycle repeats until all test parameters of all test items are tested. This test scheme requires peripheral devices (such as battery cell simulators, high-voltage sources) to simulate the external conditions of the BMS, resulting in high testing costs. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a battery management system automatic testing method, device and system to solve the technical problem of high testing cost in the related art. The disclosed technical solution is as follows:

[0005] In a first aspect, the present application provides a battery management system automated testing method, comprising:

[0006] Acquire test data corresponding to the to-be-diagnosed item of the battery management system, the test data including battery status parameters matching the diagnosis item;

[0007] Sending the test data to the battery management system to trigger the battery management system to respond to the test data and obtain a response result;

[0008] The response result of the battery management system is obtained, and the response result is compared with a preset response state corresponding to the test data to obtain a diagnosis result corresponding to the item to be diagnosed.

[0009] In a possible implementation of the first aspect, the obtaining test data corresponding to the to-be-diagnosed item of the battery management system includes:

[0010] Acquire pre-configured diagnostic item information corresponding to the battery management system, the diagnostic item information including diagnostic items and diagnostic item parameters corresponding to the diagnostic items;

[0011] Determine any of the diagnostic items as the item to be diagnosed, and obtain test data corresponding to the diagnostic item according to the diagnostic item parameters corresponding to the item to be diagnosed.

[0012] In another possible implementation of the first aspect, obtaining the test data corresponding to the diagnostic item according to the diagnostic item parameter corresponding to the item to be diagnosed includes:

[0013] Superimposing an offset on the basis of the diagnostic item parameter corresponding to the item to be diagnosed, to obtain at least two test data;

[0014] Alternatively, the numerical value between two adjacent diagnosis item parameters corresponding to the item to be diagnosed is obtained to obtain at least two test data corresponding to the item to be diagnosed.

[0015] In yet another possible implementation of the first aspect, sending the test data to the battery management system to trigger the battery management system to respond to the test data to obtain a response result includes:

[0016] The test data is sent to the battery management system so that the battery management system stores the test data, reads the stored test data and executes processing logic matching the test data to obtain a response result.

[0017] In another possible implementation of the first aspect, obtaining the response result of the battery management system, and comparing the response result with a preset response state corresponding to the test data to obtain a diagnosis result corresponding to the item to be diagnosed includes:

[0018] Determining a preset response state matching the test data according to the diagnosis item information matching the item to be diagnosed;

[0019] Comparing whether the response result corresponding to the test data is consistent with the preset response state;

[0020] If the response result is consistent with the preset response state, it is determined that the item to be diagnosed is normal;

[0021] If the response result is inconsistent with the preset corresponding state, it is determined that the item to be diagnosed is abnormal.

[0022] In another possible implementation manner of the first aspect, the method further includes:

[0023] The test data corresponding to the item to be diagnosed, the response result and the diagnosis result are stored.

[0024] In yet another possible implementation of the first aspect, the method further includes:

[0025] The test result of the battery management system is obtained according to the diagnosis results corresponding to all the diagnosis items of the battery management system.

[0026] In a second aspect, the present application also provides a battery management system automated testing device, comprising:

[0027] A test data acquisition module, used to acquire test data corresponding to the to-be-diagnosed item of the battery management system, wherein the test data includes battery status parameters matching the diagnosis item;

[0028] A sending module, used for sending the test data to the battery management system to trigger the battery management system to respond to the test data to obtain a response result;

[0029] The diagnosis result acquisition module is used to acquire the response result of the battery management system, and compare the response result with the preset response state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed.

[0030] In a third aspect, the present application further provides an electronic device, comprising: a memory and a processor;

[0031] The memory stores program instructions;

[0032] The processor is used to call the program instructions in the memory to execute the battery management system automatic testing method described in any one of the first aspects.

[0033] In a fourth aspect, the present application also provides an automated testing system for a battery management system, comprising the electronic device described in the third aspect and a battery management system to be tested.

[0034] In a fifth aspect, the present application also provides a computer program product which, when executed on an electronic device, is suitable for executing a program for initializing any one of the battery management system automated testing methods of the first aspect.

[0035] The automated testing method for a battery management system provided in the present application obtains test data corresponding to the items to be diagnosed of the battery management system, and directly sends the test data to the battery management system so that the battery management system runs the corresponding processing logic to obtain a response result that matches the test data. The response result obtained by the battery management system for the test data is obtained, and the response result is compared with the preset corresponding state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed. It can be seen from the above process that the scheme does not need to set up peripheral auxiliary equipment (such as battery cell simulators, high-voltage sources, etc.), and the test data corresponding to the items to be diagnosed of the battery management system are directly generated by the test software, thereby reducing the cost of the test system. At the same time, the scheme does not collect analog signals generated by peripheral auxiliary equipment, but digital signals directly generated by the test software, which avoids the problem of low test accuracy due to the low accuracy of analog signals, so the scheme also improves the test accuracy. Moreover, the test data of the scheme is directly generated by the test software, which improves the test efficiency and automation. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 It is a structural diagram of a traditional battery management system test system;

[0038] Figure 2 It is a structural schematic diagram of a battery management system automatic testing system provided in an embodiment of the present application;

[0039] Figure 3 is a flow chart of a battery management system automated testing method provided in an embodiment of the present application;

[0040] Figure 4 is a flowchart of a process of generating test data corresponding to an item to be diagnosed provided by an embodiment of the present application;

[0041] Figure 5 is a flow chart of another battery management system automated testing method provided in an embodiment of the present application;

[0042] Figure 6 It is a structural schematic diagram of a battery management system automatic testing device provided in an embodiment of the present application;

[0043] Figure 7 It is a structural diagram of a test data acquisition module provided in an embodiment of the present application;

[0044] Figure 8 It is a structural diagram of a diagnosis result acquisition module provided in an embodiment of the present application;

[0045] Fig. 9 It is a block diagram of another battery management system automatic testing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] See also Figure 1 , is a schematic diagram of the structure of a traditional battery management system test system, such as Figure 1 As shown, the traditional test system includes a host computer 1, peripheral equipment 2 and a battery management system (Battery Management System, BMS) 3.

[0047] Among them, the host computer 1 sends instructions to control the peripheral device 2 to output various signals, such as voltage signals, current signals, temperature signals, etc. The BMS3 collects various signals output by the peripheral device 2, and the A / D conversion circuit converts the analog signal into a digital signal and stores it. The BMS reads the stored battery data and runs the main program to obtain the operation result that matches the battery data. Further, the diagnosis result is obtained based on the operation result.

[0048] For example, the host computer 1 sends a high-voltage instruction for the battery cell. After receiving the instruction, the battery cell simulator generates a high-voltage signal. After collecting the signal, the BMS determines whether the voltage value exceeds the alarm value. If it exceeds the alarm value, an alarm message is issued.

[0049] The above-mentioned traditional test scheme requires peripheral auxiliary equipment, such as battery cell simulators, high voltage sources and other equipment, resulting in high test costs; moreover, the accuracy of the analog signals generated by the peripheral auxiliary equipment is low, resulting in low accuracy of the test results.

[0050] In order to solve the above problems, the present application provides an automated testing method for a battery management system, in which the test software generates test data corresponding to the items to be diagnosed of the BMS and sends it to the BMS. The BMS starts the test mode. In the test mode, the received test data is used to simulate the analog signal data generated by the peripheral devices of the BMS. The BMS responds to the test data to obtain a response result. The test software compares the response result with the corresponding preset response state to obtain the diagnostic result corresponding to the item to be diagnosed. This solution does not require the setting of peripheral auxiliary equipment (such as a battery cell simulator, a high-voltage source, etc.), and the test software directly generates the test data corresponding to the items to be diagnosed of the battery management system, thereby reducing the cost of the test system. At the same time, this solution does not collect analog signals generated by peripheral auxiliary equipment, but digital signals directly generated by the test software, which avoids the problem of low test accuracy due to the low accuracy of the analog signal, so this solution also improves the test accuracy.

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0052] See also Figure 2 and Figure 3 , Figure 2 It is a structural schematic diagram of a battery management system automatic testing system provided in an embodiment of the present application; Figure 3 This is a flow chart of a battery management system automated testing method provided in an embodiment of the present application.

[0053] like Figure 2 As shown, the battery management system automated testing system provided in the present application includes a host computer and a BMS, wherein the host computer generates test data corresponding to the diagnostic item and sends it to the BMS, the BMS receives the test data through a communication interface and stores it in a memory, and when the diagnostic item is tested, the test data corresponding to the diagnostic item is read from the memory and the corresponding operating program is executed to obtain a response result, and the response result is fed back to the host computer through the communication interface.

[0054] like Figure 3 As shown, the method mainly includes the following steps:

[0055] S110, obtaining test data corresponding to the to-be-diagnosed item of the battery management system.

[0056] In an exemplary embodiment, the test software generates test data corresponding to the diagnostic item based on the diagnostic item information pre-configured by the battery management system, wherein the test software can run on a host computer, for example, the host computer can be a PC or a smart mobile terminal, etc., and this application does not limit this.

[0057] A monitoring function item in BMS is a diagnostic item. Each diagnostic item corresponds to multiple threshold parameters. For example, the diagnostic item is cell overvoltage. This item includes three levels of fault parameters. Each level includes a fault threshold parameter and a fault release threshold parameter. For example, the first level fault threshold is 3.67V, the second level fault threshold is 3.7V, the third level fault threshold is 3.75V, the first level fault release threshold is 3.65V, the second level fault release threshold is 3.68V, and the third level fault release threshold is 3.72V.

[0058] The generated test data represents the state parameters of the battery connected to the BMS. The BMS reads the test data and runs the main program operation logic to obtain the operation result corresponding to the test data, that is, the response result.

[0059] For example, if the test data is a high voltage signal, after the BMS reads the high voltage signal, it determines whether the high voltage signal exceeds the alarm threshold according to the main program operation logic. If it exceeds the alarm threshold, an alarm signal is output, and the alarm signal is the response result.

[0060] In an exemplary embodiment, if Figure 4 As shown, the process of generating test data corresponding to the item to be diagnosed includes the following steps:

[0061] S111, obtaining pre-configured diagnostic item information corresponding to the battery management system.

[0062] The diagnosis item information includes a diagnosis item and a diagnosis item parameter corresponding to the diagnosis item, wherein the diagnosis item parameter includes a parameter threshold corresponding to the item to be diagnosed.

[0063] For example, the diagnostic item parameters corresponding to the overvoltage of the battery cell include: 3.67V or above and lasting for more than 3000ms, which is a level one overvoltage fault; 3.7V or above and lasting for more than 3000ms, which is a level two overvoltage fault; 3.75V or above and lasting for more than 3000ms, which is a level three overvoltage fault. When the cell voltage reaches 3.65V or below and lasts for more than 10000ms, it is a level one overvoltage fault release. When the cell voltage reaches 3.68V or below and lasts for more than 10000ms, it is a level two overvoltage fault release. When the cell voltage reaches 3.72V or below and lasts for more than 10000ms, it is a level three overvoltage fault release.

[0064] For example, for the diagnosis item of battery cell undervoltage, the corresponding diagnosis item parameters include: below 2.65V and lasting for more than 3000ms, it is a first-level undervoltage fault; below 2.5V and lasting for more than 3000ms, it is a second-level undervoltage fault; below 2.3V and lasting for more than 3000ms, it is a third-level undervoltage fault; the single cell voltage reaches 2.7V and above and lasts for more than 10000ms, which is a first-level undervoltage fault release; the single cell voltage reaches 2.6V and above and lasts for more than 10000ms, which is a second-level undervoltage fault release; the single cell voltage reaches 2.4V and above and lasts for more than 10000ms, which is a third-level undervoltage fault release.

[0065] S112, determining any diagnosis item as an item to be diagnosed, and obtaining test data corresponding to the diagnosis item according to the diagnosis item parameters corresponding to the item to be diagnosed.

[0066] In one possible implementation, an offset is superimposed on the diagnostic item parameters corresponding to the item to be diagnosed to obtain at least two test data. For example, the item to be diagnosed is cell overvoltage, and the corresponding diagnostic item parameters include: above 3.67V is a primary fault, above 3.7V is a secondary fault, and below 3.65V is a primary fault release.

[0067] While testing these three values, an offset is superimposed on 3.67V and 3.7V to obtain more test data, such as 3.67±0.01V, 3.7±0.01V.

[0068] In another possible implementation manner, a numerical value between two adjacent diagnosis item parameters corresponding to the item to be diagnosed is obtained to obtain at least two test data corresponding to the item to be diagnosed.

[0069] For example, still taking the overvoltage of a battery cell as an example, a value between 3.67V and 3.7V is selected as the test data, such as 3.68V, 3.69V, etc.

[0070] S120, sending the test data to the battery management system to trigger the battery management system to respond to the test data to obtain a response result.

[0071] The test software sends the test data to the BMS through the communication interface set on the BMS (for example, CAN interface, RS485 interface, Ethernet interface, etc.). After obtaining the test data, the BMS runs the main program logic to obtain a response result that matches the test data.

[0072] For example, if the test data shows that the cell voltage is 3.68V, after the BMS obtains the test data, it determines that the voltage value is higher than the primary fault threshold of 3.67V and lower than the secondary fault threshold of 3.7V, and then outputs a primary fault response result.

[0073] In one embodiment of the present application, Figure 2 As shown, after the test software obtains the test data, it sends it to the BMS through the communication interface, and the BMS stores the test data in the cache. When the diagnostic item needs to be tested, the BMS controller directly reads the test data corresponding to the diagnostic item from the cache and obtains the response result corresponding to the test data.

[0074] S130, obtaining a response result of the battery management system, and comparing the response result with a preset response state corresponding to the test data to obtain a diagnosis result corresponding to the item to be diagnosed.

[0075] After the test software sends the test data to the BMS, it receives the response result corresponding to the test data returned by the BMS through the communication interface. Further, the response data is compared with the preset response state corresponding to the test data to see if they are consistent. If they are consistent, it indicates that the item to be diagnosed is normal. If they are inconsistent, it indicates that the item to be diagnosed is abnormal.

[0076] In one embodiment, the preset response state corresponding to the test data is determined based on the diagnostic item information of the item to be diagnosed, wherein the diagnostic item information includes the fault type and the parameter threshold corresponding to each fault type, and the test data is compared with the parameter threshold corresponding to the fault type to obtain the response state that the BMS should output when the BMS detects the test data, that is, the preset response state.

[0077] For example, the item to be diagnosed is cell overvoltage, and a test data is 3.68V. According to the diagnostic item information, the cell voltage is greater than or equal to 3.67V and lower than 3.7V, which is a level one fault. Then, the preset response state corresponding to 3.68V is determined to be a level one fault state.

[0078] For another example, the item to be diagnosed is the undervoltage of the battery cell, and the corresponding diagnostic item parameters include: below 2.65V is a level one fault; the cell voltage below 2.5V is a level two fault; below 2.3V is a level three fault. Among them, the test data is 2.45V. According to the above undervoltage fault threshold, it can be known that 2.45V belongs to the level two undervoltage fault, that is, the preset response state is the level two undervoltage fault.

[0079] The battery management system automated testing system provided in this embodiment obtains test data corresponding to the item to be diagnosed of the battery management system, and directly sends the test data to the battery management system so that the battery management system runs the corresponding processing logic to obtain a response result matching the test data. The response result obtained by the battery management system for the test data is obtained, and the response result is compared with the preset corresponding state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed.

[0080] From the above process, it can be seen that this solution does not require the setting of peripheral auxiliary equipment (such as battery cell simulators, high-voltage sources, etc.), and the test data corresponding to the items to be diagnosed of the battery management system are directly generated by the test software, thereby reducing the cost of the test system. At the same time, this solution does not collect analog signals generated by peripheral auxiliary equipment, but digital signals directly generated by the test software, avoiding the problem of low test accuracy due to the low accuracy of analog signals, so this solution also improves the test accuracy. Moreover, the test data of this solution is directly generated by the test software, which improves the test efficiency and automation.

[0081] In addition, the solution generates test data directly from the test software, breaking through the limitation of the parameter setting range of peripheral auxiliary equipment. Therefore, the test data setting of this solution is more flexible and the test range is wider.

[0082] In another embodiment of the present application, Figure 5 As shown, another battery management system automated testing method is provided. Figure 3 Based on the embodiment shown, the following steps are also included:

[0083] S210, storing the test data, response results and diagnosis results corresponding to the item to be diagnosed.

[0084] In one example, the test results are stored in the form of a table. For example, the test results can store relevant information in the form of an Excel table, which stores diagnostic items, test data, thresholds corresponding to the diagnostic items, reported results, actual results, test conclusions, and other key information, such as the time when the instruction was issued, the content of the issued instruction, the fault waiting time, etc.

[0085] S220, determine whether all diagnostic items corresponding to the BMS have been tested; if yes, execute S230 and end the process; if not, determine the next item to be diagnosed and continue to execute S110.

[0086] S230, obtaining a test result of the BMS according to the diagnosis results corresponding to all the diagnosis items of the BMS.

[0087] After each diagnostic item of the BMS is tested, a corresponding diagnostic result will be obtained. The diagnostic results corresponding to all diagnostic items are summarized and counted to obtain the test result of the BMS.

[0088] The automated testing method for the battery management system provided in this embodiment does not require peripheral auxiliary equipment. The test data of the battery management system is directly generated by the test software and sent to the battery management system to trigger the battery management system to run the corresponding program to obtain a response result that matches the test data, thereby reducing the cost of the test system. Moreover, after each diagnostic item is tested, the test data, response result, and diagnostic result corresponding to the diagnostic item are recorded. And, the test results of the battery management system are obtained based on the diagnostic results corresponding to all diagnostic items, that is, the diagnostic results corresponding to all diagnostic items are included.

[0089] Corresponding to the above-mentioned embodiment of the automatic testing method of the battery management system, the present application also provides an embodiment of the automatic testing device of the battery management system.

[0090] See also Figure 6 , is a schematic diagram of the structure of a battery management system automatic testing device provided in an embodiment of the present application, such as Figure 6 As shown, the device may include:

[0091] The test data acquisition module 110 is used to acquire test data corresponding to the to-be-diagnosed item of the battery management system, wherein the test data includes battery status parameters matching the diagnosis item.

[0092] In one embodiment of the present application, Figure 7 As shown, the test data acquisition module 110 includes:

[0093] An acquisition submodule 111 is used to acquire pre-configured diagnostic item information corresponding to the battery management system, wherein the diagnostic item information includes diagnostic items and diagnostic item parameters corresponding to the diagnostic items;

[0094] The generating submodule 112 is used to determine that any of the diagnostic items is the item to be diagnosed, and to generate test data corresponding to the diagnostic item according to the diagnostic item parameters corresponding to the item to be diagnosed.

[0095] In one embodiment, the generating submodule 112 is specifically configured to superimpose an offset on the basis of the diagnostic item parameter corresponding to the item to be diagnosed, so as to obtain at least two test data.

[0096] In another embodiment, the generating submodule 112 is specifically configured to obtain a value between two adjacent diagnosis item parameters corresponding to the item to be diagnosed, and obtain at least two test data corresponding to the item to be diagnosed.

[0097] The sending module 120 is used to send the test data to the battery management system to trigger the battery management system to respond to the test data to obtain a response result.

[0098] In one embodiment of the present application, the sending module 120 is specifically used to: send the test data to the battery management system so that the battery management system stores the test data, and read the stored test data and execute processing logic matching the test data to obtain a response result.

[0099] The diagnosis result acquisition module 130 is used to acquire the response result of the battery management system, and compare the response result with the preset response state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed.

[0100] In one embodiment of the present application, Figure 8 As shown, the diagnosis result acquisition module 130 includes:

[0101] The preset state acquisition submodule 131 is used to determine a preset response state matching the test data according to the diagnosis item information matching the item to be diagnosed.

[0102] The comparison submodule 132 is used to compare whether the response result corresponding to the test data is consistent with the preset response state.

[0103] The first determination submodule 133 is configured to determine that the item to be diagnosed is normal when the response result is consistent with the preset response state.

[0104] The second determination submodule 134 is configured to determine that the item to be diagnosed is abnormal when the response result is inconsistent with the preset corresponding state.

[0105] The battery management system automated testing device provided in this embodiment obtains the test data corresponding to the items to be diagnosed of the battery management system, and directly sends the test data to the battery management system so that the battery management system runs the corresponding processing logic to obtain the response result matching the test data. The response result obtained by the battery management system for the test data is obtained, and the response result is compared with the preset corresponding state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed. It can be seen from the above process that the scheme does not need to set up peripheral auxiliary equipment (such as battery cell simulator, high voltage source, etc.), and the test data corresponding to the items to be diagnosed of the battery management system is directly generated by the test software, thereby reducing the cost of the test system. At the same time, the scheme does not collect the analog signals generated by the peripheral auxiliary equipment, but the digital signals directly generated by the test software, which avoids the problem of low test accuracy due to the low accuracy of the analog signal, so the scheme also improves the test accuracy. In addition, the test data of the scheme is directly generated by the test software, breaking through the limiting factors of the parameter setting range of the peripheral auxiliary equipment. Therefore, the test data setting of the scheme is more flexible and the test range is wider.

[0106] See also Fig. 9 , is a block diagram of another battery management system automatic testing device provided in an embodiment of the present application. Figure 6 The embodiment shown also includes:

[0107] The storage module 210 is used to store the test data corresponding to the item to be diagnosed, the response result and the diagnosis result.

[0108] The test result acquisition module 220 is used to obtain the test result of the battery management system according to the diagnosis results corresponding to all the diagnosis items of the battery management system.

[0109] The battery management system automated testing device provided in this embodiment does not require peripheral auxiliary equipment. The test data of the battery management system is directly generated by the test software and sent to the battery management system to trigger the battery management system to run the corresponding program to obtain a response result that matches the test data, thereby reducing the cost of the test system. Moreover, after each diagnostic item is tested, the test data, response result and diagnostic result corresponding to the diagnostic item are recorded. The test results of the battery management system are obtained based on the diagnostic results corresponding to all diagnostic items, that is, the diagnostic results corresponding to all diagnostic items are included.

[0110] On the other hand, the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores a program that can be run on the processor. When the processor runs the program stored in the memory, any of the above-mentioned battery management system automatic testing methods is implemented.

[0111] The present application also provides a storage medium executable by a computing device, in which a program is stored. When the program is executed by the computing device, the above-mentioned battery management system automatic testing method is implemented.

[0112] For the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0113] It should be noted that the technical features recorded in the various embodiments in this specification can be replaced or combined with each other, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0114] The steps in the methods of the embodiments of the present application can be adjusted in order, combined, and deleted according to actual needs.

[0115] The modules and sub-modules in the devices and terminals in the embodiments of the present application can be combined, divided and deleted according to actual needs.

[0116] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0117] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0118] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.

[0119] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0120] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0121] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A battery management system automated testing method, characterized in that: include: Acquire test data corresponding to the to-be-diagnosed item of the battery management system, wherein the test data is a digital signal directly generated by the test software, and includes a battery status parameter matching the diagnostic item; Sending the test data to the battery management system so that the battery management system stores the test data, and when testing the item to be diagnosed, reading the stored test data corresponding to the item to be diagnosed, simulating the analog signal data generated by the peripheral device of the battery management system with the test data, triggering the battery management system to respond to the test data and execute processing logic matching the test data to obtain a response result; The response result includes: an alarm signal or information indicating the type and level of the fault; Obtaining the response result of the battery management system, and comparing the response result with a preset response state corresponding to the test data, to obtain a diagnosis result corresponding to the item to be diagnosed; the preset response state is a response state that the battery management system should output when the battery management system detects the test data; The test data corresponding to the item to be diagnosed, the response result and the diagnosis result are stored in a table.

2. The method according to claim 1, characterized in that The obtaining of test data corresponding to the to-be-diagnosed item of the battery management system includes: Acquire pre-configured diagnostic item information corresponding to the battery management system, the diagnostic item information including diagnostic items and diagnostic item parameters corresponding to the diagnostic items; Determine any of the diagnostic items as the item to be diagnosed, and obtain test data corresponding to the diagnostic item according to the diagnostic item parameters corresponding to the item to be diagnosed.

3. The method according to claim 2, characterized in that The obtaining test data corresponding to the diagnostic item according to the diagnostic item parameter corresponding to the item to be diagnosed includes: Superimposing an offset on the basis of the diagnostic item parameter corresponding to the item to be diagnosed, to obtain at least two test data; Alternatively, the numerical value between two adjacent diagnosis item parameters corresponding to the item to be diagnosed is obtained to obtain at least two test data corresponding to the item to be diagnosed.

4. The method according to claim 1, characterized in that: The obtaining of the response result of the battery management system, and comparing the response result with a preset response state corresponding to the test data to obtain a diagnosis result corresponding to the item to be diagnosed, includes: Determining a preset response state matching the test data according to the diagnosis item information matching the item to be diagnosed; Comparing whether the response result corresponding to the test data is consistent with the preset response state; If the response result is consistent with the preset response state, it is determined that the item to be diagnosed is normal; If the response result is inconsistent with the preset corresponding state, it is determined that the item to be diagnosed is abnormal.

5. The method according to claim 1, characterized in that The method further comprises: The test result of the battery management system is obtained according to the diagnosis results corresponding to all the diagnosis items of the battery management system.

6. A battery management system automated testing device, characterized in that: include: A test data acquisition module, used to acquire test data corresponding to the to-be-diagnosed item of the battery management system, wherein the test data is a digital signal directly generated by the test software, and includes battery status parameters matching the diagnostic item; A sending module, used for sending the test data to the battery management system so that the battery management system stores the test data, and when testing the item to be diagnosed, reads the stored test data corresponding to the item to be diagnosed, simulates the analog signal data generated by the peripheral device of the battery management system with the test data, triggers the battery management system to respond to the test data and executes the processing logic matching the test data to obtain a response result; the response result includes: an alarm signal or information characterizing the type and level of the fault; A diagnosis result acquisition module, used to acquire the response result of the battery management system, and compare the response result with a preset response state corresponding to the test data to obtain the diagnosis result corresponding to the item to be diagnosed; the preset response state is the response state that the battery management system should output when the battery management system detects the test data; The storage module is used to store the test data corresponding to the item to be diagnosed, the response result and the diagnosis result in the form of a table.

7. An electronic device, characterized in that: include: Memory and processor; The memory stores program instructions; The processor is used to call the program instructions in the memory to execute the battery management system automatic testing method according to any one of claims 1-5.

8. A battery management system automated testing system, characterized in that: It comprises the electronic device as claimed in claim 7 and a battery management system to be tested.

Citation Information

Patent Citations

  • BMS testing system, method and computer readable storage medium

    CN108051745A

  • Battery management system full-automatic test system and implementation method thereof

    CN108614217A

  • Battery detection equipment operating by using virtual machine mode

    CN110687461A